@univerjs-pro/collaboration-client-ui 0.6.10-experimental.20250419-8830bd4 → 0.6.10-experimental.20250419-8f302dd
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +15 -15
package/lib/cjs/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';function _0x4ef0(){const _0x517e51=['@univerjs-pro/collaboration-client-ui','9SHGlUh','6565768SXxVEE','get','536952ZBFYih','33109870lzxLLm','RemoteUniscriptService','runOnServer','5174946Rxqqql','198269kqUetF','7949697leRZWg','5dXdDDd','extend','12ZRYJFP','FUniver','4574392SHDSXL'];_0x4ef0=function(){return _0x517e51;};return _0x4ef0();}const _0x1e5ded=_0x333c;function _0x333c(_0x5e0bf2,_0xfc362){const _0x4ef0ad=_0x4ef0();return _0x333c=function(_0x333c12,_0x5b5198){_0x333c12=_0x333c12-0x8f;let _0x40a4fe=_0x4ef0ad[_0x333c12];return _0x40a4fe;},_0x333c(_0x5e0bf2,_0xfc362);}(function(_0x394457,_0x46e094){const _0x294c96=_0x333c,_0x4c54aa=_0x394457();while(!![]){try{const _0x5f4ae5=parseInt(_0x294c96(0x98))/0x1*(-parseInt(_0x294c96(0x9c))/0x2)+parseInt(_0x294c96(0x93))/0x3+-parseInt(_0x294c96(0x9e))/0x4*(parseInt(_0x294c96(0x9a))/0x5)+-parseInt(_0x294c96(0x97))/0x6+parseInt(_0x294c96(0x99))/0x7+parseInt(_0x294c96(0x91))/0x8*(-parseInt(_0x294c96(0x90))/0x9)+parseInt(_0x294c96(0x94))/0xa;if(_0x5f4ae5===_0x46e094)break;else _0x4c54aa['push'](_0x4c54aa['shift']());}catch(_0x27c7a1){_0x4c54aa['push'](_0x4c54aa['shift']());}}}(_0x4ef0,0x94bc2));const t=require(_0x1e5ded(0x8f)),e=require('@univerjs/core/facade');class c extends e['FUniver']{['runOnServer'](_0x1263a2,_0x10351d,..._0x1198ec){const _0x33e919=_0x1e5ded;return this['_injector'][_0x33e919(0x92)](t[_0x33e919(0x95)])[_0x33e919(0x96)](_0x1263a2,_0x10351d,{},..._0x1198ec);}}e[_0x1e5ded(0x9d)][_0x1e5ded(0x9b)](c);
|
package/lib/cjs/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const _0x4af93f=_0x11d6;(function(_0x5b8d94,_0x5e1c2){const _0x53e26c=_0x11d6,_0x4bd393=_0x5b8d94();while(!![]){try{const _0x3b5833=-parseInt(_0x53e26c(0xac))/0x1*(-parseInt(_0x53e26c(0x16b))/0x2)+-parseInt(_0x53e26c(0x157))/0x3+parseInt(_0x53e26c(0x1c6))/0x4+parseInt(_0x53e26c(0xe2))/0x5*(parseInt(_0x53e26c(0x154))/0x6)+parseInt(_0x53e26c(0x1f9))/0x7*(-parseInt(_0x53e26c(0x228))/0x8)+parseInt(_0x53e26c(0x77))/0x9*(parseInt(_0x53e26c(0x230))/0xa)+-parseInt(_0x53e26c(0xf7))/0xb;if(_0x3b5833===_0x5e1c2)break;else _0x4bd393['push'](_0x4bd393['shift']());}catch(_0x2b3089){_0x4bd393['push'](_0x4bd393['shift']());}}}(_0x39f5,0xb9a87));var Xe=Object[_0x4af93f(0x1c1)],Ge=(_0xa59918,_0x966e18,_0xef4292)=>_0x966e18 in _0xa59918?Xe(_0xa59918,_0x966e18,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xef4292}):_0xa59918[_0x966e18]=_0xef4292,_=(_0x31c9b7,_0x22f55b,_0x2c40ad)=>Ge(_0x31c9b7,typeof _0x22f55b!=_0x4af93f(0x120)?_0x22f55b+'':_0x22f55b,_0x2c40ad);Object[_0x4af93f(0x1c1)](exports,Symbol[_0x4af93f(0x99)],{'value':_0x4af93f(0x6b)});const u=require('@univerjs-pro/collaboration-client'),a=require('@univerjs/core'),p=require(_0x4af93f(0xa4)),q=require('@univerjs/network'),b=require(_0x4af93f(0xda)),qe=require(_0x4af93f(0x14e)),d=require('rxjs'),Y=require(_0x4af93f(0x1cc)),m=require(_0x4af93f(0x1db)),Te=require('@univerjs/engine-formula'),g=require(_0x4af93f(0x252)),$=require('rxjs/operators'),G=require(_0x4af93f(0x29e)),P=require(_0x4af93f(0x2cd)),O=require(_0x4af93f(0x91)),T=require('@univerjs/design'),M=require(_0x4af93f(0x1bc)),Ke=require('@univerjs/rpc');var ze=Object[_0x4af93f(0x267)],Je=(_0x509186,_0x158431,_0x539f8a,_0x42bfd4)=>{for(var _0x69b648=_0x42bfd4>0x1?void 0x0:_0x42bfd4?ze(_0x158431,_0x539f8a):_0x158431,_0x202cc5=_0x509186['length']-0x1,_0x324576;_0x202cc5>=0x0;_0x202cc5--)(_0x324576=_0x509186[_0x202cc5])&&(_0x69b648=_0x324576(_0x69b648)||_0x69b648);return _0x69b648;},Oe=(_0x2b8826,_0x20bc91)=>(_0x7439cd,_0x4a9d5c)=>_0x20bc91(_0x7439cd,_0x4a9d5c,_0x2b8826);let fe=class extends a[_0x4af93f(0x193)]{constructor(_0x1ba782,_0x7ad368){const _0x76144b=_0x4af93f;super(),this['_docClipboardService']=_0x1ba782,this[_0x76144b(0x291)]=_0x7ad368,this['_init']();}[_0x4af93f(0xdb)](){const _0x2057d6=_0x4af93f,_0x1d38fc=this;this[_0x2057d6(0xcc)](this['_docClipboardService'][_0x2057d6(0x20a)]({'onBeforePasteImage':async _0x412160=>{const _0x43a6b6=_0x2057d6,_0x397c00=await _0x1d38fc[_0x43a6b6(0x291)]['saveImage'](_0x412160);return _0x397c00?{'source':_0x397c00['source'],'imageSourceType':_0x397c00['imageSourceType']}:null;}}));}};fe=Je([Oe(0x0,b[_0x4af93f(0xff)]),Oe(0x1,qe[_0x4af93f(0xd2)])],fe);const Re=[_0x4af93f(0x98),_0x4af93f(0x2d3),_0x4af93f(0x18d),_0x4af93f(0x203),_0x4af93f(0x1e4),_0x4af93f(0x8b)];class Ce extends a[_0x4af93f(0x14c)]{constructor(){const _0x439909=_0x4af93f;super(...arguments),_(this,_0x439909(0x22d),new Map()),_(this,_0x439909(0x101),0x0);}['assignAColorForMemberID'](_0x1b0cb7){const _0x3b3e38=_0x4af93f;if(this[_0x3b3e38(0x22d)][_0x3b3e38(0x148)](_0x1b0cb7))return this['_assignedColors'][_0x3b3e38(0x27f)](_0x1b0cb7);const _0x4a25e1=Re[this[_0x3b3e38(0x101)]];return this[_0x3b3e38(0x101)]=(this['_colorIndex']+0x1)%Re[_0x3b3e38(0x10c)],this[_0x3b3e38(0x22d)][_0x3b3e38(0x167)](_0x1b0cb7,_0x4a25e1),_0x4a25e1;}}function we(_0x25418a){const _0x284470=_0x4af93f;let _0x3fe127='';for(const _0x10622d of _0x25418a){const {startOffset:_0x40cf02,endOffset:_0x3591d4,isActive:_0x21afc9,rangeType:_0x4a35e5,segmentId:_0x1795c0,segmentPage:_0x57ac7f}=_0x10622d;_0x3fe127[_0x284470(0x10c)]&&(_0x3fe127+=','),_0x3fe127+=_0x40cf02+':'+_0x3591d4+':'+(_0x21afc9?'1':'0')+':'+_0x4a35e5+':'+_0x1795c0+':'+_0x57ac7f;}return _0x3fe127;}function Ze(_0x2e43fe){const _0x14906d=_0x4af93f,_0x2fc1a4=_0x2e43fe['split'](','),_0x3a867e=[];for(const _0x54f587 of _0x2fc1a4){const [_0x1c1b43,_0x268450,_0x30c7f3,_0xed29f9,_0x4f8576,_0x1d5d61]=_0x54f587[_0x14906d(0xd5)](':');_0x3a867e[_0x14906d(0x181)]({'startOffset':Number(_0x1c1b43),'endOffset':Number(_0x268450),'collapsed':_0x1c1b43===_0x268450,'isActive':_0x30c7f3==='1','rangeType':_0xed29f9===a['DOC_RANGE_TYPE'][_0x14906d(0x201)]?a[_0x14906d(0x26f)][_0x14906d(0x201)]:a[_0x14906d(0x26f)][_0x14906d(0x2c6)],'segmentId':typeof _0x4f8576==_0x14906d(0x26b)?String(_0x4f8576):'','segmentPage':Number(_0x1d5d61!=null?_0x1d5d61:-0x1)});}return _0x3a867e[_0x14906d(0x15a)](_0x4a6fdb=>_0x4a6fdb['isActive'])||(_0x3a867e[0x0][_0x14906d(0x13c)]=!0x0),_0x3a867e;}class pe extends a[_0x4af93f(0x193)]{constructor(){const _0x3d3bef=_0x4af93f;super(...arguments),_(this,'_collabCursorState$',new d[(_0x3d3bef(0x158))](null)),_(this,'collabCursorState$',this['_collabCursorState$']['asObservable']());}[_0x4af93f(0x106)](_0x4e96cc){const _0x441682=_0x4af93f,{unitID:_0x21ae0d,memberID:_0x920488,textRanges:_0x44fadf}=_0x4e96cc,_0x181438=we(_0x44fadf);if(_0x181438==='')return;const _0x120bb3={'unitID':_0x21ae0d,'memberID':_0x920488,'selection':_0x181438};this[_0x441682(0x21c)][_0x441682(0x2c4)](_0x120bb3);}}var Qe=Object[_0x4af93f(0x267)],et=(_0x18d15c,_0x5f3090,_0x206213,_0x3dd18a)=>{const _0xff54c4=_0x4af93f;for(var _0xfb075=_0x3dd18a>0x1?void 0x0:_0x3dd18a?Qe(_0x5f3090,_0x206213):_0x5f3090,_0x2ea35d=_0x18d15c[_0xff54c4(0x10c)]-0x1,_0x386752;_0x2ea35d>=0x0;_0x2ea35d--)(_0x386752=_0x18d15c[_0x2ea35d])&&(_0xfb075=_0x386752(_0xfb075)||_0xfb075);return _0xfb075;},L=(_0x96081a,_0x1e1c1b)=>(_0x7534b8,_0xd39a7e)=>_0x1e1c1b(_0x7534b8,_0xd39a7e,_0x96081a);const tt=0x12c,st=0x64;let Se=class extends a['RxDisposable']{constructor(_0x39a90d,_0x3ee8e7,_0x4eb375,_0xcfd0ea,_0x39c9e0,_0x40dc3f,_0x5b392d,_0x11c160,_0x135532){const _0x389b30=_0x4af93f;super(),_(this,_0x389b30(0xb5),!0x1),_(this,_0x389b30(0xdb),!0x1),_(this,'_cursorInfo$',new d['BehaviorSubject'](new Map())),_(this,_0x389b30(0x27e),this[_0x389b30(0x7e)]['asObservable']()),_(this,_0x389b30(0x2b2),new d[(_0x389b30(0x158))]([])),_(this,_0x389b30(0x124),this[_0x389b30(0x2b2)][_0x389b30(0x131)](d[_0x389b30(0x23e)](tt))),_(this,_0x389b30(0x102),a[_0x389b30(0x1ec)](_0x3b2f49=>{const _0x20807d=_0x389b30,_0x224ec4={'eventID':m['CollaborationEvent'][_0x20807d(0xe4)],'data':{'unitID':this['unitID'],'memberID':this[_0x20807d(0x1d3)][_0x20807d(0x19d)](),'selection':we(_0x3b2f49)}};this['_session']['send'](_0x224ec4,this['unitID']);},st)),(this[_0x389b30(0x1ff)]=_0x39a90d,this[_0x389b30(0x1d3)]=_0x3ee8e7,this[_0x389b30(0x23b)]=_0x4eb375,this[_0x389b30(0x26e)]=_0xcfd0ea,this[_0x389b30(0x2b8)]=_0x39c9e0,this[_0x389b30(0x1e6)]=_0x40dc3f,this[_0x389b30(0x105)]=_0x5b392d,this[_0x389b30(0x2c1)]=_0x11c160,this[_0x389b30(0x22f)]=_0x135532);}get[_0x4af93f(0x182)](){const _0x19b5f8=_0x4af93f;return this[_0x19b5f8(0x7e)][_0x19b5f8(0x109)]();}get['roomMembers'](){const _0x180171=_0x4af93f;return this[_0x180171(0x2b2)][_0x180171(0x109)]();}[_0x4af93f(0x1a7)](){const _0x2e7b14=_0x4af93f;super[_0x2e7b14(0x1a7)](),this[_0x2e7b14(0x7e)][_0x2e7b14(0x2c4)](new Map()),this['_cursorInfo$'][_0x2e7b14(0x1c0)](),this[_0x2e7b14(0x2b2)][_0x2e7b14(0x2c4)]([]),this[_0x2e7b14(0x2b2)][_0x2e7b14(0x1c0)]();}[_0x4af93f(0xcf)](){const _0x5377c8=_0x4af93f;this[_0x5377c8(0xdb)]||(this[_0x5377c8(0xdb)]=!0x0,this[_0x5377c8(0x1d3)]['sessionStatus$'][_0x5377c8(0x131)](d[_0x5377c8(0x24c)](this[_0x5377c8(0x9d)]))[_0x5377c8(0xdd)](_0x401f68=>{const _0x5a46fe=_0x5377c8;_0x401f68===u[_0x5a46fe(0x8a)][_0x5a46fe(0x14d)]?this['_toggleOnline']():this['_toggleOffline']();}),this[_0x5377c8(0x1d3)]['event$'][_0x5377c8(0x131)](d[_0x5377c8(0x24c)](this[_0x5377c8(0x9d)]))[_0x5377c8(0xdd)](_0x40b6c0=>{const _0x33c41b=_0x5377c8,_0x768f18=_0x40b6c0[_0x33c41b(0x251)];_0x768f18===m['CollaborationEvent'][_0x33c41b(0xe4)]&&this[_0x33c41b(0x1d0)](_0x40b6c0),_0x768f18===m['CollaborationEvent'][_0x33c41b(0x223)]&&this['_onCursorDelete'](_0x40b6c0);}),this[_0x5377c8(0xcc)](this[_0x5377c8(0x22f)][_0x5377c8(0x6a)](_0x1360f5=>{const _0x48a221=_0x5377c8,_0xc7fe0e=_0x1360f5[_0x48a221(0x22a)];_0xc7fe0e!=null&&this[_0x48a221(0xb5)]&&_0x1360f5['id']===Y[_0x48a221(0x12c)]['id']&&_0xc7fe0e[_0x48a221(0x7a)]===this[_0x48a221(0x1ff)]&&_0xc7fe0e[_0x48a221(0x200)]===!0x1&&_0xc7fe0e[_0x48a221(0x2a9)][_0x48a221(0x10c)]>0x0&&this[_0x48a221(0x102)](_0xc7fe0e[_0x48a221(0x2a9)]);})),this[_0x5377c8(0x1e6)]['collabCursorState$']['pipe'](d[_0x5377c8(0x24c)](this[_0x5377c8(0x9d)]))['subscribe'](_0x15b1b2=>{const _0x1d7645=_0x5377c8;if((_0x15b1b2==null?void 0x0:_0x15b1b2[_0x1d7645(0x1ff)])!==this[_0x1d7645(0x1ff)])return;const _0x3d620d={'eventID':m[_0x1d7645(0xed)][_0x1d7645(0xe4)],'data':_0x15b1b2};this[_0x1d7645(0x1d0)](_0x3d620d);}),this['disposeWithMe'](this['_commandService'][_0x5377c8(0x6a)](_0x29a8c8=>{const _0x1a52c4=_0x5377c8;if(_0x29a8c8['params']==null)return;const _0x553593=_0x29a8c8[_0x1a52c4(0x22a)];if(_0x29a8c8['id']!==Y[_0x1a52c4(0xfc)]['id']||_0x553593['unitId']!==this[_0x1a52c4(0x1ff)])return;const _0x44402b={'id':_0x1a52c4(0x2ce),'params':_0x553593},_0x44732f=this[_0x1a52c4(0x182)];for(const [_0x134ec9,_0x17afa4]of _0x44732f){const _0x3ffdc5={'id':_0x1a52c4(0x2ce),'params':{'unitId':this[_0x1a52c4(0x1ff)],'actions':null,'textRanges':_0x17afa4[_0x1a52c4(0x2a9)]}},_0x34d181=this[_0x1a52c4(0x105)][_0x1a52c4(0xdf)](_0x44402b,_0x3ffdc5,!0x1);if(m[_0x1a52c4(0xca)](_0x34d181))throw _0x34d181[_0x1a52c4(0x1a2)];_0x44732f['set'](_0x134ec9,{..._0x17afa4,'ranges':_0x34d181[_0x1a52c4(0xba)][_0x1a52c4(0x22a)][_0x1a52c4(0x7b)]});}queueMicrotask(()=>{this['_cursorInfo$']['next'](_0x44732f);});})));}[_0x4af93f(0x1d0)](_0x3ff78a){const _0x3dfcd5=_0x4af93f;var _0x1d7a70,_0x377cf5;const {memberID:_0x59d87d,selection:_0x7e33d5}=_0x3ff78a[_0x3dfcd5(0x2d7)],_0x1a8fd9=Ze(_0x7e33d5),_0x127e75=(_0x377cf5=(_0x1d7a70=this[_0x3dfcd5(0x2b8)][_0x3dfcd5(0x207)](this['unitID'],_0x59d87d))==null?void 0x0:_0x1d7a70['name'])!=null?_0x377cf5:'Unknown\x20user',_0x220443={'color':this[_0x3dfcd5(0x26e)][_0x3dfcd5(0x184)](_0x59d87d),'name':_0x127e75,'ranges':_0x1a8fd9},_0x5f3fb7=this[_0x3dfcd5(0x182)];_0x5f3fb7[_0x3dfcd5(0x167)](_0x59d87d,_0x220443),this[_0x3dfcd5(0x7e)][_0x3dfcd5(0x2c4)](_0x5f3fb7);}['_onCursorDelete'](_0x23e62a){const _0x4e1cbc=_0x4af93f,{memberID:_0x32775f}=_0x23e62a[_0x4e1cbc(0x2d7)],_0x24c585=this[_0x4e1cbc(0x182)];_0x24c585[_0x4e1cbc(0x2d0)](_0x32775f),this[_0x4e1cbc(0x7e)]['next'](_0x24c585);}[_0x4af93f(0x293)](){const _0x299100=_0x4af93f;var _0x1b4e22;if(this[_0x299100(0xb5)]=!0x0,((_0x1b4e22=this[_0x299100(0x2c1)][_0x299100(0xae)]())==null?void 0x0:_0x1b4e22[_0x299100(0x1c7)]())!==this['unitID'])return;const _0x2da4fd=this[_0x299100(0x23b)][_0x299100(0x27f)](Y[_0x299100(0x67)])[_0x299100(0x11b)]();Array['isArray'](_0x2da4fd)&&_0x2da4fd[_0x299100(0x10c)]>0x0&&this[_0x299100(0x102)](_0x2da4fd);}[_0x4af93f(0x1ef)](){this['_online']=!0x1;}};Se=et([L(0x2,a['Inject'](a['Injector'])),L(0x3,a[_0x4af93f(0x2a1)](Ce)),L(0x4,a[_0x4af93f(0x2a1)](u[_0x4af93f(0x80)])),L(0x5,a['Inject'](pe)),L(0x6,m[_0x4af93f(0x2df)]),L(0x7,a[_0x4af93f(0x9c)]),L(0x8,a['ICommandService'])],Se);var nt=Object[_0x4af93f(0x267)],it=(_0x1d986a,_0x3a0c33,_0x16deda,_0x1972e2)=>{const _0x478771=_0x4af93f;for(var _0x5c4b44=_0x1972e2>0x1?void 0x0:_0x1972e2?nt(_0x3a0c33,_0x16deda):_0x3a0c33,_0x439aaa=_0x1d986a[_0x478771(0x10c)]-0x1,_0x58e0a6;_0x439aaa>=0x0;_0x439aaa--)(_0x58e0a6=_0x1d986a[_0x439aaa])&&(_0x5c4b44=_0x58e0a6(_0x5c4b44)||_0x5c4b44);return _0x5c4b44;},A=(_0x462d5a,_0x4346f4)=>(_0xc91796,_0x5e69b0)=>_0x4346f4(_0xc91796,_0x5e69b0,_0x462d5a);const rt=0x12c,ot=0x64,at=()=>{let _0x51ee7e=[],_0x126880=!0x1;return _0x52c3a8=>{const _0x163ccc=_0x11d6;_0x51ee7e[_0x163ccc(0x181)](_0x52c3a8),_0x126880||(_0x126880=!0x0,setTimeout(()=>{_0x51ee7e['forEach'](_0x3f6857=>_0x3f6857()),_0x51ee7e=[],_0x126880=!0x1;}));};};let Ie=class extends a['RxDisposable']{constructor(_0x4f8a1d,_0x353b06,_0x3a00b0,_0x49dd75,_0x235290,_0x11d385,_0x5a742d,_0xb2e748){const _0x53d25e=_0x4af93f;super(),_(this,_0x53d25e(0xb5),!0x1),_(this,_0x53d25e(0xdb),!0x1),_(this,_0x53d25e(0x7e),new d[(_0x53d25e(0x158))](new Map())),_(this,_0x53d25e(0x27e),this['_cursorInfo$']['asObservable']()),_(this,_0x53d25e(0x2b2),new d[(_0x53d25e(0x158))]([])),_(this,'roomMembers$',this[_0x53d25e(0x2b2)][_0x53d25e(0x131)](d['debounceTime'](rt))),_(this,_0x53d25e(0x102),a[_0x53d25e(0x1ec)]((_0x41eb3b,_0x31d881)=>{const _0x5ad9f1=_0x53d25e,_0x402381={'eventID':m[_0x5ad9f1(0xed)][_0x5ad9f1(0xe4)],'data':{'unitID':this[_0x5ad9f1(0x1ff)],'memberID':this['_session'][_0x5ad9f1(0x19d)](),'selection':Te[_0x5ad9f1(0xb7)](_0x41eb3b,_0x31d881[_0x5ad9f1(0xe9)])}};this['_session'][_0x5ad9f1(0x28f)](_0x402381,this[_0x5ad9f1(0x1ff)]);},ot)),(this[_0x53d25e(0x1ff)]=_0x4f8a1d,this['_session']=_0x353b06,this[_0x53d25e(0x23b)]=_0x3a00b0,this[_0x53d25e(0x26e)]=_0x49dd75,this[_0x53d25e(0x2b8)]=_0x235290,this[_0x53d25e(0x2c1)]=_0x11d385,this[_0x53d25e(0x22f)]=_0x5a742d,this['_refRangeService']=_0xb2e748);}get[_0x4af93f(0x182)](){const _0x35fc08=_0x4af93f;return this[_0x35fc08(0x7e)][_0x35fc08(0x109)]();}get['roomMembers'](){const _0x1a4b13=_0x4af93f;return this[_0x1a4b13(0x2b2)]['getValue']();}[_0x4af93f(0x1a7)](){const _0x30d319=_0x4af93f;super['dispose'](),this[_0x30d319(0x7e)][_0x30d319(0x2c4)](new Map()),this['_cursorInfo$'][_0x30d319(0x1c0)](),this[_0x30d319(0x2b2)][_0x30d319(0x2c4)]([]),this[_0x30d319(0x2b2)][_0x30d319(0x1c0)]();}[_0x4af93f(0xcf)](){const _0x227204=_0x4af93f;this[_0x227204(0xdb)]||(this[_0x227204(0xdb)]=!0x0,this[_0x227204(0x1d3)][_0x227204(0x183)][_0x227204(0x131)](d[_0x227204(0x24c)](this['dispose$']))[_0x227204(0xdd)](_0x1f3ee6=>{const _0x219e6d=_0x227204;_0x1f3ee6===u[_0x219e6d(0x8a)][_0x219e6d(0x14d)]?this[_0x219e6d(0x293)]():this[_0x219e6d(0x1ef)]();}),this[_0x227204(0x1d3)]['event$']['pipe'](d[_0x227204(0x24c)](this[_0x227204(0x9d)]))['subscribe'](_0xbcadeb=>{const _0x1a5ec7=_0x227204,_0x3111dd=_0xbcadeb['eventID'];_0x3111dd===m['CollaborationEvent'][_0x1a5ec7(0xe4)]&&this[_0x1a5ec7(0x1d0)](_0xbcadeb),_0x3111dd===m[_0x1a5ec7(0xed)]['USERS_LEAVE']&&this[_0x1a5ec7(0x1e0)](_0xbcadeb);}),this[_0x227204(0xab)](),this[_0x227204(0xcc)](this[_0x227204(0x22f)][_0x227204(0x6a)](_0x435836=>{const _0x416046=_0x227204;if(this[_0x416046(0xb5)]&&_0x435836['id']===g[_0x416046(0x1a9)]['id']&&_0x435836[_0x416046(0x22a)][_0x416046(0x7a)]===this[_0x416046(0x1ff)]){const _0x193f0=_0x435836[_0x416046(0x22a)];this['_updateLocalCursor'](_0x193f0['subUnitId'],_0x193f0[_0x416046(0x1fd)][0x0]);}})));}['_onCursorUpdate'](_0x42916b){const _0x4fe576=_0x4af93f;var _0xa63a69,_0x300006;const {memberID:_0x1f2da4,selection:_0x94ebd}=_0x42916b[_0x4fe576(0x2d7)],{sheetName:_0x5daa61,range:_0x2c5590}=Te[_0x4fe576(0xd7)](_0x94ebd),_0x2750b6={'name':(_0x300006=(_0xa63a69=this[_0x4fe576(0x2b8)][_0x4fe576(0x207)](this[_0x4fe576(0x1ff)],_0x1f2da4))==null?void 0x0:_0xa63a69[_0x4fe576(0x209)])!=null?_0x300006:_0x4fe576(0x88),'range':this[_0x4fe576(0x2d2)](_0x5daa61,_0x2c5590),'sheetID':_0x5daa61,'color':this[_0x4fe576(0x26e)][_0x4fe576(0x184)](_0x1f2da4),'selection':_0x94ebd},_0x1b07b9=this['cursorInfo'];_0x1b07b9[_0x4fe576(0x167)](_0x1f2da4,_0x2750b6),this[_0x4fe576(0x7e)][_0x4fe576(0x2c4)](_0x1b07b9);}['_onCursorDelete'](_0x100b7e){const _0x45bec4=_0x4af93f,{memberID:_0x598f32}=_0x100b7e[_0x45bec4(0x2d7)],_0x32f7e7=this[_0x45bec4(0x182)];_0x32f7e7[_0x45bec4(0x2d0)](_0x598f32),this['_cursorInfo$'][_0x45bec4(0x2c4)](_0x32f7e7);}[_0x4af93f(0x2d2)](_0x34864a,_0x1bdcb8){const _0x2223d4=_0x4af93f;var _0xbf6232,_0x5a7717;const _0x2456ce=(_0x5a7717=(_0xbf6232=this[_0x2223d4(0x2c1)]['getUniverSheetInstance'](this[_0x2223d4(0x1ff)]))==null?void 0x0:_0xbf6232[_0x2223d4(0x28e)](_0x34864a))==null?void 0x0:_0x5a7717['getMergeData']();return(_0x2456ce==null?void 0x0:_0x2456ce['find'](_0x4d28b7=>a[_0x2223d4(0xa0)][_0x2223d4(0x195)](_0x4d28b7,_0x1bdcb8)))||_0x1bdcb8;}[_0x4af93f(0xab)](){const _0x3fa649=_0x4af93f,_0x5b24e9=new a[(_0x3fa649(0xc0))](),_0x46559f=at(),_0x4650ba=()=>{const _0x398546=_0x3fa649;_0x5b24e9['dispose']();const _0x150815=(_0x33d801,_0x2d6818,_0x20a376,_0x2bd0a0)=>{const _0x52ee40=_0x11d6;let _0x2e015f=[];switch(_0x33d801['id']){case g[_0x52ee40(0x2c5)][_0x52ee40(0xe1)]:{_0x2e015f=g['handleDeleteRangeMoveLeft'](_0x33d801,_0x2bd0a0);break;}case g[_0x52ee40(0x2c5)][_0x52ee40(0x12b)]:{_0x2e015f=g[_0x52ee40(0x256)](_0x33d801,_0x2bd0a0);break;}case g[_0x52ee40(0x2c5)][_0x52ee40(0xd6)]:{_0x2e015f=g[_0x52ee40(0x68)](_0x33d801,_0x2bd0a0);break;}case g[_0x52ee40(0x2c5)][_0x52ee40(0xb8)]:{_0x2e015f=g['handleInsertRangeMoveDown'](_0x33d801,_0x2bd0a0);break;}case g[_0x52ee40(0x2c5)][_0x52ee40(0x239)]:{_0x2e015f=g[_0x52ee40(0x1a6)](_0x33d801,_0x2bd0a0);break;}case g[_0x52ee40(0x2c5)]['InsertRowCommandId']:{_0x2e015f=g[_0x52ee40(0x220)](_0x33d801,_0x2bd0a0);break;}case g[_0x52ee40(0x2c5)][_0x52ee40(0x260)]:{_0x2e015f=g[_0x52ee40(0x258)](_0x33d801,_0x2bd0a0);break;}case g[_0x52ee40(0x2c5)][_0x52ee40(0x15e)]:{_0x2e015f=g['handleIRemoveCol'](_0x33d801,_0x2bd0a0);break;}case g[_0x52ee40(0x2c5)][_0x52ee40(0x277)]:{_0x2e015f=g[_0x52ee40(0xbf)](_0x33d801,_0x2bd0a0);break;}}const _0x24f065=g[_0x52ee40(0x11f)](_0x2e015f,_0x2bd0a0),_0x463701=this['cursorInfo'][_0x52ee40(0x27f)](_0x2d6818);if(_0x463701&&_0x24f065){const _0x3fb41c={..._0x463701,'range':_0x24f065};this[_0x52ee40(0x182)][_0x52ee40(0x167)](_0x2d6818,_0x3fb41c),_0x46559f(()=>{const _0x21864d=_0x52ee40,_0x5b0fc8=this[_0x21864d(0x146)][_0x21864d(0x175)](_0x24f065,_0x37d5df=>(_0x5b0fc8[_0x21864d(0x1a7)](),_0x150815(_0x37d5df,_0x2d6818,_0x20a376,_0x24f065)));_0x5b24e9[_0x21864d(0x13d)](_0x5b0fc8);});}return{'redos':[],'undos':[]};};this[_0x398546(0x182)][_0x398546(0x2c9)]((_0x52143c,_0x4b90b2)=>{const _0xe1f719=_0x398546,{range:_0x497080,sheetID:_0x3bfce1}=_0x52143c,_0x21eae9=this[_0xe1f719(0x146)][_0xe1f719(0x175)](_0x497080,_0x416ef4=>(_0x21eae9['dispose'](),_0x150815(_0x416ef4,_0x4b90b2,_0x3bfce1,_0x497080)));_0x5b24e9[_0xe1f719(0x13d)](_0x21eae9);});};this[_0x3fa649(0xcc)](a['toDisposable'](this['_cursorInfo$']['subscribe'](()=>{_0x4650ba();})));}[_0x4af93f(0x293)](){const _0x450b0e=_0x4af93f;var _0x512ab5,_0x2724cc;if(this[_0x450b0e(0xb5)]=!0x0,((_0x512ab5=this[_0x450b0e(0x2c1)]['getFocusedUnit']())==null?void 0x0:_0x512ab5[_0x450b0e(0x1c7)]())!==this['unitID'])return;const _0x13f392=(_0x2724cc=this['_injector'][_0x450b0e(0x27f)](g['SheetsSelectionsService'])[_0x450b0e(0x8e)]())==null?void 0x0:_0x2724cc[0x0],_0x30f7eb=this['_univerInstanceService'][_0x450b0e(0x13e)](a['UniverInstanceType']['UNIVER_SHEET'])[_0x450b0e(0x216)]();_0x13f392&&_0x30f7eb&&this['_updateLocalCursor'](_0x30f7eb[_0x450b0e(0x1ca)](),_0x13f392);}[_0x4af93f(0x1ef)](){const _0x45fc3f=_0x4af93f;this[_0x45fc3f(0xb5)]=!0x1;}};Ie=it([A(0x2,a[_0x4af93f(0x2a1)](a[_0x4af93f(0x187)])),A(0x3,a[_0x4af93f(0x2a1)](Ce)),A(0x4,a[_0x4af93f(0x2a1)](u[_0x4af93f(0x80)])),A(0x5,a[_0x4af93f(0x9c)]),A(0x6,a['ICommandService']),A(0x7,a[_0x4af93f(0x2a1)](g[_0x4af93f(0x28d)]))],Ie);var ct=Object[_0x4af93f(0x267)],lt=(_0x443c5c,_0x5de7c1,_0x19a6db,_0xde7a7f)=>{const _0x4fa1a4=_0x4af93f;for(var _0x3a5ca0=_0xde7a7f>0x1?void 0x0:_0xde7a7f?ct(_0x5de7c1,_0x19a6db):_0x5de7c1,_0x52c370=_0x443c5c[_0x4fa1a4(0x10c)]-0x1,_0x586712;_0x52c370>=0x0;_0x52c370--)(_0x586712=_0x443c5c[_0x52c370])&&(_0x3a5ca0=_0x586712(_0x3a5ca0)||_0x3a5ca0);return _0x3a5ca0;},ie=(_0x4c9d76,_0x481d37)=>(_0x59dd84,_0x155ce8)=>_0x481d37(_0x59dd84,_0x155ce8,_0x4c9d76);function _0x11d6(_0x32f84f,_0x147c15){const _0x39f5f3=_0x39f5();return _0x11d6=function(_0x11d662,_0x261792){_0x11d662=_0x11d662-0x66;let _0xecd897=_0x39f5f3[_0x11d662];return _0xecd897;},_0x11d6(_0x32f84f,_0x147c15);}let x=class extends a[_0x4af93f(0x193)]{constructor(_0x178181,_0x47c97a,_0x50743c){const _0x86e235=_0x4af93f;super(),_(this,_0x86e235(0x2ab),new Map()),_(this,_0x86e235(0x14b),new d[(_0x86e235(0x196))]()),(this['_univerInstanceService']=_0x178181,this[_0x86e235(0x23b)]=_0x47c97a,this[_0x86e235(0x237)]=_0x50743c,this[_0x86e235(0xdb)]());}['dispose'](){const _0x37aa22=_0x4af93f;super['dispose'](),this[_0x37aa22(0x14b)][_0x37aa22(0x1c0)](),this[_0x37aa22(0x2ab)][_0x37aa22(0x2c9)](_0x44c268=>_0x44c268[_0x37aa22(0x1a7)]());}[_0x4af93f(0x2aa)](_0x205962){const _0x24b9b8=_0x4af93f;return this[_0x24b9b8(0x2ab)]['has'](_0x205962)?this[_0x24b9b8(0x2ab)][_0x24b9b8(0x27f)](_0x205962)[_0x24b9b8(0x27e)]:this[_0x24b9b8(0x14b)][_0x24b9b8(0x131)](d[_0x24b9b8(0x16e)](_0x28173d=>_0x28173d[_0x24b9b8(0x1ff)]===_0x205962),d['switchMap'](_0x55ea45=>_0x55ea45['cursorInfo$']));}[_0x4af93f(0xdb)](){const _0x3d64cf=_0x4af93f;this[_0x3d64cf(0x2c1)][_0x3d64cf(0x14f)](a['UniverInstanceType'][_0x3d64cf(0x2d8)])[_0x3d64cf(0x131)](d[_0x3d64cf(0x24c)](this[_0x3d64cf(0x9d)]))[_0x3d64cf(0xdd)](async _0x4b4eb1=>{const _0x14277f=_0x3d64cf,_0x47a713=_0x4b4eb1[_0x14277f(0x1c7)](),_0x13a5e9=await this[_0x14277f(0x276)](_0x47a713);this['_entityInit$'][_0x14277f(0x2c4)](_0x13a5e9),this[_0x14277f(0x2ab)]['set'](_0x47a713,_0x13a5e9);}),this[_0x3d64cf(0x2c1)][_0x3d64cf(0x14f)](a[_0x3d64cf(0x222)][_0x3d64cf(0x259)])[_0x3d64cf(0x131)](d['takeUntil'](this[_0x3d64cf(0x9d)]))[_0x3d64cf(0x131)](d[_0x3d64cf(0x16e)](_0x2e7606=>!_0x2e7606[_0x3d64cf(0x1c7)]()[_0x3d64cf(0x185)]('__')))[_0x3d64cf(0xdd)](async _0x33a83c=>{const _0xc60ea7=_0x3d64cf,_0x4d72df=_0x33a83c[_0xc60ea7(0x1c7)](),_0x1c0f04=await this[_0xc60ea7(0x2d5)](_0x4d72df);this[_0xc60ea7(0x14b)]['next'](_0x1c0f04),this['_entities'][_0xc60ea7(0x167)](_0x4d72df,_0x1c0f04);}),d[_0x3d64cf(0x85)](this[_0x3d64cf(0x2c1)][_0x3d64cf(0x205)](a[_0x3d64cf(0x222)][_0x3d64cf(0x259)]),this[_0x3d64cf(0x2c1)][_0x3d64cf(0x205)](a['UniverInstanceType'][_0x3d64cf(0x2d8)]))[_0x3d64cf(0x131)](d[_0x3d64cf(0x24c)](this[_0x3d64cf(0x9d)]))['subscribe'](_0x1688f3=>{const _0x2159bb=_0x3d64cf,_0x1f8964=_0x1688f3[_0x2159bb(0x1c7)](),_0x216050=this[_0x2159bb(0x2ab)][_0x2159bb(0x27f)](_0x1f8964);_0x216050&&(_0x216050[_0x2159bb(0x1a7)](),this[_0x2159bb(0x2ab)]['delete'](_0x1f8964));});}async[_0x4af93f(0x276)](_0x39d494){const _0x162ea9=_0x4af93f,_0x568a97=await this[_0x162ea9(0x237)]['requireSession'](_0x39d494),_0x1083ab=this[_0x162ea9(0x23b)]['createInstance'](Ie,_0x39d494,_0x568a97);return _0x1083ab[_0x162ea9(0xcf)](),_0x1083ab;}async[_0x4af93f(0x2d5)](_0x205b89){const _0x4977b6=_0x4af93f,_0x1f16a8=await this[_0x4977b6(0x237)]['requireSession'](_0x205b89),_0x2ee9b8=this['_injector'][_0x4977b6(0x79)](Se,_0x205b89,_0x1f16a8);return _0x2ee9b8[_0x4977b6(0xcf)](),_0x2ee9b8;}};x=lt([ie(0x0,a['IUniverInstanceService']),ie(0x1,a['Inject'](a[_0x4af93f(0x187)])),ie(0x2,a[_0x4af93f(0x2a1)](u[_0x4af93f(0x143)]))],x);const K=0x14,De=0xc8,re=0x4,_t=0x5;function _0x39f5(){const _0x5f1fa5=['onRendered','_getScale','handleInsertRangeMoveRight','dispose','_anchorDot','SetSelectionsOperation','UnitStatus','NodePositionConvertToRectRange','[CollaborationDataLoaderController]','_uiPartsService','Shape','forwardRef','DesktopCollaborationStatusDisplayController','_selfUnitIDs','_saveCache','IURLService','RemoteUniscriptService','MessageType','PERMISSION_DENIED','ICommandService','registerRenderModule','createSocket','_notificationService','createIdentifier','react','M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','_drawTextRange','colorChannel1','complete','defineProperty','setParam','session.will-retry','endRow','SetDocZoomRatioOperation','2561840LLXCBI','getUnitId','stringify','DocCollaborationEntity','getSheetId','0\x200\x2016\x2016','@univerjs/docs','collab-text-anchor-','propertyIsEnumerable','shareReplay','_onCursorUpdate','0\x200\x2017\x2016','combineLatest','_session','_initDependencies','collaboration-client.offline-data-not-saved','OffLineSingle','IRenderManagerService','PY_RUNTIME_SCRIPT_ERROR','backgroundColor','measureText','@univerjs-pro/collaboration','replaceDocRanges','subunit','post','_registerRenderDependencies','_onCursorDelete','WebURLService','round','history','blue400','_anchor','_syncEditingCollabCursorService','toString','url(#$1','clearInterval','black','from','debounce','USER_NOT_INVITED_CODE','AWAITING','_toggleOffline','findNodePositionByCharIndex','jsx','extend','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','SYNCED','text','moveTo','_configService','_sheetSkeletonManagerService','447559OdpKuO','transformIMECache','path','children','selections','unsubscribe','unitID','isEditing','TEXT','collabStatus.synced','red300','executeCommand','getTypeOfUnitDisposed$','_unitOnClients','getMember','WebBrowserSingleActiveUnitService','name','addClipboardHook','max','_saveTaskMap','IConfigService','loadOfflineData','univer-online-status-icon','currentSkeleton$','ILocalCacheService','registerComponent','DocIMEInputManagerService','_document','_getSessionTicket','getActiveSheet','getSkeleton','substring','CHANGESET_REVISION_CONFILICT','status$','session.connection-failed','_collabCursorState$','origin','ILogService','engine','handleInsertRow','bottom','UniverInstanceType','USERS_LEAVE','APPLY_PERMISSION_DENIED','arc','_removeClearOtherTimer','hide','168NFDczF','Workbook','params','assign','application/json','_assignedColors','CollaborationController','_commandService','879110nPgToY','collaboration.closeRoom','UNAUTHENTICATED','fillRule','WECHAT_HAS_BEEN_BOUND','transform','...','_collabSessionService','permission.content','InsertRangeMoveRightCommandId','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_injector','getLocalCacheKey','hasOwnProperty','debounceTime','online','clipPath','collab-rect-range-','onPointerEnter$','_initEvent','runOnServer','_createSocketURL','Vector2','SUBMIT_CHANGESET_TIMEOUT','hovered','_collabCursorController','AWAITING_WITH_PENDING','Rect','takeUntil','_context','_transformHistoryAndStateStack','subscribeEvent','addObject','eventID','@univerjs/sheets','OFFLINE','COMPLETION_FINISHED','idSuffix','handleDeleteRangeMoveUp','_cursorShapes','handleMoveRange','UNIVER_DOC','defIds','DataLoaderService','FromArray','getRenderById','_scheduleHeartbeat','column','MoveRangeCommandId','event$','YUUMI_UNABLE_LOAD_URL','_setupSubUnitSync','_getAnchorBounding','UNRECOGNIZED','APPLY_REJECT','getOwnPropertyDescriptor','MUTATION','entries','generateRandomId','string','JOIN_ROOM_FAILED','univer-flex\x20univer-items-center','_colorAssignService','DOC_RANGE_TYPE','registerBeforeClose','SNAPSHOT_INVALID_SNAPSHOT','_themeService','_disabled','INVITE_CODE_HAS_BEEN_UES','IMessageService','_startSheetCollabCursor','RemoveRowCommandId','then','UNDEFINED','mapTo','clsx','updateOfflineData','_id','cursorInfo$','get','type','_send','getAncestorScale','setActiveRange','none','_hover','_docTransformStateCacheService','save','NOT_COLLAB','searchParams','LOCAL_CACHE_INTERVAL','getConfig','min','RefRangeService','getSheetBySheetId','send','setTimeout','_imageIoService','OTHER_CLIENT_EDITING','_toggleOnline','with','getUnitStatus$','result','SOCKET_FAILED_RETRY','_handleLeaveEvent','addEventListener','session.collaboration-timeout','enableLocalCache','_initEntityListener','_hovered','@univerjs/sheets-ui','CommandType','CollaborationUIEventId','Inject','collabStatus.syncing','off-line-single','ticket','_hideTimer','fromEvent','urlChange$','apply','ranges','getCollabCursors$','_entities','loadUnit','SNAPSHOT_HAS_BEEN_REMOVED','_config','useRef','HTTPService','url(#off-line-single_clip0_910_343)','_roomMembers$','CollaborationDataLoaderController','INVALID_INVITE_CODE','getViewport','YUUMI_ASYNCIO_CANCELLED','values','_memberService','TOO_MANY_REQUESTS','_docTransformSelectionsService','BrowserCollaborationSocketService','getCollabEntity$','onTransformChange$','_handleEvent','UniverIcon','ILocalStorageService','_univerInstanceService','setInterval','transformStateCache','next','EffectRefRangId','RECT','key','getCellPositionByOffset','forEach','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','getCurrent','asObservable','react/jsx-runtime','doc.mutation.rich-text-editing','concat','delete','INVALID_ARGUMENT','_getMergeRange','jiqing500','_initStatusComponent','_startDocCollabCursor','transformRemoteChangeset','data','UNIVER_SHEET','_collaborationController','LICENSE_MAX_UNITS_EXCEEDED','_updateURLWithCurrentState','setStateCache','_eventUnsubscribe','attrs','ITransformService','_handleJoinEvent','_renderManagerService','wsSessionTicketUrl','_beforeCloseService','collabStatus.fetchMiss','ISnapshotServerService','redoState','SHEET_VIEWPORT_KEY','M0\x200H16V16H0z','DocSelectionManagerService','handleInsertCol','TRANSFORM_CHANGE_OBSERVABLE_TYPE','onCommandExecuted','Module','evenodd','on-line-single_clip0_910_349','LOCAL_CACHE_INTERVAL_KEY','currentColor','getParam','_labelPosition','_httpService','Error','_scene','getCoordByCell','1em','18gIHUot','FETCH_MISS','createInstance','unitId','textRanges','_localeService','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','_cursorInfo$','transformMutationsWithChangeset','MemberService','_refreshCollabCursors','m1Prime','deepClone','_color','merge','sessionTicket','LOGIN_FAILED','Unknown\x20user','xlink:href','SessionStatus','gold400','_scheduleSaving','_updateSubUnitFromURLParams','getCurrentSelections','mutations','getStateCache','@univerjs/ui','mergeOverrideWithDependencies','_registerDependencies','MOBILE_HAS_BEEN_BOUND','_updateCollabCursors','editingUnit','_instanceService','purple300','toStringTag','prototype','_name','IUniverInstanceService','dispose$','location','debug','Rectangle','triggerDblclick','_cachedData','Tooltip','@univerjs/engine-render','_scheduleClearOtherTimer','current','Plugin','url(#on-line-single_clip0_910_349)','closePath','_render','_onRefRangeChange','2532CuBUFq','CONFLICT','getFocusedUnit','DependentOn','NO_OTHER_CLIENTS_EDITING','fillStyle','_handleHeartbeatEvent','restore','replace','_online','exhaustSavingTask','serializeRangeWithSheet','InsertRangeMoveDownCommandId','INVITE_CODE_REQUIRED','m2Prime','_unitStatus','_docTransformIMECacheService','startRow','_localStorageService','handleIRemoveRow','DisposableCollection','width','CLOSE_ROOM','top','replaceState','transformSelections','defs','mask','/run/','pushState','isTransformMutationFailure','memberID','disposeWithMe','getActiveRange','toDisposable','init','whenReady','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','IImageIoService','_initResize','unload','split','InsertColCommandId','deserializeRangeWithSheet','Failed','_ensureSubject','@univerjs/docs-ui','_init','collabStatus.conflict','subscribe','createElement','transformMutation','_backgroundColor','DeleteRangeMoveLeftCommandId','5DzDIeV','ColorKit','UPDATE_CURSOR','beginPath','_docSkeleton','BuiltInUIPart','Warning','range','fill','univer-offline','sheetID','CollaborationEvent','onlineStatusTitle','executionId','drawWith','_docSkeletonManagerService','YUUMI_NO_CUBOID_FOR_QUESTION','onPointerLeave$','#fff','univer-online','LICENSE_IMPORT_SIZE_EXCEEDED','1749099gXPsdz','entityInit$','CONNECTOR_DATA_TOO_LARGE','rgba(255,\x20255,\x20255,\x200.01)','href','RichTextEditingMutation','CollaborationStatus','getUndoRedoMutationParamsCache','IDocClipboardService','size','_colorIndex','_updateLocalCursor','connectInjector','call','_transformService','syncEditingCollabCursor','ALREADY_EXISTS','offline','getValue','_revisionService','toRgbString','length','distinctUntilChanged','Tools','override','onMouseMove','getUnhiddenWorksheets','TEXT_RANGE_LAYER_INDEX','getOwnPropertySymbols','show','tag','setItem','EMAIL_HAS_BEEN_BOUND','Optional','_status$','_dataLoaderService','getDocRanges','currentTheme$','map','code','runRefRangeMutations','symbol','getColor','UniverCollaborationClientUIPlugin','svg','roomMembers$','_lastPointer','unit','_collaborationUIEventService','isArray','ENSURE_SNAPSHOT_EXECUTION','_initStatusListener','DeleteRangeMoveUpCommandId','SetTextSelectionsOperation','fillText','newValue','_logService','actions','pipe','resize','height','_shapes','_transformPreviousActiveRange','DocStateChangeManagerService','univer-online-status','WebSocketService','_docStateChangeManagerService','NodePositionConvertToCursor','selection','isActive','add','getCurrentUnitForType','collabStatus.offline','setShapeProps','color','INVITE_CODE_ALREADY_BOUND','CollaborationSessionService','HEADER_MENU','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_refRangeService','LocaleService','has','on-line-single','function','_entityInit$','Disposable','ONLINE','@univerjs/drawing','getTypeOfUnitAdded$','lineTo','_setupBeforeClosingHandler','NOT_FOUND','PENDING','7100466dJDNvd','_cursors','displayName','1681356zMrArm','BehaviorSubject','throttleTime','some','IRemoteInstanceService','collab-client.tooltip.reconnect','_drawAnchor','RemoveColCommandId','jsxs','_cursor','body','indexOf','parse','_transformUndoRedoStack','icon','trim','set','APPLY_DUPLICATED','disableLocalCache','_messageService','650XmKvPx','_handleHover','ThemeService','filter','_drawRectRange','YUUMI_RATE_OVER_LIMIT','div','LICENSE_EXPORT_SIZE_EXCEEDED','collab-text-range-','_clearOtherTimers','registerRefRange','activeSheet$','getCurrentRevOfUnit','pluginName','_removeCollabCursors','useObservable','onlineStatus','runId','switchMap','RegularPolygon','storage','saveTaskMap','push','cursorInfo','sessionStatus$','assignAColorForMemberID','startsWith','UniverCollaborationClientPlugin','Injector','APPLY_NON_SEQUENTIAL_REVISION','font','setAlpha','COLORS','_draw','verdancy600','_urlService','INTERNAL_ERROR','_getSheetObject','getRangePointData','_range','RxDisposable','APPLY_REVISION_CONFILICT','contains','Subject','_heartbeatTimer','collaboration.single-unit.warning','OTHER_CLIENTS_EDITING','YUUMI_URL_COL_OUT_OF_RANGE','CollaborationStatusDisplay','clearTimeout','getMemberID','fromEventSubject','setConfig','skeleton','_textBubble','error','ISocketService'];_0x39f5=function(){return _0x5f1fa5;};return _0x39f5();}function ht(_0x308f44,_0x21cd22){const _0x335d76=_0x4af93f;let {radius:_0x153302,width:_0x2c306a,height:_0x84b1ed}=_0x21cd22;_0x153302=_0x153302!=null?_0x153302:0x0,_0x2c306a=_0x2c306a!=null?_0x2c306a:0x1e,_0x84b1ed=_0x84b1ed!=null?_0x84b1ed:0x1e;let _0x5d427d=0x0,_0x288cb0=0x0,_0x46eed0=0x0;_0x5d427d=_0x288cb0=_0x46eed0=Math[_0x335d76(0x28c)](_0x153302,_0x2c306a/0x2,_0x84b1ed/0x2),_0x308f44[_0x335d76(0xe5)](),_0x308f44[_0x335d76(0x1f6)](_0x5d427d,0x0),_0x308f44[_0x335d76(0x150)](_0x2c306a-_0x288cb0,0x0),_0x308f44[_0x335d76(0x225)](_0x2c306a-_0x288cb0,_0x288cb0,_0x288cb0,Math['PI']*0x3/0x2,0x0,!0x1),_0x308f44[_0x335d76(0x150)](_0x2c306a,_0x84b1ed-_0x46eed0),_0x308f44[_0x335d76(0x225)](_0x2c306a-_0x46eed0,_0x84b1ed-_0x46eed0,_0x46eed0,0x0,Math['PI']/0x2,!0x1),_0x308f44[_0x335d76(0x150)](0x0,_0x84b1ed),_0x308f44[_0x335d76(0x150)](0x0,_0x5d427d),_0x308f44[_0x335d76(0x225)](_0x5d427d,_0x5d427d,_0x5d427d,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x308f44[_0x335d76(0xa9)](),_0x21cd22[_0x335d76(0xea)]&&(_0x308f44[_0x335d76(0x287)](),_0x308f44['fillStyle']=_0x21cd22[_0x335d76(0xea)],_0x21cd22[_0x335d76(0x233)]===_0x335d76(0x6c)?_0x308f44['fill'](_0x335d76(0x6c)):_0x308f44[_0x335d76(0xea)](),_0x308f44[_0x335d76(0xb3)]());}class te extends p[_0x4af93f(0x1ae)]{constructor(_0x3ed0d5,_0x3e1216){const _0x143790=_0x4af93f;super(_0x3ed0d5,_0x3e1216),_(this,_0x143790(0x141)),_(this,'text'),(this[_0x143790(0x141)]=_0x3e1216==null?void 0x0:_0x3e1216[_0x143790(0x141)],this[_0x143790(0x1f5)]=_0x3e1216==null?void 0x0:_0x3e1216['text']);}static[_0x4af93f(0xf0)](_0x5d9a0f,_0x5cc082){const _0x39e2a1=_0x4af93f,{text:_0x25e612,color:_0x3a7465}=_0x5cc082;_0x5d9a0f['save'](),_0x5d9a0f[_0x39e2a1(0x189)]=_0x39e2a1(0x145);const _0x97ba1f=_0x5d9a0f[_0x39e2a1(0x1da)](_0x25e612)[_0x39e2a1(0xc1)],_0xf93b89=Math[_0x39e2a1(0x28c)](_0x97ba1f+0x2*re,De);ht(_0x5d9a0f,{'height':K,'radius':0x4,'width':_0xf93b89,'fill':_0x3a7465}),_0x5d9a0f[_0x39e2a1(0xb1)]='#FFF';const _0x5b71a6=re,_0x3da2d0=K-_t,_0xa02187=De-0x2*re;if(_0x97ba1f>_0xa02187){let _0x8ddb00='',_0x4dfefc=0x0;for(const _0x7492b2 of _0x25e612){const _0x32f888=_0x5d9a0f[_0x39e2a1(0x1da)](_0x7492b2)['width'];if(_0x4dfefc+_0x32f888<=_0xa02187-_0x5d9a0f[_0x39e2a1(0x1da)](_0x39e2a1(0x236))[_0x39e2a1(0xc1)])_0x8ddb00+=_0x7492b2,_0x4dfefc+=_0x32f888;else{_0x8ddb00+=_0x39e2a1(0x236);break;}}_0x5d9a0f[_0x39e2a1(0x12d)](_0x8ddb00,_0x5b71a6,_0x3da2d0);}else _0x5d9a0f[_0x39e2a1(0x12d)](_0x25e612,_0x5b71a6,_0x3da2d0);_0x5d9a0f[_0x39e2a1(0xb3)]();}[_0x4af93f(0x18c)](_0xee62ee){const _0x54e274=_0x4af93f;te[_0x54e274(0xf0)](_0xee62ee,this);}}const oe=_0x4af93f(0x1cd),ut=_0x4af93f(0x173),dt=_0x4af93f(0x241),k=0x6,ft=1.5,ae=0x4,St=1.5,It=_0x4af93f(0xfa);class Ue{constructor(_0x2e1e3d,_0x3ff82e,_0x183365,_0x5f174a){const _0x57a7a5=_0x4af93f;_(this,_0x57a7a5(0x134),[]),_(this,_0x57a7a5(0x1e5),null),_(this,_0x57a7a5(0x1a1),null),_(this,_0x57a7a5(0x1a8),null),_(this,_0x57a7a5(0x2a5),null),_(this,_0x57a7a5(0x2dd),null),(this[_0x57a7a5(0x160)]=_0x2e1e3d,this[_0x57a7a5(0x74)]=_0x3ff82e,this[_0x57a7a5(0xe6)]=_0x183365,this[_0x57a7a5(0x214)]=_0x5f174a,this[_0x57a7a5(0xaa)]());}set[_0x4af93f(0x285)](_0x554224){const _0x39d681=_0x4af93f;_0x554224?(this['_anchorDot']&&this[_0x39d681(0x1a8)]['hide'](),this[_0x39d681(0x1a1)]&&this['_textBubble'][_0x39d681(0x114)]()):(this[_0x39d681(0x1a8)]&&this[_0x39d681(0x1a8)][_0x39d681(0x114)](),this['_textBubble']&&this[_0x39d681(0x1a1)][_0x39d681(0x227)]());}[_0x4af93f(0x1a7)](){const _0x4bdb0b=_0x4af93f;for(const _0x518234 of this[_0x4bdb0b(0x134)])_0x518234[_0x4bdb0b(0x1a7)]();this[_0x4bdb0b(0x1a1)]&&this[_0x4bdb0b(0x1a1)][_0x4bdb0b(0x1a7)](),this[_0x4bdb0b(0x1a8)]&&this['_anchorDot'][_0x4bdb0b(0x1a7)](),this[_0x4bdb0b(0x1e5)]&&this[_0x4bdb0b(0x1e5)][_0x4bdb0b(0x1a7)](),this[_0x4bdb0b(0x2dd)]&&this[_0x4bdb0b(0x2dd)]();}[_0x4af93f(0xaa)](){const _0x3b73d6=_0x4af93f;var _0x2009b1;const {_docSkeleton:_0x9d23c5,_document:_0x103218}=this,{color:_0x36a93c,name:_0x32de6e,ranges:_0x24639c}=this[_0x3b73d6(0x160)],_0x558956=_0x103218['getOffsetConfig'](),{docsLeft:_0x6857ed,docsTop:_0x123279}=_0x558956,_0x574409=new b[(_0x3b73d6(0x13a))](_0x558956,_0x9d23c5);for(const {startOffset:_0x323094,endOffset:_0x407594,rangeType:_0x5053ff,segmentId:_0x274cb0,segmentPage:_0xff9d4e,collapsed:_0x179c4c,isActive:_0x3fde7f}of _0x24639c){const _0x56f39b=_0x9d23c5[_0x3b73d6(0x1f0)](_0x323094,!0x0,_0x274cb0,_0xff9d4e);let _0x2c9564=_0x9d23c5[_0x3b73d6(0x1f0)](_0x407594,!0x0,_0x274cb0,_0xff9d4e);if(_0x2c9564==null&&(_0x2c9564=_0x9d23c5[_0x3b73d6(0x1f0)](_0x407594-0x1,!0x1,_0x274cb0,_0xff9d4e)),_0x3fde7f){const {contentBoxPointGroup:_0x46adbb}=_0x574409['getRangePointData'](_0x2c9564,_0x2c9564);if(_0x46adbb[_0x3b73d6(0x10c)]===0x0)continue;this[_0x3b73d6(0x15d)](_0x36a93c,_0x46adbb,_0x6857ed,_0x123279,_0x32de6e),this['_eventUnsubscribe']=this['_handleHover']();}if(_0x56f39b&&_0x2c9564){if(_0x5053ff===a[_0x3b73d6(0x26f)][_0x3b73d6(0x2c6)]){const _0x1ced5d=new b[(_0x3b73d6(0x1ab))](_0x558956,_0x9d23c5),{pointGroup:_0x3f9114}=(_0x2009b1=_0x1ced5d[_0x3b73d6(0x191)](_0x56f39b,_0x2c9564))!=null?_0x2009b1:{};if(_0x3f9114==null||_0x3f9114[_0x3b73d6(0x10c)]===0x0)continue;this[_0x3b73d6(0x16f)](_0x36a93c,_0x3f9114,_0x6857ed,_0x123279);}else{if(!_0x179c4c){const {borderBoxPointGroup:_0x511907}=_0x574409[_0x3b73d6(0x191)](_0x56f39b,_0x2c9564);if(_0x511907[_0x3b73d6(0x10c)]===0x0)continue;this[_0x3b73d6(0x1be)](_0x36a93c,_0x511907,_0x6857ed,_0x123279);}}}}}['_drawAnchor'](_0x5e9dab,_0x1ece79,_0x4a7b85,_0x3c56ba,_0x3c8e44){const _0x458b2e=_0x4af93f,_0x1ac6b7=this[_0x458b2e(0x264)](_0x1ece79),{left:_0x5a3c09,top:_0xa9c36c,height:_0x197b35}=_0x1ac6b7,_0x1dce35=this['_getScale'](),_0x21781d=St/_0x1dce35,_0x49dfb7=new p[(_0x458b2e(0x24b))](oe+a['Tools'][_0x458b2e(0x26a)](k),{'left':_0x5a3c09+_0x4a7b85-_0x21781d,'top':_0xa9c36c+_0x3c56ba,'height':_0x197b35,'width':ft,'fill':_0x5e9dab||p[_0x458b2e(0x121)](a['COLORS'][_0x458b2e(0x1ea)],0x0),'strokeWidth':_0x21781d,'stroke':It,'evented':!0x0});this[_0x458b2e(0x1e5)]=_0x49dfb7,this['_scene'][_0x458b2e(0x250)](_0x49dfb7,b[_0x458b2e(0x112)]);const _0x218baa=new p[(_0x458b2e(0x24b))](oe+a[_0x458b2e(0x10e)][_0x458b2e(0x26a)](k),{'left':_0x5a3c09+_0x4a7b85-_0x21781d,'top':_0xa9c36c+_0x3c56ba-ae/0x2,'height':ae,'width':ae,'fill':_0x5e9dab||p[_0x458b2e(0x121)](a[_0x458b2e(0x18b)][_0x458b2e(0x1ea)],0x0),'strokeWidth':0x0,'stroke':_0x5e9dab||p[_0x458b2e(0x121)](a[_0x458b2e(0x18b)][_0x458b2e(0x1ea)],0x0),'evented':!0x1});this[_0x458b2e(0x1a8)]=_0x218baa,this[_0x458b2e(0x74)][_0x458b2e(0x250)](_0x218baa,b[_0x458b2e(0x112)]);const _0x172530=new te(oe+a['Tools']['generateRandomId'](k),{'left':_0x5a3c09+_0x4a7b85-_0x21781d,'top':_0xa9c36c+_0x3c56ba-K,'text':_0x3c8e44,'color':_0x5e9dab});this[_0x458b2e(0x1a1)]=_0x172530,this['_scene'][_0x458b2e(0x250)](_0x172530,b[_0x458b2e(0x112)]),this[_0x458b2e(0x285)]=!0x1;}[_0x4af93f(0x16c)](){const _0x95862f=_0x4af93f,_0x7f6b7f=this[_0x95862f(0x1e5)]['onPointerEnter$'][_0x95862f(0x24f)](()=>{this['_hover']=!0x0;}),_0x304cab=this['_anchor'][_0x95862f(0xf3)][_0x95862f(0x24f)](()=>{const _0x572128=_0x95862f;this[_0x572128(0x2a5)]&&clearTimeout(this[_0x572128(0x2a5)]),this[_0x572128(0x2a5)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x5bd1f2=_0x95862f;_0x7f6b7f['unsubscribe'](),_0x304cab[_0x5bd1f2(0x1fe)]();};}['_drawTextRange'](_0x17286b,_0x1c9a65,_0x1a7cec,_0x28c7ba){const _0x28ecb1=_0x4af93f,_0x87cde3=new a[(_0x28ecb1(0xe3))](_0x17286b)[_0x28ecb1(0x18a)](0.2)[_0x28ecb1(0x10b)](),_0x41cbb0=new p[(_0x28ecb1(0x17e))](ut+a[_0x28ecb1(0x10e)][_0x28ecb1(0x26a)](k),{'pointsGroup':_0x1c9a65,'fill':_0x87cde3||p[_0x28ecb1(0x121)](a[_0x28ecb1(0x18b)][_0x28ecb1(0x1ea)],0.2),'left':_0x1a7cec,'top':_0x28c7ba,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x28ecb1(0x134)][_0x28ecb1(0x181)](_0x41cbb0),this['_scene'][_0x28ecb1(0x250)](_0x41cbb0,b[_0x28ecb1(0x112)]);}['_drawRectRange'](_0x3e0ac2,_0x2f48c1,_0x45c383,_0x2ea498){const _0x4d6a93=_0x4af93f,_0x111edb=new a[(_0x4d6a93(0xe3))](_0x3e0ac2)[_0x4d6a93(0x18a)](0.2)[_0x4d6a93(0x10b)](),_0x5b7d21=new p[(_0x4d6a93(0x17e))](dt+a[_0x4d6a93(0x10e)][_0x4d6a93(0x26a)](k),{'pointsGroup':_0x2f48c1,'fill':_0x111edb||p[_0x4d6a93(0x121)](a[_0x4d6a93(0x18b)]['black'],0.2),'left':_0x45c383,'top':_0x2ea498,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes']['push'](_0x5b7d21),this[_0x4d6a93(0x74)]['addObject'](_0x5b7d21,b[_0x4d6a93(0x112)]);}[_0x4af93f(0x264)](_0x144ecc){const _0x141738=_0x144ecc[0x0],_0x3ebcce=_0x141738[0x0],_0x934afb=_0x141738[0x2],{x:_0x33e118,y:_0x25761e}=_0x3ebcce,{x:_0xb85595,y:_0x58e226}=_0x934afb;return{'left':_0x33e118,'top':_0x25761e,'width':_0xb85595-_0x33e118,'height':_0x58e226-_0x25761e};}[_0x4af93f(0x1a5)](){const _0x4b2be8=_0x4af93f,{scaleX:_0x5a3075,scaleY:_0x2cbaf7}=this['_scene'][_0x4b2be8(0x282)]();return Math[_0x4b2be8(0x20b)](_0x5a3075,_0x2cbaf7);}}var vt=Object[_0x4af93f(0x267)],gt=(_0x1f0b36,_0x37d4ff,_0x1f50ee,_0x54ed17)=>{const _0x18115d=_0x4af93f;for(var _0x4e9382=_0x54ed17>0x1?void 0x0:_0x54ed17?vt(_0x37d4ff,_0x1f50ee):_0x37d4ff,_0x57f791=_0x1f0b36[_0x18115d(0x10c)]-0x1,_0xb02d1e;_0x57f791>=0x0;_0x57f791--)(_0xb02d1e=_0x1f0b36[_0x57f791])&&(_0x4e9382=_0xb02d1e(_0x4e9382)||_0x4e9382);return _0x4e9382;},V=(_0xb9e00d,_0xa1599)=>(_0xdd2201,_0x5bff9a)=>_0xa1599(_0xdd2201,_0x5bff9a,_0xb9e00d);let ve=class extends a['RxDisposable']{constructor(_0x34e547,_0x353c8b,_0x1400ef,_0x22c28b,_0x2d6241){const _0x4c4ba4=_0x4af93f;super(),_(this,_0x4c4ba4(0x257),[]),_(this,_0x4c4ba4(0x155),[]),(this['_context']=_0x34e547,this[_0x4c4ba4(0xf1)]=_0x353c8b,this[_0x4c4ba4(0x249)]=_0x1400ef,this[_0x4c4ba4(0x22f)]=_0x22c28b,this[_0x4c4ba4(0x272)]=_0x2d6241,this['_init']());}[_0x4af93f(0xdb)](){const _0x4dfdd3=_0x4af93f,_0x42a82a=this[_0x4dfdd3(0x24d)]['unitId'],_0x506c90=this[_0x4dfdd3(0xf1)];this[_0x4dfdd3(0xcc)](d[_0x4dfdd3(0x1d2)]([this[_0x4dfdd3(0x249)][_0x4dfdd3(0x2aa)](_0x42a82a),this['_themeService'][_0x4dfdd3(0x11c)]])[_0x4dfdd3(0x131)]($[_0x4dfdd3(0x11d)](([_0x517153,_0x10ac60])=>({'skeleton':_0x506c90[_0x4dfdd3(0x217)](),'cursors':[..._0x517153[_0x4dfdd3(0x2b7)]()]['flatMap'](_0x105fee=>({..._0x105fee,'color':_0x10ac60[_0x105fee['color']]}))})))[_0x4dfdd3(0xdd)](_0xc491fc=>{const _0x2126a9=_0x4dfdd3;if(this['_removeCollabCursors'](),_0xc491fc){const {skeleton:_0x5d4762,cursors:_0x14a693}=_0xc491fc;this[_0x2126a9(0x95)](_0x5d4762,_0x14a693);}})),this['_initResize'](),this['_initCommandExecutedListener']();}['_updateCollabCursors'](_0x21f9a8,_0x205647){const _0x89744c=_0x4af93f,{scene:_0x2f5ea3,mainComponent:_0x33eb7e}=this['_context'],_0xf39247=_0x205647[_0x89744c(0x11d)](_0x165bf9=>new Ue(_0x165bf9,_0x2f5ea3,_0x21f9a8,_0x33eb7e));this[_0x89744c(0x257)]=_0xf39247,this['_cursors']=_0x205647;}[_0x4af93f(0x81)](){const _0x45968a=_0x4af93f;this[_0x45968a(0x179)]();const {scene:_0x507cb9,mainComponent:_0x456c2e}=this[_0x45968a(0x24d)],_0x419ae2=this[_0x45968a(0xf1)][_0x45968a(0x217)](),_0x36ca86=this[_0x45968a(0x155)][_0x45968a(0x11d)](_0x7e0f58=>new Ue(_0x7e0f58,_0x507cb9,_0x419ae2,_0x456c2e));this[_0x45968a(0x257)]=_0x36ca86;}[_0x4af93f(0x179)](){const _0x1a962e=_0x4af93f;this[_0x1a962e(0x257)][_0x1a962e(0x2c9)](_0x358263=>_0x358263[_0x1a962e(0x1a7)]()),this['_cursorShapes']=[];}['_initCommandExecutedListener'](){const _0x36e791=_0x4af93f,_0x261f48=[b[_0x36e791(0x1c5)]['id']];this['disposeWithMe'](this[_0x36e791(0x22f)][_0x36e791(0x6a)](_0x59c2ff=>{const _0x2a457d=_0x36e791;_0x261f48['includes'](_0x59c2ff['id'])&&_0x59c2ff['params'][_0x2a457d(0x7a)]===this[_0x2a457d(0x24d)]['unitId']&&this['_refreshCollabCursors']();}));}[_0x4af93f(0xd3)](){const _0x2e3a34=_0x4af93f;this[_0x2e3a34(0xcc)](a[_0x2e3a34(0x19e)](this[_0x2e3a34(0x24d)][_0x2e3a34(0x21f)][_0x2e3a34(0x2bd)])[_0x2e3a34(0x131)]($[_0x2e3a34(0x16e)](_0x39bdd9=>_0x39bdd9['type']===p[_0x2e3a34(0x69)][_0x2e3a34(0x132)]),$[_0x2e3a34(0x159)](0x10))[_0x2e3a34(0xdd)](()=>{const _0x400cd6=_0x2e3a34;this[_0x400cd6(0x81)]();}));}};ve=gt([V(0x1,a[_0x4af93f(0x2a1)](Y['DocSkeletonManagerService'])),V(0x2,a[_0x4af93f(0x2a1)](x)),V(0x3,a[_0x4af93f(0x1b7)]),V(0x4,a[_0x4af93f(0x2a1)](a[_0x4af93f(0x16d)]))],ve);const mt=0x1,Ct=1.5;class Ae extends p['Shape']{constructor(_0x9fd040,_0xa60807){const _0x107c86=_0x4af93f;super(_0x9fd040,_0xa60807),_(this,'_color'),_(this,_0x107c86(0x29d),!0x1),_(this,_0x107c86(0x192)),_(this,'_name',''),_(this,_0x107c86(0x71),_0x107c86(0xc3)),_(this,'_backgroundColor'),(_0xa60807&&this[_0x107c86(0x140)](_0xa60807),this[_0x107c86(0x242)]['subscribeEvent'](()=>this[_0x107c86(0x140)]({'hovered':!0x0})),this[_0x107c86(0xf3)][_0x107c86(0x24f)](()=>this[_0x107c86(0x140)]({'hovered':!0x1})));}[_0x4af93f(0x140)](_0x5e5f41){const _0x1fe8df=_0x4af93f;var _0x5f2288,_0x3145a1,_0x3c8a2f,_0x4f18a1,_0x1132ec,_0x36a1af;this['_color']=(_0x5f2288=_0x5e5f41['color'])!=null?_0x5f2288:this[_0x1fe8df(0x84)],this[_0x1fe8df(0x29d)]=(_0x3145a1=_0x5e5f41[_0x1fe8df(0x248)])!=null?_0x3145a1:this[_0x1fe8df(0x29d)],this[_0x1fe8df(0x192)]=(_0x3c8a2f=_0x5e5f41[_0x1fe8df(0xe9)])!=null?_0x3c8a2f:this[_0x1fe8df(0x192)],this[_0x1fe8df(0x9b)]=(_0x4f18a1=_0x5e5f41[_0x1fe8df(0x209)])!=null?_0x4f18a1:this[_0x1fe8df(0x9b)],this[_0x1fe8df(0x71)]=(_0x1132ec=_0x5e5f41['labelPosition'])!=null?_0x1132ec:this[_0x1fe8df(0x71)],this[_0x1fe8df(0xe0)]=(_0x36a1af=_0x5e5f41[_0x1fe8df(0x1d9)])!=null?_0x36a1af:this[_0x1fe8df(0xe0)],this['transformByState']({'width':_0x5e5f41[_0x1fe8df(0xc1)],'height':_0x5e5f41[_0x1fe8df(0x133)]});}[_0x4af93f(0x110)](_0x1c010e){const _0x1570ee=_0x4af93f,{row:_0x190b8a,column:_0x159cfb}=_0x1c010e;if(_0x190b8a>=this[_0x1570ee(0x192)][_0x1570ee(0xbd)]&&_0x190b8a<=this[_0x1570ee(0x192)][_0x1570ee(0x1c4)]&&_0x159cfb>=this[_0x1570ee(0x192)]['startColumn']&&_0x159cfb<=this['_range']['endColumn']){this[_0x1570ee(0x140)]({'hovered':!0x0});return;}this[_0x1570ee(0x140)]({'hovered':!0x1});}[_0x4af93f(0xa1)](_0x58cced){return!0x1;}['_draw'](_0xd3d7a7){const _0x4f00b9=_0x4af93f;p[_0x4f00b9(0x24b)]['drawWith'](_0xd3d7a7,{'width':this[_0x4f00b9(0xc1)],'height':this[_0x4f00b9(0x133)],'strokeWidth':Ct,'stroke':this[_0x4f00b9(0x84)],'evented':!0x1,'fill':this[_0x4f00b9(0xe0)]}),this[_0x4f00b9(0x29d)]&&(_0xd3d7a7[_0x4f00b9(0x287)](),_0xd3d7a7[_0x4f00b9(0x235)](0x1,0x0,0x0,0x1,this[_0x4f00b9(0xc1)],this[_0x4f00b9(0x71)]===_0x4f00b9(0x221)?0x0:-0x14),te['drawWith'](_0xd3d7a7,{'text':this[_0x4f00b9(0x9b)],'color':this[_0x4f00b9(0x84)]}),_0xd3d7a7[_0x4f00b9(0xb3)]());}}var pt=Object['getOwnPropertyDescriptor'],bt=(_0x2e4076,_0x13e7fc,_0x32d5aa,_0x34ac2b)=>{const _0x5beb2a=_0x4af93f;for(var _0x1ab66e=_0x34ac2b>0x1?void 0x0:_0x34ac2b?pt(_0x13e7fc,_0x32d5aa):_0x13e7fc,_0xa40737=_0x2e4076[_0x5beb2a(0x10c)]-0x1,_0x3fca9d;_0xa40737>=0x0;_0xa40737--)(_0x3fca9d=_0x2e4076[_0xa40737])&&(_0x1ab66e=_0x3fca9d(_0x1ab66e)||_0x1ab66e);return _0x1ab66e;},ce=(_0x46b599,_0x462d56)=>(_0x407f75,_0x558982)=>_0x462d56(_0x407f75,_0x558982,_0x46b599);const Et=0x1389;let ge=class extends a['RxDisposable']{constructor(_0x535aa8,_0x259175,_0x126eaf,_0x134592){const _0xab1051=_0x4af93f;super(),_(this,_0xab1051(0x155),new Set()),_(this,'_lastPointer',null),(this[_0xab1051(0x24d)]=_0x535aa8,this[_0xab1051(0x1f8)]=_0x259175,this[_0xab1051(0x249)]=_0x126eaf,this[_0xab1051(0x272)]=_0x134592,this['_init']());}['_init'](){const _0x5e5fc9=_0x4af93f;this['_sheetSkeletonManagerService'][_0x5e5fc9(0x210)][_0x5e5fc9(0x131)]($[_0x5e5fc9(0x24c)](this['dispose$']),$[_0x5e5fc9(0x17d)](_0x70bd9b=>{const _0x1b268c=_0x5e5fc9;if(_0x70bd9b){const _0x12751f=_0x70bd9b['sheetId'];return d[_0x1b268c(0x1d2)](this[_0x1b268c(0x249)][_0x1b268c(0x2aa)](this[_0x1b268c(0x24d)][_0x1b268c(0x7a)]),this[_0x1b268c(0x272)]['currentTheme$'])[_0x1b268c(0x131)]($[_0x1b268c(0x11d)](([_0x2ca323,_0x3dd9d7])=>{const _0x2ba5b6=new Map();return _0x2ca323['forEach']((_0x2b5926,_0x46ff1d)=>{const _0x12f657=_0x11d6;if(_0x2b5926[_0x12f657(0xec)]===_0x12751f){const _0x2a4ae8={..._0x2b5926};_0x2a4ae8[_0x12f657(0x141)]=_0x3dd9d7[_0x2b5926[_0x12f657(0x141)]],_0x2ba5b6[_0x12f657(0x167)](_0x46ff1d,_0x2a4ae8);}}),{'skeleton':_0x70bd9b,'cursors':_0x2ba5b6};}));}return d['of']({'skeleton':null,'cursors':new Map()});}))[_0x5e5fc9(0xdd)](({skeleton:_0x577c47,cursors:_0x1c7c2c})=>{const _0x34d396=_0x5e5fc9;this[_0x34d396(0x179)](),_0x577c47&&this[_0x34d396(0x95)](_0x577c47,_0x1c7c2c);}),this['_sheetSkeletonManagerService'][_0x5e5fc9(0x210)][_0x5e5fc9(0xdd)](_0x3d03eb=>{const _0x14296a=_0x5e5fc9;if(_0x3d03eb==null)return;const {skeleton:_0x2004d3}=_0x3d03eb,{scene:_0x16247}=this['_context'];_0x16247['onPointerMove$']['subscribeEvent'](a[_0x14296a(0x1ec)](_0x3b4771=>{const _0x1aa47a=_0x14296a;var _0x35edf1,_0x4d640e;const {offsetX:_0x5d9aa3,offsetY:_0x203be7}=_0x3b4771,{x:_0x5da38a,y:_0x96d127}=_0x16247['getRelativeToViewportCoord'](p[_0x1aa47a(0x246)]['FromArray']([_0x5d9aa3,_0x203be7])),{scaleX:_0x4548af,scaleY:_0x404daf}=_0x16247[_0x1aa47a(0x282)](),_0x4a03a0=_0x16247[_0x1aa47a(0x2b5)](p[_0x1aa47a(0x2e7)]['VIEW_MAIN']),_0x49c984=_0x16247['getVpScrollXYInfoByPosToVp'](p[_0x1aa47a(0x246)][_0x1aa47a(0x25c)]([_0x5da38a,_0x96d127]),_0x4a03a0),_0x5d5ef0=_0x2004d3[_0x1aa47a(0x2c8)](_0x5d9aa3,_0x203be7,_0x4548af,_0x404daf,_0x49c984);((_0x35edf1=this[_0x1aa47a(0x125)])==null?void 0x0:_0x35edf1[_0x1aa47a(0x25f)])===_0x5d5ef0[_0x1aa47a(0x25f)]&&((_0x4d640e=this['_lastPointer'])==null?void 0x0:_0x4d640e['row'])===_0x5d5ef0['row']||this[_0x1aa47a(0x155)][_0x1aa47a(0x2c9)](_0x26bb83=>{_0x26bb83['onMouseMove'](_0x5d5ef0);});},0x64));});}[_0x4af93f(0x95)](_0x1c074d,_0x4aab79){const _0x137d78=_0x4af93f;var _0x3c0fd6;const _0x4c6121=(_0x3c0fd6=this['_sheetSkeletonManagerService'][_0x137d78(0x2cb)]())==null?void 0x0:_0x3c0fd6[_0x137d78(0x1a0)];if(!_0x4c6121)return;const _0x5a8f63=this[_0x137d78(0x190)]();if(!_0x5a8f63)return;this[_0x137d78(0x155)][_0x137d78(0x2c9)](_0x5b5234=>{_0x5b5234['makeDirty']();});const {scene:_0x1422d6}=_0x5a8f63,_0x430ba7=Tt(Array[_0x137d78(0x1eb)](_0x4aab79['values']()))['map'](_0x4e1730=>{const _0x4f1e90=_0x137d78,{color:_0x3f1f9b,range:_0x5770ae,name:_0x46b790,selection:_0x3a6222,sheetID:_0x11634c}=_0x4e1730,{startColumn:_0x4e77be,startRow:_0x2d53d6,endColumn:_0x8f7d2,endRow:_0x5a9e62}=_0x5770ae,_0x1b1be1=G[_0x4f1e90(0x75)](_0x2d53d6,_0x4e77be,_0x1422d6,_0x4c6121),_0x2e5d2e=G[_0x4f1e90(0x75)](_0x5a9e62,_0x8f7d2,_0x1422d6,_0x4c6121),{columnHeaderHeightAndMarginTop:_0x5d549e}=_0x4c6121,{startX:_0x333a07,startY:_0x1336ef}=_0x1b1be1,{endX:_0x5104da,endY:_0x2d07c1}=_0x2e5d2e,_0x21c768=_0x5104da-_0x333a07,_0x1f1595=_0x2d07c1-_0x1336ef,_0x55cb3e={'labelPosition':_0x1336ef-_0x5d549e>=K?'top':_0x4f1e90(0x221),'sheetID':_0x11634c,'range':_0x5770ae,'color':_0x3f1f9b,'name':_0x46b790,'selection':_0x3a6222,'left':_0x333a07,'top':_0x1336ef,'width':_0x21c768,'height':_0x1f1595,'evented':!0x1,'zIndex':Et};return new Ae(_0x46b790,_0x55cb3e);});_0x1422d6['addObjects'](_0x430ba7,mt),this['_cursors']=new Set(_0x430ba7);}[_0x4af93f(0x179)](){const _0x4735d1=_0x4af93f;var _0x22a577;(_0x22a577=this['_cursors'])==null||_0x22a577[_0x4735d1(0x2c9)](_0x1b0641=>_0x1b0641[_0x4735d1(0x1a7)]());}[_0x4af93f(0x190)](){const _0x3d6bf1=_0x4af93f;return G['getSheetObject'](this[_0x3d6bf1(0x24d)][_0x3d6bf1(0x126)],this[_0x3d6bf1(0x24d)]);}};ge=bt([ce(0x1,a[_0x4af93f(0x2a1)](G['SheetSkeletonManagerService'])),ce(0x2,a[_0x4af93f(0x2a1)](x)),ce(0x3,a[_0x4af93f(0x2a1)](a[_0x4af93f(0x16d)]))],ge);function Tt(_0x22732e){const _0x54975f=_0x4af93f,_0x55945f=new Map();return _0x22732e['forEach'](_0x50b690=>{const _0x4448ed=_0x11d6;if(_0x55945f[_0x4448ed(0x148)](_0x50b690[_0x4448ed(0x13b)])){const _0x3ab356=_0x55945f[_0x4448ed(0x27f)](_0x50b690['selection']);_0x3ab356[_0x4448ed(0x209)]+=',\x20'+_0x50b690[_0x4448ed(0x209)];}else _0x55945f['set'](_0x50b690[_0x4448ed(0x13b)],_0x50b690);}),Array[_0x54975f(0x1eb)](_0x55945f[_0x54975f(0x2b7)]());}var E=function(){const _0x42b442=_0x4af93f;return E=Object[_0x42b442(0x22b)]||function(_0x5c1615){const _0xb4d698=_0x42b442;for(var _0x378623,_0x4ea451=0x1,_0x1b7c15=arguments[_0xb4d698(0x10c)];_0x4ea451<_0x1b7c15;_0x4ea451++){_0x378623=arguments[_0x4ea451];for(var _0x411d30 in _0x378623)Object[_0xb4d698(0x9a)][_0xb4d698(0x23d)][_0xb4d698(0x104)](_0x378623,_0x411d30)&&(_0x5c1615[_0x411d30]=_0x378623[_0x411d30]);}return _0x5c1615;},E[_0x42b442(0x2a8)](this,arguments);},Ot=function(_0x4c6146,_0x1651e5){const _0x257a5c=_0x4af93f;var _0x19c1c4={};for(var _0x4e9386 in _0x4c6146)Object[_0x257a5c(0x9a)]['hasOwnProperty'][_0x257a5c(0x104)](_0x4c6146,_0x4e9386)&&_0x1651e5[_0x257a5c(0x162)](_0x4e9386)<0x0&&(_0x19c1c4[_0x4e9386]=_0x4c6146[_0x4e9386]);if(_0x4c6146!=null&&typeof Object[_0x257a5c(0x113)]==_0x257a5c(0x14a)){for(var _0x4ba9ec=0x0,_0x4e9386=Object[_0x257a5c(0x113)](_0x4c6146);_0x4ba9ec<_0x4e9386[_0x257a5c(0x10c)];_0x4ba9ec++)_0x1651e5[_0x257a5c(0x162)](_0x4e9386[_0x4ba9ec])<0x0&&Object['prototype'][_0x257a5c(0x1ce)][_0x257a5c(0x104)](_0x4c6146,_0x4e9386[_0x4ba9ec])&&(_0x19c1c4[_0x4e9386[_0x4ba9ec]]=_0x4c6146[_0x4e9386[_0x4ba9ec]]);}return _0x19c1c4;},be=M[_0x4af93f(0x1af)](function(_0x4d70a7,_0xafe3b0){const _0x4032b2=_0x4af93f;var _0x2ae738=_0x4d70a7[_0x4032b2(0x165)],_0x372b40=_0x4d70a7['id'],_0x5e1a03=_0x4d70a7['className'],_0x2f193b=_0x4d70a7[_0x4032b2(0x1f2)],_0x56a7f9=Ot(_0x4d70a7,[_0x4032b2(0x165),'id','className',_0x4032b2(0x1f2)]),_0x229c40='univerjs-icon\x20univerjs-icon-'[_0x4032b2(0x2cf)](_0x372b40,'\x20')[_0x4032b2(0x2cf)](_0x5e1a03||'')[_0x4032b2(0x166)](),_0x498dfc=M[_0x4032b2(0x2af)]('_'[_0x4032b2(0x2cf)](Ut()));return ye(_0x2ae738,''[_0x4032b2(0x2cf)](_0x372b40),{'defIds':_0x2ae738[_0x4032b2(0x25a)],'idSuffix':_0x498dfc[_0x4032b2(0xa6)]},E({'ref':_0xafe3b0,'className':_0x229c40},_0x56a7f9),_0x2f193b);});function ye(_0x1f6c1b,_0x571a87,_0x4f5534,_0x27ce32,_0xeda9d7){const _0x21e6f4=_0x4af93f;return M[_0x21e6f4(0xde)](_0x1f6c1b[_0x21e6f4(0x115)],E(E({'key':_0x571a87},Rt(_0x1f6c1b,_0x4f5534,_0xeda9d7)),_0x27ce32),(Dt(_0x1f6c1b,_0x4f5534)[_0x21e6f4(0x1fc)]||[])['map'](function(_0x402c1d,_0x4b098f){const _0x308950=_0x21e6f4;return ye(_0x402c1d,''[_0x308950(0x2cf)](_0x571a87,'-')[_0x308950(0x2cf)](_0x1f6c1b['tag'],'-')[_0x308950(0x2cf)](_0x4b098f),_0x4f5534,void 0x0,_0xeda9d7);}));}function Rt(_0x3525d8,_0x3e1765,_0x4a29e6){const _0x488d47=_0x4af93f;var _0x330fd2=E({},_0x3525d8[_0x488d47(0x2de)]);_0x4a29e6!=null&&_0x4a29e6[_0x488d47(0x1bf)]&&_0x330fd2[_0x488d47(0xea)]===_0x488d47(0x1bf)&&(_0x330fd2['fill']=_0x4a29e6[_0x488d47(0x1bf)]),_0x3525d8[_0x488d47(0x115)]===_0x488d47(0xc7)&&_0x330fd2['id']&&(_0x330fd2['id']=_0x330fd2['id']+_0x3e1765['idSuffix']),Object[_0x488d47(0x269)](_0x330fd2)[_0x488d47(0x2c9)](function(_0x3aa4eb){const _0x155889=_0x488d47;var _0x3378e0=_0x3aa4eb[0x0],_0x54a2d8=_0x3aa4eb[0x1];_0x3378e0===_0x155889(0xc7)&&typeof _0x54a2d8=='string'&&(_0x330fd2[_0x3378e0]=_0x54a2d8[_0x155889(0xb4)](/url\(#(.*)\)/,_0x155889(0x1e8)['concat'](_0x3e1765['idSuffix'],')')));});var _0x56810d=_0x3e1765[_0x488d47(0x25a)];return!_0x56810d||_0x56810d[_0x488d47(0x10c)]===0x0||(_0x3525d8['tag']==='use'&&_0x330fd2[_0x488d47(0x89)]&&(_0x330fd2['xlink:href']=_0x330fd2[_0x488d47(0x89)]+_0x3e1765['idSuffix']),Object[_0x488d47(0x269)](_0x330fd2)[_0x488d47(0x2c9)](function(_0x5e0cda){const _0x21b11d=_0x488d47;var _0x3a48e2=_0x5e0cda[0x0],_0x16bb6e=_0x5e0cda[0x1];typeof _0x16bb6e==_0x21b11d(0x26b)&&(_0x330fd2[_0x3a48e2]=_0x16bb6e[_0x21b11d(0xb4)](/url\(#(.*)\)/,_0x21b11d(0x1e8)[_0x21b11d(0x2cf)](_0x3e1765['idSuffix'],')')));})),_0x330fd2;}function Dt(_0x1f952b,_0x5244c3){const _0x39c411=_0x4af93f;var _0x2a25b1,_0xeb9ba8=_0x5244c3[_0x39c411(0x25a)];return!_0xeb9ba8||_0xeb9ba8[_0x39c411(0x10c)]===0x0?_0x1f952b:_0x1f952b[_0x39c411(0x115)]===_0x39c411(0xc6)&&(!((_0x2a25b1=_0x1f952b[_0x39c411(0x1fc)])===null||_0x2a25b1===void 0x0)&&_0x2a25b1['length'])?E(E({},_0x1f952b),{'children':_0x1f952b[_0x39c411(0x1fc)][_0x39c411(0x11d)](function(_0x309529){const _0xc22064=_0x39c411;return typeof _0x309529[_0xc22064(0x2de)]['id']==_0xc22064(0x26b)&&_0xeb9ba8&&_0xeb9ba8[_0xc22064(0x162)](_0x309529['attrs']['id'])>-0x1?E(E({},_0x309529),{'attrs':E(E({},_0x309529[_0xc22064(0x2de)]),{'id':_0x309529[_0xc22064(0x2de)]['id']+_0x5244c3[_0xc22064(0x255)]})}):_0x309529;})}):_0x1f952b;}function Ut(){const _0x1fab11=_0x4af93f;return Math['random']()[_0x1fab11(0x1e7)](0x24)[_0x1fab11(0x218)](0x2,0x8);}be[_0x4af93f(0x156)]=_0x4af93f(0x2bf);var Nt={'tag':_0x4af93f(0x123),'attrs':{'fill':_0x4af93f(0x284),'viewBox':_0x4af93f(0x1cb),'width':_0x4af93f(0x76),'height':_0x4af93f(0x76)},'children':[{'tag':'g','attrs':{'clipPath':_0x4af93f(0x2b1)},'children':[{'tag':'path','attrs':{'stroke':_0x4af93f(0x6f),'d':'M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','strokeLinecap':'round','strokeLinejoin':_0x4af93f(0x1e2),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x4af93f(0x240),'attrs':{'id':'off-line-single_clip0_910_343'},'children':[{'tag':'path','attrs':{'fill':_0x4af93f(0xf4),'d':_0x4af93f(0x66)}}]}]}],'defIds':['off-line-single_clip0_910_343']},$e=M[_0x4af93f(0x1af)](function(_0xc86c47,_0x551dea){const _0x2b24df=_0x4af93f;return M['createElement'](be,Object[_0x2b24df(0x22b)]({},_0xc86c47,{'id':_0x2b24df(0x2a3),'ref':_0x551dea,'icon':Nt}));});$e['displayName']=_0x4af93f(0x1d6);var Mt={'tag':'svg','attrs':{'fill':_0x4af93f(0x284),'viewBox':_0x4af93f(0x1d1),'width':'1em','height':_0x4af93f(0x76)},'children':[{'tag':'g','attrs':{'clipPath':_0x4af93f(0xa8)},'children':[{'tag':'path','attrs':{'stroke':_0x4af93f(0x6f),'d':_0x4af93f(0x1bd),'strokeLinecap':'round','strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x4af93f(0x240),'attrs':{'id':_0x4af93f(0x6d)},'children':[{'tag':_0x4af93f(0x1fb),'attrs':{'fill':'#fff','d':'M0\x200H16V16H0z','transform':'translate(.97)'}}]}]}],'defIds':['on-line-single_clip0_910_349']},xe=M['forwardRef'](function(_0x49f0b0,_0x3c1cfc){const _0x53acbd=_0x4af93f;return M['createElement'](be,Object['assign']({},_0x49f0b0,{'id':_0x53acbd(0x149),'ref':_0x3c1cfc,'icon':Mt}));});xe[_0x4af93f(0x156)]='OnLineSingle';const Lt=_0x4af93f(0x20f),Pt='univer-online-status-title',wt=_0x4af93f(0x137),At=_0x4af93f(0xf5),yt=_0x4af93f(0xeb),H={'onlineStatusIcon':Lt,'onlineStatusTitle':Pt,'onlineStatus':wt,'online':At,'offline':yt};function $t(_0x222636){const _0x2755ed=_0x4af93f;switch(_0x222636){case u[_0x2755ed(0xfd)][_0x2755ed(0x253)]:return _0x2755ed(0x13f);case u[_0x2755ed(0xfd)][_0x2755ed(0xad)]:return _0x2755ed(0xdc);case u['CollaborationStatus'][_0x2755ed(0x78)]:return _0x2755ed(0x2e4);case u[_0x2755ed(0xfd)][_0x2755ed(0x288)]:return'collabStatus.notCollab';case u['CollaborationStatus'][_0x2755ed(0x1ee)]:case u[_0x2755ed(0xfd)][_0x2755ed(0x24a)]:return _0x2755ed(0x2a2);case u['CollaborationStatus'][_0x2755ed(0x1f4)]:case u[_0x2755ed(0xfd)][_0x2755ed(0x153)]:return _0x2755ed(0x202);}}function je(_0x80f1f5){const _0x4df84b=_0x4af93f,{status$:_0x3f7842}=_0x80f1f5,_0x2310bc=O[_0x4df84b(0x17a)](_0x3f7842,u[_0x4df84b(0xfd)][_0x4df84b(0x288)]),_0x5d6681=O['useDependency'](a['LocaleService']),_0x5318d3=O['useDependency'](u['CollaborationSessionService']),_0x294bb1=_0x2310bc!==u[_0x4df84b(0xfd)][_0x4df84b(0x253)],_0x31b14b=_0x5d6681['t']($t(_0x2310bc)),_0x3a4b10=T['clsx'](H[_0x4df84b(0x17b)],{[H[_0x4df84b(0x23f)]]:_0x294bb1,[H[_0x4df84b(0x108)]]:!_0x294bb1}),_0x196b68=_0x294bb1?P[_0x4df84b(0x1f1)](xe,{}):P[_0x4df84b(0x1f1)]($e,{}),_0x4d8ddf=M['useCallback'](()=>{_0x294bb1||_0x5318d3['reconnect']();},[_0x294bb1,_0x5318d3]);function _0x17e0cf(){const _0x1e8702=_0x4df84b;return P[_0x1e8702(0x15f)](_0x1e8702(0x171),{'className':T[_0x1e8702(0x27b)](_0x3a4b10,_0x1e8702(0x26d)),'onClick':_0x4d8ddf,'children':[P['jsx']('div',{'className':H['onlineStatusIcon'],'children':_0x196b68}),P[_0x1e8702(0x1f1)](_0x1e8702(0x171),{'className':H[_0x1e8702(0xee)],'children':_0x31b14b})]});}return _0x294bb1?_0x17e0cf():P[_0x4df84b(0x1f1)](T[_0x4df84b(0xa3)],{'title':_0x5d6681['t'](_0x4df84b(0x15c)),'children':_0x17e0cf()});}var xt=Object['getOwnPropertyDescriptor'],jt=(_0x36a0fe,_0xcce35a,_0x5e992a,_0xf5ecd6)=>{const _0x2da536=_0x4af93f;for(var _0x2dd06d=_0xf5ecd6>0x1?void 0x0:_0xf5ecd6?xt(_0xcce35a,_0x5e992a):_0xcce35a,_0xb9958a=_0x36a0fe[_0x2da536(0x10c)]-0x1,_0xc3b217;_0xb9958a>=0x0;_0xb9958a--)(_0xc3b217=_0x36a0fe[_0xb9958a])&&(_0x2dd06d=_0xc3b217(_0x2dd06d)||_0x2dd06d);return _0x2dd06d;},X=(_0x4c39b7,_0x34fa52)=>(_0x318ba6,_0x4f383f)=>_0x34fa52(_0x318ba6,_0x4f383f,_0x4c39b7);exports['DesktopCollaborationStatusDisplayController']=class extends a[_0x4af93f(0x14c)]{constructor(_0x12f656,_0x4bc288,_0x5f5b40,_0x567f37){const _0x416a42=_0x4af93f;super(),_(this,_0x416a42(0x119),new d[(_0x416a42(0x158))](u[_0x416a42(0xfd)][_0x416a42(0x288)])),(this[_0x416a42(0x2c1)]=_0x12f656,this['_injector']=_0x4bc288,this[_0x416a42(0x2d9)]=_0x5f5b40,this[_0x416a42(0x1ad)]=_0x567f37,this['_initStatusComponent'](),this[_0x416a42(0x12a)]());}[_0x4af93f(0x12a)](){const _0xf0b8d3=_0x4af93f;this[_0xf0b8d3(0xcc)](this['_univerInstanceService']['focused$'][_0xf0b8d3(0x131)](d[_0xf0b8d3(0x17d)](()=>{const _0x5930c3=_0xf0b8d3,_0x4ee4f1=this[_0x5930c3(0x2c1)][_0x5930c3(0xae)]();return _0x4ee4f1?this[_0x5930c3(0x2d9)][_0x5930c3(0x2bc)](_0x4ee4f1[_0x5930c3(0x1c7)]()):d['of'](null);}),d[_0xf0b8d3(0x17d)](_0x4d3e63=>_0x4d3e63?_0x4d3e63[_0xf0b8d3(0x21a)]:d['of'](u[_0xf0b8d3(0xfd)][_0xf0b8d3(0x288)])))[_0xf0b8d3(0xdd)](_0x2de420=>{const _0x58bd69=_0xf0b8d3;this[_0x58bd69(0x119)][_0x58bd69(0x2c4)](_0x2de420);}));}[_0x4af93f(0x2d4)](){const _0x3c40d8=_0x4af93f;this[_0x3c40d8(0xcc)](this[_0x3c40d8(0x1ad)][_0x3c40d8(0x212)](O[_0x3c40d8(0xe7)][_0x3c40d8(0x144)],()=>O[_0x3c40d8(0x103)](Bt({'status$':this['_status$'][_0x3c40d8(0x2cc)]()}),this[_0x3c40d8(0x23b)])));}},exports[_0x4af93f(0x1b0)]=jt([X(0x0,a[_0x4af93f(0x9c)]),X(0x1,a[_0x4af93f(0x2a1)](a['Injector'])),X(0x2,a['Inject'](u[_0x4af93f(0x22e)])),X(0x3,O['IUIPartsService'])],exports[_0x4af93f(0x1b0)]);function Bt(_0x37e95a){const {status$:_0x5d9442}=_0x37e95a;return function(){const _0x27997e=_0x11d6;return P[_0x27997e(0x1f1)](je,{'status$':_0x5d9442});};}var kt=Object['getOwnPropertyDescriptor'],Ht=(_0x42c181,_0x4756b0,_0x41f43a,_0x6596a7)=>{const _0x1faa90=_0x4af93f;for(var _0x1ed83b=_0x6596a7>0x1?void 0x0:_0x6596a7?kt(_0x4756b0,_0x41f43a):_0x4756b0,_0x3ca1d1=_0x42c181[_0x1faa90(0x10c)]-0x1,_0x3f0439;_0x3ca1d1>=0x0;_0x3ca1d1--)(_0x3f0439=_0x42c181[_0x3ca1d1])&&(_0x1ed83b=_0x3f0439(_0x1ed83b)||_0x1ed83b);return _0x1ed83b;},y=(_0x34ed25,_0x14b6ad)=>(_0x1f26ba,_0x537bd8)=>_0x14b6ad(_0x1f26ba,_0x537bd8,_0x34ed25);let z=class extends a[_0x4af93f(0x14c)]{constructor(_0x2ea52c,_0x16048e,_0x792cce,_0x4a4f3f,_0x49cad9,_0x467e2c){const _0x5c68f9=_0x4af93f;super(),this[_0x5c68f9(0x2e3)]=_0x2ea52c,this['_localCacheService']=_0x16048e,this['_collaborationUIEventService']=_0x792cce,this[_0x5c68f9(0x16a)]=_0x4a4f3f,this[_0x5c68f9(0x1ba)]=_0x49cad9,this[_0x5c68f9(0x7c)]=_0x467e2c,this[_0x5c68f9(0x151)](),this[_0x5c68f9(0x243)]();}[_0x4af93f(0x151)](){const _0x1aa89c=_0x4af93f;this['disposeWithMe'](this[_0x1aa89c(0x2e3)][_0x1aa89c(0x270)](()=>{const _0x340afc=_0x1aa89c;if(this['_localCacheService'][_0x340afc(0x180)][_0x340afc(0x100)])return this[_0x340afc(0x7c)]['t'](_0x340afc(0x1d5));}));}[_0x4af93f(0x243)](){const _0x1e55d5=_0x4af93f;this[_0x1e55d5(0xcc)](this[_0x1e55d5(0x127)][_0x1e55d5(0x261)][_0x1e55d5(0xdd)](_0x250682=>{const _0x206f9e=_0x1e55d5;_0x250682['id']===u['CollaborationUIEventId'][_0x206f9e(0x292)]&&this[_0x206f9e(0x16a)]['show']({'type':T[_0x206f9e(0x1b5)]['Warning'],'content':this[_0x206f9e(0x7c)]['t'](_0x206f9e(0x198))}),_0x250682['id']===u[_0x206f9e(0x2a0)][_0x206f9e(0xc2)]&&this['_messageService']['show']({'type':T[_0x206f9e(0x1b5)][_0x206f9e(0xe8)],'content':this['_localeService']['t'](_0x206f9e(0x231))}),_0x250682['id']===u[_0x206f9e(0x2a0)]['PERMISSION_DENIED']&&this['_notificationService']['show']({'title':this[_0x206f9e(0x7c)]['t']('permission.title'),'content':this['_localeService']['t'](_0x206f9e(0x238)),'type':_0x206f9e(0x1a2),'duration':0x0}),_0x250682['id']===u[_0x206f9e(0x2a0)][_0x206f9e(0xad)]&&this[_0x206f9e(0x16a)]['show']({'type':T[_0x206f9e(0x1b5)]['Error'],'content':this[_0x206f9e(0x7c)]['t']('collaboration.closeRoom')+'('+_0x250682[_0x206f9e(0x2d7)]+')'}),_0x250682['id']===u['CollaborationUIEventId'][_0x206f9e(0x26c)]&&this[_0x206f9e(0x16a)][_0x206f9e(0x114)]({'type':T['MessageType'][_0x206f9e(0xe8)],'content':this[_0x206f9e(0x7c)]['t'](_0x250682['data']||'')}),_0x250682['id']===u[_0x206f9e(0x2a0)][_0x206f9e(0x297)]&&this[_0x206f9e(0x16a)][_0x206f9e(0x114)]({'type':T[_0x206f9e(0x1b5)][_0x206f9e(0xe8)],'content':this[_0x206f9e(0x7c)]['t'](_0x206f9e(0x1c3))}),_0x250682['id']===u[_0x206f9e(0x2a0)]['SOCKET_FAILED']&&this[_0x206f9e(0x16a)][_0x206f9e(0x114)]({'type':T[_0x206f9e(0x1b5)][_0x206f9e(0x73)],'content':this[_0x206f9e(0x7c)]['t'](_0x206f9e(0x21b))}),_0x250682['id']===u[_0x206f9e(0x2a0)][_0x206f9e(0x247)]&&this['_messageService'][_0x206f9e(0x114)]({'type':T[_0x206f9e(0x1b5)][_0x206f9e(0x73)],'content':this[_0x206f9e(0x7c)]['t'](_0x206f9e(0x29a))});}));}};z=Ht([y(0x0,O['IBeforeCloseService']),y(0x1,u['ILocalCacheService']),y(0x2,a['Inject'](u['CollaborationUIEventService'])),y(0x3,O[_0x4af93f(0x275)]),y(0x4,O['INotificationService']),y(0x5,a['Inject'](a[_0x4af93f(0x147)]))],z);const Ft='collaboration-client-ui.config',Ne={},Ee=a[_0x4af93f(0x1bb)]('uni.network.url-service');var Wt=Object[_0x4af93f(0x267)],Yt=(_0x47b326,_0x24f850,_0x571d14,_0x125c4e)=>{const _0x123948=_0x4af93f;for(var _0x2f6a48=_0x125c4e>0x1?void 0x0:_0x125c4e?Wt(_0x24f850,_0x571d14):_0x24f850,_0x195fd8=_0x47b326[_0x123948(0x10c)]-0x1,_0x18e8b4;_0x195fd8>=0x0;_0x195fd8--)(_0x18e8b4=_0x47b326[_0x195fd8])&&(_0x2f6a48=_0x18e8b4(_0x2f6a48)||_0x2f6a48);return _0x2f6a48;},F=(_0x5df5b5,_0x5c72f9)=>(_0x592343,_0x459161)=>_0x5c72f9(_0x592343,_0x459161,_0x5df5b5);exports[_0x4af93f(0x2b3)]=class extends a[_0x4af93f(0x193)]{constructor(_0x4fa1c0,_0x3af8b0,_0x876878,_0x4b8b1d,_0x463c02){const _0x1c598c=_0x4af93f;super(),this[_0x1c598c(0x18e)]=_0x4fa1c0,this['_logService']=_0x3af8b0,this[_0x1c598c(0x22f)]=_0x876878,this['_dataLoaderService']=_0x4b8b1d,_0x463c02?_0x463c02==null||_0x463c02[_0x1c598c(0xd0)]()[_0x1c598c(0x278)](()=>this[_0x1c598c(0xdb)]()):(this['_logService'][_0x1c598c(0x9f)](_0x1c598c(0x1ac),_0x1c598c(0x1f3)),this[_0x1c598c(0xdb)]());}async['_init'](){const _0x11797d=_0x4af93f,_0x188c6b=this[_0x11797d(0x18e)][_0x11797d(0x70)]('unit'),_0x59c11d=this['_urlService'][_0x11797d(0x70)](_0x11797d(0x280)),_0x332a24=this[_0x11797d(0x18e)][_0x11797d(0x70)](_0x11797d(0x1dd));if(!_0x188c6b||!_0x59c11d){this[_0x11797d(0x12f)][_0x11797d(0x9f)](_0x11797d(0x1ac),_0x11797d(0x23a));return;}const _0x37f270=await this[_0x11797d(0x11a)][_0x11797d(0x2ac)](_0x188c6b,Number(_0x59c11d),_0x332a24);_0x37f270&&_0x37f270 instanceof a[_0x11797d(0x229)]&&this[_0x11797d(0x263)](_0x37f270);}async[_0x4af93f(0x263)](_0xe7094e){const _0xe38bc4=_0x4af93f;await this[_0xe38bc4(0x8d)](_0xe7094e),_0xe7094e[_0xe38bc4(0x176)][_0xe38bc4(0x131)](d[_0xe38bc4(0x24c)](this['dispose$']))[_0xe38bc4(0xdd)](_0x431eba=>{const _0x196970=_0xe38bc4;_0x431eba&&this[_0x196970(0x2db)](_0x431eba);}),this[_0xe38bc4(0x18e)][_0xe38bc4(0x2a7)][_0xe38bc4(0x131)](d[_0xe38bc4(0x24c)](this['dispose$']))[_0xe38bc4(0xdd)](()=>this['_updateSubUnitFromURLParams'](_0xe7094e));}[_0x4af93f(0x2db)](_0x41fde7,_0x550436=!0x1){const _0x26b3cb=_0x4af93f,_0x584db8=this[_0x26b3cb(0x18e)][_0x26b3cb(0x70)](_0x26b3cb(0x1dd));_0x41fde7['getSheetId']()!==_0x584db8&&this['_urlService'][_0x26b3cb(0x1c2)](_0x26b3cb(0x1dd),_0x41fde7['getSheetId'](),_0x550436);}async['_updateSubUnitFromURLParams'](_0x4f6655){const _0x5bf7ef=_0x4af93f;var _0x30c06c;const _0x26f292=this[_0x5bf7ef(0x18e)][_0x5bf7ef(0x70)](_0x5bf7ef(0x1dd));if(!_0x26f292||!_0x4f6655[_0x5bf7ef(0x28e)](_0x26f292)){const _0x2bf53c=_0x4f6655[_0x5bf7ef(0x111)]()[0x0],_0x1b7586=_0x4f6655[_0x5bf7ef(0x28e)](_0x2bf53c);if(!_0x1b7586)return;this['_updateURLWithCurrentState'](_0x1b7586,!0x0),await this[_0x5bf7ef(0x22f)][_0x5bf7ef(0x204)](g['SetWorksheetActivateCommand']['id'],{'unitId':_0x4f6655[_0x5bf7ef(0x1c7)](),'subUnitId':_0x2bf53c});return;}((_0x30c06c=_0x4f6655['getActiveSheet']())==null?void 0x0:_0x30c06c['getSheetId']())!==_0x26f292&&await this[_0x5bf7ef(0x22f)][_0x5bf7ef(0x204)](g['SetWorksheetActivateCommand']['id'],{'unitId':_0x4f6655[_0x5bf7ef(0x1c7)](),'subUnitId':_0x26f292});}},exports[_0x4af93f(0x2b3)]=Yt([F(0x0,Ee),F(0x1,a['ILogService']),F(0x2,a['ICommandService']),F(0x3,a[_0x4af93f(0x2a1)](u[_0x4af93f(0x25b)])),F(0x4,a[_0x4af93f(0x118)](Ke[_0x4af93f(0x15b)]))],exports['CollaborationDataLoaderController']);var Vt=Object[_0x4af93f(0x267)],Xt=(_0x44e042,_0x103d43,_0x26b558,_0x5b849c)=>{const _0x29335c=_0x4af93f;for(var _0x112faf=_0x5b849c>0x1?void 0x0:_0x5b849c?Vt(_0x103d43,_0x26b558):_0x103d43,_0xdba486=_0x44e042[_0x29335c(0x10c)]-0x1,_0x21ad24;_0xdba486>=0x0;_0xdba486--)(_0x21ad24=_0x44e042[_0xdba486])&&(_0x112faf=_0x21ad24(_0x112faf)||_0x112faf);return _0x112faf;},le=(_0x301da4,_0x839dda)=>(_0x2de637,_0x572917)=>_0x839dda(_0x2de637,_0x572917,_0x301da4);let J=class{constructor(_0xab597a,_0x1b98f7,_0x5d201a){const _0x21d2f3=_0x4af93f;this[_0x21d2f3(0x23b)]=_0xab597a,this[_0x21d2f3(0x105)]=_0x1b98f7,this['_renderManagerService']=_0x5d201a;}[_0x4af93f(0x1fa)](_0x246495){const _0x4a7af8=_0x4af93f;this[_0x4a7af8(0x164)](_0x246495),this[_0x4a7af8(0x135)](_0x246495);}[_0x4af93f(0x2d6)](_0x2d241b){const _0x19deeb=_0x4af93f,{unitID:_0x25a78c}=_0x2d241b,_0x57d6f6=this[_0x19deeb(0x2e1)]['getRenderById'](_0x25a78c)[_0x19deeb(0x294)](b['DocIMEInputManagerService']),{redoCache:_0x42493d}=_0x57d6f6[_0x19deeb(0xfe)]();if(_0x42493d['length']===0x0)return _0x2d241b;let _0x2015c0=a[_0x19deeb(0x10e)][_0x19deeb(0x83)](_0x2d241b[_0x19deeb(0x8f)][0x0]);for(let _0x441274=0x0;_0x441274<_0x42493d[_0x19deeb(0x10c)];_0x441274++){const _0x71a67d={'id':_0x19deeb(0x2ce),'params':{..._0x42493d[_0x441274]}},_0x38a531=this[_0x19deeb(0x105)][_0x19deeb(0xdf)](_0x2015c0,_0x71a67d,!0x1);if(m['isTransformMutationFailure'](_0x38a531))throw _0x38a531[_0x19deeb(0x1a2)];_0x2015c0=_0x38a531[_0x19deeb(0x82)];}return{...a[_0x19deeb(0x10e)]['deepClone'](_0x2d241b),'mutations':[_0x2015c0]};}[_0x4af93f(0x164)](_0x126750){const _0x335cb5=_0x4af93f,{unitID:_0x2e3751}=_0x126750,_0x35e460=this[_0x335cb5(0x2e1)][_0x335cb5(0x25d)](_0x2e3751)[_0x335cb5(0x294)](b['DocIMEInputManagerService']),{undoCache:_0x20d9af,redoCache:_0x1d115d}=_0x35e460['getUndoRedoMutationParamsCache']();if(_0x20d9af[_0x335cb5(0x10c)]===0x0||_0x1d115d['length']===0x0)return;const _0x3700ee=[],_0xfbe849=[];let _0x368180=a[_0x335cb5(0x10e)][_0x335cb5(0x83)](_0x126750[_0x335cb5(0x8f)][0x0]),_0x435093=a[_0x335cb5(0x10e)][_0x335cb5(0x83)](_0x126750[_0x335cb5(0x8f)][0x0]);for(let _0x1d64e3=_0x20d9af[_0x335cb5(0x10c)]-0x1;_0x1d64e3>=0x0;_0x1d64e3--){const _0x5b1fd1={'id':_0x335cb5(0x2ce),'params':{..._0x20d9af[_0x1d64e3]}},_0x4b5c2b={'id':_0x335cb5(0x2ce),'params':{..._0x1d115d[_0x1d64e3]}},_0x3a95fa=this[_0x335cb5(0x105)][_0x335cb5(0xdf)](_0x368180,_0x5b1fd1,!0x1),_0x494006=this[_0x335cb5(0x105)]['transformMutation'](_0x435093,_0x4b5c2b,!0x1);if(m[_0x335cb5(0xca)](_0x3a95fa))throw _0x3a95fa[_0x335cb5(0x1a2)];if(m['isTransformMutationFailure'](_0x494006))throw _0x494006['error'];_0x3700ee['unshift'](_0x3a95fa[_0x335cb5(0xba)][_0x335cb5(0x22a)]),_0xfbe849['unshift'](_0x494006[_0x335cb5(0xba)][_0x335cb5(0x22a)]),_0x368180=_0x3a95fa['m1Prime'],_0x435093=_0x494006['m1Prime'];}_0x35e460['setUndoRedoMutationParamsCache']({'undoCache':_0x3700ee,'redoCache':_0xfbe849});}[_0x4af93f(0x135)](_0x11f31e){const _0x1873b9=_0x4af93f,{unitID:_0x5059c7}=_0x11f31e,_0x1c4621=this['_renderManagerService']['getRenderById'](_0x5059c7)['with'](b[_0x1873b9(0x213)]),_0x544e51=_0x1c4621[_0x1873b9(0xcd)]();if(_0x544e51==null)return;const _0xa69fb3=[{'id':_0x1873b9(0x2ce),'params':{'unitId':_0x11f31e[_0x1873b9(0x1ff)],'actions':null,'textRanges':[_0x544e51]}}],_0x538a29=this[_0x1873b9(0x105)][_0x1873b9(0x7f)](_0x11f31e,_0xa69fb3);if(!m['isTransformMutationsWithChangesetSuccess'](_0x538a29))throw _0x538a29[_0x1873b9(0x1a2)];const _0x411fe7=_0x538a29['m2Prime'][0x0]['params']['textRanges'];Array[_0x1873b9(0x128)](_0x411fe7)&&_0x411fe7[_0x1873b9(0x10c)]&&_0x1c4621[_0x1873b9(0x283)](_0x411fe7[0x0]);}};J=Xt([le(0x0,a['Inject'](a['Injector'])),le(0x1,m[_0x4af93f(0x2df)]),le(0x2,p[_0x4af93f(0x1d7)])],J);var Gt=Object['getOwnPropertyDescriptor'],qt=(_0x1f3b9a,_0x31bc59,_0x513e82,_0x2b23e1)=>{const _0x2edad5=_0x4af93f;for(var _0x5a20f7=_0x2b23e1>0x1?void 0x0:_0x2b23e1?Gt(_0x31bc59,_0x513e82):_0x31bc59,_0xf3e4c1=_0x1f3b9a[_0x2edad5(0x10c)]-0x1,_0x52d5c3;_0xf3e4c1>=0x0;_0xf3e4c1--)(_0x52d5c3=_0x1f3b9a[_0xf3e4c1])&&(_0x5a20f7=_0x52d5c3(_0x5a20f7)||_0x5a20f7);return _0x5a20f7;},_e=(_0x4f9947,_0x5a8553)=>(_0x306f28,_0x1431ed)=>_0x5a8553(_0x306f28,_0x1431ed,_0x4f9947);let Z=class{constructor(_0x63098b,_0x4c88d1,_0x3ab703){const _0xa961cd=_0x4af93f;this[_0xa961cd(0x23b)]=_0x63098b,this[_0xa961cd(0x105)]=_0x4c88d1,this['_docStateChangeManagerService']=_0x3ab703;}[_0x4af93f(0x2c3)](_0x3ddc71){this['_transformHistoryAndStateStack'](_0x3ddc71);}['transformRemoteChangeset'](_0x278a01){const _0xf8b55a=_0x4af93f,{unitID:_0x2ec2c5}=_0x278a01,{collaboration:_0x1b623e}=this[_0xf8b55a(0x139)][_0xf8b55a(0x90)](_0x2ec2c5);if(_0x1b623e['length']===0x0)return _0x278a01;let _0x369961=a[_0xf8b55a(0x10e)][_0xf8b55a(0x83)](_0x278a01['mutations'][0x0]);for(let _0x26d542=0x0;_0x26d542<_0x1b623e[_0xf8b55a(0x10c)];_0x26d542++){const _0x5f0d35={'id':_0xf8b55a(0x2ce),'params':{'unitId':_0x1b623e[_0x26d542]['unitId'],..._0x1b623e[_0x26d542][_0xf8b55a(0x2e6)]}},_0xe8d352=this['_transformService'][_0xf8b55a(0xdf)](_0x369961,_0x5f0d35,!0x1);if(m[_0xf8b55a(0xca)](_0xe8d352))throw _0xe8d352['error'];_0x369961=_0xe8d352[_0xf8b55a(0x82)];}return{...a[_0xf8b55a(0x10e)][_0xf8b55a(0x83)](_0x278a01),'mutations':[_0x369961]};}[_0x4af93f(0x24e)](_0x2cfa19){const _0x20fd2f=_0x4af93f,{unitID:_0x50a563}=_0x2cfa19,{history:_0x473d2b,collaboration:_0xd868bf}=this[_0x20fd2f(0x139)][_0x20fd2f(0x90)](_0x50a563);if(_0x473d2b['length']===0x0&&_0xd868bf[_0x20fd2f(0x10c)]===0x0)return;const _0x5bbde6=[],_0x246eaa=[];let _0x41a0af=a['Tools'][_0x20fd2f(0x83)](_0x2cfa19[_0x20fd2f(0x8f)][0x0]),_0x383fbc=a[_0x20fd2f(0x10e)][_0x20fd2f(0x83)](_0x2cfa19['mutations'][0x0]);for(let _0x1232c3=_0x473d2b[_0x20fd2f(0x10c)]-0x1;_0x1232c3>=0x0;_0x1232c3--){const _0x34ac75={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x473d2b[_0x1232c3][_0x20fd2f(0x7a)],..._0x473d2b[_0x1232c3]['undoState']}},_0x56bc50={'id':_0x20fd2f(0x2ce),'params':{'unitId':_0x473d2b[_0x1232c3][_0x20fd2f(0x7a)],..._0x473d2b[_0x1232c3][_0x20fd2f(0x2e6)]}},_0x51acdb=this[_0x20fd2f(0x105)]['transformMutation'](_0x41a0af,_0x34ac75,!0x1),_0x4d3bd7=this[_0x20fd2f(0x105)][_0x20fd2f(0xdf)](_0x383fbc,_0x56bc50,!0x1);if(m[_0x20fd2f(0xca)](_0x51acdb))throw _0x51acdb[_0x20fd2f(0x1a2)];if(m[_0x20fd2f(0xca)](_0x4d3bd7))throw _0x4d3bd7['error'];_0x5bbde6['unshift']({..._0x473d2b[_0x1232c3],'undoState':_0x51acdb[_0x20fd2f(0xba)][_0x20fd2f(0x22a)],'redoState':_0x4d3bd7[_0x20fd2f(0xba)][_0x20fd2f(0x22a)]}),_0x41a0af=_0x51acdb[_0x20fd2f(0x82)],_0x383fbc=_0x4d3bd7[_0x20fd2f(0x82)];}_0x41a0af=a[_0x20fd2f(0x10e)][_0x20fd2f(0x83)](_0x2cfa19[_0x20fd2f(0x8f)][0x0]),_0x383fbc=a['Tools']['deepClone'](_0x2cfa19['mutations'][0x0]);for(let _0x43931c=_0xd868bf[_0x20fd2f(0x10c)]-0x1;_0x43931c>=0x0;_0x43931c--){const _0x29b4c5={'id':_0x20fd2f(0x2ce),'params':{'unitId':_0xd868bf[_0x43931c]['unitId'],..._0xd868bf[_0x43931c]['undoState']}},_0x5770b8={'id':_0x20fd2f(0x2ce),'params':{'unitId':_0xd868bf[_0x43931c][_0x20fd2f(0x7a)],..._0xd868bf[_0x43931c][_0x20fd2f(0x2e6)]}},_0x244c29=this[_0x20fd2f(0x105)][_0x20fd2f(0xdf)](_0x41a0af,_0x29b4c5,!0x1),_0x685a75=this['_transformService'][_0x20fd2f(0xdf)](_0x383fbc,_0x5770b8,!0x1);if(m[_0x20fd2f(0xca)](_0x244c29))throw _0x244c29[_0x20fd2f(0x1a2)];if(m[_0x20fd2f(0xca)](_0x685a75))throw _0x685a75[_0x20fd2f(0x1a2)];_0x246eaa['unshift']({..._0xd868bf[_0x43931c],'undoState':_0x244c29[_0x20fd2f(0xba)][_0x20fd2f(0x22a)],'redoState':_0x685a75['m2Prime'][_0x20fd2f(0x22a)]}),_0x41a0af=_0x244c29['m1Prime'],_0x383fbc=_0x685a75[_0x20fd2f(0x82)];}this[_0x20fd2f(0x139)][_0x20fd2f(0x2dc)](_0x50a563,{'history':_0x5bbde6,'collaboration':_0x246eaa});}};Z=qt([_e(0x0,a[_0x4af93f(0x2a1)](a[_0x4af93f(0x187)])),_e(0x1,m[_0x4af93f(0x2df)]),_e(0x2,a['Inject'](b[_0x4af93f(0x136)]))],Z);var Kt=Object[_0x4af93f(0x267)],zt=(_0x34c39b,_0x52fb71,_0x1bbcba,_0x3362d6)=>{const _0x28188a=_0x4af93f;for(var _0x225b7c=_0x3362d6>0x1?void 0x0:_0x3362d6?Kt(_0x52fb71,_0x1bbcba):_0x52fb71,_0x1254bc=_0x34c39b[_0x28188a(0x10c)]-0x1,_0x43b989;_0x1254bc>=0x0;_0x1254bc--)(_0x43b989=_0x34c39b[_0x1254bc])&&(_0x225b7c=_0x43b989(_0x225b7c)||_0x225b7c);return _0x225b7c;},Me=(_0x9a77d9,_0x5ba6ed)=>(_0x118530,_0x33db3f)=>_0x5ba6ed(_0x118530,_0x33db3f,_0x9a77d9);let Q=class{constructor(_0x573911,_0x4e40bb){const _0x3423c1=_0x4af93f;this[_0x3423c1(0x23b)]=_0x573911,this[_0x3423c1(0x105)]=_0x4e40bb;}[_0x4af93f(0xc5)](_0x4bce29){const _0x2eac50=_0x4af93f;var _0x45fdf6;const _0x31784d=this[_0x2eac50(0x23b)][_0x2eac50(0x27f)](Y[_0x2eac50(0x67)]),_0x309858=(_0x45fdf6=_0x31784d[_0x2eac50(0x11b)]())!=null?_0x45fdf6:[];if(_0x309858[_0x2eac50(0x10c)]===0x0)return;const _0x2c1f86=_0x4bce29[_0x2eac50(0x1ff)],_0xbf7127=[{'id':_0x2eac50(0x2ce),'params':{'unitId':_0x2c1f86,'actions':null,'textRanges':_0x309858}}],_0x5e9737=this[_0x2eac50(0x105)][_0x2eac50(0x7f)](_0x4bce29,_0xbf7127);if(!m['isTransformMutationsWithChangesetSuccess'](_0x5e9737))throw _0x5e9737[_0x2eac50(0x1a2)];const _0x9ede1f=_0x5e9737[_0x2eac50(0xba)][0x0][_0x2eac50(0x22a)][_0x2eac50(0x7b)];Array[_0x2eac50(0x128)](_0x9ede1f)&&_0x9ede1f['length']&&_0x31784d[_0x2eac50(0x1dc)](_0x9ede1f,{'unitId':_0x2c1f86,'subUnitId':_0x2c1f86},!0x1);}};Q=zt([Me(0x0,a[_0x4af93f(0x2a1)](a['Injector'])),Me(0x1,m[_0x4af93f(0x2df)])],Q);var Jt=Object[_0x4af93f(0x267)],Zt=(_0x4615c2,_0x200462,_0x506c9c,_0x5aec67)=>{const _0x2c9bbf=_0x4af93f;for(var _0x48a17a=_0x5aec67>0x1?void 0x0:_0x5aec67?Jt(_0x200462,_0x506c9c):_0x200462,_0x1925be=_0x4615c2[_0x2c9bbf(0x10c)]-0x1,_0x503198;_0x1925be>=0x0;_0x1925be--)(_0x503198=_0x4615c2[_0x1925be])&&(_0x48a17a=_0x503198(_0x48a17a)||_0x48a17a);return _0x48a17a;},N=(_0x814f3b,_0x1819f2)=>(_0x4655cf,_0x1c40ec)=>_0x1819f2(_0x4655cf,_0x1c40ec,_0x814f3b);let ee=class extends a[_0x4af93f(0x14c)]{constructor(_0x4d6af5,_0x531ca2,_0x548cb8,_0x381837,_0x27547a,_0x5a1b5b,_0x952e27,_0xb7d4b5){const _0x4f270a=_0x4af93f;super(),_(this,_0x4f270a(0x119),new d[(_0x4f270a(0x158))](u[_0x4f270a(0xfd)]['NOT_COLLAB'])),(this[_0x4f270a(0x139)]=_0x4d6af5,this[_0x4f270a(0x2d9)]=_0x531ca2,this[_0x4f270a(0xbc)]=_0x548cb8,this[_0x4f270a(0x286)]=_0x381837,this[_0x4f270a(0x2ba)]=_0x27547a,this['_docSyncEditingCollabCursorService']=_0x5a1b5b,this['_messageService']=_0x952e27,this['_localeService']=_0xb7d4b5,this[_0x4f270a(0x29c)]());}[_0x4af93f(0x29c)](){const _0x38508a=_0x4af93f;this[_0x38508a(0xcc)](this[_0x38508a(0x2d9)][_0x38508a(0xf8)][_0x38508a(0xdd)](_0x487e42=>{const _0xda0b92=_0x38508a,_0xd55d72=this[_0xda0b92(0x139)]['docStateChange$'][_0xda0b92(0xdd)](_0x165377=>{const _0x1e464a=_0xda0b92;if(_0x165377==null)return;const {unitId:_0x2f49de,redoState:_0x2caa41,commandId:_0x33c64b}=_0x165377;if(_0x2f49de!==_0x487e42[_0x1e464a(0x1ff)])return;const _0x242f21={'id':_0x33c64b,'type':a[_0x1e464a(0x29f)][_0x1e464a(0x268)],'params':{'unitId':_0x2f49de,'actions':_0x2caa41[_0x1e464a(0x130)],'textRanges':null}};_0x487e42['onLocalMutation'](_0x242f21);});if(_0x487e42[_0xda0b92(0xcc)](_0xd55d72),_0x487e42 instanceof u[_0xda0b92(0x1c9)]){const _0x4ae368={'onTransformIME':_0x208af9=>this[_0xda0b92(0xbc)][_0xda0b92(0x1fa)](_0x208af9),'onTransformState':_0x15d736=>this[_0xda0b92(0x286)][_0xda0b92(0x2c3)](_0x15d736),'onTransformSelections':_0x186436=>this['_docTransformSelectionsService'][_0xda0b92(0xc5)](_0x186436),'onSyncEditingCollabCursor':_0x43a803=>this['_docSyncEditingCollabCursorService'][_0xda0b92(0x106)](_0x43a803),'onTransformRemoteChangesetByIMECache':_0x2e5a49=>this[_0xda0b92(0xbc)][_0xda0b92(0x2d6)](_0x2e5a49),'onTransformRemoteChangesetByStateCache':_0x5cdc6a=>this[_0xda0b92(0x286)]['transformRemoteChangeset'](_0x5cdc6a)};_0x487e42['addHandlerCallback'](_0x4ae368);}}));}};ee=Zt([N(0x0,a[_0x4af93f(0x2a1)](b[_0x4af93f(0x136)])),N(0x1,a[_0x4af93f(0x2a1)](u['CollaborationController'])),N(0x2,a['Inject'](J)),N(0x3,a[_0x4af93f(0x2a1)](Z)),N(0x4,a[_0x4af93f(0x2a1)](Q)),N(0x5,a['Inject'](pe)),N(0x6,O[_0x4af93f(0x275)]),N(0x7,a['Inject'](a['LocaleService']))],ee);var Qt=Object['getOwnPropertyDescriptor'],es=(_0x5bcdf3,_0x5d734c,_0x3bc5bc,_0x120a09)=>{const _0xfa25fd=_0x4af93f;for(var _0x263db2=_0x120a09>0x1?void 0x0:_0x120a09?Qt(_0x5d734c,_0x3bc5bc):_0x5d734c,_0x2f7389=_0x5bcdf3[_0xfa25fd(0x10c)]-0x1,_0x4e10e2;_0x2f7389>=0x0;_0x2f7389--)(_0x4e10e2=_0x5bcdf3[_0x2f7389])&&(_0x263db2=_0x4e10e2(_0x263db2)||_0x263db2);return _0x263db2;},he=(_0x493099,_0x5313e3)=>(_0x18c877,_0xc512dc)=>_0x5313e3(_0x18c877,_0xc512dc,_0x493099);let me=class extends a[_0x4af93f(0x14c)]{constructor(_0x5a91f9,_0x7befb1,_0x25dba7){const _0x2378ac=_0x4af93f;super(),_(this,_0x2378ac(0xa2),new Map()),_(this,_0x2378ac(0x20c),new Map()),_(this,_0x2378ac(0x273),!0x1),(this['_configService']=_0x5a91f9,this['_localStorageService']=_0x7befb1,this[_0x2378ac(0x10a)]=_0x25dba7);}[_0x4af93f(0x169)](){this['_disabled']=!0x0;}[_0x4af93f(0x29b)](){this['_disabled']=!0x1;}get[_0x4af93f(0x180)](){const _0x27b07c=_0x4af93f;return this[_0x27b07c(0x20c)];}[_0x4af93f(0x1a7)](){const _0x15e368=_0x4af93f;this[_0x15e368(0xb6)]()[_0x15e368(0x278)](()=>super[_0x15e368(0x1a7)]());}async[_0x4af93f(0x20e)](_0x548e11){const _0xc52d1c=_0x4af93f;return this['_disabled']?null:this['_localStorageService']['getItem'](u[_0xc52d1c(0x23c)](_0x548e11));}async['saveOfflineData'](_0xa97f13,_0x2806e6){const _0x3e77c8=_0x4af93f;return!!this['_localStorageService'][_0x3e77c8(0x116)](_0xa97f13,_0x2806e6);}[_0x4af93f(0x27c)](_0x2fe2ee,_0x26f6c7,_0x5473e4,_0x3b97ce){const _0x522dcf=_0x4af93f,_0x415578=this[_0x522dcf(0x10a)][_0x522dcf(0x177)](_0x2fe2ee);this[_0x522dcf(0xa2)][_0x522dcf(0x167)](_0x2fe2ee,{'unitID':_0x2fe2ee,'type':_0x26f6c7,'awaitingChangeset':_0x5473e4,'mutations':_0x3b97ce,'rev':_0x415578}),this[_0x522dcf(0x20c)][_0x522dcf(0x148)](_0x2fe2ee)||this['_scheduleSaving'](_0x2fe2ee);}[_0x4af93f(0x8c)](_0x5630e5){const _0x560323=_0x4af93f,_0x2a4b36=this['_getSaveTimeout']();_0x2a4b36===0x0?this['_saveCache'](_0x5630e5):this[_0x560323(0x20c)][_0x560323(0x167)](_0x5630e5,setTimeout(()=>this['_saveCache'](_0x5630e5),_0x2a4b36));}['_getSaveTimeout'](){const _0x45f551=_0x4af93f;var _0x409722;return(_0x409722=this['_configService'][_0x45f551(0x28b)](u[_0x45f551(0x6e)]))!=null?_0x409722:u[_0x45f551(0x28a)];}[_0x4af93f(0x1b2)](_0x44b092){const _0x2c6529=_0x4af93f,_0x4a9060=this[_0x2c6529(0x20c)][_0x2c6529(0x27f)](_0x44b092);return _0x4a9060!==void 0x0&&window[_0x2c6529(0x19c)](_0x4a9060),this[_0x2c6529(0xbe)]['setItem'](u[_0x2c6529(0x23c)](_0x44b092),this[_0x2c6529(0xa2)]['get'](_0x44b092))['then'](()=>this[_0x2c6529(0x20c)][_0x2c6529(0x2d0)](_0x44b092));}async[_0x4af93f(0xb6)](){const _0xfa4c56=_0x4af93f,_0x1a4b8b=[];this[_0xfa4c56(0x20c)][_0xfa4c56(0x2c9)]((_0x198055,_0x33c6c4)=>{const _0x634cea=_0xfa4c56;window[_0x634cea(0x19c)](_0x198055),_0x1a4b8b['push'](this[_0x634cea(0x1b2)](_0x33c6c4)[_0x634cea(0x278)](()=>{const _0x2b8ab4=_0x634cea;this[_0x2b8ab4(0x20c)][_0x2b8ab4(0x2d0)](_0x33c6c4);}));}),await Promise['all'](_0x1a4b8b);}};me=es([he(0x0,a['IConfigService']),he(0x1,a[_0x4af93f(0x2c0)]),he(0x2,a[_0x4af93f(0x2a1)](m['RevisionService']))],me);class Be extends a['RxDisposable']{constructor(){const _0x1a1d96=_0x4af93f;super(),_(this,_0x1a1d96(0x2a7)),this['urlChange$']=d[_0x1a1d96(0x2a6)](window,'popstate')[_0x1a1d96(0x131)](d[_0x1a1d96(0x24c)](this['dispose$']),d[_0x1a1d96(0x1cf)](0x1),d[_0x1a1d96(0x27a)](void 0x0));}[_0x4af93f(0x1c2)](_0x3455a7,_0x8c6f8d,_0x3c43d0=!0x1){const _0x13dd6a=_0x4af93f,_0x1fcfae=new URL(window[_0x13dd6a(0x9e)][_0x13dd6a(0xfb)]);_0x1fcfae[_0x13dd6a(0x289)]['set'](_0x3455a7,_0x8c6f8d),_0x3c43d0?window[_0x13dd6a(0x1e3)]['replaceState']('','',_0x1fcfae['toString']()):window[_0x13dd6a(0x1e3)][_0x13dd6a(0xc9)]('','',_0x1fcfae[_0x13dd6a(0x1e7)]());}['removeParam'](_0x465d6d,_0x3ce34a=!0x1){const _0x196f99=_0x4af93f,_0x2ae8a1=new URL(window[_0x196f99(0x9e)][_0x196f99(0xfb)]);_0x2ae8a1[_0x196f99(0x289)][_0x196f99(0x2d0)](_0x465d6d),_0x3ce34a?window['history'][_0x196f99(0xc4)]('','',_0x2ae8a1['toString']()):window['history'][_0x196f99(0xc9)]('','',_0x2ae8a1[_0x196f99(0x1e7)]());}[_0x4af93f(0x70)](_0x7cd335){const _0x1c7e4d=_0x4af93f;var _0x3b1233;return(_0x3b1233=new URL(window[_0x1c7e4d(0x9e)]['href'])[_0x1c7e4d(0x289)][_0x1c7e4d(0x27f)](_0x7cd335))!=null?_0x3b1233:void 0x0;}}var ts=Object[_0x4af93f(0x1c1)],ss=Object[_0x4af93f(0x267)],ns=(_0x260b76,_0x101959,_0xce1221)=>_0x101959 in _0x260b76?ts(_0x260b76,_0x101959,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xce1221}):_0x260b76[_0x101959]=_0xce1221,is=(_0x47c0c6,_0x1e8566,_0x4472cd,_0x171fcd)=>{const _0x5443a4=_0x4af93f;for(var _0xe8150e=_0x171fcd>0x1?void 0x0:_0x171fcd?ss(_0x1e8566,_0x4472cd):_0x1e8566,_0x282b7a=_0x47c0c6[_0x5443a4(0x10c)]-0x1,_0x4ed4bb;_0x282b7a>=0x0;_0x282b7a--)(_0x4ed4bb=_0x47c0c6[_0x282b7a])&&(_0xe8150e=_0x4ed4bb(_0xe8150e)||_0xe8150e);return _0xe8150e;},ue=(_0x138cf6,_0x5626f2)=>(_0x539980,_0x507fab)=>_0x5626f2(_0x539980,_0x507fab,_0x138cf6),rs=(_0x3a68bc,_0xfe23e1,_0x206fff)=>ns(_0x3a68bc,_0xfe23e1+'',_0x206fff);const os=_0x4af93f(0x2ca);exports['UniverCollaborationClientUIPlugin']=class extends a[_0x4af93f(0xa7)]{constructor(_0x5d1789=Ne,_0x49f89c,_0x1fc298,_0x2ebafd){const _0x31921f=_0x4af93f;super(),this[_0x31921f(0x2ae)]=_0x5d1789,this['_renderManagerService']=_0x49f89c,this[_0x31921f(0x23b)]=_0x1fc298,this['_configService']=_0x2ebafd;const {..._0xe22582}=a[_0x31921f(0x85)]({},Ne,this[_0x31921f(0x2ae)]);this[_0x31921f(0x1f7)][_0x31921f(0x19f)](Ft,_0xe22582);}['onStarting'](){const _0x529bdb=_0x4af93f;this[_0x529bdb(0x93)](),this[_0x529bdb(0x1d4)]();}[_0x4af93f(0x1a4)](){const _0x38bf2c=_0x4af93f;this[_0x38bf2c(0x1df)]();}['_registerDependencies'](){const _0x54fc4c=_0x4af93f;var _0x3aba3;const _0x1e9a10=[[Ce],[Q],[J],[Z],[pe],[Ee,{'useClass':Be}],[q[_0x54fc4c(0x1a3)],{'useClass':q[_0x54fc4c(0x138)]}],[u[_0x54fc4c(0x211)],{'useClass':me}],[exports[_0x54fc4c(0x1b0)]],[ee],[z],[x],[fe],[exports[_0x54fc4c(0x2b3)]]];a['registerDependencies'](this[_0x54fc4c(0x23b)],a[_0x54fc4c(0x92)](_0x1e9a10,(_0x3aba3=this[_0x54fc4c(0x2ae)])==null?void 0x0:_0x3aba3[_0x54fc4c(0x10f)]));}[_0x4af93f(0x1df)](){const _0x453430=_0x4af93f;this[_0x453430(0xcc)](this[_0x453430(0x2e1)][_0x453430(0x1b8)](a[_0x453430(0x222)]['UNIVER_DOC'],[ve])),this['disposeWithMe'](this[_0x453430(0x2e1)][_0x453430(0x1b8)](a[_0x453430(0x222)][_0x453430(0x2d8)],[ge]));}[_0x4af93f(0x1d4)](){const _0x1efe22=_0x4af93f;a['touchDependencies'](this[_0x1efe22(0x23b)],[[x],[exports[_0x1efe22(0x1b0)]],[ee],[z],[exports[_0x1efe22(0x2b3)]]]);}},rs(exports[_0x4af93f(0x122)],_0x4af93f(0x178),os),exports[_0x4af93f(0x122)]=is([a[_0x4af93f(0xaf)](u[_0x4af93f(0x186)]),ue(0x1,p[_0x4af93f(0x1d7)]),ue(0x2,a['Inject'](a[_0x4af93f(0x187)])),ue(0x3,a[_0x4af93f(0x20d)])],exports[_0x4af93f(0x122)]);var as=Object[_0x4af93f(0x267)],cs=(_0x56ddd5,_0xd1bf5e,_0x2653bf,_0x515827)=>{const _0x209bd6=_0x4af93f;for(var _0x225128=_0x515827>0x1?void 0x0:_0x515827?as(_0xd1bf5e,_0x2653bf):_0xd1bf5e,_0x553df2=_0x56ddd5[_0x209bd6(0x10c)]-0x1,_0x237dce;_0x553df2>=0x0;_0x553df2--)(_0x237dce=_0x56ddd5[_0x553df2])&&(_0x225128=_0x237dce(_0x225128)||_0x225128);return _0x225128;},W=(_0x208e8d,_0x54b3d6)=>(_0x49b177,_0x20dfe3)=>_0x54b3d6(_0x49b177,_0x20dfe3,_0x208e8d);exports[_0x4af93f(0x2bb)]=class extends u['CollaborationSocketService']{constructor(_0x3b4986,_0x230ed9,_0x48973f,_0x11510b,_0xb413d0){super(_0x3b4986,_0x230ed9,_0x48973f,_0x11510b,_0xb413d0);}async[_0x4af93f(0x1b9)](_0x3fb643){const _0xddbe60=_0x4af93f,_0x3402d5=await this['_getSessionTicket'](),_0x2a47db=this[_0xddbe60(0x245)](_0x3fb643,_0x3402d5);return this['_doCreateSocket'](_0x2a47db);}[_0x4af93f(0x245)](_0x1f1739,_0x421f03){const _0x59b9a3=_0x4af93f,_0x2ed649=typeof window>'u'?new URL(_0x1f1739):new URL(_0x1f1739,window['location'][_0x59b9a3(0x21d)]);_0x2ed649[_0x59b9a3(0x289)][_0x59b9a3(0x167)](_0x59b9a3(0x86),_0x421f03);const _0x462d03=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x59b9a3(0x9e)]['search']);return _0x462d03[_0x59b9a3(0x27f)](_0x59b9a3(0x17c))&&_0x2ed649[_0x59b9a3(0x289)][_0x59b9a3(0x167)]('runId',_0x462d03['get'](_0x59b9a3(0x17c))),_0x2ed649[_0x59b9a3(0x1e7)]();}async[_0x4af93f(0x215)](){const _0x54a744=_0x4af93f;var _0x4b2d0b,_0xf413fa,_0x361500;const _0x57a112=this[_0x54a744(0x1f7)][_0x54a744(0x28b)](u['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']),_0xf16606=(_0x4b2d0b=_0x57a112==null?void 0x0:_0x57a112[_0x54a744(0x2e2)])!=null?_0x4b2d0b:u['DEFAULT_WS_SESSION_TICKET_URL'];return(_0x361500=(_0xf413fa=(await this[_0x54a744(0x72)]['get'](_0xf16606,{'headers':{'Content-Type':_0x54a744(0x22c)}}))[_0x54a744(0x161)])==null?void 0x0:_0xf413fa[_0x54a744(0x2a4)])!=null?_0x361500:'';}},exports[_0x4af93f(0x2bb)]=cs([W(0x0,a[_0x4af93f(0x2a1)](a[_0x4af93f(0x187)])),W(0x1,a['Inject'](q['HTTPService'])),W(0x2,a[_0x4af93f(0x20d)]),W(0x3,a[_0x4af93f(0x21e)]),W(0x4,m[_0x4af93f(0x2e5)])],exports[_0x4af93f(0x2bb)]);const Le=0x7530,Pe='ACTIVE_UNIT_EVENT_CHANNEL';class ls extends a[_0x4af93f(0x14c)]{constructor(){const _0x51255d=_0x4af93f;super(),_(this,_0x51255d(0x27d),a[_0x51255d(0x26a)]()),_(this,'_selfUnitIDs',new Set()),_(this,_0x51255d(0x206),new Map()),_(this,_0x51255d(0x197),null),_(this,_0x51255d(0x174),new Map()),_(this,_0x51255d(0xbb),new Map()),this[_0x51255d(0xdb)]();}[_0x4af93f(0x1a7)](){const _0x53297a=_0x4af93f;super[_0x53297a(0x1a7)](),this[_0x53297a(0x174)][_0x53297a(0x2c9)]((_0x13a155,_0x5e3684)=>this[_0x53297a(0x226)](_0x5e3684)),this[_0x53297a(0x197)]&&window['clearInterval'](this[_0x53297a(0x197)]);}[_0x4af93f(0x295)](_0x381e01){const _0x571f12=_0x4af93f;return this[_0x571f12(0xd9)](_0x381e01)[_0x571f12(0x131)](d[_0x571f12(0x10d)]());}[_0x4af93f(0x96)](_0x91ba93){const _0x1055ab=_0x4af93f;this[_0x1055ab(0x1b1)][_0x1055ab(0x100)]===0x0&&this[_0x1055ab(0x25e)](),this['_selfUnitIDs'][_0x1055ab(0x13d)](_0x91ba93),this[_0x1055ab(0x281)]({'type':0x0,'memberID':this[_0x1055ab(0x27d)],'unitIDs':[_0x91ba93],'isForwarded':!0x1});}['disposeUnit'](_0x3dd9bc){const _0x528e48=_0x4af93f;this[_0x528e48(0x1b1)][_0x528e48(0x2d0)](_0x3dd9bc),this['_selfUnitIDs'][_0x528e48(0x100)]===0x0&&this[_0x528e48(0x197)]&&window[_0x528e48(0x1e9)](this[_0x528e48(0x197)]);}[_0x4af93f(0xdb)](){const _0xba1fa6=_0x4af93f;this[_0xba1fa6(0xcc)](a[_0xba1fa6(0xce)](d[_0xba1fa6(0x2a6)](window,_0xba1fa6(0x17f))['subscribe'](_0x1543ad=>{const _0x3323c3=_0xba1fa6;if(_0x1543ad[_0x3323c3(0x2c7)]!==Pe||!_0x1543ad[_0x3323c3(0x12e)])return;const _0x2d1523=JSON[_0x3323c3(0x163)](_0x1543ad['newValue']);this['_handleEvent'](_0x2d1523);}))),window[_0xba1fa6(0x299)](_0xba1fa6(0xd4),()=>this['_send']({'type':0x1,'memberID':this['_id'],'unitIDs':Array['from'](this[_0xba1fa6(0x1b1)])}));}[_0x4af93f(0x2be)](_0x2b00fd){const _0x299a0=_0x4af93f;switch(_0x2b00fd[_0x299a0(0x280)]){case 0x0:this[_0x299a0(0x2e0)](_0x2b00fd);break;case 0x1:this[_0x299a0(0x298)](_0x2b00fd);break;case 0x2:this[_0x299a0(0xb2)](_0x2b00fd);break;}}[_0x4af93f(0x2e0)](_0x1071a6){const _0x297595=_0x4af93f,{unitIDs:_0x5c55ef,memberID:_0x4297d7,isForwarded:_0x2060c6}=_0x1071a6;_0x5c55ef[_0x297595(0x2c9)](_0x429fa5=>{const _0x74691b=_0x297595;if(!_0x2060c6&&this[_0x74691b(0x206)][_0x74691b(0x148)](_0x429fa5)&&this[_0x74691b(0xd9)](_0x429fa5)[_0x74691b(0x2c4)](u[_0x74691b(0x1aa)]['OTHER_CLIENTS_EDITING']),!this[_0x74691b(0x206)][_0x74691b(0x148)](_0x429fa5)||!this['_unitOnClients'][_0x74691b(0x27f)](_0x429fa5)[_0x74691b(0x148)](_0x4297d7)){const _0x44afb9=this[_0x74691b(0x206)]['get'](_0x429fa5)||new Set();_0x44afb9[_0x74691b(0x13d)](_0x4297d7),this[_0x74691b(0x206)][_0x74691b(0x167)](_0x429fa5,_0x44afb9),this[_0x74691b(0xa5)](_0x4297d7);}}),_0x2060c6||this[_0x297595(0x281)]({'type':0x0,'memberID':this[_0x297595(0x27d)],'unitIDs':[...this[_0x297595(0x1b1)]],'isForwarded':!0x0});}[_0x4af93f(0xa5)](_0x2206b3){const _0x1a636b=_0x4af93f;this[_0x1a636b(0x226)](_0x2206b3);const _0x374c93=window[_0x1a636b(0x290)](()=>{const _0xb4e5c7=_0x1a636b;this[_0xb4e5c7(0x206)][_0xb4e5c7(0x2c9)](_0x531a3e=>{const _0x7d1220=_0xb4e5c7;_0x531a3e[_0x7d1220(0x2d0)](_0x2206b3);});},Le*0x2);this[_0x1a636b(0x174)][_0x1a636b(0x167)](_0x2206b3,_0x374c93);}[_0x4af93f(0x226)](_0x2595b8){const _0x3458a1=_0x4af93f;if(this['_clearOtherTimers']['has'](_0x2595b8)){const _0x334238=this['_clearOtherTimers'][_0x3458a1(0x27f)](_0x2595b8);_0x334238&&window[_0x3458a1(0x19c)](_0x334238),this[_0x3458a1(0x174)]['set'](_0x2595b8,null);}}[_0x4af93f(0x298)](_0x2802cb){const _0x4ffa7f=_0x4af93f,{memberID:_0xfa1742,unitIDs:_0x343ecb}=_0x2802cb;_0x343ecb[_0x4ffa7f(0x2c9)](_0x4d1983=>{const _0xdc39c9=_0x4ffa7f;var _0x1497d2;const _0x1f968c=this['_unitOnClients'][_0xdc39c9(0x27f)](_0x4d1983);_0x1f968c&&(_0x1f968c[_0xdc39c9(0x2d0)](_0xfa1742),(_0x1497d2=this[_0xdc39c9(0xd9)](_0x4d1983))==null||_0x1497d2[_0xdc39c9(0x2c4)](_0x1f968c['size']===0x0?u[_0xdc39c9(0x1aa)][_0xdc39c9(0xb0)]:u[_0xdc39c9(0x1aa)][_0xdc39c9(0x199)]));}),this[_0x4ffa7f(0x226)](_0xfa1742);}[_0x4af93f(0xb2)](_0x462d94){const _0x3354b8=_0x4af93f;this['_scheduleClearOtherTimer'](_0x462d94[_0x3354b8(0xcb)]);}['_send'](_0x4b7470){const _0x149345=_0x4af93f;localStorage['setItem'](Pe,JSON[_0x149345(0x1c8)](_0x4b7470));}[_0x4af93f(0x25e)](){const _0x5525e8=_0x4af93f;this[_0x5525e8(0x197)]=window[_0x5525e8(0x2c2)](()=>{const _0x4a1c28=_0x5525e8;this[_0x4a1c28(0x281)]({'type':0x2,'memberID':this['_id']});},Le);}[_0x4af93f(0xd9)](_0x18f40b){const _0x1d13f7=_0x4af93f;return this[_0x1d13f7(0xbb)][_0x1d13f7(0x148)](_0x18f40b)||this[_0x1d13f7(0xbb)][_0x1d13f7(0x167)](_0x18f40b,new d['BehaviorSubject'](u[_0x1d13f7(0x1aa)]['NO_OTHER_CLIENTS_EDITING'])),this[_0x1d13f7(0xbb)][_0x1d13f7(0x27f)](_0x18f40b);}}var ke=(_0xa213d1=>(_0xa213d1[_0xa213d1[_0x4af93f(0x279)]=0x0]='UNDEFINED',_0xa213d1[_0xa213d1['OK']=0x1]='OK',_0xa213d1[_0xa213d1[_0x4af93f(0x18f)]=0x2]='INTERNAL_ERROR',_0xa213d1[_0xa213d1[_0x4af93f(0x1b6)]=0x3]=_0x4af93f(0x1b6),_0xa213d1[_0xa213d1[_0x4af93f(0x152)]=0x4]=_0x4af93f(0x152),_0xa213d1[_0xa213d1[_0x4af93f(0x232)]=0x5]='UNAUTHENTICATED',_0xa213d1[_0xa213d1[_0x4af93f(0x107)]=0x6]=_0x4af93f(0x107),_0xa213d1[_0xa213d1[_0x4af93f(0x2d1)]=0x7]=_0x4af93f(0x2d1),_0xa213d1[_0xa213d1['TOO_MANY_REQUESTS']=0x8]=_0x4af93f(0x2b9),_0xa213d1[_0xa213d1[_0x4af93f(0x254)]=0x9]=_0x4af93f(0x254),_0xa213d1[_0xa213d1[_0x4af93f(0x87)]=0xa]=_0x4af93f(0x87),_0xa213d1[_0xa213d1[_0x4af93f(0x219)]=0x1389]=_0x4af93f(0x219),_0xa213d1[_0xa213d1[_0x4af93f(0x271)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0xa213d1[_0xa213d1[_0x4af93f(0x2ad)]=0x1772]=_0x4af93f(0x2ad),_0xa213d1[_0xa213d1[_0x4af93f(0x129)]=0x1773]=_0x4af93f(0x129),_0xa213d1[_0xa213d1[_0x4af93f(0x266)]=0x1b59]=_0x4af93f(0x266),_0xa213d1[_0xa213d1[_0x4af93f(0x188)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0xa213d1[_0xa213d1[_0x4af93f(0x194)]=0x1b5b]=_0x4af93f(0x194),_0xa213d1[_0xa213d1[_0x4af93f(0x224)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0xa213d1[_0xa213d1[_0x4af93f(0x168)]=0x1b5d]='APPLY_DUPLICATED',_0xa213d1[_0xa213d1[_0x4af93f(0xf9)]=0x1f41]=_0x4af93f(0xf9),_0xa213d1[_0xa213d1[_0x4af93f(0x2da)]=0x2329]=_0x4af93f(0x2da),_0xa213d1[_0xa213d1[_0x4af93f(0xd1)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0xa213d1[_0xa213d1[_0x4af93f(0xf6)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0xa213d1[_0xa213d1[_0x4af93f(0x172)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0xa213d1[_0xa213d1['LICENSE_DISTRO_REJECTED']=0x232d]='LICENSE_DISTRO_REJECTED',_0xa213d1[_0xa213d1['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x4af93f(0x262),_0xa213d1[_0xa213d1[_0x4af93f(0x19a)]=0x2712]=_0x4af93f(0x19a),_0xa213d1[_0xa213d1[_0x4af93f(0x170)]=0x2713]=_0x4af93f(0x170),_0xa213d1[_0xa213d1['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0xa213d1[_0xa213d1[_0x4af93f(0xf2)]=0x271a]=_0x4af93f(0xf2),_0xa213d1[_0xa213d1[_0x4af93f(0x2b6)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0xa213d1[_0xa213d1[_0x4af93f(0x1d8)]=0x2af9]=_0x4af93f(0x1d8),_0xa213d1[_0xa213d1[_0x4af93f(0x274)]=0x2ee1]=_0x4af93f(0x274),_0xa213d1[_0xa213d1[_0x4af93f(0x2b4)]=0x2ee2]=_0x4af93f(0x2b4),_0xa213d1[_0xa213d1[_0x4af93f(0xb9)]=0x2ee3]=_0x4af93f(0xb9),_0xa213d1[_0xa213d1[_0x4af93f(0x1ed)]=0x2ee4]=_0x4af93f(0x1ed),_0xa213d1[_0xa213d1[_0x4af93f(0x142)]=0x2ee5]=_0x4af93f(0x142),_0xa213d1[_0xa213d1[_0x4af93f(0x234)]=0x32c9]=_0x4af93f(0x234),_0xa213d1[_0xa213d1[_0x4af93f(0x94)]=0x32ca]=_0x4af93f(0x94),_0xa213d1[_0xa213d1['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x4af93f(0x117),_0xa213d1[_0xa213d1[_0x4af93f(0x265)]=-0x1]=_0x4af93f(0x265),_0xa213d1))(ke||{}),_s=Object['getOwnPropertyDescriptor'],hs=(_0x582322,_0x1c30c2,_0x484ad7,_0x5b6ec8)=>{const _0x1678f2=_0x4af93f;for(var _0x51c13c=_0x5b6ec8>0x1?void 0x0:_0x5b6ec8?_s(_0x1c30c2,_0x484ad7):_0x1c30c2,_0x585024=_0x582322[_0x1678f2(0x10c)]-0x1,_0x404ae5;_0x585024>=0x0;_0x585024--)(_0x404ae5=_0x582322[_0x585024])&&(_0x51c13c=_0x404ae5(_0x51c13c)||_0x51c13c);return _0x51c13c;},de=(_0x34bc6a,_0xabbcd0)=>(_0x1d5919,_0x225cc0)=>_0xabbcd0(_0x1d5919,_0x225cc0,_0x34bc6a);exports[_0x4af93f(0x1b4)]=class extends a[_0x4af93f(0x14c)]{constructor(_0x4f4da1,_0xe6e058,_0x1774df){const _0xfdd93d=_0x4af93f;super(),this[_0xfdd93d(0x97)]=_0x4f4da1,this[_0xfdd93d(0x72)]=_0xe6e058,this[_0xfdd93d(0x1f7)]=_0x1774df;}async[_0x4af93f(0x244)](_0x450cf2,_0x39fd17,_0x22b887,..._0x670941){const _0x21b5c3=_0x4af93f;var _0x276954,_0x4bc2a5,_0x3ce559,_0x19baf2;const _0x3f4661=this[_0x21b5c3(0x97)][_0x21b5c3(0xae)]();if(!_0x3f4661)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x26ff70=((_0x276954=this[_0x21b5c3(0x1f7)][_0x21b5c3(0x28b)](u[_0x21b5c3(0x7d)]))!=null?_0x276954:u['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT'])+'/'+_0x450cf2+_0x21b5c3(0xc8)+_0x39fd17,_0x426505=new URL(window[_0x21b5c3(0x9e)]['href']),_0x2ce82e={'scriptId':_0x450cf2,'runId':(_0x4bc2a5=_0x426505['searchParams'][_0x21b5c3(0x27f)]('runId'))!=null?_0x4bc2a5:'','function':_0x39fd17,'unitId':_0x3f4661['getUnitId'](),'argsOfFunction':JSON['stringify'](_0x670941),'invokeId':(_0x3ce559=_0x22b887['invokeId'])!=null?_0x3ce559:'','executionId':(_0x19baf2=_0x22b887[_0x21b5c3(0xef)])!=null?_0x19baf2:''};try{const _0x2a0f3e=await this['_httpService'][_0x21b5c3(0x1de)](_0x26ff70,{'body':_0x2ce82e});return _0x2a0f3e['body'][_0x21b5c3(0x1a2)]&&_0x2a0f3e[_0x21b5c3(0x161)]['error'][_0x21b5c3(0x11e)]!==ke['OK']?_0x21b5c3(0xd8):_0x2a0f3e[_0x21b5c3(0x161)][_0x21b5c3(0x296)];}catch{return'Failed';}}},exports[_0x4af93f(0x1b4)]=hs([de(0x0,a[_0x4af93f(0x9c)]),de(0x1,a[_0x4af93f(0x2a1)](q[_0x4af93f(0x2b0)])),de(0x2,a[_0x4af93f(0x20d)])],exports[_0x4af93f(0x1b4)]),exports[_0x4af93f(0x19b)]=je,exports[_0x4af93f(0x1b3)]=Ee,exports['SheetCollabCursorShape']=Ae,exports[_0x4af93f(0x208)]=ls,exports[_0x4af93f(0x1e1)]=Be;
|
|
1
|
+
'use strict';const _0x5b8990=_0x18a2;(function(_0x2a78e6,_0x2307a8){const _0x41a609=_0x18a2,_0x1259ce=_0x2a78e6();while(!![]){try{const _0x430f2e=parseInt(_0x41a609(0x3be))/0x1*(parseInt(_0x41a609(0x180))/0x2)+parseInt(_0x41a609(0x1fc))/0x3+parseInt(_0x41a609(0x2c9))/0x4*(-parseInt(_0x41a609(0x1d6))/0x5)+parseInt(_0x41a609(0x38b))/0x6*(parseInt(_0x41a609(0x3ee))/0x7)+parseInt(_0x41a609(0x3b1))/0x8+-parseInt(_0x41a609(0x36f))/0x9+parseInt(_0x41a609(0x1da))/0xa;if(_0x430f2e===_0x2307a8)break;else _0x1259ce['push'](_0x1259ce['shift']());}catch(_0x1817cf){_0x1259ce['push'](_0x1259ce['shift']());}}}(_0x1f87,0x7e600));var Xe=Object[_0x5b8990(0x255)],Ge=(_0x569b6f,_0x2bc8b7,_0x553f26)=>_0x2bc8b7 in _0x569b6f?Xe(_0x569b6f,_0x2bc8b7,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x553f26}):_0x569b6f[_0x2bc8b7]=_0x553f26,_=(_0x4d6e5d,_0x51410f,_0x3270a7)=>Ge(_0x4d6e5d,typeof _0x51410f!=_0x5b8990(0x2ce)?_0x51410f+'':_0x51410f,_0x3270a7);Object[_0x5b8990(0x255)](exports,Symbol['toStringTag'],{'value':'Module'});const u=require(_0x5b8990(0x351)),a=require(_0x5b8990(0x3ce)),p=require(_0x5b8990(0x330)),q=require(_0x5b8990(0x2ea)),b=require(_0x5b8990(0x359)),qe=require(_0x5b8990(0x1b5)),d=require(_0x5b8990(0x303)),Y=require(_0x5b8990(0x22e)),m=require(_0x5b8990(0x2a9)),Te=require(_0x5b8990(0x295)),g=require('@univerjs/sheets'),$=require(_0x5b8990(0x376)),G=require(_0x5b8990(0x391)),P=require(_0x5b8990(0x272)),O=require(_0x5b8990(0x313)),T=require(_0x5b8990(0x377)),M=require(_0x5b8990(0x3bc)),Ke=require(_0x5b8990(0x2e1));var ze=Object[_0x5b8990(0x184)],Je=(_0xe21a6d,_0x18a1db,_0x29b3a7,_0x168cb7)=>{for(var _0x3ee2cb=_0x168cb7>0x1?void 0x0:_0x168cb7?ze(_0x18a1db,_0x29b3a7):_0x18a1db,_0x2c1331=_0xe21a6d['length']-0x1,_0x4912a4;_0x2c1331>=0x0;_0x2c1331--)(_0x4912a4=_0xe21a6d[_0x2c1331])&&(_0x3ee2cb=_0x4912a4(_0x3ee2cb)||_0x3ee2cb);return _0x3ee2cb;},Oe=(_0x12e504,_0x7e1dc0)=>(_0x58660d,_0x278b6c)=>_0x7e1dc0(_0x58660d,_0x278b6c,_0x12e504);let fe=class extends a[_0x5b8990(0x3d0)]{constructor(_0x1373c2,_0x3c61c3){const _0x3cb1cf=_0x5b8990;super(),this['_docClipboardService']=_0x1373c2,this[_0x3cb1cf(0x2d1)]=_0x3c61c3,this[_0x3cb1cf(0x2c4)]();}[_0x5b8990(0x2c4)](){const _0x1d66f8=_0x5b8990,_0x24088d=this;this['disposeWithMe'](this[_0x1d66f8(0x1b0)][_0x1d66f8(0x3cc)]({'onBeforePasteImage':async _0x527dfa=>{const _0x4e6987=_0x1d66f8,_0x37377d=await _0x24088d['_imageIoService'][_0x4e6987(0x337)](_0x527dfa);return _0x37377d?{'source':_0x37377d[_0x4e6987(0x254)],'imageSourceType':_0x37377d['imageSourceType']}:null;}}));}};fe=Je([Oe(0x0,b[_0x5b8990(0x36b)]),Oe(0x1,qe[_0x5b8990(0x3df)])],fe);const Re=[_0x5b8990(0x2e9),_0x5b8990(0x252),_0x5b8990(0x259),'red300','blue400','gold400'];class Ce extends a['Disposable']{constructor(){const _0x34110f=_0x5b8990;super(...arguments),_(this,'_assignedColors',new Map()),_(this,_0x34110f(0x1b9),0x0);}[_0x5b8990(0x3cb)](_0x566271){const _0x5eb7c5=_0x5b8990;if(this[_0x5eb7c5(0x24b)]['has'](_0x566271))return this[_0x5eb7c5(0x24b)]['get'](_0x566271);const _0x303fad=Re[this[_0x5eb7c5(0x1b9)]];return this[_0x5eb7c5(0x1b9)]=(this['_colorIndex']+0x1)%Re[_0x5eb7c5(0x3e7)],this[_0x5eb7c5(0x24b)][_0x5eb7c5(0x1a0)](_0x566271,_0x303fad),_0x303fad;}}function we(_0x339d87){const _0x1761df=_0x5b8990;let _0x706aaf='';for(const _0x17ff2c of _0x339d87){const {startOffset:_0x1cf7c1,endOffset:_0x95f7fb,isActive:_0x40e26a,rangeType:_0x459b54,segmentId:_0x8ebc1a,segmentPage:_0x38009e}=_0x17ff2c;_0x706aaf[_0x1761df(0x3e7)]&&(_0x706aaf+=','),_0x706aaf+=_0x1cf7c1+':'+_0x95f7fb+':'+(_0x40e26a?'1':'0')+':'+_0x459b54+':'+_0x8ebc1a+':'+_0x38009e;}return _0x706aaf;}function Ze(_0x4a77e2){const _0x5ecd9c=_0x5b8990,_0x4ec725=_0x4a77e2[_0x5ecd9c(0x1a3)](','),_0x9121b1=[];for(const _0x295943 of _0x4ec725){const [_0x425560,_0x2cbd48,_0xa5c61e,_0x1c5d7a,_0x3f9a4f,_0x5dbd4f]=_0x295943[_0x5ecd9c(0x1a3)](':');_0x9121b1['push']({'startOffset':Number(_0x425560),'endOffset':Number(_0x2cbd48),'collapsed':_0x425560===_0x2cbd48,'isActive':_0xa5c61e==='1','rangeType':_0x1c5d7a===a[_0x5ecd9c(0x2b6)][_0x5ecd9c(0x28b)]?a[_0x5ecd9c(0x2b6)]['TEXT']:a[_0x5ecd9c(0x2b6)]['RECT'],'segmentId':typeof _0x3f9a4f==_0x5ecd9c(0x300)?String(_0x3f9a4f):'','segmentPage':Number(_0x5dbd4f!=null?_0x5dbd4f:-0x1)});}return _0x9121b1[_0x5ecd9c(0x1b7)](_0x322244=>_0x322244[_0x5ecd9c(0x1c4)])||(_0x9121b1[0x0]['isActive']=!0x0),_0x9121b1;}class pe extends a['RxDisposable']{constructor(){const _0x5c8e89=_0x5b8990;super(...arguments),_(this,'_collabCursorState$',new d[(_0x5c8e89(0x3e4))](null)),_(this,_0x5c8e89(0x31b),this[_0x5c8e89(0x3d3)][_0x5c8e89(0x20c)]());}[_0x5b8990(0x16e)](_0x3153c8){const {unitID:_0x1033fb,memberID:_0x17b853,textRanges:_0x5c47e8}=_0x3153c8,_0x2c6319=we(_0x5c47e8);if(_0x2c6319==='')return;const _0x4729e7={'unitID':_0x1033fb,'memberID':_0x17b853,'selection':_0x2c6319};this['_collabCursorState$']['next'](_0x4729e7);}}var Qe=Object[_0x5b8990(0x184)],et=(_0x1e626e,_0x564793,_0x370178,_0x2a74ff)=>{const _0x221330=_0x5b8990;for(var _0x1e275b=_0x2a74ff>0x1?void 0x0:_0x2a74ff?Qe(_0x564793,_0x370178):_0x564793,_0x2e3252=_0x1e626e[_0x221330(0x3e7)]-0x1,_0x3e6d6e;_0x2e3252>=0x0;_0x2e3252--)(_0x3e6d6e=_0x1e626e[_0x2e3252])&&(_0x1e275b=_0x3e6d6e(_0x1e275b)||_0x1e275b);return _0x1e275b;},L=(_0x4c8e82,_0x42b0d5)=>(_0x49db30,_0x1534ba)=>_0x42b0d5(_0x49db30,_0x1534ba,_0x4c8e82);const tt=0x12c,st=0x64;let Se=class extends a[_0x5b8990(0x3d0)]{constructor(_0x4af531,_0x779c4,_0x4d4092,_0x120c5e,_0x9915b7,_0x1a51bf,_0x6db53d,_0x2ccf2c,_0x22de13){const _0x4ae830=_0x5b8990;super(),_(this,_0x4ae830(0x3d2),!0x1),_(this,_0x4ae830(0x2c4),!0x1),_(this,_0x4ae830(0x34e),new d[(_0x4ae830(0x3e4))](new Map())),_(this,_0x4ae830(0x320),this[_0x4ae830(0x34e)][_0x4ae830(0x20c)]()),_(this,_0x4ae830(0x3c4),new d[(_0x4ae830(0x3e4))]([])),_(this,'roomMembers$',this[_0x4ae830(0x3c4)]['pipe'](d[_0x4ae830(0x3ab)](tt))),_(this,_0x4ae830(0x1ac),a[_0x4ae830(0x287)](_0x214493=>{const _0x59f238=_0x4ae830,_0x2555d6={'eventID':m[_0x59f238(0x1fb)]['UPDATE_CURSOR'],'data':{'unitID':this[_0x59f238(0x299)],'memberID':this[_0x59f238(0x1f5)]['getMemberID'](),'selection':we(_0x214493)}};this['_session'][_0x59f238(0x3d1)](_0x2555d6,this[_0x59f238(0x299)]);},st)),(this['unitID']=_0x4af531,this[_0x4ae830(0x1f5)]=_0x779c4,this['_injector']=_0x4d4092,this[_0x4ae830(0x329)]=_0x120c5e,this['_memberService']=_0x9915b7,this[_0x4ae830(0x23f)]=_0x1a51bf,this[_0x4ae830(0x2a1)]=_0x6db53d,this[_0x4ae830(0x2d5)]=_0x2ccf2c,this[_0x4ae830(0x20b)]=_0x22de13);}get['cursorInfo'](){return this['_cursorInfo$']['getValue']();}get[_0x5b8990(0x1f3)](){const _0x3a2b95=_0x5b8990;return this['_roomMembers$'][_0x3a2b95(0x364)]();}[_0x5b8990(0x232)](){const _0x179e43=_0x5b8990;super[_0x179e43(0x232)](),this[_0x179e43(0x34e)]['next'](new Map()),this['_cursorInfo$'][_0x179e43(0x1f1)](),this[_0x179e43(0x3c4)][_0x179e43(0x2c7)]([]),this['_roomMembers$'][_0x179e43(0x1f1)]();}[_0x5b8990(0x1af)](){const _0xce02a5=_0x5b8990;this['_init']||(this[_0xce02a5(0x2c4)]=!0x0,this[_0xce02a5(0x1f5)]['sessionStatus$'][_0xce02a5(0x27c)](d[_0xce02a5(0x2dd)](this[_0xce02a5(0x33a)]))['subscribe'](_0x4469a0=>{const _0x3a8d80=_0xce02a5;_0x4469a0===u['SessionStatus'][_0x3a8d80(0x1cd)]?this[_0x3a8d80(0x1ae)]():this[_0x3a8d80(0x393)]();}),this[_0xce02a5(0x1f5)][_0xce02a5(0x290)][_0xce02a5(0x27c)](d['takeUntil'](this[_0xce02a5(0x33a)]))[_0xce02a5(0x1f0)](_0x98e0b7=>{const _0xdfef61=_0xce02a5,_0x2c6877=_0x98e0b7[_0xdfef61(0x2ae)];_0x2c6877===m[_0xdfef61(0x1fb)][_0xdfef61(0x3ae)]&&this['_onCursorUpdate'](_0x98e0b7),_0x2c6877===m[_0xdfef61(0x1fb)][_0xdfef61(0x22a)]&&this[_0xdfef61(0x2d3)](_0x98e0b7);}),this[_0xce02a5(0x2ee)](this[_0xce02a5(0x20b)]['onCommandExecuted'](_0xcbb14d=>{const _0x7150b6=_0xce02a5,_0x56dd42=_0xcbb14d[_0x7150b6(0x3a3)];_0x56dd42!=null&&this[_0x7150b6(0x3d2)]&&_0xcbb14d['id']===Y[_0x7150b6(0x346)]['id']&&_0x56dd42[_0x7150b6(0x39c)]===this[_0x7150b6(0x299)]&&_0x56dd42[_0x7150b6(0x2c3)]===!0x1&&_0x56dd42[_0x7150b6(0x325)][_0x7150b6(0x3e7)]>0x0&&this[_0x7150b6(0x1ac)](_0x56dd42['ranges']);})),this[_0xce02a5(0x23f)][_0xce02a5(0x31b)][_0xce02a5(0x27c)](d['takeUntil'](this['dispose$']))[_0xce02a5(0x1f0)](_0x29904c=>{const _0x25847e=_0xce02a5;if((_0x29904c==null?void 0x0:_0x29904c[_0x25847e(0x299)])!==this['unitID'])return;const _0x11e620={'eventID':m[_0x25847e(0x1fb)][_0x25847e(0x3ae)],'data':_0x29904c};this[_0x25847e(0x362)](_0x11e620);}),this[_0xce02a5(0x2ee)](this[_0xce02a5(0x20b)][_0xce02a5(0x23b)](_0xce334b=>{const _0x1c2384=_0xce02a5;if(_0xce334b[_0x1c2384(0x3a3)]==null)return;const _0x372ef8=_0xce334b[_0x1c2384(0x3a3)];if(_0xce334b['id']!==Y[_0x1c2384(0x261)]['id']||_0x372ef8[_0x1c2384(0x39c)]!==this['unitID'])return;const _0x4875d3={'id':_0x1c2384(0x3ea),'params':_0x372ef8},_0x5e175f=this[_0x1c2384(0x336)];for(const [_0x64470a,_0xca5052]of _0x5e175f){const _0x27a205={'id':'doc.mutation.rich-text-editing','params':{'unitId':this['unitID'],'actions':null,'textRanges':_0xca5052[_0x1c2384(0x325)]}},_0x44c9ef=this['_transformService'][_0x1c2384(0x25b)](_0x4875d3,_0x27a205,!0x1);if(m[_0x1c2384(0x188)](_0x44c9ef))throw _0x44c9ef[_0x1c2384(0x1e5)];_0x5e175f['set'](_0x64470a,{..._0xca5052,'ranges':_0x44c9ef[_0x1c2384(0x2ed)][_0x1c2384(0x3a3)]['textRanges']});}queueMicrotask(()=>{const _0x9e20a1=_0x1c2384;this[_0x9e20a1(0x34e)]['next'](_0x5e175f);});})));}['_onCursorUpdate'](_0xe0c1e7){const _0x163e76=_0x5b8990;var _0x28dfad,_0x2c0c47;const {memberID:_0x434937,selection:_0x15da7c}=_0xe0c1e7[_0x163e76(0x1ea)],_0x4b3bfa=Ze(_0x15da7c),_0x461b3e=(_0x2c0c47=(_0x28dfad=this[_0x163e76(0x3f0)][_0x163e76(0x170)](this['unitID'],_0x434937))==null?void 0x0:_0x28dfad[_0x163e76(0x29a)])!=null?_0x2c0c47:_0x163e76(0x387),_0x498063={'color':this[_0x163e76(0x329)][_0x163e76(0x3cb)](_0x434937),'name':_0x461b3e,'ranges':_0x4b3bfa},_0x7c38d4=this[_0x163e76(0x336)];_0x7c38d4[_0x163e76(0x1a0)](_0x434937,_0x498063),this[_0x163e76(0x34e)][_0x163e76(0x2c7)](_0x7c38d4);}[_0x5b8990(0x2d3)](_0x1bf32f){const _0x34d7c5=_0x5b8990,{memberID:_0x5e0fff}=_0x1bf32f[_0x34d7c5(0x1ea)],_0x8c291e=this[_0x34d7c5(0x336)];_0x8c291e[_0x34d7c5(0x371)](_0x5e0fff),this[_0x34d7c5(0x34e)][_0x34d7c5(0x2c7)](_0x8c291e);}[_0x5b8990(0x1ae)](){const _0x29ccc2=_0x5b8990;var _0x109b4c;if(this[_0x29ccc2(0x3d2)]=!0x0,((_0x109b4c=this[_0x29ccc2(0x2d5)]['getFocusedUnit']())==null?void 0x0:_0x109b4c[_0x29ccc2(0x257)]())!==this[_0x29ccc2(0x299)])return;const _0x2b2cbc=this[_0x29ccc2(0x1a8)]['get'](Y[_0x29ccc2(0x3cf)])['getDocRanges']();Array[_0x29ccc2(0x242)](_0x2b2cbc)&&_0x2b2cbc['length']>0x0&&this[_0x29ccc2(0x1ac)](_0x2b2cbc);}[_0x5b8990(0x393)](){const _0x307c5e=_0x5b8990;this[_0x307c5e(0x3d2)]=!0x1;}};Se=et([L(0x2,a[_0x5b8990(0x25d)](a[_0x5b8990(0x39d)])),L(0x3,a[_0x5b8990(0x25d)](Ce)),L(0x4,a[_0x5b8990(0x25d)](u[_0x5b8990(0x215)])),L(0x5,a[_0x5b8990(0x25d)](pe)),L(0x6,m['ITransformService']),L(0x7,a[_0x5b8990(0x35f)]),L(0x8,a[_0x5b8990(0x267)])],Se);var nt=Object[_0x5b8990(0x184)],it=(_0x2c7cec,_0x2dd669,_0x40b1e9,_0x30e939)=>{const _0x44a5af=_0x5b8990;for(var _0x60f475=_0x30e939>0x1?void 0x0:_0x30e939?nt(_0x2dd669,_0x40b1e9):_0x2dd669,_0xafe464=_0x2c7cec[_0x44a5af(0x3e7)]-0x1,_0x766c99;_0xafe464>=0x0;_0xafe464--)(_0x766c99=_0x2c7cec[_0xafe464])&&(_0x60f475=_0x766c99(_0x60f475)||_0x60f475);return _0x60f475;},A=(_0x501e7b,_0x2c19e4)=>(_0x3b50c1,_0x55d863)=>_0x2c19e4(_0x3b50c1,_0x55d863,_0x501e7b);const rt=0x12c,ot=0x64,at=()=>{let _0x4cd224=[],_0x3097c4=!0x1;return _0x4b72ee=>{const _0x40fd9b=_0x18a2;_0x4cd224[_0x40fd9b(0x3e8)](_0x4b72ee),_0x3097c4||(_0x3097c4=!0x0,setTimeout(()=>{const _0x2e8880=_0x40fd9b;_0x4cd224[_0x2e8880(0x312)](_0xa28390=>_0xa28390()),_0x4cd224=[],_0x3097c4=!0x1;}));};};let Ie=class extends a[_0x5b8990(0x3d0)]{constructor(_0x5a6b58,_0x1691f5,_0x4ebd3c,_0x81dff4,_0x8572,_0x52f6cc,_0x313950,_0x55fc37){const _0x49e6c4=_0x5b8990;super(),_(this,_0x49e6c4(0x3d2),!0x1),_(this,_0x49e6c4(0x2c4),!0x1),_(this,'_cursorInfo$',new d[(_0x49e6c4(0x3e4))](new Map())),_(this,'cursorInfo$',this[_0x49e6c4(0x34e)][_0x49e6c4(0x20c)]()),_(this,_0x49e6c4(0x3c4),new d['BehaviorSubject']([])),_(this,_0x49e6c4(0x3f4),this['_roomMembers$'][_0x49e6c4(0x27c)](d['debounceTime'](rt))),_(this,_0x49e6c4(0x1ac),a[_0x49e6c4(0x287)]((_0x27709b,_0x41a29d)=>{const _0x2786f9=_0x49e6c4,_0x1729d0={'eventID':m[_0x2786f9(0x1fb)][_0x2786f9(0x3ae)],'data':{'unitID':this[_0x2786f9(0x299)],'memberID':this['_session'][_0x2786f9(0x1fe)](),'selection':Te['serializeRangeWithSheet'](_0x27709b,_0x41a29d[_0x2786f9(0x1d4)])}};this[_0x2786f9(0x1f5)][_0x2786f9(0x3d1)](_0x1729d0,this[_0x2786f9(0x299)]);},ot)),(this[_0x49e6c4(0x299)]=_0x5a6b58,this[_0x49e6c4(0x1f5)]=_0x1691f5,this[_0x49e6c4(0x1a8)]=_0x4ebd3c,this['_colorAssignService']=_0x81dff4,this[_0x49e6c4(0x3f0)]=_0x8572,this['_univerInstanceService']=_0x52f6cc,this[_0x49e6c4(0x20b)]=_0x313950,this[_0x49e6c4(0x16a)]=_0x55fc37);}get['cursorInfo'](){const _0x1338fa=_0x5b8990;return this['_cursorInfo$'][_0x1338fa(0x364)]();}get[_0x5b8990(0x1f3)](){const _0xe02215=_0x5b8990;return this[_0xe02215(0x3c4)][_0xe02215(0x364)]();}['dispose'](){const _0x47817f=_0x5b8990;super['dispose'](),this['_cursorInfo$']['next'](new Map()),this[_0x47817f(0x34e)][_0x47817f(0x1f1)](),this[_0x47817f(0x3c4)][_0x47817f(0x2c7)]([]),this[_0x47817f(0x3c4)][_0x47817f(0x1f1)]();}['init'](){const _0x5d46a8=_0x5b8990;this['_init']||(this[_0x5d46a8(0x2c4)]=!0x0,this['_session'][_0x5d46a8(0x24a)]['pipe'](d[_0x5d46a8(0x2dd)](this[_0x5d46a8(0x33a)]))[_0x5d46a8(0x1f0)](_0x1b8301=>{const _0x217a2c=_0x5d46a8;_0x1b8301===u[_0x217a2c(0x222)][_0x217a2c(0x1cd)]?this[_0x217a2c(0x1ae)]():this[_0x217a2c(0x393)]();}),this[_0x5d46a8(0x1f5)][_0x5d46a8(0x290)][_0x5d46a8(0x27c)](d['takeUntil'](this[_0x5d46a8(0x33a)]))['subscribe'](_0x289b92=>{const _0x50d5aa=_0x5d46a8,_0x1cd0fe=_0x289b92[_0x50d5aa(0x2ae)];_0x1cd0fe===m[_0x50d5aa(0x1fb)][_0x50d5aa(0x3ae)]&&this['_onCursorUpdate'](_0x289b92),_0x1cd0fe===m[_0x50d5aa(0x1fb)][_0x50d5aa(0x22a)]&&this['_onCursorDelete'](_0x289b92);}),this[_0x5d46a8(0x27d)](),this['disposeWithMe'](this['_commandService']['onCommandExecuted'](_0x5c8008=>{const _0x556f4a=_0x5d46a8;if(this[_0x556f4a(0x3d2)]&&_0x5c8008['id']===g[_0x556f4a(0x199)]['id']&&_0x5c8008[_0x556f4a(0x3a3)][_0x556f4a(0x39c)]===this[_0x556f4a(0x299)]){const _0x30a304=_0x5c8008['params'];this['_updateLocalCursor'](_0x30a304[_0x556f4a(0x1a2)],_0x30a304[_0x556f4a(0x2bd)][0x0]);}})));}['_onCursorUpdate'](_0x90aa5c){const _0x41428a=_0x5b8990;var _0x47194c,_0x3c2a77;const {memberID:_0x1eac58,selection:_0x4a9c15}=_0x90aa5c[_0x41428a(0x1ea)],{sheetName:_0xd7fd93,range:_0xcbae08}=Te[_0x41428a(0x1fa)](_0x4a9c15),_0x213db3={'name':(_0x3c2a77=(_0x47194c=this[_0x41428a(0x3f0)][_0x41428a(0x170)](this[_0x41428a(0x299)],_0x1eac58))==null?void 0x0:_0x47194c[_0x41428a(0x29a)])!=null?_0x3c2a77:'Unknown\x20user','range':this[_0x41428a(0x285)](_0xd7fd93,_0xcbae08),'sheetID':_0xd7fd93,'color':this[_0x41428a(0x329)][_0x41428a(0x3cb)](_0x1eac58),'selection':_0x4a9c15},_0x83cdb3=this[_0x41428a(0x336)];_0x83cdb3[_0x41428a(0x1a0)](_0x1eac58,_0x213db3),this[_0x41428a(0x34e)][_0x41428a(0x2c7)](_0x83cdb3);}[_0x5b8990(0x2d3)](_0x537983){const _0x4330b7=_0x5b8990,{memberID:_0x1ce734}=_0x537983[_0x4330b7(0x1ea)],_0x2e8291=this[_0x4330b7(0x336)];_0x2e8291['delete'](_0x1ce734),this['_cursorInfo$'][_0x4330b7(0x2c7)](_0x2e8291);}[_0x5b8990(0x285)](_0x295109,_0x461aa1){const _0x4685fa=_0x5b8990;var _0x54cd48,_0x50aaae;const _0x38a8c9=(_0x50aaae=(_0x54cd48=this[_0x4685fa(0x2d5)][_0x4685fa(0x32a)](this['unitID']))==null?void 0x0:_0x54cd48['getSheetBySheetId'](_0x295109))==null?void 0x0:_0x50aaae['getMergeData']();return(_0x38a8c9==null?void 0x0:_0x38a8c9[_0x4685fa(0x304)](_0x1c92d1=>a[_0x4685fa(0x17e)][_0x4685fa(0x38c)](_0x1c92d1,_0x461aa1)))||_0x461aa1;}[_0x5b8990(0x27d)](){const _0x55b2d3=_0x5b8990,_0x541dc3=new a[(_0x55b2d3(0x33d))](),_0xd64e38=at(),_0x333aa4=()=>{const _0x535177=_0x55b2d3;_0x541dc3[_0x535177(0x232)]();const _0x9724c8=(_0x3c345a,_0x440bbd,_0x43e6b6,_0x6680bb)=>{const _0x5d2f4d=_0x535177;let _0x2f782b=[];switch(_0x3c345a['id']){case g['EffectRefRangId'][_0x5d2f4d(0x1a9)]:{_0x2f782b=g[_0x5d2f4d(0x37c)](_0x3c345a,_0x6680bb);break;}case g[_0x5d2f4d(0x29b)]['DeleteRangeMoveUpCommandId']:{_0x2f782b=g[_0x5d2f4d(0x213)](_0x3c345a,_0x6680bb);break;}case g['EffectRefRangId'][_0x5d2f4d(0x260)]:{_0x2f782b=g[_0x5d2f4d(0x1f8)](_0x3c345a,_0x6680bb);break;}case g[_0x5d2f4d(0x29b)][_0x5d2f4d(0x3d8)]:{_0x2f782b=g[_0x5d2f4d(0x2a2)](_0x3c345a,_0x6680bb);break;}case g[_0x5d2f4d(0x29b)][_0x5d2f4d(0x24e)]:{_0x2f782b=g[_0x5d2f4d(0x3c6)](_0x3c345a,_0x6680bb);break;}case g[_0x5d2f4d(0x29b)][_0x5d2f4d(0x1e8)]:{_0x2f782b=g[_0x5d2f4d(0x3ef)](_0x3c345a,_0x6680bb);break;}case g[_0x5d2f4d(0x29b)]['MoveRangeCommandId']:{_0x2f782b=g[_0x5d2f4d(0x318)](_0x3c345a,_0x6680bb);break;}case g[_0x5d2f4d(0x29b)][_0x5d2f4d(0x3ad)]:{_0x2f782b=g['handleIRemoveCol'](_0x3c345a,_0x6680bb);break;}case g['EffectRefRangId']['RemoveRowCommandId']:{_0x2f782b=g[_0x5d2f4d(0x34d)](_0x3c345a,_0x6680bb);break;}}const _0x1cadf2=g['runRefRangeMutations'](_0x2f782b,_0x6680bb),_0x1f602e=this['cursorInfo'][_0x5d2f4d(0x2ad)](_0x440bbd);if(_0x1f602e&&_0x1cadf2){const _0x193e55={..._0x1f602e,'range':_0x1cadf2};this[_0x5d2f4d(0x336)][_0x5d2f4d(0x1a0)](_0x440bbd,_0x193e55),_0xd64e38(()=>{const _0x3ce8e1=_0x5d2f4d,_0x1afb37=this[_0x3ce8e1(0x16a)]['registerRefRange'](_0x1cadf2,_0x2b4248=>(_0x1afb37[_0x3ce8e1(0x232)](),_0x9724c8(_0x2b4248,_0x440bbd,_0x43e6b6,_0x1cadf2)));_0x541dc3[_0x3ce8e1(0x23c)](_0x1afb37);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0x535177(0x312)]((_0x184de3,_0x2838e2)=>{const _0x25001f=_0x535177,{range:_0x1bd94a,sheetID:_0x3b2fbb}=_0x184de3,_0x45dd69=this[_0x25001f(0x16a)]['registerRefRange'](_0x1bd94a,_0x5688f4=>(_0x45dd69['dispose'](),_0x9724c8(_0x5688f4,_0x2838e2,_0x3b2fbb,_0x1bd94a)));_0x541dc3[_0x25001f(0x23c)](_0x45dd69);});};this[_0x55b2d3(0x2ee)](a[_0x55b2d3(0x349)](this[_0x55b2d3(0x34e)][_0x55b2d3(0x1f0)](()=>{_0x333aa4();})));}[_0x5b8990(0x1ae)](){const _0x28cef0=_0x5b8990;var _0x1309e5,_0x13f836;if(this[_0x28cef0(0x3d2)]=!0x0,((_0x1309e5=this['_univerInstanceService']['getFocusedUnit']())==null?void 0x0:_0x1309e5['getUnitId']())!==this[_0x28cef0(0x299)])return;const _0x2582fc=(_0x13f836=this[_0x28cef0(0x1a8)]['get'](g[_0x28cef0(0x167)])[_0x28cef0(0x210)]())==null?void 0x0:_0x13f836[0x0],_0x468cb4=this[_0x28cef0(0x2d5)]['getCurrentUnitForType'](a['UniverInstanceType'][_0x28cef0(0x3bf)])[_0x28cef0(0x2b9)]();_0x2582fc&&_0x468cb4&&this[_0x28cef0(0x1ac)](_0x468cb4[_0x28cef0(0x3a4)](),_0x2582fc);}[_0x5b8990(0x393)](){const _0x5ae576=_0x5b8990;this[_0x5ae576(0x3d2)]=!0x1;}};Ie=it([A(0x2,a[_0x5b8990(0x25d)](a[_0x5b8990(0x39d)])),A(0x3,a[_0x5b8990(0x25d)](Ce)),A(0x4,a[_0x5b8990(0x25d)](u['MemberService'])),A(0x5,a[_0x5b8990(0x35f)]),A(0x6,a[_0x5b8990(0x267)]),A(0x7,a['Inject'](g[_0x5b8990(0x250)]))],Ie);var ct=Object[_0x5b8990(0x184)],lt=(_0x3de765,_0x6fa143,_0x1298c1,_0x328810)=>{for(var _0x1adb93=_0x328810>0x1?void 0x0:_0x328810?ct(_0x6fa143,_0x1298c1):_0x6fa143,_0xa55115=_0x3de765['length']-0x1,_0x53ea2e;_0xa55115>=0x0;_0xa55115--)(_0x53ea2e=_0x3de765[_0xa55115])&&(_0x1adb93=_0x53ea2e(_0x1adb93)||_0x1adb93);return _0x1adb93;},ie=(_0x1bfc8d,_0x209eb2)=>(_0x156364,_0x21abd8)=>_0x209eb2(_0x156364,_0x21abd8,_0x1bfc8d);let x=class extends a[_0x5b8990(0x3d0)]{constructor(_0x3b8c47,_0x96fbe2,_0x2cdcfc){const _0x3525b6=_0x5b8990;super(),_(this,_0x3525b6(0x3b0),new Map()),_(this,_0x3525b6(0x3d9),new d[(_0x3525b6(0x3c0))]()),(this['_univerInstanceService']=_0x3b8c47,this[_0x3525b6(0x1a8)]=_0x96fbe2,this[_0x3525b6(0x32f)]=_0x2cdcfc,this[_0x3525b6(0x2c4)]());}[_0x5b8990(0x232)](){const _0xc21fe9=_0x5b8990;super[_0xc21fe9(0x232)](),this['_entityInit$'][_0xc21fe9(0x1f1)](),this['_entities']['forEach'](_0x46808=>_0x46808[_0xc21fe9(0x232)]());}[_0x5b8990(0x331)](_0x2376ab){const _0x142909=_0x5b8990;return this['_entities'][_0x142909(0x181)](_0x2376ab)?this[_0x142909(0x3b0)][_0x142909(0x2ad)](_0x2376ab)[_0x142909(0x320)]:this[_0x142909(0x3d9)][_0x142909(0x27c)](d[_0x142909(0x3db)](_0x2189aa=>_0x2189aa[_0x142909(0x299)]===_0x2376ab),d['switchMap'](_0x1f182b=>_0x1f182b[_0x142909(0x320)]));}['_init'](){const _0x1d9673=_0x5b8990;this[_0x1d9673(0x2d5)][_0x1d9673(0x23e)](a[_0x1d9673(0x2ab)][_0x1d9673(0x3bf)])[_0x1d9673(0x27c)](d[_0x1d9673(0x2dd)](this[_0x1d9673(0x33a)]))['subscribe'](async _0x2665ee=>{const _0x4529ec=_0x1d9673,_0x55c621=_0x2665ee[_0x4529ec(0x257)](),_0x247f72=await this[_0x4529ec(0x317)](_0x55c621);this[_0x4529ec(0x3d9)][_0x4529ec(0x2c7)](_0x247f72),this[_0x4529ec(0x3b0)]['set'](_0x55c621,_0x247f72);}),this[_0x1d9673(0x2d5)][_0x1d9673(0x23e)](a['UniverInstanceType'][_0x1d9673(0x203)])[_0x1d9673(0x27c)](d[_0x1d9673(0x2dd)](this[_0x1d9673(0x33a)]))[_0x1d9673(0x27c)](d[_0x1d9673(0x3db)](_0x5daba5=>!_0x5daba5['getUnitId']()[_0x1d9673(0x2e0)]('__')))[_0x1d9673(0x1f0)](async _0x1202fb=>{const _0x1f367e=_0x1d9673,_0x2e39d0=_0x1202fb[_0x1f367e(0x257)](),_0x1d6fc6=await this[_0x1f367e(0x3a0)](_0x2e39d0);this[_0x1f367e(0x3d9)][_0x1f367e(0x2c7)](_0x1d6fc6),this['_entities']['set'](_0x2e39d0,_0x1d6fc6);}),d[_0x1d9673(0x1df)](this[_0x1d9673(0x2d5)][_0x1d9673(0x335)](a[_0x1d9673(0x2ab)][_0x1d9673(0x203)]),this[_0x1d9673(0x2d5)][_0x1d9673(0x335)](a[_0x1d9673(0x2ab)]['UNIVER_SHEET']))[_0x1d9673(0x27c)](d[_0x1d9673(0x2dd)](this['dispose$']))[_0x1d9673(0x1f0)](_0xa71e84=>{const _0x2173c7=_0x1d9673,_0x5776da=_0xa71e84[_0x2173c7(0x257)](),_0x5f3076=this[_0x2173c7(0x3b0)]['get'](_0x5776da);_0x5f3076&&(_0x5f3076[_0x2173c7(0x232)](),this['_entities'][_0x2173c7(0x371)](_0x5776da));});}async[_0x5b8990(0x317)](_0x33076e){const _0x43a62d=_0x5b8990,_0x1b8664=await this[_0x43a62d(0x32f)][_0x43a62d(0x33c)](_0x33076e),_0x5192e5=this[_0x43a62d(0x1a8)][_0x43a62d(0x1a4)](Ie,_0x33076e,_0x1b8664);return _0x5192e5[_0x43a62d(0x1af)](),_0x5192e5;}async['_startDocCollabCursor'](_0x5977b9){const _0x2099b9=_0x5b8990,_0x2afdc5=await this[_0x2099b9(0x32f)]['requireSession'](_0x5977b9),_0x3c7844=this[_0x2099b9(0x1a8)][_0x2099b9(0x1a4)](Se,_0x5977b9,_0x2afdc5);return _0x3c7844[_0x2099b9(0x1af)](),_0x3c7844;}};x=lt([ie(0x0,a[_0x5b8990(0x35f)]),ie(0x1,a[_0x5b8990(0x25d)](a['Injector'])),ie(0x2,a[_0x5b8990(0x25d)](u['CollaborationSessionService']))],x);const K=0x14,De=0xc8,re=0x4,_t=0x5;function ht(_0x6ea0ee,_0x453006){const _0x1258c0=_0x5b8990;let {radius:_0x368a84,width:_0x1d3992,height:_0x169eef}=_0x453006;_0x368a84=_0x368a84!=null?_0x368a84:0x0,_0x1d3992=_0x1d3992!=null?_0x1d3992:0x1e,_0x169eef=_0x169eef!=null?_0x169eef:0x1e;let _0x1cdfd1=0x0,_0x20b20b=0x0,_0x238d73=0x0;_0x1cdfd1=_0x20b20b=_0x238d73=Math[_0x1258c0(0x2af)](_0x368a84,_0x1d3992/0x2,_0x169eef/0x2),_0x6ea0ee[_0x1258c0(0x3bb)](),_0x6ea0ee[_0x1258c0(0x1d7)](_0x1cdfd1,0x0),_0x6ea0ee['lineTo'](_0x1d3992-_0x20b20b,0x0),_0x6ea0ee[_0x1258c0(0x1ad)](_0x1d3992-_0x20b20b,_0x20b20b,_0x20b20b,Math['PI']*0x3/0x2,0x0,!0x1),_0x6ea0ee[_0x1258c0(0x3ec)](_0x1d3992,_0x169eef-_0x238d73),_0x6ea0ee[_0x1258c0(0x1ad)](_0x1d3992-_0x238d73,_0x169eef-_0x238d73,_0x238d73,0x0,Math['PI']/0x2,!0x1),_0x6ea0ee[_0x1258c0(0x3ec)](0x0,_0x169eef),_0x6ea0ee['lineTo'](0x0,_0x1cdfd1),_0x6ea0ee[_0x1258c0(0x1ad)](_0x1cdfd1,_0x1cdfd1,_0x1cdfd1,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x6ea0ee['closePath'](),_0x453006[_0x1258c0(0x2ff)]&&(_0x6ea0ee[_0x1258c0(0x244)](),_0x6ea0ee[_0x1258c0(0x360)]=_0x453006[_0x1258c0(0x2ff)],_0x453006['fillRule']===_0x1258c0(0x399)?_0x6ea0ee[_0x1258c0(0x2ff)](_0x1258c0(0x399)):_0x6ea0ee[_0x1258c0(0x2ff)](),_0x6ea0ee[_0x1258c0(0x226)]());}class te extends p[_0x5b8990(0x2b0)]{constructor(_0x51bad1,_0x3e7c42){const _0x52640a=_0x5b8990;super(_0x51bad1,_0x3e7c42),_(this,'color'),_(this,_0x52640a(0x202)),(this[_0x52640a(0x328)]=_0x3e7c42==null?void 0x0:_0x3e7c42[_0x52640a(0x328)],this[_0x52640a(0x202)]=_0x3e7c42==null?void 0x0:_0x3e7c42[_0x52640a(0x202)]);}static[_0x5b8990(0x2e4)](_0xc62f5a,_0x247a67){const _0x2ac3b0=_0x5b8990,{text:_0x5d0fb7,color:_0x588ac3}=_0x247a67;_0xc62f5a[_0x2ac3b0(0x244)](),_0xc62f5a[_0x2ac3b0(0x1c1)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x5debd1=_0xc62f5a['measureText'](_0x5d0fb7)[_0x2ac3b0(0x18c)],_0x228a44=Math[_0x2ac3b0(0x2af)](_0x5debd1+0x2*re,De);ht(_0xc62f5a,{'height':K,'radius':0x4,'width':_0x228a44,'fill':_0x588ac3}),_0xc62f5a[_0x2ac3b0(0x360)]=_0x2ac3b0(0x19f);const _0x2c310c=re,_0x19c888=K-_t,_0x1ba318=De-0x2*re;if(_0x5debd1>_0x1ba318){let _0x4d73ba='',_0x17d292=0x0;for(const _0x24bc43 of _0x5d0fb7){const _0x47e34d=_0xc62f5a[_0x2ac3b0(0x2db)](_0x24bc43)['width'];if(_0x17d292+_0x47e34d<=_0x1ba318-_0xc62f5a[_0x2ac3b0(0x2db)](_0x2ac3b0(0x18f))[_0x2ac3b0(0x18c)])_0x4d73ba+=_0x24bc43,_0x17d292+=_0x47e34d;else{_0x4d73ba+='...';break;}}_0xc62f5a['fillText'](_0x4d73ba,_0x2c310c,_0x19c888);}else _0xc62f5a[_0x2ac3b0(0x20e)](_0x5d0fb7,_0x2c310c,_0x19c888);_0xc62f5a[_0x2ac3b0(0x226)]();}[_0x5b8990(0x17c)](_0x165623){const _0x179da8=_0x5b8990;te[_0x179da8(0x2e4)](_0x165623,this);}}const oe='collab-text-anchor-',ut=_0x5b8990(0x2f0),dt=_0x5b8990(0x37a),k=0x6,ft=1.5,ae=0x4,St=1.5,It=_0x5b8990(0x386);class Ue{constructor(_0x2b490c,_0x5bbf97,_0x40ffc1,_0x5c15f3){const _0xb8daaa=_0x5b8990;_(this,_0xb8daaa(0x372),[]),_(this,_0xb8daaa(0x297),null),_(this,_0xb8daaa(0x394),null),_(this,'_anchorDot',null),_(this,_0xb8daaa(0x223),null),_(this,'_eventUnsubscribe',null),(this[_0xb8daaa(0x275)]=_0x2b490c,this['_scene']=_0x5bbf97,this[_0xb8daaa(0x3e9)]=_0x40ffc1,this[_0xb8daaa(0x34f)]=_0x5c15f3,this[_0xb8daaa(0x218)]());}set[_0x5b8990(0x2f2)](_0x5b4baa){const _0x20dfce=_0x5b8990;_0x5b4baa?(this[_0x20dfce(0x1b2)]&&this['_anchorDot'][_0x20dfce(0x288)](),this['_textBubble']&&this[_0x20dfce(0x394)][_0x20dfce(0x289)]()):(this[_0x20dfce(0x1b2)]&&this['_anchorDot'][_0x20dfce(0x289)](),this['_textBubble']&&this[_0x20dfce(0x394)][_0x20dfce(0x288)]());}[_0x5b8990(0x232)](){const _0x155c42=_0x5b8990;for(const _0x5dda31 of this['_shapes'])_0x5dda31[_0x155c42(0x232)]();this[_0x155c42(0x394)]&&this[_0x155c42(0x394)]['dispose'](),this[_0x155c42(0x1b2)]&&this[_0x155c42(0x1b2)][_0x155c42(0x232)](),this[_0x155c42(0x297)]&&this[_0x155c42(0x297)]['dispose'](),this['_eventUnsubscribe']&&this[_0x155c42(0x2d8)]();}['_render'](){const _0xa93307=_0x5b8990;var _0x13a4e8;const {_docSkeleton:_0xbf0f04,_document:_0x724d93}=this,{color:_0x17ca26,name:_0x3b0231,ranges:_0x55b01b}=this[_0xa93307(0x275)],_0x2222be=_0x724d93[_0xa93307(0x193)](),{docsLeft:_0x5ec860,docsTop:_0x6897cb}=_0x2222be,_0xdfafc=new b['NodePositionConvertToCursor'](_0x2222be,_0xbf0f04);for(const {startOffset:_0x56eb83,endOffset:_0x1ea90c,rangeType:_0x7d6fb7,segmentId:_0xffc8b0,segmentPage:_0x370111,collapsed:_0x203107,isActive:_0x4e09b4}of _0x55b01b){const _0x2e5654=_0xbf0f04[_0xa93307(0x23d)](_0x56eb83,!0x0,_0xffc8b0,_0x370111);let _0x536412=_0xbf0f04[_0xa93307(0x23d)](_0x1ea90c,!0x0,_0xffc8b0,_0x370111);if(_0x536412==null&&(_0x536412=_0xbf0f04['findNodePositionByCharIndex'](_0x1ea90c-0x1,!0x1,_0xffc8b0,_0x370111)),_0x4e09b4){const {contentBoxPointGroup:_0x59809c}=_0xdfafc[_0xa93307(0x216)](_0x536412,_0x536412);if(_0x59809c[_0xa93307(0x3e7)]===0x0)continue;this[_0xa93307(0x29d)](_0x17ca26,_0x59809c,_0x5ec860,_0x6897cb,_0x3b0231),this['_eventUnsubscribe']=this[_0xa93307(0x308)]();}if(_0x2e5654&&_0x536412){if(_0x7d6fb7===a[_0xa93307(0x2b6)][_0xa93307(0x1e0)]){const _0x4435ac=new b[(_0xa93307(0x1d1))](_0x2222be,_0xbf0f04),{pointGroup:_0x175464}=(_0x13a4e8=_0x4435ac[_0xa93307(0x216)](_0x2e5654,_0x536412))!=null?_0x13a4e8:{};if(_0x175464==null||_0x175464[_0xa93307(0x3e7)]===0x0)continue;this['_drawRectRange'](_0x17ca26,_0x175464,_0x5ec860,_0x6897cb);}else{if(!_0x203107){const {borderBoxPointGroup:_0x38e315}=_0xdfafc['getRangePointData'](_0x2e5654,_0x536412);if(_0x38e315[_0xa93307(0x3e7)]===0x0)continue;this[_0xa93307(0x1c5)](_0x17ca26,_0x38e315,_0x5ec860,_0x6897cb);}}}}}[_0x5b8990(0x29d)](_0x573de7,_0x722907,_0x3c203a,_0x1832c1,_0x380f76){const _0x4cb58c=_0x5b8990,_0x36206a=this[_0x4cb58c(0x381)](_0x722907),{left:_0x1635dc,top:_0x3a7711,height:_0x42cfe7}=_0x36206a,_0x2f36c0=this['_getScale'](),_0x306bdc=St/_0x2f36c0,_0x204c48=new p[(_0x4cb58c(0x209))](oe+a[_0x4cb58c(0x270)][_0x4cb58c(0x2b3)](k),{'left':_0x1635dc+_0x3c203a-_0x306bdc,'top':_0x3a7711+_0x1832c1,'height':_0x42cfe7,'width':ft,'fill':_0x573de7||p[_0x4cb58c(0x224)](a['COLORS'][_0x4cb58c(0x2e7)],0x0),'strokeWidth':_0x306bdc,'stroke':It,'evented':!0x0});this[_0x4cb58c(0x297)]=_0x204c48,this[_0x4cb58c(0x280)][_0x4cb58c(0x31c)](_0x204c48,b[_0x4cb58c(0x2d0)]);const _0x24a5fa=new p[(_0x4cb58c(0x209))](oe+a['Tools']['generateRandomId'](k),{'left':_0x1635dc+_0x3c203a-_0x306bdc,'top':_0x3a7711+_0x1832c1-ae/0x2,'height':ae,'width':ae,'fill':_0x573de7||p['getColor'](a['COLORS'][_0x4cb58c(0x2e7)],0x0),'strokeWidth':0x0,'stroke':_0x573de7||p['getColor'](a[_0x4cb58c(0x2e6)][_0x4cb58c(0x2e7)],0x0),'evented':!0x1});this[_0x4cb58c(0x1b2)]=_0x24a5fa,this['_scene'][_0x4cb58c(0x31c)](_0x24a5fa,b[_0x4cb58c(0x2d0)]);const _0x583f33=new te(oe+a[_0x4cb58c(0x270)][_0x4cb58c(0x2b3)](k),{'left':_0x1635dc+_0x3c203a-_0x306bdc,'top':_0x3a7711+_0x1832c1-K,'text':_0x380f76,'color':_0x573de7});this['_textBubble']=_0x583f33,this[_0x4cb58c(0x280)][_0x4cb58c(0x31c)](_0x583f33,b[_0x4cb58c(0x2d0)]),this[_0x4cb58c(0x2f2)]=!0x1;}[_0x5b8990(0x308)](){const _0x5f281d=_0x5b8990,_0x311c92=this[_0x5f281d(0x297)][_0x5f281d(0x17b)][_0x5f281d(0x2c1)](()=>{const _0x1d3c45=_0x5f281d;this[_0x1d3c45(0x2f2)]=!0x0;}),_0x9b3b2=this[_0x5f281d(0x297)][_0x5f281d(0x1d9)][_0x5f281d(0x2c1)](()=>{const _0x2e2b0e=_0x5f281d;this[_0x2e2b0e(0x223)]&&clearTimeout(this[_0x2e2b0e(0x223)]),this[_0x2e2b0e(0x223)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x3888db=_0x5f281d;_0x311c92['unsubscribe'](),_0x9b3b2[_0x3888db(0x2b7)]();};}[_0x5b8990(0x1c5)](_0x1de91b,_0x35bd60,_0x2fc499,_0x3bbc77){const _0x2b7cd0=_0x5b8990,_0x24d304=new a[(_0x2b7cd0(0x1b6))](_0x1de91b)['setAlpha'](0.2)[_0x2b7cd0(0x16d)](),_0x466e59=new p[(_0x2b7cd0(0x305))](ut+a['Tools'][_0x2b7cd0(0x2b3)](k),{'pointsGroup':_0x35bd60,'fill':_0x24d304||p[_0x2b7cd0(0x224)](a[_0x2b7cd0(0x2e6)][_0x2b7cd0(0x2e7)],0.2),'left':_0x2fc499,'top':_0x3bbc77,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x2b7cd0(0x372)][_0x2b7cd0(0x3e8)](_0x466e59),this[_0x2b7cd0(0x280)][_0x2b7cd0(0x31c)](_0x466e59,b[_0x2b7cd0(0x2d0)]);}[_0x5b8990(0x314)](_0x287612,_0x134c4e,_0x506fef,_0x3b2b13){const _0x1b6dbf=_0x5b8990,_0x50dbec=new a[(_0x1b6dbf(0x1b6))](_0x287612)[_0x1b6dbf(0x1cb)](0.2)['toRgbString'](),_0x557864=new p[(_0x1b6dbf(0x305))](dt+a[_0x1b6dbf(0x270)][_0x1b6dbf(0x2b3)](k),{'pointsGroup':_0x134c4e,'fill':_0x50dbec||p[_0x1b6dbf(0x224)](a[_0x1b6dbf(0x2e6)][_0x1b6dbf(0x2e7)],0.2),'left':_0x506fef,'top':_0x3b2b13,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x1b6dbf(0x372)][_0x1b6dbf(0x3e8)](_0x557864),this['_scene'][_0x1b6dbf(0x31c)](_0x557864,b[_0x1b6dbf(0x2d0)]);}[_0x5b8990(0x381)](_0x5590d2){const _0x5cbade=_0x5590d2[0x0],_0x13df55=_0x5cbade[0x0],_0x20c5f0=_0x5cbade[0x2],{x:_0x130fd0,y:_0x217564}=_0x13df55,{x:_0x38a7aa,y:_0x52685c}=_0x20c5f0;return{'left':_0x130fd0,'top':_0x217564,'width':_0x38a7aa-_0x130fd0,'height':_0x52685c-_0x217564};}['_getScale'](){const _0x260ac6=_0x5b8990,{scaleX:_0x4b88ec,scaleY:_0x1bde10}=this[_0x260ac6(0x280)][_0x260ac6(0x217)]();return Math['max'](_0x4b88ec,_0x1bde10);}}var vt=Object['getOwnPropertyDescriptor'],gt=(_0x22b581,_0x1c3c9b,_0xa76d1f,_0x5093a2)=>{const _0x2bdd4b=_0x5b8990;for(var _0x22b58d=_0x5093a2>0x1?void 0x0:_0x5093a2?vt(_0x1c3c9b,_0xa76d1f):_0x1c3c9b,_0x1a2879=_0x22b581[_0x2bdd4b(0x3e7)]-0x1,_0x23d67c;_0x1a2879>=0x0;_0x1a2879--)(_0x23d67c=_0x22b581[_0x1a2879])&&(_0x22b58d=_0x23d67c(_0x22b58d)||_0x22b58d);return _0x22b58d;},V=(_0x3317ec,_0x40465e)=>(_0x2fe043,_0x53b0e1)=>_0x40465e(_0x2fe043,_0x53b0e1,_0x3317ec);let ve=class extends a[_0x5b8990(0x3d0)]{constructor(_0x3a8e79,_0x1384da,_0x5c0450,_0x4dbf37,_0x2e274b){const _0x1a6c30=_0x5b8990;super(),_(this,_0x1a6c30(0x187),[]),_(this,_0x1a6c30(0x3ba),[]),(this[_0x1a6c30(0x3b3)]=_0x3a8e79,this[_0x1a6c30(0x338)]=_0x1384da,this[_0x1a6c30(0x256)]=_0x5c0450,this[_0x1a6c30(0x20b)]=_0x4dbf37,this[_0x1a6c30(0x31d)]=_0x2e274b,this[_0x1a6c30(0x2c4)]());}['_init'](){const _0x9f5957=_0x5b8990,_0x5db9be=this[_0x9f5957(0x3b3)][_0x9f5957(0x39c)],_0x18b8d6=this[_0x9f5957(0x338)];this[_0x9f5957(0x2ee)](d[_0x9f5957(0x323)]([this[_0x9f5957(0x256)][_0x9f5957(0x331)](_0x5db9be),this['_themeService'][_0x9f5957(0x205)]])[_0x9f5957(0x27c)]($[_0x9f5957(0x26f)](([_0x3617d7,_0x3fe4d7])=>({'skeleton':_0x18b8d6['getSkeleton'](),'cursors':[..._0x3617d7[_0x9f5957(0x2a6)]()][_0x9f5957(0x309)](_0x52b4ed=>({..._0x52b4ed,'color':_0x3fe4d7[_0x52b4ed['color']]}))})))[_0x9f5957(0x1f0)](_0x16d9c2=>{const _0x43e870=_0x9f5957;if(this['_removeCollabCursors'](),_0x16d9c2){const {skeleton:_0x4f5187,cursors:_0x5b8275}=_0x16d9c2;this[_0x43e870(0x2b5)](_0x4f5187,_0x5b8275);}})),this[_0x9f5957(0x20a)](),this[_0x9f5957(0x39e)]();}['_updateCollabCursors'](_0x1896e6,_0x17e187){const _0x52c498=_0x5b8990,{scene:_0x2a99ae,mainComponent:_0x4c1525}=this[_0x52c498(0x3b3)],_0x4940ba=_0x17e187[_0x52c498(0x26f)](_0x4972ec=>new Ue(_0x4972ec,_0x2a99ae,_0x1896e6,_0x4c1525));this['_cursorShapes']=_0x4940ba,this[_0x52c498(0x3ba)]=_0x17e187;}[_0x5b8990(0x302)](){const _0x44a4f5=_0x5b8990;this[_0x44a4f5(0x2aa)]();const {scene:_0x5c7d40,mainComponent:_0x29b214}=this[_0x44a4f5(0x3b3)],_0xfc24e4=this[_0x44a4f5(0x338)][_0x44a4f5(0x1a5)](),_0x83a5bf=this[_0x44a4f5(0x3ba)][_0x44a4f5(0x26f)](_0x319c48=>new Ue(_0x319c48,_0x5c7d40,_0xfc24e4,_0x29b214));this[_0x44a4f5(0x187)]=_0x83a5bf;}[_0x5b8990(0x2aa)](){const _0x1f76b1=_0x5b8990;this[_0x1f76b1(0x187)]['forEach'](_0xc36276=>_0xc36276[_0x1f76b1(0x232)]()),this[_0x1f76b1(0x187)]=[];}['_initCommandExecutedListener'](){const _0x1286da=_0x5b8990,_0x3eff02=[b[_0x1286da(0x198)]['id']];this['disposeWithMe'](this[_0x1286da(0x20b)][_0x1286da(0x23b)](_0x387f94=>{const _0x36c4ae=_0x1286da;_0x3eff02[_0x36c4ae(0x18a)](_0x387f94['id'])&&_0x387f94[_0x36c4ae(0x3a3)][_0x36c4ae(0x39c)]===this[_0x36c4ae(0x3b3)][_0x36c4ae(0x39c)]&&this[_0x36c4ae(0x302)]();}));}[_0x5b8990(0x20a)](){const _0x3042b1=_0x5b8990;this[_0x3042b1(0x2ee)](a['fromEventSubject'](this[_0x3042b1(0x3b3)][_0x3042b1(0x292)]['onTransformChange$'])[_0x3042b1(0x27c)]($[_0x3042b1(0x3db)](_0x79210c=>_0x79210c['type']===p[_0x3042b1(0x225)][_0x3042b1(0x2e8)]),$[_0x3042b1(0x1fd)](0x10))[_0x3042b1(0x1f0)](()=>{const _0x52b2ec=_0x3042b1;this[_0x52b2ec(0x302)]();}));}};ve=gt([V(0x1,a[_0x5b8990(0x25d)](Y[_0x5b8990(0x382)])),V(0x2,a[_0x5b8990(0x25d)](x)),V(0x3,a[_0x5b8990(0x267)]),V(0x4,a[_0x5b8990(0x25d)](a[_0x5b8990(0x234)]))],ve);const mt=0x1,Ct=1.5;class Ae extends p[_0x5b8990(0x2b0)]{constructor(_0x42f7d4,_0x1b93c7){const _0x1d3e24=_0x5b8990;super(_0x42f7d4,_0x1b93c7),_(this,'_color'),_(this,'_hovered',!0x1),_(this,'_range'),_(this,'_name',''),_(this,'_labelPosition',_0x1d3e24(0x365)),_(this,_0x1d3e24(0x284)),(_0x1b93c7&&this[_0x1d3e24(0x1c8)](_0x1b93c7),this[_0x1d3e24(0x17b)][_0x1d3e24(0x2c1)](()=>this['setShapeProps']({'hovered':!0x0})),this[_0x1d3e24(0x1d9)]['subscribeEvent'](()=>this['setShapeProps']({'hovered':!0x1})));}[_0x5b8990(0x1c8)](_0x265fed){const _0x4de02a=_0x5b8990;var _0x2a6813,_0x474268,_0x401ae8,_0x383ef6,_0x37fa03,_0x391751;this[_0x4de02a(0x32e)]=(_0x2a6813=_0x265fed[_0x4de02a(0x328)])!=null?_0x2a6813:this[_0x4de02a(0x32e)],this[_0x4de02a(0x358)]=(_0x474268=_0x265fed[_0x4de02a(0x2f8)])!=null?_0x474268:this['_hovered'],this[_0x4de02a(0x1cf)]=(_0x401ae8=_0x265fed[_0x4de02a(0x1d4)])!=null?_0x401ae8:this[_0x4de02a(0x1cf)],this[_0x4de02a(0x34a)]=(_0x383ef6=_0x265fed[_0x4de02a(0x29a)])!=null?_0x383ef6:this[_0x4de02a(0x34a)],this['_labelPosition']=(_0x37fa03=_0x265fed[_0x4de02a(0x276)])!=null?_0x37fa03:this[_0x4de02a(0x17d)],this[_0x4de02a(0x284)]=(_0x391751=_0x265fed[_0x4de02a(0x2bf)])!=null?_0x391751:this[_0x4de02a(0x284)],this[_0x4de02a(0x25a)]({'width':_0x265fed['width'],'height':_0x265fed['height']});}['onMouseMove'](_0x1c3d94){const _0x3ed8bc=_0x5b8990,{row:_0x312965,column:_0x253880}=_0x1c3d94;if(_0x312965>=this['_range'][_0x3ed8bc(0x3c8)]&&_0x312965<=this['_range'][_0x3ed8bc(0x341)]&&_0x253880>=this[_0x3ed8bc(0x1cf)]['startColumn']&&_0x253880<=this[_0x3ed8bc(0x1cf)]['endColumn']){this['setShapeProps']({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}[_0x5b8990(0x1eb)](_0x459e94){return!0x1;}[_0x5b8990(0x17c)](_0x5adb18){const _0x576bde=_0x5b8990;p[_0x576bde(0x209)][_0x576bde(0x2e4)](_0x5adb18,{'width':this['width'],'height':this['height'],'strokeWidth':Ct,'stroke':this[_0x576bde(0x32e)],'evented':!0x1,'fill':this[_0x576bde(0x284)]}),this[_0x576bde(0x358)]&&(_0x5adb18[_0x576bde(0x244)](),_0x5adb18[_0x576bde(0x195)](0x1,0x0,0x0,0x1,this[_0x576bde(0x18c)],this[_0x576bde(0x17d)]==='bottom'?0x0:-0x14),te['drawWith'](_0x5adb18,{'text':this[_0x576bde(0x34a)],'color':this['_color']}),_0x5adb18['restore']());}}var pt=Object[_0x5b8990(0x184)],bt=(_0x4eb3f6,_0x5c548b,_0x3b899e,_0x260952)=>{const _0x5bcdc3=_0x5b8990;for(var _0x274b58=_0x260952>0x1?void 0x0:_0x260952?pt(_0x5c548b,_0x3b899e):_0x5c548b,_0x4124ff=_0x4eb3f6[_0x5bcdc3(0x3e7)]-0x1,_0x44ac39;_0x4124ff>=0x0;_0x4124ff--)(_0x44ac39=_0x4eb3f6[_0x4124ff])&&(_0x274b58=_0x44ac39(_0x274b58)||_0x274b58);return _0x274b58;},ce=(_0x48ca5c,_0x3fd02e)=>(_0x5e7027,_0x2f672e)=>_0x3fd02e(_0x5e7027,_0x2f672e,_0x48ca5c);const Et=0x1389;let ge=class extends a[_0x5b8990(0x3d0)]{constructor(_0x4666d6,_0x46db4f,_0x123df8,_0xfe3150){const _0x577220=_0x5b8990;super(),_(this,_0x577220(0x3ba),new Set()),_(this,_0x577220(0x186),null),(this['_context']=_0x4666d6,this[_0x577220(0x1e6)]=_0x46db4f,this[_0x577220(0x256)]=_0x123df8,this[_0x577220(0x31d)]=_0xfe3150,this[_0x577220(0x2c4)]());}[_0x5b8990(0x2c4)](){const _0x47a2c0=_0x5b8990;this[_0x47a2c0(0x1e6)]['currentSkeleton$']['pipe']($[_0x47a2c0(0x2dd)](this[_0x47a2c0(0x33a)]),$[_0x47a2c0(0x3c2)](_0x241e1a=>{const _0x31f4d6=_0x47a2c0;if(_0x241e1a){const _0x354767=_0x241e1a['sheetId'];return d[_0x31f4d6(0x323)](this[_0x31f4d6(0x256)][_0x31f4d6(0x331)](this[_0x31f4d6(0x3b3)][_0x31f4d6(0x39c)]),this[_0x31f4d6(0x31d)][_0x31f4d6(0x205)])['pipe']($['map'](([_0x8dab84,_0x41bafd])=>{const _0x38999e=_0x31f4d6,_0xaffdb0=new Map();return _0x8dab84[_0x38999e(0x312)]((_0x15d050,_0x27faee)=>{const _0xa47a78=_0x38999e;if(_0x15d050[_0xa47a78(0x326)]===_0x354767){const _0x2b06cd={..._0x15d050};_0x2b06cd[_0xa47a78(0x328)]=_0x41bafd[_0x15d050['color']],_0xaffdb0[_0xa47a78(0x1a0)](_0x27faee,_0x2b06cd);}}),{'skeleton':_0x241e1a,'cursors':_0xaffdb0};}));}return d['of']({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x5592ba,cursors:_0x3ad6b4})=>{const _0x7b28ba=_0x47a2c0;this[_0x7b28ba(0x2aa)](),_0x5592ba&&this[_0x7b28ba(0x2b5)](_0x5592ba,_0x3ad6b4);}),this[_0x47a2c0(0x1e6)][_0x47a2c0(0x25f)]['subscribe'](_0x10ebaa=>{const _0x28973d=_0x47a2c0;if(_0x10ebaa==null)return;const {skeleton:_0x214793}=_0x10ebaa,{scene:_0x1b12fc}=this['_context'];_0x1b12fc[_0x28973d(0x174)][_0x28973d(0x2c1)](a['debounce'](_0x54347a=>{const _0x497061=_0x28973d;var _0xe1356b,_0x37e383;const {offsetX:_0x445eef,offsetY:_0x5a4553}=_0x54347a,{x:_0x172b8e,y:_0x51cb09}=_0x1b12fc['getRelativeToViewportCoord'](p[_0x497061(0x1b3)][_0x497061(0x2da)]([_0x445eef,_0x5a4553])),{scaleX:_0x57ab48,scaleY:_0x2cd1ca}=_0x1b12fc['getAncestorScale'](),_0x10a24d=_0x1b12fc[_0x497061(0x1ca)](p[_0x497061(0x231)][_0x497061(0x1e9)]),_0xe6509b=_0x1b12fc['getVpScrollXYInfoByPosToVp'](p[_0x497061(0x1b3)][_0x497061(0x2da)]([_0x172b8e,_0x51cb09]),_0x10a24d),_0x3dd25a=_0x214793[_0x497061(0x2a4)](_0x445eef,_0x5a4553,_0x57ab48,_0x2cd1ca,_0xe6509b);((_0xe1356b=this[_0x497061(0x186)])==null?void 0x0:_0xe1356b[_0x497061(0x196)])===_0x3dd25a[_0x497061(0x196)]&&((_0x37e383=this['_lastPointer'])==null?void 0x0:_0x37e383['row'])===_0x3dd25a[_0x497061(0x2a0)]||this['_cursors'][_0x497061(0x312)](_0x5f0aa1=>{const _0x464f34=_0x497061;_0x5f0aa1[_0x464f34(0x171)](_0x3dd25a);});},0x64));});}['_updateCollabCursors'](_0x20a1cd,_0xb8e783){const _0x27ee22=_0x5b8990;var _0x17e885;const _0x47ed08=(_0x17e885=this[_0x27ee22(0x1e6)][_0x27ee22(0x3ca)]())==null?void 0x0:_0x17e885[_0x27ee22(0x1e1)];if(!_0x47ed08)return;const _0x8aff16=this[_0x27ee22(0x176)]();if(!_0x8aff16)return;this[_0x27ee22(0x3ba)][_0x27ee22(0x312)](_0x1673b4=>{const _0x3de3d5=_0x27ee22;_0x1673b4[_0x3de3d5(0x1de)]();});const {scene:_0x37a448}=_0x8aff16,_0x888055=Tt(Array[_0x27ee22(0x1dc)](_0xb8e783[_0x27ee22(0x2a6)]()))[_0x27ee22(0x26f)](_0x9a6b26=>{const _0x43f0f2=_0x27ee22,{color:_0x8d2639,range:_0x3d312b,name:_0x13c855,selection:_0x576517,sheetID:_0x273900}=_0x9a6b26,{startColumn:_0x68c339,startRow:_0x4b7cdd,endColumn:_0x3660f4,endRow:_0x29f30e}=_0x3d312b,_0x32a105=G['getCoordByCell'](_0x4b7cdd,_0x68c339,_0x37a448,_0x47ed08),_0x271489=G[_0x43f0f2(0x1f9)](_0x29f30e,_0x3660f4,_0x37a448,_0x47ed08),{columnHeaderHeightAndMarginTop:_0xd33a59}=_0x47ed08,{startX:_0xe6d47d,startY:_0x170843}=_0x32a105,{endX:_0x4892f9,endY:_0x13d6a7}=_0x271489,_0x147a41=_0x4892f9-_0xe6d47d,_0x43d4c7=_0x13d6a7-_0x170843,_0x1e8e46={'labelPosition':_0x170843-_0xd33a59>=K?_0x43f0f2(0x365):_0x43f0f2(0x2fc),'sheetID':_0x273900,'range':_0x3d312b,'color':_0x8d2639,'name':_0x13c855,'selection':_0x576517,'left':_0xe6d47d,'top':_0x170843,'width':_0x147a41,'height':_0x43d4c7,'evented':!0x1,'zIndex':Et};return new Ae(_0x13c855,_0x1e8e46);});_0x37a448[_0x27ee22(0x30e)](_0x888055,mt),this[_0x27ee22(0x3ba)]=new Set(_0x888055);}[_0x5b8990(0x2aa)](){const _0x46ed28=_0x5b8990;var _0x19cf7b;(_0x19cf7b=this[_0x46ed28(0x3ba)])==null||_0x19cf7b[_0x46ed28(0x312)](_0x2f4ee3=>_0x2f4ee3[_0x46ed28(0x232)]());}[_0x5b8990(0x176)](){const _0x220c17=_0x5b8990;return G[_0x220c17(0x1e2)](this['_context']['unit'],this['_context']);}};ge=bt([ce(0x1,a[_0x5b8990(0x25d)](G[_0x5b8990(0x1ba)])),ce(0x2,a[_0x5b8990(0x25d)](x)),ce(0x3,a['Inject'](a[_0x5b8990(0x234)]))],ge);function Tt(_0x1d5a85){const _0x4afc8a=_0x5b8990,_0x159de1=new Map();return _0x1d5a85[_0x4afc8a(0x312)](_0x1d5bbd=>{const _0x4796b2=_0x4afc8a;if(_0x159de1['has'](_0x1d5bbd[_0x4796b2(0x342)])){const _0x58062b=_0x159de1['get'](_0x1d5bbd['selection']);_0x58062b[_0x4796b2(0x29a)]+=',\x20'+_0x1d5bbd[_0x4796b2(0x29a)];}else _0x159de1[_0x4796b2(0x1a0)](_0x1d5bbd[_0x4796b2(0x342)],_0x1d5bbd);}),Array[_0x4afc8a(0x1dc)](_0x159de1[_0x4afc8a(0x2a6)]());}var E=function(){const _0x273e32=_0x5b8990;return E=Object[_0x273e32(0x2c6)]||function(_0x3e1887){const _0x39c4c0=_0x273e32;for(var _0x124956,_0x4cb317=0x1,_0x51c982=arguments[_0x39c4c0(0x3e7)];_0x4cb317<_0x51c982;_0x4cb317++){_0x124956=arguments[_0x4cb317];for(var _0x5a9454 in _0x124956)Object[_0x39c4c0(0x1ef)][_0x39c4c0(0x3a2)][_0x39c4c0(0x2d9)](_0x124956,_0x5a9454)&&(_0x3e1887[_0x5a9454]=_0x124956[_0x5a9454]);}return _0x3e1887;},E[_0x273e32(0x26a)](this,arguments);},Ot=function(_0x2cbb43,_0x322f87){const _0x397475=_0x5b8990;var _0xb501ac={};for(var _0x467798 in _0x2cbb43)Object[_0x397475(0x1ef)][_0x397475(0x3a2)]['call'](_0x2cbb43,_0x467798)&&_0x322f87['indexOf'](_0x467798)<0x0&&(_0xb501ac[_0x467798]=_0x2cbb43[_0x467798]);if(_0x2cbb43!=null&&typeof Object['getOwnPropertySymbols']==_0x397475(0x2e2)){for(var _0x54267e=0x0,_0x467798=Object[_0x397475(0x2cd)](_0x2cbb43);_0x54267e<_0x467798['length'];_0x54267e++)_0x322f87['indexOf'](_0x467798[_0x54267e])<0x0&&Object[_0x397475(0x1ef)][_0x397475(0x253)][_0x397475(0x2d9)](_0x2cbb43,_0x467798[_0x54267e])&&(_0xb501ac[_0x467798[_0x54267e]]=_0x2cbb43[_0x467798[_0x54267e]]);}return _0xb501ac;},be=M[_0x5b8990(0x2d7)](function(_0x2f81ed,_0x34b6a5){const _0x30e147=_0x5b8990;var _0x4c2762=_0x2f81ed[_0x30e147(0x1d3)],_0x53dfd0=_0x2f81ed['id'],_0x3f6088=_0x2f81ed[_0x30e147(0x2dc)],_0x2e3ded=_0x2f81ed[_0x30e147(0x355)],_0x35dfbf=Ot(_0x2f81ed,[_0x30e147(0x1d3),'id','className',_0x30e147(0x355)]),_0x519d56='univerjs-icon\x20univerjs-icon-'[_0x30e147(0x2de)](_0x53dfd0,'\x20')[_0x30e147(0x2de)](_0x3f6088||'')['trim'](),_0x1a5ac0=M[_0x30e147(0x2be)]('_'[_0x30e147(0x2de)](Ut()));return ye(_0x4c2762,''[_0x30e147(0x2de)](_0x53dfd0),{'defIds':_0x4c2762[_0x30e147(0x389)],'idSuffix':_0x1a5ac0[_0x30e147(0x27e)]},E({'ref':_0x34b6a5,'className':_0x519d56},_0x35dfbf),_0x2e3ded);});function ye(_0x2d7a8d,_0x4e8adf,_0x28aa8d,_0x11200c,_0x14944e){const _0x242265=_0x5b8990;return M['createElement'](_0x2d7a8d['tag'],E(E({'key':_0x4e8adf},Rt(_0x2d7a8d,_0x28aa8d,_0x14944e)),_0x11200c),(Dt(_0x2d7a8d,_0x28aa8d)[_0x242265(0x22b)]||[])['map'](function(_0x20c6cf,_0x28491c){const _0x49695c=_0x242265;return ye(_0x20c6cf,''[_0x49695c(0x2de)](_0x4e8adf,'-')[_0x49695c(0x2de)](_0x2d7a8d[_0x49695c(0x207)],'-')['concat'](_0x28491c),_0x28aa8d,void 0x0,_0x14944e);}));}function Rt(_0x19e9e9,_0x4b58ed,_0xf6f47c){const _0x15fa52=_0x5b8990;var _0x2e4d7d=E({},_0x19e9e9[_0x15fa52(0x2a3)]);_0xf6f47c!=null&&_0xf6f47c[_0x15fa52(0x311)]&&_0x2e4d7d[_0x15fa52(0x2ff)]===_0x15fa52(0x311)&&(_0x2e4d7d['fill']=_0xf6f47c[_0x15fa52(0x311)]),_0x19e9e9[_0x15fa52(0x207)]==='mask'&&_0x2e4d7d['id']&&(_0x2e4d7d['id']=_0x2e4d7d['id']+_0x4b58ed[_0x15fa52(0x2a7)]),Object[_0x15fa52(0x1b8)](_0x2e4d7d)[_0x15fa52(0x312)](function(_0x5859ce){const _0x186446=_0x15fa52;var _0x17faaf=_0x5859ce[0x0],_0xf1248c=_0x5859ce[0x1];_0x17faaf==='mask'&&typeof _0xf1248c==_0x186446(0x300)&&(_0x2e4d7d[_0x17faaf]=_0xf1248c[_0x186446(0x344)](/url\(#(.*)\)/,_0x186446(0x32c)[_0x186446(0x2de)](_0x4b58ed[_0x186446(0x2a7)],')')));});var _0x5d3a4f=_0x4b58ed[_0x15fa52(0x389)];return!_0x5d3a4f||_0x5d3a4f[_0x15fa52(0x3e7)]===0x0||(_0x19e9e9['tag']==='use'&&_0x2e4d7d[_0x15fa52(0x348)]&&(_0x2e4d7d[_0x15fa52(0x348)]=_0x2e4d7d[_0x15fa52(0x348)]+_0x4b58ed[_0x15fa52(0x2a7)]),Object['entries'](_0x2e4d7d)['forEach'](function(_0x25213e){const _0x5f144a=_0x15fa52;var _0x474166=_0x25213e[0x0],_0x1ddfb0=_0x25213e[0x1];typeof _0x1ddfb0==_0x5f144a(0x300)&&(_0x2e4d7d[_0x474166]=_0x1ddfb0['replace'](/url\(#(.*)\)/,_0x5f144a(0x32c)[_0x5f144a(0x2de)](_0x4b58ed[_0x5f144a(0x2a7)],')')));})),_0x2e4d7d;}function Dt(_0x5b3b70,_0x177b02){const _0x520f34=_0x5b8990;var _0x349240,_0x171e01=_0x177b02['defIds'];return!_0x171e01||_0x171e01[_0x520f34(0x3e7)]===0x0?_0x5b3b70:_0x5b3b70[_0x520f34(0x207)]===_0x520f34(0x3af)&&(!((_0x349240=_0x5b3b70[_0x520f34(0x22b)])===null||_0x349240===void 0x0)&&_0x349240[_0x520f34(0x3e7)])?E(E({},_0x5b3b70),{'children':_0x5b3b70[_0x520f34(0x22b)][_0x520f34(0x26f)](function(_0x9ecc8f){const _0x2f7c31=_0x520f34;return typeof _0x9ecc8f[_0x2f7c31(0x2a3)]['id']=='string'&&_0x171e01&&_0x171e01['indexOf'](_0x9ecc8f['attrs']['id'])>-0x1?E(E({},_0x9ecc8f),{'attrs':E(E({},_0x9ecc8f[_0x2f7c31(0x2a3)]),{'id':_0x9ecc8f['attrs']['id']+_0x177b02[_0x2f7c31(0x2a7)]})}):_0x9ecc8f;})}):_0x5b3b70;}function Ut(){const _0x3098f8=_0x5b8990;return Math[_0x3098f8(0x37e)]()[_0x3098f8(0x27b)](0x24)[_0x3098f8(0x28a)](0x2,0x8);}be[_0x5b8990(0x26e)]=_0x5b8990(0x26b);var Nt={'tag':'svg','attrs':{'fill':_0x5b8990(0x33f),'viewBox':'0\x200\x2016\x2016','width':'1em','height':_0x5b8990(0x172)},'children':[{'tag':'g','attrs':{'clipPath':_0x5b8990(0x245)},'children':[{'tag':'path','attrs':{'stroke':'currentColor','d':_0x5b8990(0x1d5),'strokeLinecap':_0x5b8990(0x22f),'strokeLinejoin':_0x5b8990(0x22f),'strokeWidth':1.2}}]},{'tag':_0x5b8990(0x3af),'attrs':{},'children':[{'tag':_0x5b8990(0x396),'attrs':{'id':_0x5b8990(0x291)},'children':[{'tag':_0x5b8990(0x2ca),'attrs':{'fill':'#fff','d':_0x5b8990(0x18d)}}]}]}],'defIds':[_0x5b8990(0x291)]},$e=M['forwardRef'](function(_0x47c565,_0x399d82){const _0xff8334=_0x5b8990;return M[_0xff8334(0x3dc)](be,Object[_0xff8334(0x2c6)]({},_0x47c565,{'id':_0xff8334(0x1ed),'ref':_0x399d82,'icon':Nt}));});$e['displayName']=_0x5b8990(0x28d);var Mt={'tag':_0x5b8990(0x22d),'attrs':{'fill':_0x5b8990(0x33f),'viewBox':_0x5b8990(0x24f),'width':_0x5b8990(0x172),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x5b8990(0x298)},'children':[{'tag':'path','attrs':{'stroke':_0x5b8990(0x1ee),'d':_0x5b8990(0x185),'strokeLinecap':_0x5b8990(0x22f),'strokeLinejoin':_0x5b8990(0x22f),'strokeWidth':1.2}}]},{'tag':_0x5b8990(0x3af),'attrs':{},'children':[{'tag':_0x5b8990(0x396),'attrs':{'id':_0x5b8990(0x30a)},'children':[{'tag':_0x5b8990(0x2ca),'attrs':{'fill':_0x5b8990(0x249),'d':_0x5b8990(0x18d),'transform':_0x5b8990(0x21e)}}]}]}],'defIds':[_0x5b8990(0x30a)]},xe=M[_0x5b8990(0x2d7)](function(_0x20785a,_0x2c9d76){const _0x31b09a=_0x5b8990;return M[_0x31b09a(0x3dc)](be,Object[_0x31b09a(0x2c6)]({},_0x20785a,{'id':'on-line-single','ref':_0x2c9d76,'icon':Mt}));});xe[_0x5b8990(0x26e)]='OnLineSingle';const Lt=_0x5b8990(0x1a7),Pt=_0x5b8990(0x18b),wt=_0x5b8990(0x179),At=_0x5b8990(0x3f6),yt=_0x5b8990(0x38d),H={'onlineStatusIcon':Lt,'onlineStatusTitle':Pt,'onlineStatus':wt,'online':At,'offline':yt};function $t(_0x3e6285){const _0x598fe1=_0x5b8990;switch(_0x3e6285){case u[_0x598fe1(0x36d)]['OFFLINE']:return _0x598fe1(0x30c);case u[_0x598fe1(0x36d)][_0x598fe1(0x2d6)]:return _0x598fe1(0x369);case u[_0x598fe1(0x36d)]['FETCH_MISS']:return'collabStatus.fetchMiss';case u[_0x598fe1(0x36d)]['NOT_COLLAB']:return _0x598fe1(0x379);case u[_0x598fe1(0x36d)][_0x598fe1(0x31e)]:case u[_0x598fe1(0x36d)][_0x598fe1(0x268)]:return _0x598fe1(0x35a);case u['CollaborationStatus'][_0x598fe1(0x37b)]:case u[_0x598fe1(0x36d)][_0x598fe1(0x28f)]:return _0x598fe1(0x35c);}}function je(_0xcf9e9){const _0x12616d=_0x5b8990,{status$:_0x84c67e}=_0xcf9e9,_0x392d2b=O[_0x12616d(0x273)](_0x84c67e,u[_0x12616d(0x36d)][_0x12616d(0x322)]),_0x169859=O[_0x12616d(0x1d8)](a[_0x12616d(0x175)]),_0x347943=O[_0x12616d(0x1d8)](u['CollaborationSessionService']),_0x52bd7b=_0x392d2b!==u[_0x12616d(0x36d)][_0x12616d(0x388)],_0xe9a9fc=_0x169859['t']($t(_0x392d2b)),_0xb76f01=T['clsx'](H[_0x12616d(0x192)],{[H[_0x12616d(0x3d7)]]:_0x52bd7b,[H[_0x12616d(0x282)]]:!_0x52bd7b}),_0x279bf9=_0x52bd7b?P['jsx'](xe,{}):P[_0x12616d(0x343)]($e,{}),_0x38e33a=M[_0x12616d(0x3c3)](()=>{const _0x407c28=_0x12616d;_0x52bd7b||_0x347943[_0x407c28(0x169)]();},[_0x52bd7b,_0x347943]);function _0x5ca404(){const _0x2ef002=_0x12616d;return P['jsxs'](_0x2ef002(0x340),{'className':T[_0x2ef002(0x2c0)](_0xb76f01,_0x2ef002(0x2c5)),'onClick':_0x38e33a,'children':[P[_0x2ef002(0x343)](_0x2ef002(0x340),{'className':H['onlineStatusIcon'],'children':_0x279bf9}),P['jsx']('div',{'className':H['onlineStatusTitle'],'children':_0xe9a9fc})]});}return _0x52bd7b?_0x5ca404():P[_0x12616d(0x343)](T['Tooltip'],{'title':_0x169859['t'](_0x12616d(0x397)),'children':_0x5ca404()});}var xt=Object[_0x5b8990(0x184)],jt=(_0xf9985d,_0x52de0,_0x1fe95f,_0x9041a2)=>{const _0x29fb5e=_0x5b8990;for(var _0x42132e=_0x9041a2>0x1?void 0x0:_0x9041a2?xt(_0x52de0,_0x1fe95f):_0x52de0,_0x415022=_0xf9985d[_0x29fb5e(0x3e7)]-0x1,_0x41a31e;_0x415022>=0x0;_0x415022--)(_0x41a31e=_0xf9985d[_0x415022])&&(_0x42132e=_0x41a31e(_0x42132e)||_0x42132e);return _0x42132e;},X=(_0x937395,_0x50a273)=>(_0xd4d2d4,_0x599b45)=>_0x50a273(_0xd4d2d4,_0x599b45,_0x937395);exports[_0x5b8990(0x2df)]=class extends a[_0x5b8990(0x19a)]{constructor(_0x2792ba,_0x36e994,_0x5498ae,_0x3b72cd){const _0x5e7724=_0x5b8990;super(),_(this,_0x5e7724(0x385),new d[(_0x5e7724(0x3e4))](u[_0x5e7724(0x36d)][_0x5e7724(0x322)])),(this[_0x5e7724(0x2d5)]=_0x2792ba,this[_0x5e7724(0x1a8)]=_0x36e994,this[_0x5e7724(0x240)]=_0x5498ae,this['_uiPartsService']=_0x3b72cd,this['_initStatusComponent'](),this[_0x5e7724(0x1bf)]());}[_0x5b8990(0x1bf)](){const _0x24193a=_0x5b8990;this[_0x24193a(0x2ee)](this[_0x24193a(0x2d5)][_0x24193a(0x1c0)][_0x24193a(0x27c)](d[_0x24193a(0x3c2)](()=>{const _0x41662b=_0x24193a,_0x154943=this[_0x41662b(0x2d5)]['getFocusedUnit']();return _0x154943?this[_0x41662b(0x240)][_0x41662b(0x35b)](_0x154943[_0x41662b(0x257)]()):d['of'](null);}),d[_0x24193a(0x3c2)](_0x579930=>_0x579930?_0x579930[_0x24193a(0x3f3)]:d['of'](u[_0x24193a(0x36d)][_0x24193a(0x322)])))[_0x24193a(0x1f0)](_0x550352=>{const _0x4154bb=_0x24193a;this[_0x4154bb(0x385)][_0x4154bb(0x2c7)](_0x550352);}));}[_0x5b8990(0x3a6)](){const _0x4863e4=_0x5b8990;this['disposeWithMe'](this[_0x4863e4(0x332)][_0x4863e4(0x258)](O[_0x4863e4(0x2f9)]['HEADER_MENU'],()=>O[_0x4863e4(0x3b7)](Bt({'status$':this['_status$']['asObservable']()}),this[_0x4863e4(0x1a8)])));}},exports[_0x5b8990(0x2df)]=jt([X(0x0,a[_0x5b8990(0x35f)]),X(0x1,a[_0x5b8990(0x25d)](a[_0x5b8990(0x39d)])),X(0x2,a[_0x5b8990(0x25d)](u[_0x5b8990(0x214)])),X(0x3,O['IUIPartsService'])],exports[_0x5b8990(0x2df)]);function Bt(_0x32a2d6){const {status$:_0x54e83a}=_0x32a2d6;return function(){const _0x57d4bc=_0x18a2;return P[_0x57d4bc(0x343)](je,{'status$':_0x54e83a});};}var kt=Object[_0x5b8990(0x184)],Ht=(_0x787544,_0x4d90c9,_0x113add,_0x5d5ede)=>{const _0x33cf68=_0x5b8990;for(var _0x3928a3=_0x5d5ede>0x1?void 0x0:_0x5d5ede?kt(_0x4d90c9,_0x113add):_0x4d90c9,_0x4e01be=_0x787544[_0x33cf68(0x3e7)]-0x1,_0x401393;_0x4e01be>=0x0;_0x4e01be--)(_0x401393=_0x787544[_0x4e01be])&&(_0x3928a3=_0x401393(_0x3928a3)||_0x3928a3);return _0x3928a3;},y=(_0x417ecb,_0x49b522)=>(_0x4e1c6d,_0x3814bd)=>_0x49b522(_0x4e1c6d,_0x3814bd,_0x417ecb);let z=class extends a[_0x5b8990(0x19a)]{constructor(_0x1d047f,_0xb64b8a,_0x2f31e7,_0xb49300,_0x35f330,_0x2a97be){const _0x1bf13f=_0x5b8990;super(),this[_0x1bf13f(0x191)]=_0x1d047f,this['_localCacheService']=_0xb64b8a,this['_collaborationUIEventService']=_0x2f31e7,this[_0x1bf13f(0x3e2)]=_0xb49300,this['_notificationService']=_0x35f330,this[_0x1bf13f(0x36a)]=_0x2a97be,this[_0x1bf13f(0x2bb)](),this[_0x1bf13f(0x2fe)]();}[_0x5b8990(0x2bb)](){const _0x2446ee=_0x5b8990;this[_0x2446ee(0x2ee)](this[_0x2446ee(0x191)][_0x2446ee(0x2f6)](()=>{const _0x1d62c1=_0x2446ee;if(this[_0x1d62c1(0x3d5)][_0x1d62c1(0x1c9)]['size'])return this['_localeService']['t'](_0x1d62c1(0x219));}));}[_0x5b8990(0x2fe)](){const _0x3d8bc6=_0x5b8990;this['disposeWithMe'](this[_0x3d8bc6(0x3b9)][_0x3d8bc6(0x290)][_0x3d8bc6(0x1f0)](_0x5c57da=>{const _0x3bf086=_0x3d8bc6;_0x5c57da['id']===u[_0x3bf086(0x247)]['OTHER_CLIENT_EDITING']&&this[_0x3bf086(0x3e2)][_0x3bf086(0x289)]({'type':T[_0x3bf086(0x352)][_0x3bf086(0x35d)],'content':this[_0x3bf086(0x36a)]['t'](_0x3bf086(0x266))}),_0x5c57da['id']===u['CollaborationUIEventId'][_0x3bf086(0x2b2)]&&this[_0x3bf086(0x3e2)][_0x3bf086(0x289)]({'type':T[_0x3bf086(0x352)][_0x3bf086(0x35d)],'content':this[_0x3bf086(0x36a)]['t'](_0x3bf086(0x2cf))}),_0x5c57da['id']===u['CollaborationUIEventId'][_0x3bf086(0x2fd)]&&this[_0x3bf086(0x243)]['show']({'title':this[_0x3bf086(0x36a)]['t'](_0x3bf086(0x307)),'content':this['_localeService']['t'](_0x3bf086(0x248)),'type':_0x3bf086(0x1e5),'duration':0x0}),_0x5c57da['id']===u[_0x3bf086(0x247)][_0x3bf086(0x2d6)]&&this['_messageService'][_0x3bf086(0x289)]({'type':T['MessageType'][_0x3bf086(0x274)],'content':this['_localeService']['t'](_0x3bf086(0x2cf))+'('+_0x5c57da['data']+')'}),_0x5c57da['id']===u[_0x3bf086(0x247)][_0x3bf086(0x353)]&&this['_messageService']['show']({'type':T[_0x3bf086(0x352)][_0x3bf086(0x35d)],'content':this[_0x3bf086(0x36a)]['t'](_0x5c57da[_0x3bf086(0x1ea)]||'')}),_0x5c57da['id']===u[_0x3bf086(0x247)][_0x3bf086(0x17f)]&&this['_messageService'][_0x3bf086(0x289)]({'type':T[_0x3bf086(0x352)]['Warning'],'content':this['_localeService']['t'](_0x3bf086(0x2fb))}),_0x5c57da['id']===u[_0x3bf086(0x247)][_0x3bf086(0x233)]&&this['_messageService'][_0x3bf086(0x289)]({'type':T[_0x3bf086(0x352)][_0x3bf086(0x274)],'content':this[_0x3bf086(0x36a)]['t']('session.connection-failed')}),_0x5c57da['id']===u[_0x3bf086(0x247)][_0x3bf086(0x3b2)]&&this['_messageService']['show']({'type':T[_0x3bf086(0x352)][_0x3bf086(0x274)],'content':this[_0x3bf086(0x36a)]['t'](_0x3bf086(0x380))});}));}};z=Ht([y(0x0,O[_0x5b8990(0x19d)]),y(0x1,u[_0x5b8990(0x246)]),y(0x2,a[_0x5b8990(0x25d)](u[_0x5b8990(0x31a)])),y(0x3,O[_0x5b8990(0x21f)]),y(0x4,O['INotificationService']),y(0x5,a[_0x5b8990(0x25d)](a[_0x5b8990(0x175)]))],z);const Ft=_0x5b8990(0x38e),Ne={},Ee=a[_0x5b8990(0x293)](_0x5b8990(0x37f));var Wt=Object[_0x5b8990(0x184)],Yt=(_0x360bb7,_0x4cb17c,_0x5dd099,_0x4c4d61)=>{const _0xcf48cd=_0x5b8990;for(var _0x11274f=_0x4c4d61>0x1?void 0x0:_0x4c4d61?Wt(_0x4cb17c,_0x5dd099):_0x4cb17c,_0x4961ef=_0x360bb7[_0xcf48cd(0x3e7)]-0x1,_0x337c40;_0x4961ef>=0x0;_0x4961ef--)(_0x337c40=_0x360bb7[_0x4961ef])&&(_0x11274f=_0x337c40(_0x11274f)||_0x11274f);return _0x11274f;},F=(_0x40e9d1,_0xa613e0)=>(_0x1162a9,_0x38bafe)=>_0xa613e0(_0x1162a9,_0x38bafe,_0x40e9d1);exports[_0x5b8990(0x3e0)]=class extends a['RxDisposable']{constructor(_0x5a43f9,_0x107a1a,_0x14ceca,_0x5e18ef,_0xed0f88){const _0x5b0ed2=_0x5b8990;super(),this['_urlService']=_0x5a43f9,this[_0x5b0ed2(0x3eb)]=_0x107a1a,this[_0x5b0ed2(0x20b)]=_0x14ceca,this[_0x5b0ed2(0x16f)]=_0x5e18ef,_0xed0f88?_0xed0f88==null||_0xed0f88[_0x5b0ed2(0x333)]()['then'](()=>this[_0x5b0ed2(0x2c4)]()):(this['_logService']['debug'](_0x5b0ed2(0x241),_0x5b0ed2(0x368)),this['_init']());}async[_0x5b8990(0x2c4)](){const _0x5c3855=_0x5b8990,_0x2185ee=this[_0x5c3855(0x18e)][_0x5c3855(0x357)](_0x5c3855(0x237)),_0x99aac5=this['_urlService'][_0x5c3855(0x357)]('type'),_0x592bee=this['_urlService'][_0x5c3855(0x357)](_0x5c3855(0x1ec));if(!_0x2185ee||!_0x99aac5){this['_logService'][_0x5c3855(0x27f)](_0x5c3855(0x241),'No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}const _0x4d5786=await this['_dataLoaderService'][_0x5c3855(0x208)](_0x2185ee,Number(_0x99aac5),_0x592bee);_0x4d5786&&_0x4d5786 instanceof a[_0x5c3855(0x384)]&&this['_setupSubUnitSync'](_0x4d5786);}async['_setupSubUnitSync'](_0x4f2595){const _0x153b56=_0x5b8990;await this[_0x153b56(0x36c)](_0x4f2595),_0x4f2595[_0x153b56(0x264)][_0x153b56(0x27c)](d[_0x153b56(0x2dd)](this[_0x153b56(0x33a)]))[_0x153b56(0x1f0)](_0x4dcd18=>{_0x4dcd18&&this['_updateURLWithCurrentState'](_0x4dcd18);}),this[_0x153b56(0x18e)][_0x153b56(0x33e)][_0x153b56(0x27c)](d[_0x153b56(0x2dd)](this[_0x153b56(0x33a)]))['subscribe'](()=>this[_0x153b56(0x36c)](_0x4f2595));}[_0x5b8990(0x182)](_0x45b628,_0x2c0c4b=!0x1){const _0x5ad369=_0x5b8990,_0x522e2d=this['_urlService'][_0x5ad369(0x357)](_0x5ad369(0x1ec));_0x45b628[_0x5ad369(0x3a4)]()!==_0x522e2d&&this['_urlService'][_0x5ad369(0x1a1)](_0x5ad369(0x1ec),_0x45b628[_0x5ad369(0x3a4)](),_0x2c0c4b);}async[_0x5b8990(0x36c)](_0x35ce53){const _0x3c2276=_0x5b8990;var _0x4e3e4c;const _0x4f1ecd=this[_0x3c2276(0x18e)][_0x3c2276(0x357)]('subunit');if(!_0x4f1ecd||!_0x35ce53['getSheetBySheetId'](_0x4f1ecd)){const _0x2c92cc=_0x35ce53[_0x3c2276(0x26d)]()[0x0],_0x471236=_0x35ce53[_0x3c2276(0x1bc)](_0x2c92cc);if(!_0x471236)return;this[_0x3c2276(0x182)](_0x471236,!0x0),await this['_commandService'][_0x3c2276(0x2ec)](g[_0x3c2276(0x2bc)]['id'],{'unitId':_0x35ce53[_0x3c2276(0x257)](),'subUnitId':_0x2c92cc});return;}((_0x4e3e4c=_0x35ce53[_0x3c2276(0x2b9)]())==null?void 0x0:_0x4e3e4c['getSheetId']())!==_0x4f1ecd&&await this[_0x3c2276(0x20b)][_0x3c2276(0x2ec)](g[_0x3c2276(0x2bc)]['id'],{'unitId':_0x35ce53['getUnitId'](),'subUnitId':_0x4f1ecd});}},exports[_0x5b8990(0x3e0)]=Yt([F(0x0,Ee),F(0x1,a[_0x5b8990(0x1e7)]),F(0x2,a[_0x5b8990(0x267)]),F(0x3,a[_0x5b8990(0x25d)](u['DataLoaderService'])),F(0x4,a[_0x5b8990(0x2c8)](Ke[_0x5b8990(0x3c7)]))],exports['CollaborationDataLoaderController']);function _0x18a2(_0x250035,_0x1ed6ca){const _0x1f87d2=_0x1f87();return _0x18a2=function(_0x18a248,_0x515a61){_0x18a248=_0x18a248-0x167;let _0x55efdf=_0x1f87d2[_0x18a248];return _0x55efdf;},_0x18a2(_0x250035,_0x1ed6ca);}var Vt=Object['getOwnPropertyDescriptor'],Xt=(_0x1c642d,_0x349932,_0x599866,_0x4b36ed)=>{for(var _0x49a96e=_0x4b36ed>0x1?void 0x0:_0x4b36ed?Vt(_0x349932,_0x599866):_0x349932,_0x21b97d=_0x1c642d['length']-0x1,_0x58b051;_0x21b97d>=0x0;_0x21b97d--)(_0x58b051=_0x1c642d[_0x21b97d])&&(_0x49a96e=_0x58b051(_0x49a96e)||_0x49a96e);return _0x49a96e;},le=(_0x41deed,_0x58fe05)=>(_0x14c642,_0x50bd84)=>_0x58fe05(_0x14c642,_0x50bd84,_0x41deed);let J=class{constructor(_0x745eb0,_0x26c830,_0x306ce4){const _0x50f3a5=_0x5b8990;this[_0x50f3a5(0x1a8)]=_0x745eb0,this[_0x50f3a5(0x2a1)]=_0x26c830,this[_0x50f3a5(0x1db)]=_0x306ce4;}[_0x5b8990(0x177)](_0x27ebe8){const _0x401143=_0x5b8990;this[_0x401143(0x29e)](_0x27ebe8),this[_0x401143(0x1c7)](_0x27ebe8);}['transformRemoteChangeset'](_0x4f8c9f){const _0x33cbce=_0x5b8990,{unitID:_0x38a479}=_0x4f8c9f,_0x5afe2e=this[_0x33cbce(0x1db)][_0x33cbce(0x212)](_0x38a479)[_0x33cbce(0x204)](b[_0x33cbce(0x324)]),{redoCache:_0x5cba00}=_0x5afe2e[_0x33cbce(0x39a)]();if(_0x5cba00[_0x33cbce(0x3e7)]===0x0)return _0x4f8c9f;let _0x25f100=a[_0x33cbce(0x270)][_0x33cbce(0x21d)](_0x4f8c9f[_0x33cbce(0x310)][0x0]);for(let _0x5d3e59=0x0;_0x5d3e59<_0x5cba00[_0x33cbce(0x3e7)];_0x5d3e59++){const _0x29138f={'id':'doc.mutation.rich-text-editing','params':{..._0x5cba00[_0x5d3e59]}},_0x5d014a=this['_transformService'][_0x33cbce(0x25b)](_0x25f100,_0x29138f,!0x1);if(m[_0x33cbce(0x188)](_0x5d014a))throw _0x5d014a[_0x33cbce(0x1e5)];_0x25f100=_0x5d014a['m1Prime'];}return{...a['Tools']['deepClone'](_0x4f8c9f),'mutations':[_0x25f100]};}[_0x5b8990(0x29e)](_0x19157a){const _0x27fe34=_0x5b8990,{unitID:_0x3e7a4a}=_0x19157a,_0x10f23d=this[_0x27fe34(0x1db)][_0x27fe34(0x212)](_0x3e7a4a)[_0x27fe34(0x204)](b[_0x27fe34(0x324)]),{undoCache:_0x148503,redoCache:_0x23b081}=_0x10f23d[_0x27fe34(0x39a)]();if(_0x148503[_0x27fe34(0x3e7)]===0x0||_0x23b081[_0x27fe34(0x3e7)]===0x0)return;const _0x30b489=[],_0xa461d0=[];let _0x11510f=a[_0x27fe34(0x270)][_0x27fe34(0x21d)](_0x19157a[_0x27fe34(0x310)][0x0]),_0x34c48d=a['Tools']['deepClone'](_0x19157a['mutations'][0x0]);for(let _0x49efb2=_0x148503[_0x27fe34(0x3e7)]-0x1;_0x49efb2>=0x0;_0x49efb2--){const _0x5bdab0={'id':_0x27fe34(0x3ea),'params':{..._0x148503[_0x49efb2]}},_0x40c012={'id':_0x27fe34(0x3ea),'params':{..._0x23b081[_0x49efb2]}},_0x36be8e=this[_0x27fe34(0x2a1)][_0x27fe34(0x25b)](_0x11510f,_0x5bdab0,!0x1),_0x1b0fc1=this[_0x27fe34(0x2a1)][_0x27fe34(0x25b)](_0x34c48d,_0x40c012,!0x1);if(m[_0x27fe34(0x188)](_0x36be8e))throw _0x36be8e['error'];if(m[_0x27fe34(0x188)](_0x1b0fc1))throw _0x1b0fc1['error'];_0x30b489[_0x27fe34(0x2a8)](_0x36be8e['m2Prime'][_0x27fe34(0x3a3)]),_0xa461d0['unshift'](_0x1b0fc1[_0x27fe34(0x2ed)][_0x27fe34(0x3a3)]),_0x11510f=_0x36be8e[_0x27fe34(0x39f)],_0x34c48d=_0x1b0fc1['m1Prime'];}_0x10f23d[_0x27fe34(0x1c6)]({'undoCache':_0x30b489,'redoCache':_0xa461d0});}[_0x5b8990(0x1c7)](_0x347dce){const _0x13f76d=_0x5b8990,{unitID:_0x15452e}=_0x347dce,_0x101ba5=this[_0x13f76d(0x1db)][_0x13f76d(0x212)](_0x15452e)['with'](b[_0x13f76d(0x324)]),_0x343c4a=_0x101ba5[_0x13f76d(0x2c2)]();if(_0x343c4a==null)return;const _0x1a3cd0=[{'id':_0x13f76d(0x3ea),'params':{'unitId':_0x347dce[_0x13f76d(0x299)],'actions':null,'textRanges':[_0x343c4a]}}],_0x3f1a99=this['_transformService'][_0x13f76d(0x319)](_0x347dce,_0x1a3cd0);if(!m[_0x13f76d(0x374)](_0x3f1a99))throw _0x3f1a99['error'];const _0x2e0859=_0x3f1a99['m2Prime'][0x0][_0x13f76d(0x3a3)][_0x13f76d(0x383)];Array['isArray'](_0x2e0859)&&_0x2e0859['length']&&_0x101ba5[_0x13f76d(0x23a)](_0x2e0859[0x0]);}};J=Xt([le(0x0,a[_0x5b8990(0x25d)](a['Injector'])),le(0x1,m[_0x5b8990(0x173)]),le(0x2,p[_0x5b8990(0x28c)])],J);var Gt=Object['getOwnPropertyDescriptor'],qt=(_0x4fb035,_0x57fb90,_0x392a33,_0x1a6d57)=>{const _0x6174a7=_0x5b8990;for(var _0x52ea46=_0x1a6d57>0x1?void 0x0:_0x1a6d57?Gt(_0x57fb90,_0x392a33):_0x57fb90,_0x4eab95=_0x4fb035[_0x6174a7(0x3e7)]-0x1,_0xc31a01;_0x4eab95>=0x0;_0x4eab95--)(_0xc31a01=_0x4fb035[_0x4eab95])&&(_0x52ea46=_0xc31a01(_0x52ea46)||_0x52ea46);return _0x52ea46;},_e=(_0x13ea26,_0x8ea985)=>(_0x4d697a,_0x4e388f)=>_0x8ea985(_0x4d697a,_0x4e388f,_0x13ea26);let Z=class{constructor(_0x29d7b1,_0xa4e41b,_0x5ce355){const _0x248f27=_0x5b8990;this[_0x248f27(0x1a8)]=_0x29d7b1,this[_0x248f27(0x2a1)]=_0xa4e41b,this[_0x248f27(0x3c5)]=_0x5ce355;}[_0x5b8990(0x197)](_0xe753de){const _0x51750d=_0x5b8990;this[_0x51750d(0x1f2)](_0xe753de);}[_0x5b8990(0x38f)](_0x231ce9){const _0x351c55=_0x5b8990,{unitID:_0x3278f3}=_0x231ce9,{collaboration:_0x12e825}=this[_0x351c55(0x3c5)][_0x351c55(0x24c)](_0x3278f3);if(_0x12e825[_0x351c55(0x3e7)]===0x0)return _0x231ce9;let _0x4cbd4c=a[_0x351c55(0x270)]['deepClone'](_0x231ce9[_0x351c55(0x310)][0x0]);for(let _0x223006=0x0;_0x223006<_0x12e825['length'];_0x223006++){const _0x5e7733={'id':_0x351c55(0x3ea),'params':{'unitId':_0x12e825[_0x223006][_0x351c55(0x39c)],..._0x12e825[_0x223006][_0x351c55(0x278)]}},_0x50295b=this[_0x351c55(0x2a1)][_0x351c55(0x25b)](_0x4cbd4c,_0x5e7733,!0x1);if(m[_0x351c55(0x188)](_0x50295b))throw _0x50295b['error'];_0x4cbd4c=_0x50295b['m1Prime'];}return{...a[_0x351c55(0x270)][_0x351c55(0x21d)](_0x231ce9),'mutations':[_0x4cbd4c]};}[_0x5b8990(0x1f2)](_0x37e9a3){const _0x2cf231=_0x5b8990,{unitID:_0x1f469e}=_0x37e9a3,{history:_0x567fa6,collaboration:_0x51521d}=this[_0x2cf231(0x3c5)]['getStateCache'](_0x1f469e);if(_0x567fa6[_0x2cf231(0x3e7)]===0x0&&_0x51521d[_0x2cf231(0x3e7)]===0x0)return;const _0x5e5f7d=[],_0x4d7868=[];let _0x3b956b=a[_0x2cf231(0x270)]['deepClone'](_0x37e9a3[_0x2cf231(0x310)][0x0]),_0x4ead5c=a['Tools'][_0x2cf231(0x21d)](_0x37e9a3[_0x2cf231(0x310)][0x0]);for(let _0x23a247=_0x567fa6[_0x2cf231(0x3e7)]-0x1;_0x23a247>=0x0;_0x23a247--){const _0x51f2e6={'id':_0x2cf231(0x3ea),'params':{'unitId':_0x567fa6[_0x23a247][_0x2cf231(0x39c)],..._0x567fa6[_0x23a247][_0x2cf231(0x2b4)]}},_0xbc6919={'id':_0x2cf231(0x3ea),'params':{'unitId':_0x567fa6[_0x23a247][_0x2cf231(0x39c)],..._0x567fa6[_0x23a247]['redoState']}},_0x3cb3ba=this[_0x2cf231(0x2a1)][_0x2cf231(0x25b)](_0x3b956b,_0x51f2e6,!0x1),_0x2a8c4f=this[_0x2cf231(0x2a1)]['transformMutation'](_0x4ead5c,_0xbc6919,!0x1);if(m[_0x2cf231(0x188)](_0x3cb3ba))throw _0x3cb3ba['error'];if(m[_0x2cf231(0x188)](_0x2a8c4f))throw _0x2a8c4f['error'];_0x5e5f7d['unshift']({..._0x567fa6[_0x23a247],'undoState':_0x3cb3ba[_0x2cf231(0x2ed)][_0x2cf231(0x3a3)],'redoState':_0x2a8c4f[_0x2cf231(0x2ed)]['params']}),_0x3b956b=_0x3cb3ba['m1Prime'],_0x4ead5c=_0x2a8c4f['m1Prime'];}_0x3b956b=a[_0x2cf231(0x270)][_0x2cf231(0x21d)](_0x37e9a3[_0x2cf231(0x310)][0x0]),_0x4ead5c=a['Tools'][_0x2cf231(0x21d)](_0x37e9a3[_0x2cf231(0x310)][0x0]);for(let _0x3c8f3f=_0x51521d['length']-0x1;_0x3c8f3f>=0x0;_0x3c8f3f--){const _0x19503c={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x51521d[_0x3c8f3f]['unitId'],..._0x51521d[_0x3c8f3f][_0x2cf231(0x2b4)]}},_0x44c319={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x51521d[_0x3c8f3f][_0x2cf231(0x39c)],..._0x51521d[_0x3c8f3f][_0x2cf231(0x278)]}},_0x5c0697=this[_0x2cf231(0x2a1)][_0x2cf231(0x25b)](_0x3b956b,_0x19503c,!0x1),_0x56e451=this[_0x2cf231(0x2a1)][_0x2cf231(0x25b)](_0x4ead5c,_0x44c319,!0x1);if(m['isTransformMutationFailure'](_0x5c0697))throw _0x5c0697[_0x2cf231(0x1e5)];if(m['isTransformMutationFailure'](_0x56e451))throw _0x56e451['error'];_0x4d7868[_0x2cf231(0x2a8)]({..._0x51521d[_0x3c8f3f],'undoState':_0x5c0697['m2Prime']['params'],'redoState':_0x56e451[_0x2cf231(0x2ed)][_0x2cf231(0x3a3)]}),_0x3b956b=_0x5c0697[_0x2cf231(0x39f)],_0x4ead5c=_0x56e451[_0x2cf231(0x39f)];}this[_0x2cf231(0x3c5)][_0x2cf231(0x1e3)](_0x1f469e,{'history':_0x5e5f7d,'collaboration':_0x4d7868});}};Z=qt([_e(0x0,a[_0x5b8990(0x25d)](a[_0x5b8990(0x39d)])),_e(0x1,m['ITransformService']),_e(0x2,a[_0x5b8990(0x25d)](b['DocStateChangeManagerService']))],Z);var Kt=Object[_0x5b8990(0x184)],zt=(_0x2e19d6,_0x5c8a3,_0x295b9d,_0x57db85)=>{const _0xee97d8=_0x5b8990;for(var _0x26271c=_0x57db85>0x1?void 0x0:_0x57db85?Kt(_0x5c8a3,_0x295b9d):_0x5c8a3,_0x491733=_0x2e19d6[_0xee97d8(0x3e7)]-0x1,_0x3be0cd;_0x491733>=0x0;_0x491733--)(_0x3be0cd=_0x2e19d6[_0x491733])&&(_0x26271c=_0x3be0cd(_0x26271c)||_0x26271c);return _0x26271c;},Me=(_0x35d7d3,_0x22450d)=>(_0x79d284,_0x4d9e1e)=>_0x22450d(_0x79d284,_0x4d9e1e,_0x35d7d3);let Q=class{constructor(_0x55c5d9,_0x236e6f){const _0x53fdb6=_0x5b8990;this['_injector']=_0x55c5d9,this[_0x53fdb6(0x2a1)]=_0x236e6f;}[_0x5b8990(0x16b)](_0x101eff){const _0x3170ca=_0x5b8990;var _0x5aef3c;const _0x115588=this[_0x3170ca(0x1a8)]['get'](Y[_0x3170ca(0x3cf)]),_0x344d77=(_0x5aef3c=_0x115588[_0x3170ca(0x375)]())!=null?_0x5aef3c:[];if(_0x344d77['length']===0x0)return;const _0x1c567a=_0x101eff[_0x3170ca(0x299)],_0x5d9ba4=[{'id':_0x3170ca(0x3ea),'params':{'unitId':_0x1c567a,'actions':null,'textRanges':_0x344d77}}],_0x17b757=this[_0x3170ca(0x2a1)][_0x3170ca(0x319)](_0x101eff,_0x5d9ba4);if(!m[_0x3170ca(0x374)](_0x17b757))throw _0x17b757[_0x3170ca(0x1e5)];const _0x228eb4=_0x17b757['m2Prime'][0x0][_0x3170ca(0x3a3)][_0x3170ca(0x383)];Array[_0x3170ca(0x242)](_0x228eb4)&&_0x228eb4[_0x3170ca(0x3e7)]&&_0x115588[_0x3170ca(0x221)](_0x228eb4,{'unitId':_0x1c567a,'subUnitId':_0x1c567a},!0x1);}};Q=zt([Me(0x0,a[_0x5b8990(0x25d)](a[_0x5b8990(0x39d)])),Me(0x1,m[_0x5b8990(0x173)])],Q);var Jt=Object['getOwnPropertyDescriptor'],Zt=(_0x560c95,_0x3a38cc,_0xe0cf1e,_0xe81bc9)=>{const _0x3b556d=_0x5b8990;for(var _0x5bc113=_0xe81bc9>0x1?void 0x0:_0xe81bc9?Jt(_0x3a38cc,_0xe0cf1e):_0x3a38cc,_0x4ab09c=_0x560c95[_0x3b556d(0x3e7)]-0x1,_0xb5b71a;_0x4ab09c>=0x0;_0x4ab09c--)(_0xb5b71a=_0x560c95[_0x4ab09c])&&(_0x5bc113=_0xb5b71a(_0x5bc113)||_0x5bc113);return _0x5bc113;},N=(_0x20e774,_0x18df22)=>(_0x48b8e4,_0x2fa0d8)=>_0x18df22(_0x48b8e4,_0x2fa0d8,_0x20e774);let ee=class extends a['Disposable']{constructor(_0x4c6e1b,_0x3637fe,_0xf33801,_0x2968ad,_0x336f9f,_0x4059f6,_0x918c68,_0x2fc73c){const _0x57c3df=_0x5b8990;super(),_(this,_0x57c3df(0x385),new d['BehaviorSubject'](u[_0x57c3df(0x36d)]['NOT_COLLAB'])),(this['_docStateChangeManagerService']=_0x4c6e1b,this[_0x57c3df(0x240)]=_0x3637fe,this[_0x57c3df(0x238)]=_0xf33801,this[_0x57c3df(0x24d)]=_0x2968ad,this['_docTransformSelectionsService']=_0x336f9f,this[_0x57c3df(0x3a1)]=_0x4059f6,this[_0x57c3df(0x3e2)]=_0x918c68,this[_0x57c3df(0x36a)]=_0x2fc73c,this[_0x57c3df(0x32d)]());}['_initEntityListener'](){const _0x391330=_0x5b8990;this['disposeWithMe'](this['_collaborationController'][_0x391330(0x3d4)][_0x391330(0x1f0)](_0x8856df=>{const _0x667ebc=_0x391330,_0x517cb8=this[_0x667ebc(0x3c5)][_0x667ebc(0x2e3)]['subscribe'](_0x55a4f7=>{const _0x378665=_0x667ebc;if(_0x55a4f7==null)return;const {unitId:_0xeac571,redoState:_0x536573,commandId:_0x22a346}=_0x55a4f7;if(_0xeac571!==_0x8856df[_0x378665(0x299)])return;const _0x4ee75a={'id':_0x22a346,'type':a['CommandType'][_0x378665(0x321)],'params':{'unitId':_0xeac571,'actions':_0x536573['actions'],'textRanges':null}};_0x8856df[_0x378665(0x3b6)](_0x4ee75a);});if(_0x8856df['disposeWithMe'](_0x517cb8),_0x8856df instanceof u['DocCollaborationEntity']){const _0x422ac9={'onTransformIME':_0x53d5fc=>this[_0x667ebc(0x238)][_0x667ebc(0x177)](_0x53d5fc),'onTransformState':_0x205335=>this[_0x667ebc(0x24d)][_0x667ebc(0x197)](_0x205335),'onTransformSelections':_0x64c836=>this[_0x667ebc(0x32b)][_0x667ebc(0x16b)](_0x64c836),'onSyncEditingCollabCursor':_0x553bc2=>this[_0x667ebc(0x3a1)][_0x667ebc(0x16e)](_0x553bc2),'onTransformRemoteChangesetByIMECache':_0x17358b=>this[_0x667ebc(0x238)][_0x667ebc(0x38f)](_0x17358b),'onTransformRemoteChangesetByStateCache':_0x11f3da=>this[_0x667ebc(0x24d)][_0x667ebc(0x38f)](_0x11f3da)};_0x8856df['addHandlerCallback'](_0x422ac9);}}));}};ee=Zt([N(0x0,a[_0x5b8990(0x25d)](b['DocStateChangeManagerService'])),N(0x1,a[_0x5b8990(0x25d)](u['CollaborationController'])),N(0x2,a[_0x5b8990(0x25d)](J)),N(0x3,a[_0x5b8990(0x25d)](Z)),N(0x4,a[_0x5b8990(0x25d)](Q)),N(0x5,a[_0x5b8990(0x25d)](pe)),N(0x6,O[_0x5b8990(0x21f)]),N(0x7,a[_0x5b8990(0x25d)](a[_0x5b8990(0x175)]))],ee);var Qt=Object['getOwnPropertyDescriptor'],es=(_0x1604ef,_0x31d9ba,_0x1c88d5,_0x512c02)=>{for(var _0x254188=_0x512c02>0x1?void 0x0:_0x512c02?Qt(_0x31d9ba,_0x1c88d5):_0x31d9ba,_0xd1ec57=_0x1604ef['length']-0x1,_0x5e51db;_0xd1ec57>=0x0;_0xd1ec57--)(_0x5e51db=_0x1604ef[_0xd1ec57])&&(_0x254188=_0x5e51db(_0x254188)||_0x254188);return _0x254188;},he=(_0x4904a0,_0x36668b)=>(_0x147449,_0x43fd95)=>_0x36668b(_0x147449,_0x43fd95,_0x4904a0);let me=class extends a['Disposable']{constructor(_0x787fe0,_0x2d0901,_0x25ca5e){const _0x3584f1=_0x5b8990;super(),_(this,_0x3584f1(0x2f1),new Map()),_(this,_0x3584f1(0x3a7),new Map()),_(this,_0x3584f1(0x30d),!0x1),(this[_0x3584f1(0x201)]=_0x787fe0,this[_0x3584f1(0x36e)]=_0x2d0901,this[_0x3584f1(0x339)]=_0x25ca5e);}[_0x5b8990(0x230)](){const _0x5d766d=_0x5b8990;this[_0x5d766d(0x30d)]=!0x0;}[_0x5b8990(0x3b8)](){this['_disabled']=!0x1;}get[_0x5b8990(0x1c9)](){const _0x1dc877=_0x5b8990;return this[_0x1dc877(0x3a7)];}[_0x5b8990(0x232)](){const _0x35351e=_0x5b8990;this[_0x35351e(0x370)]()['then'](()=>super[_0x35351e(0x232)]());}async[_0x5b8990(0x1dd)](_0x3a7aaa){const _0x40aa5e=_0x5b8990;return this[_0x40aa5e(0x30d)]?null:this[_0x40aa5e(0x36e)][_0x40aa5e(0x38a)](u['getLocalCacheKey'](_0x3a7aaa));}async[_0x5b8990(0x3c9)](_0x34fcce,_0x1e4a8f){const _0xe11af6=_0x5b8990;return!!this[_0xe11af6(0x36e)][_0xe11af6(0x398)](_0x34fcce,_0x1e4a8f);}['updateOfflineData'](_0x15841c,_0x483b1b,_0x2fe4bf,_0x55ee66){const _0x4d3b16=_0x5b8990,_0x370b43=this[_0x4d3b16(0x339)][_0x4d3b16(0x3a9)](_0x15841c);this[_0x4d3b16(0x2f1)][_0x4d3b16(0x1a0)](_0x15841c,{'unitID':_0x15841c,'type':_0x483b1b,'awaitingChangeset':_0x2fe4bf,'mutations':_0x55ee66,'rev':_0x370b43}),this[_0x4d3b16(0x3a7)][_0x4d3b16(0x181)](_0x15841c)||this[_0x4d3b16(0x37d)](_0x15841c);}['_scheduleSaving'](_0x52d75c){const _0x5cbaa1=_0x5b8990,_0x2ab957=this['_getSaveTimeout']();_0x2ab957===0x0?this[_0x5cbaa1(0x286)](_0x52d75c):this[_0x5cbaa1(0x3a7)][_0x5cbaa1(0x1a0)](_0x52d75c,setTimeout(()=>this[_0x5cbaa1(0x286)](_0x52d75c),_0x2ab957));}['_getSaveTimeout'](){const _0x4fa0d6=_0x5b8990;var _0x744110;return(_0x744110=this[_0x4fa0d6(0x201)]['getConfig'](u['LOCAL_CACHE_INTERVAL_KEY']))!=null?_0x744110:u[_0x4fa0d6(0x3e3)];}['_saveCache'](_0x3d9fbf){const _0x171ae9=_0x5b8990,_0xfa8b9c=this[_0x171ae9(0x3a7)][_0x171ae9(0x2ad)](_0x3d9fbf);return _0xfa8b9c!==void 0x0&&window[_0x171ae9(0x265)](_0xfa8b9c),this['_localStorageService'][_0x171ae9(0x398)](u[_0x171ae9(0x3d6)](_0x3d9fbf),this[_0x171ae9(0x2f1)][_0x171ae9(0x2ad)](_0x3d9fbf))[_0x171ae9(0x3a5)](()=>this[_0x171ae9(0x3a7)][_0x171ae9(0x371)](_0x3d9fbf));}async['exhaustSavingTask'](){const _0x1f6776=_0x5b8990,_0x9a8e22=[];this[_0x1f6776(0x3a7)][_0x1f6776(0x312)]((_0x2fb8bb,_0x574fd6)=>{const _0x156900=_0x1f6776;window[_0x156900(0x265)](_0x2fb8bb),_0x9a8e22['push'](this[_0x156900(0x286)](_0x574fd6)[_0x156900(0x3a5)](()=>{const _0x5db8c9=_0x156900;this[_0x5db8c9(0x3a7)][_0x5db8c9(0x371)](_0x574fd6);}));}),await Promise['all'](_0x9a8e22);}};me=es([he(0x0,a[_0x5b8990(0x239)]),he(0x1,a[_0x5b8990(0x1e4)]),he(0x2,a['Inject'](m[_0x5b8990(0x2f7)]))],me);class Be extends a[_0x5b8990(0x3d0)]{constructor(){const _0x51f063=_0x5b8990;super(),_(this,_0x51f063(0x33e)),this[_0x51f063(0x33e)]=d[_0x51f063(0x378)](window,_0x51f063(0x2fa))['pipe'](d[_0x51f063(0x2dd)](this['dispose$']),d[_0x51f063(0x1ff)](0x1),d[_0x51f063(0x367)](void 0x0));}[_0x5b8990(0x1a1)](_0x1c1f33,_0x5ccd48,_0x379cdb=!0x1){const _0x3245c3=_0x5b8990,_0x183e3b=new URL(window[_0x3245c3(0x283)][_0x3245c3(0x263)]);_0x183e3b[_0x3245c3(0x3da)]['set'](_0x1c1f33,_0x5ccd48),_0x379cdb?window[_0x3245c3(0x1a6)][_0x3245c3(0x334)]('','',_0x183e3b['toString']()):window[_0x3245c3(0x1a6)][_0x3245c3(0x271)]('','',_0x183e3b[_0x3245c3(0x27b)]());}['removeParam'](_0x3d3e56,_0x383b95=!0x1){const _0x2e472e=_0x5b8990,_0x54106b=new URL(window[_0x2e472e(0x283)]['href']);_0x54106b[_0x2e472e(0x3da)][_0x2e472e(0x371)](_0x3d3e56),_0x383b95?window[_0x2e472e(0x1a6)][_0x2e472e(0x334)]('','',_0x54106b[_0x2e472e(0x27b)]()):window[_0x2e472e(0x1a6)][_0x2e472e(0x271)]('','',_0x54106b['toString']());}[_0x5b8990(0x357)](_0x419e7d){const _0x40e3e2=_0x5b8990;var _0x35e83d;return(_0x35e83d=new URL(window['location'][_0x40e3e2(0x263)])[_0x40e3e2(0x3da)][_0x40e3e2(0x2ad)](_0x419e7d))!=null?_0x35e83d:void 0x0;}}var ts=Object['defineProperty'],ss=Object[_0x5b8990(0x184)],ns=(_0x151bf6,_0x454ae9,_0x39bb0c)=>_0x454ae9 in _0x151bf6?ts(_0x151bf6,_0x454ae9,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x39bb0c}):_0x151bf6[_0x454ae9]=_0x39bb0c,is=(_0x5ded12,_0x12c550,_0x160baf,_0xf3bae2)=>{const _0x4adb78=_0x5b8990;for(var _0x15e2d0=_0xf3bae2>0x1?void 0x0:_0xf3bae2?ss(_0x12c550,_0x160baf):_0x12c550,_0x2c9e3f=_0x5ded12[_0x4adb78(0x3e7)]-0x1,_0x1246c5;_0x2c9e3f>=0x0;_0x2c9e3f--)(_0x1246c5=_0x5ded12[_0x2c9e3f])&&(_0x15e2d0=_0x1246c5(_0x15e2d0)||_0x15e2d0);return _0x15e2d0;},ue=(_0x188d0a,_0x15cc3c)=>(_0x19b1d3,_0x3f8af7)=>_0x15cc3c(_0x19b1d3,_0x3f8af7,_0x188d0a),rs=(_0x3ddce0,_0x1b3c92,_0x1fef12)=>ns(_0x3ddce0,_0x1b3c92+'',_0x1fef12);const os=_0x5b8990(0x3ac);exports[_0x5b8990(0x3b4)]=class extends a[_0x5b8990(0x1be)]{constructor(_0x6d2d7d=Ne,_0x5c6ed9,_0x16cda8,_0x302197){const _0x4eaf7e=_0x5b8990;super(),this['_config']=_0x6d2d7d,this[_0x4eaf7e(0x1db)]=_0x5c6ed9,this[_0x4eaf7e(0x1a8)]=_0x16cda8,this[_0x4eaf7e(0x201)]=_0x302197;const {..._0x1ce24d}=a[_0x4eaf7e(0x1df)]({},Ne,this[_0x4eaf7e(0x1d2)]);this[_0x4eaf7e(0x201)][_0x4eaf7e(0x294)](Ft,_0x1ce24d);}[_0x5b8990(0x220)](){const _0x47a0ff=_0x5b8990;this[_0x47a0ff(0x168)](),this[_0x47a0ff(0x361)]();}['onRendered'](){const _0x248964=_0x5b8990;this[_0x248964(0x277)]();}[_0x5b8990(0x168)](){const _0x1b5ce9=_0x5b8990;var _0x4f193e;const _0x5a85ee=[[Ce],[Q],[J],[Z],[pe],[Ee,{'useClass':Be}],[q[_0x1b5ce9(0x366)],{'useClass':q[_0x1b5ce9(0x279)]}],[u[_0x1b5ce9(0x246)],{'useClass':me}],[exports[_0x1b5ce9(0x2df)]],[ee],[z],[x],[fe],[exports[_0x1b5ce9(0x3e0)]]];a[_0x1b5ce9(0x20f)](this['_injector'],a[_0x1b5ce9(0x2ba)](_0x5a85ee,(_0x4f193e=this[_0x1b5ce9(0x1d2)])==null?void 0x0:_0x4f193e[_0x1b5ce9(0x39b)]));}[_0x5b8990(0x277)](){const _0xa957ca=_0x5b8990;this[_0xa957ca(0x2ee)](this[_0xa957ca(0x1db)][_0xa957ca(0x316)](a['UniverInstanceType'][_0xa957ca(0x203)],[ve])),this[_0xa957ca(0x2ee)](this['_renderManagerService'][_0xa957ca(0x316)](a[_0xa957ca(0x2ab)][_0xa957ca(0x3bf)],[ge]));}['_initDependencies'](){const _0x44f53a=_0x5b8990;a[_0x44f53a(0x3f1)](this['_injector'],[[x],[exports['DesktopCollaborationStatusDisplayController']],[ee],[z],[exports[_0x44f53a(0x3e0)]]]);}},rs(exports[_0x5b8990(0x3b4)],'pluginName',os),exports[_0x5b8990(0x3b4)]=is([a['DependentOn'](u[_0x5b8990(0x350)]),ue(0x1,p[_0x5b8990(0x28c)]),ue(0x2,a[_0x5b8990(0x25d)](a[_0x5b8990(0x39d)])),ue(0x3,a[_0x5b8990(0x239)])],exports[_0x5b8990(0x3b4)]);var as=Object['getOwnPropertyDescriptor'],cs=(_0x28f7eb,_0x49bca5,_0x5d4e82,_0x56fc0a)=>{const _0x1daeaa=_0x5b8990;for(var _0x4ef9ee=_0x56fc0a>0x1?void 0x0:_0x56fc0a?as(_0x49bca5,_0x5d4e82):_0x49bca5,_0x10e4c2=_0x28f7eb[_0x1daeaa(0x3e7)]-0x1,_0x2e7806;_0x10e4c2>=0x0;_0x10e4c2--)(_0x2e7806=_0x28f7eb[_0x10e4c2])&&(_0x4ef9ee=_0x2e7806(_0x4ef9ee)||_0x4ef9ee);return _0x4ef9ee;},W=(_0x148f8c,_0x2ad0b0)=>(_0xc31bde,_0x59cab8)=>_0x2ad0b0(_0xc31bde,_0x59cab8,_0x148f8c);exports[_0x5b8990(0x200)]=class extends u[_0x5b8990(0x269)]{constructor(_0x8ac370,_0x48b53b,_0x540b1d,_0x4b1f77,_0x4471cc){super(_0x8ac370,_0x48b53b,_0x540b1d,_0x4b1f77,_0x4471cc);}async[_0x5b8990(0x262)](_0x836f8e){const _0x4904c9=_0x5b8990,_0x2dcc3a=await this['_getSessionTicket'](),_0x46f979=this[_0x4904c9(0x1cc)](_0x836f8e,_0x2dcc3a);return this[_0x4904c9(0x1c2)](_0x46f979);}[_0x5b8990(0x1cc)](_0x28f7e3,_0x5db9ee){const _0x337e79=_0x5b8990,_0x189ca3=typeof window>'u'?new URL(_0x28f7e3):new URL(_0x28f7e3,window['location']['origin']);_0x189ca3[_0x337e79(0x3da)][_0x337e79(0x1a0)]('sessionTicket',_0x5db9ee);const _0x49aafc=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x337e79(0x283)][_0x337e79(0x3ed)]);return _0x49aafc[_0x337e79(0x2ad)](_0x337e79(0x30b))&&_0x189ca3[_0x337e79(0x3da)][_0x337e79(0x1a0)](_0x337e79(0x30b),_0x49aafc[_0x337e79(0x2ad)](_0x337e79(0x30b))),_0x189ca3[_0x337e79(0x27b)]();}async[_0x5b8990(0x301)](){const _0x51ada9=_0x5b8990;var _0x51abab,_0x1246fa,_0x32daf8;const _0x58de6a=this[_0x51ada9(0x201)][_0x51ada9(0x251)](u[_0x51ada9(0x306)]),_0x5aaf8c=(_0x51abab=_0x58de6a==null?void 0x0:_0x58de6a[_0x51ada9(0x34b)])!=null?_0x51abab:u[_0x51ada9(0x2e5)];return(_0x32daf8=(_0x1246fa=(await this[_0x51ada9(0x1d0)][_0x51ada9(0x2ad)](_0x5aaf8c,{'headers':{'Content-Type':_0x51ada9(0x29f)}}))[_0x51ada9(0x3e1)])==null?void 0x0:_0x1246fa[_0x51ada9(0x236)])!=null?_0x32daf8:'';}},exports[_0x5b8990(0x200)]=cs([W(0x0,a[_0x5b8990(0x25d)](a['Injector'])),W(0x1,a['Inject'](q[_0x5b8990(0x194)])),W(0x2,a[_0x5b8990(0x239)]),W(0x3,a[_0x5b8990(0x1e7)]),W(0x4,m[_0x5b8990(0x1f7)])],exports[_0x5b8990(0x200)]);const Le=0x7530,Pe=_0x5b8990(0x3cd);class ls extends a[_0x5b8990(0x19a)]{constructor(){const _0x52e05b=_0x5b8990;super(),_(this,'_id',a[_0x52e05b(0x2b3)]()),_(this,_0x52e05b(0x2f4),new Set()),_(this,_0x52e05b(0x345),new Map()),_(this,_0x52e05b(0x3aa),null),_(this,'_clearOtherTimers',new Map()),_(this,_0x52e05b(0x21b),new Map()),this[_0x52e05b(0x2c4)]();}[_0x5b8990(0x232)](){const _0x2639bb=_0x5b8990;super['dispose'](),this[_0x2639bb(0x189)][_0x2639bb(0x312)]((_0x21e1da,_0x5548fe)=>this['_removeClearOtherTimer'](_0x5548fe)),this[_0x2639bb(0x3aa)]&&window[_0x2639bb(0x347)](this['_heartbeatTimer']);}[_0x5b8990(0x211)](_0x14f6b4){const _0x44fa9b=_0x5b8990;return this[_0x44fa9b(0x356)](_0x14f6b4)['pipe'](d['distinctUntilChanged']());}[_0x5b8990(0x3b5)](_0x6366c8){const _0x32f4e3=_0x5b8990;this[_0x32f4e3(0x2f4)][_0x32f4e3(0x227)]===0x0&&this[_0x32f4e3(0x29c)](),this[_0x32f4e3(0x2f4)][_0x32f4e3(0x23c)](_0x6366c8),this[_0x32f4e3(0x2b8)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x6366c8],'isForwarded':!0x1});}[_0x5b8990(0x26c)](_0x1e6c5b){const _0x15f6e1=_0x5b8990;this['_selfUnitIDs'][_0x15f6e1(0x371)](_0x1e6c5b),this[_0x15f6e1(0x2f4)][_0x15f6e1(0x227)]===0x0&&this[_0x15f6e1(0x3aa)]&&window['clearInterval'](this[_0x15f6e1(0x3aa)]);}[_0x5b8990(0x2c4)](){const _0x5a48c5=_0x5b8990;this[_0x5a48c5(0x2ee)](a[_0x5a48c5(0x349)](d[_0x5a48c5(0x378)](window,'storage')[_0x5a48c5(0x1f0)](_0x1d25b3=>{const _0x3da87b=_0x5a48c5;if(_0x1d25b3[_0x3da87b(0x327)]!==Pe||!_0x1d25b3['newValue'])return;const _0x934b08=JSON[_0x3da87b(0x31f)](_0x1d25b3['newValue']);this['_handleEvent'](_0x934b08);}))),window[_0x5a48c5(0x3de)](_0x5a48c5(0x229),()=>this[_0x5a48c5(0x2b8)]({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0x5a48c5(0x1dc)](this[_0x5a48c5(0x2f4)])}));}[_0x5b8990(0x1f4)](_0x37794d){const _0x29afdb=_0x5b8990;switch(_0x37794d[_0x29afdb(0x390)]){case 0x0:this[_0x29afdb(0x3dd)](_0x37794d);break;case 0x1:this['_handleLeaveEvent'](_0x37794d);break;case 0x2:this[_0x29afdb(0x21a)](_0x37794d);break;}}['_handleJoinEvent'](_0x5b0c50){const _0x1cdbc0=_0x5b8990,{unitIDs:_0x18ff90,memberID:_0x497878,isForwarded:_0x5de145}=_0x5b0c50;_0x18ff90[_0x1cdbc0(0x312)](_0x5574c3=>{const _0x3a7fab=_0x1cdbc0;if(!_0x5de145&&this['_unitOnClients'][_0x3a7fab(0x181)](_0x5574c3)&&this[_0x3a7fab(0x356)](_0x5574c3)[_0x3a7fab(0x2c7)](u[_0x3a7fab(0x3f2)][_0x3a7fab(0x1ce)]),!this[_0x3a7fab(0x345)][_0x3a7fab(0x181)](_0x5574c3)||!this[_0x3a7fab(0x345)][_0x3a7fab(0x2ad)](_0x5574c3)['has'](_0x497878)){const _0x180bbe=this['_unitOnClients']['get'](_0x5574c3)||new Set();_0x180bbe[_0x3a7fab(0x23c)](_0x497878),this['_unitOnClients'][_0x3a7fab(0x1a0)](_0x5574c3,_0x180bbe),this[_0x3a7fab(0x1b1)](_0x497878);}}),_0x5de145||this[_0x1cdbc0(0x2b8)]({'type':0x0,'memberID':this[_0x1cdbc0(0x2ef)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x5b8990(0x1b1)](_0x327dfc){const _0x4d0227=_0x5b8990;this[_0x4d0227(0x28e)](_0x327dfc);const _0x3801d2=window[_0x4d0227(0x235)](()=>{const _0x48140a=_0x4d0227;this[_0x48140a(0x345)][_0x48140a(0x312)](_0x239958=>{_0x239958['delete'](_0x327dfc);});},Le*0x2);this['_clearOtherTimers']['set'](_0x327dfc,_0x3801d2);}[_0x5b8990(0x28e)](_0x403ea9){const _0x71b69d=_0x5b8990;if(this[_0x71b69d(0x189)]['has'](_0x403ea9)){const _0x509de0=this['_clearOtherTimers'][_0x71b69d(0x2ad)](_0x403ea9);_0x509de0&&window[_0x71b69d(0x265)](_0x509de0),this[_0x71b69d(0x189)][_0x71b69d(0x1a0)](_0x403ea9,null);}}[_0x5b8990(0x16c)](_0x4c5407){const _0x4a6d47=_0x5b8990,{memberID:_0x3d12ef,unitIDs:_0xfc6fa4}=_0x4c5407;_0xfc6fa4[_0x4a6d47(0x312)](_0x91625a=>{const _0x6eb2a5=_0x4a6d47;var _0x383c8a;const _0x35c157=this[_0x6eb2a5(0x345)][_0x6eb2a5(0x2ad)](_0x91625a);_0x35c157&&(_0x35c157[_0x6eb2a5(0x371)](_0x3d12ef),(_0x383c8a=this[_0x6eb2a5(0x356)](_0x91625a))==null||_0x383c8a[_0x6eb2a5(0x2c7)](_0x35c157[_0x6eb2a5(0x227)]===0x0?u[_0x6eb2a5(0x3f2)][_0x6eb2a5(0x2eb)]:u[_0x6eb2a5(0x3f2)]['OTHER_CLIENTS_EDITING']));}),this[_0x4a6d47(0x28e)](_0x3d12ef);}[_0x5b8990(0x21a)](_0x106de3){const _0x35a003=_0x5b8990;this[_0x35a003(0x1b1)](_0x106de3['memberID']);}[_0x5b8990(0x2b8)](_0x1a00d1){const _0xf73ac4=_0x5b8990;localStorage[_0xf73ac4(0x398)](Pe,JSON[_0xf73ac4(0x3c1)](_0x1a00d1));}[_0x5b8990(0x29c)](){const _0x36b3f8=_0x5b8990;this[_0x36b3f8(0x3aa)]=window['setInterval'](()=>{const _0x258adb=_0x36b3f8;this[_0x258adb(0x2b8)]({'type':0x2,'memberID':this[_0x258adb(0x2ef)]});},Le);}[_0x5b8990(0x356)](_0xb5c171){const _0x4591b7=_0x5b8990;return this[_0x4591b7(0x21b)][_0x4591b7(0x181)](_0xb5c171)||this[_0x4591b7(0x21b)][_0x4591b7(0x1a0)](_0xb5c171,new d[(_0x4591b7(0x3e4))](u[_0x4591b7(0x3f2)]['NO_OTHER_CLIENTS_EDITING'])),this[_0x4591b7(0x21b)][_0x4591b7(0x2ad)](_0xb5c171);}}var ke=(_0x46f12d=>(_0x46f12d[_0x46f12d[_0x5b8990(0x373)]=0x0]=_0x5b8990(0x373),_0x46f12d[_0x46f12d['OK']=0x1]='OK',_0x46f12d[_0x46f12d['INTERNAL_ERROR']=0x2]='INTERNAL_ERROR',_0x46f12d[_0x46f12d[_0x5b8990(0x2fd)]=0x3]=_0x5b8990(0x2fd),_0x46f12d[_0x46f12d[_0x5b8990(0x19e)]=0x4]=_0x5b8990(0x19e),_0x46f12d[_0x46f12d[_0x5b8990(0x354)]=0x5]=_0x5b8990(0x354),_0x46f12d[_0x46f12d[_0x5b8990(0x206)]=0x6]=_0x5b8990(0x206),_0x46f12d[_0x46f12d['INVALID_ARGUMENT']=0x7]=_0x5b8990(0x3e5),_0x46f12d[_0x46f12d[_0x5b8990(0x1b4)]=0x8]=_0x5b8990(0x1b4),_0x46f12d[_0x46f12d['COMPLETION_FINISHED']=0x9]=_0x5b8990(0x3e6),_0x46f12d[_0x46f12d[_0x5b8990(0x35e)]=0xa]=_0x5b8990(0x35e),_0x46f12d[_0x46f12d[_0x5b8990(0x1bb)]=0x1389]=_0x5b8990(0x1bb),_0x46f12d[_0x46f12d['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x5b8990(0x3f5),_0x46f12d[_0x46f12d[_0x5b8990(0x2d4)]=0x1772]=_0x5b8990(0x2d4),_0x46f12d[_0x46f12d[_0x5b8990(0x281)]=0x1773]=_0x5b8990(0x281),_0x46f12d[_0x46f12d[_0x5b8990(0x1aa)]=0x1b59]='APPLY_REJECT',_0x46f12d[_0x46f12d[_0x5b8990(0x19b)]=0x1b5a]=_0x5b8990(0x19b),_0x46f12d[_0x46f12d[_0x5b8990(0x27a)]=0x1b5b]=_0x5b8990(0x27a),_0x46f12d[_0x46f12d[_0x5b8990(0x228)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x46f12d[_0x46f12d[_0x5b8990(0x25c)]=0x1b5d]=_0x5b8990(0x25c),_0x46f12d[_0x46f12d[_0x5b8990(0x2cb)]=0x1f41]=_0x5b8990(0x2cb),_0x46f12d[_0x46f12d[_0x5b8990(0x315)]=0x2329]=_0x5b8990(0x315),_0x46f12d[_0x46f12d[_0x5b8990(0x2cc)]=0x232a]=_0x5b8990(0x2cc),_0x46f12d[_0x46f12d[_0x5b8990(0x1ab)]=0x232b]=_0x5b8990(0x1ab),_0x46f12d[_0x46f12d['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x5b8990(0x392),_0x46f12d[_0x46f12d['LICENSE_DISTRO_REJECTED']=0x232d]='LICENSE_DISTRO_REJECTED',_0x46f12d[_0x46f12d[_0x5b8990(0x178)]=0x2711]=_0x5b8990(0x178),_0x46f12d[_0x46f12d[_0x5b8990(0x34c)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x46f12d[_0x46f12d['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x5b8990(0x2d2),_0x46f12d[_0x46f12d[_0x5b8990(0x363)]=0x2714]=_0x5b8990(0x363),_0x46f12d[_0x46f12d[_0x5b8990(0x2a5)]=0x271a]=_0x5b8990(0x2a5),_0x46f12d[_0x46f12d[_0x5b8990(0x395)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x46f12d[_0x46f12d[_0x5b8990(0x1c3)]=0x2af9]=_0x5b8990(0x1c3),_0x46f12d[_0x46f12d[_0x5b8990(0x2f5)]=0x2ee1]=_0x5b8990(0x2f5),_0x46f12d[_0x46f12d[_0x5b8990(0x22c)]=0x2ee2]='INVALID_INVITE_CODE',_0x46f12d[_0x46f12d['INVITE_CODE_REQUIRED']=0x2ee3]=_0x5b8990(0x25e),_0x46f12d[_0x46f12d['USER_NOT_INVITED_CODE']=0x2ee4]='USER_NOT_INVITED_CODE',_0x46f12d[_0x46f12d[_0x5b8990(0x30f)]=0x2ee5]=_0x5b8990(0x30f),_0x46f12d[_0x46f12d[_0x5b8990(0x296)]=0x32c9]=_0x5b8990(0x296),_0x46f12d[_0x46f12d[_0x5b8990(0x19c)]=0x32ca]=_0x5b8990(0x19c),_0x46f12d[_0x46f12d[_0x5b8990(0x1f6)]=0x32cb]=_0x5b8990(0x1f6),_0x46f12d[_0x46f12d[_0x5b8990(0x1bd)]=-0x1]='UNRECOGNIZED',_0x46f12d))(ke||{}),_s=Object[_0x5b8990(0x184)],hs=(_0x1cf34e,_0x7d4220,_0x5cec7b,_0x3f7af2)=>{const _0x1afd36=_0x5b8990;for(var _0x520699=_0x3f7af2>0x1?void 0x0:_0x3f7af2?_s(_0x7d4220,_0x5cec7b):_0x7d4220,_0x339978=_0x1cf34e[_0x1afd36(0x3e7)]-0x1,_0x5d724e;_0x339978>=0x0;_0x339978--)(_0x5d724e=_0x1cf34e[_0x339978])&&(_0x520699=_0x5d724e(_0x520699)||_0x520699);return _0x520699;},de=(_0x1ca29c,_0x41cc10)=>(_0x15256c,_0x5cf110)=>_0x41cc10(_0x15256c,_0x5cf110,_0x1ca29c);function _0x1f87(){const _0x4e2171=['call','FromArray','measureText','className','takeUntil','concat','DesktopCollaborationStatusDisplayController','startsWith','@univerjs/rpc','function','docStateChange$','drawWith','DEFAULT_WS_SESSION_TICKET_URL','COLORS','black','resize','purple300','@univerjs/network','NO_OTHER_CLIENTS_EDITING','executeCommand','m2Prime','disposeWithMe','_id','collab-text-range-','_cachedData','_hover','RemoteUniscriptService','_selfUnitIDs','INVITE_CODE_HAS_BEEN_UES','registerBeforeClose','RevisionService','hovered','BuiltInUIPart','popstate','session.will-retry','bottom','PERMISSION_DENIED','_initEvent','fill','string','_getSessionTicket','_refreshCollabCursors','rxjs','find','RegularPolygon','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','permission.title','_handleHover','flatMap','on-line-single_clip0_910_349','runId','collabStatus.offline','_disabled','addObjects','INVITE_CODE_ALREADY_BOUND','mutations','colorChannel1','forEach','@univerjs/ui','_drawRectRange','LICENSE_MAX_UNITS_EXCEEDED','registerRenderModule','_startSheetCollabCursor','handleMoveRange','transformMutationsWithChangeset','CollaborationUIEventService','collabCursorState$','addObject','_themeService','AWAITING','parse','cursorInfo$','MUTATION','NOT_COLLAB','combineLatest','DocIMEInputManagerService','ranges','sheetID','key','color','_colorAssignService','getUniverSheetInstance','_docTransformSelectionsService','url(#$1','_initEntityListener','_color','_collabSessionService','@univerjs/engine-render','getCollabCursors$','_uiPartsService','whenReady','replaceState','getTypeOfUnitDisposed$','cursorInfo','saveImage','_docSkeletonManagerService','_revisionService','dispose$','getFocusedUnit','requireSession','DisposableCollection','urlChange$','none','div','endRow','selection','jsx','replace','_unitOnClients','SetTextSelectionsOperation','clearInterval','xlink:href','toDisposable','_name','wsSessionTicketUrl','YUUMI_URL_COL_OUT_OF_RANGE','handleIRemoveRow','_cursorInfo$','_document','UniverCollaborationClientPlugin','@univerjs-pro/collaboration-client','MessageType','JOIN_ROOM_FAILED','UNAUTHENTICATED','extend','_ensureSubject','getParam','_hovered','@univerjs/docs-ui','collabStatus.syncing','getCollabEntity$','collabStatus.synced','Warning','LOGIN_FAILED','IUniverInstanceService','fillStyle','_initDependencies','_onCursorUpdate','YUUMI_SUBSCRIPTION_NOT_FOUND','getValue','top','ISocketService','mapTo','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','collabStatus.conflict','_localeService','IDocClipboardService','_updateSubUnitFromURLParams','CollaborationStatus','_localStorageService','8713575aFCvcX','exhaustSavingTask','delete','_shapes','UNDEFINED','isTransformMutationsWithChangesetSuccess','getDocRanges','rxjs/operators','@univerjs/design','fromEvent','collabStatus.notCollab','collab-rect-range-','SYNCED','handleDeleteRangeMoveLeft','_scheduleSaving','random','uni.network.url-service','session.collaboration-timeout','_getAnchorBounding','DocSkeletonManagerService','textRanges','Workbook','_status$','rgba(255,\x20255,\x20255,\x200.01)','Unknown\x20user','OFFLINE','defIds','getItem','62982JyZisQ','contains','univer-offline','collaboration-client-ui.config','transformRemoteChangeset','type','@univerjs/sheets-ui','LICENSE_EXPORT_SIZE_EXCEEDED','_toggleOffline','_textBubble','YUUMI_ASYNCIO_CANCELLED','clipPath','collab-client.tooltip.reconnect','setItem','evenodd','getUndoRedoMutationParamsCache','override','unitId','Injector','_initCommandExecutedListener','m1Prime','_startDocCollabCursor','_docSyncEditingCollabCursorService','hasOwnProperty','params','getSheetId','then','_initStatusComponent','_saveTaskMap','CollaborationStatusDisplay','getCurrentRevOfUnit','_heartbeatTimer','debounceTime','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','RemoveColCommandId','UPDATE_CURSOR','defs','_entities','4003808YXBxcU','SUBMIT_CHANGESET_TIMEOUT','_context','UniverCollaborationClientUIPlugin','editingUnit','onLocalMutation','connectInjector','enableLocalCache','_collaborationUIEventService','_cursors','beginPath','react','[RemoteUniscriptService]:\x20no\x20focused\x20unit','26360FKiXLq','UNIVER_SHEET','Subject','stringify','switchMap','useCallback','_roomMembers$','_docStateChangeManagerService','handleInsertRangeMoveRight','IRemoteInstanceService','startRow','saveOfflineData','getCurrent','assignAColorForMemberID','addClipboardHook','ACTIVE_UNIT_EVENT_CHANNEL','@univerjs/core','DocSelectionManagerService','RxDisposable','send','_online','_collabCursorState$','entityInit$','_localCacheService','getLocalCacheKey','online','InsertRangeMoveDownCommandId','_entityInit$','searchParams','filter','createElement','_handleJoinEvent','addEventListener','IImageIoService','CollaborationDataLoaderController','body','_messageService','LOCAL_CACHE_INTERVAL','BehaviorSubject','INVALID_ARGUMENT','COMPLETION_FINISHED','length','push','_docSkeleton','doc.mutation.rich-text-editing','_logService','lineTo','search','49AUmqrW','handleInsertRow','_memberService','touchDependencies','UnitStatus','status$','roomMembers$','SNAPSHOT_INVALID_SNAPSHOT','univer-online','SheetsSelectionsService','_registerDependencies','reconnect','_refRangeService','transformSelections','_handleLeaveEvent','toRgbString','syncEditingCollabCursor','_dataLoaderService','getMember','onMouseMove','1em','ITransformService','onPointerMove$','LocaleService','_getSheetObject','transformIMECache','YUUMI_UNABLE_LOAD_URL','univer-online-status','WebBrowserSingleActiveUnitService','onPointerEnter$','_draw','_labelPosition','Rectangle','SOCKET_FAILED_RETRY','6CUwruA','has','_updateURLWithCurrentState','post','getOwnPropertyDescriptor','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','_lastPointer','_cursorShapes','isTransformMutationFailure','_clearOtherTimers','includes','univer-online-status-title','width','M0\x200H16V16H0z','_urlService','...','SheetCollabCursorShape','_beforeCloseService','onlineStatus','getOffsetConfig','HTTPService','transform','column','transformStateCache','SetDocZoomRatioOperation','SetSelectionsOperation','Disposable','APPLY_NON_SEQUENTIAL_REVISION','MOBILE_HAS_BEEN_BOUND','IBeforeCloseService','NOT_FOUND','#FFF','set','setParam','subUnitId','split','createInstance','getSkeleton','history','univer-online-status-icon','_injector','DeleteRangeMoveLeftCommandId','APPLY_REJECT','LICENSE_IMPORT_SIZE_EXCEEDED','_updateLocalCursor','arc','_toggleOnline','init','_docClipboardService','_scheduleClearOtherTimer','_anchorDot','Vector2','TOO_MANY_REQUESTS','@univerjs/drawing','ColorKit','some','entries','_colorIndex','SheetSkeletonManagerService','CHANGESET_REVISION_CONFILICT','getSheetBySheetId','UNRECOGNIZED','Plugin','_initStatusListener','focused$','font','_doCreateSocket','PY_RUNTIME_SCRIPT_ERROR','isActive','_drawTextRange','setUndoRedoMutationParamsCache','_transformPreviousActiveRange','setShapeProps','saveTaskMap','getViewport','setAlpha','_createSocketURL','ONLINE','OTHER_CLIENTS_EDITING','_range','_httpService','NodePositionConvertToRectRange','_config','icon','range','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','22790xQchkH','moveTo','useDependency','onPointerLeave$','1866320vtlMZy','_renderManagerService','from','loadOfflineData','makeDirty','merge','RECT','skeleton','getSheetObject','setStateCache','ILocalStorageService','error','_sheetSkeletonManagerService','ILogService','InsertRowCommandId','VIEW_MAIN','data','triggerDblclick','subunit','off-line-single','currentColor','prototype','subscribe','complete','_transformHistoryAndStateStack','roomMembers','_handleEvent','_session','EMAIL_HAS_BEEN_BOUND','ISnapshotServerService','handleInsertCol','getCoordByCell','deserializeRangeWithSheet','CollaborationEvent','2526402QeTblw','throttleTime','getMemberID','shareReplay','BrowserCollaborationSocketService','_configService','text','UNIVER_DOC','with','currentTheme$','ALREADY_EXISTS','tag','loadUnit','Rect','_initResize','_commandService','asObservable','executionId','fillText','registerDependencies','getCurrentSelections','getUnitStatus$','getRenderById','handleDeleteRangeMoveUp','CollaborationController','MemberService','getRangePointData','getAncestorScale','_render','collaboration-client.offline-data-not-saved','_handleHeartbeatEvent','_unitStatus','invokeId','deepClone','translate(.97)','IMessageService','onStarting','replaceDocRanges','SessionStatus','_hideTimer','getColor','TRANSFORM_CHANGE_OBSERVABLE_TYPE','restore','size','APPLY_PERMISSION_DENIED','unload','USERS_LEAVE','children','INVALID_INVITE_CODE','svg','@univerjs/docs','round','disableLocalCache','SHEET_VIEWPORT_KEY','dispose','SOCKET_FAILED','ThemeService','setTimeout','ticket','unit','_docTransformIMECacheService','IConfigService','setActiveRange','onCommandExecuted','add','findNodePositionByCharIndex','getTypeOfUnitAdded$','_syncEditingCollabCursorService','_collaborationController','[CollaborationDataLoaderController]','isArray','_notificationService','save','url(#off-line-single_clip0_910_343)','ILocalCacheService','CollaborationUIEventId','permission.content','#fff','sessionStatus$','_assignedColors','getStateCache','_docTransformStateCacheService','InsertRangeMoveRightCommandId','0\x200\x2017\x2016','RefRangeService','getConfig','jiqing500','propertyIsEnumerable','source','defineProperty','_collabCursorController','getUnitId','registerComponent','verdancy600','transformByState','transformMutation','APPLY_DUPLICATED','Inject','INVITE_CODE_REQUIRED','currentSkeleton$','InsertColCommandId','RichTextEditingMutation','createSocket','href','activeSheet$','clearTimeout','collaboration.single-unit.warning','ICommandService','AWAITING_WITH_PENDING','CollaborationSocketService','apply','UniverIcon','disposeUnit','getUnhiddenWorksheets','displayName','map','Tools','pushState','react/jsx-runtime','useObservable','Error','_cursor','labelPosition','_registerRenderDependencies','redoState','WebSocketService','APPLY_REVISION_CONFILICT','toString','pipe','_onRefRangeChange','current','debug','_scene','ENSURE_SNAPSHOT_EXECUTION','offline','location','_backgroundColor','_getMergeRange','_saveCache','debounce','hide','show','substring','TEXT','IRenderManagerService','OffLineSingle','_removeClearOtherTimer','PENDING','event$','off-line-single_clip0_910_343','engine','createIdentifier','setConfig','@univerjs/engine-formula','WECHAT_HAS_BEEN_BOUND','_anchor','url(#on-line-single_clip0_910_349)','unitID','name','EffectRefRangId','_scheduleHeartbeat','_drawAnchor','_transformUndoRedoStack','application/json','row','_transformService','handleInsertRangeMoveDown','attrs','getCellPositionByOffset','YUUMI_NO_CUBOID_FOR_QUESTION','values','idSuffix','unshift','@univerjs-pro/collaboration','_removeCollabCursors','UniverInstanceType','result','get','eventID','min','Shape','_instanceService','CLOSE_ROOM','generateRandomId','undoState','_updateCollabCursors','DOC_RANGE_TYPE','unsubscribe','_send','getActiveSheet','mergeOverrideWithDependencies','_setupBeforeClosingHandler','SetWorksheetActivateCommand','selections','useRef','backgroundColor','clsx','subscribeEvent','getActiveRange','isEditing','_init','univer-flex\x20univer-items-center','assign','next','Optional','172GWZAuh','path','CONNECTOR_DATA_TOO_LARGE','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','getOwnPropertySymbols','symbol','collaboration.closeRoom','TEXT_RANGE_LAYER_INDEX','_imageIoService','YUUMI_RATE_OVER_LIMIT','_onCursorDelete','SNAPSHOT_HAS_BEEN_REMOVED','_univerInstanceService','CONFLICT','forwardRef','_eventUnsubscribe'];_0x1f87=function(){return _0x4e2171;};return _0x1f87();}exports[_0x5b8990(0x2f3)]=class extends a['Disposable']{constructor(_0x467e60,_0x482984,_0x2b06f9){const _0x162905=_0x5b8990;super(),this[_0x162905(0x2b1)]=_0x467e60,this[_0x162905(0x1d0)]=_0x482984,this[_0x162905(0x201)]=_0x2b06f9;}async['runOnServer'](_0x5bcede,_0x1a3e48,_0x5e04ee,..._0x407ace){const _0x105c5e=_0x5b8990;var _0x5c3285,_0x4d4922,_0x4a6cee,_0xd82315;const _0x14cd77=this[_0x105c5e(0x2b1)][_0x105c5e(0x33b)]();if(!_0x14cd77)throw new Error(_0x105c5e(0x3bd));const _0x1c0475=((_0x5c3285=this[_0x105c5e(0x201)][_0x105c5e(0x251)](u['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']))!=null?_0x5c3285:u['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT'])+'/'+_0x5bcede+'/run/'+_0x1a3e48,_0x20bf20=new URL(window['location'][_0x105c5e(0x263)]),_0x300309={'scriptId':_0x5bcede,'runId':(_0x4d4922=_0x20bf20[_0x105c5e(0x3da)][_0x105c5e(0x2ad)](_0x105c5e(0x30b)))!=null?_0x4d4922:'','function':_0x1a3e48,'unitId':_0x14cd77[_0x105c5e(0x257)](),'argsOfFunction':JSON[_0x105c5e(0x3c1)](_0x407ace),'invokeId':(_0x4a6cee=_0x5e04ee[_0x105c5e(0x21c)])!=null?_0x4a6cee:'','executionId':(_0xd82315=_0x5e04ee[_0x105c5e(0x20d)])!=null?_0xd82315:''};try{const _0x19047f=await this[_0x105c5e(0x1d0)][_0x105c5e(0x183)](_0x1c0475,{'body':_0x300309});return _0x19047f[_0x105c5e(0x3e1)]['error']&&_0x19047f['body'][_0x105c5e(0x1e5)]['code']!==ke['OK']?'Failed':_0x19047f[_0x105c5e(0x3e1)][_0x105c5e(0x2ac)];}catch{return'Failed';}}},exports[_0x5b8990(0x2f3)]=hs([de(0x0,a[_0x5b8990(0x35f)]),de(0x1,a[_0x5b8990(0x25d)](q[_0x5b8990(0x194)])),de(0x2,a[_0x5b8990(0x239)])],exports['RemoteUniscriptService']),exports[_0x5b8990(0x3a8)]=je,exports['IURLService']=Ee,exports[_0x5b8990(0x190)]=Ae,exports[_0x5b8990(0x17a)]=ls,exports['WebURLService']=Be;
|
package/lib/cjs/locale/en-US.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';function
|
|
1
|
+
'use strict';function _0x2a75(_0x35a140,_0x3844ec){const _0x4ed18c=_0x4ed1();return _0x2a75=function(_0x2a7508,_0x4382c9){_0x2a7508=_0x2a7508-0x7c;let _0x5f3ecc=_0x4ed18c[_0x2a7508];return _0x5f3ecc;},_0x2a75(_0x35a140,_0x3844ec);}const _0x31d015=_0x2a75;(function(_0x3c8601,_0x10a506){const _0x491971=_0x2a75,_0x47b011=_0x3c8601();while(!![]){try{const _0x5a16ee=parseInt(_0x491971(0x83))/0x1+parseInt(_0x491971(0x86))/0x2+-parseInt(_0x491971(0x87))/0x3*(-parseInt(_0x491971(0x91))/0x4)+parseInt(_0x491971(0x90))/0x5+-parseInt(_0x491971(0x84))/0x6+-parseInt(_0x491971(0x80))/0x7+-parseInt(_0x491971(0x7e))/0x8;if(_0x5a16ee===_0x10a506)break;else _0x47b011['push'](_0x47b011['shift']());}catch(_0xf2d974){_0x47b011['push'](_0x47b011['shift']());}}}(_0x4ed1,0x1ac73));const e={'collab-client':{'tooltip':{'reconnect':_0x31d015(0x82)}},'collabStatus':{'fetchMiss':_0x31d015(0x85),'conflict':_0x31d015(0x7d),'notCollab':'Local\x20file','synced':_0x31d015(0x8d),'syncing':_0x31d015(0x93),'offline':_0x31d015(0x7f)},'session':{'connection-failed':_0x31d015(0x92),'will-retry':_0x31d015(0x8a),'room-full':'Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','collaboration-timeout':_0x31d015(0x88)},'conflict':{'title':_0x31d015(0x8c),'content':_0x31d015(0x81)},'permission':{'title':_0x31d015(0x8e),'content':_0x31d015(0x8f)},'collaboration':{'single-unit':{'warning':_0x31d015(0x8b)},'closeRoom':_0x31d015(0x7c)},'auth':{'needGotoLoginAlert':_0x31d015(0x89)}};function _0x4ed1(){const _0x404aed=['382986qDYvLE','Syncing\x20server\x20data...','136512RzQgRc','15NYikfU','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','Collaboration\x20Conflict','Synced','Authentication\x20Error','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','305490KcEmdw','10808dcpbdI','Connection\x20failed,\x20please\x20check\x20your\x20network.','Syncing...','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','Edit\x20conflicts','474272JrDvxf','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','892647fQMQMx','There\x20is\x20a\x20conflict\x20between\x20your\x20local\x20copy\x20and\x20the\x20copy\x20on\x20the\x20server.\x20Please\x20save\x20your\x20local\x20edits,\x20because\x20they\x20will\x20be\x20lost\x20when\x20you\x20reload\x20the\x20page.','Click\x20to\x20Reconnect','217455tMcINv'];_0x4ed1=function(){return _0x404aed;};return _0x4ed1();}module['exports']=e;
|