@univerjs-pro/range-preprocess 0.14.0 → 0.15.0-insiders.20251227-453e4ff
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/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/package.json +7 -7
package/lib/cjs/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const _0x4f2dd5=_0x30d7;(function(_0x4c6552,_0x5a4b98){const _0x477c7a=_0x30d7,_0x508eca=_0x4c6552();while(!![]){try{const _0x2fc0d1=-parseInt(_0x477c7a(0x1a5))/0x1*(parseInt(_0x477c7a(0x1a1))/0x2)+parseInt(_0x477c7a(0x1ac))/0x3+-parseInt(_0x477c7a(0x1a8))/0x4*(-parseInt(_0x477c7a(0x1a3))/0x5)+parseInt(_0x477c7a(0x1ad))/0x6+parseInt(_0x477c7a(0x1a0))/0x7+-parseInt(_0x477c7a(0x1a2))/0x8*(parseInt(_0x477c7a(0x1a9))/0x9)+parseInt(_0x477c7a(0x19c))/0xa*(-parseInt(_0x477c7a(0x19e))/0xb);if(_0x2fc0d1===_0x5a4b98)break;else _0x508eca['push'](_0x508eca['shift']());}catch(_0x335157){_0x508eca['push'](_0x508eca['shift']());}}}(_0x18e2,0xeb101));function _0x30d7(_0x1600d6,_0xdd672e){_0x1600d6=_0x1600d6-0x19b;const _0x18e245=_0x18e2();let _0x30d7e1=_0x18e245[_0x1600d6];return _0x30d7e1;}function _0x18e2(){const _0x30c853=['1304933bzLzUP','2lMosFr','32BFAGrZ','200635CNmasg','RangePreprocessController','271290BkFywP','_injector','_workbook','164QGyssf','2766132RmpYGS','extend','get','5628963CDjrHx','4405434uQsGse','getAllTableJson','19786870bbcqrS','getPreprocessRanges','11vsElUe','FWorkbook'];_0x18e2=function(){return _0x30c853;};return _0x18e2();}const o=require('@univerjs-pro/range-preprocess'),e=require('@univerjs/sheets/facade');class s extends e[_0x4f2dd5(0x19f)]{[_0x4f2dd5(0x19d)](_0x5c42b9){const _0xa1e0=_0x4f2dd5;return this[_0xa1e0(0x1a6)][_0xa1e0(0x1ab)](o[_0xa1e0(0x1a4)])[_0xa1e0(0x19b)](this[_0xa1e0(0x1a7)],_0x5c42b9);}}e[_0x4f2dd5(0x19f)][_0x4f2dd5(0x1aa)](s);
|
package/lib/cjs/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const _0x4c8cea=_0x3179;(function(_0x2fd5ae,_0x1c9d1e){const _0x91937d=_0x3179,_0x5f1f38=_0x2fd5ae();while(!![]){try{const _0x9bf877=parseInt(_0x91937d(0x139))/0x1+-parseInt(_0x91937d(0x12d))/0x2+parseInt(_0x91937d(0x1bb))/0x3*(parseInt(_0x91937d(0x12c))/0x4)+parseInt(_0x91937d(0x198))/0x5+-parseInt(_0x91937d(0x17e))/0x6*(-parseInt(_0x91937d(0x197))/0x7)+-parseInt(_0x91937d(0x160))/0x8+parseInt(_0x91937d(0x189))/0x9;if(_0x9bf877===_0x1c9d1e)break;else _0x5f1f38['push'](_0x5f1f38['shift']());}catch(_0x23703c){_0x5f1f38['push'](_0x5f1f38['shift']());}}}(_0x1250,0x88424));var Ce=Object['defineProperty'],ge=(_0x2cecdf,_0xeb1b24,_0x2a1b51)=>_0xeb1b24 in _0x2cecdf?Ce(_0x2cecdf,_0xeb1b24,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2a1b51}):_0x2cecdf[_0xeb1b24]=_0x2a1b51,p=(_0x2b83d6,_0x2bd179,_0x47c88b)=>ge(_0x2b83d6,typeof _0x2bd179!=_0x4c8cea(0x19f)?_0x2bd179+'':_0x2bd179,_0x47c88b);Object[_0x4c8cea(0x132)](exports,Symbol[_0x4c8cea(0x194)],{'value':'Module'});const $=require('@univerjs/core');function _0x3179(_0x47c602,_0x3eacb9){_0x47c602=_0x47c602-0x11c;const _0x1250ff=_0x1250();let _0x31798f=_0x1250ff[_0x47c602];return _0x31798f;}require('@univerjs/sheets-filter');const H=require('@univerjs/sheets-table');function oe(_0x5a1f13){const _0x558cc=_0x4c8cea;return _0x5a1f13['v']==null?'':String(_0x5a1f13['v'])[_0x558cc(0x19c)]();}function he(_0x2bd1c9){const _0xe1750f=_0x4c8cea;return/^[-+]?(?:\d+(?:\.\d+)?|\.\d+)(?:e[-+]?\d+)?$/i[_0xe1750f(0x126)](_0x2bd1c9);}const Z=0x2,Q=0x1;function ue(_0x42a624,_0x840989){const _0x2a8259=_0x4c8cea,_0x565a7d={'2006-01-02':/^\d{4}-\d{2}-\d{2}$/,'2006-1-2':/^\d{4}-\d{1,2}-\d{1,2}$/,'2006/01/02':/^\d{4}\/\d{2}\/\d{2}$/,'2006/1/2':/^\d{4}\/\d{1,2}\/\d{1,2}$/,'2006年1月2日':/^\d{4}年\d{1,2}月\d{1,2}日$/,'02-01-2006':/^\d{1,2}-\d{1,2}-\d{4}$/,'02/01/2006':/^\d{1,2}\/\d{1,2}\/\d{4}$/,'02.01.2006':/^\d{1,2}\.\d{1,2}\.\d{4}$/,'01-02-2006':/^\d{1,2}-\d{1,2}-\d{4}$/,'01/02/2006':/^\d{1,2}\/\d{1,2}\/\d{4}$/,'2\x20January,\x202006':/^\d{1,2}\s+[A-Z]+,\s*\d{4}$/i,'2\x20January,2006':/^\d{1,2}\s+[A-Z]+,\d{4}$/i,'2\x20Jan.,\x202006':/^\d{1,2}\s+[A-Z]{3}\.,\s*\d{4}$/i,'January\x202,\x202006':/^[A-Z]+\s+\d{1,2},\s*\d{4}$/i,'January\x202,2006':/^[A-Z]+\s+\d{1,2},\d{4}$/i,'Jan.\x202,\x202006':/^[A-Z]{3}\.\s+\d{1,2},\s*\d{4}$/i,0x13217c6:/^\d{8}$/,'2006-01-02T15:04:05':/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/,'2006-01-02\x2015:04:05':/^\d{4}-\d{2}-\d{2}\s+\d{2}:\d{2}:\d{2}$/}[_0x840989];if(!_0x565a7d||!_0x565a7d[_0x2a8259(0x126)](_0x42a624))return!0x1;const _0x263a34=_0x42a624[_0x2a8259(0x1be)](/\D+/g,'\x20')[_0x2a8259(0x19c)]()['split'](/\s+/)[_0x2a8259(0x181)](Number);let _0x4325d1=0x0,_0x57706e=0x1,_0x157c9c=0x1,_0x4e7f76=0x0,_0x10887e=0x0,_0x1826ec=0x0;switch(_0x840989){case _0x2a8259(0x193):case _0x2a8259(0x1c8):case'2006/01/02':case _0x2a8259(0x16d):[_0x4325d1,_0x57706e,_0x157c9c]=_0x263a34;break;case _0x2a8259(0x1a6):[_0x4325d1,_0x57706e,_0x157c9c]=_0x263a34;break;case'02-01-2006':case'02/01/2006':case _0x2a8259(0x127):[_0x157c9c,_0x57706e,_0x4325d1]=_0x263a34;break;case _0x2a8259(0x16e):case _0x2a8259(0x1bf):[_0x57706e,_0x157c9c,_0x4325d1]=_0x263a34;break;case _0x2a8259(0x151):{const _0x497451=_0x42a624;_0x4325d1=+_0x497451[_0x2a8259(0x146)](0x0,0x4),_0x57706e=+_0x497451[_0x2a8259(0x146)](0x4,0x6),_0x157c9c=+_0x497451['slice'](0x6,0x8);break;}case'2006-01-02T15:04:05':case _0x2a8259(0x1b9):[_0x4325d1,_0x57706e,_0x157c9c,_0x4e7f76,_0x10887e,_0x1826ec]=_0x263a34;break;default:return!0x0;}if(_0x57706e<0x1||_0x57706e>0xc||_0x157c9c<0x1||_0x157c9c>0x1f||_0x4e7f76<0x0||_0x4e7f76>0x17||_0x10887e<0x0||_0x10887e>0x3b||_0x1826ec<0x0||_0x1826ec>0x3b)return!0x1;const _0x21c300=new Date(_0x4325d1,_0x57706e-0x1,_0x157c9c,_0x4e7f76,_0x10887e,_0x1826ec);return!(_0x21c300['getFullYear']()!==_0x4325d1||_0x21c300['getMonth']()!==_0x57706e-0x1||_0x21c300['getDate']()!==_0x157c9c);}function we(_0x582dd5){const _0x54f34a=_0x4c8cea;return Number[_0x54f34a(0x16a)](_0x582dd5)&&_0x582dd5>=0x1&&_0x582dd5<=0x13880;}function pe(_0x5c1424){const _0x2aec62=_0x4c8cea;switch(_0x5c1424){case 0x0:return'string';case 0x1:return _0x2aec62(0x169);case 0x2:case 0x3:case 0x4:return _0x2aec62(0x138);case 0x5:return'boolean';default:return _0x2aec62(0x1c1);}}class Y{constructor(){const _0x200d98=_0x4c8cea;p(this,_0x200d98(0x19d),0x0),p(this,_0x200d98(0x150),0x0),p(this,'confidence',0x0);}}class I extends Y{constructor(_0xc4198c){const _0xd38074=_0x4c8cea;super(),p(this,'timeStampStyles'),p(this,'dt'),p(this,'layout'),p(this,_0xd38074(0x1a0)),(this['dt']=_0xc4198c['dt'],this[_0xd38074(0x147)]=_0xc4198c[_0xd38074(0x147)],this[_0xd38074(0x1a0)]=!!_0xc4198c['needConvert']);}[_0x4c8cea(0x17c)](_0x370fe6){const _0x256d70=_0x4c8cea;if(_0x370fe6['t']===$[_0x256d70(0x18d)]['STRING']){const _0x1cb867=oe(_0x370fe6);if(!_0x1cb867)return;ue(_0x1cb867,this[_0x256d70(0x147)])?this[_0x256d70(0x19d)]+=Z:this[_0x256d70(0x150)]++;}}[_0x4c8cea(0x1bc)](){const _0x5717e8=_0x4c8cea,_0x21d2ba=0x64-Math[_0x5717e8(0x12a)]((this[_0x5717e8(0x150)]*0xa+0x1)*0x64/(this[_0x5717e8(0x150)]+this[_0x5717e8(0x19d)]+0x1)),_0x192698={'Charset':this['dt'],'Confidence':_0x21d2ba,'debugInfo':this[_0x5717e8(0x147)]};return this[_0x5717e8(0x1a0)]&&(_0x192698[_0x5717e8(0x15a)]=this['layout']),_0x192698;}}class re extends Y{constructor(_0x1752cc){const _0x5c0827=_0x4c8cea;super(),p(this,_0x5c0827(0x167)),p(this,_0x5c0827(0x1aa)),p(this,'dt'),p(this,_0x5c0827(0x147)),p(this,_0x5c0827(0x1a0)),(this[_0x5c0827(0x167)]=_0x1752cc[_0x5c0827(0x167)]||{},this['dt']=_0x1752cc['dt'],this[_0x5c0827(0x147)]=_0x1752cc[_0x5c0827(0x147)],this[_0x5c0827(0x1a0)]=!!_0x1752cc['needConvert']);}[_0x4c8cea(0x17c)](_0x56b612){const _0x438169=_0x4c8cea;if(_0x56b612['t']===$[_0x438169(0x18d)]['NUMBER']){if(_0x56b612['s']&&this['dateStyles'][_0x56b612['s']]){this[_0x438169(0x19d)]+=Z;return;}const _0x358cf3=oe(_0x56b612);if(!_0x358cf3)return;if(this[_0x438169(0x147)]===_0x438169(0x134)){const _0x3cfb86=Number(_0x358cf3);if(we(_0x3cfb86)){this[_0x438169(0x19d)]+=Z;return;}}ue(_0x358cf3,this[_0x438169(0x147)])?this['valid']+=Z:this['invalid']++;}}['Calc'](){const _0x3356a3=_0x4c8cea,_0x373784=0x64-Math['trunc']((this[_0x3356a3(0x150)]*0xa+0x1)*0x64/(this['invalid']+this[_0x3356a3(0x19d)]+0x1)),_0x5acfa0={'Charset':this['dt'],'Confidence':_0x373784,'debugInfo':this[_0x3356a3(0x147)]};return this[_0x3356a3(0x1a0)]&&(_0x5acfa0[_0x3356a3(0x15a)]=this[_0x3356a3(0x147)]),_0x5acfa0;}}class Me extends Y{[_0x4c8cea(0x17c)](_0x1efab4){const _0x2a1da5=_0x4c8cea;if(_0x1efab4['t']===$[_0x2a1da5(0x18d)]['NUMBER'])this[_0x2a1da5(0x19d)]+=Q;else{const _0x498da9=oe(_0x1efab4);if(!_0x498da9)return;he(_0x498da9)?this['valid']+=Q:this[_0x2a1da5(0x150)]++;}}[_0x4c8cea(0x1bc)](){const _0x467486=_0x4c8cea;return{'Charset':0x1,'Confidence':0x64-Math[_0x467486(0x12a)]((this['invalid']*0xa+0x1)*0x64/(this['invalid']+this[_0x467486(0x19d)]+0x1)),'debugInfo':_0x467486(0x169)};}}class Re extends Y{['Match'](_0x29270a){const _0xf1406c=_0x4c8cea;_0x29270a['t']===$[_0xf1406c(0x18d)]['BOOLEAN']?this['valid']+=Q:this[_0xf1406c(0x150)]++;}[_0x4c8cea(0x1bc)](){const _0x39aa35=_0x4c8cea;return{'Charset':0x5,'Confidence':0x64-Math['trunc']((this['invalid']*0xa+0x1)*0x64/(this[_0x39aa35(0x150)]+this['valid']+0x1)),'debugInfo':_0x39aa35(0x169)};}}class Te{constructor(_0xab5856){const _0x1a3c6b=_0x4c8cea;p(this,_0x1a3c6b(0x152)),p(this,_0x1a3c6b(0x167)),(this[_0x1a3c6b(0x167)]=_0xab5856||{},this['recognizers']=[new I({'dt':0x2,'layout':_0x1a3c6b(0x193)}),new I({'dt':0x2,'layout':_0x1a3c6b(0x1c8)}),new I({'dt':0x2,'layout':_0x1a3c6b(0x1c9)}),new I({'dt':0x2,'layout':_0x1a3c6b(0x16d)}),new I({'dt':0x2,'layout':_0x1a3c6b(0x1a6),'needConvert':!0x0}),new I({'dt':0x2,'layout':_0x1a3c6b(0x1b3),'needConvert':!0x0}),new I({'dt':0x2,'layout':_0x1a3c6b(0x123),'needConvert':!0x0}),new I({'dt':0x2,'layout':_0x1a3c6b(0x127),'needConvert':!0x0}),new I({'dt':0x2,'layout':_0x1a3c6b(0x16e),'needConvert':!0x0}),new I({'dt':0x2,'layout':_0x1a3c6b(0x1bf),'needConvert':!0x0}),new I({'dt':0x2,'layout':_0x1a3c6b(0x168),'needConvert':!0x0}),new I({'dt':0x2,'layout':_0x1a3c6b(0x1ab),'needConvert':!0x0}),new I({'dt':0x2,'layout':_0x1a3c6b(0x14f),'needConvert':!0x0}),new I({'dt':0x2,'layout':_0x1a3c6b(0x128),'needConvert':!0x0}),new I({'dt':0x2,'layout':_0x1a3c6b(0x18f),'needConvert':!0x0}),new I({'dt':0x2,'layout':_0x1a3c6b(0x149),'needConvert':!0x0}),new I({'dt':0x2,'layout':_0x1a3c6b(0x151),'needConvert':!0x0}),new re({'dateStyles':this[_0x1a3c6b(0x167)],'dt':0x2,'layout':'20060102','needConvert':!0x0}),new I({'dt':0x4,'layout':_0x1a3c6b(0x143)}),new I({'dt':0x4,'layout':'2006-01-02\x2015:04:05'}),new re({'dateStyles':this['dateStyles'],'dt':0x3,'layout':'excel','needConvert':!0x0}),new Me(),new Re()]);}['Match'](_0xfb80a4){const _0x1029c8=_0x4c8cea;for(const _0x1d347f of this['recognizers'])_0x1d347f[_0x1029c8(0x17c)](_0xfb80a4);}['Best'](){const _0x5d66d5=_0x4c8cea,_0x2f997c=this[_0x5d66d5(0x152)][_0x5d66d5(0x181)](_0xd88fc=>_0xd88fc['Calc']());if(_0x2f997c[_0x5d66d5(0x1b6)]((_0x19b00d,_0x299937)=>_0x299937[_0x5d66d5(0x1b2)]-_0x19b00d[_0x5d66d5(0x1b2)]),_0x2f997c[_0x5d66d5(0x11d)]===0x0||_0x2f997c[0x0][_0x5d66d5(0x1b2)]<0x32)return[_0x5d66d5(0x122),null];const _0x430927=_0x2f997c[0x0];return[pe(_0x430927[_0x5d66d5(0x199)]),_0x430927];}}function ce(_0x115d6c,_0x26015a){const _0x34b037=_0x4c8cea;let _0x30362e=_0x115d6c,_0x5a906c=_0x26015a;_0x30362e<=0x0&&(_0x30362e=0x6),_0x5a906c<=0x0&&(_0x5a906c=0xa),_0x5a906c=_0x5a906c*0x2;const _0x558884=[];for(let _0x55ac64=0x0;_0x55ac64<_0x5a906c;_0x55ac64++)_0x558884[_0x34b037(0x12f)]($[_0x34b037(0x18a)](_0x30362e));const _0x1bd8e5=new Map();for(const _0x454608 of _0x558884){const _0x4e4898=_0x454608['toLowerCase']();_0x1bd8e5[_0x34b037(0x14e)](_0x4e4898)||_0x1bd8e5[_0x34b037(0x18b)](_0x4e4898,_0x454608);}return Array[_0x34b037(0x1b8)](_0x1bd8e5['values']());}var ee=(_0x12f1a8=>(_0x12f1a8[_0x4c8cea(0x144)]=_0x4c8cea(0x13e),_0x12f1a8[_0x4c8cea(0x1c0)]=_0x4c8cea(0x165),_0x12f1a8[_0x4c8cea(0x1b5)]=_0x4c8cea(0x11c),_0x12f1a8))(ee||{});class K{constructor(_0xa0d413){const _0x4e03d6=_0x4c8cea;p(this,'id'),p(this,_0x4e03d6(0x159)),p(this,'range'),p(this,_0x4e03d6(0x16c)),p(this,_0x4e03d6(0x121)),p(this,_0x4e03d6(0x161)),p(this,_0x4e03d6(0x183)),p(this,_0x4e03d6(0x164)),p(this,_0x4e03d6(0x1a1)),p(this,_0x4e03d6(0x1b4)),p(this,'rowMergeTitleState'),p(this,'columnMergeTitleState'),p(this,_0x4e03d6(0x18c)),p(this,_0x4e03d6(0x15d)),p(this,'isMatchContinue'),p(this,_0x4e03d6(0x137)),p(this,'isTestTable'),p(this,_0x4e03d6(0x129)),p(this,_0x4e03d6(0x1b0));var _0x474a39,_0xf842ea,_0x47d646,_0x51474d,_0x3fec23,_0x28605e,_0xf01985,_0x5a2f98,_0x3558ff,_0x5541ad,_0x5571f4,_0x314d1a,_0x45cfa6,_0x485076,_0xcb5db1,_0x363795,_0x4dd427,_0x59208a,_0x47ccb5;this['id']=(_0x474a39=_0xa0d413==null?void 0x0:_0xa0d413['id'])!=null?_0x474a39:'',this[_0x4e03d6(0x159)]=(_0xf842ea=_0xa0d413==null?void 0x0:_0xa0d413[_0x4e03d6(0x159)])!=null?_0xf842ea:$[_0x4e03d6(0x18a)](),this[_0x4e03d6(0x19e)]=(_0x47d646=_0xa0d413==null?void 0x0:_0xa0d413['range'])!=null?_0x47d646:{'startRow':-0x1,'endRow':-0x1,'startColumn':-0x1,'endColumn':-0x1},this[_0x4e03d6(0x16c)]=(_0x51474d=_0xa0d413==null?void 0x0:_0xa0d413[_0x4e03d6(0x16c)])!=null?_0x51474d:'',this[_0x4e03d6(0x121)]=(_0x3fec23=_0xa0d413==null?void 0x0:_0xa0d413[_0x4e03d6(0x121)])!=null?_0x3fec23:'',this[_0x4e03d6(0x161)]=(_0x28605e=_0xa0d413==null?void 0x0:_0xa0d413[_0x4e03d6(0x161)])!=null?_0x28605e:0x0,this[_0x4e03d6(0x183)]=(_0xf01985=_0xa0d413==null?void 0x0:_0xa0d413[_0x4e03d6(0x183)])!=null?_0xf01985:0x0,this[_0x4e03d6(0x164)]=(_0x5a2f98=_0xa0d413==null?void 0x0:_0xa0d413['startStatisticRowCount'])!=null?_0x5a2f98:0x0,this['endStatisticRowCount']=(_0x3558ff=_0xa0d413==null?void 0x0:_0xa0d413[_0x4e03d6(0x1a1)])!=null?_0x3558ff:0x0,this[_0x4e03d6(0x1b4)]=(_0x5541ad=_0xa0d413==null?void 0x0:_0xa0d413[_0x4e03d6(0x1b4)])!=null?_0x5541ad:new Map(),this[_0x4e03d6(0x154)]=(_0x5571f4=_0xa0d413==null?void 0x0:_0xa0d413[_0x4e03d6(0x154)])!=null?_0x5571f4:!0x1,this[_0x4e03d6(0x13f)]=(_0x314d1a=_0xa0d413==null?void 0x0:_0xa0d413[_0x4e03d6(0x13f)])!=null?_0x314d1a:!0x1,this['columnMergeTitleCountMap']=(_0x45cfa6=_0xa0d413==null?void 0x0:_0xa0d413[_0x4e03d6(0x18c)])!=null?_0x45cfa6:new Map(),this[_0x4e03d6(0x15d)]=(_0x485076=_0xa0d413==null?void 0x0:_0xa0d413[_0x4e03d6(0x15d)])!=null?_0x485076:!0x1,this[_0x4e03d6(0x184)]=(_0xcb5db1=_0xa0d413==null?void 0x0:_0xa0d413[_0x4e03d6(0x184)])!=null?_0xcb5db1:!0x1,this[_0x4e03d6(0x137)]=(_0x363795=_0xa0d413==null?void 0x0:_0xa0d413[_0x4e03d6(0x137)])!=null?_0x363795:!0x1,this['isTestTable']=(_0x4dd427=_0xa0d413==null?void 0x0:_0xa0d413['isTestTable'])!=null?_0x4dd427:!0x1,this[_0x4e03d6(0x129)]=(_0x59208a=_0xa0d413==null?void 0x0:_0xa0d413[_0x4e03d6(0x129)])!=null?_0x59208a:!0x1,this['columns']=(_0x47ccb5=_0xa0d413==null?void 0x0:_0xa0d413[_0x4e03d6(0x1b0)])!=null?_0x47ccb5:[];}[_0x4c8cea(0x192)](_0x13a884,_0x5e4e74){return _0x5e4e74-_0x13a884===0x1||_0x5e4e74===_0x13a884;}[_0x4c8cea(0x1ad)](_0x418e10){const _0x44b60c=_0x4c8cea,_0x5b5c33=[];for(const _0x3e90ee of _0x418e10)this[_0x44b60c(0x19e)][_0x44b60c(0x163)]<_0x3e90ee[_0x44b60c(0x19e)][_0x44b60c(0x1a8)]||this[_0x44b60c(0x19e)][_0x44b60c(0x1a8)]>_0x3e90ee['range'][_0x44b60c(0x163)]||this[_0x44b60c(0x192)](_0x3e90ee[_0x44b60c(0x19e)]['endRow'],this[_0x44b60c(0x19e)][_0x44b60c(0x180)])&&_0x5b5c33[_0x44b60c(0x12f)](_0x3e90ee);return _0x5b5c33;}[_0x4c8cea(0x13b)](_0x45304){const _0x4c02f7=_0x4c8cea;return _0x45304['range'][_0x4c02f7(0x133)]===this[_0x4c02f7(0x19e)][_0x4c02f7(0x180)]&&this[_0x4c02f7(0x19e)][_0x4c02f7(0x163)]+0x1===_0x45304[_0x4c02f7(0x19e)]['startColumn'];}[_0x4c8cea(0x131)](_0x1e88d6){const _0x2dca5c=_0x4c8cea;return this[_0x2dca5c(0x19e)][_0x2dca5c(0x1a8)]===-0x1?this:(_0x1e88d6['push'](this),new K({'sheetId':this[_0x2dca5c(0x159)],'range':{'startRow':this['range']['startRow'],'endRow':this[_0x2dca5c(0x19e)]['endRow'],'startColumn':-0x1,'endColumn':-0x1}}));}[_0x4c8cea(0x14d)](_0x5f38a7,_0x5d2a9e,_0x15ce06,_0x173a81){const _0x27a041=_0x4c8cea;this[_0x27a041(0x19e)][_0x27a041(0x1a8)]===-0x1&&(this[_0x27a041(0x19e)][_0x27a041(0x1a8)]=_0x5d2a9e),this[_0x27a041(0x19e)][_0x27a041(0x163)]=_0x5d2a9e,_0x173a81!=null&&(this[_0x27a041(0x19e)][_0x27a041(0x163)]=Math['max'](_0x173a81,this[_0x27a041(0x19e)]['endColumn']));}['dispose'](){const _0x29fdd4=_0x4c8cea;this['rowMergeTitleCountMap'][_0x29fdd4(0x17d)](),this[_0x29fdd4(0x18c)]['clear'](),this['columns']=[];}}function de(_0x1a8c04,_0x53bf52){const {startRow:_0x23c130,startColumn:_0x4fcafc,endRow:_0x169005,endColumn:_0x431e23}=_0x53bf52;return _0x1a8c04+':'+_0x23c130+','+_0x4fcafc+'-'+_0x169005+','+_0x431e23;}const W=new Map();function ye(_0x41507a,_0x328ec7){const _0x2cd716=_0x4c8cea;var _0x14f6ad;const _0x2ac237=new $[(_0x2cd716(0x191))](!0x1),_0x451758=_0x328ec7[_0x2cd716(0x185)](),_0x325768=new Map(),_0xda3c8d=(_0x14f6ad=_0x328ec7[_0x2cd716(0x171)]())!=null?_0x14f6ad:[];W[_0x2cd716(0x17d)]();for(const _0xb79f41 of _0xda3c8d){const _0x2bfd61=de(_0x2cd716(0x16f),_0xb79f41),_0x497087={'unitId':_0x41507a,'sheetId':_0x451758,'range':_0xb79f41,'id':_0x2bfd61};_0x2ac237[_0x2cd716(0x156)](_0x497087),_0x325768['set'](_0x2bfd61,_0x497087);}return W[_0x2cd716(0x18b)](_0x328ec7,{'mergeRTree':_0x2ac237,'mergeRangeMap':_0x325768}),{'mergeRTree':_0x2ac237,'mergeRangeMap':_0x325768};}function _0x1250(){const _0x4e1d42=['length','skip\x20small\x20table','endIndex','displayName','description','string','02/01/2006','isOpinionText','RANGE_PREPROCESS_PLUGIN_CONFIG_KEY','test','02.01.2006','January\x202,\x202006','isUpdateTable','trunc','isTitleRepeat','16IJuAii','2187098YZIHvL',',\x20rangeName:','push','Best','saveTableToCache','defineProperty','endRow','excel','registerDependencies','getOwnPropertyDescriptor','isTimeSeries','date','136812ApbgRt','add','intersectWithColumns','startIndex','isUnique','none','columnMergeTitleState','Injector','url','min','2006-01-02T15:04:05','None','getCell','slice','layout','isCoded','Jan.\x202,\x202006','isLink','getUnitId','links','insertCellData','has','2\x20Jan.,\x202006','invalid','20060102','recognizers','get','rowMergeTitleState','column_','insert','dataType','toJSON','sheetId','Layout','warn','join','isMatchEnd','getSheets','MAX_SAFE_INTEGER','4283096fxiFJK','rowTitleCount','tableId','endColumn','startStatisticRowCount','all','TableManager','dateStyles','2\x20January,\x202006','number','isFinite','next','name','2006/1/2','01-02-2006','merge','floor','getMergeData','onReady','meta','data','BuildTextUtils','mergeRTree','value','Disposable','transform','skip\x20small\x20table,\x20idx:','isMeasure','Match','clear','6PRytdn','Inject','startRow','map','RangePreprocessController','mergeRowTitleCount','isMatchContinue','getSheetId','splice','getName','isArray','10782405aqzHyI','generateRandomId','set','columnMergeTitleCountMap','CellValueType','stringify','January\x202,2006','getTablesBySubunitId','RTree','_isRowContinuous','2006-01-02','toStringTag','_configService','table','514619gcDJde','2821090IagDyJ','Charset','UniverRangePreprocessPlugin','log10','trim','valid','range','symbol','needConvert','endStatisticRowCount','Name','Type','dataStream','columnId','2006年1月2日','_injector','startColumn','properties','timeStampStyles','2\x20January,2006','max','intersectWithPreTables','mergeRangeMap','_config','columns','bulkSearch','Confidence','02-01-2006','rowMergeTitleCountMap','Sample','sort','isBigText','from','2006-01-02\x2015:04:05','Description','160845MUABMK','Calc','size','replace','01/02/2006','All','unknown','onStarting','forEach','keys','dispose','pluginName','body','2006-1-2','2006/01/02','sample'];_0x1250=function(){return _0x4e1d42;};return _0x1250();}function Se(_0x2a2762,_0x3aadef,_0x4fbcd7){const _0x569825=_0x4c8cea,_0xd5811=new $[(_0x569825(0x191))](!0x1),_0x2da7c5=_0x4fbcd7['get'](H[_0x569825(0x166)])['getTableList'](_0x2a2762);if(_0x2da7c5&&Array['isArray'](_0x2da7c5))for(const _0x93ff12 of _0x2da7c5){if(!(_0x93ff12!=null&&_0x93ff12[_0x569825(0x19e)]))continue;const _0x2eedaf=_0x93ff12[_0x569825(0x19e)],_0x145816={'unitId':_0x2a2762,'sheetId':_0x3aadef,'range':_0x2eedaf,'id':de(_0x569825(0x196),_0x2eedaf)};_0xd5811[_0x569825(0x156)](_0x145816);}return _0xd5811;}function se(_0x4bc7fe,_0x3b80d4,_0x3bd8e5){const _0x70b74f=_0x4c8cea,_0x56fc0e=_0x4bc7fe[_0x70b74f(0x153)](_0x3b80d4);_0x56fc0e?_0x56fc0e[_0x70b74f(0x12f)](_0x3bd8e5):_0x4bc7fe[_0x70b74f(0x18b)](_0x3b80d4,[_0x3bd8e5]);}function ve(_0x49bce2,_0x58cefc){const _0x43c0b0=_0x4c8cea;var _0x522295,_0x447a77,_0x49e506;const _0x4a7428=_0x49bce2[_0x43c0b0(0x15e)](),_0x300e5b={},_0x2904ac=_0x49bce2[_0x43c0b0(0x14b)]();for(const _0xb0aedd of _0x4a7428){const _0x422119=_0xb0aedd[_0x43c0b0(0x185)](),_0x5a51a6=_0xb0aedd['getRowCount'](),_0x26279f=_0xb0aedd['getColumnCount'](),{mergeRTree:_0x3a1700,mergeRangeMap:_0x3626ce}=ye(_0x2904ac,_0xb0aedd),_0x2ad74b=Se(_0x2904ac,_0x422119,_0x58cefc),_0x59cab1=[];let _0x52f67b=[];for(let _0x81c924=0x0;_0x81c924<_0x5a51a6;_0x81c924++){const _0x21d37a=[];let _0x372c72=new K({'sheetId':_0x422119,'range':{'startRow':_0x81c924,'endRow':_0x81c924,'startColumn':-0x1,'endColumn':-0x1}});const _0x79bfe5=new Map();for(let _0x419a0c=0x0;_0x419a0c<=_0x26279f;_0x419a0c++){const _0x12255f=_0xb0aedd[_0x43c0b0(0x145)](_0x81c924,_0x419a0c),_0x394356={'range':{'startRow':_0x81c924,'startColumn':_0x419a0c,'endRow':_0x81c924,'endColumn':_0x419a0c},'unitId':_0x2904ac,'sheetId':_0x422119};if(_0x2ad74b[_0x43c0b0(0x1b1)]([_0x394356])[_0x43c0b0(0x1bd)]>0x0){_0x372c72=_0x372c72[_0x43c0b0(0x131)](_0x21d37a);continue;}const _0x3ac007=_0x3a1700[_0x43c0b0(0x1b1)]([_0x394356]);if(_0x3ac007[_0x43c0b0(0x1bd)]>0x0){const _0x3784dd=_0x372c72[_0x43c0b0(0x1ad)](_0x52f67b),_0x404a8a=_0x3ac007['keys']()[_0x43c0b0(0x16b)]()[_0x43c0b0(0x177)],_0x49e66b=_0x3626ce[_0x43c0b0(0x153)](_0x404a8a);if(!_0x49e66b)continue;const _0x4fe76e={'startRow':_0x49e66b[_0x43c0b0(0x19e)]['startRow'],'endRow':_0x49e66b[_0x43c0b0(0x19e)][_0x43c0b0(0x133)],'startColumn':_0x49e66b[_0x43c0b0(0x19e)][_0x43c0b0(0x1a8)],'endColumn':_0x49e66b[_0x43c0b0(0x19e)][_0x43c0b0(0x163)]},_0x4caf67=_0xb0aedd[_0x43c0b0(0x145)](_0x4fe76e['startRow'],_0x4fe76e[_0x43c0b0(0x1a8)]);if(_0x4caf67&&(_0x4caf67['p']!=null||_0x4caf67['v']!=null&&String(_0x4caf67['v'])[_0x43c0b0(0x11d)]>0x0)){_0x372c72[_0x43c0b0(0x14d)](_0x81c924,_0x419a0c,_0x12255f,_0x4fe76e[_0x43c0b0(0x163)]);for(let _0x5681e2=_0x4fe76e['startColumn'];_0x5681e2<=_0x4fe76e[_0x43c0b0(0x163)];_0x5681e2++)_0x79bfe5[_0x43c0b0(0x18b)](_0x5681e2,!0x0);}else _0x372c72=_0x372c72[_0x43c0b0(0x131)](_0x21d37a);const _0x12a7d2=_0x4fe76e[_0x43c0b0(0x133)]-_0x4fe76e[_0x43c0b0(0x180)],_0x422f0a=_0x4fe76e['endColumn']-_0x4fe76e[_0x43c0b0(0x1a8)];if(_0x3784dd['length']===0x1){if(_0x12a7d2>0x0&&se(_0x372c72[_0x43c0b0(0x18c)],_0x419a0c,_0x49e66b),_0x422f0a>0x0){const _0x5ee126=(_0x522295=_0x372c72[_0x43c0b0(0x1b4)][_0x43c0b0(0x153)](_0x81c924))!=null?_0x522295:[];_0x5ee126[_0x43c0b0(0x12f)](_0x49e66b),_0x372c72[_0x43c0b0(0x1b4)][_0x43c0b0(0x18b)](_0x81c924,_0x5ee126);}}else{if(_0x12a7d2>0x0&&(_0x372c72[_0x43c0b0(0x13f)]=!0x0,se(_0x372c72[_0x43c0b0(0x18c)],_0x419a0c,_0x49e66b)),_0x422f0a>0x0){_0x372c72[_0x43c0b0(0x154)]=!0x0;const _0x7bdf66=(_0x447a77=_0x372c72['rowMergeTitleCountMap'][_0x43c0b0(0x153)](_0x81c924))!=null?_0x447a77:[];_0x7bdf66['push'](_0x49e66b),_0x372c72[_0x43c0b0(0x1b4)][_0x43c0b0(0x18b)](_0x81c924,_0x7bdf66);}}continue;}if((!_0x12255f||G(_0x12255f)==null)&&!_0x79bfe5[_0x43c0b0(0x153)](_0x419a0c)){_0x372c72=_0x372c72[_0x43c0b0(0x131)](_0x21d37a);continue;}_0x12255f&&G(_0x12255f)!=null?_0x372c72[_0x43c0b0(0x14d)](_0x81c924,_0x419a0c,_0x12255f):(_0x372c72[_0x43c0b0(0x154)]=!0x1,_0x372c72[_0x43c0b0(0x13f)]=!0x1,_0x372c72=_0x372c72[_0x43c0b0(0x131)](_0x21d37a));}if(_0x21d37a[_0x43c0b0(0x11d)]===0x0){_0x59cab1[_0x43c0b0(0x12f)](..._0x52f67b),_0x52f67b=[];continue;}if(_0x52f67b[_0x43c0b0(0x11d)]===0x0){_0x52f67b[_0x43c0b0(0x12f)](..._0x21d37a);continue;}const _0x52d7b1=(_0x40df26,_0x36b31a)=>{const _0x2fad96=_0x43c0b0;_0x40df26['range'][_0x2fad96(0x180)]=Math[_0x2fad96(0x142)](_0x40df26[_0x2fad96(0x19e)][_0x2fad96(0x180)],_0x36b31a[_0x2fad96(0x19e)][_0x2fad96(0x180)]),_0x40df26[_0x2fad96(0x19e)][_0x2fad96(0x133)]=Math[_0x2fad96(0x1ac)](_0x40df26[_0x2fad96(0x19e)][_0x2fad96(0x133)],_0x36b31a[_0x2fad96(0x19e)][_0x2fad96(0x133)]),_0x40df26['range'][_0x2fad96(0x1a8)]=Math[_0x2fad96(0x142)](_0x40df26[_0x2fad96(0x19e)]['startColumn'],_0x36b31a[_0x2fad96(0x19e)]['startColumn']),_0x40df26[_0x2fad96(0x19e)][_0x2fad96(0x163)]=Math[_0x2fad96(0x1ac)](_0x40df26['range'][_0x2fad96(0x163)],_0x36b31a[_0x2fad96(0x19e)][_0x2fad96(0x163)]),_0x36b31a['rowMergeTitleCountMap'][_0x2fad96(0x1c3)]((_0x544942,_0x279f06)=>{const _0x56e259=_0x2fad96;var _0x593a36;const _0x21e452=(_0x593a36=_0x40df26[_0x56e259(0x1b4)][_0x56e259(0x153)](_0x279f06))!=null?_0x593a36:[];_0x21e452[_0x56e259(0x12f)](..._0x544942),_0x40df26[_0x56e259(0x1b4)][_0x56e259(0x18b)](_0x279f06,_0x21e452);}),_0x36b31a[_0x2fad96(0x18c)][_0x2fad96(0x1c3)]((_0x284624,_0x5145b2)=>{const _0x485ddd=_0x2fad96;var _0x320b78;const _0x44cb0b=(_0x320b78=_0x40df26['columnMergeTitleCountMap'][_0x485ddd(0x153)](_0x5145b2))!=null?_0x320b78:[];_0x44cb0b['push'](..._0x284624),_0x40df26[_0x485ddd(0x18c)][_0x485ddd(0x18b)](_0x5145b2,_0x44cb0b);});};for(let _0x7aa50b=0x0;_0x7aa50b+0x1<_0x21d37a[_0x43c0b0(0x11d)];_0x7aa50b++){const _0x1e736f=_0x21d37a[_0x7aa50b],_0x57b598=_0x21d37a[_0x7aa50b+0x1];_0x1e736f[_0x43c0b0(0x13b)](_0x57b598)&&(_0x52d7b1(_0x1e736f,_0x57b598),_0x21d37a[_0x43c0b0(0x186)](_0x7aa50b+0x1,0x1),_0x7aa50b--);}const _0x2531b2=[];for(const _0x576fa3 of _0x21d37a){const _0x16513a=_0x576fa3[_0x43c0b0(0x1ad)](_0x52f67b);if(_0x16513a[_0x43c0b0(0x11d)]===0x0){_0x2531b2[_0x43c0b0(0x12f)](_0x576fa3);continue;}const _0x13d3d2=(_0x49e506=_0x576fa3['rowMergeTitleCountMap'][_0x43c0b0(0x153)](_0x81c924))!=null?_0x49e506:[];let _0x19a0d6=Number[_0x43c0b0(0x15f)],_0x586a08=-0x1,_0x3b58d6=-0x1;for(const _0x4b9d25 of _0x13d3d2){const _0x36166a=_0x4b9d25[_0x43c0b0(0x19e)],_0x9e897d=_0x36166a['startColumn'],_0x4f9763=_0x36166a[_0x43c0b0(0x163)];_0x19a0d6=Math[_0x43c0b0(0x142)](_0x19a0d6,_0x9e897d),_0x586a08=Math[_0x43c0b0(0x1ac)](_0x586a08,_0x4f9763);}_0x586a08===-0x1&&(_0x3b58d6=_0x586a08-_0x19a0d6+0x1);const _0x212530=_0x16513a[0x0][_0x43c0b0(0x19e)],_0x4a7b3b=_0x212530['endColumn']-_0x212530[_0x43c0b0(0x1a8)]+0x1;if(_0x3b58d6>=0x0&&_0x3b58d6<=_0x4a7b3b*0x3/0x4){_0x2531b2[_0x43c0b0(0x12f)](_0x576fa3);continue;}const _0x3d98eb=_0x16513a[0x0];for(const _0x109fb9 of _0x16513a[_0x43c0b0(0x146)](0x1))_0x3d98eb[_0x43c0b0(0x19e)][_0x43c0b0(0x180)]=Math[_0x43c0b0(0x142)](_0x3d98eb['range'][_0x43c0b0(0x180)],_0x109fb9[_0x43c0b0(0x19e)]['startRow']),_0x3d98eb[_0x43c0b0(0x19e)]['endRow']=Math[_0x43c0b0(0x1ac)](_0x3d98eb[_0x43c0b0(0x19e)][_0x43c0b0(0x133)],_0x109fb9[_0x43c0b0(0x19e)][_0x43c0b0(0x133)]),_0x3d98eb[_0x43c0b0(0x19e)][_0x43c0b0(0x1a8)]=Math[_0x43c0b0(0x142)](_0x3d98eb[_0x43c0b0(0x19e)][_0x43c0b0(0x1a8)],_0x109fb9[_0x43c0b0(0x19e)][_0x43c0b0(0x1a8)]),_0x3d98eb[_0x43c0b0(0x19e)][_0x43c0b0(0x163)]=Math[_0x43c0b0(0x1ac)](_0x3d98eb[_0x43c0b0(0x19e)][_0x43c0b0(0x163)],_0x109fb9[_0x43c0b0(0x19e)][_0x43c0b0(0x163)]);_0x3d98eb[_0x43c0b0(0x19e)][_0x43c0b0(0x180)]=Math['min'](_0x3d98eb[_0x43c0b0(0x19e)][_0x43c0b0(0x180)],_0x576fa3[_0x43c0b0(0x19e)]['startRow']),_0x3d98eb[_0x43c0b0(0x19e)][_0x43c0b0(0x133)]=Math[_0x43c0b0(0x1ac)](_0x3d98eb[_0x43c0b0(0x19e)][_0x43c0b0(0x133)],_0x576fa3[_0x43c0b0(0x19e)]['endRow']),_0x3d98eb[_0x43c0b0(0x19e)][_0x43c0b0(0x1a8)]=Math[_0x43c0b0(0x142)](_0x3d98eb[_0x43c0b0(0x19e)][_0x43c0b0(0x1a8)],_0x576fa3[_0x43c0b0(0x19e)][_0x43c0b0(0x1a8)]),_0x3d98eb[_0x43c0b0(0x19e)][_0x43c0b0(0x163)]=Math[_0x43c0b0(0x1ac)](_0x3d98eb[_0x43c0b0(0x19e)]['endColumn'],_0x576fa3[_0x43c0b0(0x19e)][_0x43c0b0(0x163)]),_0x576fa3[_0x43c0b0(0x1b4)][_0x43c0b0(0x1c3)]((_0x5cf204,_0x483da3)=>{const _0x1c76f5=_0x43c0b0;var _0x2ad664;const _0x43fb9c=(_0x2ad664=_0x3d98eb['rowMergeTitleCountMap'][_0x1c76f5(0x153)](_0x483da3))!=null?_0x2ad664:[];_0x43fb9c[_0x1c76f5(0x12f)](..._0x5cf204),_0x3d98eb[_0x1c76f5(0x1b4)]['set'](_0x483da3,_0x43fb9c);}),_0x576fa3[_0x43c0b0(0x18c)][_0x43c0b0(0x1c3)]((_0x765f6e,_0x14a1ac)=>{const _0x4dbce3=_0x43c0b0;var _0x20491c;const _0xd799c8=(_0x20491c=_0x3d98eb[_0x4dbce3(0x18c)][_0x4dbce3(0x153)](_0x14a1ac))!=null?_0x20491c:[];_0xd799c8[_0x4dbce3(0x12f)](..._0x765f6e),_0x3d98eb[_0x4dbce3(0x18c)][_0x4dbce3(0x18b)](_0x14a1ac,_0xd799c8);}),_0x3d98eb[_0x43c0b0(0x184)]=!0x0;}const _0x416ace=[];for(const _0x271c79 of _0x52f67b)!_0x271c79[_0x43c0b0(0x184)]&&_0x271c79[_0x43c0b0(0x15d)]||(_0x416ace['push'](_0x271c79),_0x271c79[_0x43c0b0(0x184)]=!0x1,_0x271c79[_0x43c0b0(0x15d)]=!0x1);_0x416ace[_0x43c0b0(0x12f)](..._0x2531b2),_0x52f67b=_0x416ace;}_0x59cab1['push'](..._0x52f67b);let _0x1a345f=0x0;for(const _0x1cb9e4 of _0x59cab1){const _0x3ba16a=_0x1cb9e4['range']['endRow']-_0x1cb9e4[_0x43c0b0(0x19e)][_0x43c0b0(0x180)]+0x1;_0x1cb9e4[_0x43c0b0(0x19e)][_0x43c0b0(0x163)]-_0x1cb9e4[_0x43c0b0(0x19e)][_0x43c0b0(0x1a8)]+0x1>0x0&&_0x3ba16a>0x1&&_0x1a345f++;}if(_0x1a345f===0x0)continue;const _0x412680=[],_0x36207d=ce(0x6,_0x59cab1[_0x43c0b0(0x11d)]);let _0x4d0ab4=0x0;for(const _0x782289 of _0x59cab1){const _0xf74725=_0x782289[_0x43c0b0(0x19e)]['endRow']-_0x782289['range'][_0x43c0b0(0x180)]+0x1,_0x114ae7=_0x782289[_0x43c0b0(0x19e)][_0x43c0b0(0x163)]-_0x782289[_0x43c0b0(0x19e)][_0x43c0b0(0x1a8)]+0x1;let _0x16cd41=!0x1;for(const _0xfa2703 of _0xb0aedd[_0x43c0b0(0x171)]())if(Ie(_0x782289[_0x43c0b0(0x19e)],_0xfa2703)){_0x16cd41=!0x0;break;}if(_0x16cd41)continue;let _0x1ee097=!0x0;for(const _0x1be82f of _0x59cab1)if(_0x1be82f!==_0x782289&&xe(_0x782289,_0x1be82f)){_0x1ee097=!0x1;break;}_0x1ee097&&(_0x114ae7<=0x0||_0xf74725<=0x1||(_0x782289['id']=_0x36207d[_0x4d0ab4++],_0x412680[_0x43c0b0(0x12f)](_0x782289)));}_0x300e5b[_0x422119]=_0x412680;}return _0x300e5b;}function be(_0x42df52,_0x4b2dcb,_0x1ff646){const _0x50467b=ve(_0x42df52,_0x4b2dcb);$e(_0x50467b,_0x42df52,_0x4b2dcb);const _0x15c415=Pe(_0x50467b,_0x42df52);return De(_0x15c415,_0x42df52,_0x4b2dcb,_0x1ff646);}function Ie(_0x3a1808,_0x2258f5){const _0x557651=_0x4c8cea;return _0x3a1808[_0x557651(0x180)]===_0x2258f5[_0x557651(0x180)]&&_0x3a1808[_0x557651(0x133)]===_0x2258f5[_0x557651(0x133)]&&_0x3a1808[_0x557651(0x1a8)]===_0x2258f5[_0x557651(0x1a8)]&&_0x3a1808[_0x557651(0x163)]===_0x2258f5['endColumn'];}function xe(_0x1c8c95,_0x2fe6ac){const _0x23c00c=_0x4c8cea;return _0x1c8c95[_0x23c00c(0x19e)]['startRow']>=_0x2fe6ac[_0x23c00c(0x19e)][_0x23c00c(0x180)]&&_0x1c8c95[_0x23c00c(0x19e)][_0x23c00c(0x133)]<=_0x2fe6ac[_0x23c00c(0x19e)]['endRow']&&_0x1c8c95[_0x23c00c(0x19e)][_0x23c00c(0x1a8)]>=_0x2fe6ac[_0x23c00c(0x19e)]['startColumn']&&_0x1c8c95['range'][_0x23c00c(0x163)]<=_0x2fe6ac[_0x23c00c(0x19e)][_0x23c00c(0x163)];}function Ne(_0x272515){const _0x1b958e=_0x4c8cea;return''+ne(_0x272515[_0x1b958e(0x1a8)])+(_0x272515[_0x1b958e(0x180)]+0x1)+':'+ne(_0x272515['endColumn'])+(_0x272515[_0x1b958e(0x133)]+0x1);}function te(_0x156acc){const _0x4666ad=_0x4c8cea;var _0x51bb25;if(_0x156acc!==null){if(_0x156acc!=null&&_0x156acc['p']){const _0x5b324c=_0x156acc==null?void 0x0:_0x156acc['p'][_0x4666ad(0x1c7)];if(_0x5b324c==null)return;const _0x279851=_0x5b324c[_0x4666ad(0x1a4)],_0x587ebe=$[_0x4666ad(0x175)][_0x4666ad(0x179)]['getPlainText'](_0x279851),_0x292251=_0x5b324c['customRanges'];if(_0x292251&&_0x292251[_0x4666ad(0x11d)]>0x0){const _0x2ef85b=_0x292251[0x0],_0x5afd4b=(_0x51bb25=_0x2ef85b[_0x4666ad(0x1a9)])==null?void 0x0:_0x51bb25[_0x4666ad(0x141)];if(!_0x5afd4b)return _0x587ebe;const _0x40ed9c=typeof _0x2ef85b[_0x4666ad(0x13c)]==_0x4666ad(0x169)?_0x2ef85b[_0x4666ad(0x13c)]:0x0;let _0x1423da=typeof _0x2ef85b[_0x4666ad(0x11f)]==_0x4666ad(0x169)?_0x2ef85b[_0x4666ad(0x11f)]+0x1:_0x40ed9c+0x1;return _0x40ed9c===0x0&&_0x1423da===0x0?_0x1423da=0x1:_0x1423da<=_0x40ed9c&&(_0x1423da=_0x40ed9c+0x1),'['+_0x279851[_0x4666ad(0x146)](_0x40ed9c,_0x1423da)+']('+_0x5afd4b+')';}return _0x587ebe;}if((_0x156acc==null?void 0x0:_0x156acc['v'])!=null)return _0x156acc['v'];}}function G(_0x565413){const _0x504bbb=te(_0x565413);if(_0x504bbb!=null)return String(_0x504bbb);}function Ee(_0x184b1b,_0xf5838e,_0x226256){const _0x4f030b=_0x4c8cea,_0x80078a=_0x226256[_0x4f030b(0x145)](_0x184b1b,_0xf5838e);if(_0x80078a!=null){const _0x153519=G(_0x80078a);if(_0x153519!=null&&_0x153519[_0x4f030b(0x11d)]>0x0)return _0x153519;}const _0x43db5c=W[_0x4f030b(0x153)](_0x226256),_0x442c64=_0x43db5c==null?void 0x0:_0x43db5c['mergeRTree'],_0x459f57=_0x43db5c==null?void 0x0:_0x43db5c[_0x4f030b(0x1ae)],_0x38014=_0x226256[_0x4f030b(0x14b)](),_0xf994e7=_0x226256[_0x4f030b(0x185)](),_0x39c55a={'range':{'startRow':_0x184b1b,'endRow':_0x184b1b,'startColumn':_0xf5838e,'endColumn':_0xf5838e},'unitId':_0x38014,'sheetId':_0xf994e7},_0x27c85e=(_0x442c64==null?void 0x0:_0x442c64[_0x4f030b(0x1b1)]([_0x39c55a]))||new Map();if(_0x27c85e[_0x4f030b(0x1bd)]===0x0||!_0x459f57)return null;const _0x403359=_0x27c85e[_0x4f030b(0x1c4)]()[_0x4f030b(0x16b)]()[_0x4f030b(0x177)],_0x1e8748=_0x459f57['get'](_0x403359);if(!_0x1e8748)return null;const _0xb4c9fa=_0x226256[_0x4f030b(0x145)](_0x1e8748[_0x4f030b(0x19e)][_0x4f030b(0x180)],_0x1e8748[_0x4f030b(0x19e)]['startColumn']);return _0xb4c9fa==null?null:G(_0xb4c9fa);}function $e(_0x156a67,_0xfd1283,_0x484e52){const _0xf67600=_0x4c8cea,_0x3586f4=_0xfd1283[_0xf67600(0x15e)](),_0x1bab8f=_0x484e52['get'](H[_0xf67600(0x166)]),_0x302540=_0xfd1283[_0xf67600(0x14b)]();for(const _0x49a445 of _0x3586f4){const _0x2b94f6=_0x49a445['getSheetId'](),_0x46fcee=_0x1bab8f[_0xf67600(0x190)](_0x302540,_0x2b94f6);if(!_0x46fcee)continue;const _0x40ef20=_0x46fcee[_0xf67600(0x181)](_0x447864=>_0x447864[_0xf67600(0x158)]());for(const _0x6b2671 of _0x40ef20){const {startRow:_0x5b94cb,endRow:_0x4cd2f9,startColumn:_0xef9a61,endColumn:_0x222113}=_0x6b2671[_0xf67600(0x19e)],_0x17ec67=new K({'id':_0x6b2671['id'],'sheetId':_0x2b94f6,'range':{'startRow':_0x5b94cb,'endRow':_0x4cd2f9,'startColumn':_0xef9a61,'endColumn':_0x222113},'name':'','description':'','rowTitleCount':0x0,'mergeRowTitleCount':0x0,'startStatisticRowCount':0x0,'endStatisticRowCount':0x0,'rowMergeTitleCountMap':new Map(),'rowMergeTitleState':!0x1,'columnMergeTitleState':!0x1,'columnMergeTitleCountMap':new Map(),'isMatchEnd':!0x1,'isMatchContinue':!0x1,'isTimeSeries':!0x1,'isTestTable':!0x1,'isUpdateTable':!0x0,'columns':[]});_0x156a67[_0x2b94f6]||(_0x156a67[_0x2b94f6]=[]),_0x156a67[_0x2b94f6][_0xf67600(0x12f)](_0x17ec67);}}}function Pe(_0x8123c7,_0x36dc02){const _0x463100=_0x4c8cea;var _0x378b85,_0x487137;for(const [_0x16f9d6,_0x5b8614]of Object['entries'](_0x8123c7)){const _0x438caf=_0x5b8614;let _0x45645a=!0x1;const _0x1b3f56=_0x36dc02['getSheetBySheetId'](_0x16f9d6);if(_0x1b3f56){for(let _0x27cd97=0x0;_0x27cd97<_0x438caf[_0x463100(0x11d)];_0x27cd97++){const _0x1b44a2=_0x438caf[_0x27cd97],_0xcd849b=_0x1b44a2[_0x463100(0x19e)],{startRow:_0x290ea1,endRow:_0x34e1da,startColumn:_0x3fbc38,endColumn:_0x2fb659}=_0xcd849b,_0x41746b=Ue(_0x1b44a2,_0x1b3f56,_0x36dc02),_0x2a730a=_e(_0x290ea1,_0x34e1da,_0x1b44a2);let _0x36b638=0x1;const _0x1c242f=_0x290ea1+_0x2a730a;let _0x368d60=0x0,_0x5a9cc6=0x0;for(let _0x5b79c6=_0x3fbc38;_0x5b79c6<=_0x2fb659;_0x5b79c6++){const _0x198f7c=_0x1b3f56['getCell'](_0x1c242f,_0x5b79c6);if(!_0x198f7c)continue;const _0x241412=G(_0x198f7c);_0x241412!=null&&(_0x241412!==''&&_0x5a9cc6++,ae(_0x241412)&&_0x368d60++);}if(_0x5a9cc6>0x0&&_0x368d60/Math[_0x463100(0x1ac)](_0x5a9cc6,0x1)>0.03&&(_0x36b638=0x0),_0x1b44a2[_0x463100(0x183)]=_0x2a730a,_0x1b44a2[_0x463100(0x161)]=_0x36b638+_0x2a730a,_0x1b44a2['range']['endRow']-_0x1b44a2[_0x463100(0x19e)][_0x463100(0x180)]+0x1-_0x1b44a2[_0x463100(0x161)]<=0x1){console[_0x463100(0x15b)](_0x463100(0x17a)+_0x27cd97+_0x463100(0x12e)+Ne(_0x1b44a2[_0x463100(0x19e)])),_0x438caf[_0x463100(0x186)](_0x27cd97,0x1),_0x27cd97--,_0x45645a=!0x0;continue;}const _0x277c7e=new Map();let _0x2cf394=0x0;const _0x470041=ce(0x4,_0x2fb659-_0x3fbc38+0x1);for(let _0xac4ea7=_0x3fbc38;_0xac4ea7<=_0x2fb659;_0xac4ea7++){let _0x1fd73d='';const _0x34acc7=new Set();let _0x500457=!0x1;const _0x1dc8a0=_0x290ea1+_0x1b44a2['rowTitleCount']-0x1;let _0x30e684=_0x290ea1;_0x41746b!==''&&(_0x30e684=_0x290ea1+0x1);for(let _0x2abd3d=_0x30e684;_0x2abd3d<=_0x1dc8a0;_0x2abd3d++){const _0x3978fa=Ee(_0x2abd3d,_0xac4ea7,_0x1b3f56);_0x3978fa!=null&&(_0x2abd3d===_0x1dc8a0&&(_0x1fd73d=_0x3978fa),_0x34acc7[_0x463100(0x13a)](_0x3978fa));}const _0x4ada08=[..._0x34acc7][_0x463100(0x15c)](','),_0x15e957=_0x4ada08;_0x277c7e[_0x463100(0x14e)](_0x15e957)?_0x500457=!0x0:_0x277c7e[_0x463100(0x18b)](_0x15e957,!0x0);const _0x465bae=_0x1dc8a0+0x1;let _0x11402a=_0x1dc8a0+0x14,_0x18315f=0x0,_0x1ff4ae=!0x1,_0x43ff27=!0x1;if(_0x11402a>_0x34e1da&&(_0x11402a=_0x34e1da),_0x465bae<_0x34e1da){let _0x21f00a='';for(let _0x4823cd=_0x465bae;_0x4823cd<=_0x11402a;_0x4823cd++){const _0x281884=_0x1b3f56[_0x463100(0x145)](_0x4823cd,_0xac4ea7);if(!_0x281884)continue;const _0x3fbdee=G(_0x281884);_0x3fbdee!=null&&(ae(_0x3fbdee)||(_0x21f00a+=_0x3fbdee),Je(_0x3fbdee)&&_0x18315f++);}_0x18315f>Math[_0x463100(0x170)]((_0x11402a-_0x465bae+0x1)/0x2)&&(_0x43ff27=!0x0),Be(_0x21f00a)/Math[_0x463100(0x1ac)](_0x11402a-_0x465bae+0x1,0x1)>0xf&&!_0x43ff27&&(_0x1ff4ae=!0x0);}_0x1b44a2[_0x463100(0x1b0)]['push']({'id':_0x470041[_0x2cf394++],'Name':_0x1fd73d,'Type':'','Description':_0x4ada08,'isCoded':!0x1,'isMeasure':!0x0,'isOpinionText':!0x1,'isBigText':_0x1ff4ae,'isLink':_0x43ff27,'isTitleRepeat':_0x500457,'isUnique':!0x1,'links':[]});}Ae(_0x1b44a2,_0x36dc02);}_0x45645a&&(_0x8123c7[_0x16f9d6]=_0x438caf),_0x438caf[_0x463100(0x11d)]===0x0&&delete _0x8123c7[_0x16f9d6],(_0x487137=(_0x378b85=_0x8123c7[_0x16f9d6])==null?void 0x0:_0x378b85[_0x463100(0x11d)])!=null;}}return _0x8123c7;}function _e(_0x5a7894,_0x488e53,_0x2f1f2e){const _0x31b65a=_0x4c8cea;var _0x1a77a3;function _0x4dc2c9(_0x164296){const _0x2f764a=_0x3179;if(_0x164296[_0x2f764a(0x11d)]===0x0)return 0x0;_0x164296[_0x2f764a(0x1b6)]((_0x215c5c,_0x1b9f91)=>_0x215c5c[0x0]-_0x1b9f91[0x0]);let _0xf61396=0x0,_0x99fe04=_0x164296[0x0][0x0],_0x4e1893=_0x164296[0x0][0x1];for(let _0x55e119=0x1;_0x55e119<_0x164296['length'];_0x55e119++){const [_0x48e15d,_0x22cd70]=_0x164296[_0x55e119];_0x48e15d<=_0x4e1893+0x1?_0x4e1893=Math[_0x2f764a(0x1ac)](_0x4e1893,_0x22cd70):(_0xf61396+=_0x4e1893-_0x99fe04+0x1,_0x99fe04=_0x48e15d,_0x4e1893=_0x22cd70);}return _0xf61396+=_0x4e1893-_0x99fe04+0x1,_0xf61396;}const _0x470ccb=_0x2f1f2e['range']['startColumn'],_0x28b953=_0x2f1f2e[_0x31b65a(0x19e)][_0x31b65a(0x163)],_0x371390=_0x28b953-_0x470ccb+0x1;let _0x407ae5=_0x5a7894-0x1,_0x11e30b=_0x5a7894-0x1,_0x3bfa88=!0x1;const _0x44ff89=0x64;for(let _0x591f17=_0x5a7894;_0x591f17<=_0x488e53&&_0x591f17-_0x5a7894<_0x44ff89;_0x591f17++){const _0x4fbec8=[],_0xd000ae=(_0x1a77a3=_0x2f1f2e[_0x31b65a(0x1b4)][_0x31b65a(0x153)](_0x591f17))!=null?_0x1a77a3:[];for(const _0x35de9f of _0xd000ae){const _0x22ded1=_0x35de9f['range'][_0x31b65a(0x1a8)],_0x306dfa=_0x35de9f[_0x31b65a(0x19e)][_0x31b65a(0x163)],_0x3399c=Math[_0x31b65a(0x1ac)](_0x22ded1,_0x470ccb),_0x5a956f=Math[_0x31b65a(0x142)](_0x306dfa,_0x28b953);_0x3399c<=_0x5a956f&&_0x4fbec8['push']([_0x3399c,_0x5a956f]);}_0x2f1f2e[_0x31b65a(0x18c)][_0x31b65a(0x1c3)](_0x3039d8=>{const _0x2a0489=_0x31b65a;for(const _0x28a808 of _0x3039d8){const _0x4e96f7=_0x28a808[_0x2a0489(0x19e)]['startRow'],_0x481e38=_0x28a808[_0x2a0489(0x19e)][_0x2a0489(0x133)];if(_0x4e96f7<=_0x591f17&&_0x591f17<=_0x481e38){const _0x13fe22=_0x28a808[_0x2a0489(0x19e)]['startColumn'],_0x318dd7=_0x28a808[_0x2a0489(0x19e)][_0x2a0489(0x163)],_0x5caec6=Math[_0x2a0489(0x1ac)](_0x13fe22,_0x470ccb),_0x335aca=Math[_0x2a0489(0x142)](_0x318dd7,_0x28b953);_0x5caec6<=_0x335aca&&_0x4fbec8[_0x2a0489(0x12f)]([_0x5caec6,_0x335aca]);}}});const _0x183378=_0x4dc2c9(_0x4fbec8),_0x4ed44e=_0x183378/Math['max'](_0x371390,0x1);_0x4fbec8[_0x31b65a(0x11d)]>0x0&&(_0x407ae5=_0x591f17),_0x183378>0x0&&_0x4ed44e>=0.75&&!_0x3bfa88?_0x11e30b=_0x591f17:_0x4fbec8[_0x31b65a(0x11d)]>0x0&&(_0x3bfa88=!0x0);}return _0x407ae5===_0x488e53||_0x407ae5-_0x5a7894===_0x44ff89?_0x11e30b-_0x5a7894+0x1:_0x407ae5-_0x5a7894+0x1;}function Ue(_0x23eb50,_0x61184f,_0x32ecbb){const _0x3b2184=_0x4c8cea;if(_0x23eb50[_0x3b2184(0x121)]+=_0x61184f[_0x3b2184(0x187)]()+',\x20'+_0x32ecbb['name'],_0x23eb50['name']&&_0x23eb50[_0x3b2184(0x16c)]!=='')return _0x23eb50[_0x3b2184(0x16c)];const _0x179fe9=_0x23eb50[_0x3b2184(0x19e)][_0x3b2184(0x180)],_0x1be801=_0x23eb50[_0x3b2184(0x19e)][_0x3b2184(0x1a8)],_0x4ac086=_0x23eb50[_0x3b2184(0x19e)][_0x3b2184(0x163)],_0xc8ad7c=0x3,_0x2d6543=_0x23eb50[_0x3b2184(0x1b4)][_0x3b2184(0x153)](_0x179fe9);if(_0x2d6543&&_0x2d6543['length']>0x0)for(const _0x37ea87 of _0x2d6543){const _0x1d3549=_0x37ea87[_0x3b2184(0x19e)],_0x49bd85=_0x1d3549[_0x3b2184(0x1a8)],_0x2629e8=_0x1d3549[_0x3b2184(0x163)];if(_0x49bd85<=_0x1be801+_0xc8ad7c&&_0x2629e8>=_0x4ac086-_0xc8ad7c){const _0x267ff8=_0x61184f[_0x3b2184(0x145)](_0x179fe9,_0x49bd85);if(!_0x267ff8)return'';const _0x37a7dc=G(_0x267ff8);return _0x37a7dc==null||_0x37a7dc===''?'':(_0x23eb50[_0x3b2184(0x16c)]=_0x37a7dc,_0x37a7dc);}}return'';}function Ae(_0x15ed10,_0x5315e7){const _0x126f97=_0x4c8cea,_0x3f02c0={};_0x5315e7['getStyles']()['each'](_0x6081d2=>{const _0x13b27c=_0x3179,[_0x18c28b,_0x12f548]=_0x6081d2;return!_0x18c28b||!_0x12f548||_0x12f548['n']&&typeof _0x12f548['n']['pattern']==_0x13b27c(0x122)&&/[YyMDd]/[_0x13b27c(0x126)](_0x12f548['n']['pattern'])&&(_0x3f02c0[_0x18c28b]=!0x0),!0x0;});const _0xfcf4e0=_0x15ed10[_0x126f97(0x19e)][_0x126f97(0x180)],_0x2f906e=_0x15ed10['range'][_0x126f97(0x133)],_0x472bf3=_0x15ed10[_0x126f97(0x161)],_0x3ad263=_0x15ed10[_0x126f97(0x159)],_0x240a9c=_0x5315e7['getSheetBySheetId'](_0x3ad263);if(!_0x240a9c)return;const _0x5d2948=_0x2f906e-_0xfcf4e0+0x1-_0x472bf3;if(_0x5d2948<=0x1){console[_0x126f97(0x15b)](_0x126f97(0x11e));return;}const _0x192b6e=[];for(let _0xad009b=0x0;_0xad009b<_0x15ed10[_0x126f97(0x19e)][_0x126f97(0x163)]-_0x15ed10[_0x126f97(0x19e)][_0x126f97(0x1a8)]+0x1;_0xad009b++)_0x192b6e[_0x126f97(0x12f)](new Te(_0x3f02c0));const _0x20825b=Math[_0x126f97(0x19b)](Math[_0x126f97(0x1ac)](_0x5d2948,0x1));for(let _0x24a91b=0x0;;_0x24a91b++){const _0x16a245=_0x24a91b,_0x372368=Math['floor'](_0x16a245+0.00001*_0x16a245**2.7*_0x20825b*_0x20825b)+_0xfcf4e0+_0x472bf3;if(_0x372368>_0x2f906e)break;for(let _0x3418b5=_0x15ed10['range'][_0x126f97(0x1a8)];_0x3418b5<=_0x15ed10[_0x126f97(0x19e)]['endColumn'];_0x3418b5++){const _0x39c731=_0x240a9c[_0x126f97(0x145)](_0x372368,_0x3418b5);_0x39c731&&_0x192b6e[_0x3418b5-_0x15ed10['range'][_0x126f97(0x1a8)]][_0x126f97(0x17c)](_0x39c731);}}for(let _0x45b201=0x0;_0x45b201<_0x15ed10[_0x126f97(0x1b0)][_0x126f97(0x11d)];_0x45b201++){const [_0x5dd9e3,_0x5660e4]=_0x192b6e[_0x45b201][_0x126f97(0x130)]();_0x15ed10[_0x126f97(0x1b0)][_0x45b201]['Type']=_0x5dd9e3;}}function fe(_0x4e8a1f){const _0x52a6c0=_0x4c8cea,_0x41a82b=[];for(const _0x5c518a of _0x4e8a1f['links'])_0x41a82b[_0x52a6c0(0x12f)]({'tableId':_0x5c518a[_0x52a6c0(0x162)],'columnId':_0x5c518a[_0x52a6c0(0x1a5)],'linkType':_0x5c518a['linkType']});return _0x41a82b;}function Oe(_0x3fcd32){const _0x21e0b6=_0x4c8cea;return _0x3fcd32[_0x21e0b6(0x161)]===0x1;}function Le(_0x3e19f0,_0x3dd379,_0x1f5ef6,_0x2d56ba,_0x1cb36f){const _0x52e2f8=_0x4c8cea,_0x4499bf=_0x2d56ba[_0x52e2f8(0x153)](H[_0x52e2f8(0x166)]),_0x40fc26=_0x3dd379[_0x52e2f8(0x14b)](),_0x3f0d8f=_0x3e19f0[_0x52e2f8(0x159)];if(_0x4499bf[_0x52e2f8(0x190)](_0x40fc26,_0x3f0d8f)){for(const _0x21f5e2 of _0x1f5ef6)if(_0x21f5e2['id']===_0x3e19f0['id']){_0x21f5e2[_0x52e2f8(0x16c)]=_0x3e19f0[_0x52e2f8(0x16c)],_0x21f5e2[_0x52e2f8(0x173)]={},_0x21f5e2[_0x52e2f8(0x173)]['description']=_0x3e19f0[_0x52e2f8(0x121)],_0x21f5e2[_0x52e2f8(0x173)]['rowTitleCount']=_0x3e19f0[_0x52e2f8(0x161)],_0x21f5e2[_0x52e2f8(0x173)]['mergeRowTitleCount']=_0x3e19f0[_0x52e2f8(0x183)],_0x21f5e2[_0x52e2f8(0x173)][_0x52e2f8(0x137)]=_0x3e19f0['isTimeSeries'];for(let _0x294bca=0x0;_0x294bca<_0x3e19f0[_0x52e2f8(0x1b0)][_0x52e2f8(0x11d)];_0x294bca++){const _0x57710f=_0x3e19f0['columns'][_0x294bca],_0x45f6b3=_0x21f5e2[_0x52e2f8(0x1b0)][_0x294bca];_0x45f6b3[_0x52e2f8(0x120)]=_0x57710f[_0x52e2f8(0x1a2)],_0x45f6b3[_0x52e2f8(0x157)]=_0x57710f[_0x52e2f8(0x1a3)],_0x45f6b3[_0x52e2f8(0x173)]={},_0x45f6b3[_0x52e2f8(0x173)][_0x52e2f8(0x121)]=_0x57710f['Description'],_0x45f6b3[_0x52e2f8(0x173)][_0x52e2f8(0x148)]=_0x57710f['isCoded'],_0x45f6b3['meta']['isMeasure']=_0x57710f[_0x52e2f8(0x17b)],_0x45f6b3[_0x52e2f8(0x173)][_0x52e2f8(0x124)]=_0x57710f[_0x52e2f8(0x124)],_0x45f6b3[_0x52e2f8(0x173)]['isBigText']=_0x57710f['isBigText'],_0x45f6b3['meta']['isLink']=_0x57710f[_0x52e2f8(0x14a)],_0x45f6b3[_0x52e2f8(0x173)][_0x52e2f8(0x12b)]=_0x57710f[_0x52e2f8(0x12b)],_0x45f6b3[_0x52e2f8(0x173)]['isUnique']=_0x57710f[_0x52e2f8(0x13d)],_0x45f6b3['meta'][_0x52e2f8(0x14c)]=fe(_0x57710f);}me(_0x21f5e2,_0x3f0d8f,_0x3dd379,_0x1cb36f);}W[_0x52e2f8(0x17d)]();}}function De(_0x16638b,_0x44d077,_0x172748,_0x5f0e29){const _0x52a51e=_0x4c8cea,_0x586f4c=_0x172748[_0x52a51e(0x153)](H[_0x52a51e(0x166)]),_0x333b1a=_0x44d077['getUnitId'](),_0x9e777c={};for(const [_0x357527,_0x359f69]of Object['entries'](_0x16638b)){const _0x177078=_0x586f4c['getTablesBySubunitId'](_0x333b1a,_0x357527),_0x4bdcbb=(_0x177078==null?void 0x0:_0x177078[_0x52a51e(0x181)](_0x16c327=>_0x16c327[_0x52a51e(0x158)]()))||[];for(const _0x1c5085 of _0x359f69){if(_0x1c5085[_0x52a51e(0x129)]){Le(_0x1c5085,_0x44d077,_0x4bdcbb,_0x172748,_0x5f0e29);continue;}const _0x30b409={'id':_0x1c5085['id'],'range':{'startRow':_0x1c5085['range'][_0x52a51e(0x180)]+_0x1c5085[_0x52a51e(0x183)],'endRow':_0x1c5085[_0x52a51e(0x19e)][_0x52a51e(0x133)],'startColumn':_0x1c5085['range']['startColumn'],'endColumn':_0x1c5085['range'][_0x52a51e(0x163)]},'name':_0x1c5085[_0x52a51e(0x16c)],'meta':{},'options':{'showHeader':Oe(_0x1c5085),'showFooter':!0x1},'columns':[],'filters':{}};_0x30b409[_0x52a51e(0x173)]['description']=_0x1c5085[_0x52a51e(0x121)],_0x30b409['meta'][_0x52a51e(0x161)]=_0x1c5085[_0x52a51e(0x161)],_0x30b409[_0x52a51e(0x173)][_0x52a51e(0x183)]=_0x1c5085['mergeRowTitleCount'],_0x30b409[_0x52a51e(0x173)][_0x52a51e(0x137)]=_0x1c5085['isTimeSeries'];const _0x1d6383=_0x1c5085[_0x52a51e(0x19e)][_0x52a51e(0x1a8)];for(let _0x519c80=0x0;_0x519c80<_0x1c5085['columns']['length'];_0x519c80++){const _0x3847c1=_0x1c5085[_0x52a51e(0x1b0)][_0x519c80],_0x17b5a7={'id':_0x3847c1['id'],'displayName':_0x3847c1[_0x52a51e(0x1a2)]||_0x52a51e(0x155)+ne(_0x1d6383+_0x519c80),'dataType':_0x3847c1[_0x52a51e(0x1a3)],'meta':{},'formula':'','style':{}};_0x17b5a7['meta']['description']=_0x3847c1[_0x52a51e(0x1ba)],_0x17b5a7['meta'][_0x52a51e(0x148)]=_0x3847c1[_0x52a51e(0x148)],_0x17b5a7[_0x52a51e(0x173)]['isMeasure']=_0x3847c1[_0x52a51e(0x17b)],_0x17b5a7[_0x52a51e(0x173)][_0x52a51e(0x124)]=_0x3847c1['isOpinionText'],_0x17b5a7[_0x52a51e(0x173)]['isBigText']=_0x3847c1[_0x52a51e(0x1b7)],_0x17b5a7['meta'][_0x52a51e(0x14a)]=_0x3847c1[_0x52a51e(0x14a)],_0x17b5a7[_0x52a51e(0x173)]['isTitleRepeat']=_0x3847c1[_0x52a51e(0x12b)],_0x17b5a7[_0x52a51e(0x173)][_0x52a51e(0x13d)]=_0x3847c1['isUnique'],_0x17b5a7[_0x52a51e(0x173)][_0x52a51e(0x14c)]=fe(_0x3847c1),_0x30b409[_0x52a51e(0x1b0)]['push'](_0x17b5a7);}me(_0x30b409,_0x357527,_0x44d077,_0x5f0e29),_0x4bdcbb[_0x52a51e(0x12f)](_0x30b409);}_0x9e777c[_0x357527]=_0x4bdcbb;}for(const _0x387d12 of Object[_0x52a51e(0x1c4)](_0x16638b))_0x16638b[_0x387d12][_0x52a51e(0x1c3)](_0x1492b7=>{const _0x3274fb=_0x52a51e;_0x1492b7[_0x3274fb(0x1c5)]();});return _0x9e777c;}function ie(_0x307cef,_0x3a5c48,_0x4985d6=0x5){const _0x4a0fe0=_0x4c8cea;if(!Array[_0x4a0fe0(0x188)](_0x307cef)||_0x307cef[_0x4a0fe0(0x11d)]===0x0)return[];const _0x213116=Math[_0x4a0fe0(0x142)](_0x3a5c48,_0x307cef[_0x4a0fe0(0x11d)]),_0x3c95d1=Math['min'](_0x213116+_0x4985d6,_0x307cef[_0x4a0fe0(0x11d)]);return _0x307cef[_0x4a0fe0(0x146)](_0x213116,_0x3c95d1);}function me(_0xa88b1,_0x3311bc,_0x3c4905,_0x343bf1){const _0x3cd8ab=_0x4c8cea,_0x5dd96c=_0x3c4905['getSheetBySheetId'](_0x3311bc);if(!_0x5dd96c)return;const _0x44aaec=_0xa88b1[_0x3cd8ab(0x19e)],_0x117cd8=ke(_0x5dd96c,_0x44aaec);_0x343bf1===ee[_0x3cd8ab(0x1b5)]?_0xa88b1[_0x3cd8ab(0x174)]=JSON['stringify'](ie(_0x117cd8,0x1,0x5)):_0x343bf1===ee[_0x3cd8ab(0x1c0)]&&(_0xa88b1[_0x3cd8ab(0x174)]=JSON[_0x3cd8ab(0x18e)](ie(_0x117cd8,0x1,_0x117cd8['length'])));}function ke(_0x2b705c,_0x4803b9){const _0x2c5fcb=_0x4c8cea,{startRow:_0xf111af,endRow:_0x1e1e72,startColumn:_0x287488,endColumn:_0x37706f}=_0x4803b9,_0x3977e3=[],_0x2c301f=W[_0x2c5fcb(0x153)](_0x2b705c),_0x510e21=_0x2c301f==null?void 0x0:_0x2c301f[_0x2c5fcb(0x176)],_0x4ef2ea=_0x2c301f==null?void 0x0:_0x2c301f['mergeRangeMap'],_0x4f8bcc=_0x2b705c[_0x2c5fcb(0x14b)](),_0x49279a=_0x2b705c['getSheetId']();for(let _0x46fc51=_0xf111af;_0x46fc51<=_0x1e1e72;_0x46fc51++){const _0x3782ac=[];for(let _0x14826b=_0x287488;_0x14826b<=_0x37706f;_0x14826b++){const _0x184cd3=_0x2b705c[_0x2c5fcb(0x145)](_0x46fc51,_0x14826b);let _0x34b00e=_0x184cd3?te(_0x184cd3):void 0x0;if(_0x34b00e==null||_0x34b00e===''){const _0x528d2e={'range':{'startRow':_0x46fc51,'endRow':_0x46fc51,'startColumn':_0x14826b,'endColumn':_0x14826b},'unitId':_0x4f8bcc,'sheetId':_0x49279a},_0x4ee63e=(_0x510e21==null?void 0x0:_0x510e21[_0x2c5fcb(0x1b1)]([_0x528d2e]))||new Map();if(_0x4ee63e[_0x2c5fcb(0x1bd)]>0x0&&_0x4ef2ea){const _0x1024cc=_0x4ee63e[_0x2c5fcb(0x1c4)]()[_0x2c5fcb(0x16b)]()[_0x2c5fcb(0x177)],_0x1a997a=_0x4ef2ea[_0x2c5fcb(0x153)](_0x1024cc);if(!_0x1a997a)continue;const _0x368cef=_0x2b705c['getCell'](_0x1a997a[_0x2c5fcb(0x19e)][_0x2c5fcb(0x180)],_0x1a997a['range'][_0x2c5fcb(0x1a8)]);_0x368cef&&(_0x34b00e=te(_0x368cef));}}_0x3782ac[_0x2c5fcb(0x12f)](_0x34b00e!=null?_0x34b00e:'');}_0x3977e3['push'](_0x3782ac);}return _0x3977e3;}function Je(_0x598c86){return/https?:\/\/|www\./i['test'](_0x598c86);}function Be(_0x5e99fd){const _0x1fa6ca=_0x4c8cea;return Array[_0x1fa6ca(0x1b8)](_0x5e99fd)[_0x1fa6ca(0x11d)];}function ae(_0x22a301){const _0x2b689a=_0x4c8cea;return _0x22a301?/^[-+]?(?:\d+(?:\.\d+)?|\.\d+)(?:e[-+]?\d+)?$/i[_0x2b689a(0x126)](_0x22a301[_0x2b689a(0x19c)]()):!0x1;}function ne(_0x111a80){const _0x3ae23c=_0x4c8cea;let _0x38121c='',_0x484421=_0x111a80+0x1;for(;_0x484421>0x0;){const _0x274069=(_0x484421-0x1)%0x1a;_0x38121c=String['fromCharCode'](0x41+_0x274069)+_0x38121c,_0x484421=Math[_0x3ae23c(0x170)]((_0x484421-0x1)/0x1a);}return _0x38121c;}var Ve=Object[_0x4c8cea(0x136)],ze=(_0x62016a,_0x1be079,_0x3b090c,_0x277ef8)=>{for(var _0x14673=_0x277ef8>0x1?void 0x0:_0x277ef8?Ve(_0x1be079,_0x3b090c):_0x1be079,_0x14b30e=_0x62016a['length']-0x1,_0x2b640d;_0x14b30e>=0x0;_0x14b30e--)(_0x2b640d=_0x62016a[_0x14b30e])&&(_0x14673=_0x2b640d(_0x14673)||_0x14673);return _0x14673;},je=(_0x3fba9e,_0x5cca3c)=>(_0x5e754a,_0x48bebf)=>_0x5cca3c(_0x5e754a,_0x48bebf,_0x3fba9e);exports['RangePreprocessController']=class extends $[_0x4c8cea(0x178)]{constructor(_0x1df8b4){const _0x14a1d6=_0x4c8cea;super(),this[_0x14a1d6(0x1a7)]=_0x1df8b4;}['getAllTableJson'](_0x332e28,_0x29aa14){const _0x4cf65c=_0x4c8cea;return be(_0x332e28,this[_0x4cf65c(0x1a7)],_0x29aa14);}},exports['RangePreprocessController']=ze([je(0x0,$[_0x4c8cea(0x17f)]($[_0x4c8cea(0x140)]))],exports[_0x4c8cea(0x182)]);var Ge=Object[_0x4c8cea(0x136)],qe=(_0x15119b,_0x7b9063,_0x26e34b,_0x5bb20a)=>{const _0x1e195e=_0x4c8cea;for(var _0x109f3b=_0x5bb20a>0x1?void 0x0:_0x5bb20a?Ge(_0x7b9063,_0x26e34b):_0x7b9063,_0x18dcfd=_0x15119b[_0x1e195e(0x11d)]-0x1,_0x50dbb7;_0x18dcfd>=0x0;_0x18dcfd--)(_0x50dbb7=_0x15119b[_0x18dcfd])&&(_0x109f3b=_0x50dbb7(_0x109f3b)||_0x109f3b);return _0x109f3b;},le=(_0x46846c,_0x8e1cb6)=>(_0x4c57c6,_0x2aa2d2)=>_0x8e1cb6(_0x4c57c6,_0x2aa2d2,_0x46846c);const We=_0x4c8cea(0x125);var X;exports[_0x4c8cea(0x19a)]=(X=class extends $['Plugin']{constructor(_0x5cbf7b={},_0x3e0e4,_0x198fa5){const _0x29fd69=_0x4c8cea;super(),this[_0x29fd69(0x1af)]=_0x5cbf7b,this[_0x29fd69(0x1a7)]=_0x3e0e4,this[_0x29fd69(0x195)]=_0x198fa5;const {..._0x29f6b1}=$[_0x29fd69(0x16f)]({},this[_0x29fd69(0x1af)]);this[_0x29fd69(0x195)]['setConfig'](We,_0x29f6b1);}[_0x4c8cea(0x1c2)](){const _0x20a76b=_0x4c8cea,_0x304fb5=[[exports[_0x20a76b(0x182)]]];$[_0x20a76b(0x135)](this[_0x20a76b(0x1a7)],_0x304fb5);}[_0x4c8cea(0x172)](){}},p(X,_0x4c8cea(0x1c6),'UNIVER_RANGE_PREPROCESS_PLUGIN'),X),exports['UniverRangePreprocessPlugin']=qe([le(0x1,$[_0x4c8cea(0x17f)]($[_0x4c8cea(0x140)])),le(0x2,$['IConfigService'])],exports['UniverRangePreprocessPlugin']);
|
|
1
|
+
'use strict';const _0x14ec9e=_0x144c;(function(_0x284e72,_0xe8f8b8){const _0x5a1dd4=_0x144c,_0x3b7a9f=_0x284e72();while(!![]){try{const _0x370c4d=parseInt(_0x5a1dd4(0x148))/0x1*(-parseInt(_0x5a1dd4(0xba))/0x2)+-parseInt(_0x5a1dd4(0xf7))/0x3*(parseInt(_0x5a1dd4(0x14a))/0x4)+-parseInt(_0x5a1dd4(0x129))/0x5+parseInt(_0x5a1dd4(0xc7))/0x6+parseInt(_0x5a1dd4(0xc0))/0x7+-parseInt(_0x5a1dd4(0x130))/0x8+parseInt(_0x5a1dd4(0x10e))/0x9;if(_0x370c4d===_0xe8f8b8)break;else _0x3b7a9f['push'](_0x3b7a9f['shift']());}catch(_0x2ac55a){_0x3b7a9f['push'](_0x3b7a9f['shift']());}}}(_0x52dd,0x51e6d));var Ce=Object['defineProperty'],ge=(_0x4811dc,_0x3b9a65,_0x45ba9b)=>_0x3b9a65 in _0x4811dc?Ce(_0x4811dc,_0x3b9a65,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x45ba9b}):_0x4811dc[_0x3b9a65]=_0x45ba9b,p=(_0x4429a1,_0x4eb1f1,_0x1a1de6)=>ge(_0x4429a1,typeof _0x4eb1f1!=_0x14ec9e(0x115)?_0x4eb1f1+'':_0x4eb1f1,_0x1a1de6);Object['defineProperty'](exports,Symbol[_0x14ec9e(0x11d)],{'value':_0x14ec9e(0xbb)});const $=require('@univerjs/core');require('@univerjs/sheets-filter');const H=require('@univerjs/sheets-table');function oe(_0x475098){const _0x2408eb=_0x14ec9e;return _0x475098['v']==null?'':String(_0x475098['v'])[_0x2408eb(0x123)]();}function he(_0x3c6839){const _0x18b639=_0x14ec9e;return/^[-+]?(?:\d+(?:\.\d+)?|\.\d+)(?:e[-+]?\d+)?$/i[_0x18b639(0x14e)](_0x3c6839);}const Z=0x2,Q=0x1;function ue(_0x22afe5,_0x1efcac){const _0x56be75=_0x14ec9e,_0xcaeae5={'2006-01-02':/^\d{4}-\d{2}-\d{2}$/,'2006-1-2':/^\d{4}-\d{1,2}-\d{1,2}$/,'2006/01/02':/^\d{4}\/\d{2}\/\d{2}$/,'2006/1/2':/^\d{4}\/\d{1,2}\/\d{1,2}$/,'2006年1月2日':/^\d{4}年\d{1,2}月\d{1,2}日$/,'02-01-2006':/^\d{1,2}-\d{1,2}-\d{4}$/,'02/01/2006':/^\d{1,2}\/\d{1,2}\/\d{4}$/,'02.01.2006':/^\d{1,2}\.\d{1,2}\.\d{4}$/,'01-02-2006':/^\d{1,2}-\d{1,2}-\d{4}$/,'01/02/2006':/^\d{1,2}\/\d{1,2}\/\d{4}$/,'2\x20January,\x202006':/^\d{1,2}\s+[A-Z]+,\s*\d{4}$/i,'2\x20January,2006':/^\d{1,2}\s+[A-Z]+,\d{4}$/i,'2\x20Jan.,\x202006':/^\d{1,2}\s+[A-Z]{3}\.,\s*\d{4}$/i,'January\x202,\x202006':/^[A-Z]+\s+\d{1,2},\s*\d{4}$/i,'January\x202,2006':/^[A-Z]+\s+\d{1,2},\d{4}$/i,'Jan.\x202,\x202006':/^[A-Z]{3}\.\s+\d{1,2},\s*\d{4}$/i,0x13217c6:/^\d{8}$/,'2006-01-02T15:04:05':/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/,'2006-01-02\x2015:04:05':/^\d{4}-\d{2}-\d{2}\s+\d{2}:\d{2}:\d{2}$/}[_0x1efcac];if(!_0xcaeae5||!_0xcaeae5['test'](_0x22afe5))return!0x1;const _0x36ae87=_0x22afe5[_0x56be75(0xfb)](/\D+/g,'\x20')[_0x56be75(0x123)]()[_0x56be75(0xf5)](/\s+/)['map'](Number);let _0x46fd37=0x0,_0x5b56a1=0x1,_0x37a088=0x1,_0x12efba=0x0,_0x56be39=0x0,_0x555af3=0x0;switch(_0x1efcac){case'2006-01-02':case _0x56be75(0x133):case'2006/01/02':case _0x56be75(0xe1):[_0x46fd37,_0x5b56a1,_0x37a088]=_0x36ae87;break;case _0x56be75(0x122):[_0x46fd37,_0x5b56a1,_0x37a088]=_0x36ae87;break;case'02-01-2006':case _0x56be75(0xbc):case'02.01.2006':[_0x37a088,_0x5b56a1,_0x46fd37]=_0x36ae87;break;case'01-02-2006':case _0x56be75(0xad):[_0x5b56a1,_0x37a088,_0x46fd37]=_0x36ae87;break;case _0x56be75(0x109):{const _0x5e6366=_0x22afe5;_0x46fd37=+_0x5e6366['slice'](0x0,0x4),_0x5b56a1=+_0x5e6366[_0x56be75(0xdc)](0x4,0x6),_0x37a088=+_0x5e6366[_0x56be75(0xdc)](0x6,0x8);break;}case'2006-01-02T15:04:05':case _0x56be75(0xfe):[_0x46fd37,_0x5b56a1,_0x37a088,_0x12efba,_0x56be39,_0x555af3]=_0x36ae87;break;default:return!0x0;}if(_0x5b56a1<0x1||_0x5b56a1>0xc||_0x37a088<0x1||_0x37a088>0x1f||_0x12efba<0x0||_0x12efba>0x17||_0x56be39<0x0||_0x56be39>0x3b||_0x555af3<0x0||_0x555af3>0x3b)return!0x1;const _0x252300=new Date(_0x46fd37,_0x5b56a1-0x1,_0x37a088,_0x12efba,_0x56be39,_0x555af3);return!(_0x252300[_0x56be75(0x114)]()!==_0x46fd37||_0x252300[_0x56be75(0x141)]()!==_0x5b56a1-0x1||_0x252300[_0x56be75(0xe9)]()!==_0x37a088);}function we(_0x47216a){const _0x63d7b5=_0x14ec9e;return Number[_0x63d7b5(0xef)](_0x47216a)&&_0x47216a>=0x1&&_0x47216a<=0x13880;}function pe(_0x442e20){const _0x1afa6a=_0x14ec9e;switch(_0x442e20){case 0x0:return'string';case 0x1:return'number';case 0x2:case 0x3:case 0x4:return'date';case 0x5:return _0x1afa6a(0xf9);default:return _0x1afa6a(0xb4);}}class Y{constructor(){const _0x579e44=_0x14ec9e;p(this,_0x579e44(0xd8),0x0),p(this,_0x579e44(0xd1),0x0),p(this,_0x579e44(0xf4),0x0);}}class I extends Y{constructor(_0x546460){const _0x5858d0=_0x14ec9e;super(),p(this,_0x5858d0(0x10a)),p(this,'dt'),p(this,'layout'),p(this,_0x5858d0(0x13a)),(this['dt']=_0x546460['dt'],this[_0x5858d0(0xcb)]=_0x546460['layout'],this[_0x5858d0(0x13a)]=!!_0x546460['needConvert']);}[_0x14ec9e(0xea)](_0x1af9db){const _0x1a7d01=_0x14ec9e;if(_0x1af9db['t']===$['CellValueType'][_0x1a7d01(0xb1)]){const _0x3ccb8c=oe(_0x1af9db);if(!_0x3ccb8c)return;ue(_0x3ccb8c,this[_0x1a7d01(0xcb)])?this[_0x1a7d01(0xd8)]+=Z:this['invalid']++;}}[_0x14ec9e(0x108)](){const _0xffd4e=_0x14ec9e,_0x23f301=0x64-Math['trunc']((this[_0xffd4e(0xd1)]*0xa+0x1)*0x64/(this[_0xffd4e(0xd1)]+this[_0xffd4e(0xd8)]+0x1)),_0x798dab={'Charset':this['dt'],'Confidence':_0x23f301,'debugInfo':this['layout']};return this[_0xffd4e(0x13a)]&&(_0x798dab[_0xffd4e(0xc1)]=this[_0xffd4e(0xcb)]),_0x798dab;}}class re extends Y{constructor(_0x2aa59b){const _0x20fcbd=_0x14ec9e;super(),p(this,_0x20fcbd(0xe8)),p(this,_0x20fcbd(0x10a)),p(this,'dt'),p(this,_0x20fcbd(0xcb)),p(this,_0x20fcbd(0x13a)),(this['dateStyles']=_0x2aa59b[_0x20fcbd(0xe8)]||{},this['dt']=_0x2aa59b['dt'],this[_0x20fcbd(0xcb)]=_0x2aa59b[_0x20fcbd(0xcb)],this[_0x20fcbd(0x13a)]=!!_0x2aa59b[_0x20fcbd(0x13a)]);}[_0x14ec9e(0xea)](_0x4ee05c){const _0x431ca7=_0x14ec9e;if(_0x4ee05c['t']===$[_0x431ca7(0x13f)][_0x431ca7(0xdd)]){if(_0x4ee05c['s']&&this[_0x431ca7(0xe8)][_0x4ee05c['s']]){this['valid']+=Z;return;}const _0x211586=oe(_0x4ee05c);if(!_0x211586)return;if(this[_0x431ca7(0xcb)]===_0x431ca7(0xe0)){const _0x32b27c=Number(_0x211586);if(we(_0x32b27c)){this['valid']+=Z;return;}}ue(_0x211586,this[_0x431ca7(0xcb)])?this[_0x431ca7(0xd8)]+=Z:this['invalid']++;}}['Calc'](){const _0x4acdf1=_0x14ec9e,_0x2ec147=0x64-Math[_0x4acdf1(0x110)]((this[_0x4acdf1(0xd1)]*0xa+0x1)*0x64/(this[_0x4acdf1(0xd1)]+this[_0x4acdf1(0xd8)]+0x1)),_0x32c659={'Charset':this['dt'],'Confidence':_0x2ec147,'debugInfo':this[_0x4acdf1(0xcb)]};return this[_0x4acdf1(0x13a)]&&(_0x32c659[_0x4acdf1(0xc1)]=this['layout']),_0x32c659;}}class Me extends Y{[_0x14ec9e(0xea)](_0x47403a){const _0x208069=_0x14ec9e;if(_0x47403a['t']===$[_0x208069(0x13f)][_0x208069(0xdd)])this[_0x208069(0xd8)]+=Q;else{const _0x557091=oe(_0x47403a);if(!_0x557091)return;he(_0x557091)?this['valid']+=Q:this[_0x208069(0xd1)]++;}}[_0x14ec9e(0x108)](){const _0x75fdc5=_0x14ec9e;return{'Charset':0x1,'Confidence':0x64-Math[_0x75fdc5(0x110)]((this[_0x75fdc5(0xd1)]*0xa+0x1)*0x64/(this[_0x75fdc5(0xd1)]+this[_0x75fdc5(0xd8)]+0x1)),'debugInfo':_0x75fdc5(0x159)};}}class Re extends Y{[_0x14ec9e(0xea)](_0x4675b1){const _0x4587b1=_0x14ec9e;_0x4675b1['t']===$['CellValueType'][_0x4587b1(0xb9)]?this['valid']+=Q:this[_0x4587b1(0xd1)]++;}[_0x14ec9e(0x108)](){const _0x583ddc=_0x14ec9e;return{'Charset':0x5,'Confidence':0x64-Math[_0x583ddc(0x110)]((this[_0x583ddc(0xd1)]*0xa+0x1)*0x64/(this['invalid']+this['valid']+0x1)),'debugInfo':_0x583ddc(0x159)};}}class Te{constructor(_0x2dd0f8){const _0x36ea8f=_0x14ec9e;p(this,_0x36ea8f(0xb0)),p(this,'dateStyles'),(this[_0x36ea8f(0xe8)]=_0x2dd0f8||{},this[_0x36ea8f(0xb0)]=[new I({'dt':0x2,'layout':_0x36ea8f(0x10b)}),new I({'dt':0x2,'layout':_0x36ea8f(0x133)}),new I({'dt':0x2,'layout':_0x36ea8f(0x132)}),new I({'dt':0x2,'layout':_0x36ea8f(0xe1)}),new I({'dt':0x2,'layout':_0x36ea8f(0x122),'needConvert':!0x0}),new I({'dt':0x2,'layout':_0x36ea8f(0xaf),'needConvert':!0x0}),new I({'dt':0x2,'layout':_0x36ea8f(0xbc),'needConvert':!0x0}),new I({'dt':0x2,'layout':_0x36ea8f(0xe2),'needConvert':!0x0}),new I({'dt':0x2,'layout':_0x36ea8f(0xff),'needConvert':!0x0}),new I({'dt':0x2,'layout':_0x36ea8f(0xad),'needConvert':!0x0}),new I({'dt':0x2,'layout':_0x36ea8f(0xbd),'needConvert':!0x0}),new I({'dt':0x2,'layout':_0x36ea8f(0x128),'needConvert':!0x0}),new I({'dt':0x2,'layout':_0x36ea8f(0xb8),'needConvert':!0x0}),new I({'dt':0x2,'layout':_0x36ea8f(0xdf),'needConvert':!0x0}),new I({'dt':0x2,'layout':_0x36ea8f(0xc9),'needConvert':!0x0}),new I({'dt':0x2,'layout':_0x36ea8f(0xec),'needConvert':!0x0}),new I({'dt':0x2,'layout':_0x36ea8f(0x109),'needConvert':!0x0}),new re({'dateStyles':this[_0x36ea8f(0xe8)],'dt':0x2,'layout':'20060102','needConvert':!0x0}),new I({'dt':0x4,'layout':'2006-01-02T15:04:05'}),new I({'dt':0x4,'layout':'2006-01-02\x2015:04:05'}),new re({'dateStyles':this[_0x36ea8f(0xe8)],'dt':0x3,'layout':'excel','needConvert':!0x0}),new Me(),new Re()]);}[_0x14ec9e(0xea)](_0x1dc4f4){const _0x16a921=_0x14ec9e;for(const _0x498f68 of this[_0x16a921(0xb0)])_0x498f68[_0x16a921(0xea)](_0x1dc4f4);}[_0x14ec9e(0x118)](){const _0x34a406=_0x14ec9e,_0x932fe3=this[_0x34a406(0xb0)][_0x34a406(0xe7)](_0x2b71a0=>_0x2b71a0['Calc']());if(_0x932fe3[_0x34a406(0x100)]((_0x272a62,_0x2cd676)=>_0x2cd676[_0x34a406(0xed)]-_0x272a62[_0x34a406(0xed)]),_0x932fe3[_0x34a406(0xaa)]===0x0||_0x932fe3[0x0]['Confidence']<0x32)return[_0x34a406(0x14c),null];const _0x415b90=_0x932fe3[0x0];return[pe(_0x415b90['Charset']),_0x415b90];}}function ce(_0x2daed1,_0x15eebf){const _0x3d23f1=_0x14ec9e;let _0x4f4f7d=_0x2daed1,_0xde080b=_0x15eebf;_0x4f4f7d<=0x0&&(_0x4f4f7d=0x6),_0xde080b<=0x0&&(_0xde080b=0xa),_0xde080b=_0xde080b*0x2;const _0x4ea808=[];for(let _0x2e402e=0x0;_0x2e402e<_0xde080b;_0x2e402e++)_0x4ea808['push']($[_0x3d23f1(0x139)](_0x4f4f7d));const _0x231a37=new Map();for(const _0x243e7f of _0x4ea808){const _0x45bde4=_0x243e7f[_0x3d23f1(0xae)]();_0x231a37[_0x3d23f1(0xd0)](_0x45bde4)||_0x231a37[_0x3d23f1(0x119)](_0x45bde4,_0x243e7f);}return Array[_0x3d23f1(0x154)](_0x231a37[_0x3d23f1(0x158)]());}var ee=(_0xab8fde=>(_0xab8fde[_0x14ec9e(0x11a)]='none',_0xab8fde[_0x14ec9e(0xb7)]='all',_0xab8fde[_0x14ec9e(0x107)]=_0x14ec9e(0xc8),_0xab8fde))(ee||{});class K{constructor(_0x8aed2f){const _0xdad106=_0x14ec9e;p(this,'id'),p(this,'sheetId'),p(this,_0xdad106(0x144)),p(this,'name'),p(this,_0xdad106(0x106)),p(this,_0xdad106(0xca)),p(this,_0xdad106(0x102)),p(this,_0xdad106(0x156)),p(this,_0xdad106(0x13b)),p(this,_0xdad106(0x124)),p(this,'rowMergeTitleState'),p(this,_0xdad106(0x12a)),p(this,_0xdad106(0x10f)),p(this,_0xdad106(0xd4)),p(this,_0xdad106(0x151)),p(this,_0xdad106(0xc6)),p(this,'isTestTable'),p(this,_0xdad106(0x112)),p(this,_0xdad106(0xf0));var _0x1779c3,_0x21fd54,_0xdc5da6,_0x358310,_0x35015f,_0x83d858,_0x33e44a,_0x5f068e,_0x27da6d,_0x4fa40f,_0x56b5f5,_0x24f032,_0x43bd40,_0x37c572,_0x4afad0,_0xc8bfd9,_0x3b16e7,_0xfe2850,_0x38c371;this['id']=(_0x1779c3=_0x8aed2f==null?void 0x0:_0x8aed2f['id'])!=null?_0x1779c3:'',this[_0xdad106(0x104)]=(_0x21fd54=_0x8aed2f==null?void 0x0:_0x8aed2f[_0xdad106(0x104)])!=null?_0x21fd54:$['generateRandomId'](),this[_0xdad106(0x144)]=(_0xdc5da6=_0x8aed2f==null?void 0x0:_0x8aed2f['range'])!=null?_0xdc5da6:{'startRow':-0x1,'endRow':-0x1,'startColumn':-0x1,'endColumn':-0x1},this[_0xdad106(0x12c)]=(_0x358310=_0x8aed2f==null?void 0x0:_0x8aed2f['name'])!=null?_0x358310:'',this['description']=(_0x35015f=_0x8aed2f==null?void 0x0:_0x8aed2f['description'])!=null?_0x35015f:'',this[_0xdad106(0xca)]=(_0x83d858=_0x8aed2f==null?void 0x0:_0x8aed2f[_0xdad106(0xca)])!=null?_0x83d858:0x0,this['mergeRowTitleCount']=(_0x33e44a=_0x8aed2f==null?void 0x0:_0x8aed2f[_0xdad106(0x102)])!=null?_0x33e44a:0x0,this['startStatisticRowCount']=(_0x5f068e=_0x8aed2f==null?void 0x0:_0x8aed2f[_0xdad106(0x156)])!=null?_0x5f068e:0x0,this[_0xdad106(0x13b)]=(_0x27da6d=_0x8aed2f==null?void 0x0:_0x8aed2f[_0xdad106(0x13b)])!=null?_0x27da6d:0x0,this[_0xdad106(0x124)]=(_0x4fa40f=_0x8aed2f==null?void 0x0:_0x8aed2f[_0xdad106(0x124)])!=null?_0x4fa40f:new Map(),this[_0xdad106(0xeb)]=(_0x56b5f5=_0x8aed2f==null?void 0x0:_0x8aed2f[_0xdad106(0xeb)])!=null?_0x56b5f5:!0x1,this['columnMergeTitleState']=(_0x24f032=_0x8aed2f==null?void 0x0:_0x8aed2f[_0xdad106(0x12a)])!=null?_0x24f032:!0x1,this[_0xdad106(0x10f)]=(_0x43bd40=_0x8aed2f==null?void 0x0:_0x8aed2f['columnMergeTitleCountMap'])!=null?_0x43bd40:new Map(),this['isMatchEnd']=(_0x37c572=_0x8aed2f==null?void 0x0:_0x8aed2f['isMatchEnd'])!=null?_0x37c572:!0x1,this[_0xdad106(0x151)]=(_0x4afad0=_0x8aed2f==null?void 0x0:_0x8aed2f[_0xdad106(0x151)])!=null?_0x4afad0:!0x1,this['isTimeSeries']=(_0xc8bfd9=_0x8aed2f==null?void 0x0:_0x8aed2f[_0xdad106(0xc6)])!=null?_0xc8bfd9:!0x1,this['isTestTable']=(_0x3b16e7=_0x8aed2f==null?void 0x0:_0x8aed2f[_0xdad106(0x105)])!=null?_0x3b16e7:!0x1,this[_0xdad106(0x112)]=(_0xfe2850=_0x8aed2f==null?void 0x0:_0x8aed2f[_0xdad106(0x112)])!=null?_0xfe2850:!0x1,this['columns']=(_0x38c371=_0x8aed2f==null?void 0x0:_0x8aed2f[_0xdad106(0xf0)])!=null?_0x38c371:[];}[_0x14ec9e(0xce)](_0x3ed220,_0x2755e5){return _0x2755e5-_0x3ed220===0x1||_0x2755e5===_0x3ed220;}[_0x14ec9e(0x101)](_0x459baa){const _0x44ae0a=_0x14ec9e,_0x4781e8=[];for(const _0x5b729e of _0x459baa)this['range'][_0x44ae0a(0xe4)]<_0x5b729e[_0x44ae0a(0x144)]['startColumn']||this[_0x44ae0a(0x144)][_0x44ae0a(0xd2)]>_0x5b729e['range'][_0x44ae0a(0xe4)]||this[_0x44ae0a(0xce)](_0x5b729e[_0x44ae0a(0x144)]['endRow'],this[_0x44ae0a(0x144)][_0x44ae0a(0xdb)])&&_0x4781e8['push'](_0x5b729e);return _0x4781e8;}['intersectWithColumns'](_0x848bcc){const _0x10efd8=_0x14ec9e;return _0x848bcc[_0x10efd8(0x144)][_0x10efd8(0x10c)]===this['range'][_0x10efd8(0xdb)]&&this['range']['endColumn']+0x1===_0x848bcc[_0x10efd8(0x144)][_0x10efd8(0xd2)];}[_0x14ec9e(0xde)](_0x23a2fe){const _0x308c49=_0x14ec9e;return this[_0x308c49(0x144)][_0x308c49(0xd2)]===-0x1?this:(_0x23a2fe[_0x308c49(0xf6)](this),new K({'sheetId':this[_0x308c49(0x104)],'range':{'startRow':this[_0x308c49(0x144)][_0x308c49(0xdb)],'endRow':this[_0x308c49(0x144)][_0x308c49(0x10c)],'startColumn':-0x1,'endColumn':-0x1}}));}['insertCellData'](_0x1aad99,_0x314360,_0x3ca7bd,_0x492aca){const _0x2bf527=_0x14ec9e;this[_0x2bf527(0x144)][_0x2bf527(0xd2)]===-0x1&&(this[_0x2bf527(0x144)]['startColumn']=_0x314360),this['range'][_0x2bf527(0xe4)]=_0x314360,_0x492aca!=null&&(this[_0x2bf527(0x144)][_0x2bf527(0xe4)]=Math[_0x2bf527(0x14b)](_0x492aca,this[_0x2bf527(0x144)][_0x2bf527(0xe4)]));}[_0x14ec9e(0xd6)](){const _0x2b463a=_0x14ec9e;this['rowMergeTitleCountMap'][_0x2b463a(0x11f)](),this[_0x2b463a(0x10f)][_0x2b463a(0x11f)](),this[_0x2b463a(0xf0)]=[];}}function de(_0x46995c,_0xdd64d8){const {startRow:_0x253053,startColumn:_0x4e4270,endRow:_0x4127dd,endColumn:_0x3e228e}=_0xdd64d8;return _0x46995c+':'+_0x253053+','+_0x4e4270+'-'+_0x4127dd+','+_0x3e228e;}const W=new Map();function ye(_0x37ad8f,_0x331e1f){const _0x5bc2bb=_0x14ec9e;var _0x24b878;const _0x2df38f=new $[(_0x5bc2bb(0xb6))](!0x1),_0x100547=_0x331e1f[_0x5bc2bb(0xc3)](),_0x57366d=new Map(),_0x59a802=(_0x24b878=_0x331e1f[_0x5bc2bb(0x142)]())!=null?_0x24b878:[];W[_0x5bc2bb(0x11f)]();for(const _0x588712 of _0x59a802){const _0x4d6636=de('merge',_0x588712),_0x35040c={'unitId':_0x37ad8f,'sheetId':_0x100547,'range':_0x588712,'id':_0x4d6636};_0x2df38f[_0x5bc2bb(0x11c)](_0x35040c),_0x57366d['set'](_0x4d6636,_0x35040c);}return W[_0x5bc2bb(0x119)](_0x331e1f,{'mergeRTree':_0x2df38f,'mergeRangeMap':_0x57366d}),{'mergeRTree':_0x2df38f,'mergeRangeMap':_0x57366d};}function Se(_0x1a20ca,_0x579661,_0x52cdb7){const _0x4437ba=_0x14ec9e,_0x41a40f=new $[(_0x4437ba(0xb6))](!0x1),_0x29453f=_0x52cdb7[_0x4437ba(0xfc)](H[_0x4437ba(0x131)])['getTableList'](_0x1a20ca);if(_0x29453f&&Array[_0x4437ba(0x121)](_0x29453f))for(const _0xe70543 of _0x29453f){if(!(_0xe70543!=null&&_0xe70543[_0x4437ba(0x144)]))continue;const _0x34c1d6=_0xe70543[_0x4437ba(0x144)],_0x23120b={'unitId':_0x1a20ca,'sheetId':_0x579661,'range':_0x34c1d6,'id':de('table',_0x34c1d6)};_0x41a40f['insert'](_0x23120b);}return _0x41a40f;}function se(_0x54f106,_0x3ff256,_0xc20b07){const _0x39307a=_0x14ec9e,_0x2fa0f7=_0x54f106[_0x39307a(0xfc)](_0x3ff256);_0x2fa0f7?_0x2fa0f7[_0x39307a(0xf6)](_0xc20b07):_0x54f106[_0x39307a(0x119)](_0x3ff256,[_0xc20b07]);}function ve(_0x33f459,_0x1f17f0){const _0x283bf7=_0x14ec9e;var _0x33a4a6,_0x208be8,_0x210561;const _0x664b9c=_0x33f459[_0x283bf7(0xcf)](),_0x5f2a71={},_0x2c1f16=_0x33f459['getUnitId']();for(const _0x4cf76e of _0x664b9c){const _0x34ceda=_0x4cf76e[_0x283bf7(0xc3)](),_0x223b57=_0x4cf76e['getRowCount'](),_0x29f992=_0x4cf76e['getColumnCount'](),{mergeRTree:_0xd78b99,mergeRangeMap:_0x3c5a3f}=ye(_0x2c1f16,_0x4cf76e),_0x470767=Se(_0x2c1f16,_0x34ceda,_0x1f17f0),_0x243ab2=[];let _0x48634f=[];for(let _0x202108=0x0;_0x202108<_0x223b57;_0x202108++){const _0x6a7713=[];let _0x3d4ce8=new K({'sheetId':_0x34ceda,'range':{'startRow':_0x202108,'endRow':_0x202108,'startColumn':-0x1,'endColumn':-0x1}});const _0x2d6ba5=new Map();for(let _0x2f1dab=0x0;_0x2f1dab<=_0x29f992;_0x2f1dab++){const _0x56d981=_0x4cf76e[_0x283bf7(0xc2)](_0x202108,_0x2f1dab),_0x1b3f69={'range':{'startRow':_0x202108,'startColumn':_0x2f1dab,'endRow':_0x202108,'endColumn':_0x2f1dab},'unitId':_0x2c1f16,'sheetId':_0x34ceda};if(_0x470767[_0x283bf7(0x13e)]([_0x1b3f69])['size']>0x0){_0x3d4ce8=_0x3d4ce8[_0x283bf7(0xde)](_0x6a7713);continue;}const _0x35cd28=_0xd78b99[_0x283bf7(0x13e)]([_0x1b3f69]);if(_0x35cd28[_0x283bf7(0xd5)]>0x0){const _0x44b79=_0x3d4ce8['intersectWithPreTables'](_0x48634f),_0x54bb47=_0x35cd28[_0x283bf7(0x12e)]()['next']()[_0x283bf7(0xe3)],_0x4d4ea2=_0x3c5a3f[_0x283bf7(0xfc)](_0x54bb47);if(!_0x4d4ea2)continue;const _0x5f0fea={'startRow':_0x4d4ea2[_0x283bf7(0x144)]['startRow'],'endRow':_0x4d4ea2[_0x283bf7(0x144)][_0x283bf7(0x10c)],'startColumn':_0x4d4ea2[_0x283bf7(0x144)][_0x283bf7(0xd2)],'endColumn':_0x4d4ea2[_0x283bf7(0x144)][_0x283bf7(0xe4)]},_0x2c7cd0=_0x4cf76e[_0x283bf7(0xc2)](_0x5f0fea[_0x283bf7(0xdb)],_0x5f0fea['startColumn']);if(_0x2c7cd0&&(_0x2c7cd0['p']!=null||_0x2c7cd0['v']!=null&&String(_0x2c7cd0['v'])[_0x283bf7(0xaa)]>0x0)){_0x3d4ce8[_0x283bf7(0xf2)](_0x202108,_0x2f1dab,_0x56d981,_0x5f0fea['endColumn']);for(let _0x9823af=_0x5f0fea[_0x283bf7(0xd2)];_0x9823af<=_0x5f0fea[_0x283bf7(0xe4)];_0x9823af++)_0x2d6ba5['set'](_0x9823af,!0x0);}else _0x3d4ce8=_0x3d4ce8[_0x283bf7(0xde)](_0x6a7713);const _0x1d4888=_0x5f0fea[_0x283bf7(0x10c)]-_0x5f0fea['startRow'],_0x329508=_0x5f0fea[_0x283bf7(0xe4)]-_0x5f0fea['startColumn'];if(_0x44b79['length']===0x1){if(_0x1d4888>0x0&&se(_0x3d4ce8[_0x283bf7(0x10f)],_0x2f1dab,_0x4d4ea2),_0x329508>0x0){const _0x200dda=(_0x33a4a6=_0x3d4ce8['rowMergeTitleCountMap'][_0x283bf7(0xfc)](_0x202108))!=null?_0x33a4a6:[];_0x200dda[_0x283bf7(0xf6)](_0x4d4ea2),_0x3d4ce8[_0x283bf7(0x124)]['set'](_0x202108,_0x200dda);}}else{if(_0x1d4888>0x0&&(_0x3d4ce8[_0x283bf7(0x12a)]=!0x0,se(_0x3d4ce8['columnMergeTitleCountMap'],_0x2f1dab,_0x4d4ea2)),_0x329508>0x0){_0x3d4ce8['rowMergeTitleState']=!0x0;const _0x507cdf=(_0x208be8=_0x3d4ce8['rowMergeTitleCountMap']['get'](_0x202108))!=null?_0x208be8:[];_0x507cdf[_0x283bf7(0xf6)](_0x4d4ea2),_0x3d4ce8[_0x283bf7(0x124)]['set'](_0x202108,_0x507cdf);}}continue;}if((!_0x56d981||G(_0x56d981)==null)&&!_0x2d6ba5[_0x283bf7(0xfc)](_0x2f1dab)){_0x3d4ce8=_0x3d4ce8[_0x283bf7(0xde)](_0x6a7713);continue;}_0x56d981&&G(_0x56d981)!=null?_0x3d4ce8[_0x283bf7(0xf2)](_0x202108,_0x2f1dab,_0x56d981):(_0x3d4ce8[_0x283bf7(0xeb)]=!0x1,_0x3d4ce8[_0x283bf7(0x12a)]=!0x1,_0x3d4ce8=_0x3d4ce8[_0x283bf7(0xde)](_0x6a7713));}if(_0x6a7713[_0x283bf7(0xaa)]===0x0){_0x243ab2['push'](..._0x48634f),_0x48634f=[];continue;}if(_0x48634f['length']===0x0){_0x48634f['push'](..._0x6a7713);continue;}const _0x22756b=(_0x652ef2,_0x2474ab)=>{const _0x550921=_0x283bf7;_0x652ef2[_0x550921(0x144)][_0x550921(0xdb)]=Math[_0x550921(0x138)](_0x652ef2[_0x550921(0x144)][_0x550921(0xdb)],_0x2474ab[_0x550921(0x144)][_0x550921(0xdb)]),_0x652ef2[_0x550921(0x144)][_0x550921(0x10c)]=Math[_0x550921(0x14b)](_0x652ef2['range'][_0x550921(0x10c)],_0x2474ab[_0x550921(0x144)][_0x550921(0x10c)]),_0x652ef2[_0x550921(0x144)]['startColumn']=Math[_0x550921(0x138)](_0x652ef2[_0x550921(0x144)][_0x550921(0xd2)],_0x2474ab[_0x550921(0x144)][_0x550921(0xd2)]),_0x652ef2[_0x550921(0x144)]['endColumn']=Math[_0x550921(0x14b)](_0x652ef2[_0x550921(0x144)][_0x550921(0xe4)],_0x2474ab[_0x550921(0x144)][_0x550921(0xe4)]),_0x2474ab[_0x550921(0x124)][_0x550921(0xf3)]((_0x5140b5,_0x2bbedd)=>{const _0x4e6204=_0x550921;var _0x2b970c;const _0x2890cf=(_0x2b970c=_0x652ef2[_0x4e6204(0x124)][_0x4e6204(0xfc)](_0x2bbedd))!=null?_0x2b970c:[];_0x2890cf[_0x4e6204(0xf6)](..._0x5140b5),_0x652ef2[_0x4e6204(0x124)]['set'](_0x2bbedd,_0x2890cf);}),_0x2474ab[_0x550921(0x10f)][_0x550921(0xf3)]((_0x4869c9,_0x2ec6ba)=>{const _0x1695bc=_0x550921;var _0x2f81a4;const _0x33167b=(_0x2f81a4=_0x652ef2['columnMergeTitleCountMap'][_0x1695bc(0xfc)](_0x2ec6ba))!=null?_0x2f81a4:[];_0x33167b[_0x1695bc(0xf6)](..._0x4869c9),_0x652ef2[_0x1695bc(0x10f)][_0x1695bc(0x119)](_0x2ec6ba,_0x33167b);});};for(let _0x21a591=0x0;_0x21a591+0x1<_0x6a7713[_0x283bf7(0xaa)];_0x21a591++){const _0x3798b9=_0x6a7713[_0x21a591],_0x553d5d=_0x6a7713[_0x21a591+0x1];_0x3798b9['intersectWithColumns'](_0x553d5d)&&(_0x22756b(_0x3798b9,_0x553d5d),_0x6a7713['splice'](_0x21a591+0x1,0x1),_0x21a591--);}const _0x344c1e=[];for(const _0x38333c of _0x6a7713){const _0x13a8ef=_0x38333c[_0x283bf7(0x101)](_0x48634f);if(_0x13a8ef[_0x283bf7(0xaa)]===0x0){_0x344c1e[_0x283bf7(0xf6)](_0x38333c);continue;}const _0x1d4d6e=(_0x210561=_0x38333c[_0x283bf7(0x124)][_0x283bf7(0xfc)](_0x202108))!=null?_0x210561:[];let _0x7a3d55=Number[_0x283bf7(0xb3)],_0x2a7c40=-0x1,_0x5b5e6e=-0x1;for(const _0x2ed302 of _0x1d4d6e){const _0x12eeb0=_0x2ed302['range'],_0xf18875=_0x12eeb0[_0x283bf7(0xd2)],_0x332576=_0x12eeb0['endColumn'];_0x7a3d55=Math[_0x283bf7(0x138)](_0x7a3d55,_0xf18875),_0x2a7c40=Math[_0x283bf7(0x14b)](_0x2a7c40,_0x332576);}_0x2a7c40===-0x1&&(_0x5b5e6e=_0x2a7c40-_0x7a3d55+0x1);const _0x510c08=_0x13a8ef[0x0][_0x283bf7(0x144)],_0x113114=_0x510c08['endColumn']-_0x510c08[_0x283bf7(0xd2)]+0x1;if(_0x5b5e6e>=0x0&&_0x5b5e6e<=_0x113114*0x3/0x4){_0x344c1e[_0x283bf7(0xf6)](_0x38333c);continue;}const _0x171864=_0x13a8ef[0x0];for(const _0x3723b3 of _0x13a8ef[_0x283bf7(0xdc)](0x1))_0x171864[_0x283bf7(0x144)]['startRow']=Math['min'](_0x171864['range'][_0x283bf7(0xdb)],_0x3723b3['range']['startRow']),_0x171864['range'][_0x283bf7(0x10c)]=Math[_0x283bf7(0x14b)](_0x171864[_0x283bf7(0x144)][_0x283bf7(0x10c)],_0x3723b3[_0x283bf7(0x144)][_0x283bf7(0x10c)]),_0x171864[_0x283bf7(0x144)]['startColumn']=Math[_0x283bf7(0x138)](_0x171864['range'][_0x283bf7(0xd2)],_0x3723b3[_0x283bf7(0x144)][_0x283bf7(0xd2)]),_0x171864[_0x283bf7(0x144)][_0x283bf7(0xe4)]=Math['max'](_0x171864['range'][_0x283bf7(0xe4)],_0x3723b3[_0x283bf7(0x144)][_0x283bf7(0xe4)]);_0x171864['range'][_0x283bf7(0xdb)]=Math['min'](_0x171864['range'][_0x283bf7(0xdb)],_0x38333c[_0x283bf7(0x144)][_0x283bf7(0xdb)]),_0x171864['range'][_0x283bf7(0x10c)]=Math[_0x283bf7(0x14b)](_0x171864[_0x283bf7(0x144)]['endRow'],_0x38333c['range'][_0x283bf7(0x10c)]),_0x171864[_0x283bf7(0x144)]['startColumn']=Math[_0x283bf7(0x138)](_0x171864[_0x283bf7(0x144)]['startColumn'],_0x38333c[_0x283bf7(0x144)][_0x283bf7(0xd2)]),_0x171864[_0x283bf7(0x144)]['endColumn']=Math['max'](_0x171864['range'][_0x283bf7(0xe4)],_0x38333c[_0x283bf7(0x144)][_0x283bf7(0xe4)]),_0x38333c[_0x283bf7(0x124)][_0x283bf7(0xf3)]((_0x171fec,_0x198aec)=>{const _0x29145e=_0x283bf7;var _0x3445ad;const _0x22b277=(_0x3445ad=_0x171864['rowMergeTitleCountMap'][_0x29145e(0xfc)](_0x198aec))!=null?_0x3445ad:[];_0x22b277[_0x29145e(0xf6)](..._0x171fec),_0x171864['rowMergeTitleCountMap']['set'](_0x198aec,_0x22b277);}),_0x38333c[_0x283bf7(0x10f)]['forEach']((_0x45aee6,_0x54b86b)=>{const _0x48ce55=_0x283bf7;var _0x2231a9;const _0x69b581=(_0x2231a9=_0x171864[_0x48ce55(0x10f)][_0x48ce55(0xfc)](_0x54b86b))!=null?_0x2231a9:[];_0x69b581[_0x48ce55(0xf6)](..._0x45aee6),_0x171864[_0x48ce55(0x10f)][_0x48ce55(0x119)](_0x54b86b,_0x69b581);}),_0x171864[_0x283bf7(0x151)]=!0x0;}const _0x340cda=[];for(const _0xb65439 of _0x48634f)!_0xb65439[_0x283bf7(0x151)]&&_0xb65439[_0x283bf7(0xd4)]||(_0x340cda[_0x283bf7(0xf6)](_0xb65439),_0xb65439[_0x283bf7(0x151)]=!0x1,_0xb65439[_0x283bf7(0xd4)]=!0x1);_0x340cda[_0x283bf7(0xf6)](..._0x344c1e),_0x48634f=_0x340cda;}_0x243ab2[_0x283bf7(0xf6)](..._0x48634f);let _0x599506=0x0;for(const _0x5252a3 of _0x243ab2){const _0x2b0da4=_0x5252a3[_0x283bf7(0x144)][_0x283bf7(0x10c)]-_0x5252a3[_0x283bf7(0x144)][_0x283bf7(0xdb)]+0x1;_0x5252a3[_0x283bf7(0x144)][_0x283bf7(0xe4)]-_0x5252a3[_0x283bf7(0x144)][_0x283bf7(0xd2)]+0x1>0x0&&_0x2b0da4>0x1&&_0x599506++;}if(_0x599506===0x0)continue;const _0x4b43dd=[],_0x3457ca=ce(0x6,_0x243ab2[_0x283bf7(0xaa)]);let _0x120b2c=0x0;for(const _0x4e6b5f of _0x243ab2){const _0x2978ac=_0x4e6b5f[_0x283bf7(0x144)]['endRow']-_0x4e6b5f[_0x283bf7(0x144)][_0x283bf7(0xdb)]+0x1,_0x3dbf10=_0x4e6b5f['range'][_0x283bf7(0xe4)]-_0x4e6b5f[_0x283bf7(0x144)][_0x283bf7(0xd2)]+0x1;let _0x3d6a9f=!0x1;for(const _0x24ffac of _0x4cf76e['getMergeData']())if(Ie(_0x4e6b5f[_0x283bf7(0x144)],_0x24ffac)){_0x3d6a9f=!0x0;break;}if(_0x3d6a9f)continue;let _0x19b757=!0x0;for(const _0x920f99 of _0x243ab2)if(_0x920f99!==_0x4e6b5f&&xe(_0x4e6b5f,_0x920f99)){_0x19b757=!0x1;break;}_0x19b757&&(_0x3dbf10<=0x0||_0x2978ac<=0x1||(_0x4e6b5f['id']=_0x3457ca[_0x120b2c++],_0x4b43dd[_0x283bf7(0xf6)](_0x4e6b5f)));}_0x5f2a71[_0x34ceda]=_0x4b43dd;}return _0x5f2a71;}function be(_0x2bf1fe,_0x5756a6,_0x1a1c99){const _0x540158=ve(_0x2bf1fe,_0x5756a6);$e(_0x540158,_0x2bf1fe,_0x5756a6);const _0x35a9e9=Pe(_0x540158,_0x2bf1fe);return De(_0x35a9e9,_0x2bf1fe,_0x5756a6,_0x1a1c99);}function Ie(_0x2ac6b8,_0x4bf276){const _0x3e3dc1=_0x14ec9e;return _0x2ac6b8['startRow']===_0x4bf276[_0x3e3dc1(0xdb)]&&_0x2ac6b8[_0x3e3dc1(0x10c)]===_0x4bf276['endRow']&&_0x2ac6b8[_0x3e3dc1(0xd2)]===_0x4bf276[_0x3e3dc1(0xd2)]&&_0x2ac6b8[_0x3e3dc1(0xe4)]===_0x4bf276['endColumn'];}function xe(_0x1a5a3e,_0x551a65){const _0x33a0d8=_0x14ec9e;return _0x1a5a3e[_0x33a0d8(0x144)][_0x33a0d8(0xdb)]>=_0x551a65[_0x33a0d8(0x144)][_0x33a0d8(0xdb)]&&_0x1a5a3e[_0x33a0d8(0x144)]['endRow']<=_0x551a65[_0x33a0d8(0x144)][_0x33a0d8(0x10c)]&&_0x1a5a3e[_0x33a0d8(0x144)][_0x33a0d8(0xd2)]>=_0x551a65[_0x33a0d8(0x144)]['startColumn']&&_0x1a5a3e['range'][_0x33a0d8(0xe4)]<=_0x551a65[_0x33a0d8(0x144)][_0x33a0d8(0xe4)];}function _0x144c(_0x5e77ff,_0x4aa08c){_0x5e77ff=_0x5e77ff-0xaa;const _0x52ddfb=_0x52dd();let _0x144cd4=_0x52ddfb[_0x5e77ff];return _0x144cd4;}function Ne(_0x549954){const _0x2341fc=_0x14ec9e;return''+ne(_0x549954['startColumn'])+(_0x549954[_0x2341fc(0xdb)]+0x1)+':'+ne(_0x549954[_0x2341fc(0xe4)])+(_0x549954[_0x2341fc(0x10c)]+0x1);}function te(_0x52e12f){const _0x4da652=_0x14ec9e;var _0x38a041;if(_0x52e12f!==null){if(_0x52e12f!=null&&_0x52e12f['p']){const _0x11a29d=_0x52e12f==null?void 0x0:_0x52e12f['p'][_0x4da652(0xf8)];if(_0x11a29d==null)return;const _0x15a8aa=_0x11a29d['dataStream'],_0x4626bf=$[_0x4da652(0x12b)][_0x4da652(0x127)][_0x4da652(0x116)](_0x15a8aa),_0x200758=_0x11a29d['customRanges'];if(_0x200758&&_0x200758[_0x4da652(0xaa)]>0x0){const _0x1729db=_0x200758[0x0],_0x18a629=(_0x38a041=_0x1729db[_0x4da652(0x111)])==null?void 0x0:_0x38a041[_0x4da652(0xfa)];if(!_0x18a629)return _0x4626bf;const _0x2844c7=typeof _0x1729db['startIndex']==_0x4da652(0x159)?_0x1729db['startIndex']:0x0;let _0x4104ae=typeof _0x1729db[_0x4da652(0xf1)]==_0x4da652(0x159)?_0x1729db[_0x4da652(0xf1)]+0x1:_0x2844c7+0x1;return _0x2844c7===0x0&&_0x4104ae===0x0?_0x4104ae=0x1:_0x4104ae<=_0x2844c7&&(_0x4104ae=_0x2844c7+0x1),'['+_0x15a8aa[_0x4da652(0xdc)](_0x2844c7,_0x4104ae)+']('+_0x18a629+')';}return _0x4626bf;}if((_0x52e12f==null?void 0x0:_0x52e12f['v'])!=null)return _0x52e12f['v'];}}function G(_0x1bea1c){const _0x2a5759=te(_0x1bea1c);if(_0x2a5759!=null)return String(_0x2a5759);}function Ee(_0x473738,_0x4acff2,_0x34f1ca){const _0x3b9c73=_0x14ec9e,_0x440a40=_0x34f1ca[_0x3b9c73(0xc2)](_0x473738,_0x4acff2);if(_0x440a40!=null){const _0x5ad9e8=G(_0x440a40);if(_0x5ad9e8!=null&&_0x5ad9e8[_0x3b9c73(0xaa)]>0x0)return _0x5ad9e8;}const _0x1e3106=W[_0x3b9c73(0xfc)](_0x34f1ca),_0x3ef5dc=_0x1e3106==null?void 0x0:_0x1e3106[_0x3b9c73(0x12d)],_0x16fe2d=_0x1e3106==null?void 0x0:_0x1e3106[_0x3b9c73(0x143)],_0x11ae96=_0x34f1ca['getUnitId'](),_0x267f3e=_0x34f1ca['getSheetId'](),_0x4e1deb={'range':{'startRow':_0x473738,'endRow':_0x473738,'startColumn':_0x4acff2,'endColumn':_0x4acff2},'unitId':_0x11ae96,'sheetId':_0x267f3e},_0x4729f8=(_0x3ef5dc==null?void 0x0:_0x3ef5dc['bulkSearch']([_0x4e1deb]))||new Map();if(_0x4729f8[_0x3b9c73(0xd5)]===0x0||!_0x16fe2d)return null;const _0x156af9=_0x4729f8[_0x3b9c73(0x12e)]()[_0x3b9c73(0x14d)]()['value'],_0x3408f5=_0x16fe2d['get'](_0x156af9);if(!_0x3408f5)return null;const _0x4aaa17=_0x34f1ca['getCell'](_0x3408f5[_0x3b9c73(0x144)]['startRow'],_0x3408f5['range'][_0x3b9c73(0xd2)]);return _0x4aaa17==null?null:G(_0x4aaa17);}function $e(_0x2b9c77,_0x183d10,_0x9a3064){const _0x4e122d=_0x14ec9e,_0x4a7b80=_0x183d10[_0x4e122d(0xcf)](),_0x2d6cbc=_0x9a3064[_0x4e122d(0xfc)](H[_0x4e122d(0x131)]),_0x3af8f8=_0x183d10['getUnitId']();for(const _0xe7828e of _0x4a7b80){const _0x20e494=_0xe7828e[_0x4e122d(0xc3)](),_0x24c453=_0x2d6cbc[_0x4e122d(0x149)](_0x3af8f8,_0x20e494);if(!_0x24c453)continue;const _0x487fdb=_0x24c453[_0x4e122d(0xe7)](_0x492220=>_0x492220[_0x4e122d(0x150)]());for(const _0x2c0e4c of _0x487fdb){const {startRow:_0x453a1a,endRow:_0x4ad441,startColumn:_0x229eca,endColumn:_0x51b453}=_0x2c0e4c['range'],_0x874b85=new K({'id':_0x2c0e4c['id'],'sheetId':_0x20e494,'range':{'startRow':_0x453a1a,'endRow':_0x4ad441,'startColumn':_0x229eca,'endColumn':_0x51b453},'name':'','description':'','rowTitleCount':0x0,'mergeRowTitleCount':0x0,'startStatisticRowCount':0x0,'endStatisticRowCount':0x0,'rowMergeTitleCountMap':new Map(),'rowMergeTitleState':!0x1,'columnMergeTitleState':!0x1,'columnMergeTitleCountMap':new Map(),'isMatchEnd':!0x1,'isMatchContinue':!0x1,'isTimeSeries':!0x1,'isTestTable':!0x1,'isUpdateTable':!0x0,'columns':[]});_0x2b9c77[_0x20e494]||(_0x2b9c77[_0x20e494]=[]),_0x2b9c77[_0x20e494][_0x4e122d(0xf6)](_0x874b85);}}}function Pe(_0x26b121,_0x6ddff2){const _0xa9bfe=_0x14ec9e;var _0x8e328d,_0x572b7;for(const [_0x249609,_0x113f94]of Object[_0xa9bfe(0xee)](_0x26b121)){const _0x6b2dbc=_0x113f94;let _0x978d22=!0x1;const _0x37977a=_0x6ddff2[_0xa9bfe(0x11e)](_0x249609);if(_0x37977a){for(let _0x4d0ba=0x0;_0x4d0ba<_0x6b2dbc[_0xa9bfe(0xaa)];_0x4d0ba++){const _0x4607d8=_0x6b2dbc[_0x4d0ba],_0x170aff=_0x4607d8[_0xa9bfe(0x144)],{startRow:_0x48678f,endRow:_0x160e04,startColumn:_0xe36f2f,endColumn:_0x347dda}=_0x170aff,_0x41db53=Ue(_0x4607d8,_0x37977a,_0x6ddff2),_0xfa9a1c=_e(_0x48678f,_0x160e04,_0x4607d8);let _0x596a37=0x1;const _0x29bbba=_0x48678f+_0xfa9a1c;let _0x29965a=0x0,_0x1c3b16=0x0;for(let _0x3a02a1=_0xe36f2f;_0x3a02a1<=_0x347dda;_0x3a02a1++){const _0x1c2fce=_0x37977a['getCell'](_0x29bbba,_0x3a02a1);if(!_0x1c2fce)continue;const _0x5f0997=G(_0x1c2fce);_0x5f0997!=null&&(_0x5f0997!==''&&_0x1c3b16++,ae(_0x5f0997)&&_0x29965a++);}if(_0x1c3b16>0x0&&_0x29965a/Math[_0xa9bfe(0x14b)](_0x1c3b16,0x1)>0.03&&(_0x596a37=0x0),_0x4607d8['mergeRowTitleCount']=_0xfa9a1c,_0x4607d8['rowTitleCount']=_0x596a37+_0xfa9a1c,_0x4607d8[_0xa9bfe(0x144)]['endRow']-_0x4607d8[_0xa9bfe(0x144)][_0xa9bfe(0xdb)]+0x1-_0x4607d8[_0xa9bfe(0xca)]<=0x1){console[_0xa9bfe(0x146)](_0xa9bfe(0x137)+_0x4d0ba+',\x20rangeName:'+Ne(_0x4607d8[_0xa9bfe(0x144)])),_0x6b2dbc[_0xa9bfe(0x153)](_0x4d0ba,0x1),_0x4d0ba--,_0x978d22=!0x0;continue;}const _0xcb35e6=new Map();let _0x3c49d1=0x0;const _0x5c48e2=ce(0x4,_0x347dda-_0xe36f2f+0x1);for(let _0x438e80=_0xe36f2f;_0x438e80<=_0x347dda;_0x438e80++){let _0x3d79c9='';const _0x161c45=new Set();let _0x37aafe=!0x1;const _0x196a9c=_0x48678f+_0x4607d8['rowTitleCount']-0x1;let _0x4a547e=_0x48678f;_0x41db53!==''&&(_0x4a547e=_0x48678f+0x1);for(let _0x3a2812=_0x4a547e;_0x3a2812<=_0x196a9c;_0x3a2812++){const _0x373b7a=Ee(_0x3a2812,_0x438e80,_0x37977a);_0x373b7a!=null&&(_0x3a2812===_0x196a9c&&(_0x3d79c9=_0x373b7a),_0x161c45['add'](_0x373b7a));}const _0x4c053d=[..._0x161c45]['join'](','),_0x2288e7=_0x4c053d;_0xcb35e6[_0xa9bfe(0xd0)](_0x2288e7)?_0x37aafe=!0x0:_0xcb35e6[_0xa9bfe(0x119)](_0x2288e7,!0x0);const _0x3e5deb=_0x196a9c+0x1;let _0x5e096b=_0x196a9c+0x14,_0x449395=0x0,_0x2c0e35=!0x1,_0x1a8b8d=!0x1;if(_0x5e096b>_0x160e04&&(_0x5e096b=_0x160e04),_0x3e5deb<_0x160e04){let _0x51676a='';for(let _0x1177ec=_0x3e5deb;_0x1177ec<=_0x5e096b;_0x1177ec++){const _0x4ccbe2=_0x37977a[_0xa9bfe(0xc2)](_0x1177ec,_0x438e80);if(!_0x4ccbe2)continue;const _0x456707=G(_0x4ccbe2);_0x456707!=null&&(ae(_0x456707)||(_0x51676a+=_0x456707),Je(_0x456707)&&_0x449395++);}_0x449395>Math[_0xa9bfe(0xd9)]((_0x5e096b-_0x3e5deb+0x1)/0x2)&&(_0x1a8b8d=!0x0),Be(_0x51676a)/Math[_0xa9bfe(0x14b)](_0x5e096b-_0x3e5deb+0x1,0x1)>0xf&&!_0x1a8b8d&&(_0x2c0e35=!0x0);}_0x4607d8[_0xa9bfe(0xf0)]['push']({'id':_0x5c48e2[_0x3c49d1++],'Name':_0x3d79c9,'Type':'','Description':_0x4c053d,'isCoded':!0x1,'isMeasure':!0x0,'isOpinionText':!0x1,'isBigText':_0x2c0e35,'isLink':_0x1a8b8d,'isTitleRepeat':_0x37aafe,'isUnique':!0x1,'links':[]});}Ae(_0x4607d8,_0x6ddff2);}_0x978d22&&(_0x26b121[_0x249609]=_0x6b2dbc),_0x6b2dbc['length']===0x0&&delete _0x26b121[_0x249609],(_0x572b7=(_0x8e328d=_0x26b121[_0x249609])==null?void 0x0:_0x8e328d[_0xa9bfe(0xaa)])!=null;}}return _0x26b121;}function _e(_0x194d8e,_0x590e00,_0x22ae32){const _0x26e6fe=_0x14ec9e;var _0x34f234;function _0x5cec0d(_0x340038){const _0x3a7aaf=_0x144c;if(_0x340038[_0x3a7aaf(0xaa)]===0x0)return 0x0;_0x340038[_0x3a7aaf(0x100)]((_0x501a5a,_0x1e8642)=>_0x501a5a[0x0]-_0x1e8642[0x0]);let _0x1bfe22=0x0,_0x570783=_0x340038[0x0][0x0],_0x44f8c7=_0x340038[0x0][0x1];for(let _0x881237=0x1;_0x881237<_0x340038[_0x3a7aaf(0xaa)];_0x881237++){const [_0x1a1b67,_0x4c1a5b]=_0x340038[_0x881237];_0x1a1b67<=_0x44f8c7+0x1?_0x44f8c7=Math['max'](_0x44f8c7,_0x4c1a5b):(_0x1bfe22+=_0x44f8c7-_0x570783+0x1,_0x570783=_0x1a1b67,_0x44f8c7=_0x4c1a5b);}return _0x1bfe22+=_0x44f8c7-_0x570783+0x1,_0x1bfe22;}const _0x1e1722=_0x22ae32[_0x26e6fe(0x144)][_0x26e6fe(0xd2)],_0x487960=_0x22ae32[_0x26e6fe(0x144)][_0x26e6fe(0xe4)],_0x2f6db5=_0x487960-_0x1e1722+0x1;let _0x4fc4e5=_0x194d8e-0x1,_0x3aa5c8=_0x194d8e-0x1,_0x4587cc=!0x1;const _0x37e19e=0x64;for(let _0x40eedc=_0x194d8e;_0x40eedc<=_0x590e00&&_0x40eedc-_0x194d8e<_0x37e19e;_0x40eedc++){const _0x16becb=[],_0x1e9efc=(_0x34f234=_0x22ae32[_0x26e6fe(0x124)][_0x26e6fe(0xfc)](_0x40eedc))!=null?_0x34f234:[];for(const _0x439700 of _0x1e9efc){const _0x4ec256=_0x439700['range'][_0x26e6fe(0xd2)],_0x414663=_0x439700[_0x26e6fe(0x144)]['endColumn'],_0x3d801d=Math['max'](_0x4ec256,_0x1e1722),_0x2c7223=Math[_0x26e6fe(0x138)](_0x414663,_0x487960);_0x3d801d<=_0x2c7223&&_0x16becb[_0x26e6fe(0xf6)]([_0x3d801d,_0x2c7223]);}_0x22ae32[_0x26e6fe(0x10f)][_0x26e6fe(0xf3)](_0x48ead1=>{const _0x574484=_0x26e6fe;for(const _0x36836e of _0x48ead1){const _0x285784=_0x36836e[_0x574484(0x144)][_0x574484(0xdb)],_0x3a3a7b=_0x36836e[_0x574484(0x144)][_0x574484(0x10c)];if(_0x285784<=_0x40eedc&&_0x40eedc<=_0x3a3a7b){const _0x4cdacd=_0x36836e[_0x574484(0x144)][_0x574484(0xd2)],_0x384545=_0x36836e['range'][_0x574484(0xe4)],_0x210657=Math[_0x574484(0x14b)](_0x4cdacd,_0x1e1722),_0x1db98f=Math[_0x574484(0x138)](_0x384545,_0x487960);_0x210657<=_0x1db98f&&_0x16becb[_0x574484(0xf6)]([_0x210657,_0x1db98f]);}}});const _0x14616b=_0x5cec0d(_0x16becb),_0x4a0626=_0x14616b/Math[_0x26e6fe(0x14b)](_0x2f6db5,0x1);_0x16becb[_0x26e6fe(0xaa)]>0x0&&(_0x4fc4e5=_0x40eedc),_0x14616b>0x0&&_0x4a0626>=0.75&&!_0x4587cc?_0x3aa5c8=_0x40eedc:_0x16becb[_0x26e6fe(0xaa)]>0x0&&(_0x4587cc=!0x0);}return _0x4fc4e5===_0x590e00||_0x4fc4e5-_0x194d8e===_0x37e19e?_0x3aa5c8-_0x194d8e+0x1:_0x4fc4e5-_0x194d8e+0x1;}function Ue(_0x54f145,_0x5f38b6,_0x2310d0){const _0x326c88=_0x14ec9e;if(_0x54f145['description']+=_0x5f38b6[_0x326c88(0x147)]()+',\x20'+_0x2310d0['name'],_0x54f145[_0x326c88(0x12c)]&&_0x54f145[_0x326c88(0x12c)]!=='')return _0x54f145[_0x326c88(0x12c)];const _0x478e8b=_0x54f145[_0x326c88(0x144)]['startRow'],_0x199ee0=_0x54f145[_0x326c88(0x144)][_0x326c88(0xd2)],_0xd1b940=_0x54f145[_0x326c88(0x144)][_0x326c88(0xe4)],_0x5767c6=0x3,_0x3aac56=_0x54f145[_0x326c88(0x124)][_0x326c88(0xfc)](_0x478e8b);if(_0x3aac56&&_0x3aac56[_0x326c88(0xaa)]>0x0)for(const _0x47f9f2 of _0x3aac56){const _0x39c31b=_0x47f9f2['range'],_0x11931=_0x39c31b['startColumn'],_0x2487c0=_0x39c31b[_0x326c88(0xe4)];if(_0x11931<=_0x199ee0+_0x5767c6&&_0x2487c0>=_0xd1b940-_0x5767c6){const _0x475e45=_0x5f38b6['getCell'](_0x478e8b,_0x11931);if(!_0x475e45)return'';const _0x2f89da=G(_0x475e45);return _0x2f89da==null||_0x2f89da===''?'':(_0x54f145[_0x326c88(0x12c)]=_0x2f89da,_0x2f89da);}}return'';}function Ae(_0x564c89,_0x2a5dae){const _0x27fabe=_0x14ec9e,_0x537e88={};_0x2a5dae['getStyles']()[_0x27fabe(0x120)](_0x2e8b65=>{const _0x219a96=_0x27fabe,[_0x211545,_0x3e0bc2]=_0x2e8b65;return!_0x211545||!_0x3e0bc2||_0x3e0bc2['n']&&typeof _0x3e0bc2['n'][_0x219a96(0xe5)]=='string'&&/[YyMDd]/[_0x219a96(0x14e)](_0x3e0bc2['n']['pattern'])&&(_0x537e88[_0x211545]=!0x0),!0x0;});const _0xfdd885=_0x564c89[_0x27fabe(0x144)][_0x27fabe(0xdb)],_0xcdb59=_0x564c89[_0x27fabe(0x144)][_0x27fabe(0x10c)],_0x2c4a8c=_0x564c89['rowTitleCount'],_0x2c5efa=_0x564c89['sheetId'],_0x5744a7=_0x2a5dae[_0x27fabe(0x11e)](_0x2c5efa);if(!_0x5744a7)return;const _0x5c5067=_0xcdb59-_0xfdd885+0x1-_0x2c4a8c;if(_0x5c5067<=0x1){console[_0x27fabe(0x146)]('skip\x20small\x20table');return;}const _0x51fd0a=[];for(let _0x2b4ace=0x0;_0x2b4ace<_0x564c89[_0x27fabe(0x144)][_0x27fabe(0xe4)]-_0x564c89['range'][_0x27fabe(0xd2)]+0x1;_0x2b4ace++)_0x51fd0a[_0x27fabe(0xf6)](new Te(_0x537e88));const _0x171a4a=Math[_0x27fabe(0xc5)](Math[_0x27fabe(0x14b)](_0x5c5067,0x1));for(let _0x408c76=0x0;;_0x408c76++){const _0x904368=_0x408c76,_0x57e834=Math[_0x27fabe(0xd9)](_0x904368+0.00001*_0x904368**2.7*_0x171a4a*_0x171a4a)+_0xfdd885+_0x2c4a8c;if(_0x57e834>_0xcdb59)break;for(let _0x56ebae=_0x564c89['range']['startColumn'];_0x56ebae<=_0x564c89[_0x27fabe(0x144)][_0x27fabe(0xe4)];_0x56ebae++){const _0x16e521=_0x5744a7[_0x27fabe(0xc2)](_0x57e834,_0x56ebae);_0x16e521&&_0x51fd0a[_0x56ebae-_0x564c89[_0x27fabe(0x144)][_0x27fabe(0xd2)]][_0x27fabe(0xea)](_0x16e521);}}for(let _0x2abea3=0x0;_0x2abea3<_0x564c89[_0x27fabe(0xf0)][_0x27fabe(0xaa)];_0x2abea3++){const [_0x1bb23f,_0x4c646a]=_0x51fd0a[_0x2abea3][_0x27fabe(0x118)]();_0x564c89[_0x27fabe(0xf0)][_0x2abea3]['Type']=_0x1bb23f;}}function fe(_0x2a3995){const _0x1357b7=_0x14ec9e,_0x2af0f0=[];for(const _0x286d38 of _0x2a3995[_0x1357b7(0xe6)])_0x2af0f0[_0x1357b7(0xf6)]({'tableId':_0x286d38['tableId'],'columnId':_0x286d38['columnId'],'linkType':_0x286d38[_0x1357b7(0xd7)]});return _0x2af0f0;}function Oe(_0x204537){return _0x204537['rowTitleCount']===0x1;}function Le(_0x113534,_0x438eaa,_0x2d4ac9,_0x306e61,_0x24e0ba){const _0x29a50c=_0x14ec9e,_0xe3230=_0x306e61[_0x29a50c(0xfc)](H['TableManager']),_0x513742=_0x438eaa[_0x29a50c(0x140)](),_0x44371d=_0x113534[_0x29a50c(0x104)];if(_0xe3230['getTablesBySubunitId'](_0x513742,_0x44371d)){for(const _0x5437b5 of _0x2d4ac9)if(_0x5437b5['id']===_0x113534['id']){_0x5437b5[_0x29a50c(0x12c)]=_0x113534[_0x29a50c(0x12c)],_0x5437b5['meta']={},_0x5437b5[_0x29a50c(0x152)]['description']=_0x113534[_0x29a50c(0x106)],_0x5437b5[_0x29a50c(0x152)]['rowTitleCount']=_0x113534[_0x29a50c(0xca)],_0x5437b5[_0x29a50c(0x152)]['mergeRowTitleCount']=_0x113534[_0x29a50c(0x102)],_0x5437b5[_0x29a50c(0x152)]['isTimeSeries']=_0x113534[_0x29a50c(0xc6)];for(let _0x25c24b=0x0;_0x25c24b<_0x113534[_0x29a50c(0xf0)][_0x29a50c(0xaa)];_0x25c24b++){const _0x38be61=_0x113534[_0x29a50c(0xf0)][_0x25c24b],_0x573274=_0x5437b5[_0x29a50c(0xf0)][_0x25c24b];_0x573274[_0x29a50c(0x13d)]=_0x38be61['Name'],_0x573274[_0x29a50c(0xfd)]=_0x38be61['Type'],_0x573274[_0x29a50c(0x152)]={},_0x573274[_0x29a50c(0x152)]['description']=_0x38be61[_0x29a50c(0x126)],_0x573274[_0x29a50c(0x152)][_0x29a50c(0x11b)]=_0x38be61['isCoded'],_0x573274['meta']['isMeasure']=_0x38be61[_0x29a50c(0x117)],_0x573274[_0x29a50c(0x152)]['isOpinionText']=_0x38be61[_0x29a50c(0x12f)],_0x573274[_0x29a50c(0x152)][_0x29a50c(0x103)]=_0x38be61[_0x29a50c(0x103)],_0x573274['meta']['isLink']=_0x38be61['isLink'],_0x573274['meta'][_0x29a50c(0x157)]=_0x38be61['isTitleRepeat'],_0x573274[_0x29a50c(0x152)][_0x29a50c(0xab)]=_0x38be61[_0x29a50c(0xab)],_0x573274['meta'][_0x29a50c(0xe6)]=fe(_0x38be61);}me(_0x5437b5,_0x44371d,_0x438eaa,_0x24e0ba);}W[_0x29a50c(0x11f)]();}}function De(_0x5003b9,_0x32af64,_0x2813f0,_0x2abcf6){const _0x15960b=_0x14ec9e,_0x3d2cba=_0x2813f0[_0x15960b(0xfc)](H[_0x15960b(0x131)]),_0x272328=_0x32af64[_0x15960b(0x140)](),_0xa90a4c={};for(const [_0x3cec9b,_0x31ce6f]of Object[_0x15960b(0xee)](_0x5003b9)){const _0x59b878=_0x3d2cba[_0x15960b(0x149)](_0x272328,_0x3cec9b),_0x49750f=(_0x59b878==null?void 0x0:_0x59b878[_0x15960b(0xe7)](_0x2d210b=>_0x2d210b['toJSON']()))||[];for(const _0x3be3fb of _0x31ce6f){if(_0x3be3fb[_0x15960b(0x112)]){Le(_0x3be3fb,_0x32af64,_0x49750f,_0x2813f0,_0x2abcf6);continue;}const _0x13024f={'id':_0x3be3fb['id'],'range':{'startRow':_0x3be3fb['range'][_0x15960b(0xdb)]+_0x3be3fb[_0x15960b(0x102)],'endRow':_0x3be3fb[_0x15960b(0x144)][_0x15960b(0x10c)],'startColumn':_0x3be3fb[_0x15960b(0x144)][_0x15960b(0xd2)],'endColumn':_0x3be3fb[_0x15960b(0x144)]['endColumn']},'name':_0x3be3fb['name'],'meta':{},'options':{'showHeader':Oe(_0x3be3fb),'showFooter':!0x1},'columns':[],'filters':{}};_0x13024f[_0x15960b(0x152)][_0x15960b(0x106)]=_0x3be3fb[_0x15960b(0x106)],_0x13024f[_0x15960b(0x152)][_0x15960b(0xca)]=_0x3be3fb[_0x15960b(0xca)],_0x13024f[_0x15960b(0x152)][_0x15960b(0x102)]=_0x3be3fb[_0x15960b(0x102)],_0x13024f[_0x15960b(0x152)][_0x15960b(0xc6)]=_0x3be3fb[_0x15960b(0xc6)];const _0x1f99df=_0x3be3fb[_0x15960b(0x144)][_0x15960b(0xd2)];for(let _0x1a93d1=0x0;_0x1a93d1<_0x3be3fb[_0x15960b(0xf0)]['length'];_0x1a93d1++){const _0x1aa7ff=_0x3be3fb['columns'][_0x1a93d1],_0x13662a={'id':_0x1aa7ff['id'],'displayName':_0x1aa7ff['Name']||'column_'+ne(_0x1f99df+_0x1a93d1),'dataType':_0x1aa7ff[_0x15960b(0xc4)],'meta':{},'formula':'','style':{}};_0x13662a['meta'][_0x15960b(0x106)]=_0x1aa7ff[_0x15960b(0x126)],_0x13662a[_0x15960b(0x152)][_0x15960b(0x11b)]=_0x1aa7ff['isCoded'],_0x13662a['meta'][_0x15960b(0x117)]=_0x1aa7ff[_0x15960b(0x117)],_0x13662a[_0x15960b(0x152)][_0x15960b(0x12f)]=_0x1aa7ff['isOpinionText'],_0x13662a[_0x15960b(0x152)][_0x15960b(0x103)]=_0x1aa7ff[_0x15960b(0x103)],_0x13662a[_0x15960b(0x152)]['isLink']=_0x1aa7ff[_0x15960b(0x13c)],_0x13662a[_0x15960b(0x152)]['isTitleRepeat']=_0x1aa7ff['isTitleRepeat'],_0x13662a[_0x15960b(0x152)]['isUnique']=_0x1aa7ff[_0x15960b(0xab)],_0x13662a['meta'][_0x15960b(0xe6)]=fe(_0x1aa7ff),_0x13024f[_0x15960b(0xf0)][_0x15960b(0xf6)](_0x13662a);}me(_0x13024f,_0x3cec9b,_0x32af64,_0x2abcf6),_0x49750f[_0x15960b(0xf6)](_0x13024f);}_0xa90a4c[_0x3cec9b]=_0x49750f;}for(const _0x2e63d7 of Object[_0x15960b(0x12e)](_0x5003b9))_0x5003b9[_0x2e63d7][_0x15960b(0xf3)](_0x3cc621=>{const _0x79fde8=_0x15960b;_0x3cc621[_0x79fde8(0xd6)]();});return _0xa90a4c;}function ie(_0x28cae,_0xd49936,_0x4a212d=0x5){const _0x16366e=_0x14ec9e;if(!Array[_0x16366e(0x121)](_0x28cae)||_0x28cae[_0x16366e(0xaa)]===0x0)return[];const _0x2ab2f8=Math[_0x16366e(0x138)](_0xd49936,_0x28cae['length']),_0x4ef6d2=Math[_0x16366e(0x138)](_0x2ab2f8+_0x4a212d,_0x28cae['length']);return _0x28cae[_0x16366e(0xdc)](_0x2ab2f8,_0x4ef6d2);}function me(_0x4621ec,_0x6cf8d0,_0x3dcfe4,_0x38bb5e){const _0x215c00=_0x14ec9e,_0x4889a0=_0x3dcfe4[_0x215c00(0x11e)](_0x6cf8d0);if(!_0x4889a0)return;const _0x409c85=_0x4621ec[_0x215c00(0x144)],_0x3e19e8=ke(_0x4889a0,_0x409c85);_0x38bb5e===ee[_0x215c00(0x107)]?_0x4621ec[_0x215c00(0xda)]=JSON['stringify'](ie(_0x3e19e8,0x1,0x5)):_0x38bb5e===ee[_0x215c00(0xb7)]&&(_0x4621ec['data']=JSON[_0x215c00(0xcc)](ie(_0x3e19e8,0x1,_0x3e19e8['length'])));}function ke(_0x3eedb3,_0x332f7f){const _0x232ab4=_0x14ec9e,{startRow:_0x2c9298,endRow:_0x1d5c6b,startColumn:_0xad7389,endColumn:_0x36c8b5}=_0x332f7f,_0x579aa3=[],_0x503355=W[_0x232ab4(0xfc)](_0x3eedb3),_0x584f65=_0x503355==null?void 0x0:_0x503355['mergeRTree'],_0x5654fc=_0x503355==null?void 0x0:_0x503355['mergeRangeMap'],_0x1eccfb=_0x3eedb3[_0x232ab4(0x140)](),_0x3ff90c=_0x3eedb3[_0x232ab4(0xc3)]();for(let _0x2709ad=_0x2c9298;_0x2709ad<=_0x1d5c6b;_0x2709ad++){const _0x599c80=[];for(let _0x6ae996=_0xad7389;_0x6ae996<=_0x36c8b5;_0x6ae996++){const _0x3764c7=_0x3eedb3[_0x232ab4(0xc2)](_0x2709ad,_0x6ae996);let _0x58b28e=_0x3764c7?te(_0x3764c7):void 0x0;if(_0x58b28e==null||_0x58b28e===''){const _0x422dfb={'range':{'startRow':_0x2709ad,'endRow':_0x2709ad,'startColumn':_0x6ae996,'endColumn':_0x6ae996},'unitId':_0x1eccfb,'sheetId':_0x3ff90c},_0x1a85ff=(_0x584f65==null?void 0x0:_0x584f65[_0x232ab4(0x13e)]([_0x422dfb]))||new Map();if(_0x1a85ff[_0x232ab4(0xd5)]>0x0&&_0x5654fc){const _0x2a3dd6=_0x1a85ff['keys']()[_0x232ab4(0x14d)]()[_0x232ab4(0xe3)],_0x2b98c1=_0x5654fc[_0x232ab4(0xfc)](_0x2a3dd6);if(!_0x2b98c1)continue;const _0x2dc63f=_0x3eedb3[_0x232ab4(0xc2)](_0x2b98c1[_0x232ab4(0x144)]['startRow'],_0x2b98c1[_0x232ab4(0x144)][_0x232ab4(0xd2)]);_0x2dc63f&&(_0x58b28e=te(_0x2dc63f));}}_0x599c80[_0x232ab4(0xf6)](_0x58b28e!=null?_0x58b28e:'');}_0x579aa3[_0x232ab4(0xf6)](_0x599c80);}return _0x579aa3;}function Je(_0x12bf08){const _0x20b005=_0x14ec9e;return/https?:\/\/|www\./i[_0x20b005(0x14e)](_0x12bf08);}function Be(_0x3b8208){const _0x5677a2=_0x14ec9e;return Array[_0x5677a2(0x154)](_0x3b8208)['length'];}function ae(_0x47566d){const _0x2d840f=_0x14ec9e;return _0x47566d?/^[-+]?(?:\d+(?:\.\d+)?|\.\d+)(?:e[-+]?\d+)?$/i['test'](_0x47566d[_0x2d840f(0x123)]()):!0x1;}function ne(_0x287ffc){const _0x1ab643=_0x14ec9e;let _0x2a1ab9='',_0x552192=_0x287ffc+0x1;for(;_0x552192>0x0;){const _0xcfc010=(_0x552192-0x1)%0x1a;_0x2a1ab9=String[_0x1ab643(0xbe)](0x41+_0xcfc010)+_0x2a1ab9,_0x552192=Math[_0x1ab643(0xd9)]((_0x552192-0x1)/0x1a);}return _0x2a1ab9;}var Ve=Object['getOwnPropertyDescriptor'],ze=(_0x5cc005,_0x5b1be0,_0x4e53b2,_0xcd346f)=>{const _0x5cb28b=_0x14ec9e;for(var _0x5e66d6=_0xcd346f>0x1?void 0x0:_0xcd346f?Ve(_0x5b1be0,_0x4e53b2):_0x5b1be0,_0x1331f9=_0x5cc005[_0x5cb28b(0xaa)]-0x1,_0x50064e;_0x1331f9>=0x0;_0x1331f9--)(_0x50064e=_0x5cc005[_0x1331f9])&&(_0x5e66d6=_0x50064e(_0x5e66d6)||_0x5e66d6);return _0x5e66d6;},je=(_0x2b43d7,_0x31964a)=>(_0xf382e1,_0xcbf60c)=>_0x31964a(_0xf382e1,_0xcbf60c,_0x2b43d7);exports[_0x14ec9e(0x125)]=class extends $['Disposable']{constructor(_0x4be725){const _0x442adf=_0x14ec9e;super(),this[_0x442adf(0x10d)]=_0x4be725;}[_0x14ec9e(0x155)](_0x37ade0,_0x1cc607){const _0x24b3da=_0x14ec9e;return be(_0x37ade0,this[_0x24b3da(0x10d)],_0x1cc607);}},exports[_0x14ec9e(0x125)]=ze([je(0x0,$['Inject']($[_0x14ec9e(0xd3)]))],exports[_0x14ec9e(0x125)]);var Ge=Object[_0x14ec9e(0x113)],qe=(_0x307b51,_0x20f5e7,_0x41668e,_0x1023cc)=>{for(var _0x4e1fb0=_0x1023cc>0x1?void 0x0:_0x1023cc?Ge(_0x20f5e7,_0x41668e):_0x20f5e7,_0x1e939b=_0x307b51['length']-0x1,_0x33d0c2;_0x1e939b>=0x0;_0x1e939b--)(_0x33d0c2=_0x307b51[_0x1e939b])&&(_0x4e1fb0=_0x33d0c2(_0x4e1fb0)||_0x4e1fb0);return _0x4e1fb0;},le=(_0x28fc55,_0x53a5a2)=>(_0x507349,_0x2fa1b4)=>_0x53a5a2(_0x507349,_0x2fa1b4,_0x28fc55);const We=_0x14ec9e(0x14f);var X;function _0x52dd(){const _0x58f78c=['RangePreprocessController','Description','transform','2\x20January,2006','2580355RkIOxd','columnMergeTitleState','BuildTextUtils','name','mergeRTree','keys','isOpinionText','809184VKYLPy','TableManager','2006/01/02','2006-1-2','onReady','Inject','setConfig','skip\x20small\x20table,\x20idx:','min','generateRandomId','needConvert','endStatisticRowCount','isLink','displayName','bulkSearch','CellValueType','getUnitId','getMonth','getMergeData','mergeRangeMap','range','onStarting','warn','getName','3169xgddLS','getTablesBySubunitId','1811028emijDR','max','string','next','test','RANGE_PREPROCESS_PLUGIN_CONFIG_KEY','toJSON','isMatchContinue','meta','splice','from','getAllTableJson','startStatisticRowCount','isTitleRepeat','values','number','length','isUnique','merge','01/02/2006','toLowerCase','02-01-2006','recognizers','STRING','UniverRangePreprocessPlugin','MAX_SAFE_INTEGER','unknown','IConfigService','RTree','All','2\x20Jan.,\x202006','BOOLEAN','184dXfyeg','Module','02/01/2006','2\x20January,\x202006','fromCharCode','_config','168658sRfwHj','Layout','getCell','getSheetId','Type','log10','isTimeSeries','708078BXbPBU','sample','January\x202,2006','rowTitleCount','layout','stringify','_configService','_isRowContinuous','getSheets','has','invalid','startColumn','Injector','isMatchEnd','size','dispose','linkType','valid','floor','data','startRow','slice','NUMBER','saveTableToCache','January\x202,\x202006','excel','2006/1/2','02.01.2006','value','endColumn','pattern','links','map','dateStyles','getDate','Match','rowMergeTitleState','Jan.\x202,\x202006','Confidence','entries','isFinite','columns','endIndex','insertCellData','forEach','confidence','split','push','3ckezVq','body','boolean','url','replace','get','dataType','2006-01-02\x2015:04:05','01-02-2006','sort','intersectWithPreTables','mergeRowTitleCount','isBigText','sheetId','isTestTable','description','Sample','Calc','20060102','timeStampStyles','2006-01-02','endRow','_injector','13993974ivXwfy','columnMergeTitleCountMap','trunc','properties','isUpdateTable','getOwnPropertyDescriptor','getFullYear','symbol','getPlainText','isMeasure','Best','set','None','isCoded','insert','toStringTag','getSheetBySheetId','clear','each','isArray','2006年1月2日','trim','rowMergeTitleCountMap'];_0x52dd=function(){return _0x58f78c;};return _0x52dd();}exports['UniverRangePreprocessPlugin']=(X=class extends $['Plugin']{constructor(_0xe1072f={},_0x443a24,_0x8b658f){const _0xc5c2cf=_0x14ec9e;super(),this[_0xc5c2cf(0xbf)]=_0xe1072f,this['_injector']=_0x443a24,this['_configService']=_0x8b658f;const {..._0x37ba91}=$[_0xc5c2cf(0xac)]({},this[_0xc5c2cf(0xbf)]);this[_0xc5c2cf(0xcd)][_0xc5c2cf(0x136)](We,_0x37ba91);}[_0x14ec9e(0x145)](){const _0x2de682=_0x14ec9e,_0xdbccbd=[[exports['RangePreprocessController']]];$['registerDependencies'](this[_0x2de682(0x10d)],_0xdbccbd);}[_0x14ec9e(0x134)](){}},p(X,'pluginName','UNIVER_RANGE_PREPROCESS_PLUGIN'),X),exports[_0x14ec9e(0xb2)]=qe([le(0x1,$[_0x14ec9e(0x135)]($[_0x14ec9e(0xd3)])),le(0x2,$[_0x14ec9e(0xb5)])],exports[_0x14ec9e(0xb2)]);
|
package/lib/es/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x1ac2(){var _0x1ac50d=['getPreprocessRanges','8865gcxjRw','31336qwkDie','1487606ueqNpW','_injector','get','32932zBEMUp','extend','2044536NAnRqJ','84MptADQ','4031755FdxZmA','5521831iFuwSx','916423VpVIuM','_workbook','getAllTableJson'];_0x1ac2=function(){return _0x1ac50d;};return _0x1ac2();}var _0x5606e6=_0x284b;(function(_0x5f0d67,_0x4361f6){var _0x3dbcb5=_0x284b,_0x2a6a71=_0x5f0d67();while(!![]){try{var _0x1c43d4=-parseInt(_0x3dbcb5(0x1a6))/0x1+-parseInt(_0x3dbcb5(0x19d))/0x2+parseInt(_0x3dbcb5(0x1a3))/0x3*(parseInt(_0x3dbcb5(0x1a0))/0x4)+-parseInt(_0x3dbcb5(0x1a4))/0x5+-parseInt(_0x3dbcb5(0x1a2))/0x6+-parseInt(_0x3dbcb5(0x1a5))/0x7+-parseInt(_0x3dbcb5(0x19c))/0x8*(-parseInt(_0x3dbcb5(0x19b))/0x9);if(_0x1c43d4===_0x4361f6)break;else _0x2a6a71['push'](_0x2a6a71['shift']());}catch(_0x31995c){_0x2a6a71['push'](_0x2a6a71['shift']());}}}(_0x1ac2,0x7843b));import{RangePreprocessController as _0x41a030}from'@univerjs-pro/range-preprocess';function _0x284b(_0x5246e2,_0x4e3bc3){_0x5246e2=_0x5246e2-0x19b;var _0x1ac26b=_0x1ac2();var _0x284b76=_0x1ac26b[_0x5246e2];return _0x284b76;}import{FWorkbook as _0x50281c}from'@univerjs/sheets/facade';class s extends _0x50281c{[_0x5606e6(0x1a9)](_0xdad676){var _0x344e20=_0x5606e6;return this[_0x344e20(0x19e)][_0x344e20(0x19f)](_0x41a030)[_0x344e20(0x1a8)](this[_0x344e20(0x1a7)],_0xdad676);}}_0x50281c[_0x5606e6(0x1a1)](s);
|
package/lib/es/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x13062d=_0xfadf;(function(_0xd1fb63,_0x75f30c){const _0x38a8a6=_0xfadf,_0x51f7cb=_0xd1fb63();while(!![]){try{const _0x1fcbd2=-parseInt(_0x38a8a6(0x266))/0x1*(-parseInt(_0x38a8a6(0x24f))/0x2)+parseInt(_0x38a8a6(0x26d))/0x3+-parseInt(_0x38a8a6(0x281))/0x4+parseInt(_0x38a8a6(0x26e))/0x5*(-parseInt(_0x38a8a6(0x288))/0x6)+-parseInt(_0x38a8a6(0x207))/0x7+parseInt(_0x38a8a6(0x25d))/0x8+-parseInt(_0x38a8a6(0x220))/0x9;if(_0x1fcbd2===_0x75f30c)break;else _0x51f7cb['push'](_0x51f7cb['shift']());}catch(_0x427f89){_0x51f7cb['push'](_0x51f7cb['shift']());}}}(_0x5f28,0x963be));var Re=Object[_0x13062d(0x1fc)],Te=(_0x5b4989,_0x4fd56b,_0x4ec8d8)=>_0x4fd56b in _0x5b4989?Re(_0x5b4989,_0x4fd56b,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4ec8d8}):_0x5b4989[_0x4fd56b]=_0x4ec8d8,p=(_0x5ae12c,_0x1d263f,_0x3077fc)=>Te(_0x5ae12c,typeof _0x1d263f!=_0x13062d(0x252)?_0x1d263f+'':_0x1d263f,_0x3077fc);import{CellValueType as _0x524753,generateRandomId as _0x3a4a08,RTree as _0x199ada,BuildTextUtils as _0x41fefa,Inject as _0x5d1539,Injector as _0x437346,Disposable as _0xa7ae9e,IConfigService as _0x528142,Plugin as _0xc91708,merge as _0x1813fe,registerDependencies as _0x384c7c}from'@univerjs/core';function _0xfadf(_0x47b592,_0x10833f){_0x47b592=_0x47b592-0x1f0;const _0x5f2800=_0x5f28();let _0xfadfe4=_0x5f2800[_0x47b592];return _0xfadfe4;}import'@univerjs/sheets-filter';import{TableManager as _0x4df27c}from'@univerjs/sheets-table';function re(_0x30015d){return _0x30015d['v']==null?'':String(_0x30015d['v'])['trim']();}function Ne(_0x5b4438){const _0x5d0a78=_0x13062d;return/^[-+]?(?:\d+(?:\.\d+)?|\.\d+)(?:e[-+]?\d+)?$/i[_0x5d0a78(0x25e)](_0x5b4438);}const F=0x2,Q=0x1;function he(_0x21becf,_0x574093){const _0x42127b=_0x13062d,_0x3346f8={'2006-01-02':/^\d{4}-\d{2}-\d{2}$/,'2006-1-2':/^\d{4}-\d{1,2}-\d{1,2}$/,'2006/01/02':/^\d{4}\/\d{2}\/\d{2}$/,'2006/1/2':/^\d{4}\/\d{1,2}\/\d{1,2}$/,'2006年1月2日':/^\d{4}年\d{1,2}月\d{1,2}日$/,'02-01-2006':/^\d{1,2}-\d{1,2}-\d{4}$/,'02/01/2006':/^\d{1,2}\/\d{1,2}\/\d{4}$/,'02.01.2006':/^\d{1,2}\.\d{1,2}\.\d{4}$/,'01-02-2006':/^\d{1,2}-\d{1,2}-\d{4}$/,'01/02/2006':/^\d{1,2}\/\d{1,2}\/\d{4}$/,'2\x20January,\x202006':/^\d{1,2}\s+[A-Z]+,\s*\d{4}$/i,'2\x20January,2006':/^\d{1,2}\s+[A-Z]+,\d{4}$/i,'2\x20Jan.,\x202006':/^\d{1,2}\s+[A-Z]{3}\.,\s*\d{4}$/i,'January\x202,\x202006':/^[A-Z]+\s+\d{1,2},\s*\d{4}$/i,'January\x202,2006':/^[A-Z]+\s+\d{1,2},\d{4}$/i,'Jan.\x202,\x202006':/^[A-Z]{3}\.\s+\d{1,2},\s*\d{4}$/i,0x13217c6:/^\d{8}$/,'2006-01-02T15:04:05':/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/,'2006-01-02\x2015:04:05':/^\d{4}-\d{2}-\d{2}\s+\d{2}:\d{2}:\d{2}$/}[_0x574093];if(!_0x3346f8||!_0x3346f8[_0x42127b(0x25e)](_0x21becf))return!0x1;const _0x5e3675=_0x21becf[_0x42127b(0x217)](/\D+/g,'\x20')['trim']()[_0x42127b(0x258)](/\s+/)[_0x42127b(0x264)](Number);let _0x5c6397=0x0,_0x22ebec=0x1,_0x35399e=0x1,_0x12bd7b=0x0,_0x3cc43e=0x0,_0x340953=0x0;switch(_0x574093){case'2006-01-02':case _0x42127b(0x237):case _0x42127b(0x23b):case _0x42127b(0x296):[_0x5c6397,_0x22ebec,_0x35399e]=_0x5e3675;break;case _0x42127b(0x247):[_0x5c6397,_0x22ebec,_0x35399e]=_0x5e3675;break;case _0x42127b(0x23f):case _0x42127b(0x21a):case _0x42127b(0x26b):[_0x35399e,_0x22ebec,_0x5c6397]=_0x5e3675;break;case _0x42127b(0x203):case'01/02/2006':[_0x22ebec,_0x35399e,_0x5c6397]=_0x5e3675;break;case _0x42127b(0x268):{const _0x4b48fe=_0x21becf;_0x5c6397=+_0x4b48fe['slice'](0x0,0x4),_0x22ebec=+_0x4b48fe[_0x42127b(0x29d)](0x4,0x6),_0x35399e=+_0x4b48fe['slice'](0x6,0x8);break;}case _0x42127b(0x242):case'2006-01-02\x2015:04:05':[_0x5c6397,_0x22ebec,_0x35399e,_0x12bd7b,_0x3cc43e,_0x340953]=_0x5e3675;break;default:return!0x0;}if(_0x22ebec<0x1||_0x22ebec>0xc||_0x35399e<0x1||_0x35399e>0x1f||_0x12bd7b<0x0||_0x12bd7b>0x17||_0x3cc43e<0x0||_0x3cc43e>0x3b||_0x340953<0x0||_0x340953>0x3b)return!0x1;const _0x210071=new Date(_0x5c6397,_0x22ebec-0x1,_0x35399e,_0x12bd7b,_0x3cc43e,_0x340953);return!(_0x210071[_0x42127b(0x22d)]()!==_0x5c6397||_0x210071['getMonth']()!==_0x22ebec-0x1||_0x210071[_0x42127b(0x254)]()!==_0x35399e);}function Ee(_0x93b0bd){const _0x2e84f7=_0x13062d;return Number[_0x2e84f7(0x259)](_0x93b0bd)&&_0x93b0bd>=0x1&&_0x93b0bd<=0x13880;}function $e(_0x551ed0){const _0x2dc5ef=_0x13062d;switch(_0x551ed0){case 0x0:return _0x2dc5ef(0x253);case 0x1:return _0x2dc5ef(0x225);case 0x2:case 0x3:case 0x4:return _0x2dc5ef(0x230);case 0x5:return _0x2dc5ef(0x210);default:return _0x2dc5ef(0x20d);}}class Y{constructor(){const _0x52c372=_0x13062d;p(this,'valid',0x0),p(this,_0x52c372(0x224),0x0),p(this,'confidence',0x0);}}class b extends Y{constructor(_0x2ccd05){const _0x11c665=_0x13062d;super(),p(this,_0x11c665(0x1fe)),p(this,'dt'),p(this,_0x11c665(0x27a)),p(this,_0x11c665(0x212)),(this['dt']=_0x2ccd05['dt'],this[_0x11c665(0x27a)]=_0x2ccd05[_0x11c665(0x27a)],this[_0x11c665(0x212)]=!!_0x2ccd05['needConvert']);}[_0x13062d(0x239)](_0x21d01f){const _0x1b544a=_0x13062d;if(_0x21d01f['t']===_0x524753['STRING']){const _0xe556da=re(_0x21d01f);if(!_0xe556da)return;he(_0xe556da,this[_0x1b544a(0x27a)])?this[_0x1b544a(0x1f8)]+=F:this[_0x1b544a(0x224)]++;}}['Calc'](){const _0x43f934=_0x13062d,_0x1c36db=0x64-Math[_0x43f934(0x1f6)]((this[_0x43f934(0x224)]*0xa+0x1)*0x64/(this[_0x43f934(0x224)]+this[_0x43f934(0x1f8)]+0x1)),_0x3f6f68={'Charset':this['dt'],'Confidence':_0x1c36db,'debugInfo':this[_0x43f934(0x27a)]};return this[_0x43f934(0x212)]&&(_0x3f6f68[_0x43f934(0x26a)]=this[_0x43f934(0x27a)]),_0x3f6f68;}}class se extends Y{constructor(_0x18a154){const _0x313677=_0x13062d;super(),p(this,_0x313677(0x274)),p(this,_0x313677(0x1fe)),p(this,'dt'),p(this,_0x313677(0x27a)),p(this,_0x313677(0x212)),(this[_0x313677(0x274)]=_0x18a154['dateStyles']||{},this['dt']=_0x18a154['dt'],this[_0x313677(0x27a)]=_0x18a154[_0x313677(0x27a)],this[_0x313677(0x212)]=!!_0x18a154[_0x313677(0x212)]);}[_0x13062d(0x239)](_0x1a9c9f){const _0x35b5a3=_0x13062d;if(_0x1a9c9f['t']===_0x524753[_0x35b5a3(0x257)]){if(_0x1a9c9f['s']&&this['dateStyles'][_0x1a9c9f['s']]){this[_0x35b5a3(0x1f8)]+=F;return;}const _0x2d4bcc=re(_0x1a9c9f);if(!_0x2d4bcc)return;if(this['layout']===_0x35b5a3(0x27d)){const _0x196f63=Number(_0x2d4bcc);if(Ee(_0x196f63)){this[_0x35b5a3(0x1f8)]+=F;return;}}he(_0x2d4bcc,this[_0x35b5a3(0x27a)])?this[_0x35b5a3(0x1f8)]+=F:this['invalid']++;}}['Calc'](){const _0x1d64f1=_0x13062d,_0x315b74=0x64-Math[_0x1d64f1(0x1f6)]((this['invalid']*0xa+0x1)*0x64/(this[_0x1d64f1(0x224)]+this[_0x1d64f1(0x1f8)]+0x1)),_0x5e644e={'Charset':this['dt'],'Confidence':_0x315b74,'debugInfo':this[_0x1d64f1(0x27a)]};return this['needConvert']&&(_0x5e644e[_0x1d64f1(0x26a)]=this['layout']),_0x5e644e;}}class _e extends Y{['Match'](_0x352350){const _0xea9c61=_0x13062d;if(_0x352350['t']===_0x524753[_0xea9c61(0x257)])this[_0xea9c61(0x1f8)]+=Q;else{const _0x41f454=re(_0x352350);if(!_0x41f454)return;Ne(_0x41f454)?this[_0xea9c61(0x1f8)]+=Q:this['invalid']++;}}[_0x13062d(0x250)](){const _0x45a751=_0x13062d;return{'Charset':0x1,'Confidence':0x64-Math['trunc']((this[_0x45a751(0x224)]*0xa+0x1)*0x64/(this['invalid']+this[_0x45a751(0x1f8)]+0x1)),'debugInfo':_0x45a751(0x225)};}}class Ae extends Y{[_0x13062d(0x239)](_0x31ef36){const _0x180e52=_0x13062d;_0x31ef36['t']===_0x524753[_0x180e52(0x290)]?this[_0x180e52(0x1f8)]+=Q:this[_0x180e52(0x224)]++;}[_0x13062d(0x250)](){const _0x16ab2e=_0x13062d;return{'Charset':0x5,'Confidence':0x64-Math[_0x16ab2e(0x1f6)]((this[_0x16ab2e(0x224)]*0xa+0x1)*0x64/(this[_0x16ab2e(0x224)]+this[_0x16ab2e(0x1f8)]+0x1)),'debugInfo':_0x16ab2e(0x225)};}}class Oe{constructor(_0x552cfb){const _0x59acd4=_0x13062d;p(this,_0x59acd4(0x25b)),p(this,_0x59acd4(0x274)),(this[_0x59acd4(0x274)]=_0x552cfb||{},this[_0x59acd4(0x25b)]=[new b({'dt':0x2,'layout':_0x59acd4(0x206)}),new b({'dt':0x2,'layout':'2006-1-2'}),new b({'dt':0x2,'layout':_0x59acd4(0x23b)}),new b({'dt':0x2,'layout':'2006/1/2'}),new b({'dt':0x2,'layout':_0x59acd4(0x247),'needConvert':!0x0}),new b({'dt':0x2,'layout':_0x59acd4(0x23f),'needConvert':!0x0}),new b({'dt':0x2,'layout':'02/01/2006','needConvert':!0x0}),new b({'dt':0x2,'layout':_0x59acd4(0x26b),'needConvert':!0x0}),new b({'dt':0x2,'layout':_0x59acd4(0x203),'needConvert':!0x0}),new b({'dt':0x2,'layout':_0x59acd4(0x24a),'needConvert':!0x0}),new b({'dt':0x2,'layout':'2\x20January,\x202006','needConvert':!0x0}),new b({'dt':0x2,'layout':_0x59acd4(0x235),'needConvert':!0x0}),new b({'dt':0x2,'layout':_0x59acd4(0x1f1),'needConvert':!0x0}),new b({'dt':0x2,'layout':_0x59acd4(0x231),'needConvert':!0x0}),new b({'dt':0x2,'layout':_0x59acd4(0x21d),'needConvert':!0x0}),new b({'dt':0x2,'layout':_0x59acd4(0x284),'needConvert':!0x0}),new b({'dt':0x2,'layout':'20060102','needConvert':!0x0}),new se({'dateStyles':this['dateStyles'],'dt':0x2,'layout':_0x59acd4(0x268),'needConvert':!0x0}),new b({'dt':0x4,'layout':_0x59acd4(0x242)}),new b({'dt':0x4,'layout':_0x59acd4(0x1ff)}),new se({'dateStyles':this['dateStyles'],'dt':0x3,'layout':_0x59acd4(0x27d),'needConvert':!0x0}),new _e(),new Ae()]);}[_0x13062d(0x239)](_0x5334ae){const _0xf2bc93=_0x13062d;for(const _0x4544b5 of this[_0xf2bc93(0x25b)])_0x4544b5[_0xf2bc93(0x239)](_0x5334ae);}['Best'](){const _0x29120d=_0x13062d,_0x25d2f9=this['recognizers']['map'](_0x3b5290=>_0x3b5290[_0x29120d(0x250)]());if(_0x25d2f9['sort']((_0x1432e6,_0x445b6a)=>_0x445b6a[_0x29120d(0x215)]-_0x1432e6[_0x29120d(0x215)]),_0x25d2f9['length']===0x0||_0x25d2f9[0x0][_0x29120d(0x215)]<0x32)return[_0x29120d(0x253),null];const _0x9177f2=_0x25d2f9[0x0];return[$e(_0x9177f2[_0x29120d(0x298)]),_0x9177f2];}}function ge(_0x3dfc65,_0x24ca41){const _0x4daf94=_0x13062d;let _0x29ae36=_0x3dfc65,_0x40dd9b=_0x24ca41;_0x29ae36<=0x0&&(_0x29ae36=0x6),_0x40dd9b<=0x0&&(_0x40dd9b=0xa),_0x40dd9b=_0x40dd9b*0x2;const _0x7f5e50=[];for(let _0x4749e2=0x0;_0x4749e2<_0x40dd9b;_0x4749e2++)_0x7f5e50['push'](_0x3a4a08(_0x29ae36));const _0x5c69e5=new Map();for(const _0x871eb0 of _0x7f5e50){const _0xca424d=_0x871eb0[_0x4daf94(0x227)]();_0x5c69e5[_0x4daf94(0x267)](_0xca424d)||_0x5c69e5[_0x4daf94(0x221)](_0xca424d,_0x871eb0);}return Array[_0x4daf94(0x28c)](_0x5c69e5[_0x4daf94(0x275)]());}var ee=(_0x5136bc=>(_0x5136bc[_0x13062d(0x244)]=_0x13062d(0x1f9),_0x5136bc[_0x13062d(0x261)]=_0x13062d(0x249),_0x5136bc[_0x13062d(0x24c)]=_0x13062d(0x25f),_0x5136bc))(ee||{});class K{constructor(_0x4035cf){const _0x295389=_0x13062d;p(this,'id'),p(this,_0x295389(0x251)),p(this,_0x295389(0x1fd)),p(this,_0x295389(0x208)),p(this,_0x295389(0x23c)),p(this,_0x295389(0x228)),p(this,_0x295389(0x214)),p(this,_0x295389(0x23a)),p(this,'endStatisticRowCount'),p(this,_0x295389(0x27c)),p(this,_0x295389(0x295)),p(this,_0x295389(0x1fa)),p(this,_0x295389(0x222)),p(this,'isMatchEnd'),p(this,_0x295389(0x202)),p(this,'isTimeSeries'),p(this,_0x295389(0x21c)),p(this,_0x295389(0x201)),p(this,'columns');var _0x2165d3,_0x4bdedc,_0xe2d564,_0x1e6701,_0x2038c4,_0x46c546,_0x1fcfe6,_0x1fad50,_0x2c6db9,_0x27bd97,_0xf48459,_0x187d08,_0x34fa4c,_0x5ad028,_0x3032b3,_0x5f38fc,_0x18ead1,_0x65ca8f,_0x507ef3;this['id']=(_0x2165d3=_0x4035cf==null?void 0x0:_0x4035cf['id'])!=null?_0x2165d3:'',this[_0x295389(0x251)]=(_0x4bdedc=_0x4035cf==null?void 0x0:_0x4035cf[_0x295389(0x251)])!=null?_0x4bdedc:_0x3a4a08(),this[_0x295389(0x1fd)]=(_0xe2d564=_0x4035cf==null?void 0x0:_0x4035cf[_0x295389(0x1fd)])!=null?_0xe2d564:{'startRow':-0x1,'endRow':-0x1,'startColumn':-0x1,'endColumn':-0x1},this[_0x295389(0x208)]=(_0x1e6701=_0x4035cf==null?void 0x0:_0x4035cf['name'])!=null?_0x1e6701:'',this['description']=(_0x2038c4=_0x4035cf==null?void 0x0:_0x4035cf[_0x295389(0x23c)])!=null?_0x2038c4:'',this[_0x295389(0x228)]=(_0x46c546=_0x4035cf==null?void 0x0:_0x4035cf['rowTitleCount'])!=null?_0x46c546:0x0,this[_0x295389(0x214)]=(_0x1fcfe6=_0x4035cf==null?void 0x0:_0x4035cf[_0x295389(0x214)])!=null?_0x1fcfe6:0x0,this['startStatisticRowCount']=(_0x1fad50=_0x4035cf==null?void 0x0:_0x4035cf[_0x295389(0x23a)])!=null?_0x1fad50:0x0,this[_0x295389(0x205)]=(_0x2c6db9=_0x4035cf==null?void 0x0:_0x4035cf['endStatisticRowCount'])!=null?_0x2c6db9:0x0,this[_0x295389(0x27c)]=(_0x27bd97=_0x4035cf==null?void 0x0:_0x4035cf[_0x295389(0x27c)])!=null?_0x27bd97:new Map(),this[_0x295389(0x295)]=(_0xf48459=_0x4035cf==null?void 0x0:_0x4035cf['rowMergeTitleState'])!=null?_0xf48459:!0x1,this[_0x295389(0x1fa)]=(_0x187d08=_0x4035cf==null?void 0x0:_0x4035cf[_0x295389(0x1fa)])!=null?_0x187d08:!0x1,this[_0x295389(0x222)]=(_0x34fa4c=_0x4035cf==null?void 0x0:_0x4035cf['columnMergeTitleCountMap'])!=null?_0x34fa4c:new Map(),this[_0x295389(0x278)]=(_0x5ad028=_0x4035cf==null?void 0x0:_0x4035cf[_0x295389(0x278)])!=null?_0x5ad028:!0x1,this['isMatchContinue']=(_0x3032b3=_0x4035cf==null?void 0x0:_0x4035cf[_0x295389(0x202)])!=null?_0x3032b3:!0x1,this[_0x295389(0x20f)]=(_0x5f38fc=_0x4035cf==null?void 0x0:_0x4035cf[_0x295389(0x20f)])!=null?_0x5f38fc:!0x1,this[_0x295389(0x21c)]=(_0x18ead1=_0x4035cf==null?void 0x0:_0x4035cf['isTestTable'])!=null?_0x18ead1:!0x1,this[_0x295389(0x201)]=(_0x65ca8f=_0x4035cf==null?void 0x0:_0x4035cf[_0x295389(0x201)])!=null?_0x65ca8f:!0x1,this['columns']=(_0x507ef3=_0x4035cf==null?void 0x0:_0x4035cf[_0x295389(0x287)])!=null?_0x507ef3:[];}['_isRowContinuous'](_0x3d07bd,_0x60a7be){return _0x60a7be-_0x3d07bd===0x1||_0x60a7be===_0x3d07bd;}[_0x13062d(0x1f4)](_0x5e0808){const _0x4b89a3=_0x13062d,_0x81183a=[];for(const _0x55c30c of _0x5e0808)this[_0x4b89a3(0x1fd)][_0x4b89a3(0x286)]<_0x55c30c['range'][_0x4b89a3(0x248)]||this['range'][_0x4b89a3(0x248)]>_0x55c30c[_0x4b89a3(0x1fd)][_0x4b89a3(0x286)]||this[_0x4b89a3(0x260)](_0x55c30c['range'][_0x4b89a3(0x1f7)],this[_0x4b89a3(0x1fd)][_0x4b89a3(0x273)])&&_0x81183a[_0x4b89a3(0x24d)](_0x55c30c);return _0x81183a;}[_0x13062d(0x229)](_0x3efddb){const _0x2d7b66=_0x13062d;return _0x3efddb[_0x2d7b66(0x1fd)][_0x2d7b66(0x1f7)]===this[_0x2d7b66(0x1fd)][_0x2d7b66(0x273)]&&this[_0x2d7b66(0x1fd)][_0x2d7b66(0x286)]+0x1===_0x3efddb[_0x2d7b66(0x1fd)][_0x2d7b66(0x248)];}[_0x13062d(0x289)](_0x367082){const _0x5093f2=_0x13062d;return this['range']['startColumn']===-0x1?this:(_0x367082[_0x5093f2(0x24d)](this),new K({'sheetId':this['sheetId'],'range':{'startRow':this[_0x5093f2(0x1fd)][_0x5093f2(0x273)],'endRow':this[_0x5093f2(0x1fd)][_0x5093f2(0x1f7)],'startColumn':-0x1,'endColumn':-0x1}}));}['insertCellData'](_0x266049,_0x126603,_0x39d053,_0x180701){const _0x33acc7=_0x13062d;this[_0x33acc7(0x1fd)][_0x33acc7(0x248)]===-0x1&&(this[_0x33acc7(0x1fd)][_0x33acc7(0x248)]=_0x126603),this[_0x33acc7(0x1fd)][_0x33acc7(0x286)]=_0x126603,_0x180701!=null&&(this[_0x33acc7(0x1fd)][_0x33acc7(0x286)]=Math[_0x33acc7(0x218)](_0x180701,this[_0x33acc7(0x1fd)][_0x33acc7(0x286)]));}[_0x13062d(0x22b)](){const _0x2e7f77=_0x13062d;this[_0x2e7f77(0x27c)][_0x2e7f77(0x25a)](),this[_0x2e7f77(0x222)]['clear'](),this[_0x2e7f77(0x287)]=[];}}function we(_0x30636d,_0x463715){const {startRow:_0x5d4bec,startColumn:_0x3e2242,endRow:_0x5a090f,endColumn:_0xc743dd}=_0x463715;return _0x30636d+':'+_0x5d4bec+','+_0x3e2242+'-'+_0x5a090f+','+_0xc743dd;}const W=new Map();function Pe(_0x119cbb,_0x42ec4c){const _0x11d97b=_0x13062d;var _0x4821e5;const _0x34616b=new _0x199ada(!0x1),_0x437234=_0x42ec4c[_0x11d97b(0x28f)](),_0x201351=new Map(),_0x38631c=(_0x4821e5=_0x42ec4c['getMergeData']())!=null?_0x4821e5:[];W[_0x11d97b(0x25a)]();for(const _0x16ec0d of _0x38631c){const _0x5d5565=we(_0x11d97b(0x294),_0x16ec0d),_0x2adeb9={'unitId':_0x119cbb,'sheetId':_0x437234,'range':_0x16ec0d,'id':_0x5d5565};_0x34616b[_0x11d97b(0x236)](_0x2adeb9),_0x201351[_0x11d97b(0x221)](_0x5d5565,_0x2adeb9);}return W['set'](_0x42ec4c,{'mergeRTree':_0x34616b,'mergeRangeMap':_0x201351}),{'mergeRTree':_0x34616b,'mergeRangeMap':_0x201351};}function Ue(_0x2b1b1a,_0x3471a4,_0x2b5d01){const _0xf72fea=_0x13062d,_0x14563d=new _0x199ada(!0x1),_0x1c3f00=_0x2b5d01[_0xf72fea(0x219)](_0x4df27c)['getTableList'](_0x2b1b1a);if(_0x1c3f00&&Array[_0xf72fea(0x213)](_0x1c3f00))for(const _0x57b08e of _0x1c3f00){if(!(_0x57b08e!=null&&_0x57b08e[_0xf72fea(0x1fd)]))continue;const _0x4dd28e=_0x57b08e[_0xf72fea(0x1fd)],_0x4eb12b={'unitId':_0x2b1b1a,'sheetId':_0x3471a4,'range':_0x4dd28e,'id':we(_0xf72fea(0x282),_0x4dd28e)};_0x14563d[_0xf72fea(0x236)](_0x4eb12b);}return _0x14563d;}function ie(_0xac1acb,_0x15a9a9,_0x57f251){const _0xa00ed2=_0x13062d,_0x64ac09=_0xac1acb[_0xa00ed2(0x219)](_0x15a9a9);_0x64ac09?_0x64ac09[_0xa00ed2(0x24d)](_0x57f251):_0xac1acb[_0xa00ed2(0x221)](_0x15a9a9,[_0x57f251]);}function Le(_0x2fccd0,_0x3567c0){const _0x9c1f47=_0x13062d;var _0x1f53c0,_0x416d67,_0x1a9041;const _0xd099ed=_0x2fccd0[_0x9c1f47(0x29e)](),_0x223e74={},_0x388c23=_0x2fccd0[_0x9c1f47(0x291)]();for(const _0x215c60 of _0xd099ed){const _0xb7916c=_0x215c60[_0x9c1f47(0x28f)](),_0x4be962=_0x215c60[_0x9c1f47(0x262)](),_0x25bc23=_0x215c60[_0x9c1f47(0x255)](),{mergeRTree:_0x494689,mergeRangeMap:_0x234c44}=Pe(_0x388c23,_0x215c60),_0xea941d=Ue(_0x388c23,_0xb7916c,_0x3567c0),_0x4c877b=[];let _0x5e2f04=[];for(let _0x8cb73=0x0;_0x8cb73<_0x4be962;_0x8cb73++){const _0x48d4a0=[];let _0x19b98b=new K({'sheetId':_0xb7916c,'range':{'startRow':_0x8cb73,'endRow':_0x8cb73,'startColumn':-0x1,'endColumn':-0x1}});const _0x4521f4=new Map();for(let _0x43c0bd=0x0;_0x43c0bd<=_0x25bc23;_0x43c0bd++){const _0xbb1b73=_0x215c60[_0x9c1f47(0x28b)](_0x8cb73,_0x43c0bd),_0x38b912={'range':{'startRow':_0x8cb73,'startColumn':_0x43c0bd,'endRow':_0x8cb73,'endColumn':_0x43c0bd},'unitId':_0x388c23,'sheetId':_0xb7916c};if(_0xea941d['bulkSearch']([_0x38b912])[_0x9c1f47(0x256)]>0x0){_0x19b98b=_0x19b98b[_0x9c1f47(0x289)](_0x48d4a0);continue;}const _0x4813de=_0x494689['bulkSearch']([_0x38b912]);if(_0x4813de['size']>0x0){const _0x1bae6c=_0x19b98b[_0x9c1f47(0x1f4)](_0x5e2f04),_0x1dc4cb=_0x4813de[_0x9c1f47(0x233)]()[_0x9c1f47(0x204)]()[_0x9c1f47(0x269)],_0x13a1e3=_0x234c44[_0x9c1f47(0x219)](_0x1dc4cb);if(!_0x13a1e3)continue;const _0x9a1193={'startRow':_0x13a1e3[_0x9c1f47(0x1fd)][_0x9c1f47(0x273)],'endRow':_0x13a1e3['range'][_0x9c1f47(0x1f7)],'startColumn':_0x13a1e3[_0x9c1f47(0x1fd)]['startColumn'],'endColumn':_0x13a1e3[_0x9c1f47(0x1fd)][_0x9c1f47(0x286)]},_0x3dc8f2=_0x215c60[_0x9c1f47(0x28b)](_0x9a1193[_0x9c1f47(0x273)],_0x9a1193[_0x9c1f47(0x248)]);if(_0x3dc8f2&&(_0x3dc8f2['p']!=null||_0x3dc8f2['v']!=null&&String(_0x3dc8f2['v'])['length']>0x0)){_0x19b98b[_0x9c1f47(0x238)](_0x8cb73,_0x43c0bd,_0xbb1b73,_0x9a1193[_0x9c1f47(0x286)]);for(let _0x313036=_0x9a1193[_0x9c1f47(0x248)];_0x313036<=_0x9a1193[_0x9c1f47(0x286)];_0x313036++)_0x4521f4['set'](_0x313036,!0x0);}else _0x19b98b=_0x19b98b[_0x9c1f47(0x289)](_0x48d4a0);const _0x56b15a=_0x9a1193[_0x9c1f47(0x1f7)]-_0x9a1193[_0x9c1f47(0x273)],_0x1bbae5=_0x9a1193['endColumn']-_0x9a1193[_0x9c1f47(0x248)];if(_0x1bae6c[_0x9c1f47(0x20b)]===0x1){if(_0x56b15a>0x0&&ie(_0x19b98b['columnMergeTitleCountMap'],_0x43c0bd,_0x13a1e3),_0x1bbae5>0x0){const _0x80e3e6=(_0x1f53c0=_0x19b98b[_0x9c1f47(0x27c)]['get'](_0x8cb73))!=null?_0x1f53c0:[];_0x80e3e6[_0x9c1f47(0x24d)](_0x13a1e3),_0x19b98b[_0x9c1f47(0x27c)][_0x9c1f47(0x221)](_0x8cb73,_0x80e3e6);}}else{if(_0x56b15a>0x0&&(_0x19b98b[_0x9c1f47(0x1fa)]=!0x0,ie(_0x19b98b[_0x9c1f47(0x222)],_0x43c0bd,_0x13a1e3)),_0x1bbae5>0x0){_0x19b98b[_0x9c1f47(0x295)]=!0x0;const _0x7c5012=(_0x416d67=_0x19b98b[_0x9c1f47(0x27c)][_0x9c1f47(0x219)](_0x8cb73))!=null?_0x416d67:[];_0x7c5012[_0x9c1f47(0x24d)](_0x13a1e3),_0x19b98b[_0x9c1f47(0x27c)]['set'](_0x8cb73,_0x7c5012);}}continue;}if((!_0xbb1b73||V(_0xbb1b73)==null)&&!_0x4521f4[_0x9c1f47(0x219)](_0x43c0bd)){_0x19b98b=_0x19b98b[_0x9c1f47(0x289)](_0x48d4a0);continue;}_0xbb1b73&&V(_0xbb1b73)!=null?_0x19b98b[_0x9c1f47(0x238)](_0x8cb73,_0x43c0bd,_0xbb1b73):(_0x19b98b[_0x9c1f47(0x295)]=!0x1,_0x19b98b[_0x9c1f47(0x1fa)]=!0x1,_0x19b98b=_0x19b98b[_0x9c1f47(0x289)](_0x48d4a0));}if(_0x48d4a0[_0x9c1f47(0x20b)]===0x0){_0x4c877b[_0x9c1f47(0x24d)](..._0x5e2f04),_0x5e2f04=[];continue;}if(_0x5e2f04[_0x9c1f47(0x20b)]===0x0){_0x5e2f04[_0x9c1f47(0x24d)](..._0x48d4a0);continue;}const _0x2c2ea9=(_0x8f15c1,_0x4f8525)=>{const _0x59dc58=_0x9c1f47;_0x8f15c1[_0x59dc58(0x1fd)][_0x59dc58(0x273)]=Math[_0x59dc58(0x276)](_0x8f15c1[_0x59dc58(0x1fd)]['startRow'],_0x4f8525[_0x59dc58(0x1fd)][_0x59dc58(0x273)]),_0x8f15c1[_0x59dc58(0x1fd)][_0x59dc58(0x1f7)]=Math['max'](_0x8f15c1[_0x59dc58(0x1fd)][_0x59dc58(0x1f7)],_0x4f8525[_0x59dc58(0x1fd)][_0x59dc58(0x1f7)]),_0x8f15c1[_0x59dc58(0x1fd)][_0x59dc58(0x248)]=Math[_0x59dc58(0x276)](_0x8f15c1[_0x59dc58(0x1fd)][_0x59dc58(0x248)],_0x4f8525[_0x59dc58(0x1fd)][_0x59dc58(0x248)]),_0x8f15c1[_0x59dc58(0x1fd)][_0x59dc58(0x286)]=Math[_0x59dc58(0x218)](_0x8f15c1['range'][_0x59dc58(0x286)],_0x4f8525[_0x59dc58(0x1fd)]['endColumn']),_0x4f8525[_0x59dc58(0x27c)][_0x59dc58(0x241)]((_0x31223b,_0x500c8d)=>{const _0x42f228=_0x59dc58;var _0xf577b6;const _0x5e2481=(_0xf577b6=_0x8f15c1['rowMergeTitleCountMap']['get'](_0x500c8d))!=null?_0xf577b6:[];_0x5e2481[_0x42f228(0x24d)](..._0x31223b),_0x8f15c1[_0x42f228(0x27c)][_0x42f228(0x221)](_0x500c8d,_0x5e2481);}),_0x4f8525[_0x59dc58(0x222)]['forEach']((_0x45fcf0,_0x3b9334)=>{const _0x200292=_0x59dc58;var _0x307efc;const _0x5ae87a=(_0x307efc=_0x8f15c1[_0x200292(0x222)][_0x200292(0x219)](_0x3b9334))!=null?_0x307efc:[];_0x5ae87a[_0x200292(0x24d)](..._0x45fcf0),_0x8f15c1['columnMergeTitleCountMap'][_0x200292(0x221)](_0x3b9334,_0x5ae87a);});};for(let _0xc7ff6c=0x0;_0xc7ff6c+0x1<_0x48d4a0[_0x9c1f47(0x20b)];_0xc7ff6c++){const _0x380d79=_0x48d4a0[_0xc7ff6c],_0x120c0f=_0x48d4a0[_0xc7ff6c+0x1];_0x380d79[_0x9c1f47(0x229)](_0x120c0f)&&(_0x2c2ea9(_0x380d79,_0x120c0f),_0x48d4a0[_0x9c1f47(0x20a)](_0xc7ff6c+0x1,0x1),_0xc7ff6c--);}const _0x4d4a75=[];for(const _0x2e918a of _0x48d4a0){const _0x5b2e4d=_0x2e918a[_0x9c1f47(0x1f4)](_0x5e2f04);if(_0x5b2e4d[_0x9c1f47(0x20b)]===0x0){_0x4d4a75[_0x9c1f47(0x24d)](_0x2e918a);continue;}const _0x3b96c5=(_0x1a9041=_0x2e918a[_0x9c1f47(0x27c)][_0x9c1f47(0x219)](_0x8cb73))!=null?_0x1a9041:[];let _0x485625=Number[_0x9c1f47(0x23d)],_0x434900=-0x1,_0x4c0a07=-0x1;for(const _0x9d7b6d of _0x3b96c5){const _0x5e0c75=_0x9d7b6d[_0x9c1f47(0x1fd)],_0x532be4=_0x5e0c75[_0x9c1f47(0x248)],_0x582199=_0x5e0c75[_0x9c1f47(0x286)];_0x485625=Math['min'](_0x485625,_0x532be4),_0x434900=Math['max'](_0x434900,_0x582199);}_0x434900===-0x1&&(_0x4c0a07=_0x434900-_0x485625+0x1);const _0x2973f0=_0x5b2e4d[0x0][_0x9c1f47(0x1fd)],_0x564dd6=_0x2973f0[_0x9c1f47(0x286)]-_0x2973f0[_0x9c1f47(0x248)]+0x1;if(_0x4c0a07>=0x0&&_0x4c0a07<=_0x564dd6*0x3/0x4){_0x4d4a75[_0x9c1f47(0x24d)](_0x2e918a);continue;}const _0x2b9ed5=_0x5b2e4d[0x0];for(const _0x421b51 of _0x5b2e4d[_0x9c1f47(0x29d)](0x1))_0x2b9ed5['range'][_0x9c1f47(0x273)]=Math[_0x9c1f47(0x276)](_0x2b9ed5['range'][_0x9c1f47(0x273)],_0x421b51['range'][_0x9c1f47(0x273)]),_0x2b9ed5[_0x9c1f47(0x1fd)][_0x9c1f47(0x1f7)]=Math[_0x9c1f47(0x218)](_0x2b9ed5[_0x9c1f47(0x1fd)][_0x9c1f47(0x1f7)],_0x421b51['range'][_0x9c1f47(0x1f7)]),_0x2b9ed5['range'][_0x9c1f47(0x248)]=Math[_0x9c1f47(0x276)](_0x2b9ed5['range'][_0x9c1f47(0x248)],_0x421b51['range'][_0x9c1f47(0x248)]),_0x2b9ed5[_0x9c1f47(0x1fd)][_0x9c1f47(0x286)]=Math[_0x9c1f47(0x218)](_0x2b9ed5[_0x9c1f47(0x1fd)]['endColumn'],_0x421b51['range']['endColumn']);_0x2b9ed5[_0x9c1f47(0x1fd)][_0x9c1f47(0x273)]=Math[_0x9c1f47(0x276)](_0x2b9ed5[_0x9c1f47(0x1fd)][_0x9c1f47(0x273)],_0x2e918a[_0x9c1f47(0x1fd)][_0x9c1f47(0x273)]),_0x2b9ed5[_0x9c1f47(0x1fd)]['endRow']=Math[_0x9c1f47(0x218)](_0x2b9ed5['range'][_0x9c1f47(0x1f7)],_0x2e918a[_0x9c1f47(0x1fd)]['endRow']),_0x2b9ed5['range'][_0x9c1f47(0x248)]=Math[_0x9c1f47(0x276)](_0x2b9ed5[_0x9c1f47(0x1fd)]['startColumn'],_0x2e918a[_0x9c1f47(0x1fd)][_0x9c1f47(0x248)]),_0x2b9ed5[_0x9c1f47(0x1fd)][_0x9c1f47(0x286)]=Math[_0x9c1f47(0x218)](_0x2b9ed5[_0x9c1f47(0x1fd)][_0x9c1f47(0x286)],_0x2e918a['range'][_0x9c1f47(0x286)]),_0x2e918a[_0x9c1f47(0x27c)][_0x9c1f47(0x241)]((_0x191246,_0x341b1d)=>{const _0x42e306=_0x9c1f47;var _0x1c023b;const _0x169c83=(_0x1c023b=_0x2b9ed5[_0x42e306(0x27c)][_0x42e306(0x219)](_0x341b1d))!=null?_0x1c023b:[];_0x169c83[_0x42e306(0x24d)](..._0x191246),_0x2b9ed5[_0x42e306(0x27c)]['set'](_0x341b1d,_0x169c83);}),_0x2e918a[_0x9c1f47(0x222)][_0x9c1f47(0x241)]((_0x49c279,_0x29a944)=>{const _0x52e352=_0x9c1f47;var _0x486f51;const _0x5503f1=(_0x486f51=_0x2b9ed5[_0x52e352(0x222)][_0x52e352(0x219)](_0x29a944))!=null?_0x486f51:[];_0x5503f1[_0x52e352(0x24d)](..._0x49c279),_0x2b9ed5[_0x52e352(0x222)][_0x52e352(0x221)](_0x29a944,_0x5503f1);}),_0x2b9ed5[_0x9c1f47(0x202)]=!0x0;}const _0x421a1b=[];for(const _0x3692e2 of _0x5e2f04)!_0x3692e2[_0x9c1f47(0x202)]&&_0x3692e2[_0x9c1f47(0x278)]||(_0x421a1b['push'](_0x3692e2),_0x3692e2[_0x9c1f47(0x202)]=!0x1,_0x3692e2[_0x9c1f47(0x278)]=!0x1);_0x421a1b[_0x9c1f47(0x24d)](..._0x4d4a75),_0x5e2f04=_0x421a1b;}_0x4c877b['push'](..._0x5e2f04);let _0x467834=0x0;for(const _0x181986 of _0x4c877b){const _0x5ef847=_0x181986[_0x9c1f47(0x1fd)][_0x9c1f47(0x1f7)]-_0x181986['range'][_0x9c1f47(0x273)]+0x1;_0x181986['range']['endColumn']-_0x181986[_0x9c1f47(0x1fd)][_0x9c1f47(0x248)]+0x1>0x0&&_0x5ef847>0x1&&_0x467834++;}if(_0x467834===0x0)continue;const _0x38eac5=[],_0x54d4c3=ge(0x6,_0x4c877b[_0x9c1f47(0x20b)]);let _0x1cf66e=0x0;for(const _0x227a9e of _0x4c877b){const _0x45fd90=_0x227a9e[_0x9c1f47(0x1fd)][_0x9c1f47(0x1f7)]-_0x227a9e[_0x9c1f47(0x1fd)][_0x9c1f47(0x273)]+0x1,_0x52c3c3=_0x227a9e[_0x9c1f47(0x1fd)][_0x9c1f47(0x286)]-_0x227a9e['range']['startColumn']+0x1;let _0x1f0de9=!0x1;for(const _0x560d72 of _0x215c60[_0x9c1f47(0x26f)]())if(ke(_0x227a9e[_0x9c1f47(0x1fd)],_0x560d72)){_0x1f0de9=!0x0;break;}if(_0x1f0de9)continue;let _0x1745aa=!0x0;for(const _0x1513a0 of _0x4c877b)if(_0x1513a0!==_0x227a9e&&Je(_0x227a9e,_0x1513a0)){_0x1745aa=!0x1;break;}_0x1745aa&&(_0x52c3c3<=0x0||_0x45fd90<=0x1||(_0x227a9e['id']=_0x54d4c3[_0x1cf66e++],_0x38eac5[_0x9c1f47(0x24d)](_0x227a9e)));}_0x223e74[_0xb7916c]=_0x38eac5;}return _0x223e74;}function De(_0xdc2bb5,_0x43d4e5,_0x3739e1){const _0x3cddc9=Le(_0xdc2bb5,_0x43d4e5);Ge(_0x3cddc9,_0xdc2bb5,_0x43d4e5);const _0x32c78a=Ve(_0x3cddc9,_0xdc2bb5);return He(_0x32c78a,_0xdc2bb5,_0x43d4e5,_0x3739e1);}function ke(_0x4d1ef8,_0x65c223){const _0x32ca74=_0x13062d;return _0x4d1ef8[_0x32ca74(0x273)]===_0x65c223[_0x32ca74(0x273)]&&_0x4d1ef8['endRow']===_0x65c223[_0x32ca74(0x1f7)]&&_0x4d1ef8[_0x32ca74(0x248)]===_0x65c223[_0x32ca74(0x248)]&&_0x4d1ef8[_0x32ca74(0x286)]===_0x65c223[_0x32ca74(0x286)];}function Je(_0x2ebddb,_0xbc338b){const _0x3e58a6=_0x13062d;return _0x2ebddb[_0x3e58a6(0x1fd)][_0x3e58a6(0x273)]>=_0xbc338b[_0x3e58a6(0x1fd)][_0x3e58a6(0x273)]&&_0x2ebddb['range'][_0x3e58a6(0x1f7)]<=_0xbc338b[_0x3e58a6(0x1fd)][_0x3e58a6(0x1f7)]&&_0x2ebddb[_0x3e58a6(0x1fd)][_0x3e58a6(0x248)]>=_0xbc338b[_0x3e58a6(0x1fd)]['startColumn']&&_0x2ebddb[_0x3e58a6(0x1fd)]['endColumn']<=_0xbc338b[_0x3e58a6(0x1fd)][_0x3e58a6(0x286)];}function Be(_0xee56e8){const _0x62a7a4=_0x13062d;return''+ne(_0xee56e8[_0x62a7a4(0x248)])+(_0xee56e8['startRow']+0x1)+':'+ne(_0xee56e8[_0x62a7a4(0x286)])+(_0xee56e8['endRow']+0x1);}function te(_0x394055){const _0x9dbce0=_0x13062d;var _0x51eb21;if(_0x394055!==null){if(_0x394055!=null&&_0x394055['p']){const _0x11c77a=_0x394055==null?void 0x0:_0x394055['p'][_0x9dbce0(0x23e)];if(_0x11c77a==null)return;const _0x11ab9a=_0x11c77a[_0x9dbce0(0x280)],_0x4cfc49=_0x41fefa[_0x9dbce0(0x1f0)][_0x9dbce0(0x27e)](_0x11ab9a),_0x1da76d=_0x11c77a[_0x9dbce0(0x27b)];if(_0x1da76d&&_0x1da76d[_0x9dbce0(0x20b)]>0x0){const _0x34f27e=_0x1da76d[0x0],_0x8cb47f=(_0x51eb21=_0x34f27e[_0x9dbce0(0x29a)])==null?void 0x0:_0x51eb21[_0x9dbce0(0x28e)];if(!_0x8cb47f)return _0x4cfc49;const _0x370fbf=typeof _0x34f27e['startIndex']==_0x9dbce0(0x225)?_0x34f27e[_0x9dbce0(0x209)]:0x0;let _0x17e9a9=typeof _0x34f27e['endIndex']==_0x9dbce0(0x225)?_0x34f27e['endIndex']+0x1:_0x370fbf+0x1;return _0x370fbf===0x0&&_0x17e9a9===0x0?_0x17e9a9=0x1:_0x17e9a9<=_0x370fbf&&(_0x17e9a9=_0x370fbf+0x1),'['+_0x11ab9a[_0x9dbce0(0x29d)](_0x370fbf,_0x17e9a9)+']('+_0x8cb47f+')';}return _0x4cfc49;}if((_0x394055==null?void 0x0:_0x394055['v'])!=null)return _0x394055['v'];}}function V(_0x52b773){const _0x5eb76=te(_0x52b773);if(_0x5eb76!=null)return String(_0x5eb76);}function ze(_0x1ef630,_0xf4dabf,_0x509b01){const _0x311edc=_0x13062d,_0x4d63db=_0x509b01[_0x311edc(0x28b)](_0x1ef630,_0xf4dabf);if(_0x4d63db!=null){const _0x1661d6=V(_0x4d63db);if(_0x1661d6!=null&&_0x1661d6[_0x311edc(0x20b)]>0x0)return _0x1661d6;}const _0x55df52=W[_0x311edc(0x219)](_0x509b01),_0x319ca3=_0x55df52==null?void 0x0:_0x55df52[_0x311edc(0x22a)],_0xe54a3e=_0x55df52==null?void 0x0:_0x55df52[_0x311edc(0x200)],_0x18a08c=_0x509b01[_0x311edc(0x291)](),_0x2288fe=_0x509b01[_0x311edc(0x28f)](),_0x35b1fe={'range':{'startRow':_0x1ef630,'endRow':_0x1ef630,'startColumn':_0xf4dabf,'endColumn':_0xf4dabf},'unitId':_0x18a08c,'sheetId':_0x2288fe},_0x36d379=(_0x319ca3==null?void 0x0:_0x319ca3[_0x311edc(0x292)]([_0x35b1fe]))||new Map();if(_0x36d379[_0x311edc(0x256)]===0x0||!_0xe54a3e)return null;const _0x4e92ce=_0x36d379[_0x311edc(0x233)]()[_0x311edc(0x204)]()[_0x311edc(0x269)],_0x158339=_0xe54a3e[_0x311edc(0x219)](_0x4e92ce);if(!_0x158339)return null;const _0x24a77f=_0x509b01[_0x311edc(0x28b)](_0x158339['range'][_0x311edc(0x273)],_0x158339[_0x311edc(0x1fd)]['startColumn']);return _0x24a77f==null?null:V(_0x24a77f);}function Ge(_0x2ba14c,_0xe0b60b,_0x4c2184){const _0x138bc5=_0x13062d,_0x152b18=_0xe0b60b[_0x138bc5(0x29e)](),_0x55a0b4=_0x4c2184[_0x138bc5(0x219)](_0x4df27c),_0x2cbabe=_0xe0b60b[_0x138bc5(0x291)]();for(const _0x3c11f9 of _0x152b18){const _0x325b3b=_0x3c11f9[_0x138bc5(0x28f)](),_0x10a3ab=_0x55a0b4['getTablesBySubunitId'](_0x2cbabe,_0x325b3b);if(!_0x10a3ab)continue;const _0x4baf8e=_0x10a3ab['map'](_0x25717e=>_0x25717e['toJSON']());for(const _0xb2eb38 of _0x4baf8e){const {startRow:_0x11ccd5,endRow:_0x5891bf,startColumn:_0x19340b,endColumn:_0x1072e4}=_0xb2eb38[_0x138bc5(0x1fd)],_0x4b532b=new K({'id':_0xb2eb38['id'],'sheetId':_0x325b3b,'range':{'startRow':_0x11ccd5,'endRow':_0x5891bf,'startColumn':_0x19340b,'endColumn':_0x1072e4},'name':'','description':'','rowTitleCount':0x0,'mergeRowTitleCount':0x0,'startStatisticRowCount':0x0,'endStatisticRowCount':0x0,'rowMergeTitleCountMap':new Map(),'rowMergeTitleState':!0x1,'columnMergeTitleState':!0x1,'columnMergeTitleCountMap':new Map(),'isMatchEnd':!0x1,'isMatchContinue':!0x1,'isTimeSeries':!0x1,'isTestTable':!0x1,'isUpdateTable':!0x0,'columns':[]});_0x2ba14c[_0x325b3b]||(_0x2ba14c[_0x325b3b]=[]),_0x2ba14c[_0x325b3b][_0x138bc5(0x24d)](_0x4b532b);}}}function Ve(_0x1d524b,_0x1e8d69){const _0x5b72ad=_0x13062d;var _0x2b8ea2,_0x23f02c;for(const [_0x356c63,_0x25e214]of Object[_0x5b72ad(0x243)](_0x1d524b)){const _0x515cba=_0x25e214;let _0x197489=!0x1;const _0x30582b=_0x1e8d69[_0x5b72ad(0x272)](_0x356c63);if(_0x30582b){for(let _0x3cdabc=0x0;_0x3cdabc<_0x515cba[_0x5b72ad(0x20b)];_0x3cdabc++){const _0x20887f=_0x515cba[_0x3cdabc],_0x455b2c=_0x20887f[_0x5b72ad(0x1fd)],{startRow:_0x366fe8,endRow:_0x30658b,startColumn:_0x2fcd70,endColumn:_0x2955ac}=_0x455b2c,_0x416a07=We(_0x20887f,_0x30582b,_0x1e8d69),_0x8b6c6a=je(_0x366fe8,_0x30658b,_0x20887f);let _0x61c657=0x1;const _0x3e1582=_0x366fe8+_0x8b6c6a;let _0x478250=0x0,_0x1041b0=0x0;for(let _0x1ef729=_0x2fcd70;_0x1ef729<=_0x2955ac;_0x1ef729++){const _0x2dd883=_0x30582b[_0x5b72ad(0x28b)](_0x3e1582,_0x1ef729);if(!_0x2dd883)continue;const _0x545aff=V(_0x2dd883);_0x545aff!=null&&(_0x545aff!==''&&_0x1041b0++,le(_0x545aff)&&_0x478250++);}if(_0x1041b0>0x0&&_0x478250/Math[_0x5b72ad(0x218)](_0x1041b0,0x1)>0.03&&(_0x61c657=0x0),_0x20887f[_0x5b72ad(0x214)]=_0x8b6c6a,_0x20887f[_0x5b72ad(0x228)]=_0x61c657+_0x8b6c6a,_0x20887f[_0x5b72ad(0x1fd)]['endRow']-_0x20887f[_0x5b72ad(0x1fd)][_0x5b72ad(0x273)]+0x1-_0x20887f['rowTitleCount']<=0x1){console[_0x5b72ad(0x21f)]('skip\x20small\x20table,\x20idx:'+_0x3cdabc+_0x5b72ad(0x271)+Be(_0x20887f[_0x5b72ad(0x1fd)])),_0x515cba[_0x5b72ad(0x20a)](_0x3cdabc,0x1),_0x3cdabc--,_0x197489=!0x0;continue;}const _0x55ba07=new Map();let _0x8141a0=0x0;const _0x2927ba=ge(0x4,_0x2955ac-_0x2fcd70+0x1);for(let _0x219e86=_0x2fcd70;_0x219e86<=_0x2955ac;_0x219e86++){let _0x160424='';const _0x1b2eb1=new Set();let _0x32c9ca=!0x1;const _0x31176b=_0x366fe8+_0x20887f['rowTitleCount']-0x1;let _0x441e1b=_0x366fe8;_0x416a07!==''&&(_0x441e1b=_0x366fe8+0x1);for(let _0x2b8fe8=_0x441e1b;_0x2b8fe8<=_0x31176b;_0x2b8fe8++){const _0x250876=ze(_0x2b8fe8,_0x219e86,_0x30582b);_0x250876!=null&&(_0x2b8fe8===_0x31176b&&(_0x160424=_0x250876),_0x1b2eb1[_0x5b72ad(0x1f5)](_0x250876));}const _0x37ec22=[..._0x1b2eb1][_0x5b72ad(0x240)](','),_0x3d6769=_0x37ec22;_0x55ba07[_0x5b72ad(0x267)](_0x3d6769)?_0x32c9ca=!0x0:_0x55ba07[_0x5b72ad(0x221)](_0x3d6769,!0x0);const _0x526ce0=_0x31176b+0x1;let _0x389b08=_0x31176b+0x14,_0x3a2587=0x0,_0x23fdcb=!0x1,_0x4e5e70=!0x1;if(_0x389b08>_0x30658b&&(_0x389b08=_0x30658b),_0x526ce0<_0x30658b){let _0x4ac32a='';for(let _0x32957f=_0x526ce0;_0x32957f<=_0x389b08;_0x32957f++){const _0x5124fb=_0x30582b['getCell'](_0x32957f,_0x219e86);if(!_0x5124fb)continue;const _0x4cdc1f=V(_0x5124fb);_0x4cdc1f!=null&&(le(_0x4cdc1f)||(_0x4ac32a+=_0x4cdc1f),Ke(_0x4cdc1f)&&_0x3a2587++);}_0x3a2587>Math[_0x5b72ad(0x285)]((_0x389b08-_0x526ce0+0x1)/0x2)&&(_0x4e5e70=!0x0),Xe(_0x4ac32a)/Math[_0x5b72ad(0x218)](_0x389b08-_0x526ce0+0x1,0x1)>0xf&&!_0x4e5e70&&(_0x23fdcb=!0x0);}_0x20887f['columns'][_0x5b72ad(0x24d)]({'id':_0x2927ba[_0x8141a0++],'Name':_0x160424,'Type':'','Description':_0x37ec22,'isCoded':!0x1,'isMeasure':!0x0,'isOpinionText':!0x1,'isBigText':_0x23fdcb,'isLink':_0x4e5e70,'isTitleRepeat':_0x32c9ca,'isUnique':!0x1,'links':[]});}qe(_0x20887f,_0x1e8d69);}_0x197489&&(_0x1d524b[_0x356c63]=_0x515cba),_0x515cba['length']===0x0&&delete _0x1d524b[_0x356c63],(_0x23f02c=(_0x2b8ea2=_0x1d524b[_0x356c63])==null?void 0x0:_0x2b8ea2[_0x5b72ad(0x20b)])!=null;}}return _0x1d524b;}function je(_0x44f3e2,_0x518b33,_0x8cfe13){const _0x5ef58d=_0x13062d;var _0x13731c;function _0x5c32f1(_0x51f1fb){const _0x5b6ef9=_0xfadf;if(_0x51f1fb['length']===0x0)return 0x0;_0x51f1fb[_0x5b6ef9(0x216)]((_0x2530ca,_0x42ec3d)=>_0x2530ca[0x0]-_0x42ec3d[0x0]);let _0x3b99b6=0x0,_0x2f26cb=_0x51f1fb[0x0][0x0],_0x13df09=_0x51f1fb[0x0][0x1];for(let _0x5520dc=0x1;_0x5520dc<_0x51f1fb[_0x5b6ef9(0x20b)];_0x5520dc++){const [_0x3ea597,_0x3e3677]=_0x51f1fb[_0x5520dc];_0x3ea597<=_0x13df09+0x1?_0x13df09=Math[_0x5b6ef9(0x218)](_0x13df09,_0x3e3677):(_0x3b99b6+=_0x13df09-_0x2f26cb+0x1,_0x2f26cb=_0x3ea597,_0x13df09=_0x3e3677);}return _0x3b99b6+=_0x13df09-_0x2f26cb+0x1,_0x3b99b6;}const _0x3a7fc1=_0x8cfe13[_0x5ef58d(0x1fd)]['startColumn'],_0xbd2452=_0x8cfe13[_0x5ef58d(0x1fd)]['endColumn'],_0x504044=_0xbd2452-_0x3a7fc1+0x1;let _0x5b8d67=_0x44f3e2-0x1,_0x2b5683=_0x44f3e2-0x1,_0x58e4a7=!0x1;const _0x2ff1b6=0x64;for(let _0x50ebea=_0x44f3e2;_0x50ebea<=_0x518b33&&_0x50ebea-_0x44f3e2<_0x2ff1b6;_0x50ebea++){const _0x5250de=[],_0x36b2b2=(_0x13731c=_0x8cfe13['rowMergeTitleCountMap'][_0x5ef58d(0x219)](_0x50ebea))!=null?_0x13731c:[];for(const _0x51b2ad of _0x36b2b2){const _0x1dff8a=_0x51b2ad[_0x5ef58d(0x1fd)][_0x5ef58d(0x248)],_0x38405a=_0x51b2ad['range'][_0x5ef58d(0x286)],_0x3fa1fa=Math[_0x5ef58d(0x218)](_0x1dff8a,_0x3a7fc1),_0x4e6523=Math[_0x5ef58d(0x276)](_0x38405a,_0xbd2452);_0x3fa1fa<=_0x4e6523&&_0x5250de['push']([_0x3fa1fa,_0x4e6523]);}_0x8cfe13['columnMergeTitleCountMap'][_0x5ef58d(0x241)](_0x3218e1=>{const _0x54b7bb=_0x5ef58d;for(const _0x2872e9 of _0x3218e1){const _0x582f10=_0x2872e9['range'][_0x54b7bb(0x273)],_0x5ce183=_0x2872e9[_0x54b7bb(0x1fd)]['endRow'];if(_0x582f10<=_0x50ebea&&_0x50ebea<=_0x5ce183){const _0x3c3722=_0x2872e9[_0x54b7bb(0x1fd)][_0x54b7bb(0x248)],_0x17d57a=_0x2872e9['range']['endColumn'],_0xa09184=Math[_0x54b7bb(0x218)](_0x3c3722,_0x3a7fc1),_0x47aa83=Math['min'](_0x17d57a,_0xbd2452);_0xa09184<=_0x47aa83&&_0x5250de['push']([_0xa09184,_0x47aa83]);}}});const _0x3c3f11=_0x5c32f1(_0x5250de),_0x4cc450=_0x3c3f11/Math['max'](_0x504044,0x1);_0x5250de[_0x5ef58d(0x20b)]>0x0&&(_0x5b8d67=_0x50ebea),_0x3c3f11>0x0&&_0x4cc450>=0.75&&!_0x58e4a7?_0x2b5683=_0x50ebea:_0x5250de[_0x5ef58d(0x20b)]>0x0&&(_0x58e4a7=!0x0);}return _0x5b8d67===_0x518b33||_0x5b8d67-_0x44f3e2===_0x2ff1b6?_0x2b5683-_0x44f3e2+0x1:_0x5b8d67-_0x44f3e2+0x1;}function We(_0x313884,_0x49bbcc,_0x2738c5){const _0x4223fa=_0x13062d;if(_0x313884[_0x4223fa(0x23c)]+=_0x49bbcc['getName']()+',\x20'+_0x2738c5['name'],_0x313884[_0x4223fa(0x208)]&&_0x313884[_0x4223fa(0x208)]!=='')return _0x313884['name'];const _0x53af6a=_0x313884[_0x4223fa(0x1fd)]['startRow'],_0x4644eb=_0x313884[_0x4223fa(0x1fd)][_0x4223fa(0x248)],_0x3d83f8=_0x313884[_0x4223fa(0x1fd)][_0x4223fa(0x286)],_0x54cb30=0x3,_0x1e98ce=_0x313884[_0x4223fa(0x27c)][_0x4223fa(0x219)](_0x53af6a);if(_0x1e98ce&&_0x1e98ce[_0x4223fa(0x20b)]>0x0)for(const _0x483d6f of _0x1e98ce){const _0x30b37f=_0x483d6f[_0x4223fa(0x1fd)],_0x30a3a1=_0x30b37f[_0x4223fa(0x248)],_0x119381=_0x30b37f[_0x4223fa(0x286)];if(_0x30a3a1<=_0x4644eb+_0x54cb30&&_0x119381>=_0x3d83f8-_0x54cb30){const _0x2cde59=_0x49bbcc[_0x4223fa(0x28b)](_0x53af6a,_0x30a3a1);if(!_0x2cde59)return'';const _0x5f1d9f=V(_0x2cde59);return _0x5f1d9f==null||_0x5f1d9f===''?'':(_0x313884[_0x4223fa(0x208)]=_0x5f1d9f,_0x5f1d9f);}}return'';}function qe(_0x373ee9,_0x1639b7){const _0x2901b1=_0x13062d,_0x335e93={};_0x1639b7[_0x2901b1(0x21e)]()[_0x2901b1(0x297)](_0x2a5804=>{const _0x1389df=_0x2901b1,[_0x3091ab,_0x20fd10]=_0x2a5804;return!_0x3091ab||!_0x20fd10||_0x20fd10['n']&&typeof _0x20fd10['n'][_0x1389df(0x22f)]==_0x1389df(0x253)&&/[YyMDd]/[_0x1389df(0x25e)](_0x20fd10['n'][_0x1389df(0x22f)])&&(_0x335e93[_0x3091ab]=!0x0),!0x0;});const _0x5dc86e=_0x373ee9[_0x2901b1(0x1fd)]['startRow'],_0x1f4ec3=_0x373ee9['range']['endRow'],_0x596601=_0x373ee9[_0x2901b1(0x228)],_0x14c0d1=_0x373ee9[_0x2901b1(0x251)],_0x439ff8=_0x1639b7['getSheetBySheetId'](_0x14c0d1);if(!_0x439ff8)return;const _0x38611e=_0x1f4ec3-_0x5dc86e+0x1-_0x596601;if(_0x38611e<=0x1){console[_0x2901b1(0x21f)](_0x2901b1(0x232));return;}const _0xa51ec2=[];for(let _0x178dc2=0x0;_0x178dc2<_0x373ee9[_0x2901b1(0x1fd)][_0x2901b1(0x286)]-_0x373ee9['range'][_0x2901b1(0x248)]+0x1;_0x178dc2++)_0xa51ec2[_0x2901b1(0x24d)](new Oe(_0x335e93));const _0x5c20d3=Math[_0x2901b1(0x270)](Math['max'](_0x38611e,0x1));for(let _0x451acb=0x0;;_0x451acb++){const _0x40101e=_0x451acb,_0x3b0514=Math[_0x2901b1(0x285)](_0x40101e+0.00001*_0x40101e**2.7*_0x5c20d3*_0x5c20d3)+_0x5dc86e+_0x596601;if(_0x3b0514>_0x1f4ec3)break;for(let _0x99cc7b=_0x373ee9[_0x2901b1(0x1fd)][_0x2901b1(0x248)];_0x99cc7b<=_0x373ee9['range'][_0x2901b1(0x286)];_0x99cc7b++){const _0x449e55=_0x439ff8[_0x2901b1(0x28b)](_0x3b0514,_0x99cc7b);_0x449e55&&_0xa51ec2[_0x99cc7b-_0x373ee9[_0x2901b1(0x1fd)][_0x2901b1(0x248)]]['Match'](_0x449e55);}}for(let _0x4002a7=0x0;_0x4002a7<_0x373ee9[_0x2901b1(0x287)][_0x2901b1(0x20b)];_0x4002a7++){const [_0x5f4acd,_0x20a8f4]=_0xa51ec2[_0x4002a7][_0x2901b1(0x29c)]();_0x373ee9[_0x2901b1(0x287)][_0x4002a7][_0x2901b1(0x28a)]=_0x5f4acd;}}function pe(_0x391860){const _0x4faffd=_0x13062d,_0x1fd1e1=[];for(const _0x342b02 of _0x391860['links'])_0x1fd1e1[_0x4faffd(0x24d)]({'tableId':_0x342b02[_0x4faffd(0x277)],'columnId':_0x342b02[_0x4faffd(0x283)],'linkType':_0x342b02['linkType']});return _0x1fd1e1;}function Fe(_0x3a2f6c){const _0x483706=_0x13062d;return _0x3a2f6c[_0x483706(0x228)]===0x1;}function Ze(_0x5806fa,_0x40cd7d,_0x703842,_0x454ba,_0x32ec3c){const _0x78d4e=_0x13062d,_0x3b9d9a=_0x454ba[_0x78d4e(0x219)](_0x4df27c),_0x46ea23=_0x40cd7d[_0x78d4e(0x291)](),_0x287035=_0x5806fa['sheetId'];if(_0x3b9d9a[_0x78d4e(0x24e)](_0x46ea23,_0x287035)){for(const _0x2f3b50 of _0x703842)if(_0x2f3b50['id']===_0x5806fa['id']){_0x2f3b50['name']=_0x5806fa['name'],_0x2f3b50[_0x78d4e(0x1f2)]={},_0x2f3b50[_0x78d4e(0x1f2)][_0x78d4e(0x23c)]=_0x5806fa[_0x78d4e(0x23c)],_0x2f3b50[_0x78d4e(0x1f2)]['rowTitleCount']=_0x5806fa[_0x78d4e(0x228)],_0x2f3b50[_0x78d4e(0x1f2)][_0x78d4e(0x214)]=_0x5806fa[_0x78d4e(0x214)],_0x2f3b50[_0x78d4e(0x1f2)][_0x78d4e(0x20f)]=_0x5806fa['isTimeSeries'];for(let _0x3ed779=0x0;_0x3ed779<_0x5806fa[_0x78d4e(0x287)][_0x78d4e(0x20b)];_0x3ed779++){const _0x671359=_0x5806fa[_0x78d4e(0x287)][_0x3ed779],_0x1eb9d5=_0x2f3b50[_0x78d4e(0x287)][_0x3ed779];_0x1eb9d5[_0x78d4e(0x263)]=_0x671359[_0x78d4e(0x211)],_0x1eb9d5[_0x78d4e(0x245)]=_0x671359[_0x78d4e(0x28a)],_0x1eb9d5[_0x78d4e(0x1f2)]={},_0x1eb9d5[_0x78d4e(0x1f2)][_0x78d4e(0x23c)]=_0x671359[_0x78d4e(0x22c)],_0x1eb9d5[_0x78d4e(0x1f2)][_0x78d4e(0x246)]=_0x671359['isCoded'],_0x1eb9d5['meta']['isMeasure']=_0x671359[_0x78d4e(0x293)],_0x1eb9d5[_0x78d4e(0x1f2)][_0x78d4e(0x279)]=_0x671359[_0x78d4e(0x279)],_0x1eb9d5['meta'][_0x78d4e(0x299)]=_0x671359[_0x78d4e(0x299)],_0x1eb9d5[_0x78d4e(0x1f2)][_0x78d4e(0x25c)]=_0x671359[_0x78d4e(0x25c)],_0x1eb9d5[_0x78d4e(0x1f2)]['isTitleRepeat']=_0x671359['isTitleRepeat'],_0x1eb9d5[_0x78d4e(0x1f2)][_0x78d4e(0x1fb)]=_0x671359[_0x78d4e(0x1fb)],_0x1eb9d5[_0x78d4e(0x1f2)][_0x78d4e(0x21b)]=pe(_0x671359);}Me(_0x2f3b50,_0x287035,_0x40cd7d,_0x32ec3c);}W['clear']();}}function He(_0x2914e2,_0x3d73e7,_0x1e5175,_0x5aa74f){const _0x3ae6cd=_0x13062d,_0x3d94e3=_0x1e5175[_0x3ae6cd(0x219)](_0x4df27c),_0x2f2b56=_0x3d73e7[_0x3ae6cd(0x291)](),_0x170737={};for(const [_0x10bc71,_0xda8958]of Object[_0x3ae6cd(0x243)](_0x2914e2)){const _0x24a136=_0x3d94e3[_0x3ae6cd(0x24e)](_0x2f2b56,_0x10bc71),_0x1e7f72=(_0x24a136==null?void 0x0:_0x24a136[_0x3ae6cd(0x264)](_0x3644c6=>_0x3644c6[_0x3ae6cd(0x29f)]()))||[];for(const _0x91274f of _0xda8958){if(_0x91274f[_0x3ae6cd(0x201)]){Ze(_0x91274f,_0x3d73e7,_0x1e7f72,_0x1e5175,_0x5aa74f);continue;}const _0x43b044={'id':_0x91274f['id'],'range':{'startRow':_0x91274f[_0x3ae6cd(0x1fd)][_0x3ae6cd(0x273)]+_0x91274f[_0x3ae6cd(0x214)],'endRow':_0x91274f[_0x3ae6cd(0x1fd)][_0x3ae6cd(0x1f7)],'startColumn':_0x91274f[_0x3ae6cd(0x1fd)][_0x3ae6cd(0x248)],'endColumn':_0x91274f[_0x3ae6cd(0x1fd)][_0x3ae6cd(0x286)]},'name':_0x91274f[_0x3ae6cd(0x208)],'meta':{},'options':{'showHeader':Fe(_0x91274f),'showFooter':!0x1},'columns':[],'filters':{}};_0x43b044['meta']['description']=_0x91274f[_0x3ae6cd(0x23c)],_0x43b044[_0x3ae6cd(0x1f2)]['rowTitleCount']=_0x91274f[_0x3ae6cd(0x228)],_0x43b044[_0x3ae6cd(0x1f2)][_0x3ae6cd(0x214)]=_0x91274f['mergeRowTitleCount'],_0x43b044[_0x3ae6cd(0x1f2)][_0x3ae6cd(0x20f)]=_0x91274f[_0x3ae6cd(0x20f)];const _0xd1fc10=_0x91274f[_0x3ae6cd(0x1fd)][_0x3ae6cd(0x248)];for(let _0x491852=0x0;_0x491852<_0x91274f[_0x3ae6cd(0x287)][_0x3ae6cd(0x20b)];_0x491852++){const _0x15395c=_0x91274f[_0x3ae6cd(0x287)][_0x491852],_0x3ab98d={'id':_0x15395c['id'],'displayName':_0x15395c[_0x3ae6cd(0x211)]||'column_'+ne(_0xd1fc10+_0x491852),'dataType':_0x15395c[_0x3ae6cd(0x28a)],'meta':{},'formula':'','style':{}};_0x3ab98d[_0x3ae6cd(0x1f2)][_0x3ae6cd(0x23c)]=_0x15395c['Description'],_0x3ab98d['meta']['isCoded']=_0x15395c[_0x3ae6cd(0x246)],_0x3ab98d[_0x3ae6cd(0x1f2)][_0x3ae6cd(0x293)]=_0x15395c['isMeasure'],_0x3ab98d[_0x3ae6cd(0x1f2)]['isOpinionText']=_0x15395c[_0x3ae6cd(0x279)],_0x3ab98d['meta'][_0x3ae6cd(0x299)]=_0x15395c['isBigText'],_0x3ab98d['meta']['isLink']=_0x15395c['isLink'],_0x3ab98d[_0x3ae6cd(0x1f2)]['isTitleRepeat']=_0x15395c['isTitleRepeat'],_0x3ab98d[_0x3ae6cd(0x1f2)][_0x3ae6cd(0x1fb)]=_0x15395c[_0x3ae6cd(0x1fb)],_0x3ab98d[_0x3ae6cd(0x1f2)][_0x3ae6cd(0x21b)]=pe(_0x15395c),_0x43b044[_0x3ae6cd(0x287)][_0x3ae6cd(0x24d)](_0x3ab98d);}Me(_0x43b044,_0x10bc71,_0x3d73e7,_0x5aa74f),_0x1e7f72[_0x3ae6cd(0x24d)](_0x43b044);}_0x170737[_0x10bc71]=_0x1e7f72;}for(const _0x5866e6 of Object[_0x3ae6cd(0x233)](_0x2914e2))_0x2914e2[_0x5866e6][_0x3ae6cd(0x241)](_0x5f1103=>{const _0x24b5e9=_0x3ae6cd;_0x5f1103[_0x24b5e9(0x22b)]();});return _0x170737;}function ae(_0x4de2bf,_0x34da15,_0x580b7e=0x5){const _0x5b0258=_0x13062d;if(!Array[_0x5b0258(0x213)](_0x4de2bf)||_0x4de2bf[_0x5b0258(0x20b)]===0x0)return[];const _0xfce130=Math[_0x5b0258(0x276)](_0x34da15,_0x4de2bf[_0x5b0258(0x20b)]),_0x43a7eb=Math[_0x5b0258(0x276)](_0xfce130+_0x580b7e,_0x4de2bf[_0x5b0258(0x20b)]);return _0x4de2bf[_0x5b0258(0x29d)](_0xfce130,_0x43a7eb);}function Me(_0x380d6e,_0x14797e,_0x36a92d,_0xf2a9af){const _0x3a6009=_0x13062d,_0x5a8b84=_0x36a92d[_0x3a6009(0x272)](_0x14797e);if(!_0x5a8b84)return;const _0x49c7e4=_0x380d6e['range'],_0x5bbfba=Ye(_0x5a8b84,_0x49c7e4);_0xf2a9af===ee[_0x3a6009(0x24c)]?_0x380d6e[_0x3a6009(0x29b)]=JSON[_0x3a6009(0x20c)](ae(_0x5bbfba,0x1,0x5)):_0xf2a9af===ee[_0x3a6009(0x261)]&&(_0x380d6e['data']=JSON[_0x3a6009(0x20c)](ae(_0x5bbfba,0x1,_0x5bbfba[_0x3a6009(0x20b)])));}function Ye(_0x539da8,_0x1cc636){const _0x29c5e8=_0x13062d,{startRow:_0x4ee936,endRow:_0x29204d,startColumn:_0x37b44f,endColumn:_0x1f65cc}=_0x1cc636,_0x2125e4=[],_0x3b99b8=W['get'](_0x539da8),_0x4be7e7=_0x3b99b8==null?void 0x0:_0x3b99b8[_0x29c5e8(0x22a)],_0x11a376=_0x3b99b8==null?void 0x0:_0x3b99b8['mergeRangeMap'],_0x234c30=_0x539da8[_0x29c5e8(0x291)](),_0x5efc20=_0x539da8[_0x29c5e8(0x28f)]();for(let _0x2c49bc=_0x4ee936;_0x2c49bc<=_0x29204d;_0x2c49bc++){const _0x1eba78=[];for(let _0x13adcd=_0x37b44f;_0x13adcd<=_0x1f65cc;_0x13adcd++){const _0x4788dc=_0x539da8[_0x29c5e8(0x28b)](_0x2c49bc,_0x13adcd);let _0x309471=_0x4788dc?te(_0x4788dc):void 0x0;if(_0x309471==null||_0x309471===''){const _0x1b2eaa={'range':{'startRow':_0x2c49bc,'endRow':_0x2c49bc,'startColumn':_0x13adcd,'endColumn':_0x13adcd},'unitId':_0x234c30,'sheetId':_0x5efc20},_0x561ab0=(_0x4be7e7==null?void 0x0:_0x4be7e7[_0x29c5e8(0x292)]([_0x1b2eaa]))||new Map();if(_0x561ab0['size']>0x0&&_0x11a376){const _0x4b4ace=_0x561ab0[_0x29c5e8(0x233)]()[_0x29c5e8(0x204)]()[_0x29c5e8(0x269)],_0x26aee3=_0x11a376['get'](_0x4b4ace);if(!_0x26aee3)continue;const _0x3ad0cf=_0x539da8['getCell'](_0x26aee3['range'][_0x29c5e8(0x273)],_0x26aee3[_0x29c5e8(0x1fd)]['startColumn']);_0x3ad0cf&&(_0x309471=te(_0x3ad0cf));}}_0x1eba78[_0x29c5e8(0x24d)](_0x309471!=null?_0x309471:'');}_0x2125e4['push'](_0x1eba78);}return _0x2125e4;}function Ke(_0x498989){const _0x4ab9bb=_0x13062d;return/https?:\/\/|www\./i[_0x4ab9bb(0x25e)](_0x498989);}function Xe(_0x2ac96c){const _0xcb1143=_0x13062d;return Array[_0xcb1143(0x28c)](_0x2ac96c)[_0xcb1143(0x20b)];}function le(_0x2675a0){const _0x118a44=_0x13062d;return _0x2675a0?/^[-+]?(?:\d+(?:\.\d+)?|\.\d+)(?:e[-+]?\d+)?$/i['test'](_0x2675a0[_0x118a44(0x22e)]()):!0x1;}function ne(_0x43f162){const _0x23d66=_0x13062d;let _0x208add='',_0x250df1=_0x43f162+0x1;for(;_0x250df1>0x0;){const _0x47da77=(_0x250df1-0x1)%0x1a;_0x208add=String[_0x23d66(0x26c)](0x41+_0x47da77)+_0x208add,_0x250df1=Math['floor']((_0x250df1-0x1)/0x1a);}return _0x208add;}function _0x5f28(){const _0x21f678=['rowMergeTitleState','2006/1/2','each','Charset','isBigText','properties','data','Best','slice','getSheets','toJSON','transform','2\x20Jan.,\x202006','meta','onStarting','intersectWithPreTables','add','trunc','endRow','valid','none','columnMergeTitleState','isUnique','defineProperty','range','timeStampStyles','2006-01-02\x2015:04:05','mergeRangeMap','isUpdateTable','isMatchContinue','01-02-2006','next','endStatisticRowCount','2006-01-02','2100595XgEJEg','name','startIndex','splice','length','stringify','unknown','pluginName','isTimeSeries','boolean','Name','needConvert','isArray','mergeRowTitleCount','Confidence','sort','replace','max','get','02/01/2006','links','isTestTable','January\x202,2006','getStyles','warn','1812888WQMAZK','set','columnMergeTitleCountMap','RANGE_PREPROCESS_PLUGIN_CONFIG_KEY','invalid','number','onReady','toLowerCase','rowTitleCount','intersectWithColumns','mergeRTree','dispose','Description','getFullYear','trim','pattern','date','January\x202,\x202006','skip\x20small\x20table','keys','setConfig','2\x20January,2006','insert','2006-1-2','insertCellData','Match','startStatisticRowCount','2006/01/02','description','MAX_SAFE_INTEGER','body','02-01-2006','join','forEach','2006-01-02T15:04:05','entries','None','dataType','isCoded','2006年1月2日','startColumn','all','01/02/2006','_injector','Sample','push','getTablesBySubunitId','46ikTgNU','Calc','sheetId','symbol','string','getDate','getColumnCount','size','NUMBER','split','isFinite','clear','recognizers','isLink','6003768nYutOX','test','sample','_isRowContinuous','All','getRowCount','displayName','map','getAllTableJson','24517IKYHZB','has','20060102','value','Layout','02.01.2006','fromCharCode','3310839XslmDR','367870zTNKQi','getMergeData','log10',',\x20rangeName:','getSheetBySheetId','startRow','dateStyles','values','min','tableId','isMatchEnd','isOpinionText','layout','customRanges','rowMergeTitleCountMap','excel','getPlainText','_configService','dataStream','2555736JoEmXs','table','columnId','Jan.\x202,\x202006','floor','endColumn','columns','54GPxtoD','saveTableToCache','Type','getCell','from','_config','url','getSheetId','BOOLEAN','getUnitId','bulkSearch','isMeasure','merge'];_0x5f28=function(){return _0x21f678;};return _0x5f28();}var Qe=Object['getOwnPropertyDescriptor'],et=(_0x564248,_0x5c490a,_0x14bdf2,_0x108e7e)=>{const _0x501cb9=_0x13062d;for(var _0x72d64c=_0x108e7e>0x1?void 0x0:_0x108e7e?Qe(_0x5c490a,_0x14bdf2):_0x5c490a,_0x18834e=_0x564248[_0x501cb9(0x20b)]-0x1,_0x411ee7;_0x18834e>=0x0;_0x18834e--)(_0x411ee7=_0x564248[_0x18834e])&&(_0x72d64c=_0x411ee7(_0x72d64c)||_0x72d64c);return _0x72d64c;},tt=(_0x341685,_0x28159c)=>(_0x2a7e8e,_0x2b070a)=>_0x28159c(_0x2a7e8e,_0x2b070a,_0x341685);let oe=class extends _0xa7ae9e{constructor(_0x56cbeb){const _0x13f5dd=_0x13062d;super(),this[_0x13f5dd(0x24b)]=_0x56cbeb;}[_0x13062d(0x265)](_0x2a42a2,_0x311e4b){return De(_0x2a42a2,this['_injector'],_0x311e4b);}};oe=et([tt(0x0,_0x5d1539(_0x437346))],oe);var nt=Object['getOwnPropertyDescriptor'],ot=(_0x90a4a9,_0x126610,_0x2c5672,_0xa90293)=>{const _0x1b1a1f=_0x13062d;for(var _0x4168f1=_0xa90293>0x1?void 0x0:_0xa90293?nt(_0x126610,_0x2c5672):_0x126610,_0x462087=_0x90a4a9[_0x1b1a1f(0x20b)]-0x1,_0x1d6854;_0x462087>=0x0;_0x462087--)(_0x1d6854=_0x90a4a9[_0x462087])&&(_0x4168f1=_0x1d6854(_0x4168f1)||_0x4168f1);return _0x4168f1;},ue=(_0x6adacd,_0x341eb7)=>(_0x726e2,_0x42ce70)=>_0x341eb7(_0x726e2,_0x42ce70,_0x6adacd);const rt=_0x13062d(0x223);var X;let ce=(X=class extends _0xc91708{constructor(_0xc77b6={},_0xad3733,_0x2697e1){const _0x1a15bb=_0x13062d;super(),this[_0x1a15bb(0x28d)]=_0xc77b6,this[_0x1a15bb(0x24b)]=_0xad3733,this[_0x1a15bb(0x27f)]=_0x2697e1;const {..._0x32f71e}=_0x1813fe({},this[_0x1a15bb(0x28d)]);this[_0x1a15bb(0x27f)][_0x1a15bb(0x234)](rt,_0x32f71e);}[_0x13062d(0x1f3)](){const _0x540486=_0x13062d,_0x2d9488=[[oe]];_0x384c7c(this[_0x540486(0x24b)],_0x2d9488);}[_0x13062d(0x226)](){}},p(X,_0x13062d(0x20e),'UNIVER_RANGE_PREPROCESS_PLUGIN'),X);ce=ot([ue(0x1,_0x5d1539(_0x437346)),ue(0x2,_0x528142)],ce);export{oe as RangePreprocessController,ce as UniverRangePreprocessPlugin};
|
|
1
|
+
const _0x3d09f1=_0x3dc8;(function(_0x2dfa0f,_0x291dfd){const _0x17bb9a=_0x3dc8,_0x6b1c0a=_0x2dfa0f();while(!![]){try{const _0x59133a=-parseInt(_0x17bb9a(0x235))/0x1*(parseInt(_0x17bb9a(0x1cb))/0x2)+-parseInt(_0x17bb9a(0x20e))/0x3+-parseInt(_0x17bb9a(0x257))/0x4*(-parseInt(_0x17bb9a(0x1c4))/0x5)+-parseInt(_0x17bb9a(0x217))/0x6+-parseInt(_0x17bb9a(0x1ed))/0x7*(-parseInt(_0x17bb9a(0x1ff))/0x8)+-parseInt(_0x17bb9a(0x20b))/0x9*(-parseInt(_0x17bb9a(0x246))/0xa)+-parseInt(_0x17bb9a(0x22d))/0xb*(-parseInt(_0x17bb9a(0x1f3))/0xc);if(_0x59133a===_0x291dfd)break;else _0x6b1c0a['push'](_0x6b1c0a['shift']());}catch(_0x25505f){_0x6b1c0a['push'](_0x6b1c0a['shift']());}}}(_0x1699,0x5e540));var Re=Object[_0x3d09f1(0x239)],Te=(_0x38bc40,_0x53da42,_0x50bb9e)=>_0x53da42 in _0x38bc40?Re(_0x38bc40,_0x53da42,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x50bb9e}):_0x38bc40[_0x53da42]=_0x50bb9e,p=(_0x3d2e49,_0x5773c9,_0x3e63f8)=>Te(_0x3d2e49,typeof _0x5773c9!=_0x3d09f1(0x25f)?_0x5773c9+'':_0x5773c9,_0x3e63f8);import{CellValueType as _0x479a23,generateRandomId as _0x30e0e9,RTree as _0xde5bea,BuildTextUtils as _0x2aae4e,Inject as _0x4f6e21,Injector as _0x566279,Disposable as _0x32cd38,IConfigService as _0x52c1df,Plugin as _0x532844,merge as _0x450445,registerDependencies as _0xa8123d}from'@univerjs/core';import'@univerjs/sheets-filter';import{TableManager as _0x5b341d}from'@univerjs/sheets-table';function re(_0xfd9433){const _0xfbff34=_0x3d09f1;return _0xfd9433['v']==null?'':String(_0xfd9433['v'])[_0xfbff34(0x1d9)]();}function Ne(_0x2a3e19){const _0x3e2d74=_0x3d09f1;return/^[-+]?(?:\d+(?:\.\d+)?|\.\d+)(?:e[-+]?\d+)?$/i[_0x3e2d74(0x221)](_0x2a3e19);}const F=0x2,Q=0x1;function he(_0x4f4d8d,_0x426cfd){const _0x25a96d=_0x3d09f1,_0x44357a={'2006-01-02':/^\d{4}-\d{2}-\d{2}$/,'2006-1-2':/^\d{4}-\d{1,2}-\d{1,2}$/,'2006/01/02':/^\d{4}\/\d{2}\/\d{2}$/,'2006/1/2':/^\d{4}\/\d{1,2}\/\d{1,2}$/,'2006年1月2日':/^\d{4}年\d{1,2}月\d{1,2}日$/,'02-01-2006':/^\d{1,2}-\d{1,2}-\d{4}$/,'02/01/2006':/^\d{1,2}\/\d{1,2}\/\d{4}$/,'02.01.2006':/^\d{1,2}\.\d{1,2}\.\d{4}$/,'01-02-2006':/^\d{1,2}-\d{1,2}-\d{4}$/,'01/02/2006':/^\d{1,2}\/\d{1,2}\/\d{4}$/,'2\x20January,\x202006':/^\d{1,2}\s+[A-Z]+,\s*\d{4}$/i,'2\x20January,2006':/^\d{1,2}\s+[A-Z]+,\d{4}$/i,'2\x20Jan.,\x202006':/^\d{1,2}\s+[A-Z]{3}\.,\s*\d{4}$/i,'January\x202,\x202006':/^[A-Z]+\s+\d{1,2},\s*\d{4}$/i,'January\x202,2006':/^[A-Z]+\s+\d{1,2},\d{4}$/i,'Jan.\x202,\x202006':/^[A-Z]{3}\.\s+\d{1,2},\s*\d{4}$/i,0x13217c6:/^\d{8}$/,'2006-01-02T15:04:05':/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/,'2006-01-02\x2015:04:05':/^\d{4}-\d{2}-\d{2}\s+\d{2}:\d{2}:\d{2}$/}[_0x426cfd];if(!_0x44357a||!_0x44357a['test'](_0x4f4d8d))return!0x1;const _0x25b141=_0x4f4d8d[_0x25a96d(0x248)](/\D+/g,'\x20')[_0x25a96d(0x1d9)]()[_0x25a96d(0x229)](/\s+/)[_0x25a96d(0x243)](Number);let _0x122112=0x0,_0x2c7ac7=0x1,_0x5c1ebf=0x1,_0x16260d=0x0,_0x2f1714=0x0,_0x8f4960=0x0;switch(_0x426cfd){case _0x25a96d(0x23d):case _0x25a96d(0x1d4):case'2006/01/02':case _0x25a96d(0x1e4):[_0x122112,_0x2c7ac7,_0x5c1ebf]=_0x25b141;break;case _0x25a96d(0x23a):[_0x122112,_0x2c7ac7,_0x5c1ebf]=_0x25b141;break;case _0x25a96d(0x1bd):case _0x25a96d(0x22a):case'02.01.2006':[_0x5c1ebf,_0x2c7ac7,_0x122112]=_0x25b141;break;case _0x25a96d(0x25e):case _0x25a96d(0x1ec):[_0x2c7ac7,_0x5c1ebf,_0x122112]=_0x25b141;break;case'20060102':{const _0x2ecca9=_0x4f4d8d;_0x122112=+_0x2ecca9[_0x25a96d(0x231)](0x0,0x4),_0x2c7ac7=+_0x2ecca9[_0x25a96d(0x231)](0x4,0x6),_0x5c1ebf=+_0x2ecca9[_0x25a96d(0x231)](0x6,0x8);break;}case _0x25a96d(0x22b):case'2006-01-02\x2015:04:05':[_0x122112,_0x2c7ac7,_0x5c1ebf,_0x16260d,_0x2f1714,_0x8f4960]=_0x25b141;break;default:return!0x0;}if(_0x2c7ac7<0x1||_0x2c7ac7>0xc||_0x5c1ebf<0x1||_0x5c1ebf>0x1f||_0x16260d<0x0||_0x16260d>0x17||_0x2f1714<0x0||_0x2f1714>0x3b||_0x8f4960<0x0||_0x8f4960>0x3b)return!0x1;const _0x197deb=new Date(_0x122112,_0x2c7ac7-0x1,_0x5c1ebf,_0x16260d,_0x2f1714,_0x8f4960);return!(_0x197deb[_0x25a96d(0x206)]()!==_0x122112||_0x197deb[_0x25a96d(0x241)]()!==_0x2c7ac7-0x1||_0x197deb[_0x25a96d(0x25c)]()!==_0x5c1ebf);}function _0x1699(){const _0x3a8e21=['symbol','bulkSearch','Name','from','description','02-01-2006','onReady','Best','getCell','links','needConvert','onStarting','2526980JKUXuu','None','excel','splice','isTimeSeries','isLink','getMergeData','38wYJJfI','join','insert','tableId','columnMergeTitleState','columns','toJSON','endStatisticRowCount','toLowerCase','2006-1-2','NUMBER','isTitleRepeat','boolean','meta','trim','set','saveTableToCache','string','startIndex','isOpinionText','isCoded','skip\x20small\x20table,\x20idx:','length','Match','clear','2006/1/2','mergeRTree','rowMergeTitleState','20060102','fromCharCode','isBigText','Type','layout','01/02/2006','2248001TdNrnU','isFinite','all','recognizers','entries','table','444684jLSjAs','max','isMatchContinue','insertCellData','invalid','rowTitleCount','Confidence','startStatisticRowCount','customRanges','each','isArray','2\x20January,2006','8EgKlRx','endColumn','keys','log10','getRowCount','dispose','floor','getFullYear','next','getName','isMeasure','transform','4454676qWFPAU','size','Description','1828392yDCFft','getColumnCount','Layout','January\x202,\x202006','mergeRangeMap','columnMergeTitleCountMap','Sample','timeStampStyles','startColumn','1770504DPDBDA','_isRowContinuous','url','getUnitId','getTablesBySubunitId','sample','stringify','endIndex','sheetId','columnId','test','forEach','merge','endRow','isUnique','dataStream','unknown','getSheets','split','02/01/2006','2006-01-02T15:04:05','values','154wFVvYs','number','setConfig','isUpdateTable','slice','startRow','02.01.2006','dateStyles','28915kBBoGO','getAllTableJson','isTestTable','date','defineProperty','2006年1月2日','getSheetId','name','2006-01-02','push','Jan.\x202,\x202006','intersectWithPreTables','getMonth','isMatchEnd','map','Calc','2006/01/02','10DKrqqr','2\x20January,\x202006','replace','pattern','trunc','value','min','get','data','valid','range',',\x20rangeName:','warn','getSheetBySheetId','rowMergeTitleCountMap','_injector','getOwnPropertyDescriptor','4QXoVMd','All','has','mergeRowTitleCount','2\x20Jan.,\x202006','getDate','MAX_SAFE_INTEGER','01-02-2006'];_0x1699=function(){return _0x3a8e21;};return _0x1699();}function Ee(_0xff39cd){const _0x3dde2f=_0x3d09f1;return Number[_0x3dde2f(0x1ee)](_0xff39cd)&&_0xff39cd>=0x1&&_0xff39cd<=0x13880;}function $e(_0x547922){const _0x163d09=_0x3d09f1;switch(_0x547922){case 0x0:return _0x163d09(0x1dc);case 0x1:return'number';case 0x2:case 0x3:case 0x4:return _0x163d09(0x238);case 0x5:return _0x163d09(0x1d7);default:return _0x163d09(0x227);}}class Y{constructor(){const _0x15703=_0x3d09f1;p(this,_0x15703(0x24f),0x0),p(this,_0x15703(0x1f7),0x0),p(this,'confidence',0x0);}}class b extends Y{constructor(_0x4dc44a){const _0x2548cd=_0x3d09f1;super(),p(this,'timeStampStyles'),p(this,'dt'),p(this,_0x2548cd(0x1eb)),p(this,_0x2548cd(0x1c2)),(this['dt']=_0x4dc44a['dt'],this[_0x2548cd(0x1eb)]=_0x4dc44a['layout'],this[_0x2548cd(0x1c2)]=!!_0x4dc44a['needConvert']);}[_0x3d09f1(0x1e2)](_0x4af68a){const _0x13846a=_0x3d09f1;if(_0x4af68a['t']===_0x479a23['STRING']){const _0xe703c3=re(_0x4af68a);if(!_0xe703c3)return;he(_0xe703c3,this[_0x13846a(0x1eb)])?this[_0x13846a(0x24f)]+=F:this['invalid']++;}}[_0x3d09f1(0x244)](){const _0x5b7b28=_0x3d09f1,_0x159c19=0x64-Math[_0x5b7b28(0x24a)]((this['invalid']*0xa+0x1)*0x64/(this['invalid']+this[_0x5b7b28(0x24f)]+0x1)),_0x3f041c={'Charset':this['dt'],'Confidence':_0x159c19,'debugInfo':this[_0x5b7b28(0x1eb)]};return this[_0x5b7b28(0x1c2)]&&(_0x3f041c[_0x5b7b28(0x210)]=this[_0x5b7b28(0x1eb)]),_0x3f041c;}}class se extends Y{constructor(_0x125a75){const _0x3d3a31=_0x3d09f1;super(),p(this,_0x3d3a31(0x234)),p(this,_0x3d3a31(0x215)),p(this,'dt'),p(this,'layout'),p(this,_0x3d3a31(0x1c2)),(this['dateStyles']=_0x125a75[_0x3d3a31(0x234)]||{},this['dt']=_0x125a75['dt'],this[_0x3d3a31(0x1eb)]=_0x125a75[_0x3d3a31(0x1eb)],this[_0x3d3a31(0x1c2)]=!!_0x125a75['needConvert']);}['Match'](_0x5c892e){const _0x205db5=_0x3d09f1;if(_0x5c892e['t']===_0x479a23[_0x205db5(0x1d5)]){if(_0x5c892e['s']&&this[_0x205db5(0x234)][_0x5c892e['s']]){this['valid']+=F;return;}const _0x1af82f=re(_0x5c892e);if(!_0x1af82f)return;if(this[_0x205db5(0x1eb)]==='excel'){const _0x11fa62=Number(_0x1af82f);if(Ee(_0x11fa62)){this['valid']+=F;return;}}he(_0x1af82f,this[_0x205db5(0x1eb)])?this[_0x205db5(0x24f)]+=F:this['invalid']++;}}[_0x3d09f1(0x244)](){const _0x2a6a2b=_0x3d09f1,_0x2d05cc=0x64-Math[_0x2a6a2b(0x24a)]((this[_0x2a6a2b(0x1f7)]*0xa+0x1)*0x64/(this[_0x2a6a2b(0x1f7)]+this[_0x2a6a2b(0x24f)]+0x1)),_0xe1580e={'Charset':this['dt'],'Confidence':_0x2d05cc,'debugInfo':this[_0x2a6a2b(0x1eb)]};return this[_0x2a6a2b(0x1c2)]&&(_0xe1580e[_0x2a6a2b(0x210)]=this[_0x2a6a2b(0x1eb)]),_0xe1580e;}}class _e extends Y{['Match'](_0x329940){const _0x46c2e6=_0x3d09f1;if(_0x329940['t']===_0x479a23[_0x46c2e6(0x1d5)])this['valid']+=Q;else{const _0x1f6a6f=re(_0x329940);if(!_0x1f6a6f)return;Ne(_0x1f6a6f)?this[_0x46c2e6(0x24f)]+=Q:this[_0x46c2e6(0x1f7)]++;}}[_0x3d09f1(0x244)](){const _0xd200a1=_0x3d09f1;return{'Charset':0x1,'Confidence':0x64-Math['trunc']((this['invalid']*0xa+0x1)*0x64/(this[_0xd200a1(0x1f7)]+this[_0xd200a1(0x24f)]+0x1)),'debugInfo':_0xd200a1(0x22e)};}}class Ae extends Y{['Match'](_0x4e1a8f){const _0xdedf79=_0x3d09f1;_0x4e1a8f['t']===_0x479a23['BOOLEAN']?this[_0xdedf79(0x24f)]+=Q:this['invalid']++;}[_0x3d09f1(0x244)](){const _0x4f42ac=_0x3d09f1;return{'Charset':0x5,'Confidence':0x64-Math['trunc']((this[_0x4f42ac(0x1f7)]*0xa+0x1)*0x64/(this['invalid']+this[_0x4f42ac(0x24f)]+0x1)),'debugInfo':'number'};}}class Oe{constructor(_0x5508e6){const _0xa0795a=_0x3d09f1;p(this,_0xa0795a(0x1f0)),p(this,_0xa0795a(0x234)),(this[_0xa0795a(0x234)]=_0x5508e6||{},this['recognizers']=[new b({'dt':0x2,'layout':_0xa0795a(0x23d)}),new b({'dt':0x2,'layout':_0xa0795a(0x1d4)}),new b({'dt':0x2,'layout':_0xa0795a(0x245)}),new b({'dt':0x2,'layout':_0xa0795a(0x1e4)}),new b({'dt':0x2,'layout':_0xa0795a(0x23a),'needConvert':!0x0}),new b({'dt':0x2,'layout':'02-01-2006','needConvert':!0x0}),new b({'dt':0x2,'layout':_0xa0795a(0x22a),'needConvert':!0x0}),new b({'dt':0x2,'layout':_0xa0795a(0x233),'needConvert':!0x0}),new b({'dt':0x2,'layout':_0xa0795a(0x25e),'needConvert':!0x0}),new b({'dt':0x2,'layout':_0xa0795a(0x1ec),'needConvert':!0x0}),new b({'dt':0x2,'layout':_0xa0795a(0x247),'needConvert':!0x0}),new b({'dt':0x2,'layout':_0xa0795a(0x1fe),'needConvert':!0x0}),new b({'dt':0x2,'layout':_0xa0795a(0x25b),'needConvert':!0x0}),new b({'dt':0x2,'layout':_0xa0795a(0x211),'needConvert':!0x0}),new b({'dt':0x2,'layout':'January\x202,2006','needConvert':!0x0}),new b({'dt':0x2,'layout':_0xa0795a(0x23f),'needConvert':!0x0}),new b({'dt':0x2,'layout':_0xa0795a(0x1e7),'needConvert':!0x0}),new se({'dateStyles':this[_0xa0795a(0x234)],'dt':0x2,'layout':'20060102','needConvert':!0x0}),new b({'dt':0x4,'layout':'2006-01-02T15:04:05'}),new b({'dt':0x4,'layout':'2006-01-02\x2015:04:05'}),new se({'dateStyles':this[_0xa0795a(0x234)],'dt':0x3,'layout':_0xa0795a(0x1c6),'needConvert':!0x0}),new _e(),new Ae()]);}[_0x3d09f1(0x1e2)](_0x2f9c44){for(const _0x4047d6 of this['recognizers'])_0x4047d6['Match'](_0x2f9c44);}[_0x3d09f1(0x1bf)](){const _0x425aa8=_0x3d09f1,_0x1fe9c0=this[_0x425aa8(0x1f0)][_0x425aa8(0x243)](_0x3adef4=>_0x3adef4['Calc']());if(_0x1fe9c0['sort']((_0x43dd2e,_0x42ecba)=>_0x42ecba[_0x425aa8(0x1f9)]-_0x43dd2e[_0x425aa8(0x1f9)]),_0x1fe9c0[_0x425aa8(0x1e1)]===0x0||_0x1fe9c0[0x0][_0x425aa8(0x1f9)]<0x32)return[_0x425aa8(0x1dc),null];const _0x178620=_0x1fe9c0[0x0];return[$e(_0x178620['Charset']),_0x178620];}}function ge(_0x329fc3,_0x1e8794){const _0x4a3c6e=_0x3d09f1;let _0x351fda=_0x329fc3,_0x47b8c6=_0x1e8794;_0x351fda<=0x0&&(_0x351fda=0x6),_0x47b8c6<=0x0&&(_0x47b8c6=0xa),_0x47b8c6=_0x47b8c6*0x2;const _0x15a284=[];for(let _0x4a54c9=0x0;_0x4a54c9<_0x47b8c6;_0x4a54c9++)_0x15a284[_0x4a3c6e(0x23e)](_0x30e0e9(_0x351fda));const _0x168525=new Map();for(const _0x3153b8 of _0x15a284){const _0x687f8f=_0x3153b8[_0x4a3c6e(0x1d3)]();_0x168525[_0x4a3c6e(0x259)](_0x687f8f)||_0x168525[_0x4a3c6e(0x1da)](_0x687f8f,_0x3153b8);}return Array[_0x4a3c6e(0x1bb)](_0x168525[_0x4a3c6e(0x22c)]());}var ee=(_0x16d976=>(_0x16d976[_0x3d09f1(0x1c5)]='none',_0x16d976[_0x3d09f1(0x258)]=_0x3d09f1(0x1ef),_0x16d976[_0x3d09f1(0x214)]=_0x3d09f1(0x21c),_0x16d976))(ee||{});class K{constructor(_0x4640fd){const _0x42f45b=_0x3d09f1;p(this,'id'),p(this,_0x42f45b(0x21f)),p(this,_0x42f45b(0x250)),p(this,_0x42f45b(0x23c)),p(this,_0x42f45b(0x1bc)),p(this,_0x42f45b(0x1f8)),p(this,_0x42f45b(0x25a)),p(this,_0x42f45b(0x1fa)),p(this,'endStatisticRowCount'),p(this,_0x42f45b(0x254)),p(this,_0x42f45b(0x1e6)),p(this,'columnMergeTitleState'),p(this,_0x42f45b(0x213)),p(this,_0x42f45b(0x242)),p(this,'isMatchContinue'),p(this,'isTimeSeries'),p(this,'isTestTable'),p(this,_0x42f45b(0x230)),p(this,_0x42f45b(0x1d0));var _0x5674d5,_0x386237,_0x3561df,_0xd90e32,_0x2f89c4,_0x2bf6a4,_0x170938,_0x5e2325,_0x35a006,_0x15ec5a,_0x24c9d1,_0x3d0864,_0x22cd3b,_0x45dfb8,_0x2f6d9b,_0x2b818a,_0xcbad4c,_0x48d714,_0x173215;this['id']=(_0x5674d5=_0x4640fd==null?void 0x0:_0x4640fd['id'])!=null?_0x5674d5:'',this[_0x42f45b(0x21f)]=(_0x386237=_0x4640fd==null?void 0x0:_0x4640fd[_0x42f45b(0x21f)])!=null?_0x386237:_0x30e0e9(),this[_0x42f45b(0x250)]=(_0x3561df=_0x4640fd==null?void 0x0:_0x4640fd[_0x42f45b(0x250)])!=null?_0x3561df:{'startRow':-0x1,'endRow':-0x1,'startColumn':-0x1,'endColumn':-0x1},this['name']=(_0xd90e32=_0x4640fd==null?void 0x0:_0x4640fd[_0x42f45b(0x23c)])!=null?_0xd90e32:'',this[_0x42f45b(0x1bc)]=(_0x2f89c4=_0x4640fd==null?void 0x0:_0x4640fd[_0x42f45b(0x1bc)])!=null?_0x2f89c4:'',this[_0x42f45b(0x1f8)]=(_0x2bf6a4=_0x4640fd==null?void 0x0:_0x4640fd[_0x42f45b(0x1f8)])!=null?_0x2bf6a4:0x0,this[_0x42f45b(0x25a)]=(_0x170938=_0x4640fd==null?void 0x0:_0x4640fd[_0x42f45b(0x25a)])!=null?_0x170938:0x0,this[_0x42f45b(0x1fa)]=(_0x5e2325=_0x4640fd==null?void 0x0:_0x4640fd[_0x42f45b(0x1fa)])!=null?_0x5e2325:0x0,this['endStatisticRowCount']=(_0x35a006=_0x4640fd==null?void 0x0:_0x4640fd[_0x42f45b(0x1d2)])!=null?_0x35a006:0x0,this[_0x42f45b(0x254)]=(_0x15ec5a=_0x4640fd==null?void 0x0:_0x4640fd[_0x42f45b(0x254)])!=null?_0x15ec5a:new Map(),this[_0x42f45b(0x1e6)]=(_0x24c9d1=_0x4640fd==null?void 0x0:_0x4640fd[_0x42f45b(0x1e6)])!=null?_0x24c9d1:!0x1,this['columnMergeTitleState']=(_0x3d0864=_0x4640fd==null?void 0x0:_0x4640fd[_0x42f45b(0x1cf)])!=null?_0x3d0864:!0x1,this[_0x42f45b(0x213)]=(_0x22cd3b=_0x4640fd==null?void 0x0:_0x4640fd[_0x42f45b(0x213)])!=null?_0x22cd3b:new Map(),this[_0x42f45b(0x242)]=(_0x45dfb8=_0x4640fd==null?void 0x0:_0x4640fd[_0x42f45b(0x242)])!=null?_0x45dfb8:!0x1,this[_0x42f45b(0x1f5)]=(_0x2f6d9b=_0x4640fd==null?void 0x0:_0x4640fd['isMatchContinue'])!=null?_0x2f6d9b:!0x1,this[_0x42f45b(0x1c8)]=(_0x2b818a=_0x4640fd==null?void 0x0:_0x4640fd[_0x42f45b(0x1c8)])!=null?_0x2b818a:!0x1,this['isTestTable']=(_0xcbad4c=_0x4640fd==null?void 0x0:_0x4640fd[_0x42f45b(0x237)])!=null?_0xcbad4c:!0x1,this['isUpdateTable']=(_0x48d714=_0x4640fd==null?void 0x0:_0x4640fd[_0x42f45b(0x230)])!=null?_0x48d714:!0x1,this[_0x42f45b(0x1d0)]=(_0x173215=_0x4640fd==null?void 0x0:_0x4640fd[_0x42f45b(0x1d0)])!=null?_0x173215:[];}[_0x3d09f1(0x218)](_0x24da3e,_0x3fc876){return _0x3fc876-_0x24da3e===0x1||_0x3fc876===_0x24da3e;}[_0x3d09f1(0x240)](_0x3dc164){const _0x4cee8c=_0x3d09f1,_0x406e31=[];for(const _0xead48 of _0x3dc164)this[_0x4cee8c(0x250)][_0x4cee8c(0x200)]<_0xead48['range'][_0x4cee8c(0x216)]||this['range']['startColumn']>_0xead48[_0x4cee8c(0x250)][_0x4cee8c(0x200)]||this[_0x4cee8c(0x218)](_0xead48[_0x4cee8c(0x250)][_0x4cee8c(0x224)],this['range'][_0x4cee8c(0x232)])&&_0x406e31[_0x4cee8c(0x23e)](_0xead48);return _0x406e31;}['intersectWithColumns'](_0x148e3c){const _0x473cff=_0x3d09f1;return _0x148e3c['range'][_0x473cff(0x224)]===this[_0x473cff(0x250)][_0x473cff(0x232)]&&this['range'][_0x473cff(0x200)]+0x1===_0x148e3c['range'][_0x473cff(0x216)];}[_0x3d09f1(0x1db)](_0x4dff1e){const _0x7420ee=_0x3d09f1;return this[_0x7420ee(0x250)]['startColumn']===-0x1?this:(_0x4dff1e[_0x7420ee(0x23e)](this),new K({'sheetId':this[_0x7420ee(0x21f)],'range':{'startRow':this[_0x7420ee(0x250)]['startRow'],'endRow':this[_0x7420ee(0x250)][_0x7420ee(0x224)],'startColumn':-0x1,'endColumn':-0x1}}));}[_0x3d09f1(0x1f6)](_0x504c8f,_0x2b6cee,_0x448844,_0x3fab2d){const _0x179b34=_0x3d09f1;this[_0x179b34(0x250)][_0x179b34(0x216)]===-0x1&&(this[_0x179b34(0x250)][_0x179b34(0x216)]=_0x2b6cee),this[_0x179b34(0x250)][_0x179b34(0x200)]=_0x2b6cee,_0x3fab2d!=null&&(this[_0x179b34(0x250)][_0x179b34(0x200)]=Math['max'](_0x3fab2d,this[_0x179b34(0x250)][_0x179b34(0x200)]));}[_0x3d09f1(0x204)](){const _0x389b7c=_0x3d09f1;this['rowMergeTitleCountMap'][_0x389b7c(0x1e3)](),this['columnMergeTitleCountMap'][_0x389b7c(0x1e3)](),this[_0x389b7c(0x1d0)]=[];}}function we(_0x551f0c,_0x53bc5b){const {startRow:_0x2219a1,startColumn:_0x166b89,endRow:_0xd0590f,endColumn:_0x599049}=_0x53bc5b;return _0x551f0c+':'+_0x2219a1+','+_0x166b89+'-'+_0xd0590f+','+_0x599049;}const W=new Map();function Pe(_0xf6b071,_0x2e3f70){const _0x58fcdb=_0x3d09f1;var _0x4661d1;const _0x40d7b1=new _0xde5bea(!0x1),_0x73960d=_0x2e3f70[_0x58fcdb(0x23b)](),_0x5dd7f5=new Map(),_0x193dba=(_0x4661d1=_0x2e3f70['getMergeData']())!=null?_0x4661d1:[];W[_0x58fcdb(0x1e3)]();for(const _0x7d38f9 of _0x193dba){const _0x2fecd7=we(_0x58fcdb(0x223),_0x7d38f9),_0xa5476e={'unitId':_0xf6b071,'sheetId':_0x73960d,'range':_0x7d38f9,'id':_0x2fecd7};_0x40d7b1[_0x58fcdb(0x1cd)](_0xa5476e),_0x5dd7f5[_0x58fcdb(0x1da)](_0x2fecd7,_0xa5476e);}return W[_0x58fcdb(0x1da)](_0x2e3f70,{'mergeRTree':_0x40d7b1,'mergeRangeMap':_0x5dd7f5}),{'mergeRTree':_0x40d7b1,'mergeRangeMap':_0x5dd7f5};}function Ue(_0x383ce9,_0x60387b,_0x2295d3){const _0x25c618=_0x3d09f1,_0x57c5c7=new _0xde5bea(!0x1),_0x955f4d=_0x2295d3['get'](_0x5b341d)['getTableList'](_0x383ce9);if(_0x955f4d&&Array[_0x25c618(0x1fd)](_0x955f4d))for(const _0x1ea0f6 of _0x955f4d){if(!(_0x1ea0f6!=null&&_0x1ea0f6['range']))continue;const _0x47a68f=_0x1ea0f6[_0x25c618(0x250)],_0x5a8405={'unitId':_0x383ce9,'sheetId':_0x60387b,'range':_0x47a68f,'id':we(_0x25c618(0x1f2),_0x47a68f)};_0x57c5c7['insert'](_0x5a8405);}return _0x57c5c7;}function ie(_0x49bd2a,_0x3be442,_0x277825){const _0x3455b6=_0x3d09f1,_0x52d3dd=_0x49bd2a[_0x3455b6(0x24d)](_0x3be442);_0x52d3dd?_0x52d3dd[_0x3455b6(0x23e)](_0x277825):_0x49bd2a[_0x3455b6(0x1da)](_0x3be442,[_0x277825]);}function Le(_0x968f96,_0x18c351){const _0x4e288b=_0x3d09f1;var _0x2f775c,_0x5a3a0e,_0x590468;const _0x41734b=_0x968f96[_0x4e288b(0x228)](),_0xabd506={},_0x5c6410=_0x968f96[_0x4e288b(0x21a)]();for(const _0x1832fd of _0x41734b){const _0x5ac6c3=_0x1832fd[_0x4e288b(0x23b)](),_0x5ae11a=_0x1832fd[_0x4e288b(0x203)](),_0x39bb91=_0x1832fd[_0x4e288b(0x20f)](),{mergeRTree:_0x116c74,mergeRangeMap:_0x25a923}=Pe(_0x5c6410,_0x1832fd),_0x5712e7=Ue(_0x5c6410,_0x5ac6c3,_0x18c351),_0x162031=[];let _0x57ff5f=[];for(let _0x4b3c6f=0x0;_0x4b3c6f<_0x5ae11a;_0x4b3c6f++){const _0x4cfdc2=[];let _0x46a114=new K({'sheetId':_0x5ac6c3,'range':{'startRow':_0x4b3c6f,'endRow':_0x4b3c6f,'startColumn':-0x1,'endColumn':-0x1}});const _0x36c7cf=new Map();for(let _0x11943a=0x0;_0x11943a<=_0x39bb91;_0x11943a++){const _0x49ffd4=_0x1832fd['getCell'](_0x4b3c6f,_0x11943a),_0x10b487={'range':{'startRow':_0x4b3c6f,'startColumn':_0x11943a,'endRow':_0x4b3c6f,'endColumn':_0x11943a},'unitId':_0x5c6410,'sheetId':_0x5ac6c3};if(_0x5712e7[_0x4e288b(0x1b9)]([_0x10b487])[_0x4e288b(0x20c)]>0x0){_0x46a114=_0x46a114[_0x4e288b(0x1db)](_0x4cfdc2);continue;}const _0x35b244=_0x116c74[_0x4e288b(0x1b9)]([_0x10b487]);if(_0x35b244['size']>0x0){const _0x16ec83=_0x46a114[_0x4e288b(0x240)](_0x57ff5f),_0x29f6bb=_0x35b244[_0x4e288b(0x201)]()[_0x4e288b(0x207)]()[_0x4e288b(0x24b)],_0xdafc20=_0x25a923[_0x4e288b(0x24d)](_0x29f6bb);if(!_0xdafc20)continue;const _0x53df92={'startRow':_0xdafc20['range']['startRow'],'endRow':_0xdafc20['range'][_0x4e288b(0x224)],'startColumn':_0xdafc20[_0x4e288b(0x250)][_0x4e288b(0x216)],'endColumn':_0xdafc20[_0x4e288b(0x250)][_0x4e288b(0x200)]},_0x3ebdfb=_0x1832fd[_0x4e288b(0x1c0)](_0x53df92[_0x4e288b(0x232)],_0x53df92[_0x4e288b(0x216)]);if(_0x3ebdfb&&(_0x3ebdfb['p']!=null||_0x3ebdfb['v']!=null&&String(_0x3ebdfb['v'])['length']>0x0)){_0x46a114['insertCellData'](_0x4b3c6f,_0x11943a,_0x49ffd4,_0x53df92[_0x4e288b(0x200)]);for(let _0x292ae1=_0x53df92[_0x4e288b(0x216)];_0x292ae1<=_0x53df92[_0x4e288b(0x200)];_0x292ae1++)_0x36c7cf[_0x4e288b(0x1da)](_0x292ae1,!0x0);}else _0x46a114=_0x46a114['saveTableToCache'](_0x4cfdc2);const _0x46d668=_0x53df92[_0x4e288b(0x224)]-_0x53df92['startRow'],_0x35476b=_0x53df92[_0x4e288b(0x200)]-_0x53df92[_0x4e288b(0x216)];if(_0x16ec83[_0x4e288b(0x1e1)]===0x1){if(_0x46d668>0x0&&ie(_0x46a114[_0x4e288b(0x213)],_0x11943a,_0xdafc20),_0x35476b>0x0){const _0x3f3eba=(_0x2f775c=_0x46a114[_0x4e288b(0x254)][_0x4e288b(0x24d)](_0x4b3c6f))!=null?_0x2f775c:[];_0x3f3eba[_0x4e288b(0x23e)](_0xdafc20),_0x46a114[_0x4e288b(0x254)][_0x4e288b(0x1da)](_0x4b3c6f,_0x3f3eba);}}else{if(_0x46d668>0x0&&(_0x46a114[_0x4e288b(0x1cf)]=!0x0,ie(_0x46a114[_0x4e288b(0x213)],_0x11943a,_0xdafc20)),_0x35476b>0x0){_0x46a114[_0x4e288b(0x1e6)]=!0x0;const _0x2e58dd=(_0x5a3a0e=_0x46a114[_0x4e288b(0x254)][_0x4e288b(0x24d)](_0x4b3c6f))!=null?_0x5a3a0e:[];_0x2e58dd[_0x4e288b(0x23e)](_0xdafc20),_0x46a114['rowMergeTitleCountMap'][_0x4e288b(0x1da)](_0x4b3c6f,_0x2e58dd);}}continue;}if((!_0x49ffd4||V(_0x49ffd4)==null)&&!_0x36c7cf[_0x4e288b(0x24d)](_0x11943a)){_0x46a114=_0x46a114['saveTableToCache'](_0x4cfdc2);continue;}_0x49ffd4&&V(_0x49ffd4)!=null?_0x46a114[_0x4e288b(0x1f6)](_0x4b3c6f,_0x11943a,_0x49ffd4):(_0x46a114[_0x4e288b(0x1e6)]=!0x1,_0x46a114[_0x4e288b(0x1cf)]=!0x1,_0x46a114=_0x46a114[_0x4e288b(0x1db)](_0x4cfdc2));}if(_0x4cfdc2[_0x4e288b(0x1e1)]===0x0){_0x162031['push'](..._0x57ff5f),_0x57ff5f=[];continue;}if(_0x57ff5f[_0x4e288b(0x1e1)]===0x0){_0x57ff5f[_0x4e288b(0x23e)](..._0x4cfdc2);continue;}const _0x1e401b=(_0x16d0e6,_0x58d300)=>{const _0x459a24=_0x4e288b;_0x16d0e6[_0x459a24(0x250)][_0x459a24(0x232)]=Math[_0x459a24(0x24c)](_0x16d0e6['range'][_0x459a24(0x232)],_0x58d300['range']['startRow']),_0x16d0e6[_0x459a24(0x250)][_0x459a24(0x224)]=Math[_0x459a24(0x1f4)](_0x16d0e6[_0x459a24(0x250)][_0x459a24(0x224)],_0x58d300[_0x459a24(0x250)][_0x459a24(0x224)]),_0x16d0e6[_0x459a24(0x250)][_0x459a24(0x216)]=Math['min'](_0x16d0e6[_0x459a24(0x250)][_0x459a24(0x216)],_0x58d300[_0x459a24(0x250)][_0x459a24(0x216)]),_0x16d0e6[_0x459a24(0x250)][_0x459a24(0x200)]=Math[_0x459a24(0x1f4)](_0x16d0e6[_0x459a24(0x250)]['endColumn'],_0x58d300['range'][_0x459a24(0x200)]),_0x58d300[_0x459a24(0x254)]['forEach']((_0x5e1d3d,_0x59e73e)=>{const _0x3124cc=_0x459a24;var _0xad3d92;const _0x49a01f=(_0xad3d92=_0x16d0e6[_0x3124cc(0x254)][_0x3124cc(0x24d)](_0x59e73e))!=null?_0xad3d92:[];_0x49a01f['push'](..._0x5e1d3d),_0x16d0e6[_0x3124cc(0x254)][_0x3124cc(0x1da)](_0x59e73e,_0x49a01f);}),_0x58d300[_0x459a24(0x213)][_0x459a24(0x222)]((_0x3f1ab6,_0x356a6a)=>{const _0x56e391=_0x459a24;var _0x3835a3;const _0x4242d2=(_0x3835a3=_0x16d0e6[_0x56e391(0x213)][_0x56e391(0x24d)](_0x356a6a))!=null?_0x3835a3:[];_0x4242d2[_0x56e391(0x23e)](..._0x3f1ab6),_0x16d0e6['columnMergeTitleCountMap'][_0x56e391(0x1da)](_0x356a6a,_0x4242d2);});};for(let _0xb55425=0x0;_0xb55425+0x1<_0x4cfdc2[_0x4e288b(0x1e1)];_0xb55425++){const _0xc2dc47=_0x4cfdc2[_0xb55425],_0x503868=_0x4cfdc2[_0xb55425+0x1];_0xc2dc47['intersectWithColumns'](_0x503868)&&(_0x1e401b(_0xc2dc47,_0x503868),_0x4cfdc2['splice'](_0xb55425+0x1,0x1),_0xb55425--);}const _0x3f8e2f=[];for(const _0x4b8eb2 of _0x4cfdc2){const _0x4d30d2=_0x4b8eb2[_0x4e288b(0x240)](_0x57ff5f);if(_0x4d30d2[_0x4e288b(0x1e1)]===0x0){_0x3f8e2f[_0x4e288b(0x23e)](_0x4b8eb2);continue;}const _0x11b0e5=(_0x590468=_0x4b8eb2[_0x4e288b(0x254)]['get'](_0x4b3c6f))!=null?_0x590468:[];let _0x5f0acf=Number[_0x4e288b(0x25d)],_0x306bff=-0x1,_0x2f439b=-0x1;for(const _0xc15d39 of _0x11b0e5){const _0x78b6e5=_0xc15d39[_0x4e288b(0x250)],_0x57c5ce=_0x78b6e5['startColumn'],_0x102000=_0x78b6e5[_0x4e288b(0x200)];_0x5f0acf=Math[_0x4e288b(0x24c)](_0x5f0acf,_0x57c5ce),_0x306bff=Math[_0x4e288b(0x1f4)](_0x306bff,_0x102000);}_0x306bff===-0x1&&(_0x2f439b=_0x306bff-_0x5f0acf+0x1);const _0x5543ca=_0x4d30d2[0x0][_0x4e288b(0x250)],_0x203173=_0x5543ca['endColumn']-_0x5543ca[_0x4e288b(0x216)]+0x1;if(_0x2f439b>=0x0&&_0x2f439b<=_0x203173*0x3/0x4){_0x3f8e2f[_0x4e288b(0x23e)](_0x4b8eb2);continue;}const _0x40c3d9=_0x4d30d2[0x0];for(const _0x44b059 of _0x4d30d2[_0x4e288b(0x231)](0x1))_0x40c3d9[_0x4e288b(0x250)][_0x4e288b(0x232)]=Math[_0x4e288b(0x24c)](_0x40c3d9[_0x4e288b(0x250)][_0x4e288b(0x232)],_0x44b059[_0x4e288b(0x250)][_0x4e288b(0x232)]),_0x40c3d9[_0x4e288b(0x250)]['endRow']=Math['max'](_0x40c3d9['range'][_0x4e288b(0x224)],_0x44b059['range'][_0x4e288b(0x224)]),_0x40c3d9[_0x4e288b(0x250)]['startColumn']=Math[_0x4e288b(0x24c)](_0x40c3d9['range'][_0x4e288b(0x216)],_0x44b059[_0x4e288b(0x250)][_0x4e288b(0x216)]),_0x40c3d9[_0x4e288b(0x250)][_0x4e288b(0x200)]=Math[_0x4e288b(0x1f4)](_0x40c3d9[_0x4e288b(0x250)]['endColumn'],_0x44b059[_0x4e288b(0x250)][_0x4e288b(0x200)]);_0x40c3d9[_0x4e288b(0x250)][_0x4e288b(0x232)]=Math['min'](_0x40c3d9[_0x4e288b(0x250)]['startRow'],_0x4b8eb2[_0x4e288b(0x250)][_0x4e288b(0x232)]),_0x40c3d9[_0x4e288b(0x250)][_0x4e288b(0x224)]=Math['max'](_0x40c3d9[_0x4e288b(0x250)][_0x4e288b(0x224)],_0x4b8eb2[_0x4e288b(0x250)][_0x4e288b(0x224)]),_0x40c3d9[_0x4e288b(0x250)][_0x4e288b(0x216)]=Math['min'](_0x40c3d9['range'][_0x4e288b(0x216)],_0x4b8eb2[_0x4e288b(0x250)]['startColumn']),_0x40c3d9[_0x4e288b(0x250)]['endColumn']=Math[_0x4e288b(0x1f4)](_0x40c3d9['range']['endColumn'],_0x4b8eb2[_0x4e288b(0x250)][_0x4e288b(0x200)]),_0x4b8eb2['rowMergeTitleCountMap']['forEach']((_0x2eca84,_0x27623e)=>{const _0x1dbace=_0x4e288b;var _0x4a126c;const _0x9baf2a=(_0x4a126c=_0x40c3d9['rowMergeTitleCountMap'][_0x1dbace(0x24d)](_0x27623e))!=null?_0x4a126c:[];_0x9baf2a['push'](..._0x2eca84),_0x40c3d9['rowMergeTitleCountMap']['set'](_0x27623e,_0x9baf2a);}),_0x4b8eb2[_0x4e288b(0x213)][_0x4e288b(0x222)]((_0x2b91ac,_0x25ac35)=>{const _0x45feaf=_0x4e288b;var _0x554017;const _0x3d12a8=(_0x554017=_0x40c3d9[_0x45feaf(0x213)]['get'](_0x25ac35))!=null?_0x554017:[];_0x3d12a8[_0x45feaf(0x23e)](..._0x2b91ac),_0x40c3d9[_0x45feaf(0x213)][_0x45feaf(0x1da)](_0x25ac35,_0x3d12a8);}),_0x40c3d9[_0x4e288b(0x1f5)]=!0x0;}const _0x414356=[];for(const _0x387719 of _0x57ff5f)!_0x387719[_0x4e288b(0x1f5)]&&_0x387719[_0x4e288b(0x242)]||(_0x414356[_0x4e288b(0x23e)](_0x387719),_0x387719[_0x4e288b(0x1f5)]=!0x1,_0x387719[_0x4e288b(0x242)]=!0x1);_0x414356[_0x4e288b(0x23e)](..._0x3f8e2f),_0x57ff5f=_0x414356;}_0x162031[_0x4e288b(0x23e)](..._0x57ff5f);let _0x3a2999=0x0;for(const _0xc2b5d5 of _0x162031){const _0x5d446c=_0xc2b5d5['range'][_0x4e288b(0x224)]-_0xc2b5d5[_0x4e288b(0x250)]['startRow']+0x1;_0xc2b5d5[_0x4e288b(0x250)]['endColumn']-_0xc2b5d5['range']['startColumn']+0x1>0x0&&_0x5d446c>0x1&&_0x3a2999++;}if(_0x3a2999===0x0)continue;const _0x3f345e=[],_0x32985f=ge(0x6,_0x162031['length']);let _0x41fb15=0x0;for(const _0x42cbd8 of _0x162031){const _0x2638eb=_0x42cbd8['range']['endRow']-_0x42cbd8[_0x4e288b(0x250)][_0x4e288b(0x232)]+0x1,_0x1830a4=_0x42cbd8[_0x4e288b(0x250)][_0x4e288b(0x200)]-_0x42cbd8['range'][_0x4e288b(0x216)]+0x1;let _0x3f7c3e=!0x1;for(const _0x1f733f of _0x1832fd[_0x4e288b(0x1ca)]())if(ke(_0x42cbd8[_0x4e288b(0x250)],_0x1f733f)){_0x3f7c3e=!0x0;break;}if(_0x3f7c3e)continue;let _0x1bac65=!0x0;for(const _0x5877aa of _0x162031)if(_0x5877aa!==_0x42cbd8&&Je(_0x42cbd8,_0x5877aa)){_0x1bac65=!0x1;break;}_0x1bac65&&(_0x1830a4<=0x0||_0x2638eb<=0x1||(_0x42cbd8['id']=_0x32985f[_0x41fb15++],_0x3f345e[_0x4e288b(0x23e)](_0x42cbd8)));}_0xabd506[_0x5ac6c3]=_0x3f345e;}return _0xabd506;}function De(_0x48696b,_0x3884f6,_0x39aed3){const _0x406b67=Le(_0x48696b,_0x3884f6);Ge(_0x406b67,_0x48696b,_0x3884f6);const _0x4447dc=Ve(_0x406b67,_0x48696b);return He(_0x4447dc,_0x48696b,_0x3884f6,_0x39aed3);}function ke(_0x53577f,_0x28b776){const _0x276533=_0x3d09f1;return _0x53577f['startRow']===_0x28b776[_0x276533(0x232)]&&_0x53577f['endRow']===_0x28b776[_0x276533(0x224)]&&_0x53577f['startColumn']===_0x28b776[_0x276533(0x216)]&&_0x53577f[_0x276533(0x200)]===_0x28b776[_0x276533(0x200)];}function Je(_0x239f6f,_0x1e21f4){const _0x1f0620=_0x3d09f1;return _0x239f6f[_0x1f0620(0x250)][_0x1f0620(0x232)]>=_0x1e21f4[_0x1f0620(0x250)]['startRow']&&_0x239f6f[_0x1f0620(0x250)][_0x1f0620(0x224)]<=_0x1e21f4['range'][_0x1f0620(0x224)]&&_0x239f6f['range'][_0x1f0620(0x216)]>=_0x1e21f4[_0x1f0620(0x250)][_0x1f0620(0x216)]&&_0x239f6f[_0x1f0620(0x250)][_0x1f0620(0x200)]<=_0x1e21f4[_0x1f0620(0x250)][_0x1f0620(0x200)];}function Be(_0x10cefc){const _0x56a03e=_0x3d09f1;return''+ne(_0x10cefc[_0x56a03e(0x216)])+(_0x10cefc[_0x56a03e(0x232)]+0x1)+':'+ne(_0x10cefc[_0x56a03e(0x200)])+(_0x10cefc[_0x56a03e(0x224)]+0x1);}function te(_0x4beb59){const _0x502de4=_0x3d09f1;var _0x509647;if(_0x4beb59!==null){if(_0x4beb59!=null&&_0x4beb59['p']){const _0x453fdf=_0x4beb59==null?void 0x0:_0x4beb59['p']['body'];if(_0x453fdf==null)return;const _0x27f182=_0x453fdf[_0x502de4(0x226)],_0x3a32a1=_0x2aae4e[_0x502de4(0x20a)]['getPlainText'](_0x27f182),_0x47e7e0=_0x453fdf[_0x502de4(0x1fb)];if(_0x47e7e0&&_0x47e7e0['length']>0x0){const _0x51dd09=_0x47e7e0[0x0],_0x21801d=(_0x509647=_0x51dd09['properties'])==null?void 0x0:_0x509647[_0x502de4(0x219)];if(!_0x21801d)return _0x3a32a1;const _0x147558=typeof _0x51dd09['startIndex']==_0x502de4(0x22e)?_0x51dd09[_0x502de4(0x1dd)]:0x0;let _0x2c0b35=typeof _0x51dd09[_0x502de4(0x21e)]==_0x502de4(0x22e)?_0x51dd09[_0x502de4(0x21e)]+0x1:_0x147558+0x1;return _0x147558===0x0&&_0x2c0b35===0x0?_0x2c0b35=0x1:_0x2c0b35<=_0x147558&&(_0x2c0b35=_0x147558+0x1),'['+_0x27f182[_0x502de4(0x231)](_0x147558,_0x2c0b35)+']('+_0x21801d+')';}return _0x3a32a1;}if((_0x4beb59==null?void 0x0:_0x4beb59['v'])!=null)return _0x4beb59['v'];}}function V(_0x14632c){const _0x21c398=te(_0x14632c);if(_0x21c398!=null)return String(_0x21c398);}function ze(_0x2d6984,_0x23f988,_0x57e078){const _0x1ebee2=_0x3d09f1,_0x5e05e7=_0x57e078[_0x1ebee2(0x1c0)](_0x2d6984,_0x23f988);if(_0x5e05e7!=null){const _0x1af6e9=V(_0x5e05e7);if(_0x1af6e9!=null&&_0x1af6e9[_0x1ebee2(0x1e1)]>0x0)return _0x1af6e9;}const _0x34ee15=W[_0x1ebee2(0x24d)](_0x57e078),_0x51b83e=_0x34ee15==null?void 0x0:_0x34ee15[_0x1ebee2(0x1e5)],_0x42b4a6=_0x34ee15==null?void 0x0:_0x34ee15[_0x1ebee2(0x212)],_0x32de05=_0x57e078[_0x1ebee2(0x21a)](),_0x37cc4e=_0x57e078[_0x1ebee2(0x23b)](),_0x4aa38a={'range':{'startRow':_0x2d6984,'endRow':_0x2d6984,'startColumn':_0x23f988,'endColumn':_0x23f988},'unitId':_0x32de05,'sheetId':_0x37cc4e},_0x1c8e0b=(_0x51b83e==null?void 0x0:_0x51b83e[_0x1ebee2(0x1b9)]([_0x4aa38a]))||new Map();if(_0x1c8e0b['size']===0x0||!_0x42b4a6)return null;const _0x2ff08c=_0x1c8e0b[_0x1ebee2(0x201)]()[_0x1ebee2(0x207)]()['value'],_0x4ed5e7=_0x42b4a6[_0x1ebee2(0x24d)](_0x2ff08c);if(!_0x4ed5e7)return null;const _0x1e4aad=_0x57e078[_0x1ebee2(0x1c0)](_0x4ed5e7[_0x1ebee2(0x250)][_0x1ebee2(0x232)],_0x4ed5e7[_0x1ebee2(0x250)][_0x1ebee2(0x216)]);return _0x1e4aad==null?null:V(_0x1e4aad);}function Ge(_0x9f056f,_0x519c4f,_0x46d915){const _0x363610=_0x3d09f1,_0x4a9a15=_0x519c4f[_0x363610(0x228)](),_0x1cb47b=_0x46d915['get'](_0x5b341d),_0x3f7a42=_0x519c4f[_0x363610(0x21a)]();for(const _0x5c2ddc of _0x4a9a15){const _0x83e56e=_0x5c2ddc[_0x363610(0x23b)](),_0x19332e=_0x1cb47b[_0x363610(0x21b)](_0x3f7a42,_0x83e56e);if(!_0x19332e)continue;const _0x5ced64=_0x19332e['map'](_0x2a2ac5=>_0x2a2ac5[_0x363610(0x1d1)]());for(const _0x478b37 of _0x5ced64){const {startRow:_0x4b5268,endRow:_0x4b998a,startColumn:_0x1dbacc,endColumn:_0x52644e}=_0x478b37['range'],_0x2c6a2d=new K({'id':_0x478b37['id'],'sheetId':_0x83e56e,'range':{'startRow':_0x4b5268,'endRow':_0x4b998a,'startColumn':_0x1dbacc,'endColumn':_0x52644e},'name':'','description':'','rowTitleCount':0x0,'mergeRowTitleCount':0x0,'startStatisticRowCount':0x0,'endStatisticRowCount':0x0,'rowMergeTitleCountMap':new Map(),'rowMergeTitleState':!0x1,'columnMergeTitleState':!0x1,'columnMergeTitleCountMap':new Map(),'isMatchEnd':!0x1,'isMatchContinue':!0x1,'isTimeSeries':!0x1,'isTestTable':!0x1,'isUpdateTable':!0x0,'columns':[]});_0x9f056f[_0x83e56e]||(_0x9f056f[_0x83e56e]=[]),_0x9f056f[_0x83e56e][_0x363610(0x23e)](_0x2c6a2d);}}}function Ve(_0x4588df,_0x3fccb5){const _0x4c6e57=_0x3d09f1;var _0x179156,_0x45f6b8;for(const [_0x539b07,_0x4e9860]of Object['entries'](_0x4588df)){const _0x17cd15=_0x4e9860;let _0x2d4335=!0x1;const _0x5f1c89=_0x3fccb5[_0x4c6e57(0x253)](_0x539b07);if(_0x5f1c89){for(let _0x4b861a=0x0;_0x4b861a<_0x17cd15[_0x4c6e57(0x1e1)];_0x4b861a++){const _0x4d401c=_0x17cd15[_0x4b861a],_0x29eaba=_0x4d401c[_0x4c6e57(0x250)],{startRow:_0x1c6c02,endRow:_0x5046f5,startColumn:_0x59d3f0,endColumn:_0x4b60bd}=_0x29eaba,_0x44d467=We(_0x4d401c,_0x5f1c89,_0x3fccb5),_0x45d44b=je(_0x1c6c02,_0x5046f5,_0x4d401c);let _0x2fed15=0x1;const _0x52b1f6=_0x1c6c02+_0x45d44b;let _0x43e67c=0x0,_0x27e413=0x0;for(let _0x1fb9cc=_0x59d3f0;_0x1fb9cc<=_0x4b60bd;_0x1fb9cc++){const _0x49932b=_0x5f1c89[_0x4c6e57(0x1c0)](_0x52b1f6,_0x1fb9cc);if(!_0x49932b)continue;const _0x12fb9e=V(_0x49932b);_0x12fb9e!=null&&(_0x12fb9e!==''&&_0x27e413++,le(_0x12fb9e)&&_0x43e67c++);}if(_0x27e413>0x0&&_0x43e67c/Math[_0x4c6e57(0x1f4)](_0x27e413,0x1)>0.03&&(_0x2fed15=0x0),_0x4d401c[_0x4c6e57(0x25a)]=_0x45d44b,_0x4d401c[_0x4c6e57(0x1f8)]=_0x2fed15+_0x45d44b,_0x4d401c['range'][_0x4c6e57(0x224)]-_0x4d401c[_0x4c6e57(0x250)][_0x4c6e57(0x232)]+0x1-_0x4d401c[_0x4c6e57(0x1f8)]<=0x1){console[_0x4c6e57(0x252)](_0x4c6e57(0x1e0)+_0x4b861a+_0x4c6e57(0x251)+Be(_0x4d401c[_0x4c6e57(0x250)])),_0x17cd15[_0x4c6e57(0x1c7)](_0x4b861a,0x1),_0x4b861a--,_0x2d4335=!0x0;continue;}const _0x3ffc90=new Map();let _0xaad2e1=0x0;const _0x48e627=ge(0x4,_0x4b60bd-_0x59d3f0+0x1);for(let _0x3f9db8=_0x59d3f0;_0x3f9db8<=_0x4b60bd;_0x3f9db8++){let _0x76d16d='';const _0x42621e=new Set();let _0x1901c7=!0x1;const _0x4bd276=_0x1c6c02+_0x4d401c[_0x4c6e57(0x1f8)]-0x1;let _0x1b08c4=_0x1c6c02;_0x44d467!==''&&(_0x1b08c4=_0x1c6c02+0x1);for(let _0x56a95e=_0x1b08c4;_0x56a95e<=_0x4bd276;_0x56a95e++){const _0x2f2521=ze(_0x56a95e,_0x3f9db8,_0x5f1c89);_0x2f2521!=null&&(_0x56a95e===_0x4bd276&&(_0x76d16d=_0x2f2521),_0x42621e['add'](_0x2f2521));}const _0x40c7af=[..._0x42621e][_0x4c6e57(0x1cc)](','),_0x4b919d=_0x40c7af;_0x3ffc90[_0x4c6e57(0x259)](_0x4b919d)?_0x1901c7=!0x0:_0x3ffc90[_0x4c6e57(0x1da)](_0x4b919d,!0x0);const _0xa3382=_0x4bd276+0x1;let _0x6da471=_0x4bd276+0x14,_0xfcd3a3=0x0,_0x31dbbd=!0x1,_0x165550=!0x1;if(_0x6da471>_0x5046f5&&(_0x6da471=_0x5046f5),_0xa3382<_0x5046f5){let _0xa8b54e='';for(let _0x4056ba=_0xa3382;_0x4056ba<=_0x6da471;_0x4056ba++){const _0x44bc91=_0x5f1c89[_0x4c6e57(0x1c0)](_0x4056ba,_0x3f9db8);if(!_0x44bc91)continue;const _0x353c14=V(_0x44bc91);_0x353c14!=null&&(le(_0x353c14)||(_0xa8b54e+=_0x353c14),Ke(_0x353c14)&&_0xfcd3a3++);}_0xfcd3a3>Math[_0x4c6e57(0x205)]((_0x6da471-_0xa3382+0x1)/0x2)&&(_0x165550=!0x0),Xe(_0xa8b54e)/Math[_0x4c6e57(0x1f4)](_0x6da471-_0xa3382+0x1,0x1)>0xf&&!_0x165550&&(_0x31dbbd=!0x0);}_0x4d401c['columns']['push']({'id':_0x48e627[_0xaad2e1++],'Name':_0x76d16d,'Type':'','Description':_0x40c7af,'isCoded':!0x1,'isMeasure':!0x0,'isOpinionText':!0x1,'isBigText':_0x31dbbd,'isLink':_0x165550,'isTitleRepeat':_0x1901c7,'isUnique':!0x1,'links':[]});}qe(_0x4d401c,_0x3fccb5);}_0x2d4335&&(_0x4588df[_0x539b07]=_0x17cd15),_0x17cd15[_0x4c6e57(0x1e1)]===0x0&&delete _0x4588df[_0x539b07],(_0x45f6b8=(_0x179156=_0x4588df[_0x539b07])==null?void 0x0:_0x179156[_0x4c6e57(0x1e1)])!=null;}}return _0x4588df;}function je(_0x5bf843,_0x24dcb3,_0x175dfa){const _0x518b26=_0x3d09f1;var _0x286eac;function _0x4b4a0b(_0x4b6af8){const _0x555e3d=_0x3dc8;if(_0x4b6af8['length']===0x0)return 0x0;_0x4b6af8['sort']((_0x55a53b,_0x9d10fd)=>_0x55a53b[0x0]-_0x9d10fd[0x0]);let _0xeb386f=0x0,_0x3400c4=_0x4b6af8[0x0][0x0],_0x446da9=_0x4b6af8[0x0][0x1];for(let _0x36f78d=0x1;_0x36f78d<_0x4b6af8['length'];_0x36f78d++){const [_0x2987fd,_0x47f899]=_0x4b6af8[_0x36f78d];_0x2987fd<=_0x446da9+0x1?_0x446da9=Math[_0x555e3d(0x1f4)](_0x446da9,_0x47f899):(_0xeb386f+=_0x446da9-_0x3400c4+0x1,_0x3400c4=_0x2987fd,_0x446da9=_0x47f899);}return _0xeb386f+=_0x446da9-_0x3400c4+0x1,_0xeb386f;}const _0x157669=_0x175dfa['range'][_0x518b26(0x216)],_0x59766b=_0x175dfa['range'][_0x518b26(0x200)],_0x17c356=_0x59766b-_0x157669+0x1;let _0x40b3dd=_0x5bf843-0x1,_0x1bd8fc=_0x5bf843-0x1,_0x3e3347=!0x1;const _0x1d4e8c=0x64;for(let _0xcde39c=_0x5bf843;_0xcde39c<=_0x24dcb3&&_0xcde39c-_0x5bf843<_0x1d4e8c;_0xcde39c++){const _0x3a2f9d=[],_0x32672b=(_0x286eac=_0x175dfa['rowMergeTitleCountMap'][_0x518b26(0x24d)](_0xcde39c))!=null?_0x286eac:[];for(const _0x594800 of _0x32672b){const _0x5a59e5=_0x594800[_0x518b26(0x250)]['startColumn'],_0x1c5ec6=_0x594800[_0x518b26(0x250)]['endColumn'],_0x152fe8=Math[_0x518b26(0x1f4)](_0x5a59e5,_0x157669),_0x16f940=Math[_0x518b26(0x24c)](_0x1c5ec6,_0x59766b);_0x152fe8<=_0x16f940&&_0x3a2f9d['push']([_0x152fe8,_0x16f940]);}_0x175dfa[_0x518b26(0x213)]['forEach'](_0x28f268=>{const _0x1659b1=_0x518b26;for(const _0x1a5f2c of _0x28f268){const _0x38b182=_0x1a5f2c[_0x1659b1(0x250)][_0x1659b1(0x232)],_0x29ca01=_0x1a5f2c[_0x1659b1(0x250)][_0x1659b1(0x224)];if(_0x38b182<=_0xcde39c&&_0xcde39c<=_0x29ca01){const _0x487e8d=_0x1a5f2c[_0x1659b1(0x250)][_0x1659b1(0x216)],_0x560092=_0x1a5f2c['range']['endColumn'],_0x9cc3d0=Math[_0x1659b1(0x1f4)](_0x487e8d,_0x157669),_0x3b21d7=Math[_0x1659b1(0x24c)](_0x560092,_0x59766b);_0x9cc3d0<=_0x3b21d7&&_0x3a2f9d[_0x1659b1(0x23e)]([_0x9cc3d0,_0x3b21d7]);}}});const _0x10ec60=_0x4b4a0b(_0x3a2f9d),_0x294424=_0x10ec60/Math[_0x518b26(0x1f4)](_0x17c356,0x1);_0x3a2f9d[_0x518b26(0x1e1)]>0x0&&(_0x40b3dd=_0xcde39c),_0x10ec60>0x0&&_0x294424>=0.75&&!_0x3e3347?_0x1bd8fc=_0xcde39c:_0x3a2f9d[_0x518b26(0x1e1)]>0x0&&(_0x3e3347=!0x0);}return _0x40b3dd===_0x24dcb3||_0x40b3dd-_0x5bf843===_0x1d4e8c?_0x1bd8fc-_0x5bf843+0x1:_0x40b3dd-_0x5bf843+0x1;}function We(_0x138ea4,_0x40b8bd,_0x5a43c1){const _0x35c2f9=_0x3d09f1;if(_0x138ea4[_0x35c2f9(0x1bc)]+=_0x40b8bd[_0x35c2f9(0x208)]()+',\x20'+_0x5a43c1[_0x35c2f9(0x23c)],_0x138ea4[_0x35c2f9(0x23c)]&&_0x138ea4[_0x35c2f9(0x23c)]!=='')return _0x138ea4[_0x35c2f9(0x23c)];const _0x2a0910=_0x138ea4[_0x35c2f9(0x250)][_0x35c2f9(0x232)],_0x774142=_0x138ea4[_0x35c2f9(0x250)][_0x35c2f9(0x216)],_0x5bdfc7=_0x138ea4[_0x35c2f9(0x250)][_0x35c2f9(0x200)],_0x5669f7=0x3,_0x125de0=_0x138ea4[_0x35c2f9(0x254)][_0x35c2f9(0x24d)](_0x2a0910);if(_0x125de0&&_0x125de0['length']>0x0)for(const _0x3eccf2 of _0x125de0){const _0x10acbf=_0x3eccf2[_0x35c2f9(0x250)],_0xaf0efd=_0x10acbf['startColumn'],_0x4953f9=_0x10acbf['endColumn'];if(_0xaf0efd<=_0x774142+_0x5669f7&&_0x4953f9>=_0x5bdfc7-_0x5669f7){const _0x45e45a=_0x40b8bd[_0x35c2f9(0x1c0)](_0x2a0910,_0xaf0efd);if(!_0x45e45a)return'';const _0x2c341e=V(_0x45e45a);return _0x2c341e==null||_0x2c341e===''?'':(_0x138ea4['name']=_0x2c341e,_0x2c341e);}}return'';}function qe(_0x41b023,_0x4bb68e){const _0x18745e=_0x3d09f1,_0x4f275a={};_0x4bb68e['getStyles']()[_0x18745e(0x1fc)](_0x1a2ee1=>{const _0x4e923f=_0x18745e,[_0x43548b,_0x2fe830]=_0x1a2ee1;return!_0x43548b||!_0x2fe830||_0x2fe830['n']&&typeof _0x2fe830['n'][_0x4e923f(0x249)]==_0x4e923f(0x1dc)&&/[YyMDd]/[_0x4e923f(0x221)](_0x2fe830['n'][_0x4e923f(0x249)])&&(_0x4f275a[_0x43548b]=!0x0),!0x0;});const _0x575f37=_0x41b023[_0x18745e(0x250)][_0x18745e(0x232)],_0x57e38b=_0x41b023[_0x18745e(0x250)][_0x18745e(0x224)],_0x3fcd5e=_0x41b023['rowTitleCount'],_0xfcae0b=_0x41b023[_0x18745e(0x21f)],_0xad7b6c=_0x4bb68e[_0x18745e(0x253)](_0xfcae0b);if(!_0xad7b6c)return;const _0x37d4c6=_0x57e38b-_0x575f37+0x1-_0x3fcd5e;if(_0x37d4c6<=0x1){console[_0x18745e(0x252)]('skip\x20small\x20table');return;}const _0x22c85f=[];for(let _0x114a18=0x0;_0x114a18<_0x41b023[_0x18745e(0x250)]['endColumn']-_0x41b023['range']['startColumn']+0x1;_0x114a18++)_0x22c85f[_0x18745e(0x23e)](new Oe(_0x4f275a));const _0x806ceb=Math[_0x18745e(0x202)](Math[_0x18745e(0x1f4)](_0x37d4c6,0x1));for(let _0x58b2c7=0x0;;_0x58b2c7++){const _0x39016e=_0x58b2c7,_0x10ee3b=Math[_0x18745e(0x205)](_0x39016e+0.00001*_0x39016e**2.7*_0x806ceb*_0x806ceb)+_0x575f37+_0x3fcd5e;if(_0x10ee3b>_0x57e38b)break;for(let _0x4b04f2=_0x41b023[_0x18745e(0x250)][_0x18745e(0x216)];_0x4b04f2<=_0x41b023[_0x18745e(0x250)][_0x18745e(0x200)];_0x4b04f2++){const _0x3d8f92=_0xad7b6c['getCell'](_0x10ee3b,_0x4b04f2);_0x3d8f92&&_0x22c85f[_0x4b04f2-_0x41b023[_0x18745e(0x250)][_0x18745e(0x216)]][_0x18745e(0x1e2)](_0x3d8f92);}}for(let _0x177569=0x0;_0x177569<_0x41b023['columns'][_0x18745e(0x1e1)];_0x177569++){const [_0x226be0,_0x28cfc0]=_0x22c85f[_0x177569][_0x18745e(0x1bf)]();_0x41b023[_0x18745e(0x1d0)][_0x177569][_0x18745e(0x1ea)]=_0x226be0;}}function pe(_0x9c35ad){const _0x3e00b0=_0x3d09f1,_0x284b37=[];for(const _0x2903da of _0x9c35ad[_0x3e00b0(0x1c1)])_0x284b37[_0x3e00b0(0x23e)]({'tableId':_0x2903da[_0x3e00b0(0x1ce)],'columnId':_0x2903da[_0x3e00b0(0x220)],'linkType':_0x2903da['linkType']});return _0x284b37;}function Fe(_0x573daf){const _0x3449c2=_0x3d09f1;return _0x573daf[_0x3449c2(0x1f8)]===0x1;}function Ze(_0x315e11,_0x366f27,_0x5440fd,_0x59446d,_0x85c38f){const _0x356669=_0x3d09f1,_0x1abadb=_0x59446d[_0x356669(0x24d)](_0x5b341d),_0xc37b2f=_0x366f27['getUnitId'](),_0x322388=_0x315e11['sheetId'];if(_0x1abadb['getTablesBySubunitId'](_0xc37b2f,_0x322388)){for(const _0x2d5af4 of _0x5440fd)if(_0x2d5af4['id']===_0x315e11['id']){_0x2d5af4[_0x356669(0x23c)]=_0x315e11[_0x356669(0x23c)],_0x2d5af4[_0x356669(0x1d8)]={},_0x2d5af4[_0x356669(0x1d8)]['description']=_0x315e11[_0x356669(0x1bc)],_0x2d5af4['meta'][_0x356669(0x1f8)]=_0x315e11[_0x356669(0x1f8)],_0x2d5af4['meta']['mergeRowTitleCount']=_0x315e11[_0x356669(0x25a)],_0x2d5af4['meta'][_0x356669(0x1c8)]=_0x315e11['isTimeSeries'];for(let _0x4a055e=0x0;_0x4a055e<_0x315e11[_0x356669(0x1d0)][_0x356669(0x1e1)];_0x4a055e++){const _0x3f82ef=_0x315e11[_0x356669(0x1d0)][_0x4a055e],_0x5ab9de=_0x2d5af4[_0x356669(0x1d0)][_0x4a055e];_0x5ab9de['displayName']=_0x3f82ef[_0x356669(0x1ba)],_0x5ab9de['dataType']=_0x3f82ef[_0x356669(0x1ea)],_0x5ab9de[_0x356669(0x1d8)]={},_0x5ab9de['meta']['description']=_0x3f82ef[_0x356669(0x20d)],_0x5ab9de[_0x356669(0x1d8)]['isCoded']=_0x3f82ef[_0x356669(0x1df)],_0x5ab9de[_0x356669(0x1d8)][_0x356669(0x209)]=_0x3f82ef['isMeasure'],_0x5ab9de[_0x356669(0x1d8)]['isOpinionText']=_0x3f82ef[_0x356669(0x1de)],_0x5ab9de[_0x356669(0x1d8)][_0x356669(0x1e9)]=_0x3f82ef[_0x356669(0x1e9)],_0x5ab9de[_0x356669(0x1d8)][_0x356669(0x1c9)]=_0x3f82ef['isLink'],_0x5ab9de[_0x356669(0x1d8)][_0x356669(0x1d6)]=_0x3f82ef[_0x356669(0x1d6)],_0x5ab9de[_0x356669(0x1d8)][_0x356669(0x225)]=_0x3f82ef[_0x356669(0x225)],_0x5ab9de[_0x356669(0x1d8)][_0x356669(0x1c1)]=pe(_0x3f82ef);}Me(_0x2d5af4,_0x322388,_0x366f27,_0x85c38f);}W[_0x356669(0x1e3)]();}}function He(_0x4f07a5,_0x373afc,_0x1ad556,_0x1308b6){const _0xfd4e11=_0x3d09f1,_0x25ee6a=_0x1ad556[_0xfd4e11(0x24d)](_0x5b341d),_0x1eb9e9=_0x373afc[_0xfd4e11(0x21a)](),_0x4175ad={};for(const [_0x548ea4,_0x5b69bc]of Object[_0xfd4e11(0x1f1)](_0x4f07a5)){const _0x384730=_0x25ee6a[_0xfd4e11(0x21b)](_0x1eb9e9,_0x548ea4),_0x22712a=(_0x384730==null?void 0x0:_0x384730[_0xfd4e11(0x243)](_0x3f4b5b=>_0x3f4b5b['toJSON']()))||[];for(const _0x111545 of _0x5b69bc){if(_0x111545[_0xfd4e11(0x230)]){Ze(_0x111545,_0x373afc,_0x22712a,_0x1ad556,_0x1308b6);continue;}const _0x6138e0={'id':_0x111545['id'],'range':{'startRow':_0x111545[_0xfd4e11(0x250)][_0xfd4e11(0x232)]+_0x111545[_0xfd4e11(0x25a)],'endRow':_0x111545['range'][_0xfd4e11(0x224)],'startColumn':_0x111545[_0xfd4e11(0x250)][_0xfd4e11(0x216)],'endColumn':_0x111545[_0xfd4e11(0x250)][_0xfd4e11(0x200)]},'name':_0x111545[_0xfd4e11(0x23c)],'meta':{},'options':{'showHeader':Fe(_0x111545),'showFooter':!0x1},'columns':[],'filters':{}};_0x6138e0['meta'][_0xfd4e11(0x1bc)]=_0x111545[_0xfd4e11(0x1bc)],_0x6138e0['meta']['rowTitleCount']=_0x111545[_0xfd4e11(0x1f8)],_0x6138e0[_0xfd4e11(0x1d8)]['mergeRowTitleCount']=_0x111545[_0xfd4e11(0x25a)],_0x6138e0[_0xfd4e11(0x1d8)][_0xfd4e11(0x1c8)]=_0x111545[_0xfd4e11(0x1c8)];const _0x2d0894=_0x111545['range']['startColumn'];for(let _0x3f13dd=0x0;_0x3f13dd<_0x111545['columns'][_0xfd4e11(0x1e1)];_0x3f13dd++){const _0x32e53b=_0x111545[_0xfd4e11(0x1d0)][_0x3f13dd],_0x8e113c={'id':_0x32e53b['id'],'displayName':_0x32e53b[_0xfd4e11(0x1ba)]||'column_'+ne(_0x2d0894+_0x3f13dd),'dataType':_0x32e53b['Type'],'meta':{},'formula':'','style':{}};_0x8e113c['meta'][_0xfd4e11(0x1bc)]=_0x32e53b['Description'],_0x8e113c['meta'][_0xfd4e11(0x1df)]=_0x32e53b[_0xfd4e11(0x1df)],_0x8e113c[_0xfd4e11(0x1d8)]['isMeasure']=_0x32e53b[_0xfd4e11(0x209)],_0x8e113c[_0xfd4e11(0x1d8)][_0xfd4e11(0x1de)]=_0x32e53b['isOpinionText'],_0x8e113c['meta']['isBigText']=_0x32e53b[_0xfd4e11(0x1e9)],_0x8e113c[_0xfd4e11(0x1d8)][_0xfd4e11(0x1c9)]=_0x32e53b[_0xfd4e11(0x1c9)],_0x8e113c[_0xfd4e11(0x1d8)][_0xfd4e11(0x1d6)]=_0x32e53b[_0xfd4e11(0x1d6)],_0x8e113c[_0xfd4e11(0x1d8)][_0xfd4e11(0x225)]=_0x32e53b['isUnique'],_0x8e113c['meta']['links']=pe(_0x32e53b),_0x6138e0[_0xfd4e11(0x1d0)][_0xfd4e11(0x23e)](_0x8e113c);}Me(_0x6138e0,_0x548ea4,_0x373afc,_0x1308b6),_0x22712a['push'](_0x6138e0);}_0x4175ad[_0x548ea4]=_0x22712a;}for(const _0x4ec6b5 of Object[_0xfd4e11(0x201)](_0x4f07a5))_0x4f07a5[_0x4ec6b5]['forEach'](_0x2a712a=>{_0x2a712a['dispose']();});return _0x4175ad;}function ae(_0x414890,_0x3fe83b,_0x52502e=0x5){const _0x35dc98=_0x3d09f1;if(!Array[_0x35dc98(0x1fd)](_0x414890)||_0x414890[_0x35dc98(0x1e1)]===0x0)return[];const _0x211783=Math[_0x35dc98(0x24c)](_0x3fe83b,_0x414890[_0x35dc98(0x1e1)]),_0x594a40=Math['min'](_0x211783+_0x52502e,_0x414890[_0x35dc98(0x1e1)]);return _0x414890[_0x35dc98(0x231)](_0x211783,_0x594a40);}function Me(_0x46ca59,_0x48f899,_0x20f6a9,_0x1b803f){const _0x508585=_0x3d09f1,_0x55b717=_0x20f6a9[_0x508585(0x253)](_0x48f899);if(!_0x55b717)return;const _0x29f149=_0x46ca59['range'],_0x310657=Ye(_0x55b717,_0x29f149);_0x1b803f===ee['Sample']?_0x46ca59['data']=JSON[_0x508585(0x21d)](ae(_0x310657,0x1,0x5)):_0x1b803f===ee[_0x508585(0x258)]&&(_0x46ca59[_0x508585(0x24e)]=JSON[_0x508585(0x21d)](ae(_0x310657,0x1,_0x310657[_0x508585(0x1e1)])));}function Ye(_0x345f15,_0xa54db1){const _0x228e09=_0x3d09f1,{startRow:_0x422572,endRow:_0x3fe04f,startColumn:_0xa22af8,endColumn:_0x23049e}=_0xa54db1,_0x56691f=[],_0x237b25=W['get'](_0x345f15),_0x51ac15=_0x237b25==null?void 0x0:_0x237b25[_0x228e09(0x1e5)],_0x12d540=_0x237b25==null?void 0x0:_0x237b25[_0x228e09(0x212)],_0x230ec7=_0x345f15[_0x228e09(0x21a)](),_0x307431=_0x345f15[_0x228e09(0x23b)]();for(let _0x5b95a1=_0x422572;_0x5b95a1<=_0x3fe04f;_0x5b95a1++){const _0x48b9f7=[];for(let _0x44ff18=_0xa22af8;_0x44ff18<=_0x23049e;_0x44ff18++){const _0x28ffbd=_0x345f15['getCell'](_0x5b95a1,_0x44ff18);let _0x46df42=_0x28ffbd?te(_0x28ffbd):void 0x0;if(_0x46df42==null||_0x46df42===''){const _0x3283f2={'range':{'startRow':_0x5b95a1,'endRow':_0x5b95a1,'startColumn':_0x44ff18,'endColumn':_0x44ff18},'unitId':_0x230ec7,'sheetId':_0x307431},_0x308650=(_0x51ac15==null?void 0x0:_0x51ac15[_0x228e09(0x1b9)]([_0x3283f2]))||new Map();if(_0x308650[_0x228e09(0x20c)]>0x0&&_0x12d540){const _0x2a50cf=_0x308650[_0x228e09(0x201)]()['next']()['value'],_0x64e79e=_0x12d540[_0x228e09(0x24d)](_0x2a50cf);if(!_0x64e79e)continue;const _0x3eba7e=_0x345f15[_0x228e09(0x1c0)](_0x64e79e[_0x228e09(0x250)][_0x228e09(0x232)],_0x64e79e['range'][_0x228e09(0x216)]);_0x3eba7e&&(_0x46df42=te(_0x3eba7e));}}_0x48b9f7[_0x228e09(0x23e)](_0x46df42!=null?_0x46df42:'');}_0x56691f['push'](_0x48b9f7);}return _0x56691f;}function Ke(_0x42c28a){const _0x4b49f5=_0x3d09f1;return/https?:\/\/|www\./i[_0x4b49f5(0x221)](_0x42c28a);}function Xe(_0x2d5d5e){const _0x293af0=_0x3d09f1;return Array[_0x293af0(0x1bb)](_0x2d5d5e)['length'];}function le(_0x5ba786){const _0x39f32c=_0x3d09f1;return _0x5ba786?/^[-+]?(?:\d+(?:\.\d+)?|\.\d+)(?:e[-+]?\d+)?$/i[_0x39f32c(0x221)](_0x5ba786['trim']()):!0x1;}function _0x3dc8(_0x24f253,_0x51996e){_0x24f253=_0x24f253-0x1b9;const _0x16993c=_0x1699();let _0x3dc873=_0x16993c[_0x24f253];return _0x3dc873;}function ne(_0xc57d9d){const _0x598bca=_0x3d09f1;let _0x514194='',_0x3c24f7=_0xc57d9d+0x1;for(;_0x3c24f7>0x0;){const _0x4c8258=(_0x3c24f7-0x1)%0x1a;_0x514194=String[_0x598bca(0x1e8)](0x41+_0x4c8258)+_0x514194,_0x3c24f7=Math[_0x598bca(0x205)]((_0x3c24f7-0x1)/0x1a);}return _0x514194;}var Qe=Object[_0x3d09f1(0x256)],et=(_0x4ad637,_0x4afe77,_0x4c0bc1,_0x5b24a7)=>{for(var _0x44b2be=_0x5b24a7>0x1?void 0x0:_0x5b24a7?Qe(_0x4afe77,_0x4c0bc1):_0x4afe77,_0x501403=_0x4ad637['length']-0x1,_0x558888;_0x501403>=0x0;_0x501403--)(_0x558888=_0x4ad637[_0x501403])&&(_0x44b2be=_0x558888(_0x44b2be)||_0x44b2be);return _0x44b2be;},tt=(_0x556377,_0x1c1a89)=>(_0x25cdfa,_0x2965d0)=>_0x1c1a89(_0x25cdfa,_0x2965d0,_0x556377);let oe=class extends _0x32cd38{constructor(_0x12e6cb){const _0x27aaa2=_0x3d09f1;super(),this[_0x27aaa2(0x255)]=_0x12e6cb;}[_0x3d09f1(0x236)](_0x105c53,_0x35e9c9){return De(_0x105c53,this['_injector'],_0x35e9c9);}};oe=et([tt(0x0,_0x4f6e21(_0x566279))],oe);var nt=Object[_0x3d09f1(0x256)],ot=(_0x25a5be,_0x494780,_0x27d899,_0x323c2b)=>{const _0x17d51d=_0x3d09f1;for(var _0x349c6e=_0x323c2b>0x1?void 0x0:_0x323c2b?nt(_0x494780,_0x27d899):_0x494780,_0x54004=_0x25a5be[_0x17d51d(0x1e1)]-0x1,_0x9c2481;_0x54004>=0x0;_0x54004--)(_0x9c2481=_0x25a5be[_0x54004])&&(_0x349c6e=_0x9c2481(_0x349c6e)||_0x349c6e);return _0x349c6e;},ue=(_0x3920e7,_0x3caa99)=>(_0x132e0c,_0x81fff3)=>_0x3caa99(_0x132e0c,_0x81fff3,_0x3920e7);const rt='RANGE_PREPROCESS_PLUGIN_CONFIG_KEY';var X;let ce=(X=class extends _0x532844{constructor(_0x1af657={},_0x4842ca,_0x320d59){const _0x2d9de2=_0x3d09f1;super(),this['_config']=_0x1af657,this[_0x2d9de2(0x255)]=_0x4842ca,this['_configService']=_0x320d59;const {..._0x42bb74}=_0x450445({},this['_config']);this['_configService'][_0x2d9de2(0x22f)](rt,_0x42bb74);}[_0x3d09f1(0x1c3)](){const _0x24fe7c=_0x3d09f1,_0x18d2cc=[[oe]];_0xa8123d(this[_0x24fe7c(0x255)],_0x18d2cc);}[_0x3d09f1(0x1be)](){}},p(X,'pluginName','UNIVER_RANGE_PREPROCESS_PLUGIN'),X);ce=ot([ue(0x1,_0x4f6e21(_0x566279)),ue(0x2,_0x52c1df)],ce);export{oe as RangePreprocessController,ce as UniverRangePreprocessPlugin};
|
package/lib/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x1ac2(){var _0x1ac50d=['getPreprocessRanges','8865gcxjRw','31336qwkDie','1487606ueqNpW','_injector','get','32932zBEMUp','extend','2044536NAnRqJ','84MptADQ','4031755FdxZmA','5521831iFuwSx','916423VpVIuM','_workbook','getAllTableJson'];_0x1ac2=function(){return _0x1ac50d;};return _0x1ac2();}var _0x5606e6=_0x284b;(function(_0x5f0d67,_0x4361f6){var _0x3dbcb5=_0x284b,_0x2a6a71=_0x5f0d67();while(!![]){try{var _0x1c43d4=-parseInt(_0x3dbcb5(0x1a6))/0x1+-parseInt(_0x3dbcb5(0x19d))/0x2+parseInt(_0x3dbcb5(0x1a3))/0x3*(parseInt(_0x3dbcb5(0x1a0))/0x4)+-parseInt(_0x3dbcb5(0x1a4))/0x5+-parseInt(_0x3dbcb5(0x1a2))/0x6+-parseInt(_0x3dbcb5(0x1a5))/0x7+-parseInt(_0x3dbcb5(0x19c))/0x8*(-parseInt(_0x3dbcb5(0x19b))/0x9);if(_0x1c43d4===_0x4361f6)break;else _0x2a6a71['push'](_0x2a6a71['shift']());}catch(_0x31995c){_0x2a6a71['push'](_0x2a6a71['shift']());}}}(_0x1ac2,0x7843b));import{RangePreprocessController as _0x41a030}from'@univerjs-pro/range-preprocess';function _0x284b(_0x5246e2,_0x4e3bc3){_0x5246e2=_0x5246e2-0x19b;var _0x1ac26b=_0x1ac2();var _0x284b76=_0x1ac26b[_0x5246e2];return _0x284b76;}import{FWorkbook as _0x50281c}from'@univerjs/sheets/facade';class s extends _0x50281c{[_0x5606e6(0x1a9)](_0xdad676){var _0x344e20=_0x5606e6;return this[_0x344e20(0x19e)][_0x344e20(0x19f)](_0x41a030)[_0x344e20(0x1a8)](this[_0x344e20(0x1a7)],_0xdad676);}}_0x50281c[_0x5606e6(0x1a1)](s);
|