@univerjs-pro/bases 1.0.0-alpha.6 → 1.0.0-alpha.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ar-SA.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/de-DE.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/id-ID.js +1 -1
- package/lib/cjs/locale/it-IT.js +1 -1
- package/lib/cjs/locale/ja-JP.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/pl-PL.js +1 -1
- package/lib/cjs/locale/pt-BR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/sk-SK.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-HK.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ar-SA.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/de-DE.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/id-ID.js +1 -1
- package/lib/es/locale/it-IT.js +1 -1
- package/lib/es/locale/ja-JP.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/pl-PL.js +1 -1
- package/lib/es/locale/pt-BR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/sk-SK.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-HK.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/ar-SA.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/de-DE.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/id-ID.js +1 -1
- package/lib/locale/it-IT.js +1 -1
- package/lib/locale/ja-JP.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/pl-PL.js +1 -1
- package/lib/locale/pt-BR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/sk-SK.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-HK.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ar-SA.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/de-DE.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/id-ID.js +1 -1
- package/lib/umd/locale/it-IT.js +1 -1
- package/lib/umd/locale/ja-JP.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/pl-PL.js +1 -1
- package/lib/umd/locale/pt-BR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/sk-SK.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-HK.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +6 -6
package/lib/cjs/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x21bd22=_0x5df8;(function(_0x264b39,_0x3f57c1){const _0x20e04f=_0x5df8,_0x885ddb=_0x264b39();while(!![]){try{const _0x4aca6e=parseInt(_0x20e04f(0x28e))/0x1+parseInt(_0x20e04f(0x2e6))/0x2+parseInt(_0x20e04f(0xb2))/0x3+-parseInt(_0x20e04f(0x278))/0x4+-parseInt(_0x20e04f(0x3a6))/0x5+parseInt(_0x20e04f(0x31d))/0x6+parseInt(_0x20e04f(0xa5))/0x7*(-parseInt(_0x20e04f(0x21f))/0x8);if(_0x4aca6e===_0x3f57c1)break;else _0x885ddb['push'](_0x885ddb['shift']());}catch(_0x23f77b){_0x885ddb['push'](_0x885ddb['shift']());}}}(_0x742d,0x25c87),Object['defineProperty'](exports,Symbol[_0x21bd22(0x2cb)],{'value':_0x21bd22(0x1d2)}));let e=require('@univerjs/core'),t=require('@univerjs-pro/engine-formula'),n=require('@univerjs-pro/license'),r=require('@univerjs/rpc'),i=0x0;function a(){const _0x380f98=_0x21bd22;if(globalThis['__UNIVER_BASE_PERF__']===!0x0)return!0x0;try{let _0x1700b1=typeof location>'u'?'':location[_0x380f98(0x3ba)],_0x13e364=new URLSearchParams(_0x1700b1);if(_0x13e364[_0x380f98(0x294)]('basePerf')==='1'||_0x13e364[_0x380f98(0x294)](_0x380f98(0x256))===_0x380f98(0x2b5)||_0x13e364['get'](_0x380f98(0x35b))==='1')return!0x0;}catch{}try{let _0x569846=typeof localStorage>'u'?null:localStorage['getItem'](_0x380f98(0x144));return _0x569846==='1'||_0x569846===_0x380f98(0x2b5);}catch{return!0x1;}}function o(_0x4433f9,_0xfcf2af,_0x1b20a9){const _0x3458dd=_0x21bd22;if(!a())return _0xfcf2af();let _0x400987=c(),_0x1ff21a='base-perf-'+i++;l(_0x1ff21a+_0x3458dd(0x2b1));try{return _0xfcf2af();}finally{let _0x3c228c=c()-_0x400987;l(_0x1ff21a+_0x3458dd(0x253)),u(_0x4433f9,_0x1ff21a+_0x3458dd(0x2b1),_0x1ff21a+_0x3458dd(0x253)),s(_0x4433f9,_0x3c228c,_0x1b20a9);}}function s(_0x201fc0,_0x358096,_0x90bfb6){const _0x1e80cd=_0x21bd22;if(!a())return;let _0x1bebe4=Math[_0x1e80cd(0xb0)](_0x358096*0x64)/0x64,_0x45fd0f=_0x90bfb6&&Object['keys'](_0x90bfb6)[_0x1e80cd(0x1e3)]?'\x20'+JSON[_0x1e80cd(0x26c)](_0x90bfb6):'';console[_0x1e80cd(0x2bf)](_0x1e80cd(0x3a9)+_0x201fc0+':\x20'+_0x1bebe4+'ms'+_0x45fd0f);}function c(){const _0x531183=_0x21bd22;return typeof performance<'u'&&typeof performance[_0x531183(0xe3)]=='function'?performance[_0x531183(0xe3)]():Date['now']();}function l(_0x22bbdd){const _0x54c99a=_0x21bd22;try{if(typeof performance<'u'){var _0x4221ab,_0x12758d;(_0x4221ab=(_0x12758d=performance)[_0x54c99a(0x1f6)])==null||_0x4221ab[_0x54c99a(0x1d7)](_0x12758d,_0x22bbdd);}}catch{}}function u(_0x301792,_0x12f7d6,_0xb6f49b){const _0x1c274a=_0x21bd22;try{if(typeof performance<'u'){var _0x537d92,_0x52b11e;(_0x537d92=(_0x52b11e=performance)[_0x1c274a(0x2a8)])==null||_0x537d92[_0x1c274a(0x1d7)](_0x52b11e,_0x1c274a(0x3a9)+_0x301792,_0x12f7d6,_0xb6f49b);}}catch{}}function d(_0x2b2de3){const _0x386676=_0x21bd22;var _0x5de489,_0x536e0d;return a()?o(_0x386676(0x2d4),()=>f(_0x2b2de3),{'tableId':_0x2b2de3['id'],'records':Object[_0x386676(0xdc)]((_0x5de489=_0x2b2de3[_0x386676(0x10e)])==null?{}:_0x5de489)['length'],'fields':_0x2b2de3[_0x386676(0xde)][_0x386676(0x1e3)],'hasRecordOrder':!!((_0x536e0d=_0x2b2de3[_0x386676(0x176)])!=null&&_0x536e0d['length'])}):f(_0x2b2de3);}function f(_0x4a17b9){const _0x31e740=_0x21bd22;var _0x2fad9b,_0x2b3bb0,_0x189a3f,_0x263a10,_0x2781cd,_0x595944,_0x1ea06b,_0x3f63ed,_0x2e72e4,_0x3a739f;let _0x16ec92=(_0x2fad9b=_0x4a17b9[_0x31e740(0x10e)])==null?{}:_0x2fad9b,_0x9a083e=(_0x2b3bb0=_0x4a17b9[_0x31e740(0x38f)])==null?{}:_0x2b3bb0,_0x19039d=(_0x189a3f=(_0x263a10=_0x4a17b9[_0x31e740(0x176)])==null?void 0x0:_0x263a10[_0x31e740(0x2e1)](_0x5a2f9e=>_0x16ec92[_0x5a2f9e]))==null?[]:_0x189a3f,_0x387153=new Set(_0x19039d),_0x441d79=[];for(let _0x122bba of Object[_0x31e740(0x203)](_0x16ec92))_0x387153[_0x31e740(0x15a)](_0x122bba['id'])||_0x441d79[_0x31e740(0x147)](_0x122bba);let _0x2b4f92=_0x441d79[_0x31e740(0x1e3)]?[..._0x19039d,...ue(_0x441d79)]:_0x19039d,_0x4a4e75=_0x4a17b9['fieldOrder'][_0x31e740(0x2e1)](_0x186451=>_0x9a083e[_0x186451]),_0x3dd9a6={...(_0x2781cd=_0x4a17b9[_0x31e740(0x108)])==null?{}:_0x2781cd},_0x4864b5={...(_0x595944=_0x4a17b9[_0x31e740(0x27f)])==null?{}:_0x595944},_0x5708cc={...(_0x1ea06b=_0x4a17b9[_0x31e740(0x3ca)])==null?{}:_0x1ea06b};return _0x4a17b9[_0x31e740(0x176)]=_0x2b4f92,_0x4a17b9[_0x31e740(0x133)]={},_0x4a17b9[_0x31e740(0x108)]={},_0x4a17b9[_0x31e740(0x3a7)]={},_0x4a17b9[_0x31e740(0x27f)]={},_0x4a17b9[_0x31e740(0x3ca)]={},_0x4a17b9[_0x31e740(0x39e)]={...(_0x3f63ed=_0x4a17b9['resources'])==null?{}:_0x3f63ed},_0x4a17b9['resources'][_0x31e740(0x102)]={...(_0x2e72e4=_0x4a17b9[_0x31e740(0x39e)][_0x31e740(0x102)])==null?{}:_0x2e72e4},_0x4a17b9[_0x31e740(0x39e)]['attachments']={...(_0x3a739f=_0x4a17b9[_0x31e740(0x39e)][_0x31e740(0x2b8)])==null?{}:_0x3a739f},_0x2b4f92[_0x31e740(0x266)]((_0x57bc92,_0x32deca)=>{const _0xb1328f=_0x31e740;_0x4a17b9[_0xb1328f(0x133)][_0x57bc92]=_0x32deca,_0x4a17b9['rowId'][_0x32deca]=_0x57bc92;}),_0x4a4e75[_0x31e740(0x266)]((_0x2f01bc,_0x3baf7d)=>{const _0xdae6c3=_0x31e740;_0x4a17b9[_0xdae6c3(0x3a7)][_0x2f01bc]=_0x3baf7d,_0x4a17b9[_0xdae6c3(0x27f)][_0x3baf7d]=_0x2f01bc;}),Object['entries'](_0x5708cc)[_0x31e740(0x266)](([_0x3e9795,_0x33d248])=>{const _0x26b021=_0x31e740;var _0x50a886,_0x559676;let _0x1c9c2d=Number(_0x3e9795),_0x28555d=(_0x50a886=_0x3dd9a6[_0x1c9c2d])==null?_0x2b4f92[_0x1c9c2d]:_0x50a886,_0x37785f=_0x28555d?_0x4a17b9[_0x26b021(0x133)][_0x28555d]:void 0x0;_0x37785f!=null&&(_0x4a17b9[_0x26b021(0x3ca)][_0x37785f]={...(_0x559676=_0x4a17b9[_0x26b021(0x3ca)][_0x37785f])==null?{}:_0x559676},Object[_0x26b021(0x2d7)](_0x33d248==null?{}:_0x33d248)['forEach'](([_0x168760,_0x28784e])=>{const _0x256ac2=_0x26b021;var _0x1d54a8;let _0x22d19e=Number(_0x168760),_0x34f6d0=(_0x1d54a8=_0x4864b5[_0x22d19e])==null?_0x4a4e75[_0x22d19e]:_0x1d54a8,_0x1c27ac=_0x34f6d0?_0x4a17b9[_0x256ac2(0x3a7)][_0x34f6d0]:void 0x0;_0x1c27ac!=null&&(_0x4a17b9[_0x256ac2(0x3ca)][_0x37785f][_0x1c27ac]=ee(_0x28784e));}));}),Object[_0x31e740(0x203)](_0x16ec92)[_0x31e740(0x266)](_0x3e64c6=>{const _0x39eeb4=_0x31e740;var _0x43a319,_0x1322d9;let _0x126781=_0x4a17b9['rowIndex'][_0x3e64c6['id']];_0x126781!=null&&(_0x4a17b9[_0x39eeb4(0x3ca)][_0x126781]={...(_0x43a319=_0x4a17b9[_0x39eeb4(0x3ca)][_0x126781])==null?{}:_0x43a319},Object['entries']((_0x1322d9=_0x3e64c6['values'])==null?{}:_0x1322d9)[_0x39eeb4(0x266)](([_0x4277b4,_0x296c26])=>{const _0x2dd1a9=_0x39eeb4;let _0x578d2e=_0x9a083e[_0x4277b4];(_0x578d2e==null?void 0x0:_0x578d2e[_0x2dd1a9(0x3ab)])===e[_0x2dd1a9(0x2bb)][_0x2dd1a9(0x150)]&&ie(_0x4a17b9,_0x3e64c6['id'],_0x4277b4,_0x296c26);let _0x1ff0e8=_0x4a17b9[_0x2dd1a9(0x3a7)][_0x4277b4];if(_0x1ff0e8==null)return;let _0x1a2cac=_0x4a17b9[_0x2dd1a9(0x3ca)][_0x126781][_0x1ff0e8];if(_0x1a2cac!=null){se(_0x1a2cac,_0x578d2e,_0x296c26)&&(_0x4a17b9[_0x2dd1a9(0x3ca)][_0x126781][_0x1ff0e8]=y(_0x296c26,_0x578d2e));return;}_0x4a17b9[_0x2dd1a9(0x3ca)][_0x126781][_0x1ff0e8]=y(_0x296c26,_0x578d2e);}));}),_0x4a17b9;}function p(_0x2a7903){const _0x40c20d=_0x21bd22;var _0x39d5ae;return d(_0x2a7903),Object[_0x40c20d(0x2d7)]((_0x39d5ae=_0x2a7903['rowId'])==null?{}:_0x39d5ae)['forEach'](([_0x11a040,_0x9b9bdd])=>{const _0x38bf92=_0x40c20d;var _0x2d40e5,_0x25f2e4,_0x75e701;let _0x6ad847=Number(_0x11a040),_0x8cb383=_0x2a7903[_0x38bf92(0x10e)][_0x9b9bdd];_0x8cb383&&(_0x8cb383[_0x38bf92(0x203)]={...(_0x2d40e5=_0x8cb383[_0x38bf92(0x203)])==null?{}:_0x2d40e5},Object[_0x38bf92(0x2d7)]((_0x25f2e4=(_0x75e701=_0x2a7903[_0x38bf92(0x3ca)])==null?void 0x0:_0x75e701[_0x6ad847])==null?{}:_0x25f2e4)['forEach'](([_0x52f494,_0x559d05])=>{const _0x136699=_0x38bf92;var _0x2e485b;let _0x5dfb0d=(_0x2e485b=_0x2a7903[_0x136699(0x27f)])==null?void 0x0:_0x2e485b[Number(_0x52f494)];_0x5dfb0d&&(_0x8cb383['values'][_0x5dfb0d]=b(_0x559d05,_0x2a7903[_0x136699(0x38f)][_0x5dfb0d],_0x2a7903,_0x9b9bdd));}));}),_0x2a7903;}function m(_0x3107ba,_0x358134){const _0x589511=_0x21bd22;for(let {row:_0x2bb51b,col:_0x2464e9}of _0x358134){var _0x2d6df1,_0x5cc36b,_0x1bfa7c,_0x12ac73;let _0x2ca707=(_0x2d6df1=_0x3107ba[_0x589511(0x108)])==null?void 0x0:_0x2d6df1[_0x2bb51b],_0x1f313f=(_0x5cc36b=_0x3107ba[_0x589511(0x27f)])==null?void 0x0:_0x5cc36b[_0x2464e9],_0x2d737b=_0x2ca707?_0x3107ba[_0x589511(0x10e)][_0x2ca707]:void 0x0;!_0x2d737b||!_0x1f313f||(_0x2d737b['values']={...(_0x1bfa7c=_0x2d737b[_0x589511(0x203)])==null?{}:_0x1bfa7c},_0x2d737b[_0x589511(0x203)][_0x1f313f]=b((_0x12ac73=_0x3107ba['cellData'])==null||(_0x12ac73=_0x12ac73[_0x2bb51b])==null?void 0x0:_0x12ac73[_0x2464e9],_0x3107ba[_0x589511(0x38f)][_0x1f313f],_0x3107ba,_0x2ca707));}return _0x3107ba;}function h(_0x251703,_0x44b2de,_0x351ed7){const _0x232b75=_0x21bd22;var _0x307551,_0x4e6143,_0x53a6a1,_0x4b0222,_0x55833c,_0x40683f;let _0x2197ff=(_0x307551=_0x251703[_0x232b75(0x133)])==null?void 0x0:_0x307551[_0x44b2de],_0x56a4bb=(_0x4e6143=_0x251703[_0x232b75(0x3a7)])==null?void 0x0:_0x4e6143[_0x351ed7];if(_0x2197ff!=null&&_0x56a4bb!=null&&((_0x53a6a1=_0x251703[_0x232b75(0x108)])==null?void 0x0:_0x53a6a1[_0x2197ff])===_0x44b2de&&((_0x4b0222=_0x251703['colId'])==null?void 0x0:_0x4b0222[_0x56a4bb])===_0x351ed7)return{'row':_0x2197ff,'col':_0x56a4bb};let _0xf2777b=d(_0x251703),_0x4b06f3=(_0x55833c=_0xf2777b[_0x232b75(0x133)])==null?void 0x0:_0x55833c[_0x44b2de],_0x1f0c7a=(_0x40683f=_0xf2777b['colIndex'])==null?void 0x0:_0x40683f[_0x351ed7];return _0x4b06f3==null||_0x1f0c7a==null?null:{'row':_0x4b06f3,'col':_0x1f0c7a};}function g(_0x5956cb,_0x3d6f9f,_0x39fca0){const _0x52a777=_0x21bd22;var _0x4029bb;let _0x30be75=h(_0x5956cb,_0x3d6f9f,_0x39fca0);if(_0x30be75)return(_0x4029bb=_0x5956cb['cellData'])==null||(_0x4029bb=_0x4029bb[_0x30be75[_0x52a777(0x282)]])==null?void 0x0:_0x4029bb[_0x30be75[_0x52a777(0x1cd)]];}function _(_0x58d396,_0x1283a5,_0x7644a1){const _0x5c3e74=_0x21bd22;var _0xf431d0,_0x775840;let _0x4660f6=g(_0x58d396,_0x1283a5,_0x7644a1),_0x323b92=_0x58d396[_0x5c3e74(0x38f)][_0x7644a1];if((_0x323b92==null?void 0x0:_0x323b92[_0x5c3e74(0x3ab)])===e[_0x5c3e74(0x2bb)][_0x5c3e74(0x150)]){var _0x53a7ff,_0xdec48;return(_0x53a7ff=ae(_0x58d396,_0x1283a5,_0x7644a1))==null?x((_0xdec48=_0x58d396[_0x5c3e74(0x10e)][_0x1283a5])==null||(_0xdec48=_0xdec48[_0x5c3e74(0x203)])==null?void 0x0:_0xdec48[_0x7644a1]):_0x53a7ff;}if(S(_0x323b92)||(_0x323b92==null?void 0x0:_0x323b92[_0x5c3e74(0x3ab)])===e[_0x5c3e74(0x2bb)][_0x5c3e74(0x318)]){var _0xb6d830;let _0x5d2bb7=(_0xb6d830=_0x58d396[_0x5c3e74(0x10e)][_0x1283a5])==null||(_0xb6d830=_0xb6d830[_0x5c3e74(0x203)])==null?void 0x0:_0xb6d830[_0x7644a1];return _0x5d2bb7!=null&&_0x5d2bb7!==''?oe(_0x5d2bb7,_0x323b92):b(_0x4660f6,_0x323b92,_0x58d396,_0x1283a5);}if(_0x4660f6&&Object[_0x5c3e74(0x1f9)][_0x5c3e74(0x1a7)]['call'](_0x4660f6,'v')){var _0x60afba;return(_0x60afba=_0x4660f6['v'])==null?null:_0x60afba;}return(_0xf431d0=(_0x775840=_0x58d396['records'][_0x1283a5])==null||(_0x775840=_0x775840[_0x5c3e74(0x203)])==null?void 0x0:_0x775840[_0x7644a1])==null?null:_0xf431d0;}function v(_0x247843,_0x5c2bfe,_0x3754f9){const _0x8a299e=_0x21bd22;var _0x43b814,_0x5d6f9a,_0x13683a;let _0x12f5ce=g(_0x247843,_0x5c2bfe,_0x3754f9);if(_0x12f5ce&&Object['prototype']['hasOwnProperty'][_0x8a299e(0x1d7)](_0x12f5ce,'v')){var _0xbd709f;return(_0xbd709f=_0x12f5ce['v'])==null?null:_0xbd709f;}let _0x57222f=_0x247843[_0x8a299e(0x38f)][_0x3754f9];return(_0x43b814=y((_0x5d6f9a=(_0x13683a=_0x247843['records'][_0x5c2bfe])==null||(_0x13683a=_0x13683a[_0x8a299e(0x203)])==null?void 0x0:_0x13683a[_0x3754f9])==null?null:_0x5d6f9a,_0x57222f)['v'])==null?null:_0x43b814;}function y(_0x281530,_0x8c636a){const _0x4dba9f=_0x21bd22;if(ne(_0x281530))return(_0x8c636a==null?void 0x0:_0x8c636a['type'])===e[_0x4dba9f(0x2bb)]['Attachment']?{..._0x281530,'v':'','t':e['CellValueType'][_0x4dba9f(0x295)]}:ee(_0x281530);if((_0x8c636a==null?void 0x0:_0x8c636a[_0x4dba9f(0x3ab)])===e[_0x4dba9f(0x2bb)][_0x4dba9f(0x150)])return{'v':'','t':e[_0x4dba9f(0x258)][_0x4dba9f(0x295)]};if(S(_0x8c636a))return{'v':C(_0x281530)['join'](',\x20'),'t':e[_0x4dba9f(0x258)][_0x4dba9f(0x295)]};if((_0x8c636a==null?void 0x0:_0x8c636a[_0x4dba9f(0x3ab)])===e[_0x4dba9f(0x2bb)]['Link']&&_0x281530&&typeof _0x281530==_0x4dba9f(0x391)&&!Array[_0x4dba9f(0x35a)](_0x281530)){var _0x4a73a9,_0xf6ed07;let _0x46cbce=_0x281530;return{'v':String((_0x4a73a9=(_0xf6ed07=_0x46cbce[_0x4dba9f(0x263)])==null?_0x46cbce[_0x4dba9f(0x1a9)]:_0xf6ed07)==null?'':_0x4a73a9),'t':e[_0x4dba9f(0x258)]['STRING']};}return _0x281530===null||typeof _0x281530==_0x4dba9f(0x14d)||typeof _0x281530==_0x4dba9f(0x307)||typeof _0x281530==_0x4dba9f(0x2bc)?{'v':_0x281530,'t':le(_0x281530)}:{'v':null,'t':null};}function ee(_0x475a4c){let _0xf8cc2f=de(_0x475a4c['t'],_0x475a4c['v']);if(_0xf8cc2f===void 0x0){let {t:_0x5dbe2d,..._0xf977a6}=_0x475a4c;return _0xf977a6;}return{..._0x475a4c,'t':_0xf8cc2f};}function b(_0x269eae,_0x5f22bf,_0x1f35ea,_0x36ac5f){const _0x426637=_0x21bd22;if(!_0x269eae)return null;if((_0x5f22bf==null?void 0x0:_0x5f22bf[_0x426637(0x3ab)])===e[_0x426637(0x2bb)]['Attachment']){var _0x2a1df6;return _0x1f35ea&&_0x36ac5f?(_0x2a1df6=ae(_0x1f35ea,_0x36ac5f,_0x5f22bf['id']))==null?[]:_0x2a1df6:[];}if(S(_0x5f22bf))return C(_0x269eae['v']);if((_0x5f22bf==null?void 0x0:_0x5f22bf[_0x426637(0x3ab)])===e[_0x426637(0x2bb)]['Link']&&_0x1f35ea&&_0x36ac5f){var _0x38cde3;let _0x5183a2=(_0x38cde3=_0x1f35ea[_0x426637(0x10e)][_0x36ac5f])==null||(_0x38cde3=_0x38cde3['values'])==null?void 0x0:_0x38cde3[_0x5f22bf['id']];if(_0x5183a2&&typeof _0x5183a2==_0x426637(0x391)&&!Array[_0x426637(0x35a)](_0x5183a2))return _0x5183a2;}if(Object[_0x426637(0x1f9)]['hasOwnProperty']['call'](_0x269eae,'v')){var _0x319127;return(_0x319127=_0x269eae['v'])==null?null:_0x319127;}return null;}function te(_0x91dd5d,_0x2c2194,_0x42e302,_0x1b1e53,_0x312279){const _0x4bf2eb=_0x21bd22;return(_0x42e302==null?void 0x0:_0x42e302[_0x4bf2eb(0x3ab)])===e[_0x4bf2eb(0x2bb)][_0x4bf2eb(0x150)]?x(_0x91dd5d):S(_0x42e302)?C(_0x91dd5d):(_0x42e302==null?void 0x0:_0x42e302[_0x4bf2eb(0x3ab)])===e['BaseFieldType'][_0x4bf2eb(0x318)]&&_0x91dd5d&&typeof _0x91dd5d==_0x4bf2eb(0x391)&&!Array[_0x4bf2eb(0x35a)](_0x91dd5d)&&!ne(_0x91dd5d)?_0x91dd5d:b(_0x2c2194,_0x42e302,_0x1b1e53,_0x312279);}function ne(_0x21e3ad){const _0x29a60e=_0x21bd22;return!!_0x21e3ad&&typeof _0x21e3ad==_0x29a60e(0x391)&&(Object[_0x29a60e(0x1f9)][_0x29a60e(0x1a7)][_0x29a60e(0x1d7)](_0x21e3ad,'v')||Object[_0x29a60e(0x1f9)]['hasOwnProperty'][_0x29a60e(0x1d7)](_0x21e3ad,'t')||Object[_0x29a60e(0x1f9)][_0x29a60e(0x1a7)]['call'](_0x21e3ad,'p')||Object['prototype']['hasOwnProperty'][_0x29a60e(0x1d7)](_0x21e3ad,'f')||Object[_0x29a60e(0x1f9)][_0x29a60e(0x1a7)][_0x29a60e(0x1d7)](_0x21e3ad,'si'));}function re(_0x4866b1,_0x4d7b15){return _0x4866b1+'\x1f'+_0x4d7b15;}function ie(_0x425640,_0x12cb9e,_0x418b13,_0x4513d0){const _0x16f6d9=_0x21bd22;var _0x5582b4,_0x3f6cd8,_0x4bbd88;let _0x4e8554=x(_0x4513d0);_0x425640['resources']={...(_0x5582b4=_0x425640[_0x16f6d9(0x39e)])==null?{}:_0x5582b4},_0x425640['resources']['attachmentSets']={...(_0x3f6cd8=_0x425640[_0x16f6d9(0x39e)][_0x16f6d9(0x102)])==null?{}:_0x3f6cd8},_0x425640[_0x16f6d9(0x39e)]['attachments']={...(_0x4bbd88=_0x425640[_0x16f6d9(0x39e)][_0x16f6d9(0x2b8)])==null?{}:_0x4bbd88};let _0x1f3f9d=re(_0x418b13,_0x12cb9e),_0x5058dd=[];for(let _0x4bde49=0x0;_0x4bde49<_0x4e8554[_0x16f6d9(0x1e3)];_0x4bde49++){var _0x37f98c;if(!(_0x4bde49 in _0x4e8554))continue;let _0x236ad0=_0x4e8554[_0x4bde49],_0x380657=String((_0x37f98c=_0x236ad0['id'])==null?_0x1f3f9d+'\x1f'+_0x4bde49:_0x37f98c),_0x569a39={..._0x236ad0,'id':_0x380657};_0x425640[_0x16f6d9(0x39e)][_0x16f6d9(0x2b8)][_0x380657]=_0x569a39,_0x5058dd[_0x16f6d9(0x147)](_0x380657);}_0x425640[_0x16f6d9(0x39e)][_0x16f6d9(0x102)][_0x1f3f9d]=_0x5058dd;}function ae(_0x5ce04c,_0x1d290b,_0x4c6c6f){const _0x31947d=_0x21bd22;var _0x53abc0;let _0x4ae4aa=re(_0x4c6c6f,_0x1d290b),_0x5e2209=(_0x53abc0=_0x5ce04c[_0x31947d(0x39e)])==null||(_0x53abc0=_0x53abc0[_0x31947d(0x102)])==null?void 0x0:_0x53abc0[_0x4ae4aa];if(!_0x5e2209)return null;let _0x1bb594=[];for(let _0x4774cc=0x0;_0x4774cc<_0x5e2209[_0x31947d(0x1e3)];_0x4774cc++){var _0x414f12;if(!(_0x4774cc in _0x5e2209))continue;let _0x5e5023=(_0x414f12=_0x5ce04c[_0x31947d(0x39e)])==null||(_0x414f12=_0x414f12[_0x31947d(0x2b8)])==null?void 0x0:_0x414f12[_0x5e2209[_0x4774cc]];_0x5e5023&&_0x1bb594[_0x31947d(0x147)]({..._0x5e5023});}return _0x1bb594;}function x(_0x206a70){const _0xe1613a=_0x21bd22;if(_0x206a70==null||_0x206a70===''||ne(_0x206a70)&&!('id'in _0x206a70)&&!(_0xe1613a(0x1d6)in _0x206a70))return[];let _0x458047=Array['isArray'](_0x206a70)?_0x206a70:[_0x206a70],_0x1ad759=[];for(let _0xb09c8=0x0;_0xb09c8<_0x458047['length'];_0xb09c8++){if(!(_0xb09c8 in _0x458047))continue;let _0x4b8fdf=_0x458047[_0xb09c8],_0x44919f=_0x4b8fdf&&typeof _0x4b8fdf=='object'?{..._0x4b8fdf}:{'id':_0xe1613a(0xa4)+_0xb09c8,'name':String(_0x4b8fdf)};Object[_0xe1613a(0xdc)](_0x44919f)[_0xe1613a(0x1e3)]>0x0&&_0x1ad759[_0xe1613a(0x147)](_0x44919f);}return _0x1ad759;}function oe(_0x123d77,_0x3e6043){const _0x28e145=_0x21bd22;return(_0x3e6043==null?void 0x0:_0x3e6043['type'])===e[_0x28e145(0x2bb)][_0x28e145(0x150)]?x(_0x123d77):S(_0x3e6043)?C(_0x123d77):_0x123d77;}function se(_0x3a9289,_0x76479f,_0x5cdf73){const _0x48906c=_0x21bd22;return(_0x76479f==null?void 0x0:_0x76479f[_0x48906c(0x3ab)])===e[_0x48906c(0x2bb)][_0x48906c(0x150)]?_0x3a9289['v']!=='':S(_0x76479f)?Array[_0x48906c(0x35a)](_0x5cdf73)&&(_0x3a9289['v']==null||_0x3a9289['v']===''):!0x1;}function S(_0x38a200){const _0x459088=_0x21bd22;return(_0x38a200==null?void 0x0:_0x38a200[_0x459088(0x3ab)])===e[_0x459088(0x2bb)]['MultiSelect']||(_0x38a200==null?void 0x0:_0x38a200[_0x459088(0x3ab)])===e['BaseFieldType']['Person']||(_0x38a200==null?void 0x0:_0x38a200['type'])===e[_0x459088(0x2bb)]['Group'];}function C(_0x161af4){const _0x3975df=_0x21bd22;if(_0x161af4==null||_0x161af4==='')return[];let _0x3aa55b=[];if(Array[_0x3975df(0x35a)](_0x161af4)){for(let _0x1b532a=0x0;_0x1b532a<_0x161af4['length'];_0x1b532a++){if(!(_0x1b532a in _0x161af4))continue;let _0x11adf4=ce(_0x161af4[_0x1b532a]);_0x11adf4&&_0x3aa55b[_0x3975df(0x147)](_0x11adf4);}return _0x3aa55b;}for(let _0x2e3ff9 of String(_0x161af4)[_0x3975df(0x114)](',')){let _0x1c7f13=_0x2e3ff9[_0x3975df(0x383)]();_0x1c7f13&&_0x3aa55b[_0x3975df(0x147)](_0x1c7f13);}return _0x3aa55b;}function ce(_0x2e5ffb){const _0x4f6e7b=_0x21bd22;if(_0x2e5ffb==null)return'';if(typeof _0x2e5ffb==_0x4f6e7b(0x14d)||typeof _0x2e5ffb==_0x4f6e7b(0x307)||typeof _0x2e5ffb==_0x4f6e7b(0x2bc))return String(_0x2e5ffb);if(typeof _0x2e5ffb==_0x4f6e7b(0x391)){var _0x1c18a3,_0x1acac2,_0x41f238;let _0x1e802d=_0x2e5ffb;return String((_0x1c18a3=(_0x1acac2=(_0x41f238=_0x1e802d['id'])==null?_0x1e802d[_0x4f6e7b(0x1d6)]:_0x41f238)==null?_0x1e802d['text']:_0x1acac2)==null?'':_0x1c18a3);}return String(_0x2e5ffb);}function le(_0xec3ab3){const _0x40ec17=_0x21bd22;return _0xec3ab3==null?null:typeof _0xec3ab3==_0x40ec17(0x307)?e['CellValueType']['NUMBER']:typeof _0xec3ab3=='boolean'?e['CellValueType']['BOOLEAN']:e[_0x40ec17(0x258)][_0x40ec17(0x295)];}function ue(_0x339ddd){const _0x121e13=_0x21bd22;_0x339ddd[_0x121e13(0x2b9)]((_0x29679e,_0x4a8097)=>_0x29679e[_0x121e13(0x2f3)][_0x121e13(0x322)](_0x4a8097[_0x121e13(0x2f3)]));let _0x3b131c=[];for(let _0x478ca6 of _0x339ddd)_0x3b131c[_0x121e13(0x147)](_0x478ca6['id']);return _0x3b131c;}function de(_0x29a877,_0x1f8811){const _0x422dac=_0x21bd22;return _0x29a877===e[_0x422dac(0x258)]['STRING']||_0x29a877===e[_0x422dac(0x258)][_0x422dac(0xa2)]||_0x29a877===e[_0x422dac(0x258)][_0x422dac(0x358)]||_0x29a877===e[_0x422dac(0x258)][_0x422dac(0xe0)]||_0x29a877==null?_0x29a877:le(_0x1f8811==null?null:_0x1f8811);}var w=class{[_0x21bd22(0x340)](_0x8759ba,_0x31795c){const _0x391471=_0x21bd22;let _0x19c4cc=this[_0x391471(0x1cc)](_0x31795c),_0x1be06d=o(_0x391471(0x2b7),()=>ye(_0x8759ba,_0x31795c),{'invalidations':_0x19c4cc[_0x391471(0x1e3)]}),_0x1495b7=o(_0x391471(0x380),()=>e['JSON1'][_0x391471(0x3ab)][_0x391471(0x361)](_0x1be06d,_0x31795c),{'invalidations':_0x19c4cc[_0x391471(0x1e3)]});return fe(_0x1495b7,_0x19c4cc)||this['_getTablesToNormalize'](_0x1495b7,_0x19c4cc)[_0x391471(0x266)](_0x47951f=>{p(_0x47951f);}),_0x1495b7;}[_0x21bd22(0x356)](_0xfe78a,_0xc3c164){const _0x2b598c=_0x21bd22;return e['JSON1'][_0x2b598c(0x3ab)][_0x2b598c(0x97)](_0xc3c164,_0xfe78a);}[_0x21bd22(0x1cc)](_0x159d41){const _0x4b0845=_0x21bd22;let _0xa9895a=ge(_0x159d41);return _0xa9895a[_0x4b0845(0x1e3)]?_e(_0xa9895a[_0x4b0845(0x103)](_0x16e48b=>this[_0x4b0845(0x1cc)](_0x16e48b))):pe(_0x159d41);}[_0x21bd22(0x1f7)](_0x42393c,_0x41fcfd){const _0x2731da=_0x21bd22;if(!_0x41fcfd['length'])return[];if(_0x41fcfd['some'](_0x7fa885=>!_0x7fa885[_0x2731da(0x212)])){var _0x53c2dd;return Object[_0x2731da(0x203)]((_0x53c2dd=_0x42393c[_0x2731da(0xda)])==null?{}:_0x53c2dd);}return Array[_0x2731da(0x139)](new Set(_0x41fcfd[_0x2731da(0x3c2)](_0x4e0a68=>_0x4e0a68[_0x2731da(0x212)])))[_0x2731da(0x103)](_0x2fda65=>{var _0x15923c;let _0x18a069=(_0x15923c=_0x42393c['tables'])==null?void 0x0:_0x15923c[_0x2fda65];return _0x18a069?[_0x18a069]:[];});}};function fe(_0x43f11a,_0x54d3d7){const _0x214c05=_0x21bd22;if(!_0x54d3d7[_0x214c05(0x1e3)]||_0x54d3d7[_0x214c05(0x10a)](_0x3017bd=>_0x3017bd[_0x214c05(0x2af)]!=='cell'))return!0x1;let _0x1500b8=new Map();for(let _0x2c1ef2 of _0x54d3d7){var _0x22230f;if(!_0x2c1ef2[_0x214c05(0x212)]||_0x2c1ef2[_0x214c05(0x282)]==null||_0x2c1ef2[_0x214c05(0x18d)]==null)continue;let _0x1e1195=(_0x22230f=_0x1500b8[_0x214c05(0x294)](_0x2c1ef2[_0x214c05(0x212)]))==null?[]:_0x22230f;_0x1e1195[_0x214c05(0x147)]({'row':_0x2c1ef2[_0x214c05(0x282)],'col':_0x2c1ef2[_0x214c05(0x18d)]}),_0x1500b8['set'](_0x2c1ef2[_0x214c05(0x212)],_0x1e1195);}return _0x1500b8[_0x214c05(0x266)]((_0x3d9362,_0x51d497)=>{const _0x2da47e=_0x214c05;var _0x24831a;let _0x432bef=(_0x24831a=_0x43f11a[_0x2da47e(0xda)])==null?void 0x0:_0x24831a[_0x51d497];_0x432bef&&m(_0x432bef,_0x3d9362);}),!0x0;}function pe(_0x5d3c8a){const _0x5bfa4d=_0x21bd22;if(!Array['isArray'](_0x5d3c8a)||_0x5d3c8a['length']<0x2)return[{'tableId':'','reason':_0x5bfa4d(0x2f0)}];let _0x4418a9=_0x5d3c8a,_0x583fc4=_0x4418a9[_0x5bfa4d(0x326)]('tables');return _0x583fc4===-0x1||typeof _0x4418a9[_0x583fc4+0x1]!=_0x5bfa4d(0x14d)?_0x4418a9[0x0]===_0x5bfa4d(0x32e)?[]:[{'tableId':'','reason':_0x5bfa4d(0x2f0)}]:me(_0x4418a9,_0x583fc4,String(_0x4418a9[_0x583fc4+0x1]));}function me(_0x310d9c,_0x2cec18,_0x143909){const _0x53dea2=_0x21bd22;let _0x2bc63c=_0x310d9c[_0x2cec18+0x2];return _0x2bc63c===_0x53dea2(0x10e)&&typeof _0x310d9c[_0x2cec18+0x3]==_0x53dea2(0x14d)?he(_0x310d9c,_0x2cec18,_0x143909,String(_0x310d9c[_0x2cec18+0x3])):_0x2bc63c===_0x53dea2(0x3ca)&&_0x310d9c[_0x2cec18+0x3]!=null&&_0x310d9c[_0x2cec18+0x4]!=null?[{'tableId':_0x143909,'reason':_0x53dea2(0x19a),'row':Number(_0x310d9c[_0x2cec18+0x3]),'column':Number(_0x310d9c[_0x2cec18+0x4])}]:_0x2bc63c===_0x53dea2(0x38f)&&typeof _0x310d9c[_0x2cec18+0x3]==_0x53dea2(0x14d)?[{'tableId':_0x143909,'reason':_0x53dea2(0x366),'fieldId':String(_0x310d9c[_0x2cec18+0x3])}]:_0x2bc63c==='views'&&typeof _0x310d9c[_0x2cec18+0x3]==_0x53dea2(0x14d)?[{'tableId':_0x143909,'reason':_0x53dea2(0x38b),'viewId':String(_0x310d9c[_0x2cec18+0x3])}]:[{'tableId':_0x143909,'reason':_0x2bc63c===void 0x0?'table':_0x53dea2(0x2f0)}];}function he(_0x2ea3bf,_0x4bca72,_0x24e139,_0x552f89){const _0x35afb1=_0x21bd22;return _0x2ea3bf[_0x4bca72+0x4]===_0x35afb1(0x203)&&typeof _0x2ea3bf[_0x4bca72+0x5]=='string'?[{'tableId':_0x24e139,'reason':_0x35afb1(0x19a),'recordId':_0x552f89,'fieldId':String(_0x2ea3bf[_0x4bca72+0x5])}]:_0x2ea3bf[_0x4bca72+0x4]===_0x35afb1(0x2a9)||_0x2ea3bf[_0x4bca72+0x4]===_0x35afb1(0x19c)?[]:[{'tableId':_0x24e139,'reason':_0x35afb1(0x346),'recordId':_0x552f89}];}function ge(_0x147046){const _0x4b64aa=_0x21bd22;if(!Array[_0x4b64aa(0x35a)](_0x147046))return[];let _0x8edf53=_0x147046[_0x4b64aa(0x2e1)](Array[_0x4b64aa(0x35a)]);if(_0x8edf53[_0x4b64aa(0x1e3)]>0x1&&_0x8edf53[_0x4b64aa(0x1e3)]===_0x147046[_0x4b64aa(0x1e3)])return _0x8edf53;let _0x4e49bb=_0x147046['findIndex'](Array[_0x4b64aa(0x35a)]);if(_0x4e49bb>0x0&&_0x147046['slice'](_0x4e49bb)[_0x4b64aa(0x118)](Array[_0x4b64aa(0x35a)])){let _0x355be8=_0x147046[_0x4b64aa(0x174)](0x0,_0x4e49bb);return _0x147046[_0x4b64aa(0x174)](_0x4e49bb)[_0x4b64aa(0x3c2)](_0xc0f9e=>[..._0x355be8,..._0xc0f9e]);}let _0x182670=_0x147046[_0x4b64aa(0x326)]('tables');if(_0x182670===-0x1||typeof _0x147046[_0x182670+0x1]!=_0x4b64aa(0x14d))return[];let _0x29c73a=String(_0x147046[_0x182670+0x1]),_0x1dcc6d=_0x147046['slice'](_0x182670+0x2)[_0x4b64aa(0x2e1)](Array[_0x4b64aa(0x35a)]);return _0x1dcc6d['length']<=0x1?[]:_0x1dcc6d[_0x4b64aa(0x3c2)](_0x514d1a=>[_0x4b64aa(0xda),_0x29c73a,..._0x514d1a]);}function _e(_0x58019c){const _0x27a1d3=_0x21bd22;let _0x5936a5=new Set();return _0x58019c[_0x27a1d3(0x2e1)](_0x57b87a=>{const _0xf1ea61=_0x27a1d3;let _0x23d9e4=JSON[_0xf1ea61(0x26c)](_0x57b87a);return _0x5936a5[_0xf1ea61(0x15a)](_0x23d9e4)?!0x1:(_0x5936a5[_0xf1ea61(0x393)](_0x23d9e4),!0x0);});}function ve(_0xc8c12b){const _0x55d97b=_0x21bd22;return e[_0x55d97b(0x164)][_0x55d97b(0x1c7)](_0xc8c12b);}function ye(_0x39b30d,_0x27de8b){const _0x565a0d=_0x21bd22;let _0x519292=be(_0x27de8b);if(!_0x519292[_0x565a0d(0x1e3)])return ve(_0x39b30d);let _0x346cac=Te(_0x39b30d);for(let _0x1b4da2 of _0x519292)Ce(_0x346cac,_0x1b4da2);return _0x346cac;}function be(_0x297305){let _0x2b28c3=[];return xe(_0x297305,[],_0x2b28c3),_0x2b28c3;}function xe(_0x11d245,_0x4d168f,_0x9793e0){const _0x321ebb=_0x21bd22;if(!Array[_0x321ebb(0x35a)](_0x11d245))return;let _0x85ce65=[];for(let _0x528c3f of _0x11d245){if(Array['isArray'](_0x528c3f)){xe(_0x528c3f,[..._0x4d168f,..._0x85ce65],_0x9793e0);continue;}if(Se(_0x528c3f)){_0x9793e0['push']([..._0x4d168f,..._0x85ce65]);continue;}(typeof _0x528c3f=='string'||typeof _0x528c3f=='number')&&_0x85ce65[_0x321ebb(0x147)](_0x528c3f);}}function Se(_0x146bb6){const _0x3ba515=_0x21bd22;if(!_0x146bb6||typeof _0x146bb6!=_0x3ba515(0x391)||Array[_0x3ba515(0x35a)](_0x146bb6))return!0x1;let _0x4bd6a9=_0x146bb6;return'i'in _0x4bd6a9||'r'in _0x4bd6a9||'p'in _0x4bd6a9||'d'in _0x4bd6a9||'es'in _0x4bd6a9||_0x3ba515(0x37d)in _0x4bd6a9||'et'in _0x4bd6a9;}function Ce(_0x45fdb9,_0x5993e1){const _0x188340=_0x21bd22;let _0x18c16a=_0x45fdb9;for(let _0x105fe0=0x0;_0x105fe0<_0x5993e1[_0x188340(0x1e3)]-0x1;_0x105fe0++){let _0x199ad8=_0x5993e1[_0x105fe0],_0x970fbb=_0x18c16a==null?void 0x0:_0x18c16a[_0x199ad8];if(!we(_0x970fbb))return;let _0x4cccf4=Te(_0x970fbb);_0x18c16a[_0x199ad8]=_0x4cccf4,_0x18c16a=_0x4cccf4;}}function we(_0x1057f0){const _0x269104=_0x21bd22;return!!_0x1057f0&&typeof _0x1057f0==_0x269104(0x391);}function Te(_0xe501c8){const _0x17bb7f=_0x21bd22;return Array[_0x17bb7f(0x35a)](_0xe501c8)?_0xe501c8['slice']():{..._0xe501c8};}const Ee=0x5a0*0x3c*0x3e8,De=0x63e1,Oe=_0x21bd22(0x224),ke={'yyyy/mm/dd':_0x21bd22(0x223),'yyyy/mm/dd\x20hh:mm':_0x21bd22(0x1ba),'yyyy-mm-dd':_0x21bd22(0x98),'mm-dd':_0x21bd22(0x152),'mm/dd/yyyy':_0x21bd22(0x3b4),'dd/mm/yyyy':_0x21bd22(0x293),'mmm\x20d,\x20yyyy':_0x21bd22(0x9a)};function T(_0x7a1554){const _0x31c78f=_0x21bd22;return(0x0,e[_0x31c78f(0x1a3)])(_0x7a1554)[_0x31c78f(0x365)]()/Ee+De;}function Ae(_0x3a91f4){return(_0x3a91f4-De)*Ee;}function E(_0x3e528b){const _0x8c3531=_0x21bd22;if(_0x3e528b==null||_0x3e528b==='')return null;if(_0x3e528b instanceof Date)return T(_0x3e528b);if(typeof _0x3e528b==_0x8c3531(0x307))return Number[_0x8c3531(0x342)](_0x3e528b)?_0x3e528b>0xf4240?T(_0x3e528b):_0x3e528b:null;let _0x36e035=Date['parse'](String(_0x3e528b));return Number['isNaN'](_0x36e035)?null:T(_0x36e035);}function D(_0x2b4c05){let _0x51fcef=E(_0x2b4c05);return _0x51fcef==null?null:Ae(_0x51fcef);}function je(_0xe1d615,_0x3bc22e={}){const _0x2d86d2=_0x21bd22;var _0x1234f8,_0x423a7a,_0x5eed30;let _0x1ed941=D(_0xe1d615);if(_0x1ed941==null||!Number[_0x2d86d2(0x342)](_0x1ed941))return'';let _0x1b3961=String((_0x1234f8=(_0x423a7a=_0x3bc22e[_0x2d86d2(0x189)])==null?_0x3bc22e[_0x2d86d2(0xb3)]:_0x423a7a)==null?Oe:_0x1234f8),_0x254673=_0x3bc22e['includeTime']===!0x0||_0x1b3961[_0x2d86d2(0xec)](_0x2d86d2(0x29e)),_0xf9571e=String((_0x5eed30=_0x3bc22e['hourCycle'])==null?_0x2d86d2(0xba):_0x5eed30);return(0x0,e[_0x2d86d2(0x1a3)])(_0x1ed941)[_0x2d86d2(0xb3)](Me(_0x1b3961,_0x254673,_0xf9571e));}function Me(_0x424b87,_0x365ed5,_0x37a982){const _0x39bd88=_0x21bd22;var _0x3abb97;let _0x333387=(_0x3abb97=ke[_0x424b87])==null?ke[Oe]:_0x3abb97;return!_0x365ed5||_0x424b87[_0x39bd88(0xec)](_0x39bd88(0x29e))?_0x333387:_0x333387+'\x20'+(_0x37a982===_0x39bd88(0x217)?_0x39bd88(0x156):_0x39bd88(0x297));}const Ne={'editable':!0x0,'sortable':!0x0,'filterable':!0x0,'groupable':!0x1,'usableAsKanbanGroup':!0x1,'usableAsCalendarDate':!0x1,'usableAsGanttStart':!0x1,'usableAsGanttEnd':!0x1,'usableAsGanttProgress':!0x1,'usableAsCardCover':!0x1,'usableAsTitle':!0x1},Pe=new Set([e[_0x21bd22(0x2bb)][_0x21bd22(0x3a8)],e[_0x21bd22(0x2bb)][_0x21bd22(0x29b)],e[_0x21bd22(0x2bb)][_0x21bd22(0x17a)],e[_0x21bd22(0x2bb)]['Button'],e[_0x21bd22(0x2bb)][_0x21bd22(0x389)],e['BaseFieldType'][_0x21bd22(0x2c8)],e[_0x21bd22(0x2bb)][_0x21bd22(0x36a)],e[_0x21bd22(0x2bb)]['Barcode']]),O=0x5a0*0x3c*0x3e8;function Fe(_0x3de149,_0x56c87e){const _0x278b60=_0x21bd22;return _0x3de149==null&&_0x56c87e==null?0x0:_0x3de149==null?-0x1:_0x56c87e==null?0x1:typeof _0x3de149=='number'&&typeof _0x56c87e=='number'?_0x3de149-_0x56c87e:String(_0x3de149)[_0x278b60(0x322)](String(_0x56c87e));}function Ie(_0x235647,_0x4b1884,_0xdb252e,_0x405c76,_0x4b1580={}){const _0x4484d8=_0x21bd22;if(_0x4b1884===_0x4484d8(0x30e))return Le(_0x235647);if(_0x4b1884===_0x4484d8(0x352))return!Le(_0x235647);switch(_0x405c76['type']){case e[_0x4484d8(0x2bb)][_0x4484d8(0x3b0)]:case e[_0x4484d8(0x2bb)][_0x4484d8(0xaf)]:case e['BaseFieldType'][_0x4484d8(0x3c9)]:case e[_0x4484d8(0x2bb)][_0x4484d8(0x2fd)]:return Re(_0x235647,_0x4b1884,_0xdb252e);case e[_0x4484d8(0x2bb)]['Date']:case e[_0x4484d8(0x2bb)]['CreatedAt']:case e[_0x4484d8(0x2bb)][_0x4484d8(0x1c3)]:return Be(_0x235647,_0x4b1884,_0xdb252e,_0x4b1580);case e[_0x4484d8(0x2bb)][_0x4484d8(0x31b)]:return Ke(_0x235647,_0x4b1884,_0xdb252e);case e[_0x4484d8(0x2bb)][_0x4484d8(0x11f)]:case e['BaseFieldType'][_0x4484d8(0x335)]:case e[_0x4484d8(0x2bb)][_0x4484d8(0x188)]:case e['BaseFieldType'][_0x4484d8(0xae)]:return Je(_0x235647,_0x4b1884,_0xdb252e,_0x405c76);default:return Ye(_0x235647,_0x4b1884,_0xdb252e);}}function Le(_0x22131b){const _0x54b3cc=_0x21bd22;return _0x22131b==null?!0x0:Array[_0x54b3cc(0x35a)](_0x22131b)?_0x22131b[_0x54b3cc(0x1e3)]===0x0:typeof _0x22131b=='string'?_0x22131b[_0x54b3cc(0x383)]()==='':!0x1;}function Re(_0x4a5dc3,_0x163f60,_0x5f3abc){const _0x5e22e9=_0x21bd22;let _0x34de33=ze(_0x4a5dc3),_0x37292e=ze(_0x5f3abc);if(_0x34de33==null||_0x37292e==null)return!0x1;switch(_0x163f60){case'is':return _0x34de33===_0x37292e;case'isNot':return _0x34de33!==_0x37292e;case _0x5e22e9(0x300):return _0x34de33>_0x37292e;case _0x5e22e9(0x324):return _0x34de33>=_0x37292e;case _0x5e22e9(0x242):return _0x34de33<_0x37292e;case'lessThanOrEqual':return _0x34de33<=_0x37292e;default:return!0x1;}}function ze(_0x30f94d){const _0x50c184=_0x21bd22;if(_0x30f94d==null||_0x30f94d==='')return null;let _0x5e6c46=Number(_0x30f94d);return Number[_0x50c184(0x342)](_0x5e6c46)?_0x5e6c46:null;}function Be(_0x257d69,_0x5c696a,_0x1edd90,_0x455ded){const _0x56f6ec=_0x21bd22;var _0x1ec44c;let _0x556eda=He(_0x257d69);if(_0x556eda==null)return!0x1;let _0x37e321=Ve((_0x1ec44c=_0x455ded[_0x56f6ec(0x39a)])==null?_0x56f6ec(0x285):_0x1ec44c,_0x1edd90,_0x455ded[_0x56f6ec(0xe3)]);if(!_0x37e321)return!0x1;switch(_0x5c696a){case'is':return _0x556eda>=_0x37e321[_0x56f6ec(0x301)]&&_0x556eda<=_0x37e321[_0x56f6ec(0x385)];case'isNot':return _0x556eda<_0x37e321[_0x56f6ec(0x301)]||_0x556eda>_0x37e321[_0x56f6ec(0x385)];case _0x56f6ec(0x1aa):return _0x556eda<_0x37e321[_0x56f6ec(0x301)];case _0x56f6ec(0x1ff):return _0x556eda>_0x37e321[_0x56f6ec(0x385)];default:return!0x1;}}function Ve(_0x145771,_0x4a0adf,_0x34a39a=Date[_0x21bd22(0xe3)]()){const _0x148430=_0x21bd22;let _0x247491=Ue(_0x34a39a);switch(_0x145771){case _0x148430(0x285):{let _0x275126=He(_0x4a0adf);return _0x275126==null?null:{'start':_0x275126,'end':_0x275126+O-0x1};}case'today':return{'start':_0x247491,'end':_0x247491+O-0x1};case _0x148430(0x1d8):return{'start':_0x247491+O,'end':_0x247491+O*0x2-0x1};case _0x148430(0x34a):return{'start':_0x247491-O,'end':_0x247491-0x1};case _0x148430(0x20e):return We(_0x247491,0x0);case _0x148430(0x11e):return We(_0x247491,-0x1);case'thisMonth':return Ge(_0x247491,0x0);case _0x148430(0x268):return Ge(_0x247491,-0x1);case _0x148430(0x29f):return{'start':_0x247491-O*0x6,'end':_0x247491+O-0x1};case _0x148430(0xd5):return{'start':_0x247491,'end':_0x247491+O*0x7-0x1};case _0x148430(0x2cd):return{'start':_0x247491-O*0x1d,'end':_0x247491+O-0x1};case _0x148430(0x3bf):return{'start':_0x247491,'end':_0x247491+O*0x1e-0x1};}}function He(_0x1ff705){let _0x59aba4=E(_0x1ff705);return _0x59aba4==null?null:Ue(Ae(_0x59aba4));}function Ue(_0x7c9048){const _0x11df2e=_0x21bd22;let _0xec4375=new Date(_0x7c9048);return _0xec4375[_0x11df2e(0x25e)](0x0,0x0,0x0,0x0),_0xec4375[_0x11df2e(0x2ae)]();}function We(_0x4c6a46,_0x447122){const _0x1536e6=_0x21bd22;let _0x3e1e37=_0x4c6a46-(new Date(_0x4c6a46)[_0x1536e6(0x2b3)]()+0x6)%0x7*O+_0x447122*O*0x7;return{'start':_0x3e1e37,'end':_0x3e1e37+O*0x7-0x1};}function Ge(_0x36c879,_0xae91b5){const _0x29d55a=_0x21bd22;let _0x314b34=new Date(_0x36c879),_0x173564=new Date(_0x314b34[_0x29d55a(0xac)](),_0x314b34[_0x29d55a(0x1fd)]()+_0xae91b5,0x1),_0x32acf6=new Date(_0x314b34[_0x29d55a(0xac)](),_0x314b34['getMonth']()+_0xae91b5+0x1,0x1);return{'start':_0x173564[_0x29d55a(0x2ae)](),'end':_0x32acf6[_0x29d55a(0x2ae)]()-0x1};}function Ke(_0x5bdd62,_0x533e54,_0x4f471b){const _0x1c9a47=_0x21bd22;let _0xd1cf4b=qe(_0x5bdd62),_0x45fe05=qe(_0x4f471b);switch(_0x533e54){case'is':return _0xd1cf4b===_0x45fe05;case _0x1c9a47(0x123):return _0xd1cf4b!==_0x45fe05;default:return!0x1;}}function qe(_0x15945c){return _0x15945c===!0x0||_0x15945c==='true'||_0x15945c===0x1||_0x15945c==='1';}function Je(_0x3d8e4b,_0x26fd9f,_0x467668,_0x55bcdb){const _0x399e5b=_0x21bd22;let _0x529e4e=Xe(_0x3d8e4b,_0x55bcdb),_0x1a5519=Xe(_0x467668,_0x55bcdb),_0x2b503c=_0x1a5519['length']>0x0&&_0x1a5519[_0x399e5b(0x10a)](_0x2597a1=>_0x529e4e[_0x399e5b(0xec)](_0x2597a1));switch(_0x26fd9f){case'is':case _0x399e5b(0x2f1):return _0x2b503c;case _0x399e5b(0x123):case _0x399e5b(0x20a):return!_0x2b503c;default:return!0x1;}}function Ye(_0x5672de,_0x32e3b4,_0x1bb109){const _0x3c798b=_0x21bd22;let _0x587bcc=k(_0x5672de),_0x5a98db=k(_0x1bb109);switch(_0x32e3b4){case'is':return _0x587bcc===_0x5a98db;case _0x3c798b(0x123):return _0x587bcc!==_0x5a98db;case _0x3c798b(0x2f1):return _0x5a98db?_0x587bcc['includes'](_0x5a98db):!0x1;case _0x3c798b(0x20a):return _0x5a98db?!_0x587bcc[_0x3c798b(0xec)](_0x5a98db):!0x0;default:return!0x1;}}function k(_0x25b82b){const _0x458b85=_0x21bd22;if(Array[_0x458b85(0x35a)](_0x25b82b))return _0x25b82b[_0x458b85(0x3c2)](_0x15b262=>k(_0x15b262))[_0x458b85(0x1ec)]('\x0a');if(_0x25b82b&&typeof _0x25b82b==_0x458b85(0x391)){var _0x25d873,_0x14416a,_0x38383a,_0x3912bf,_0x3043a3;let _0x397fd0=_0x25b82b;return String((_0x25d873=(_0x14416a=(_0x38383a=(_0x3912bf=(_0x3043a3=_0x397fd0[_0x458b85(0x1d6)])==null?_0x397fd0[_0x458b85(0x3be)]:_0x3043a3)==null?_0x397fd0[_0x458b85(0x263)]:_0x3912bf)==null?_0x397fd0['value']:_0x38383a)==null?_0x397fd0['id']:_0x14416a)==null?'':_0x25d873)[_0x458b85(0x383)]()[_0x458b85(0xb5)]();}return String(_0x25b82b==null?'':_0x25b82b)[_0x458b85(0x383)]()[_0x458b85(0xb5)]();}function Xe(_0x388ad4,_0x57a4fe){const _0x1e9b75=_0x21bd22;var _0x41c050;let _0x414fe7=A(_0x388ad4),_0x1a330e=Ze((_0x41c050=_0x57a4fe[_0x1e9b75(0x396)])==null?{}:_0x41c050);return _0x414fe7[_0x1e9b75(0x103)](_0x513f79=>{var _0x580cf8;return(_0x580cf8=_0x1a330e['get'](_0x513f79))==null?[_0x513f79]:_0x580cf8;})['filter']((_0x546c4e,_0x17c10a,_0x17d82a)=>_0x546c4e!==''&&_0x17d82a[_0x1e9b75(0x326)](_0x546c4e)===_0x17c10a);}function A(_0x1bce42){const _0x2b3d71=_0x21bd22;if(_0x1bce42==null||_0x1bce42==='')return[];if(Array[_0x2b3d71(0x35a)](_0x1bce42))return _0x1bce42[_0x2b3d71(0x103)](_0x3994fe=>A(_0x3994fe));if(_0x1bce42&&typeof _0x1bce42=='object'){let _0x5ca3eb=_0x1bce42;return['id',_0x2b3d71(0x1d6),_0x2b3d71(0x3be),_0x2b3d71(0x11c),'text'][_0x2b3d71(0x103)](_0x1f9bf2=>A(_0x5ca3eb[_0x1f9bf2]))[_0x2b3d71(0x2e1)]((_0x47f176,_0x5d8a91,_0x37766d)=>_0x37766d['indexOf'](_0x47f176)===_0x5d8a91);}return[k(_0x1bce42)];}function Ze(_0x2da6a3){const _0x537ce4=_0x21bd22;let _0x2a0993=new Map();return(Array['isArray'](_0x2da6a3['options'])?_0x2da6a3[_0x537ce4(0x26e)]:[])[_0x537ce4(0x266)](_0x9a431f=>{const _0x35c46a=_0x537ce4;if(!_0x9a431f||typeof _0x9a431f!='object')return;let _0x187bb0=A(_0x9a431f),_0x33fd64=_0x187bb0['filter']((_0x578521,_0x56197d)=>_0x578521!==''&&_0x187bb0[_0x35c46a(0x326)](_0x578521)===_0x56197d);_0x33fd64[_0x35c46a(0x266)](_0x42db8c=>_0x2a0993[_0x35c46a(0x195)](_0x42db8c,_0x33fd64));}),_0x2a0993;}function j(_0xcb9ff7,_0x2f6797={},_0x2d0323=_0x36da32=>_0x36da32,_0x4431bc={}){const _0x59caf6=_0x21bd22;var _0x477267,_0x21404d,_0x123730,_0xb52fcb;let _0x161012=!Pe[_0x59caf6(0x15a)](_0xcb9ff7),_0x415589=_0x2d0323==null?_0x41994a=>_0x41994a:_0x2d0323;return{'type':_0xcb9ff7,'i18nKey':_0x59caf6(0x9f)+_0xcb9ff7,'enabled':_0x161012,'visibleInCreateMenu':_0x161012,'createDefaultConfig':(_0x477267=_0x4431bc[_0x59caf6(0x267)])==null?()=>({}):_0x477267,'createDefaultValue':(_0x21404d=_0x4431bc[_0x59caf6(0xb7)])==null?_0x40c88d=>{var _0x34e4a2;return(_0x34e4a2=_0x40c88d['defaultValue'])==null?null:_0x34e4a2;}:_0x21404d,'normalize':(_0x4cacc5,_0x5ba17e)=>_0x415589(_0x4cacc5,_0x5ba17e),'validate':(_0x2a952d,_0x5a6cf9)=>{const _0x434f33=_0x59caf6;var _0x13f6c3,_0x1534f8;return _0x161012?(_0x13f6c3=(_0x1534f8=_0x4431bc['validate'])==null?void 0x0:_0x1534f8[_0x434f33(0x1d7)](_0x4431bc,_0x2a952d,_0x5a6cf9))==null?{'valid':!0x0}:_0x13f6c3:{'valid':!0x1};},'compare':(_0x5c3c04,_0x548599)=>Fe(_0x5c3c04,_0x548599),'filter':(_0x39bbaf,_0x37b9ef,_0x81afce,_0x4e0886)=>Ie(_0x39bbaf,_0x37b9ef,_0x81afce,_0x4e0886),'toPlainText':(_0x123730=_0x4431bc[_0x59caf6(0x167)])==null?_0x472a40=>_0x472a40==null?'':String(_0x472a40):_0x123730,'fromPlainText':(_0xb52fcb=_0x4431bc[_0x59caf6(0x3a2)])==null?_0x13930b=>_0x415589(_0x13930b,{'id':'','name':'','type':_0xcb9ff7,'config':{}}):_0xb52fcb,'getCapabilities':()=>{const _0x5e48ce=_0x59caf6;var _0xd1b002;return{...Ne,..._0x2f6797,'editable':_0x161012&&((_0xd1b002=_0x2f6797['editable'])==null?Ne[_0x5e48ce(0x11d)]:_0xd1b002)};}};}function Qe(){const _0x14d37a=_0x21bd22;return[j(e['BaseFieldType'][_0x14d37a(0x229)],{'groupable':!0x0,'usableAsTitle':!0x0},void 0x0,{'createDefaultConfig':()=>({'placeholder':_0x14d37a(0x230)}),'createDefaultValue':_0x45e249=>{const _0x1cd59d=_0x14d37a;var _0x312c4a;return(_0x312c4a=_0x45e249[_0x1cd59d(0x1e1)])==null?'':_0x312c4a;}}),j(e[_0x14d37a(0x2bb)][_0x14d37a(0x11f)],{'groupable':!0x0,'usableAsKanbanGroup':!0x0,'supportsOptions':!0x0},_0x18b467=>_0x18b467==null||_0x18b467===''?null:String(_0x18b467),{'createDefaultConfig':()=>({'options':[],'optionSource':{'type':_0x14d37a(0x12d)}})}),j(e[_0x14d37a(0x2bb)]['MultiSelect'],{'filterable':!0x0,'usableAsKanbanGroup':!0x0,'supportsOptions':!0x0,'supportsMultipleValues':!0x0},_0xe2eea=>Array[_0x14d37a(0x35a)](_0xe2eea)?_0xe2eea['map'](String):_0xe2eea==null?[]:[String(_0xe2eea)],{'createDefaultConfig':()=>({'options':[],'optionSource':{'type':_0x14d37a(0x12d)}}),'createDefaultValue':_0x56f46b=>{const _0x410134=_0x14d37a;var _0x60ce18;return(_0x60ce18=_0x56f46b[_0x410134(0x1e1)])==null?[]:_0x60ce18;}}),j(e[_0x14d37a(0x2bb)][_0x14d37a(0x188)],{'groupable':!0x0,'usableAsKanbanGroup':!0x0,'supportsMultipleValues':!0x0},nt,{'createDefaultConfig':()=>({'allowMultiple':!0x1,'provider':_0x14d37a(0x1f4)}),'validate':rt}),j(e['BaseFieldType'][_0x14d37a(0xae)],{'groupable':!0x0,'usableAsKanbanGroup':!0x0,'supportsMultipleValues':!0x0},tt,{'createDefaultConfig':()=>({'allowMultiple':!0x0,'provider':'group'}),'createDefaultValue':_0x4914ce=>{const _0x335c8c=_0x14d37a;var _0x578bea;return(_0x578bea=_0x4914ce[_0x335c8c(0x1e1)])==null?[]:_0x578bea;},'validate':it}),j(e['BaseFieldType'][_0x14d37a(0x14c)],{'groupable':!0x0,'usableAsCalendarDate':!0x0,'usableAsGanttStart':!0x0,'usableAsGanttEnd':!0x0},_0x4a58be=>E(_0x4a58be),{'createDefaultConfig':()=>et(),'validate':at}),j(e[_0x14d37a(0x2bb)][_0x14d37a(0x150)],{'usableAsCardCover':!0x0,'supportsMultipleValues':!0x0},_0x424378=>_0x424378==null?[]:Array[_0x14d37a(0x35a)](_0x424378)?_0x424378:[_0x424378],{'createDefaultValue':_0x4c3078=>{const _0x50cf01=_0x14d37a;var _0x249575;return(_0x249575=_0x4c3078[_0x50cf01(0x1e1)])==null?[]:_0x249575;}}),j(e[_0x14d37a(0x2bb)]['Number'],{},_0x394a28=>_0x394a28==null||_0x394a28===''?null:Number(_0x394a28),{'createDefaultConfig':()=>$e(),'validate':ot}),j(e[_0x14d37a(0x2bb)][_0x14d37a(0x31b)],{'groupable':!0x0,'usableAsKanbanGroup':!0x0},_0x5ee5f1=>_0x5ee5f1===!0x0||_0x5ee5f1===_0x14d37a(0x2b5)||_0x5ee5f1===0x1||_0x5ee5f1==='1',{'createDefaultConfig':()=>({'icon':_0x14d37a(0x239),'color':_0x14d37a(0x2c2)}),'createDefaultValue':_0x3da705=>{const _0x1056c9=_0x14d37a;var _0x287dd8;return(_0x287dd8=_0x3da705[_0x1056c9(0x1e1)])==null?!0x1:_0x287dd8;},'validate':_0x5068ea=>typeof _0x5068ea==_0x14d37a(0x2bc)?{'valid':!0x0}:{'valid':!0x1,'reason':_0x14d37a(0x3ad)}}),j(e[_0x14d37a(0x2bb)][_0x14d37a(0x318)],{'supportsRelation':!0x0},ct,{'createDefaultConfig':()=>({'placeholder':_0x14d37a(0x3b2)}),'toPlainText':_0x66caf7=>lt(_0x66caf7),'fromPlainText':_0x3bb560=>ct(_0x3bb560)}),j(e[_0x14d37a(0x2bb)][_0x14d37a(0x337)],{'editable':!0x1},void 0x0,{'createDefaultConfig':()=>({'formula':'','dependencies':[],'numfmt':{'type':_0x14d37a(0x344),'pattern':'General'}}),'createDefaultValue':()=>null}),j(e[_0x14d37a(0x2bb)][_0x14d37a(0x3a8)],{}),j(e[_0x14d37a(0x2bb)]['Flow'],{}),j(e[_0x14d37a(0x2bb)][_0x14d37a(0x1b3)],{'editable':!0x1,'sortable':!0x1,'filterable':!0x1}),j(e[_0x14d37a(0x2bb)][_0x14d37a(0x3c8)],{'editable':!0x1,'usableAsTitle':!0x0},void 0x0,{'createDefaultConfig':()=>({'mode':_0x14d37a(0x17d)}),'createDefaultValue':()=>null}),j(e['BaseFieldType'][_0x14d37a(0x16e)],{'usableAsTitle':!0x0},_0x19daf9=>_0x19daf9==null?null:String(_0x19daf9)[_0x14d37a(0x383)](),{'validate':_0x322cf0=>_0x322cf0==null||_0x322cf0===''||/^\+?[0-9 ()-]{6,20}$/['test'](String(_0x322cf0))?{'valid':!0x0}:{'valid':!0x1,'reason':_0x14d37a(0xf9)}}),j(e['BaseFieldType'][_0x14d37a(0x2c4)],{'usableAsTitle':!0x0},_0x4b08c5=>_0x4b08c5==null?null:String(_0x4b08c5)['trim'](),{'validate':_0x3ad846=>_0x3ad846==null||_0x3ad846===''||dt(String(_0x3ad846))?{'valid':!0x0}:{'valid':!0x1,'reason':_0x14d37a(0x1c2)}}),j(e['BaseFieldType']['Location'],{'usableAsTitle':!0x0}),j(e[_0x14d37a(0x2bb)][_0x14d37a(0x27a)],{'usableAsTitle':!0x0}),j(e[_0x14d37a(0x2bb)][_0x14d37a(0x3c9)],{'usableAsGanttProgress':!0x0},_0x51921a=>_0x51921a==null||_0x51921a===''?null:Number(_0x51921a),{'createDefaultConfig':()=>({'format':'percent','decimalPlaces':0x0,'color':_0x14d37a(0xbc),'customRange':!0x1,'start':0x0,'end':0x64}),'validate':(_0x325ea3,_0x183f5a)=>st(_0x325ea3,_0x183f5a,_0x14d37a(0x334))}),j(e['BaseFieldType'][_0x14d37a(0xaf)],{},_0x57d0c6=>_0x57d0c6==null||_0x57d0c6===''?null:Number(_0x57d0c6),{'createDefaultConfig':()=>({...$e(),'currencySymbol':'$'}),'validate':ot}),j(e[_0x14d37a(0x2bb)]['Rating'],{'groupable':!0x0,'usableAsKanbanGroup':!0x0},_0x578b4b=>_0x578b4b==null||_0x578b4b===''?null:Number(_0x578b4b),{'createDefaultConfig':()=>({'icon':_0x14d37a(0x2c0),'min':0x1,'max':0x5}),'createDefaultValue':()=>null,'validate':(_0x3bed17,_0x263632)=>st(_0x3bed17,_0x263632,_0x14d37a(0x384))}),j(e[_0x14d37a(0x2bb)][_0x14d37a(0x2c8)],{'supportsRelation':!0x0}),j(e[_0x14d37a(0x2bb)][_0x14d37a(0x36a)],{'editable':!0x1,'sortable':!0x0,'filterable':!0x0,'usableAsTitle':!0x0}),j(e[_0x14d37a(0x2bb)][_0x14d37a(0x378)],{'editable':!0x1,'groupable':!0x0},_0x91c152=>_0x91c152==null?null:String(_0x91c152),{'createDefaultConfig':()=>({'provider':'user'}),'createDefaultValue':()=>null}),j(e[_0x14d37a(0x2bb)][_0x14d37a(0x1c6)],{'editable':!0x1,'groupable':!0x0},_0xe96297=>_0xe96297==null?null:String(_0xe96297),{'createDefaultConfig':()=>({'provider':_0x14d37a(0x315)}),'createDefaultValue':()=>null}),j(e['BaseFieldType'][_0x14d37a(0x225)],{'editable':!0x1,'usableAsCalendarDate':!0x0,'usableAsGanttStart':!0x0,'usableAsGanttEnd':!0x0},_0x20d6c8=>E(_0x20d6c8),{'createDefaultConfig':()=>et(),'createDefaultValue':()=>null,'validate':at}),j(e['BaseFieldType'][_0x14d37a(0x1c3)],{'editable':!0x1,'usableAsCalendarDate':!0x0,'usableAsGanttStart':!0x0,'usableAsGanttEnd':!0x0},_0x3e89c8=>E(_0x3e89c8),{'createDefaultConfig':()=>et(),'createDefaultValue':()=>null,'validate':at}),j(e['BaseFieldType'][_0x14d37a(0x29b)],{})];}function $e(){const _0x76086c=_0x21bd22;return{'pattern':_0x76086c(0x16f),'decimalPlaces':0x2,'separatorStyle':_0x76086c(0x36c),'useThousands':!0x0,'abbreviation':'none','allowNegative':!0x0};}function et(){const _0x2f7187=_0x21bd22;return{'locale':_0x2f7187(0x13d),'pattern':_0x2f7187(0x224),'includeTime':!0x1,'hourCycle':_0x2f7187(0xba),'defaultMode':_0x2f7187(0x1ca)};}function tt(_0x236fcf){const _0x46ac37=_0x21bd22;return _0x236fcf==null||_0x236fcf===''?[]:Array['isArray'](_0x236fcf)?_0x236fcf[_0x46ac37(0x3c2)](String):[String(_0x236fcf)];}function nt(_0x3b4152,_0x422098){const _0x145f5e=_0x21bd22;var _0x43f34a;return _0x3b4152==null||_0x3b4152===''?_0x422098[_0x145f5e(0x396)][_0x145f5e(0x275)]===!0x0?[]:null:_0x422098['config'][_0x145f5e(0x275)]===!0x0?Array['isArray'](_0x3b4152)?_0x3b4152[_0x145f5e(0x3c2)](String):[String(_0x3b4152)]:Array[_0x145f5e(0x35a)](_0x3b4152)?String((_0x43f34a=_0x3b4152[0x0])==null?'':_0x43f34a)||null:String(_0x3b4152);}function rt(_0x49ed8e,_0x5dfb67){const _0x4ca85d=_0x21bd22;return _0x5dfb67[_0x4ca85d(0x396)][_0x4ca85d(0x275)]===!0x0?it(_0x49ed8e):_0x49ed8e==null||_0x49ed8e===''||typeof _0x49ed8e==_0x4ca85d(0x14d)?{'valid':!0x0}:{'valid':!0x1,'reason':_0x4ca85d(0xdb)};}function it(_0x206567){const _0x51c227=_0x21bd22;return _0x206567==null||Array['isArray'](_0x206567)&&_0x206567[_0x51c227(0x118)](_0x4c1e7d=>typeof _0x4c1e7d==_0x51c227(0x14d))?{'valid':!0x0}:{'valid':!0x1,'reason':_0x51c227(0x3c1)};}function at(_0x4b24f7){const _0x6f90f2=_0x21bd22;return _0x4b24f7==null||typeof _0x4b24f7==_0x6f90f2(0x307)&&Number[_0x6f90f2(0x342)](_0x4b24f7)?{'valid':!0x0}:{'valid':!0x1,'reason':_0x6f90f2(0x227)};}function ot(_0x4e2aa6,_0x14e6e5){const _0x193b3f=_0x21bd22;return _0x4e2aa6==null||_0x4e2aa6===''?{'valid':!0x0}:typeof _0x4e2aa6!=_0x193b3f(0x307)||!Number[_0x193b3f(0x342)](_0x4e2aa6)?{'valid':!0x1,'reason':'[BaseField]:\x20invalid\x20number\x20value.'}:_0x14e6e5[_0x193b3f(0x396)][_0x193b3f(0x221)]===!0x1&&_0x4e2aa6<0x0?{'valid':!0x1,'reason':_0x193b3f(0xeb)}:{'valid':!0x0};}function st(_0xc939ed,_0x1b940a,_0x11309d){const _0x4ae9ec=_0x21bd22;var _0x28bded,_0x2fd67f,_0x34d5cd,_0x1ce198;let _0x2ea3d8=ot(_0xc939ed,_0x1b940a);if(!_0x2ea3d8[_0x4ae9ec(0x1d9)]||_0xc939ed==null||_0xc939ed==='')return _0x2ea3d8;let _0x1bc09f=Number((_0x28bded=(_0x2fd67f=_0x1b940a['config'][_0x4ae9ec(0x151)])==null?_0x1b940a[_0x4ae9ec(0x396)]['start']:_0x2fd67f)==null?0x0:_0x28bded),_0x9a5782=Number((_0x34d5cd=(_0x1ce198=_0x1b940a[_0x4ae9ec(0x396)][_0x4ae9ec(0x38a)])==null?_0x1b940a[_0x4ae9ec(0x396)][_0x4ae9ec(0x385)]:_0x1ce198)==null?0x64:_0x34d5cd),_0x28c7c0=Number(_0xc939ed);return _0x28c7c0>=_0x1bc09f&&_0x28c7c0<=_0x9a5782?{'valid':!0x0}:{'valid':!0x1,'reason':_0x11309d};}function ct(_0x182761){const _0x542e1a=_0x21bd22;if(_0x182761==null||_0x182761==='')return null;if(typeof _0x182761==_0x542e1a(0x391)&&!Array[_0x542e1a(0x35a)](_0x182761)){let _0x1b863a=_0x182761,_0x14fefd=typeof _0x1b863a[_0x542e1a(0x263)]=='string'?_0x1b863a[_0x542e1a(0x263)][_0x542e1a(0x383)]():'',_0x542a13=typeof _0x1b863a[_0x542e1a(0x1a9)]=='string'?_0x1b863a[_0x542e1a(0x1a9)][_0x542e1a(0x383)]():'',_0x164b07=ut(_0x542a13||_0x14fefd);return _0x164b07?{'text':_0x14fefd||_0x542a13||_0x164b07,'url':_0x164b07}:null;}let _0x1fc449=String(_0x182761)[_0x542e1a(0x383)](),_0x5f3e63=ut(_0x1fc449);return _0x5f3e63?{'text':_0x1fc449,'url':_0x5f3e63}:null;}function lt(_0x5b8504){const _0x40e058=_0x21bd22;if(_0x5b8504==null)return'';if(typeof _0x5b8504==_0x40e058(0x391)&&!Array[_0x40e058(0x35a)](_0x5b8504)){let _0xa1fd0a=_0x5b8504;return String(_0xa1fd0a['text']||_0xa1fd0a['url']||'');}return String(_0x5b8504);}function ut(_0x248c79){const _0x56a82e=_0x21bd22;let _0x35e234=_0x248c79[_0x56a82e(0x383)]();return _0x35e234?/^[a-z][a-z\d+.-]*:\/\//i[_0x56a82e(0x228)](_0x35e234)?_0x35e234:_0x56a82e(0x2cc)+_0x35e234:'';}function dt(_0x5c3634){const _0x11e6e9=_0x21bd22;let _0x323ae6=_0x5c3634[_0x11e6e9(0x326)]('@');if(_0x323ae6<=0x0||_0x323ae6!==_0x5c3634['lastIndexOf']('@'))return!0x1;let _0x58809=_0x5c3634[_0x11e6e9(0x174)](_0x323ae6+0x1);return _0x58809[_0x11e6e9(0xec)]('.')&&!_0x5c3634[_0x11e6e9(0xec)]('\x20')&&!_0x58809[_0x11e6e9(0x1f2)]('.')&&!_0x58809[_0x11e6e9(0x349)]('.');}const M={'table':_0x5afbde=>[_0x21bd22(0xda),_0x5afbde],'field':(_0x8e62c6,_0x100592)=>[_0x21bd22(0xda),_0x8e62c6,_0x21bd22(0x38f),_0x100592],'fieldOrder':(_0x47e277,_0x2acbbc)=>[_0x21bd22(0xda),_0x47e277,_0x21bd22(0xde),_0x2acbbc],'record':(_0x369143,_0x5572a7)=>[_0x21bd22(0xda),_0x369143,_0x21bd22(0x10e),_0x5572a7],'cell':(_0x4b730b,_0x4c72cf,_0x4ce10b)=>[_0x21bd22(0xda),_0x4b730b,_0x21bd22(0x10e),_0x4c72cf,'values',_0x4ce10b],'cellData':(_0x15deab,_0x1b1677,_0x3dcf0e)=>[_0x21bd22(0xda),_0x15deab,_0x21bd22(0x3ca),String(_0x1b1677),String(_0x3dcf0e)],'attachmentSet':(_0x1ecf84,_0x702ec9)=>['tables',_0x1ecf84,_0x21bd22(0x39e),_0x21bd22(0x102),_0x702ec9],'attachment':(_0x5f5d88,_0x1fc292)=>[_0x21bd22(0xda),_0x5f5d88,'resources',_0x21bd22(0x2b8),_0x1fc292],'view':(_0x322ead,_0x126819)=>[_0x21bd22(0xda),_0x322ead,_0x21bd22(0xfa),_0x126819],'viewFieldHidden':(_0x1e7b1a,_0x24ce78,_0x251e6f)=>[_0x21bd22(0xda),_0x1e7b1a,_0x21bd22(0xfa),_0x24ce78,_0x21bd22(0x13c),_0x251e6f,_0x21bd22(0x218)]};function N(_0x5ceb69){const _0x2f67a9=_0x21bd22;return _0x5ceb69['reduce']((_0x34329b,_0x3e92fd)=>_0x34329b==null?_0x3e92fd:e['JSON1'][_0x2f67a9(0x3ab)][_0x2f67a9(0xc8)](_0x34329b,_0x3e92fd),void 0x0);}var P=class{[_0x21bd22(0x1af)](_0x414610,_0x4b3a41){const _0x52716c=_0x21bd22;let _0x1a7263=this['renameFormulaUnitReferences'](_0x414610,_0x414610[_0x52716c(0x1d6)],_0x4b3a41);return N([this[_0x52716c(0x394)]([_0x52716c(0x1d6)],_0x414610['name'],_0x4b3a41),..._0x1a7263?[_0x1a7263]:[]]);}[_0x21bd22(0x201)](_0xae3bd5,_0xaa9051,_0x3347fd){const _0x43d747=_0x21bd22;let _0xfc76b=Object[_0x43d747(0x203)](_0xae3bd5['tables'])['flatMap'](_0x1fa721=>Object[_0x43d747(0x203)](_0x1fa721[_0x43d747(0x38f)])[_0x43d747(0x103)](_0x70b625=>{const _0x52938a=_0x43d747;var _0x216a21,_0x1718a0,_0x3c7c83;if(_0x70b625[_0x52938a(0x3ab)]!==e[_0x52938a(0x2bb)]['Formula'])return[];let _0x184326=String((_0x216a21=(_0x1718a0=_0x70b625[_0x52938a(0x396)])==null?void 0x0:_0x1718a0[_0x52938a(0xcf)])==null?'':_0x216a21),_0x2a39a8=(0x0,t[_0x52938a(0x2fb)])(_0x184326,_0xaa9051,_0x3347fd);return _0x2a39a8===_0x184326?[]:[this['_replaceOptional']([...M['field'](_0x1fa721['id'],_0x70b625['id']),_0x52938a(0x396),_0x52938a(0xcf)],(_0x3c7c83=_0x70b625['config'])==null?void 0x0:_0x3c7c83[_0x52938a(0xcf)],_0x2a39a8)];}));return _0xfc76b[_0x43d747(0x1e3)]>0x0?N(_0xfc76b):void 0x0;}[_0x21bd22(0x343)](_0x4d2440,_0x3dd727,_0x407a2a=_0x4d2440[_0x21bd22(0x32e)][_0x21bd22(0x1e3)]){const _0xbd46cc=_0x21bd22;return N([e[_0xbd46cc(0x1c8)][_0xbd46cc(0x370)](M[_0xbd46cc(0x1e7)](_0x3dd727['id']),_0x3dd727),e['JSON1']['insertOp']([_0xbd46cc(0x32e),_0x407a2a],_0x3dd727['id'])]);}[_0x21bd22(0x308)](_0x1d060e,_0x34ec24,_0x3ef3bf){const _0x318442=_0x21bd22;let _0x1260f8=_0x1d060e[_0x318442(0xda)][_0x34ec24]['name'],_0x4d008a=Object[_0x318442(0x203)](_0x1d060e[_0x318442(0xda)])['flatMap'](_0x198316=>Object['values'](_0x198316[_0x318442(0x38f)])[_0x318442(0x103)](_0x4ba2a5=>{const _0x16638a=_0x318442;var _0x3d662a,_0x3dd219;if(_0x4ba2a5[_0x16638a(0x3ab)]!==e['BaseFieldType'][_0x16638a(0x337)])return[];let _0x981122=String((_0x3d662a=(_0x3dd219=_0x4ba2a5[_0x16638a(0x396)])==null?void 0x0:_0x3dd219[_0x16638a(0xcf)])==null?'':_0x3d662a),_0x4a4070=vt(_0x981122,_0x1260f8,_0x3ef3bf);return _0x4a4070===_0x981122?[]:[this[_0x16638a(0x319)](_0x1d060e,_0x198316['id'],_0x4ba2a5['id'],{'config':{..._0x4ba2a5['config'],'formula':_0x4a4070}})];}));return N([e[_0x318442(0x1c8)][_0x318442(0x22f)]([...M[_0x318442(0x1e7)](_0x34ec24),'name'],_0x1260f8,_0x3ef3bf),..._0x4d008a]);}['deleteTable'](_0x46911b,_0x1e406d){const _0x1ea0ce=_0x21bd22;let _0x555a86=_0x46911b[_0x1ea0ce(0xda)][_0x1e406d],_0x580f22=_0x46911b['tableOrder'][_0x1ea0ce(0x326)](_0x1e406d);return N([e[_0x1ea0ce(0x1c8)][_0x1ea0ce(0x2d1)](M[_0x1ea0ce(0x1e7)](_0x1e406d),_0x555a86),e[_0x1ea0ce(0x1c8)][_0x1ea0ce(0x2d1)]([_0x1ea0ce(0x32e),_0x580f22],_0x1e406d)]);}[_0x21bd22(0x21c)](_0x34c5ba,_0x4c39ad,_0x110ac6){const _0x457c3b=_0x21bd22;return this[_0x457c3b(0x128)](_0x34c5ba,_0x4c39ad,[_0x110ac6]);}[_0x21bd22(0x128)](_0x5fb472,_0xd8a3d7,_0x5ddbde){const _0x5835e1=_0x21bd22;let _0x49c1b8=_0x5fb472[_0x5835e1(0xda)][_0xd8a3d7],_0x1e7a39=_0x5ddbde['filter'](_0x29f118=>_0x29f118&&!_0x49c1b8[_0x5835e1(0x10e)][_0x29f118['id']]);return _0x1e7a39['length']?N([..._0x1e7a39['map'](_0x3204f8=>e[_0x5835e1(0x1c8)][_0x5835e1(0x370)](M[_0x5835e1(0x346)](_0xd8a3d7,_0x3204f8['id']),_0x3204f8)),this[_0x5835e1(0x379)](_0x5fb472,_0xd8a3d7,_0x1e7a39)]):e['JSON1'][_0x5835e1(0x22f)]([...M[_0x5835e1(0x1e7)](_0xd8a3d7),_0x5835e1(0x10e)],_0x49c1b8[_0x5835e1(0x10e)],_0x49c1b8['records']);}[_0x21bd22(0x35d)](_0xfc860c,_0x5b40d6,_0x295673){const _0x48db41=_0x21bd22;return this[_0x48db41(0x2ec)](_0xfc860c,_0x5b40d6,[_0x295673]);}[_0x21bd22(0x2ec)](_0x56aced,_0x4c4109,_0x17218b){const _0x99a3d2=_0x21bd22;let _0x4ada77=_0x56aced[_0x99a3d2(0xda)][_0x4c4109],_0x8b9c66=Array[_0x99a3d2(0x139)](new Set(_0x17218b))[_0x99a3d2(0x2e1)](_0x54aabf=>_0x4ada77['records'][_0x54aabf]);if(!_0x8b9c66[_0x99a3d2(0x1e3)])return e[_0x99a3d2(0x1c8)][_0x99a3d2(0x22f)]([...M['table'](_0x4c4109),_0x99a3d2(0x10e)],_0x4ada77[_0x99a3d2(0x10e)],_0x4ada77[_0x99a3d2(0x10e)]);let _0x398f32=new Set(_0x8b9c66),_0x1b9254=_0x8b9c66[_0x99a3d2(0x3c2)](_0xe7773c=>{const _0x40af56=_0x99a3d2;var _0x563bf7,_0x32e069;return{'recordId':_0xe7773c,'index':(_0x563bf7=(_0x32e069=_0x4ada77[_0x40af56(0x176)])==null?void 0x0:_0x32e069[_0x40af56(0x326)](_0xe7773c))==null?-0x1:_0x563bf7};})['filter'](_0x4a05b3=>_0x4a05b3[_0x99a3d2(0x26d)]>=0x0)[_0x99a3d2(0x2b9)]((_0x4fb840,_0x126983)=>_0x126983[_0x99a3d2(0x26d)]-_0x4fb840[_0x99a3d2(0x26d)]);return N([..._0x8b9c66[_0x99a3d2(0x3c2)](_0x67182d=>e[_0x99a3d2(0x1c8)][_0x99a3d2(0x2d1)](M[_0x99a3d2(0x346)](_0x4c4109,_0x67182d),_0x4ada77['records'][_0x67182d])),..._0x1b9254[_0x99a3d2(0x3c2)](({recordId:_0x5b5839,index:_0x852baf})=>e[_0x99a3d2(0x1c8)][_0x99a3d2(0x2d1)](['tables',_0x4c4109,'recordOrder',_0x852baf],_0x5b5839)),...this[_0x99a3d2(0xd3)](_0x4ada77,_0x4c4109,_0x22516a=>{const _0x23f7c0=_0x99a3d2;let _0x32b601=_0x22516a['slice'](_0x22516a['lastIndexOf']('\x1f')+0x1);return _0x398f32[_0x23f7c0(0x15a)](_0x32b601);})]);}['duplicateRecord'](_0x42d7dc,_0x1b0063,_0x4b9830,_0x4abf7c){const _0xd0da59=_0x21bd22;return this[_0xd0da59(0x21c)](_0x42d7dc,_0x1b0063,{..._0x4abf7c,'values':{..._0x42d7dc['tables'][_0x1b0063][_0xd0da59(0x10e)][_0x4b9830][_0xd0da59(0x203)],..._0x4abf7c[_0xd0da59(0x203)]}});}[_0x21bd22(0x3a4)](_0x1bfaf9,_0x7ee4c6,_0x244e3d,_0x342ded){const _0x3f9f18=_0x21bd22;let _0x5b7c74=_0x1bfaf9[_0x3f9f18(0xda)][_0x7ee4c6],_0x55ffdb=[...M[_0x3f9f18(0x346)](_0x7ee4c6,_0x244e3d),'orderKey'],_0x117ce7=Object[_0x3f9f18(0x203)](_0x5b7c74[_0x3f9f18(0x10e)])[_0x3f9f18(0x3c2)](_0x12eefc=>_0x12eefc['id']===_0x244e3d?{..._0x12eefc,'orderKey':_0x342ded}:_0x12eefc)[_0x3f9f18(0x2b9)]((_0x3d1b4d,_0x491216)=>{const _0x1016e9=_0x3f9f18;var _0x576d54,_0x45c38b;return String((_0x576d54=_0x3d1b4d[_0x1016e9(0x2f3)])==null?_0x3d1b4d['id']:_0x576d54)[_0x1016e9(0x322)](String((_0x45c38b=_0x491216[_0x1016e9(0x2f3)])==null?_0x491216['id']:_0x45c38b));})[_0x3f9f18(0x3c2)](_0x4bfe81=>_0x4bfe81['id']),_0x1f26a9=[...M['table'](_0x7ee4c6),'recordOrder'];return N([e[_0x3f9f18(0x1c8)][_0x3f9f18(0x22f)](_0x55ffdb,_0x5b7c74[_0x3f9f18(0x10e)][_0x244e3d][_0x3f9f18(0x2f3)],_0x342ded),_0x5b7c74['recordOrder']?e[_0x3f9f18(0x1c8)][_0x3f9f18(0x22f)](_0x1f26a9,_0x5b7c74[_0x3f9f18(0x176)],_0x117ce7):e['JSON1']['insertOp'](_0x1f26a9,_0x117ce7)]);}['updateCell'](_0x1919e5,_0x4cd316,_0x33d0b6,_0x4e7103,_0x4b5cac){const _0x1cff85=_0x21bd22;var _0x3d10b0,_0x5ebd82;let _0x2517d0=_0x1919e5[_0x1cff85(0xda)][_0x4cd316],_0x51f672=ft(_0x2517d0,_0x33d0b6,_0x4e7103)?_0x2517d0:d(_0x2517d0),_0x5224bb=(_0x3d10b0=_0x51f672[_0x1cff85(0x133)])==null?void 0x0:_0x3d10b0[_0x33d0b6],_0x29b1a0=(_0x5ebd82=_0x51f672[_0x1cff85(0x3a7)])==null?void 0x0:_0x5ebd82[_0x4e7103];if(_0x5224bb==null||_0x29b1a0==null){var _0x2407ee;return this[_0x1cff85(0x394)](M[_0x1cff85(0x19a)](_0x4cd316,_0x33d0b6,_0x4e7103),(_0x2407ee=_0x1919e5['tables'][_0x4cd316])==null||(_0x2407ee=_0x2407ee[_0x1cff85(0x10e)][_0x33d0b6])==null?void 0x0:_0x2407ee[_0x1cff85(0x203)][_0x4e7103],_0x4b5cac);}return this[_0x1cff85(0xf8)](_0x1919e5,_0x4cd316,[{'row':_0x5224bb,'col':_0x29b1a0,'value':_0x4b5cac}]);}[_0x21bd22(0x15e)](_0x20cd2c,_0x599db9,_0x483503){const _0x53678d=_0x21bd22;let _0xdc2acb=_0x20cd2c[_0x53678d(0xda)][_0x599db9],_0x188269=_0x483503['every'](_0x51d67f=>Object[_0x53678d(0xdc)](_0x51d67f['values'])[_0x53678d(0x118)](_0x5dd944=>ft(_0xdc2acb,_0x51d67f[_0x53678d(0x232)],_0x5dd944)))?_0xdc2acb:d(_0xdc2acb),_0x386768=_0x483503['flatMap'](_0x4e60a0=>Object['entries'](_0x4e60a0[_0x53678d(0x203)])[_0x53678d(0x103)](([_0x2d13f1,_0x45537b])=>{const _0x48bcb2=_0x53678d;var _0x5485b6,_0x5bbbea;let _0x363cba=(_0x5485b6=_0x188269[_0x48bcb2(0x133)])==null?void 0x0:_0x5485b6[_0x4e60a0[_0x48bcb2(0x232)]],_0x47c33d=(_0x5bbbea=_0x188269['colIndex'])==null?void 0x0:_0x5bbbea[_0x2d13f1];return _0x363cba==null||_0x47c33d==null?[]:[{'row':_0x363cba,'col':_0x47c33d,'value':_0x45537b}];})),_0x2d0f2d=_0x483503['flatMap'](_0x58b098=>{const _0x2da14c=_0x53678d;var _0x51e290;return Object[_0x2da14c(0x2d7)]((_0x51e290=_0x58b098[_0x2da14c(0x1f3)])==null?{}:_0x51e290)[_0x2da14c(0x3c2)](([_0x5da7da,_0x35be45])=>{const _0x5532e0=_0x2da14c;var _0x4ce6b0;let _0x4c60f7=[...M['record'](_0x599db9,_0x58b098[_0x5532e0(0x232)]),_0x5da7da],_0x12f154=(_0x4ce6b0=_0x20cd2c[_0x5532e0(0xda)][_0x599db9])==null||(_0x4ce6b0=_0x4ce6b0[_0x5532e0(0x10e)][_0x58b098[_0x5532e0(0x232)]])==null?void 0x0:_0x4ce6b0[_0x5da7da];return this['_replaceOptional'](_0x4c60f7,_0x12f154,_0x35be45);});});return N([this[_0x53678d(0xf8)](_0x20cd2c,_0x599db9,_0x386768),..._0x2d0f2d]);}['setRangeValues'](_0x17e900,_0x2faf9c,_0x1a4936){const _0x25a1a5=_0x21bd22;let _0x42619f=_0x17e900[_0x25a1a5(0xda)][_0x2faf9c],_0x1a0c34=_0x1a4936[_0x25a1a5(0x118)](_0xdfaae5=>pt(_0x42619f,_0xdfaae5[_0x25a1a5(0x282)],_0xdfaae5[_0x25a1a5(0x1cd)]))?_0x42619f:d(_0x42619f),_0x1a2945=_0x1a4936['flatMap'](_0x1191f7=>{const _0x3682ed=_0x25a1a5;var _0x5a0df9,_0x1fb11c,_0xb14839,_0x28f7fb;let _0xa32694=(_0x5a0df9=_0x1a0c34[_0x3682ed(0x27f)])==null?void 0x0:_0x5a0df9[_0x1191f7[_0x3682ed(0x1cd)]],_0xc15104=(_0x1fb11c=_0x1a0c34[_0x3682ed(0x108)])==null?void 0x0:_0x1fb11c[_0x1191f7[_0x3682ed(0x282)]],_0x43a199=_0xa32694?_0x1a0c34['fields'][_0xa32694]:void 0x0,_0x211850=y(_0x1191f7[_0x3682ed(0x11c)],_0x43a199),_0x15465c=(_0xb14839=_0x1a0c34[_0x3682ed(0x3ca)])==null||(_0xb14839=_0xb14839[_0x1191f7['row']])==null?void 0x0:_0xb14839[_0x1191f7['col']],_0xe78c9c=this[_0x3682ed(0x394)](M[_0x3682ed(0x3ca)](_0x2faf9c,_0x1191f7[_0x3682ed(0x282)],_0x1191f7[_0x3682ed(0x1cd)]),_0x15465c,_0x211850);if(!_0xa32694||!_0xc15104)return[_0xe78c9c];let _0x63217e=(_0x28f7fb=_0x1a0c34[_0x3682ed(0x10e)][_0xc15104])==null?void 0x0:_0x28f7fb[_0x3682ed(0x203)][_0xa32694],_0x3218f2=(_0x43a199==null?void 0x0:_0x43a199[_0x3682ed(0x3ab)])===e[_0x3682ed(0x2bb)][_0x3682ed(0x150)]?x(_0x1191f7['value']):te(_0x1191f7['value'],_0x211850,_0x43a199,_0x1a0c34,_0xc15104),_0x42e614=[_0xe78c9c,this[_0x3682ed(0x394)](M[_0x3682ed(0x19a)](_0x2faf9c,_0xc15104,_0xa32694),_0x63217e,_0x3218f2)];if((_0x43a199==null?void 0x0:_0x43a199[_0x3682ed(0x3ab)])!==e[_0x3682ed(0x2bb)][_0x3682ed(0x150)])return _0x42e614;let _0x38e9fd=this[_0x3682ed(0x215)](_0x1a0c34,_0x2faf9c,_0xc15104,_0xa32694,_0x3218f2);return[..._0x42e614,..._0x38e9fd];});return _0x1a2945['length']?N(_0x1a2945):e[_0x25a1a5(0x1c8)][_0x25a1a5(0x22f)]([_0x25a1a5(0xda),_0x2faf9c,_0x25a1a5(0x3ca)],_0x1a0c34[_0x25a1a5(0x3ca)],_0x1a0c34['cellData']);}[_0x21bd22(0x1f0)](_0x4976c2,_0x1058ad,_0x3bb091){const _0x51a964=_0x21bd22;var _0x117ed2,_0x12b6c2;let _0x46ee5d=_0x4976c2['tables'][_0x1058ad];if(_0x46ee5d[_0x51a964(0x38f)][_0x3bb091[_0x51a964(0x366)]['id']]||_0x46ee5d[_0x51a964(0xde)][_0x51a964(0xec)](_0x3bb091[_0x51a964(0x366)]['id']))return e[_0x51a964(0x1c8)][_0x51a964(0x22f)]([_0x51a964(0xda),_0x1058ad,'fieldOrder'],_0x46ee5d['fieldOrder'],_0x46ee5d[_0x51a964(0xde)]);let _0x1e4013=(_0x117ed2=_0x3bb091[_0x51a964(0x26d)])==null?_0x46ee5d[_0x51a964(0xde)][_0x51a964(0x1e3)]:_0x117ed2,_0x59f3f3=Object['values']((_0x12b6c2=_0x46ee5d[_0x51a964(0xfa)])==null?{}:_0x12b6c2)[_0x51a964(0x103)](_0x2fdd4c=>{const _0x4be2a1=_0x51a964;var _0x581f3e,_0x1a6d2f;if(!_0x2fdd4c[_0x4be2a1(0xde)]||_0x2fdd4c['fieldOrder'][_0x4be2a1(0xec)](_0x3bb091[_0x4be2a1(0x366)]['id']))return[];let _0x5a4bc0=_t((_0x581f3e=(_0x1a6d2f=_0x3bb091[_0x4be2a1(0x105)])==null?void 0x0:_0x1a6d2f[_0x2fdd4c['id']])==null?_0x1e4013:_0x581f3e,_0x2fdd4c[_0x4be2a1(0xde)]['length']);return[e[_0x4be2a1(0x1c8)]['insertOp']([...M[_0x4be2a1(0x38b)](_0x1058ad,_0x2fdd4c['id']),_0x4be2a1(0xde),_0x5a4bc0],_0x3bb091[_0x4be2a1(0x366)]['id'])];});return N([e[_0x51a964(0x1c8)]['insertOp'](M[_0x51a964(0x366)](_0x1058ad,_0x3bb091[_0x51a964(0x366)]['id']),_0x3bb091['field']),e[_0x51a964(0x1c8)][_0x51a964(0x370)](M['fieldOrder'](_0x1058ad,_0x1e4013),_0x3bb091[_0x51a964(0x366)]['id']),..._0x59f3f3]);}['duplicateField'](_0x2f870b,_0x28b3c4,_0x8d1c71,_0x108463){const _0x2e6245=_0x21bd22;var _0x3cc08d,_0x3a9d7e;let _0x521fdc=_0x2f870b[_0x2e6245(0xda)][_0x28b3c4];if(!_0x521fdc['fields'][_0x8d1c71]||_0x521fdc[_0x2e6245(0x38f)][_0x108463[_0x2e6245(0x366)]['id']]||_0x521fdc[_0x2e6245(0xde)][_0x2e6245(0xec)](_0x108463[_0x2e6245(0x366)]['id']))return e[_0x2e6245(0x1c8)][_0x2e6245(0x22f)]([_0x2e6245(0xda),_0x28b3c4,_0x2e6245(0xde)],_0x521fdc[_0x2e6245(0xde)],_0x521fdc['fieldOrder']);let _0x407f09=(_0x3cc08d=_0x108463[_0x2e6245(0x26d)])==null?_0x521fdc[_0x2e6245(0xde)][_0x2e6245(0x326)](_0x8d1c71)+0x1:_0x3cc08d,_0x30a5c7=_0x521fdc['fieldOrder']['filter'](_0x3baa58=>_0x3baa58!==_0x108463[_0x2e6245(0x366)]['id']),_0x3a2153=ht(_0x30a5c7,_0x108463[_0x2e6245(0x366)]['id'],_0x407f09),_0xbb7891=Object['values']((_0x3a9d7e=_0x521fdc[_0x2e6245(0xfa)])==null?{}:_0x3a9d7e)[_0x2e6245(0x103)](_0x332e6d=>{const _0x44620b=_0x2e6245;var _0x4bf272,_0x17c9c6,_0x41b7fc,_0x21aafb,_0x52a36b;let _0x20011e=(_0x4bf272=_0x332e6d[_0x44620b(0xde)])!=null&&_0x4bf272['length']?_0x332e6d[_0x44620b(0xde)]:_0x30a5c7;if(_0x20011e['includes'](_0x108463[_0x44620b(0x366)]['id']))return[];let _0x205528=ht(_0x20011e,_0x108463['field']['id'],(_0x17c9c6=(_0x41b7fc=_0x108463[_0x44620b(0x105)])==null?void 0x0:_0x41b7fc[_0x332e6d['id']])==null?_0x407f09:_0x17c9c6),_0x4c979c=(_0x21aafb=_0x332e6d[_0x44620b(0x13c)])==null?void 0x0:_0x21aafb[_0x8d1c71];return[this['_replaceOptional']([...M[_0x44620b(0x38b)](_0x28b3c4,_0x332e6d['id']),_0x44620b(0xde)],_0x332e6d[_0x44620b(0xde)],_0x205528),..._0x4c979c?[this[_0x44620b(0x394)]([...M[_0x44620b(0x38b)](_0x28b3c4,_0x332e6d['id']),_0x44620b(0x13c),_0x108463[_0x44620b(0x366)]['id']],(_0x52a36b=_0x332e6d[_0x44620b(0x13c)])==null?void 0x0:_0x52a36b[_0x108463[_0x44620b(0x366)]['id']],_0x4c979c)]:[]];}),_0x2bfa41=Object[_0x2e6245(0x203)](_0x521fdc['records'])[_0x2e6245(0x2e1)](_0xd8f830=>Object['prototype'][_0x2e6245(0x1a7)][_0x2e6245(0x1d7)](_0xd8f830[_0x2e6245(0x203)],_0x8d1c71))['map'](_0x317ecb=>this[_0x2e6245(0x394)](M[_0x2e6245(0x19a)](_0x28b3c4,_0x317ecb['id'],_0x108463['field']['id']),_0x317ecb['values'][_0x108463['field']['id']],_0x317ecb['values'][_0x8d1c71]));return N([e[_0x2e6245(0x1c8)][_0x2e6245(0x370)](M[_0x2e6245(0x366)](_0x28b3c4,_0x108463['field']['id']),_0x108463[_0x2e6245(0x366)]),e['JSON1']['replaceOp']([_0x2e6245(0xda),_0x28b3c4,_0x2e6245(0xde)],_0x521fdc['fieldOrder'],_0x3a2153),..._0xbb7891,..._0x2bfa41]);}['updateField'](_0x3fdd1d,_0x136ee0,_0x566808,_0x84c1c){const _0x6de34b=_0x21bd22;let _0x9c3544=_0x3fdd1d[_0x6de34b(0xda)][_0x136ee0]['fields'][_0x566808],_0x40d8b5={..._0x9c3544,..._0x84c1c};Object[_0x6de34b(0xdc)](_0x84c1c)['forEach'](_0x135d5d=>{_0x84c1c[_0x135d5d]===void 0x0&&delete _0x40d8b5[_0x135d5d];});let _0x22fe0e=e[_0x6de34b(0x1c8)][_0x6de34b(0x22f)](M[_0x6de34b(0x366)](_0x136ee0,_0x566808),_0x9c3544,_0x40d8b5);return _0x40d8b5[_0x6de34b(0x3ab)]===e['BaseFieldType'][_0x6de34b(0x337)]?N([_0x22fe0e,...this[_0x6de34b(0xd1)](_0x3fdd1d,_0x136ee0,_0x566808,_0x40d8b5)]):_0x22fe0e;}['changeFieldType'](_0x236801,_0x3be8fa,_0x502db4,_0x344c9f){return this['updateField'](_0x236801,_0x3be8fa,_0x502db4,_0x344c9f);}['deleteField'](_0x16fe97,_0x5909ad,_0x379802){const _0x36539a=_0x21bd22;let _0x2a4ae5=_0x16fe97[_0x36539a(0xda)][_0x5909ad];if(!(_0x2a4ae5!=null&&_0x2a4ae5['fields'][_0x379802])||_0x2a4ae5[_0x36539a(0x329)]===_0x379802)return e[_0x36539a(0x1c8)][_0x36539a(0x22f)]([_0x36539a(0xda),_0x5909ad,_0x36539a(0xde)],_0x2a4ae5==null?void 0x0:_0x2a4ae5[_0x36539a(0xde)],_0x2a4ae5==null?void 0x0:_0x2a4ae5[_0x36539a(0xde)]);let _0x4b0ceb=_0x2a4ae5[_0x36539a(0xde)][_0x36539a(0x326)](_0x379802),_0x5868f0=Object[_0x36539a(0x203)](_0x2a4ae5['views'])[_0x36539a(0x103)](_0x2a92f3=>{const _0x1b34e3=_0x36539a;var _0x254f16,_0x4bc7c6,_0x4b6479,_0xa54447,_0x22dde9,_0x372007,_0x43e99d,_0x2d7250;let _0x4b70b4=[],_0x12a3e0=(_0x254f16=(_0x4bc7c6=_0x2a92f3['fieldOrder'])==null?void 0x0:_0x4bc7c6[_0x1b34e3(0x326)](_0x379802))==null?-0x1:_0x254f16;_0x12a3e0>=0x0&&_0x4b70b4[_0x1b34e3(0x147)](e['JSON1'][_0x1b34e3(0x2d1)]([...M[_0x1b34e3(0x38b)](_0x5909ad,_0x2a92f3['id']),_0x1b34e3(0xde),_0x12a3e0],_0x379802));let _0x5dcf90=(_0x4b6479=_0x2a92f3[_0x1b34e3(0x13c)])==null?void 0x0:_0x4b6479[_0x379802];_0x5dcf90!==void 0x0&&_0x4b70b4[_0x1b34e3(0x147)](e[_0x1b34e3(0x1c8)][_0x1b34e3(0x2d1)]([...M[_0x1b34e3(0x38b)](_0x5909ad,_0x2a92f3['id']),'fieldSettings',_0x379802],_0x5dcf90));let _0xed9d4f=_0x2a92f3['filter']?{..._0x2a92f3[_0x1b34e3(0x2e1)],'conditions':_0x2a92f3['filter'][_0x1b34e3(0x3bb)]['filter'](_0xb8ff5f=>_0xb8ff5f['fieldId']!==_0x379802)}:_0x2a92f3[_0x1b34e3(0x2e1)];_0xed9d4f&&_0xed9d4f[_0x1b34e3(0x3bb)][_0x1b34e3(0x1e3)]!==((_0xa54447=_0x2a92f3['filter'])==null?void 0x0:_0xa54447[_0x1b34e3(0x3bb)][_0x1b34e3(0x1e3)])&&_0x4b70b4[_0x1b34e3(0x147)](this[_0x1b34e3(0x394)]([...M[_0x1b34e3(0x38b)](_0x5909ad,_0x2a92f3['id']),_0x1b34e3(0x2e1)],_0x2a92f3['filter'],_0xed9d4f));let _0x303719=(_0x22dde9=_0x2a92f3[_0x1b34e3(0x2b9)])==null?void 0x0:_0x22dde9[_0x1b34e3(0x2e1)](_0x25faa7=>_0x25faa7[_0x1b34e3(0x286)]!==_0x379802);_0x303719&&_0x303719[_0x1b34e3(0x1e3)]!==((_0x372007=_0x2a92f3[_0x1b34e3(0x2b9)])==null?void 0x0:_0x372007['length'])&&_0x4b70b4[_0x1b34e3(0x147)](this[_0x1b34e3(0x394)]([...M[_0x1b34e3(0x38b)](_0x5909ad,_0x2a92f3['id']),'sort'],_0x2a92f3['sort'],_0x303719));let _0x3b5120=(_0x43e99d=_0x2a92f3['group'])==null?void 0x0:_0x43e99d[_0x1b34e3(0x2e1)](_0x464d3c=>_0x464d3c[_0x1b34e3(0x286)]!==_0x379802);_0x3b5120&&_0x3b5120[_0x1b34e3(0x1e3)]!==((_0x2d7250=_0x2a92f3[_0x1b34e3(0x1dd)])==null?void 0x0:_0x2d7250['length'])&&_0x4b70b4[_0x1b34e3(0x147)](this[_0x1b34e3(0x394)]([...M[_0x1b34e3(0x38b)](_0x5909ad,_0x2a92f3['id']),_0x1b34e3(0x1dd)],_0x2a92f3[_0x1b34e3(0x1dd)],_0x3b5120));let _0x3c55a3=gt(_0x2a92f3['config'],_0x379802);return JSON[_0x1b34e3(0x26c)](_0x3c55a3)!==JSON[_0x1b34e3(0x26c)](_0x2a92f3[_0x1b34e3(0x396)])&&_0x4b70b4[_0x1b34e3(0x147)](e[_0x1b34e3(0x1c8)][_0x1b34e3(0x22f)]([...M[_0x1b34e3(0x38b)](_0x5909ad,_0x2a92f3['id']),_0x1b34e3(0x396)],_0x2a92f3[_0x1b34e3(0x396)],_0x3c55a3)),_0x4b70b4;}),_0x3cc42c=Object[_0x36539a(0x203)](_0x2a4ae5[_0x36539a(0x10e)])[_0x36539a(0x103)](_0x21597b=>Object[_0x36539a(0x1f9)][_0x36539a(0x1a7)][_0x36539a(0x1d7)](_0x21597b[_0x36539a(0x203)],_0x379802)?[e[_0x36539a(0x1c8)][_0x36539a(0x2d1)](M[_0x36539a(0x19a)](_0x5909ad,_0x21597b['id'],_0x379802),_0x21597b[_0x36539a(0x203)][_0x379802])]:[]);return N([e[_0x36539a(0x1c8)][_0x36539a(0x2d1)](M['field'](_0x5909ad,_0x379802),_0x2a4ae5[_0x36539a(0x38f)][_0x379802]),e[_0x36539a(0x1c8)][_0x36539a(0x2d1)](M[_0x36539a(0xde)](_0x5909ad,_0x4b0ceb),_0x379802),..._0x5868f0,..._0x3cc42c,...this['_deleteAttachmentResources'](_0x2a4ae5,_0x5909ad,_0x958565=>_0x958565['startsWith'](_0x379802+'\x1f'))]);}[_0x21bd22(0x39f)](_0x346f65,_0x5b7eff,_0xd35b06,_0x49deee){const _0x115a30=_0x21bd22;let _0x397913=_0x346f65[_0x115a30(0xda)][_0x5b7eff]['fieldOrder'],_0x494703=mt(_0x397913,_0xd35b06,_0x49deee);return e['JSON1'][_0x115a30(0x22f)]([_0x115a30(0xda),_0x5b7eff,_0x115a30(0xde)],_0x397913,_0x494703);}[_0x21bd22(0x311)](_0x2c1a4e,_0x2a9624,_0xc05169,_0x2be061=_0x2c1a4e[_0x21bd22(0xda)][_0x2a9624][_0x21bd22(0x353)][_0x21bd22(0x1e3)]){const _0x5b9922=_0x21bd22;return N([e[_0x5b9922(0x1c8)][_0x5b9922(0x370)](M['view'](_0x2a9624,_0xc05169['id']),_0xc05169),e[_0x5b9922(0x1c8)][_0x5b9922(0x370)]([_0x5b9922(0xda),_0x2a9624,_0x5b9922(0x353),_0x2be061],_0xc05169['id'])]);}[_0x21bd22(0x250)](_0x107dca,_0x22847d,_0x4f0972,_0x3f516c){const _0x369200=_0x21bd22;return e['JSON1']['replaceOp']([...M[_0x369200(0x38b)](_0x22847d,_0x4f0972),_0x369200(0x1d6)],_0x107dca[_0x369200(0xda)][_0x22847d][_0x369200(0xfa)][_0x4f0972]['name'],_0x3f516c);}['deleteView'](_0x5eb49e,_0x33fe77,_0x586c4f){const _0x53421c=_0x21bd22;let _0x142563=_0x5eb49e['tables'][_0x33fe77],_0x5ed606=_0x142563['views'][_0x586c4f],_0x218c06=_0x142563[_0x53421c(0x353)]['indexOf'](_0x586c4f);return N([e[_0x53421c(0x1c8)][_0x53421c(0x2d1)](M['view'](_0x33fe77,_0x586c4f),_0x5ed606),e['JSON1'][_0x53421c(0x2d1)]([_0x53421c(0xda),_0x33fe77,_0x53421c(0x353),_0x218c06],_0x586c4f)]);}['moveView'](_0x36d5dd,_0x5d9649,_0x38a570,_0x5c8ca7){const _0xf9202a=_0x21bd22;let _0x2500fc=_0x36d5dd[_0xf9202a(0xda)][_0x5d9649][_0xf9202a(0x353)],_0x48ab24=mt(_0x2500fc,_0x38a570,{'beforeFieldId':_0x5c8ca7['beforeViewId'],'afterFieldId':_0x5c8ca7[_0xf9202a(0x20d)]});return e[_0xf9202a(0x1c8)]['replaceOp']([_0xf9202a(0xda),_0x5d9649,_0xf9202a(0x353)],_0x2500fc,_0x48ab24);}[_0x21bd22(0x373)](_0x353314,_0x3086bd,_0x1a5886,_0x5f3a25){const _0x5a669b=_0x21bd22;var _0x25c679;let _0x28d79a=(_0x25c679=_0x353314[_0x5a669b(0xda)][_0x3086bd]['views'][_0x1a5886]['config'])==null?{}:_0x25c679,_0x56ff48={..._0x28d79a,..._0x5f3a25};return Object[_0x5a669b(0xdc)](_0x5f3a25)['forEach'](_0x5cb2b6=>{_0x5f3a25[_0x5cb2b6]===void 0x0&&delete _0x56ff48[_0x5cb2b6];}),e[_0x5a669b(0x1c8)][_0x5a669b(0x22f)]([...M['view'](_0x3086bd,_0x1a5886),_0x5a669b(0x396)],_0x28d79a,_0x56ff48);}[_0x21bd22(0x1ee)](_0x44bd5a,_0x4e4648,_0x455a4c,_0x52c635){const _0x482302=_0x21bd22;return this[_0x482302(0x394)]([...M[_0x482302(0x38b)](_0x4e4648,_0x455a4c),_0x482302(0x2e1)],_0x44bd5a[_0x482302(0xda)][_0x4e4648][_0x482302(0xfa)][_0x455a4c][_0x482302(0x2e1)],_0x52c635);}[_0x21bd22(0x10f)](_0x58af8d,_0x14ec74,_0x5b3285,_0x56d524){const _0x26c87c=_0x21bd22;return this[_0x26c87c(0x394)]([...M[_0x26c87c(0x38b)](_0x14ec74,_0x5b3285),'sort'],_0x58af8d[_0x26c87c(0xda)][_0x14ec74][_0x26c87c(0xfa)][_0x5b3285][_0x26c87c(0x2b9)],_0x56d524);}['setViewGroup'](_0x201266,_0x25df67,_0x59aadc,_0x245e9e){const _0x50b46a=_0x21bd22;return this[_0x50b46a(0x394)]([...M['view'](_0x25df67,_0x59aadc),_0x50b46a(0x1dd)],_0x201266['tables'][_0x25df67][_0x50b46a(0xfa)][_0x59aadc]['group'],_0x245e9e);}[_0x21bd22(0x24c)](_0x50d6a5,_0x1652e8,_0xa919b1,_0x340f1e,_0x3df6cc){const _0x3162a4=_0x21bd22;return this[_0x3162a4(0x2fc)](_0x50d6a5,_0x1652e8,_0xa919b1,_0x340f1e,{'hidden':!_0x3df6cc});}[_0x21bd22(0x16c)](_0x1a2d44,_0x3146ec,_0x3eccae,_0x3b218b,_0x2b8ea6){const _0x410f24=_0x21bd22;return this[_0x410f24(0x2fc)](_0x1a2d44,_0x3146ec,_0x3eccae,_0x3b218b,{'width':_0x2b8ea6});}['setViewFieldOrder'](_0x110417,_0x3b6162,_0x3c2079,_0x47cb6b,_0x522c29){const _0x3207c=_0x21bd22;var _0x10a6ee;let _0x121438=_0x110417[_0x3207c(0xda)][_0x3b6162][_0x3207c(0xfa)][_0x3c2079],_0x19fd1c=mt((_0x10a6ee=_0x121438[_0x3207c(0xde)])==null?_0x110417['tables'][_0x3b6162][_0x3207c(0xde)]:_0x10a6ee,_0x47cb6b,_0x522c29);return this[_0x3207c(0x394)]([...M[_0x3207c(0x38b)](_0x3b6162,_0x3c2079),'fieldOrder'],_0x121438[_0x3207c(0xde)],_0x19fd1c);}[_0x21bd22(0x2fc)](_0x22b753,_0x33f52d,_0x362f0e,_0x2f1d2a,_0x48d46b){const _0x3e60bb=_0x21bd22;var _0x1df75d;let _0x34358b=(_0x1df75d=_0x22b753[_0x3e60bb(0xda)][_0x33f52d]['views'][_0x362f0e][_0x3e60bb(0x13c)])==null?{}:_0x1df75d,_0x25ff2a={..._0x34358b,[_0x2f1d2a]:{..._0x34358b[_0x2f1d2a],..._0x48d46b}};return this[_0x3e60bb(0x394)]([...M[_0x3e60bb(0x38b)](_0x33f52d,_0x362f0e),_0x3e60bb(0x13c)],_0x22b753[_0x3e60bb(0xda)][_0x33f52d][_0x3e60bb(0xfa)][_0x362f0e][_0x3e60bb(0x13c)],_0x25ff2a);}['_createRecordOrderOp'](_0x50df2a,_0x41842a,_0xc647b3){const _0x52d3b0=_0x21bd22;let _0x6b9e6b=_0x50df2a['tables'][_0x41842a],_0x24520c=new Set(_0xc647b3[_0x52d3b0(0x3c2)](_0xde10b3=>_0xde10b3['id'])),_0x49832d=[...Object[_0x52d3b0(0x203)](_0x6b9e6b['records'])[_0x52d3b0(0x2e1)](_0x4c9218=>!_0x24520c[_0x52d3b0(0x15a)](_0x4c9218['id'])),..._0xc647b3]['sort']((_0x10d2a0,_0x19d707)=>{const _0x4dd686=_0x52d3b0;var _0x4200d0,_0x4a5153;return String((_0x4200d0=_0x10d2a0['orderKey'])==null?_0x10d2a0['id']:_0x4200d0)['localeCompare'](String((_0x4a5153=_0x19d707[_0x4dd686(0x2f3)])==null?_0x19d707['id']:_0x4a5153));})[_0x52d3b0(0x3c2)](_0x3924f4=>_0x3924f4['id']),_0x4cceda=[...M[_0x52d3b0(0x1e7)](_0x41842a),_0x52d3b0(0x176)];return _0x6b9e6b['recordOrder']?e['JSON1'][_0x52d3b0(0x22f)](_0x4cceda,_0x6b9e6b[_0x52d3b0(0x176)],_0x49832d):e['JSON1'][_0x52d3b0(0x370)](_0x4cceda,_0x49832d);}[_0x21bd22(0xd1)](_0x6f5bb7,_0x1301bd,_0x37831e,_0x4000fd){const _0x48fd6d=_0x21bd22;var _0x38c700,_0x598786,_0x3b3a7a,_0x685871;let _0x24b41c=d(_0x6f5bb7['tables'][_0x1301bd]),_0x638d2a=String((_0x38c700=(_0x598786=_0x4000fd[_0x48fd6d(0x396)])==null?void 0x0:_0x598786[_0x48fd6d(0xcf)])==null?'':_0x38c700)[_0x48fd6d(0x383)](),_0x143e17=(_0x3b3a7a=_0x24b41c[_0x48fd6d(0x3a7)])==null?void 0x0:_0x3b3a7a[_0x37831e];if(_0x143e17==null)return[];let _0x1cc2f5=(_0x685871=_0x24b41c[_0x48fd6d(0x176)])==null?Object[_0x48fd6d(0xdc)](_0x24b41c['records']):_0x685871,_0x420891=_0x1cc2f5[_0x48fd6d(0x3c2)](_0x3dfd28=>{const _0x4a3efb=_0x48fd6d;var _0x48495e;return(_0x48495e=_0x24b41c[_0x4a3efb(0x133)])==null?void 0x0:_0x48495e[_0x3dfd28];})[_0x48fd6d(0x1bd)](_0x5840c2=>_0x5840c2!=null);return _0x1cc2f5['flatMap'](_0x382a09=>{const _0x14fb73=_0x48fd6d;var _0x373b76,_0x3f32d3;let _0x450533=(_0x373b76=_0x24b41c[_0x14fb73(0x133)])==null?void 0x0:_0x373b76[_0x382a09];if(_0x450533==null)return[];let _0x56f5b6=(_0x3f32d3=_0x24b41c[_0x14fb73(0x3ca)])==null||(_0x3f32d3=_0x3f32d3[_0x450533])==null?void 0x0:_0x3f32d3[_0x143e17],_0x5d932d=_0x638d2a?_0x450533===_0x420891?{'f':_0x638d2a,'si':_0x37831e}:{'si':_0x37831e}:{'v':null,'t':null};return[this[_0x14fb73(0x394)](M[_0x14fb73(0x3ca)](_0x1301bd,_0x450533,_0x143e17),_0x56f5b6,_0x5d932d)];});}[_0x21bd22(0x215)](_0x5e2bbe,_0x36f19c,_0x1711c2,_0xd48ef5,_0x11b944){const _0x456784=_0x21bd22;var _0x2508b8;let _0x4ec976=re(_0xd48ef5,_0x1711c2),_0x1422b2=_0x11b944[_0x456784(0x3c2)]((_0x20c512,_0x248e27)=>{var _0x3f8bf8;return String((_0x3f8bf8=_0x20c512['id'])==null?_0x4ec976+'\x1f'+_0x248e27:_0x3f8bf8);});return[this['_replaceOptional'](M[_0x456784(0x95)](_0x36f19c,_0x4ec976),(_0x2508b8=_0x5e2bbe[_0x456784(0x39e)])==null||(_0x2508b8=_0x2508b8[_0x456784(0x102)])==null?void 0x0:_0x2508b8[_0x4ec976],_0x1422b2),..._0x11b944['map']((_0x22fda9,_0x13faaa)=>{const _0x212619=_0x456784;var _0x55ec76;let _0x17c5d4=_0x1422b2[_0x13faaa];return this['_replaceOptional'](M[_0x212619(0x2f9)](_0x36f19c,_0x17c5d4),(_0x55ec76=_0x5e2bbe[_0x212619(0x39e)])==null||(_0x55ec76=_0x55ec76[_0x212619(0x2b8)])==null?void 0x0:_0x55ec76[_0x17c5d4],{..._0x22fda9,'id':_0x17c5d4});})];}[_0x21bd22(0xd3)](_0x556078,_0x25c4ac,_0x589b0f){const _0x3051fa=_0x21bd22;var _0x1afc26,_0x1119c1;let _0x1f4bc8=(_0x1afc26=(_0x1119c1=_0x556078[_0x3051fa(0x39e)])==null?void 0x0:_0x1119c1[_0x3051fa(0x102)])==null?{}:_0x1afc26,_0x567d9f=Object[_0x3051fa(0x2d7)](_0x1f4bc8)[_0x3051fa(0x2e1)](([_0x404dee])=>_0x589b0f(_0x404dee));if(!_0x567d9f[_0x3051fa(0x1e3)])return[];let _0x8d3815=new Set(Object[_0x3051fa(0x2d7)](_0x1f4bc8)[_0x3051fa(0x2e1)](([_0x32a11d])=>!_0x589b0f(_0x32a11d))[_0x3051fa(0x103)](([,_0x36a7c5])=>_0x36a7c5)),_0x2801fb=new Set(_0x567d9f[_0x3051fa(0x103)](([,_0x5a0051])=>_0x5a0051));return[..._0x567d9f['map'](([_0x158708,_0x225786])=>e[_0x3051fa(0x1c8)][_0x3051fa(0x2d1)](M[_0x3051fa(0x95)](_0x25c4ac,_0x158708),_0x225786)),...Array[_0x3051fa(0x139)](_0x2801fb)[_0x3051fa(0x103)](_0x58b937=>{const _0x2c84a6=_0x3051fa;var _0x5bb89a;let _0x18638c=(_0x5bb89a=_0x556078[_0x2c84a6(0x39e)])==null||(_0x5bb89a=_0x5bb89a[_0x2c84a6(0x2b8)])==null?void 0x0:_0x5bb89a[_0x58b937];return _0x18638c!==void 0x0&&!_0x8d3815[_0x2c84a6(0x15a)](_0x58b937)?[e[_0x2c84a6(0x1c8)][_0x2c84a6(0x2d1)](M[_0x2c84a6(0x2f9)](_0x25c4ac,_0x58b937),_0x18638c)]:[];})];}[_0x21bd22(0x394)](_0xcc746a,_0x5d103e,_0x55ddaf){const _0x29bf62=_0x21bd22;return _0x5d103e===void 0x0?e['JSON1'][_0x29bf62(0x370)](_0xcc746a,_0x55ddaf):e['JSON1']['replaceOp'](_0xcc746a,_0x5d103e,_0x55ddaf);}};function ft(_0x3d90f8,_0x4d149a,_0x7bae7d){const _0xdbc47a=_0x21bd22;var _0x278d90,_0x5a6e4c,_0x5aa7e9,_0x19fa6b;let _0x448453=(_0x278d90=_0x3d90f8[_0xdbc47a(0x133)])==null?void 0x0:_0x278d90[_0x4d149a],_0x46040f=(_0x5a6e4c=_0x3d90f8['colIndex'])==null?void 0x0:_0x5a6e4c[_0x7bae7d];return _0x448453!=null&&_0x46040f!=null&&((_0x5aa7e9=_0x3d90f8[_0xdbc47a(0x108)])==null?void 0x0:_0x5aa7e9[_0x448453])===_0x4d149a&&((_0x19fa6b=_0x3d90f8[_0xdbc47a(0x27f)])==null?void 0x0:_0x19fa6b[_0x46040f])===_0x7bae7d&&_0x3d90f8[_0xdbc47a(0x3ca)]!=null;}function pt(_0x4a225d,_0x9a87e4,_0x4a1ac3){const _0x2622b5=_0x21bd22;var _0x70eb76,_0x26850d;return((_0x70eb76=_0x4a225d[_0x2622b5(0x108)])==null?void 0x0:_0x70eb76[_0x9a87e4])!=null&&((_0x26850d=_0x4a225d['colId'])==null?void 0x0:_0x26850d[_0x4a1ac3])!=null&&_0x4a225d['cellData']!=null;}function mt(_0x224518,_0x9e7249,_0x273287){const _0x5c508e=_0x21bd22;let _0x3363a9=_0x224518['filter'](_0x19def1=>_0x19def1!==_0x9e7249),_0x54d6e2=_0x273287[_0x5c508e(0x235)]?_0x3363a9[_0x5c508e(0x326)](_0x273287[_0x5c508e(0x235)]):_0x273287[_0x5c508e(0xe2)]?_0x3363a9['indexOf'](_0x273287[_0x5c508e(0xe2)])+0x1:_0x3363a9[_0x5c508e(0x1e3)];return _0x3363a9['splice'](_0x54d6e2<0x0?_0x3363a9['length']:_0x54d6e2,0x0,_0x9e7249),_0x3363a9;}function ht(_0x36559b,_0x12936c,_0x22b188){const _0x540ce1=_0x21bd22;let _0x1575dd=_0x36559b[_0x540ce1(0x2e1)](_0x13a34a=>_0x13a34a!==_0x12936c);return _0x1575dd['splice'](_t(_0x22b188,_0x1575dd[_0x540ce1(0x1e3)]),0x0,_0x12936c),_0x1575dd;}function _0x5df8(_0x16d6ac,_0x3a03a0){_0x16d6ac=_0x16d6ac-0x90;const _0x742db5=_0x742d();let _0x5df872=_0x742db5[_0x16d6ac];return _0x5df872;}function gt(_0x1f7435,_0x2c6331,_0x1f75d4){const _0x44c6ec=_0x21bd22;if(Array[_0x44c6ec(0x35a)](_0x1f7435))return _0x1f75d4===_0x44c6ec(0xc4)?_0x1f7435[_0x44c6ec(0x2e1)](_0x11931e=>_0x11931e!==_0x2c6331):_0x1f7435[_0x44c6ec(0x103)](_0x3e34b8=>{const _0x5bd6af=_0x44c6ec;if(_0x3e34b8&&typeof _0x3e34b8==_0x5bd6af(0x391)&&!Array['isArray'](_0x3e34b8)&&_0x3e34b8[_0x5bd6af(0x286)]===_0x2c6331)return[];let _0xbe860b=gt(_0x3e34b8,_0x2c6331);return _0xbe860b===void 0x0?[]:[_0xbe860b];});if(!_0x1f7435||typeof _0x1f7435!=_0x44c6ec(0x391))return _0x1f75d4!=null&&_0x1f75d4[_0x44c6ec(0x349)](_0x44c6ec(0x1b1))&&_0x1f7435===_0x2c6331?void 0x0:_0x1f7435;let _0x3a8609=_0x1f7435;if(_0x3a8609[_0x44c6ec(0x286)]!==_0x2c6331)return Object[_0x44c6ec(0x30a)](Object[_0x44c6ec(0x2d7)](_0x3a8609)[_0x44c6ec(0x103)](([_0x2bea43,_0x49ab5b])=>{const _0x514d42=_0x44c6ec;if(_0x2bea43===_0x2c6331&&_0x1f75d4===_0x514d42(0x13c))return[];let _0x417113=gt(_0x49ab5b,_0x2c6331,_0x2bea43);return _0x417113===void 0x0?[]:[[_0x2bea43,_0x417113]];}));}function _t(_0x3f2a89,_0x5703){const _0x31ba8e=_0x21bd22;return Math[_0x31ba8e(0x38a)](0x0,Math[_0x31ba8e(0x151)](_0x3f2a89,_0x5703));}function vt(_0x3fa0e6,_0x51fd0e,_0xd1d9e){const _0x51b055=_0x21bd22;if(!_0x3fa0e6||!_0x51fd0e||_0x51fd0e===_0xd1d9e)return _0x3fa0e6;let _0x362638='',_0x5ac1ab=!0x1,_0x441b67=_0x51fd0e[_0x51b055(0xb5)]();for(let _0x972da1=0x0;_0x972da1<_0x3fa0e6[_0x51b055(0x1e3)];){let _0x16466e=_0x3fa0e6[_0x972da1];if(_0x16466e==='\x22'){if(_0x5ac1ab&&_0x3fa0e6[_0x972da1+0x1]==='\x22'){_0x362638+='\x22\x22',_0x972da1+=0x2;continue;}_0x5ac1ab=!_0x5ac1ab,_0x362638+=_0x16466e,_0x972da1++;continue;}if(!_0x5ac1ab&&_0x3fa0e6[_0x51b055(0x174)](_0x972da1,_0x972da1+_0x51fd0e['length'])[_0x51b055(0xb5)]()===_0x441b67&&yt(_0x3fa0e6,_0x972da1,_0x51fd0e[_0x51b055(0x1e3)])){_0x362638+=_0xd1d9e,_0x972da1+=_0x51fd0e[_0x51b055(0x1e3)];continue;}_0x362638+=_0x16466e,_0x972da1++;}return _0x362638;}function yt(_0x1ad8b1,_0x1d5e29,_0x341a42){const _0x865736=_0x21bd22;var _0x11eff8;let _0x3a1425=_0x1ad8b1[_0x1d5e29-0x1];if(_0x3a1425&&/[\w.]/['test'](_0x3a1425))return!0x1;let _0x11ad95=_0x1d5e29+_0x341a42;for(;/\s/[_0x865736(0x228)]((_0x11eff8=_0x1ad8b1[_0x11ad95])==null?'':_0x11eff8);)_0x11ad95++;return _0x1ad8b1[_0x11ad95]==='[';}function F(_0x8d7822){'@babel/helpers - typeof';const _0x386aef=_0x21bd22;return F=typeof Symbol==_0x386aef(0x33e)&&typeof Symbol[_0x386aef(0x3af)]==_0x386aef(0x397)?function(_0x310afd){return typeof _0x310afd;}:function(_0x367d32){const _0x438607=_0x386aef;return _0x367d32&&typeof Symbol=='function'&&_0x367d32[_0x438607(0x2b0)]===Symbol&&_0x367d32!==Symbol[_0x438607(0x1f9)]?_0x438607(0x397):typeof _0x367d32;},F(_0x8d7822);}function bt(_0x1063e2,_0x5f457b){const _0x4dd934=_0x21bd22;if(F(_0x1063e2)!=_0x4dd934(0x391)||!_0x1063e2)return _0x1063e2;var _0x115a77=_0x1063e2[Symbol[_0x4dd934(0x328)]];if(_0x115a77!==void 0x0){var _0x57d596=_0x115a77[_0x4dd934(0x1d7)](_0x1063e2,_0x5f457b||_0x4dd934(0xf1));if(F(_0x57d596)!=_0x4dd934(0x391))return _0x57d596;throw TypeError(_0x4dd934(0xa8));}return(_0x5f457b===_0x4dd934(0x14d)?String:Number)(_0x1063e2);}function xt(_0x2ce07d){const _0x445574=_0x21bd22;var _0x2490e3=bt(_0x2ce07d,'string');return F(_0x2490e3)==_0x445574(0x397)?_0x2490e3:_0x2490e3+'';}function I(_0x4906a8,_0xa3b143,_0x371446){const _0x4128e1=_0x21bd22;return(_0xa3b143=xt(_0xa3b143))in _0x4906a8?Object[_0x4128e1(0x3b5)](_0x4906a8,_0xa3b143,{'value':_0x371446,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x4906a8[_0xa3b143]=_0x371446,_0x4906a8;}const L=(0x0,e[_0x21bd22(0x200)])(_0x21bd22(0x22d));var St=class extends e[_0x21bd22(0xcd)]{constructor(..._0x3c9791){const _0x129550=_0x21bd22;super(..._0x3c9791),I(this,_0x129550(0x306),new Map());}['register'](_0x5a8b0c){const _0x9319ac=_0x21bd22;return this[_0x9319ac(0x306)]['set'](_0x5a8b0c[_0x9319ac(0x3ab)],_0x5a8b0c),(0x0,e[_0x9319ac(0x254)])(()=>this[_0x9319ac(0x306)]['delete'](_0x5a8b0c[_0x9319ac(0x3ab)]));}[_0x21bd22(0x294)](_0x44b1c0){const _0x82ce57=_0x21bd22;let _0x2e4f99=this[_0x82ce57(0x306)][_0x82ce57(0x294)](_0x44b1c0);if(!_0x2e4f99)throw Error(_0x82ce57(0x106)+_0x44b1c0+'\x22\x20is\x20not\x20registered.');return _0x2e4f99;}[_0x21bd22(0x13f)](_0x543c2e){const _0x44033c=_0x21bd22;return this[_0x44033c(0x306)][_0x44033c(0x294)](_0x543c2e);}['getAll'](){const _0x4e4146=_0x21bd22;return Array[_0x4e4146(0x139)](this[_0x4e4146(0x306)][_0x4e4146(0x203)]());}};const Ct=(0x0,e[_0x21bd22(0x200)])(_0x21bd22(0x32f));var wt=class{constructor(){const _0x8d63a8=_0x21bd22;I(this,'_basePermissions',new Map()),I(this,_0x8d63a8(0x387),new Map()),I(this,_0x8d63a8(0x1be),new Map()),I(this,_0x8d63a8(0x17c),new Map());}[_0x21bd22(0xb4)](_0x1ae422){const _0x436008=_0x21bd22;var _0x2e6935,_0x22a44e;return(_0x2e6935=(_0x22a44e=this['_basePermissions']['get'](_0x1ae422))==null?void 0x0:_0x22a44e[_0x436008(0x343)])==null?!0x0:_0x2e6935;}[_0x21bd22(0xce)](_0x23ca3d){const _0x4d89fa=_0x21bd22;var _0x2878a8,_0x5a8ac5;return(_0x2878a8=(_0x5a8ac5=this[_0x4d89fa(0x387)][_0x4d89fa(0x294)](_0x23ca3d))==null?void 0x0:_0x5a8ac5[_0x4d89fa(0x265)])==null?!0x0:_0x2878a8;}[_0x21bd22(0x1cb)](_0x3d75fe){const _0x6bc24c=_0x21bd22;var _0x1d825c,_0x34b3d9;return(_0x1d825c=(_0x34b3d9=this[_0x6bc24c(0x387)]['get'](_0x3d75fe))==null?void 0x0:_0x34b3d9[_0x6bc24c(0x1f0)])==null?!0x0:_0x1d825c;}[_0x21bd22(0xad)](_0x13afbb,_0x423d50){const _0x3c3635=_0x21bd22;var _0x5e6fc6,_0x356f34;return(_0x5e6fc6=(_0x356f34=this['_fieldPermissions'][_0x3c3635(0x294)](R(_0x13afbb,_0x423d50)))==null?void 0x0:_0x356f34[_0x3c3635(0x30b)])==null?!0x0:_0x5e6fc6;}['canDeleteField'](_0x2af5b2,_0x14575c){const _0x210f5b=_0x21bd22;var _0x535668,_0x34cef7;return(_0x535668=(_0x34cef7=this[_0x210f5b(0x1be)]['get'](R(_0x2af5b2,_0x14575c)))==null?void 0x0:_0x34cef7[_0x210f5b(0x265)])==null?!0x0:_0x535668;}[_0x21bd22(0x1da)](_0x3c1a7){const _0x28bc56=_0x21bd22;var _0x18124c,_0x21ced8;return(_0x18124c=(_0x21ced8=this['_tablePermissions']['get'](_0x3c1a7))==null?void 0x0:_0x21ced8[_0x28bc56(0x21c)])==null?!0x0:_0x18124c;}['canDeleteRecord'](_0x23dc77,_0x8a6668){const _0x2108a7=_0x21bd22;var _0x160adf,_0x31e549;return(_0x160adf=(_0x31e549=this[_0x2108a7(0x17c)]['get'](Tt(_0x23dc77,_0x8a6668)))==null?void 0x0:_0x31e549[_0x2108a7(0x265)])==null?!0x0:_0x160adf;}[_0x21bd22(0x1e6)](_0x2bf3ff,_0x51e64e,_0x359077){const _0x3e2585=_0x21bd22;var _0x5e011b,_0x4446ed,_0x3c9196,_0x4acbe3;let _0x8ee3da=this[_0x3e2585(0x1be)][_0x3e2585(0x294)](R(_0x2bf3ff,_0x359077));return((_0x5e011b=(_0x4446ed=this[_0x3e2585(0x17c)][_0x3e2585(0x294)](Tt(_0x2bf3ff,_0x51e64e)))==null?void 0x0:_0x4446ed[_0x3e2585(0x220)])==null?!0x0:_0x5e011b)&&((_0x3c9196=_0x8ee3da==null?void 0x0:_0x8ee3da['edit'])==null?!0x0:_0x3c9196)&&((_0x4acbe3=_0x8ee3da==null?void 0x0:_0x8ee3da[_0x3e2585(0x220)])==null?!0x0:_0x4acbe3);}[_0x21bd22(0x3a3)](_0x510343){const _0x5b87ae=_0x21bd22;var _0x31e8d5,_0x23b54d;return(_0x31e8d5=(_0x23b54d=this['_tablePermissions'][_0x5b87ae(0x294)](_0x510343))==null?void 0x0:_0x23b54d[_0x5b87ae(0x347)])==null?!0x0:_0x31e8d5;}[_0x21bd22(0x12f)](_0x3fea03,_0x3110d3){const _0x184a5c=_0x21bd22;this[_0x184a5c(0x122)][_0x184a5c(0x195)](_0x3fea03,{...this['_basePermissions'][_0x184a5c(0x294)](_0x3fea03),..._0x3110d3});}[_0x21bd22(0x115)](_0x1ba9fd,_0xbe5842){const _0x52ad1a=_0x21bd22;this[_0x52ad1a(0x387)][_0x52ad1a(0x195)](_0x1ba9fd,{...this[_0x52ad1a(0x387)][_0x52ad1a(0x294)](_0x1ba9fd),..._0xbe5842});}[_0x21bd22(0x19b)](_0x96f28d,_0x5abcbb,_0x4bfa3d){const _0x125fdf=_0x21bd22;let _0x218fe8=R(_0x96f28d,_0x5abcbb);this[_0x125fdf(0x1be)][_0x125fdf(0x195)](_0x218fe8,{...this[_0x125fdf(0x1be)]['get'](_0x218fe8),..._0x4bfa3d});}[_0x21bd22(0x33c)](_0x543dba,_0x7f2a56,_0xdcc5c){const _0x2b0a47=_0x21bd22;let _0x1fef0f=Tt(_0x543dba,_0x7f2a56);this['_recordPermissions'][_0x2b0a47(0x195)](_0x1fef0f,{...this['_recordPermissions'][_0x2b0a47(0x294)](_0x1fef0f),..._0xdcc5c});}[_0x21bd22(0x3b3)](_0xdc4e9a){const _0x51928d=_0x21bd22;this[_0x51928d(0x122)][_0x51928d(0x265)](_0xdc4e9a);}[_0x21bd22(0xaa)](_0x2baf97){const _0x2ae46f=_0x21bd22;this[_0x2ae46f(0x387)][_0x2ae46f(0x265)](_0x2baf97);}[_0x21bd22(0x3aa)](_0xd59954,_0x1404e1){const _0x15ec3c=_0x21bd22;this[_0x15ec3c(0x1be)][_0x15ec3c(0x265)](R(_0xd59954,_0x1404e1));}[_0x21bd22(0x214)](_0x72bef9,_0x592739){const _0x23e981=_0x21bd22;this[_0x23e981(0x17c)][_0x23e981(0x265)](Tt(_0x72bef9,_0x592739));}[_0x21bd22(0x39d)](){const _0x19e5b6=_0x21bd22;return{'bases':Object[_0x19e5b6(0x30a)](this[_0x19e5b6(0x122)]),'tables':Object[_0x19e5b6(0x30a)](this[_0x19e5b6(0x387)]),'fields':Object[_0x19e5b6(0x30a)](this[_0x19e5b6(0x1be)]),'records':Object[_0x19e5b6(0x30a)](this[_0x19e5b6(0x17c)])};}};function R(_0x51dbf4,_0x3f40c3){return _0x51dbf4+'\x1f'+_0x3f40c3;}function Tt(_0x394703,_0x43d043){return _0x394703+'\x1f'+_0x43d043;}function z(_0x458e08,_0xd4de11){return function(_0xb350c7,_0x1dea80){_0xd4de11(_0xb350c7,_0x1dea80,_0x458e08);};}function B(_0x476650,_0x260d28,_0x335e86,_0x403e3e){const _0x5d0a55=_0x21bd22;var _0x56d8e8=arguments['length'],_0x184207=_0x56d8e8<0x3?_0x260d28:_0x403e3e===null?_0x403e3e=Object[_0x5d0a55(0x15f)](_0x260d28,_0x335e86):_0x403e3e,_0xe7f390;if(typeof Reflect==_0x5d0a55(0x391)&&typeof Reflect[_0x5d0a55(0x390)]==_0x5d0a55(0x33e))_0x184207=Reflect[_0x5d0a55(0x390)](_0x476650,_0x260d28,_0x335e86,_0x403e3e);else{for(var _0x407114=_0x476650[_0x5d0a55(0x1e3)]-0x1;_0x407114>=0x0;_0x407114--)(_0xe7f390=_0x476650[_0x407114])&&(_0x184207=(_0x56d8e8<0x3?_0xe7f390(_0x184207):_0x56d8e8>0x3?_0xe7f390(_0x260d28,_0x335e86,_0x184207):_0xe7f390(_0x260d28,_0x335e86))||_0x184207);}return _0x56d8e8>0x3&&_0x184207&&Object[_0x5d0a55(0x3b5)](_0x260d28,_0x335e86,_0x184207),_0x184207;}const V=(0x0,e[_0x21bd22(0x200)])(_0x21bd22(0x28d));let H=class{constructor(_0x462aaa,_0x4eb772=Et(),_0x5d0358={}){const _0x1fd6f5=_0x21bd22;this[_0x1fd6f5(0x1bf)]=_0x462aaa,this[_0x1fd6f5(0x2a6)]=_0x4eb772,this[_0x1fd6f5(0x3d3)]=_0x5d0358,I(this,_0x1fd6f5(0x1b7),new P()),I(this,_0x1fd6f5(0x350),new w());}[_0x21bd22(0x343)](_0xc4c701,_0x217d8b,_0x25ba10){const _0x5a8843=_0x21bd22;if(!this[_0x5a8843(0x1bf)][_0x5a8843(0xb4)](_0xc4c701[_0x5a8843(0xcc)]()))throw Error(_0x5a8843(0x219));this[_0x5a8843(0x197)](_0xc4c701,this[_0x5a8843(0x1b7)][_0x5a8843(0x343)](_0xc4c701['getSnapshot'](),_0x217d8b,_0x25ba10));}[_0x21bd22(0x308)](_0x3aabc2,_0x4a6de7,_0xfb82f6){const _0x1fbba3=_0x21bd22;this[_0x1fbba3(0x197)](_0x3aabc2,this[_0x1fbba3(0x1b7)][_0x1fbba3(0x308)](_0x3aabc2[_0x1fbba3(0x39d)](),_0x4a6de7,_0xfb82f6));}[_0x21bd22(0x3ae)](_0x3ef866,_0x187694){const _0x534cdc=_0x21bd22;if(!this['_permissionService'][_0x534cdc(0xce)](_0x187694))throw Error(_0x534cdc(0x1ab));this[_0x534cdc(0x197)](_0x3ef866,this[_0x534cdc(0x1b7)][_0x534cdc(0x3ae)](_0x3ef866[_0x534cdc(0x39d)](),_0x187694));}[_0x21bd22(0x362)](_0x4d739d,_0x5a24fc,_0x348af9,_0x12cf25,_0x56b928){const _0x1eb236=_0x21bd22;this[_0x1eb236(0x197)](_0x4d739d,this[_0x1eb236(0x313)](_0x4d739d,_0x5a24fc,_0x348af9,_0x12cf25,_0x56b928));}[_0x21bd22(0x15e)](_0x4c664a,_0x16467b,_0xef10fd){const _0x406d4e=_0x21bd22;this['_apply'](_0x4c664a,this[_0x406d4e(0x369)](_0x4c664a,_0x16467b,_0xef10fd));}['createRecord'](_0x2e1795,_0x4a7f40,_0x3dcaa4){const _0x283c17=_0x21bd22;this[_0x283c17(0x197)](_0x2e1795,this['createCreateRecordOp'](_0x2e1795,_0x4a7f40,_0x3dcaa4));}[_0x21bd22(0x313)](_0x332aa8,_0x337a8e,_0x257417,_0xbe4dc8,_0xb0ab04){const _0x1370a8=_0x21bd22;let _0x6e1c27=_0x332aa8[_0x1370a8(0x39d)](),_0x49087e=this[_0x1370a8(0x3c4)](_0x6e1c27,_0x337a8e,_0x257417,_0xbe4dc8,_0xb0ab04),_0x429f6f=this[_0x1370a8(0x260)](_0x6e1c27,_0x337a8e,_0x257417,{[_0xbe4dc8]:_0x49087e});return this[_0x1370a8(0x1b7)][_0x1370a8(0x15e)](_0x6e1c27,_0x337a8e,[_0x429f6f]);}[_0x21bd22(0x369)](_0x507d9f,_0x1239a9,_0x1853ed){const _0x5d4d21=_0x21bd22;let _0x3f478e=_0x507d9f[_0x5d4d21(0x39d)](),_0x27f593=_0x1853ed[_0x5d4d21(0x3c2)](_0x4084c4=>this[_0x5d4d21(0x260)](_0x3f478e,_0x1239a9,_0x4084c4[_0x5d4d21(0x232)],{...Object[_0x5d4d21(0x30a)](Object[_0x5d4d21(0x2d7)](_0x4084c4[_0x5d4d21(0x203)])[_0x5d4d21(0x3c2)](([_0x5d0e81,_0x2a21fc])=>[_0x5d0e81,this[_0x5d4d21(0x3c4)](_0x3f478e,_0x1239a9,_0x4084c4[_0x5d4d21(0x232)],_0x5d0e81,_0x2a21fc)]))}));return this[_0x5d4d21(0x1b7)]['setRecordValues'](_0x3f478e,_0x1239a9,_0x27f593);}[_0x21bd22(0x120)](_0x14e4e4,_0x4ad662,_0x2aaad1){const _0x7b50e1=_0x21bd22;if(!this[_0x7b50e1(0x1bf)][_0x7b50e1(0x1da)](_0x4ad662))throw Error(_0x7b50e1(0x257));let _0x48203e=_0x14e4e4[_0x7b50e1(0x39d)](),_0x432f6b=this[_0x7b50e1(0x216)](_0x48203e['tables'][_0x4ad662]);return this[_0x7b50e1(0x1b7)][_0x7b50e1(0x21c)](_0x48203e,_0x4ad662,this[_0x7b50e1(0x11b)](_0x48203e,_0x4ad662,_0x2aaad1,_0x432f6b));}['createBatchCreateRecordsOp'](_0x2bdfc5,_0x3a6060,_0x35be80){const _0x2b3f4e=_0x21bd22;if(!this[_0x2b3f4e(0x1bf)][_0x2b3f4e(0x1da)](_0x3a6060))throw Error(_0x2b3f4e(0x257));let _0x4c1dd7=_0x2bdfc5[_0x2b3f4e(0x39d)](),_0x5ba175=this['_createNumberingAllocators'](_0x4c1dd7['tables'][_0x3a6060]);return this['_factory']['createRecords'](_0x4c1dd7,_0x3a6060,_0x35be80[_0x2b3f4e(0x3c2)](_0x11bc5e=>this[_0x2b3f4e(0x11b)](_0x4c1dd7,_0x3a6060,_0x11bc5e,_0x5ba175)));}[_0x21bd22(0x21d)](_0x45fe54,_0x3376d1,_0x49b3aa,_0x2408ff,_0x5e9521){const _0x489781=_0x21bd22;if(!this[_0x489781(0x1bf)][_0x489781(0x1cb)](_0x3376d1))throw Error(_0x489781(0x303));let _0x4211f2=_0x45fe54['getSnapshot'](),_0x319399=this[_0x489781(0x1b7)][_0x489781(0x1f0)](_0x4211f2,_0x3376d1,{'field':_0x49b3aa,'index':_0x2408ff,'viewIndexes':_0x5e9521}),_0x3fceff=this[_0x489781(0x25d)](_0x4211f2,_0x3376d1,_0x49b3aa);if(!_0x3fceff[_0x489781(0x1e3)])return _0x319399;let _0x4e1a6d=this[_0x489781(0x350)]['applyOp'](_0x4211f2,_0x319399);return N([_0x319399,this[_0x489781(0x1b7)]['setRecordValues'](_0x4e1a6d,_0x3376d1,_0x3fceff)]);}[_0x21bd22(0x35d)](_0x121fba,_0x3cbcba,_0x4c1597){const _0x2dc4d3=_0x21bd22;if(!this[_0x2dc4d3(0x1bf)][_0x2dc4d3(0x26b)](_0x3cbcba,_0x4c1597))throw Error(_0x2dc4d3(0xf0));this[_0x2dc4d3(0x197)](_0x121fba,this[_0x2dc4d3(0x1b7)][_0x2dc4d3(0x35d)](_0x121fba[_0x2dc4d3(0x39d)](),_0x3cbcba,_0x4c1597));}[_0x21bd22(0x2a3)](_0x64fed9,_0x37739c,_0x1b11d5,_0x3e5d06){const _0x1adb07=_0x21bd22;this['_apply'](_0x64fed9,this[_0x1adb07(0x1b7)][_0x1adb07(0x2a3)](_0x64fed9[_0x1adb07(0x39d)](),_0x37739c,_0x1b11d5,_0x3e5d06));}[_0x21bd22(0x3a4)](_0x4f2809,_0x3949c9,_0x2e9e19,_0x2631cd){const _0x6d8df4=_0x21bd22;this[_0x6d8df4(0x197)](_0x4f2809,this[_0x6d8df4(0x1b7)][_0x6d8df4(0x3a4)](_0x4f2809[_0x6d8df4(0x39d)](),_0x3949c9,_0x2e9e19,_0x2631cd));}[_0x21bd22(0x1f0)](_0x59b6e1,_0x3224ab,_0x141d84,_0x5ad3e9,_0x5bb4dc){const _0x2dc9a3=_0x21bd22;this[_0x2dc9a3(0x197)](_0x59b6e1,this[_0x2dc9a3(0x21d)](_0x59b6e1,_0x3224ab,_0x141d84,_0x5ad3e9,_0x5bb4dc));}[_0x21bd22(0x319)](_0x8f2cad,_0x4bde00,_0x3faf0a,_0x872ac3){const _0x34b5a4=_0x21bd22;if(!this[_0x34b5a4(0x1bf)][_0x34b5a4(0xad)](_0x4bde00,_0x3faf0a))throw Error(_0x34b5a4(0x1c4));this[_0x34b5a4(0x197)](_0x8f2cad,this[_0x34b5a4(0x1b7)]['updateField'](_0x8f2cad['getSnapshot'](),_0x4bde00,_0x3faf0a,_0x872ac3));}['changeFieldType'](_0x50473f,_0x5ae91c,_0x3c2b72,_0x56874d){const _0xeb410e=_0x21bd22;if(!this[_0xeb410e(0x1bf)][_0xeb410e(0xad)](_0x5ae91c,_0x3c2b72))throw Error('[BaseCommandService]:\x20cannot\x20edit\x20field.');this[_0xeb410e(0x197)](_0x50473f,this[_0xeb410e(0x1b7)][_0xeb410e(0x135)](_0x50473f[_0xeb410e(0x39d)](),_0x5ae91c,_0x3c2b72,_0x56874d));}[_0x21bd22(0x14a)](_0x1dc0fc,_0xd8438,_0x145200){const _0x1c39cd=_0x21bd22;var _0x506f3e;if(((_0x506f3e=_0x1dc0fc[_0x1c39cd(0x39d)]()[_0x1c39cd(0xda)][_0xd8438])==null?void 0x0:_0x506f3e['primaryFieldId'])===_0x145200)throw Error(_0x1c39cd(0x25a));if(!this[_0x1c39cd(0x1bf)][_0x1c39cd(0x2a4)](_0xd8438,_0x145200))throw Error(_0x1c39cd(0xa7));this['_apply'](_0x1dc0fc,this['_factory'][_0x1c39cd(0x14a)](_0x1dc0fc[_0x1c39cd(0x39d)](),_0xd8438,_0x145200));}[_0x21bd22(0x39f)](_0xd59978,_0x4ba14b,_0x1a24ab,_0xeae98f){const _0x115794=_0x21bd22;if(!this[_0x115794(0x1bf)][_0x115794(0xad)](_0x4ba14b,_0x1a24ab))throw Error(_0x115794(0x1c4));this[_0x115794(0x197)](_0xd59978,this[_0x115794(0x1b7)][_0x115794(0x39f)](_0xd59978['getSnapshot'](),_0x4ba14b,_0x1a24ab,_0xeae98f));}[_0x21bd22(0x311)](_0x524b61,_0x5371df,_0x3b856c,_0x2460dd){const _0x3528af=_0x21bd22;this[_0x3528af(0x197)](_0x524b61,this[_0x3528af(0x1b7)][_0x3528af(0x311)](_0x524b61[_0x3528af(0x39d)](),_0x5371df,_0x3b856c,_0x2460dd));}[_0x21bd22(0x250)](_0x1b8065,_0x10f4a3,_0x2acda1,_0x3584a9){const _0x16daeb=_0x21bd22;if(!this['_permissionService'][_0x16daeb(0x3a3)](_0x10f4a3,_0x2acda1))throw Error(_0x16daeb(0x162));this['_apply'](_0x1b8065,this[_0x16daeb(0x1b7)][_0x16daeb(0x250)](_0x1b8065[_0x16daeb(0x39d)](),_0x10f4a3,_0x2acda1,_0x3584a9));}[_0x21bd22(0x1ef)](_0x42c310,_0x250a00,_0xd857df){const _0x316354=_0x21bd22;if(!this[_0x316354(0x1bf)][_0x316354(0x3a3)](_0x250a00,_0xd857df))throw Error(_0x316354(0x162));this[_0x316354(0x197)](_0x42c310,this[_0x316354(0x1b7)][_0x316354(0x1ef)](_0x42c310['getSnapshot'](),_0x250a00,_0xd857df));}[_0x21bd22(0x336)](_0xa1857b,_0xb5c42b,_0x35c5ed,_0x527554){const _0x3cf0d7=_0x21bd22;if(!this[_0x3cf0d7(0x1bf)][_0x3cf0d7(0x3a3)](_0xb5c42b,_0x35c5ed))throw Error(_0x3cf0d7(0x162));this[_0x3cf0d7(0x197)](_0xa1857b,this[_0x3cf0d7(0x1b7)][_0x3cf0d7(0x336)](_0xa1857b['getSnapshot'](),_0xb5c42b,_0x35c5ed,_0x527554));}[_0x21bd22(0x373)](_0x3d1b88,_0x44ed5e,_0x5f0c6c,_0x315146){const _0x11b5e7=_0x21bd22;if(!this[_0x11b5e7(0x1bf)]['canManageView'](_0x44ed5e,_0x5f0c6c))throw Error(_0x11b5e7(0x162));this[_0x11b5e7(0x197)](_0x3d1b88,this[_0x11b5e7(0x1b7)]['updateViewConfig'](_0x3d1b88[_0x11b5e7(0x39d)](),_0x44ed5e,_0x5f0c6c,_0x315146));}[_0x21bd22(0x1ee)](_0x5db226,_0x5d6ae3,_0x36396f,_0x3a9ac9){const _0x40c922=_0x21bd22;this[_0x40c922(0x197)](_0x5db226,this[_0x40c922(0x1b7)]['setViewFilter'](_0x5db226[_0x40c922(0x39d)](),_0x5d6ae3,_0x36396f,_0x3a9ac9));}['setViewSort'](_0x10b988,_0x3ddccb,_0x298cc0,_0x135392){const _0x20ec05=_0x21bd22;this[_0x20ec05(0x197)](_0x10b988,this[_0x20ec05(0x1b7)]['setViewSort'](_0x10b988[_0x20ec05(0x39d)](),_0x3ddccb,_0x298cc0,_0x135392));}[_0x21bd22(0x37a)](_0x27e930,_0x34dca6,_0x22c511,_0x5c90a9){const _0x100869=_0x21bd22;this[_0x100869(0x197)](_0x27e930,this[_0x100869(0x1b7)]['setViewGroup'](_0x27e930[_0x100869(0x39d)](),_0x34dca6,_0x22c511,_0x5c90a9));}[_0x21bd22(0x24c)](_0x52cb36,_0x5523a0,_0x383cb2,_0x499725,_0x19f720){const _0x2463ee=_0x21bd22;if(!this[_0x2463ee(0x1bf)][_0x2463ee(0x3a3)](_0x5523a0,_0x383cb2))throw Error(_0x2463ee(0x162));this['_apply'](_0x52cb36,this[_0x2463ee(0x1b7)][_0x2463ee(0x24c)](_0x52cb36['getSnapshot'](),_0x5523a0,_0x383cb2,_0x499725,_0x19f720));}[_0x21bd22(0x16c)](_0x491cd4,_0xa273,_0x193407,_0x53d993,_0x35fa1b){const _0x531723=_0x21bd22;this[_0x531723(0x197)](_0x491cd4,this['_factory'][_0x531723(0x16c)](_0x491cd4[_0x531723(0x39d)](),_0xa273,_0x193407,_0x53d993,_0x35fa1b));}['setViewFieldOrder'](_0x4b16ae,_0x5521e7,_0x2379f7,_0x3a4252,_0x3ebaf2){const _0x113c83=_0x21bd22;this[_0x113c83(0x197)](_0x4b16ae,this[_0x113c83(0x1b7)][_0x113c83(0x348)](_0x4b16ae[_0x113c83(0x39d)](),_0x5521e7,_0x2379f7,_0x3a4252,_0x3ebaf2));}[_0x21bd22(0x197)](_0x378070,_0x4ceaa4){const _0x50dfdd=_0x21bd22;let _0x58f22b=_0x378070[_0x50dfdd(0x39d)]();_0x378070[_0x50dfdd(0xd8)](this['_applier'][_0x50dfdd(0x340)](_0x58f22b,_0x4ceaa4));}[_0x21bd22(0x11b)](_0x31f719,_0x4b9624,_0x32210b,_0x55e6d4=this[_0x21bd22(0x216)](_0x31f719[_0x21bd22(0xda)][_0x4b9624])){const _0xaa1dc7=_0x21bd22;var _0x258d24,_0x175467,_0x5643a8,_0x7dca12;let _0x1aefc5=_0x31f719[_0xaa1dc7(0xda)][_0x4b9624],_0x2a73f2=(_0x258d24=(_0x175467=_0x32210b[_0xaa1dc7(0x117)])==null?_0x32210b[_0xaa1dc7(0x19c)]:_0x175467)==null?this[_0xaa1dc7(0x1a4)]():_0x258d24,_0x5ecb78={..._0x32210b,'createdBy':(_0x5643a8=_0x32210b['createdBy'])==null?_0x2a73f2:_0x5643a8,'updatedBy':(_0x7dca12=_0x32210b[_0xaa1dc7(0x19c)])==null?_0x2a73f2:_0x7dca12,'values':{..._0x32210b[_0xaa1dc7(0x203)]}};return _0x1aefc5[_0xaa1dc7(0xde)][_0xaa1dc7(0x266)](_0x199380=>{const _0x545dc8=_0xaa1dc7;let _0x1bb259=_0x1aefc5[_0x545dc8(0x38f)][_0x199380];if(!(!_0x1bb259||_0x5ecb78[_0x545dc8(0x203)][_0x199380]!==void 0x0))switch(_0x1bb259[_0x545dc8(0x3ab)]){case e[_0x545dc8(0x2bb)][_0x545dc8(0x3c8)]:var _0x104028,_0xbb5d8;_0x5ecb78['values'][_0x199380]=(_0x104028=(_0xbb5d8=_0x55e6d4['get'](_0x199380))==null?void 0x0:_0xbb5d8())==null?this['_createNumberingAllocator'](_0x1aefc5,_0x199380)():_0x104028;break;case e[_0x545dc8(0x2bb)][_0x545dc8(0x378)]:_0x5ecb78[_0x545dc8(0x117)]&&(_0x5ecb78[_0x545dc8(0x203)][_0x199380]=_0x5ecb78[_0x545dc8(0x117)]);break;case e[_0x545dc8(0x2bb)][_0x545dc8(0x1c6)]:_0x5ecb78[_0x545dc8(0x19c)]&&(_0x5ecb78[_0x545dc8(0x203)][_0x199380]=_0x5ecb78[_0x545dc8(0x19c)]);break;case e[_0x545dc8(0x2bb)][_0x545dc8(0x225)]:_0x5ecb78[_0x545dc8(0x203)][_0x199380]=T(_0x5ecb78['createdAt']);break;case e[_0x545dc8(0x2bb)][_0x545dc8(0x1c3)]:_0x5ecb78[_0x545dc8(0x203)][_0x199380]=T(_0x5ecb78[_0x545dc8(0x2a9)]);break;default:{let _0x526f3c=_0x1bb259[_0x545dc8(0x1e1)];_0x526f3c!=null&&_0x526f3c!==''&&!(Array['isArray'](_0x526f3c)&&_0x526f3c['length']===0x0)&&(_0x5ecb78[_0x545dc8(0x203)][_0x199380]=_0x526f3c);}}}),_0x5ecb78;}[_0x21bd22(0x260)](_0x3c3a39,_0x598549,_0x10bdf9,_0x2ad0a5){const _0x42e22c=_0x21bd22;var _0x163cce,_0x361ce8,_0x10dd19;let _0x16ea4d=_0x3c3a39['tables'][_0x598549],_0x14f9d8=(_0x163cce=(_0x361ce8=(_0x10dd19=this[_0x42e22c(0x3d3)])[_0x42e22c(0xe3)])==null?void 0x0:_0x361ce8[_0x42e22c(0x1d7)](_0x10dd19))==null?Date[_0x42e22c(0xe3)]():_0x163cce,_0x22a40e=this[_0x42e22c(0x1a4)](),_0x141878={..._0x2ad0a5};return _0x16ea4d[_0x42e22c(0xde)][_0x42e22c(0x266)](_0x1c36e0=>{const _0x3a1d72=_0x42e22c;let _0x3820bc=_0x16ea4d[_0x3a1d72(0x38f)][_0x1c36e0];_0x3820bc&&(_0x3820bc['type']===e[_0x3a1d72(0x2bb)][_0x3a1d72(0x1c3)]&&(_0x141878[_0x1c36e0]=T(_0x14f9d8)),_0x3820bc[_0x3a1d72(0x3ab)]===e[_0x3a1d72(0x2bb)]['UpdatedBy']&&_0x22a40e&&(_0x141878[_0x1c36e0]=_0x22a40e));}),{'recordId':_0x10bdf9,'values':_0x141878,'recordPatch':{'updatedAt':_0x14f9d8,..._0x22a40e?{'updatedBy':_0x22a40e}:{}}};}[_0x21bd22(0x25d)](_0x59d63c,_0x426700,_0x3b47c4){const _0x9a489=_0x21bd22;let _0x307022=_0x59d63c[_0x9a489(0xda)][_0x426700];return!_0x307022||!Dt(_0x3b47c4)?[]:_0x3b47c4[_0x9a489(0x3ab)]===e['BaseFieldType'][_0x9a489(0x3c8)]?this[_0x9a489(0x146)](_0x307022,_0x3b47c4['id']):Object[_0x9a489(0x203)](_0x307022[_0x9a489(0x10e)])[_0x9a489(0x103)](_0x46d44a=>{let _0x4d46bd=this['_getSystemFieldValue'](_0x3b47c4,_0x46d44a);return _0x4d46bd===void 0x0?[]:[{'recordId':_0x46d44a['id'],'values':{[_0x3b47c4['id']]:_0x4d46bd}}];});}[_0x21bd22(0x24e)](_0x5054c4,_0x2f8523){const _0x1dc812=_0x21bd22;switch(_0x5054c4['type']){case e['BaseFieldType'][_0x1dc812(0x378)]:var _0x1bc7cb;return(_0x1bc7cb=_0x2f8523[_0x1dc812(0x117)])==null?this['_getCurrentUserId']():_0x1bc7cb;case e[_0x1dc812(0x2bb)][_0x1dc812(0x1c6)]:var _0x1b366c;return(_0x1b366c=_0x2f8523[_0x1dc812(0x19c)])==null?this[_0x1dc812(0x1a4)]():_0x1b366c;case e['BaseFieldType']['CreatedAt']:var _0x7fa6a8;return T((_0x7fa6a8=_0x2f8523[_0x1dc812(0x1cf)])==null?Date[_0x1dc812(0xe3)]():_0x7fa6a8);case e['BaseFieldType'][_0x1dc812(0x1c3)]:var _0x543acb;return T((_0x543acb=_0x2f8523[_0x1dc812(0x2a9)])==null?Date['now']():_0x543acb);default:return;}}[_0x21bd22(0x216)](_0x10c3e1){const _0x314a58=_0x21bd22;let _0xa34053=new Map();return _0x10c3e1&&_0x10c3e1[_0x314a58(0xde)][_0x314a58(0x266)](_0xccba1c=>{const _0x397171=_0x314a58;let _0x3e7b99=_0x10c3e1[_0x397171(0x38f)][_0xccba1c];(_0x3e7b99==null?void 0x0:_0x3e7b99['type'])===e[_0x397171(0x2bb)][_0x397171(0x3c8)]&&_0xa34053[_0x397171(0x195)](_0xccba1c,this['_createNumberingAllocator'](_0x10c3e1,_0xccba1c));}),_0xa34053;}['_createNumberingAllocator'](_0x44b16e,_0x2cf9f5){const _0x4d3d72=_0x21bd22;let _0x287e5d=Object['values'](_0x44b16e[_0x4d3d72(0x10e)])[_0x4d3d72(0x2d9)]((_0x12e260,_0x5eb335)=>{const _0x5ede21=_0x4d3d72;let _0x8a9ce5=Number(_0x5eb335['values'][_0x2cf9f5]);return Number[_0x5ede21(0x342)](_0x8a9ce5)?Math['max'](_0x12e260,_0x8a9ce5):_0x12e260;},0x0);return()=>String(++_0x287e5d);}[_0x21bd22(0x146)](_0x43df3e,_0xd975b2){const _0x7a452c=_0x21bd22;let _0x1d688c=this[_0x7a452c(0x1ce)](_0x43df3e),_0x47ed98=this[_0x7a452c(0x20c)](_0x43df3e,_0xd975b2);return _0x1d688c['flatMap'](_0x5c7313=>this[_0x7a452c(0xa9)](_0x5c7313[_0x7a452c(0x203)][_0xd975b2])?[]:[{'recordId':_0x5c7313['id'],'values':{[_0xd975b2]:_0x47ed98()}}]);}[_0x21bd22(0x1ce)](_0x243ebc){const _0x53b6be=_0x21bd22;var _0x56e9d8;let _0x474833=Object['values'](_0x243ebc[_0x53b6be(0x10e)]),_0xd4c2e6=new Map(_0x474833[_0x53b6be(0x3c2)](_0x52fdce=>[_0x52fdce['id'],_0x52fdce])),_0x12c4c8=[],_0x547ab6=new Set();(_0x56e9d8=_0x243ebc[_0x53b6be(0x176)])==null||_0x56e9d8[_0x53b6be(0x266)](_0x31693e=>{const _0x4611a3=_0x53b6be;let _0x4175cb=_0xd4c2e6['get'](_0x31693e);_0x4175cb&&(_0x12c4c8['push'](_0x4175cb),_0x547ab6[_0x4611a3(0x393)](_0x31693e));});let _0x33e237=_0x474833['filter'](_0x299d6e=>!_0x547ab6[_0x53b6be(0x15a)](_0x299d6e['id']))['sort']((_0x21f204,_0x34b637)=>{const _0x385beb=_0x53b6be;var _0x218c22,_0x490b28;return String((_0x218c22=_0x21f204['orderKey'])==null?_0x21f204['id']:_0x218c22)[_0x385beb(0x322)](String((_0x490b28=_0x34b637[_0x385beb(0x2f3)])==null?_0x34b637['id']:_0x490b28))||_0x21f204['id'][_0x385beb(0x322)](_0x34b637['id']);});return[..._0x12c4c8,..._0x33e237];}[_0x21bd22(0xa9)](_0x5a3cc4){const _0x4fd1c5=_0x21bd22;return _0x5a3cc4!=null&&_0x5a3cc4!==''&&!(Array[_0x4fd1c5(0x35a)](_0x5a3cc4)&&_0x5a3cc4['length']===0x0);}[_0x21bd22(0x1a4)](){const _0x21eec5=_0x21bd22;var _0x1a3434,_0x1e9628,_0x42f98e,_0x5b8cd4,_0x4151de,_0x567ea3;return(_0x1a3434=(_0x1e9628=(_0x42f98e=(_0x5b8cd4=this['_runtimeContext'])['getCurrentUserId'])==null?void 0x0:_0x42f98e['call'](_0x5b8cd4))==null?(_0x4151de=(_0x567ea3=this['_runtimeContext'])[_0x21eec5(0x240)])==null||(_0x4151de=_0x4151de[_0x21eec5(0x1d7)](_0x567ea3))==null?void 0x0:_0x4151de[_0x21eec5(0x180)]:_0x1e9628)==null?void 0x0:_0x1a3434;}['_normalizeCellValue'](_0x536ee6,_0x188ca2,_0x1d7e86,_0x57cd84,_0x27c987){const _0x4f190f=_0x21bd22;var _0xaa9c46;if(!this['_permissionService'][_0x4f190f(0x1e6)](_0x188ca2,_0x1d7e86,_0x57cd84))throw Error(_0x4f190f(0xfd));let _0x379457=(_0xaa9c46=_0x536ee6[_0x4f190f(0xda)][_0x188ca2])==null?void 0x0:_0xaa9c46[_0x4f190f(0x38f)][_0x57cd84];if(!_0x379457)throw Error(_0x4f190f(0x24b)+_0x57cd84+_0x4f190f(0x196));let _0x2ef420=this[_0x4f190f(0x2a6)][_0x4f190f(0x294)](_0x379457['type']);if(_0x379457[_0x4f190f(0x28f)]||_0x379457[_0x4f190f(0x208)]||!_0x2ef420[_0x4f190f(0x1ae)](_0x379457)['editable'])throw Error('[BaseCommandService]:\x20cannot\x20edit\x20readonly\x20field.');let _0x198f62=_0x2ef420[_0x4f190f(0x2c3)](_0x27c987,_0x379457),_0x156090=_0x2ef420[_0x4f190f(0x296)](_0x198f62,_0x379457);if(!_0x156090[_0x4f190f(0x1d9)]){var _0x40b8ba;throw Error((_0x40b8ba=_0x156090[_0x4f190f(0x2af)])==null?'[BaseCommandService]:\x20invalid\x20cell\x20value.':_0x40b8ba);}return _0x198f62;}};H=B([z(0x0,Ct),z(0x1,L)],H);function Et(){const _0x10bada=_0x21bd22;let _0x1b0e45=new St();return Qe()['forEach'](_0x50b85a=>_0x1b0e45[_0x10bada(0x12b)](_0x50b85a)),_0x1b0e45;}function Dt(_0x30d99a){const _0x47111d=_0x21bd22;return _0x30d99a['type']===e['BaseFieldType'][_0x47111d(0x3c8)]||_0x30d99a[_0x47111d(0x3ab)]===e['BaseFieldType'][_0x47111d(0x378)]||_0x30d99a[_0x47111d(0x3ab)]===e[_0x47111d(0x2bb)][_0x47111d(0x1c6)]||_0x30d99a[_0x47111d(0x3ab)]===e[_0x47111d(0x2bb)][_0x47111d(0x225)]||_0x30d99a[_0x47111d(0x3ab)]===e[_0x47111d(0x2bb)][_0x47111d(0x1c3)];}const Ot=new Set([e[_0x21bd22(0x2bb)][_0x21bd22(0x3c9)],e[_0x21bd22(0x2bb)]['Rating'],e[_0x21bd22(0x2bb)]['Checkbox']]);function kt(_0x2ee35c){const _0x35b75c=_0x21bd22;var _0x371a53,_0x3dca51;let _0x19451f=_0x2ee35c['fields'][_0x2ee35c[_0x35b75c(0x329)]];return!(_0x19451f&&(_0x19451f['system']===!0x0||_0x19451f['id'][_0x35b75c(0xb5)]()==='id'||_0x19451f[_0x35b75c(0x1d6)]['trim']()['toLowerCase']()==='id'))&&_0x19451f?_0x19451f['id']:(_0x371a53=(_0x3dca51=_0x2ee35c[_0x35b75c(0xde)][_0x35b75c(0x3c2)](_0x1c9eb2=>_0x2ee35c[_0x35b75c(0x38f)][_0x1c9eb2])[_0x35b75c(0x1bd)](_0x29c394=>_0x29c394&&_0x29c394['id']!==_0x2ee35c['primaryFieldId']))==null?void 0x0:_0x3dca51['id'])==null?_0x2ee35c[_0x35b75c(0x329)]:_0x371a53;}function U(_0x2b3ab1,_0x45e311=[],_0x20aa77=0x5){const _0xd19824=_0x21bd22;let _0x4b5db6=new Set(_0x45e311['filter'](_0xa185ab=>!!_0xa185ab)),_0x2890e0=_0x2b3ab1[_0xd19824(0xde)][_0xd19824(0x103)](_0x5b95da=>{const _0x3b4e09=_0xd19824;let _0x37d406=_0x2b3ab1['fields'][_0x5b95da];return _0x37d406&&!_0x4b5db6[_0x3b4e09(0x15a)](_0x37d406['id'])?[_0x37d406]:[];}),_0x301295=_0x2890e0[_0xd19824(0x2e1)](_0x39e9b4=>Ot[_0xd19824(0x15a)](_0x39e9b4[_0xd19824(0x3ab)])),_0x5da229=_0x2890e0['filter'](_0x374165=>!Ot[_0xd19824(0x15a)](_0x374165['type']));return[..._0x301295,..._0x5da229]['slice'](0x0,_0x20aa77)[_0xd19824(0x3c2)](_0x47cab1=>_0x47cab1['id']);}function At(){const _0x573257=_0x21bd22;return[{'type':e[_0x573257(0x3c0)]['Grid'],'i18nKey':'base.viewType.grid','createDefaultConfig':()=>({}),'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{const _0x31884a=_0x573257;throw Error(_0x31884a(0xcb));}},{'type':e[_0x573257(0x3c0)][_0x573257(0x246)],'i18nKey':_0x573257(0x3b9),'createDefaultConfig':_0x2dd2b2=>{const _0x3c8383=_0x573257;let _0x1ef364=jt(_0x2dd2b2);return{'groupFieldId':_0x1ef364,'coverFieldId':null,'cardLayout':_0x3c8383(0x23d),'showFieldNames':!0x0,'fieldSettings':{},'columnSettings':{},'card':{'titleFieldId':_0x2dd2b2[_0x3c8383(0x329)],'fieldIds':U(_0x2dd2b2,[_0x2dd2b2[_0x3c8383(0x329)],_0x1ef364])}};},'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{const _0x279add=_0x573257;throw Error(_0x279add(0x10b));}},{'type':e[_0x573257(0x3c0)]['Calendar'],'i18nKey':_0x573257(0x399),'createDefaultConfig':_0xe4b63b=>{const _0x293d20=_0x573257;let _0x10c299=Mt(_0xe4b63b);return{'startDateFieldId':_0x10c299,'endDateFieldId':Nt(_0xe4b63b,_0x10c299),'titleFieldId':_0xe4b63b[_0x293d20(0x329)],'mode':_0x293d20(0x1b9),'timeslotSize':_0x293d20(0x3ce),'timeZone':'local','displayColor':{'type':_0x293d20(0x299),'color':_0x293d20(0x359)},'fieldSettings':{}};},'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{const _0x183682=_0x573257;throw Error(_0x183682(0x149));}},{'type':e['BaseViewType'][_0x573257(0x16b)],'i18nKey':_0x573257(0x244),'createDefaultConfig':_0x19ba23=>{const _0x521391=_0x573257;var _0x1cfc34;let _0x19f55a=Mt(_0x19ba23);return{'startDateFieldId':_0x19f55a,'endDateFieldId':(_0x1cfc34=Nt(_0x19ba23,_0x19f55a))==null?_0x19f55a:_0x1cfc34,'titleFieldId':_0x19ba23[_0x521391(0x329)],'scale':_0x521391(0x1b9),'showTodayLine':!0x0,'displayColor':{'type':_0x521391(0x299),'color':_0x521391(0x1e9)},'fieldSettings':{},'workingDaysOnly':!0x1};},'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{const _0xb30dfe=_0x573257;throw Error(_0xb30dfe(0x2e7));}},{'type':e[_0x573257(0x3c0)][_0x573257(0x2df)],'i18nKey':_0x573257(0x316),'createDefaultConfig':_0x100d40=>{const _0x277066=_0x573257;let _0xa63a02=kt(_0x100d40);return{'coverFieldId':null,'cardLayout':_0x277066(0x23d),'showFieldNames':!0x0,'fieldSettings':{},'card':{'titleFieldId':_0xa63a02,'coverFieldId':null,'fieldIds':U(_0x100d40,[_0xa63a02,_0x100d40[_0x277066(0x329)]])},'cardSize':_0x277066(0x3ce)};},'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{throw Error('Gallery\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.');}}];}function jt(_0x4aa507){const _0x6b5885=_0x21bd22;var _0x1bd18f,_0x47a2ed,_0x385b69,_0x1db1fd,_0x325bb4,_0x4d7c23;let _0x38ce6e=_0x4aa507[_0x6b5885(0xde)]['map'](_0x567632=>_0x4aa507[_0x6b5885(0x38f)][_0x567632])[_0x6b5885(0x2e1)](_0x8c3168=>!!_0x8c3168);return(_0x1bd18f=(_0x47a2ed=(_0x385b69=(_0x1db1fd=_0x38ce6e[_0x6b5885(0x1bd)](_0x2f1422=>_0x2f1422[_0x6b5885(0x3ab)]===e['BaseFieldType'][_0x6b5885(0x11f)]||_0x2f1422[_0x6b5885(0x3ab)]===e[_0x6b5885(0x2bb)][_0x6b5885(0x335)]||_0x2f1422['type']===e['BaseFieldType'][_0x6b5885(0xae)]))==null?void 0x0:_0x1db1fd['id'])==null?(_0x325bb4=_0x38ce6e[_0x6b5885(0x1bd)](_0x41a5e3=>_0x41a5e3[_0x6b5885(0x3ab)]===e[_0x6b5885(0x2bb)]['Text']))==null?void 0x0:_0x325bb4['id']:_0x385b69)==null?(_0x4d7c23=_0x38ce6e['find'](_0x47b2c1=>_0x47b2c1[_0x6b5885(0x3ab)]===e[_0x6b5885(0x2bb)][_0x6b5885(0x14c)]||_0x47b2c1[_0x6b5885(0x3ab)]===e[_0x6b5885(0x2bb)][_0x6b5885(0x225)]||_0x47b2c1[_0x6b5885(0x3ab)]===e[_0x6b5885(0x2bb)][_0x6b5885(0x1c3)]))==null?void 0x0:_0x4d7c23['id']:_0x47a2ed)==null?_0x4aa507[_0x6b5885(0x329)]:_0x1bd18f;}function Mt(_0x540f67){const _0x4c5ab2=_0x21bd22;var _0x19a6f3,_0x50664d;return(_0x19a6f3=(_0x50664d=_0x540f67[_0x4c5ab2(0xde)][_0x4c5ab2(0x3c2)](_0x2863eb=>_0x540f67[_0x4c5ab2(0x38f)][_0x2863eb])[_0x4c5ab2(0x1bd)](Pt))==null?void 0x0:_0x50664d['id'])==null?'':_0x19a6f3;}function Nt(_0x104cdb,_0x45d468){const _0x5b1869=_0x21bd22;var _0x5d4b82;return(_0x5d4b82=_0x104cdb[_0x5b1869(0xde)]['map'](_0x509e07=>_0x104cdb[_0x5b1869(0x38f)][_0x509e07])[_0x5b1869(0x1bd)](_0x41fd8d=>Pt(_0x41fd8d)&&_0x41fd8d['id']!==_0x45d468))==null?void 0x0:_0x5d4b82['id'];}function Pt(_0xccfe09){const _0x3d7947=_0x21bd22;return!!_0xccfe09&&_0xccfe09[_0x3d7947(0x3ab)]===e[_0x3d7947(0x2bb)][_0x3d7947(0x14c)]&&_0xccfe09['readonly']!==!0x0&&_0xccfe09[_0x3d7947(0x208)]!==!0x0;}const Ft=(0x0,e[_0x21bd22(0x200)])(_0x21bd22(0x252)),It=new Set([e[_0x21bd22(0x2bb)][_0x21bd22(0x3b0)],e['BaseFieldType']['Currency'],e[_0x21bd22(0x2bb)][_0x21bd22(0x3c9)],e['BaseFieldType'][_0x21bd22(0x2fd)],e[_0x21bd22(0x2bb)]['Date'],e[_0x21bd22(0x2bb)][_0x21bd22(0x225)],e[_0x21bd22(0x2bb)][_0x21bd22(0x1c3)],e['BaseFieldType'][_0x21bd22(0x31b)]]);let Lt=class extends e[_0x21bd22(0xcd)]{constructor(_0x23a946){const _0x5d5754=_0x21bd22;super(),this['_fieldRegistry']=_0x23a946,I(this,_0x5d5754(0x3c5),new Map()),I(this,'_projectionCache',new WeakMap()),I(this,_0x5d5754(0x19e),new Map()),I(this,_0x5d5754(0x24a),new Map()),I(this,_0x5d5754(0x374),new Map()),I(this,_0x5d5754(0xa3),0x0),I(this,'_tableRevisions',new Map()),I(this,'_cellRevisions',new Map()),I(this,_0x5d5754(0x3c6),new Map()),I(this,'_viewRevisions',new Map());}['registerView'](_0x550886){const _0x1fd6cc=_0x21bd22;return this['_views']['set'](_0x550886[_0x1fd6cc(0x3ab)],_0x550886),(0x0,e['toDisposable'])(()=>this[_0x1fd6cc(0x3c5)][_0x1fd6cc(0x265)](_0x550886['type']));}['getProjection'](_0x2f8ce5,_0x587605,_0xf1c4c9){const _0x45b738=_0x21bd22;var _0x1d5e91,_0xac7853,_0x27d922,_0x40e001,_0x3de49f;return o(_0x45b738(0x202),()=>{const _0xd1a15a=_0x45b738;let _0x6f77bc=this['_getCachedProjection'](_0x2f8ce5,_0x587605,_0xf1c4c9);if(_0x6f77bc)return _0x6f77bc;let _0x34d2ff=_0x2f8ce5[_0xd1a15a(0xda)][_0x587605],_0x2a1495=_0x34d2ff==null?void 0x0:_0x34d2ff['views'][_0xf1c4c9];if(!_0x34d2ff||!_0x2a1495){var _0x3af812;return this['_setCachedProjection'](_0x2f8ce5,_0x587605,_0xf1c4c9,{'type':_0xd1a15a(0x309),'viewType':(_0x3af812=_0x2a1495==null?void 0x0:_0x2a1495['type'])==null?e[_0xd1a15a(0x3c0)][_0xd1a15a(0x231)]:_0x3af812,'reason':'missingField'});}let _0xa98879;switch(_0x2a1495[_0xd1a15a(0x3ab)]){case e[_0xd1a15a(0x3c0)][_0xd1a15a(0x231)]:_0xa98879=this[_0xd1a15a(0x25b)](_0x34d2ff,_0x2a1495);break;case e[_0xd1a15a(0x3c0)][_0xd1a15a(0x16b)]:_0xa98879=this[_0xd1a15a(0x354)](_0x34d2ff,_0x2a1495);break;case e[_0xd1a15a(0x3c0)]['Kanban']:_0xa98879=this[_0xd1a15a(0x159)](_0x34d2ff,_0x2a1495);break;case e[_0xd1a15a(0x3c0)]['Calendar']:_0xa98879=this[_0xd1a15a(0x2ba)](_0x34d2ff,_0x2a1495);break;case e[_0xd1a15a(0x3c0)]['Gallery']:_0xa98879=this[_0xd1a15a(0x360)](_0x34d2ff,_0x2a1495);break;default:_0xa98879={'type':_0xd1a15a(0x309),'viewType':_0x2a1495[_0xd1a15a(0x3ab)],'reason':'missingField'};}return this[_0xd1a15a(0x2e2)](_0x2f8ce5,_0x587605,_0xf1c4c9,_0xa98879);},{'tableId':_0x587605,'viewId':_0xf1c4c9,'viewType':(_0x1d5e91=_0x2f8ce5[_0x45b738(0xda)][_0x587605])==null||(_0x1d5e91=_0x1d5e91[_0x45b738(0xfa)][_0xf1c4c9])==null?void 0x0:_0x1d5e91[_0x45b738(0x3ab)],'records':(_0xac7853=(_0x27d922=_0x2f8ce5['tables'][_0x587605])==null||(_0x27d922=_0x27d922['recordOrder'])==null?void 0x0:_0x27d922[_0x45b738(0x1e3)])==null?Object[_0x45b738(0xdc)]((_0x40e001=(_0x3de49f=_0x2f8ce5[_0x45b738(0xda)][_0x587605])==null?void 0x0:_0x3de49f['records'])==null?{}:_0x40e001)[_0x45b738(0x1e3)]:_0xac7853});}[_0x21bd22(0x181)](_0x154a4b,_0x365cf8,_0x5a76d7){const _0x3f595e=_0x21bd22;var _0x425642,_0x35c848,_0x2a84cf,_0x2803b6;let _0x2b0990=_0x154a4b[_0x3f595e(0xda)][_0x365cf8],_0x17e7be=_0x2b0990==null?void 0x0:_0x2b0990[_0x3f595e(0xfa)][_0x5a76d7];if(!_0x2b0990||!_0x17e7be)throw Error(_0x3f595e(0x274)+_0x5a76d7+'\x22.');let _0xa47e11=_0x42f8ef=>!!_0x2b0990[_0x3f595e(0x38f)][_0x42f8ef],_0x5673f5={..._0x17e7be,'filter':_0x17e7be['filter']?{..._0x17e7be[_0x3f595e(0x2e1)],'conditions':_0x17e7be[_0x3f595e(0x2e1)][_0x3f595e(0x3bb)][_0x3f595e(0x2e1)](_0x288b52=>_0xa47e11(_0x288b52[_0x3f595e(0x286)]))}:_0x17e7be['filter'],'sort':(_0x425642=_0x17e7be[_0x3f595e(0x2b9)])==null?void 0x0:_0x425642[_0x3f595e(0x2e1)](_0xa7c5c0=>_0xa47e11(_0xa7c5c0['fieldId'])),'group':(_0x35c848=_0x17e7be[_0x3f595e(0x1dd)])==null?void 0x0:_0x35c848[_0x3f595e(0x2e1)](_0x3e4673=>_0xa47e11(_0x3e4673['fieldId'])),'fieldOrder':(_0x2a84cf=_0x17e7be['fieldOrder'])==null?void 0x0:_0x2a84cf['filter'](_0xa47e11),'fieldSettings':Object['fromEntries'](Object['entries']((_0x2803b6=_0x17e7be[_0x3f595e(0x13c)])==null?{}:_0x2803b6)[_0x3f595e(0x2e1)](([_0x5794c5])=>_0xa47e11(_0x5794c5)))};if(_0x5673f5[_0x3f595e(0x3ab)]==='kanban'){var _0x4b6d8b,_0x314fcc,_0x2bf9cc,_0x44b915;let _0x69e4c2=(_0x4b6d8b=_0x5673f5[_0x3f595e(0x396)])==null?{}:_0x4b6d8b,_0xadc2ef=this[_0x3f595e(0x22a)](_0x2b0990,_0x5673f5);_0x5673f5[_0x3f595e(0x396)]={..._0x69e4c2,'groupFieldId':_0xadc2ef==null?_0x69e4c2['groupFieldId']:_0xadc2ef,'coverFieldId':this['_resolveKanbanCoverFieldId'](_0x2b0990,_0x69e4c2),'cardLayout':_0x69e4c2[_0x3f595e(0x25c)]==='compose'?_0x3f595e(0xc8):_0x3f595e(0x23d),'showFieldNames':_0x69e4c2[_0x3f595e(0x31e)]!==!0x1,'fieldSettings':Object[_0x3f595e(0x30a)](Object['entries']((_0x314fcc=_0x69e4c2[_0x3f595e(0x13c)])==null?{}:_0x314fcc)[_0x3f595e(0x2e1)](([_0x204ccc])=>_0xa47e11(_0x204ccc))),'columnSettings':(_0x2bf9cc=_0x69e4c2[_0x3f595e(0x21a)])==null?{}:_0x2bf9cc,'card':{...(_0x44b915=_0x69e4c2[_0x3f595e(0x1e2)])==null?{}:_0x44b915,'fieldIds':this['_resolveKanbanCardFieldIds'](_0x2b0990,_0x5673f5,_0xadc2ef==null?'':_0xadc2ef)}};}return{'repaired':JSON['stringify'](_0x5673f5)!==JSON[_0x3f595e(0x26c)](_0x17e7be),'view':_0x5673f5};}[_0x21bd22(0x32b)](){const _0x2fd5f4=_0x21bd22;this[_0x2fd5f4(0xa3)]++;}['invalidateByCell'](_0x5c6109,_0x5bee91,_0x25c373){const _0x14cae7=_0x21bd22;var _0x2104b9;let _0x5856ae=this[_0x14cae7(0xc5)](_0x5c6109)+0x1;this[_0x14cae7(0xe7)][_0x14cae7(0x195)](_0x5c6109,_0x5856ae);let _0x54ce54=(_0x2104b9=this[_0x14cae7(0x3c6)][_0x14cae7(0x294)](_0x5c6109))==null?[]:_0x2104b9;_0x54ce54['push']({'revision':_0x5856ae,'recordId':_0x5bee91,'fieldId':_0x25c373}),this['_cellInvalidations'][_0x14cae7(0x195)](_0x5c6109,_0x54ce54);}[_0x21bd22(0x259)](_0x4f2f4b,_0x2be28a){this['_bumpTableRevision'](_0x4f2f4b);}[_0x21bd22(0x3c3)](_0x18761a,_0x3727db){const _0x5bdabf=_0x21bd22;this[_0x5bdabf(0x35c)][_0x5bdabf(0x195)](this[_0x5bdabf(0x1ac)](_0x18761a,_0x3727db),this[_0x5bdabf(0x1a1)](_0x18761a,_0x3727db)+0x1);}[_0x21bd22(0x37c)](_0x30218b,_0x3b8947,_0x56241b){const _0x3af280=_0x21bd22;var _0x2998ed;let _0x172738=(_0x2998ed=this[_0x3af280(0x12c)][_0x3af280(0x294)](_0x30218b))==null?void 0x0:_0x2998ed[_0x3af280(0x294)](this['_cacheKey'](_0x3b8947,_0x56241b));return _0x172738&&_0x172738['globalRevision']===this[_0x3af280(0xa3)]&&_0x172738['tableRevision']===this[_0x3af280(0x372)](_0x3b8947)&&_0x172738[_0x3af280(0x211)]===this['_getCellRevision'](_0x3b8947)&&_0x172738[_0x3af280(0xd6)]===this['_getViewRevision'](_0x3b8947,_0x56241b)?_0x172738[_0x3af280(0x3bd)]:null;}[_0x21bd22(0x2e2)](_0x2b5c83,_0x56fdda,_0x485105,_0x1698c0){const _0x63ad64=_0x21bd22;let _0x26e111=this[_0x63ad64(0x12c)][_0x63ad64(0x294)](_0x2b5c83);return _0x26e111||(_0x26e111=new Map(),this['_projectionCache'][_0x63ad64(0x195)](_0x2b5c83,_0x26e111)),_0x26e111[_0x63ad64(0x195)](this[_0x63ad64(0x33b)](_0x56fdda,_0x485105),{'projection':_0x1698c0,'globalRevision':this[_0x63ad64(0xa3)],'tableRevision':this[_0x63ad64(0x372)](_0x56fdda),'cellRevision':this[_0x63ad64(0xc5)](_0x56fdda),'viewRevision':this[_0x63ad64(0x1a1)](_0x56fdda,_0x485105)}),_0x1698c0;}[_0x21bd22(0x32d)](_0x5dc867){const _0x4beadd=_0x21bd22;this[_0x4beadd(0x37f)][_0x4beadd(0x195)](_0x5dc867,this[_0x4beadd(0x372)](_0x5dc867)+0x1);}[_0x21bd22(0x372)](_0x862499){const _0x44b404=_0x21bd22;var _0x24a213;return(_0x24a213=this['_tableRevisions'][_0x44b404(0x294)](_0x862499))==null?0x0:_0x24a213;}[_0x21bd22(0xc5)](_0x5c2c54){const _0x356fdb=_0x21bd22;var _0x297382;return(_0x297382=this['_cellRevisions'][_0x356fdb(0x294)](_0x5c2c54))==null?0x0:_0x297382;}[_0x21bd22(0x1a1)](_0x257601,_0x1ff6ff){const _0x3a6338=_0x21bd22;var _0x3ef140;return(_0x3ef140=this[_0x3a6338(0x35c)][_0x3a6338(0x294)](this[_0x3a6338(0x1ac)](_0x257601,_0x1ff6ff)))==null?0x0:_0x3ef140;}['_cacheKey'](_0x357ad8,_0x2cb70d){return _0x357ad8+'\x00'+_0x2cb70d;}[_0x21bd22(0xca)](_0x17dbfc,_0x4c8951){const _0x1b9aff=_0x21bd22;return _0x17dbfc+'\x00'+this[_0x1b9aff(0x323)](_0x4c8951);}['_groupsCacheKey'](_0x37837c,_0x440852,_0x598a99){const _0x2f3346=_0x21bd22;return _0x37837c+'\x00'+this[_0x2f3346(0x323)](_0x440852)+'\x00'+this['_groupConfigCacheSegment'](_0x598a99);}[_0x21bd22(0x323)](_0x3e1234){const _0xc54e38=_0x21bd22;return _0x3e1234?Ut({'filter':Vt(_0x3e1234[_0xc54e38(0x2e1)]),'sort':Ht(_0x3e1234[_0xc54e38(0x2b9)])}):_0xc54e38(0x3a5);}[_0x21bd22(0x368)](_0x34726d){const _0x364c24=_0x21bd22;return Ut(_0x34726d[_0x364c24(0x3c2)](_0x2fea86=>{const _0xf53105=_0x364c24;var _0x1bdd0c;return{'fieldId':_0x2fea86[_0xf53105(0x286)],'direction':(_0x1bdd0c=_0x2fea86[_0xf53105(0x16d)])==null?null:_0x1bdd0c};}));}[_0x21bd22(0x1ac)](_0x3ed03a,_0x20ff43){return _0x3ed03a+'\x00'+_0x20ff43;}[_0x21bd22(0x25b)](_0x5ed5a5,_0x5b2690){const _0x5571c5=_0x21bd22;let _0x4cc7c5=this[_0x5571c5(0xd2)](_0x5ed5a5,_0x5b2690);return{'type':e[_0x5571c5(0x3c0)][_0x5571c5(0x231)],'fields':this[_0x5571c5(0x131)](_0x5ed5a5,_0x5b2690),'rows':_0x4cc7c5,'groups':this[_0x5571c5(0x243)](_0x5ed5a5,_0x5b2690,_0x4cc7c5),'frozenFieldCount':typeof _0x5b2690['config'][_0x5571c5(0xd0)]==_0x5571c5(0x307)?_0x5b2690[_0x5571c5(0x396)][_0x5571c5(0xd0)]:0x0};}['_buildKanban'](_0x2b4df3,_0x1a2532){const _0x2ef07c=_0x21bd22;var _0x3a1689;let _0x4d5b45=this[_0x2ef07c(0x22a)](_0x2b4df3,_0x1a2532),_0x40bc86=_0x4d5b45?_0x2b4df3[_0x2ef07c(0x38f)][_0x4d5b45]:void 0x0;if(!_0x40bc86)return{'type':_0x2ef07c(0x309),'viewType':e[_0x2ef07c(0x3c0)][_0x2ef07c(0x246)],'reason':_0x2ef07c(0x22c),'fieldId':_0x1a2532[_0x2ef07c(0x396)][_0x2ef07c(0x279)]};let _0x14363e=this[_0x2ef07c(0xd2)](_0x2b4df3,_0x1a2532),_0x15ed49=this[_0x2ef07c(0x131)](_0x2b4df3,_0x1a2532),_0x36e9d8=(_0x3a1689=_0x1a2532[_0x2ef07c(0x396)])==null?{}:_0x3a1689,_0x473db7=this['_resolveKanbanCardFieldIds'](_0x2b4df3,_0x1a2532,_0x40bc86['id']),_0x1bf6a4=new Map();return this[_0x2ef07c(0x320)](_0x40bc86,_0x36e9d8)[_0x2ef07c(0x266)](_0x19b80e=>_0x1bf6a4[_0x2ef07c(0x195)](_0x19b80e[_0x2ef07c(0x357)],{..._0x19b80e,'recordIds':[]})),_0x14363e[_0x2ef07c(0x266)](_0x44dfc6=>{const _0x47c270=_0x2ef07c;this[_0x47c270(0x304)](_0x40bc86,_0x44dfc6[_0x47c270(0x203)][_0x40bc86['id']])[_0x47c270(0x266)](_0x13dadf=>{const _0x1b7e2f=_0x47c270;let _0x2e53e5=_0x1bf6a4['get'](_0x13dadf),_0x428c82=_0x2e53e5==null?{'key':_0x13dadf,'title':this[_0x1b7e2f(0x14b)](_0x40bc86,_0x13dadf,_0x36e9d8),'color':this[_0x1b7e2f(0x22e)](_0x40bc86,_0x13dadf,_0x36e9d8),'recordIds':[]}:_0x2e53e5;_0x428c82[_0x1b7e2f(0x145)][_0x1b7e2f(0x147)](_0x44dfc6[_0x1b7e2f(0x232)]),_0x1bf6a4['set'](_0x13dadf,_0x428c82);});}),{'type':e[_0x2ef07c(0x3c0)][_0x2ef07c(0x246)],'fields':_0x15ed49,'rows':_0x14363e,'groups':this[_0x2ef07c(0x243)](_0x2b4df3,_0x1a2532,_0x14363e),'groupFieldId':_0x40bc86['id'],'coverFieldId':this['_resolveKanbanCoverFieldId'](_0x2b4df3,_0x36e9d8),'cardLayout':_0x36e9d8[_0x2ef07c(0x25c)]==='compose'?_0x2ef07c(0xc8):'normal','showFieldNames':_0x36e9d8[_0x2ef07c(0x31e)]!==!0x1,'visibleCardFieldIds':_0x473db7,'lanes':Array[_0x2ef07c(0x139)](_0x1bf6a4[_0x2ef07c(0x203)]())};}[_0x21bd22(0x22a)](_0x419a91,_0x35ccb3){const _0x588075=_0x21bd22;var _0x163bb4;let _0x456157=(_0x163bb4=_0x35ccb3[_0x588075(0x396)])==null?void 0x0:_0x163bb4['groupFieldId'];return _0x456157&&this['_isKanbanGroupField'](_0x419a91,_0x456157)?_0x456157:this[_0x588075(0x142)](_0x419a91,_0x3c24b0=>this[_0x588075(0x2aa)](_0x3c24b0));}['_findKanbanGroupField'](_0x5d730c,_0x4b3294){const _0x4eb7bf=_0x21bd22;for(let _0x1236fe of _0x5d730c[_0x4eb7bf(0xde)]){let _0x5a0f31=_0x5d730c[_0x4eb7bf(0x38f)][_0x1236fe];if(_0x5a0f31&&_0x4b3294(_0x5a0f31))return _0x5a0f31['id'];}return null;}[_0x21bd22(0x96)](_0xdc3b1d,_0x20d3f3){const _0x5219a6=_0x21bd22;let _0xaeff5f=_0xdc3b1d['fields'][_0x20d3f3];return this[_0x5219a6(0x2aa)](_0xaeff5f);}[_0x21bd22(0x2aa)](_0x2fd2cc){const _0xf3800c=_0x21bd22;return!!_0x2fd2cc&&(_0x2fd2cc[_0xf3800c(0x3ab)]===e[_0xf3800c(0x2bb)][_0xf3800c(0x11f)]||_0x2fd2cc[_0xf3800c(0x3ab)]===e[_0xf3800c(0x2bb)]['MultiSelect']||_0x2fd2cc['type']===e[_0xf3800c(0x2bb)][_0xf3800c(0x2fd)]||_0x2fd2cc[_0xf3800c(0x3ab)]===e[_0xf3800c(0x2bb)]['Person']||_0x2fd2cc[_0xf3800c(0x3ab)]===e[_0xf3800c(0x2bb)][_0xf3800c(0xae)]||_0x2fd2cc['type']===e[_0xf3800c(0x2bb)][_0xf3800c(0x31b)]);}['_isColorfulKanbanGroupField'](_0x5c1e3c){const _0x4dc8ef=_0x21bd22;return _0x5c1e3c[_0x4dc8ef(0x3ab)]===e[_0x4dc8ef(0x2bb)][_0x4dc8ef(0x11f)]||_0x5c1e3c['type']===e['BaseFieldType']['MultiSelect'];}[_0x21bd22(0x205)](_0x5e61db,_0x1189a5){const _0x39416a=_0x21bd22;var _0x5e2d73,_0x227684,_0x256e89;let _0x3cc7c4=(_0x5e2d73=(_0x227684=_0x1189a5['coverFieldId'])==null?(_0x256e89=_0x1189a5[_0x39416a(0x1e2)])==null?void 0x0:_0x256e89['coverFieldId']:_0x227684)==null?null:_0x5e2d73;if(!_0x3cc7c4)return null;let _0x332cb3=_0x5e61db[_0x39416a(0x38f)][_0x3cc7c4];return _0x332cb3&&this['_capabilities'](_0x332cb3)[_0x39416a(0x277)]?_0x332cb3['id']:null;}[_0x21bd22(0x3bc)](_0x13e7a1,_0x3233ed,_0x2c2f62){const _0x527039=_0x21bd22;var _0x189f56,_0xa539b9,_0x1e27bd;let _0x400cf0=(_0x189f56=_0x3233ed[_0x527039(0x396)])==null?{}:_0x189f56,_0x4862aa=!((_0xa539b9=_0x400cf0[_0x527039(0x1e2)])==null||(_0xa539b9=_0xa539b9[_0x527039(0xc4)])==null)&&_0xa539b9['length']?_0x400cf0[_0x527039(0x1e2)][_0x527039(0xc4)]:U(_0x13e7a1,[_0x13e7a1[_0x527039(0x329)],_0x2c2f62]),_0x405abe=(_0x1e27bd=_0x400cf0[_0x527039(0x13c)])==null?{}:_0x1e27bd;return _0x4862aa[_0x527039(0x2e1)](_0x333d3b=>{const _0x48aabe=_0x527039;var _0x182371,_0x25db9a;let _0x9e05b8=_0x13e7a1['fields'][_0x333d3b];return!(!_0x9e05b8||_0x9e05b8['id']===_0x2c2f62||!((_0x182371=_0x3233ed['fieldSettings'])==null||(_0x182371=_0x182371[_0x333d3b])==null)&&_0x182371[_0x48aabe(0x218)]||(_0x25db9a=_0x405abe[_0x333d3b])!=null&&_0x25db9a[_0x48aabe(0x218)]);})[_0x527039(0x2b9)]((_0x343478,_0x2dc9ef)=>{const _0x5c173c=_0x527039;var _0xba9388,_0x1d909a,_0x3f5bb7,_0x3148b7;return((_0xba9388=(_0x1d909a=_0x405abe[_0x343478])==null?void 0x0:_0x1d909a[_0x5c173c(0x291)])==null?_0x4862aa['indexOf'](_0x343478):_0xba9388)-((_0x3f5bb7=(_0x3148b7=_0x405abe[_0x2dc9ef])==null?void 0x0:_0x3148b7[_0x5c173c(0x291)])==null?_0x4862aa['indexOf'](_0x2dc9ef):_0x3f5bb7);});}['_getKanbanConfiguredLanes'](_0x580acf,_0x4c57a0){const _0xa7a32d=_0x21bd22;var _0x4f691c,_0x2ff6dc;let _0x1d053c=(Array[_0xa7a32d(0x35a)]((_0x4f691c=_0x580acf[_0xa7a32d(0x396)])==null?void 0x0:_0x4f691c['options'])?_0x580acf[_0xa7a32d(0x396)][_0xa7a32d(0x26e)]:[])[_0xa7a32d(0x103)]((_0x76cfc6,_0x27b21a)=>{const _0x3a1941=_0xa7a32d;var _0x598515,_0x55b9e8,_0x3d41bd,_0xa4598f;if(_0x76cfc6==null)return[];let _0x35f20d=typeof _0x76cfc6==_0x3a1941(0x14d)?{'id':_0x76cfc6,'name':_0x76cfc6,'color':void 0x0}:_0x76cfc6,_0x117d9f=String((_0x598515=(_0x55b9e8=_0x35f20d['id'])==null?_0x35f20d[_0x3a1941(0x1d6)]:_0x55b9e8)==null?'option-'+(_0x27b21a+0x1):_0x598515);return[{'key':_0x117d9f,'title':String((_0x3d41bd=(_0xa4598f=_0x35f20d[_0x3a1941(0x1d6)])==null?_0x35f20d['id']:_0xa4598f)==null?_0x117d9f:_0x3d41bd),'color':this[_0x3a1941(0x22e)](_0x580acf,_0x117d9f,_0x4c57a0)}];});return Object[_0xa7a32d(0x2d7)]((_0x2ff6dc=_0x4c57a0['columnSettings'])==null?{}:_0x2ff6dc)[_0xa7a32d(0x266)](([_0x304d27,_0x7be62d])=>{const _0x165e02=_0xa7a32d;var _0x484de4;_0x1d053c[_0x165e02(0x10a)](_0xe44bc2=>_0xe44bc2[_0x165e02(0x357)]===_0x304d27)||_0x1d053c[_0x165e02(0x147)]({'key':_0x304d27,'title':this[_0x165e02(0x92)](_0x580acf)?(_0x484de4=_0x7be62d['title'])==null?this[_0x165e02(0x14b)](_0x580acf,_0x304d27,_0x4c57a0):_0x484de4:this['_kanbanLaneTitle'](_0x580acf,_0x304d27,_0x4c57a0),'color':this[_0x165e02(0x22e)](_0x580acf,_0x304d27,_0x4c57a0)});}),_0x1d053c;}[_0x21bd22(0x304)](_0x12e65b,_0x5523e5){const _0x167f23=_0x21bd22;let _0x3df5ed=_0x825704=>{const _0x3c3abb=_0x5df8;var _0x1be1b4,_0x25dad4;let _0x373e8f=_0x825704==null?'':String(_0x825704);return!_0x373e8f||!this[_0x3c3abb(0x92)](_0x12e65b)||(_0x1be1b4=(_0x25dad4=q(_0x12e65b,_0x373e8f))==null?void 0x0:_0x25dad4['id'])==null?_0x373e8f:_0x1be1b4;};if(Array['isArray'](_0x5523e5)){let _0x12beac=_0x5523e5[_0x167f23(0x3c2)](_0x3df5ed)[_0x167f23(0x2e1)](_0x3362a9=>_0x3362a9!=='');return _0x12beac[_0x167f23(0x1e3)]?_0x12beac:[''];}return[_0x3df5ed(_0x5523e5)];}[_0x21bd22(0x14b)](_0x2ed3e8,_0x3fffc6,_0x2ac786){var _0x70d1e8;if(!_0x3fffc6)return'Uncategorized';let _0x5b7459=q(_0x2ed3e8,_0x3fffc6);return(_0x70d1e8=_0x5b7459==null?void 0x0:_0x5b7459['name'])==null?_0x3fffc6:_0x70d1e8;}[_0x21bd22(0x22e)](_0x132741,_0x6fd605,_0xe52d80){const _0x38f5f2=_0x21bd22;var _0x1e8303;if(this[_0x38f5f2(0x92)](_0x132741))return(_0x1e8303=q(_0x132741,_0x6fd605))==null?void 0x0:_0x1e8303[_0x38f5f2(0x38e)];}[_0x21bd22(0x2ba)](_0x2776fd,_0x164df6){const _0x3ed6a2=_0x21bd22;var _0x1ab47a;let _0x445ed5=this[_0x3ed6a2(0x34e)](_0x2776fd,(_0x1ab47a=_0x164df6[_0x3ed6a2(0x396)])==null?{}:_0x1ab47a),_0x1311ce=_0x2776fd[_0x3ed6a2(0x38f)][_0x445ed5[_0x3ed6a2(0x290)]];if(!_0x1311ce||_0x1311ce[_0x3ed6a2(0x3ab)]!==e[_0x3ed6a2(0x2bb)][_0x3ed6a2(0x14c)]||_0x1311ce[_0x3ed6a2(0x28f)]===!0x0||_0x1311ce[_0x3ed6a2(0x208)]===!0x0||!this[_0x3ed6a2(0x1de)](_0x1311ce)[_0x3ed6a2(0x1bb)])return{'type':_0x3ed6a2(0x309),'viewType':e[_0x3ed6a2(0x3c0)]['Calendar'],'reason':_0x3ed6a2(0x283),'fieldId':_0x445ed5[_0x3ed6a2(0x290)]};let _0x4e413f=_0x445ed5[_0x3ed6a2(0x27e)]?_0x2776fd[_0x3ed6a2(0x38f)][_0x445ed5[_0x3ed6a2(0x27e)]]:void 0x0,_0x55829b=this[_0x3ed6a2(0xd2)](_0x2776fd,_0x164df6);return{'type':e[_0x3ed6a2(0x3c0)][_0x3ed6a2(0x341)],'config':_0x445ed5,'fields':this[_0x3ed6a2(0x131)](_0x2776fd,_0x164df6),'rows':_0x55829b,'groups':this[_0x3ed6a2(0x243)](_0x2776fd,_0x164df6,_0x55829b),'events':_0x55829b['flatMap'](_0x27b26d=>{const _0x33aff0=_0x3ed6a2;let _0x3c5851=D(_0x27b26d[_0x33aff0(0x203)][_0x445ed5[_0x33aff0(0x290)]]);if(!Number[_0x33aff0(0x342)](_0x3c5851))return[];let _0xc14957=_0x27b26d[_0x33aff0(0x203)][_0x445ed5[_0x33aff0(0x290)]],_0x4cd295=_0x445ed5[_0x33aff0(0x27e)]==null?void 0x0:_0x27b26d['values'][_0x445ed5[_0x33aff0(0x27e)]],_0x2fcce7=_0x445ed5[_0x33aff0(0x27e)]==null?void 0x0:D(_0x4cd295),_0x25dffd=Number[_0x33aff0(0x342)](_0x2fcce7)?_0x2fcce7:void 0x0;return[{'recordId':_0x27b26d[_0x33aff0(0x232)],'title':this[_0x33aff0(0x140)](_0x2776fd,_0x27b26d,_0x445ed5[_0x33aff0(0xd9)]),'start':_0x3c5851,'end':_0x25dffd,'color':this[_0x33aff0(0x166)](_0x2776fd,_0x27b26d,_0x445ed5),'startMs':_0x3c5851,'endMs':_0x25dffd,'allDay':this[_0x33aff0(0x2d6)](_0x1311ce,_0x4e413f,_0xc14957,_0x4cd295),'fieldValues':_0x27b26d[_0x33aff0(0x203)]}];})};}[_0x21bd22(0x34e)](_0x29df13,_0x1b47d5){const _0x2fd272=_0x21bd22;var _0x26f79f,_0x70fdc0;let _0x574efc=this[_0x2fd272(0x177)](_0x29df13,_0x1b47d5[_0x2fd272(0x290)]),_0x90e317=_0x1b47d5[_0x2fd272(0x27e)]&&this['_isCalendarDateField'](_0x29df13,_0x1b47d5['endDateFieldId'])?_0x1b47d5[_0x2fd272(0x27e)]:(_0x26f79f=this[_0x2fd272(0x272)](_0x29df13,_0x574efc))==null?void 0x0:_0x26f79f,_0x25062d=_0x1b47d5[_0x2fd272(0xd9)]&&_0x29df13[_0x2fd272(0x38f)][_0x1b47d5[_0x2fd272(0xd9)]]?_0x1b47d5[_0x2fd272(0xd9)]:_0x29df13[_0x2fd272(0x329)],_0x4362cd=_0x1b47d5[_0x2fd272(0x187)]===_0x2fd272(0x2d8)||_0x1b47d5[_0x2fd272(0x187)]===_0x2fd272(0x364)?_0x1b47d5[_0x2fd272(0x187)]:_0x2fd272(0x1b9),_0x1b377e=_0x1b47d5['timeslotSize']===_0x2fd272(0x1fa)||_0x1b47d5[_0x2fd272(0x23c)]===_0x2fd272(0x175)?_0x1b47d5[_0x2fd272(0x23c)]:_0x2fd272(0x3ce),_0x2c513c=typeof _0x1b47d5[_0x2fd272(0x107)]==_0x2fd272(0x14d)&&_0x1b47d5[_0x2fd272(0x107)][_0x2fd272(0x383)]()?_0x1b47d5[_0x2fd272(0x107)]:'local',_0x2612ab=this['_normalizeCalendarDisplayColor'](_0x29df13,_0x1b47d5);return{..._0x1b47d5,'startDateFieldId':_0x574efc,'endDateFieldId':_0x90e317,'titleFieldId':_0x25062d,'mode':_0x4362cd,'timeslotSize':_0x1b377e,'timeZone':_0x2c513c,'displayColor':_0x2612ab,'fieldSettings':Object[_0x2fd272(0x30a)](Object['entries']((_0x70fdc0=_0x1b47d5[_0x2fd272(0x13c)])==null?{}:_0x70fdc0)['filter'](([_0x225721])=>!!_0x29df13['fields'][_0x225721]))};}[_0x21bd22(0x177)](_0x5c2f05,_0x16ba0a){const _0x1207bd=_0x21bd22;var _0x113e4d,_0x1ec239;return _0x16ba0a&&this[_0x1207bd(0xab)](_0x5c2f05,_0x16ba0a)?_0x16ba0a:(_0x113e4d=(_0x1ec239=this[_0x1207bd(0x272)](_0x5c2f05))==null?_0x16ba0a:_0x1ec239)==null?'':_0x113e4d;}[_0x21bd22(0x272)](_0x17bb66,_0x3f6522){const _0x42dcd7=_0x21bd22;for(let _0x547e96 of _0x17bb66[_0x42dcd7(0xde)])if(_0x547e96!==_0x3f6522&&this[_0x42dcd7(0xab)](_0x17bb66,_0x547e96))return _0x547e96;return null;}[_0x21bd22(0xab)](_0x44940b,_0x4f4c03){const _0x408c63=_0x21bd22;let _0xb107d5=_0x44940b[_0x408c63(0x38f)][_0x4f4c03];return!!_0xb107d5&&_0xb107d5['type']===e[_0x408c63(0x2bb)][_0x408c63(0x14c)]&&_0xb107d5['readonly']!==!0x0&&_0xb107d5[_0x408c63(0x208)]!==!0x0&&this['_capabilities'](_0xb107d5)[_0x408c63(0x1bb)];}[_0x21bd22(0x2ca)](_0x15b029,_0x41ab42){const _0x1715ff=_0x21bd22;let _0x40e708=_0x41ab42[_0x1715ff(0xea)];if((_0x40e708==null?void 0x0:_0x40e708[_0x1715ff(0x3ab)])===_0x1715ff(0x2e9)){let _0x153d3d=_0x15b029[_0x1715ff(0x38f)][_0x40e708['fieldId']];if(_0x153d3d&&_0x153d3d[_0x1715ff(0x3ab)]===e[_0x1715ff(0x2bb)][_0x1715ff(0x11f)])return _0x40e708;}if((_0x40e708==null?void 0x0:_0x40e708['type'])===_0x1715ff(0x299)&&typeof _0x40e708[_0x1715ff(0x38e)]==_0x1715ff(0x14d)&&_0x40e708[_0x1715ff(0x38e)][_0x1715ff(0x383)]())return{'type':_0x1715ff(0x299),'color':_0x40e708[_0x1715ff(0x38e)]};if(_0x41ab42['colorFieldId']){let _0x11dfd5=_0x15b029[_0x1715ff(0x38f)][_0x41ab42[_0x1715ff(0x132)]];if(_0x11dfd5&&_0x11dfd5[_0x1715ff(0x3ab)]===e[_0x1715ff(0x2bb)]['SingleSelect'])return{'type':_0x1715ff(0x2e9),'fieldId':_0x41ab42['colorFieldId']};}return{'type':_0x1715ff(0x299),'color':_0x1715ff(0x359)};}[_0x21bd22(0x166)](_0xc4219d,_0x17198f,_0x1014c0){const _0x589f8a=_0x21bd22;let _0x4f64f0=_0x1014c0[_0x589f8a(0xea)];if((_0x4f64f0==null?void 0x0:_0x4f64f0['type'])===_0x589f8a(0x2e9)){var _0x217f40;let _0x172bec=_0xc4219d[_0x589f8a(0x38f)][_0x4f64f0[_0x589f8a(0x286)]];if(!_0x172bec)return;let _0x62cf0=_0x17198f[_0x589f8a(0x203)][_0x4f64f0[_0x589f8a(0x286)]],_0x443f84=Array[_0x589f8a(0x35a)](_0x62cf0)?_0x62cf0[0x0]:_0x62cf0;return _0x443f84==null||(_0x217f40=q(_0x172bec,String(_0x443f84)))==null?void 0x0:_0x217f40[_0x589f8a(0x38e)];}if((_0x4f64f0==null?void 0x0:_0x4f64f0[_0x589f8a(0x3ab)])===_0x589f8a(0x299))return _0x4f64f0[_0x589f8a(0x38e)];}['_isAllDayCalendarEvent'](_0x4e1133,_0x2086bb,_0x36451b,_0x743a5c){const _0x3bdf22=_0x21bd22;var _0x3f2cf7,_0x5c025a;let _0x2bf557=((_0x3f2cf7=_0x4e1133[_0x3bdf22(0x396)])==null?void 0x0:_0x3f2cf7[_0x3bdf22(0x31f)])===!0x0,_0x552e2b=(_0x2086bb==null||(_0x5c025a=_0x2086bb[_0x3bdf22(0x396)])==null?void 0x0:_0x5c025a[_0x3bdf22(0x31f)])===!0x0;return!_0x2bf557&&!_0x552e2b;}[_0x21bd22(0x284)](_0x3e61da,_0x5a1c22){const _0x14312a=_0x21bd22;var _0x6f5ff1,_0x1fe5da;let _0x29cc87=((_0x6f5ff1=_0x3e61da['config'])==null?void 0x0:_0x6f5ff1['includeTime'])===!0x0,_0x2140ad=((_0x1fe5da=_0x5a1c22[_0x14312a(0x396)])==null?void 0x0:_0x1fe5da['includeTime'])===!0x0;return!_0x29cc87&&!_0x2140ad;}[_0x21bd22(0x354)](_0x13fa89,_0x39907b){const _0x12ccd4=_0x21bd22;let _0x387dbb=this[_0x12ccd4(0x32a)](_0x13fa89,_0x39907b['config']),_0x11e1a4=_0x13fa89[_0x12ccd4(0x38f)][_0x387dbb[_0x12ccd4(0x290)]];if(!_0x11e1a4||_0x11e1a4[_0x12ccd4(0x3ab)]!==e[_0x12ccd4(0x2bb)][_0x12ccd4(0x14c)]||_0x11e1a4[_0x12ccd4(0x28f)]===!0x0||_0x11e1a4['system']===!0x0||!this['_capabilities'](_0x11e1a4)[_0x12ccd4(0x2c6)])return{'type':_0x12ccd4(0x309),'viewType':e[_0x12ccd4(0x3c0)][_0x12ccd4(0x16b)],'reason':_0x12ccd4(0x18b),'fieldId':_0x387dbb[_0x12ccd4(0x290)]};let _0x1b409b=_0x13fa89['fields'][_0x387dbb[_0x12ccd4(0x27e)]];if(!_0x1b409b||_0x1b409b[_0x12ccd4(0x3ab)]!==e['BaseFieldType'][_0x12ccd4(0x14c)]||_0x1b409b['readonly']===!0x0||_0x1b409b[_0x12ccd4(0x208)]===!0x0||!this[_0x12ccd4(0x1de)](_0x1b409b)['usableAsGanttEnd'])return{'type':'invalid','viewType':e[_0x12ccd4(0x3c0)]['Gantt'],'reason':'invalidGanttEndField','fieldId':_0x387dbb[_0x12ccd4(0x27e)]};let _0x2f6f91=this['_isAllDayGanttDateRange'](_0x11e1a4,_0x1b409b),_0x243903=this[_0x12ccd4(0xd2)](_0x13fa89,_0x39907b),_0x4db17f=_0x243903[_0x12ccd4(0x103)](_0x4f2334=>{const _0x1fcf43=_0x12ccd4;var _0xa47cd5;let _0x5ae8f9=D(_0x4f2334[_0x1fcf43(0x203)][_0x387dbb['startDateFieldId']]),_0x1e2c49=D(_0x4f2334['values'][_0x387dbb[_0x1fcf43(0x27e)]]);if(!Number[_0x1fcf43(0x342)](_0x5ae8f9)||!Number['isFinite'](_0x1e2c49))return[];let _0x44fdc0=Math[_0x1fcf43(0x151)](_0x5ae8f9,_0x1e2c49),_0x26e4e6=Math[_0x1fcf43(0x38a)](_0x5ae8f9,_0x1e2c49),_0x56606=_0x387dbb[_0x1fcf43(0x3cb)]==null?void 0x0:Number(_0x4f2334['values'][_0x387dbb[_0x1fcf43(0x3cb)]]);return[{'recordId':_0x4f2334[_0x1fcf43(0x232)],'title':this[_0x1fcf43(0x140)](_0x13fa89,_0x4f2334,_0x387dbb[_0x1fcf43(0xd9)]),'start':_0x44fdc0,'end':_0x26e4e6,'color':this[_0x1fcf43(0x1d3)](_0x13fa89,_0x4f2334,_0x387dbb),'progress':Number[_0x1fcf43(0x342)](_0x56606)?_0x56606:void 0x0,'workingDayCount':_0x387dbb['workingDaysOnly']?en(_0x44fdc0,_0x26e4e6,_0x387dbb[_0x1fcf43(0x2be)]):void 0x0,'dependencyRecordIds':this[_0x1fcf43(0x17b)](_0x4f2334[_0x1fcf43(0x203)][(_0xa47cd5=_0x387dbb[_0x1fcf43(0x207)])==null?'':_0xa47cd5])}];}),_0x1f8125=_0x4db17f['length']?G(Math['min'](..._0x4db17f[_0x12ccd4(0x3c2)](_0x596a27=>_0x596a27[_0x12ccd4(0x301)]))-0x5a*W):G(Date[_0x12ccd4(0xe3)]()-0x5a*W),_0x5bfc92=_0x4db17f[_0x12ccd4(0x1e3)]?G(Math[_0x12ccd4(0x38a)](..._0x4db17f['map'](_0x392cbc=>_0x392cbc[_0x12ccd4(0x385)]))+0x5b*W):G(Date[_0x12ccd4(0xe3)]()+0x5b*W),_0x18a0f7=Kt(_0x387dbb['scale'],_0x1f8125,_0x5bfc92,_0x387dbb[_0x12ccd4(0x194)]?_0x387dbb[_0x12ccd4(0x2be)]:void 0x0);return{'type':e['BaseViewType'][_0x12ccd4(0x16b)],'fields':this[_0x12ccd4(0x131)](_0x13fa89,{..._0x39907b,'config':_0x387dbb}),'rows':_0x243903,'groups':this[_0x12ccd4(0x243)](_0x13fa89,_0x39907b,_0x243903),'config':_0x387dbb,'dateRangeAllDay':_0x2f6f91,'timeline':{'scale':_0x387dbb[_0x12ccd4(0x172)],'start':_0x1f8125,'end':_0x5bfc92,'unitWidth':_0x18a0f7['unitWidth'],'majorHeaders':_0x18a0f7['majorHeaders'],'columns':_0x18a0f7[_0x12ccd4(0x9d)]},'bars':_0x4db17f};}[_0x21bd22(0x32a)](_0x16d35a,_0x21e9e2){const _0x503d6f=_0x21bd22;var _0x2fcac2;let _0xf65b31=this['_resolveGanttDateFieldId'](_0x16d35a,_0x21e9e2[_0x503d6f(0x290)],_0x503d6f(0x301)),_0x4cf795=this[_0x503d6f(0x245)](_0x16d35a,_0x21e9e2[_0x503d6f(0x27e)],_0x503d6f(0x385))||_0xf65b31,_0x1834ab=_0x21e9e2[_0x503d6f(0xd9)]&&_0x16d35a[_0x503d6f(0x38f)][_0x21e9e2[_0x503d6f(0xd9)]]?_0x21e9e2[_0x503d6f(0xd9)]:_0x16d35a[_0x503d6f(0x329)],_0x298574=_0x21e9e2['scale']===_0x503d6f(0x364)||_0x21e9e2[_0x503d6f(0x172)]===_0x503d6f(0x317)||_0x21e9e2[_0x503d6f(0x172)]===_0x503d6f(0x1c0)?_0x21e9e2[_0x503d6f(0x172)]:_0x503d6f(0x1b9),_0x4f9bf=Gt(_0x21e9e2[_0x503d6f(0x2be)]);return{..._0x21e9e2,'startDateFieldId':_0xf65b31,'endDateFieldId':_0x4cf795,'titleFieldId':_0x1834ab,'scale':_0x298574,'leftPaneWidth':typeof _0x21e9e2[_0x503d6f(0x2d0)]==_0x503d6f(0x307)?_0x21e9e2[_0x503d6f(0x2d0)]:void 0x0,'leftPaneCollapsed':_0x21e9e2[_0x503d6f(0xfe)]===!0x0,'showTodayLine':_0x21e9e2[_0x503d6f(0x99)]!==!0x1,'displayColor':this[_0x503d6f(0x1b8)](_0x16d35a,_0x21e9e2),'fieldSettings':Object[_0x503d6f(0x30a)](Object[_0x503d6f(0x2d7)]((_0x2fcac2=_0x21e9e2['fieldSettings'])==null?{}:_0x2fcac2)['filter'](([_0x263d21])=>!!_0x16d35a[_0x503d6f(0x38f)][_0x263d21])),'workingDaysOnly':_0x21e9e2[_0x503d6f(0x194)]===!0x0,'workingDays':_0x4f9bf};}[_0x21bd22(0x245)](_0x1a1565,_0x21b088,_0x14d6a5){const _0x431b8c=_0x21bd22;if(_0x21b088&&this['_isGanttDateField'](_0x1a1565,_0x21b088,_0x14d6a5)||_0x21b088)return _0x21b088;for(let _0x2a2321 of _0x1a1565[_0x431b8c(0xde)])if(this[_0x431b8c(0xe8)](_0x1a1565,_0x2a2321,_0x14d6a5))return _0x2a2321;return _0x21b088==null?'':_0x21b088;}['_isGanttDateField'](_0x28d1d8,_0x565f73,_0x218716){const _0x4bef93=_0x21bd22;let _0x4d2a9b=_0x28d1d8[_0x4bef93(0x38f)][_0x565f73];if(!_0x4d2a9b||_0x4d2a9b[_0x4bef93(0x3ab)]!==e[_0x4bef93(0x2bb)][_0x4bef93(0x14c)]||_0x4d2a9b[_0x4bef93(0x28f)]===!0x0||_0x4d2a9b[_0x4bef93(0x208)]===!0x0)return!0x1;let _0x4a5cb8=this[_0x4bef93(0x1de)](_0x4d2a9b);return _0x218716===_0x4bef93(0x301)?_0x4a5cb8[_0x4bef93(0x2c6)]:_0x4a5cb8['usableAsGanttEnd'];}[_0x21bd22(0x1b8)](_0x75dce9,_0x1de3d0){const _0x430184=_0x21bd22;let _0x30ea06=_0x1de3d0[_0x430184(0xea)];if((_0x30ea06==null?void 0x0:_0x30ea06[_0x430184(0x3ab)])==='selectField'){let _0x20df09=_0x75dce9[_0x430184(0x38f)][_0x30ea06['fieldId']];if(_0x20df09&&_0x20df09['type']===e[_0x430184(0x2bb)]['SingleSelect'])return _0x30ea06;}return(_0x30ea06==null?void 0x0:_0x30ea06[_0x430184(0x3ab)])===_0x430184(0x11a)&&Array[_0x430184(0x35a)](_0x30ea06['rules'])?{'type':_0x430184(0x11a),'rules':_0x30ea06[_0x430184(0x1d4)][_0x430184(0x2e1)](_0x3dda98=>!!_0x75dce9[_0x430184(0x38f)][_0x3dda98[_0x430184(0x286)]])}:(_0x30ea06==null?void 0x0:_0x30ea06[_0x430184(0x3ab)])==='custom'&&typeof _0x30ea06[_0x430184(0x38e)]==_0x430184(0x14d)&&_0x30ea06[_0x430184(0x38e)][_0x430184(0x383)]()?{'type':_0x430184(0x299),'color':_0x30ea06[_0x430184(0x38e)]}:{'type':_0x430184(0x299),'color':'#14b8a6'};}[_0x21bd22(0x1d3)](_0x837f51,_0x33090e,_0xd5fcf1){const _0x5dac4e=_0x21bd22;let _0x151e1b=_0xd5fcf1[_0x5dac4e(0xea)];if((_0x151e1b==null?void 0x0:_0x151e1b[_0x5dac4e(0x3ab)])===_0x5dac4e(0x11a)){let _0x3b8fe9=_0x151e1b[_0x5dac4e(0x1d4)][_0x5dac4e(0x1bd)](_0x41cb07=>this[_0x5dac4e(0x1a8)](_0x837f51,_0x33090e,_0x41cb07));if(_0x3b8fe9)return _0x3b8fe9['color'];}if((_0x151e1b==null?void 0x0:_0x151e1b[_0x5dac4e(0x3ab)])===_0x5dac4e(0x2e9)){let _0x2debc9=_0x837f51[_0x5dac4e(0x38f)][_0x151e1b['fieldId']];if(_0x2debc9){var _0x1da790;let _0x1ca9e3=_0x33090e[_0x5dac4e(0x203)][_0x151e1b[_0x5dac4e(0x286)]],_0x36b552=Array[_0x5dac4e(0x35a)](_0x1ca9e3)?_0x1ca9e3[0x0]:_0x1ca9e3,_0x58c39f=_0x36b552==null||(_0x1da790=q(_0x2debc9,String(_0x36b552)))==null?void 0x0:_0x1da790['color'];if(_0x58c39f)return _0x58c39f;}}return(_0x151e1b==null?void 0x0:_0x151e1b[_0x5dac4e(0x3ab)])===_0x5dac4e(0x299)?_0x151e1b[_0x5dac4e(0x38e)]:'#14b8a6';}['_matchesGanttColorRule'](_0x11a1ae,_0x5c0839,_0x43109d){const _0x2a931c=_0x21bd22;let _0x25eee2=_0x11a1ae[_0x2a931c(0x38f)][_0x43109d[_0x2a931c(0x286)]];return _0x25eee2?Ie(_0x5c0839[_0x2a931c(0x203)][_0x25eee2['id']],_0x43109d['operator'],_0x43109d['operand'],_0x25eee2,{'dateMode':_0x43109d[_0x2a931c(0x39a)]}):!0x1;}['_buildGallery'](_0x2f5130,_0x2fb4a0){const _0x20305b=_0x21bd22;var _0x2c12ba,_0x2b16e3,_0xc18b42;let _0x5654cb=this[_0x20305b(0xd2)](_0x2f5130,_0x2fb4a0),_0x1bb69d=this[_0x20305b(0x325)](_0x2f5130,(_0x2c12ba=_0x2fb4a0[_0x20305b(0x396)])==null?{}:_0x2c12ba),_0x4ef358=this['_projectFields'](_0x2f5130,_0x2fb4a0);return{'type':e[_0x20305b(0x3c0)][_0x20305b(0x2df)],'fields':_0x4ef358,'rows':_0x5654cb,'groups':this[_0x20305b(0x243)](_0x2f5130,_0x2fb4a0,_0x5654cb),'coverFieldId':_0x1bb69d['coverFieldId'],'cardLayout':(_0x2b16e3=_0x1bb69d['cardLayout'])==null?_0x20305b(0x23d):_0x2b16e3,'showFieldNames':_0x1bb69d[_0x20305b(0x31e)]!==!0x1,'visibleCardFieldIds':this['_resolveGalleryCardFieldIds'](_0x2f5130,_0x2fb4a0,_0x1bb69d),'cardSize':(_0xc18b42=_0x1bb69d['cardSize'])==null?'medium':_0xc18b42,'cards':_0x5654cb[_0x20305b(0x3c2)](_0x34716c=>({'recordId':_0x34716c[_0x20305b(0x232)],'title':this[_0x20305b(0x140)](_0x2f5130,_0x34716c,_0x1bb69d[_0x20305b(0x1e2)][_0x20305b(0xd9)]),'values':_0x34716c['values']}))};}[_0x21bd22(0x325)](_0x447657,_0xeb0510){const _0x337520=_0x21bd22;var _0x21673c,_0x1c4717;let _0x23a645=(_0x21673c=_0xeb0510['card'])==null?{'fieldIds':[]}:_0x21673c,_0x32e347=_0x23a645[_0x337520(0xd9)]&&_0x447657[_0x337520(0x38f)][_0x23a645[_0x337520(0xd9)]]?_0x23a645[_0x337520(0xd9)]:kt(_0x447657),_0x55fe9b=this['_resolveGalleryCoverFieldId'](_0x447657,_0xeb0510),_0x34515c=_0xeb0510[_0x337520(0x36b)]===_0x337520(0x23e)||_0xeb0510[_0x337520(0x36b)]===_0x337520(0x173)?_0xeb0510[_0x337520(0x36b)]:'medium';return{..._0xeb0510,'coverFieldId':_0x55fe9b,'cardLayout':_0xeb0510[_0x337520(0x25c)]===_0x337520(0xc8)?_0x337520(0xc8):_0x337520(0x23d),'showFieldNames':_0xeb0510[_0x337520(0x31e)]!==!0x1,'fieldSettings':Object[_0x337520(0x30a)](Object[_0x337520(0x2d7)]((_0x1c4717=_0xeb0510['fieldSettings'])==null?{}:_0x1c4717)[_0x337520(0x2e1)](([_0x11db1a])=>!!_0x447657[_0x337520(0x38f)][_0x11db1a])),'card':{..._0x23a645,'titleFieldId':_0x32e347,'coverFieldId':_0x55fe9b,'fieldIds':Array[_0x337520(0x35a)](_0x23a645['fieldIds'])?_0x23a645['fieldIds']:[]},'cardSize':_0x34515c};}[_0x21bd22(0x154)](_0xf8b7a6,_0x452077){const _0x463d8a=_0x21bd22;var _0x3734ae,_0x4b8a40,_0x1a3375;let _0x204064=(_0x3734ae=(_0x4b8a40=_0x452077[_0x463d8a(0xdd)])==null?(_0x1a3375=_0x452077[_0x463d8a(0x1e2)])==null?void 0x0:_0x1a3375[_0x463d8a(0xdd)]:_0x4b8a40)==null?null:_0x3734ae;if(!_0x204064)return null;let _0x56faed=_0xf8b7a6[_0x463d8a(0x38f)][_0x204064];return _0x56faed&&this[_0x463d8a(0x1de)](_0x56faed)[_0x463d8a(0x277)]?_0x56faed['id']:null;}[_0x21bd22(0x179)](_0x58d0d6,_0x21f533,_0xe85874){const _0x2089b9=_0x21bd22;var _0x9bcbf5,_0x4df4bc,_0x4d1f32,_0x1f89af,_0x4b2b1b,_0x59ed8c,_0x4f59e7;let _0x253c5e=(_0x9bcbf5=_0xe85874[_0x2089b9(0x13c)])==null?{}:_0x9bcbf5,_0x162caa=(_0x4df4bc=(_0x4d1f32=_0xe85874[_0x2089b9(0x1e2)])==null?void 0x0:_0x4d1f32[_0x2089b9(0xd9)])==null?kt(_0x58d0d6):_0x4df4bc,_0x3dd755=(_0x1f89af=(_0x4b2b1b=_0xe85874[_0x2089b9(0xdd)])==null?(_0x59ed8c=_0xe85874[_0x2089b9(0x1e2)])==null?void 0x0:_0x59ed8c[_0x2089b9(0xdd)]:_0x4b2b1b)==null?null:_0x1f89af,_0x434f0f=!((_0x4f59e7=_0xe85874['card'])==null||(_0x4f59e7=_0x4f59e7[_0x2089b9(0xc4)])==null)&&_0x4f59e7[_0x2089b9(0x1e3)]?_0xe85874[_0x2089b9(0x1e2)]['fieldIds']:U(_0x58d0d6,[_0x162caa,_0x3dd755,_0x58d0d6[_0x2089b9(0x329)]]);return _0x434f0f['filter'](_0x129ab3=>{const _0x27433d=_0x2089b9;var _0x2d8193,_0x293522;let _0x2b2804=_0x58d0d6['fields'][_0x129ab3];return!(!_0x2b2804||_0x2b2804['id']===_0x162caa||_0x2b2804['id']===_0x3dd755||!((_0x2d8193=_0x21f533['fieldSettings'])==null||(_0x2d8193=_0x2d8193[_0x129ab3])==null)&&_0x2d8193[_0x27433d(0x218)]||(_0x293522=_0x253c5e[_0x129ab3])!=null&&_0x293522['hidden']);})[_0x2089b9(0x2b9)]((_0xd80b03,_0x590295)=>{const _0x584c3d=_0x2089b9;var _0x3910ba,_0x596806,_0x57856c,_0x53bee1;return((_0x3910ba=(_0x596806=_0x253c5e[_0xd80b03])==null?void 0x0:_0x596806[_0x584c3d(0x291)])==null?_0x434f0f[_0x584c3d(0x326)](_0xd80b03):_0x3910ba)-((_0x57856c=(_0x53bee1=_0x253c5e[_0x590295])==null?void 0x0:_0x53bee1[_0x584c3d(0x291)])==null?_0x434f0f['indexOf'](_0x590295):_0x57856c);});}['_projectFields'](_0x29d1ed,_0x232114){const _0x27fc44=_0x21bd22;var _0x2707f8;return((_0x2707f8=_0x232114[_0x27fc44(0xde)])!=null&&_0x2707f8[_0x27fc44(0x1e3)]?_0x232114[_0x27fc44(0xde)]:_0x29d1ed[_0x27fc44(0xde)])[_0x27fc44(0x103)](_0x1def2a=>{const _0x176286=_0x27fc44;var _0x293dff,_0x23381a;let _0x2b82e0=_0x29d1ed['fields'][_0x1def2a],_0x4a288a=(_0x293dff=(_0x23381a=_0x232114['fieldSettings'])==null?void 0x0:_0x23381a[_0x1def2a])==null?{}:_0x293dff;return!_0x2b82e0||_0x4a288a[_0x176286(0x218)]?[]:[{'id':_0x2b82e0['id'],'name':_0x2b82e0['name'],'description':_0x2b82e0[_0x176286(0x13e)],'type':_0x2b82e0[_0x176286(0x3ab)],'config':_0x2b82e0[_0x176286(0x396)],'width':_0x4a288a[_0x176286(0x178)],'setting':_0x4a288a}];});}[_0x21bd22(0xd2)](_0x1a9380,_0x5f42ea){const _0x27686a=_0x21bd22;var _0x3e3cbf,_0x5f995,_0x133bad;return o(_0x27686a(0x161),()=>{const _0xb29056=_0x27686a;var _0x435cec,_0x50bed0,_0x3a4c02,_0x1b8374;let _0x198d6c=this[_0xb29056(0x34d)](_0x1a9380),_0x35bcc4=this[_0xb29056(0xca)](_0x1a9380['id'],_0x5f42ea),_0x74f3fa=this[_0xb29056(0xc5)](_0x1a9380['id']),_0xa28e5a=this['_projectedViewRowsCache']['get'](_0x35bcc4);if(_0xa28e5a&&_0xa28e5a[_0xb29056(0x157)]===this['_globalRevision']&&_0xa28e5a[_0xb29056(0x3d2)]===this[_0xb29056(0x372)](_0x1a9380['id'])){if(_0xa28e5a[_0xb29056(0x211)]===_0x74f3fa&&_0xa28e5a[_0xb29056(0x269)]===_0x198d6c)return _0xa28e5a[_0xb29056(0x2e8)];if(_0xa28e5a[_0xb29056(0x211)]!==_0x74f3fa&&!this['_cellInvalidationsTouchFields'](_0x1a9380['id'],_0xa28e5a[_0xb29056(0x211)],_0x74f3fa,this[_0xb29056(0x1c9)](_0x5f42ea))){let _0x26126c=_0xa28e5a['rows']===_0xa28e5a[_0xb29056(0x269)]?_0x198d6c:this['_patchCachedProjectedRows'](_0xa28e5a[_0xb29056(0x2e8)],_0x198d6c);if(_0x26126c)return this['_projectedViewRowsCache'][_0xb29056(0x195)](_0x35bcc4,{..._0xa28e5a,'rows':_0x26126c,'baseRows':_0x198d6c,'cellRevision':_0x74f3fa}),_0x26126c;}}let _0x5d3ecf=o(_0xb29056(0x2cf),()=>this['_sortRows'](_0x1a9380,_0x5f42ea,this[_0xb29056(0x18e)](_0x1a9380,_0x5f42ea,_0x198d6c)),{'tableId':_0x1a9380['id'],'viewId':_0x5f42ea==null?void 0x0:_0x5f42ea['id'],'viewType':_0x5f42ea==null?void 0x0:_0x5f42ea[_0xb29056(0x3ab)],'rows':_0x198d6c[_0xb29056(0x1e3)],'filters':(_0x435cec=_0x5f42ea==null||(_0x50bed0=_0x5f42ea[_0xb29056(0x2e1)])==null?void 0x0:_0x50bed0[_0xb29056(0x3bb)][_0xb29056(0x1e3)])==null?0x0:_0x435cec,'sorts':(_0x3a4c02=_0x5f42ea==null||(_0x1b8374=_0x5f42ea[_0xb29056(0x2b9)])==null?void 0x0:_0x1b8374[_0xb29056(0x1e3)])==null?0x0:_0x3a4c02});return this[_0xb29056(0x24a)][_0xb29056(0x195)](_0x35bcc4,{'table':_0x1a9380,'rows':_0x5d3ecf,'baseRows':_0x198d6c,'globalRevision':this[_0xb29056(0xa3)],'tableRevision':this[_0xb29056(0x372)](_0x1a9380['id']),'cellRevision':_0x74f3fa}),_0x5d3ecf;},{'tableId':_0x1a9380['id'],'viewId':_0x5f42ea==null?void 0x0:_0x5f42ea['id'],'viewType':_0x5f42ea==null?void 0x0:_0x5f42ea['type'],'records':(_0x3e3cbf=(_0x5f995=_0x1a9380[_0x27686a(0x176)])==null?void 0x0:_0x5f995[_0x27686a(0x1e3)])==null?Object[_0x27686a(0xdc)]((_0x133bad=_0x1a9380[_0x27686a(0x10e)])==null?{}:_0x133bad)[_0x27686a(0x1e3)]:_0x3e3cbf});}[_0x21bd22(0x34d)](_0x5d5181){const _0x4cbba2=_0x21bd22;var _0x23c480,_0x261fca,_0x3d0d93;return o(_0x4cbba2(0x34f),()=>{const _0xb8f581=_0x4cbba2;var _0x4e9928;let _0xc5d9d9=this[_0xb8f581(0xc5)](_0x5d5181['id']),_0x1b72d1=this['_projectedRowsCache']['get'](_0x5d5181['id']);if(_0x1b72d1&&_0x1b72d1[_0xb8f581(0x157)]===this[_0xb8f581(0xa3)]&&_0x1b72d1[_0xb8f581(0x3d2)]===this[_0xb8f581(0x372)](_0x5d5181['id'])){if(_0x1b72d1['cellRevision']===_0xc5d9d9&&_0x1b72d1[_0xb8f581(0x1e7)]===_0x5d5181)return _0x1b72d1['rows'];let _0x57e546=this['_patchProjectedRowsForCellInvalidations'](_0x5d5181,_0x1b72d1,_0xc5d9d9);if(_0x57e546)return _0x57e546;}Bt(_0x5d5181)||d(_0x5d5181);let _0x3366ca=(_0x4e9928=_0x5d5181[_0xb8f581(0x176)])!=null&&_0x4e9928[_0xb8f581(0x1e3)]?_0x5d5181[_0xb8f581(0x176)]:Wt(_0x5d5181[_0xb8f581(0x10e)]),_0x3aeae2=o(_0xb8f581(0x276),()=>{const _0x2b63b5=_0xb8f581;let _0x28c24c=[];for(let _0x5dfba0 of _0x3366ca){let _0x38b3b6=_0x5d5181[_0x2b63b5(0x10e)][_0x5dfba0];if(!_0x38b3b6)continue;let _0x2c9baa={};for(let _0x6082a1 of _0x5d5181[_0x2b63b5(0xde)])_0x2c9baa[_0x6082a1]=_(_0x5d5181,_0x38b3b6['id'],_0x6082a1);_0x28c24c[_0x2b63b5(0x147)]({'recordId':_0x38b3b6['id'],'values':_0x2c9baa});}return _0x28c24c;},{'tableId':_0x5d5181['id'],'records':_0x3366ca[_0xb8f581(0x1e3)],'fields':_0x5d5181[_0xb8f581(0xde)][_0xb8f581(0x1e3)]});return this['_projectedRowsCache'][_0xb8f581(0x195)](_0x5d5181['id'],{'table':_0x5d5181,'rows':_0x3aeae2,'rowIndexById':zt(_0x3aeae2),'globalRevision':this[_0xb8f581(0xa3)],'tableRevision':this['_getTableRevision'](_0x5d5181['id']),'cellRevision':_0xc5d9d9}),_0x3aeae2;},{'tableId':_0x5d5181['id'],'records':(_0x23c480=(_0x261fca=_0x5d5181[_0x4cbba2(0x176)])==null?void 0x0:_0x261fca[_0x4cbba2(0x1e3)])==null?Object[_0x4cbba2(0xdc)]((_0x3d0d93=_0x5d5181[_0x4cbba2(0x10e)])==null?{}:_0x3d0d93)[_0x4cbba2(0x1e3)]:_0x23c480,'fields':_0x5d5181['fieldOrder'][_0x4cbba2(0x1e3)]});}[_0x21bd22(0x31a)](_0x5a8aac,_0x4fc8b7,_0x508567){const _0x5660d8=_0x21bd22;var _0x440b18,_0x4662d7;let _0x58b1c2=((_0x440b18=this[_0x5660d8(0x3c6)]['get'](_0x5a8aac['id']))==null?[]:_0x440b18)[_0x5660d8(0x2e1)](_0x294ced=>_0x294ced[_0x5660d8(0x14e)]>_0x4fc8b7['cellRevision']&&_0x294ced[_0x5660d8(0x14e)]<=_0x508567);if(!_0x58b1c2['length'])return _0x4fc8b7[_0x5660d8(0x1e7)]===_0x5a8aac?_0x4fc8b7[_0x5660d8(0x2e8)]:null;let _0x52305e=_0x4fc8b7[_0x5660d8(0x2e8)],_0x43d61d=new Map();for(let _0x4fd1b6 of _0x58b1c2){let _0x10f132=_0x43d61d[_0x5660d8(0x294)](_0x4fd1b6[_0x5660d8(0x232)]);_0x10f132||(_0x10f132=new Set(),_0x43d61d['set'](_0x4fd1b6[_0x5660d8(0x232)],_0x10f132)),_0x10f132[_0x5660d8(0x393)](_0x4fd1b6[_0x5660d8(0x286)]);}for(let [_0x4775c6,_0x12ea58]of _0x43d61d){if(!_0x5a8aac[_0x5660d8(0x10e)][_0x4775c6])return null;let _0x9ca829=_0x4fc8b7[_0x5660d8(0xd4)][_0x5660d8(0x294)](_0x4775c6);if(_0x9ca829==null)return null;_0x52305e===_0x4fc8b7['rows']&&(_0x52305e=[..._0x4fc8b7['rows']]);let _0x55fc2c=_0x52305e[_0x9ca829],_0x3184e9={..._0x55fc2c[_0x5660d8(0x203)]};_0x12ea58[_0x5660d8(0x266)](_0x32dfc0=>{_0x3184e9[_0x32dfc0]=_(_0x5a8aac,_0x4775c6,_0x32dfc0);}),_0x52305e[_0x9ca829]={..._0x55fc2c,'values':_0x3184e9};}let _0x4ed68d={'table':_0x5a8aac,'rows':_0x52305e,'rowIndexById':_0x4fc8b7['rowIndexById'],'globalRevision':this[_0x5660d8(0xa3)],'tableRevision':this[_0x5660d8(0x372)](_0x5a8aac['id']),'cellRevision':_0x508567};return this[_0x5660d8(0x19e)]['set'](_0x5a8aac['id'],_0x4ed68d),this[_0x5660d8(0x3c6)]['set'](_0x5a8aac['id'],((_0x4662d7=this['_cellInvalidations'][_0x5660d8(0x294)](_0x5a8aac['id']))==null?[]:_0x4662d7)[_0x5660d8(0x2e1)](_0x19b0f2=>_0x19b0f2[_0x5660d8(0x14e)]>Math[_0x5660d8(0x38a)](0x0,_0x508567-0x100))),_0x52305e;}['_patchCachedProjectedRows'](_0xe505a1,_0x27e18d){const _0x44875f=_0x21bd22;let _0x36ce2f=new Map(_0x27e18d['map'](_0x3e39f0=>[_0x3e39f0[_0x44875f(0x232)],_0x3e39f0])),_0x32ca7d=!0x1,_0x2d8898=_0xe505a1['map'](_0x1aede5=>{let _0x4f0fe9=_0x36ce2f['get'](_0x1aede5['recordId']);return _0x4f0fe9?_0x4f0fe9===_0x1aede5?_0x1aede5:(_0x32ca7d=!0x0,_0x4f0fe9):_0x1aede5;});return _0x32ca7d?_0x2d8898:_0xe505a1;}['_cellInvalidationsTouchFields'](_0x2383f3,_0x53dbe1,_0x3f0487,_0xeb186){const _0x4987b8=_0x21bd22;var _0x7b0bc9;return!_0xeb186[_0x4987b8(0x1dc)]||_0x53dbe1===_0x3f0487?!0x1:_0x3f0487-_0x53dbe1>0x100?!0x0:((_0x7b0bc9=this[_0x4987b8(0x3c6)][_0x4987b8(0x294)](_0x2383f3))==null?[]:_0x7b0bc9)[_0x4987b8(0x10a)](_0x1be294=>_0x1be294[_0x4987b8(0x14e)]>_0x53dbe1&&_0x1be294[_0x4987b8(0x14e)]<=_0x3f0487&&_0xeb186['has'](_0x1be294[_0x4987b8(0x286)]));}['_filterSortFieldIds'](_0x25a26e){const _0x59df24=_0x21bd22;var _0x1aac08,_0x553864;let _0x55a518=new Set();return _0x25a26e==null||(_0x1aac08=_0x25a26e[_0x59df24(0x2e1)])==null||_0x1aac08[_0x59df24(0x3bb)]['forEach'](_0x19d232=>_0x55a518[_0x59df24(0x393)](_0x19d232[_0x59df24(0x286)])),_0x25a26e==null||(_0x553864=_0x25a26e['sort'])==null||_0x553864[_0x59df24(0x266)](_0x19f1cb=>_0x55a518['add'](_0x19f1cb['fieldId'])),_0x55a518;}[_0x21bd22(0x3b1)](_0x39096e){const _0x532c5a=_0x21bd22;var _0x54877e;let _0x178164=this['_filterSortFieldIds'](_0x39096e);return(_0x54877e=_0x39096e[_0x532c5a(0x1dd)])==null||_0x54877e[_0x532c5a(0x266)](_0x4b318d=>_0x178164[_0x532c5a(0x393)](_0x4b318d[_0x532c5a(0x286)])),_0x178164;}[_0x21bd22(0x18e)](_0x30dbcc,_0x37ce9b,_0x795493){const _0x177d4b=_0x21bd22;let _0x2c46fd=_0x37ce9b==null?void 0x0:_0x37ce9b['filter'];if(!(_0x2c46fd!=null&&_0x2c46fd[_0x177d4b(0x3bb)][_0x177d4b(0x1e3)]))return _0x795493;let _0x409ebf=_0x2c46fd['conditions'][_0x177d4b(0x2e1)](_0x2b6413=>!dn(_0x2b6413));return _0x409ebf['length']?_0x795493[_0x177d4b(0x2e1)](_0x1f4b17=>{const _0x3ea12c=_0x177d4b;if(_0x2c46fd[_0x3ea12c(0x124)]===e[_0x3ea12c(0x330)]['OR']){for(let _0x1e6259 of _0x409ebf){let _0x10cd0f=_0x30dbcc[_0x3ea12c(0x38f)][_0x1e6259['fieldId']];if(!_0x10cd0f||this['_fieldRegistry'][_0x3ea12c(0x294)](_0x10cd0f[_0x3ea12c(0x3ab)])[_0x3ea12c(0x2e1)](_0x1f4b17['values'][_0x10cd0f['id']],_0x1e6259[_0x3ea12c(0x130)],_0x1e6259['operand'],_0x10cd0f))return!0x0;}return!0x1;}for(let _0xd23515 of _0x409ebf){let _0x429dcf=_0x30dbcc['fields'][_0xd23515['fieldId']];if(_0x429dcf&&!this['_fieldRegistry']['get'](_0x429dcf[_0x3ea12c(0x3ab)])['filter'](_0x1f4b17[_0x3ea12c(0x203)][_0x429dcf['id']],_0xd23515['operator'],_0xd23515['operand'],_0x429dcf))return!0x1;}return!0x0;}):_0x795493;}[_0x21bd22(0x28a)](_0x4d721b,_0x20121d,_0x275ad7){const _0x3af69f=_0x21bd22;var _0x4ceec2;let _0x1686e4=(_0x4ceec2=_0x20121d==null?void 0x0:_0x20121d['sort'])==null?[]:_0x4ceec2;if(!_0x1686e4['length'])return _0x275ad7;let _0xf08ef=_0x1686e4[_0x3af69f(0x103)](_0x1fafac=>{const _0x49f8b0=_0x3af69f;let _0x591c69=_0x4d721b[_0x49f8b0(0x38f)][_0x1fafac[_0x49f8b0(0x286)]];return _0x591c69?[{..._0x1fafac,'field':_0x591c69}]:[];});return _0xf08ef['length']?this[_0x3af69f(0x93)](_0xf08ef)?this['_fastSortRows'](_0xf08ef,_0x275ad7):[..._0x275ad7][_0x3af69f(0x2b9)]((_0x28d2f9,_0x862b82)=>{const _0x339ed9=_0x3af69f;for(let _0x27404f of _0xf08ef){let _0x5b531e=_0x27404f[_0x339ed9(0x366)],_0x325892=this['_fieldRegistry'][_0x339ed9(0x294)](_0x5b531e[_0x339ed9(0x3ab)])[_0x339ed9(0x270)](_0x28d2f9[_0x339ed9(0x203)][_0x5b531e['id']],_0x862b82[_0x339ed9(0x203)][_0x5b531e['id']],_0x5b531e);if(_0x325892!==0x0)return _0x27404f['direction']===e[_0x339ed9(0x27b)][_0x339ed9(0x233)]?-_0x325892:_0x325892;}return 0x0;}):_0x275ad7;}[_0x21bd22(0x93)](_0xb8eef3){const _0x2939bc=_0x21bd22;return _0xb8eef3[_0x2939bc(0x118)](_0x1a0040=>It[_0x2939bc(0x15a)](_0x1a0040[_0x2939bc(0x366)][_0x2939bc(0x3ab)]));}[_0x21bd22(0x182)](_0x3a1b2a,_0x11917f){const _0x49afd7=_0x21bd22;return _0x11917f[_0x49afd7(0x3c2)]((_0x4d43f9,_0xb340e7)=>({'row':_0x4d43f9,'index':_0xb340e7,'keys':_0x3a1b2a[_0x49afd7(0x3c2)](_0x2cbecd=>_0x4d43f9[_0x49afd7(0x203)][_0x2cbecd[_0x49afd7(0x286)]])}))[_0x49afd7(0x2b9)]((_0x59129e,_0x210c99)=>{const _0x1641f6=_0x49afd7;for(let _0x1d2507=0x0;_0x1d2507<_0x3a1b2a[_0x1641f6(0x1e3)];_0x1d2507++){let _0x2d8f63=un(_0x59129e[_0x1641f6(0xdc)][_0x1d2507],_0x210c99[_0x1641f6(0xdc)][_0x1d2507]);if(_0x2d8f63!==0x0)return _0x3a1b2a[_0x1d2507][_0x1641f6(0x16d)]===e[_0x1641f6(0x27b)]['DESC']?-_0x2d8f63:_0x2d8f63;}return _0x59129e[_0x1641f6(0x26d)]-_0x210c99[_0x1641f6(0x26d)];})['map'](_0x5306d8=>_0x5306d8[_0x49afd7(0x282)]);}[_0x21bd22(0x243)](_0x10060a,_0x46c6ab,_0x59b715){const _0x35deb4=_0x21bd22;var _0x5b37ad,_0x50ac94;return o(_0x35deb4(0x2c9),()=>{const _0x446768=_0x35deb4;var _0x2548cd;if(!((_0x2548cd=_0x46c6ab['group'])!=null&&_0x2548cd['length']))return[];let _0x13847a=_0x46c6ab[_0x446768(0x1dd)][_0x446768(0x2e1)](_0x5daf19=>_0x10060a['fields'][_0x5daf19[_0x446768(0x286)]]);if(!_0x13847a[_0x446768(0x1e3)])return[];let _0x57feb5=this[_0x446768(0x18c)](_0x10060a['id'],_0x46c6ab,_0x13847a),_0x2cc68e=this['_getCellRevision'](_0x10060a['id']),_0x3c22fa=this[_0x446768(0x374)][_0x446768(0x294)](_0x57feb5);if(_0x3c22fa&&_0x3c22fa['globalRevision']===this[_0x446768(0xa3)]&&_0x3c22fa[_0x446768(0x3d2)]===this['_getTableRevision'](_0x10060a['id'])){if(_0x3c22fa[_0x446768(0x211)]===_0x2cc68e&&_0x3c22fa['rows']===_0x59b715)return _0x3c22fa[_0x446768(0xf5)];if(_0x3c22fa[_0x446768(0x211)]!==_0x2cc68e&&!this[_0x446768(0x395)](_0x10060a['id'],_0x3c22fa[_0x446768(0x211)],_0x2cc68e,this[_0x446768(0x3b1)](_0x46c6ab)))return this[_0x446768(0x374)][_0x446768(0x195)](_0x57feb5,{..._0x3c22fa,'rows':_0x59b715,'cellRevision':_0x2cc68e}),_0x3c22fa[_0x446768(0xf5)];}let _0xcd27a7=new Map();for(let _0x1a14c6 of _0x59b715){let _0x187b42=_0xcd27a7,_0x571757='';for(let _0x954415=0x0;_0x954415<_0x13847a[_0x446768(0x1e3)];_0x954415++){let _0x5367f2=_0x13847a[_0x954415],_0x4aa2da=_0x1a14c6[_0x446768(0x203)][_0x5367f2[_0x446768(0x286)]],_0x5d932c=Rt(_0x4aa2da),_0x29b6b1=_0x5367f2[_0x446768(0x286)]+'\x00'+_0x5d932c,_0x5ae550=_0x571757+'/'+_0x5367f2[_0x446768(0x286)]+':'+_0x5d932c,_0x24573e=_0x187b42[_0x446768(0x294)](_0x29b6b1);_0x24573e||(_0x24573e={'key':_0x5d932c,'value':_0x4aa2da,'path':_0x5ae550,'label':_0x5d932c||_0x446768(0x204),'fieldId':_0x5367f2['fieldId'],'level':_0x954415,'recordIds':[],'children':new Map()},_0x187b42[_0x446768(0x195)](_0x29b6b1,_0x24573e)),_0x24573e[_0x446768(0x145)][_0x446768(0x147)](_0x1a14c6['recordId']),_0x187b42=_0x24573e[_0x446768(0x165)],_0x571757=_0x5ae550;}}let _0x364b82=this['_materializeGroups'](_0x13847a,_0xcd27a7,0x0);return this[_0x446768(0x374)]['set'](_0x57feb5,{'table':_0x10060a,'rows':_0x59b715,'groups':_0x364b82,'globalRevision':this[_0x446768(0xa3)],'tableRevision':this[_0x446768(0x372)](_0x10060a['id']),'cellRevision':_0x2cc68e}),_0x364b82;},{'tableId':_0x10060a['id'],'viewId':_0x46c6ab['id'],'viewType':_0x46c6ab[_0x35deb4(0x3ab)],'rows':_0x59b715['length'],'groupFields':(_0x5b37ad=(_0x50ac94=_0x46c6ab['group'])==null?void 0x0:_0x50ac94[_0x35deb4(0x1e3)])==null?0x0:_0x5b37ad});}[_0x21bd22(0x3d0)](_0x2da1bb,_0x45c1c9,_0x19c9b8){const _0xa60745=_0x21bd22;var _0x479bfb;let _0x2e9992=Array[_0xa60745(0x139)](_0x45c1c9[_0xa60745(0x203)]()),_0x271a89=(_0x479bfb=_0x2da1bb[_0x19c9b8])==null?void 0x0:_0x479bfb[_0xa60745(0x16d)];return _0x271a89&&_0x2e9992[_0xa60745(0x2b9)]((_0x58ceac,_0x2abe15)=>{const _0x5940f4=_0xa60745;let _0x3be016=_0x58ceac[_0x5940f4(0x357)][_0x5940f4(0x322)](_0x2abe15[_0x5940f4(0x357)]);return _0x271a89===e['BaseSortDirection']['DESC']?-_0x3be016:_0x3be016;}),_0x2e9992[_0xa60745(0x3c2)](_0x2afa52=>({'key':_0x2afa52['key'],'value':_0x2afa52[_0xa60745(0x11c)],'path':_0x2afa52[_0xa60745(0x12a)],'label':_0x2afa52[_0xa60745(0x3be)],'fieldId':_0x2afa52['fieldId'],'level':_0x2afa52[_0xa60745(0x2c5)],'recordIds':_0x2afa52[_0xa60745(0x145)],'children':this[_0xa60745(0x3d0)](_0x2da1bb,_0x2afa52[_0xa60745(0x165)],_0x19c9b8+0x1)}));}[_0x21bd22(0x140)](_0x7f768a,_0x35052c,_0x372a09){const _0x181fef=_0x21bd22;let _0x3db2e9=_0x372a09==null?_0x7f768a[_0x181fef(0x329)]:_0x372a09,_0xfebfa6=_0x35052c[_0x181fef(0x203)][_0x3db2e9];return _0xfebfa6==null?'':String(_0xfebfa6);}[_0x21bd22(0x17b)](_0x4c09e3){const _0x52bde7=_0x21bd22;if(Array['isArray'](_0x4c09e3))return _0x4c09e3['map'](String);if(typeof _0x4c09e3==_0x52bde7(0x14d)&&_0x4c09e3)return[_0x4c09e3];}[_0x21bd22(0x1de)](_0x251727){const _0x5eb9a5=_0x21bd22;return this[_0x5eb9a5(0x2a6)][_0x5eb9a5(0x294)](_0x251727[_0x5eb9a5(0x3ab)])[_0x5eb9a5(0x1ae)](_0x251727);}};Lt=B([z(0x0,(0x0,e['Inject'])(L))],Lt);function Rt(_0x43c0d5){return _0x43c0d5==null?'':String(_0x43c0d5);}function zt(_0x1aacc9){const _0x2a30ed=_0x21bd22;return new Map(_0x1aacc9[_0x2a30ed(0x3c2)]((_0x1b5ff6,_0x2b9963)=>[_0x1b5ff6['recordId'],_0x2b9963]));}function Bt(_0xa693eb){const _0x4c96ca=_0x21bd22;return!!(Array[_0x4c96ca(0x35a)](_0xa693eb['recordOrder'])&&_0xa693eb[_0x4c96ca(0x133)]&&_0xa693eb[_0x4c96ca(0x108)]&&_0xa693eb['colIndex']&&_0xa693eb[_0x4c96ca(0x27f)]&&_0xa693eb['cellData']);}function Vt(_0x1690cc){const _0x389f1b=_0x21bd22;return _0x1690cc!=null&&_0x1690cc[_0x389f1b(0x3bb)][_0x389f1b(0x1e3)]?{'conjunction':_0x1690cc[_0x389f1b(0x124)],'conditions':_0x1690cc[_0x389f1b(0x3bb)][_0x389f1b(0x3c2)](_0x5d63bf=>({'fieldId':_0x5d63bf[_0x389f1b(0x286)],'operator':_0x5d63bf[_0x389f1b(0x130)],'operand':_0x5d63bf['operand']}))}:null;}function Ht(_0x564b5d){const _0x27ec8d=_0x21bd22;return _0x564b5d!=null&&_0x564b5d[_0x27ec8d(0x1e3)]?_0x564b5d[_0x27ec8d(0x3c2)](_0x12a118=>({'fieldId':_0x12a118[_0x27ec8d(0x286)],'direction':_0x12a118[_0x27ec8d(0x16d)]})):null;}function Ut(_0x5d517f){const _0x1c61f2=_0x21bd22;if(typeof _0x5d517f!='object'||!_0x5d517f){var _0x345776;return(_0x345776=JSON[_0x1c61f2(0x26c)](_0x5d517f))==null?'undefined':_0x345776;}if(Array['isArray'](_0x5d517f))return'['+_0x5d517f[_0x1c61f2(0x3c2)](Ut)[_0x1c61f2(0x1ec)](',')+']';let _0x48eb13=_0x5d517f;return'{'+Object[_0x1c61f2(0xdc)](_0x48eb13)[_0x1c61f2(0x2b9)]()[_0x1c61f2(0x3c2)](_0x59dd19=>JSON[_0x1c61f2(0x26c)](_0x59dd19)+':'+Ut(_0x48eb13[_0x59dd19]))[_0x1c61f2(0x1ec)](',')+'}';}function Wt(_0x4984d2){const _0x3cfe97=_0x21bd22;let _0x5e95e8=Object['values'](_0x4984d2)['sort']((_0x22c0fe,_0x5722eb)=>_0x22c0fe['orderKey'][_0x3cfe97(0x322)](_0x5722eb['orderKey'])),_0x1c73a0=[];for(let _0x241db8 of _0x5e95e8)_0x1c73a0['push'](_0x241db8['id']);return _0x1c73a0;}const W=0x5a0*0x3c*0x3e8;function Gt(_0x117414){const _0x5390e6=_0x21bd22;return{'weekdays':Array['isArray'](_0x117414==null?void 0x0:_0x117414['weekdays'])&&_0x117414['weekdays'][_0x5390e6(0x1e3)]?[...new Set(_0x117414[_0x5390e6(0x22b)]['filter'](_0x45619b=>Number[_0x5390e6(0x169)](_0x45619b)&&_0x45619b>=0x1&&_0x45619b<=0x7))]:[0x1,0x2,0x3,0x4,0x5],'exceptions':Array['isArray'](_0x117414==null?void 0x0:_0x117414['exceptions'])?_0x117414[_0x5390e6(0x185)][_0x5390e6(0x103)](_0x131e6b=>!_0x131e6b||!Number[_0x5390e6(0x342)](_0x131e6b[_0x5390e6(0x2f8)])?[]:[{'id':String(_0x131e6b['id']||'exception-'+_0x131e6b['date']),'date':G(Number(_0x131e6b['date'])),'name':String(_0x131e6b[_0x5390e6(0x1d6)]||_0x5390e6(0x377)),'type':_0x131e6b[_0x5390e6(0x3ab)]===_0x5390e6(0x101)?_0x5390e6(0x101):_0x5390e6(0x38d)}]):[]};}function Kt(_0x393b11,_0x2ee2d2,_0x1b06e5,_0x3edbfd){let _0x37ab5d=Xt(_0x393b11,_0x2ee2d2),_0x5db556=Zt(_0x393b11,_0x1b06e5),_0xca3093=qt(_0x393b11,_0x37ab5d,_0x5db556,_0x3edbfd);return{'scale':_0x393b11,'start':_0x37ab5d,'end':_0x5db556,'unitWidth':Yt(_0x393b11),'majorHeaders':Jt(_0x393b11,_0x37ab5d,_0x5db556),'columns':_0xca3093};}function qt(_0x5c00ad,_0x122f6b,_0x1f0fc5,_0x375b43){const _0x3c5b20=_0x21bd22;let _0x252b79=[],_0x3b9773=_0x122f6b;for(;_0x3b9773<_0x1f0fc5;){let _0x3bab71=_0x5c00ad===_0x3c5b20(0x317)?K(_0x3b9773,0x7):_0x5c00ad===_0x3c5b20(0x1c0)?sn(_0x3b9773,0x1):K(_0x3b9773,0x1);_0x252b79[_0x3c5b20(0x147)]({'id':_0x5c00ad+'-'+_0x3b9773,'label':Qt(_0x5c00ad,_0x3b9773,_0x3bab71),'majorLabel':$t(_0x5c00ad,_0x3b9773),'start':_0x3b9773,'end':_0x3bab71,'nonWorking':tn(_0x3b9773,_0x3bab71,_0x375b43)}),_0x3b9773=_0x3bab71;}return _0x252b79;}function Jt(_0x410dcc,_0x31ec6d,_0x3eaeef){const _0x1e3b42=_0x21bd22;let _0x449b50=[],_0x3c3e52=_0x410dcc===_0x1e3b42(0x1c0)?on(_0x31ec6d):an(_0x31ec6d);for(;_0x3c3e52<_0x3eaeef;){let _0x2a1931=_0x410dcc==='year'?cn(_0x3c3e52,0x1):sn(_0x3c3e52,0x1);_0x449b50['push']({'id':_0x1e3b42(0x333)+_0x3c3e52,'label':_0x410dcc==='year'?String(new Date(_0x3c3e52)[_0x1e3b42(0x236)]()):ln(_0x3c3e52),'start':_0x3c3e52,'end':_0x2a1931}),_0x3c3e52=_0x2a1931;}return _0x449b50;}function Yt(_0x4edc46){const _0x275852=_0x21bd22;switch(_0x4edc46){case _0x275852(0x364):return 0xac;case _0x275852(0x317):return 0xac;case _0x275852(0x1c0):return 0x88;default:return 0x56;}}function Xt(_0x4bb584,_0xb9b6ba){const _0x166685=_0x21bd22;return _0x4bb584===_0x166685(0x1c0)?on(_0xb9b6ba):_0x4bb584===_0x166685(0x317)?rn(_0xb9b6ba):G(_0xb9b6ba);}function Zt(_0x59bcc4,_0x270587){const _0x3be662=_0x21bd22;return _0x59bcc4===_0x3be662(0x1c0)?cn(on(_0x270587),0x1):_0x59bcc4===_0x3be662(0x317)?K(rn(_0x270587),0x7):K(G(_0x270587),0x1);}function _0x742d(){const _0x4dbde2=['583734zeygsm','showFieldNames','includeTime','_getKanbanConfiguredLanes','SetBaseNameCommand','localeCompare','_rowTransformCacheSegment','greaterThanOrEqual','_normalizeGalleryConfig','indexOf','params','toPrimitive','primaryFieldId','_normalizeGanttConfig','invalidateByOp','base.command.rename-base-table','_bumpTableRevision','tableOrder','base.permission.service','BaseFilterConjunction','registerCommand','UpdateBaseFieldDescriptionCommand','major-','[BaseField]:\x20invalid\x20progress\x20value.','MultiSelect','moveView','Formula','todo','_formulaSyncQueue','searchBaseTable','_cacheKey','setRecordPermission','DeleteBaseTableCommand','function','createSuperTableReference','applyOp','Calendar','isFinite','createTable','general','base.command.batch-delete-base-records','record','manageView','setViewFieldOrder','endsWith','yesterday','[BaseFormula]:\x20A1\x20references\x20and\x20ranges\x20are\x20not\x20supported\x20in\x20Base\x20formulas.','IBasePermissionService','_projectTableRows','_normalizeCalendarConfig','BaseProjection.projectTableRows','_applier','title','isNotEmpty','viewOrder','_buildGantt','getUTCDay','invertOp','key','BOOLEAN','#3b82f6','isArray','base-perf','_viewRevisions','deleteRecord','_initDependencies','duplicateField','_buildGallery','apply','updateCell','createBase','week','valueOf','field','resolvedOptions','_groupConfigCacheSegment','createSetRecordValuesOp','RecordId','cardSize','local','base.command.duplicate-base-field','_getJson1DirtyData','gantt','insertOp','viewId','_getTableRevision','updateViewConfig','_projectedGroupsCache','BatchDeleteBaseRecordsCommand','base.command.create-base-field','Working\x20day','CreatedBy','_createRecordOrderOp','setViewGroup','recordNamePrefix','_getCachedProjection','ena','focusUnit','_tableRevisions','BaseJson1.json1Apply','separatorStyle','ObjectMatrix','trim','[BaseField]:\x20invalid\x20rating\x20value.','end','SetBaseViewFieldVisibleCommand','_tablePermissions','IActiveDirtyManagerService','Location','max','view','ApplyBaseJson1Mutation','off','color','fields','decorate','object','_commandService','add','_replaceOptional','_cellInvalidationsTouchFields','config','symbol','version','base.viewType.calendar','dateMode','getBaseCellFormulaValue','SetFormulaCalculationResultMutation','getSnapshot','resources','moveField','touchDependencies','toFixed','fromPlainText','canManageView','updateRecordOrder','__all__','180800oqKIjX','colIndex','Lookup','[BasePerf]\x20','clearFieldPermission','type','error','[BaseField]:\x20invalid\x20checkbox\x20value.','deleteTable','iterator','Number','_groupProjectionFieldIds','bases.fieldConfig.linkPlaceholder','clearBasePermission','MM/DD/YYYY','defineProperty','base.command.set-base-view-field-order','_onCommandExecuted','_getAllBaseDependencyTreeCacheMap','base.viewType.kanban','search','conditions','_resolveKanbanCardFieldIds','projection','label','next30','BaseViewType','[BaseField]:\x20invalid\x20multi-value\x20reference.','map','invalidateByView','_normalizeCellValue','_views','_cellInvalidations','base.command.set-base-view-group','Numbering','Progress','cellData','progressFieldId','createDefaultBaseTableSnapshot','toLocaleString','medium','createViewId','_materializeGroups','UniverInstanceType','tableRevision','_runtimeContext','padStart','registerCtorForType','_isColorfulKanbanGroupField','_canUseFastSort','operand','attachmentSet','_isKanbanGroupField','invertWithDoc','YYYY-MM-DD','showTodayLine','MMM\x20D,\x20YYYY','getSuperTableRegistrations','sequenceExecute','columns','createRegExpFromSafeFragment','base.fieldType.','displayText','_syncSuperTables','NUMBER','_globalRevision','attachment-','7RtJzCC','base.command.update-base-record-order','[BaseCommandService]:\x20cannot\x20delete\x20field.','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','_isNonEmptyCellValue','clearTablePermission','_isCalendarDateField','getFullYear','canEditField','Group','Currency','round','packageName','878727wbnyut','format','canCreateTable','toLowerCase','recordCount','createDefaultValue','Name','hostAnchorId','h24','unitId','blue','_removeSuperTables','matchesBaseCondition','RenameBaseViewCommand','periodComma','DuplicateBaseRecordCommand','UpdateBaseFieldCommand','UTC','fieldIds','_getCellRevision','Start\x20date','getAllUnitsForType','compose','base.command.delete-base-table','_viewRowsCacheKey','Grid\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.','getUnitId','Disposable','canDeleteTable','formula','frozenFieldCount','_setFormulaFieldCells','_projectRows','_deleteAttachmentResources','rowIndexById','next7','viewRevision','UpdateBaseRecordOrderCommand','setSnapshot','titleFieldId','tables','[BaseField]:\x20invalid\x20person\x20value.','keys','coverFieldId','fieldOrder','base.command.create-base-record','FORCE_STRING','base.command.set-base-view-field-visible','afterFieldId','now','generateRandomId','includeRecords','getUTCDate','_cellRevisions','_isGanttDateField','score','displayColor','[BaseField]:\x20negative\x20numbers\x20are\x20disabled.','includes','UniverProFormulaEnginePlugin','DuplicateBaseFieldCommand','_toDirtyRangePatch','[BaseCommandService]:\x20cannot\x20delete\x20record.','default','base.command.set-base-name','MoveBaseViewCommand','base.command.set-base-view-field-width','groups','raw','setConfig','setRangeValues','[BaseField]:\x20invalid\x20phone\x20value.','views','registerTable','createEmbedBasesTableRemoveMutation','[BaseCommandService]:\x20cannot\x20edit\x20cell.','leftPaneCollapsed','SetBaseRangeValuesCommand','commaPeriod','working','attachmentSets','flatMap','UpdateBaseKanbanConfigCommand','viewIndexes','[BaseFieldRegistryService]:\x20field\x20type\x20\x22','timeZone','rowId','SetBaseViewFilterCommand','some','Kanban\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.','registerSuperTable','Plugin','records','setViewSort','result','subscribe','DependentOn','traceBasePerformance','split','setTablePermission','_getStructureDirtyTableIds','createdBy','every','DeleteBaseRecordCommand','conditional','_createRecordWithDefaults','value','editable','lastWeek','SingleSelect','createCreateRecordOp','$1\x20','_basePermissions','isNot','conjunction','Optional','#BBF7D0','getBaseCellValue','createRecords','base.command.set-base-range-values','path','register','_projectionCache','manual','_initDataSync','setBasePermission','operator','_projectFields','colorFieldId','rowIndex','base.command.set-base-view-sort','changeFieldType','Todo','fld-','DataSyncPrimaryController','from','#FDE68A','base.command.delete-base-record','fieldSettings','en-US','description','getTypePlugin','_title','DeleteBaseFieldCommand','_findKanbanGroupField','__tempBatchingUndoRedo','univer.basePerf','recordIds','_createNumberingFieldValuePatches','push','UNIVER_BASE','Calendar\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.','deleteField','_kanbanLaneTitle','Date','string','revision','dispose','Attachment','min','MM-DD','Failed\x20to\x20create\x20update\x20cell\x20operation:','_resolveGalleryCoverFieldId','embed-ui','h:mm\x20a','globalRevision','createEmbedBasesTableAddMutation','_buildKanban','has','getStructuredDependencies','_baseSyncDisposables','@univerjs-pro/bases','setRecordValues','getOwnPropertyDescriptor','doing','BaseProjection.projectRows','[BaseCommandService]:\x20cannot\x20manage\x20view.','decimal','Tools','children','_calendarEventColor','toPlainText','ICommandService','isInteger',',\x22K\x22','Gantt','setViewFieldWidth','direction','Phone','#,##0.00','ChangeBaseFieldTypeCommand','executeCommand','scale','large','slice','long','recordOrder','_resolveCalendarDateFieldId','width','_resolveGalleryCardFieldIds','Flow','_recordIds','_recordPermissions','autoIncrement','SetBaseKanbanGroupFieldCommand','changed','userID','repairViewConfig','_fastSortRows','RemoveSuperTableMutation','syncExecuteCommand','exceptions','formatBaseDateValue','mode','Person','pattern','base.command.update-base-cell','invalidGanttStartField','_groupsCacheKey','column','_filterRows','Yes','MUTATION','_enqueueFormulaSync','UniverLicensePlugin','onCommandExecuted','workingDaysOnly','set','\x22\x20does\x20not\x20exist.','_apply','regexp','calendar','cell','setFieldPermission','updatedBy','regenerateViewIds','_projectedRowsCache','_registeredSuperTableNames','catch','_getViewRevision','DeleteBaseViewCommand','dateKit','_getCurrentUserId','diffValue','base.command.move-base-view','hasOwnProperty','_matchesGanttColorRule','url','before','[BaseCommandService]:\x20cannot\x20delete\x20table.','_viewRevisionKey','abbreviation','getCapabilities','setBaseName','-view-grid','FieldId','#,##0','Button','_getTable','base.command.move-base-field','bases.remote.config','_factory','_normalizeGanttDisplayColor','month','YYYY/MM/DD\x20HH:mm','usableAsCalendarDate','onReady','find','_fieldPermissions','_permissionService','year','baseDateSerialToDateMs','[BaseField]:\x20invalid\x20email\x20value.','UpdatedAt','[BaseCommandService]:\x20cannot\x20edit\x20field.','_initCommands','UpdatedBy','deepClone','JSON1','_filterSortFieldIds','none','canCreateField','getAffectedRanges','col','_getOrderedRecords','createdAt','_activeDirtyManagerService','BaseJson1OpFactory','Module','_ganttBarColor','rules','useThousands','name','call','tomorrow','valid','canCreateRecord','[BaseFormula]:\x20field\x20\x22','size','group','_capabilities','IUniverInstanceService','_injector','defaultValue','card','length','_applyFormulaResult','[BaseViewRegistryService]:\x20view\x20type\x20\x22','canEditCell','table','merge','#14b8a6','patches','-record-','join','Doing','setViewFilter','deleteView','createField','formatToParts','startsWith','recordPatch','person','ensureBaseTableCellLayout','mark','_getTablesToNormalize','repeat','prototype','short','getUnit','getUTCMonth','getMonth','1.0.0-alpha.6','after','createIdentifier','renameFormulaUnitReferences','BaseProjection.getProjection','values','Empty','_resolveKanbanCoverFieldId','NumberFormat','dependencyFieldId','system','childType','notContains','finally','_createNumberingAllocator','afterViewId','thisWeek','lastIndex','[BaseFormula]:\x20table\x20\x22','cellRevision','tableId','getTypeOfUnitAdded$','clearRecordPermission','_setAttachmentResources','_createNumberingAllocators','h12','hidden','[BaseCommandService]:\x20cannot\x20create\x20table.','columnSettings','matchAll','createRecord','createCreateFieldOp','SetBaseViewGroupCommand','3300056pvrbqh','editCell','allowNegative','IBaseCommandService','YYYY/MM/DD','yyyy/mm/dd','CreatedAt','Status','[BaseField]:\x20invalid\x20date\x20value.','test','Text','_resolveKanbanGroupFieldId','weekdays','invalidGroupField','base.field-registry.service','_kanbanLaneColor','replaceOp','bases.fieldConfig.textPlaceholder','Grid','recordId','DESC','BaseJson1OpApplier','beforeFieldId','getUTCFullYear','unitData','beforeViewId','check','base.resource.service','CommandType','timeslotSize','normal','small','getTypeOfUnitDisposed$','getCurrentUser','_groupCellInvalidations','lessThan','_projectGroups','base.viewType.gantt','_resolveGanttDateFieldId','Kanban','IConfigService','base.command.batch-create-base-records','fieldName','_projectedViewRowsCache','[BaseCommandService]:\x20field\x20\x22','setViewFieldVisible','snapshot','_getSystemFieldValue','True','renameView','_applyingFormulaResults','base.projection.service',':end','toDisposable','base.command.ensure-base-temporal-view-date-fields','basePerf','[BaseCommandService]:\x20cannot\x20create\x20record.','CellValueType','invalidateByField','[BaseCommandService]:\x20cannot\x20delete\x20primary\x20field.','_buildGrid','cardLayout','_createSystemFieldValuePatches','setHours','COMMAND','_withModifiedSystemValues','decimalPlaces','RenameBaseTableCommand','text','FormulaCalculationTriggerService','delete','forEach','createDefaultConfig','lastMonth','baseRows','CreateBaseViewCommand','canDeleteRecord','stringify','index','options','getAllBases','compare','_getAllTableIds','_findCalendarDateFieldId','pushUndoRedo','[BaseProjectionService]:\x20missing\x20view\x20\x22','allowMultiple','BaseProjection.materializeTableRows','usableAsCardCover','150040NqlVIx','groupFieldId','Barcode','BaseSortDirection','_initialize','UpdateBaseViewConfigCommand','endDateFieldId','colId','CreateBaseRecordCommand','view-','row','invalidDateField','_isAllDayGanttDateRange','exact','fieldId','BatchCreateBaseRecordsCommand','exec','SetBaseViewFieldWidthCommand','_sortRows','registerView','tableName','base.command.service','207008wmCEQk','readonly','startDateFieldId','order','normalizeBaseDateSerial','DD/MM/YYYY','get','STRING','validate','HH:mm','query','custom','searchTexts','Summary','False','_dataSyncPrimaryController','hh:mm','past7','_initRegistries','#BFDBFE','Checked','duplicateRecord','canDeleteField','base.command.set-base-record-values','_fieldRegistry','unitOtherData','measure','updatedAt','_isAllowedKanbanGroupField','_univerInstanceService','assign','copyBaseTableSnapshot','getTime','reason','constructor',':start','base.command.rename-base-view','getDay','SetBaseRecordValuesCommand','true','BaseDataModel','BaseJson1.cloneForOp','attachments','sort','_buildCalendar','BaseFieldType','boolean','limit','workingDays','info','star','uniqueFieldName','#16a34a','normalize','Email','level','usableAsGanttStart','registerSuperTables','TwoWayLink','BaseProjection.projectGroups','_normalizeCalendarDisplayColor','toStringTag','https://','past30','spacePeriod','BaseProjection.filterAndSortRows','leftPaneWidth','removeOp','base.command.update-base-field-description','_configService','IBaseCellData.ensureTableCellLayout','BASES_PLUGIN','_isAllDayCalendarEvent','entries','day','reduce',',,\x22M\x22','SetTriggerFormulaCalculationStartMutation','SetBaseViewSortCommand','gridViewId','CreateBaseFieldCommand','Gallery','pluginName','filter','_setCachedProjection','replace','getBase','base.command.create-base-table','87460zjMrum','Gantt\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.','rows','selectField','UpdateBaseCellCommand','getDependencies','deleteRecords','invalidateByCell','spaceComma','unshift','unknown','contains','inferBaseSeparatorStyle','orderKey','formula.mutation.set-formula-calculation-result','childUnitId','Inject','Unchecked','date','attachment','SetSuperTableMutation','refactorFormulaUnitQualifier','_setViewFieldSetting','Rating','getAll','base.command.delete-base-view','greaterThan','start','fieldIndex','[BaseCommandService]:\x20cannot\x20create\x20field.','_kanbanGroupKeys','locale','_plugins','number','renameTable','invalid','fromEntries','edit','_config','IUndoRedoService','isEmpty','base.command.create-base-view','embedId','createView','disposeWithMe','createUpdateCellOp','base.command.update-base-view-config','user','base.viewType.gallery','quarter','Link','updateField','_patchProjectedRowsForCellInvalidations','Checkbox','_syncBaseUnit'];_0x742d=function(){return _0x4dbde2;};return _0x742d();}function Qt(_0x4356b5,_0x3d7146,_0x21f362){const _0x96a021=_0x21bd22;let _0x139aaa=new Date(_0x3d7146);return _0x4356b5===_0x96a021(0x317)?_0x139aaa[_0x96a021(0xe6)]()+'-'+new Date(_0x21f362-W)[_0x96a021(0xe6)]():_0x4356b5===_0x96a021(0x1c0)?_0x139aaa[_0x96a021(0x3cd)]('en-US',{'month':_0x96a021(0x1fa),'timeZone':_0x96a021(0xc3)}):String(_0x139aaa[_0x96a021(0xe6)]());}function $t(_0x4196fc,_0x4e0e1f){const _0x2d8cc7=_0x21bd22;return _0x4196fc===_0x2d8cc7(0x1c0)?String(new Date(_0x4e0e1f)[_0x2d8cc7(0x236)]()):ln(_0x4e0e1f);}function en(_0x24e080,_0x965b05,_0x243a88){let _0x37240f=Gt(_0x243a88),_0x4c2fd8=0x0;for(let _0x5c01d9=G(_0x24e080);_0x5c01d9<=G(_0x965b05);_0x5c01d9=K(_0x5c01d9,0x1))nn(_0x5c01d9,_0x37240f)||_0x4c2fd8++;return _0x4c2fd8;}function tn(_0x5f00a3,_0x25da1f,_0x16acbe){if(!_0x16acbe)return!0x1;let _0x4319f7=Gt(_0x16acbe);for(let _0x568778=G(_0x5f00a3);_0x568778<_0x25da1f;_0x568778=K(_0x568778,0x1))if(!nn(_0x568778,_0x4319f7))return!0x1;return!0x0;}function nn(_0xd8740c,_0x2fa3fa){const _0x12d3c1=_0x21bd22;let _0x2a9d92=G(_0xd8740c),_0xac37=_0x2fa3fa[_0x12d3c1(0x185)]['find'](_0x2cce41=>G(_0x2cce41[_0x12d3c1(0x2f8)])===_0x2a9d92);if(_0xac37)return _0xac37['type']===_0x12d3c1(0x38d);let _0x33f999=new Date(_0x2a9d92)[_0x12d3c1(0x355)](),_0x32bb8a=_0x33f999===0x0?0x7:_0x33f999;return!_0x2fa3fa[_0x12d3c1(0x22b)]['includes'](_0x32bb8a);}function G(_0x58c18a){const _0x306dfe=_0x21bd22;let _0x465604=new Date(_0x58c18a);return Date['UTC'](_0x465604[_0x306dfe(0x236)](),_0x465604[_0x306dfe(0x1fc)](),_0x465604['getUTCDate']());}function rn(_0x3614ae){const _0x5d3e71=_0x21bd22;let _0x56ab24=G(_0x3614ae),_0x2207c2=new Date(_0x56ab24)[_0x5d3e71(0x355)]();return K(_0x56ab24,-(_0x2207c2===0x0?0x6:_0x2207c2-0x1));}function an(_0x4b8429){const _0x11cf11=_0x21bd22;let _0x199790=new Date(_0x4b8429);return Date[_0x11cf11(0xc3)](_0x199790[_0x11cf11(0x236)](),_0x199790[_0x11cf11(0x1fc)](),0x1);}function on(_0x8ece05){let _0x559835=new Date(_0x8ece05);return Date['UTC'](_0x559835['getUTCFullYear'](),0x0,0x1);}function K(_0x16a1fb,_0xf457fe){return _0x16a1fb+_0xf457fe*W;}function sn(_0x292c4e,_0x45f36e){const _0x405c8c=_0x21bd22;let _0x35cd3f=new Date(_0x292c4e);return Date['UTC'](_0x35cd3f[_0x405c8c(0x236)](),_0x35cd3f[_0x405c8c(0x1fc)]()+_0x45f36e,0x1);}function cn(_0x12b9f8,_0x803f27){const _0x1d5958=_0x21bd22;let _0x5e07b0=new Date(_0x12b9f8);return Date[_0x1d5958(0xc3)](_0x5e07b0[_0x1d5958(0x236)]()+_0x803f27,0x0,0x1);}function ln(_0x2c969d){const _0x129b2f=_0x21bd22;let _0x21b238=new Date(_0x2c969d);return _0x21b238['toLocaleString']('en-US',{'month':_0x129b2f(0x1fa),'timeZone':_0x129b2f(0xc3)})+'\x20'+_0x21b238[_0x129b2f(0x236)]();}function un(_0x176723,_0xa04e33){const _0x3cf542=_0x21bd22;if(_0x176723==null&&_0xa04e33==null)return 0x0;if(_0x176723==null)return-0x1;if(_0xa04e33==null)return 0x1;if(typeof _0x176723==_0x3cf542(0x2bc)||typeof _0xa04e33==_0x3cf542(0x2bc))return Number(_0x176723===!0x0)-Number(_0xa04e33===!0x0);let _0x3af134=Number(_0x176723),_0xeda392=Number(_0xa04e33),_0x5c8316=Number[_0x3cf542(0x342)](_0x3af134),_0x43bd09=Number[_0x3cf542(0x342)](_0xeda392);return _0x5c8316&&_0x43bd09?_0x3af134-_0xeda392:_0x5c8316?0x1:_0x43bd09?-0x1:String(_0x176723)[_0x3cf542(0x322)](String(_0xa04e33));}function dn(_0x54bdda){const _0x357905=_0x21bd22;if(_0x54bdda[_0x357905(0x130)]!=='is'&&_0x54bdda[_0x357905(0x130)]!==_0x357905(0x123))return!0x1;let _0x2e1e83=_0x54bdda[_0x357905(0x94)];return _0x2e1e83==null?!0x0:typeof _0x2e1e83==_0x357905(0x14d)?_0x2e1e83['trim']()==='':Array[_0x357905(0x35a)](_0x2e1e83)?_0x2e1e83[_0x357905(0x1e3)]===0x0:!0x1;}function q(_0x1c6ca9,_0x3c6549){const _0x4759dd=_0x21bd22;var _0x500bb7;let _0x396fa5=Array[_0x4759dd(0x35a)]((_0x500bb7=_0x1c6ca9[_0x4759dd(0x396)])==null?void 0x0:_0x500bb7[_0x4759dd(0x26e)])?_0x1c6ca9[_0x4759dd(0x396)][_0x4759dd(0x26e)]:[];for(let _0x5a34f4 of _0x396fa5){var _0x31e558,_0x4c70f5,_0x933dd4,_0x2b0f03;if(_0x5a34f4==null)continue;if(typeof _0x5a34f4==_0x4759dd(0x14d)){if(_0x5a34f4===_0x3c6549)return{'id':_0x5a34f4,'name':_0x5a34f4};continue;}let _0x5b96d8=_0x5a34f4,_0x528588=String((_0x31e558=(_0x4c70f5=_0x5b96d8['id'])==null?_0x5b96d8[_0x4759dd(0x1d6)]:_0x4c70f5)==null?'':_0x31e558),_0x41304f=String((_0x933dd4=(_0x2b0f03=_0x5b96d8['name'])==null?_0x5b96d8['id']:_0x2b0f03)==null?_0x528588:_0x933dd4);if(_0x528588===_0x3c6549||_0x41304f===_0x3c6549)return{'id':_0x528588,'name':_0x41304f,'color':_0x5b96d8[_0x4759dd(0x38e)]==null?void 0x0:String(_0x5b96d8[_0x4759dd(0x38e)])};}return null;}const J={'id':'base.mutation.apply-base-json1','type':e[_0x21bd22(0x23b)][_0x21bd22(0x190)],'handler'(_0x3adb40,_0x3eb40b){const _0x2c3465=_0x21bd22;let {unitId:_0x42e944,op:_0x3da001}=_0x3eb40b,_0x474f8c=_0x3adb40['get'](e[_0x2c3465(0x1df)])['getUnit'](_0x42e944,e[_0x2c3465(0x3d1)][_0x2c3465(0x148)]);if(!_0x474f8c)return!0x1;let _0x1b03e8=_0x474f8c[_0x2c3465(0x39d)](),_0x2b1f5d=new w(),_0x245c8f=_0x2b1f5d['getAffectedRanges'](_0x3da001),_0x4ae58d=_0x2b1f5d[_0x2c3465(0x340)](_0x1b03e8,_0x3da001);return _0x474f8c[_0x2c3465(0xd8)](_0x4ae58d),fn(_0x4ae58d,_0x245c8f,_0x3adb40[_0x2c3465(0x294)](Ft)),!0x0;}};function fn(_0x346ade,_0x3c2291,_0x385bc0){const _0x4787da=_0x21bd22;let _0x24dff2=new Set();for(let _0x2c61ae of _0x3c2291){if(_0x2c61ae[_0x4787da(0x2af)]!==_0x4787da(0x19a)){_0x385bc0[_0x4787da(0x32b)]();return;}let _0x540b97=pn(_0x346ade,_0x2c61ae);if(!_0x540b97){_0x385bc0[_0x4787da(0x32b)]();return;}let _0x184a78=_0x540b97[_0x4787da(0x212)]+'\x00'+_0x540b97[_0x4787da(0x232)]+'\x00'+_0x540b97[_0x4787da(0x286)];_0x24dff2['has'](_0x184a78)||(_0x24dff2[_0x4787da(0x393)](_0x184a78),_0x385bc0[_0x4787da(0x2ed)](_0x540b97['tableId'],_0x540b97[_0x4787da(0x232)],_0x540b97[_0x4787da(0x286)]));}}function pn(_0x1f9684,_0x133dbb){const _0x2ca81e=_0x21bd22;var _0x58e170,_0x106dc0;if(!_0x133dbb['tableId'])return null;if(_0x133dbb['recordId']&&_0x133dbb[_0x2ca81e(0x286)])return{'tableId':_0x133dbb[_0x2ca81e(0x212)],'recordId':_0x133dbb['recordId'],'fieldId':_0x133dbb[_0x2ca81e(0x286)]};if(_0x133dbb[_0x2ca81e(0x282)]==null||_0x133dbb[_0x2ca81e(0x18d)]==null)return null;let _0xec9907=_0x1f9684[_0x2ca81e(0xda)][_0x133dbb[_0x2ca81e(0x212)]],_0x4693ff=_0xec9907==null||(_0x58e170=_0xec9907['rowId'])==null?void 0x0:_0x58e170[_0x133dbb[_0x2ca81e(0x282)]],_0x47c059=_0xec9907==null||(_0x106dc0=_0xec9907[_0x2ca81e(0x27f)])==null?void 0x0:_0x106dc0[_0x133dbb[_0x2ca81e(0x18d)]];return!_0x4693ff||!_0x47c059?null:{'tableId':_0x133dbb['tableId'],'recordId':_0x4693ff,'fieldId':_0x47c059};}function Y(_0x65e728,_0x3f3def,_0x2d8018){const _0x10e12a=_0x21bd22;let _0x98b763=_0x65e728[_0x10e12a(0x39d)]()[_0x10e12a(0xda)][_0x3f3def];if(!_0x98b763)return!0x1;let {viewIds:_0x40d641,fieldIds:_0x1e52eb,recordIds:_0x455f3d}=_0x2d8018||{};if(_0x40d641){for(let _0x43cb2e of _0x40d641)if(!_0x98b763[_0x10e12a(0xfa)][_0x43cb2e])return!0x1;}if(_0x1e52eb){for(let _0xbadaaa of _0x1e52eb)if(!_0x98b763[_0x10e12a(0x38f)][_0xbadaaa])return!0x1;}if(_0x455f3d){for(let _0x3f0c4d of _0x455f3d)if(!_0x98b763[_0x10e12a(0x10e)][_0x3f0c4d])return!0x1;}return!0x0;}const mn={'id':_0x21bd22(0x248),'type':e['CommandType'][_0x21bd22(0x25f)],'handler'(_0x8ee5ec,_0x258318){const _0x147482=_0x21bd22;if(!_0x258318)return!0x1;let _0x1625af=_0x8ee5ec['get'](e[_0x147482(0x1df)]),{unitId:_0x49426c,tableId:_0x59c512,records:_0xa64671}=_0x258318,_0x2f0df3=_0x1625af['getUnit'](_0x49426c,e[_0x147482(0x3d1)][_0x147482(0x148)]),_0x43c47a=_0xa64671[_0x147482(0x3c2)](_0x4e2558=>_0x4e2558['id']);if(!_0x2f0df3||!Y(_0x2f0df3,_0x59c512)||new Set(_0x43c47a)[_0x147482(0x1dc)]!==_0x43c47a[_0x147482(0x1e3)]||_0x43c47a[_0x147482(0x10a)](_0x13aa18=>_0x2f0df3[_0x147482(0x39d)]()[_0x147482(0xda)][_0x59c512][_0x147482(0x10e)][_0x13aa18]))return!0x1;let _0x8c69ea=_0x8ee5ec[_0x147482(0x294)](e['ICommandService']),_0x4c07d4=_0x8ee5ec[_0x147482(0x294)](e[_0x147482(0x30d)]),_0x364ba8=_0x8ee5ec[_0x147482(0x294)](V)['createBatchCreateRecordsOp'](_0x2f0df3,_0x59c512,_0xa64671),_0x31de8d=new w()[_0x147482(0x356)](_0x2f0df3[_0x147482(0x39d)](),_0x364ba8),_0x55621f={'unitId':_0x49426c,'op':_0x364ba8},_0x52c8ba={'unitId':_0x49426c,'op':_0x31de8d};return _0x8c69ea['syncExecuteCommand'](J['id'],_0x55621f)?(_0x1625af['focusUnit'](_0x49426c),_0x4c07d4[_0x147482(0x273)]({'unitID':_0x49426c,'undoMutations':[{'id':J['id'],'params':_0x52c8ba}],'redoMutations':[{'id':J['id'],'params':_0x55621f}]}),!0x0):!0x1;}},hn={'id':_0x21bd22(0x345),'type':e[_0x21bd22(0x23b)]['COMMAND'],'handler':(_0x5223ba,_0x509f1f)=>{const _0x191f25=_0x21bd22;if(!_0x509f1f)return!0x1;let _0x34ac4b=_0x5223ba[_0x191f25(0x294)](e[_0x191f25(0x1df)]),{unitId:_0x1b1343,tableId:_0x4c7a56,recordIds:_0x2aa4b7}=_0x509f1f,_0x5c982c=_0x34ac4b[_0x191f25(0x1fb)](_0x1b1343,e['UniverInstanceType'][_0x191f25(0x148)]);if(!_0x5c982c||!Y(_0x5c982c,_0x4c7a56,{'recordIds':_0x2aa4b7}))return!0x1;let _0x259981=_0x5223ba[_0x191f25(0x294)](e[_0x191f25(0x168)]),_0x1a772d=_0x5223ba[_0x191f25(0x294)](e[_0x191f25(0x30d)]),_0x2b83e2=_0x5c982c[_0x191f25(0x39d)](),_0x57e218=new P()[_0x191f25(0x2ec)](_0x2b83e2,_0x4c7a56,_0x2aa4b7),_0xfdb62b=new w()[_0x191f25(0x356)](_0x2b83e2,_0x57e218),_0x351287={'unitId':_0x1b1343,'op':_0x57e218},_0x145522={'unitId':_0x1b1343,'op':_0xfdb62b};return _0x259981['syncExecuteCommand'](J['id'],_0x351287)?(_0x34ac4b[_0x191f25(0x37e)](_0x1b1343),_0x1a772d[_0x191f25(0x273)]({'unitID':_0x1b1343,'undoMutations':[{'id':J['id'],'params':_0x145522}],'redoMutations':[{'id':J['id'],'params':_0x351287}]}),!0x0):!0x1;}},gn={'id':'base.command.change-base-field-type','type':e['CommandType'][_0x21bd22(0x25f)],'handler':(_0x3e025d,_0x44bc44)=>{const _0x4eed77=_0x21bd22;if(!_0x44bc44)return!0x1;let _0x2ccbed=_0x3e025d[_0x4eed77(0x294)](e[_0x4eed77(0x1df)]),{unitId:_0x56eb64,tableId:_0xf697c5,fieldId:_0x414532,input:_0x2c91c8}=_0x44bc44,_0x8ac144=_0x2ccbed[_0x4eed77(0x1fb)](_0x56eb64,e['UniverInstanceType'][_0x4eed77(0x148)]);if(!_0x8ac144||!Y(_0x8ac144,_0xf697c5,{'fieldIds':[_0x414532]}))return!0x1;let _0x43b9f0=_0x3e025d['get'](e['ICommandService']),_0x4a242d=_0x3e025d[_0x4eed77(0x294)](e['IUndoRedoService']),_0x2b6a80=_0x8ac144[_0x4eed77(0x39d)](),_0x35c94a=new P()[_0x4eed77(0x135)](_0x2b6a80,_0xf697c5,_0x414532,_0x2c91c8),_0x5ea945=new w()[_0x4eed77(0x356)](_0x2b6a80,_0x35c94a),_0x5cd6bb={'unitId':_0x56eb64,'op':_0x35c94a},_0x48e508={'unitId':_0x56eb64,'op':_0x5ea945};return _0x43b9f0[_0x4eed77(0x184)](J['id'],_0x5cd6bb)?(_0x2ccbed['focusUnit'](_0x56eb64),_0x4a242d[_0x4eed77(0x273)]({'unitID':_0x56eb64,'undoMutations':[{'id':J['id'],'params':_0x48e508}],'redoMutations':[{'id':J['id'],'params':_0x5cd6bb}]}),!0x0):!0x1;}},_n={'id':_0x21bd22(0x376),'type':e[_0x21bd22(0x23b)]['COMMAND'],'handler'(_0x50b601,_0x148c22){const _0x314427=_0x21bd22;if(!_0x148c22)return!0x1;let _0x291816=_0x50b601[_0x314427(0x294)](e[_0x314427(0x1df)]),{unitId:_0xc1dfaf,tableId:_0x13144a,field:_0x3870d3,index:_0x49d00e,viewIndexes:_0xb6df99}=_0x148c22,_0x5023c3=_0x291816['getUnit'](_0xc1dfaf,e['UniverInstanceType'][_0x314427(0x148)]);if(!_0x5023c3||!Y(_0x5023c3,_0x13144a)||_0x5023c3[_0x314427(0x39d)]()['tables'][_0x13144a]['fields'][_0x3870d3['id']])return!0x1;let _0x311a70=_0x50b601[_0x314427(0x294)](e[_0x314427(0x168)]),_0x22fc16=_0x50b601[_0x314427(0x294)](e[_0x314427(0x30d)]),_0x39ab57=_0x50b601['get'](V)['createCreateFieldOp'](_0x5023c3,_0x13144a,_0x3870d3,_0x49d00e,_0xb6df99),_0x171bb2=new w()[_0x314427(0x356)](_0x5023c3[_0x314427(0x39d)](),_0x39ab57),_0x16b3f9={'unitId':_0xc1dfaf,'op':_0x39ab57},_0x49ed1d={'unitId':_0xc1dfaf,'op':_0x171bb2};return _0x311a70[_0x314427(0x184)](J['id'],_0x16b3f9)?(_0x291816[_0x314427(0x37e)](_0xc1dfaf),_0x22fc16[_0x314427(0x273)]({'unitID':_0xc1dfaf,'undoMutations':[{'id':J['id'],'params':_0x49ed1d}],'redoMutations':[{'id':J['id'],'params':_0x16b3f9}]}),!0x0):!0x1;}},vn={'id':_0x21bd22(0xdf),'type':e[_0x21bd22(0x23b)][_0x21bd22(0x25f)],'handler'(_0x5616c3,_0x3b6f4f){const _0x230d5c=_0x21bd22;if(!_0x3b6f4f)return!0x1;let _0x4f733e=_0x5616c3[_0x230d5c(0x294)](e['IUniverInstanceService']),{unitId:_0x2c8868,tableId:_0x12eafb,record:_0x27bf82}=_0x3b6f4f,_0x2e33ae=_0x4f733e[_0x230d5c(0x1fb)](_0x2c8868,e[_0x230d5c(0x3d1)]['UNIVER_BASE']);if(!_0x2e33ae||!Y(_0x2e33ae,_0x12eafb)||_0x2e33ae[_0x230d5c(0x39d)]()[_0x230d5c(0xda)][_0x12eafb][_0x230d5c(0x10e)][_0x27bf82['id']])return!0x1;let _0xc23da0=_0x5616c3['get'](e[_0x230d5c(0x168)]),_0x82e9a5=_0x5616c3[_0x230d5c(0x294)](e[_0x230d5c(0x30d)]),_0x5adc30=_0x5616c3['get'](V)[_0x230d5c(0x120)](_0x2e33ae,_0x12eafb,_0x27bf82),_0x414c37=new w()[_0x230d5c(0x356)](_0x2e33ae['getSnapshot'](),_0x5adc30),_0x2eab19={'unitId':_0x2c8868,'op':_0x5adc30},_0xfd325b={'unitId':_0x2c8868,'op':_0x414c37};return _0xc23da0['syncExecuteCommand'](J['id'],_0x2eab19)?(_0x4f733e[_0x230d5c(0x37e)](_0x2c8868),_0x82e9a5[_0x230d5c(0x273)]({'unitID':_0x2c8868,'undoMutations':[{'id':J['id'],'params':_0xfd325b}],'redoMutations':[{'id':J['id'],'params':_0x2eab19}]}),!0x0):!0x1;}},yn={'id':_0x21bd22(0x2e5),'type':e['CommandType'][_0x21bd22(0x25f)],'handler':(_0x578497,_0x25e6c4)=>{const _0x4b2e3f=_0x21bd22;if(!_0x25e6c4)return!0x1;let _0x49550a=_0x578497[_0x4b2e3f(0x294)](e['IUniverInstanceService']),{unitId:_0x558f00,table:_0x3854f6,index:_0x359d8b}=_0x25e6c4,_0xb4aeee=_0x49550a[_0x4b2e3f(0x1fb)](_0x558f00,e[_0x4b2e3f(0x3d1)][_0x4b2e3f(0x148)]);if(!_0xb4aeee||_0xb4aeee[_0x4b2e3f(0x39d)]()[_0x4b2e3f(0xda)][_0x3854f6['id']])return!0x1;let _0x3147df=_0x578497[_0x4b2e3f(0x294)](e[_0x4b2e3f(0x168)]),_0x509791=_0x578497[_0x4b2e3f(0x294)](e[_0x4b2e3f(0x30d)]),_0x220c44=_0xb4aeee['getSnapshot'](),_0x1a6327={..._0x3854f6,'name':_0xb4aeee['uniqueTableName'](_0x3854f6[_0x4b2e3f(0x1d6)])},_0x546713=new P()[_0x4b2e3f(0x343)](_0x220c44,_0x1a6327,_0x359d8b),_0x9f973f=new w()[_0x4b2e3f(0x356)](_0x220c44,_0x546713),_0x123981={'unitId':_0x558f00,'op':_0x546713},_0x50a7dc={'unitId':_0x558f00,'op':_0x9f973f};return _0x3147df[_0x4b2e3f(0x184)](J['id'],_0x123981)?(_0x49550a['focusUnit'](_0x558f00),_0x509791[_0x4b2e3f(0x273)]({'unitID':_0x558f00,'undoMutations':[{'id':J['id'],'params':_0x50a7dc}],'redoMutations':[{'id':J['id'],'params':_0x123981}]}),!0x0):!0x1;}};function bn(_0x7e5ec4,_0x1aa1be,_0x30682e=[]){const _0x127bd5=_0x21bd22;let _0x55bbfb=new Set([...Object[_0x127bd5(0x203)](_0x7e5ec4[_0x127bd5(0x38f)])[_0x127bd5(0x2e1)](_0x198e13=>_0x198e13)[_0x127bd5(0x3c2)](_0x218ee7=>_0x218ee7[_0x127bd5(0x1d6)]),..._0x30682e[_0x127bd5(0x3c2)](_0x5411b5=>_0x5411b5[_0x127bd5(0x1d6)])]);if(!_0x55bbfb['has'](_0x1aa1be))return _0x1aa1be;let _0x47a814=0x2;for(;_0x55bbfb[_0x127bd5(0x15a)](_0x1aa1be+'\x20'+_0x47a814);)_0x47a814++;return _0x1aa1be+'\x20'+_0x47a814;}function xn(_0x5a55f5,_0xafdfab){const _0x2914d4=_0x21bd22;if(!_0x5a55f5||!_0xafdfab[_0x2914d4(0x1e3)])return;let _0x342e96=[..._0x5a55f5];return _0xafdfab[_0x2914d4(0x266)](_0x3dba20=>{_0x342e96['includes'](_0x3dba20)||_0x342e96['push'](_0x3dba20);}),_0x342e96;}const Sn={'options':[{'id':_0x21bd22(0x338),'name':_0x21bd22(0x136),'color':_0x21bd22(0x2a1)},{'id':_0x21bd22(0x160),'name':_0x21bd22(0x1ed),'color':_0x21bd22(0x13a)},{'id':'done','name':'Done','color':_0x21bd22(0x126)}]},Cn={'locale':_0x21bd22(0x13d),'pattern':'yyyy/mm/dd','includeTime':!0x1,'hourCycle':_0x21bd22(0xba),'defaultMode':_0x21bd22(0x1ca)};function wn(_0xafba5d,_0x461918,_0x668b4c,_0x48ddc4){const _0x5bae9b=_0x21bd22;var _0x29fc95;let _0x25c4f4=new P(),_0x3ad0b7=_0xafba5d['tables'][_0x461918];if(_0x3ad0b7&&_0x668b4c[_0x5bae9b(0x3ab)]==='kanban'){var _0xdd7a24;let _0x23dc45=En(_0x3ad0b7,_0x668b4c),_0x18fe3e=_0x23dc45[_0x5bae9b(0x17f)]?{..._0x668b4c,'config':_0x23dc45[_0x5bae9b(0x396)],'fieldOrder':(_0xdd7a24=_0x23dc45[_0x5bae9b(0xde)])==null?_0x668b4c[_0x5bae9b(0xde)]:_0xdd7a24}:_0x668b4c;return N([..._0x23dc45['fields'][_0x5bae9b(0x3c2)](_0x2662a3=>_0x25c4f4[_0x5bae9b(0x1f0)](_0xafba5d,_0x461918,{'field':_0x2662a3})),_0x25c4f4[_0x5bae9b(0x311)](_0xafba5d,_0x461918,_0x18fe3e,_0x48ddc4)]);}if(!_0x3ad0b7||_0x668b4c[_0x5bae9b(0x3ab)]!=='calendar'&&_0x668b4c[_0x5bae9b(0x3ab)]!==_0x5bae9b(0x36f))return _0x25c4f4[_0x5bae9b(0x311)](_0xafba5d,_0x461918,_0x668b4c,_0x48ddc4);let _0x4ee561=Tn(_0x3ad0b7,_0x668b4c),_0x14b39d=_0x4ee561[_0x5bae9b(0x17f)]?{..._0x668b4c,'config':_0x4ee561[_0x5bae9b(0x396)],'fieldOrder':(_0x29fc95=_0x4ee561[_0x5bae9b(0xde)])==null?_0x668b4c[_0x5bae9b(0xde)]:_0x29fc95}:_0x668b4c;return _0x668b4c[_0x5bae9b(0x3ab)]===_0x5bae9b(0x36f)&&kn(_0x668b4c)&&(_0x14b39d=An(_0x3ad0b7,_0x14b39d,_0x4ee561['fields'])),N([..._0x4ee561[_0x5bae9b(0x38f)][_0x5bae9b(0x3c2)](_0x2af4ec=>_0x25c4f4[_0x5bae9b(0x1f0)](_0xafba5d,_0x461918,{'field':_0x2af4ec})),_0x25c4f4['createView'](_0xafba5d,_0x461918,_0x14b39d,_0x48ddc4)]);}function Tn(_0x21a996,_0x275df4,_0x3ff25=!0x1){const _0x4cbd51=_0x21bd22;var _0x395405,_0x8dbd84,_0x23a83c,_0x49a7b8;let _0x308b03=_0x21a996[_0x4cbd51(0xde)][_0x4cbd51(0x2e1)](_0x5dead9=>Mn(_0x21a996,_0x5dead9)),_0x51151d=[],_0x4e01ac={...(_0x395405=_0x275df4[_0x4cbd51(0x396)])==null?{}:_0x395405},_0x5b00e9=typeof _0x4e01ac['startDateFieldId']==_0x4cbd51(0x14d)&&Mn(_0x21a996,_0x4e01ac[_0x4cbd51(0x290)])?_0x4e01ac['startDateFieldId']:_0x308b03[0x0],_0x27c7a9=typeof _0x4e01ac[_0x4cbd51(0x27e)]==_0x4cbd51(0x14d)&&Mn(_0x21a996,_0x4e01ac['endDateFieldId'])&&_0x4e01ac['endDateFieldId']!==_0x5b00e9?_0x4e01ac[_0x4cbd51(0x27e)]:_0x308b03['find'](_0x3409a7=>_0x3409a7!==_0x5b00e9);if(!_0x5b00e9){let _0x26baa4=Nn(_0x21a996,_0x51151d,_0x275df4[_0x4cbd51(0x3ab)]===_0x4cbd51(0x36f)?_0x4cbd51(0xc6):_0x4cbd51(0x14c));_0x51151d['push'](_0x26baa4),_0x5b00e9=_0x26baa4['id'];}if((_0x275df4[_0x4cbd51(0x3ab)]===_0x4cbd51(0x36f)||_0x3ff25)&&!_0x27c7a9){let _0x6eb688=Nn(_0x21a996,_0x51151d,'End\x20date');_0x51151d[_0x4cbd51(0x147)](_0x6eb688),_0x27c7a9=_0x6eb688['id'];}if(_0x275df4[_0x4cbd51(0x3ab)]===_0x4cbd51(0x199)&&!_0x27c7a9&&delete _0x4e01ac[_0x4cbd51(0x27e)],_0x4e01ac[_0x4cbd51(0x290)]=_0x5b00e9,_0x275df4['type']===_0x4cbd51(0x199)&&_0x27c7a9&&(_0x4e01ac[_0x4cbd51(0x27e)]=_0x27c7a9),_0x275df4[_0x4cbd51(0x3ab)]==='gantt'){var _0x24a6ad;_0x4e01ac[_0x4cbd51(0x27e)]=(_0x24a6ad=_0x27c7a9)==null?_0x5b00e9:_0x24a6ad;}let _0x5a5dca=xn(_0x275df4['fieldOrder'],_0x51151d[_0x4cbd51(0x3c2)](_0xa2aec0=>_0xa2aec0['id']));return{'changed':_0x51151d[_0x4cbd51(0x1e3)]>0x0||_0x4e01ac['startDateFieldId']!==((_0x8dbd84=_0x275df4[_0x4cbd51(0x396)])==null?void 0x0:_0x8dbd84[_0x4cbd51(0x290)])||_0x4e01ac[_0x4cbd51(0x27e)]!==((_0x23a83c=_0x275df4[_0x4cbd51(0x396)])==null?void 0x0:_0x23a83c[_0x4cbd51(0x27e)])||!!(_0x5a5dca&&!e[_0x4cbd51(0x164)][_0x4cbd51(0x1a5)](_0x5a5dca,(_0x49a7b8=_0x275df4[_0x4cbd51(0xde)])==null?[]:_0x49a7b8)),'fields':_0x51151d,'config':_0x4e01ac,'fieldOrder':_0x5a5dca};}function En(_0x5bc2f1,_0x3e6249){const _0x57b771=_0x21bd22;var _0x4a436c,_0x678219,_0xea5179;let _0x243bcb=[],_0x11e2e1={...(_0x4a436c=_0x3e6249[_0x57b771(0x396)])==null?{}:_0x4a436c},_0x89263=typeof _0x11e2e1[_0x57b771(0x279)]==_0x57b771(0x14d)&&Dn(_0x5bc2f1,_0x11e2e1[_0x57b771(0x279)])?_0x11e2e1[_0x57b771(0x279)]:_0x5bc2f1[_0x57b771(0xde)][_0x57b771(0x1bd)](_0x2ba1ed=>Dn(_0x5bc2f1,_0x2ba1ed));if(!_0x89263){let _0xe91055=On(_0x5bc2f1,_0x243bcb);_0x243bcb['push'](_0xe91055),_0x89263=_0xe91055['id'];}_0x11e2e1[_0x57b771(0x279)]=_0x89263;let _0x2ac4c0=xn(_0x3e6249['fieldOrder'],_0x243bcb[_0x57b771(0x3c2)](_0x4cb9af=>_0x4cb9af['id']));return{'changed':_0x243bcb[_0x57b771(0x1e3)]>0x0||_0x11e2e1[_0x57b771(0x279)]!==((_0x678219=_0x3e6249[_0x57b771(0x396)])==null?void 0x0:_0x678219['groupFieldId'])||!!(_0x2ac4c0&&!e['Tools']['diffValue'](_0x2ac4c0,(_0xea5179=_0x3e6249[_0x57b771(0xde)])==null?[]:_0xea5179)),'fields':_0x243bcb,'config':_0x11e2e1,'fieldOrder':_0x2ac4c0};}function Dn(_0x4ca6e1,_0x3128f0){const _0x5d8a7c=_0x21bd22;let _0x144d4c=_0x3128f0?_0x4ca6e1[_0x5d8a7c(0x38f)][_0x3128f0]:null;return _0x144d4c?[e[_0x5d8a7c(0x2bb)][_0x5d8a7c(0x11f)],e['BaseFieldType'][_0x5d8a7c(0x335)],e[_0x5d8a7c(0x2bb)][_0x5d8a7c(0x2fd)],e[_0x5d8a7c(0x2bb)][_0x5d8a7c(0x188)],e[_0x5d8a7c(0x2bb)][_0x5d8a7c(0xae)],e[_0x5d8a7c(0x2bb)][_0x5d8a7c(0x31b)]]['includes'](_0x144d4c[_0x5d8a7c(0x3ab)]):!0x1;}function On(_0x491dda,_0x5dde6e){const _0x35f3a=_0x21bd22;return{'id':_0x35f3a(0x137)+(0x0,e['generateRandomId'])(0x8),'name':bn(_0x491dda,_0x35f3a(0x226),_0x5dde6e),'type':e[_0x35f3a(0x2bb)][_0x35f3a(0x11f)],'config':e['Tools']['deepClone'](Sn)};}function kn(_0x4218ca){const _0x3dccd8=_0x21bd22;var _0x4cb85c,_0x17bb5a;return Object['keys']((_0x4cb85c=_0x4218ca['config'])==null?{}:_0x4cb85c)[_0x3dccd8(0x1e3)]===0x0&&Object[_0x3dccd8(0xdc)]((_0x17bb5a=_0x4218ca['fieldSettings'])==null?{}:_0x17bb5a)[_0x3dccd8(0x1e3)]===0x0;}function An(_0x28aa13,_0x1e4727,_0x11813b){const _0x27a78c=_0x21bd22;var _0x9191a2;let _0x4e0fa4={...(_0x9191a2=_0x1e4727[_0x27a78c(0x396)])==null?{}:_0x9191a2},_0x5e6d53=_0x11813b[_0x27a78c(0x3c2)](_0x3d7b1b=>_0x3d7b1b['id']),_0x6692dc=[..._0x28aa13['fieldOrder'],..._0x5e6d53],_0x3f1d4c=typeof _0x4e0fa4[_0x27a78c(0xd9)]==_0x27a78c(0x14d)&&jn(_0x28aa13,_0x11813b,_0x4e0fa4[_0x27a78c(0xd9)])?_0x4e0fa4['titleFieldId']:_0x28aa13[_0x27a78c(0x329)],_0x2a1d4c=typeof _0x4e0fa4[_0x27a78c(0x290)]==_0x27a78c(0x14d)?_0x4e0fa4[_0x27a78c(0x290)]:'',_0x3168a8=typeof _0x4e0fa4[_0x27a78c(0x27e)]=='string'?_0x4e0fa4[_0x27a78c(0x27e)]:_0x2a1d4c,_0x444f74=new Set([_0x3f1d4c,_0x2a1d4c,_0x3168a8]['filter'](_0x5a435e=>_0x5a435e&&jn(_0x28aa13,_0x11813b,_0x5a435e))),_0x32921e=Object['fromEntries'](_0x6692dc[_0x27a78c(0x103)](_0x17543d=>_0x444f74[_0x27a78c(0x15a)](_0x17543d)||!jn(_0x28aa13,_0x11813b,_0x17543d)?[]:[[_0x17543d,{'hidden':!0x0}]]));return{..._0x1e4727,'config':{..._0x4e0fa4,'titleFieldId':_0x3f1d4c},'fieldSettings':_0x32921e};}function jn(_0x33a3c9,_0x1ace64,_0x4c7103){const _0x262845=_0x21bd22;var _0x3988b2;return!!((_0x3988b2=_0x33a3c9['fields'][_0x4c7103])==null?_0x1ace64[_0x262845(0x1bd)](_0x1cfb03=>_0x1cfb03['id']===_0x4c7103):_0x3988b2)&&!0x0;}function Mn(_0x1366db,_0x4241e9){const _0x47fc09=_0x21bd22;let _0x51983f=_0x4241e9?_0x1366db[_0x47fc09(0x38f)][_0x4241e9]:null;return!!_0x51983f&&_0x51983f['type']===e[_0x47fc09(0x2bb)]['Date']&&_0x51983f['readonly']!==!0x0&&_0x51983f[_0x47fc09(0x208)]!==!0x0;}function Nn(_0xb8d5e,_0x3dbb7c,_0x1fb5ff){const _0x1b63e0=_0x21bd22;let _0x38ba87=new Set([...Object[_0x1b63e0(0xdc)](_0xb8d5e[_0x1b63e0(0x38f)]),..._0x3dbb7c[_0x1b63e0(0x3c2)](_0x5cbf00=>_0x5cbf00['id'])]),_0x350ca6=_0x1b63e0(0x137)+(0x0,e[_0x1b63e0(0xe4)])(0x8);for(;_0x38ba87[_0x1b63e0(0x15a)](_0x350ca6);)_0x350ca6=_0x1b63e0(0x137)+(0x0,e[_0x1b63e0(0xe4)])(0x8);return{'id':_0x350ca6,'name':bn(_0xb8d5e,_0x1fb5ff,_0x3dbb7c),'type':e[_0x1b63e0(0x2bb)][_0x1b63e0(0x14c)],'config':{...Cn}};}const Pn={'id':_0x21bd22(0x30f),'type':e[_0x21bd22(0x23b)]['COMMAND'],'handler':(_0x476d1c,_0x18d3b7)=>{const _0x392f46=_0x21bd22;if(!_0x18d3b7)return!0x1;let _0x1c1937=_0x476d1c[_0x392f46(0x294)](e[_0x392f46(0x1df)]),{unitId:_0x3e0943,tableId:_0x256c32,view:_0x2c979d,index:_0x22e3ea}=_0x18d3b7,_0x1ebb4c=_0x1c1937[_0x392f46(0x1fb)](_0x3e0943,e[_0x392f46(0x3d1)]['UNIVER_BASE']);if(!_0x1ebb4c||!Y(_0x1ebb4c,_0x256c32)||_0x1ebb4c[_0x392f46(0x39d)]()[_0x392f46(0xda)][_0x256c32]['views'][_0x2c979d['id']])return!0x1;let _0x340bdf=_0x476d1c['get'](e[_0x392f46(0x168)]),_0x5c7f95=_0x476d1c[_0x392f46(0x294)](e['IUndoRedoService']),_0x4efe49=_0x1ebb4c[_0x392f46(0x39d)](),_0x4441ad=wn(_0x4efe49,_0x256c32,_0x2c979d,_0x22e3ea),_0x4f5a2a=new w()[_0x392f46(0x356)](_0x4efe49,_0x4441ad),_0x5ab9c5={'unitId':_0x3e0943,'op':_0x4441ad},_0x9486fb={'unitId':_0x3e0943,'op':_0x4f5a2a};return _0x340bdf[_0x392f46(0x184)](J['id'],_0x5ab9c5)?(_0x1c1937[_0x392f46(0x37e)](_0x3e0943),_0x5c7f95[_0x392f46(0x273)]({'unitID':_0x3e0943,'undoMutations':[{'id':J['id'],'params':_0x9486fb}],'redoMutations':[{'id':J['id'],'params':_0x5ab9c5}]}),!0x0):!0x1;}},Fn={'id':'base.command.delete-base-field','type':e[_0x21bd22(0x23b)]['COMMAND'],'handler'(_0x373440,_0x2e841d){const _0x4c9752=_0x21bd22;if(!_0x2e841d)return!0x1;let _0x19d341=_0x373440[_0x4c9752(0x294)](e[_0x4c9752(0x1df)]),{unitId:_0x19f80b,tableId:_0x483eb2,fieldId:_0x4a2e54}=_0x2e841d,_0x8375cb=_0x19d341[_0x4c9752(0x1fb)](_0x19f80b,e[_0x4c9752(0x3d1)][_0x4c9752(0x148)]);if(!_0x8375cb)return!0x1;let _0x1202cf=_0x8375cb[_0x4c9752(0x39d)](),_0x4d61cf=_0x1202cf[_0x4c9752(0xda)][_0x483eb2];if(!Y(_0x8375cb,_0x483eb2,{'fieldIds':[_0x4a2e54]})||_0x4d61cf[_0x4c9752(0x329)]===_0x4a2e54)return!0x1;let _0x192481=_0x373440[_0x4c9752(0x294)](e[_0x4c9752(0x168)]),_0x5909c7=_0x373440[_0x4c9752(0x294)](e[_0x4c9752(0x30d)]),_0x425c6b=new P()[_0x4c9752(0x14a)](_0x1202cf,_0x483eb2,_0x4a2e54),_0xfcf80f=new w()[_0x4c9752(0x356)](_0x1202cf,_0x425c6b),_0x3ffc1c={'unitId':_0x19f80b,'op':_0x425c6b},_0x4b7c17={'unitId':_0x19f80b,'op':_0xfcf80f};return _0x192481[_0x4c9752(0x184)](J['id'],_0x3ffc1c)?(_0x19d341['focusUnit'](_0x19f80b),_0x5909c7[_0x4c9752(0x273)]({'unitID':_0x19f80b,'undoMutations':[{'id':J['id'],'params':_0x4b7c17}],'redoMutations':[{'id':J['id'],'params':_0x3ffc1c}]}),!0x0):!0x1;}},In={'id':_0x21bd22(0x13b),'type':e['CommandType'][_0x21bd22(0x25f)],'handler':(_0x1781da,_0x28058c)=>{const _0x3dd0b2=_0x21bd22;if(!_0x28058c)return!0x1;let _0x469659=_0x1781da[_0x3dd0b2(0x294)](e[_0x3dd0b2(0x1df)]),{unitId:_0xe60f03,tableId:_0x432e12,recordId:_0x53e9bd}=_0x28058c,_0x26f8a1=_0x469659['getUnit'](_0xe60f03,e['UniverInstanceType'][_0x3dd0b2(0x148)]);if(!_0x26f8a1||!Y(_0x26f8a1,_0x432e12,{'recordIds':[_0x53e9bd]}))return!0x1;let _0x176a42=_0x1781da['get'](e[_0x3dd0b2(0x168)]),_0x1f3563=_0x1781da['get'](e[_0x3dd0b2(0x30d)]),_0x316a76=_0x26f8a1[_0x3dd0b2(0x39d)](),_0x5d2495=new P()[_0x3dd0b2(0x35d)](_0x316a76,_0x432e12,_0x53e9bd),_0xcb0e6e=new w()[_0x3dd0b2(0x356)](_0x316a76,_0x5d2495),_0x55d578={'unitId':_0xe60f03,'op':_0x5d2495},_0x8e869e={'unitId':_0xe60f03,'op':_0xcb0e6e};return _0x176a42[_0x3dd0b2(0x184)](J['id'],_0x55d578)?(_0x469659[_0x3dd0b2(0x37e)](_0xe60f03),_0x1f3563['pushUndoRedo']({'unitID':_0xe60f03,'undoMutations':[{'id':J['id'],'params':_0x8e869e}],'redoMutations':[{'id':J['id'],'params':_0x55d578}]}),!0x0):!0x1;}},Ln={'id':_0x21bd22(0xc9),'type':e[_0x21bd22(0x23b)][_0x21bd22(0x25f)],'handler':(_0x43b0b6,_0x50907c)=>{const _0x270525=_0x21bd22;if(!_0x50907c)return!0x1;let _0x1f3d43=_0x43b0b6[_0x270525(0x294)](e['IUniverInstanceService']),{unitId:_0x182d63,tableId:_0x491814}=_0x50907c,_0x324112=_0x1f3d43[_0x270525(0x1fb)](_0x182d63,e[_0x270525(0x3d1)][_0x270525(0x148)]);if(!_0x324112||!Y(_0x324112,_0x491814))return!0x1;let _0x18575e=_0x43b0b6['get'](e[_0x270525(0x168)]),_0x3506d1=_0x43b0b6[_0x270525(0x294)](e[_0x270525(0x30d)]),_0x396d24=_0x324112[_0x270525(0x39d)](),_0x508207=new P()['deleteTable'](_0x396d24,_0x491814),_0x8f06dd=new w()[_0x270525(0x356)](_0x396d24,_0x508207),_0x402efa={'unitId':_0x182d63,'op':_0x508207},_0x30effd={'unitId':_0x182d63,'op':_0x8f06dd};return _0x18575e[_0x270525(0x184)](J['id'],_0x402efa)?(_0x1f3d43[_0x270525(0x37e)](_0x182d63),_0x3506d1[_0x270525(0x273)]({'unitID':_0x182d63,'undoMutations':[{'id':J['id'],'params':_0x30effd}],'redoMutations':[{'id':J['id'],'params':_0x402efa}]}),!0x0):!0x1;}},Rn={'id':_0x21bd22(0x2ff),'type':e[_0x21bd22(0x23b)][_0x21bd22(0x25f)],'handler':(_0x5d9fc3,_0x2993b7)=>{const _0x37e28e=_0x21bd22;if(!_0x2993b7)return!0x1;let _0x57138c=_0x5d9fc3[_0x37e28e(0x294)](e['IUniverInstanceService']),{unitId:_0x4a70c4,tableId:_0x4dc30e,viewId:_0x5bd77b}=_0x2993b7,_0x46b79d=_0x57138c[_0x37e28e(0x1fb)](_0x4a70c4,e['UniverInstanceType'][_0x37e28e(0x148)]);if(!_0x46b79d||!Y(_0x46b79d,_0x4dc30e,{'viewIds':[_0x5bd77b]}))return!0x1;let _0x22841d=_0x5d9fc3[_0x37e28e(0x294)](e[_0x37e28e(0x168)]),_0x4563e3=_0x5d9fc3['get'](e[_0x37e28e(0x30d)]),_0x4dab38=_0x46b79d[_0x37e28e(0x39d)](),_0x2538d4=new P()['deleteView'](_0x4dab38,_0x4dc30e,_0x5bd77b),_0x1bec15=new w()[_0x37e28e(0x356)](_0x4dab38,_0x2538d4),_0x2b84d8={'unitId':_0x4a70c4,'op':_0x2538d4},_0x23e26f={'unitId':_0x4a70c4,'op':_0x1bec15};return _0x22841d[_0x37e28e(0x184)](J['id'],_0x2b84d8)?(_0x57138c['focusUnit'](_0x4a70c4),_0x4563e3[_0x37e28e(0x273)]({'unitID':_0x4a70c4,'undoMutations':[{'id':J['id'],'params':_0x23e26f}],'redoMutations':[{'id':J['id'],'params':_0x2b84d8}]}),!0x0):!0x1;}},zn={'id':_0x21bd22(0x36d),'type':e['CommandType']['COMMAND'],'handler':(_0xbb7249,_0x580e0d)=>{const _0x14ede4=_0x21bd22;if(!_0x580e0d)return!0x1;let _0x5ad52f=_0xbb7249['get'](e[_0x14ede4(0x1df)]),{unitId:_0x5756ff,tableId:_0x336c35,sourceFieldId:_0x8f230a,field:_0x12c6a5,index:_0x33d953,viewIndexes:_0x1f806b}=_0x580e0d,_0x5a46e9=_0x5ad52f['getUnit'](_0x5756ff,e[_0x14ede4(0x3d1)][_0x14ede4(0x148)]);if(!_0x5a46e9||!Y(_0x5a46e9,_0x336c35,{'fieldIds':[_0x8f230a]})||_0x5a46e9[_0x14ede4(0x39d)]()[_0x14ede4(0xda)][_0x336c35][_0x14ede4(0x38f)][_0x12c6a5['id']])return!0x1;let _0x2be129=_0xbb7249[_0x14ede4(0x294)](e['ICommandService']),_0x115ad3=_0xbb7249[_0x14ede4(0x294)](e[_0x14ede4(0x30d)]),_0x24b215=_0x5a46e9['getSnapshot'](),_0xaca78=new P()[_0x14ede4(0x35f)](_0x24b215,_0x336c35,_0x8f230a,{'field':_0x12c6a5,'index':_0x33d953,'viewIndexes':_0x1f806b}),_0xbfffb=new w()[_0x14ede4(0x356)](_0x24b215,_0xaca78),_0xb0a09e={'unitId':_0x5756ff,'op':_0xaca78},_0x2fd131={'unitId':_0x5756ff,'op':_0xbfffb};return _0x2be129[_0x14ede4(0x184)](J['id'],_0xb0a09e)?(_0x5ad52f[_0x14ede4(0x37e)](_0x5756ff),_0x115ad3[_0x14ede4(0x273)]({'unitID':_0x5756ff,'undoMutations':[{'id':J['id'],'params':_0x2fd131}],'redoMutations':[{'id':J['id'],'params':_0xb0a09e}]}),!0x0):!0x1;}},Bn={'id':'base.command.duplicate-base-record','type':e['CommandType'][_0x21bd22(0x25f)],'handler':(_0x47c879,_0x49ecd6)=>{const _0x141c33=_0x21bd22;if(!_0x49ecd6)return!0x1;let _0x50e247=_0x47c879['get'](e[_0x141c33(0x1df)]),{unitId:_0x353e53,tableId:_0x4ddf14,sourceRecordId:_0x4d85a7,record:_0x7d5b06}=_0x49ecd6,_0x51371f=_0x50e247[_0x141c33(0x1fb)](_0x353e53,e[_0x141c33(0x3d1)][_0x141c33(0x148)]);if(!_0x51371f||!Y(_0x51371f,_0x4ddf14,{'recordIds':[_0x4d85a7]})||_0x51371f['getSnapshot']()[_0x141c33(0xda)][_0x4ddf14][_0x141c33(0x10e)][_0x7d5b06['id']])return!0x1;let _0x79834d=_0x47c879[_0x141c33(0x294)](e[_0x141c33(0x168)]),_0x793c7d=_0x47c879[_0x141c33(0x294)](e[_0x141c33(0x30d)]),_0x20e0fa=_0x51371f['getSnapshot'](),_0x270873=new P()[_0x141c33(0x2a3)](_0x20e0fa,_0x4ddf14,_0x4d85a7,_0x7d5b06),_0x476d7f=new w()[_0x141c33(0x356)](_0x20e0fa,_0x270873),_0x1e4102={'unitId':_0x353e53,'op':_0x270873},_0x37765b={'unitId':_0x353e53,'op':_0x476d7f};return _0x79834d['syncExecuteCommand'](J['id'],_0x1e4102)?(_0x50e247[_0x141c33(0x37e)](_0x353e53),_0x793c7d[_0x141c33(0x273)]({'unitID':_0x353e53,'undoMutations':[{'id':J['id'],'params':_0x37765b}],'redoMutations':[{'id':J['id'],'params':_0x1e4102}]}),!0x0):!0x1;}},Vn={'id':_0x21bd22(0x255),'type':e[_0x21bd22(0x23b)][_0x21bd22(0x25f)],'handler'(_0xdc99fd,_0xf62dfd){const _0x5d9746=_0x21bd22;if(!_0xf62dfd)return!0x1;let _0x488c24=_0xdc99fd[_0x5d9746(0x294)](e[_0x5d9746(0x1df)]),{unitId:_0x542171,tableId:_0x17c5cb,viewId:_0x3ca6bd,ensureEndDateField:_0x5b70fa}=_0xf62dfd,_0x534734=_0x488c24[_0x5d9746(0x1fb)](_0x542171,e[_0x5d9746(0x3d1)][_0x5d9746(0x148)]);if(!_0x534734||!Y(_0x534734,_0x17c5cb,{'viewIds':[_0x3ca6bd]}))return!0x1;let _0x3d7024=_0x534734[_0x5d9746(0x39d)](),_0x225f69=_0x3d7024['tables'][_0x17c5cb],_0x3bfc5e=_0x225f69==null?void 0x0:_0x225f69[_0x5d9746(0xfa)][_0x3ca6bd];if(!_0x225f69||!_0x3bfc5e||_0x3bfc5e[_0x5d9746(0x3ab)]!==_0x5d9746(0x199)&&_0x3bfc5e[_0x5d9746(0x3ab)]!=='gantt')return!0x1;let _0x1c5371=Tn(_0x225f69,_0x3bfc5e,_0x5b70fa===!0x0);if(!_0x1c5371[_0x5d9746(0x17f)])return!0x1;let _0xb59358=_0xdc99fd[_0x5d9746(0x294)](e[_0x5d9746(0x168)]),_0x5b3035=_0xdc99fd[_0x5d9746(0x294)](e[_0x5d9746(0x30d)]),_0x48b33c=new P(),_0xc60a47=[..._0x1c5371[_0x5d9746(0x38f)][_0x5d9746(0x3c2)](_0x544085=>_0x48b33c['createField'](_0x3d7024,_0xf62dfd[_0x5d9746(0x212)],{'field':_0x544085})),Hn([...Un(_0xf62dfd[_0x5d9746(0x212)],_0xf62dfd[_0x5d9746(0x371)]),'config'],_0x3bfc5e[_0x5d9746(0x396)],_0x1c5371['config'])];_0x1c5371[_0x5d9746(0xde)]&&_0xc60a47[_0x5d9746(0x147)](Hn([...Un(_0xf62dfd[_0x5d9746(0x212)],_0xf62dfd['viewId']),_0x5d9746(0xde)],_0x3bfc5e[_0x5d9746(0xde)],_0x1c5371['fieldOrder']));let _0xae4f03=N(_0xc60a47),_0x375738=new w()[_0x5d9746(0x356)](_0x3d7024,_0xae4f03),_0x1b6d22={'unitId':_0x542171,'op':_0xae4f03},_0x45031b={'unitId':_0x542171,'op':_0x375738};return _0xb59358[_0x5d9746(0x184)](J['id'],_0x1b6d22)?(_0x488c24[_0x5d9746(0x37e)](_0x542171),_0x5b3035[_0x5d9746(0x273)]({'unitID':_0x542171,'undoMutations':[{'id':J['id'],'params':_0x45031b}],'redoMutations':[{'id':J['id'],'params':_0x1b6d22}]}),!0x0):!0x1;}};function Hn(_0x4d69fc,_0x28cd4c,_0x81b7b0){const _0x4bef62=_0x21bd22;return _0x28cd4c===void 0x0?e[_0x4bef62(0x1c8)][_0x4bef62(0x370)](_0x4d69fc,_0x81b7b0):e[_0x4bef62(0x1c8)][_0x4bef62(0x22f)](_0x4d69fc,_0x28cd4c,_0x81b7b0);}function Un(_0x2b1578,_0x5d3c42){const _0x17adb6=_0x21bd22;return[_0x17adb6(0xda),_0x2b1578,_0x17adb6(0xfa),_0x5d3c42];}const Wn={'id':_0x21bd22(0x1b5),'type':e[_0x21bd22(0x23b)]['COMMAND'],'handler':(_0x1b0c37,_0x1e5416)=>{const _0x1fdf5d=_0x21bd22;var _0x3fa76a;if(!_0x1e5416)return!0x1;let _0x4d6dc9=_0x1b0c37[_0x1fdf5d(0x294)](e[_0x1fdf5d(0x1df)]),{unitId:_0x1fec8f,tableId:_0x4c4d16,fieldId:_0x3cbc94,target:_0x228408}=_0x1e5416,_0x207af7=_0x4d6dc9[_0x1fdf5d(0x1fb)](_0x1fec8f,e[_0x1fdf5d(0x3d1)][_0x1fdf5d(0x148)]),_0x33c5b9=(_0x3fa76a=_0x228408[_0x1fdf5d(0x235)])==null?_0x228408[_0x1fdf5d(0xe2)]:_0x3fa76a;if(!_0x207af7||!!_0x228408[_0x1fdf5d(0x235)]==!!_0x228408['afterFieldId']||!_0x33c5b9||_0x33c5b9===_0x3cbc94||!Y(_0x207af7,_0x4c4d16,{'fieldIds':[_0x3cbc94,_0x33c5b9]}))return!0x1;let _0x2a505b=_0x1b0c37[_0x1fdf5d(0x294)](e[_0x1fdf5d(0x168)]),_0x2d5a0b=_0x1b0c37[_0x1fdf5d(0x294)](e[_0x1fdf5d(0x30d)]),_0x36f6f5=_0x207af7[_0x1fdf5d(0x39d)](),_0x5701d1=new P()[_0x1fdf5d(0x39f)](_0x36f6f5,_0x4c4d16,_0x3cbc94,_0x228408),_0x5c4bc6=new w()[_0x1fdf5d(0x356)](_0x36f6f5,_0x5701d1),_0x596ed5={'unitId':_0x1fec8f,'op':_0x5701d1},_0x3c06c9={'unitId':_0x1fec8f,'op':_0x5c4bc6};return _0x2a505b['syncExecuteCommand'](J['id'],_0x596ed5)?(_0x4d6dc9[_0x1fdf5d(0x37e)](_0x1fec8f),_0x2d5a0b['pushUndoRedo']({'unitID':_0x1fec8f,'undoMutations':[{'id':J['id'],'params':_0x3c06c9}],'redoMutations':[{'id':J['id'],'params':_0x596ed5}]}),!0x0):!0x1;}},Gn={'id':_0x21bd22(0x1a6),'type':e[_0x21bd22(0x23b)]['COMMAND'],'handler':(_0x5991f1,_0x2d581c)=>{const _0x263036=_0x21bd22;var _0x3c2e2b;if(!_0x2d581c)return!0x1;let _0x4d5bd8=_0x5991f1['get'](e['IUniverInstanceService']),{unitId:_0x1c1696,tableId:_0x4ddf22,viewId:_0x5c2c3c,target:_0x255edd}=_0x2d581c,_0x1394e6=_0x4d5bd8['getUnit'](_0x1c1696,e[_0x263036(0x3d1)][_0x263036(0x148)]),_0xf41710=(_0x3c2e2b=_0x255edd[_0x263036(0x238)])==null?_0x255edd[_0x263036(0x20d)]:_0x3c2e2b;if(!_0x1394e6||!_0xf41710||_0xf41710===_0x5c2c3c||!Y(_0x1394e6,_0x4ddf22,{'viewIds':[_0x5c2c3c,_0xf41710]}))return!0x1;let _0x38fd3a=_0x5991f1[_0x263036(0x294)](e[_0x263036(0x168)]),_0x5bc0d8=_0x5991f1['get'](e[_0x263036(0x30d)]),_0x1f4df7=_0x1394e6[_0x263036(0x39d)](),_0x2abd19=new P()[_0x263036(0x336)](_0x1f4df7,_0x4ddf22,_0x5c2c3c,_0x255edd),_0x3a26eb=new w()[_0x263036(0x356)](_0x1f4df7,_0x2abd19),_0x32546d={'unitId':_0x1c1696,'op':_0x2abd19},_0x290b92={'unitId':_0x1c1696,'op':_0x3a26eb};return _0x38fd3a[_0x263036(0x184)](J['id'],_0x32546d)?(_0x4d5bd8[_0x263036(0x37e)](_0x1c1696),_0x5bc0d8[_0x263036(0x273)]({'unitID':_0x1c1696,'undoMutations':[{'id':J['id'],'params':_0x290b92}],'redoMutations':[{'id':J['id'],'params':_0x32546d}]}),!0x0):!0x1;}},Kn={'id':_0x21bd22(0x32c),'type':e[_0x21bd22(0x23b)]['COMMAND'],'handler':(_0x484b66,_0x4c7335)=>{const _0x3c63e8=_0x21bd22;if(!_0x4c7335)return!0x1;let _0x68470c=_0x484b66[_0x3c63e8(0x294)](e[_0x3c63e8(0x1df)]),{unitId:_0x2a2a7e,tableId:_0x36e488,name:_0x41af5c}=_0x4c7335,_0x4bf7ed=_0x68470c['getUnit'](_0x2a2a7e,e[_0x3c63e8(0x3d1)][_0x3c63e8(0x148)]);if(!_0x4bf7ed||!Y(_0x4bf7ed,_0x36e488))return!0x1;let _0x33b031=_0x484b66[_0x3c63e8(0x294)](e[_0x3c63e8(0x168)]),_0x4db1eb=_0x484b66['get'](e[_0x3c63e8(0x30d)]),_0x3abbe2=_0x4bf7ed[_0x3c63e8(0x39d)](),_0x55655f=new P()['renameTable'](_0x3abbe2,_0x36e488,_0x41af5c),_0x2f6b41=new w()[_0x3c63e8(0x356)](_0x3abbe2,_0x55655f),_0x49e41b={'unitId':_0x2a2a7e,'op':_0x55655f},_0xadca15={'unitId':_0x2a2a7e,'op':_0x2f6b41};return _0x33b031[_0x3c63e8(0x184)](J['id'],_0x49e41b)?(_0x68470c[_0x3c63e8(0x37e)](_0x2a2a7e),_0x4db1eb[_0x3c63e8(0x273)]({'unitID':_0x2a2a7e,'undoMutations':[{'id':J['id'],'params':_0xadca15}],'redoMutations':[{'id':J['id'],'params':_0x49e41b}]}),!0x0):!0x1;}},qn={'id':_0x21bd22(0x2b2),'type':e['CommandType']['COMMAND'],'handler':(_0x43f999,_0x3d83ab)=>{const _0x22d77b=_0x21bd22;if(!_0x3d83ab)return!0x1;let _0x34c354=_0x43f999[_0x22d77b(0x294)](e['IUniverInstanceService']),{unitId:_0x1c1ea7,tableId:_0x2c9040,viewId:_0x5d5da8,name:_0x360121}=_0x3d83ab,_0x31c002=_0x34c354[_0x22d77b(0x1fb)](_0x1c1ea7,e[_0x22d77b(0x3d1)]['UNIVER_BASE']);if(!_0x31c002||!Y(_0x31c002,_0x2c9040,{'viewIds':[_0x5d5da8]}))return!0x1;let _0x156c8f=_0x43f999[_0x22d77b(0x294)](e[_0x22d77b(0x168)]),_0x3dd320=_0x43f999[_0x22d77b(0x294)](e[_0x22d77b(0x30d)]),_0xc00810=_0x31c002[_0x22d77b(0x39d)](),_0x151c3f=new P()[_0x22d77b(0x250)](_0xc00810,_0x2c9040,_0x5d5da8,_0x360121),_0x578a27=new w()['invertOp'](_0xc00810,_0x151c3f),_0x3dc314={'unitId':_0x1c1ea7,'op':_0x151c3f},_0x2ef69a={'unitId':_0x1c1ea7,'op':_0x578a27};return _0x156c8f[_0x22d77b(0x184)](J['id'],_0x3dc314)?(_0x34c354[_0x22d77b(0x37e)](_0x1c1ea7),_0x3dd320[_0x22d77b(0x273)]({'unitID':_0x1c1ea7,'undoMutations':[{'id':J['id'],'params':_0x2ef69a}],'redoMutations':[{'id':J['id'],'params':_0x3dc314}]}),!0x0):!0x1;}},Jn={'id':'base.command.set-base-kanban-group-field','type':e[_0x21bd22(0x23b)]['COMMAND'],'handler':(_0x51e309,_0x2c6a35)=>{const _0x26093e=_0x21bd22;if(!_0x2c6a35)return!0x1;let _0x27c659=_0x51e309[_0x26093e(0x294)](e['IUniverInstanceService']),{unitId:_0x1461cd,tableId:_0x3276b0,viewId:_0x4a022f,fieldId:_0x3c3647}=_0x2c6a35,_0x1a8d77=_0x27c659['getUnit'](_0x1461cd,e[_0x26093e(0x3d1)]['UNIVER_BASE']);if(!_0x1a8d77||!Y(_0x1a8d77,_0x3276b0,{'viewIds':[_0x4a022f],'fieldIds':[_0x3c3647]}))return!0x1;let _0x4064de=_0x51e309[_0x26093e(0x294)](e[_0x26093e(0x168)]),_0x3563b7=_0x51e309[_0x26093e(0x294)](e[_0x26093e(0x30d)]),_0x136ea5=_0x1a8d77[_0x26093e(0x39d)](),_0x4889f3=new P()['updateViewConfig'](_0x136ea5,_0x3276b0,_0x4a022f,{'groupFieldId':_0x3c3647}),_0x148b1b=new w()['invertOp'](_0x136ea5,_0x4889f3),_0x268e20={'unitId':_0x1461cd,'op':_0x4889f3},_0x4b84de={'unitId':_0x1461cd,'op':_0x148b1b};return _0x4064de[_0x26093e(0x184)](J['id'],_0x268e20)?(_0x27c659[_0x26093e(0x37e)](_0x1461cd),_0x3563b7[_0x26093e(0x273)]({'unitID':_0x1461cd,'undoMutations':[{'id':J['id'],'params':_0x4b84de}],'redoMutations':[{'id':J['id'],'params':_0x268e20}]}),!0x0):!0x1;}},Yn={'id':_0x21bd22(0xf2),'type':e[_0x21bd22(0x23b)][_0x21bd22(0x25f)],'handler':(_0x1c0772,_0x3d6025)=>{const _0x499c45=_0x21bd22;if(!_0x3d6025)return!0x1;let _0x5aeca8=_0x1c0772[_0x499c45(0x294)](e[_0x499c45(0x1df)]),_0x5f0735=_0x5aeca8[_0x499c45(0x1fb)](_0x3d6025[_0x499c45(0xbb)],e['UniverInstanceType']['UNIVER_BASE']);if(!_0x5f0735)return!0x1;let _0x43b3e8=_0x5f0735['getSnapshot']()[_0x499c45(0x1d6)];if(_0x43b3e8===_0x3d6025[_0x499c45(0x1d6)])return!0x0;let _0x496651=new P(),_0x1a5968=new w(),_0x443ae4=[],_0xf4bce4=[],_0x531435=[_0x5f0735,..._0x5aeca8[_0x499c45(0xc7)](e[_0x499c45(0x3d1)][_0x499c45(0x148)])['filter'](_0x9e2d2c=>_0x9e2d2c[_0x499c45(0xcc)]()!==_0x3d6025[_0x499c45(0xbb)])];for(let _0x56e607 of _0x531435){let _0x3ac112=_0x56e607[_0x499c45(0x39d)](),_0x4b5f36=_0x56e607===_0x5f0735?_0x496651['setBaseName'](_0x3ac112,_0x3d6025['name']):_0x496651[_0x499c45(0x201)](_0x3ac112,_0x43b3e8,_0x3d6025[_0x499c45(0x1d6)]);_0x4b5f36&&(_0x443ae4[_0x499c45(0x147)]({'id':J['id'],'params':{'unitId':_0x56e607[_0x499c45(0xcc)](),'op':_0x4b5f36,'trigger':Yn['id']}}),_0xf4bce4[_0x499c45(0x2ef)]({'id':J['id'],'params':{'unitId':_0x56e607[_0x499c45(0xcc)](),'op':_0x1a5968[_0x499c45(0x356)](_0x3ac112,_0x4b5f36),'trigger':Yn['id']}}));}let _0x4227e3=_0x1c0772[_0x499c45(0x294)](e[_0x499c45(0x168)]),_0x3ed75b=_0x1c0772[_0x499c45(0x294)](e['IUndoRedoService']),_0x2a24b6=_0x3ed75b[_0x499c45(0x143)](_0x3d6025[_0x499c45(0xbb)]);try{return(0x0,e[_0x499c45(0x9c)])(_0x443ae4,_0x4227e3)[_0x499c45(0x110)]?(_0x5aeca8[_0x499c45(0x37e)](_0x3d6025['unitId']),_0x3ed75b[_0x499c45(0x273)]({'unitID':_0x3d6025[_0x499c45(0xbb)],'undoMutations':_0xf4bce4,'redoMutations':_0x443ae4}),!0x0):!0x1;}finally{_0x2a24b6[_0x499c45(0x14f)]();}}},Xn={'id':_0x21bd22(0x129),'type':e[_0x21bd22(0x23b)]['COMMAND'],'handler'(_0x31b980,_0x421f5f){const _0x3af3d3=_0x21bd22;if(!_0x421f5f)return!0x1;let _0x334765=_0x31b980[_0x3af3d3(0x294)](e[_0x3af3d3(0x1df)]),{unitId:_0x1b3a51,tableId:_0x278b6d,patches:_0x3c61e7}=_0x421f5f,_0x186d68=_0x334765[_0x3af3d3(0x1fb)](_0x1b3a51,e[_0x3af3d3(0x3d1)][_0x3af3d3(0x148)]);if(!_0x186d68||!Y(_0x186d68,_0x278b6d))return!0x1;let _0x613fd6=_0x31b980[_0x3af3d3(0x294)](e[_0x3af3d3(0x168)]),_0x1b69b4=_0x31b980['get'](e[_0x3af3d3(0x30d)]),_0x46e5ad=_0x186d68[_0x3af3d3(0x39d)](),_0x475986=d(_0x46e5ad[_0x3af3d3(0xda)][_0x278b6d]),_0x1a2237=_0x3c61e7[_0x3af3d3(0x3c2)](_0xcf757=>{const _0xc89144=_0x3af3d3;var _0x4dac3c;return _0xc89144(0x232)in _0xcf757?_0xcf757['recordId']:(_0x4dac3c=_0x475986[_0xc89144(0x108)])==null?void 0x0:_0x4dac3c[_0xcf757[_0xc89144(0x282)]];})[_0x3af3d3(0x2e1)](_0x581042=>_0x581042!=null),_0x4b5878=_0x3c61e7[_0x3af3d3(0x3c2)](_0x37a640=>{const _0x255d65=_0x3af3d3;var _0x48b5ae;return _0x255d65(0x286)in _0x37a640?_0x37a640[_0x255d65(0x286)]:(_0x48b5ae=_0x475986['colId'])==null?void 0x0:_0x48b5ae[_0x37a640[_0x255d65(0x1cd)]];})[_0x3af3d3(0x2e1)](_0x5a114c=>_0x5a114c!=null);if(_0x1a2237[_0x3af3d3(0x1e3)]!==_0x3c61e7['length']||_0x4b5878[_0x3af3d3(0x1e3)]!==_0x3c61e7[_0x3af3d3(0x1e3)]||!Y(_0x186d68,_0x278b6d,{'recordIds':_0x1a2237,'fieldIds':_0x4b5878}))return!0x1;let _0x5244f5=_0x3c61e7[_0x3af3d3(0x103)](_0x402cd4=>{const _0x1311b0=_0x3af3d3;var _0x5a1ed1,_0x33bbff;if(_0x1311b0(0x282)in _0x402cd4)return[_0x402cd4];let _0x4fb0ec=(_0x5a1ed1=_0x475986['rowIndex'])==null?void 0x0:_0x5a1ed1[_0x402cd4[_0x1311b0(0x232)]],_0x215ea6=(_0x33bbff=_0x475986[_0x1311b0(0x3a7)])==null?void 0x0:_0x33bbff[_0x402cd4[_0x1311b0(0x286)]];return _0x4fb0ec==null||_0x215ea6==null?[]:[{'row':_0x4fb0ec,'col':_0x215ea6,'value':_0x402cd4[_0x1311b0(0x11c)]}];}),_0x304b64=new P()[_0x3af3d3(0xf8)](_0x46e5ad,_0x278b6d,_0x5244f5),_0x2ae43f=new w()['invertOp'](_0x46e5ad,_0x304b64),_0x2ce011={'unitId':_0x1b3a51,'op':_0x304b64},_0x3aeaaa={'unitId':_0x1b3a51,'op':_0x2ae43f};return _0x613fd6['syncExecuteCommand'](J['id'],_0x2ce011)?(_0x334765[_0x3af3d3(0x37e)](_0x1b3a51),_0x1b69b4[_0x3af3d3(0x273)]({'unitID':_0x1b3a51,'undoMutations':[{'id':J['id'],'params':_0x3aeaaa}],'redoMutations':[{'id':J['id'],'params':_0x2ce011}]}),!0x0):!0x1;}},Zn={'id':_0x21bd22(0x2a5),'type':e['CommandType'][_0x21bd22(0x25f)],'handler'(_0x5ed1cd,_0x233867){const _0x33bf6f=_0x21bd22;if(!_0x233867)return!0x1;let _0x3f6d1a=_0x5ed1cd[_0x33bf6f(0x294)](e[_0x33bf6f(0x1df)]),{unitId:_0xb2fff6,tableId:_0x2fb7c8,patches:_0x234e51}=_0x233867,_0x210e12=_0x3f6d1a[_0x33bf6f(0x1fb)](_0xb2fff6,e[_0x33bf6f(0x3d1)]['UNIVER_BASE']),_0x5729a9=_0x234e51[_0x33bf6f(0x3c2)](_0x2aab79=>_0x2aab79[_0x33bf6f(0x232)]),_0x262744=_0x234e51['flatMap'](_0x4f76d1=>Object[_0x33bf6f(0xdc)](_0x4f76d1['values']));if(!_0x210e12||!Y(_0x210e12,_0x2fb7c8,{'recordIds':_0x5729a9,'fieldIds':_0x262744}))return!0x1;let _0x2e6f87=_0x5ed1cd[_0x33bf6f(0x294)](e[_0x33bf6f(0x168)]),_0x4ccec5=_0x5ed1cd[_0x33bf6f(0x294)](e['IUndoRedoService']),_0x5d49df=_0x5ed1cd[_0x33bf6f(0x294)](V)[_0x33bf6f(0x369)](_0x210e12,_0x2fb7c8,_0x234e51),_0x34ef51=new w()[_0x33bf6f(0x356)](_0x210e12[_0x33bf6f(0x39d)](),_0x5d49df),_0x332800={'unitId':_0xb2fff6,'op':_0x5d49df},_0x5b6bb5={'unitId':_0xb2fff6,'op':_0x34ef51};return _0x2e6f87[_0x33bf6f(0x184)](J['id'],_0x332800)?(_0x3f6d1a[_0x33bf6f(0x37e)](_0xb2fff6),_0x4ccec5[_0x33bf6f(0x273)]({'unitID':_0xb2fff6,'undoMutations':[{'id':J['id'],'params':_0x5b6bb5}],'redoMutations':[{'id':J['id'],'params':_0x332800}]}),!0x0):!0x1;}},Qn={'id':_0x21bd22(0x3b6),'type':e[_0x21bd22(0x23b)][_0x21bd22(0x25f)],'handler':(_0x2b628f,_0x5cbe6a)=>{const _0x17bd10=_0x21bd22;var _0x1c0ec0;if(!_0x5cbe6a)return!0x1;let _0x281b67=_0x2b628f[_0x17bd10(0x294)](e['IUniverInstanceService']),{unitId:_0x29a30e,tableId:_0x4755f3,viewId:_0x2da00b,fieldId:_0x3fbca7,target:_0x6a652d}=_0x5cbe6a,_0x5ef8a6=_0x281b67[_0x17bd10(0x1fb)](_0x29a30e,e['UniverInstanceType'][_0x17bd10(0x148)]),_0x3d2900=(_0x1c0ec0=_0x6a652d['beforeFieldId'])==null?_0x6a652d['afterFieldId']:_0x1c0ec0;if(!_0x5ef8a6||!_0x3d2900||_0x3d2900===_0x3fbca7||!Y(_0x5ef8a6,_0x4755f3,{'viewIds':[_0x2da00b],'fieldIds':[_0x3fbca7,_0x3d2900]}))return!0x1;let _0x142bbb=_0x2b628f[_0x17bd10(0x294)](e[_0x17bd10(0x168)]),_0x5e5bf2=_0x2b628f[_0x17bd10(0x294)](e['IUndoRedoService']),_0xd70c32=_0x5ef8a6[_0x17bd10(0x39d)](),_0x304e9b=new P()['setViewFieldOrder'](_0xd70c32,_0x4755f3,_0x2da00b,_0x3fbca7,_0x6a652d),_0x1c69b4=new w()[_0x17bd10(0x356)](_0xd70c32,_0x304e9b),_0x23cd7b={'unitId':_0x29a30e,'op':_0x304e9b},_0x2aaa49={'unitId':_0x29a30e,'op':_0x1c69b4};return _0x142bbb[_0x17bd10(0x184)](J['id'],_0x23cd7b)?(_0x281b67['focusUnit'](_0x29a30e),_0x5e5bf2[_0x17bd10(0x273)]({'unitID':_0x29a30e,'undoMutations':[{'id':J['id'],'params':_0x2aaa49}],'redoMutations':[{'id':J['id'],'params':_0x23cd7b}]}),!0x0):!0x1;}},$n={'id':_0x21bd22(0xe1),'type':e[_0x21bd22(0x23b)][_0x21bd22(0x25f)],'handler'(_0x3299,_0x41f131){const _0x492695=_0x21bd22;if(!_0x41f131)return!0x1;let _0x193454=_0x3299[_0x492695(0x294)](e[_0x492695(0x1df)]),{unitId:_0xc3c069,tableId:_0x302f2d,viewId:_0x4fd573,fieldId:_0x2198fc,visible:_0x5bc8ea}=_0x41f131,_0x100c9e=_0x193454[_0x492695(0x1fb)](_0xc3c069,e[_0x492695(0x3d1)][_0x492695(0x148)]);if(!_0x100c9e||!Y(_0x100c9e,_0x302f2d,{'viewIds':[_0x4fd573],'fieldIds':[_0x2198fc]}))return!0x1;let _0x4fffa4=_0x3299[_0x492695(0x294)](e[_0x492695(0x168)]),_0x2056c4=_0x3299['get'](e[_0x492695(0x30d)]),_0x3e8263=_0x100c9e[_0x492695(0x39d)](),_0x2dd8e0=new P()[_0x492695(0x24c)](_0x3e8263,_0x302f2d,_0x4fd573,_0x2198fc,_0x5bc8ea),_0x3b9f6b=new w()[_0x492695(0x356)](_0x3e8263,_0x2dd8e0),_0x16360a={'unitId':_0xc3c069,'op':_0x2dd8e0},_0x538c87={'unitId':_0xc3c069,'op':_0x3b9f6b};return _0x4fffa4[_0x492695(0x184)](J['id'],_0x16360a)?(_0x193454['focusUnit'](_0xc3c069),_0x2056c4[_0x492695(0x273)]({'unitID':_0xc3c069,'undoMutations':[{'id':J['id'],'params':_0x538c87}],'redoMutations':[{'id':J['id'],'params':_0x16360a}]}),!0x0):!0x1;}},er={'id':_0x21bd22(0xf4),'type':e['CommandType'][_0x21bd22(0x25f)],'handler':(_0xbc26c,_0xf28f2f)=>{const _0x547641=_0x21bd22;if(!_0xf28f2f)return!0x1;let _0x471ed2=_0xbc26c[_0x547641(0x294)](e[_0x547641(0x1df)]),{unitId:_0x3b5007,tableId:_0x5e6f57,viewId:_0x2f9be3,fieldId:_0x183296,width:_0x1fe9b2}=_0xf28f2f,_0xfaf5bf=_0x471ed2['getUnit'](_0x3b5007,e[_0x547641(0x3d1)][_0x547641(0x148)]);if(!_0xfaf5bf||!Y(_0xfaf5bf,_0x5e6f57,{'viewIds':[_0x2f9be3],'fieldIds':[_0x183296]}))return!0x1;let _0x1f0c42=_0xbc26c[_0x547641(0x294)](e['ICommandService']),_0x4d8236=_0xbc26c['get'](e[_0x547641(0x30d)]),_0x38a31f=_0xfaf5bf['getSnapshot'](),_0x576b7c=new P()[_0x547641(0x16c)](_0x38a31f,_0x5e6f57,_0x2f9be3,_0x183296,_0x1fe9b2),_0x954dcc=new w()[_0x547641(0x356)](_0x38a31f,_0x576b7c),_0x57d2f6={'unitId':_0x3b5007,'op':_0x576b7c},_0x598a29={'unitId':_0x3b5007,'op':_0x954dcc};return _0x1f0c42['syncExecuteCommand'](J['id'],_0x57d2f6)?(_0x471ed2[_0x547641(0x37e)](_0x3b5007),_0x4d8236['pushUndoRedo']({'unitID':_0x3b5007,'undoMutations':[{'id':J['id'],'params':_0x598a29}],'redoMutations':[{'id':J['id'],'params':_0x57d2f6}]}),!0x0):!0x1;}},tr={'id':'base.command.set-base-view-filter','type':e[_0x21bd22(0x23b)][_0x21bd22(0x25f)],'handler':(_0x8b59d,_0x2aff61)=>{const _0x2f07a2=_0x21bd22;var _0x454359;if(!_0x2aff61)return!0x1;let _0x4ff204=_0x8b59d[_0x2f07a2(0x294)](e[_0x2f07a2(0x1df)]),{unitId:_0x5cf9b8,tableId:_0x5d2d86,viewId:_0x5b2ad0,filter:_0x43386d}=_0x2aff61,_0x58fb97=_0x4ff204[_0x2f07a2(0x1fb)](_0x5cf9b8,e[_0x2f07a2(0x3d1)][_0x2f07a2(0x148)]),_0x4b5342=(_0x454359=_0x43386d==null?void 0x0:_0x43386d[_0x2f07a2(0x3bb)][_0x2f07a2(0x3c2)](_0xa9ba60=>_0xa9ba60[_0x2f07a2(0x286)]))==null?[]:_0x454359;if(!_0x58fb97||!Y(_0x58fb97,_0x5d2d86,{'viewIds':[_0x5b2ad0],'fieldIds':_0x4b5342}))return!0x1;let _0x32c4d4=_0x8b59d['get'](e[_0x2f07a2(0x168)]),_0xd27bf=_0x8b59d['get'](e['IUndoRedoService']),_0x463f71=_0x58fb97[_0x2f07a2(0x39d)](),_0x5ca2db=new P()[_0x2f07a2(0x1ee)](_0x463f71,_0x5d2d86,_0x5b2ad0,_0x43386d),_0x384639=new w()['invertOp'](_0x463f71,_0x5ca2db),_0x395860={'unitId':_0x5cf9b8,'op':_0x5ca2db},_0x49ccc8={'unitId':_0x5cf9b8,'op':_0x384639};return _0x32c4d4['syncExecuteCommand'](J['id'],_0x395860)?(_0x4ff204[_0x2f07a2(0x37e)](_0x5cf9b8),_0xd27bf[_0x2f07a2(0x273)]({'unitID':_0x5cf9b8,'undoMutations':[{'id':J['id'],'params':_0x49ccc8}],'redoMutations':[{'id':J['id'],'params':_0x395860}]}),!0x0):!0x1;}},nr={'id':_0x21bd22(0x3c7),'type':e[_0x21bd22(0x23b)][_0x21bd22(0x25f)],'handler':(_0x59bcfd,_0x40c46c)=>{const _0x4a3b46=_0x21bd22;if(!_0x40c46c)return!0x1;let _0x1b009d=_0x59bcfd[_0x4a3b46(0x294)](e[_0x4a3b46(0x1df)]),{unitId:_0x2a6819,tableId:_0x4b4ced,viewId:_0x4cf257,group:_0x5eca28}=_0x40c46c,_0x14c8d3=_0x1b009d[_0x4a3b46(0x1fb)](_0x2a6819,e['UniverInstanceType'][_0x4a3b46(0x148)]);if(!_0x14c8d3||!Y(_0x14c8d3,_0x4b4ced,{'viewIds':[_0x4cf257],'fieldIds':_0x5eca28[_0x4a3b46(0x3c2)](_0x571e64=>_0x571e64[_0x4a3b46(0x286)])}))return!0x1;let _0x4cc6b6=_0x59bcfd[_0x4a3b46(0x294)](e[_0x4a3b46(0x168)]),_0x14d762=_0x59bcfd[_0x4a3b46(0x294)](e[_0x4a3b46(0x30d)]),_0x4cc53d=_0x14c8d3['getSnapshot'](),_0x52e444=new P()['setViewGroup'](_0x4cc53d,_0x4b4ced,_0x4cf257,_0x5eca28),_0x225738=new w()[_0x4a3b46(0x356)](_0x4cc53d,_0x52e444),_0xc3fb3={'unitId':_0x2a6819,'op':_0x52e444},_0x47f5cc={'unitId':_0x2a6819,'op':_0x225738};return _0x4cc6b6[_0x4a3b46(0x184)](J['id'],_0xc3fb3)?(_0x1b009d[_0x4a3b46(0x37e)](_0x2a6819),_0x14d762[_0x4a3b46(0x273)]({'unitID':_0x2a6819,'undoMutations':[{'id':J['id'],'params':_0x47f5cc}],'redoMutations':[{'id':J['id'],'params':_0xc3fb3}]}),!0x0):!0x1;}},rr={'id':_0x21bd22(0x134),'type':e[_0x21bd22(0x23b)][_0x21bd22(0x25f)],'handler':(_0xb9e10,_0xd1c62e)=>{const _0x591b0a=_0x21bd22;if(!_0xd1c62e)return!0x1;let _0x495d8e=_0xb9e10[_0x591b0a(0x294)](e[_0x591b0a(0x1df)]),{unitId:_0x9657df,tableId:_0x3edd54,viewId:_0x484597,sort:_0xbba746}=_0xd1c62e,_0x3b7790=_0x495d8e['getUnit'](_0x9657df,e[_0x591b0a(0x3d1)][_0x591b0a(0x148)]);if(!_0x3b7790||!Y(_0x3b7790,_0x3edd54,{'viewIds':[_0x484597],'fieldIds':_0xbba746[_0x591b0a(0x3c2)](_0x433815=>_0x433815[_0x591b0a(0x286)])}))return!0x1;let _0x1b95ed=_0xb9e10[_0x591b0a(0x294)](e[_0x591b0a(0x168)]),_0x2e5f6f=_0xb9e10[_0x591b0a(0x294)](e['IUndoRedoService']),_0x57a5b6=_0x3b7790[_0x591b0a(0x39d)](),_0x4e2675=new P()[_0x591b0a(0x10f)](_0x57a5b6,_0x3edd54,_0x484597,_0xbba746),_0x3c8a91=new w()[_0x591b0a(0x356)](_0x57a5b6,_0x4e2675),_0x377f87={'unitId':_0x9657df,'op':_0x4e2675},_0x16f105={'unitId':_0x9657df,'op':_0x3c8a91};return _0x1b95ed[_0x591b0a(0x184)](J['id'],_0x377f87)?(_0x495d8e[_0x591b0a(0x37e)](_0x9657df),_0x2e5f6f[_0x591b0a(0x273)]({'unitID':_0x9657df,'undoMutations':[{'id':J['id'],'params':_0x16f105}],'redoMutations':[{'id':J['id'],'params':_0x377f87}]}),!0x0):!0x1;}},ir={'id':_0x21bd22(0x18a),'type':e[_0x21bd22(0x23b)][_0x21bd22(0x25f)],'handler'(_0x52f58a,_0x57c782){const _0x527480=_0x21bd22;if(!_0x57c782)return!0x1;let _0x401455=_0x52f58a[_0x527480(0x294)](e[_0x527480(0x1df)]),{unitId:_0x2345d0,tableId:_0x3552d2,recordId:_0x31de3a,fieldId:_0x1cd4ec,value:_0x48cc2c}=_0x57c782,_0x1a3703=_0x401455['getUnit'](_0x2345d0,e[_0x527480(0x3d1)]['UNIVER_BASE']);if(!_0x1a3703||!Y(_0x1a3703,_0x3552d2,{'recordIds':[_0x31de3a],'fieldIds':[_0x1cd4ec]}))return!0x1;let _0x262b15=_0x52f58a[_0x527480(0x294)](e[_0x527480(0x168)]),_0x2dfd8d=_0x52f58a[_0x527480(0x294)](e[_0x527480(0x30d)]),_0x388e2f=_0x52f58a[_0x527480(0x294)](V),_0x8881fa;try{_0x8881fa=_0x388e2f[_0x527480(0x313)](_0x1a3703,_0x3552d2,_0x31de3a,_0x1cd4ec,_0x48cc2c);}catch(_0x3ed2b4){return console[_0x527480(0x3ac)](_0x527480(0x153),_0x3ed2b4),!0x1;}let _0x58ae64=new w()[_0x527480(0x356)](_0x1a3703['getSnapshot'](),_0x8881fa),_0x44e002={'unitId':_0x2345d0,'op':_0x8881fa},_0x222238={'unitId':_0x2345d0,'op':_0x58ae64};return _0x262b15[_0x527480(0x184)](J['id'],_0x44e002)?(_0x401455['focusUnit'](_0x2345d0),_0x2dfd8d['pushUndoRedo']({'unitID':_0x2345d0,'undoMutations':[{'id':J['id'],'params':_0x222238}],'redoMutations':[{'id':J['id'],'params':_0x44e002}]}),!0x0):!0x1;}},ar={'id':_0x21bd22(0x2d2),'type':e[_0x21bd22(0x23b)][_0x21bd22(0x25f)],'handler'(_0x38bd87,_0x4dc5fd){const _0x3e95d6=_0x21bd22;if(!_0x4dc5fd)return!0x1;let _0x262410=_0x38bd87[_0x3e95d6(0x294)](e[_0x3e95d6(0x1df)]),{unitId:_0x4fa1e9,tableId:_0x2f0e16,fieldId:_0x27f7f9}=_0x4dc5fd,_0x3d5bce=_0x262410[_0x3e95d6(0x1fb)](_0x4fa1e9,e[_0x3e95d6(0x3d1)][_0x3e95d6(0x148)]);if(!_0x3d5bce||!Y(_0x3d5bce,_0x2f0e16,{'fieldIds':[_0x27f7f9]}))return!0x1;let _0x3fd4bd=_0x38bd87[_0x3e95d6(0x294)](e[_0x3e95d6(0x168)]),_0x4d63d8=_0x38bd87[_0x3e95d6(0x294)](e[_0x3e95d6(0x30d)]),_0x12bdea=_0x3d5bce['getSnapshot'](),_0x499bf8=_0x4dc5fd[_0x3e95d6(0x13e)][_0x3e95d6(0x383)](),_0x32f236=new P()[_0x3e95d6(0x319)](_0x12bdea,_0x2f0e16,_0x27f7f9,{'description':_0x499bf8}),_0x5b3839=new w()[_0x3e95d6(0x356)](_0x3d5bce[_0x3e95d6(0x39d)](),_0x32f236),_0x4da2b9={'unitId':_0x4fa1e9,'op':_0x32f236},_0x28e5ca={'unitId':_0x4fa1e9,'op':_0x5b3839};return _0x3fd4bd[_0x3e95d6(0x184)](J['id'],_0x4da2b9)?(_0x262410[_0x3e95d6(0x37e)](_0x4fa1e9),_0x4d63d8[_0x3e95d6(0x273)]({'unitID':_0x4fa1e9,'undoMutations':[{'id':J['id'],'params':_0x28e5ca}],'redoMutations':[{'id':J['id'],'params':_0x4da2b9}]}),!0x0):!0x1;}},or={'id':'base.command.update-base-field','type':e[_0x21bd22(0x23b)]['COMMAND'],'handler':(_0x48cfe2,_0x4cb1b5)=>{const _0x3df192=_0x21bd22;if(!_0x4cb1b5)return!0x1;let _0x3f4c73=_0x48cfe2[_0x3df192(0x294)](e['IUniverInstanceService']),{unitId:_0x521c8f,tableId:_0x5d8fb6,fieldId:_0x12b9ef,patch:_0x3e09bb}=_0x4cb1b5,_0x1a815f=_0x3f4c73[_0x3df192(0x1fb)](_0x521c8f,e[_0x3df192(0x3d1)][_0x3df192(0x148)]);if(!_0x1a815f||!Y(_0x1a815f,_0x5d8fb6,{'fieldIds':[_0x12b9ef]}))return!0x1;let _0x484623=_0x48cfe2[_0x3df192(0x294)](e[_0x3df192(0x168)]),_0x3ddf59=_0x48cfe2[_0x3df192(0x294)](e['IUndoRedoService']),_0x7f99b2=_0x1a815f[_0x3df192(0x39d)](),_0x42765b=new P()[_0x3df192(0x319)](_0x7f99b2,_0x5d8fb6,_0x12b9ef,_0x3e09bb),_0x59701a=new w()[_0x3df192(0x356)](_0x7f99b2,_0x42765b),_0x2593f3={'unitId':_0x521c8f,'op':_0x42765b},_0x12bce3={'unitId':_0x521c8f,'op':_0x59701a};return _0x484623[_0x3df192(0x184)](J['id'],_0x2593f3)?(_0x3f4c73['focusUnit'](_0x521c8f),_0x3ddf59[_0x3df192(0x273)]({'unitID':_0x521c8f,'undoMutations':[{'id':J['id'],'params':_0x12bce3}],'redoMutations':[{'id':J['id'],'params':_0x2593f3}]}),!0x0):!0x1;}},sr={'id':'base.command.update-base-kanban-config','type':e[_0x21bd22(0x23b)][_0x21bd22(0x25f)],'handler':(_0x5c2d31,_0x5e8a30)=>{const _0x224808=_0x21bd22;if(!_0x5e8a30)return!0x1;let _0x351ed1=_0x5c2d31['get'](e[_0x224808(0x1df)]),{unitId:_0x4a0f2c,tableId:_0x3abb4f,viewId:_0x4b8903,patch:_0x3d5766}=_0x5e8a30,_0x16ce1a=_0x351ed1[_0x224808(0x1fb)](_0x4a0f2c,e[_0x224808(0x3d1)][_0x224808(0x148)]);if(!_0x16ce1a||!Y(_0x16ce1a,_0x3abb4f,{'viewIds':[_0x4b8903]}))return!0x1;let _0x71b796=_0x5c2d31[_0x224808(0x294)](e['ICommandService']),_0x565f7d=_0x5c2d31['get'](e[_0x224808(0x30d)]),_0x2e6f8b=_0x16ce1a[_0x224808(0x39d)](),_0x2cc546=new P()[_0x224808(0x373)](_0x2e6f8b,_0x3abb4f,_0x4b8903,_0x3d5766),_0x440f11=new w()['invertOp'](_0x2e6f8b,_0x2cc546),_0x108e4c={'unitId':_0x4a0f2c,'op':_0x2cc546},_0x587b6a={'unitId':_0x4a0f2c,'op':_0x440f11};return _0x71b796[_0x224808(0x184)](J['id'],_0x108e4c)?(_0x351ed1[_0x224808(0x37e)](_0x4a0f2c),_0x565f7d[_0x224808(0x273)]({'unitID':_0x4a0f2c,'undoMutations':[{'id':J['id'],'params':_0x587b6a}],'redoMutations':[{'id':J['id'],'params':_0x108e4c}]}),!0x0):!0x1;}},cr={'id':_0x21bd22(0xa6),'type':e[_0x21bd22(0x23b)]['COMMAND'],'handler':(_0x389a95,_0x94d0e0)=>{const _0x352040=_0x21bd22;if(!_0x94d0e0)return!0x1;let _0x5d328a=_0x389a95['get'](e[_0x352040(0x1df)]),{unitId:_0x1a6902,tableId:_0x5ce96e,recordId:_0x22df8b,orderKey:_0xe9c4cf}=_0x94d0e0,_0x462b95=_0x5d328a[_0x352040(0x1fb)](_0x1a6902,e[_0x352040(0x3d1)]['UNIVER_BASE']);if(!_0x462b95||!Y(_0x462b95,_0x5ce96e,{'recordIds':[_0x22df8b]}))return!0x1;let _0x5a3e90=_0x389a95[_0x352040(0x294)](e[_0x352040(0x168)]),_0x3607c3=_0x389a95[_0x352040(0x294)](e[_0x352040(0x30d)]),_0x419fa0=_0x462b95[_0x352040(0x39d)](),_0x4d6d4e=new P()['updateRecordOrder'](_0x419fa0,_0x5ce96e,_0x22df8b,_0xe9c4cf),_0x4a5395=new w()[_0x352040(0x356)](_0x419fa0,_0x4d6d4e),_0x46e0cb={'unitId':_0x1a6902,'op':_0x4d6d4e},_0x4807e6={'unitId':_0x1a6902,'op':_0x4a5395};return _0x5a3e90[_0x352040(0x184)](J['id'],_0x46e0cb)?(_0x5d328a['focusUnit'](_0x1a6902),_0x3607c3['pushUndoRedo']({'unitID':_0x1a6902,'undoMutations':[{'id':J['id'],'params':_0x4807e6}],'redoMutations':[{'id':J['id'],'params':_0x46e0cb}]}),!0x0):!0x1;}},lr={'id':_0x21bd22(0x314),'type':e[_0x21bd22(0x23b)]['COMMAND'],'handler':(_0x4b45f6,_0x6aa1d5)=>{const _0xe652fc=_0x21bd22;if(!_0x6aa1d5)return!0x1;let _0x157360=_0x4b45f6[_0xe652fc(0x294)](e[_0xe652fc(0x1df)]),{unitId:_0x624898,tableId:_0x43db55,viewId:_0x1ada43,patch:_0x5b57d1}=_0x6aa1d5,_0x520d07=_0x157360[_0xe652fc(0x1fb)](_0x624898,e[_0xe652fc(0x3d1)]['UNIVER_BASE']);if(!_0x520d07||!Y(_0x520d07,_0x43db55,{'viewIds':[_0x1ada43]}))return!0x1;let _0x321f80=_0x4b45f6['get'](e['ICommandService']),_0x2f1eb1=_0x4b45f6[_0xe652fc(0x294)](e[_0xe652fc(0x30d)]),_0x559da1=_0x520d07[_0xe652fc(0x39d)](),_0x1bad02=new P()[_0xe652fc(0x373)](_0x559da1,_0x43db55,_0x1ada43,_0x5b57d1),_0x382480=new w()[_0xe652fc(0x356)](_0x559da1,_0x1bad02),_0x1bd318={'unitId':_0x624898,'op':_0x1bad02},_0x404042={'unitId':_0x624898,'op':_0x382480};return _0x321f80[_0xe652fc(0x184)](J['id'],_0x1bd318)?(_0x157360[_0xe652fc(0x37e)](_0x624898),_0x2f1eb1[_0xe652fc(0x273)]({'unitID':_0x624898,'undoMutations':[{'id':J['id'],'params':_0x404042}],'redoMutations':[{'id':J['id'],'params':_0x1bd318}]}),!0x0):!0x1;}};function ur(_0x5a0b1b){const _0x3c205c=_0x21bd22;var _0x3c3088,_0x2cacb9,_0x51495d,_0x39bfbe,_0x1a4af6;let _0x87e294=(_0x3c3088=_0x5a0b1b['now'])==null?Date[_0x3c205c(0xe3)]():_0x3c3088,_0x4426cb=(_0x2cacb9=_0x5a0b1b['primaryFieldId'])==null?_0x5a0b1b['id']+'-field-name':_0x2cacb9,_0x3d6291=(_0x51495d=_0x5a0b1b[_0x3c205c(0x2dd)])==null?_0x5a0b1b['id']+_0x3c205c(0x1b0):_0x51495d,_0x347a25=(_0x39bfbe=_0x5a0b1b[_0x3c205c(0xb6)])==null?0x5:_0x39bfbe,_0x5e6924={'id':_0x4426cb,'name':(_0x1a4af6=_0x5a0b1b['primaryFieldName'])==null?_0x3c205c(0xb8):_0x1a4af6,'type':e[_0x3c205c(0x2bb)][_0x3c205c(0x229)],'config':{'placeholder':_0x3c205c(0x230)}},_0x406177={},_0x4f5013=[],_0x286fe3={},_0x28c689={},_0x4c0f6d={};for(let _0xca74f2=0x0;_0xca74f2<_0x347a25;_0xca74f2++){let _0xf31a53=_0x5a0b1b['id']+_0x3c205c(0x1eb)+(_0xca74f2+0x1);_0x406177[_0xf31a53]={'id':_0xf31a53,'values':_0x5a0b1b['recordNamePrefix']?{[_0x4426cb]:_0x5a0b1b[_0x3c205c(0x37b)]+'\x20'+(_0xca74f2+0x1)}:{},'orderKey':String(_0xca74f2+0x1)[_0x3c205c(0x90)](0x4,'0'),'createdAt':_0x87e294,'updatedAt':_0x87e294},_0x4f5013['push'](_0xf31a53),_0x286fe3[_0xf31a53]=_0xca74f2,_0x28c689[_0xca74f2]=_0xf31a53,_0x4c0f6d[_0xca74f2]={},_0x5a0b1b[_0x3c205c(0x37b)]&&(_0x4c0f6d[_0xca74f2][0x0]={'v':_0x5a0b1b[_0x3c205c(0x37b)]+'\x20'+(_0xca74f2+0x1)});}let _0x192239={'id':_0x3d6291,'tableId':_0x5a0b1b['id'],'name':'Grid','type':e[_0x3c205c(0x3c0)][_0x3c205c(0x231)],'fieldOrder':[_0x4426cb],'fieldSettings':{},'config':{'frozenFieldCount':0x1}};return{'id':_0x5a0b1b['id'],'name':_0x5a0b1b[_0x3c205c(0x1d6)],'primaryFieldId':_0x4426cb,'fieldOrder':[_0x4426cb],'fields':{[_0x4426cb]:_0x5e6924},'records':_0x406177,'recordOrder':_0x4f5013,'rowIndex':_0x286fe3,'rowId':_0x28c689,'colIndex':{[_0x4426cb]:0x0},'colId':{0x0:_0x4426cb},'cellData':_0x4c0f6d,'views':{[_0x3d6291]:_0x192239},'viewOrder':[_0x3d6291]};}const dr='UNIVER_EMBED_BASES_TABLE';function fr(_0x32f90c){const _0x475d7e=_0x21bd22;var _0x447747,_0x35d401;let _0x2eae41=ur({'id':_0x32f90c[_0x475d7e(0xb9)],'name':(_0x447747=_0x32f90c['name'])==null?_0x32f90c[_0x475d7e(0x310)]:_0x447747,'recordCount':0x0});return{..._0x2eae41,'resources':{...(_0x35d401=_0x2eae41[_0x475d7e(0x39e)])==null?{}:_0x35d401,[dr]:hr(_0x32f90c)}};}function pr(_0x6d9581){const _0x45fc51=_0x21bd22;return{'id':J['id'],'params':{'unitId':_0x6d9581[_0x45fc51(0xbb)],'op':new P()[_0x45fc51(0x343)](_0x6d9581['snapshot'],_0x6d9581[_0x45fc51(0x1e7)],_0x6d9581[_0x45fc51(0x26d)]),'trigger':'embed-ui'}};}function mr(_0x515eb9){const _0x45740d=_0x21bd22;let _0x3c705d=_0x515eb9[_0x45740d(0x24d)][_0x45740d(0x32e)][_0x45740d(0x326)](_0x515eb9[_0x45740d(0x212)]);if(!(!_0x515eb9[_0x45740d(0x24d)][_0x45740d(0xda)][_0x515eb9['tableId']]||_0x3c705d<0x0))return{'id':J['id'],'params':{'unitId':_0x515eb9[_0x45740d(0xbb)],'op':new P()[_0x45740d(0x3ae)](_0x515eb9['snapshot'],_0x515eb9[_0x45740d(0x212)]),'trigger':_0x45740d(0x155)}};}function hr(_0x1341a5){const _0x7206e6=_0x21bd22;return{'version':0x1,'embedId':_0x1341a5[_0x7206e6(0x310)],'hostAnchorId':_0x1341a5['hostAnchorId'],'childUnitId':_0x1341a5[_0x7206e6(0x2f5)],'childType':_0x1341a5[_0x7206e6(0x209)]};}function gr(_0x271405){const _0x15da5c=_0x21bd22;var _0x34f618;let _0x271aaf=Math['max'](0x0,Number((_0x34f618=_0x271405['decimalPlaces'])==null?0x0:_0x34f618)),_0xb1e695=_0x271405[_0x15da5c(0x1d5)]===!0x1?'0':_0x15da5c(0x1b2),_0x329b6b=_0x271aaf?'.'+'0'[_0x15da5c(0x1f8)](_0x271aaf):'',_0x51efb5=vr(_0x271405[_0x15da5c(0x1ad)]);return''+(_0x271405['currencySymbol']?yr(_0x271405['currencySymbol']):'')+_0xb1e695+_0x329b6b+_0x51efb5;}function _r(_0x28f540,_0x1877e8){const _0x6ccc1e=_0x21bd22;let _0x15085b=gr(_0x1877e8),_0x5a50f5=e['numfmt']['format'](_0x15085b,_0x28f540,{'throws':!0x1});return br(String(_0x5a50f5),_0x1877e8[_0x6ccc1e(0x381)],_0x1877e8[_0x6ccc1e(0x305)]);}function vr(_0x132f95){const _0x3a5d43=_0x21bd22;return _0x132f95==='K'?_0x3a5d43(0x16a):_0x132f95==='M'?_0x3a5d43(0x2da):_0x132f95==='B'?',,,\x22B\x22':'';}function yr(_0x3f77ac){const _0x440f33=_0x21bd22;return/^[A-Z]+$/i[_0x440f33(0x228)](_0x3f77ac)?'\x22'+_0x3f77ac+'\x22':_0x3f77ac;}function br(_0x40ceab,_0x149b71,_0x2ede16){const _0x6c8a67=_0x21bd22;let _0x3b5f65=_0x149b71===_0x6c8a67(0x36c)?xr(_0x2ede16):_0x149b71;return _0x3b5f65===_0x6c8a67(0xc0)?_0x40ceab[_0x6c8a67(0x2e3)](/,/g,'\x00')[_0x6c8a67(0x2e3)](/\./g,',')[_0x6c8a67(0x2e3)](/\0/g,'.'):_0x3b5f65===_0x6c8a67(0x2ee)?_0x40ceab[_0x6c8a67(0x2e3)](/,/g,'\x20')[_0x6c8a67(0x2e3)](/\./g,','):_0x3b5f65===_0x6c8a67(0x2ce)?_0x40ceab['replace'](/,/g,'\x20'):_0x40ceab;}function xr(_0x6e2220){const _0x547669=_0x21bd22;var _0x210b41,_0x12513a;let _0x5fe387=_0x6e2220||Intl[_0x547669(0x206)]()[_0x547669(0x367)]()[_0x547669(0x305)],_0x2cc141;try{_0x2cc141=new Intl[(_0x547669(0x206))](_0x5fe387,{'minimumFractionDigits':0x2,'maximumFractionDigits':0x2,'useGrouping':!0x0})[_0x547669(0x1f1)](0xf4240);}catch{return'commaPeriod';}let _0x11215b=(_0x210b41=_0x2cc141[_0x547669(0x1bd)](_0x5a8455=>_0x5a8455['type']===_0x547669(0x1dd)))==null?void 0x0:_0x210b41['value'],_0x386a00=(_0x12513a=_0x2cc141[_0x547669(0x1bd)](_0x348b76=>_0x348b76[_0x547669(0x3ab)]===_0x547669(0x163)))==null?void 0x0:_0x12513a[_0x547669(0x11c)],_0x49749c=_0x11215b==='\u00a0'||_0x11215b==='\u202f'?'\x20':_0x11215b;return _0x49749c==='.'&&_0x386a00===','?_0x547669(0xc0):_0x49749c==='\x20'&&_0x386a00===','?'spaceComma':_0x49749c==='\x20'&&_0x386a00==='.'?_0x547669(0x2ce):_0x547669(0x100);}function Sr(_0x476619,_0x41cbce){const _0x3df016=_0x21bd22;var _0x201ea4,_0x1b3bb1;let _0x577317=e[_0x3df016(0x164)][_0x3df016(0x1c7)](_0x476619),_0x161b1e=_0x41cbce[_0x3df016(0xe5)]===!0x0,_0x4d7cd5=new Map(),_0x3401c0=(_0x201ea4=_0x41cbce[_0x3df016(0x3cf)])==null?()=>_0x3df016(0x281)+(0x0,e[_0x3df016(0xe4)])(0x8):_0x201ea4,_0x1a57d6=_0x577317[_0x3df016(0x353)];return _0x41cbce[_0x3df016(0x19d)]&&(_0x1a57d6=_0x577317[_0x3df016(0x353)]['map'](_0x1f1294=>{let _0x534eaf=_0x3401c0();return _0x4d7cd5['set'](_0x1f1294,_0x534eaf),_0x534eaf;})),{..._0x577317,'id':_0x41cbce['id'],'name':_0x41cbce[_0x3df016(0x1d6)],'records':_0x161b1e?_0x577317[_0x3df016(0x10e)]:{},'recordOrder':_0x161b1e?_0x577317[_0x3df016(0x176)]:[],'rowIndex':_0x161b1e?_0x577317['rowIndex']:{},'rowId':_0x161b1e?_0x577317[_0x3df016(0x108)]:{},'cellData':_0x161b1e?_0x577317[_0x3df016(0x3ca)]:{},'resources':_0x161b1e?_0x577317[_0x3df016(0x39e)]:{},'viewOrder':_0x1a57d6,'views':Object['fromEntries'](Object[_0x3df016(0x2d7)]((_0x1b3bb1=_0x577317[_0x3df016(0xfa)])==null?{}:_0x1b3bb1)[_0x3df016(0x3c2)](([_0x536c79,_0xe49e12])=>{const _0x631701=_0x3df016;var _0xa839fc;let _0x38f2f0=(_0xa839fc=_0x4d7cd5['get'](_0x536c79))==null?_0x41cbce[_0x631701(0x19d)]?_0x3401c0():_0x536c79:_0xa839fc;return[_0x38f2f0,{..._0xe49e12,'id':_0x38f2f0,'tableId':_0x41cbce['id']}];}))};}var Cr=_0x21bd22(0x15d),wr=_0x21bd22(0x1fe);const Tr={},Er={};function Dr(_0x4c9c99){return new w()['getAffectedRanges'](_0x4c9c99);}function Or(_0x38c15e){const _0x4cf5c0=_0x21bd22;return _0x38c15e[_0x4cf5c0(0x1ea)][_0x4cf5c0(0x3c2)](_0x477fe0=>({'unitId':_0x38c15e['unitId'],'sheetId':_0x38c15e[_0x4cf5c0(0x212)],'range':{'startRow':_0x477fe0[_0x4cf5c0(0x282)],'endRow':_0x477fe0[_0x4cf5c0(0x282)],'startColumn':_0x477fe0[_0x4cf5c0(0x1cd)],'endColumn':_0x477fe0['col']}}));}function kr(_0x3154cc,_0x432b21){const _0x1d03a8=_0x21bd22;return{[_0x3154cc]:Object[_0x1d03a8(0x30a)](_0x432b21[_0x1d03a8(0x3c2)](_0x5bf656=>[_0x5bf656,'1']))};}let Ar=class extends e['Disposable']{constructor(_0x41d3a3,_0x1fcf1e){const _0x1eaaa8=_0x21bd22;super(),this[_0x1eaaa8(0x1d0)]=_0x41d3a3,this[_0x1eaaa8(0x2ab)]=_0x1fcf1e,this['_initialize']();}[_0x21bd22(0x27c)](){const _0x4db34a=_0x21bd22;this[_0x4db34a(0x1d0)]['register'](J['id'],{'commandId':J['id'],'getDirtyData':_0xfb905b=>this[_0x4db34a(0x36e)](_0xfb905b['params'])}),this['disposeWithMe']((0x0,e[_0x4db34a(0x254)])(()=>{const _0x3d0bf5=_0x4db34a;this[_0x3d0bf5(0x1d0)]['remove'](J['id']);}));}[_0x21bd22(0x1b4)](_0x845f3a,_0x5823d8){const _0x47daae=_0x21bd22;var _0x1d3d0f;let _0x416bf7=this[_0x47daae(0x2ab)][_0x47daae(0x1fb)](_0x845f3a,e[_0x47daae(0x3d1)][_0x47daae(0x148)]);return(_0x1d3d0f=_0x416bf7==null?void 0x0:_0x416bf7[_0x47daae(0x39d)]()[_0x47daae(0xda)][_0x5823d8])==null?null:_0x1d3d0f;}[_0x21bd22(0x36e)](_0x16a4f1){const _0x41805f=_0x21bd22;if(_0x16a4f1['trigger']===_0x41805f(0x2f4))return{};if(!_0x16a4f1[_0x41805f(0xbb)]||!_0x16a4f1['op'])return{'clearDependencyTreeCache':this[_0x41805f(0x3b8)](),'forceCalculation':!0x0};let _0x4547f5=Dr(_0x16a4f1['op']),_0x8e6cad=this[_0x41805f(0x116)](_0x16a4f1[_0x41805f(0xbb)],_0x4547f5);if(_0x8e6cad['length'])return{'clearDependencyTreeCache':kr(_0x16a4f1['unitId'],_0x8e6cad),'forceCalculation':!0x0};let _0x59b174=Object[_0x41805f(0x2d7)](this['_groupCellInvalidations'](_0x16a4f1[_0x41805f(0xbb)],_0x4547f5))[_0x41805f(0x103)](([_0x31bcf1,_0x28766e])=>Or({'unitId':_0x16a4f1[_0x41805f(0xbb)],'tableId':_0x31bcf1,'patches':_0x28766e}));return _0x59b174[_0x41805f(0x1e3)]?{'dirtyRanges':_0x59b174}:{};}[_0x21bd22(0x116)](_0x5f1caf,_0x455c6d){const _0x1fe07e=_0x21bd22;let _0x24c8f3=_0x455c6d[_0x1fe07e(0x2e1)](_0x5c2878=>_0x5c2878[_0x1fe07e(0x2af)]!=='cell')[_0x1fe07e(0x103)](_0x2a7836=>_0x2a7836['tableId']?[_0x2a7836['tableId']]:this['_getAllTableIds'](_0x5f1caf));return Array[_0x1fe07e(0x139)](new Set(_0x24c8f3));}[_0x21bd22(0x241)](_0x2da330,_0x3c1513){let _0x20cedc=new Set();return _0x3c1513['reduce']((_0x2ce7d8,_0x3938dd)=>{const _0x2c8d08=_0x5df8;var _0x389ea7;let _0x60644d=this[_0x2c8d08(0xef)](_0x2da330,_0x3938dd);if(!_0x60644d)return _0x2ce7d8;let _0x3f36d6=_0x3938dd[_0x2c8d08(0x212)]+':'+_0x60644d['row']+':'+_0x60644d[_0x2c8d08(0x1cd)];return _0x20cedc[_0x2c8d08(0x15a)](_0x3f36d6)?_0x2ce7d8:(_0x20cedc[_0x2c8d08(0x393)](_0x3f36d6),_0x2ce7d8[_0x3938dd[_0x2c8d08(0x212)]]=(_0x389ea7=_0x2ce7d8[_0x3938dd['tableId']])==null?[]:_0x389ea7,_0x2ce7d8[_0x3938dd['tableId']][_0x2c8d08(0x147)](_0x60644d),_0x2ce7d8);},{});}['_toDirtyRangePatch'](_0xf368ce,_0x3f2822){const _0x1164d9=_0x21bd22;if(_0x3f2822[_0x1164d9(0x2af)]!==_0x1164d9(0x19a))return null;if(_0x3f2822[_0x1164d9(0x282)]!=null&&_0x3f2822['column']!=null)return{'row':_0x3f2822[_0x1164d9(0x282)],'col':_0x3f2822[_0x1164d9(0x18d)],'value':null};if(!_0x3f2822[_0x1164d9(0x232)]||!_0x3f2822['fieldId'])return null;let _0x254229=this[_0x1164d9(0x1b4)](_0xf368ce,_0x3f2822[_0x1164d9(0x212)]);if(!_0x254229)return null;let _0x312e4b=h(_0x254229,_0x3f2822[_0x1164d9(0x232)],_0x3f2822['fieldId']);return _0x312e4b?{'row':_0x312e4b[_0x1164d9(0x282)],'col':_0x312e4b[_0x1164d9(0x1cd)],'value':null}:null;}[_0x21bd22(0x271)](_0x1abd71){const _0x5b5811=_0x21bd22;var _0x5ec650;let _0x4d77a8=this[_0x5b5811(0x2ab)][_0x5b5811(0x1fb)](_0x1abd71,e['UniverInstanceType']['UNIVER_BASE']);return Object[_0x5b5811(0x203)]((_0x5ec650=_0x4d77a8==null?void 0x0:_0x4d77a8[_0x5b5811(0x39d)]()['tables'])==null?{}:_0x5ec650)[_0x5b5811(0x3c2)](_0x4d8fde=>_0x4d8fde['id']);}[_0x21bd22(0x3b8)](){const _0x586b58=_0x21bd22;let _0xb7cada=this[_0x586b58(0x2ab)][_0x586b58(0xc7)](e[_0x586b58(0x3d1)]['UNIVER_BASE'])[_0x586b58(0x3c2)](_0x4e86e0=>kr(_0x4e86e0[_0x586b58(0xcc)](),Object[_0x586b58(0xdc)](_0x4e86e0[_0x586b58(0x39d)]()['tables'])));return Object[_0x586b58(0x2ac)]({},..._0xb7cada);}};Ar=B([z(0x0,t[_0x21bd22(0x388)]),z(0x1,e['IUniverInstanceService'])],Ar);const jr=e[_0x21bd22(0x198)]['createRegExpFromSafeFragment'](String['raw']`(?:^|\W)\$?[A-Z]{1,3}\$?\d+(?::\$?[A-Z]{1,3}\$?\d+)?(?:$|\W)`),Mr=e[_0x21bd22(0x198)][_0x21bd22(0x9e)](String[_0x21bd22(0xf6)]`(?:'\[[^\]]+\](?:[^']|'')+'|\[[^\]]+\][^\s'!]+)!\$?[A-Z]{1,3}\$?\d+(?::\$?[A-Z]{1,3}\$?\d+)?`,'gi'),Nr=/\{([^}]+)\}/g,Pr=e[_0x21bd22(0x198)][_0x21bd22(0x9e)](String[_0x21bd22(0xf6)]`\b([A-Z_]\w*)\[([^\]]+)\]`,'gi'),Fr=e[_0x21bd22(0x198)]['createRegExpFromSafeFragment'](String[_0x21bd22(0xf6)]`(^|[^\w\][])\[([^\]]+)\]`,'g');var Ir=class{[_0x21bd22(0x33f)](_0xc4589a,_0x422619=_0xc4589a['id']){const _0xcdfd7e=_0x21bd22;var _0x259ad9,_0x43b6cb;let _0x32ffc7=(_0x259ad9=(_0x43b6cb=_0xc4589a['recordOrder'])==null?void 0x0:_0x43b6cb[_0xcdfd7e(0x1e3)])==null?Object[_0xcdfd7e(0x203)](_0xc4589a['records'])[_0xcdfd7e(0x1e3)]:_0x259ad9;return{'sheetId':_0x422619,'titleMap':new Map(_0xc4589a[_0xcdfd7e(0xde)][_0xcdfd7e(0x3c2)]((_0x52b7c9,_0x522544)=>{const _0x54ac87=_0xcdfd7e;var _0x2a5c91,_0x158666;return[(_0x2a5c91=(_0x158666=_0xc4589a[_0x54ac87(0x38f)][_0x52b7c9])==null?void 0x0:_0x158666[_0x54ac87(0x1d6)])==null?_0x52b7c9:_0x2a5c91,_0x522544];})),'range':{'startRow':0x0,'endRow':Math['max'](0x0,_0x32ffc7-0x1),'startColumn':0x0,'endColumn':Math[_0xcdfd7e(0x38a)](0x0,_0xc4589a['fieldOrder'][_0xcdfd7e(0x1e3)]-0x1)},'showHeader':!0x1};}[_0x21bd22(0x10c)](_0x50492f,_0x320781,_0x3f2f66,_0x58d688={}){const _0x87ebe6=_0x21bd22;var _0x17f70a;let _0x56c4b1=this['createSuperTableReference'](_0x3f2f66,(_0x17f70a=_0x58d688['sheetId'])==null?_0x3f2f66['id']:_0x17f70a);return new Set([_0x3f2f66['id'],_0x3f2f66[_0x87ebe6(0x1d6)],_0x58d688[_0x87ebe6(0x28c)]][_0x87ebe6(0x2e1)](_0x105128=>!!_0x105128))[_0x87ebe6(0x266)](_0x2a5165=>_0x50492f['registerTable'](_0x320781,_0x2a5165,_0x56c4b1)),_0x56c4b1;}[_0x21bd22(0x2c7)](_0x200101,_0xad73c3){const _0x2d59be=_0x21bd22;let _0x111a23=this[_0x2d59be(0x9b)](_0xad73c3);return _0x111a23[_0x2d59be(0x266)](({tableName:_0x495afe,reference:_0x24b43c})=>{const _0x347011=_0x2d59be;_0x200101[_0x347011(0xfb)](_0xad73c3['id'],_0x495afe,_0x24b43c);}),Array[_0x2d59be(0x139)](new Set(_0x111a23['map'](({reference:_0x528100})=>_0x528100)));}[_0x21bd22(0x9b)](_0x4a04d0,_0x11c7d1){const _0xa6be1b=_0x21bd22;let _0x588da4=[],_0x1ac17d=_0x11c7d1?new Set(_0x11c7d1):null,_0x3ad95b=new Map();return Object[_0xa6be1b(0x203)](_0x4a04d0[_0xa6be1b(0xda)])[_0xa6be1b(0x266)](_0x5c2a03=>{const _0x466119=_0xa6be1b;var _0x7a45f2;let _0x187253=_0x5c2a03[_0x466119(0x1d6)][_0x466119(0x383)]()[_0x466119(0xb5)]();_0x3ad95b[_0x466119(0x195)](_0x187253,((_0x7a45f2=_0x3ad95b[_0x466119(0x294)](_0x187253))==null?0x0:_0x7a45f2)+0x1);}),Object['values'](_0x4a04d0[_0xa6be1b(0xda)])['filter'](_0x14e929=>!_0x1ac17d||_0x1ac17d[_0xa6be1b(0x15a)](_0x14e929['id']))[_0xa6be1b(0x266)](_0x9ebcad=>{const _0x48a2ab=_0xa6be1b;var _0x4c3a8b;let _0x2ae646=this[_0x48a2ab(0x33f)](_0x9ebcad,_0x9ebcad['id']);_0x588da4[_0x48a2ab(0x147)]({'tableId':_0x9ebcad['id'],'tableName':_0x9ebcad['id'],'reference':_0x2ae646}),((_0x4c3a8b=_0x3ad95b[_0x48a2ab(0x294)](_0x9ebcad['name'][_0x48a2ab(0x383)]()[_0x48a2ab(0xb5)]()))==null?0x0:_0x4c3a8b)===0x1&&_0x588da4[_0x48a2ab(0x147)]({'tableId':_0x9ebcad['id'],'tableName':_0x9ebcad[_0x48a2ab(0x1d6)],'reference':_0x2ae646});}),_0x588da4;}['validateFormula'](_0x35ed5a,_0x57d686,_0x56d10a={}){const _0x5c5bce=_0x21bd22;let _0x363ba5=_0x35ed5a['trim']();if(!_0x363ba5)return{'valid':!0x0};if(Hr(_0x363ba5))return{'valid':!0x1,'reason':_0x5c5bce(0x34b)};for(let _0x27d7d7 of Vr(_0x363ba5)){let _0x4a3969=qr(_0x27d7d7,_0x57d686,_0x56d10a['snapshot']);if(!_0x4a3969['table'])return{'valid':!0x1,'reason':_0x5c5bce(0x210)+_0x27d7d7[_0x5c5bce(0x28c)]+_0x5c5bce(0x196)};if(!_0x4a3969[_0x5c5bce(0x366)])return{'valid':!0x1,'reason':_0x5c5bce(0x1db)+_0x27d7d7[_0x5c5bce(0x249)]+_0x5c5bce(0x196)};}return{'valid':!0x0};}[_0x21bd22(0x2eb)](_0x33e4d6,_0x401f91,_0x3d7927={}){const _0x3d4a13=_0x21bd22;let _0x218d78=new Set();for(let _0x3cb8f9 of this[_0x3d4a13(0x15b)](_0x33e4d6,_0x401f91,_0x3d7927))_0x3cb8f9[_0x3d4a13(0x212)]===_0x401f91['id']&&_0x218d78[_0x3d4a13(0x393)](_0x3cb8f9[_0x3d4a13(0x286)]);return Array[_0x3d4a13(0x139)](_0x218d78);}[_0x21bd22(0x15b)](_0x23c758,_0x406ad8,_0x24ed01={}){const _0x5e443c=_0x21bd22;let _0x20d131=new Map();for(let _0x3359d2 of Vr(_0x23c758)){let _0x2f228b=qr(_0x3359d2,_0x406ad8,_0x24ed01[_0x5e443c(0x24d)]);if(!_0x2f228b[_0x5e443c(0x1e7)]||!_0x2f228b[_0x5e443c(0x366)])continue;let _0x23690f=_0x2f228b[_0x5e443c(0x1e7)]['id']+'\x1f'+_0x2f228b[_0x5e443c(0x366)]['id'];_0x20d131[_0x5e443c(0x195)](_0x23690f,{'tableId':_0x2f228b[_0x5e443c(0x1e7)]['id'],'fieldId':_0x2f228b[_0x5e443c(0x366)]['id']});}return Array[_0x5e443c(0x139)](_0x20d131['values']());}};function Lr(_0x7c814e,_0x3123c7){const _0x497d5a=_0x21bd22;var _0x13ac73;let _0x155b1a=[],_0xe603d5=(_0x13ac73=_0x3123c7['unitData'])==null?void 0x0:_0x13ac73[_0x7c814e['id']];return _0xe603d5&&Object[_0x497d5a(0x2d7)](_0xe603d5)[_0x497d5a(0x266)](([_0x1e6073,_0x4753e8])=>{const _0x353389=_0x497d5a;let _0x13dced=_0x7c814e['tables'][_0x1e6073];if(!_0x13dced||!_0x4753e8)return;let _0x1f7706=d(_0x13dced),_0x3798aa=[];new e[(_0x353389(0x382))](_0x4753e8)['forValue']((_0x9955af,_0xfcd6f4,_0x446cff)=>{const _0x29759a=_0x353389;let _0x1dddf5=Rr(_0x1f7706,_0x9955af,_0xfcd6f4,_0x446cff);_0x1dddf5&&_0x3798aa[_0x29759a(0x147)](_0x1dddf5);}),_0x3798aa[_0x353389(0x1e3)]&&_0x155b1a['push']({'unitId':_0x7c814e['id'],'tableId':_0x1e6073,'patches':_0x3798aa});}),_0x155b1a;}function Rr(_0x417662,_0x1385ea,_0x36fb6b,_0x5294dc){const _0x41bbdc=_0x21bd22;var _0xbfefc5,_0x2f8adf,_0x269a8b,_0x20356a,_0x28a2d3;let _0x33d122=(_0xbfefc5=_0x417662[_0x41bbdc(0x108)])==null?void 0x0:_0xbfefc5[_0x1385ea],_0x21b845=(_0x2f8adf=_0x417662[_0x41bbdc(0x27f)])==null?void 0x0:_0x2f8adf[_0x36fb6b];if(!_0x33d122||!_0x417662[_0x41bbdc(0x10e)][_0x33d122]||!_0x21b845)return null;let _0x3d0576=_0x417662[_0x41bbdc(0x38f)][_0x21b845];if(!_0x3d0576||_0x3d0576[_0x41bbdc(0x3ab)]!=='formula')return null;let _0x2a22f9=String((_0x269a8b=(_0x20356a=_0x3d0576['config'])==null?void 0x0:_0x20356a['formula'])==null?'':_0x269a8b)[_0x41bbdc(0x383)](),_0x4869c1=(_0x28a2d3=_0x5294dc==null?void 0x0:_0x5294dc['v'])==null?null:_0x28a2d3,_0x129b8c={'v':_0x4869c1,'t':Br(_0x4869c1),..._0x1385ea===0x0&&_0x2a22f9?{'f':_0x2a22f9}:{},'si':_0x3d0576['id']};return zr(g(_0x417662,_0x33d122,_0x21b845),_0x129b8c)?null:{'row':_0x1385ea,'col':_0x36fb6b,'value':_0x129b8c};}function zr(_0x59d7fa,_0x597651){var _0x3d0fd0,_0x36b940;return _0x59d7fa!=null&&Object['is']((_0x3d0fd0=_0x59d7fa['v'])==null?null:_0x3d0fd0,(_0x36b940=_0x597651['v'])==null?null:_0x36b940)&&_0x59d7fa['t']===_0x597651['t']&&_0x59d7fa['f']===_0x597651['f']&&_0x59d7fa['si']===_0x597651['si'];}function Br(_0x285cbe){const _0x135fca=_0x21bd22;return typeof _0x285cbe==_0x135fca(0x307)?e[_0x135fca(0x258)][_0x135fca(0xa2)]:typeof _0x285cbe==_0x135fca(0x2bc)?e[_0x135fca(0x258)][_0x135fca(0x358)]:typeof _0x285cbe==_0x135fca(0x14d)?e['CellValueType'][_0x135fca(0x295)]:null;}function Vr(_0x4d3b2b){const _0x57cf9f=_0x21bd22;_0x4d3b2b=Ur(_0x4d3b2b,()=>'');let _0x40762d=new Map();for(let _0x1f440a of _0x4d3b2b['matchAll'](Nr)){let _0xc75084={'fieldName':_0x1f440a[0x1]};_0x40762d[_0x57cf9f(0x195)]('\x1f'+_0xc75084[_0x57cf9f(0x249)],_0xc75084);}for(let _0x483c82 of _0x4d3b2b['matchAll'](Pr)){let _0xd3202a={'tableName':_0x483c82[0x1],'fieldName':_0x483c82[0x2]};_0x40762d[_0x57cf9f(0x195)](_0xd3202a[_0x57cf9f(0x28c)]+'\x1f'+_0xd3202a[_0x57cf9f(0x249)],_0xd3202a);}for(let _0x93342b of _0x4d3b2b[_0x57cf9f(0x21b)](Fr)){let _0x242d48={'fieldName':_0x93342b[0x2]};_0x40762d[_0x57cf9f(0x195)]('\x1f'+_0x242d48[_0x57cf9f(0x249)],_0x242d48);}return Array['from'](_0x40762d['values']());}function Hr(_0x3c05ac){const _0x5d5d92=_0x21bd22;let _0x38bbdf=Wr(_0x3c05ac,()=>'\x20')[_0x5d5d92(0x2e3)](Nr,'\x20')[_0x5d5d92(0x2e3)](Pr,'\x20')[_0x5d5d92(0x2e3)](Fr,_0x5d5d92(0x121));return jr[_0x5d5d92(0x228)](_0x38bbdf);}function Ur(_0x1a7b06,_0x4dc687){return Gr(Wr(_0x1a7b06,_0x4dc687),_0x4dc687);}function Wr(_0x150fc7,_0x507e7d){const _0x395e4e=_0x21bd22;return Mr[_0x395e4e(0x20f)]=0x0,_0x150fc7['replace'](Mr,(_0x525f8e,_0x491b1c)=>Kr(_0x150fc7,_0x491b1c)?_0x525f8e:_0x507e7d(_0x525f8e));}const X=/(?:'((?:[^']|'')+)'|\[[^\]]+\]|[A-Za-z0-9_.-]+)![^\s!\[\]]+\[/g;function Gr(_0x3a83ff,_0x1d774d){const _0x384fda=_0x21bd22;let _0x5b06b8=[];X[_0x384fda(0x20f)]=0x0;let _0x457d6a;for(;(_0x457d6a=X[_0x384fda(0x288)](_0x3a83ff))!=null;){if(Kr(_0x3a83ff,_0x457d6a[_0x384fda(0x26d)]))continue;let _0xba33ec=X[_0x384fda(0x20f)]-0x1,_0x2dcc23=0x0;for(let _0x343322=_0xba33ec;_0x343322<_0x3a83ff[_0x384fda(0x1e3)];_0x343322++)if(_0x3a83ff[_0x343322]==='['&&_0x2dcc23++,_0x3a83ff[_0x343322]===']'&&(_0x2dcc23--,_0x2dcc23===0x0)){_0x5b06b8[_0x384fda(0x147)]({'start':_0x457d6a['index'],'end':_0x343322+0x1}),X['lastIndex']=_0x343322+0x1;break;}}if(_0x5b06b8[_0x384fda(0x1e3)]===0x0)return _0x3a83ff;let _0x1dbbf8='',_0x58b176=0x0;for(let _0x3f5f48 of _0x5b06b8)_0x1dbbf8+=_0x3a83ff['slice'](_0x58b176,_0x3f5f48[_0x384fda(0x301)]),_0x1dbbf8+=_0x1d774d(_0x3a83ff[_0x384fda(0x174)](_0x3f5f48['start'],_0x3f5f48[_0x384fda(0x385)])),_0x58b176=_0x3f5f48['end'];return _0x1dbbf8+_0x3a83ff[_0x384fda(0x174)](_0x58b176);}function Kr(_0x3e6f10,_0x13f086){let _0x36e6f6=!0x1;for(let _0x244fbd=0x0;_0x244fbd<_0x13f086;_0x244fbd++)if(_0x3e6f10[_0x244fbd]==='\x22'){if(_0x36e6f6&&_0x3e6f10[_0x244fbd+0x1]==='\x22'){_0x244fbd++;continue;}_0x36e6f6=!_0x36e6f6;}return _0x36e6f6;}function qr(_0x359ca2,_0x465240,_0x1cd641){const _0x2a2352=_0x21bd22;let _0x4a9d60=Jr(_0x359ca2[_0x2a2352(0x28c)],_0x465240,_0x1cd641);return{'table':_0x4a9d60,'field':_0x4a9d60?Object[_0x2a2352(0x203)](_0x4a9d60[_0x2a2352(0x38f)])['find'](_0x535ebe=>_0x535ebe[_0x2a2352(0x1d6)]===_0x359ca2['fieldName']):void 0x0};}function Jr(_0x4ec1bc,_0x24a753,_0x569b29){const _0x3adfa9=_0x21bd22;if(!_0x4ec1bc||_0x4ec1bc===_0x3adfa9(0x1e7)||_0x4ec1bc===_0x24a753['id']||_0x4ec1bc===_0x24a753[_0x3adfa9(0x1d6)])return _0x24a753;if(!_0x569b29)return;let _0x437913=_0x569b29[_0x3adfa9(0xda)][_0x4ec1bc];if(_0x437913)return _0x437913;let _0x3ebbfc=Object['values'](_0x569b29['tables'])[_0x3adfa9(0x2e1)](_0x413ceb=>_0x413ceb['name']===_0x4ec1bc);return _0x3ebbfc[_0x3adfa9(0x1e3)]===0x1?_0x3ebbfc[0x0]:void 0x0;}let Yr=class extends e[_0x21bd22(0xcd)]{constructor(_0x5d41e3,_0x1ab474,_0x17e7cf){const _0x1aeacc=_0x21bd22;super(),this[_0x1aeacc(0x392)]=_0x5d41e3,this[_0x1aeacc(0x2ab)]=_0x1ab474,I(this,'_formulaService',new Ir()),I(this,_0x1aeacc(0x19f),new Map()),I(this,_0x1aeacc(0x339),Promise['resolve']()),I(this,_0x1aeacc(0x251),!0x1),this[_0x1aeacc(0x27c)]();}['_initialize'](){const _0x2e2759=_0x21bd22;this[_0x2e2759(0x2ab)]['getAllUnitsForType'](e[_0x2e2759(0x3d1)][_0x2e2759(0x148)])[_0x2e2759(0x266)](_0x4d6718=>{const _0x2859bb=_0x2e2759;this[_0x2859bb(0x191)](async()=>{const _0x53a638=_0x2859bb;await this[_0x53a638(0xa1)](_0x4d6718);});}),this[_0x2e2759(0x312)](this[_0x2e2759(0x2ab)][_0x2e2759(0x213)](e[_0x2e2759(0x3d1)][_0x2e2759(0x148)])[_0x2e2759(0x111)](({unit:_0x28f148})=>{const _0x3e63c7=_0x2e2759;this[_0x3e63c7(0x191)](async()=>{const _0x272212=_0x3e63c7;await this[_0x272212(0xa1)](_0x28f148);});})),this[_0x2e2759(0x312)](this['_univerInstanceService'][_0x2e2759(0x23f)](e[_0x2e2759(0x3d1)][_0x2e2759(0x148)])[_0x2e2759(0x111)](_0x4d9b97=>{const _0x5f0c7c=_0x2e2759;this[_0x5f0c7c(0x191)](()=>this[_0x5f0c7c(0xbd)](_0x4d9b97[_0x5f0c7c(0xcc)]()));})),this[_0x2e2759(0x312)](this['_commandService'][_0x2e2759(0x193)](_0x5c43fd=>this['_onCommandExecuted'](_0x5c43fd)));}[_0x21bd22(0x3b7)](_0x2a62fc){const _0x56cd7f=_0x21bd22;if(_0x2a62fc['id']===t['SetFormulaCalculationResultMutation']['id']){Zr(_0x2a62fc[_0x56cd7f(0x327)])&&this[_0x56cd7f(0x1e4)](_0x2a62fc[_0x56cd7f(0x327)]);return;}if(this[_0x56cd7f(0x251)]||_0x2a62fc['id']!==J['id'])return;let _0x354174=Xr(_0x2a62fc[_0x56cd7f(0x327)])?_0x2a62fc[_0x56cd7f(0x327)]:void 0x0,_0x1f21cb=_0x354174!=null&&_0x354174[_0x56cd7f(0xbb)]?[this[_0x56cd7f(0x2ab)]['getUnit'](_0x354174[_0x56cd7f(0xbb)],e[_0x56cd7f(0x3d1)]['UNIVER_BASE'])]['filter'](_0x46e640=>!!_0x46e640):this[_0x56cd7f(0x2ab)][_0x56cd7f(0xc7)](e[_0x56cd7f(0x3d1)][_0x56cd7f(0x148)]),_0x3cc908=_0x354174==null?void 0x0:_0x354174['op'];_0x1f21cb['forEach'](_0x236dee=>{const _0x40022c=_0x56cd7f;let _0x296cc8=_0x3cc908?Dr(_0x3cc908):[];(!_0x3cc908||_0x296cc8['some'](_0x4cb527=>_0x4cb527['reason']!==_0x40022c(0x19a)))&&this[_0x40022c(0x191)](()=>this['_syncSuperTables'](_0x236dee));});}async[_0x21bd22(0xa1)](_0x5b97e4){const _0x632c5f=_0x21bd22;var _0x5af8c0;let _0x278929=_0x5b97e4[_0x632c5f(0xcc)](),_0x4e109a=this['_formulaService'][_0x632c5f(0x9b)](_0x5b97e4[_0x632c5f(0x39d)]()),_0x2d5db4=new Set(_0x4e109a[_0x632c5f(0x3c2)](({tableName:_0xe9674c})=>_0xe9674c)),_0x3ce31b=(_0x5af8c0=this[_0x632c5f(0x19f)]['get'](_0x278929))==null?new Set():_0x5af8c0;for(let _0x55e063 of _0x3ce31b)_0x2d5db4['has'](_0x55e063)||await this[_0x632c5f(0x392)]['executeCommand'](t[_0x632c5f(0x183)]['id'],{'unitId':_0x278929,'tableName':_0x55e063});for(let {tableName:_0x498804,reference:_0x23aa8d}of _0x4e109a)await this[_0x632c5f(0x392)][_0x632c5f(0x171)](t[_0x632c5f(0x2fa)]['id'],{'unitId':_0x278929,'tableName':_0x498804,'reference':_0x23aa8d});this[_0x632c5f(0x19f)][_0x632c5f(0x195)](_0x278929,_0x2d5db4);}async[_0x21bd22(0xbd)](_0x1601e7){const _0x58b3cf=_0x21bd22;var _0x253303;let _0x3a5e1a=(_0x253303=this[_0x58b3cf(0x19f)][_0x58b3cf(0x294)](_0x1601e7))==null?new Set():_0x253303;for(let _0x29822c of _0x3a5e1a)await this[_0x58b3cf(0x392)][_0x58b3cf(0x171)](t['RemoveSuperTableMutation']['id'],{'unitId':_0x1601e7,'tableName':_0x29822c});this[_0x58b3cf(0x19f)][_0x58b3cf(0x265)](_0x1601e7);}[_0x21bd22(0x191)](_0x841ca6){const _0xb279f0=_0x21bd22;this[_0xb279f0(0x339)]=this[_0xb279f0(0x339)]['then'](_0x841ca6,_0x841ca6)[_0xb279f0(0x1a0)](()=>void 0x0);}['_applyFormulaResult'](_0x112941){const _0x29fc74=_0x21bd22;let _0x4f8153=this[_0x29fc74(0x2ab)]['getAllUnitsForType'](e[_0x29fc74(0x3d1)][_0x29fc74(0x148)])['flatMap'](_0x278664=>Lr(_0x278664['getSnapshot'](),_0x112941));if(!_0x4f8153[_0x29fc74(0x1e3)])return;let _0x5c6c4c=new P(),_0x14a5a3=_0x4f8153['flatMap'](_0x464195=>Or({'unitId':_0x464195[_0x29fc74(0xbb)],'tableId':_0x464195[_0x29fc74(0x212)],'patches':_0x464195[_0x29fc74(0x1ea)]}));this[_0x29fc74(0x251)]=!0x0,(async()=>{const _0x23d919=_0x29fc74;for(let _0x52591f of _0x4f8153){let _0x36350f=this[_0x23d919(0x2ab)]['getUnit'](_0x52591f[_0x23d919(0xbb)],e[_0x23d919(0x3d1)][_0x23d919(0x148)]);_0x36350f&&await this['_commandService'][_0x23d919(0x171)](J['id'],{'unitId':_0x52591f[_0x23d919(0xbb)],'op':_0x5c6c4c[_0x23d919(0xf8)](_0x36350f[_0x23d919(0x39d)](),_0x52591f[_0x23d919(0x212)],_0x52591f[_0x23d919(0x1ea)]),'trigger':t[_0x23d919(0x39c)]['id']},{'onlyLocal':!0x0});}await this[_0x23d919(0x392)]['executeCommand'](t[_0x23d919(0x2db)]['id'],{'dirtyRanges':_0x14a5a3},{'onlyLocal':!0x0});})()[_0x29fc74(0x20b)](()=>{const _0x40fc7b=_0x29fc74;this[_0x40fc7b(0x251)]=!0x1;});}};Yr=B([z(0x0,e[_0x21bd22(0x168)]),z(0x1,e[_0x21bd22(0x1df)]),z(0x2,(0x0,e[_0x21bd22(0x2f6)])(t[_0x21bd22(0x264)]))],Yr);function Xr(_0x493531){const _0x444111=_0x21bd22;return typeof _0x493531=='object'&&!!_0x493531&&_0x444111(0xbb)in _0x493531&&typeof _0x493531[_0x444111(0xbb)]==_0x444111(0x14d)&&'op'in _0x493531&&Array['isArray'](_0x493531['op']);}function Zr(_0x583882){const _0x45f256=_0x21bd22;return typeof _0x583882==_0x45f256(0x391)&&!!_0x583882&&_0x45f256(0x237)in _0x583882&&_0x45f256(0x2a7)in _0x583882;}const Qr=(0x0,e[_0x21bd22(0x200)])(_0x21bd22(0x23a));let $r=class{constructor(_0x458e94){const _0x16ca11=_0x21bd22;this[_0x16ca11(0x2ab)]=_0x458e94;}[_0x21bd22(0x2e4)](_0x234014){const _0x13e856=_0x21bd22;var _0xeb45df;return(_0xeb45df=this[_0x13e856(0x2ab)][_0x13e856(0x1fb)](_0x234014,e['UniverInstanceType']['UNIVER_BASE']))==null?null:_0xeb45df;}[_0x21bd22(0x26f)](){const _0x212e44=_0x21bd22;return this['_univerInstanceService'][_0x212e44(0xc7)](e['UniverInstanceType'][_0x212e44(0x148)]);}[_0x21bd22(0x363)](_0x56e1bd){const _0x2270f4=_0x21bd22;return this[_0x2270f4(0x2ab)]['createUnit'](e[_0x2270f4(0x3d1)][_0x2270f4(0x148)],_0x56e1bd);}};$r=B([z(0x0,e[_0x21bd22(0x1df)])],$r);const ei=(0x0,e['createIdentifier'])('base.view-registry.service');var ti=class extends e['Disposable']{constructor(..._0x1fff8b){const _0x5313ce=_0x21bd22;super(..._0x1fff8b),I(this,_0x5313ce(0x306),new Map());}['register'](_0x1a7ff5){const _0x523b51=_0x21bd22;return this[_0x523b51(0x306)]['set'](_0x1a7ff5[_0x523b51(0x3ab)],_0x1a7ff5),(0x0,e[_0x523b51(0x254)])(()=>this[_0x523b51(0x306)]['delete'](_0x1a7ff5[_0x523b51(0x3ab)]));}[_0x21bd22(0x294)](_0x35e9da){const _0xeb3e63=_0x21bd22;let _0x106235=this[_0xeb3e63(0x306)][_0xeb3e63(0x294)](_0x35e9da);if(!_0x106235)throw Error(_0xeb3e63(0x1e5)+_0x35e9da+'\x22\x20is\x20not\x20registered.');return _0x106235;}[_0x21bd22(0x2fe)](){const _0x5e6b92=_0x21bd22;return Array[_0x5e6b92(0x139)](this['_plugins']['values']());}};const ni=[J];let Z=class extends e[_0x21bd22(0x10d)]{constructor(_0x410763=Tr,_0x466f7b,_0x533f01,_0x22c7de,_0x53d8e3,_0x38dee1){const _0x3ea7e0=_0x21bd22;super(),this['_config']=_0x410763,this['_injector']=_0x466f7b,this['_commandService']=_0x533f01,this[_0x3ea7e0(0x2ab)]=_0x22c7de,this[_0x3ea7e0(0x2d3)]=_0x53d8e3,this[_0x3ea7e0(0x29d)]=_0x38dee1,I(this,_0x3ea7e0(0x15c),new Map());let {..._0x285f2a}=(0x0,e[_0x3ea7e0(0x1e8)])({},Tr,this[_0x3ea7e0(0x30c)]);this[_0x3ea7e0(0x2d3)]['setConfig']('bases.config',_0x285f2a),this[_0x3ea7e0(0x2ab)][_0x3ea7e0(0x91)](e['UniverInstanceType']['UNIVER_BASE'],e[_0x3ea7e0(0x2b6)]),this[_0x3ea7e0(0x35e)](),this['_initCommands'](),this[_0x3ea7e0(0x2a0)](),this['_initDataSync']();}[_0x21bd22(0x1bc)](){const _0x40d303=_0x21bd22;(0x0,e[_0x40d303(0x3a0)])(this[_0x40d303(0x1e0)],[[$r],[H],[Ar]]),this['_univerInstanceService']['getAllUnitsForType'](e['UniverInstanceType'][_0x40d303(0x148)])[_0x40d303(0x266)](_0x33d7fd=>this[_0x40d303(0x31c)](_0x33d7fd[_0x40d303(0xcc)]())),(0x0,e[_0x40d303(0x3a0)])(this[_0x40d303(0x1e0)],[[Yr]]);}[_0x21bd22(0x35e)](){const _0x79a6bf=_0x21bd22;[[L,{'useClass':St}],[ei,{'useClass':ti}],[Ft,{'useClass':Lt}],[Qr,{'useClass':$r}],[Ct,{'useClass':wt}],[V,{'useClass':H}],[Ar],[Yr]][_0x79a6bf(0x266)](_0x11c2e9=>this[_0x79a6bf(0x1e0)][_0x79a6bf(0x393)](_0x11c2e9));}[_0x21bd22(0x1c5)](){const _0x4f2a9b=_0x21bd22;[yn,Kn,Ln,ir,Zn,Xn,vn,mn,In,hn,Bn,cr,_n,zn,or,ar,gn,Fn,Wn,Pn,Vn,qn,Yn,Rn,Gn,lr,Jn,sr,tr,rr,nr,$n,er,Qn,...ni][_0x4f2a9b(0x266)](_0x441505=>this[_0x4f2a9b(0x312)](this['_commandService'][_0x4f2a9b(0x331)](_0x441505))),ni[_0x4f2a9b(0x266)](_0x30f66a=>{const _0x4940ea=_0x4f2a9b;var _0xa044d2;return(_0xa044d2=this[_0x4940ea(0x29d)])==null?void 0x0:_0xa044d2['registerSyncingMutations'](_0x30f66a);});}[_0x21bd22(0x12e)](){const _0x17a5df=_0x21bd22;this['_dataSyncPrimaryController']&&(this['disposeWithMe'](this['_univerInstanceService']['getTypeOfUnitAdded$'](e['UniverInstanceType'][_0x17a5df(0x148)])[_0x17a5df(0x111)](({unit:_0x1a1483})=>{const _0x28b624=_0x17a5df;this[_0x28b624(0x31c)](_0x1a1483[_0x28b624(0xcc)]());})),this[_0x17a5df(0x312)](this[_0x17a5df(0x2ab)][_0x17a5df(0x23f)](e['UniverInstanceType'][_0x17a5df(0x148)])['subscribe'](_0x1c3a81=>{const _0x5d12ab=_0x17a5df;var _0x13bb82;(_0x13bb82=this[_0x5d12ab(0x15c)]['get'](_0x1c3a81[_0x5d12ab(0xcc)]()))==null||_0x13bb82['dispose'](),this[_0x5d12ab(0x15c)][_0x5d12ab(0x265)](_0x1c3a81[_0x5d12ab(0xcc)]());})));}[_0x21bd22(0x31c)](_0x490857){const _0x4671aa=_0x21bd22;!this[_0x4671aa(0x29d)]||this[_0x4671aa(0x15c)][_0x4671aa(0x15a)](_0x490857)||this[_0x4671aa(0x15c)][_0x4671aa(0x195)](_0x490857,this[_0x4671aa(0x29d)]['syncUnit'](_0x490857));}[_0x21bd22(0x2a0)](){const _0x316f08=_0x21bd22;let _0x54649c=this['_injector'][_0x316f08(0x294)](L);Qe()['forEach'](_0x4a3547=>_0x54649c['register'](_0x4a3547));let _0x17fe40=this[_0x316f08(0x1e0)][_0x316f08(0x294)](ei),_0x1dd3ab=this['_injector'][_0x316f08(0x294)](Ft);At()[_0x316f08(0x266)](_0x587bf5=>{const _0x3094e7=_0x316f08;_0x17fe40[_0x3094e7(0x12b)](_0x587bf5),_0x1dd3ab[_0x3094e7(0x28b)](_0x587bf5);});}};I(Z,_0x21bd22(0x2e0),_0x21bd22(0x2d5)),I(Z,_0x21bd22(0xb1),Cr),I(Z,'version',wr),I(Z,_0x21bd22(0x3ab),e[_0x21bd22(0x3d1)][_0x21bd22(0x148)]),Z=B([(0x0,e[_0x21bd22(0x112)])(n['UniverLicensePlugin'],t[_0x21bd22(0xed)]),z(0x1,(0x0,e[_0x21bd22(0x2f6)])(e['Injector'])),z(0x2,e[_0x21bd22(0x168)]),z(0x3,e[_0x21bd22(0x1df)]),z(0x4,e[_0x21bd22(0x247)]),z(0x5,(0x0,e[_0x21bd22(0x125)])(r[_0x21bd22(0x138)]))],Z);let Q=class extends e[_0x21bd22(0x10d)]{constructor(_0x46f840=Er,_0x4d3ab0,_0x350f8d,_0x3e5e02,_0x4cddc8){const _0x3ec5ee=_0x21bd22;super(),this[_0x3ec5ee(0x30c)]=_0x46f840,this[_0x3ec5ee(0x1e0)]=_0x4d3ab0,this[_0x3ec5ee(0x392)]=_0x350f8d,this[_0x3ec5ee(0x2d3)]=_0x3e5e02,this[_0x3ec5ee(0x2ab)]=_0x4cddc8;let {..._0x3d8e02}=(0x0,e['merge'])({},Er,this[_0x3ec5ee(0x30c)]);this[_0x3ec5ee(0x2d3)][_0x3ec5ee(0xf7)](_0x3ec5ee(0x1b6),_0x3d8e02),this[_0x3ec5ee(0x2ab)][_0x3ec5ee(0x91)](e[_0x3ec5ee(0x3d1)][_0x3ec5ee(0x148)],e['BaseDataModel']),ni['forEach'](_0x57ae13=>this[_0x3ec5ee(0x312)](this[_0x3ec5ee(0x392)][_0x3ec5ee(0x331)](_0x57ae13)));}};I(Q,'pluginName','REMOTE_BASES_PLUGIN'),I(Q,'packageName',Cr),I(Q,_0x21bd22(0x398),wr),I(Q,_0x21bd22(0x3ab),e[_0x21bd22(0x3d1)][_0x21bd22(0x148)]),Q=B([(0x0,e[_0x21bd22(0x112)])(n[_0x21bd22(0x192)],t[_0x21bd22(0xed)]),z(0x1,(0x0,e['Inject'])(e['Injector'])),z(0x2,e[_0x21bd22(0x168)]),z(0x3,e['IConfigService']),z(0x4,e[_0x21bd22(0x1df)])],Q);function ri(_0xb7ce77){const _0x4c9b00=_0x21bd22;let _0x559c03=gi(_0xb7ce77[_0x4c9b00(0x298)]);if(!_0x559c03)return{'query':'','total':0x0,'matches':[]};let _0x41dc4a=[],_0x1392f3=[];for(let _0x5d2da1=0x0;_0x5d2da1<_0xb7ce77['fieldIds']['length'];_0x5d2da1++){if(!(_0x5d2da1 in _0xb7ce77[_0x4c9b00(0xc4)]))continue;let _0x2dc58c=_0xb7ce77[_0x4c9b00(0x1e7)][_0x4c9b00(0x38f)][_0xb7ce77[_0x4c9b00(0xc4)][_0x5d2da1]];_0x2dc58c&&_0x1392f3['push']({'field':_0x2dc58c,'fieldIndex':_0x5d2da1});}_0xb7ce77[_0x4c9b00(0x2e8)][_0x4c9b00(0x266)]((_0x23c845,_0x1f3241)=>{const _0x538e90=_0x4c9b00;_0x1392f3[_0x538e90(0x266)](({field:_0x13e027,fieldIndex:_0x34dc48})=>{const _0x344117=_0x538e90;let _0x4fddd2=ii(_0x23c845['values'][_0x13e027['id']],_0x13e027);if(!_0x4fddd2)return;let _0x5bb139=hi(_0x559c03,_0x4fddd2[_0x344117(0x29a)]);_0x5bb139<=0x0||_0x41dc4a[_0x344117(0x147)]({'recordId':_0x23c845['recordId'],'fieldId':_0x13e027['id'],'fieldType':_0x13e027[_0x344117(0x3ab)],'text':_0x4fddd2[_0x344117(0xa0)],'score':_0x5bb139,'rowIndex':_0x1f3241,'fieldIndex':_0x34dc48});});}),_0x41dc4a['sort']((_0x2db7a7,_0x4b5688)=>_0x4b5688[_0x4c9b00(0xe9)]-_0x2db7a7[_0x4c9b00(0xe9)]||_0x2db7a7[_0x4c9b00(0x133)]-_0x4b5688[_0x4c9b00(0x133)]||_0x2db7a7['fieldIndex']-_0x4b5688[_0x4c9b00(0x302)]);let _0x183746=_0xb7ce77[_0x4c9b00(0x2bd)]==null?_0x41dc4a:_0x41dc4a[_0x4c9b00(0x174)](0x0,Math[_0x4c9b00(0x38a)](0x0,_0xb7ce77['limit']));return{'query':_0x559c03,'total':_0x41dc4a['length'],'matches':vi(_0x183746)};}function ii(_0x5223c1,_0x4b36ec){const _0x2b6878=_0x21bd22;let _0x372907=[];for(let _0x52eae3 of oi(_0x5223c1,_0x4b36ec)){let _0x394890=gi(_0x52eae3);_0x394890&&_0x372907[_0x2b6878(0x147)](_0x394890);}return _0x372907[_0x2b6878(0x1e3)]?{'displayText':ai(_0x5223c1,_0x4b36ec),'searchTexts':_i(_0x372907)}:null;}function ai(_0x1c6793,_0x47f7e8){const _0x261fb2=_0x21bd22;switch(_0x47f7e8[_0x261fb2(0x3ab)]){case e[_0x261fb2(0x2bb)]['SingleSelect']:case e[_0x261fb2(0x2bb)][_0x261fb2(0x335)]:case e[_0x261fb2(0x2bb)]['Group']:return si(_0x1c6793,_0x47f7e8)[_0x261fb2(0x1ec)](',\x20');case e[_0x261fb2(0x2bb)]['Link']:return ui(_0x1c6793);case e[_0x261fb2(0x2bb)][_0x261fb2(0x14c)]:case e['BaseFieldType'][_0x261fb2(0x225)]:case e[_0x261fb2(0x2bb)]['UpdatedAt']:return di(_0x1c6793,_0x47f7e8);case e[_0x261fb2(0x2bb)][_0x261fb2(0x3b0)]:case e[_0x261fb2(0x2bb)][_0x261fb2(0xaf)]:return fi(_0x1c6793,_0x47f7e8);case e['BaseFieldType'][_0x261fb2(0x3c9)]:return pi(_0x1c6793,_0x47f7e8);case e[_0x261fb2(0x2bb)][_0x261fb2(0x31b)]:return _0x1c6793?_0x261fb2(0x2a2):_0x261fb2(0x2f7);case e[_0x261fb2(0x2bb)][_0x261fb2(0x150)]:return mi(_0x1c6793)['join'](',\x20');default:return $(_0x1c6793);}}function oi(_0x32488f,_0xe5aa43){const _0x3588a3=_0x21bd22;switch(_0xe5aa43[_0x3588a3(0x3ab)]){case e[_0x3588a3(0x2bb)]['SingleSelect']:case e[_0x3588a3(0x2bb)]['MultiSelect']:case e[_0x3588a3(0x2bb)][_0x3588a3(0xae)]:{let _0x27bfd0=si(_0x32488f,_0xe5aa43);if(Array[_0x3588a3(0x35a)](_0x32488f)){let _0x8189b8=[..._0x27bfd0];for(let _0x2a1809=0x0;_0x2a1809<_0x32488f['length'];_0x2a1809++)_0x2a1809 in _0x32488f&&_0x8189b8[_0x3588a3(0x147)](String(_0x32488f[_0x2a1809]));return _0x8189b8;}return _0x32488f==null?_0x27bfd0:[..._0x27bfd0,String(_0x32488f)];}case e[_0x3588a3(0x2bb)][_0x3588a3(0x318)]:{let _0x3c9ee4=li(_0x32488f);return[_0x3c9ee4[_0x3588a3(0x263)],_0x3c9ee4[_0x3588a3(0x1a9)]];}case e[_0x3588a3(0x2bb)]['Date']:case e[_0x3588a3(0x2bb)][_0x3588a3(0x225)]:case e[_0x3588a3(0x2bb)][_0x3588a3(0x1c3)]:return[di(_0x32488f,_0xe5aa43),$(_0x32488f)];case e[_0x3588a3(0x2bb)][_0x3588a3(0x3b0)]:case e[_0x3588a3(0x2bb)]['Currency']:return[fi(_0x32488f,_0xe5aa43),$(_0x32488f)];case e[_0x3588a3(0x2bb)][_0x3588a3(0x3c9)]:return[pi(_0x32488f,_0xe5aa43),$(_0x32488f)];case e[_0x3588a3(0x2bb)][_0x3588a3(0x31b)]:return _0x32488f?['Checked',_0x3588a3(0x18f),_0x3588a3(0x24f)]:['Unchecked','No',_0x3588a3(0x29c)];case e[_0x3588a3(0x2bb)][_0x3588a3(0x150)]:return mi(_0x32488f);default:return[$(_0x32488f)];}}function si(_0x4a2193,_0x18ff31){const _0x52a171=_0x21bd22;var _0x825db1;let _0x19e5c7=Array[_0x52a171(0x35a)]((_0x825db1=_0x18ff31[_0x52a171(0x396)])==null?void 0x0:_0x825db1[_0x52a171(0x26e)])?_0x18ff31['config']['options']:[],_0x4065be=[];if(Array[_0x52a171(0x35a)](_0x4a2193)){for(let _0xf3cd65=0x0;_0xf3cd65<_0x4a2193['length'];_0xf3cd65++){if(!(_0xf3cd65 in _0x4a2193))continue;let _0x261b0a=String(_0x4a2193[_0xf3cd65]);_0x261b0a&&_0x4065be[_0x52a171(0x147)](ci(_0x19e5c7,_0x261b0a));}return _0x4065be;}if(_0x4a2193!=null){let _0x4a66be=String(_0x4a2193);_0x4a66be&&_0x4065be['push'](ci(_0x19e5c7,_0x4a66be));}return _0x4065be;}function ci(_0x4e6252,_0x1b3260){const _0x5db719=_0x21bd22;for(let _0x26f7ea of _0x4e6252){if(typeof _0x26f7ea==_0x5db719(0x14d)&&_0x26f7ea===_0x1b3260)return _0x26f7ea;if(_0x26f7ea&&typeof _0x26f7ea==_0x5db719(0x391)){var _0x2dd949,_0x1bbc46,_0x1a126f;let _0x13b5f9=_0x26f7ea;if(String((_0x2dd949=(_0x1bbc46=_0x13b5f9['id'])==null?_0x13b5f9[_0x5db719(0x1d6)]:_0x1bbc46)==null?'':_0x2dd949)===_0x1b3260||String((_0x1a126f=_0x13b5f9[_0x5db719(0x1d6)])==null?'':_0x1a126f)===_0x1b3260){var _0x54fa91,_0x247f3e;return String((_0x54fa91=(_0x247f3e=_0x13b5f9['name'])==null?_0x13b5f9['id']:_0x247f3e)==null?_0x1b3260:_0x54fa91);}}}return _0x1b3260;}function li(_0x448351){const _0x204c63=_0x21bd22;if(_0x448351&&typeof _0x448351==_0x204c63(0x391)&&!Array[_0x204c63(0x35a)](_0x448351)){var _0x36c0c3,_0x321c46,_0x32ecf2;let _0x2410b6=_0x448351;return{'text':String((_0x36c0c3=(_0x321c46=_0x2410b6[_0x204c63(0x263)])==null?_0x2410b6['url']:_0x321c46)==null?'':_0x36c0c3),'url':String((_0x32ecf2=_0x2410b6[_0x204c63(0x1a9)])==null?'':_0x32ecf2)};}return{'text':$(_0x448351),'url':$(_0x448351)};}function ui(_0x175152){const _0x5d1b8e=_0x21bd22;let _0x1fd7ad=li(_0x175152);return _0x1fd7ad[_0x5d1b8e(0x263)]||_0x1fd7ad[_0x5d1b8e(0x1a9)];}function di(_0x591a93,_0x45d228){const _0x266e82=_0x21bd22;return typeof _0x591a93!=_0x266e82(0x307)||!Number[_0x266e82(0x342)](_0x591a93)?'':je(_0x591a93,_0x45d228[_0x266e82(0x396)]);}function fi(_0xb079a0,_0x437834){const _0x5b8444=_0x21bd22;let _0x29b37d=typeof _0xb079a0=='number'?_0xb079a0:Number(_0xb079a0);return Number[_0x5b8444(0x342)](_0x29b37d)?_r(_0x29b37d,_0x437834[_0x5b8444(0x396)]):'';}function pi(_0x5de3d3,_0x1d1a48){const _0x3016d7=_0x21bd22;var _0x2eb742;let _0x24ac5a=typeof _0x5de3d3=='number'?_0x5de3d3:Number(_0x5de3d3);if(!Number[_0x3016d7(0x342)](_0x24ac5a))return'';let _0x3a7854=(_0x2eb742=_0x1d1a48[_0x3016d7(0x396)])==null?{}:_0x2eb742,_0x3cd6cc=_0x3a7854[_0x3016d7(0x261)]===0x1||_0x3a7854['decimalPlaces']===0x2?_0x3a7854[_0x3016d7(0x261)]:0x0,_0x170cc2=_0x24ac5a[_0x3016d7(0x3a1)](_0x3cd6cc);return _0x3a7854['format']===_0x3016d7(0x307)?_0x170cc2:_0x170cc2+'%';}function mi(_0x1a4b3d){const _0x54af0a=_0x21bd22;return Array[_0x54af0a(0x35a)](_0x1a4b3d)?_0x1a4b3d[_0x54af0a(0x103)](_0x4c9069=>{const _0x4e502b=_0x54af0a;var _0x36f34f,_0x3e3059;if(!_0x4c9069||typeof _0x4c9069!=_0x4e502b(0x391))return[];let _0x3f00b2=_0x4c9069,_0x18ae02=String((_0x36f34f=(_0x3e3059=_0x3f00b2[_0x4e502b(0x1d6)])==null?_0x3f00b2[_0x4e502b(0x1a9)]:_0x3e3059)==null?'':_0x36f34f)[_0x4e502b(0x383)]();return _0x18ae02?[_0x18ae02]:[];}):[];}function $(_0x5cf57a){const _0x388740=_0x21bd22;if(_0x5cf57a==null)return'';if(typeof _0x5cf57a==_0x388740(0x2bc))return _0x5cf57a?_0x388740(0x2b5):'false';if(typeof _0x5cf57a==_0x388740(0x307))return String(_0x5cf57a);if(Array[_0x388740(0x35a)](_0x5cf57a)){let _0x3def97=[];for(let _0x2aa07=0x0;_0x2aa07<_0x5cf57a[_0x388740(0x1e3)];_0x2aa07++){if(!(_0x2aa07 in _0x5cf57a))continue;let _0x4a7b58=$(_0x5cf57a[_0x2aa07]);_0x4a7b58&&_0x3def97[_0x388740(0x147)](_0x4a7b58);}return _0x3def97['join'](',\x20');}if(typeof _0x5cf57a==_0x388740(0x391)){var _0x438e82,_0x4c308b,_0x24ec9b,_0x25c4b4;let _0x19bed0=_0x5cf57a;return String((_0x438e82=(_0x4c308b=(_0x24ec9b=(_0x25c4b4=_0x19bed0[_0x388740(0x351)])==null?_0x19bed0[_0x388740(0x1d6)]:_0x25c4b4)==null?_0x19bed0['text']:_0x24ec9b)==null?_0x19bed0['url']:_0x4c308b)==null?'':_0x438e82)['trim']();}return String(_0x5cf57a);}function hi(_0x103f37,_0x105dd9){const _0x5eed1c=_0x21bd22;let _0x43f19a=0x0;for(let _0x43c3fa of _0x105dd9)if(_0x43c3fa){if(_0x43c3fa===_0x103f37){_0x43f19a=Math['max'](_0x43f19a,0x12c);continue;}if(_0x43c3fa[_0x5eed1c(0x1f2)](_0x103f37)){_0x43f19a=Math[_0x5eed1c(0x38a)](_0x43f19a,0xfa);continue;}_0x43c3fa['includes'](_0x103f37)&&(_0x43f19a=Math[_0x5eed1c(0x38a)](_0x43f19a,0xc8));}return _0x43f19a;}function gi(_0x5cc806){const _0x51a9fd=_0x21bd22;return _0x5cc806[_0x51a9fd(0x383)]()[_0x51a9fd(0x2e3)](/\s+/g,'\x20')[_0x51a9fd(0xb5)]();}function _i(_0x588106){const _0x4c645b=_0x21bd22;return Array[_0x4c645b(0x139)](new Set(_0x588106));}function vi(_0x3b0208){const _0x3cd813=_0x21bd22;let _0x1b81cb=[];for(let {rowIndex:_0x31f5c5,fieldIndex:_0x74d06c,..._0x2d01f5}of _0x3b0208)_0x1b81cb[_0x3cd813(0x147)](_0x2d01f5);return _0x1b81cb;}exports[_0x21bd22(0x38c)]=J,exports[_0x21bd22(0x234)]=w,exports[_0x21bd22(0x1d1)]=P,exports[_0x21bd22(0x287)]=mn,exports[_0x21bd22(0x375)]=hn,exports[_0x21bd22(0x170)]=gn,exports[_0x21bd22(0x2de)]=_n,exports[_0x21bd22(0x280)]=vn,exports['CreateBaseTableCommand']=yn,exports[_0x21bd22(0x26a)]=Pn,exports[_0x21bd22(0x141)]=Fn,exports[_0x21bd22(0x119)]=In,exports[_0x21bd22(0x33d)]=Ln,exports[_0x21bd22(0x1a2)]=Rn,exports[_0x21bd22(0xee)]=zn,exports[_0x21bd22(0xc1)]=Bn,exports['EMBED_BASES_TABLE_RESOURCE_KEY']=dr,exports['EnsureBaseTemporalViewDateFieldsCommand']=Vn,exports[_0x21bd22(0x222)]=V,exports[_0x21bd22(0x34c)]=Ct,exports['IBaseProjectionService']=Ft,exports['IBaseViewRegistryService']=ei,exports['MoveBaseFieldCommand']=Wn,exports[_0x21bd22(0xf3)]=Gn,exports[_0x21bd22(0x262)]=Kn,exports[_0x21bd22(0xbf)]=qn,exports[_0x21bd22(0x17e)]=Jn,exports[_0x21bd22(0x321)]=Yn,exports[_0x21bd22(0xff)]=Xn,exports[_0x21bd22(0x2b4)]=Zn,exports['SetBaseViewFieldOrderCommand']=Qn,exports[_0x21bd22(0x386)]=$n,exports[_0x21bd22(0x289)]=er,exports[_0x21bd22(0x109)]=tr,exports[_0x21bd22(0x21e)]=nr,exports[_0x21bd22(0x2dc)]=rr,Object[_0x21bd22(0x3b5)](exports,'UniverBasesPlugin',{'enumerable':!0x0,'get':function(){return Z;}}),Object['defineProperty'](exports,'UniverRemoteBasesPlugin',{'enumerable':!0x0,'get':function(){return Q;}}),exports[_0x21bd22(0x2ea)]=ir,exports[_0x21bd22(0xc2)]=or,exports[_0x21bd22(0x332)]=ar,exports[_0x21bd22(0x104)]=sr,exports[_0x21bd22(0xd7)]=cr,exports[_0x21bd22(0x27d)]=lr,exports[_0x21bd22(0x1c1)]=D,exports[_0x21bd22(0x2ad)]=Sr,exports[_0x21bd22(0x3cc)]=ur,exports['createEmbedBasesTable']=fr,exports[_0x21bd22(0x158)]=pr,exports[_0x21bd22(0xfc)]=mr,exports['dateToExcelSerial']=T,exports[_0x21bd22(0x1f5)]=d,exports[_0x21bd22(0x186)]=je,exports['formatBaseNumberValue']=_r,exports[_0x21bd22(0x39b)]=v,exports[_0x21bd22(0x127)]=_,exports[_0x21bd22(0x2f2)]=xr,exports[_0x21bd22(0xbe)]=Ie,exports[_0x21bd22(0x292)]=E,exports[_0x21bd22(0x33a)]=ri,exports[_0x21bd22(0x113)]=o,exports[_0x21bd22(0x2c1)]=bn;
|
|
1
|
+
const _0xa3b18d=_0xfdce;(function(_0x1ffde9,_0xc44413){const _0x120f99=_0xfdce,_0x51c01c=_0x1ffde9();while(!![]){try{const _0x2f414e=parseInt(_0x120f99(0x323))/0x1+-parseInt(_0x120f99(0x166))/0x2+parseInt(_0x120f99(0x1d6))/0x3+parseInt(_0x120f99(0x239))/0x4*(-parseInt(_0x120f99(0x266))/0x5)+-parseInt(_0x120f99(0x2a5))/0x6+parseInt(_0x120f99(0x1b9))/0x7*(parseInt(_0x120f99(0x23a))/0x8)+parseInt(_0x120f99(0x343))/0x9;if(_0x2f414e===_0xc44413)break;else _0x51c01c['push'](_0x51c01c['shift']());}catch(_0x27e5d9){_0x51c01c['push'](_0x51c01c['shift']());}}}(_0x2efd,0x59bec),Object[_0xa3b18d(0x36d)](exports,Symbol[_0xa3b18d(0x25e)],{'value':_0xa3b18d(0x200)}));let e=require('@univerjs/core'),t=require('@univerjs-pro/engine-formula'),n=require('@univerjs-pro/license'),r=require('@univerjs/rpc'),i=0x0;function _0xfdce(_0x4c887e,_0x1fc6f5){_0x4c887e=_0x4c887e-0x160;const _0x2efd91=_0x2efd();let _0xfdce40=_0x2efd91[_0x4c887e];return _0xfdce40;}function a(){const _0x54c61a=_0xa3b18d;if(globalThis[_0x54c61a(0x222)]===!0x0)return!0x0;try{let _0x47e8f1=typeof location>'u'?'':location[_0x54c61a(0x455)],_0x380995=new URLSearchParams(_0x47e8f1);if(_0x380995['get'](_0x54c61a(0x470))==='1'||_0x380995[_0x54c61a(0x221)](_0x54c61a(0x470))===_0x54c61a(0x329)||_0x380995[_0x54c61a(0x221)](_0x54c61a(0x2cc))==='1')return!0x0;}catch{}try{let _0x5f20b1=typeof localStorage>'u'?null:localStorage[_0x54c61a(0x3cc)]('univer.basePerf');return _0x5f20b1==='1'||_0x5f20b1===_0x54c61a(0x329);}catch{return!0x1;}}function o(_0x26a1c1,_0xad0b31,_0x426cda){const _0x4b82f7=_0xa3b18d;if(!a())return _0xad0b31();let _0x1060a7=c(),_0x426ba8=_0x4b82f7(0x481)+i++;l(_0x426ba8+_0x4b82f7(0x32d));try{return _0xad0b31();}finally{let _0xb4b41f=c()-_0x1060a7;l(_0x426ba8+_0x4b82f7(0x16e)),u(_0x26a1c1,_0x426ba8+_0x4b82f7(0x32d),_0x426ba8+_0x4b82f7(0x16e)),s(_0x26a1c1,_0xb4b41f,_0x426cda);}}function s(_0x2e6c52,_0xc8cc8c,_0x5b6b4a){const _0x3c3f58=_0xa3b18d;if(!a())return;let _0x143c3b=Math['round'](_0xc8cc8c*0x64)/0x64,_0x3e5b1d=_0x5b6b4a&&Object[_0x3c3f58(0x1c8)](_0x5b6b4a)['length']?'\x20'+JSON['stringify'](_0x5b6b4a):'';console[_0x3c3f58(0x427)](_0x3c3f58(0x1f2)+_0x2e6c52+':\x20'+_0x143c3b+'ms'+_0x3e5b1d);}function c(){const _0x4dd2fa=_0xa3b18d;return typeof performance<'u'&&typeof performance[_0x4dd2fa(0x1c3)]==_0x4dd2fa(0x3d2)?performance[_0x4dd2fa(0x1c3)]():Date[_0x4dd2fa(0x1c3)]();}function l(_0x5ae752){const _0x272c51=_0xa3b18d;try{if(typeof performance<'u'){var _0x5793f8,_0x2dd9df;(_0x5793f8=(_0x2dd9df=performance)[_0x272c51(0x3bd)])==null||_0x5793f8[_0x272c51(0x24f)](_0x2dd9df,_0x5ae752);}}catch{}}function u(_0x3effc5,_0x10505c,_0x425dad){const _0x4ac624=_0xa3b18d;try{if(typeof performance<'u'){var _0x75230a,_0x2b21d8;(_0x75230a=(_0x2b21d8=performance)[_0x4ac624(0x3cb)])==null||_0x75230a[_0x4ac624(0x24f)](_0x2b21d8,_0x4ac624(0x1f2)+_0x3effc5,_0x10505c,_0x425dad);}}catch{}}function d(_0xe46307){const _0x428bd5=_0xa3b18d;var _0x3bb125,_0x2d72c0;return a()?o(_0x428bd5(0x420),()=>f(_0xe46307),{'tableId':_0xe46307['id'],'records':Object['keys']((_0x3bb125=_0xe46307[_0x428bd5(0x332)])==null?{}:_0x3bb125)[_0x428bd5(0x333)],'fields':_0xe46307[_0x428bd5(0x2d8)]['length'],'hasRecordOrder':!!((_0x2d72c0=_0xe46307[_0x428bd5(0x47c)])!=null&&_0x2d72c0[_0x428bd5(0x333)])}):f(_0xe46307);}function f(_0x4368f9){const _0x44014e=_0xa3b18d;var _0x2b8b1b,_0x153682,_0x1a7147,_0x3e77c9,_0x2893bd,_0x99de73,_0x44a454,_0x45c47b,_0x142375,_0x5bea64;let _0xdea842=(_0x2b8b1b=_0x4368f9[_0x44014e(0x332)])==null?{}:_0x2b8b1b,_0x545247=(_0x153682=_0x4368f9[_0x44014e(0x35e)])==null?{}:_0x153682,_0x12d11e=(_0x1a7147=(_0x3e77c9=_0x4368f9['recordOrder'])==null?void 0x0:_0x3e77c9[_0x44014e(0x314)](_0x565e65=>_0xdea842[_0x565e65]))==null?[]:_0x1a7147,_0x510914=new Set(_0x12d11e),_0x1ff43f=[];for(let _0x4a6f93 of Object[_0x44014e(0x29e)](_0xdea842))_0x510914[_0x44014e(0x397)](_0x4a6f93['id'])||_0x1ff43f[_0x44014e(0x439)](_0x4a6f93);let _0x2fbd04=_0x1ff43f[_0x44014e(0x333)]?[..._0x12d11e,...ue(_0x1ff43f)]:_0x12d11e,_0xe62b7=_0x4368f9[_0x44014e(0x2d8)][_0x44014e(0x314)](_0x24b390=>_0x545247[_0x24b390]),_0x5b3e2b={...(_0x2893bd=_0x4368f9['rowId'])==null?{}:_0x2893bd},_0x19a7bb={...(_0x99de73=_0x4368f9[_0x44014e(0x171)])==null?{}:_0x99de73},_0x557fc7={...(_0x44a454=_0x4368f9[_0x44014e(0x2d6)])==null?{}:_0x44a454};return _0x4368f9[_0x44014e(0x47c)]=_0x2fbd04,_0x4368f9[_0x44014e(0x164)]={},_0x4368f9['rowId']={},_0x4368f9[_0x44014e(0x3b6)]={},_0x4368f9['colId']={},_0x4368f9[_0x44014e(0x2d6)]={},_0x4368f9[_0x44014e(0x37d)]={...(_0x45c47b=_0x4368f9['resources'])==null?{}:_0x45c47b},_0x4368f9[_0x44014e(0x37d)][_0x44014e(0x42f)]={...(_0x142375=_0x4368f9['resources'][_0x44014e(0x42f)])==null?{}:_0x142375},_0x4368f9['resources'][_0x44014e(0x3dd)]={...(_0x5bea64=_0x4368f9[_0x44014e(0x37d)]['attachments'])==null?{}:_0x5bea64},_0x2fbd04[_0x44014e(0x465)]((_0x39d6cd,_0x3bd26f)=>{const _0x1e45d1=_0x44014e;_0x4368f9[_0x1e45d1(0x164)][_0x39d6cd]=_0x3bd26f,_0x4368f9[_0x1e45d1(0x262)][_0x3bd26f]=_0x39d6cd;}),_0xe62b7[_0x44014e(0x465)]((_0x3a8642,_0x3527fb)=>{const _0x3f519e=_0x44014e;_0x4368f9[_0x3f519e(0x3b6)][_0x3a8642]=_0x3527fb,_0x4368f9[_0x3f519e(0x171)][_0x3527fb]=_0x3a8642;}),Object[_0x44014e(0x217)](_0x557fc7)[_0x44014e(0x465)](([_0x42c1b4,_0x31f333])=>{const _0x2e9ce2=_0x44014e;var _0x50dcbc,_0x223a95;let _0x200a5f=Number(_0x42c1b4),_0x2ed0a4=(_0x50dcbc=_0x5b3e2b[_0x200a5f])==null?_0x2fbd04[_0x200a5f]:_0x50dcbc,_0x3d9b92=_0x2ed0a4?_0x4368f9[_0x2e9ce2(0x164)][_0x2ed0a4]:void 0x0;_0x3d9b92!=null&&(_0x4368f9['cellData'][_0x3d9b92]={...(_0x223a95=_0x4368f9[_0x2e9ce2(0x2d6)][_0x3d9b92])==null?{}:_0x223a95},Object['entries'](_0x31f333==null?{}:_0x31f333)[_0x2e9ce2(0x465)](([_0x3be07,_0xf681dc])=>{const _0x141c72=_0x2e9ce2;var _0x165fd8;let _0x594cbd=Number(_0x3be07),_0x3b7688=(_0x165fd8=_0x19a7bb[_0x594cbd])==null?_0xe62b7[_0x594cbd]:_0x165fd8,_0x229a6e=_0x3b7688?_0x4368f9[_0x141c72(0x3b6)][_0x3b7688]:void 0x0;_0x229a6e!=null&&(_0x4368f9[_0x141c72(0x2d6)][_0x3d9b92][_0x229a6e]=ee(_0xf681dc));}));}),Object[_0x44014e(0x29e)](_0xdea842)[_0x44014e(0x465)](_0x4c25b4=>{const _0x175739=_0x44014e;var _0x468eb8,_0x189f09;let _0x246883=_0x4368f9['rowIndex'][_0x4c25b4['id']];_0x246883!=null&&(_0x4368f9[_0x175739(0x2d6)][_0x246883]={...(_0x468eb8=_0x4368f9['cellData'][_0x246883])==null?{}:_0x468eb8},Object[_0x175739(0x217)]((_0x189f09=_0x4c25b4[_0x175739(0x29e)])==null?{}:_0x189f09)[_0x175739(0x465)](([_0x36f6b1,_0x3f6d8f])=>{const _0x53f7dd=_0x175739;let _0x15ae81=_0x545247[_0x36f6b1];(_0x15ae81==null?void 0x0:_0x15ae81[_0x53f7dd(0x177)])===e['BaseFieldType'][_0x53f7dd(0x208)]&&ie(_0x4368f9,_0x4c25b4['id'],_0x36f6b1,_0x3f6d8f);let _0x5d94cc=_0x4368f9[_0x53f7dd(0x3b6)][_0x36f6b1];if(_0x5d94cc==null)return;let _0x1a8f14=_0x4368f9[_0x53f7dd(0x2d6)][_0x246883][_0x5d94cc];if(_0x1a8f14!=null){se(_0x1a8f14,_0x15ae81,_0x3f6d8f)&&(_0x4368f9[_0x53f7dd(0x2d6)][_0x246883][_0x5d94cc]=y(_0x3f6d8f,_0x15ae81));return;}_0x4368f9['cellData'][_0x246883][_0x5d94cc]=y(_0x3f6d8f,_0x15ae81);}));}),_0x4368f9;}function p(_0x3ae6e5){const _0x45b9b9=_0xa3b18d;var _0x1e013b;return d(_0x3ae6e5),Object[_0x45b9b9(0x217)]((_0x1e013b=_0x3ae6e5[_0x45b9b9(0x262)])==null?{}:_0x1e013b)[_0x45b9b9(0x465)](([_0x3dbf06,_0x1ae305])=>{const _0x114cfe=_0x45b9b9;var _0x53a20d,_0x1ea04b,_0x3bfb71;let _0x166a56=Number(_0x3dbf06),_0x499a01=_0x3ae6e5[_0x114cfe(0x332)][_0x1ae305];_0x499a01&&(_0x499a01[_0x114cfe(0x29e)]={...(_0x53a20d=_0x499a01[_0x114cfe(0x29e)])==null?{}:_0x53a20d},Object[_0x114cfe(0x217)]((_0x1ea04b=(_0x3bfb71=_0x3ae6e5[_0x114cfe(0x2d6)])==null?void 0x0:_0x3bfb71[_0x166a56])==null?{}:_0x1ea04b)[_0x114cfe(0x465)](([_0x554a7f,_0x23ecd2])=>{const _0x3c8c5a=_0x114cfe;var _0x3a5826;let _0x339610=(_0x3a5826=_0x3ae6e5[_0x3c8c5a(0x171)])==null?void 0x0:_0x3a5826[Number(_0x554a7f)];_0x339610&&(_0x499a01['values'][_0x339610]=b(_0x23ecd2,_0x3ae6e5[_0x3c8c5a(0x35e)][_0x339610],_0x3ae6e5,_0x1ae305));}));}),_0x3ae6e5;}function m(_0x43c7e4,_0x2a8255){const _0x5a90ed=_0xa3b18d;for(let {row:_0x4b52b2,col:_0x18cb9b}of _0x2a8255){var _0x169e97,_0x3f6867,_0x232f9b,_0x367cb0,_0x3533cd;let _0x4e9215=(_0x169e97=_0x43c7e4['rowId'])==null?void 0x0:_0x169e97[_0x4b52b2],_0xe950=(_0x3f6867=_0x43c7e4[_0x5a90ed(0x171)])==null?void 0x0:_0x3f6867[_0x18cb9b],_0x51722e=_0x4e9215?_0x43c7e4[_0x5a90ed(0x332)][_0x4e9215]:void 0x0;if(!_0x51722e||!_0xe950)continue;let _0x3c48fd=(_0x232f9b=_0x43c7e4[_0x5a90ed(0x2d6)])==null||(_0x232f9b=_0x232f9b[_0x4b52b2])==null?void 0x0:_0x232f9b[_0x18cb9b];_0x3c48fd==null&&!Object['prototype'][_0x5a90ed(0x369)][_0x5a90ed(0x24f)]((_0x367cb0=_0x51722e[_0x5a90ed(0x29e)])==null?{}:_0x367cb0,_0xe950)||(_0x51722e['values']={...(_0x3533cd=_0x51722e['values'])==null?{}:_0x3533cd},_0x51722e[_0x5a90ed(0x29e)][_0xe950]=b(_0x3c48fd,_0x43c7e4[_0x5a90ed(0x35e)][_0xe950],_0x43c7e4,_0x4e9215));}return _0x43c7e4;}function h(_0x19b324,_0x474eb1,_0x28779b){const _0xe41800=_0xa3b18d;var _0x1e5362,_0x54d9a2,_0x2337ab,_0x4ab553,_0x5cddb5,_0x35a7e7;let _0x281b19=(_0x1e5362=_0x19b324[_0xe41800(0x164)])==null?void 0x0:_0x1e5362[_0x474eb1],_0x4bff94=(_0x54d9a2=_0x19b324[_0xe41800(0x3b6)])==null?void 0x0:_0x54d9a2[_0x28779b];if(_0x281b19!=null&&_0x4bff94!=null&&((_0x2337ab=_0x19b324['rowId'])==null?void 0x0:_0x2337ab[_0x281b19])===_0x474eb1&&((_0x4ab553=_0x19b324[_0xe41800(0x171)])==null?void 0x0:_0x4ab553[_0x4bff94])===_0x28779b)return{'row':_0x281b19,'col':_0x4bff94};let _0x558827=d(_0x19b324),_0x3155fe=(_0x5cddb5=_0x558827[_0xe41800(0x164)])==null?void 0x0:_0x5cddb5[_0x474eb1],_0x2520dc=(_0x35a7e7=_0x558827[_0xe41800(0x3b6)])==null?void 0x0:_0x35a7e7[_0x28779b];return _0x3155fe==null||_0x2520dc==null?null:{'row':_0x3155fe,'col':_0x2520dc};}function g(_0x28637b,_0x41582a,_0x4d203f){const _0x54b183=_0xa3b18d;var _0x458a74;let _0x414fca=h(_0x28637b,_0x41582a,_0x4d203f);if(_0x414fca)return(_0x458a74=_0x28637b['cellData'])==null||(_0x458a74=_0x458a74[_0x414fca[_0x54b183(0x33a)]])==null?void 0x0:_0x458a74[_0x414fca[_0x54b183(0x26e)]];}function _(_0x488c39,_0x327c82,_0x3fa0e1){const _0x2a4f80=_0xa3b18d;var _0x5b6ef5,_0x429a31;let _0xa896ad=g(_0x488c39,_0x327c82,_0x3fa0e1),_0x5015a0=_0x488c39['fields'][_0x3fa0e1];if((_0x5015a0==null?void 0x0:_0x5015a0['type'])===e['BaseFieldType']['Attachment']){var _0x45f706,_0x39d214;return(_0x45f706=ae(_0x488c39,_0x327c82,_0x3fa0e1))==null?x((_0x39d214=_0x488c39[_0x2a4f80(0x332)][_0x327c82])==null||(_0x39d214=_0x39d214['values'])==null?void 0x0:_0x39d214[_0x3fa0e1]):_0x45f706;}if(S(_0x5015a0)||(_0x5015a0==null?void 0x0:_0x5015a0[_0x2a4f80(0x177)])===e[_0x2a4f80(0x17a)][_0x2a4f80(0x43a)]){var _0x2ce148;let _0x35a164=(_0x2ce148=_0x488c39['records'][_0x327c82])==null||(_0x2ce148=_0x2ce148['values'])==null?void 0x0:_0x2ce148[_0x3fa0e1];return _0x35a164!=null&&_0x35a164!==''?oe(_0x35a164,_0x5015a0):b(_0xa896ad,_0x5015a0,_0x488c39,_0x327c82);}if(_0xa896ad&&Object[_0x2a4f80(0x430)][_0x2a4f80(0x369)][_0x2a4f80(0x24f)](_0xa896ad,'v')){var _0x53dc43;return(_0x53dc43=_0xa896ad['v'])==null?null:_0x53dc43;}return(_0x5b6ef5=(_0x429a31=_0x488c39[_0x2a4f80(0x332)][_0x327c82])==null||(_0x429a31=_0x429a31[_0x2a4f80(0x29e)])==null?void 0x0:_0x429a31[_0x3fa0e1])==null?null:_0x5b6ef5;}function v(_0x498012,_0x59e34e,_0x295a59){const _0x427b44=_0xa3b18d;var _0x56cdd5,_0x42012d,_0x95ed94;let _0x4df018=g(_0x498012,_0x59e34e,_0x295a59);if(_0x4df018&&Object[_0x427b44(0x430)]['hasOwnProperty']['call'](_0x4df018,'v')){var _0x1b914a;return(_0x1b914a=_0x4df018['v'])==null?null:_0x1b914a;}let _0x470f46=_0x498012[_0x427b44(0x35e)][_0x295a59];return(_0x56cdd5=y((_0x42012d=(_0x95ed94=_0x498012[_0x427b44(0x332)][_0x59e34e])==null||(_0x95ed94=_0x95ed94['values'])==null?void 0x0:_0x95ed94[_0x295a59])==null?null:_0x42012d,_0x470f46)['v'])==null?null:_0x56cdd5;}function y(_0x46cd53,_0x49f8ea){const _0x4a41a6=_0xa3b18d;if(ne(_0x46cd53))return(_0x49f8ea==null?void 0x0:_0x49f8ea[_0x4a41a6(0x177)])===e['BaseFieldType'][_0x4a41a6(0x208)]?{..._0x46cd53,'v':'','t':e['CellValueType']['STRING']}:ee(_0x46cd53);if((_0x49f8ea==null?void 0x0:_0x49f8ea['type'])===e['BaseFieldType'][_0x4a41a6(0x208)])return{'v':'','t':e['CellValueType'][_0x4a41a6(0x1fe)]};if(S(_0x49f8ea))return{'v':C(_0x46cd53)[_0x4a41a6(0x1e9)](',\x20'),'t':e[_0x4a41a6(0x2a0)][_0x4a41a6(0x1fe)]};if((_0x49f8ea==null?void 0x0:_0x49f8ea[_0x4a41a6(0x177)])===e['BaseFieldType'][_0x4a41a6(0x43a)]&&_0x46cd53&&typeof _0x46cd53==_0x4a41a6(0x20d)&&!Array[_0x4a41a6(0x18c)](_0x46cd53)){var _0x3eeef6,_0x58d203;let _0xd07bfa=_0x46cd53;return{'v':String((_0x3eeef6=(_0x58d203=_0xd07bfa[_0x4a41a6(0x3ec)])==null?_0xd07bfa[_0x4a41a6(0x254)]:_0x58d203)==null?'':_0x3eeef6),'t':e[_0x4a41a6(0x2a0)]['STRING']};}return _0x46cd53===null||typeof _0x46cd53==_0x4a41a6(0x181)||typeof _0x46cd53==_0x4a41a6(0x3fe)||typeof _0x46cd53==_0x4a41a6(0x25f)?{'v':_0x46cd53,'t':le(_0x46cd53)}:{'v':null,'t':null};}function ee(_0x3eb37f){let _0x387d4c=de(_0x3eb37f['t'],_0x3eb37f['v']);if(_0x387d4c===void 0x0){let {t:_0x271b34,..._0x12c2af}=_0x3eb37f;return _0x12c2af;}return{..._0x3eb37f,'t':_0x387d4c};}function b(_0x200867,_0x2b7f65,_0x899f2c,_0x306ad3){const _0x1a2690=_0xa3b18d;if(!_0x200867)return null;if((_0x2b7f65==null?void 0x0:_0x2b7f65['type'])===e[_0x1a2690(0x17a)]['Attachment']){var _0x3dbcea;return _0x899f2c&&_0x306ad3?(_0x3dbcea=ae(_0x899f2c,_0x306ad3,_0x2b7f65['id']))==null?[]:_0x3dbcea:[];}if(S(_0x2b7f65))return C(_0x200867['v']);if((_0x2b7f65==null?void 0x0:_0x2b7f65[_0x1a2690(0x177)])===e[_0x1a2690(0x17a)][_0x1a2690(0x43a)]&&_0x899f2c&&_0x306ad3){var _0x755200;let _0x59df5f=(_0x755200=_0x899f2c[_0x1a2690(0x332)][_0x306ad3])==null||(_0x755200=_0x755200[_0x1a2690(0x29e)])==null?void 0x0:_0x755200[_0x2b7f65['id']];if(_0x59df5f&&typeof _0x59df5f==_0x1a2690(0x20d)&&!Array[_0x1a2690(0x18c)](_0x59df5f))return _0x59df5f;}if(Object[_0x1a2690(0x430)][_0x1a2690(0x369)]['call'](_0x200867,'v')){var _0x1d78bd;return(_0x1d78bd=_0x200867['v'])==null?null:_0x1d78bd;}return null;}function te(_0x382176,_0xa12745,_0xbc012c,_0x320c96,_0x43463c){const _0x343eb7=_0xa3b18d;return(_0xbc012c==null?void 0x0:_0xbc012c[_0x343eb7(0x177)])===e[_0x343eb7(0x17a)][_0x343eb7(0x208)]?x(_0x382176):S(_0xbc012c)?C(_0x382176):(_0xbc012c==null?void 0x0:_0xbc012c[_0x343eb7(0x177)])===e[_0x343eb7(0x17a)]['Link']&&_0x382176&&typeof _0x382176==_0x343eb7(0x20d)&&!Array[_0x343eb7(0x18c)](_0x382176)&&!ne(_0x382176)?_0x382176:b(_0xa12745,_0xbc012c,_0x320c96,_0x43463c);}function ne(_0x59bef7){const _0x30f30e=_0xa3b18d;return!!_0x59bef7&&typeof _0x59bef7==_0x30f30e(0x20d)&&(Object[_0x30f30e(0x430)][_0x30f30e(0x369)][_0x30f30e(0x24f)](_0x59bef7,'v')||Object[_0x30f30e(0x430)][_0x30f30e(0x369)][_0x30f30e(0x24f)](_0x59bef7,'t')||Object[_0x30f30e(0x430)][_0x30f30e(0x369)][_0x30f30e(0x24f)](_0x59bef7,'p')||Object[_0x30f30e(0x430)][_0x30f30e(0x369)]['call'](_0x59bef7,'f')||Object[_0x30f30e(0x430)][_0x30f30e(0x369)][_0x30f30e(0x24f)](_0x59bef7,'si'));}function re(_0x35fadb,_0x1a3d68){return _0x35fadb+'\x1f'+_0x1a3d68;}function ie(_0x25840c,_0x3f62ae,_0x43d03e,_0x189964){const _0x5c6b4a=_0xa3b18d;var _0xa956ed,_0x2e72d,_0xabec7f;let _0x3b4241=x(_0x189964);_0x25840c[_0x5c6b4a(0x37d)]={...(_0xa956ed=_0x25840c[_0x5c6b4a(0x37d)])==null?{}:_0xa956ed},_0x25840c[_0x5c6b4a(0x37d)][_0x5c6b4a(0x42f)]={...(_0x2e72d=_0x25840c['resources'][_0x5c6b4a(0x42f)])==null?{}:_0x2e72d},_0x25840c[_0x5c6b4a(0x37d)][_0x5c6b4a(0x3dd)]={...(_0xabec7f=_0x25840c[_0x5c6b4a(0x37d)][_0x5c6b4a(0x3dd)])==null?{}:_0xabec7f};let _0x561719=re(_0x43d03e,_0x3f62ae),_0x4e8772=[];for(let _0x31583f=0x0;_0x31583f<_0x3b4241[_0x5c6b4a(0x333)];_0x31583f++){var _0x2ccd7a;if(!(_0x31583f in _0x3b4241))continue;let _0x4c5e14=_0x3b4241[_0x31583f],_0x214754=String((_0x2ccd7a=_0x4c5e14['id'])==null?_0x561719+'\x1f'+_0x31583f:_0x2ccd7a),_0x3c1493={..._0x4c5e14,'id':_0x214754};_0x25840c[_0x5c6b4a(0x37d)][_0x5c6b4a(0x3dd)][_0x214754]=_0x3c1493,_0x4e8772[_0x5c6b4a(0x439)](_0x214754);}_0x25840c[_0x5c6b4a(0x37d)][_0x5c6b4a(0x42f)][_0x561719]=_0x4e8772;}function ae(_0x4a2feb,_0xc0342b,_0x892458){const _0x1efcc9=_0xa3b18d;var _0x36ace6;let _0x27fd14=re(_0x892458,_0xc0342b),_0x4bdacf=(_0x36ace6=_0x4a2feb[_0x1efcc9(0x37d)])==null||(_0x36ace6=_0x36ace6[_0x1efcc9(0x42f)])==null?void 0x0:_0x36ace6[_0x27fd14];if(!_0x4bdacf)return null;let _0x5db9f1=[];for(let _0x1004cd=0x0;_0x1004cd<_0x4bdacf[_0x1efcc9(0x333)];_0x1004cd++){var _0x41e329;if(!(_0x1004cd in _0x4bdacf))continue;let _0x363128=(_0x41e329=_0x4a2feb[_0x1efcc9(0x37d)])==null||(_0x41e329=_0x41e329['attachments'])==null?void 0x0:_0x41e329[_0x4bdacf[_0x1004cd]];_0x363128&&_0x5db9f1[_0x1efcc9(0x439)]({..._0x363128});}return _0x5db9f1;}function x(_0x437f9f){const _0x13ecb0=_0xa3b18d;if(_0x437f9f==null||_0x437f9f===''||ne(_0x437f9f)&&!('id'in _0x437f9f)&&!(_0x13ecb0(0x2cb)in _0x437f9f))return[];let _0x4221d2=Array[_0x13ecb0(0x18c)](_0x437f9f)?_0x437f9f:[_0x437f9f],_0xe3a5fd=[];for(let _0x1d0865=0x0;_0x1d0865<_0x4221d2[_0x13ecb0(0x333)];_0x1d0865++){if(!(_0x1d0865 in _0x4221d2))continue;let _0x506065=_0x4221d2[_0x1d0865],_0x5d630a=_0x506065&&typeof _0x506065=='object'?{..._0x506065}:{'id':_0x13ecb0(0x467)+_0x1d0865,'name':String(_0x506065)};Object[_0x13ecb0(0x1c8)](_0x5d630a)['length']>0x0&&_0xe3a5fd['push'](_0x5d630a);}return _0xe3a5fd;}function oe(_0x199a41,_0x31e022){const _0x1b5454=_0xa3b18d;return(_0x31e022==null?void 0x0:_0x31e022[_0x1b5454(0x177)])===e[_0x1b5454(0x17a)][_0x1b5454(0x208)]?x(_0x199a41):S(_0x31e022)?C(_0x199a41):_0x199a41;}function se(_0x581c43,_0x323148,_0x3424da){const _0x559502=_0xa3b18d;return(_0x323148==null?void 0x0:_0x323148[_0x559502(0x177)])===e[_0x559502(0x17a)][_0x559502(0x208)]?_0x581c43['v']!=='':S(_0x323148)?Array[_0x559502(0x18c)](_0x3424da)&&(_0x581c43['v']==null||_0x581c43['v']===''):!0x1;}function S(_0x35bcd0){const _0x367531=_0xa3b18d;return(_0x35bcd0==null?void 0x0:_0x35bcd0[_0x367531(0x177)])===e[_0x367531(0x17a)][_0x367531(0x35d)]||(_0x35bcd0==null?void 0x0:_0x35bcd0['type'])===e[_0x367531(0x17a)][_0x367531(0x2bc)]||(_0x35bcd0==null?void 0x0:_0x35bcd0[_0x367531(0x177)])===e['BaseFieldType']['Group'];}function C(_0x277446){const _0x1d6f6f=_0xa3b18d;if(_0x277446==null||_0x277446==='')return[];let _0x249396=[];if(Array[_0x1d6f6f(0x18c)](_0x277446)){for(let _0x20929a=0x0;_0x20929a<_0x277446[_0x1d6f6f(0x333)];_0x20929a++){if(!(_0x20929a in _0x277446))continue;let _0x30f9e2=ce(_0x277446[_0x20929a]);_0x30f9e2&&_0x249396[_0x1d6f6f(0x439)](_0x30f9e2);}return _0x249396;}for(let _0x257eb8 of String(_0x277446)[_0x1d6f6f(0x36a)](',')){let _0x17c2e3=_0x257eb8['trim']();_0x17c2e3&&_0x249396[_0x1d6f6f(0x439)](_0x17c2e3);}return _0x249396;}function ce(_0x4e6d9e){const _0x39e2a9=_0xa3b18d;if(_0x4e6d9e==null)return'';if(typeof _0x4e6d9e==_0x39e2a9(0x181)||typeof _0x4e6d9e=='number'||typeof _0x4e6d9e==_0x39e2a9(0x25f))return String(_0x4e6d9e);if(typeof _0x4e6d9e==_0x39e2a9(0x20d)){var _0x432ff6,_0x2501ee,_0x202f30;let _0x4245b3=_0x4e6d9e;return String((_0x432ff6=(_0x2501ee=(_0x202f30=_0x4245b3['id'])==null?_0x4245b3[_0x39e2a9(0x2cb)]:_0x202f30)==null?_0x4245b3[_0x39e2a9(0x3ec)]:_0x2501ee)==null?'':_0x432ff6);}return String(_0x4e6d9e);}function le(_0x3e3db3){const _0x343994=_0xa3b18d;return _0x3e3db3==null?null:typeof _0x3e3db3==_0x343994(0x3fe)?e['CellValueType'][_0x343994(0x268)]:typeof _0x3e3db3==_0x343994(0x25f)?e[_0x343994(0x2a0)][_0x343994(0x2e1)]:e[_0x343994(0x2a0)][_0x343994(0x1fe)];}function ue(_0x50f274){const _0x8decf3=_0xa3b18d;_0x50f274[_0x8decf3(0x33d)]((_0x3007ff,_0x2ea47e)=>_0x3007ff[_0x8decf3(0x390)][_0x8decf3(0x387)](_0x2ea47e[_0x8decf3(0x390)]));let _0x572975=[];for(let _0xade9c8 of _0x50f274)_0x572975[_0x8decf3(0x439)](_0xade9c8['id']);return _0x572975;}function de(_0x24ff94,_0x2a6ca5){const _0x2446a7=_0xa3b18d;return _0x24ff94===e['CellValueType']['STRING']||_0x24ff94===e['CellValueType'][_0x2446a7(0x268)]||_0x24ff94===e[_0x2446a7(0x2a0)][_0x2446a7(0x2e1)]||_0x24ff94===e['CellValueType'][_0x2446a7(0x410)]||_0x24ff94==null?_0x24ff94:le(_0x2a6ca5==null?null:_0x2a6ca5);}var w=class{['applyOp'](_0x315c96,_0x3f0a53){const _0x1a6e08=_0xa3b18d;let _0x4a4dca=this['getAffectedRanges'](_0x3f0a53),_0x95c48b=o(_0x1a6e08(0x40a),()=>ye(_0x315c96,_0x3f0a53),{'invalidations':_0x4a4dca[_0x1a6e08(0x333)]}),_0xa7cc7c=o(_0x1a6e08(0x466),()=>e[_0x1a6e08(0x40f)]['type']['apply'](_0x95c48b,_0x3f0a53),{'invalidations':_0x4a4dca[_0x1a6e08(0x333)]});return fe(_0xa7cc7c,_0x4a4dca)||this[_0x1a6e08(0x27c)](_0xa7cc7c,_0x4a4dca)[_0x1a6e08(0x465)](_0x175511=>{p(_0x175511);}),_0xa7cc7c;}[_0xa3b18d(0x183)](_0x1186e3,_0x3de3a8){const _0x56bbeb=_0xa3b18d;return e[_0x56bbeb(0x40f)][_0x56bbeb(0x177)]['invertWithDoc'](_0x3de3a8,_0x1186e3);}['getAffectedRanges'](_0x124435){const _0x136d63=_0xa3b18d;let _0x40f70d=ge(_0x124435);return _0x40f70d[_0x136d63(0x333)]?_e(_0x40f70d[_0x136d63(0x2f9)](_0x4f0796=>this['getAffectedRanges'](_0x4f0796))):pe(_0x124435);}[_0xa3b18d(0x27c)](_0x584d4d,_0x4f4911){const _0x44aa44=_0xa3b18d;if(!_0x4f4911[_0x44aa44(0x333)])return[];if(_0x4f4911[_0x44aa44(0x24e)](_0x32ed85=>!_0x32ed85[_0x44aa44(0x473)])){var _0x32b8d8;return Object[_0x44aa44(0x29e)]((_0x32b8d8=_0x584d4d[_0x44aa44(0x258)])==null?{}:_0x32b8d8);}return Array[_0x44aa44(0x3aa)](new Set(_0x4f4911['map'](_0x4c7987=>_0x4c7987[_0x44aa44(0x473)])))[_0x44aa44(0x2f9)](_0x50f3a1=>{var _0x5f478e;let _0x16e85c=(_0x5f478e=_0x584d4d['tables'])==null?void 0x0:_0x5f478e[_0x50f3a1];return _0x16e85c?[_0x16e85c]:[];});}};function fe(_0x495196,_0x201ce5){const _0x2f780e=_0xa3b18d;if(!_0x201ce5[_0x2f780e(0x333)]||_0x201ce5[_0x2f780e(0x24e)](_0x3ed207=>_0x3ed207['reason']!=='cell'))return!0x1;let _0x5b5aea=new Map();for(let _0x11767f of _0x201ce5){var _0x23f7c8;if(!_0x11767f['tableId']||_0x11767f[_0x2f780e(0x33a)]==null||_0x11767f[_0x2f780e(0x451)]==null)continue;let _0x48670a=(_0x23f7c8=_0x5b5aea[_0x2f780e(0x221)](_0x11767f['tableId']))==null?[]:_0x23f7c8;_0x48670a[_0x2f780e(0x439)]({'row':_0x11767f[_0x2f780e(0x33a)],'col':_0x11767f['column']}),_0x5b5aea['set'](_0x11767f['tableId'],_0x48670a);}return _0x5b5aea['forEach']((_0x435ba7,_0x4a6b2f)=>{const _0x5cb69d=_0x2f780e;var _0x2fc764;let _0x3d2e7d=(_0x2fc764=_0x495196[_0x5cb69d(0x258)])==null?void 0x0:_0x2fc764[_0x4a6b2f];_0x3d2e7d&&m(_0x3d2e7d,_0x435ba7);}),!0x0;}function pe(_0x616229){const _0x2dee21=_0xa3b18d;if(!Array['isArray'](_0x616229)||_0x616229[_0x2dee21(0x333)]<0x2)return[{'tableId':'','reason':_0x2dee21(0x335)}];let _0x3c1114=_0x616229,_0x3b55a4=_0x3c1114['indexOf'](_0x2dee21(0x258));return _0x3b55a4===-0x1||typeof _0x3c1114[_0x3b55a4+0x1]!='string'?_0x3c1114[0x0]===_0x2dee21(0x403)?[]:[{'tableId':'','reason':_0x2dee21(0x335)}]:me(_0x3c1114,_0x3b55a4,String(_0x3c1114[_0x3b55a4+0x1]));}function me(_0x581aa0,_0xaaee10,_0x5a7e70){const _0x119a45=_0xa3b18d;let _0x3e945d=_0x581aa0[_0xaaee10+0x2];return _0x3e945d===_0x119a45(0x332)&&typeof _0x581aa0[_0xaaee10+0x3]==_0x119a45(0x181)?he(_0x581aa0,_0xaaee10,_0x5a7e70,String(_0x581aa0[_0xaaee10+0x3])):_0x3e945d===_0x119a45(0x2d6)&&_0x581aa0[_0xaaee10+0x3]!=null&&_0x581aa0[_0xaaee10+0x4]!=null?[{'tableId':_0x5a7e70,'reason':_0x119a45(0x32a),'row':Number(_0x581aa0[_0xaaee10+0x3]),'column':Number(_0x581aa0[_0xaaee10+0x4])}]:_0x3e945d==='fields'&&typeof _0x581aa0[_0xaaee10+0x3]=='string'?[{'tableId':_0x5a7e70,'reason':_0x119a45(0x41c),'fieldId':String(_0x581aa0[_0xaaee10+0x3])}]:_0x3e945d==='views'&&typeof _0x581aa0[_0xaaee10+0x3]==_0x119a45(0x181)?[{'tableId':_0x5a7e70,'reason':_0x119a45(0x418),'viewId':String(_0x581aa0[_0xaaee10+0x3])}]:[{'tableId':_0x5a7e70,'reason':_0x3e945d===void 0x0?_0x119a45(0x3ac):'unknown'}];}function he(_0x1034ee,_0x341156,_0x4e9390,_0x461c91){const _0x3bba44=_0xa3b18d;return _0x1034ee[_0x341156+0x4]===_0x3bba44(0x29e)&&typeof _0x1034ee[_0x341156+0x5]==_0x3bba44(0x181)?[{'tableId':_0x4e9390,'reason':_0x3bba44(0x32a),'recordId':_0x461c91,'fieldId':String(_0x1034ee[_0x341156+0x5])}]:_0x1034ee[_0x341156+0x4]===_0x3bba44(0x187)||_0x1034ee[_0x341156+0x4]===_0x3bba44(0x359)?[]:[{'tableId':_0x4e9390,'reason':_0x3bba44(0x42a),'recordId':_0x461c91}];}function ge(_0x596697){const _0x5f1faa=_0xa3b18d;if(!Array[_0x5f1faa(0x18c)](_0x596697))return[];let _0x3ae3d0=_0x596697[_0x5f1faa(0x314)](Array[_0x5f1faa(0x18c)]);if(_0x3ae3d0[_0x5f1faa(0x333)]>0x1&&_0x3ae3d0[_0x5f1faa(0x333)]===_0x596697[_0x5f1faa(0x333)])return _0x3ae3d0;let _0x3c7613=_0x596697['findIndex'](Array[_0x5f1faa(0x18c)]);if(_0x3c7613>0x0&&_0x596697['slice'](_0x3c7613)[_0x5f1faa(0x1c6)](Array[_0x5f1faa(0x18c)])){let _0x213fba=_0x596697[_0x5f1faa(0x2ce)](0x0,_0x3c7613);return _0x596697[_0x5f1faa(0x2ce)](_0x3c7613)[_0x5f1faa(0x1da)](_0x4e515f=>[..._0x213fba,..._0x4e515f]);}let _0x3cb9a5=_0x596697['indexOf']('tables');if(_0x3cb9a5===-0x1||typeof _0x596697[_0x3cb9a5+0x1]!=_0x5f1faa(0x181))return[];let _0x46a1ca=String(_0x596697[_0x3cb9a5+0x1]),_0x30354d=_0x596697['slice'](_0x3cb9a5+0x2)['filter'](Array[_0x5f1faa(0x18c)]);return _0x30354d['length']<=0x1?[]:_0x30354d[_0x5f1faa(0x1da)](_0x428b98=>['tables',_0x46a1ca,..._0x428b98]);}function _e(_0x3e3452){const _0x1f0cd1=_0xa3b18d;let _0xfc4962=new Set();return _0x3e3452[_0x1f0cd1(0x314)](_0x2ac69e=>{const _0x22628c=_0x1f0cd1;let _0x57beed=JSON[_0x22628c(0x23e)](_0x2ac69e);return _0xfc4962[_0x22628c(0x397)](_0x57beed)?!0x1:(_0xfc4962[_0x22628c(0x204)](_0x57beed),!0x0);});}function ve(_0x532d56){const _0x36e9bb=_0xa3b18d;return e[_0x36e9bb(0x464)][_0x36e9bb(0x188)](_0x532d56);}function ye(_0x29a9ae,_0x7f7611){const _0x222dae=_0xa3b18d;let _0x35f3ea=be(_0x7f7611);if(!_0x35f3ea[_0x222dae(0x333)])return ve(_0x29a9ae);let _0x2f1663=Te(_0x29a9ae);for(let _0x5aa996 of _0x35f3ea)Ce(_0x2f1663,_0x5aa996);return _0x2f1663;}function be(_0x3070db){let _0xb1bce9=[];return xe(_0x3070db,[],_0xb1bce9),_0xb1bce9;}function xe(_0x4a0389,_0x4b4429,_0x4ba90f){const _0x37747c=_0xa3b18d;if(!Array['isArray'](_0x4a0389))return;let _0x2abe99=[];for(let _0x1a6e87 of _0x4a0389){if(Array['isArray'](_0x1a6e87)){xe(_0x1a6e87,[..._0x4b4429,..._0x2abe99],_0x4ba90f);continue;}if(Se(_0x1a6e87)){_0x4ba90f[_0x37747c(0x439)]([..._0x4b4429,..._0x2abe99]);continue;}(typeof _0x1a6e87=='string'||typeof _0x1a6e87==_0x37747c(0x3fe))&&_0x2abe99['push'](_0x1a6e87);}}function Se(_0x504f82){const _0x55007b=_0xa3b18d;if(!_0x504f82||typeof _0x504f82!=_0x55007b(0x20d)||Array[_0x55007b(0x18c)](_0x504f82))return!0x1;let _0x31315b=_0x504f82;return'i'in _0x31315b||'r'in _0x31315b||'p'in _0x31315b||'d'in _0x31315b||'es'in _0x31315b||'ena'in _0x31315b||'et'in _0x31315b;}function Ce(_0x9bfe8,_0x25daa1){const _0x5d4419=_0xa3b18d;let _0x2374f1=_0x9bfe8;for(let _0x35bf81=0x0;_0x35bf81<_0x25daa1[_0x5d4419(0x333)]-0x1;_0x35bf81++){let _0x4533be=_0x25daa1[_0x35bf81],_0x50a671=_0x2374f1==null?void 0x0:_0x2374f1[_0x4533be];if(!we(_0x50a671))return;let _0xa111a8=Te(_0x50a671);_0x2374f1[_0x4533be]=_0xa111a8,_0x2374f1=_0xa111a8;}}function we(_0x543c6d){const _0x3d05be=_0xa3b18d;return!!_0x543c6d&&typeof _0x543c6d==_0x3d05be(0x20d);}function Te(_0x234048){const _0x48c98d=_0xa3b18d;return Array[_0x48c98d(0x18c)](_0x234048)?_0x234048['slice']():{..._0x234048};}const Ee=0x5a0*0x3c*0x3e8,De=0x63e1,Oe=_0xa3b18d(0x3eb),ke={'yyyy/mm/dd':_0xa3b18d(0x46b),'yyyy/mm/dd\x20hh:mm':_0xa3b18d(0x324),'yyyy-mm-dd':_0xa3b18d(0x2a4),'mm-dd':_0xa3b18d(0x3b1),'mm/dd/yyyy':_0xa3b18d(0x34b),'dd/mm/yyyy':_0xa3b18d(0x2ff),'mmm\x20d,\x20yyyy':'MMM\x20D,\x20YYYY'};function T(_0x1a035f){const _0x28e7e6=_0xa3b18d;return(0x0,e[_0x28e7e6(0x303)])(_0x1a035f)[_0x28e7e6(0x378)]()/Ee+De;}function Ae(_0x3687da){return(_0x3687da-De)*Ee;}function E(_0x476f3e){const _0x39d060=_0xa3b18d;if(_0x476f3e==null||_0x476f3e==='')return null;if(_0x476f3e instanceof Date)return T(_0x476f3e);if(typeof _0x476f3e==_0x39d060(0x3fe))return Number[_0x39d060(0x2f4)](_0x476f3e)?_0x476f3e>0xf4240?T(_0x476f3e):_0x476f3e:null;let _0x4a745b=Date[_0x39d060(0x20b)](String(_0x476f3e));return Number[_0x39d060(0x404)](_0x4a745b)?null:T(_0x4a745b);}function D(_0x487a65){let _0x20c597=E(_0x487a65);return _0x20c597==null?null:Ae(_0x20c597);}function je(_0x1e1ab2,_0x3033ab={}){const _0x35805b=_0xa3b18d;var _0x12de01,_0x35515c,_0x21e6a3;let _0x324550=D(_0x1e1ab2);if(_0x324550==null||!Number[_0x35805b(0x2f4)](_0x324550))return'';let _0x1cbb8d=String((_0x12de01=(_0x35515c=_0x3033ab['pattern'])==null?_0x3033ab[_0x35805b(0x28f)]:_0x35515c)==null?Oe:_0x12de01),_0x455ad8=_0x3033ab[_0x35805b(0x283)]===!0x0||_0x1cbb8d['includes'](_0x35805b(0x2a8)),_0x7fda1e=String((_0x21e6a3=_0x3033ab[_0x35805b(0x34c)])==null?_0x35805b(0x2b6):_0x21e6a3);return(0x0,e[_0x35805b(0x303)])(_0x324550)[_0x35805b(0x28f)](Me(_0x1cbb8d,_0x455ad8,_0x7fda1e));}function Me(_0x1891d2,_0x2c4467,_0x21c83c){const _0x595fcf=_0xa3b18d;var _0x43bd8c;let _0x5dfec4=(_0x43bd8c=ke[_0x1891d2])==null?ke[Oe]:_0x43bd8c;return!_0x2c4467||_0x1891d2[_0x595fcf(0x162)]('hh:mm')?_0x5dfec4:_0x5dfec4+'\x20'+(_0x21c83c==='h12'?_0x595fcf(0x407):_0x595fcf(0x3e2));}const Ne={'editable':!0x0,'sortable':!0x0,'filterable':!0x0,'groupable':!0x1,'usableAsKanbanGroup':!0x1,'usableAsCalendarDate':!0x1,'usableAsGanttStart':!0x1,'usableAsGanttEnd':!0x1,'usableAsGanttProgress':!0x1,'usableAsCardCover':!0x1,'usableAsTitle':!0x1},Pe=new Set([e[_0xa3b18d(0x17a)][_0xa3b18d(0x2e5)],e[_0xa3b18d(0x17a)][_0xa3b18d(0x3b2)],e[_0xa3b18d(0x17a)][_0xa3b18d(0x2dc)],e[_0xa3b18d(0x17a)][_0xa3b18d(0x3c3)],e[_0xa3b18d(0x17a)]['Location'],e['BaseFieldType']['TwoWayLink'],e['BaseFieldType'][_0xa3b18d(0x3a8)],e['BaseFieldType'][_0xa3b18d(0x46f)]]),O=0x5a0*0x3c*0x3e8;function Fe(_0x284015,_0x100abe){const _0x2938ce=_0xa3b18d;return _0x284015==null&&_0x100abe==null?0x0:_0x284015==null?-0x1:_0x100abe==null?0x1:typeof _0x284015==_0x2938ce(0x3fe)&&typeof _0x100abe==_0x2938ce(0x3fe)?_0x284015-_0x100abe:String(_0x284015)[_0x2938ce(0x387)](String(_0x100abe));}function Ie(_0x464551,_0x3845ce,_0x573bdc,_0x5a7c6b,_0x5044c3={}){const _0x159c04=_0xa3b18d;if(_0x3845ce===_0x159c04(0x395))return Le(_0x464551);if(_0x3845ce===_0x159c04(0x289))return!Le(_0x464551);switch(_0x5a7c6b['type']){case e['BaseFieldType'][_0x159c04(0x285)]:case e[_0x159c04(0x17a)][_0x159c04(0x485)]:case e[_0x159c04(0x17a)][_0x159c04(0x17f)]:case e['BaseFieldType'][_0x159c04(0x232)]:return Re(_0x464551,_0x3845ce,_0x573bdc);case e['BaseFieldType'][_0x159c04(0x224)]:case e['BaseFieldType'][_0x159c04(0x2bb)]:case e[_0x159c04(0x17a)][_0x159c04(0x2e4)]:return Be(_0x464551,_0x3845ce,_0x573bdc,_0x5044c3);case e['BaseFieldType'][_0x159c04(0x23b)]:return Ke(_0x464551,_0x3845ce,_0x573bdc);case e[_0x159c04(0x17a)][_0x159c04(0x3b7)]:case e[_0x159c04(0x17a)][_0x159c04(0x35d)]:case e[_0x159c04(0x17a)][_0x159c04(0x2bc)]:case e[_0x159c04(0x17a)][_0x159c04(0x478)]:return Je(_0x464551,_0x3845ce,_0x573bdc,_0x5a7c6b);default:return Ye(_0x464551,_0x3845ce,_0x573bdc);}}function Le(_0x3044e5){const _0x5807d8=_0xa3b18d;return _0x3044e5==null?!0x0:Array['isArray'](_0x3044e5)?_0x3044e5[_0x5807d8(0x333)]===0x0:typeof _0x3044e5==_0x5807d8(0x181)?_0x3044e5[_0x5807d8(0x41e)]()==='':!0x1;}function Re(_0x40d0d2,_0x230aba,_0x2d0685){const _0x1e0258=_0xa3b18d;let _0x135c52=ze(_0x40d0d2),_0x4cca13=ze(_0x2d0685);if(_0x135c52==null||_0x4cca13==null)return!0x1;switch(_0x230aba){case'is':return _0x135c52===_0x4cca13;case _0x1e0258(0x229):return _0x135c52!==_0x4cca13;case _0x1e0258(0x383):return _0x135c52>_0x4cca13;case _0x1e0258(0x300):return _0x135c52>=_0x4cca13;case _0x1e0258(0x44e):return _0x135c52<_0x4cca13;case'lessThanOrEqual':return _0x135c52<=_0x4cca13;default:return!0x1;}}function ze(_0x26ca52){const _0x5f7e56=_0xa3b18d;if(_0x26ca52==null||_0x26ca52==='')return null;let _0x16e8b1=Number(_0x26ca52);return Number[_0x5f7e56(0x2f4)](_0x16e8b1)?_0x16e8b1:null;}function Be(_0x184bb1,_0xf9b74b,_0x58c68f,_0x5731f2){const _0x2a5f20=_0xa3b18d;var _0x3cfcb7;let _0x33863c=He(_0x184bb1);if(_0x33863c==null)return!0x1;let _0x30f114=Ve((_0x3cfcb7=_0x5731f2['dateMode'])==null?_0x2a5f20(0x3c6):_0x3cfcb7,_0x58c68f,_0x5731f2[_0x2a5f20(0x1c3)]);if(!_0x30f114)return!0x1;switch(_0xf9b74b){case'is':return _0x33863c>=_0x30f114['start']&&_0x33863c<=_0x30f114[_0x2a5f20(0x25c)];case'isNot':return _0x33863c<_0x30f114[_0x2a5f20(0x384)]||_0x33863c>_0x30f114[_0x2a5f20(0x25c)];case _0x2a5f20(0x39a):return _0x33863c<_0x30f114[_0x2a5f20(0x384)];case _0x2a5f20(0x178):return _0x33863c>_0x30f114[_0x2a5f20(0x25c)];default:return!0x1;}}function Ve(_0x4e95e0,_0x363aca,_0x31e07f=Date['now']()){const _0xc355f8=_0xa3b18d;let _0x138d67=Ue(_0x31e07f);switch(_0x4e95e0){case'exact':{let _0x56b512=He(_0x363aca);return _0x56b512==null?null:{'start':_0x56b512,'end':_0x56b512+O-0x1};}case _0xc355f8(0x41f):return{'start':_0x138d67,'end':_0x138d67+O-0x1};case _0xc355f8(0x36b):return{'start':_0x138d67+O,'end':_0x138d67+O*0x2-0x1};case _0xc355f8(0x192):return{'start':_0x138d67-O,'end':_0x138d67-0x1};case'thisWeek':return We(_0x138d67,0x0);case _0xc355f8(0x3e0):return We(_0x138d67,-0x1);case _0xc355f8(0x352):return Ge(_0x138d67,0x0);case _0xc355f8(0x3b4):return Ge(_0x138d67,-0x1);case'past7':return{'start':_0x138d67-O*0x6,'end':_0x138d67+O-0x1};case _0xc355f8(0x38e):return{'start':_0x138d67,'end':_0x138d67+O*0x7-0x1};case _0xc355f8(0x16c):return{'start':_0x138d67-O*0x1d,'end':_0x138d67+O-0x1};case _0xc355f8(0x440):return{'start':_0x138d67,'end':_0x138d67+O*0x1e-0x1};}}function He(_0x2a6928){let _0x226158=E(_0x2a6928);return _0x226158==null?null:Ue(Ae(_0x226158));}function Ue(_0x2a30d9){const _0x3d0b49=_0xa3b18d;let _0x255abd=new Date(_0x2a30d9);return _0x255abd[_0x3d0b49(0x1ec)](0x0,0x0,0x0,0x0),_0x255abd['getTime']();}function We(_0x5a5551,_0x4c7527){const _0x57179b=_0xa3b18d;let _0x1ea446=_0x5a5551-(new Date(_0x5a5551)[_0x57179b(0x1e3)]()+0x6)%0x7*O+_0x4c7527*O*0x7;return{'start':_0x1ea446,'end':_0x1ea446+O*0x7-0x1};}function Ge(_0x4c891e,_0x507da9){const _0x5c01f4=_0xa3b18d;let _0x50c7d6=new Date(_0x4c891e),_0x104926=new Date(_0x50c7d6['getFullYear'](),_0x50c7d6[_0x5c01f4(0x214)]()+_0x507da9,0x1),_0x29aa50=new Date(_0x50c7d6[_0x5c01f4(0x43b)](),_0x50c7d6[_0x5c01f4(0x214)]()+_0x507da9+0x1,0x1);return{'start':_0x104926[_0x5c01f4(0x2d4)](),'end':_0x29aa50[_0x5c01f4(0x2d4)]()-0x1};}function Ke(_0x76238d,_0x4c4af9,_0x30fd71){const _0x23d8f1=_0xa3b18d;let _0x405c12=qe(_0x76238d),_0x1ae035=qe(_0x30fd71);switch(_0x4c4af9){case'is':return _0x405c12===_0x1ae035;case _0x23d8f1(0x229):return _0x405c12!==_0x1ae035;default:return!0x1;}}function qe(_0x1bbd8f){return _0x1bbd8f===!0x0||_0x1bbd8f==='true'||_0x1bbd8f===0x1||_0x1bbd8f==='1';}function Je(_0x219518,_0x101812,_0x41bc08,_0x211d47){const _0x51f0d1=_0xa3b18d;let _0x30cc90=Xe(_0x219518,_0x211d47),_0x18f0d0=Xe(_0x41bc08,_0x211d47),_0x2b236=_0x18f0d0[_0x51f0d1(0x333)]>0x0&&_0x18f0d0[_0x51f0d1(0x24e)](_0xb27602=>_0x30cc90[_0x51f0d1(0x162)](_0xb27602));switch(_0x101812){case'is':case _0x51f0d1(0x17c):return _0x2b236;case _0x51f0d1(0x229):case _0x51f0d1(0x3b8):return!_0x2b236;default:return!0x1;}}function Ye(_0x36d70a,_0x30e2f6,_0x2c434e){const _0x467d9c=_0xa3b18d;let _0x39169f=k(_0x36d70a),_0x505c3c=k(_0x2c434e);switch(_0x30e2f6){case'is':return _0x39169f===_0x505c3c;case _0x467d9c(0x229):return _0x39169f!==_0x505c3c;case _0x467d9c(0x17c):return _0x505c3c?_0x39169f[_0x467d9c(0x162)](_0x505c3c):!0x1;case _0x467d9c(0x3b8):return _0x505c3c?!_0x39169f['includes'](_0x505c3c):!0x0;default:return!0x1;}}function k(_0x51478a){const _0x5e556f=_0xa3b18d;if(Array[_0x5e556f(0x18c)](_0x51478a))return _0x51478a[_0x5e556f(0x1da)](_0xfcda36=>k(_0xfcda36))[_0x5e556f(0x1e9)]('\x0a');if(_0x51478a&&typeof _0x51478a=='object'){var _0x4cc31f,_0xdc8d30,_0x4c6795,_0x5b1a9a,_0x4ba66e;let _0x35bf4c=_0x51478a;return String((_0x4cc31f=(_0xdc8d30=(_0x4c6795=(_0x5b1a9a=(_0x4ba66e=_0x35bf4c[_0x5e556f(0x2cb)])==null?_0x35bf4c['label']:_0x4ba66e)==null?_0x35bf4c[_0x5e556f(0x3ec)]:_0x5b1a9a)==null?_0x35bf4c[_0x5e556f(0x33c)]:_0x4c6795)==null?_0x35bf4c['id']:_0xdc8d30)==null?'':_0x4cc31f)[_0x5e556f(0x41e)]()[_0x5e556f(0x2f2)]();}return String(_0x51478a==null?'':_0x51478a)[_0x5e556f(0x41e)]()[_0x5e556f(0x2f2)]();}function Xe(_0x4f56c8,_0x20a225){const _0x27f8d1=_0xa3b18d;var _0xb973ad;let _0x40a5ed=A(_0x4f56c8),_0x1ff69e=Ze((_0xb973ad=_0x20a225[_0x27f8d1(0x3af)])==null?{}:_0xb973ad);return _0x40a5ed[_0x27f8d1(0x2f9)](_0x3a3277=>{var _0x3b0630;return(_0x3b0630=_0x1ff69e['get'](_0x3a3277))==null?[_0x3a3277]:_0x3b0630;})[_0x27f8d1(0x314)]((_0x1dbfbe,_0x4e5387,_0x418d42)=>_0x1dbfbe!==''&&_0x418d42[_0x27f8d1(0x2dd)](_0x1dbfbe)===_0x4e5387);}function A(_0x99f0f5){const _0xc7f1dd=_0xa3b18d;if(_0x99f0f5==null||_0x99f0f5==='')return[];if(Array['isArray'](_0x99f0f5))return _0x99f0f5[_0xc7f1dd(0x2f9)](_0x2908a0=>A(_0x2908a0));if(_0x99f0f5&&typeof _0x99f0f5==_0xc7f1dd(0x20d)){let _0x1cf18d=_0x99f0f5;return['id',_0xc7f1dd(0x2cb),_0xc7f1dd(0x3a6),'value','text'][_0xc7f1dd(0x2f9)](_0x1c2376=>A(_0x1cf18d[_0x1c2376]))[_0xc7f1dd(0x314)]((_0x39b9ba,_0x32e1f8,_0x2bd562)=>_0x2bd562[_0xc7f1dd(0x2dd)](_0x39b9ba)===_0x32e1f8);}return[k(_0x99f0f5)];}function Ze(_0x1bbcd1){const _0x169fdc=_0xa3b18d;let _0x5ca352=new Map();return(Array[_0x169fdc(0x18c)](_0x1bbcd1[_0x169fdc(0x275)])?_0x1bbcd1[_0x169fdc(0x275)]:[])['forEach'](_0x5efb34=>{const _0x48a9f6=_0x169fdc;if(!_0x5efb34||typeof _0x5efb34!=_0x48a9f6(0x20d))return;let _0x38f66a=A(_0x5efb34),_0x572011=_0x38f66a[_0x48a9f6(0x314)]((_0x29597a,_0x4c4554)=>_0x29597a!==''&&_0x38f66a[_0x48a9f6(0x2dd)](_0x29597a)===_0x4c4554);_0x572011['forEach'](_0x135e1a=>_0x5ca352[_0x48a9f6(0x3e5)](_0x135e1a,_0x572011));}),_0x5ca352;}function j(_0x3778c2,_0x44e582={},_0x47200a=_0x3c5593=>_0x3c5593,_0x1d6cfa={}){const _0x48e6a7=_0xa3b18d;var _0x14b662,_0x183cf4,_0x1ec61d,_0x3670db;let _0x262ef1=!Pe['has'](_0x3778c2),_0x18ee03=_0x47200a==null?_0x158f41=>_0x158f41:_0x47200a;return{'type':_0x3778c2,'i18nKey':_0x48e6a7(0x379)+_0x3778c2,'enabled':_0x262ef1,'visibleInCreateMenu':_0x262ef1,'createDefaultConfig':(_0x14b662=_0x1d6cfa[_0x48e6a7(0x3ab)])==null?()=>({}):_0x14b662,'createDefaultValue':(_0x183cf4=_0x1d6cfa[_0x48e6a7(0x479)])==null?_0x19ad56=>{var _0x43d26e;return(_0x43d26e=_0x19ad56['defaultValue'])==null?null:_0x43d26e;}:_0x183cf4,'normalize':(_0x8ffbaa,_0x2cd9f5)=>_0x18ee03(_0x8ffbaa,_0x2cd9f5),'validate':(_0x1f59fb,_0x576bcd)=>{const _0x48c321=_0x48e6a7;var _0x5357e8,_0x203bfe;return _0x262ef1?(_0x5357e8=(_0x203bfe=_0x1d6cfa['validate'])==null?void 0x0:_0x203bfe[_0x48c321(0x24f)](_0x1d6cfa,_0x1f59fb,_0x576bcd))==null?{'valid':!0x0}:_0x5357e8:{'valid':!0x1};},'compare':(_0x1c56c6,_0x119654)=>Fe(_0x1c56c6,_0x119654),'filter':(_0x598af3,_0x1ffdea,_0x4a296c,_0x11fb95)=>Ie(_0x598af3,_0x1ffdea,_0x4a296c,_0x11fb95),'toPlainText':(_0x1ec61d=_0x1d6cfa['toPlainText'])==null?_0x5aec9c=>_0x5aec9c==null?'':String(_0x5aec9c):_0x1ec61d,'fromPlainText':(_0x3670db=_0x1d6cfa[_0x48e6a7(0x355)])==null?_0x2d524a=>_0x18ee03(_0x2d524a,{'id':'','name':'','type':_0x3778c2,'config':{}}):_0x3670db,'getCapabilities':()=>{const _0xccc07d=_0x48e6a7;var _0x56e5ba;return{...Ne,..._0x44e582,'editable':_0x262ef1&&((_0x56e5ba=_0x44e582[_0xccc07d(0x265)])==null?Ne[_0xccc07d(0x265)]:_0x56e5ba)};}};}function Qe(){const _0x32da96=_0xa3b18d;return[j(e[_0x32da96(0x17a)]['Text'],{'groupable':!0x0,'usableAsTitle':!0x0},void 0x0,{'createDefaultConfig':()=>({'placeholder':'bases.fieldConfig.textPlaceholder'}),'createDefaultValue':_0x2cbbd6=>{const _0x3778cc=_0x32da96;var _0x26e555;return(_0x26e555=_0x2cbbd6[_0x3778cc(0x2de)])==null?'':_0x26e555;}}),j(e[_0x32da96(0x17a)][_0x32da96(0x3b7)],{'groupable':!0x0,'usableAsKanbanGroup':!0x0,'supportsOptions':!0x0},_0x34a7fd=>_0x34a7fd==null||_0x34a7fd===''?null:String(_0x34a7fd),{'createDefaultConfig':()=>({'options':[],'optionSource':{'type':_0x32da96(0x1b1)}})}),j(e['BaseFieldType'][_0x32da96(0x35d)],{'filterable':!0x0,'usableAsKanbanGroup':!0x0,'supportsOptions':!0x0,'supportsMultipleValues':!0x0},_0x4ca49d=>Array['isArray'](_0x4ca49d)?_0x4ca49d[_0x32da96(0x1da)](String):_0x4ca49d==null?[]:[String(_0x4ca49d)],{'createDefaultConfig':()=>({'options':[],'optionSource':{'type':_0x32da96(0x1b1)}}),'createDefaultValue':_0xd3423f=>{var _0x22f439;return(_0x22f439=_0xd3423f['defaultValue'])==null?[]:_0x22f439;}}),j(e[_0x32da96(0x17a)][_0x32da96(0x2bc)],{'groupable':!0x0,'usableAsKanbanGroup':!0x0,'supportsMultipleValues':!0x0},nt,{'createDefaultConfig':()=>({'allowMultiple':!0x1,'provider':_0x32da96(0x34d)}),'validate':rt}),j(e[_0x32da96(0x17a)][_0x32da96(0x478)],{'groupable':!0x0,'usableAsKanbanGroup':!0x0,'supportsMultipleValues':!0x0},tt,{'createDefaultConfig':()=>({'allowMultiple':!0x0,'provider':'group'}),'createDefaultValue':_0x420bca=>{const _0x266769=_0x32da96;var _0x1bb09b;return(_0x1bb09b=_0x420bca[_0x266769(0x2de)])==null?[]:_0x1bb09b;},'validate':it}),j(e[_0x32da96(0x17a)][_0x32da96(0x224)],{'groupable':!0x0,'usableAsCalendarDate':!0x0,'usableAsGanttStart':!0x0,'usableAsGanttEnd':!0x0},_0x5d2917=>E(_0x5d2917),{'createDefaultConfig':()=>et(),'validate':at}),j(e[_0x32da96(0x17a)][_0x32da96(0x208)],{'usableAsCardCover':!0x0,'supportsMultipleValues':!0x0},_0x28e557=>_0x28e557==null?[]:Array[_0x32da96(0x18c)](_0x28e557)?_0x28e557:[_0x28e557],{'createDefaultValue':_0x152b76=>{var _0xf5d2bc;return(_0xf5d2bc=_0x152b76['defaultValue'])==null?[]:_0xf5d2bc;}}),j(e[_0x32da96(0x17a)][_0x32da96(0x285)],{},_0x337f6b=>_0x337f6b==null||_0x337f6b===''?null:Number(_0x337f6b),{'createDefaultConfig':()=>$e(),'validate':ot}),j(e[_0x32da96(0x17a)][_0x32da96(0x23b)],{'groupable':!0x0,'usableAsKanbanGroup':!0x0},_0x12f391=>_0x12f391===!0x0||_0x12f391===_0x32da96(0x329)||_0x12f391===0x1||_0x12f391==='1',{'createDefaultConfig':()=>({'icon':'check','color':'#16a34a'}),'createDefaultValue':_0x4ad74f=>{const _0x4dd29a=_0x32da96;var _0x1daec5;return(_0x1daec5=_0x4ad74f[_0x4dd29a(0x2de)])==null?!0x1:_0x1daec5;},'validate':_0x2e6c0d=>typeof _0x2e6c0d=='boolean'?{'valid':!0x0}:{'valid':!0x1,'reason':_0x32da96(0x184)}}),j(e[_0x32da96(0x17a)]['Link'],{'supportsRelation':!0x0},ct,{'createDefaultConfig':()=>({'placeholder':'bases.fieldConfig.linkPlaceholder'}),'toPlainText':_0x2ac3a4=>lt(_0x2ac3a4),'fromPlainText':_0x566c67=>ct(_0x566c67)}),j(e[_0x32da96(0x17a)][_0x32da96(0x363)],{'editable':!0x1},void 0x0,{'createDefaultConfig':()=>({'formula':'','dependencies':[],'numfmt':{'type':_0x32da96(0x2e6),'pattern':'General'}}),'createDefaultValue':()=>null}),j(e['BaseFieldType'][_0x32da96(0x2e5)],{}),j(e[_0x32da96(0x17a)]['Flow'],{}),j(e[_0x32da96(0x17a)][_0x32da96(0x3c3)],{'editable':!0x1,'sortable':!0x1,'filterable':!0x1}),j(e['BaseFieldType'][_0x32da96(0x1d9)],{'editable':!0x1,'usableAsTitle':!0x0},void 0x0,{'createDefaultConfig':()=>({'mode':_0x32da96(0x165)}),'createDefaultValue':()=>null}),j(e[_0x32da96(0x17a)][_0x32da96(0x429)],{'usableAsTitle':!0x0},_0x4134a9=>_0x4134a9==null?null:String(_0x4134a9)[_0x32da96(0x41e)](),{'validate':_0x1c8e4e=>_0x1c8e4e==null||_0x1c8e4e===''||/^\+?[0-9 ()-]{6,20}$/[_0x32da96(0x228)](String(_0x1c8e4e))?{'valid':!0x0}:{'valid':!0x1,'reason':_0x32da96(0x376)}}),j(e['BaseFieldType'][_0x32da96(0x3f3)],{'usableAsTitle':!0x0},_0x1f7213=>_0x1f7213==null?null:String(_0x1f7213)['trim'](),{'validate':_0x151d8e=>_0x151d8e==null||_0x151d8e===''||dt(String(_0x151d8e))?{'valid':!0x0}:{'valid':!0x1,'reason':_0x32da96(0x1f0)}}),j(e['BaseFieldType'][_0x32da96(0x198)],{'usableAsTitle':!0x0}),j(e['BaseFieldType'][_0x32da96(0x46f)],{'usableAsTitle':!0x0}),j(e[_0x32da96(0x17a)]['Progress'],{'usableAsGanttProgress':!0x0},_0x4e4107=>_0x4e4107==null||_0x4e4107===''?null:Number(_0x4e4107),{'createDefaultConfig':()=>({'format':'percent','decimalPlaces':0x0,'color':_0x32da96(0x1a6),'customRange':!0x1,'start':0x0,'end':0x64}),'validate':(_0x53f47d,_0x583baa)=>st(_0x53f47d,_0x583baa,_0x32da96(0x41a))}),j(e[_0x32da96(0x17a)][_0x32da96(0x485)],{},_0x4856a2=>_0x4856a2==null||_0x4856a2===''?null:Number(_0x4856a2),{'createDefaultConfig':()=>({...$e(),'currencySymbol':'$'}),'validate':ot}),j(e[_0x32da96(0x17a)][_0x32da96(0x232)],{'groupable':!0x0,'usableAsKanbanGroup':!0x0},_0x4d87d9=>_0x4d87d9==null||_0x4d87d9===''?null:Number(_0x4d87d9),{'createDefaultConfig':()=>({'icon':_0x32da96(0x163),'min':0x1,'max':0x5}),'createDefaultValue':()=>null,'validate':(_0x505f4d,_0x3e2573)=>st(_0x505f4d,_0x3e2573,'[BaseField]:\x20invalid\x20rating\x20value.')}),j(e[_0x32da96(0x17a)][_0x32da96(0x40b)],{'supportsRelation':!0x0}),j(e[_0x32da96(0x17a)][_0x32da96(0x3a8)],{'editable':!0x1,'sortable':!0x0,'filterable':!0x0,'usableAsTitle':!0x0}),j(e[_0x32da96(0x17a)][_0x32da96(0x422)],{'editable':!0x1,'groupable':!0x0},_0x257974=>_0x257974==null?null:String(_0x257974),{'createDefaultConfig':()=>({'provider':_0x32da96(0x2ae)}),'createDefaultValue':()=>null}),j(e[_0x32da96(0x17a)][_0x32da96(0x1e0)],{'editable':!0x1,'groupable':!0x0},_0x17e011=>_0x17e011==null?null:String(_0x17e011),{'createDefaultConfig':()=>({'provider':_0x32da96(0x2ae)}),'createDefaultValue':()=>null}),j(e[_0x32da96(0x17a)][_0x32da96(0x2bb)],{'editable':!0x1,'usableAsCalendarDate':!0x0,'usableAsGanttStart':!0x0,'usableAsGanttEnd':!0x0},_0x1e9368=>E(_0x1e9368),{'createDefaultConfig':()=>et(),'createDefaultValue':()=>null,'validate':at}),j(e[_0x32da96(0x17a)][_0x32da96(0x2e4)],{'editable':!0x1,'usableAsCalendarDate':!0x0,'usableAsGanttStart':!0x0,'usableAsGanttEnd':!0x0},_0x36ba5f=>E(_0x36ba5f),{'createDefaultConfig':()=>et(),'createDefaultValue':()=>null,'validate':at}),j(e[_0x32da96(0x17a)]['Summary'],{})];}function $e(){const _0x1604a7=_0xa3b18d;return{'pattern':'#,##0.00','decimalPlaces':0x2,'separatorStyle':_0x1604a7(0x1eb),'useThousands':!0x0,'abbreviation':_0x1604a7(0x386),'allowNegative':!0x0};}function et(){const _0x36c109=_0xa3b18d;return{'locale':_0x36c109(0x305),'pattern':_0x36c109(0x3eb),'includeTime':!0x1,'hourCycle':_0x36c109(0x2b6),'defaultMode':_0x36c109(0x386)};}function tt(_0x1824d2){const _0x34a088=_0xa3b18d;return _0x1824d2==null||_0x1824d2===''?[]:Array['isArray'](_0x1824d2)?_0x1824d2[_0x34a088(0x1da)](String):[String(_0x1824d2)];}function nt(_0x1db2ef,_0x1636cc){const _0x533b18=_0xa3b18d;var _0x108015;return _0x1db2ef==null||_0x1db2ef===''?_0x1636cc['config'][_0x533b18(0x306)]===!0x0?[]:null:_0x1636cc[_0x533b18(0x3af)]['allowMultiple']===!0x0?Array[_0x533b18(0x18c)](_0x1db2ef)?_0x1db2ef[_0x533b18(0x1da)](String):[String(_0x1db2ef)]:Array[_0x533b18(0x18c)](_0x1db2ef)?String((_0x108015=_0x1db2ef[0x0])==null?'':_0x108015)||null:String(_0x1db2ef);}function rt(_0x2be7d8,_0x52dc77){const _0x10481d=_0xa3b18d;return _0x52dc77[_0x10481d(0x3af)][_0x10481d(0x306)]===!0x0?it(_0x2be7d8):_0x2be7d8==null||_0x2be7d8===''||typeof _0x2be7d8==_0x10481d(0x181)?{'valid':!0x0}:{'valid':!0x1,'reason':_0x10481d(0x1b3)};}function it(_0x115c48){const _0xb5807f=_0xa3b18d;return _0x115c48==null||Array[_0xb5807f(0x18c)](_0x115c48)&&_0x115c48[_0xb5807f(0x1c6)](_0x1deaac=>typeof _0x1deaac==_0xb5807f(0x181))?{'valid':!0x0}:{'valid':!0x1,'reason':_0xb5807f(0x334)};}function at(_0x213164){const _0x4c3253=_0xa3b18d;return _0x213164==null||typeof _0x213164=='number'&&Number['isFinite'](_0x213164)?{'valid':!0x0}:{'valid':!0x1,'reason':_0x4c3253(0x460)};}function ot(_0x1f4b7d,_0x56050f){const _0x16ccb4=_0xa3b18d;return _0x1f4b7d==null||_0x1f4b7d===''?{'valid':!0x0}:typeof _0x1f4b7d!=_0x16ccb4(0x3fe)||!Number[_0x16ccb4(0x2f4)](_0x1f4b7d)?{'valid':!0x1,'reason':'[BaseField]:\x20invalid\x20number\x20value.'}:_0x56050f[_0x16ccb4(0x3af)][_0x16ccb4(0x316)]===!0x1&&_0x1f4b7d<0x0?{'valid':!0x1,'reason':_0x16ccb4(0x3ea)}:{'valid':!0x0};}function st(_0x2ae5f9,_0x23ae3b,_0x1dd9f8){const _0x3326f4=_0xa3b18d;var _0x13a493,_0x478181,_0x548055,_0x3e7e7d;let _0x205f0f=ot(_0x2ae5f9,_0x23ae3b);if(!_0x205f0f['valid']||_0x2ae5f9==null||_0x2ae5f9==='')return _0x205f0f;let _0x423e9a=Number((_0x13a493=(_0x478181=_0x23ae3b[_0x3326f4(0x3af)][_0x3326f4(0x358)])==null?_0x23ae3b[_0x3326f4(0x3af)][_0x3326f4(0x384)]:_0x478181)==null?0x0:_0x13a493),_0x1b3174=Number((_0x548055=(_0x3e7e7d=_0x23ae3b[_0x3326f4(0x3af)][_0x3326f4(0x21a)])==null?_0x23ae3b[_0x3326f4(0x3af)]['end']:_0x3e7e7d)==null?0x64:_0x548055),_0x524b37=Number(_0x2ae5f9);return _0x524b37>=_0x423e9a&&_0x524b37<=_0x1b3174?{'valid':!0x0}:{'valid':!0x1,'reason':_0x1dd9f8};}function ct(_0x4a6ae2){const _0x5a8b41=_0xa3b18d;if(_0x4a6ae2==null||_0x4a6ae2==='')return null;if(typeof _0x4a6ae2=='object'&&!Array[_0x5a8b41(0x18c)](_0x4a6ae2)){let _0x85b219=_0x4a6ae2,_0x58422a=typeof _0x85b219[_0x5a8b41(0x3ec)]==_0x5a8b41(0x181)?_0x85b219['text'][_0x5a8b41(0x41e)]():'',_0x2023a7=typeof _0x85b219[_0x5a8b41(0x254)]==_0x5a8b41(0x181)?_0x85b219[_0x5a8b41(0x254)]['trim']():'',_0x481532=ut(_0x2023a7||_0x58422a);return _0x481532?{'text':_0x58422a||_0x2023a7||_0x481532,'url':_0x481532}:null;}let _0x3abc76=String(_0x4a6ae2)[_0x5a8b41(0x41e)](),_0x2707a0=ut(_0x3abc76);return _0x2707a0?{'text':_0x3abc76,'url':_0x2707a0}:null;}function lt(_0x4f39e6){const _0x44dce1=_0xa3b18d;if(_0x4f39e6==null)return'';if(typeof _0x4f39e6==_0x44dce1(0x20d)&&!Array[_0x44dce1(0x18c)](_0x4f39e6)){let _0x5659d4=_0x4f39e6;return String(_0x5659d4['text']||_0x5659d4[_0x44dce1(0x254)]||'');}return String(_0x4f39e6);}function ut(_0x286876){const _0x57bd70=_0xa3b18d;let _0x5da30f=_0x286876[_0x57bd70(0x41e)]();return _0x5da30f?/^[a-z][a-z\d+.-]*:\/\//i[_0x57bd70(0x228)](_0x5da30f)?_0x5da30f:'https://'+_0x5da30f:'';}function dt(_0x5c589c){const _0x8a2935=_0xa3b18d;let _0x2e54bb=_0x5c589c[_0x8a2935(0x2dd)]('@');if(_0x2e54bb<=0x0||_0x2e54bb!==_0x5c589c['lastIndexOf']('@'))return!0x1;let _0x197f26=_0x5c589c[_0x8a2935(0x2ce)](_0x2e54bb+0x1);return _0x197f26[_0x8a2935(0x162)]('.')&&!_0x5c589c[_0x8a2935(0x162)]('\x20')&&!_0x197f26[_0x8a2935(0x337)]('.')&&!_0x197f26['endsWith']('.');}const M={'table':_0x4dafc8=>[_0xa3b18d(0x258),_0x4dafc8],'field':(_0x192f66,_0x4bc878)=>[_0xa3b18d(0x258),_0x192f66,_0xa3b18d(0x35e),_0x4bc878],'fieldOrder':(_0x35aacf,_0x368943)=>[_0xa3b18d(0x258),_0x35aacf,_0xa3b18d(0x2d8),_0x368943],'record':(_0x40dc01,_0x2eaf80)=>[_0xa3b18d(0x258),_0x40dc01,_0xa3b18d(0x332),_0x2eaf80],'cell':(_0x4dc62b,_0x1c7472,_0x139de7)=>[_0xa3b18d(0x258),_0x4dc62b,_0xa3b18d(0x332),_0x1c7472,'values',_0x139de7],'cellData':(_0x5140de,_0x272f68,_0xca4786)=>[_0xa3b18d(0x258),_0x5140de,_0xa3b18d(0x2d6),String(_0x272f68),String(_0xca4786)],'attachmentSet':(_0x18cee3,_0x3a97c6)=>[_0xa3b18d(0x258),_0x18cee3,_0xa3b18d(0x37d),_0xa3b18d(0x42f),_0x3a97c6],'attachment':(_0x519e23,_0x576874)=>['tables',_0x519e23,_0xa3b18d(0x37d),_0xa3b18d(0x3dd),_0x576874],'view':(_0x2697c3,_0x116e11)=>[_0xa3b18d(0x258),_0x2697c3,'views',_0x116e11],'viewFieldHidden':(_0x5c8b1,_0xfcec77,_0x57b8c7)=>[_0xa3b18d(0x258),_0x5c8b1,_0xa3b18d(0x411),_0xfcec77,_0xa3b18d(0x326),_0x57b8c7,_0xa3b18d(0x174)]};function N(_0x256eb6){const _0x5325c1=_0xa3b18d;return _0x256eb6['reduce']((_0x37f824,_0x270172)=>_0x37f824==null?_0x270172:e['JSON1']['type'][_0x5325c1(0x1dc)](_0x37f824,_0x270172),void 0x0);}var P=class{['setBaseName'](_0x368e8e,_0xdcf69e){const _0x1a2277=_0xa3b18d;let _0x44dff0=this[_0x1a2277(0x476)](_0x368e8e,_0x368e8e[_0x1a2277(0x2cb)],_0xdcf69e);return N([this['_replaceOptional']([_0x1a2277(0x2cb)],_0x368e8e[_0x1a2277(0x2cb)],_0xdcf69e),..._0x44dff0?[_0x44dff0]:[]]);}['renameFormulaUnitReferences'](_0x375072,_0x40bac5,_0x48df65){const _0x1652db=_0xa3b18d;let _0x18efa5=Object['values'](_0x375072[_0x1652db(0x258)])[_0x1652db(0x2f9)](_0x153cb0=>Object[_0x1652db(0x29e)](_0x153cb0[_0x1652db(0x35e)])[_0x1652db(0x2f9)](_0x516777=>{const _0xdd8e01=_0x1652db;var _0x122ce5,_0x5f17f1,_0x3be494;if(_0x516777[_0xdd8e01(0x177)]!==e[_0xdd8e01(0x17a)][_0xdd8e01(0x363)])return[];let _0x347e49=String((_0x122ce5=(_0x5f17f1=_0x516777[_0xdd8e01(0x3af)])==null?void 0x0:_0x5f17f1['formula'])==null?'':_0x122ce5),_0x561022=(0x0,t[_0xdd8e01(0x393)])(_0x347e49,_0x40bac5,_0x48df65);return _0x561022===_0x347e49?[]:[this[_0xdd8e01(0x1bc)]([...M[_0xdd8e01(0x41c)](_0x153cb0['id'],_0x516777['id']),_0xdd8e01(0x3af),_0xdd8e01(0x382)],(_0x3be494=_0x516777['config'])==null?void 0x0:_0x3be494[_0xdd8e01(0x382)],_0x561022)];}));return _0x18efa5[_0x1652db(0x333)]>0x0?N(_0x18efa5):void 0x0;}[_0xa3b18d(0x37a)](_0x46fa62,_0x1a2a7c,_0x2ee755=_0x46fa62[_0xa3b18d(0x403)][_0xa3b18d(0x333)]){const _0x4cc1fe=_0xa3b18d;return N([e['JSON1'][_0x4cc1fe(0x47e)](M[_0x4cc1fe(0x3ac)](_0x1a2a7c['id']),_0x1a2a7c),e[_0x4cc1fe(0x40f)]['insertOp']([_0x4cc1fe(0x403),_0x2ee755],_0x1a2a7c['id'])]);}['renameTable'](_0x3f180c,_0x59ac6c,_0x2902d9){const _0x30df00=_0xa3b18d;let _0x52a554=_0x3f180c[_0x30df00(0x258)][_0x59ac6c][_0x30df00(0x2cb)],_0x3afc1f=Object[_0x30df00(0x29e)](_0x3f180c[_0x30df00(0x258)])[_0x30df00(0x2f9)](_0x1e76ce=>Object[_0x30df00(0x29e)](_0x1e76ce[_0x30df00(0x35e)])[_0x30df00(0x2f9)](_0x38704b=>{const _0x3f0c86=_0x30df00;var _0x488450,_0x45f5de;if(_0x38704b[_0x3f0c86(0x177)]!==e[_0x3f0c86(0x17a)][_0x3f0c86(0x363)])return[];let _0x4a09c6=String((_0x488450=(_0x45f5de=_0x38704b['config'])==null?void 0x0:_0x45f5de[_0x3f0c86(0x382)])==null?'':_0x488450),_0x232f01=vt(_0x4a09c6,_0x52a554,_0x2902d9);return _0x232f01===_0x4a09c6?[]:[this['updateField'](_0x3f180c,_0x1e76ce['id'],_0x38704b['id'],{'config':{..._0x38704b[_0x3f0c86(0x3af)],'formula':_0x232f01}})];}));return N([e['JSON1'][_0x30df00(0x41d)]([...M[_0x30df00(0x3ac)](_0x59ac6c),_0x30df00(0x2cb)],_0x52a554,_0x2902d9),..._0x3afc1f]);}[_0xa3b18d(0x2a3)](_0x2a7c8e,_0x45838d){const _0x2c4424=_0xa3b18d;let _0x3ed5b3=_0x2a7c8e['tables'][_0x45838d],_0x38cbfe=_0x2a7c8e['tableOrder'][_0x2c4424(0x2dd)](_0x45838d);return N([e['JSON1'][_0x2c4424(0x357)](M[_0x2c4424(0x3ac)](_0x45838d),_0x3ed5b3),e['JSON1'][_0x2c4424(0x357)](['tableOrder',_0x38cbfe],_0x45838d)]);}[_0xa3b18d(0x2da)](_0x44c57b,_0x34fadf,_0x41f046){const _0x2e567f=_0xa3b18d;return this[_0x2e567f(0x428)](_0x44c57b,_0x34fadf,[_0x41f046]);}[_0xa3b18d(0x428)](_0x549663,_0x3f7f6a,_0x438eb6){const _0x5ece95=_0xa3b18d;let _0x4601b2=_0x549663[_0x5ece95(0x258)][_0x3f7f6a],_0x5509b2=_0x438eb6[_0x5ece95(0x314)](_0xf251c3=>_0xf251c3&&!_0x4601b2[_0x5ece95(0x332)][_0xf251c3['id']]);return _0x5509b2['length']?N([..._0x5509b2['map'](_0x4bc8df=>e[_0x5ece95(0x40f)][_0x5ece95(0x47e)](M['record'](_0x3f7f6a,_0x4bc8df['id']),_0x4bc8df)),this[_0x5ece95(0x16b)](_0x549663,_0x3f7f6a,_0x5509b2)]):e[_0x5ece95(0x40f)][_0x5ece95(0x41d)]([...M[_0x5ece95(0x3ac)](_0x3f7f6a),_0x5ece95(0x332)],_0x4601b2[_0x5ece95(0x332)],_0x4601b2[_0x5ece95(0x332)]);}[_0xa3b18d(0x3fc)](_0x403e1a,_0x597d16,_0x432f70){const _0x24a0e1=_0xa3b18d;return this[_0x24a0e1(0x30e)](_0x403e1a,_0x597d16,[_0x432f70]);}[_0xa3b18d(0x30e)](_0xd9dd7e,_0x3ef992,_0x3f46b8){const _0x1f8e41=_0xa3b18d;let _0x2c80a1=_0xd9dd7e[_0x1f8e41(0x258)][_0x3ef992],_0x5cf10f=Array[_0x1f8e41(0x3aa)](new Set(_0x3f46b8))[_0x1f8e41(0x314)](_0x3cec41=>_0x2c80a1[_0x1f8e41(0x332)][_0x3cec41]);if(!_0x5cf10f[_0x1f8e41(0x333)])return e[_0x1f8e41(0x40f)][_0x1f8e41(0x41d)]([...M[_0x1f8e41(0x3ac)](_0x3ef992),_0x1f8e41(0x332)],_0x2c80a1[_0x1f8e41(0x332)],_0x2c80a1[_0x1f8e41(0x332)]);let _0xc01f83=new Set(_0x5cf10f),_0x470359=_0x5cf10f[_0x1f8e41(0x1da)](_0x63fc12=>{const _0x17164a=_0x1f8e41;var _0x16f8d2,_0x327ed1;return{'recordId':_0x63fc12,'index':(_0x16f8d2=(_0x327ed1=_0x2c80a1[_0x17164a(0x47c)])==null?void 0x0:_0x327ed1[_0x17164a(0x2dd)](_0x63fc12))==null?-0x1:_0x16f8d2};})['filter'](_0x14513c=>_0x14513c[_0x1f8e41(0x25a)]>=0x0)[_0x1f8e41(0x33d)]((_0x3df3ff,_0x4a0fa4)=>_0x4a0fa4[_0x1f8e41(0x25a)]-_0x3df3ff[_0x1f8e41(0x25a)]);return N([..._0x5cf10f[_0x1f8e41(0x1da)](_0x50268b=>e['JSON1'][_0x1f8e41(0x357)](M['record'](_0x3ef992,_0x50268b),_0x2c80a1[_0x1f8e41(0x332)][_0x50268b])),..._0x470359[_0x1f8e41(0x1da)](({recordId:_0x290fd1,index:_0x473424})=>e[_0x1f8e41(0x40f)][_0x1f8e41(0x357)](['tables',_0x3ef992,_0x1f8e41(0x47c),_0x473424],_0x290fd1)),...this[_0x1f8e41(0x338)](_0x2c80a1,_0x3ef992,_0x27919f=>{const _0x3d7700=_0x1f8e41;let _0x1f7f5c=_0x27919f[_0x3d7700(0x2ce)](_0x27919f[_0x3d7700(0x28e)]('\x1f')+0x1);return _0xc01f83[_0x3d7700(0x397)](_0x1f7f5c);})]);}[_0xa3b18d(0x191)](_0x11ed69,_0x20aa16,_0x237cca,_0x4222e3){const _0x5e6e21=_0xa3b18d;return this['createRecord'](_0x11ed69,_0x20aa16,{..._0x4222e3,'values':{..._0x11ed69[_0x5e6e21(0x258)][_0x20aa16][_0x5e6e21(0x332)][_0x237cca][_0x5e6e21(0x29e)],..._0x4222e3[_0x5e6e21(0x29e)]}});}[_0xa3b18d(0x274)](_0x1214a9,_0x50ead9,_0x40ed55,_0x35ae2d){const _0x1c32fc=_0xa3b18d;let _0x5d3861=_0x1214a9[_0x1c32fc(0x258)][_0x50ead9],_0x38e615=[...M['record'](_0x50ead9,_0x40ed55),_0x1c32fc(0x390)],_0x401113=Object[_0x1c32fc(0x29e)](_0x5d3861[_0x1c32fc(0x332)])[_0x1c32fc(0x1da)](_0x38b3bf=>_0x38b3bf['id']===_0x40ed55?{..._0x38b3bf,'orderKey':_0x35ae2d}:_0x38b3bf)[_0x1c32fc(0x33d)]((_0x30318f,_0x1e1440)=>{const _0x304cc3=_0x1c32fc;var _0xeab718,_0x20ed07;return String((_0xeab718=_0x30318f[_0x304cc3(0x390)])==null?_0x30318f['id']:_0xeab718)[_0x304cc3(0x387)](String((_0x20ed07=_0x1e1440[_0x304cc3(0x390)])==null?_0x1e1440['id']:_0x20ed07));})[_0x1c32fc(0x1da)](_0x33c8a4=>_0x33c8a4['id']),_0x20bd93=[...M[_0x1c32fc(0x3ac)](_0x50ead9),_0x1c32fc(0x47c)];return N([e[_0x1c32fc(0x40f)][_0x1c32fc(0x41d)](_0x38e615,_0x5d3861[_0x1c32fc(0x332)][_0x40ed55][_0x1c32fc(0x390)],_0x35ae2d),_0x5d3861[_0x1c32fc(0x47c)]?e[_0x1c32fc(0x40f)][_0x1c32fc(0x41d)](_0x20bd93,_0x5d3861[_0x1c32fc(0x47c)],_0x401113):e[_0x1c32fc(0x40f)][_0x1c32fc(0x47e)](_0x20bd93,_0x401113)]);}[_0xa3b18d(0x416)](_0x4b32a0,_0x3538fa,_0x24b1c8,_0x118c63,_0xfafd7f){const _0x29f231=_0xa3b18d;var _0x5b3ea3,_0x58b8ea;let _0x44859e=_0x4b32a0[_0x29f231(0x258)][_0x3538fa],_0x2efb59=ft(_0x44859e,_0x24b1c8,_0x118c63)?_0x44859e:d(_0x44859e),_0x4373f4=(_0x5b3ea3=_0x2efb59[_0x29f231(0x164)])==null?void 0x0:_0x5b3ea3[_0x24b1c8],_0x58efc9=(_0x58b8ea=_0x2efb59[_0x29f231(0x3b6)])==null?void 0x0:_0x58b8ea[_0x118c63];if(_0x4373f4==null||_0x58efc9==null){var _0x31f45f;return this['_replaceOptional'](M[_0x29f231(0x32a)](_0x3538fa,_0x24b1c8,_0x118c63),(_0x31f45f=_0x4b32a0[_0x29f231(0x258)][_0x3538fa])==null||(_0x31f45f=_0x31f45f[_0x29f231(0x332)][_0x24b1c8])==null?void 0x0:_0x31f45f['values'][_0x118c63],_0xfafd7f);}return this[_0x29f231(0x27f)](_0x4b32a0,_0x3538fa,[{'row':_0x4373f4,'col':_0x58efc9,'value':_0xfafd7f}]);}[_0xa3b18d(0x3f8)](_0x563c12,_0x2c49db,_0x1c9bf0){const _0x33e7cd=_0xa3b18d;let _0x14694b=_0x563c12[_0x33e7cd(0x258)][_0x2c49db],_0x2877c5=_0x1c9bf0['every'](_0x104058=>Object[_0x33e7cd(0x1c8)](_0x104058[_0x33e7cd(0x29e)])[_0x33e7cd(0x1c6)](_0x3b6d76=>ft(_0x14694b,_0x104058[_0x33e7cd(0x2f7)],_0x3b6d76)))?_0x14694b:d(_0x14694b),_0x559e06=_0x1c9bf0[_0x33e7cd(0x2f9)](_0x582055=>Object['entries'](_0x582055[_0x33e7cd(0x29e)])[_0x33e7cd(0x2f9)](([_0x464dd4,_0x895023])=>{const _0x459077=_0x33e7cd;var _0x5f538e,_0x207784;let _0x9417c=(_0x5f538e=_0x2877c5[_0x459077(0x164)])==null?void 0x0:_0x5f538e[_0x582055[_0x459077(0x2f7)]],_0x4c94b5=(_0x207784=_0x2877c5[_0x459077(0x3b6)])==null?void 0x0:_0x207784[_0x464dd4];return _0x9417c==null||_0x4c94b5==null?[]:[{'row':_0x9417c,'col':_0x4c94b5,'value':_0x895023}];})),_0x27a092=_0x1c9bf0[_0x33e7cd(0x2f9)](_0x16d4dc=>{const _0x4fb10b=_0x33e7cd;var _0x27668c;return Object[_0x4fb10b(0x217)]((_0x27668c=_0x16d4dc[_0x4fb10b(0x19e)])==null?{}:_0x27668c)[_0x4fb10b(0x1da)](([_0x4ee243,_0x5c7e94])=>{const _0x44c0c0=_0x4fb10b;var _0x4048ed;let _0x3d31ec=[...M[_0x44c0c0(0x42a)](_0x2c49db,_0x16d4dc['recordId']),_0x4ee243],_0x5a917f=(_0x4048ed=_0x563c12[_0x44c0c0(0x258)][_0x2c49db])==null||(_0x4048ed=_0x4048ed[_0x44c0c0(0x332)][_0x16d4dc[_0x44c0c0(0x2f7)]])==null?void 0x0:_0x4048ed[_0x4ee243];return this[_0x44c0c0(0x1bc)](_0x3d31ec,_0x5a917f,_0x5c7e94);});});return N([this['setRangeValues'](_0x563c12,_0x2c49db,_0x559e06),..._0x27a092]);}[_0xa3b18d(0x27f)](_0x492c89,_0x29a5df,_0x49fc8c){const _0xb7617b=_0xa3b18d;let _0x78c226=_0x492c89[_0xb7617b(0x258)][_0x29a5df],_0xbbf13c=_0x49fc8c[_0xb7617b(0x1c6)](_0x446ef5=>pt(_0x78c226,_0x446ef5[_0xb7617b(0x33a)],_0x446ef5[_0xb7617b(0x26e)]))?_0x78c226:d(_0x78c226),_0x6bd1ed=_0x49fc8c[_0xb7617b(0x2f9)](_0x33873a=>{const _0x5cd4b7=_0xb7617b;var _0x43d187,_0x8debff,_0x7e4c30,_0x3cb9d3;let _0x2c50f0=(_0x43d187=_0xbbf13c[_0x5cd4b7(0x171)])==null?void 0x0:_0x43d187[_0x33873a[_0x5cd4b7(0x26e)]],_0x44c967=(_0x8debff=_0xbbf13c[_0x5cd4b7(0x262)])==null?void 0x0:_0x8debff[_0x33873a[_0x5cd4b7(0x33a)]],_0x446027=_0x2c50f0?_0xbbf13c[_0x5cd4b7(0x35e)][_0x2c50f0]:void 0x0,_0x5735c3=y(_0x33873a['value'],_0x446027),_0x58335c=(_0x7e4c30=_0xbbf13c[_0x5cd4b7(0x2d6)])==null||(_0x7e4c30=_0x7e4c30[_0x33873a[_0x5cd4b7(0x33a)]])==null?void 0x0:_0x7e4c30[_0x33873a[_0x5cd4b7(0x26e)]],_0x542cf5=this['_replaceOptional'](M['cellData'](_0x29a5df,_0x33873a['row'],_0x33873a['col']),_0x58335c,_0x5735c3);if(!_0x2c50f0||!_0x44c967)return[_0x542cf5];let _0x1c7773=(_0x3cb9d3=_0xbbf13c[_0x5cd4b7(0x332)][_0x44c967])==null?void 0x0:_0x3cb9d3[_0x5cd4b7(0x29e)][_0x2c50f0],_0x1552ab=(_0x446027==null?void 0x0:_0x446027[_0x5cd4b7(0x177)])===e[_0x5cd4b7(0x17a)][_0x5cd4b7(0x208)]?x(_0x33873a[_0x5cd4b7(0x33c)]):te(_0x33873a[_0x5cd4b7(0x33c)],_0x5735c3,_0x446027,_0xbbf13c,_0x44c967),_0x52566d=[_0x542cf5,this['_replaceOptional'](M[_0x5cd4b7(0x32a)](_0x29a5df,_0x44c967,_0x2c50f0),_0x1c7773,_0x1552ab)];if((_0x446027==null?void 0x0:_0x446027[_0x5cd4b7(0x177)])!==e[_0x5cd4b7(0x17a)][_0x5cd4b7(0x208)])return _0x52566d;let _0x2252db=this[_0x5cd4b7(0x16d)](_0xbbf13c,_0x29a5df,_0x44c967,_0x2c50f0,_0x1552ab);return[..._0x52566d,..._0x2252db];});return _0x6bd1ed['length']?N(_0x6bd1ed):e[_0xb7617b(0x40f)][_0xb7617b(0x41d)](['tables',_0x29a5df,_0xb7617b(0x2d6)],_0xbbf13c[_0xb7617b(0x2d6)],_0xbbf13c['cellData']);}[_0xa3b18d(0x474)](_0x28bd6e,_0x54c71a,_0x252f63){const _0x35dc27=_0xa3b18d;var _0x5d1014,_0x2c9727;let _0x1487f5=_0x28bd6e[_0x35dc27(0x258)][_0x54c71a];if(_0x1487f5[_0x35dc27(0x35e)][_0x252f63[_0x35dc27(0x41c)]['id']]||_0x1487f5[_0x35dc27(0x2d8)][_0x35dc27(0x162)](_0x252f63['field']['id']))return e['JSON1'][_0x35dc27(0x41d)](['tables',_0x54c71a,'fieldOrder'],_0x1487f5[_0x35dc27(0x2d8)],_0x1487f5[_0x35dc27(0x2d8)]);let _0x23529a=(_0x5d1014=_0x252f63[_0x35dc27(0x25a)])==null?_0x1487f5[_0x35dc27(0x2d8)][_0x35dc27(0x333)]:_0x5d1014,_0x2568c3=Object[_0x35dc27(0x29e)]((_0x2c9727=_0x1487f5[_0x35dc27(0x411)])==null?{}:_0x2c9727)[_0x35dc27(0x2f9)](_0x3886dd=>{const _0x4db49b=_0x35dc27;var _0x4eb910,_0x18527d;if(!_0x3886dd[_0x4db49b(0x2d8)]||_0x3886dd[_0x4db49b(0x2d8)][_0x4db49b(0x162)](_0x252f63[_0x4db49b(0x41c)]['id']))return[];let _0x583e42=_t((_0x4eb910=(_0x18527d=_0x252f63['viewIndexes'])==null?void 0x0:_0x18527d[_0x3886dd['id']])==null?_0x23529a:_0x4eb910,_0x3886dd[_0x4db49b(0x2d8)][_0x4db49b(0x333)]);return[e[_0x4db49b(0x40f)][_0x4db49b(0x47e)]([...M['view'](_0x54c71a,_0x3886dd['id']),_0x4db49b(0x2d8),_0x583e42],_0x252f63[_0x4db49b(0x41c)]['id'])];});return N([e[_0x35dc27(0x40f)][_0x35dc27(0x47e)](M[_0x35dc27(0x41c)](_0x54c71a,_0x252f63['field']['id']),_0x252f63[_0x35dc27(0x41c)]),e[_0x35dc27(0x40f)]['insertOp'](M[_0x35dc27(0x2d8)](_0x54c71a,_0x23529a),_0x252f63[_0x35dc27(0x41c)]['id']),..._0x2568c3]);}[_0xa3b18d(0x450)](_0x41c311,_0x545558,_0x4f1dd9,_0x4193c4){const _0x1d4013=_0xa3b18d;var _0x2d08f4,_0x2c0416;let _0x5d40bf=_0x41c311[_0x1d4013(0x258)][_0x545558];if(!_0x5d40bf[_0x1d4013(0x35e)][_0x4f1dd9]||_0x5d40bf[_0x1d4013(0x35e)][_0x4193c4[_0x1d4013(0x41c)]['id']]||_0x5d40bf[_0x1d4013(0x2d8)][_0x1d4013(0x162)](_0x4193c4[_0x1d4013(0x41c)]['id']))return e[_0x1d4013(0x40f)][_0x1d4013(0x41d)]([_0x1d4013(0x258),_0x545558,'fieldOrder'],_0x5d40bf[_0x1d4013(0x2d8)],_0x5d40bf[_0x1d4013(0x2d8)]);let _0x3e7a43=(_0x2d08f4=_0x4193c4[_0x1d4013(0x25a)])==null?_0x5d40bf['fieldOrder'][_0x1d4013(0x2dd)](_0x4f1dd9)+0x1:_0x2d08f4,_0x13e8e3=_0x5d40bf[_0x1d4013(0x2d8)][_0x1d4013(0x314)](_0x2bdeec=>_0x2bdeec!==_0x4193c4[_0x1d4013(0x41c)]['id']),_0xa5a77c=ht(_0x13e8e3,_0x4193c4[_0x1d4013(0x41c)]['id'],_0x3e7a43),_0x53ee31=Object[_0x1d4013(0x29e)]((_0x2c0416=_0x5d40bf[_0x1d4013(0x411)])==null?{}:_0x2c0416)[_0x1d4013(0x2f9)](_0x5a0bf4=>{const _0x1a4c87=_0x1d4013;var _0x13ef65,_0x15cf74,_0x21819e,_0x17bba8,_0x324a07;let _0x25d1f0=(_0x13ef65=_0x5a0bf4[_0x1a4c87(0x2d8)])!=null&&_0x13ef65['length']?_0x5a0bf4[_0x1a4c87(0x2d8)]:_0x13e8e3;if(_0x25d1f0[_0x1a4c87(0x162)](_0x4193c4[_0x1a4c87(0x41c)]['id']))return[];let _0x2d0c4b=ht(_0x25d1f0,_0x4193c4['field']['id'],(_0x15cf74=(_0x21819e=_0x4193c4['viewIndexes'])==null?void 0x0:_0x21819e[_0x5a0bf4['id']])==null?_0x3e7a43:_0x15cf74),_0x1b063f=(_0x17bba8=_0x5a0bf4[_0x1a4c87(0x326)])==null?void 0x0:_0x17bba8[_0x4f1dd9];return[this[_0x1a4c87(0x1bc)]([...M[_0x1a4c87(0x418)](_0x545558,_0x5a0bf4['id']),'fieldOrder'],_0x5a0bf4['fieldOrder'],_0x2d0c4b),..._0x1b063f?[this[_0x1a4c87(0x1bc)]([...M['view'](_0x545558,_0x5a0bf4['id']),_0x1a4c87(0x326),_0x4193c4[_0x1a4c87(0x41c)]['id']],(_0x324a07=_0x5a0bf4[_0x1a4c87(0x326)])==null?void 0x0:_0x324a07[_0x4193c4[_0x1a4c87(0x41c)]['id']],_0x1b063f)]:[]];}),_0x5b31c5=Object[_0x1d4013(0x29e)](_0x5d40bf[_0x1d4013(0x332)])['filter'](_0x4ae424=>Object[_0x1d4013(0x430)]['hasOwnProperty'][_0x1d4013(0x24f)](_0x4ae424['values'],_0x4f1dd9))[_0x1d4013(0x1da)](_0x5d27c8=>this['_replaceOptional'](M['cell'](_0x545558,_0x5d27c8['id'],_0x4193c4[_0x1d4013(0x41c)]['id']),_0x5d27c8[_0x1d4013(0x29e)][_0x4193c4[_0x1d4013(0x41c)]['id']],_0x5d27c8[_0x1d4013(0x29e)][_0x4f1dd9]));return N([e[_0x1d4013(0x40f)][_0x1d4013(0x47e)](M[_0x1d4013(0x41c)](_0x545558,_0x4193c4['field']['id']),_0x4193c4[_0x1d4013(0x41c)]),e[_0x1d4013(0x40f)]['replaceOp']([_0x1d4013(0x258),_0x545558,'fieldOrder'],_0x5d40bf[_0x1d4013(0x2d8)],_0xa5a77c),..._0x53ee31,..._0x5b31c5]);}[_0xa3b18d(0x194)](_0xc4c056,_0x1bd6b7,_0x15d348,_0x3cbee3){const _0x198b1c=_0xa3b18d;let _0x574411=_0xc4c056[_0x198b1c(0x258)][_0x1bd6b7][_0x198b1c(0x35e)][_0x15d348],_0x59aab0={..._0x574411,..._0x3cbee3};Object[_0x198b1c(0x1c8)](_0x3cbee3)[_0x198b1c(0x465)](_0x1855ed=>{_0x3cbee3[_0x1855ed]===void 0x0&&delete _0x59aab0[_0x1855ed];});let _0x3caf8e=e[_0x198b1c(0x40f)][_0x198b1c(0x41d)](M['field'](_0x1bd6b7,_0x15d348),_0x574411,_0x59aab0);return _0x59aab0[_0x198b1c(0x177)]===e['BaseFieldType'][_0x198b1c(0x363)]?N([_0x3caf8e,...this['_setFormulaFieldCells'](_0xc4c056,_0x1bd6b7,_0x15d348,_0x59aab0)]):_0x3caf8e;}[_0xa3b18d(0x453)](_0x1f3e15,_0x11d798,_0x301eba,_0x29fbcf){const _0x265089=_0xa3b18d;return this[_0x265089(0x194)](_0x1f3e15,_0x11d798,_0x301eba,_0x29fbcf);}[_0xa3b18d(0x328)](_0x14a657,_0x24bbf0,_0x50adf9){const _0x573f71=_0xa3b18d;let _0x1f010f=_0x14a657[_0x573f71(0x258)][_0x24bbf0];if(!(_0x1f010f!=null&&_0x1f010f[_0x573f71(0x35e)][_0x50adf9])||_0x1f010f[_0x573f71(0x419)]===_0x50adf9)return e[_0x573f71(0x40f)][_0x573f71(0x41d)]([_0x573f71(0x258),_0x24bbf0,_0x573f71(0x2d8)],_0x1f010f==null?void 0x0:_0x1f010f[_0x573f71(0x2d8)],_0x1f010f==null?void 0x0:_0x1f010f[_0x573f71(0x2d8)]);let _0xd5aa39=_0x1f010f[_0x573f71(0x2d8)][_0x573f71(0x2dd)](_0x50adf9),_0x46648e=Object['values'](_0x1f010f[_0x573f71(0x411)])['flatMap'](_0xd54c52=>{const _0x20d284=_0x573f71;var _0x1805ba,_0x357804,_0x483045,_0xf629e4,_0x38adf6,_0x1e9b6c,_0x1957f5,_0x1bf3e6;let _0x322754=[],_0x399c40=(_0x1805ba=(_0x357804=_0xd54c52[_0x20d284(0x2d8)])==null?void 0x0:_0x357804[_0x20d284(0x2dd)](_0x50adf9))==null?-0x1:_0x1805ba;_0x399c40>=0x0&&_0x322754[_0x20d284(0x439)](e[_0x20d284(0x40f)][_0x20d284(0x357)]([...M['view'](_0x24bbf0,_0xd54c52['id']),'fieldOrder',_0x399c40],_0x50adf9));let _0x3b26f2=(_0x483045=_0xd54c52['fieldSettings'])==null?void 0x0:_0x483045[_0x50adf9];_0x3b26f2!==void 0x0&&_0x322754[_0x20d284(0x439)](e[_0x20d284(0x40f)]['removeOp']([...M[_0x20d284(0x418)](_0x24bbf0,_0xd54c52['id']),_0x20d284(0x326),_0x50adf9],_0x3b26f2));let _0x998cd9=_0xd54c52[_0x20d284(0x314)]?{..._0xd54c52['filter'],'conditions':_0xd54c52[_0x20d284(0x314)][_0x20d284(0x296)][_0x20d284(0x314)](_0x5acf32=>_0x5acf32['fieldId']!==_0x50adf9)}:_0xd54c52[_0x20d284(0x314)];_0x998cd9&&_0x998cd9[_0x20d284(0x296)][_0x20d284(0x333)]!==((_0xf629e4=_0xd54c52[_0x20d284(0x314)])==null?void 0x0:_0xf629e4[_0x20d284(0x296)]['length'])&&_0x322754[_0x20d284(0x439)](this[_0x20d284(0x1bc)]([...M[_0x20d284(0x418)](_0x24bbf0,_0xd54c52['id']),_0x20d284(0x314)],_0xd54c52[_0x20d284(0x314)],_0x998cd9));let _0x29baf9=(_0x38adf6=_0xd54c52[_0x20d284(0x33d)])==null?void 0x0:_0x38adf6[_0x20d284(0x314)](_0x4f0d1e=>_0x4f0d1e['fieldId']!==_0x50adf9);_0x29baf9&&_0x29baf9[_0x20d284(0x333)]!==((_0x1e9b6c=_0xd54c52[_0x20d284(0x33d)])==null?void 0x0:_0x1e9b6c[_0x20d284(0x333)])&&_0x322754[_0x20d284(0x439)](this[_0x20d284(0x1bc)]([...M[_0x20d284(0x418)](_0x24bbf0,_0xd54c52['id']),_0x20d284(0x33d)],_0xd54c52[_0x20d284(0x33d)],_0x29baf9));let _0x40b1ad=(_0x1957f5=_0xd54c52[_0x20d284(0x1cb)])==null?void 0x0:_0x1957f5[_0x20d284(0x314)](_0x33ff77=>_0x33ff77['fieldId']!==_0x50adf9);_0x40b1ad&&_0x40b1ad[_0x20d284(0x333)]!==((_0x1bf3e6=_0xd54c52[_0x20d284(0x1cb)])==null?void 0x0:_0x1bf3e6[_0x20d284(0x333)])&&_0x322754[_0x20d284(0x439)](this[_0x20d284(0x1bc)]([...M['view'](_0x24bbf0,_0xd54c52['id']),_0x20d284(0x1cb)],_0xd54c52[_0x20d284(0x1cb)],_0x40b1ad));let _0x3b17ca=gt(_0xd54c52[_0x20d284(0x3af)],_0x50adf9);return JSON[_0x20d284(0x23e)](_0x3b17ca)!==JSON[_0x20d284(0x23e)](_0xd54c52[_0x20d284(0x3af)])&&_0x322754['push'](e[_0x20d284(0x40f)][_0x20d284(0x41d)]([...M[_0x20d284(0x418)](_0x24bbf0,_0xd54c52['id']),_0x20d284(0x3af)],_0xd54c52[_0x20d284(0x3af)],_0x3b17ca)),_0x322754;}),_0x3fb52f=Object[_0x573f71(0x29e)](_0x1f010f[_0x573f71(0x332)])[_0x573f71(0x2f9)](_0x3ab3a3=>Object[_0x573f71(0x430)][_0x573f71(0x369)][_0x573f71(0x24f)](_0x3ab3a3[_0x573f71(0x29e)],_0x50adf9)?[e['JSON1'][_0x573f71(0x357)](M[_0x573f71(0x32a)](_0x24bbf0,_0x3ab3a3['id'],_0x50adf9),_0x3ab3a3[_0x573f71(0x29e)][_0x50adf9])]:[]);return N([e['JSON1'][_0x573f71(0x357)](M['field'](_0x24bbf0,_0x50adf9),_0x1f010f[_0x573f71(0x35e)][_0x50adf9]),e[_0x573f71(0x40f)][_0x573f71(0x357)](M[_0x573f71(0x2d8)](_0x24bbf0,_0xd5aa39),_0x50adf9),..._0x46648e,..._0x3fb52f,...this[_0x573f71(0x338)](_0x1f010f,_0x24bbf0,_0x307fab=>_0x307fab[_0x573f71(0x337)](_0x50adf9+'\x1f'))]);}[_0xa3b18d(0x487)](_0x44eb59,_0x37947a,_0x5690b9,_0x301a9b){const _0x239174=_0xa3b18d;let _0x1b9071=_0x44eb59[_0x239174(0x258)][_0x37947a]['fieldOrder'],_0x1bb607=mt(_0x1b9071,_0x5690b9,_0x301a9b);return e[_0x239174(0x40f)][_0x239174(0x41d)]([_0x239174(0x258),_0x37947a,_0x239174(0x2d8)],_0x1b9071,_0x1bb607);}[_0xa3b18d(0x353)](_0x20a9bb,_0x462d96,_0x671a5a,_0x5e8ef8=_0x20a9bb['tables'][_0x462d96]['viewOrder'][_0xa3b18d(0x333)]){const _0x18495a=_0xa3b18d;return N([e['JSON1'][_0x18495a(0x47e)](M['view'](_0x462d96,_0x671a5a['id']),_0x671a5a),e[_0x18495a(0x40f)][_0x18495a(0x47e)]([_0x18495a(0x258),_0x462d96,_0x18495a(0x320),_0x5e8ef8],_0x671a5a['id'])]);}[_0xa3b18d(0x36f)](_0x253f33,_0x5f3445,_0x26efc4,_0x1ffc60){const _0x2baab1=_0xa3b18d;return e[_0x2baab1(0x40f)][_0x2baab1(0x41d)]([...M['view'](_0x5f3445,_0x26efc4),'name'],_0x253f33[_0x2baab1(0x258)][_0x5f3445][_0x2baab1(0x411)][_0x26efc4][_0x2baab1(0x2cb)],_0x1ffc60);}[_0xa3b18d(0x1b0)](_0x3b2a3b,_0x42cef1,_0x48e103){const _0x5a18c7=_0xa3b18d;let _0x5d1dda=_0x3b2a3b[_0x5a18c7(0x258)][_0x42cef1],_0x35f221=_0x5d1dda[_0x5a18c7(0x411)][_0x48e103],_0x218bfb=_0x5d1dda[_0x5a18c7(0x320)][_0x5a18c7(0x2dd)](_0x48e103);return N([e[_0x5a18c7(0x40f)][_0x5a18c7(0x357)](M[_0x5a18c7(0x418)](_0x42cef1,_0x48e103),_0x35f221),e[_0x5a18c7(0x40f)][_0x5a18c7(0x357)]([_0x5a18c7(0x258),_0x42cef1,_0x5a18c7(0x320),_0x218bfb],_0x48e103)]);}[_0xa3b18d(0x1df)](_0xae442f,_0x5950f0,_0x2df1b6,_0x2f4b7a){const _0x13045a=_0xa3b18d;let _0x5a4ff6=_0xae442f[_0x13045a(0x258)][_0x5950f0][_0x13045a(0x320)],_0xdd6d66=mt(_0x5a4ff6,_0x2df1b6,{'beforeFieldId':_0x2f4b7a['beforeViewId'],'afterFieldId':_0x2f4b7a['afterViewId']});return e[_0x13045a(0x40f)][_0x13045a(0x41d)]([_0x13045a(0x258),_0x5950f0,_0x13045a(0x320)],_0x5a4ff6,_0xdd6d66);}[_0xa3b18d(0x373)](_0x57a084,_0x3c2ad6,_0x33e618,_0x9a7e7f){const _0x573e5e=_0xa3b18d;var _0x166536;let _0x1d01b0=(_0x166536=_0x57a084[_0x573e5e(0x258)][_0x3c2ad6]['views'][_0x33e618][_0x573e5e(0x3af)])==null?{}:_0x166536,_0x17d2cd={..._0x1d01b0,..._0x9a7e7f};return Object[_0x573e5e(0x1c8)](_0x9a7e7f)[_0x573e5e(0x465)](_0x285b4f=>{_0x9a7e7f[_0x285b4f]===void 0x0&&delete _0x17d2cd[_0x285b4f];}),e[_0x573e5e(0x40f)][_0x573e5e(0x41d)]([...M[_0x573e5e(0x418)](_0x3c2ad6,_0x33e618),_0x573e5e(0x3af)],_0x1d01b0,_0x17d2cd);}[_0xa3b18d(0x1dd)](_0x15555d,_0x4699f0,_0x453afb,_0xf7c2ee){const _0x57140c=_0xa3b18d;return this[_0x57140c(0x1bc)]([...M['view'](_0x4699f0,_0x453afb),_0x57140c(0x314)],_0x15555d[_0x57140c(0x258)][_0x4699f0]['views'][_0x453afb][_0x57140c(0x314)],_0xf7c2ee);}[_0xa3b18d(0x42d)](_0x4cc0b2,_0xa590ef,_0x1b1a0e,_0x1f1b6c){const _0x33471c=_0xa3b18d;return this['_replaceOptional']([...M['view'](_0xa590ef,_0x1b1a0e),_0x33471c(0x33d)],_0x4cc0b2[_0x33471c(0x258)][_0xa590ef]['views'][_0x1b1a0e][_0x33471c(0x33d)],_0x1f1b6c);}[_0xa3b18d(0x26b)](_0x29fffd,_0x5eec20,_0x5936b0,_0x501310){const _0x194c85=_0xa3b18d;return this[_0x194c85(0x1bc)]([...M[_0x194c85(0x418)](_0x5eec20,_0x5936b0),'group'],_0x29fffd[_0x194c85(0x258)][_0x5eec20][_0x194c85(0x411)][_0x5936b0]['group'],_0x501310);}[_0xa3b18d(0x25d)](_0xe5707b,_0x561041,_0x1887a3,_0x2baffb,_0x601de2){const _0x53ade4=_0xa3b18d;return this[_0x53ade4(0x396)](_0xe5707b,_0x561041,_0x1887a3,_0x2baffb,{'hidden':!_0x601de2});}['setViewFieldWidth'](_0x20c79b,_0x14b6d2,_0x3e18bd,_0xa21d64,_0x30b2ac){const _0x3e5fd1=_0xa3b18d;return this[_0x3e5fd1(0x396)](_0x20c79b,_0x14b6d2,_0x3e18bd,_0xa21d64,{'width':_0x30b2ac});}[_0xa3b18d(0x356)](_0x4aee1a,_0xa0774f,_0x57ed95,_0x2a173c,_0x3d94b1){const _0x2cebd9=_0xa3b18d;var _0x18c43d;let _0x2e0153=_0x4aee1a[_0x2cebd9(0x258)][_0xa0774f][_0x2cebd9(0x411)][_0x57ed95],_0x520bb8=mt((_0x18c43d=_0x2e0153[_0x2cebd9(0x2d8)])==null?_0x4aee1a['tables'][_0xa0774f][_0x2cebd9(0x2d8)]:_0x18c43d,_0x2a173c,_0x3d94b1);return this[_0x2cebd9(0x1bc)]([...M[_0x2cebd9(0x418)](_0xa0774f,_0x57ed95),'fieldOrder'],_0x2e0153[_0x2cebd9(0x2d8)],_0x520bb8);}[_0xa3b18d(0x396)](_0x72e2aa,_0x5bb7dc,_0xf114b8,_0xc2c9cb,_0x7cc0e){const _0x5afa78=_0xa3b18d;var _0xbbd357;let _0x598441=(_0xbbd357=_0x72e2aa['tables'][_0x5bb7dc][_0x5afa78(0x411)][_0xf114b8][_0x5afa78(0x326)])==null?{}:_0xbbd357,_0x118ddf={..._0x598441,[_0xc2c9cb]:{..._0x598441[_0xc2c9cb],..._0x7cc0e}};return this['_replaceOptional']([...M['view'](_0x5bb7dc,_0xf114b8),_0x5afa78(0x326)],_0x72e2aa[_0x5afa78(0x258)][_0x5bb7dc][_0x5afa78(0x411)][_0xf114b8]['fieldSettings'],_0x118ddf);}[_0xa3b18d(0x16b)](_0x48335a,_0x46b738,_0x48581a){const _0x4ec791=_0xa3b18d;let _0x550358=_0x48335a[_0x4ec791(0x258)][_0x46b738],_0x5b3c5d=new Set(_0x48581a['map'](_0x2bb51e=>_0x2bb51e['id'])),_0x55bce8=[...Object[_0x4ec791(0x29e)](_0x550358[_0x4ec791(0x332)])[_0x4ec791(0x314)](_0x5d1cd9=>!_0x5b3c5d[_0x4ec791(0x397)](_0x5d1cd9['id'])),..._0x48581a][_0x4ec791(0x33d)]((_0x25e501,_0x55cba1)=>{const _0x1da2ba=_0x4ec791;var _0x3eb81c,_0x50efa0;return String((_0x3eb81c=_0x25e501[_0x1da2ba(0x390)])==null?_0x25e501['id']:_0x3eb81c)['localeCompare'](String((_0x50efa0=_0x55cba1['orderKey'])==null?_0x55cba1['id']:_0x50efa0));})['map'](_0x531f46=>_0x531f46['id']),_0x20cb39=[...M[_0x4ec791(0x3ac)](_0x46b738),_0x4ec791(0x47c)];return _0x550358[_0x4ec791(0x47c)]?e[_0x4ec791(0x40f)][_0x4ec791(0x41d)](_0x20cb39,_0x550358[_0x4ec791(0x47c)],_0x55bce8):e[_0x4ec791(0x40f)][_0x4ec791(0x47e)](_0x20cb39,_0x55bce8);}[_0xa3b18d(0x2e8)](_0x1583d9,_0x537fac,_0x1334d2,_0x27efe6){const _0x521980=_0xa3b18d;var _0x5f4131,_0x6df9f1,_0x3b60cc,_0x8c9a20;let _0x44c18e=d(_0x1583d9[_0x521980(0x258)][_0x537fac]),_0x29a180=String((_0x5f4131=(_0x6df9f1=_0x27efe6[_0x521980(0x3af)])==null?void 0x0:_0x6df9f1['formula'])==null?'':_0x5f4131)['trim'](),_0x59b276=(_0x3b60cc=_0x44c18e[_0x521980(0x3b6)])==null?void 0x0:_0x3b60cc[_0x1334d2];if(_0x59b276==null)return[];let _0x290429=(_0x8c9a20=_0x44c18e[_0x521980(0x47c)])==null?Object[_0x521980(0x1c8)](_0x44c18e[_0x521980(0x332)]):_0x8c9a20,_0x16630f=_0x290429[_0x521980(0x1da)](_0x294039=>{const _0x303387=_0x521980;var _0x5c88f1;return(_0x5c88f1=_0x44c18e[_0x303387(0x164)])==null?void 0x0:_0x5c88f1[_0x294039];})[_0x521980(0x484)](_0x3586f8=>_0x3586f8!=null);return _0x290429['flatMap'](_0x3c15f9=>{const _0xfb7106=_0x521980;var _0x77b9c5,_0x1889d5;let _0x104301=(_0x77b9c5=_0x44c18e[_0xfb7106(0x164)])==null?void 0x0:_0x77b9c5[_0x3c15f9];if(_0x104301==null)return[];let _0x38fffa=(_0x1889d5=_0x44c18e[_0xfb7106(0x2d6)])==null||(_0x1889d5=_0x1889d5[_0x104301])==null?void 0x0:_0x1889d5[_0x59b276],_0x46fdc5=_0x29a180?_0x104301===_0x16630f?{'f':_0x29a180,'si':_0x1334d2}:{'si':_0x1334d2}:{'v':null,'t':null};return[this[_0xfb7106(0x1bc)](M[_0xfb7106(0x2d6)](_0x537fac,_0x104301,_0x59b276),_0x38fffa,_0x46fdc5)];});}[_0xa3b18d(0x16d)](_0x331cfa,_0x2329d7,_0x2b12bd,_0xf6dc28,_0x56ccc3){const _0x33283f=_0xa3b18d;var _0x5118ae;let _0x5305d8=re(_0xf6dc28,_0x2b12bd),_0x5c7e3e=_0x56ccc3[_0x33283f(0x1da)]((_0x453265,_0x7aaf02)=>{var _0x25ab4c;return String((_0x25ab4c=_0x453265['id'])==null?_0x5305d8+'\x1f'+_0x7aaf02:_0x25ab4c);});return[this[_0x33283f(0x1bc)](M[_0x33283f(0x39c)](_0x2329d7,_0x5305d8),(_0x5118ae=_0x331cfa[_0x33283f(0x37d)])==null||(_0x5118ae=_0x5118ae[_0x33283f(0x42f)])==null?void 0x0:_0x5118ae[_0x5305d8],_0x5c7e3e),..._0x56ccc3[_0x33283f(0x1da)]((_0x3f74e2,_0xb4aeab)=>{const _0x12bd2a=_0x33283f;var _0x1ce526;let _0x4c4358=_0x5c7e3e[_0xb4aeab];return this[_0x12bd2a(0x1bc)](M[_0x12bd2a(0x3ff)](_0x2329d7,_0x4c4358),(_0x1ce526=_0x331cfa[_0x12bd2a(0x37d)])==null||(_0x1ce526=_0x1ce526[_0x12bd2a(0x3dd)])==null?void 0x0:_0x1ce526[_0x4c4358],{..._0x3f74e2,'id':_0x4c4358});})];}[_0xa3b18d(0x338)](_0x238cb1,_0x223bc3,_0x40c798){const _0x5c9d51=_0xa3b18d;var _0x54b308,_0x14aad4;let _0x412995=(_0x54b308=(_0x14aad4=_0x238cb1[_0x5c9d51(0x37d)])==null?void 0x0:_0x14aad4[_0x5c9d51(0x42f)])==null?{}:_0x54b308,_0x44cf95=Object[_0x5c9d51(0x217)](_0x412995)['filter'](([_0x576372])=>_0x40c798(_0x576372));if(!_0x44cf95[_0x5c9d51(0x333)])return[];let _0x52fe33=new Set(Object[_0x5c9d51(0x217)](_0x412995)['filter'](([_0xccd58d])=>!_0x40c798(_0xccd58d))[_0x5c9d51(0x2f9)](([,_0x3f8af3])=>_0x3f8af3)),_0x312a4c=new Set(_0x44cf95[_0x5c9d51(0x2f9)](([,_0x599649])=>_0x599649));return[..._0x44cf95[_0x5c9d51(0x1da)](([_0x59da7a,_0x678d15])=>e[_0x5c9d51(0x40f)][_0x5c9d51(0x357)](M['attachmentSet'](_0x223bc3,_0x59da7a),_0x678d15)),...Array[_0x5c9d51(0x3aa)](_0x312a4c)[_0x5c9d51(0x2f9)](_0x2a8ed3=>{const _0x552a88=_0x5c9d51;var _0x41d5e4;let _0x1e77e9=(_0x41d5e4=_0x238cb1[_0x552a88(0x37d)])==null||(_0x41d5e4=_0x41d5e4[_0x552a88(0x3dd)])==null?void 0x0:_0x41d5e4[_0x2a8ed3];return _0x1e77e9!==void 0x0&&!_0x52fe33['has'](_0x2a8ed3)?[e[_0x552a88(0x40f)][_0x552a88(0x357)](M[_0x552a88(0x3ff)](_0x223bc3,_0x2a8ed3),_0x1e77e9)]:[];})];}['_replaceOptional'](_0x258625,_0x52e7db,_0x40afcf){const _0x34a5a5=_0xa3b18d;return _0x52e7db===void 0x0?e['JSON1']['insertOp'](_0x258625,_0x40afcf):e['JSON1'][_0x34a5a5(0x41d)](_0x258625,_0x52e7db,_0x40afcf);}};function ft(_0x101a90,_0x32652f,_0x4134d5){const _0x4704f1=_0xa3b18d;var _0x10069b,_0x541da0,_0x4977b4,_0x24c87d;let _0x5a8400=(_0x10069b=_0x101a90['rowIndex'])==null?void 0x0:_0x10069b[_0x32652f],_0x441256=(_0x541da0=_0x101a90[_0x4704f1(0x3b6)])==null?void 0x0:_0x541da0[_0x4134d5];return _0x5a8400!=null&&_0x441256!=null&&((_0x4977b4=_0x101a90[_0x4704f1(0x262)])==null?void 0x0:_0x4977b4[_0x5a8400])===_0x32652f&&((_0x24c87d=_0x101a90['colId'])==null?void 0x0:_0x24c87d[_0x441256])===_0x4134d5&&_0x101a90[_0x4704f1(0x2d6)]!=null;}function pt(_0x388042,_0x2e41ad,_0x212da4){const _0x44ca9d=_0xa3b18d;var _0x103cf,_0x38bdbf;return((_0x103cf=_0x388042[_0x44ca9d(0x262)])==null?void 0x0:_0x103cf[_0x2e41ad])!=null&&((_0x38bdbf=_0x388042[_0x44ca9d(0x171)])==null?void 0x0:_0x38bdbf[_0x212da4])!=null&&_0x388042[_0x44ca9d(0x2d6)]!=null;}function mt(_0x3d2afb,_0x4585d7,_0x2d3316){const _0x320560=_0xa3b18d;let _0x5892c2=_0x3d2afb[_0x320560(0x314)](_0x243f5f=>_0x243f5f!==_0x4585d7),_0x3e626a=_0x2d3316[_0x320560(0x3ba)]?_0x5892c2['indexOf'](_0x2d3316[_0x320560(0x3ba)]):_0x2d3316['afterFieldId']?_0x5892c2['indexOf'](_0x2d3316[_0x320560(0x3d9)])+0x1:_0x5892c2[_0x320560(0x333)];return _0x5892c2[_0x320560(0x18d)](_0x3e626a<0x0?_0x5892c2['length']:_0x3e626a,0x0,_0x4585d7),_0x5892c2;}function ht(_0x57bbf0,_0xdda76a,_0x4c275a){const _0x1dbea4=_0xa3b18d;let _0x13d3fa=_0x57bbf0[_0x1dbea4(0x314)](_0x1ca432=>_0x1ca432!==_0xdda76a);return _0x13d3fa[_0x1dbea4(0x18d)](_t(_0x4c275a,_0x13d3fa['length']),0x0,_0xdda76a),_0x13d3fa;}function gt(_0xe24b97,_0x548182,_0x577a3f){const _0x3d1ddf=_0xa3b18d;if(Array[_0x3d1ddf(0x18c)](_0xe24b97))return _0x577a3f===_0x3d1ddf(0x454)?_0xe24b97[_0x3d1ddf(0x314)](_0x1c1e5b=>_0x1c1e5b!==_0x548182):_0xe24b97['flatMap'](_0x33c21a=>{const _0x4ffe48=_0x3d1ddf;if(_0x33c21a&&typeof _0x33c21a==_0x4ffe48(0x20d)&&!Array['isArray'](_0x33c21a)&&_0x33c21a[_0x4ffe48(0x2ee)]===_0x548182)return[];let _0x518f64=gt(_0x33c21a,_0x548182);return _0x518f64===void 0x0?[]:[_0x518f64];});if(!_0xe24b97||typeof _0xe24b97!=_0x3d1ddf(0x20d))return _0x577a3f!=null&&_0x577a3f[_0x3d1ddf(0x45e)]('FieldId')&&_0xe24b97===_0x548182?void 0x0:_0xe24b97;let _0x139a5a=_0xe24b97;if(_0x139a5a[_0x3d1ddf(0x2ee)]!==_0x548182)return Object[_0x3d1ddf(0x26d)](Object[_0x3d1ddf(0x217)](_0x139a5a)['flatMap'](([_0x5e69c8,_0x318adb])=>{const _0x12e087=_0x3d1ddf;if(_0x5e69c8===_0x548182&&_0x577a3f===_0x12e087(0x326))return[];let _0x3e7b0e=gt(_0x318adb,_0x548182,_0x5e69c8);return _0x3e7b0e===void 0x0?[]:[[_0x5e69c8,_0x3e7b0e]];}));}function _t(_0x52a5e3,_0x506aad){const _0x331989=_0xa3b18d;return Math[_0x331989(0x21a)](0x0,Math[_0x331989(0x358)](_0x52a5e3,_0x506aad));}function vt(_0x2b9fc5,_0xc49335,_0x53a906){const _0x379db8=_0xa3b18d;if(!_0x2b9fc5||!_0xc49335||_0xc49335===_0x53a906)return _0x2b9fc5;let _0x2ce990='',_0x495f80=!0x1,_0x592670=_0xc49335['toLowerCase']();for(let _0x4bb759=0x0;_0x4bb759<_0x2b9fc5['length'];){let _0x5dadb1=_0x2b9fc5[_0x4bb759];if(_0x5dadb1==='\x22'){if(_0x495f80&&_0x2b9fc5[_0x4bb759+0x1]==='\x22'){_0x2ce990+='\x22\x22',_0x4bb759+=0x2;continue;}_0x495f80=!_0x495f80,_0x2ce990+=_0x5dadb1,_0x4bb759++;continue;}if(!_0x495f80&&_0x2b9fc5[_0x379db8(0x2ce)](_0x4bb759,_0x4bb759+_0xc49335[_0x379db8(0x333)])['toLowerCase']()===_0x592670&&yt(_0x2b9fc5,_0x4bb759,_0xc49335['length'])){_0x2ce990+=_0x53a906,_0x4bb759+=_0xc49335[_0x379db8(0x333)];continue;}_0x2ce990+=_0x5dadb1,_0x4bb759++;}return _0x2ce990;}function yt(_0x1d8c98,_0xd522f5,_0x4df095){var _0x4fa2d0;let _0x5c5914=_0x1d8c98[_0xd522f5-0x1];if(_0x5c5914&&/[\w.]/['test'](_0x5c5914))return!0x1;let _0x364828=_0xd522f5+_0x4df095;for(;/\s/['test']((_0x4fa2d0=_0x1d8c98[_0x364828])==null?'':_0x4fa2d0);)_0x364828++;return _0x1d8c98[_0x364828]==='[';}function F(_0x3cd423){'@babel/helpers - typeof';const _0x2b87ab=_0xa3b18d;return F=typeof Symbol==_0x2b87ab(0x3d2)&&typeof Symbol[_0x2b87ab(0x1c7)]==_0x2b87ab(0x319)?function(_0xcc8ea5){return typeof _0xcc8ea5;}:function(_0x58fdfa){const _0x45ea98=_0x2b87ab;return _0x58fdfa&&typeof Symbol==_0x45ea98(0x3d2)&&_0x58fdfa[_0x45ea98(0x46c)]===Symbol&&_0x58fdfa!==Symbol['prototype']?_0x45ea98(0x319):typeof _0x58fdfa;},F(_0x3cd423);}function bt(_0x4f44d0,_0x3145f5){const _0x3e4f1f=_0xa3b18d;if(F(_0x4f44d0)!=_0x3e4f1f(0x20d)||!_0x4f44d0)return _0x4f44d0;var _0x2206e9=_0x4f44d0[Symbol[_0x3e4f1f(0x26f)]];if(_0x2206e9!==void 0x0){var _0x1c77c1=_0x2206e9[_0x3e4f1f(0x24f)](_0x4f44d0,_0x3145f5||'default');if(F(_0x1c77c1)!=_0x3e4f1f(0x20d))return _0x1c77c1;throw TypeError(_0x3e4f1f(0x426));}return(_0x3145f5===_0x3e4f1f(0x181)?String:Number)(_0x4f44d0);}function xt(_0x70ea95){const _0x59dfb8=_0xa3b18d;var _0x34dc11=bt(_0x70ea95,'string');return F(_0x34dc11)==_0x59dfb8(0x319)?_0x34dc11:_0x34dc11+'';}function I(_0x101369,_0x12ffce,_0x21206d){const _0xba6dce=_0xa3b18d;return(_0x12ffce=xt(_0x12ffce))in _0x101369?Object[_0xba6dce(0x36d)](_0x101369,_0x12ffce,{'value':_0x21206d,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x101369[_0x12ffce]=_0x21206d,_0x101369;}const L=(0x0,e[_0xa3b18d(0x2db)])(_0xa3b18d(0x32b));var St=class extends e['Disposable']{constructor(..._0xd3ef8){const _0x184940=_0xa3b18d;super(..._0xd3ef8),I(this,_0x184940(0x22f),new Map());}[_0xa3b18d(0x2cd)](_0x148591){const _0x5226ff=_0xa3b18d;return this[_0x5226ff(0x22f)][_0x5226ff(0x3e5)](_0x148591[_0x5226ff(0x177)],_0x148591),(0x0,e['toDisposable'])(()=>this[_0x5226ff(0x22f)][_0x5226ff(0x3e1)](_0x148591[_0x5226ff(0x177)]));}['get'](_0x38a808){const _0x29715d=_0xa3b18d;let _0x1d5090=this[_0x29715d(0x22f)]['get'](_0x38a808);if(!_0x1d5090)throw Error(_0x29715d(0x29f)+_0x38a808+_0x29715d(0x1fd));return _0x1d5090;}['getTypePlugin'](_0x2627f9){const _0x2b4668=_0xa3b18d;return this['_plugins'][_0x2b4668(0x221)](_0x2627f9);}['getAll'](){const _0xc46a3a=_0xa3b18d;return Array[_0xc46a3a(0x3aa)](this[_0xc46a3a(0x22f)][_0xc46a3a(0x29e)]());}};const Ct=(0x0,e[_0xa3b18d(0x2db)])(_0xa3b18d(0x215));var wt=class{constructor(){const _0x22329e=_0xa3b18d;I(this,'_basePermissions',new Map()),I(this,_0x22329e(0x42b),new Map()),I(this,'_fieldPermissions',new Map()),I(this,_0x22329e(0x1bb),new Map());}[_0xa3b18d(0x17e)](_0x3cbd86){const _0x11a7dc=_0xa3b18d;var _0x34ba6c,_0x42c70e;return(_0x34ba6c=(_0x42c70e=this[_0x11a7dc(0x2ef)][_0x11a7dc(0x221)](_0x3cbd86))==null?void 0x0:_0x42c70e[_0x11a7dc(0x37a)])==null?!0x0:_0x34ba6c;}[_0xa3b18d(0x2d3)](_0x7dc8fb){const _0x1129af=_0xa3b18d;var _0x556d20,_0x218ee3;return(_0x556d20=(_0x218ee3=this['_tablePermissions'][_0x1129af(0x221)](_0x7dc8fb))==null?void 0x0:_0x218ee3[_0x1129af(0x3e1)])==null?!0x0:_0x556d20;}[_0xa3b18d(0x30a)](_0x365e5e){const _0x1dd5f3=_0xa3b18d;var _0x2fb2dd,_0x1d379d;return(_0x2fb2dd=(_0x1d379d=this['_tablePermissions']['get'](_0x365e5e))==null?void 0x0:_0x1d379d[_0x1dd5f3(0x474)])==null?!0x0:_0x2fb2dd;}[_0xa3b18d(0x408)](_0x1dda8a,_0x1d67b2){const _0xffdfe9=_0xa3b18d;var _0x54309f,_0x34413e;return(_0x54309f=(_0x34413e=this[_0xffdfe9(0x3f9)]['get'](R(_0x1dda8a,_0x1d67b2)))==null?void 0x0:_0x34413e['edit'])==null?!0x0:_0x54309f;}[_0xa3b18d(0x435)](_0x2ac4e3,_0x5e2f62){const _0x25664f=_0xa3b18d;var _0x5d1e98,_0x5d1f1d;return(_0x5d1e98=(_0x5d1f1d=this[_0x25664f(0x3f9)][_0x25664f(0x221)](R(_0x2ac4e3,_0x5e2f62)))==null?void 0x0:_0x5d1f1d[_0x25664f(0x3e1)])==null?!0x0:_0x5d1e98;}[_0xa3b18d(0x3fd)](_0x2bb032){const _0x515b3e=_0xa3b18d;var _0x44c340,_0x95a975;return(_0x44c340=(_0x95a975=this['_tablePermissions'][_0x515b3e(0x221)](_0x2bb032))==null?void 0x0:_0x95a975[_0x515b3e(0x2da)])==null?!0x0:_0x44c340;}[_0xa3b18d(0x1a0)](_0x30e6de,_0x17f33e){const _0x5f1be9=_0xa3b18d;var _0x38a3e2,_0x10fa31;return(_0x38a3e2=(_0x10fa31=this[_0x5f1be9(0x1bb)][_0x5f1be9(0x221)](Tt(_0x30e6de,_0x17f33e)))==null?void 0x0:_0x10fa31['delete'])==null?!0x0:_0x38a3e2;}[_0xa3b18d(0x16a)](_0x51a319,_0x2ea3e0,_0x4d6e7c){const _0xdd91ae=_0xa3b18d;var _0x1073df,_0xe14b94,_0xb9d0a1,_0x4a5299;let _0x1988c3=this[_0xdd91ae(0x3f9)][_0xdd91ae(0x221)](R(_0x51a319,_0x4d6e7c));return((_0x1073df=(_0xe14b94=this[_0xdd91ae(0x1bb)]['get'](Tt(_0x51a319,_0x2ea3e0)))==null?void 0x0:_0xe14b94[_0xdd91ae(0x2f0)])==null?!0x0:_0x1073df)&&((_0xb9d0a1=_0x1988c3==null?void 0x0:_0x1988c3['edit'])==null?!0x0:_0xb9d0a1)&&((_0x4a5299=_0x1988c3==null?void 0x0:_0x1988c3['editCell'])==null?!0x0:_0x4a5299);}[_0xa3b18d(0x1e6)](_0x402f3e){const _0x5908c5=_0xa3b18d;var _0x4095a8,_0x58c160;return(_0x4095a8=(_0x58c160=this[_0x5908c5(0x42b)][_0x5908c5(0x221)](_0x402f3e))==null?void 0x0:_0x58c160['manageView'])==null?!0x0:_0x4095a8;}[_0xa3b18d(0x1e2)](_0x374637,_0x9fe8aa){const _0x38efde=_0xa3b18d;this[_0x38efde(0x2ef)][_0x38efde(0x3e5)](_0x374637,{...this[_0x38efde(0x2ef)]['get'](_0x374637),..._0x9fe8aa});}['setTablePermission'](_0x3fb879,_0x5f1b9e){const _0x4154f9=_0xa3b18d;this[_0x4154f9(0x42b)][_0x4154f9(0x3e5)](_0x3fb879,{...this[_0x4154f9(0x42b)][_0x4154f9(0x221)](_0x3fb879),..._0x5f1b9e});}[_0xa3b18d(0x242)](_0x22d087,_0x4b1e53,_0x341327){const _0x2c6f9a=_0xa3b18d;let _0x5d5cbd=R(_0x22d087,_0x4b1e53);this['_fieldPermissions']['set'](_0x5d5cbd,{...this[_0x2c6f9a(0x3f9)][_0x2c6f9a(0x221)](_0x5d5cbd),..._0x341327});}[_0xa3b18d(0x2c5)](_0xac5e46,_0x4fa53b,_0x2cdffe){const _0x10227f=_0xa3b18d;let _0x58418e=Tt(_0xac5e46,_0x4fa53b);this['_recordPermissions']['set'](_0x58418e,{...this['_recordPermissions'][_0x10227f(0x221)](_0x58418e),..._0x2cdffe});}['clearBasePermission'](_0x306206){const _0x4dd75c=_0xa3b18d;this[_0x4dd75c(0x2ef)][_0x4dd75c(0x3e1)](_0x306206);}[_0xa3b18d(0x345)](_0x1db8f9){this['_tablePermissions']['delete'](_0x1db8f9);}[_0xa3b18d(0x30b)](_0x30f5c5,_0x7d50c2){const _0x21837b=_0xa3b18d;this['_fieldPermissions'][_0x21837b(0x3e1)](R(_0x30f5c5,_0x7d50c2));}[_0xa3b18d(0x18e)](_0x27e290,_0x42881d){const _0x96380b=_0xa3b18d;this[_0x96380b(0x1bb)][_0x96380b(0x3e1)](Tt(_0x27e290,_0x42881d));}[_0xa3b18d(0x2ab)](){const _0x83c945=_0xa3b18d;return{'bases':Object[_0x83c945(0x26d)](this[_0x83c945(0x2ef)]),'tables':Object[_0x83c945(0x26d)](this[_0x83c945(0x42b)]),'fields':Object[_0x83c945(0x26d)](this[_0x83c945(0x3f9)]),'records':Object[_0x83c945(0x26d)](this[_0x83c945(0x1bb)])};}};function R(_0x4fdf14,_0x2f1dd7){return _0x4fdf14+'\x1f'+_0x2f1dd7;}function Tt(_0x597b58,_0x6800e6){return _0x597b58+'\x1f'+_0x6800e6;}function z(_0x58f376,_0x1fb53e){return function(_0x611c3b,_0x376bd3){_0x1fb53e(_0x611c3b,_0x376bd3,_0x58f376);};}function B(_0x203a29,_0x5eb590,_0x5d4311,_0x299e81){const _0x170590=_0xa3b18d;var _0xc34264=arguments[_0x170590(0x333)],_0x2778cf=_0xc34264<0x3?_0x5eb590:_0x299e81===null?_0x299e81=Object[_0x170590(0x18a)](_0x5eb590,_0x5d4311):_0x299e81,_0x4817bd;if(typeof Reflect==_0x170590(0x20d)&&typeof Reflect[_0x170590(0x452)]=='function')_0x2778cf=Reflect[_0x170590(0x452)](_0x203a29,_0x5eb590,_0x5d4311,_0x299e81);else{for(var _0x36ee36=_0x203a29['length']-0x1;_0x36ee36>=0x0;_0x36ee36--)(_0x4817bd=_0x203a29[_0x36ee36])&&(_0x2778cf=(_0xc34264<0x3?_0x4817bd(_0x2778cf):_0xc34264>0x3?_0x4817bd(_0x5eb590,_0x5d4311,_0x2778cf):_0x4817bd(_0x5eb590,_0x5d4311))||_0x2778cf);}return _0xc34264>0x3&&_0x2778cf&&Object['defineProperty'](_0x5eb590,_0x5d4311,_0x2778cf),_0x2778cf;}const V=(0x0,e[_0xa3b18d(0x2db)])('base.command.service');let H=class{constructor(_0x27b368,_0x98b5e9=Et(),_0x7712b0={}){const _0x15e536=_0xa3b18d;this[_0x15e536(0x482)]=_0x27b368,this[_0x15e536(0x175)]=_0x98b5e9,this[_0x15e536(0x417)]=_0x7712b0,I(this,_0x15e536(0x1af),new P()),I(this,_0x15e536(0x31a),new w());}['createTable'](_0x309509,_0x5c24bd,_0x20c4fe){const _0xafcbf3=_0xa3b18d;if(!this[_0xafcbf3(0x482)][_0xafcbf3(0x17e)](_0x309509[_0xafcbf3(0x446)]()))throw Error(_0xafcbf3(0x210));this[_0xafcbf3(0x261)](_0x309509,this[_0xafcbf3(0x1af)]['createTable'](_0x309509[_0xafcbf3(0x2ab)](),_0x5c24bd,_0x20c4fe));}[_0xa3b18d(0x220)](_0x4d2c5c,_0x2819b0,_0x18c3e7){const _0x382062=_0xa3b18d;this['_apply'](_0x4d2c5c,this['_factory'][_0x382062(0x220)](_0x4d2c5c[_0x382062(0x2ab)](),_0x2819b0,_0x18c3e7));}[_0xa3b18d(0x2a3)](_0x5f4465,_0x32a63f){const _0x45cac5=_0xa3b18d;if(!this[_0x45cac5(0x482)][_0x45cac5(0x2d3)](_0x32a63f))throw Error(_0x45cac5(0x1a4));this['_apply'](_0x5f4465,this[_0x45cac5(0x1af)][_0x45cac5(0x2a3)](_0x5f4465[_0x45cac5(0x2ab)](),_0x32a63f));}[_0xa3b18d(0x416)](_0x524ab4,_0x588512,_0x4bcc5b,_0x231ee0,_0x131a08){const _0x41d682=_0xa3b18d;this[_0x41d682(0x261)](_0x524ab4,this[_0x41d682(0x349)](_0x524ab4,_0x588512,_0x4bcc5b,_0x231ee0,_0x131a08));}[_0xa3b18d(0x3f8)](_0x590297,_0x199ee6,_0x5380ed){const _0x2d54ef=_0xa3b18d;this[_0x2d54ef(0x261)](_0x590297,this[_0x2d54ef(0x477)](_0x590297,_0x199ee6,_0x5380ed));}[_0xa3b18d(0x2da)](_0x5ceee3,_0x586e05,_0x331cd1){const _0x120dbe=_0xa3b18d;this[_0x120dbe(0x261)](_0x5ceee3,this['createCreateRecordOp'](_0x5ceee3,_0x586e05,_0x331cd1));}[_0xa3b18d(0x349)](_0x14b7ae,_0x25d25c,_0x7fcb5e,_0x2dfdf1,_0x25143f){const _0x5bc18e=_0xa3b18d;let _0x2e212e=_0x14b7ae[_0x5bc18e(0x2ab)](),_0x181f8c=this['_normalizeCellValue'](_0x2e212e,_0x25d25c,_0x7fcb5e,_0x2dfdf1,_0x25143f),_0x4ff572=this['_withModifiedSystemValues'](_0x2e212e,_0x25d25c,_0x7fcb5e,{[_0x2dfdf1]:_0x181f8c});return this[_0x5bc18e(0x1af)][_0x5bc18e(0x3f8)](_0x2e212e,_0x25d25c,[_0x4ff572]);}[_0xa3b18d(0x477)](_0x2f12fa,_0x105909,_0x5dc33f){const _0x28f025=_0xa3b18d;let _0x9c91dd=_0x2f12fa[_0x28f025(0x2ab)](),_0x2e602c=_0x5dc33f[_0x28f025(0x1da)](_0x146e90=>this[_0x28f025(0x176)](_0x9c91dd,_0x105909,_0x146e90[_0x28f025(0x2f7)],{...Object[_0x28f025(0x26d)](Object[_0x28f025(0x217)](_0x146e90[_0x28f025(0x29e)])[_0x28f025(0x1da)](([_0x5492eb,_0x3dc55f])=>[_0x5492eb,this[_0x28f025(0x27b)](_0x9c91dd,_0x105909,_0x146e90['recordId'],_0x5492eb,_0x3dc55f)]))}));return this[_0x28f025(0x1af)][_0x28f025(0x3f8)](_0x9c91dd,_0x105909,_0x2e602c);}[_0xa3b18d(0x2c6)](_0x487aae,_0x54c1fe,_0x143c7a){const _0x5acd6c=_0xa3b18d;if(!this['_permissionService'][_0x5acd6c(0x3fd)](_0x54c1fe))throw Error(_0x5acd6c(0x24a));let _0x504815=_0x487aae[_0x5acd6c(0x2ab)](),_0x1373be=this[_0x5acd6c(0x315)](_0x504815[_0x5acd6c(0x258)][_0x54c1fe]);return this['_factory'][_0x5acd6c(0x2da)](_0x504815,_0x54c1fe,this[_0x5acd6c(0x46d)](_0x504815,_0x54c1fe,_0x143c7a,_0x1373be));}[_0xa3b18d(0x19d)](_0x1054b5,_0x1cc5b5,_0xa3ffff){const _0x1f7257=_0xa3b18d;if(!this[_0x1f7257(0x482)][_0x1f7257(0x3fd)](_0x1cc5b5))throw Error(_0x1f7257(0x24a));let _0x2d04b9=_0x1054b5[_0x1f7257(0x2ab)](),_0x52e1bb=this['_createNumberingAllocators'](_0x2d04b9['tables'][_0x1cc5b5]);return this[_0x1f7257(0x1af)][_0x1f7257(0x428)](_0x2d04b9,_0x1cc5b5,_0xa3ffff['map'](_0x44c382=>this[_0x1f7257(0x46d)](_0x2d04b9,_0x1cc5b5,_0x44c382,_0x52e1bb)));}[_0xa3b18d(0x269)](_0x27e2c1,_0x47fec7,_0x29225a,_0x2ec7b3,_0x369a12){const _0x53f19f=_0xa3b18d;if(!this['_permissionService'][_0x53f19f(0x30a)](_0x47fec7))throw Error('[BaseCommandService]:\x20cannot\x20create\x20field.');let _0x635de9=_0x27e2c1[_0x53f19f(0x2ab)](),_0x510977=this[_0x53f19f(0x1af)][_0x53f19f(0x474)](_0x635de9,_0x47fec7,{'field':_0x29225a,'index':_0x2ec7b3,'viewIndexes':_0x369a12}),_0x524a6f=this[_0x53f19f(0x29c)](_0x635de9,_0x47fec7,_0x29225a);if(!_0x524a6f['length'])return _0x510977;let _0x51a3c5=this[_0x53f19f(0x31a)]['applyOp'](_0x635de9,_0x510977);return N([_0x510977,this['_factory']['setRecordValues'](_0x51a3c5,_0x47fec7,_0x524a6f)]);}['deleteRecord'](_0x20307a,_0x3525cf,_0xd1c064){const _0x55bca6=_0xa3b18d;if(!this[_0x55bca6(0x482)][_0x55bca6(0x1a0)](_0x3525cf,_0xd1c064))throw Error(_0x55bca6(0x23d));this[_0x55bca6(0x261)](_0x20307a,this[_0x55bca6(0x1af)][_0x55bca6(0x3fc)](_0x20307a[_0x55bca6(0x2ab)](),_0x3525cf,_0xd1c064));}[_0xa3b18d(0x191)](_0x3f84d4,_0x8b2669,_0x3ac1b6,_0x2faf71){const _0x3dfd87=_0xa3b18d;this[_0x3dfd87(0x261)](_0x3f84d4,this[_0x3dfd87(0x1af)]['duplicateRecord'](_0x3f84d4['getSnapshot'](),_0x8b2669,_0x3ac1b6,_0x2faf71));}['updateRecordOrder'](_0x12a9f3,_0x3d546c,_0x12baf7,_0x59e192){const _0x4f0659=_0xa3b18d;this[_0x4f0659(0x261)](_0x12a9f3,this['_factory'][_0x4f0659(0x274)](_0x12a9f3['getSnapshot'](),_0x3d546c,_0x12baf7,_0x59e192));}['createField'](_0x4b96d6,_0x5bde83,_0x293d0e,_0x15ece8,_0x2acd24){const _0x312f74=_0xa3b18d;this['_apply'](_0x4b96d6,this[_0x312f74(0x269)](_0x4b96d6,_0x5bde83,_0x293d0e,_0x15ece8,_0x2acd24));}[_0xa3b18d(0x194)](_0x380c8b,_0x5a9f89,_0xf37002,_0x55bef9){const _0x5b3575=_0xa3b18d;if(!this[_0x5b3575(0x482)][_0x5b3575(0x408)](_0x5a9f89,_0xf37002))throw Error('[BaseCommandService]:\x20cannot\x20edit\x20field.');this[_0x5b3575(0x261)](_0x380c8b,this[_0x5b3575(0x1af)][_0x5b3575(0x194)](_0x380c8b[_0x5b3575(0x2ab)](),_0x5a9f89,_0xf37002,_0x55bef9));}[_0xa3b18d(0x453)](_0x2f3ed5,_0x3d287a,_0x1d815b,_0x170bbe){const _0x319642=_0xa3b18d;if(!this[_0x319642(0x482)]['canEditField'](_0x3d287a,_0x1d815b))throw Error(_0x319642(0x248));this[_0x319642(0x261)](_0x2f3ed5,this[_0x319642(0x1af)][_0x319642(0x453)](_0x2f3ed5['getSnapshot'](),_0x3d287a,_0x1d815b,_0x170bbe));}['deleteField'](_0x1cf990,_0x2b7b76,_0x34eede){const _0x4f539f=_0xa3b18d;var _0x2b9903;if(((_0x2b9903=_0x1cf990[_0x4f539f(0x2ab)]()[_0x4f539f(0x258)][_0x2b7b76])==null?void 0x0:_0x2b9903[_0x4f539f(0x419)])===_0x34eede)throw Error('[BaseCommandService]:\x20cannot\x20delete\x20primary\x20field.');if(!this[_0x4f539f(0x482)][_0x4f539f(0x435)](_0x2b7b76,_0x34eede))throw Error(_0x4f539f(0x193));this[_0x4f539f(0x261)](_0x1cf990,this[_0x4f539f(0x1af)][_0x4f539f(0x328)](_0x1cf990[_0x4f539f(0x2ab)](),_0x2b7b76,_0x34eede));}[_0xa3b18d(0x487)](_0x31eac3,_0x1e966c,_0x39d7e9,_0x3ff2b1){const _0x14453c=_0xa3b18d;if(!this[_0x14453c(0x482)][_0x14453c(0x408)](_0x1e966c,_0x39d7e9))throw Error(_0x14453c(0x248));this['_apply'](_0x31eac3,this[_0x14453c(0x1af)][_0x14453c(0x487)](_0x31eac3[_0x14453c(0x2ab)](),_0x1e966c,_0x39d7e9,_0x3ff2b1));}[_0xa3b18d(0x353)](_0x6e47d6,_0x2e9f9f,_0x5f048e,_0x28ec1e){const _0x56b787=_0xa3b18d;this['_apply'](_0x6e47d6,this[_0x56b787(0x1af)]['createView'](_0x6e47d6['getSnapshot'](),_0x2e9f9f,_0x5f048e,_0x28ec1e));}[_0xa3b18d(0x36f)](_0x15e931,_0x5ef39e,_0x5553f6,_0x3c46a1){const _0x504fa5=_0xa3b18d;if(!this[_0x504fa5(0x482)][_0x504fa5(0x1e6)](_0x5ef39e,_0x5553f6))throw Error(_0x504fa5(0x290));this['_apply'](_0x15e931,this[_0x504fa5(0x1af)][_0x504fa5(0x36f)](_0x15e931[_0x504fa5(0x2ab)](),_0x5ef39e,_0x5553f6,_0x3c46a1));}[_0xa3b18d(0x1b0)](_0x4ee26c,_0xeb36e2,_0x207e4b){const _0x1ec8be=_0xa3b18d;if(!this['_permissionService'][_0x1ec8be(0x1e6)](_0xeb36e2,_0x207e4b))throw Error(_0x1ec8be(0x290));this['_apply'](_0x4ee26c,this[_0x1ec8be(0x1af)][_0x1ec8be(0x1b0)](_0x4ee26c['getSnapshot'](),_0xeb36e2,_0x207e4b));}[_0xa3b18d(0x1df)](_0x421ab6,_0x2e588f,_0x4c79ea,_0x2f57a9){const _0x3f1be7=_0xa3b18d;if(!this[_0x3f1be7(0x482)][_0x3f1be7(0x1e6)](_0x2e588f,_0x4c79ea))throw Error(_0x3f1be7(0x290));this[_0x3f1be7(0x261)](_0x421ab6,this[_0x3f1be7(0x1af)][_0x3f1be7(0x1df)](_0x421ab6[_0x3f1be7(0x2ab)](),_0x2e588f,_0x4c79ea,_0x2f57a9));}[_0xa3b18d(0x373)](_0x45c177,_0x5e68ee,_0x166a3c,_0x49ea44){const _0x5b3e46=_0xa3b18d;if(!this[_0x5b3e46(0x482)][_0x5b3e46(0x1e6)](_0x5e68ee,_0x166a3c))throw Error(_0x5b3e46(0x290));this[_0x5b3e46(0x261)](_0x45c177,this[_0x5b3e46(0x1af)][_0x5b3e46(0x373)](_0x45c177['getSnapshot'](),_0x5e68ee,_0x166a3c,_0x49ea44));}[_0xa3b18d(0x1dd)](_0xcd0c8b,_0x1a50ce,_0x3f4aca,_0x19c0a5){const _0x570964=_0xa3b18d;this[_0x570964(0x261)](_0xcd0c8b,this[_0x570964(0x1af)][_0x570964(0x1dd)](_0xcd0c8b[_0x570964(0x2ab)](),_0x1a50ce,_0x3f4aca,_0x19c0a5));}['setViewSort'](_0x1d48e5,_0x1d086a,_0xb5006d,_0x2fafa9){const _0x5e7633=_0xa3b18d;this[_0x5e7633(0x261)](_0x1d48e5,this['_factory'][_0x5e7633(0x42d)](_0x1d48e5[_0x5e7633(0x2ab)](),_0x1d086a,_0xb5006d,_0x2fafa9));}['setViewGroup'](_0x2ea320,_0x8b26ed,_0x431984,_0x3b9f13){const _0x542829=_0xa3b18d;this['_apply'](_0x2ea320,this[_0x542829(0x1af)][_0x542829(0x26b)](_0x2ea320[_0x542829(0x2ab)](),_0x8b26ed,_0x431984,_0x3b9f13));}[_0xa3b18d(0x25d)](_0x501ea1,_0x22b578,_0x23f4f1,_0x303695,_0xcc1bd6){const _0x4876be=_0xa3b18d;if(!this['_permissionService'][_0x4876be(0x1e6)](_0x22b578,_0x23f4f1))throw Error(_0x4876be(0x290));this[_0x4876be(0x261)](_0x501ea1,this['_factory'][_0x4876be(0x25d)](_0x501ea1[_0x4876be(0x2ab)](),_0x22b578,_0x23f4f1,_0x303695,_0xcc1bd6));}[_0xa3b18d(0x3f2)](_0x42d881,_0x377160,_0x35528d,_0x29889c,_0x16dda0){const _0x4adbeb=_0xa3b18d;this[_0x4adbeb(0x261)](_0x42d881,this[_0x4adbeb(0x1af)]['setViewFieldWidth'](_0x42d881[_0x4adbeb(0x2ab)](),_0x377160,_0x35528d,_0x29889c,_0x16dda0));}[_0xa3b18d(0x356)](_0x21d967,_0x442185,_0x5b1cd4,_0x552244,_0x3cd9cc){const _0x44f999=_0xa3b18d;this[_0x44f999(0x261)](_0x21d967,this[_0x44f999(0x1af)][_0x44f999(0x356)](_0x21d967[_0x44f999(0x2ab)](),_0x442185,_0x5b1cd4,_0x552244,_0x3cd9cc));}['_apply'](_0x1a58bf,_0x5c057a){const _0x277610=_0xa3b18d;let _0x5dd53a=_0x1a58bf[_0x277610(0x2ab)]();_0x1a58bf[_0x277610(0x449)](this[_0x277610(0x31a)][_0x277610(0x2ac)](_0x5dd53a,_0x5c057a));}['_createRecordWithDefaults'](_0x5223f0,_0x3c46e2,_0x435f4d,_0x245294=this[_0xa3b18d(0x315)](_0x5223f0[_0xa3b18d(0x258)][_0x3c46e2])){const _0x455eaf=_0xa3b18d;var _0x1475bb,_0x3e345f,_0x1bd136,_0x15f856;let _0x2aa1bd=_0x5223f0['tables'][_0x3c46e2],_0x1e74cd=(_0x1475bb=(_0x3e345f=_0x435f4d[_0x455eaf(0x182)])==null?_0x435f4d[_0x455eaf(0x359)]:_0x3e345f)==null?this[_0x455eaf(0x1f3)]():_0x1475bb,_0x554068={..._0x435f4d,'createdBy':(_0x1bd136=_0x435f4d['createdBy'])==null?_0x1e74cd:_0x1bd136,'updatedBy':(_0x15f856=_0x435f4d[_0x455eaf(0x359)])==null?_0x1e74cd:_0x15f856,'values':{..._0x435f4d[_0x455eaf(0x29e)]}};return _0x2aa1bd[_0x455eaf(0x2d8)]['forEach'](_0x4e5bf4=>{const _0x5b816a=_0x455eaf;let _0x45ea0e=_0x2aa1bd['fields'][_0x4e5bf4];if(!(!_0x45ea0e||_0x554068[_0x5b816a(0x29e)][_0x4e5bf4]!==void 0x0))switch(_0x45ea0e[_0x5b816a(0x177)]){case e[_0x5b816a(0x17a)][_0x5b816a(0x1d9)]:var _0x53a66e,_0x1afedf;_0x554068[_0x5b816a(0x29e)][_0x4e5bf4]=(_0x53a66e=(_0x1afedf=_0x245294[_0x5b816a(0x221)](_0x4e5bf4))==null?void 0x0:_0x1afedf())==null?this[_0x5b816a(0x37c)](_0x2aa1bd,_0x4e5bf4)():_0x53a66e;break;case e[_0x5b816a(0x17a)]['CreatedBy']:_0x554068[_0x5b816a(0x182)]&&(_0x554068[_0x5b816a(0x29e)][_0x4e5bf4]=_0x554068['createdBy']);break;case e[_0x5b816a(0x17a)][_0x5b816a(0x1e0)]:_0x554068[_0x5b816a(0x359)]&&(_0x554068[_0x5b816a(0x29e)][_0x4e5bf4]=_0x554068[_0x5b816a(0x359)]);break;case e['BaseFieldType'][_0x5b816a(0x2bb)]:_0x554068[_0x5b816a(0x29e)][_0x4e5bf4]=T(_0x554068[_0x5b816a(0x278)]);break;case e[_0x5b816a(0x17a)]['UpdatedAt']:_0x554068['values'][_0x4e5bf4]=T(_0x554068[_0x5b816a(0x187)]);break;default:{let _0x245da2=_0x45ea0e[_0x5b816a(0x2de)];_0x245da2!=null&&_0x245da2!==''&&!(Array[_0x5b816a(0x18c)](_0x245da2)&&_0x245da2[_0x5b816a(0x333)]===0x0)&&(_0x554068[_0x5b816a(0x29e)][_0x4e5bf4]=_0x245da2);}}}),_0x554068;}['_withModifiedSystemValues'](_0x28e0d6,_0x144270,_0xb86e33,_0x563613){const _0xbb41c9=_0xa3b18d;var _0x35fd4c,_0x14fae6,_0x21db60;let _0x1f7cdb=_0x28e0d6[_0xbb41c9(0x258)][_0x144270],_0x3a480c=(_0x35fd4c=(_0x14fae6=(_0x21db60=this[_0xbb41c9(0x417)])[_0xbb41c9(0x1c3)])==null?void 0x0:_0x14fae6['call'](_0x21db60))==null?Date['now']():_0x35fd4c,_0xe35c43=this[_0xbb41c9(0x1f3)](),_0x16a77d={..._0x563613};return _0x1f7cdb[_0xbb41c9(0x2d8)]['forEach'](_0x346ca9=>{const _0x16e35c=_0xbb41c9;let _0x383d52=_0x1f7cdb['fields'][_0x346ca9];_0x383d52&&(_0x383d52[_0x16e35c(0x177)]===e[_0x16e35c(0x17a)][_0x16e35c(0x2e4)]&&(_0x16a77d[_0x346ca9]=T(_0x3a480c)),_0x383d52[_0x16e35c(0x177)]===e['BaseFieldType'][_0x16e35c(0x1e0)]&&_0xe35c43&&(_0x16a77d[_0x346ca9]=_0xe35c43));}),{'recordId':_0xb86e33,'values':_0x16a77d,'recordPatch':{'updatedAt':_0x3a480c,..._0xe35c43?{'updatedBy':_0xe35c43}:{}}};}[_0xa3b18d(0x29c)](_0x52e698,_0xc414d1,_0x57050a){const _0x12d866=_0xa3b18d;let _0x2c77ce=_0x52e698[_0x12d866(0x258)][_0xc414d1];return!_0x2c77ce||!Dt(_0x57050a)?[]:_0x57050a['type']===e[_0x12d866(0x17a)][_0x12d866(0x1d9)]?this[_0x12d866(0x365)](_0x2c77ce,_0x57050a['id']):Object[_0x12d866(0x29e)](_0x2c77ce[_0x12d866(0x332)])[_0x12d866(0x2f9)](_0x366f76=>{const _0x52393c=_0x12d866;let _0x57761f=this[_0x52393c(0x1ae)](_0x57050a,_0x366f76);return _0x57761f===void 0x0?[]:[{'recordId':_0x366f76['id'],'values':{[_0x57050a['id']]:_0x57761f}}];});}[_0xa3b18d(0x1ae)](_0x581e35,_0x2c7827){const _0x3b6f4f=_0xa3b18d;switch(_0x581e35[_0x3b6f4f(0x177)]){case e[_0x3b6f4f(0x17a)][_0x3b6f4f(0x422)]:var _0xe53e5c;return(_0xe53e5c=_0x2c7827[_0x3b6f4f(0x182)])==null?this['_getCurrentUserId']():_0xe53e5c;case e['BaseFieldType'][_0x3b6f4f(0x1e0)]:var _0x2d237f;return(_0x2d237f=_0x2c7827[_0x3b6f4f(0x359)])==null?this[_0x3b6f4f(0x1f3)]():_0x2d237f;case e[_0x3b6f4f(0x17a)]['CreatedAt']:var _0x3e3177;return T((_0x3e3177=_0x2c7827[_0x3b6f4f(0x278)])==null?Date[_0x3b6f4f(0x1c3)]():_0x3e3177);case e['BaseFieldType']['UpdatedAt']:var _0xbde8c8;return T((_0xbde8c8=_0x2c7827[_0x3b6f4f(0x187)])==null?Date['now']():_0xbde8c8);default:return;}}[_0xa3b18d(0x315)](_0x10ec0a){const _0x4f0e5c=_0xa3b18d;let _0x274d24=new Map();return _0x10ec0a&&_0x10ec0a[_0x4f0e5c(0x2d8)][_0x4f0e5c(0x465)](_0x11abbb=>{const _0x25c123=_0x4f0e5c;let _0x50bbfc=_0x10ec0a[_0x25c123(0x35e)][_0x11abbb];(_0x50bbfc==null?void 0x0:_0x50bbfc[_0x25c123(0x177)])===e['BaseFieldType'][_0x25c123(0x1d9)]&&_0x274d24['set'](_0x11abbb,this[_0x25c123(0x37c)](_0x10ec0a,_0x11abbb));}),_0x274d24;}[_0xa3b18d(0x37c)](_0xa350da,_0x84f18e){const _0x17f51b=_0xa3b18d;let _0x4d30a3=Object[_0x17f51b(0x29e)](_0xa350da[_0x17f51b(0x332)])[_0x17f51b(0x3fa)]((_0x2b2356,_0x5404f9)=>{const _0x2f1cae=_0x17f51b;let _0x4b6275=Number(_0x5404f9[_0x2f1cae(0x29e)][_0x84f18e]);return Number[_0x2f1cae(0x2f4)](_0x4b6275)?Math[_0x2f1cae(0x21a)](_0x2b2356,_0x4b6275):_0x2b2356;},0x0);return()=>String(++_0x4d30a3);}[_0xa3b18d(0x365)](_0x3c258b,_0x2d6caf){const _0x368001=_0xa3b18d;let _0x3d5590=this[_0x368001(0x294)](_0x3c258b),_0x20a4a2=this['_createNumberingAllocator'](_0x3c258b,_0x2d6caf);return _0x3d5590[_0x368001(0x2f9)](_0x5cef2d=>this[_0x368001(0x431)](_0x5cef2d[_0x368001(0x29e)][_0x2d6caf])?[]:[{'recordId':_0x5cef2d['id'],'values':{[_0x2d6caf]:_0x20a4a2()}}]);}[_0xa3b18d(0x294)](_0x32566b){const _0x20b30f=_0xa3b18d;var _0x4cdf29;let _0x4bad2b=Object[_0x20b30f(0x29e)](_0x32566b['records']),_0x58d238=new Map(_0x4bad2b['map'](_0x3db5cd=>[_0x3db5cd['id'],_0x3db5cd])),_0x153dea=[],_0x51e370=new Set();(_0x4cdf29=_0x32566b['recordOrder'])==null||_0x4cdf29[_0x20b30f(0x465)](_0x38fe1d=>{const _0x540f53=_0x20b30f;let _0x2c215c=_0x58d238[_0x540f53(0x221)](_0x38fe1d);_0x2c215c&&(_0x153dea[_0x540f53(0x439)](_0x2c215c),_0x51e370['add'](_0x38fe1d));});let _0x485548=_0x4bad2b[_0x20b30f(0x314)](_0x45cf50=>!_0x51e370[_0x20b30f(0x397)](_0x45cf50['id']))['sort']((_0x1602e0,_0x500950)=>{const _0x428819=_0x20b30f;var _0x4364ff,_0x58d54b;return String((_0x4364ff=_0x1602e0[_0x428819(0x390)])==null?_0x1602e0['id']:_0x4364ff)[_0x428819(0x387)](String((_0x58d54b=_0x500950[_0x428819(0x390)])==null?_0x500950['id']:_0x58d54b))||_0x1602e0['id'][_0x428819(0x387)](_0x500950['id']);});return[..._0x153dea,..._0x485548];}[_0xa3b18d(0x431)](_0x500b6e){const _0xd4b877=_0xa3b18d;return _0x500b6e!=null&&_0x500b6e!==''&&!(Array[_0xd4b877(0x18c)](_0x500b6e)&&_0x500b6e[_0xd4b877(0x333)]===0x0);}[_0xa3b18d(0x1f3)](){const _0x45acf3=_0xa3b18d;var _0x257b79,_0x2b0463,_0x1d97f1,_0x237f94,_0x3eb8f2,_0x1b8c6c;return(_0x257b79=(_0x2b0463=(_0x1d97f1=(_0x237f94=this['_runtimeContext'])[_0x45acf3(0x3f6)])==null?void 0x0:_0x1d97f1['call'](_0x237f94))==null?(_0x3eb8f2=(_0x1b8c6c=this['_runtimeContext'])[_0x45acf3(0x3ce)])==null||(_0x3eb8f2=_0x3eb8f2[_0x45acf3(0x24f)](_0x1b8c6c))==null?void 0x0:_0x3eb8f2['userID']:_0x2b0463)==null?void 0x0:_0x257b79;}[_0xa3b18d(0x27b)](_0x645eed,_0x2030fd,_0x1f8330,_0x5f3bad,_0x319feb){const _0x5919e8=_0xa3b18d;var _0x1b68c8;if(!this[_0x5919e8(0x482)][_0x5919e8(0x16a)](_0x2030fd,_0x1f8330,_0x5f3bad))throw Error('[BaseCommandService]:\x20cannot\x20edit\x20cell.');let _0x17f9c4=(_0x1b68c8=_0x645eed[_0x5919e8(0x258)][_0x2030fd])==null?void 0x0:_0x1b68c8[_0x5919e8(0x35e)][_0x5f3bad];if(!_0x17f9c4)throw Error('[BaseCommandService]:\x20field\x20\x22'+_0x5f3bad+_0x5919e8(0x29d));let _0x2078d7=this[_0x5919e8(0x175)][_0x5919e8(0x221)](_0x17f9c4[_0x5919e8(0x177)]);if(_0x17f9c4[_0x5919e8(0x1ab)]||_0x17f9c4[_0x5919e8(0x35a)]||!_0x2078d7[_0x5919e8(0x3ee)](_0x17f9c4)[_0x5919e8(0x265)])throw Error('[BaseCommandService]:\x20cannot\x20edit\x20readonly\x20field.');let _0x4b8ecf=_0x2078d7[_0x5919e8(0x35f)](_0x319feb,_0x17f9c4),_0x1f6d35=_0x2078d7[_0x5919e8(0x28b)](_0x4b8ecf,_0x17f9c4);if(!_0x1f6d35[_0x5919e8(0x189)]){var _0x1fec5e;throw Error((_0x1fec5e=_0x1f6d35['reason'])==null?_0x5919e8(0x2fc):_0x1fec5e);}return _0x4b8ecf;}};H=B([z(0x0,Ct),z(0x1,L)],H);function Et(){const _0xe928d6=_0xa3b18d;let _0x5cf980=new St();return Qe()[_0xe928d6(0x465)](_0x637879=>_0x5cf980[_0xe928d6(0x2cd)](_0x637879)),_0x5cf980;}function Dt(_0x2702fb){const _0x42c530=_0xa3b18d;return _0x2702fb[_0x42c530(0x177)]===e['BaseFieldType'][_0x42c530(0x1d9)]||_0x2702fb[_0x42c530(0x177)]===e[_0x42c530(0x17a)]['CreatedBy']||_0x2702fb[_0x42c530(0x177)]===e['BaseFieldType'][_0x42c530(0x1e0)]||_0x2702fb['type']===e[_0x42c530(0x17a)]['CreatedAt']||_0x2702fb[_0x42c530(0x177)]===e[_0x42c530(0x17a)][_0x42c530(0x2e4)];}const Ot=new Set([e[_0xa3b18d(0x17a)][_0xa3b18d(0x17f)],e[_0xa3b18d(0x17a)][_0xa3b18d(0x232)],e[_0xa3b18d(0x17a)][_0xa3b18d(0x23b)]]);function kt(_0x136262){const _0x5495cb=_0xa3b18d;var _0x3e56c2,_0xe27a0f;let _0x2e7e7f=_0x136262[_0x5495cb(0x35e)][_0x136262[_0x5495cb(0x419)]];return!(_0x2e7e7f&&(_0x2e7e7f['system']===!0x0||_0x2e7e7f['id']['toLowerCase']()==='id'||_0x2e7e7f[_0x5495cb(0x2cb)][_0x5495cb(0x41e)]()['toLowerCase']()==='id'))&&_0x2e7e7f?_0x2e7e7f['id']:(_0x3e56c2=(_0xe27a0f=_0x136262[_0x5495cb(0x2d8)]['map'](_0x56a6cf=>_0x136262[_0x5495cb(0x35e)][_0x56a6cf])[_0x5495cb(0x484)](_0x2b1ed6=>_0x2b1ed6&&_0x2b1ed6['id']!==_0x136262['primaryFieldId']))==null?void 0x0:_0xe27a0f['id'])==null?_0x136262[_0x5495cb(0x419)]:_0x3e56c2;}function U(_0x61b647,_0x1688b4=[],_0x306632=0x5){const _0x2653b9=_0xa3b18d;let _0x557dfd=new Set(_0x1688b4[_0x2653b9(0x314)](_0x3e42d0=>!!_0x3e42d0)),_0x4e5493=_0x61b647[_0x2653b9(0x2d8)][_0x2653b9(0x2f9)](_0x3b742e=>{const _0x44db5d=_0x2653b9;let _0x73d748=_0x61b647[_0x44db5d(0x35e)][_0x3b742e];return _0x73d748&&!_0x557dfd['has'](_0x73d748['id'])?[_0x73d748]:[];}),_0x203658=_0x4e5493[_0x2653b9(0x314)](_0x41398a=>Ot['has'](_0x41398a['type'])),_0x3eae1e=_0x4e5493['filter'](_0x118a5f=>!Ot['has'](_0x118a5f[_0x2653b9(0x177)]));return[..._0x203658,..._0x3eae1e][_0x2653b9(0x2ce)](0x0,_0x306632)[_0x2653b9(0x1da)](_0x3fa061=>_0x3fa061['id']);}function At(){const _0x45006f=_0xa3b18d;return[{'type':e[_0x45006f(0x318)][_0x45006f(0x1a5)],'i18nKey':_0x45006f(0x21e),'createDefaultConfig':()=>({}),'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{throw Error('Grid\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.');}},{'type':e['BaseViewType'][_0x45006f(0x415)],'i18nKey':_0x45006f(0x2ea),'createDefaultConfig':_0x48b95a=>{const _0x53a9b0=_0x45006f;let _0x23246c=jt(_0x48b95a);return{'groupFieldId':_0x23246c,'coverFieldId':null,'cardLayout':_0x53a9b0(0x2d9),'showFieldNames':!0x0,'fieldSettings':{},'columnSettings':{},'card':{'titleFieldId':_0x48b95a[_0x53a9b0(0x419)],'fieldIds':U(_0x48b95a,[_0x48b95a['primaryFieldId'],_0x23246c])}};},'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{throw Error('Kanban\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.');}},{'type':e[_0x45006f(0x318)][_0x45006f(0x197)],'i18nKey':_0x45006f(0x3de),'createDefaultConfig':_0x460801=>{const _0x135f83=_0x45006f;let _0x5cd9b7=Mt(_0x460801);return{'startDateFieldId':_0x5cd9b7,'endDateFieldId':Nt(_0x460801,_0x5cd9b7),'titleFieldId':_0x460801[_0x135f83(0x419)],'mode':_0x135f83(0x39e),'timeslotSize':_0x135f83(0x458),'timeZone':_0x135f83(0x1eb),'displayColor':{'type':_0x135f83(0x284),'color':_0x135f83(0x295)},'fieldSettings':{}};},'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{const _0xde1c19=_0x45006f;throw Error(_0xde1c19(0x299));}},{'type':e[_0x45006f(0x318)][_0x45006f(0x3bf)],'i18nKey':_0x45006f(0x270),'createDefaultConfig':_0x2e27eb=>{const _0x59aff6=_0x45006f;var _0x5abac6;let _0x199634=Mt(_0x2e27eb);return{'startDateFieldId':_0x199634,'endDateFieldId':(_0x5abac6=Nt(_0x2e27eb,_0x199634))==null?_0x199634:_0x5abac6,'titleFieldId':_0x2e27eb[_0x59aff6(0x419)],'scale':_0x59aff6(0x39e),'showTodayLine':!0x0,'displayColor':{'type':_0x59aff6(0x284),'color':_0x59aff6(0x2b3)},'fieldSettings':{},'workingDaysOnly':!0x1};},'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{const _0x43ccd1=_0x45006f;throw Error(_0x43ccd1(0x160));}},{'type':e[_0x45006f(0x318)]['Gallery'],'i18nKey':_0x45006f(0x3a9),'createDefaultConfig':_0x3f3619=>{const _0x323d94=_0x45006f;let _0x5ad016=kt(_0x3f3619);return{'coverFieldId':null,'cardLayout':_0x323d94(0x2d9),'showFieldNames':!0x0,'fieldSettings':{},'card':{'titleFieldId':_0x5ad016,'coverFieldId':null,'fieldIds':U(_0x3f3619,[_0x5ad016,_0x3f3619[_0x323d94(0x419)]])},'cardSize':_0x323d94(0x458)};},'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{const _0x1ee02e=_0x45006f;throw Error(_0x1ee02e(0x1a7));}}];}function jt(_0x360578){const _0x2dc01a=_0xa3b18d;var _0x2011f8,_0x24d5ba,_0x11546f,_0x175b45,_0x1fd2e7,_0x489a39;let _0x567f56=_0x360578[_0x2dc01a(0x2d8)]['map'](_0x93d048=>_0x360578[_0x2dc01a(0x35e)][_0x93d048])[_0x2dc01a(0x314)](_0x326a04=>!!_0x326a04);return(_0x2011f8=(_0x24d5ba=(_0x11546f=(_0x175b45=_0x567f56[_0x2dc01a(0x484)](_0x30ba12=>_0x30ba12[_0x2dc01a(0x177)]===e[_0x2dc01a(0x17a)][_0x2dc01a(0x3b7)]||_0x30ba12['type']===e['BaseFieldType'][_0x2dc01a(0x35d)]||_0x30ba12['type']===e[_0x2dc01a(0x17a)][_0x2dc01a(0x478)]))==null?void 0x0:_0x175b45['id'])==null?(_0x1fd2e7=_0x567f56['find'](_0x1a3162=>_0x1a3162[_0x2dc01a(0x177)]===e[_0x2dc01a(0x17a)][_0x2dc01a(0x28d)]))==null?void 0x0:_0x1fd2e7['id']:_0x11546f)==null?(_0x489a39=_0x567f56[_0x2dc01a(0x484)](_0x323799=>_0x323799['type']===e[_0x2dc01a(0x17a)][_0x2dc01a(0x224)]||_0x323799['type']===e[_0x2dc01a(0x17a)][_0x2dc01a(0x2bb)]||_0x323799[_0x2dc01a(0x177)]===e[_0x2dc01a(0x17a)][_0x2dc01a(0x2e4)]))==null?void 0x0:_0x489a39['id']:_0x24d5ba)==null?_0x360578['primaryFieldId']:_0x2011f8;}function Mt(_0x184624){const _0x4317f2=_0xa3b18d;var _0x32d6da,_0x5f426b;return(_0x32d6da=(_0x5f426b=_0x184624[_0x4317f2(0x2d8)][_0x4317f2(0x1da)](_0x38a9ef=>_0x184624[_0x4317f2(0x35e)][_0x38a9ef])[_0x4317f2(0x484)](Pt))==null?void 0x0:_0x5f426b['id'])==null?'':_0x32d6da;}function Nt(_0x11fe18,_0xfb0250){const _0x4e3b9a=_0xa3b18d;var _0x29bba3;return(_0x29bba3=_0x11fe18[_0x4e3b9a(0x2d8)][_0x4e3b9a(0x1da)](_0x167188=>_0x11fe18[_0x4e3b9a(0x35e)][_0x167188])['find'](_0x29187b=>Pt(_0x29187b)&&_0x29187b['id']!==_0xfb0250))==null?void 0x0:_0x29bba3['id'];}function Pt(_0x47fe8e){const _0x53ec6a=_0xa3b18d;return!!_0x47fe8e&&_0x47fe8e[_0x53ec6a(0x177)]===e[_0x53ec6a(0x17a)][_0x53ec6a(0x224)]&&_0x47fe8e['readonly']!==!0x0&&_0x47fe8e['system']!==!0x0;}const Ft=(0x0,e[_0xa3b18d(0x2db)])(_0xa3b18d(0x372)),It=new Set([e[_0xa3b18d(0x17a)][_0xa3b18d(0x285)],e[_0xa3b18d(0x17a)]['Currency'],e[_0xa3b18d(0x17a)][_0xa3b18d(0x17f)],e[_0xa3b18d(0x17a)][_0xa3b18d(0x232)],e[_0xa3b18d(0x17a)]['Date'],e['BaseFieldType'][_0xa3b18d(0x2bb)],e[_0xa3b18d(0x17a)][_0xa3b18d(0x2e4)],e['BaseFieldType'][_0xa3b18d(0x23b)]]);let Lt=class extends e['Disposable']{constructor(_0x4261e4){const _0x6e0215=_0xa3b18d;super(),this[_0x6e0215(0x175)]=_0x4261e4,I(this,_0x6e0215(0x2e3),new Map()),I(this,_0x6e0215(0x170),new WeakMap()),I(this,_0x6e0215(0x267),new Map()),I(this,_0x6e0215(0x297),new Map()),I(this,_0x6e0215(0x409),new Map()),I(this,_0x6e0215(0x2c7),0x0),I(this,_0x6e0215(0x2ec),new Map()),I(this,'_cellRevisions',new Map()),I(this,_0x6e0215(0x43d),new Map()),I(this,_0x6e0215(0x2af),new Map());}['registerView'](_0x45a360){const _0x341211=_0xa3b18d;return this['_views']['set'](_0x45a360[_0x341211(0x177)],_0x45a360),(0x0,e[_0x341211(0x41b)])(()=>this[_0x341211(0x2e3)][_0x341211(0x3e1)](_0x45a360[_0x341211(0x177)]));}[_0xa3b18d(0x2d2)](_0x5f3518,_0x4e6e44,_0x592fff){const _0x46a236=_0xa3b18d;var _0x47dda8,_0x4b5d2e,_0x18b4c7,_0x544153,_0x1016bf;return o('BaseProjection.getProjection',()=>{const _0x5bf213=_0xfdce;let _0x382b04=this[_0x5bf213(0x252)](_0x5f3518,_0x4e6e44,_0x592fff);if(_0x382b04)return _0x382b04;let _0x17d2ed=_0x5f3518[_0x5bf213(0x258)][_0x4e6e44],_0x31e180=_0x17d2ed==null?void 0x0:_0x17d2ed[_0x5bf213(0x411)][_0x592fff];if(!_0x17d2ed||!_0x31e180){var _0x485f13;return this['_setCachedProjection'](_0x5f3518,_0x4e6e44,_0x592fff,{'type':_0x5bf213(0x2eb),'viewType':(_0x485f13=_0x31e180==null?void 0x0:_0x31e180[_0x5bf213(0x177)])==null?e[_0x5bf213(0x318)][_0x5bf213(0x1a5)]:_0x485f13,'reason':'missingField'});}let _0x137049;switch(_0x31e180[_0x5bf213(0x177)]){case e[_0x5bf213(0x318)]['Grid']:_0x137049=this[_0x5bf213(0x2c3)](_0x17d2ed,_0x31e180);break;case e[_0x5bf213(0x318)]['Gantt']:_0x137049=this[_0x5bf213(0x3f0)](_0x17d2ed,_0x31e180);break;case e[_0x5bf213(0x318)][_0x5bf213(0x415)]:_0x137049=this[_0x5bf213(0x398)](_0x17d2ed,_0x31e180);break;case e[_0x5bf213(0x318)][_0x5bf213(0x197)]:_0x137049=this[_0x5bf213(0x206)](_0x17d2ed,_0x31e180);break;case e[_0x5bf213(0x318)]['Gallery']:_0x137049=this[_0x5bf213(0x1d1)](_0x17d2ed,_0x31e180);break;default:_0x137049={'type':'invalid','viewType':_0x31e180['type'],'reason':_0x5bf213(0x201)};}return this[_0x5bf213(0x348)](_0x5f3518,_0x4e6e44,_0x592fff,_0x137049);},{'tableId':_0x4e6e44,'viewId':_0x592fff,'viewType':(_0x47dda8=_0x5f3518[_0x46a236(0x258)][_0x4e6e44])==null||(_0x47dda8=_0x47dda8[_0x46a236(0x411)][_0x592fff])==null?void 0x0:_0x47dda8[_0x46a236(0x177)],'records':(_0x4b5d2e=(_0x18b4c7=_0x5f3518[_0x46a236(0x258)][_0x4e6e44])==null||(_0x18b4c7=_0x18b4c7['recordOrder'])==null?void 0x0:_0x18b4c7['length'])==null?Object[_0x46a236(0x1c8)]((_0x544153=(_0x1016bf=_0x5f3518['tables'][_0x4e6e44])==null?void 0x0:_0x1016bf[_0x46a236(0x332)])==null?{}:_0x544153)['length']:_0x4b5d2e});}[_0xa3b18d(0x392)](_0x44d390,_0x2bc5f8,_0x554560){const _0x5c2122=_0xa3b18d;var _0x2a26ab,_0x21443,_0x46e770,_0x38fea2;let _0x291b19=_0x44d390[_0x5c2122(0x258)][_0x2bc5f8],_0x308199=_0x291b19==null?void 0x0:_0x291b19['views'][_0x554560];if(!_0x291b19||!_0x308199)throw Error(_0x5c2122(0x402)+_0x554560+'\x22.');let _0x4d285e=_0x537980=>!!_0x291b19[_0x5c2122(0x35e)][_0x537980],_0x48eea5={..._0x308199,'filter':_0x308199[_0x5c2122(0x314)]?{..._0x308199['filter'],'conditions':_0x308199['filter']['conditions'][_0x5c2122(0x314)](_0xcb9560=>_0x4d285e(_0xcb9560['fieldId']))}:_0x308199[_0x5c2122(0x314)],'sort':(_0x2a26ab=_0x308199[_0x5c2122(0x33d)])==null?void 0x0:_0x2a26ab[_0x5c2122(0x314)](_0x389290=>_0x4d285e(_0x389290[_0x5c2122(0x2ee)])),'group':(_0x21443=_0x308199['group'])==null?void 0x0:_0x21443[_0x5c2122(0x314)](_0x202381=>_0x4d285e(_0x202381['fieldId'])),'fieldOrder':(_0x46e770=_0x308199[_0x5c2122(0x2d8)])==null?void 0x0:_0x46e770[_0x5c2122(0x314)](_0x4d285e),'fieldSettings':Object[_0x5c2122(0x26d)](Object[_0x5c2122(0x217)]((_0x38fea2=_0x308199[_0x5c2122(0x326)])==null?{}:_0x38fea2)[_0x5c2122(0x314)](([_0x5d3d02])=>_0x4d285e(_0x5d3d02)))};if(_0x48eea5[_0x5c2122(0x177)]===_0x5c2122(0x211)){var _0x260734,_0x215dab,_0x4c4b79,_0xaa026a;let _0x25f133=(_0x260734=_0x48eea5[_0x5c2122(0x3af)])==null?{}:_0x260734,_0xf78382=this['_resolveKanbanGroupFieldId'](_0x291b19,_0x48eea5);_0x48eea5[_0x5c2122(0x3af)]={..._0x25f133,'groupFieldId':_0xf78382==null?_0x25f133['groupFieldId']:_0xf78382,'coverFieldId':this[_0x5c2122(0x432)](_0x291b19,_0x25f133),'cardLayout':_0x25f133['cardLayout']==='compose'?_0x5c2122(0x1dc):_0x5c2122(0x2d9),'showFieldNames':_0x25f133[_0x5c2122(0x3a7)]!==!0x1,'fieldSettings':Object[_0x5c2122(0x26d)](Object[_0x5c2122(0x217)]((_0x215dab=_0x25f133[_0x5c2122(0x326)])==null?{}:_0x215dab)[_0x5c2122(0x314)](([_0x263ace])=>_0x4d285e(_0x263ace))),'columnSettings':(_0x4c4b79=_0x25f133[_0x5c2122(0x22e)])==null?{}:_0x4c4b79,'card':{...(_0xaa026a=_0x25f133[_0x5c2122(0x1fb)])==null?{}:_0xaa026a,'fieldIds':this[_0x5c2122(0x342)](_0x291b19,_0x48eea5,_0xf78382==null?'':_0xf78382)}};}return{'repaired':JSON[_0x5c2122(0x23e)](_0x48eea5)!==JSON[_0x5c2122(0x23e)](_0x308199),'view':_0x48eea5};}['invalidateByOp'](){const _0x5dd932=_0xa3b18d;this[_0x5dd932(0x2c7)]++;}['invalidateByCell'](_0x316f79,_0x1d16ce,_0x3a69f4){const _0x35c5f7=_0xa3b18d;var _0x5e9205;let _0x3bcaaa=this['_getCellRevision'](_0x316f79)+0x1;this[_0x35c5f7(0x20e)]['set'](_0x316f79,_0x3bcaaa);let _0x2de8e6=(_0x5e9205=this[_0x35c5f7(0x43d)][_0x35c5f7(0x221)](_0x316f79))==null?[]:_0x5e9205;_0x2de8e6[_0x35c5f7(0x439)]({'revision':_0x3bcaaa,'recordId':_0x1d16ce,'fieldId':_0x3a69f4}),this[_0x35c5f7(0x43d)][_0x35c5f7(0x3e5)](_0x316f79,_0x2de8e6);}['invalidateByField'](_0xfebd33,_0x1daabb){const _0xe065d7=_0xa3b18d;this[_0xe065d7(0x436)](_0xfebd33);}['invalidateByView'](_0x294608,_0x2b05dd){const _0xcf8f64=_0xa3b18d;this[_0xcf8f64(0x2af)][_0xcf8f64(0x3e5)](this[_0xcf8f64(0x459)](_0x294608,_0x2b05dd),this['_getViewRevision'](_0x294608,_0x2b05dd)+0x1);}[_0xa3b18d(0x252)](_0x4a6e95,_0x3bfadf,_0x4b0149){const _0x352755=_0xa3b18d;var _0x393d49;let _0x3a1b05=(_0x393d49=this[_0x352755(0x170)]['get'](_0x4a6e95))==null?void 0x0:_0x393d49[_0x352755(0x221)](this[_0x352755(0x237)](_0x3bfadf,_0x4b0149));return _0x3a1b05&&_0x3a1b05[_0x352755(0x412)]===this[_0x352755(0x2c7)]&&_0x3a1b05[_0x352755(0x21b)]===this[_0x352755(0x45a)](_0x3bfadf)&&_0x3a1b05[_0x352755(0x1bf)]===this['_getCellRevision'](_0x3bfadf)&&_0x3a1b05[_0x352755(0x1f1)]===this[_0x352755(0x286)](_0x3bfadf,_0x4b0149)?_0x3a1b05[_0x352755(0x330)]:null;}[_0xa3b18d(0x348)](_0x205e5d,_0x36b943,_0x485965,_0x2ff499){const _0x21d38a=_0xa3b18d;let _0x4c22fd=this['_projectionCache'][_0x21d38a(0x221)](_0x205e5d);return _0x4c22fd||(_0x4c22fd=new Map(),this[_0x21d38a(0x170)][_0x21d38a(0x3e5)](_0x205e5d,_0x4c22fd)),_0x4c22fd[_0x21d38a(0x3e5)](this[_0x21d38a(0x237)](_0x36b943,_0x485965),{'projection':_0x2ff499,'globalRevision':this[_0x21d38a(0x2c7)],'tableRevision':this[_0x21d38a(0x45a)](_0x36b943),'cellRevision':this[_0x21d38a(0x331)](_0x36b943),'viewRevision':this[_0x21d38a(0x286)](_0x36b943,_0x485965)}),_0x2ff499;}[_0xa3b18d(0x436)](_0x500746){const _0x5695e3=_0xa3b18d;this['_tableRevisions']['set'](_0x500746,this[_0x5695e3(0x45a)](_0x500746)+0x1);}[_0xa3b18d(0x45a)](_0x26b3f7){const _0x490dab=_0xa3b18d;var _0x57c71d;return(_0x57c71d=this[_0x490dab(0x2ec)][_0x490dab(0x221)](_0x26b3f7))==null?0x0:_0x57c71d;}['_getCellRevision'](_0x4338fd){const _0x4ccd80=_0xa3b18d;var _0x29239d;return(_0x29239d=this[_0x4ccd80(0x20e)]['get'](_0x4338fd))==null?0x0:_0x29239d;}[_0xa3b18d(0x286)](_0x5679a4,_0xaae13){const _0x21deba=_0xa3b18d;var _0x1b086a;return(_0x1b086a=this[_0x21deba(0x2af)]['get'](this[_0x21deba(0x459)](_0x5679a4,_0xaae13)))==null?0x0:_0x1b086a;}[_0xa3b18d(0x237)](_0x4b17e8,_0x125299){return _0x4b17e8+'\x00'+_0x125299;}[_0xa3b18d(0x47a)](_0x1d9e41,_0x1bcca3){return _0x1d9e41+'\x00'+this['_rowTransformCacheSegment'](_0x1bcca3);}[_0xa3b18d(0x380)](_0x1f7f76,_0x4e5a23,_0x1dd569){const _0x5f3ae5=_0xa3b18d;return _0x1f7f76+'\x00'+this[_0x5f3ae5(0x23f)](_0x4e5a23)+'\x00'+this['_groupConfigCacheSegment'](_0x1dd569);}[_0xa3b18d(0x23f)](_0x1e6a80){const _0x34bfb6=_0xa3b18d;return _0x1e6a80?Ut({'filter':Vt(_0x1e6a80['filter']),'sort':Ht(_0x1e6a80[_0x34bfb6(0x33d)])}):'__all__';}[_0xa3b18d(0x40d)](_0x36deb1){const _0x5aec3d=_0xa3b18d;return Ut(_0x36deb1[_0x5aec3d(0x1da)](_0x379436=>{const _0x5cb864=_0x5aec3d;var _0x35d788;return{'fieldId':_0x379436[_0x5cb864(0x2ee)],'direction':(_0x35d788=_0x379436['direction'])==null?null:_0x35d788};}));}[_0xa3b18d(0x459)](_0x192923,_0x1cf7af){return _0x192923+'\x00'+_0x1cf7af;}['_buildGrid'](_0x4811bc,_0x37b07f){const _0x58eff8=_0xa3b18d;let _0x4658e3=this[_0x58eff8(0x47f)](_0x4811bc,_0x37b07f);return{'type':e[_0x58eff8(0x318)]['Grid'],'fields':this['_projectFields'](_0x4811bc,_0x37b07f),'rows':_0x4658e3,'groups':this[_0x58eff8(0x434)](_0x4811bc,_0x37b07f,_0x4658e3),'frozenFieldCount':typeof _0x37b07f['config'][_0x58eff8(0x21c)]==_0x58eff8(0x3fe)?_0x37b07f['config'][_0x58eff8(0x21c)]:0x0};}[_0xa3b18d(0x398)](_0x20a73b,_0x4994a9){const _0xa1127d=_0xa3b18d;var _0x497762;let _0x12738d=this[_0xa1127d(0x27d)](_0x20a73b,_0x4994a9),_0x9f36ad=_0x12738d?_0x20a73b[_0xa1127d(0x35e)][_0x12738d]:void 0x0;if(!_0x9f36ad)return{'type':_0xa1127d(0x2eb),'viewType':e[_0xa1127d(0x318)]['Kanban'],'reason':'invalidGroupField','fieldId':_0x4994a9['config'][_0xa1127d(0x40c)]};let _0x2c67ea=this['_projectRows'](_0x20a73b,_0x4994a9),_0x2fa671=this[_0xa1127d(0x202)](_0x20a73b,_0x4994a9),_0x62e4e8=(_0x497762=_0x4994a9['config'])==null?{}:_0x497762,_0x351a0e=this['_resolveKanbanCardFieldIds'](_0x20a73b,_0x4994a9,_0x9f36ad['id']),_0x3b5cae=new Map();return this[_0xa1127d(0x23c)](_0x9f36ad,_0x62e4e8)[_0xa1127d(0x465)](_0x438290=>_0x3b5cae[_0xa1127d(0x3e5)](_0x438290[_0xa1127d(0x212)],{..._0x438290,'recordIds':[]})),_0x2c67ea[_0xa1127d(0x465)](_0x564cd9=>{const _0x131ab6=_0xa1127d;this[_0x131ab6(0x219)](_0x9f36ad,_0x564cd9[_0x131ab6(0x29e)][_0x9f36ad['id']])['forEach'](_0x7511a7=>{const _0x4a063c=_0x131ab6;let _0x5d95cd=_0x3b5cae[_0x4a063c(0x221)](_0x7511a7),_0x11bebe=_0x5d95cd==null?{'key':_0x7511a7,'title':this['_kanbanLaneTitle'](_0x9f36ad,_0x7511a7,_0x62e4e8),'color':this[_0x4a063c(0x37e)](_0x9f36ad,_0x7511a7,_0x62e4e8),'recordIds':[]}:_0x5d95cd;_0x11bebe[_0x4a063c(0x312)]['push'](_0x564cd9['recordId']),_0x3b5cae[_0x4a063c(0x3e5)](_0x7511a7,_0x11bebe);});}),{'type':e[_0xa1127d(0x318)][_0xa1127d(0x415)],'fields':_0x2fa671,'rows':_0x2c67ea,'groups':this['_projectGroups'](_0x20a73b,_0x4994a9,_0x2c67ea),'groupFieldId':_0x9f36ad['id'],'coverFieldId':this[_0xa1127d(0x432)](_0x20a73b,_0x62e4e8),'cardLayout':_0x62e4e8['cardLayout']===_0xa1127d(0x1dc)?_0xa1127d(0x1dc):_0xa1127d(0x2d9),'showFieldNames':_0x62e4e8['showFieldNames']!==!0x1,'visibleCardFieldIds':_0x351a0e,'lanes':Array[_0xa1127d(0x3aa)](_0x3b5cae['values']())};}['_resolveKanbanGroupFieldId'](_0x3bdeb8,_0x25cd55){const _0x1720ea=_0xa3b18d;var _0x2c910f;let _0x5c8945=(_0x2c910f=_0x25cd55[_0x1720ea(0x3af)])==null?void 0x0:_0x2c910f[_0x1720ea(0x40c)];return _0x5c8945&&this[_0x1720ea(0x433)](_0x3bdeb8,_0x5c8945)?_0x5c8945:this[_0x1720ea(0x1b5)](_0x3bdeb8,_0x498b36=>this['_isAllowedKanbanGroupField'](_0x498b36));}['_findKanbanGroupField'](_0x2e7b55,_0x5e5ebc){const _0xf471ef=_0xa3b18d;for(let _0x54e137 of _0x2e7b55[_0xf471ef(0x2d8)]){let _0x394b85=_0x2e7b55['fields'][_0x54e137];if(_0x394b85&&_0x5e5ebc(_0x394b85))return _0x394b85['id'];}return null;}[_0xa3b18d(0x433)](_0x539daf,_0xbcc541){const _0x5330b5=_0xa3b18d;let _0x1e6176=_0x539daf[_0x5330b5(0x35e)][_0xbcc541];return this['_isAllowedKanbanGroupField'](_0x1e6176);}['_isAllowedKanbanGroupField'](_0x24bef6){const _0x5d7ba7=_0xa3b18d;return!!_0x24bef6&&(_0x24bef6['type']===e[_0x5d7ba7(0x17a)]['SingleSelect']||_0x24bef6['type']===e['BaseFieldType'][_0x5d7ba7(0x35d)]||_0x24bef6[_0x5d7ba7(0x177)]===e[_0x5d7ba7(0x17a)][_0x5d7ba7(0x232)]||_0x24bef6[_0x5d7ba7(0x177)]===e['BaseFieldType'][_0x5d7ba7(0x2bc)]||_0x24bef6[_0x5d7ba7(0x177)]===e[_0x5d7ba7(0x17a)]['Group']||_0x24bef6[_0x5d7ba7(0x177)]===e['BaseFieldType'][_0x5d7ba7(0x23b)]);}[_0xa3b18d(0x38b)](_0x3b8329){const _0x2a04a5=_0xa3b18d;return _0x3b8329[_0x2a04a5(0x177)]===e[_0x2a04a5(0x17a)][_0x2a04a5(0x3b7)]||_0x3b8329[_0x2a04a5(0x177)]===e[_0x2a04a5(0x17a)][_0x2a04a5(0x35d)];}['_resolveKanbanCoverFieldId'](_0x22a805,_0x4d5eeb){const _0x1bf12e=_0xa3b18d;var _0x4e85ed,_0x24bf81,_0x5d211a;let _0x44f3d0=(_0x4e85ed=(_0x24bf81=_0x4d5eeb[_0x1bf12e(0x354)])==null?(_0x5d211a=_0x4d5eeb['card'])==null?void 0x0:_0x5d211a[_0x1bf12e(0x354)]:_0x24bf81)==null?null:_0x4e85ed;if(!_0x44f3d0)return null;let _0x1e9c7a=_0x22a805[_0x1bf12e(0x35e)][_0x44f3d0];return _0x1e9c7a&&this[_0x1bf12e(0x249)](_0x1e9c7a)[_0x1bf12e(0x3b5)]?_0x1e9c7a['id']:null;}[_0xa3b18d(0x342)](_0x36c2be,_0x2aa9ed,_0x5b0833){const _0x2af60e=_0xa3b18d;var _0x1e0e0b,_0x37080c,_0x2456b6;let _0x141d95=(_0x1e0e0b=_0x2aa9ed[_0x2af60e(0x3af)])==null?{}:_0x1e0e0b,_0x59ec97=!((_0x37080c=_0x141d95['card'])==null||(_0x37080c=_0x37080c['fieldIds'])==null)&&_0x37080c[_0x2af60e(0x333)]?_0x141d95['card'][_0x2af60e(0x454)]:U(_0x36c2be,[_0x36c2be[_0x2af60e(0x419)],_0x5b0833]),_0x4519a9=(_0x2456b6=_0x141d95[_0x2af60e(0x326)])==null?{}:_0x2456b6;return _0x59ec97[_0x2af60e(0x314)](_0x10fa9c=>{const _0x5dd3e8=_0x2af60e;var _0x2eeb85,_0xa3634e;let _0x2fc300=_0x36c2be[_0x5dd3e8(0x35e)][_0x10fa9c];return!(!_0x2fc300||_0x2fc300['id']===_0x5b0833||!((_0x2eeb85=_0x2aa9ed[_0x5dd3e8(0x326)])==null||(_0x2eeb85=_0x2eeb85[_0x10fa9c])==null)&&_0x2eeb85[_0x5dd3e8(0x174)]||(_0xa3634e=_0x4519a9[_0x10fa9c])!=null&&_0xa3634e[_0x5dd3e8(0x174)]);})['sort']((_0x4dd4a7,_0x35355c)=>{const _0x3cbcee=_0x2af60e;var _0x591d79,_0x9e8f7b,_0x39017f,_0x48df6e;return((_0x591d79=(_0x9e8f7b=_0x4519a9[_0x4dd4a7])==null?void 0x0:_0x9e8f7b[_0x3cbcee(0x277)])==null?_0x59ec97[_0x3cbcee(0x2dd)](_0x4dd4a7):_0x591d79)-((_0x39017f=(_0x48df6e=_0x4519a9[_0x35355c])==null?void 0x0:_0x48df6e[_0x3cbcee(0x277)])==null?_0x59ec97[_0x3cbcee(0x2dd)](_0x35355c):_0x39017f);});}['_getKanbanConfiguredLanes'](_0x583424,_0x22f055){const _0x852bc1=_0xa3b18d;var _0xc55d8a,_0x129912;let _0x14d222=(Array[_0x852bc1(0x18c)]((_0xc55d8a=_0x583424[_0x852bc1(0x3af)])==null?void 0x0:_0xc55d8a[_0x852bc1(0x275)])?_0x583424[_0x852bc1(0x3af)][_0x852bc1(0x275)]:[])[_0x852bc1(0x2f9)]((_0x2689fb,_0x352075)=>{const _0x2e14f3=_0x852bc1;var _0x13927d,_0x40d129,_0x168894,_0x2d6176;if(_0x2689fb==null)return[];let _0x5d10c8=typeof _0x2689fb==_0x2e14f3(0x181)?{'id':_0x2689fb,'name':_0x2689fb,'color':void 0x0}:_0x2689fb,_0xde5324=String((_0x13927d=(_0x40d129=_0x5d10c8['id'])==null?_0x5d10c8[_0x2e14f3(0x2cb)]:_0x40d129)==null?'option-'+(_0x352075+0x1):_0x13927d);return[{'key':_0xde5324,'title':String((_0x168894=(_0x2d6176=_0x5d10c8[_0x2e14f3(0x2cb)])==null?_0x5d10c8['id']:_0x2d6176)==null?_0xde5324:_0x168894),'color':this[_0x2e14f3(0x37e)](_0x583424,_0xde5324,_0x22f055)}];});return Object[_0x852bc1(0x217)]((_0x129912=_0x22f055[_0x852bc1(0x22e)])==null?{}:_0x129912)[_0x852bc1(0x465)](([_0x32eb2b,_0x3ff73a])=>{const _0x1ac563=_0x852bc1;var _0x57dd50;_0x14d222[_0x1ac563(0x24e)](_0x5dcb52=>_0x5dcb52['key']===_0x32eb2b)||_0x14d222['push']({'key':_0x32eb2b,'title':this[_0x1ac563(0x38b)](_0x583424)?(_0x57dd50=_0x3ff73a[_0x1ac563(0x3e3)])==null?this[_0x1ac563(0x336)](_0x583424,_0x32eb2b,_0x22f055):_0x57dd50:this['_kanbanLaneTitle'](_0x583424,_0x32eb2b,_0x22f055),'color':this[_0x1ac563(0x37e)](_0x583424,_0x32eb2b,_0x22f055)});}),_0x14d222;}[_0xa3b18d(0x219)](_0x17e08a,_0x3fccaa){const _0x6f1aaa=_0xa3b18d;let _0x3d2ef1=_0x49893f=>{const _0x57fc2f=_0xfdce;var _0x488d37,_0x5f12f9;let _0x47a8c9=_0x49893f==null?'':String(_0x49893f);return!_0x47a8c9||!this[_0x57fc2f(0x38b)](_0x17e08a)||(_0x488d37=(_0x5f12f9=q(_0x17e08a,_0x47a8c9))==null?void 0x0:_0x5f12f9['id'])==null?_0x47a8c9:_0x488d37;};if(Array[_0x6f1aaa(0x18c)](_0x3fccaa)){let _0x11ff0c=_0x3fccaa[_0x6f1aaa(0x1da)](_0x3d2ef1)[_0x6f1aaa(0x314)](_0x4c5547=>_0x4c5547!=='');return _0x11ff0c[_0x6f1aaa(0x333)]?_0x11ff0c:[''];}return[_0x3d2ef1(_0x3fccaa)];}[_0xa3b18d(0x336)](_0xc4540f,_0x207880,_0x4702db){const _0xe43f4d=_0xa3b18d;var _0xb945ed;if(!_0x207880)return _0xe43f4d(0x388);let _0x43cda3=q(_0xc4540f,_0x207880);return(_0xb945ed=_0x43cda3==null?void 0x0:_0x43cda3['name'])==null?_0x207880:_0xb945ed;}[_0xa3b18d(0x37e)](_0x252927,_0x53b06d,_0x493521){const _0x228b07=_0xa3b18d;var _0x3c3297;if(this['_isColorfulKanbanGroupField'](_0x252927))return(_0x3c3297=q(_0x252927,_0x53b06d))==null?void 0x0:_0x3c3297[_0x228b07(0x413)];}[_0xa3b18d(0x206)](_0x59bf9b,_0x2ef38f){const _0x146f33=_0xa3b18d;var _0x29cf74;let _0x2dbb51=this[_0x146f33(0x360)](_0x59bf9b,(_0x29cf74=_0x2ef38f[_0x146f33(0x3af)])==null?{}:_0x29cf74),_0xdf157b=_0x59bf9b[_0x146f33(0x35e)][_0x2dbb51[_0x146f33(0x2ad)]];if(!_0xdf157b||_0xdf157b[_0x146f33(0x177)]!==e[_0x146f33(0x17a)]['Date']||_0xdf157b[_0x146f33(0x1ab)]===!0x0||_0xdf157b['system']===!0x0||!this[_0x146f33(0x249)](_0xdf157b)[_0x146f33(0x3c2)])return{'type':'invalid','viewType':e[_0x146f33(0x318)][_0x146f33(0x197)],'reason':_0x146f33(0x447),'fieldId':_0x2dbb51[_0x146f33(0x2ad)]};let _0x46c529=_0x2dbb51[_0x146f33(0x34a)]?_0x59bf9b[_0x146f33(0x35e)][_0x2dbb51['endDateFieldId']]:void 0x0,_0x18c0b0=this[_0x146f33(0x47f)](_0x59bf9b,_0x2ef38f);return{'type':e[_0x146f33(0x318)][_0x146f33(0x197)],'config':_0x2dbb51,'fields':this[_0x146f33(0x202)](_0x59bf9b,_0x2ef38f),'rows':_0x18c0b0,'groups':this[_0x146f33(0x434)](_0x59bf9b,_0x2ef38f,_0x18c0b0),'events':_0x18c0b0[_0x146f33(0x2f9)](_0x5d58de=>{const _0x66e6eb=_0x146f33;let _0x4dc3a8=D(_0x5d58de[_0x66e6eb(0x29e)][_0x2dbb51['startDateFieldId']]);if(!Number['isFinite'](_0x4dc3a8))return[];let _0x86b87d=_0x5d58de[_0x66e6eb(0x29e)][_0x2dbb51[_0x66e6eb(0x2ad)]],_0x24be40=_0x2dbb51[_0x66e6eb(0x34a)]==null?void 0x0:_0x5d58de['values'][_0x2dbb51['endDateFieldId']],_0x26973c=_0x2dbb51['endDateFieldId']==null?void 0x0:D(_0x24be40),_0x5248f2=Number[_0x66e6eb(0x2f4)](_0x26973c)?_0x26973c:void 0x0;return[{'recordId':_0x5d58de[_0x66e6eb(0x2f7)],'title':this[_0x66e6eb(0x437)](_0x59bf9b,_0x5d58de,_0x2dbb51['titleFieldId']),'start':_0x4dc3a8,'end':_0x5248f2,'color':this[_0x66e6eb(0x26a)](_0x59bf9b,_0x5d58de,_0x2dbb51),'startMs':_0x4dc3a8,'endMs':_0x5248f2,'allDay':this[_0x66e6eb(0x463)](_0xdf157b,_0x46c529,_0x86b87d,_0x24be40),'fieldValues':_0x5d58de['values']}];})};}[_0xa3b18d(0x360)](_0x41fef5,_0xdd6d37){const _0x5cc563=_0xa3b18d;var _0x2fae10,_0x5a1266;let _0x52c6ef=this[_0x5cc563(0x2b0)](_0x41fef5,_0xdd6d37['startDateFieldId']),_0x52fe86=_0xdd6d37[_0x5cc563(0x34a)]&&this['_isCalendarDateField'](_0x41fef5,_0xdd6d37[_0x5cc563(0x34a)])?_0xdd6d37[_0x5cc563(0x34a)]:(_0x2fae10=this[_0x5cc563(0x205)](_0x41fef5,_0x52c6ef))==null?void 0x0:_0x2fae10,_0x402c55=_0xdd6d37[_0x5cc563(0x47d)]&&_0x41fef5[_0x5cc563(0x35e)][_0xdd6d37[_0x5cc563(0x47d)]]?_0xdd6d37[_0x5cc563(0x47d)]:_0x41fef5[_0x5cc563(0x419)],_0x11f06c=_0xdd6d37['mode']==='day'||_0xdd6d37[_0x5cc563(0x34f)]===_0x5cc563(0x236)?_0xdd6d37[_0x5cc563(0x34f)]:_0x5cc563(0x39e),_0x5678ce=_0xdd6d37[_0x5cc563(0x185)]===_0x5cc563(0x3e7)||_0xdd6d37['timeslotSize']===_0x5cc563(0x1a3)?_0xdd6d37[_0x5cc563(0x185)]:'medium',_0x30b4f5=typeof _0xdd6d37[_0x5cc563(0x399)]==_0x5cc563(0x181)&&_0xdd6d37[_0x5cc563(0x399)][_0x5cc563(0x41e)]()?_0xdd6d37[_0x5cc563(0x399)]:_0x5cc563(0x1eb),_0x28fd50=this['_normalizeCalendarDisplayColor'](_0x41fef5,_0xdd6d37);return{..._0xdd6d37,'startDateFieldId':_0x52c6ef,'endDateFieldId':_0x52fe86,'titleFieldId':_0x402c55,'mode':_0x11f06c,'timeslotSize':_0x5678ce,'timeZone':_0x30b4f5,'displayColor':_0x28fd50,'fieldSettings':Object[_0x5cc563(0x26d)](Object[_0x5cc563(0x217)]((_0x5a1266=_0xdd6d37[_0x5cc563(0x326)])==null?{}:_0x5a1266)['filter'](([_0x35e9f7])=>!!_0x41fef5[_0x5cc563(0x35e)][_0x35e9f7]))};}['_resolveCalendarDateFieldId'](_0x15a615,_0x43e2ce){const _0x22b32c=_0xa3b18d;var _0x3f04fe,_0x1efd37;return _0x43e2ce&&this[_0x22b32c(0x1b4)](_0x15a615,_0x43e2ce)?_0x43e2ce:(_0x3f04fe=(_0x1efd37=this[_0x22b32c(0x205)](_0x15a615))==null?_0x43e2ce:_0x1efd37)==null?'':_0x3f04fe;}[_0xa3b18d(0x205)](_0x450d81,_0x5a73f5){const _0x3a3e1f=_0xa3b18d;for(let _0x11f4ef of _0x450d81['fieldOrder'])if(_0x11f4ef!==_0x5a73f5&&this[_0x3a3e1f(0x1b4)](_0x450d81,_0x11f4ef))return _0x11f4ef;return null;}[_0xa3b18d(0x1b4)](_0x460210,_0x19cdde){const _0xfba649=_0xa3b18d;let _0x5f3c99=_0x460210['fields'][_0x19cdde];return!!_0x5f3c99&&_0x5f3c99[_0xfba649(0x177)]===e[_0xfba649(0x17a)][_0xfba649(0x224)]&&_0x5f3c99[_0xfba649(0x1ab)]!==!0x0&&_0x5f3c99[_0xfba649(0x35a)]!==!0x0&&this[_0xfba649(0x249)](_0x5f3c99)[_0xfba649(0x3c2)];}[_0xa3b18d(0x308)](_0x2d64e3,_0x20134c){const _0x1cfcfc=_0xa3b18d;let _0xc5d970=_0x20134c[_0x1cfcfc(0x304)];if((_0xc5d970==null?void 0x0:_0xc5d970[_0x1cfcfc(0x177)])===_0x1cfcfc(0x179)){let _0x1f9203=_0x2d64e3[_0x1cfcfc(0x35e)][_0xc5d970[_0x1cfcfc(0x2ee)]];if(_0x1f9203&&_0x1f9203[_0x1cfcfc(0x177)]===e[_0x1cfcfc(0x17a)][_0x1cfcfc(0x3b7)])return _0xc5d970;}if((_0xc5d970==null?void 0x0:_0xc5d970[_0x1cfcfc(0x177)])===_0x1cfcfc(0x284)&&typeof _0xc5d970[_0x1cfcfc(0x413)]==_0x1cfcfc(0x181)&&_0xc5d970[_0x1cfcfc(0x413)]['trim']())return{'type':_0x1cfcfc(0x284),'color':_0xc5d970['color']};if(_0x20134c[_0x1cfcfc(0x3f1)]){let _0x2acff6=_0x2d64e3[_0x1cfcfc(0x35e)][_0x20134c[_0x1cfcfc(0x3f1)]];if(_0x2acff6&&_0x2acff6['type']===e[_0x1cfcfc(0x17a)][_0x1cfcfc(0x3b7)])return{'type':_0x1cfcfc(0x179),'fieldId':_0x20134c[_0x1cfcfc(0x3f1)]};}return{'type':_0x1cfcfc(0x284),'color':_0x1cfcfc(0x295)};}[_0xa3b18d(0x26a)](_0x1c710a,_0x2afb5d,_0x59412a){const _0x421632=_0xa3b18d;let _0x51fe46=_0x59412a[_0x421632(0x304)];if((_0x51fe46==null?void 0x0:_0x51fe46[_0x421632(0x177)])===_0x421632(0x179)){var _0x49b06d;let _0x49b83e=_0x1c710a[_0x421632(0x35e)][_0x51fe46[_0x421632(0x2ee)]];if(!_0x49b83e)return;let _0x44eb93=_0x2afb5d[_0x421632(0x29e)][_0x51fe46[_0x421632(0x2ee)]],_0x3ef059=Array[_0x421632(0x18c)](_0x44eb93)?_0x44eb93[0x0]:_0x44eb93;return _0x3ef059==null||(_0x49b06d=q(_0x49b83e,String(_0x3ef059)))==null?void 0x0:_0x49b06d[_0x421632(0x413)];}if((_0x51fe46==null?void 0x0:_0x51fe46[_0x421632(0x177)])==='custom')return _0x51fe46[_0x421632(0x413)];}[_0xa3b18d(0x463)](_0x5ce854,_0x4d09b8,_0x5c3f73,_0x2d3085){const _0x165a8e=_0xa3b18d;var _0x2336f4,_0x39f3d3;let _0x2e99d7=((_0x2336f4=_0x5ce854['config'])==null?void 0x0:_0x2336f4[_0x165a8e(0x283)])===!0x0,_0x77fbb5=(_0x4d09b8==null||(_0x39f3d3=_0x4d09b8[_0x165a8e(0x3af)])==null?void 0x0:_0x39f3d3[_0x165a8e(0x283)])===!0x0;return!_0x2e99d7&&!_0x77fbb5;}[_0xa3b18d(0x255)](_0x462b2a,_0xcdab87){const _0x2b7760=_0xa3b18d;var _0xb13c2e,_0x2dd1ef;let _0x2878a2=((_0xb13c2e=_0x462b2a[_0x2b7760(0x3af)])==null?void 0x0:_0xb13c2e[_0x2b7760(0x283)])===!0x0,_0x1717ef=((_0x2dd1ef=_0xcdab87['config'])==null?void 0x0:_0x2dd1ef['includeTime'])===!0x0;return!_0x2878a2&&!_0x1717ef;}[_0xa3b18d(0x3f0)](_0x1503d2,_0x182942){const _0x5da864=_0xa3b18d;let _0x9166fc=this[_0x5da864(0x259)](_0x1503d2,_0x182942[_0x5da864(0x3af)]),_0xa7474e=_0x1503d2[_0x5da864(0x35e)][_0x9166fc[_0x5da864(0x2ad)]];if(!_0xa7474e||_0xa7474e[_0x5da864(0x177)]!==e[_0x5da864(0x17a)][_0x5da864(0x224)]||_0xa7474e['readonly']===!0x0||_0xa7474e[_0x5da864(0x35a)]===!0x0||!this[_0x5da864(0x249)](_0xa7474e)[_0x5da864(0x1aa)])return{'type':_0x5da864(0x2eb),'viewType':e['BaseViewType'][_0x5da864(0x3bf)],'reason':_0x5da864(0x24d),'fieldId':_0x9166fc[_0x5da864(0x2ad)]};let _0x29761b=_0x1503d2[_0x5da864(0x35e)][_0x9166fc[_0x5da864(0x34a)]];if(!_0x29761b||_0x29761b[_0x5da864(0x177)]!==e[_0x5da864(0x17a)][_0x5da864(0x224)]||_0x29761b[_0x5da864(0x1ab)]===!0x0||_0x29761b[_0x5da864(0x35a)]===!0x0||!this['_capabilities'](_0x29761b)[_0x5da864(0x2c9)])return{'type':_0x5da864(0x2eb),'viewType':e[_0x5da864(0x318)][_0x5da864(0x3bf)],'reason':_0x5da864(0x273),'fieldId':_0x9166fc[_0x5da864(0x34a)]};let _0x39a586=this['_isAllDayGanttDateRange'](_0xa7474e,_0x29761b),_0x52f6c3=this['_projectRows'](_0x1503d2,_0x182942),_0x5326e3=_0x52f6c3[_0x5da864(0x2f9)](_0x2fcb8c=>{const _0x369457=_0x5da864;var _0x4bcf77;let _0xe8bbfb=D(_0x2fcb8c[_0x369457(0x29e)][_0x9166fc[_0x369457(0x2ad)]]),_0x3ab7cf=D(_0x2fcb8c[_0x369457(0x29e)][_0x9166fc[_0x369457(0x34a)]]);if(!Number[_0x369457(0x2f4)](_0xe8bbfb)||!Number[_0x369457(0x2f4)](_0x3ab7cf))return[];let _0x471aaa=Math[_0x369457(0x358)](_0xe8bbfb,_0x3ab7cf),_0x32555a=Math['max'](_0xe8bbfb,_0x3ab7cf),_0x5b44b3=_0x9166fc[_0x369457(0x45c)]==null?void 0x0:Number(_0x2fcb8c['values'][_0x9166fc[_0x369457(0x45c)]]);return[{'recordId':_0x2fcb8c[_0x369457(0x2f7)],'title':this[_0x369457(0x437)](_0x1503d2,_0x2fcb8c,_0x9166fc[_0x369457(0x47d)]),'start':_0x471aaa,'end':_0x32555a,'color':this[_0x369457(0x361)](_0x1503d2,_0x2fcb8c,_0x9166fc),'progress':Number[_0x369457(0x2f4)](_0x5b44b3)?_0x5b44b3:void 0x0,'workingDayCount':_0x9166fc[_0x369457(0x366)]?en(_0x471aaa,_0x32555a,_0x9166fc['workingDays']):void 0x0,'dependencyRecordIds':this[_0x369457(0x17d)](_0x2fcb8c[_0x369457(0x29e)][(_0x4bcf77=_0x9166fc['dependencyFieldId'])==null?'':_0x4bcf77])}];}),_0x11f9c0=_0x5326e3[_0x5da864(0x333)]?G(Math[_0x5da864(0x358)](..._0x5326e3[_0x5da864(0x1da)](_0x2d592b=>_0x2d592b['start']))-0x5a*W):G(Date[_0x5da864(0x1c3)]()-0x5a*W),_0x2316c8=_0x5326e3[_0x5da864(0x333)]?G(Math[_0x5da864(0x21a)](..._0x5326e3[_0x5da864(0x1da)](_0x14ad0a=>_0x14ad0a[_0x5da864(0x25c)]))+0x5b*W):G(Date[_0x5da864(0x1c3)]()+0x5b*W),_0x395acc=Kt(_0x9166fc[_0x5da864(0x1f7)],_0x11f9c0,_0x2316c8,_0x9166fc['workingDaysOnly']?_0x9166fc[_0x5da864(0x1a9)]:void 0x0);return{'type':e[_0x5da864(0x318)][_0x5da864(0x3bf)],'fields':this[_0x5da864(0x202)](_0x1503d2,{..._0x182942,'config':_0x9166fc}),'rows':_0x52f6c3,'groups':this['_projectGroups'](_0x1503d2,_0x182942,_0x52f6c3),'config':_0x9166fc,'dateRangeAllDay':_0x39a586,'timeline':{'scale':_0x9166fc['scale'],'start':_0x11f9c0,'end':_0x2316c8,'unitWidth':_0x395acc[_0x5da864(0x257)],'majorHeaders':_0x395acc[_0x5da864(0x371)],'columns':_0x395acc[_0x5da864(0x2fd)]},'bars':_0x5326e3};}[_0xa3b18d(0x259)](_0x18211b,_0x5360e4){const _0x2f8512=_0xa3b18d;var _0x32a073;let _0x212ad2=this[_0x2f8512(0x1ac)](_0x18211b,_0x5360e4['startDateFieldId'],'start'),_0x4175b7=this['_resolveGanttDateFieldId'](_0x18211b,_0x5360e4[_0x2f8512(0x34a)],_0x2f8512(0x25c))||_0x212ad2,_0x480605=_0x5360e4[_0x2f8512(0x47d)]&&_0x18211b[_0x2f8512(0x35e)][_0x5360e4[_0x2f8512(0x47d)]]?_0x5360e4[_0x2f8512(0x47d)]:_0x18211b['primaryFieldId'],_0x5dfd73=_0x5360e4[_0x2f8512(0x1f7)]===_0x2f8512(0x236)||_0x5360e4[_0x2f8512(0x1f7)]===_0x2f8512(0x3c5)||_0x5360e4['scale']===_0x2f8512(0x39f)?_0x5360e4[_0x2f8512(0x1f7)]:_0x2f8512(0x39e),_0x346225=Gt(_0x5360e4[_0x2f8512(0x1a9)]);return{..._0x5360e4,'startDateFieldId':_0x212ad2,'endDateFieldId':_0x4175b7,'titleFieldId':_0x480605,'scale':_0x5dfd73,'leftPaneWidth':typeof _0x5360e4[_0x2f8512(0x1ed)]==_0x2f8512(0x3fe)?_0x5360e4[_0x2f8512(0x1ed)]:void 0x0,'leftPaneCollapsed':_0x5360e4[_0x2f8512(0x401)]===!0x0,'showTodayLine':_0x5360e4[_0x2f8512(0x2a2)]!==!0x1,'displayColor':this[_0x2f8512(0x307)](_0x18211b,_0x5360e4),'fieldSettings':Object[_0x2f8512(0x26d)](Object[_0x2f8512(0x217)]((_0x32a073=_0x5360e4[_0x2f8512(0x326)])==null?{}:_0x32a073)[_0x2f8512(0x314)](([_0x387894])=>!!_0x18211b[_0x2f8512(0x35e)][_0x387894])),'workingDaysOnly':_0x5360e4[_0x2f8512(0x366)]===!0x0,'workingDays':_0x346225};}[_0xa3b18d(0x1ac)](_0x2d8b31,_0x4df470,_0x2a13f2){const _0x1caf05=_0xa3b18d;if(_0x4df470&&this[_0x1caf05(0x264)](_0x2d8b31,_0x4df470,_0x2a13f2)||_0x4df470)return _0x4df470;for(let _0x4e3205 of _0x2d8b31['fieldOrder'])if(this['_isGanttDateField'](_0x2d8b31,_0x4e3205,_0x2a13f2))return _0x4e3205;return _0x4df470==null?'':_0x4df470;}[_0xa3b18d(0x264)](_0xbe0598,_0x2fe54e,_0x420f66){const _0x321e61=_0xa3b18d;let _0x131bb0=_0xbe0598[_0x321e61(0x35e)][_0x2fe54e];if(!_0x131bb0||_0x131bb0[_0x321e61(0x177)]!==e[_0x321e61(0x17a)][_0x321e61(0x224)]||_0x131bb0['readonly']===!0x0||_0x131bb0['system']===!0x0)return!0x1;let _0x1a24fb=this[_0x321e61(0x249)](_0x131bb0);return _0x420f66===_0x321e61(0x384)?_0x1a24fb[_0x321e61(0x1aa)]:_0x1a24fb[_0x321e61(0x2c9)];}[_0xa3b18d(0x307)](_0xf06c5d,_0x50fbb4){const _0xcb5f62=_0xa3b18d;let _0x3f1ef8=_0x50fbb4['displayColor'];if((_0x3f1ef8==null?void 0x0:_0x3f1ef8['type'])===_0xcb5f62(0x179)){let _0x45c61e=_0xf06c5d[_0xcb5f62(0x35e)][_0x3f1ef8[_0xcb5f62(0x2ee)]];if(_0x45c61e&&_0x45c61e['type']===e[_0xcb5f62(0x17a)][_0xcb5f62(0x3b7)])return _0x3f1ef8;}return(_0x3f1ef8==null?void 0x0:_0x3f1ef8[_0xcb5f62(0x177)])===_0xcb5f62(0x1ad)&&Array[_0xcb5f62(0x18c)](_0x3f1ef8['rules'])?{'type':_0xcb5f62(0x1ad),'rules':_0x3f1ef8[_0xcb5f62(0x3a5)]['filter'](_0x3b7fa2=>!!_0xf06c5d[_0xcb5f62(0x35e)][_0x3b7fa2['fieldId']])}:(_0x3f1ef8==null?void 0x0:_0x3f1ef8[_0xcb5f62(0x177)])===_0xcb5f62(0x284)&&typeof _0x3f1ef8[_0xcb5f62(0x413)]==_0xcb5f62(0x181)&&_0x3f1ef8[_0xcb5f62(0x413)][_0xcb5f62(0x41e)]()?{'type':_0xcb5f62(0x284),'color':_0x3f1ef8[_0xcb5f62(0x413)]}:{'type':_0xcb5f62(0x284),'color':'#14b8a6'};}[_0xa3b18d(0x361)](_0x13dcb7,_0x547b6e,_0x407e58){const _0x4959f0=_0xa3b18d;let _0x3f1cbd=_0x407e58[_0x4959f0(0x304)];if((_0x3f1cbd==null?void 0x0:_0x3f1cbd[_0x4959f0(0x177)])===_0x4959f0(0x1ad)){let _0x2bfcea=_0x3f1cbd[_0x4959f0(0x3a5)][_0x4959f0(0x484)](_0xa11db5=>this[_0x4959f0(0x3a4)](_0x13dcb7,_0x547b6e,_0xa11db5));if(_0x2bfcea)return _0x2bfcea['color'];}if((_0x3f1cbd==null?void 0x0:_0x3f1cbd['type'])==='selectField'){let _0x5544ff=_0x13dcb7[_0x4959f0(0x35e)][_0x3f1cbd[_0x4959f0(0x2ee)]];if(_0x5544ff){var _0x148dd6;let _0x3a3254=_0x547b6e[_0x4959f0(0x29e)][_0x3f1cbd[_0x4959f0(0x2ee)]],_0x5e7d06=Array['isArray'](_0x3a3254)?_0x3a3254[0x0]:_0x3a3254,_0x1d26b8=_0x5e7d06==null||(_0x148dd6=q(_0x5544ff,String(_0x5e7d06)))==null?void 0x0:_0x148dd6[_0x4959f0(0x413)];if(_0x1d26b8)return _0x1d26b8;}}return(_0x3f1cbd==null?void 0x0:_0x3f1cbd[_0x4959f0(0x177)])===_0x4959f0(0x284)?_0x3f1cbd['color']:'#14b8a6';}[_0xa3b18d(0x3a4)](_0x2b99e0,_0x522835,_0x21cc05){const _0x13f85c=_0xa3b18d;let _0x3d4a08=_0x2b99e0[_0x13f85c(0x35e)][_0x21cc05[_0x13f85c(0x2ee)]];return _0x3d4a08?Ie(_0x522835['values'][_0x3d4a08['id']],_0x21cc05['operator'],_0x21cc05[_0x13f85c(0x45b)],_0x3d4a08,{'dateMode':_0x21cc05['dateMode']}):!0x1;}[_0xa3b18d(0x1d1)](_0x3815af,_0x1125ae){const _0xbfa473=_0xa3b18d;var _0x55d21e,_0x1a1011,_0x4f0b0e;let _0x3a528e=this[_0xbfa473(0x47f)](_0x3815af,_0x1125ae),_0x4c9df=this[_0xbfa473(0x3c1)](_0x3815af,(_0x55d21e=_0x1125ae[_0xbfa473(0x3af)])==null?{}:_0x55d21e),_0x3dc514=this['_projectFields'](_0x3815af,_0x1125ae);return{'type':e['BaseViewType']['Gallery'],'fields':_0x3dc514,'rows':_0x3a528e,'groups':this[_0xbfa473(0x434)](_0x3815af,_0x1125ae,_0x3a528e),'coverFieldId':_0x4c9df[_0xbfa473(0x354)],'cardLayout':(_0x1a1011=_0x4c9df['cardLayout'])==null?'normal':_0x1a1011,'showFieldNames':_0x4c9df['showFieldNames']!==!0x1,'visibleCardFieldIds':this[_0xbfa473(0x3d3)](_0x3815af,_0x1125ae,_0x4c9df),'cardSize':(_0x4f0b0e=_0x4c9df['cardSize'])==null?_0xbfa473(0x458):_0x4f0b0e,'cards':_0x3a528e[_0xbfa473(0x1da)](_0x53a446=>({'recordId':_0x53a446[_0xbfa473(0x2f7)],'title':this[_0xbfa473(0x437)](_0x3815af,_0x53a446,_0x4c9df[_0xbfa473(0x1fb)][_0xbfa473(0x47d)]),'values':_0x53a446[_0xbfa473(0x29e)]}))};}[_0xa3b18d(0x3c1)](_0x576365,_0x1a0c25){const _0xb0c1c7=_0xa3b18d;var _0x671bdc,_0x2a0786;let _0x3e03c1=(_0x671bdc=_0x1a0c25[_0xb0c1c7(0x1fb)])==null?{'fieldIds':[]}:_0x671bdc,_0x266eed=_0x3e03c1[_0xb0c1c7(0x47d)]&&_0x576365[_0xb0c1c7(0x35e)][_0x3e03c1[_0xb0c1c7(0x47d)]]?_0x3e03c1[_0xb0c1c7(0x47d)]:kt(_0x576365),_0x14ddf5=this[_0xb0c1c7(0x3be)](_0x576365,_0x1a0c25),_0x2b418a=_0x1a0c25[_0xb0c1c7(0x1cc)]==='small'||_0x1a0c25['cardSize']===_0xb0c1c7(0x172)?_0x1a0c25[_0xb0c1c7(0x1cc)]:_0xb0c1c7(0x458);return{..._0x1a0c25,'coverFieldId':_0x14ddf5,'cardLayout':_0x1a0c25[_0xb0c1c7(0x247)]==='compose'?_0xb0c1c7(0x1dc):_0xb0c1c7(0x2d9),'showFieldNames':_0x1a0c25[_0xb0c1c7(0x3a7)]!==!0x1,'fieldSettings':Object[_0xb0c1c7(0x26d)](Object['entries']((_0x2a0786=_0x1a0c25[_0xb0c1c7(0x326)])==null?{}:_0x2a0786)[_0xb0c1c7(0x314)](([_0x3f6c44])=>!!_0x576365[_0xb0c1c7(0x35e)][_0x3f6c44])),'card':{..._0x3e03c1,'titleFieldId':_0x266eed,'coverFieldId':_0x14ddf5,'fieldIds':Array['isArray'](_0x3e03c1[_0xb0c1c7(0x454)])?_0x3e03c1[_0xb0c1c7(0x454)]:[]},'cardSize':_0x2b418a};}[_0xa3b18d(0x3be)](_0x104780,_0x5a5ae9){const _0x578f64=_0xa3b18d;var _0x9996b8,_0x1f117c,_0x17121a;let _0x41ff8b=(_0x9996b8=(_0x1f117c=_0x5a5ae9[_0x578f64(0x354)])==null?(_0x17121a=_0x5a5ae9[_0x578f64(0x1fb)])==null?void 0x0:_0x17121a['coverFieldId']:_0x1f117c)==null?null:_0x9996b8;if(!_0x41ff8b)return null;let _0xbb41a5=_0x104780[_0x578f64(0x35e)][_0x41ff8b];return _0xbb41a5&&this[_0x578f64(0x249)](_0xbb41a5)[_0x578f64(0x3b5)]?_0xbb41a5['id']:null;}[_0xa3b18d(0x3d3)](_0x1a5156,_0x7cec2a,_0x5c9d58){const _0x59513b=_0xa3b18d;var _0x1cf0f5,_0x4102ca,_0x37d6bd,_0x507451,_0x1be07e,_0x5a099e,_0x3054c0;let _0x40b961=(_0x1cf0f5=_0x5c9d58[_0x59513b(0x326)])==null?{}:_0x1cf0f5,_0x4e4d60=(_0x4102ca=(_0x37d6bd=_0x5c9d58[_0x59513b(0x1fb)])==null?void 0x0:_0x37d6bd[_0x59513b(0x47d)])==null?kt(_0x1a5156):_0x4102ca,_0xe1a9af=(_0x507451=(_0x1be07e=_0x5c9d58['coverFieldId'])==null?(_0x5a099e=_0x5c9d58['card'])==null?void 0x0:_0x5a099e[_0x59513b(0x354)]:_0x1be07e)==null?null:_0x507451,_0x154b35=!((_0x3054c0=_0x5c9d58[_0x59513b(0x1fb)])==null||(_0x3054c0=_0x3054c0[_0x59513b(0x454)])==null)&&_0x3054c0['length']?_0x5c9d58[_0x59513b(0x1fb)][_0x59513b(0x454)]:U(_0x1a5156,[_0x4e4d60,_0xe1a9af,_0x1a5156[_0x59513b(0x419)]]);return _0x154b35[_0x59513b(0x314)](_0x2ba3e8=>{const _0x47965c=_0x59513b;var _0x884423,_0x3569b6;let _0x18fcc5=_0x1a5156[_0x47965c(0x35e)][_0x2ba3e8];return!(!_0x18fcc5||_0x18fcc5['id']===_0x4e4d60||_0x18fcc5['id']===_0xe1a9af||!((_0x884423=_0x7cec2a[_0x47965c(0x326)])==null||(_0x884423=_0x884423[_0x2ba3e8])==null)&&_0x884423[_0x47965c(0x174)]||(_0x3569b6=_0x40b961[_0x2ba3e8])!=null&&_0x3569b6[_0x47965c(0x174)]);})[_0x59513b(0x33d)]((_0x50d732,_0x2f9167)=>{const _0x1e7df6=_0x59513b;var _0x41e95a,_0x274fc1,_0x404600,_0xe5d09b;return((_0x41e95a=(_0x274fc1=_0x40b961[_0x50d732])==null?void 0x0:_0x274fc1[_0x1e7df6(0x277)])==null?_0x154b35[_0x1e7df6(0x2dd)](_0x50d732):_0x41e95a)-((_0x404600=(_0xe5d09b=_0x40b961[_0x2f9167])==null?void 0x0:_0xe5d09b[_0x1e7df6(0x277)])==null?_0x154b35['indexOf'](_0x2f9167):_0x404600);});}['_projectFields'](_0x46eb8c,_0x2e0185){const _0x354331=_0xa3b18d;var _0x1efcdc;return((_0x1efcdc=_0x2e0185[_0x354331(0x2d8)])!=null&&_0x1efcdc[_0x354331(0x333)]?_0x2e0185['fieldOrder']:_0x46eb8c[_0x354331(0x2d8)])[_0x354331(0x2f9)](_0x4b12b6=>{const _0x5717a6=_0x354331;var _0xc3d02,_0x568387;let _0x26dc63=_0x46eb8c[_0x5717a6(0x35e)][_0x4b12b6],_0x3eaad6=(_0xc3d02=(_0x568387=_0x2e0185['fieldSettings'])==null?void 0x0:_0x568387[_0x4b12b6])==null?{}:_0xc3d02;return!_0x26dc63||_0x3eaad6['hidden']?[]:[{'id':_0x26dc63['id'],'name':_0x26dc63['name'],'description':_0x26dc63[_0x5717a6(0x321)],'type':_0x26dc63[_0x5717a6(0x177)],'config':_0x26dc63[_0x5717a6(0x3af)],'width':_0x3eaad6['width'],'setting':_0x3eaad6}];});}[_0xa3b18d(0x47f)](_0x371374,_0x49a640){const _0x3dfd3b=_0xa3b18d;var _0x161ff0,_0x27550a,_0x40b60c;return o(_0x3dfd3b(0x311),()=>{const _0x41131f=_0x3dfd3b;var _0x48df15,_0x569b36,_0x856116,_0x2d69c2;let _0x24e455=this[_0x41131f(0x39b)](_0x371374),_0x17c3ce=this[_0x41131f(0x47a)](_0x371374['id'],_0x49a640),_0x3e72fe=this['_getCellRevision'](_0x371374['id']),_0x3f4cfd=this[_0x41131f(0x297)]['get'](_0x17c3ce);if(_0x3f4cfd&&_0x3f4cfd[_0x41131f(0x412)]===this[_0x41131f(0x2c7)]&&_0x3f4cfd[_0x41131f(0x21b)]===this['_getTableRevision'](_0x371374['id'])){if(_0x3f4cfd[_0x41131f(0x1bf)]===_0x3e72fe&&_0x3f4cfd['baseRows']===_0x24e455)return _0x3f4cfd[_0x41131f(0x167)];if(_0x3f4cfd['cellRevision']!==_0x3e72fe&&!this[_0x41131f(0x230)](_0x371374['id'],_0x3f4cfd['cellRevision'],_0x3e72fe,this['_filterSortFieldIds'](_0x49a640))){let _0x131463=_0x3f4cfd['rows']===_0x3f4cfd['baseRows']?_0x24e455:this[_0x41131f(0x29a)](_0x3f4cfd[_0x41131f(0x167)],_0x24e455);if(_0x131463)return this['_projectedViewRowsCache'][_0x41131f(0x3e5)](_0x17c3ce,{..._0x3f4cfd,'rows':_0x131463,'baseRows':_0x24e455,'cellRevision':_0x3e72fe}),_0x131463;}}let _0x44c26e=o(_0x41131f(0x456),()=>this['_sortRows'](_0x371374,_0x49a640,this[_0x41131f(0x2b4)](_0x371374,_0x49a640,_0x24e455)),{'tableId':_0x371374['id'],'viewId':_0x49a640==null?void 0x0:_0x49a640['id'],'viewType':_0x49a640==null?void 0x0:_0x49a640[_0x41131f(0x177)],'rows':_0x24e455[_0x41131f(0x333)],'filters':(_0x48df15=_0x49a640==null||(_0x569b36=_0x49a640['filter'])==null?void 0x0:_0x569b36[_0x41131f(0x296)][_0x41131f(0x333)])==null?0x0:_0x48df15,'sorts':(_0x856116=_0x49a640==null||(_0x2d69c2=_0x49a640[_0x41131f(0x33d)])==null?void 0x0:_0x2d69c2['length'])==null?0x0:_0x856116});return this[_0x41131f(0x297)][_0x41131f(0x3e5)](_0x17c3ce,{'table':_0x371374,'rows':_0x44c26e,'baseRows':_0x24e455,'globalRevision':this[_0x41131f(0x2c7)],'tableRevision':this['_getTableRevision'](_0x371374['id']),'cellRevision':_0x3e72fe}),_0x44c26e;},{'tableId':_0x371374['id'],'viewId':_0x49a640==null?void 0x0:_0x49a640['id'],'viewType':_0x49a640==null?void 0x0:_0x49a640[_0x3dfd3b(0x177)],'records':(_0x161ff0=(_0x27550a=_0x371374['recordOrder'])==null?void 0x0:_0x27550a[_0x3dfd3b(0x333)])==null?Object['keys']((_0x40b60c=_0x371374[_0x3dfd3b(0x332)])==null?{}:_0x40b60c)['length']:_0x161ff0});}['_projectTableRows'](_0x3d1129){const _0x1f0dd6=_0xa3b18d;var _0x2d7d1c,_0x3cad15,_0x2d258f;return o('BaseProjection.projectTableRows',()=>{const _0xd3048a=_0xfdce;var _0x5ee340;let _0x5a11d7=this[_0xd3048a(0x331)](_0x3d1129['id']),_0x56643b=this['_projectedRowsCache'][_0xd3048a(0x221)](_0x3d1129['id']);if(_0x56643b&&_0x56643b[_0xd3048a(0x412)]===this['_globalRevision']&&_0x56643b[_0xd3048a(0x21b)]===this[_0xd3048a(0x45a)](_0x3d1129['id'])){if(_0x56643b[_0xd3048a(0x1bf)]===_0x5a11d7&&_0x56643b[_0xd3048a(0x3ac)]===_0x3d1129)return _0x56643b['rows'];let _0x33a6af=this[_0xd3048a(0x20f)](_0x3d1129,_0x56643b,_0x5a11d7);if(_0x33a6af)return _0x33a6af;}Bt(_0x3d1129)||d(_0x3d1129);let _0x2eb50e=(_0x5ee340=_0x3d1129[_0xd3048a(0x47c)])!=null&&_0x5ee340[_0xd3048a(0x333)]?_0x3d1129[_0xd3048a(0x47c)]:Wt(_0x3d1129[_0xd3048a(0x332)]),_0xc26e32=o(_0xd3048a(0x374),()=>{const _0x27d24f=_0xd3048a;let _0x2dc0e7=[];for(let _0x5f4561 of _0x2eb50e){let _0x1d030c=_0x3d1129[_0x27d24f(0x332)][_0x5f4561];if(!_0x1d030c)continue;let _0x1b5303={};for(let _0x426107 of _0x3d1129['fieldOrder'])_0x1b5303[_0x426107]=_(_0x3d1129,_0x1d030c['id'],_0x426107);_0x2dc0e7[_0x27d24f(0x439)]({'recordId':_0x1d030c['id'],'values':_0x1b5303});}return _0x2dc0e7;},{'tableId':_0x3d1129['id'],'records':_0x2eb50e[_0xd3048a(0x333)],'fields':_0x3d1129[_0xd3048a(0x2d8)][_0xd3048a(0x333)]});return this[_0xd3048a(0x267)][_0xd3048a(0x3e5)](_0x3d1129['id'],{'table':_0x3d1129,'rows':_0xc26e32,'rowIndexById':zt(_0xc26e32),'globalRevision':this[_0xd3048a(0x2c7)],'tableRevision':this[_0xd3048a(0x45a)](_0x3d1129['id']),'cellRevision':_0x5a11d7}),_0xc26e32;},{'tableId':_0x3d1129['id'],'records':(_0x2d7d1c=(_0x3cad15=_0x3d1129[_0x1f0dd6(0x47c)])==null?void 0x0:_0x3cad15[_0x1f0dd6(0x333)])==null?Object[_0x1f0dd6(0x1c8)]((_0x2d258f=_0x3d1129[_0x1f0dd6(0x332)])==null?{}:_0x2d258f)['length']:_0x2d7d1c,'fields':_0x3d1129[_0x1f0dd6(0x2d8)]['length']});}['_patchProjectedRowsForCellInvalidations'](_0x2a7a3f,_0x480d32,_0x2e794e){const _0x266abf=_0xa3b18d;var _0x1b0f9e,_0xc5230f;let _0xd32e2b=((_0x1b0f9e=this[_0x266abf(0x43d)][_0x266abf(0x221)](_0x2a7a3f['id']))==null?[]:_0x1b0f9e)['filter'](_0x5eea04=>_0x5eea04[_0x266abf(0x233)]>_0x480d32[_0x266abf(0x1bf)]&&_0x5eea04['revision']<=_0x2e794e);if(!_0xd32e2b[_0x266abf(0x333)])return _0x480d32[_0x266abf(0x3ac)]===_0x2a7a3f?_0x480d32['rows']:null;let _0x1dc491=_0x480d32[_0x266abf(0x167)],_0x29d4a7=new Map();for(let _0x3c1fcc of _0xd32e2b){let _0x5acc10=_0x29d4a7[_0x266abf(0x221)](_0x3c1fcc['recordId']);_0x5acc10||(_0x5acc10=new Set(),_0x29d4a7[_0x266abf(0x3e5)](_0x3c1fcc['recordId'],_0x5acc10)),_0x5acc10[_0x266abf(0x204)](_0x3c1fcc[_0x266abf(0x2ee)]);}for(let [_0x16581d,_0x5635ff]of _0x29d4a7){if(!_0x2a7a3f['records'][_0x16581d])return null;let _0x24bb03=_0x480d32[_0x266abf(0x3f7)][_0x266abf(0x221)](_0x16581d);if(_0x24bb03==null)return null;_0x1dc491===_0x480d32[_0x266abf(0x167)]&&(_0x1dc491=[..._0x480d32['rows']]);let _0x2ef734=_0x1dc491[_0x24bb03],_0x11febd={..._0x2ef734[_0x266abf(0x29e)]};_0x5635ff[_0x266abf(0x465)](_0x54ad33=>{_0x11febd[_0x54ad33]=_(_0x2a7a3f,_0x16581d,_0x54ad33);}),_0x1dc491[_0x24bb03]={..._0x2ef734,'values':_0x11febd};}let _0x44d256={'table':_0x2a7a3f,'rows':_0x1dc491,'rowIndexById':_0x480d32[_0x266abf(0x3f7)],'globalRevision':this[_0x266abf(0x2c7)],'tableRevision':this[_0x266abf(0x45a)](_0x2a7a3f['id']),'cellRevision':_0x2e794e};return this[_0x266abf(0x267)][_0x266abf(0x3e5)](_0x2a7a3f['id'],_0x44d256),this[_0x266abf(0x43d)]['set'](_0x2a7a3f['id'],((_0xc5230f=this[_0x266abf(0x43d)][_0x266abf(0x221)](_0x2a7a3f['id']))==null?[]:_0xc5230f)[_0x266abf(0x314)](_0x4de523=>_0x4de523[_0x266abf(0x233)]>Math['max'](0x0,_0x2e794e-0x100))),_0x1dc491;}[_0xa3b18d(0x29a)](_0x519455,_0x2accb8){const _0x5e41bc=_0xa3b18d;let _0x1fd055=new Map(_0x2accb8[_0x5e41bc(0x1da)](_0x265cb0=>[_0x265cb0[_0x5e41bc(0x2f7)],_0x265cb0])),_0x3e810c=!0x1,_0x3d6a9f=_0x519455[_0x5e41bc(0x1da)](_0x56246e=>{const _0x41487f=_0x5e41bc;let _0x4e6c7d=_0x1fd055[_0x41487f(0x221)](_0x56246e[_0x41487f(0x2f7)]);return _0x4e6c7d?_0x4e6c7d===_0x56246e?_0x56246e:(_0x3e810c=!0x0,_0x4e6c7d):_0x56246e;});return _0x3e810c?_0x3d6a9f:_0x519455;}[_0xa3b18d(0x230)](_0x51045c,_0x351130,_0x2ca54e,_0x4fe562){const _0x5777ba=_0xa3b18d;var _0x2600aa;return!_0x4fe562['size']||_0x351130===_0x2ca54e?!0x1:_0x2ca54e-_0x351130>0x100?!0x0:((_0x2600aa=this['_cellInvalidations'][_0x5777ba(0x221)](_0x51045c))==null?[]:_0x2600aa)[_0x5777ba(0x24e)](_0x474e25=>_0x474e25[_0x5777ba(0x233)]>_0x351130&&_0x474e25['revision']<=_0x2ca54e&&_0x4fe562[_0x5777ba(0x397)](_0x474e25[_0x5777ba(0x2ee)]));}[_0xa3b18d(0x2d0)](_0x195f02){const _0x133693=_0xa3b18d;var _0x50e5b1,_0x4420a4;let _0x307284=new Set();return _0x195f02==null||(_0x50e5b1=_0x195f02['filter'])==null||_0x50e5b1['conditions']['forEach'](_0x2d213d=>_0x307284['add'](_0x2d213d[_0x133693(0x2ee)])),_0x195f02==null||(_0x4420a4=_0x195f02[_0x133693(0x33d)])==null||_0x4420a4[_0x133693(0x465)](_0x21c261=>_0x307284[_0x133693(0x204)](_0x21c261[_0x133693(0x2ee)])),_0x307284;}['_groupProjectionFieldIds'](_0x48950f){const _0x13497a=_0xa3b18d;var _0x1a25f9;let _0x345576=this[_0x13497a(0x2d0)](_0x48950f);return(_0x1a25f9=_0x48950f[_0x13497a(0x1cb)])==null||_0x1a25f9[_0x13497a(0x465)](_0xcd547=>_0x345576[_0x13497a(0x204)](_0xcd547[_0x13497a(0x2ee)])),_0x345576;}[_0xa3b18d(0x2b4)](_0x41c24d,_0x383df3,_0x26c2ab){const _0x52a3f4=_0xa3b18d;let _0xedac5d=_0x383df3==null?void 0x0:_0x383df3[_0x52a3f4(0x314)];if(!(_0xedac5d!=null&&_0xedac5d[_0x52a3f4(0x296)][_0x52a3f4(0x333)]))return _0x26c2ab;let _0x81d9f4=_0xedac5d[_0x52a3f4(0x296)][_0x52a3f4(0x314)](_0x21f030=>!dn(_0x21f030));return _0x81d9f4['length']?_0x26c2ab[_0x52a3f4(0x314)](_0x8a15fe=>{const _0x1020cd=_0x52a3f4;if(_0xedac5d[_0x1020cd(0x2b9)]===e[_0x1020cd(0x28a)]['OR']){for(let _0x2f3e34 of _0x81d9f4){let _0x367661=_0x41c24d[_0x1020cd(0x35e)][_0x2f3e34['fieldId']];if(!_0x367661||this[_0x1020cd(0x175)][_0x1020cd(0x221)](_0x367661[_0x1020cd(0x177)])[_0x1020cd(0x314)](_0x8a15fe[_0x1020cd(0x29e)][_0x367661['id']],_0x2f3e34[_0x1020cd(0x441)],_0x2f3e34['operand'],_0x367661))return!0x0;}return!0x1;}for(let _0x218c0f of _0x81d9f4){let _0x58bb37=_0x41c24d[_0x1020cd(0x35e)][_0x218c0f['fieldId']];if(_0x58bb37&&!this[_0x1020cd(0x175)][_0x1020cd(0x221)](_0x58bb37[_0x1020cd(0x177)])[_0x1020cd(0x314)](_0x8a15fe[_0x1020cd(0x29e)][_0x58bb37['id']],_0x218c0f[_0x1020cd(0x441)],_0x218c0f[_0x1020cd(0x45b)],_0x58bb37))return!0x1;}return!0x0;}):_0x26c2ab;}[_0xa3b18d(0x28c)](_0x5839b6,_0x3c5002,_0x2ca5de){const _0x3b2406=_0xa3b18d;var _0x188451;let _0x582fd5=(_0x188451=_0x3c5002==null?void 0x0:_0x3c5002[_0x3b2406(0x33d)])==null?[]:_0x188451;if(!_0x582fd5[_0x3b2406(0x333)])return _0x2ca5de;let _0x1f36d5=_0x582fd5[_0x3b2406(0x2f9)](_0xcc6887=>{const _0x3c5880=_0x3b2406;let _0x3f098e=_0x5839b6[_0x3c5880(0x35e)][_0xcc6887[_0x3c5880(0x2ee)]];return _0x3f098e?[{..._0xcc6887,'field':_0x3f098e}]:[];});return _0x1f36d5['length']?this[_0x3b2406(0x30d)](_0x1f36d5)?this['_fastSortRows'](_0x1f36d5,_0x2ca5de):[..._0x2ca5de]['sort']((_0x33a761,_0x52ee09)=>{const _0x10b4d8=_0x3b2406;for(let _0x498b6e of _0x1f36d5){let _0x12dfa6=_0x498b6e[_0x10b4d8(0x41c)],_0x49c030=this[_0x10b4d8(0x175)][_0x10b4d8(0x221)](_0x12dfa6['type'])[_0x10b4d8(0x1e5)](_0x33a761[_0x10b4d8(0x29e)][_0x12dfa6['id']],_0x52ee09['values'][_0x12dfa6['id']],_0x12dfa6);if(_0x49c030!==0x0)return _0x498b6e['direction']===e[_0x10b4d8(0x1d2)][_0x10b4d8(0x19f)]?-_0x49c030:_0x49c030;}return 0x0;}):_0x2ca5de;}[_0xa3b18d(0x30d)](_0x5310ce){const _0x240d3c=_0xa3b18d;return _0x5310ce[_0x240d3c(0x1c6)](_0xbc9f58=>It[_0x240d3c(0x397)](_0xbc9f58['field'][_0x240d3c(0x177)]));}[_0xa3b18d(0x1fc)](_0x30f1ff,_0x4e7570){const _0xec2435=_0xa3b18d;return _0x4e7570[_0xec2435(0x1da)]((_0x5b1619,_0x591f36)=>({'row':_0x5b1619,'index':_0x591f36,'keys':_0x30f1ff['map'](_0x130286=>_0x5b1619[_0xec2435(0x29e)][_0x130286['fieldId']])}))[_0xec2435(0x33d)]((_0x51cc77,_0x2c9136)=>{const _0x686944=_0xec2435;for(let _0x4967dd=0x0;_0x4967dd<_0x30f1ff[_0x686944(0x333)];_0x4967dd++){let _0x4d6da4=un(_0x51cc77['keys'][_0x4967dd],_0x2c9136[_0x686944(0x1c8)][_0x4967dd]);if(_0x4d6da4!==0x0)return _0x30f1ff[_0x4967dd][_0x686944(0x3a3)]===e[_0x686944(0x1d2)]['DESC']?-_0x4d6da4:_0x4d6da4;}return _0x51cc77['index']-_0x2c9136[_0x686944(0x25a)];})[_0xec2435(0x1da)](_0x251733=>_0x251733[_0xec2435(0x33a)]);}[_0xa3b18d(0x434)](_0x2c3223,_0x5478c7,_0x5f413e){const _0x556e68=_0xa3b18d;var _0x35195b,_0x6676af;return o('BaseProjection.projectGroups',()=>{const _0x4ec3e9=_0xfdce;var _0x4ec1f4;if(!((_0x4ec1f4=_0x5478c7[_0x4ec3e9(0x1cb)])!=null&&_0x4ec1f4[_0x4ec3e9(0x333)]))return[];let _0x3f4e1b=_0x5478c7[_0x4ec3e9(0x1cb)][_0x4ec3e9(0x314)](_0x354f7d=>_0x2c3223['fields'][_0x354f7d[_0x4ec3e9(0x2ee)]]);if(!_0x3f4e1b[_0x4ec3e9(0x333)])return[];let _0x25bd5b=this['_groupsCacheKey'](_0x2c3223['id'],_0x5478c7,_0x3f4e1b),_0x367e16=this['_getCellRevision'](_0x2c3223['id']),_0x27d5e8=this[_0x4ec3e9(0x409)][_0x4ec3e9(0x221)](_0x25bd5b);if(_0x27d5e8&&_0x27d5e8[_0x4ec3e9(0x412)]===this[_0x4ec3e9(0x2c7)]&&_0x27d5e8[_0x4ec3e9(0x21b)]===this[_0x4ec3e9(0x45a)](_0x2c3223['id'])){if(_0x27d5e8[_0x4ec3e9(0x1bf)]===_0x367e16&&_0x27d5e8['rows']===_0x5f413e)return _0x27d5e8[_0x4ec3e9(0x3e8)];if(_0x27d5e8['cellRevision']!==_0x367e16&&!this[_0x4ec3e9(0x230)](_0x2c3223['id'],_0x27d5e8[_0x4ec3e9(0x1bf)],_0x367e16,this[_0x4ec3e9(0x406)](_0x5478c7)))return this[_0x4ec3e9(0x409)][_0x4ec3e9(0x3e5)](_0x25bd5b,{..._0x27d5e8,'rows':_0x5f413e,'cellRevision':_0x367e16}),_0x27d5e8[_0x4ec3e9(0x3e8)];}let _0x55b24d=new Map();for(let _0x246d16 of _0x5f413e){let _0x548b49=_0x55b24d,_0x9b42c3='';for(let _0x1ec102=0x0;_0x1ec102<_0x3f4e1b[_0x4ec3e9(0x333)];_0x1ec102++){let _0x47ee6b=_0x3f4e1b[_0x1ec102],_0x3bb81d=_0x246d16[_0x4ec3e9(0x29e)][_0x47ee6b[_0x4ec3e9(0x2ee)]],_0xeff526=Rt(_0x3bb81d),_0x19b33f=_0x47ee6b[_0x4ec3e9(0x2ee)]+'\x00'+_0xeff526,_0x2b4a56=_0x9b42c3+'/'+_0x47ee6b[_0x4ec3e9(0x2ee)]+':'+_0xeff526,_0x1792de=_0x548b49[_0x4ec3e9(0x221)](_0x19b33f);_0x1792de||(_0x1792de={'key':_0xeff526,'value':_0x3bb81d,'path':_0x2b4a56,'label':_0xeff526||_0x4ec3e9(0x2cf),'fieldId':_0x47ee6b[_0x4ec3e9(0x2ee)],'level':_0x1ec102,'recordIds':[],'children':new Map()},_0x548b49[_0x4ec3e9(0x3e5)](_0x19b33f,_0x1792de)),_0x1792de['recordIds']['push'](_0x246d16[_0x4ec3e9(0x2f7)]),_0x548b49=_0x1792de['children'],_0x9b42c3=_0x2b4a56;}}let _0x31075d=this[_0x4ec3e9(0x2fa)](_0x3f4e1b,_0x55b24d,0x0);return this[_0x4ec3e9(0x409)]['set'](_0x25bd5b,{'table':_0x2c3223,'rows':_0x5f413e,'groups':_0x31075d,'globalRevision':this[_0x4ec3e9(0x2c7)],'tableRevision':this['_getTableRevision'](_0x2c3223['id']),'cellRevision':_0x367e16}),_0x31075d;},{'tableId':_0x2c3223['id'],'viewId':_0x5478c7['id'],'viewType':_0x5478c7['type'],'rows':_0x5f413e['length'],'groupFields':(_0x35195b=(_0x6676af=_0x5478c7['group'])==null?void 0x0:_0x6676af[_0x556e68(0x333)])==null?0x0:_0x35195b});}[_0xa3b18d(0x2fa)](_0x3b98e2,_0x443c20,_0x2cb41b){const _0x30e458=_0xa3b18d;var _0xf3b7df;let _0x1df244=Array[_0x30e458(0x3aa)](_0x443c20[_0x30e458(0x29e)]()),_0x509b6c=(_0xf3b7df=_0x3b98e2[_0x2cb41b])==null?void 0x0:_0xf3b7df['direction'];return _0x509b6c&&_0x1df244[_0x30e458(0x33d)]((_0x2d8e8f,_0x2c3bf0)=>{const _0x25892f=_0x30e458;let _0x337b4b=_0x2d8e8f[_0x25892f(0x212)]['localeCompare'](_0x2c3bf0[_0x25892f(0x212)]);return _0x509b6c===e[_0x25892f(0x1d2)][_0x25892f(0x19f)]?-_0x337b4b:_0x337b4b;}),_0x1df244[_0x30e458(0x1da)](_0xb58c52=>({'key':_0xb58c52[_0x30e458(0x212)],'value':_0xb58c52[_0x30e458(0x33c)],'path':_0xb58c52[_0x30e458(0x341)],'label':_0xb58c52['label'],'fieldId':_0xb58c52[_0x30e458(0x2ee)],'level':_0xb58c52[_0x30e458(0x35c)],'recordIds':_0xb58c52['recordIds'],'children':this[_0x30e458(0x2fa)](_0x3b98e2,_0xb58c52[_0x30e458(0x38d)],_0x2cb41b+0x1)}));}[_0xa3b18d(0x437)](_0x68d847,_0x20cc0b,_0x5b7f75){const _0x9dd312=_0xa3b18d;let _0x353d00=_0x5b7f75==null?_0x68d847[_0x9dd312(0x419)]:_0x5b7f75,_0x58829a=_0x20cc0b[_0x9dd312(0x29e)][_0x353d00];return _0x58829a==null?'':String(_0x58829a);}[_0xa3b18d(0x17d)](_0x7dc003){const _0x5abc14=_0xa3b18d;if(Array['isArray'](_0x7dc003))return _0x7dc003[_0x5abc14(0x1da)](String);if(typeof _0x7dc003=='string'&&_0x7dc003)return[_0x7dc003];}['_capabilities'](_0x336077){const _0x1c3507=_0xa3b18d;return this[_0x1c3507(0x175)][_0x1c3507(0x221)](_0x336077[_0x1c3507(0x177)])[_0x1c3507(0x3ee)](_0x336077);}};Lt=B([z(0x0,(0x0,e[_0xa3b18d(0x1c0)])(L))],Lt);function Rt(_0x24536b){return _0x24536b==null?'':String(_0x24536b);}function zt(_0x439697){const _0x431799=_0xa3b18d;return new Map(_0x439697[_0x431799(0x1da)]((_0x5436bd,_0x228591)=>[_0x5436bd[_0x431799(0x2f7)],_0x228591]));}function Bt(_0x259d6e){const _0x54cfa9=_0xa3b18d;return!!(Array[_0x54cfa9(0x18c)](_0x259d6e[_0x54cfa9(0x47c)])&&_0x259d6e[_0x54cfa9(0x164)]&&_0x259d6e[_0x54cfa9(0x262)]&&_0x259d6e['colIndex']&&_0x259d6e[_0x54cfa9(0x171)]&&_0x259d6e['cellData']);}function Vt(_0x34637a){const _0x513b56=_0xa3b18d;return _0x34637a!=null&&_0x34637a['conditions'][_0x513b56(0x333)]?{'conjunction':_0x34637a['conjunction'],'conditions':_0x34637a['conditions'][_0x513b56(0x1da)](_0x3f1c4a=>({'fieldId':_0x3f1c4a[_0x513b56(0x2ee)],'operator':_0x3f1c4a[_0x513b56(0x441)],'operand':_0x3f1c4a['operand']}))}:null;}function Ht(_0xb58fc6){const _0x7db5f2=_0xa3b18d;return _0xb58fc6!=null&&_0xb58fc6[_0x7db5f2(0x333)]?_0xb58fc6[_0x7db5f2(0x1da)](_0x5f240e=>({'fieldId':_0x5f240e[_0x7db5f2(0x2ee)],'direction':_0x5f240e[_0x7db5f2(0x3a3)]})):null;}function Ut(_0x405795){const _0x5c0643=_0xa3b18d;if(typeof _0x405795!=_0x5c0643(0x20d)||!_0x405795){var _0x4922e6;return(_0x4922e6=JSON[_0x5c0643(0x23e)](_0x405795))==null?'undefined':_0x4922e6;}if(Array[_0x5c0643(0x18c)](_0x405795))return'['+_0x405795[_0x5c0643(0x1da)](Ut)['join'](',')+']';let _0x512f29=_0x405795;return'{'+Object['keys'](_0x512f29)[_0x5c0643(0x33d)]()[_0x5c0643(0x1da)](_0x381ff5=>JSON[_0x5c0643(0x23e)](_0x381ff5)+':'+Ut(_0x512f29[_0x381ff5]))[_0x5c0643(0x1e9)](',')+'}';}function Wt(_0x868929){const _0x34e223=_0xa3b18d;let _0x16180f=Object[_0x34e223(0x29e)](_0x868929)[_0x34e223(0x33d)]((_0x1900b7,_0x2c7337)=>_0x1900b7[_0x34e223(0x390)][_0x34e223(0x387)](_0x2c7337[_0x34e223(0x390)])),_0x4b1275=[];for(let _0x3a0f9d of _0x16180f)_0x4b1275[_0x34e223(0x439)](_0x3a0f9d['id']);return _0x4b1275;}const W=0x5a0*0x3c*0x3e8;function Gt(_0x454131){const _0x11f52f=_0xa3b18d;return{'weekdays':Array[_0x11f52f(0x18c)](_0x454131==null?void 0x0:_0x454131[_0x11f52f(0x18f)])&&_0x454131[_0x11f52f(0x18f)][_0x11f52f(0x333)]?[...new Set(_0x454131[_0x11f52f(0x18f)]['filter'](_0x124d28=>Number[_0x11f52f(0x226)](_0x124d28)&&_0x124d28>=0x1&&_0x124d28<=0x7))]:[0x1,0x2,0x3,0x4,0x5],'exceptions':Array[_0x11f52f(0x18c)](_0x454131==null?void 0x0:_0x454131[_0x11f52f(0x22d)])?_0x454131[_0x11f52f(0x22d)]['flatMap'](_0x108810=>!_0x108810||!Number[_0x11f52f(0x2f4)](_0x108810[_0x11f52f(0x2fe)])?[]:[{'id':String(_0x108810['id']||'exception-'+_0x108810[_0x11f52f(0x2fe)]),'date':G(Number(_0x108810[_0x11f52f(0x2fe)])),'name':String(_0x108810['name']||_0x11f52f(0x3ef)),'type':_0x108810[_0x11f52f(0x177)]===_0x11f52f(0x1d8)?'working':_0x11f52f(0x368)}]):[]};}function Kt(_0x54977e,_0x18ee5c,_0xd1fc8d,_0xc45950){let _0x43759f=Xt(_0x54977e,_0x18ee5c),_0x13a1c4=Zt(_0x54977e,_0xd1fc8d),_0x232c81=qt(_0x54977e,_0x43759f,_0x13a1c4,_0xc45950);return{'scale':_0x54977e,'start':_0x43759f,'end':_0x13a1c4,'unitWidth':Yt(_0x54977e),'majorHeaders':Jt(_0x54977e,_0x43759f,_0x13a1c4),'columns':_0x232c81};}function qt(_0x1cb540,_0x80101b,_0x60de2,_0x1870b2){const _0x2d5af7=_0xa3b18d;let _0x3e7fb6=[],_0x3117fe=_0x80101b;for(;_0x3117fe<_0x60de2;){let _0x2fdeaa=_0x1cb540===_0x2d5af7(0x3c5)?K(_0x3117fe,0x7):_0x1cb540===_0x2d5af7(0x39f)?sn(_0x3117fe,0x1):K(_0x3117fe,0x1);_0x3e7fb6[_0x2d5af7(0x439)]({'id':_0x1cb540+'-'+_0x3117fe,'label':Qt(_0x1cb540,_0x3117fe,_0x2fdeaa),'majorLabel':$t(_0x1cb540,_0x3117fe),'start':_0x3117fe,'end':_0x2fdeaa,'nonWorking':tn(_0x3117fe,_0x2fdeaa,_0x1870b2)}),_0x3117fe=_0x2fdeaa;}return _0x3e7fb6;}function Jt(_0x3e1206,_0x1081d2,_0x4ef8de){const _0x3d6ec5=_0xa3b18d;let _0x5d6882=[],_0xd88dd0=_0x3e1206===_0x3d6ec5(0x39f)?on(_0x1081d2):an(_0x1081d2);for(;_0xd88dd0<_0x4ef8de;){let _0x3244de=_0x3e1206===_0x3d6ec5(0x39f)?cn(_0xd88dd0,0x1):sn(_0xd88dd0,0x1);_0x5d6882[_0x3d6ec5(0x439)]({'id':'major-'+_0xd88dd0,'label':_0x3e1206===_0x3d6ec5(0x39f)?String(new Date(_0xd88dd0)['getUTCFullYear']()):ln(_0xd88dd0),'start':_0xd88dd0,'end':_0x3244de}),_0xd88dd0=_0x3244de;}return _0x5d6882;}function Yt(_0x512583){const _0xcd8676=_0xa3b18d;switch(_0x512583){case _0xcd8676(0x236):return 0xac;case'quarter':return 0xac;case _0xcd8676(0x39f):return 0x88;default:return 0x56;}}function Xt(_0x2bba78,_0x390b03){const _0x11754c=_0xa3b18d;return _0x2bba78===_0x11754c(0x39f)?on(_0x390b03):_0x2bba78===_0x11754c(0x3c5)?rn(_0x390b03):G(_0x390b03);}function Zt(_0x2d68e5,_0x20d72a){const _0x364e14=_0xa3b18d;return _0x2d68e5===_0x364e14(0x39f)?cn(on(_0x20d72a),0x1):_0x2d68e5===_0x364e14(0x3c5)?K(rn(_0x20d72a),0x7):K(G(_0x20d72a),0x1);}function Qt(_0x4e4862,_0x4edd3f,_0x10ba68){const _0x12f1dc=_0xa3b18d;let _0x5351a4=new Date(_0x4edd3f);return _0x4e4862==='quarter'?_0x5351a4[_0x12f1dc(0x2fb)]()+'-'+new Date(_0x10ba68-W)['getUTCDate']():_0x4e4862==='year'?_0x5351a4[_0x12f1dc(0x3d6)](_0x12f1dc(0x305),{'month':_0x12f1dc(0x3e7),'timeZone':_0x12f1dc(0x2ed)}):String(_0x5351a4['getUTCDate']());}function $t(_0x1e8673,_0x54b9e9){const _0x38aeb1=_0xa3b18d;return _0x1e8673===_0x38aeb1(0x39f)?String(new Date(_0x54b9e9)[_0x38aeb1(0x19a)]()):ln(_0x54b9e9);}function en(_0x353163,_0x44ff06,_0x343b42){let _0x1d3393=Gt(_0x343b42),_0x310be7=0x0;for(let _0x311c83=G(_0x353163);_0x311c83<=G(_0x44ff06);_0x311c83=K(_0x311c83,0x1))nn(_0x311c83,_0x1d3393)||_0x310be7++;return _0x310be7;}function tn(_0x321774,_0x4f1fee,_0x36bb44){if(!_0x36bb44)return!0x1;let _0x536e3b=Gt(_0x36bb44);for(let _0x86d7cc=G(_0x321774);_0x86d7cc<_0x4f1fee;_0x86d7cc=K(_0x86d7cc,0x1))if(!nn(_0x86d7cc,_0x536e3b))return!0x1;return!0x0;}function nn(_0x9638cc,_0x4efec3){const _0x1ca1d5=_0xa3b18d;let _0x433469=G(_0x9638cc),_0x2211e4=_0x4efec3[_0x1ca1d5(0x22d)][_0x1ca1d5(0x484)](_0x19d5fb=>G(_0x19d5fb[_0x1ca1d5(0x2fe)])===_0x433469);if(_0x2211e4)return _0x2211e4[_0x1ca1d5(0x177)]===_0x1ca1d5(0x368);let _0x376ba4=new Date(_0x433469)[_0x1ca1d5(0x3f4)](),_0x5532a5=_0x376ba4===0x0?0x7:_0x376ba4;return!_0x4efec3[_0x1ca1d5(0x18f)][_0x1ca1d5(0x162)](_0x5532a5);}function G(_0x4128f5){const _0x55526b=_0xa3b18d;let _0x206203=new Date(_0x4128f5);return Date['UTC'](_0x206203[_0x55526b(0x19a)](),_0x206203[_0x55526b(0x381)](),_0x206203[_0x55526b(0x2fb)]());}function rn(_0x3deb6e){const _0x11988d=_0xa3b18d;let _0xad70f4=G(_0x3deb6e),_0x2298f9=new Date(_0xad70f4)[_0x11988d(0x3f4)]();return K(_0xad70f4,-(_0x2298f9===0x0?0x6:_0x2298f9-0x1));}function an(_0x369778){const _0x41365e=_0xa3b18d;let _0x1bf185=new Date(_0x369778);return Date[_0x41365e(0x2ed)](_0x1bf185[_0x41365e(0x19a)](),_0x1bf185['getUTCMonth'](),0x1);}function on(_0xfefbc4){const _0x39eb42=_0xa3b18d;let _0x3cede3=new Date(_0xfefbc4);return Date[_0x39eb42(0x2ed)](_0x3cede3['getUTCFullYear'](),0x0,0x1);}function K(_0x43aa18,_0x4020e0){return _0x43aa18+_0x4020e0*W;}function sn(_0x42d704,_0x123ca9){const _0x1ac47e=_0xa3b18d;let _0x585499=new Date(_0x42d704);return Date[_0x1ac47e(0x2ed)](_0x585499['getUTCFullYear'](),_0x585499[_0x1ac47e(0x381)]()+_0x123ca9,0x1);}function cn(_0x24a08e,_0x15d919){const _0x2d9e51=_0xa3b18d;let _0xe163ff=new Date(_0x24a08e);return Date['UTC'](_0xe163ff[_0x2d9e51(0x19a)]()+_0x15d919,0x0,0x1);}function ln(_0x17a46f){const _0xdcdd82=_0xa3b18d;let _0x1b78e8=new Date(_0x17a46f);return _0x1b78e8[_0xdcdd82(0x3d6)](_0xdcdd82(0x305),{'month':_0xdcdd82(0x3e7),'timeZone':'UTC'})+'\x20'+_0x1b78e8['getUTCFullYear']();}function un(_0x1fdd32,_0x45ddd){const _0x4b5585=_0xa3b18d;if(_0x1fdd32==null&&_0x45ddd==null)return 0x0;if(_0x1fdd32==null)return-0x1;if(_0x45ddd==null)return 0x1;if(typeof _0x1fdd32==_0x4b5585(0x25f)||typeof _0x45ddd=='boolean')return Number(_0x1fdd32===!0x0)-Number(_0x45ddd===!0x0);let _0x463985=Number(_0x1fdd32),_0x1bd996=Number(_0x45ddd),_0x478dad=Number['isFinite'](_0x463985),_0x4bf330=Number[_0x4b5585(0x2f4)](_0x1bd996);return _0x478dad&&_0x4bf330?_0x463985-_0x1bd996:_0x478dad?0x1:_0x4bf330?-0x1:String(_0x1fdd32)[_0x4b5585(0x387)](String(_0x45ddd));}function dn(_0x2ee1cf){const _0x5d79a1=_0xa3b18d;if(_0x2ee1cf[_0x5d79a1(0x441)]!=='is'&&_0x2ee1cf[_0x5d79a1(0x441)]!==_0x5d79a1(0x229))return!0x1;let _0x3db3e3=_0x2ee1cf[_0x5d79a1(0x45b)];return _0x3db3e3==null?!0x0:typeof _0x3db3e3==_0x5d79a1(0x181)?_0x3db3e3[_0x5d79a1(0x41e)]()==='':Array[_0x5d79a1(0x18c)](_0x3db3e3)?_0x3db3e3[_0x5d79a1(0x333)]===0x0:!0x1;}function q(_0x5646f7,_0xce665d){const _0xc7a206=_0xa3b18d;var _0x336191;let _0x1aa11b=Array[_0xc7a206(0x18c)]((_0x336191=_0x5646f7[_0xc7a206(0x3af)])==null?void 0x0:_0x336191[_0xc7a206(0x275)])?_0x5646f7[_0xc7a206(0x3af)][_0xc7a206(0x275)]:[];for(let _0x550dc5 of _0x1aa11b){var _0x239aa4,_0x22c4f0,_0x374271,_0x5d1463;if(_0x550dc5==null)continue;if(typeof _0x550dc5=='string'){if(_0x550dc5===_0xce665d)return{'id':_0x550dc5,'name':_0x550dc5};continue;}let _0x1fc6f2=_0x550dc5,_0x34fdb1=String((_0x239aa4=(_0x22c4f0=_0x1fc6f2['id'])==null?_0x1fc6f2['name']:_0x22c4f0)==null?'':_0x239aa4),_0x48debb=String((_0x374271=(_0x5d1463=_0x1fc6f2['name'])==null?_0x1fc6f2['id']:_0x5d1463)==null?_0x34fdb1:_0x374271);if(_0x34fdb1===_0xce665d||_0x48debb===_0xce665d)return{'id':_0x34fdb1,'name':_0x48debb,'color':_0x1fc6f2['color']==null?void 0x0:String(_0x1fc6f2[_0xc7a206(0x413)])};}return null;}const J={'id':_0xa3b18d(0x375),'type':e[_0xa3b18d(0x33e)][_0xa3b18d(0x241)],'handler'(_0x23d317,_0x21fda7){const _0x334437=_0xa3b18d;let {unitId:_0x43099c,op:_0x535dc9}=_0x21fda7,_0x249eb3=_0x23d317[_0x334437(0x221)](e[_0x334437(0x1be)])['getUnit'](_0x43099c,e[_0x334437(0x3b9)][_0x334437(0x30f)]);if(!_0x249eb3)return!0x1;let _0x56f091=_0x249eb3[_0x334437(0x2ab)](),_0xbf62c9=new w(),_0x3cbc4d=_0xbf62c9['getAffectedRanges'](_0x535dc9),_0x22b5f4=_0xbf62c9[_0x334437(0x2ac)](_0x56f091,_0x535dc9);return _0x249eb3['setSnapshot'](_0x22b5f4),fn(_0x22b5f4,_0x3cbc4d,_0x23d317[_0x334437(0x221)](Ft)),!0x0;}};function fn(_0x5743d2,_0x84b123,_0x4f7821){const _0x145592=_0xa3b18d;let _0x5bf8d2=new Set();for(let _0x1d7571 of _0x84b123){if(_0x1d7571[_0x145592(0x1e4)]!=='cell'){_0x4f7821[_0x145592(0x2b8)]();return;}let _0x309619=pn(_0x5743d2,_0x1d7571);if(!_0x309619){_0x4f7821[_0x145592(0x2b8)]();return;}let _0xf1b8b8=_0x309619[_0x145592(0x473)]+'\x00'+_0x309619[_0x145592(0x2f7)]+'\x00'+_0x309619['fieldId'];_0x5bf8d2['has'](_0xf1b8b8)||(_0x5bf8d2[_0x145592(0x204)](_0xf1b8b8),_0x4f7821[_0x145592(0x260)](_0x309619['tableId'],_0x309619[_0x145592(0x2f7)],_0x309619[_0x145592(0x2ee)]));}}function pn(_0x4e7db9,_0x382aec){const _0xf63b1=_0xa3b18d;var _0x448d53,_0x56044a;if(!_0x382aec['tableId'])return null;if(_0x382aec[_0xf63b1(0x2f7)]&&_0x382aec['fieldId'])return{'tableId':_0x382aec[_0xf63b1(0x473)],'recordId':_0x382aec[_0xf63b1(0x2f7)],'fieldId':_0x382aec[_0xf63b1(0x2ee)]};if(_0x382aec['row']==null||_0x382aec[_0xf63b1(0x451)]==null)return null;let _0x1f92ed=_0x4e7db9[_0xf63b1(0x258)][_0x382aec[_0xf63b1(0x473)]],_0x1b9370=_0x1f92ed==null||(_0x448d53=_0x1f92ed[_0xf63b1(0x262)])==null?void 0x0:_0x448d53[_0x382aec[_0xf63b1(0x33a)]],_0xcef7ef=_0x1f92ed==null||(_0x56044a=_0x1f92ed[_0xf63b1(0x171)])==null?void 0x0:_0x56044a[_0x382aec[_0xf63b1(0x451)]];return!_0x1b9370||!_0xcef7ef?null:{'tableId':_0x382aec[_0xf63b1(0x473)],'recordId':_0x1b9370,'fieldId':_0xcef7ef};}function Y(_0x57bbf6,_0x208998,_0x5b5722){const _0x47ff0a=_0xa3b18d;let _0x4cdcad=_0x57bbf6[_0x47ff0a(0x2ab)]()[_0x47ff0a(0x258)][_0x208998];if(!_0x4cdcad)return!0x1;let {viewIds:_0x45f235,fieldIds:_0x459bc6,recordIds:_0x15f128}=_0x5b5722||{};if(_0x45f235){for(let _0x1c65a6 of _0x45f235)if(!_0x4cdcad['views'][_0x1c65a6])return!0x1;}if(_0x459bc6){for(let _0x18136e of _0x459bc6)if(!_0x4cdcad[_0x47ff0a(0x35e)][_0x18136e])return!0x1;}if(_0x15f128){for(let _0x1c0a0b of _0x15f128)if(!_0x4cdcad[_0x47ff0a(0x332)][_0x1c0a0b])return!0x1;}return!0x0;}const mn={'id':_0xa3b18d(0x2c1),'type':e[_0xa3b18d(0x33e)][_0xa3b18d(0x1d3)],'handler'(_0x445350,_0x2306ec){const _0xf66550=_0xa3b18d;if(!_0x2306ec)return!0x1;let _0xb01d54=_0x445350[_0xf66550(0x221)](e['IUniverInstanceService']),{unitId:_0x75a475,tableId:_0x22de30,records:_0x3e1984}=_0x2306ec,_0x5f32e8=_0xb01d54[_0xf66550(0x2d7)](_0x75a475,e[_0xf66550(0x3b9)][_0xf66550(0x30f)]),_0x782eca=_0x3e1984[_0xf66550(0x1da)](_0x4b7d89=>_0x4b7d89['id']);if(!_0x5f32e8||!Y(_0x5f32e8,_0x22de30)||new Set(_0x782eca)[_0xf66550(0x1ce)]!==_0x782eca[_0xf66550(0x333)]||_0x782eca[_0xf66550(0x24e)](_0x4693d2=>_0x5f32e8[_0xf66550(0x2ab)]()[_0xf66550(0x258)][_0x22de30]['records'][_0x4693d2]))return!0x1;let _0x21cff7=_0x445350[_0xf66550(0x221)](e[_0xf66550(0x367)]),_0x116fec=_0x445350['get'](e[_0xf66550(0x2be)]),_0x45e055=_0x445350[_0xf66550(0x221)](V)['createBatchCreateRecordsOp'](_0x5f32e8,_0x22de30,_0x3e1984),_0x395c3d=new w()[_0xf66550(0x183)](_0x5f32e8[_0xf66550(0x2ab)](),_0x45e055),_0x43b0e2={'unitId':_0x75a475,'op':_0x45e055},_0xb8470c={'unitId':_0x75a475,'op':_0x395c3d};return _0x21cff7[_0xf66550(0x3a1)](J['id'],_0x43b0e2)?(_0xb01d54[_0xf66550(0x27a)](_0x75a475),_0x116fec[_0xf66550(0x3db)]({'unitID':_0x75a475,'undoMutations':[{'id':J['id'],'params':_0xb8470c}],'redoMutations':[{'id':J['id'],'params':_0x43b0e2}]}),!0x0):!0x1;}},hn={'id':_0xa3b18d(0x3da),'type':e[_0xa3b18d(0x33e)][_0xa3b18d(0x1d3)],'handler':(_0xa476b6,_0xdc91da)=>{const _0xa85b48=_0xa3b18d;if(!_0xdc91da)return!0x1;let _0x44ce0d=_0xa476b6[_0xa85b48(0x221)](e[_0xa85b48(0x1be)]),{unitId:_0x45bcb8,tableId:_0x19a4b3,recordIds:_0x4231cc}=_0xdc91da,_0x4fa59d=_0x44ce0d['getUnit'](_0x45bcb8,e[_0xa85b48(0x3b9)][_0xa85b48(0x30f)]);if(!_0x4fa59d||!Y(_0x4fa59d,_0x19a4b3,{'recordIds':_0x4231cc}))return!0x1;let _0x17c23a=_0xa476b6[_0xa85b48(0x221)](e[_0xa85b48(0x367)]),_0x5f13ce=_0xa476b6['get'](e['IUndoRedoService']),_0x3e703f=_0x4fa59d[_0xa85b48(0x2ab)](),_0x597ef1=new P()[_0xa85b48(0x30e)](_0x3e703f,_0x19a4b3,_0x4231cc),_0x43aeb5=new w()['invertOp'](_0x3e703f,_0x597ef1),_0x4f12db={'unitId':_0x45bcb8,'op':_0x597ef1},_0x3edd47={'unitId':_0x45bcb8,'op':_0x43aeb5};return _0x17c23a[_0xa85b48(0x3a1)](J['id'],_0x4f12db)?(_0x44ce0d['focusUnit'](_0x45bcb8),_0x5f13ce[_0xa85b48(0x3db)]({'unitID':_0x45bcb8,'undoMutations':[{'id':J['id'],'params':_0x3edd47}],'redoMutations':[{'id':J['id'],'params':_0x4f12db}]}),!0x0):!0x1;}},gn={'id':_0xa3b18d(0x443),'type':e[_0xa3b18d(0x33e)][_0xa3b18d(0x1d3)],'handler':(_0x2ade6d,_0xc7ddfe)=>{const _0x1d2ffa=_0xa3b18d;if(!_0xc7ddfe)return!0x1;let _0x579f89=_0x2ade6d[_0x1d2ffa(0x221)](e[_0x1d2ffa(0x1be)]),{unitId:_0x509031,tableId:_0x3de848,fieldId:_0xdb71a2,input:_0x82eb50}=_0xc7ddfe,_0x3bdbe4=_0x579f89[_0x1d2ffa(0x2d7)](_0x509031,e['UniverInstanceType'][_0x1d2ffa(0x30f)]);if(!_0x3bdbe4||!Y(_0x3bdbe4,_0x3de848,{'fieldIds':[_0xdb71a2]}))return!0x1;let _0x2d8085=_0x2ade6d[_0x1d2ffa(0x221)](e[_0x1d2ffa(0x367)]),_0x17b516=_0x2ade6d['get'](e['IUndoRedoService']),_0x1ed098=_0x3bdbe4[_0x1d2ffa(0x2ab)](),_0x2004b4=new P()[_0x1d2ffa(0x453)](_0x1ed098,_0x3de848,_0xdb71a2,_0x82eb50),_0x1213fd=new w()[_0x1d2ffa(0x183)](_0x1ed098,_0x2004b4),_0x337332={'unitId':_0x509031,'op':_0x2004b4},_0x2337be={'unitId':_0x509031,'op':_0x1213fd};return _0x2d8085[_0x1d2ffa(0x3a1)](J['id'],_0x337332)?(_0x579f89[_0x1d2ffa(0x27a)](_0x509031),_0x17b516['pushUndoRedo']({'unitID':_0x509031,'undoMutations':[{'id':J['id'],'params':_0x2337be}],'redoMutations':[{'id':J['id'],'params':_0x337332}]}),!0x0):!0x1;}},_n={'id':_0xa3b18d(0x3a0),'type':e['CommandType'][_0xa3b18d(0x1d3)],'handler'(_0x3da1d8,_0x3e173a){const _0x2d647c=_0xa3b18d;if(!_0x3e173a)return!0x1;let _0x429409=_0x3da1d8['get'](e[_0x2d647c(0x1be)]),{unitId:_0x36aad5,tableId:_0x521b85,field:_0x1ff210,index:_0x15a509,viewIndexes:_0x4ce2c3}=_0x3e173a,_0x54170c=_0x429409[_0x2d647c(0x2d7)](_0x36aad5,e['UniverInstanceType'][_0x2d647c(0x30f)]);if(!_0x54170c||!Y(_0x54170c,_0x521b85)||_0x54170c['getSnapshot']()['tables'][_0x521b85]['fields'][_0x1ff210['id']])return!0x1;let _0x52fc69=_0x3da1d8['get'](e[_0x2d647c(0x367)]),_0xd80a08=_0x3da1d8[_0x2d647c(0x221)](e[_0x2d647c(0x2be)]),_0x2f5161=_0x3da1d8[_0x2d647c(0x221)](V)[_0x2d647c(0x269)](_0x54170c,_0x521b85,_0x1ff210,_0x15a509,_0x4ce2c3),_0x2dd792=new w()[_0x2d647c(0x183)](_0x54170c[_0x2d647c(0x2ab)](),_0x2f5161),_0xde85ac={'unitId':_0x36aad5,'op':_0x2f5161},_0xb6efbc={'unitId':_0x36aad5,'op':_0x2dd792};return _0x52fc69[_0x2d647c(0x3a1)](J['id'],_0xde85ac)?(_0x429409[_0x2d647c(0x27a)](_0x36aad5),_0xd80a08[_0x2d647c(0x3db)]({'unitID':_0x36aad5,'undoMutations':[{'id':J['id'],'params':_0xb6efbc}],'redoMutations':[{'id':J['id'],'params':_0xde85ac}]}),!0x0):!0x1;}},vn={'id':_0xa3b18d(0x279),'type':e['CommandType']['COMMAND'],'handler'(_0x44f535,_0x1dd327){const _0x4cf83e=_0xa3b18d;if(!_0x1dd327)return!0x1;let _0x398ddc=_0x44f535[_0x4cf83e(0x221)](e['IUniverInstanceService']),{unitId:_0x27d13e,tableId:_0x5f35d6,record:_0x1a7280}=_0x1dd327,_0x1a5409=_0x398ddc[_0x4cf83e(0x2d7)](_0x27d13e,e['UniverInstanceType']['UNIVER_BASE']);if(!_0x1a5409||!Y(_0x1a5409,_0x5f35d6)||_0x1a5409[_0x4cf83e(0x2ab)]()[_0x4cf83e(0x258)][_0x5f35d6][_0x4cf83e(0x332)][_0x1a7280['id']])return!0x1;let _0xe1c471=_0x44f535[_0x4cf83e(0x221)](e[_0x4cf83e(0x367)]),_0x3c4918=_0x44f535[_0x4cf83e(0x221)](e['IUndoRedoService']),_0x11ee03=_0x44f535[_0x4cf83e(0x221)](V)['createCreateRecordOp'](_0x1a5409,_0x5f35d6,_0x1a7280),_0x5a3c7a=new w()[_0x4cf83e(0x183)](_0x1a5409[_0x4cf83e(0x2ab)](),_0x11ee03),_0x1eef4f={'unitId':_0x27d13e,'op':_0x11ee03},_0x2e6dae={'unitId':_0x27d13e,'op':_0x5a3c7a};return _0xe1c471[_0x4cf83e(0x3a1)](J['id'],_0x1eef4f)?(_0x398ddc[_0x4cf83e(0x27a)](_0x27d13e),_0x3c4918[_0x4cf83e(0x3db)]({'unitID':_0x27d13e,'undoMutations':[{'id':J['id'],'params':_0x2e6dae}],'redoMutations':[{'id':J['id'],'params':_0x1eef4f}]}),!0x0):!0x1;}},yn={'id':'base.command.create-base-table','type':e['CommandType']['COMMAND'],'handler':(_0x36ab5a,_0x26e3d2)=>{const _0x3ac34b=_0xa3b18d;if(!_0x26e3d2)return!0x1;let _0x1e3a5e=_0x36ab5a['get'](e['IUniverInstanceService']),{unitId:_0x5e4c90,table:_0x4aa604,index:_0x197352}=_0x26e3d2,_0x5450c9=_0x1e3a5e[_0x3ac34b(0x2d7)](_0x5e4c90,e[_0x3ac34b(0x3b9)][_0x3ac34b(0x30f)]);if(!_0x5450c9||_0x5450c9[_0x3ac34b(0x2ab)]()['tables'][_0x4aa604['id']])return!0x1;let _0x4196dd=_0x36ab5a[_0x3ac34b(0x221)](e[_0x3ac34b(0x367)]),_0x1abdf9=_0x36ab5a[_0x3ac34b(0x221)](e[_0x3ac34b(0x2be)]),_0x46483a=_0x5450c9[_0x3ac34b(0x2ab)](),_0x5c12ec={..._0x4aa604,'name':_0x5450c9[_0x3ac34b(0x216)](_0x4aa604[_0x3ac34b(0x2cb)])},_0x18ca09=new P()[_0x3ac34b(0x37a)](_0x46483a,_0x5c12ec,_0x197352),_0x4db6df=new w()[_0x3ac34b(0x183)](_0x46483a,_0x18ca09),_0x7e1a59={'unitId':_0x5e4c90,'op':_0x18ca09},_0x3e62cd={'unitId':_0x5e4c90,'op':_0x4db6df};return _0x4196dd['syncExecuteCommand'](J['id'],_0x7e1a59)?(_0x1e3a5e[_0x3ac34b(0x27a)](_0x5e4c90),_0x1abdf9[_0x3ac34b(0x3db)]({'unitID':_0x5e4c90,'undoMutations':[{'id':J['id'],'params':_0x3e62cd}],'redoMutations':[{'id':J['id'],'params':_0x7e1a59}]}),!0x0):!0x1;}};function bn(_0x3d28f0,_0x1f1a90,_0x32a07c=[]){const _0xffd336=_0xa3b18d;let _0x3b7b93=new Set([...Object[_0xffd336(0x29e)](_0x3d28f0[_0xffd336(0x35e)])[_0xffd336(0x314)](_0x1f6dd0=>_0x1f6dd0)[_0xffd336(0x1da)](_0x17ed08=>_0x17ed08[_0xffd336(0x2cb)]),..._0x32a07c[_0xffd336(0x1da)](_0xdf0896=>_0xdf0896[_0xffd336(0x2cb)])]);if(!_0x3b7b93['has'](_0x1f1a90))return _0x1f1a90;let _0x564c9d=0x2;for(;_0x3b7b93[_0xffd336(0x397)](_0x1f1a90+'\x20'+_0x564c9d);)_0x564c9d++;return _0x1f1a90+'\x20'+_0x564c9d;}function xn(_0x30ed75,_0x447549){const _0x5e9841=_0xa3b18d;if(!_0x30ed75||!_0x447549[_0x5e9841(0x333)])return;let _0x23a0bc=[..._0x30ed75];return _0x447549[_0x5e9841(0x465)](_0x1323c1=>{const _0x3aa63c=_0x5e9841;_0x23a0bc[_0x3aa63c(0x162)](_0x1323c1)||_0x23a0bc[_0x3aa63c(0x439)](_0x1323c1);}),_0x23a0bc;}const Sn={'options':[{'id':'todo','name':_0xa3b18d(0x3ed),'color':_0xa3b18d(0x43f)},{'id':_0xa3b18d(0x3c9),'name':_0xa3b18d(0x302),'color':_0xa3b18d(0x2f5)},{'id':_0xa3b18d(0x480),'name':_0xa3b18d(0x385),'color':_0xa3b18d(0x391)}]},Cn={'locale':'en-US','pattern':_0xa3b18d(0x3eb),'includeTime':!0x1,'hourCycle':_0xa3b18d(0x2b6),'defaultMode':_0xa3b18d(0x386)};function wn(_0x501eac,_0x4e8918,_0x4eaca0,_0x41ea8e){const _0x21e927=_0xa3b18d;var _0x36db40;let _0x22d4f6=new P(),_0x2d6b13=_0x501eac['tables'][_0x4e8918];if(_0x2d6b13&&_0x4eaca0['type']==='kanban'){var _0x5bfd35;let _0x50fc5d=En(_0x2d6b13,_0x4eaca0),_0x59055a=_0x50fc5d['changed']?{..._0x4eaca0,'config':_0x50fc5d[_0x21e927(0x3af)],'fieldOrder':(_0x5bfd35=_0x50fc5d['fieldOrder'])==null?_0x4eaca0[_0x21e927(0x2d8)]:_0x5bfd35}:_0x4eaca0;return N([..._0x50fc5d[_0x21e927(0x35e)][_0x21e927(0x1da)](_0x11037f=>_0x22d4f6[_0x21e927(0x474)](_0x501eac,_0x4e8918,{'field':_0x11037f})),_0x22d4f6[_0x21e927(0x353)](_0x501eac,_0x4e8918,_0x59055a,_0x41ea8e)]);}if(!_0x2d6b13||_0x4eaca0[_0x21e927(0x177)]!==_0x21e927(0x322)&&_0x4eaca0['type']!==_0x21e927(0x2a6))return _0x22d4f6['createView'](_0x501eac,_0x4e8918,_0x4eaca0,_0x41ea8e);let _0x20638c=Tn(_0x2d6b13,_0x4eaca0),_0x2797fe=_0x20638c['changed']?{..._0x4eaca0,'config':_0x20638c[_0x21e927(0x3af)],'fieldOrder':(_0x36db40=_0x20638c[_0x21e927(0x2d8)])==null?_0x4eaca0[_0x21e927(0x2d8)]:_0x36db40}:_0x4eaca0;return _0x4eaca0[_0x21e927(0x177)]===_0x21e927(0x2a6)&&kn(_0x4eaca0)&&(_0x2797fe=An(_0x2d6b13,_0x2797fe,_0x20638c['fields'])),N([..._0x20638c[_0x21e927(0x35e)][_0x21e927(0x1da)](_0x27d73e=>_0x22d4f6['createField'](_0x501eac,_0x4e8918,{'field':_0x27d73e})),_0x22d4f6['createView'](_0x501eac,_0x4e8918,_0x2797fe,_0x41ea8e)]);}function Tn(_0x5acc41,_0x1f471a,_0x197e2f=!0x1){const _0x151828=_0xa3b18d;var _0x281cb7,_0x152ce3,_0x23a599,_0x315b1d;let _0x51327f=_0x5acc41[_0x151828(0x2d8)]['filter'](_0x1c078e=>Mn(_0x5acc41,_0x1c078e)),_0x10e2b6=[],_0x217c42={...(_0x281cb7=_0x1f471a[_0x151828(0x3af)])==null?{}:_0x281cb7},_0xf59fa5=typeof _0x217c42[_0x151828(0x2ad)]=='string'&&Mn(_0x5acc41,_0x217c42['startDateFieldId'])?_0x217c42['startDateFieldId']:_0x51327f[0x0],_0x42d257=typeof _0x217c42[_0x151828(0x34a)]=='string'&&Mn(_0x5acc41,_0x217c42[_0x151828(0x34a)])&&_0x217c42[_0x151828(0x34a)]!==_0xf59fa5?_0x217c42[_0x151828(0x34a)]:_0x51327f[_0x151828(0x484)](_0x276a5a=>_0x276a5a!==_0xf59fa5);if(!_0xf59fa5){let _0x566137=Nn(_0x5acc41,_0x10e2b6,_0x1f471a[_0x151828(0x177)]===_0x151828(0x2a6)?'Start\x20date':_0x151828(0x224));_0x10e2b6[_0x151828(0x439)](_0x566137),_0xf59fa5=_0x566137['id'];}if((_0x1f471a[_0x151828(0x177)]===_0x151828(0x2a6)||_0x197e2f)&&!_0x42d257){let _0x49029e=Nn(_0x5acc41,_0x10e2b6,_0x151828(0x291));_0x10e2b6['push'](_0x49029e),_0x42d257=_0x49029e['id'];}if(_0x1f471a[_0x151828(0x177)]==='calendar'&&!_0x42d257&&delete _0x217c42['endDateFieldId'],_0x217c42[_0x151828(0x2ad)]=_0xf59fa5,_0x1f471a[_0x151828(0x177)]===_0x151828(0x322)&&_0x42d257&&(_0x217c42[_0x151828(0x34a)]=_0x42d257),_0x1f471a[_0x151828(0x177)]===_0x151828(0x2a6)){var _0x5bced4;_0x217c42[_0x151828(0x34a)]=(_0x5bced4=_0x42d257)==null?_0xf59fa5:_0x5bced4;}let _0x49b3a8=xn(_0x1f471a[_0x151828(0x2d8)],_0x10e2b6[_0x151828(0x1da)](_0x781669=>_0x781669['id']));return{'changed':_0x10e2b6[_0x151828(0x333)]>0x0||_0x217c42[_0x151828(0x2ad)]!==((_0x152ce3=_0x1f471a[_0x151828(0x3af)])==null?void 0x0:_0x152ce3[_0x151828(0x2ad)])||_0x217c42[_0x151828(0x34a)]!==((_0x23a599=_0x1f471a[_0x151828(0x3af)])==null?void 0x0:_0x23a599[_0x151828(0x34a)])||!!(_0x49b3a8&&!e[_0x151828(0x464)][_0x151828(0x42e)](_0x49b3a8,(_0x315b1d=_0x1f471a['fieldOrder'])==null?[]:_0x315b1d)),'fields':_0x10e2b6,'config':_0x217c42,'fieldOrder':_0x49b3a8};}function En(_0x3530fb,_0x25b3b8){const _0x1276dd=_0xa3b18d;var _0x3a40ca,_0x45d399,_0x46825e;let _0x289b61=[],_0x59feb8={...(_0x3a40ca=_0x25b3b8[_0x1276dd(0x3af)])==null?{}:_0x3a40ca},_0x45bb71=typeof _0x59feb8[_0x1276dd(0x40c)]=='string'&&Dn(_0x3530fb,_0x59feb8[_0x1276dd(0x40c)])?_0x59feb8['groupFieldId']:_0x3530fb[_0x1276dd(0x2d8)]['find'](_0x5b29d5=>Dn(_0x3530fb,_0x5b29d5));if(!_0x45bb71){let _0xa3783a=On(_0x3530fb,_0x289b61);_0x289b61[_0x1276dd(0x439)](_0xa3783a),_0x45bb71=_0xa3783a['id'];}_0x59feb8['groupFieldId']=_0x45bb71;let _0x52695c=xn(_0x25b3b8['fieldOrder'],_0x289b61[_0x1276dd(0x1da)](_0x41a90b=>_0x41a90b['id']));return{'changed':_0x289b61[_0x1276dd(0x333)]>0x0||_0x59feb8[_0x1276dd(0x40c)]!==((_0x45d399=_0x25b3b8[_0x1276dd(0x3af)])==null?void 0x0:_0x45d399[_0x1276dd(0x40c)])||!!(_0x52695c&&!e[_0x1276dd(0x464)][_0x1276dd(0x42e)](_0x52695c,(_0x46825e=_0x25b3b8[_0x1276dd(0x2d8)])==null?[]:_0x46825e)),'fields':_0x289b61,'config':_0x59feb8,'fieldOrder':_0x52695c};}function Dn(_0x51d788,_0x55e487){const _0x591dff=_0xa3b18d;let _0x4dfcf1=_0x55e487?_0x51d788[_0x591dff(0x35e)][_0x55e487]:null;return _0x4dfcf1?[e[_0x591dff(0x17a)]['SingleSelect'],e[_0x591dff(0x17a)][_0x591dff(0x35d)],e[_0x591dff(0x17a)][_0x591dff(0x232)],e['BaseFieldType'][_0x591dff(0x2bc)],e[_0x591dff(0x17a)][_0x591dff(0x478)],e[_0x591dff(0x17a)]['Checkbox']]['includes'](_0x4dfcf1['type']):!0x1;}function On(_0x375513,_0x35110e){const _0x1dd7df=_0xa3b18d;return{'id':_0x1dd7df(0x26c)+(0x0,e[_0x1dd7df(0x475)])(0x8),'name':bn(_0x375513,'Status',_0x35110e),'type':e[_0x1dd7df(0x17a)][_0x1dd7df(0x3b7)],'config':e[_0x1dd7df(0x464)]['deepClone'](Sn)};}function kn(_0x11720c){const _0x209fcf=_0xa3b18d;var _0x511265,_0x50c2d6;return Object[_0x209fcf(0x1c8)]((_0x511265=_0x11720c[_0x209fcf(0x3af)])==null?{}:_0x511265)['length']===0x0&&Object[_0x209fcf(0x1c8)]((_0x50c2d6=_0x11720c[_0x209fcf(0x326)])==null?{}:_0x50c2d6)['length']===0x0;}function An(_0x2d7527,_0x4d3fed,_0xac16d5){const _0x214174=_0xa3b18d;var _0x41dd8a;let _0x176659={...(_0x41dd8a=_0x4d3fed['config'])==null?{}:_0x41dd8a},_0x5b3c2e=_0xac16d5['map'](_0x3b6c18=>_0x3b6c18['id']),_0x4eabc0=[..._0x2d7527[_0x214174(0x2d8)],..._0x5b3c2e],_0x2c7742=typeof _0x176659[_0x214174(0x47d)]==_0x214174(0x181)&&jn(_0x2d7527,_0xac16d5,_0x176659[_0x214174(0x47d)])?_0x176659['titleFieldId']:_0x2d7527['primaryFieldId'],_0xe6d1f6=typeof _0x176659['startDateFieldId']==_0x214174(0x181)?_0x176659[_0x214174(0x2ad)]:'',_0x55a142=typeof _0x176659[_0x214174(0x34a)]=='string'?_0x176659[_0x214174(0x34a)]:_0xe6d1f6,_0x1967e2=new Set([_0x2c7742,_0xe6d1f6,_0x55a142][_0x214174(0x314)](_0x36fa3b=>_0x36fa3b&&jn(_0x2d7527,_0xac16d5,_0x36fa3b))),_0x57b980=Object[_0x214174(0x26d)](_0x4eabc0[_0x214174(0x2f9)](_0x33f1ce=>_0x1967e2[_0x214174(0x397)](_0x33f1ce)||!jn(_0x2d7527,_0xac16d5,_0x33f1ce)?[]:[[_0x33f1ce,{'hidden':!0x0}]]));return{..._0x4d3fed,'config':{..._0x176659,'titleFieldId':_0x2c7742},'fieldSettings':_0x57b980};}function jn(_0x40c55c,_0x3374dc,_0x399056){const _0x37d02b=_0xa3b18d;var _0x11327d;return!!((_0x11327d=_0x40c55c[_0x37d02b(0x35e)][_0x399056])==null?_0x3374dc[_0x37d02b(0x484)](_0x4e00c5=>_0x4e00c5['id']===_0x399056):_0x11327d)&&!0x0;}function Mn(_0x24abc1,_0xd9b912){const _0x290e6b=_0xa3b18d;let _0x8d20d4=_0xd9b912?_0x24abc1['fields'][_0xd9b912]:null;return!!_0x8d20d4&&_0x8d20d4[_0x290e6b(0x177)]===e[_0x290e6b(0x17a)][_0x290e6b(0x224)]&&_0x8d20d4[_0x290e6b(0x1ab)]!==!0x0&&_0x8d20d4[_0x290e6b(0x35a)]!==!0x0;}function _0x2efd(){const _0x19d350=['today','IBaseCellData.ensureTableCellLayout','BASES_PLUGIN','CreatedBy','Unchecked','base.command.update-base-view-config','base.command.delete-base-view','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','info','createRecords','Phone','record','_tablePermissions','registerCtorForType','setViewSort','diffValue','attachmentSets','prototype','_isNonEmptyCellValue','_resolveKanbanCoverFieldId','_isKanbanGroupField','_projectGroups','canDeleteField','_bumpTableRevision','_title','_initRegistries','push','Link','getFullYear','_baseSyncDisposables','_cellInvalidations','unshift','#BFDBFE','next30','operator','BatchDeleteBaseRecordsCommand','base.command.change-base-field-type','matchesBaseCondition','IBaseProjectionService','getUnitId','invalidDateField','version','setSnapshot','displayText','decimal','validateFormula','copyBaseTableSnapshot','lessThan','DataSyncPrimaryController','duplicateField','column','decorate','changeFieldType','fieldIds','search','BaseProjection.filterAndSortRows','[BaseViewRegistryService]:\x20view\x20type\x20\x22','medium','_viewRevisionKey','_getTableRevision','operand','progressFieldId','unitData','endsWith','base.command.update-base-field','[BaseField]:\x20invalid\x20date\x20value.','gridViewId','onReady','_isAllDayCalendarEvent','Tools','forEach','BaseJson1.json1Apply','attachment-','_initDataSync','params','_injector','YYYY/MM/DD','constructor','_createRecordWithDefaults','_initCommands','Barcode','basePerf','UniverBasesPlugin','DeleteBaseTableCommand','tableId','createField','generateRandomId','renameFormulaUnitReferences','createSetRecordValuesOp','Group','createDefaultValue','_viewRowsCacheKey','_config','recordOrder','titleFieldId','insertOp','_projectRows','done','base-perf-','_permissionService','_activeDirtyManagerService','find','Currency','base.command.set-base-view-filter','moveField','Gantt\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.','padStart','includes','star','rowIndex','autoIncrement','69666pqQVcN','rows','Failed\x20to\x20create\x20update\x20cell\x20operation:','SetBaseRecordValuesCommand','canEditCell','_createRecordOrderOp','past30','_setAttachmentResources',':end','createUnit','_projectionCache','colId','large','childType','hidden','_fieldRegistry','_withModifiedSystemValues','type','after','selectField','BaseFieldType','registerView','contains','_recordIds','canCreateTable','Progress','-field-name','string','createdBy','invertOp','[BaseField]:\x20invalid\x20checkbox\x20value.','timeslotSize','formatBaseNumberValue','updatedAt','deepClone','valid','getOwnPropertyDescriptor','resolvedOptions','isArray','splice','clearRecordPermission','weekdays','touchDependencies','duplicateRecord','yesterday','[BaseCommandService]:\x20cannot\x20delete\x20field.','updateField','IBaseViewRegistryService','SetBaseRangeValuesCommand','Calendar','Location','unitId','getUTCFullYear','includeRecords','_onCommandExecuted','createBatchCreateRecordsOp','recordPatch','DESC','canDeleteRecord','repeat','$1\x20','long','[BaseCommandService]:\x20cannot\x20delete\x20table.','Grid','blue','Gallery\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.','DeleteBaseFieldCommand','workingDays','usableAsGanttStart','readonly','_resolveGanttDateFieldId','conditional','_getSystemFieldValue','_factory','deleteView','manual','_enqueueFormulaSync','[BaseField]:\x20invalid\x20person\x20value.','_isCalendarDateField','_findKanbanGroupField','_initDependencies','#,##0','setConfig','315ZrhTGm','_getAllBaseDependencyTreeCacheMap','_recordPermissions','_replaceOptional','UNIVER_EMBED_BASES_TABLE','IUniverInstanceService','cellRevision','Inject','_initialize','createRegExpFromSafeFragment','now','SetBaseKanbanGroupFieldCommand','CreateBaseRecordCommand','every','iterator','keys','BaseJson1OpFactory','_commandService','group','cardSize','_configService','size','sequenceExecute','base.view-registry.service','_buildGallery','BaseSortDirection','COMMAND','UpdateBaseViewConfigCommand','subscribe','793809EZGeWl','base.command.set-base-view-sort','working','Numbering','map','executeCommand','compose','setViewFilter','bases.fieldConfig.textPlaceholder','moveView','UpdatedBy','getTypeOfUnitDisposed$','setBasePermission','getDay','reason','compare','canManageView','finally','base.command.update-base-cell','join','abbreviation','local','setHours','leftPaneWidth','registerSuperTable','BaseDataModel','[BaseField]:\x20invalid\x20email\x20value.','viewRevision','[BasePerf]\x20','_getCurrentUserId','[BaseFormula]:\x20field\x20\x22','registerTable','IConfigService','scale','UniverLicensePlugin','Plugin','base.command.update-base-record-order','card','_fastSortRows','\x22\x20is\x20not\x20registered.','STRING','_getJson1DirtyData','Module','missingField','_projectFields','REMOTE_BASES_PLUGIN','add','_findCalendarDateFieldId','_buildCalendar','registerSuperTables','Attachment','decimalPlaces','getAllBases','parse','limit','object','_cellRevisions','_patchProjectedRowsForCellInvalidations','[BaseCommandService]:\x20cannot\x20create\x20table.','kanban','key','patches','getMonth','base.permission.service','uniqueTableName','entries','getDependencies','_kanbanGroupKeys','max','tableRevision','frozenFieldCount','score','base.viewType.grid','periodComma','renameTable','get','__UNIVER_BASE_PERF__','inferBaseSeparatorStyle','Date','_formulaSyncQueue','isInteger','-view-grid','test','isNot','childUnitId','registerSyncingMutations','_applyingFormulaResults','exceptions','columnSettings','_plugins','_cellInvalidationsTouchFields','base.command.set-base-view-field-width','Rating','revision','1.0.0-alpha.7','base.command.delete-base-table','week','_cacheKey','base.command.move-base-view','20mTgBgh','50280wjjOMM','Checkbox','_getKanbanConfiguredLanes','[BaseCommandService]:\x20cannot\x20delete\x20record.','stringify','_rowTransformCacheSegment','view-','MUTATION','setFieldPermission','DependentOn','dateToExcelSerial','RemoveSuperTableMutation','BaseJson1OpApplier','cardLayout','[BaseCommandService]:\x20cannot\x20edit\x20field.','_capabilities','[BaseCommandService]:\x20cannot\x20create\x20record.','trigger','ApplyBaseJson1Mutation','invalidGanttStartField','some','call','matchAll','baseDateSerialToDateMs','_getCachedProjection','base.command.update-base-kanban-config','url','_isAllDayGanttDateRange','_formulaService','unitWidth','tables','_normalizeGanttConfig','index','tableName','end','setViewFieldVisible','toStringTag','boolean','invalidateByCell','_apply','rowId','ChangeBaseFieldTypeCommand','_isGanttDateField','editable','389645JbVPaq','_projectedRowsCache','NUMBER','createCreateFieldOp','_calendarEventColor','setViewGroup','fld-','fromEntries','col','toPrimitive','base.viewType.gantt','toFixed','ObjectMatrix','invalidGanttEndField','updateRecordOrder','options','SetBaseViewFilterCommand','order','createdAt','base.command.create-base-record','focusUnit','_normalizeCellValue','_getTablesToNormalize','_resolveKanbanGroupFieldId','getAll','setRangeValues','separatorStyle','createEmbedBasesTableAddMutation','RenameBaseViewCommand','includeTime','custom','Number','_getViewRevision','SetFormulaCalculationResultMutation','SetBaseNameCommand','isNotEmpty','BaseFilterConjunction','validate','_sortRows','Text','lastIndexOf','format','[BaseCommandService]:\x20cannot\x20manage\x20view.','End\x20date','recordNamePrefix','SetBaseViewFieldWidthCommand','_getOrderedRecords','#3b82f6','conditions','_projectedViewRowsCache','_groupCellInvalidations','Calendar\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.','_patchCachedProjectedRows','base.command.duplicate-base-field','_createSystemFieldValuePatches','\x22\x20does\x20not\x20exist.','values','[BaseFieldRegistryService]:\x20field\x20type\x20\x22','CellValueType','error','showTodayLine','deleteTable','YYYY-MM-DD','3875862mhNNAI','gantt','CreateBaseViewCommand','hh:mm','base.command.set-base-view-group','getBase','getSnapshot','applyOp','startDateFieldId','user','_viewRevisions','_resolveCalendarDateFieldId','base.command.duplicate-base-record','base.command.rename-base-view','#14b8a6','_filterRows','createEmbedBasesTableRemoveMutation','h24','numfmt','invalidateByOp','conjunction','normalizeBaseDateSerial','CreatedAt','Person','formatToParts','IUndoRedoService','FormulaCalculationTriggerService','getSuperTableRegistrations','base.command.batch-create-base-records','-record-','_buildGrid','SetBaseViewGroupCommand','setRecordPermission','createCreateRecordOp','_globalRevision','__tempBatchingUndoRedo','usableAsGanttEnd','UpdateBaseFieldDescriptionCommand','name','base-perf','register','slice','Empty','_filterSortFieldIds','_getStructureDirtyTableIds','getProjection','canDeleteTable','getTime','locale','cellData','getUnit','fieldOrder','normal','createRecord','createIdentifier','Flow','indexOf','defaultValue','embedId','recordCount','BOOLEAN','viewId','_views','UpdatedAt','Lookup','general','syncUnit','_setFormulaFieldCells','packageName','base.viewType.kanban','invalid','_tableRevisions','UTC','fieldId','_basePermissions','editCell','SetBaseViewFieldVisibleCommand','toLowerCase','merge','isFinite','#FDE68A','getAllUnitsForType','recordId','fieldIndex','flatMap','_materializeGroups','getUTCDate','[BaseCommandService]:\x20invalid\x20cell\x20value.','columns','date','DD/MM/YYYY','greaterThanOrEqual','Name','Doing','dateKit','displayColor','en-US','allowMultiple','_normalizeGanttDisplayColor','_normalizeCalendarDisplayColor','result','canCreateField','clearFieldPermission','unitOtherData','_canUseFastSort','deleteRecords','UNIVER_BASE','resolve','BaseProjection.projectRows','recordIds','commaPeriod','filter','_createNumberingAllocators','allowNegative','_syncBaseUnit','BaseViewType','symbol','_applier','formula.mutation.set-formula-calculation-result','SetBaseViewSortCommand','NumberFormat','beforeViewId','createSuperTableReference','viewOrder','description','calendar','133698reETsi','YYYY/MM/DD\x20HH:mm','@univerjs-pro/bases','fieldSettings','base.command.set-base-view-field-visible','deleteField','true','cell','base.field-registry.service','_dataSyncPrimaryController',':start','raw',',,,\x22B\x22','projection','_getCellRevision','records','length','[BaseField]:\x20invalid\x20multi-value\x20reference.','unknown','_kanbanLaneTitle','startsWith','_deleteAttachmentResources','searchTexts','row','spaceComma','value','sort','CommandType','forValue','UniverProFormulaEnginePlugin','path','_resolveKanbanCardFieldIds','6812325UprakM','snapshot','clearTablePermission','_toDirtyRangePatch','_getTable','_setCachedProjection','createUpdateCellOp','endDateFieldId','MM/DD/YYYY','hourCycle','person','onCommandExecuted','mode','SetBaseViewFieldOrderCommand','getBaseCellValue','thisMonth','createView','coverFieldId','fromPlainText','setViewFieldOrder','removeOp','min','updatedBy','system','formatBaseDateValue','level','MultiSelect','fields','normalize','_normalizeCalendarConfig','_ganttBarColor','fieldName','Formula','EnsureBaseTemporalViewDateFieldsCommand','_createNumberingFieldValuePatches','workingDaysOnly','ICommandService','off','hasOwnProperty','split','tomorrow','SetTriggerFormulaCalculationStartMutation','defineProperty','IBasePermissionService','renameView','Checked','majorHeaders','base.projection.service','updateViewConfig','BaseProjection.materializeTableRows','base.mutation.apply-base-json1','[BaseField]:\x20invalid\x20phone\x20value.','changed','valueOf','base.fieldType.','createTable','regexp','_createNumberingAllocator','resources','_kanbanLaneColor','then','_groupsCacheKey','getUTCMonth','formula','greaterThan','start','Done','none','localeCompare','Uncategorized','pluginName','getStructuredDependencies','_isColorfulKanbanGroupField','_syncSuperTables','children','next7',',\x22K\x22','orderKey','#BBF7D0','repairViewConfig','refactorFormulaUnitQualifier','hostAnchorId','isEmpty','_setViewFieldSetting','has','_buildKanban','timeZone','before','_projectTableRows','attachmentSet','CreateBaseTableCommand','month','year','base.command.create-base-field','syncExecuteCommand','_registeredSuperTableNames','direction','_matchesGanttColorRule','rules','label','showFieldNames','RecordId','base.viewType.gallery','from','createDefaultConfig','table','base.command.move-base-field','replace','config','searchBaseTable','MM-DD','Summary','getBaseCellFormulaValue','lastMonth','usableAsCardCover','colIndex','SingleSelect','notContains','UniverInstanceType','beforeFieldId','base.command.rename-base-table','createViewId','mark','_resolveGalleryCoverFieldId','Gantt','DuplicateBaseRecordCommand','_normalizeGalleryConfig','usableAsCalendarDate','Button','registerCommand','quarter','exact','assign','_removeSuperTables','doing','Disposable','measure','getItem','_getAllTableIds','getCurrentUser','DeleteBaseRecordCommand','disposeWithMe','base.command.delete-base-field','function','_resolveGalleryCardFieldIds','BatchCreateBaseRecordsCommand','base.command.set-base-range-values','toLocaleString','currencySymbol','lastIndex','afterFieldId','base.command.batch-delete-base-records','pushUndoRedo','createBase','attachments','base.viewType.calendar','Injector','lastWeek','delete','HH:mm','title',',,\x22M\x22','set','base.command.set-base-name','short','groups','IActiveDirtyManagerService','[BaseField]:\x20negative\x20numbers\x20are\x20disabled.','yyyy/mm/dd','text','Todo','getCapabilities','Working\x20day','_buildGantt','colorFieldId','setViewFieldWidth','Email','getUTCDay','base.command.set-base-view-field-order','getCurrentUserId','rowIndexById','setRecordValues','_fieldPermissions','reduce','catch','deleteRecord','canCreateRecord','number','attachment','regenerateViewIds','leftPaneCollapsed','[BaseProjectionService]:\x20missing\x20view\x20\x22','tableOrder','isNaN','dispose','_groupProjectionFieldIds','h:mm\x20a','canEditField','_projectedGroupsCache','BaseJson1.cloneForOp','TwoWayLink','groupFieldId','_groupConfigCacheSegment','uniqueFieldName','JSON1','FORCE_STRING','views','globalRevision','color','_univerInstanceService','Kanban','updateCell','_runtimeContext','view','primaryFieldId','[BaseField]:\x20invalid\x20progress\x20value.','toDisposable','field','replaceOp','trim'];_0x2efd=function(){return _0x19d350;};return _0x2efd();}function Nn(_0xc3c617,_0x570e36,_0x284ab1){const _0x46bf54=_0xa3b18d;let _0x527520=new Set([...Object[_0x46bf54(0x1c8)](_0xc3c617[_0x46bf54(0x35e)]),..._0x570e36[_0x46bf54(0x1da)](_0x5478f3=>_0x5478f3['id'])]),_0x900756='fld-'+(0x0,e[_0x46bf54(0x475)])(0x8);for(;_0x527520['has'](_0x900756);)_0x900756=_0x46bf54(0x26c)+(0x0,e[_0x46bf54(0x475)])(0x8);return{'id':_0x900756,'name':bn(_0xc3c617,_0x284ab1,_0x570e36),'type':e['BaseFieldType'][_0x46bf54(0x224)],'config':{...Cn}};}const Pn={'id':'base.command.create-base-view','type':e[_0xa3b18d(0x33e)][_0xa3b18d(0x1d3)],'handler':(_0x529f7c,_0x33f328)=>{const _0x58912c=_0xa3b18d;if(!_0x33f328)return!0x1;let _0x2ea7c9=_0x529f7c['get'](e[_0x58912c(0x1be)]),{unitId:_0x2e6997,tableId:_0x211482,view:_0x44d6c9,index:_0x29ac7a}=_0x33f328,_0x26ec15=_0x2ea7c9[_0x58912c(0x2d7)](_0x2e6997,e['UniverInstanceType'][_0x58912c(0x30f)]);if(!_0x26ec15||!Y(_0x26ec15,_0x211482)||_0x26ec15[_0x58912c(0x2ab)]()['tables'][_0x211482][_0x58912c(0x411)][_0x44d6c9['id']])return!0x1;let _0x5b7741=_0x529f7c['get'](e[_0x58912c(0x367)]),_0x2c987f=_0x529f7c['get'](e['IUndoRedoService']),_0x133ab5=_0x26ec15['getSnapshot'](),_0x2b70cc=wn(_0x133ab5,_0x211482,_0x44d6c9,_0x29ac7a),_0x6ba5a2=new w()[_0x58912c(0x183)](_0x133ab5,_0x2b70cc),_0x572340={'unitId':_0x2e6997,'op':_0x2b70cc},_0xcba956={'unitId':_0x2e6997,'op':_0x6ba5a2};return _0x5b7741['syncExecuteCommand'](J['id'],_0x572340)?(_0x2ea7c9[_0x58912c(0x27a)](_0x2e6997),_0x2c987f['pushUndoRedo']({'unitID':_0x2e6997,'undoMutations':[{'id':J['id'],'params':_0xcba956}],'redoMutations':[{'id':J['id'],'params':_0x572340}]}),!0x0):!0x1;}},Fn={'id':_0xa3b18d(0x3d1),'type':e[_0xa3b18d(0x33e)][_0xa3b18d(0x1d3)],'handler'(_0x1d2b78,_0x2dd022){const _0x2e6e4b=_0xa3b18d;if(!_0x2dd022)return!0x1;let _0x225881=_0x1d2b78[_0x2e6e4b(0x221)](e[_0x2e6e4b(0x1be)]),{unitId:_0x1cafde,tableId:_0x53c0f2,fieldId:_0x421952}=_0x2dd022,_0x140eb0=_0x225881[_0x2e6e4b(0x2d7)](_0x1cafde,e[_0x2e6e4b(0x3b9)][_0x2e6e4b(0x30f)]);if(!_0x140eb0)return!0x1;let _0x458942=_0x140eb0['getSnapshot'](),_0x468e3a=_0x458942[_0x2e6e4b(0x258)][_0x53c0f2];if(!Y(_0x140eb0,_0x53c0f2,{'fieldIds':[_0x421952]})||_0x468e3a[_0x2e6e4b(0x419)]===_0x421952)return!0x1;let _0x1caf17=_0x1d2b78[_0x2e6e4b(0x221)](e[_0x2e6e4b(0x367)]),_0x40d163=_0x1d2b78[_0x2e6e4b(0x221)](e[_0x2e6e4b(0x2be)]),_0x154d66=new P()[_0x2e6e4b(0x328)](_0x458942,_0x53c0f2,_0x421952),_0x11a0d9=new w()[_0x2e6e4b(0x183)](_0x458942,_0x154d66),_0x1e5c74={'unitId':_0x1cafde,'op':_0x154d66},_0x3fce56={'unitId':_0x1cafde,'op':_0x11a0d9};return _0x1caf17[_0x2e6e4b(0x3a1)](J['id'],_0x1e5c74)?(_0x225881['focusUnit'](_0x1cafde),_0x40d163[_0x2e6e4b(0x3db)]({'unitID':_0x1cafde,'undoMutations':[{'id':J['id'],'params':_0x3fce56}],'redoMutations':[{'id':J['id'],'params':_0x1e5c74}]}),!0x0):!0x1;}},In={'id':'base.command.delete-base-record','type':e[_0xa3b18d(0x33e)][_0xa3b18d(0x1d3)],'handler':(_0x1c300a,_0x10cb03)=>{const _0x41c61d=_0xa3b18d;if(!_0x10cb03)return!0x1;let _0x4dab41=_0x1c300a[_0x41c61d(0x221)](e['IUniverInstanceService']),{unitId:_0x2a5c16,tableId:_0x4162fb,recordId:_0x5713dc}=_0x10cb03,_0x127668=_0x4dab41['getUnit'](_0x2a5c16,e[_0x41c61d(0x3b9)][_0x41c61d(0x30f)]);if(!_0x127668||!Y(_0x127668,_0x4162fb,{'recordIds':[_0x5713dc]}))return!0x1;let _0x345c2b=_0x1c300a[_0x41c61d(0x221)](e[_0x41c61d(0x367)]),_0x5f19fa=_0x1c300a[_0x41c61d(0x221)](e[_0x41c61d(0x2be)]),_0x4b80b2=_0x127668[_0x41c61d(0x2ab)](),_0x4530eb=new P()['deleteRecord'](_0x4b80b2,_0x4162fb,_0x5713dc),_0x27dade=new w()[_0x41c61d(0x183)](_0x4b80b2,_0x4530eb),_0x2362c2={'unitId':_0x2a5c16,'op':_0x4530eb},_0x2e2c5f={'unitId':_0x2a5c16,'op':_0x27dade};return _0x345c2b[_0x41c61d(0x3a1)](J['id'],_0x2362c2)?(_0x4dab41[_0x41c61d(0x27a)](_0x2a5c16),_0x5f19fa['pushUndoRedo']({'unitID':_0x2a5c16,'undoMutations':[{'id':J['id'],'params':_0x2e2c5f}],'redoMutations':[{'id':J['id'],'params':_0x2362c2}]}),!0x0):!0x1;}},Ln={'id':_0xa3b18d(0x235),'type':e[_0xa3b18d(0x33e)][_0xa3b18d(0x1d3)],'handler':(_0x2d5236,_0x558883)=>{const _0x13da38=_0xa3b18d;if(!_0x558883)return!0x1;let _0x1a8051=_0x2d5236['get'](e['IUniverInstanceService']),{unitId:_0x242ad1,tableId:_0x20faf2}=_0x558883,_0x4669ba=_0x1a8051[_0x13da38(0x2d7)](_0x242ad1,e['UniverInstanceType'][_0x13da38(0x30f)]);if(!_0x4669ba||!Y(_0x4669ba,_0x20faf2))return!0x1;let _0x457a00=_0x2d5236[_0x13da38(0x221)](e[_0x13da38(0x367)]),_0x7f088=_0x2d5236[_0x13da38(0x221)](e['IUndoRedoService']),_0x1ef5e5=_0x4669ba[_0x13da38(0x2ab)](),_0x24ece5=new P()[_0x13da38(0x2a3)](_0x1ef5e5,_0x20faf2),_0x395009=new w()[_0x13da38(0x183)](_0x1ef5e5,_0x24ece5),_0x57716d={'unitId':_0x242ad1,'op':_0x24ece5},_0x1c45d4={'unitId':_0x242ad1,'op':_0x395009};return _0x457a00[_0x13da38(0x3a1)](J['id'],_0x57716d)?(_0x1a8051[_0x13da38(0x27a)](_0x242ad1),_0x7f088[_0x13da38(0x3db)]({'unitID':_0x242ad1,'undoMutations':[{'id':J['id'],'params':_0x1c45d4}],'redoMutations':[{'id':J['id'],'params':_0x57716d}]}),!0x0):!0x1;}},Rn={'id':_0xa3b18d(0x425),'type':e['CommandType']['COMMAND'],'handler':(_0x1cbb25,_0x5e9190)=>{const _0x3471e9=_0xa3b18d;if(!_0x5e9190)return!0x1;let _0x36faa5=_0x1cbb25[_0x3471e9(0x221)](e[_0x3471e9(0x1be)]),{unitId:_0x532562,tableId:_0x1ec567,viewId:_0x427bee}=_0x5e9190,_0x1df250=_0x36faa5['getUnit'](_0x532562,e[_0x3471e9(0x3b9)]['UNIVER_BASE']);if(!_0x1df250||!Y(_0x1df250,_0x1ec567,{'viewIds':[_0x427bee]}))return!0x1;let _0x1f9da9=_0x1cbb25[_0x3471e9(0x221)](e[_0x3471e9(0x367)]),_0x3d242e=_0x1cbb25[_0x3471e9(0x221)](e['IUndoRedoService']),_0x3aaf80=_0x1df250[_0x3471e9(0x2ab)](),_0x50fb77=new P()[_0x3471e9(0x1b0)](_0x3aaf80,_0x1ec567,_0x427bee),_0x4dd432=new w()['invertOp'](_0x3aaf80,_0x50fb77),_0x22c57c={'unitId':_0x532562,'op':_0x50fb77},_0x4e9ffb={'unitId':_0x532562,'op':_0x4dd432};return _0x1f9da9[_0x3471e9(0x3a1)](J['id'],_0x22c57c)?(_0x36faa5[_0x3471e9(0x27a)](_0x532562),_0x3d242e['pushUndoRedo']({'unitID':_0x532562,'undoMutations':[{'id':J['id'],'params':_0x4e9ffb}],'redoMutations':[{'id':J['id'],'params':_0x22c57c}]}),!0x0):!0x1;}},zn={'id':_0xa3b18d(0x29b),'type':e[_0xa3b18d(0x33e)][_0xa3b18d(0x1d3)],'handler':(_0x547cbd,_0x5c756c)=>{const _0x3d278b=_0xa3b18d;if(!_0x5c756c)return!0x1;let _0x4d6a15=_0x547cbd['get'](e['IUniverInstanceService']),{unitId:_0x481707,tableId:_0x893625,sourceFieldId:_0x3369a7,field:_0x26ec17,index:_0x53f395,viewIndexes:_0x192313}=_0x5c756c,_0x46d19b=_0x4d6a15['getUnit'](_0x481707,e[_0x3d278b(0x3b9)]['UNIVER_BASE']);if(!_0x46d19b||!Y(_0x46d19b,_0x893625,{'fieldIds':[_0x3369a7]})||_0x46d19b[_0x3d278b(0x2ab)]()[_0x3d278b(0x258)][_0x893625]['fields'][_0x26ec17['id']])return!0x1;let _0x29bb35=_0x547cbd[_0x3d278b(0x221)](e[_0x3d278b(0x367)]),_0x1c7fef=_0x547cbd[_0x3d278b(0x221)](e['IUndoRedoService']),_0x18001b=_0x46d19b['getSnapshot'](),_0x30f6f8=new P()[_0x3d278b(0x450)](_0x18001b,_0x893625,_0x3369a7,{'field':_0x26ec17,'index':_0x53f395,'viewIndexes':_0x192313}),_0x3eefb7=new w()[_0x3d278b(0x183)](_0x18001b,_0x30f6f8),_0x48fc4f={'unitId':_0x481707,'op':_0x30f6f8},_0x5cc544={'unitId':_0x481707,'op':_0x3eefb7};return _0x29bb35[_0x3d278b(0x3a1)](J['id'],_0x48fc4f)?(_0x4d6a15[_0x3d278b(0x27a)](_0x481707),_0x1c7fef[_0x3d278b(0x3db)]({'unitID':_0x481707,'undoMutations':[{'id':J['id'],'params':_0x5cc544}],'redoMutations':[{'id':J['id'],'params':_0x48fc4f}]}),!0x0):!0x1;}},Bn={'id':_0xa3b18d(0x2b1),'type':e['CommandType'][_0xa3b18d(0x1d3)],'handler':(_0x36371d,_0x19c946)=>{const _0x346b56=_0xa3b18d;if(!_0x19c946)return!0x1;let _0x11e6cb=_0x36371d['get'](e['IUniverInstanceService']),{unitId:_0x3276ff,tableId:_0x130451,sourceRecordId:_0x328932,record:_0x4aa40b}=_0x19c946,_0x4610d3=_0x11e6cb['getUnit'](_0x3276ff,e[_0x346b56(0x3b9)][_0x346b56(0x30f)]);if(!_0x4610d3||!Y(_0x4610d3,_0x130451,{'recordIds':[_0x328932]})||_0x4610d3[_0x346b56(0x2ab)]()[_0x346b56(0x258)][_0x130451][_0x346b56(0x332)][_0x4aa40b['id']])return!0x1;let _0x4759a6=_0x36371d[_0x346b56(0x221)](e['ICommandService']),_0x5f0494=_0x36371d[_0x346b56(0x221)](e[_0x346b56(0x2be)]),_0x29fd69=_0x4610d3[_0x346b56(0x2ab)](),_0x155d7c=new P()['duplicateRecord'](_0x29fd69,_0x130451,_0x328932,_0x4aa40b),_0x1d54d0=new w()[_0x346b56(0x183)](_0x29fd69,_0x155d7c),_0x2a7ee9={'unitId':_0x3276ff,'op':_0x155d7c},_0x4aedfa={'unitId':_0x3276ff,'op':_0x1d54d0};return _0x4759a6[_0x346b56(0x3a1)](J['id'],_0x2a7ee9)?(_0x11e6cb['focusUnit'](_0x3276ff),_0x5f0494[_0x346b56(0x3db)]({'unitID':_0x3276ff,'undoMutations':[{'id':J['id'],'params':_0x4aedfa}],'redoMutations':[{'id':J['id'],'params':_0x2a7ee9}]}),!0x0):!0x1;}},Vn={'id':'base.command.ensure-base-temporal-view-date-fields','type':e[_0xa3b18d(0x33e)][_0xa3b18d(0x1d3)],'handler'(_0x17f26d,_0x150610){const _0x42a0a8=_0xa3b18d;if(!_0x150610)return!0x1;let _0x57ba94=_0x17f26d[_0x42a0a8(0x221)](e[_0x42a0a8(0x1be)]),{unitId:_0x54aa84,tableId:_0xb4edea,viewId:_0x3c9dce,ensureEndDateField:_0x5b45e6}=_0x150610,_0x529dcc=_0x57ba94[_0x42a0a8(0x2d7)](_0x54aa84,e['UniverInstanceType'][_0x42a0a8(0x30f)]);if(!_0x529dcc||!Y(_0x529dcc,_0xb4edea,{'viewIds':[_0x3c9dce]}))return!0x1;let _0x5a3461=_0x529dcc[_0x42a0a8(0x2ab)](),_0x384576=_0x5a3461[_0x42a0a8(0x258)][_0xb4edea],_0x449468=_0x384576==null?void 0x0:_0x384576[_0x42a0a8(0x411)][_0x3c9dce];if(!_0x384576||!_0x449468||_0x449468[_0x42a0a8(0x177)]!=='calendar'&&_0x449468[_0x42a0a8(0x177)]!==_0x42a0a8(0x2a6))return!0x1;let _0x821255=Tn(_0x384576,_0x449468,_0x5b45e6===!0x0);if(!_0x821255[_0x42a0a8(0x377)])return!0x1;let _0x595e34=_0x17f26d[_0x42a0a8(0x221)](e[_0x42a0a8(0x367)]),_0x2ad615=_0x17f26d['get'](e['IUndoRedoService']),_0x9b7c97=new P(),_0x52f49d=[..._0x821255[_0x42a0a8(0x35e)][_0x42a0a8(0x1da)](_0xb1f84e=>_0x9b7c97['createField'](_0x5a3461,_0x150610[_0x42a0a8(0x473)],{'field':_0xb1f84e})),Hn([...Un(_0x150610[_0x42a0a8(0x473)],_0x150610['viewId']),_0x42a0a8(0x3af)],_0x449468[_0x42a0a8(0x3af)],_0x821255[_0x42a0a8(0x3af)])];_0x821255[_0x42a0a8(0x2d8)]&&_0x52f49d[_0x42a0a8(0x439)](Hn([...Un(_0x150610[_0x42a0a8(0x473)],_0x150610[_0x42a0a8(0x2e2)]),_0x42a0a8(0x2d8)],_0x449468[_0x42a0a8(0x2d8)],_0x821255[_0x42a0a8(0x2d8)]));let _0x499d51=N(_0x52f49d),_0x3c8983=new w()[_0x42a0a8(0x183)](_0x5a3461,_0x499d51),_0x1655b9={'unitId':_0x54aa84,'op':_0x499d51},_0x50df93={'unitId':_0x54aa84,'op':_0x3c8983};return _0x595e34['syncExecuteCommand'](J['id'],_0x1655b9)?(_0x57ba94[_0x42a0a8(0x27a)](_0x54aa84),_0x2ad615[_0x42a0a8(0x3db)]({'unitID':_0x54aa84,'undoMutations':[{'id':J['id'],'params':_0x50df93}],'redoMutations':[{'id':J['id'],'params':_0x1655b9}]}),!0x0):!0x1;}};function Hn(_0x5cd084,_0x417b3a,_0x491cb8){const _0x1f71d8=_0xa3b18d;return _0x417b3a===void 0x0?e['JSON1'][_0x1f71d8(0x47e)](_0x5cd084,_0x491cb8):e[_0x1f71d8(0x40f)][_0x1f71d8(0x41d)](_0x5cd084,_0x417b3a,_0x491cb8);}function Un(_0x21f80f,_0x46e8ae){const _0x56567e=_0xa3b18d;return[_0x56567e(0x258),_0x21f80f,_0x56567e(0x411),_0x46e8ae];}const Wn={'id':_0xa3b18d(0x3ad),'type':e[_0xa3b18d(0x33e)][_0xa3b18d(0x1d3)],'handler':(_0x5b98a3,_0x55c727)=>{const _0x563cf9=_0xa3b18d;var _0x18d11a;if(!_0x55c727)return!0x1;let _0x4234ec=_0x5b98a3[_0x563cf9(0x221)](e[_0x563cf9(0x1be)]),{unitId:_0x797045,tableId:_0x57b9a1,fieldId:_0x190a84,target:_0x5bf848}=_0x55c727,_0x553531=_0x4234ec[_0x563cf9(0x2d7)](_0x797045,e['UniverInstanceType'][_0x563cf9(0x30f)]),_0x486fb7=(_0x18d11a=_0x5bf848[_0x563cf9(0x3ba)])==null?_0x5bf848[_0x563cf9(0x3d9)]:_0x18d11a;if(!_0x553531||!!_0x5bf848[_0x563cf9(0x3ba)]==!!_0x5bf848['afterFieldId']||!_0x486fb7||_0x486fb7===_0x190a84||!Y(_0x553531,_0x57b9a1,{'fieldIds':[_0x190a84,_0x486fb7]}))return!0x1;let _0x3d784a=_0x5b98a3['get'](e[_0x563cf9(0x367)]),_0x5ef735=_0x5b98a3[_0x563cf9(0x221)](e[_0x563cf9(0x2be)]),_0x17482a=_0x553531[_0x563cf9(0x2ab)](),_0xfe09a=new P()['moveField'](_0x17482a,_0x57b9a1,_0x190a84,_0x5bf848),_0x45c4a6=new w()[_0x563cf9(0x183)](_0x17482a,_0xfe09a),_0x237c29={'unitId':_0x797045,'op':_0xfe09a},_0x5d714c={'unitId':_0x797045,'op':_0x45c4a6};return _0x3d784a[_0x563cf9(0x3a1)](J['id'],_0x237c29)?(_0x4234ec[_0x563cf9(0x27a)](_0x797045),_0x5ef735[_0x563cf9(0x3db)]({'unitID':_0x797045,'undoMutations':[{'id':J['id'],'params':_0x5d714c}],'redoMutations':[{'id':J['id'],'params':_0x237c29}]}),!0x0):!0x1;}},Gn={'id':_0xa3b18d(0x238),'type':e[_0xa3b18d(0x33e)][_0xa3b18d(0x1d3)],'handler':(_0x508d2f,_0x41dd56)=>{const _0x198aee=_0xa3b18d;var _0x565c8b;if(!_0x41dd56)return!0x1;let _0x4c771e=_0x508d2f['get'](e[_0x198aee(0x1be)]),{unitId:_0x359dc2,tableId:_0x57dbc6,viewId:_0x39526c,target:_0x34249e}=_0x41dd56,_0x59f6fd=_0x4c771e[_0x198aee(0x2d7)](_0x359dc2,e[_0x198aee(0x3b9)][_0x198aee(0x30f)]),_0x23cf49=(_0x565c8b=_0x34249e[_0x198aee(0x31e)])==null?_0x34249e['afterViewId']:_0x565c8b;if(!_0x59f6fd||!_0x23cf49||_0x23cf49===_0x39526c||!Y(_0x59f6fd,_0x57dbc6,{'viewIds':[_0x39526c,_0x23cf49]}))return!0x1;let _0x4ee38e=_0x508d2f['get'](e[_0x198aee(0x367)]),_0x366dfd=_0x508d2f['get'](e[_0x198aee(0x2be)]),_0x55ec5c=_0x59f6fd[_0x198aee(0x2ab)](),_0x46978f=new P()[_0x198aee(0x1df)](_0x55ec5c,_0x57dbc6,_0x39526c,_0x34249e),_0x48a637=new w()['invertOp'](_0x55ec5c,_0x46978f),_0x510235={'unitId':_0x359dc2,'op':_0x46978f},_0x2b1a40={'unitId':_0x359dc2,'op':_0x48a637};return _0x4ee38e[_0x198aee(0x3a1)](J['id'],_0x510235)?(_0x4c771e[_0x198aee(0x27a)](_0x359dc2),_0x366dfd[_0x198aee(0x3db)]({'unitID':_0x359dc2,'undoMutations':[{'id':J['id'],'params':_0x2b1a40}],'redoMutations':[{'id':J['id'],'params':_0x510235}]}),!0x0):!0x1;}},Kn={'id':_0xa3b18d(0x3bb),'type':e[_0xa3b18d(0x33e)][_0xa3b18d(0x1d3)],'handler':(_0x4a961c,_0xa6034)=>{const _0x3326e1=_0xa3b18d;if(!_0xa6034)return!0x1;let _0x33af52=_0x4a961c[_0x3326e1(0x221)](e['IUniverInstanceService']),{unitId:_0x8a18fc,tableId:_0x545fc6,name:_0x4d3ff6}=_0xa6034,_0x1f30d=_0x33af52[_0x3326e1(0x2d7)](_0x8a18fc,e[_0x3326e1(0x3b9)]['UNIVER_BASE']);if(!_0x1f30d||!Y(_0x1f30d,_0x545fc6))return!0x1;let _0x3e70d1=_0x4a961c[_0x3326e1(0x221)](e[_0x3326e1(0x367)]),_0x2ab684=_0x4a961c[_0x3326e1(0x221)](e[_0x3326e1(0x2be)]),_0x3fa05f=_0x1f30d[_0x3326e1(0x2ab)](),_0x58baa2=new P()[_0x3326e1(0x220)](_0x3fa05f,_0x545fc6,_0x4d3ff6),_0x4751bf=new w()[_0x3326e1(0x183)](_0x3fa05f,_0x58baa2),_0x499b27={'unitId':_0x8a18fc,'op':_0x58baa2},_0x4f08c6={'unitId':_0x8a18fc,'op':_0x4751bf};return _0x3e70d1[_0x3326e1(0x3a1)](J['id'],_0x499b27)?(_0x33af52[_0x3326e1(0x27a)](_0x8a18fc),_0x2ab684[_0x3326e1(0x3db)]({'unitID':_0x8a18fc,'undoMutations':[{'id':J['id'],'params':_0x4f08c6}],'redoMutations':[{'id':J['id'],'params':_0x499b27}]}),!0x0):!0x1;}},qn={'id':_0xa3b18d(0x2b2),'type':e['CommandType'][_0xa3b18d(0x1d3)],'handler':(_0x5598bb,_0x55d1fd)=>{const _0xa0423e=_0xa3b18d;if(!_0x55d1fd)return!0x1;let _0x101eb4=_0x5598bb[_0xa0423e(0x221)](e[_0xa0423e(0x1be)]),{unitId:_0x44b439,tableId:_0x41335a,viewId:_0xc8cb31,name:_0x359415}=_0x55d1fd,_0x2281fe=_0x101eb4[_0xa0423e(0x2d7)](_0x44b439,e['UniverInstanceType'][_0xa0423e(0x30f)]);if(!_0x2281fe||!Y(_0x2281fe,_0x41335a,{'viewIds':[_0xc8cb31]}))return!0x1;let _0x26198b=_0x5598bb[_0xa0423e(0x221)](e[_0xa0423e(0x367)]),_0x38826d=_0x5598bb[_0xa0423e(0x221)](e['IUndoRedoService']),_0x44cd06=_0x2281fe[_0xa0423e(0x2ab)](),_0x1b88c7=new P()[_0xa0423e(0x36f)](_0x44cd06,_0x41335a,_0xc8cb31,_0x359415),_0x446ed9=new w()['invertOp'](_0x44cd06,_0x1b88c7),_0x2b9d30={'unitId':_0x44b439,'op':_0x1b88c7},_0x4dc5d5={'unitId':_0x44b439,'op':_0x446ed9};return _0x26198b['syncExecuteCommand'](J['id'],_0x2b9d30)?(_0x101eb4[_0xa0423e(0x27a)](_0x44b439),_0x38826d[_0xa0423e(0x3db)]({'unitID':_0x44b439,'undoMutations':[{'id':J['id'],'params':_0x4dc5d5}],'redoMutations':[{'id':J['id'],'params':_0x2b9d30}]}),!0x0):!0x1;}},Jn={'id':'base.command.set-base-kanban-group-field','type':e[_0xa3b18d(0x33e)]['COMMAND'],'handler':(_0x3db839,_0x40f25e)=>{const _0x539426=_0xa3b18d;if(!_0x40f25e)return!0x1;let _0x17a418=_0x3db839[_0x539426(0x221)](e['IUniverInstanceService']),{unitId:_0x11a6fe,tableId:_0x4dacbf,viewId:_0x4cbea7,fieldId:_0x515ba1}=_0x40f25e,_0x9c2b28=_0x17a418[_0x539426(0x2d7)](_0x11a6fe,e[_0x539426(0x3b9)][_0x539426(0x30f)]);if(!_0x9c2b28||!Y(_0x9c2b28,_0x4dacbf,{'viewIds':[_0x4cbea7],'fieldIds':[_0x515ba1]}))return!0x1;let _0x38a311=_0x3db839[_0x539426(0x221)](e[_0x539426(0x367)]),_0x15c80d=_0x3db839[_0x539426(0x221)](e[_0x539426(0x2be)]),_0x33a4fb=_0x9c2b28[_0x539426(0x2ab)](),_0x2fef93=new P()[_0x539426(0x373)](_0x33a4fb,_0x4dacbf,_0x4cbea7,{'groupFieldId':_0x515ba1}),_0x5265b8=new w()[_0x539426(0x183)](_0x33a4fb,_0x2fef93),_0x1ead7f={'unitId':_0x11a6fe,'op':_0x2fef93},_0x5b609c={'unitId':_0x11a6fe,'op':_0x5265b8};return _0x38a311[_0x539426(0x3a1)](J['id'],_0x1ead7f)?(_0x17a418[_0x539426(0x27a)](_0x11a6fe),_0x15c80d[_0x539426(0x3db)]({'unitID':_0x11a6fe,'undoMutations':[{'id':J['id'],'params':_0x5b609c}],'redoMutations':[{'id':J['id'],'params':_0x1ead7f}]}),!0x0):!0x1;}},Yn={'id':_0xa3b18d(0x3e6),'type':e[_0xa3b18d(0x33e)]['COMMAND'],'handler':(_0x3fc4a4,_0x16484e)=>{const _0xee5a01=_0xa3b18d;if(!_0x16484e)return!0x1;let _0x3254fb=_0x3fc4a4[_0xee5a01(0x221)](e[_0xee5a01(0x1be)]),_0x28b28f=_0x3254fb[_0xee5a01(0x2d7)](_0x16484e[_0xee5a01(0x199)],e[_0xee5a01(0x3b9)][_0xee5a01(0x30f)]);if(!_0x28b28f)return!0x1;let _0x3a760b=_0x28b28f[_0xee5a01(0x2ab)]()['name'];if(_0x3a760b===_0x16484e[_0xee5a01(0x2cb)])return!0x0;let _0x5cb764=new P(),_0x4ef4f1=new w(),_0x481533=[],_0x3cccdc=[],_0x2be139=[_0x28b28f,..._0x3254fb[_0xee5a01(0x2f6)](e['UniverInstanceType']['UNIVER_BASE'])[_0xee5a01(0x314)](_0x4cc21e=>_0x4cc21e[_0xee5a01(0x446)]()!==_0x16484e['unitId'])];for(let _0x40a57f of _0x2be139){let _0x1c0ab5=_0x40a57f[_0xee5a01(0x2ab)](),_0x420590=_0x40a57f===_0x28b28f?_0x5cb764['setBaseName'](_0x1c0ab5,_0x16484e[_0xee5a01(0x2cb)]):_0x5cb764[_0xee5a01(0x476)](_0x1c0ab5,_0x3a760b,_0x16484e[_0xee5a01(0x2cb)]);_0x420590&&(_0x481533[_0xee5a01(0x439)]({'id':J['id'],'params':{'unitId':_0x40a57f[_0xee5a01(0x446)](),'op':_0x420590,'trigger':Yn['id']}}),_0x3cccdc[_0xee5a01(0x43e)]({'id':J['id'],'params':{'unitId':_0x40a57f['getUnitId'](),'op':_0x4ef4f1[_0xee5a01(0x183)](_0x1c0ab5,_0x420590),'trigger':Yn['id']}}));}let _0x380473=_0x3fc4a4['get'](e[_0xee5a01(0x367)]),_0x40469f=_0x3fc4a4[_0xee5a01(0x221)](e[_0xee5a01(0x2be)]),_0x5b5256=_0x40469f[_0xee5a01(0x2c8)](_0x16484e[_0xee5a01(0x199)]);try{return(0x0,e[_0xee5a01(0x1cf)])(_0x481533,_0x380473)[_0xee5a01(0x309)]?(_0x3254fb[_0xee5a01(0x27a)](_0x16484e['unitId']),_0x40469f[_0xee5a01(0x3db)]({'unitID':_0x16484e['unitId'],'undoMutations':_0x3cccdc,'redoMutations':_0x481533}),!0x0):!0x1;}finally{_0x5b5256['dispose']();}}},Xn={'id':_0xa3b18d(0x3d5),'type':e[_0xa3b18d(0x33e)][_0xa3b18d(0x1d3)],'handler'(_0x258ab0,_0x401aa4){const _0x22b45f=_0xa3b18d;if(!_0x401aa4)return!0x1;let _0x23e3a6=_0x258ab0[_0x22b45f(0x221)](e[_0x22b45f(0x1be)]),{unitId:_0x20b1b8,tableId:_0x355ffd,patches:_0x362e10}=_0x401aa4,_0x25864f=_0x23e3a6[_0x22b45f(0x2d7)](_0x20b1b8,e[_0x22b45f(0x3b9)][_0x22b45f(0x30f)]);if(!_0x25864f||!Y(_0x25864f,_0x355ffd))return!0x1;let _0x5a601c=_0x258ab0[_0x22b45f(0x221)](e['ICommandService']),_0x1e4948=_0x258ab0[_0x22b45f(0x221)](e[_0x22b45f(0x2be)]),_0x315a65=_0x25864f[_0x22b45f(0x2ab)](),_0x2f5333=d(_0x315a65[_0x22b45f(0x258)][_0x355ffd]),_0x4fd09f=_0x362e10['map'](_0x1b94a9=>{const _0x28a51b=_0x22b45f;var _0x6b9bc5;return _0x28a51b(0x2f7)in _0x1b94a9?_0x1b94a9[_0x28a51b(0x2f7)]:(_0x6b9bc5=_0x2f5333[_0x28a51b(0x262)])==null?void 0x0:_0x6b9bc5[_0x1b94a9[_0x28a51b(0x33a)]];})['filter'](_0x553aac=>_0x553aac!=null),_0x3a2d50=_0x362e10['map'](_0x5ec530=>{const _0x3ec80c=_0x22b45f;var _0x34a87b;return _0x3ec80c(0x2ee)in _0x5ec530?_0x5ec530[_0x3ec80c(0x2ee)]:(_0x34a87b=_0x2f5333[_0x3ec80c(0x171)])==null?void 0x0:_0x34a87b[_0x5ec530[_0x3ec80c(0x26e)]];})['filter'](_0xc47854=>_0xc47854!=null);if(_0x4fd09f['length']!==_0x362e10[_0x22b45f(0x333)]||_0x3a2d50[_0x22b45f(0x333)]!==_0x362e10[_0x22b45f(0x333)]||!Y(_0x25864f,_0x355ffd,{'recordIds':_0x4fd09f,'fieldIds':_0x3a2d50}))return!0x1;let _0x2ddc3c=_0x362e10['flatMap'](_0x347c01=>{const _0x16c3e0=_0x22b45f;var _0x4edc71,_0x18f167;if('row'in _0x347c01)return[_0x347c01];let _0x3cf240=(_0x4edc71=_0x2f5333[_0x16c3e0(0x164)])==null?void 0x0:_0x4edc71[_0x347c01[_0x16c3e0(0x2f7)]],_0x355974=(_0x18f167=_0x2f5333[_0x16c3e0(0x3b6)])==null?void 0x0:_0x18f167[_0x347c01[_0x16c3e0(0x2ee)]];return _0x3cf240==null||_0x355974==null?[]:[{'row':_0x3cf240,'col':_0x355974,'value':_0x347c01[_0x16c3e0(0x33c)]}];}),_0x559054=new P()[_0x22b45f(0x27f)](_0x315a65,_0x355ffd,_0x2ddc3c),_0x4cfba2=new w()[_0x22b45f(0x183)](_0x315a65,_0x559054),_0x48864d={'unitId':_0x20b1b8,'op':_0x559054},_0x32e489={'unitId':_0x20b1b8,'op':_0x4cfba2};return _0x5a601c[_0x22b45f(0x3a1)](J['id'],_0x48864d)?(_0x23e3a6[_0x22b45f(0x27a)](_0x20b1b8),_0x1e4948[_0x22b45f(0x3db)]({'unitID':_0x20b1b8,'undoMutations':[{'id':J['id'],'params':_0x32e489}],'redoMutations':[{'id':J['id'],'params':_0x48864d}]}),!0x0):!0x1;}},Zn={'id':'base.command.set-base-record-values','type':e[_0xa3b18d(0x33e)][_0xa3b18d(0x1d3)],'handler'(_0x586a0f,_0x1099a0){const _0x410597=_0xa3b18d;if(!_0x1099a0)return!0x1;let _0x188d8b=_0x586a0f[_0x410597(0x221)](e[_0x410597(0x1be)]),{unitId:_0x22a236,tableId:_0x2bde48,patches:_0x884340}=_0x1099a0,_0x3dda6a=_0x188d8b[_0x410597(0x2d7)](_0x22a236,e[_0x410597(0x3b9)][_0x410597(0x30f)]),_0x216c13=_0x884340[_0x410597(0x1da)](_0x34d924=>_0x34d924[_0x410597(0x2f7)]),_0xaf80ae=_0x884340[_0x410597(0x2f9)](_0x4b06bd=>Object[_0x410597(0x1c8)](_0x4b06bd[_0x410597(0x29e)]));if(!_0x3dda6a||!Y(_0x3dda6a,_0x2bde48,{'recordIds':_0x216c13,'fieldIds':_0xaf80ae}))return!0x1;let _0x3032ee=_0x586a0f[_0x410597(0x221)](e[_0x410597(0x367)]),_0x17e6cf=_0x586a0f[_0x410597(0x221)](e[_0x410597(0x2be)]),_0x5e466b=_0x586a0f[_0x410597(0x221)](V)[_0x410597(0x477)](_0x3dda6a,_0x2bde48,_0x884340),_0x3606f8=new w()[_0x410597(0x183)](_0x3dda6a[_0x410597(0x2ab)](),_0x5e466b),_0x2fac4d={'unitId':_0x22a236,'op':_0x5e466b},_0x5e582c={'unitId':_0x22a236,'op':_0x3606f8};return _0x3032ee[_0x410597(0x3a1)](J['id'],_0x2fac4d)?(_0x188d8b[_0x410597(0x27a)](_0x22a236),_0x17e6cf[_0x410597(0x3db)]({'unitID':_0x22a236,'undoMutations':[{'id':J['id'],'params':_0x5e582c}],'redoMutations':[{'id':J['id'],'params':_0x2fac4d}]}),!0x0):!0x1;}},Qn={'id':_0xa3b18d(0x3f5),'type':e[_0xa3b18d(0x33e)][_0xa3b18d(0x1d3)],'handler':(_0x119dc9,_0x32fe2e)=>{const _0x3d5e4d=_0xa3b18d;var _0x282cea;if(!_0x32fe2e)return!0x1;let _0x595706=_0x119dc9['get'](e['IUniverInstanceService']),{unitId:_0x500e1e,tableId:_0x681469,viewId:_0x3fa291,fieldId:_0x5aa221,target:_0x1d88de}=_0x32fe2e,_0x415fef=_0x595706[_0x3d5e4d(0x2d7)](_0x500e1e,e['UniverInstanceType']['UNIVER_BASE']),_0x2eccf5=(_0x282cea=_0x1d88de['beforeFieldId'])==null?_0x1d88de[_0x3d5e4d(0x3d9)]:_0x282cea;if(!_0x415fef||!_0x2eccf5||_0x2eccf5===_0x5aa221||!Y(_0x415fef,_0x681469,{'viewIds':[_0x3fa291],'fieldIds':[_0x5aa221,_0x2eccf5]}))return!0x1;let _0x5142ca=_0x119dc9[_0x3d5e4d(0x221)](e[_0x3d5e4d(0x367)]),_0x12a15b=_0x119dc9[_0x3d5e4d(0x221)](e['IUndoRedoService']),_0x9c6680=_0x415fef[_0x3d5e4d(0x2ab)](),_0x436583=new P()[_0x3d5e4d(0x356)](_0x9c6680,_0x681469,_0x3fa291,_0x5aa221,_0x1d88de),_0x1eaef9=new w()[_0x3d5e4d(0x183)](_0x9c6680,_0x436583),_0xea97d5={'unitId':_0x500e1e,'op':_0x436583},_0x4c5db6={'unitId':_0x500e1e,'op':_0x1eaef9};return _0x5142ca[_0x3d5e4d(0x3a1)](J['id'],_0xea97d5)?(_0x595706['focusUnit'](_0x500e1e),_0x12a15b[_0x3d5e4d(0x3db)]({'unitID':_0x500e1e,'undoMutations':[{'id':J['id'],'params':_0x4c5db6}],'redoMutations':[{'id':J['id'],'params':_0xea97d5}]}),!0x0):!0x1;}},$n={'id':_0xa3b18d(0x327),'type':e[_0xa3b18d(0x33e)][_0xa3b18d(0x1d3)],'handler'(_0x262d0c,_0x47352f){const _0x2a57b7=_0xa3b18d;if(!_0x47352f)return!0x1;let _0x555270=_0x262d0c[_0x2a57b7(0x221)](e['IUniverInstanceService']),{unitId:_0x30972e,tableId:_0x24f9a9,viewId:_0x431d7d,fieldId:_0x120a71,visible:_0x1d3699}=_0x47352f,_0x29c650=_0x555270[_0x2a57b7(0x2d7)](_0x30972e,e[_0x2a57b7(0x3b9)][_0x2a57b7(0x30f)]);if(!_0x29c650||!Y(_0x29c650,_0x24f9a9,{'viewIds':[_0x431d7d],'fieldIds':[_0x120a71]}))return!0x1;let _0x99df34=_0x262d0c[_0x2a57b7(0x221)](e[_0x2a57b7(0x367)]),_0xffe314=_0x262d0c[_0x2a57b7(0x221)](e['IUndoRedoService']),_0x56c0e0=_0x29c650[_0x2a57b7(0x2ab)](),_0x18fdfe=new P()[_0x2a57b7(0x25d)](_0x56c0e0,_0x24f9a9,_0x431d7d,_0x120a71,_0x1d3699),_0x2bc965=new w()['invertOp'](_0x56c0e0,_0x18fdfe),_0x2d87a8={'unitId':_0x30972e,'op':_0x18fdfe},_0x2c5ec3={'unitId':_0x30972e,'op':_0x2bc965};return _0x99df34[_0x2a57b7(0x3a1)](J['id'],_0x2d87a8)?(_0x555270['focusUnit'](_0x30972e),_0xffe314[_0x2a57b7(0x3db)]({'unitID':_0x30972e,'undoMutations':[{'id':J['id'],'params':_0x2c5ec3}],'redoMutations':[{'id':J['id'],'params':_0x2d87a8}]}),!0x0):!0x1;}},er={'id':_0xa3b18d(0x231),'type':e['CommandType'][_0xa3b18d(0x1d3)],'handler':(_0x361da1,_0xcff50a)=>{const _0x2b12b8=_0xa3b18d;if(!_0xcff50a)return!0x1;let _0x2aba8c=_0x361da1[_0x2b12b8(0x221)](e['IUniverInstanceService']),{unitId:_0x510082,tableId:_0xa1c118,viewId:_0x1f058e,fieldId:_0x27e2a4,width:_0x3c6e40}=_0xcff50a,_0x26dd9d=_0x2aba8c[_0x2b12b8(0x2d7)](_0x510082,e[_0x2b12b8(0x3b9)]['UNIVER_BASE']);if(!_0x26dd9d||!Y(_0x26dd9d,_0xa1c118,{'viewIds':[_0x1f058e],'fieldIds':[_0x27e2a4]}))return!0x1;let _0x13095a=_0x361da1[_0x2b12b8(0x221)](e[_0x2b12b8(0x367)]),_0x4c0d5b=_0x361da1[_0x2b12b8(0x221)](e[_0x2b12b8(0x2be)]),_0xef0d58=_0x26dd9d[_0x2b12b8(0x2ab)](),_0x23371f=new P()[_0x2b12b8(0x3f2)](_0xef0d58,_0xa1c118,_0x1f058e,_0x27e2a4,_0x3c6e40),_0x2f45a0=new w()[_0x2b12b8(0x183)](_0xef0d58,_0x23371f),_0x4e18be={'unitId':_0x510082,'op':_0x23371f},_0x31dca2={'unitId':_0x510082,'op':_0x2f45a0};return _0x13095a['syncExecuteCommand'](J['id'],_0x4e18be)?(_0x2aba8c['focusUnit'](_0x510082),_0x4c0d5b[_0x2b12b8(0x3db)]({'unitID':_0x510082,'undoMutations':[{'id':J['id'],'params':_0x31dca2}],'redoMutations':[{'id':J['id'],'params':_0x4e18be}]}),!0x0):!0x1;}},tr={'id':_0xa3b18d(0x486),'type':e[_0xa3b18d(0x33e)][_0xa3b18d(0x1d3)],'handler':(_0x17a711,_0x238669)=>{const _0x5d87f3=_0xa3b18d;var _0x156e87;if(!_0x238669)return!0x1;let _0x2bdd5a=_0x17a711[_0x5d87f3(0x221)](e[_0x5d87f3(0x1be)]),{unitId:_0x5c2385,tableId:_0x49851b,viewId:_0xc0dfe4,filter:_0x3c824e}=_0x238669,_0x2b6c2d=_0x2bdd5a[_0x5d87f3(0x2d7)](_0x5c2385,e['UniverInstanceType'][_0x5d87f3(0x30f)]),_0x2e5d9c=(_0x156e87=_0x3c824e==null?void 0x0:_0x3c824e[_0x5d87f3(0x296)]['map'](_0x4e34bc=>_0x4e34bc['fieldId']))==null?[]:_0x156e87;if(!_0x2b6c2d||!Y(_0x2b6c2d,_0x49851b,{'viewIds':[_0xc0dfe4],'fieldIds':_0x2e5d9c}))return!0x1;let _0x362aa2=_0x17a711[_0x5d87f3(0x221)](e[_0x5d87f3(0x367)]),_0xb82e55=_0x17a711[_0x5d87f3(0x221)](e[_0x5d87f3(0x2be)]),_0x3f0e8a=_0x2b6c2d[_0x5d87f3(0x2ab)](),_0x27055e=new P()[_0x5d87f3(0x1dd)](_0x3f0e8a,_0x49851b,_0xc0dfe4,_0x3c824e),_0x9ca8d4=new w()['invertOp'](_0x3f0e8a,_0x27055e),_0x41ae62={'unitId':_0x5c2385,'op':_0x27055e},_0x5d3f9a={'unitId':_0x5c2385,'op':_0x9ca8d4};return _0x362aa2[_0x5d87f3(0x3a1)](J['id'],_0x41ae62)?(_0x2bdd5a['focusUnit'](_0x5c2385),_0xb82e55[_0x5d87f3(0x3db)]({'unitID':_0x5c2385,'undoMutations':[{'id':J['id'],'params':_0x5d3f9a}],'redoMutations':[{'id':J['id'],'params':_0x41ae62}]}),!0x0):!0x1;}},nr={'id':_0xa3b18d(0x2a9),'type':e[_0xa3b18d(0x33e)][_0xa3b18d(0x1d3)],'handler':(_0x7564aa,_0xb1ece2)=>{const _0x48bdc6=_0xa3b18d;if(!_0xb1ece2)return!0x1;let _0x5701bc=_0x7564aa[_0x48bdc6(0x221)](e[_0x48bdc6(0x1be)]),{unitId:_0x1da125,tableId:_0x3e4226,viewId:_0x2cac14,group:_0x397ec2}=_0xb1ece2,_0x480d50=_0x5701bc['getUnit'](_0x1da125,e[_0x48bdc6(0x3b9)][_0x48bdc6(0x30f)]);if(!_0x480d50||!Y(_0x480d50,_0x3e4226,{'viewIds':[_0x2cac14],'fieldIds':_0x397ec2[_0x48bdc6(0x1da)](_0x1bf622=>_0x1bf622[_0x48bdc6(0x2ee)])}))return!0x1;let _0x98164=_0x7564aa[_0x48bdc6(0x221)](e[_0x48bdc6(0x367)]),_0x160de2=_0x7564aa['get'](e['IUndoRedoService']),_0x537fb8=_0x480d50[_0x48bdc6(0x2ab)](),_0x502301=new P()['setViewGroup'](_0x537fb8,_0x3e4226,_0x2cac14,_0x397ec2),_0x4d4482=new w()[_0x48bdc6(0x183)](_0x537fb8,_0x502301),_0x40d6cf={'unitId':_0x1da125,'op':_0x502301},_0x4d3982={'unitId':_0x1da125,'op':_0x4d4482};return _0x98164[_0x48bdc6(0x3a1)](J['id'],_0x40d6cf)?(_0x5701bc['focusUnit'](_0x1da125),_0x160de2['pushUndoRedo']({'unitID':_0x1da125,'undoMutations':[{'id':J['id'],'params':_0x4d3982}],'redoMutations':[{'id':J['id'],'params':_0x40d6cf}]}),!0x0):!0x1;}},rr={'id':_0xa3b18d(0x1d7),'type':e['CommandType'][_0xa3b18d(0x1d3)],'handler':(_0x3bb655,_0x1dd71b)=>{const _0x178063=_0xa3b18d;if(!_0x1dd71b)return!0x1;let _0x4bc40f=_0x3bb655[_0x178063(0x221)](e['IUniverInstanceService']),{unitId:_0x374733,tableId:_0x1e5bc7,viewId:_0x160bfe,sort:_0x51e3e9}=_0x1dd71b,_0x59d595=_0x4bc40f[_0x178063(0x2d7)](_0x374733,e[_0x178063(0x3b9)][_0x178063(0x30f)]);if(!_0x59d595||!Y(_0x59d595,_0x1e5bc7,{'viewIds':[_0x160bfe],'fieldIds':_0x51e3e9['map'](_0x620d67=>_0x620d67['fieldId'])}))return!0x1;let _0x3ac98e=_0x3bb655['get'](e['ICommandService']),_0x5f139b=_0x3bb655[_0x178063(0x221)](e[_0x178063(0x2be)]),_0x3e3e36=_0x59d595[_0x178063(0x2ab)](),_0x5d197c=new P()[_0x178063(0x42d)](_0x3e3e36,_0x1e5bc7,_0x160bfe,_0x51e3e9),_0x2e5dd3=new w()[_0x178063(0x183)](_0x3e3e36,_0x5d197c),_0x149e1b={'unitId':_0x374733,'op':_0x5d197c},_0x54488e={'unitId':_0x374733,'op':_0x2e5dd3};return _0x3ac98e[_0x178063(0x3a1)](J['id'],_0x149e1b)?(_0x4bc40f['focusUnit'](_0x374733),_0x5f139b[_0x178063(0x3db)]({'unitID':_0x374733,'undoMutations':[{'id':J['id'],'params':_0x54488e}],'redoMutations':[{'id':J['id'],'params':_0x149e1b}]}),!0x0):!0x1;}},ir={'id':_0xa3b18d(0x1e8),'type':e[_0xa3b18d(0x33e)]['COMMAND'],'handler'(_0x185d68,_0x4af8f5){const _0x1d09bd=_0xa3b18d;if(!_0x4af8f5)return!0x1;let _0x19080a=_0x185d68[_0x1d09bd(0x221)](e[_0x1d09bd(0x1be)]),{unitId:_0x3e02a2,tableId:_0x510529,recordId:_0x44fddc,fieldId:_0x4c48e6,value:_0x2bf49a}=_0x4af8f5,_0x596e48=_0x19080a[_0x1d09bd(0x2d7)](_0x3e02a2,e[_0x1d09bd(0x3b9)][_0x1d09bd(0x30f)]);if(!_0x596e48||!Y(_0x596e48,_0x510529,{'recordIds':[_0x44fddc],'fieldIds':[_0x4c48e6]}))return!0x1;let _0xed2584=_0x185d68[_0x1d09bd(0x221)](e['ICommandService']),_0x104d3f=_0x185d68[_0x1d09bd(0x221)](e[_0x1d09bd(0x2be)]),_0x3c3d4b=_0x185d68[_0x1d09bd(0x221)](V),_0x2b3829;try{_0x2b3829=_0x3c3d4b['createUpdateCellOp'](_0x596e48,_0x510529,_0x44fddc,_0x4c48e6,_0x2bf49a);}catch(_0x20217d){return console[_0x1d09bd(0x2a1)](_0x1d09bd(0x168),_0x20217d),!0x1;}let _0x41632e=new w()[_0x1d09bd(0x183)](_0x596e48[_0x1d09bd(0x2ab)](),_0x2b3829),_0x58cca2={'unitId':_0x3e02a2,'op':_0x2b3829},_0x1a5f2c={'unitId':_0x3e02a2,'op':_0x41632e};return _0xed2584[_0x1d09bd(0x3a1)](J['id'],_0x58cca2)?(_0x19080a[_0x1d09bd(0x27a)](_0x3e02a2),_0x104d3f[_0x1d09bd(0x3db)]({'unitID':_0x3e02a2,'undoMutations':[{'id':J['id'],'params':_0x1a5f2c}],'redoMutations':[{'id':J['id'],'params':_0x58cca2}]}),!0x0):!0x1;}},ar={'id':'base.command.update-base-field-description','type':e['CommandType'][_0xa3b18d(0x1d3)],'handler'(_0x551085,_0x2e1f10){const _0x23278c=_0xa3b18d;if(!_0x2e1f10)return!0x1;let _0xaed180=_0x551085[_0x23278c(0x221)](e[_0x23278c(0x1be)]),{unitId:_0x582b33,tableId:_0x5b4fbc,fieldId:_0xfab6f8}=_0x2e1f10,_0x33cca6=_0xaed180[_0x23278c(0x2d7)](_0x582b33,e[_0x23278c(0x3b9)][_0x23278c(0x30f)]);if(!_0x33cca6||!Y(_0x33cca6,_0x5b4fbc,{'fieldIds':[_0xfab6f8]}))return!0x1;let _0x36e37b=_0x551085[_0x23278c(0x221)](e[_0x23278c(0x367)]),_0x2d59af=_0x551085[_0x23278c(0x221)](e[_0x23278c(0x2be)]),_0x31ab37=_0x33cca6['getSnapshot'](),_0x4d14c9=_0x2e1f10[_0x23278c(0x321)][_0x23278c(0x41e)](),_0x1e83b4=new P()[_0x23278c(0x194)](_0x31ab37,_0x5b4fbc,_0xfab6f8,{'description':_0x4d14c9}),_0x24d36c=new w()[_0x23278c(0x183)](_0x33cca6[_0x23278c(0x2ab)](),_0x1e83b4),_0x2f3a91={'unitId':_0x582b33,'op':_0x1e83b4},_0x156b7d={'unitId':_0x582b33,'op':_0x24d36c};return _0x36e37b[_0x23278c(0x3a1)](J['id'],_0x2f3a91)?(_0xaed180[_0x23278c(0x27a)](_0x582b33),_0x2d59af['pushUndoRedo']({'unitID':_0x582b33,'undoMutations':[{'id':J['id'],'params':_0x156b7d}],'redoMutations':[{'id':J['id'],'params':_0x2f3a91}]}),!0x0):!0x1;}},or={'id':_0xa3b18d(0x45f),'type':e[_0xa3b18d(0x33e)][_0xa3b18d(0x1d3)],'handler':(_0x583cd5,_0x2a4ca0)=>{const _0x35f83b=_0xa3b18d;if(!_0x2a4ca0)return!0x1;let _0x245c8a=_0x583cd5['get'](e[_0x35f83b(0x1be)]),{unitId:_0x34dc42,tableId:_0x14e256,fieldId:_0x5be332,patch:_0x28da00}=_0x2a4ca0,_0x13461f=_0x245c8a['getUnit'](_0x34dc42,e[_0x35f83b(0x3b9)]['UNIVER_BASE']);if(!_0x13461f||!Y(_0x13461f,_0x14e256,{'fieldIds':[_0x5be332]}))return!0x1;let _0x38097f=_0x583cd5[_0x35f83b(0x221)](e[_0x35f83b(0x367)]),_0x424a31=_0x583cd5[_0x35f83b(0x221)](e[_0x35f83b(0x2be)]),_0x1e39ee=_0x13461f['getSnapshot'](),_0x3c2bbf=new P()[_0x35f83b(0x194)](_0x1e39ee,_0x14e256,_0x5be332,_0x28da00),_0x6418ae=new w()[_0x35f83b(0x183)](_0x1e39ee,_0x3c2bbf),_0x116d8a={'unitId':_0x34dc42,'op':_0x3c2bbf},_0x3cd50a={'unitId':_0x34dc42,'op':_0x6418ae};return _0x38097f['syncExecuteCommand'](J['id'],_0x116d8a)?(_0x245c8a[_0x35f83b(0x27a)](_0x34dc42),_0x424a31[_0x35f83b(0x3db)]({'unitID':_0x34dc42,'undoMutations':[{'id':J['id'],'params':_0x3cd50a}],'redoMutations':[{'id':J['id'],'params':_0x116d8a}]}),!0x0):!0x1;}},sr={'id':_0xa3b18d(0x253),'type':e['CommandType']['COMMAND'],'handler':(_0x24f65d,_0xc1f4b8)=>{const _0x4328ee=_0xa3b18d;if(!_0xc1f4b8)return!0x1;let _0x5ebe5f=_0x24f65d[_0x4328ee(0x221)](e['IUniverInstanceService']),{unitId:_0x11cf5b,tableId:_0x47df29,viewId:_0x3007b3,patch:_0x536e85}=_0xc1f4b8,_0x5bf109=_0x5ebe5f['getUnit'](_0x11cf5b,e[_0x4328ee(0x3b9)][_0x4328ee(0x30f)]);if(!_0x5bf109||!Y(_0x5bf109,_0x47df29,{'viewIds':[_0x3007b3]}))return!0x1;let _0x348a94=_0x24f65d[_0x4328ee(0x221)](e[_0x4328ee(0x367)]),_0x1e9b05=_0x24f65d[_0x4328ee(0x221)](e[_0x4328ee(0x2be)]),_0x1fe869=_0x5bf109[_0x4328ee(0x2ab)](),_0x20700a=new P()['updateViewConfig'](_0x1fe869,_0x47df29,_0x3007b3,_0x536e85),_0x490afd=new w()[_0x4328ee(0x183)](_0x1fe869,_0x20700a),_0x4301ee={'unitId':_0x11cf5b,'op':_0x20700a},_0x107489={'unitId':_0x11cf5b,'op':_0x490afd};return _0x348a94[_0x4328ee(0x3a1)](J['id'],_0x4301ee)?(_0x5ebe5f['focusUnit'](_0x11cf5b),_0x1e9b05[_0x4328ee(0x3db)]({'unitID':_0x11cf5b,'undoMutations':[{'id':J['id'],'params':_0x107489}],'redoMutations':[{'id':J['id'],'params':_0x4301ee}]}),!0x0):!0x1;}},cr={'id':_0xa3b18d(0x1fa),'type':e[_0xa3b18d(0x33e)][_0xa3b18d(0x1d3)],'handler':(_0x25884e,_0x1e8f59)=>{const _0x57ff1c=_0xa3b18d;if(!_0x1e8f59)return!0x1;let _0x16176c=_0x25884e['get'](e[_0x57ff1c(0x1be)]),{unitId:_0x220bb8,tableId:_0x318940,recordId:_0x1129a8,orderKey:_0x49c4d8}=_0x1e8f59,_0x1b2441=_0x16176c[_0x57ff1c(0x2d7)](_0x220bb8,e[_0x57ff1c(0x3b9)][_0x57ff1c(0x30f)]);if(!_0x1b2441||!Y(_0x1b2441,_0x318940,{'recordIds':[_0x1129a8]}))return!0x1;let _0x3e9364=_0x25884e[_0x57ff1c(0x221)](e['ICommandService']),_0xdb2f92=_0x25884e[_0x57ff1c(0x221)](e[_0x57ff1c(0x2be)]),_0x4f45ea=_0x1b2441['getSnapshot'](),_0x23dafd=new P()[_0x57ff1c(0x274)](_0x4f45ea,_0x318940,_0x1129a8,_0x49c4d8),_0x465692=new w()[_0x57ff1c(0x183)](_0x4f45ea,_0x23dafd),_0x1fc591={'unitId':_0x220bb8,'op':_0x23dafd},_0x1569a1={'unitId':_0x220bb8,'op':_0x465692};return _0x3e9364['syncExecuteCommand'](J['id'],_0x1fc591)?(_0x16176c['focusUnit'](_0x220bb8),_0xdb2f92['pushUndoRedo']({'unitID':_0x220bb8,'undoMutations':[{'id':J['id'],'params':_0x1569a1}],'redoMutations':[{'id':J['id'],'params':_0x1fc591}]}),!0x0):!0x1;}},lr={'id':_0xa3b18d(0x424),'type':e[_0xa3b18d(0x33e)]['COMMAND'],'handler':(_0x2ad93e,_0x613071)=>{const _0x936e41=_0xa3b18d;if(!_0x613071)return!0x1;let _0x1e679e=_0x2ad93e['get'](e[_0x936e41(0x1be)]),{unitId:_0x597fd9,tableId:_0x5c09b1,viewId:_0x44e7ef,patch:_0xaa2e76}=_0x613071,_0x12f442=_0x1e679e['getUnit'](_0x597fd9,e[_0x936e41(0x3b9)][_0x936e41(0x30f)]);if(!_0x12f442||!Y(_0x12f442,_0x5c09b1,{'viewIds':[_0x44e7ef]}))return!0x1;let _0x1ef98d=_0x2ad93e[_0x936e41(0x221)](e['ICommandService']),_0x44341e=_0x2ad93e[_0x936e41(0x221)](e[_0x936e41(0x2be)]),_0x2a34ac=_0x12f442[_0x936e41(0x2ab)](),_0x3e548c=new P()[_0x936e41(0x373)](_0x2a34ac,_0x5c09b1,_0x44e7ef,_0xaa2e76),_0x1003c5=new w()[_0x936e41(0x183)](_0x2a34ac,_0x3e548c),_0x48d744={'unitId':_0x597fd9,'op':_0x3e548c},_0x2448c8={'unitId':_0x597fd9,'op':_0x1003c5};return _0x1ef98d[_0x936e41(0x3a1)](J['id'],_0x48d744)?(_0x1e679e[_0x936e41(0x27a)](_0x597fd9),_0x44341e['pushUndoRedo']({'unitID':_0x597fd9,'undoMutations':[{'id':J['id'],'params':_0x2448c8}],'redoMutations':[{'id':J['id'],'params':_0x48d744}]}),!0x0):!0x1;}};function ur(_0x4c7f27){const _0xd9ea2e=_0xa3b18d;var _0x14a83f,_0x2f7e5f,_0x47172b,_0x3b0cb9,_0x35ccef;let _0x323cbb=(_0x14a83f=_0x4c7f27['now'])==null?Date[_0xd9ea2e(0x1c3)]():_0x14a83f,_0x32d4f8=(_0x2f7e5f=_0x4c7f27[_0xd9ea2e(0x419)])==null?_0x4c7f27['id']+_0xd9ea2e(0x180):_0x2f7e5f,_0x588aca=(_0x47172b=_0x4c7f27[_0xd9ea2e(0x461)])==null?_0x4c7f27['id']+_0xd9ea2e(0x227):_0x47172b,_0x1f0ae2=(_0x3b0cb9=_0x4c7f27[_0xd9ea2e(0x2e0)])==null?0x5:_0x3b0cb9,_0x349e99={'id':_0x32d4f8,'name':(_0x35ccef=_0x4c7f27['primaryFieldName'])==null?_0xd9ea2e(0x301):_0x35ccef,'type':e[_0xd9ea2e(0x17a)][_0xd9ea2e(0x28d)],'config':{'placeholder':_0xd9ea2e(0x1de)}},_0x3497d8={},_0x24f1d6=[],_0x5cdc91={},_0x320c9f={},_0x1f8394={};for(let _0x10b942=0x0;_0x10b942<_0x1f0ae2;_0x10b942++){let _0x329a28=_0x4c7f27['id']+_0xd9ea2e(0x2c2)+(_0x10b942+0x1);_0x3497d8[_0x329a28]={'id':_0x329a28,'values':_0x4c7f27[_0xd9ea2e(0x292)]?{[_0x32d4f8]:_0x4c7f27[_0xd9ea2e(0x292)]+'\x20'+(_0x10b942+0x1)}:{},'orderKey':String(_0x10b942+0x1)[_0xd9ea2e(0x161)](0x4,'0'),'createdAt':_0x323cbb,'updatedAt':_0x323cbb},_0x24f1d6[_0xd9ea2e(0x439)](_0x329a28),_0x5cdc91[_0x329a28]=_0x10b942,_0x320c9f[_0x10b942]=_0x329a28,_0x1f8394[_0x10b942]={},_0x4c7f27['recordNamePrefix']&&(_0x1f8394[_0x10b942][0x0]={'v':_0x4c7f27[_0xd9ea2e(0x292)]+'\x20'+(_0x10b942+0x1)});}let _0x136643={'id':_0x588aca,'tableId':_0x4c7f27['id'],'name':_0xd9ea2e(0x1a5),'type':e[_0xd9ea2e(0x318)]['Grid'],'fieldOrder':[_0x32d4f8],'fieldSettings':{},'config':{'frozenFieldCount':0x1}};return{'id':_0x4c7f27['id'],'name':_0x4c7f27[_0xd9ea2e(0x2cb)],'primaryFieldId':_0x32d4f8,'fieldOrder':[_0x32d4f8],'fields':{[_0x32d4f8]:_0x349e99},'records':_0x3497d8,'recordOrder':_0x24f1d6,'rowIndex':_0x5cdc91,'rowId':_0x320c9f,'colIndex':{[_0x32d4f8]:0x0},'colId':{0x0:_0x32d4f8},'cellData':_0x1f8394,'views':{[_0x588aca]:_0x136643},'viewOrder':[_0x588aca]};}const dr=_0xa3b18d(0x1bd);function fr(_0x18fd4c){const _0x3708b0=_0xa3b18d;var _0x17bf71,_0x178503;let _0x251ea8=ur({'id':_0x18fd4c[_0x3708b0(0x394)],'name':(_0x17bf71=_0x18fd4c[_0x3708b0(0x2cb)])==null?_0x18fd4c[_0x3708b0(0x2df)]:_0x17bf71,'recordCount':0x0});return{..._0x251ea8,'resources':{...(_0x178503=_0x251ea8[_0x3708b0(0x37d)])==null?{}:_0x178503,[dr]:hr(_0x18fd4c)}};}function pr(_0x3fc3f6){const _0x4737ee=_0xa3b18d;return{'id':J['id'],'params':{'unitId':_0x3fc3f6['unitId'],'op':new P()[_0x4737ee(0x37a)](_0x3fc3f6[_0x4737ee(0x344)],_0x3fc3f6['table'],_0x3fc3f6[_0x4737ee(0x25a)]),'trigger':'embed-ui'}};}function mr(_0xf9c4c1){const _0x3835a1=_0xa3b18d;let _0x9e69c0=_0xf9c4c1[_0x3835a1(0x344)]['tableOrder'][_0x3835a1(0x2dd)](_0xf9c4c1[_0x3835a1(0x473)]);if(!(!_0xf9c4c1[_0x3835a1(0x344)][_0x3835a1(0x258)][_0xf9c4c1[_0x3835a1(0x473)]]||_0x9e69c0<0x0))return{'id':J['id'],'params':{'unitId':_0xf9c4c1[_0x3835a1(0x199)],'op':new P()[_0x3835a1(0x2a3)](_0xf9c4c1[_0x3835a1(0x344)],_0xf9c4c1[_0x3835a1(0x473)]),'trigger':'embed-ui'}};}function hr(_0x1dedf5){const _0x5b5df0=_0xa3b18d;return{'version':0x1,'embedId':_0x1dedf5[_0x5b5df0(0x2df)],'hostAnchorId':_0x1dedf5[_0x5b5df0(0x394)],'childUnitId':_0x1dedf5[_0x5b5df0(0x22a)],'childType':_0x1dedf5[_0x5b5df0(0x173)]};}function gr(_0x524f3e){const _0x32bbdc=_0xa3b18d;var _0x4b3370;let _0x3772d2=Math[_0x32bbdc(0x21a)](0x0,Number((_0x4b3370=_0x524f3e[_0x32bbdc(0x209)])==null?0x0:_0x4b3370)),_0x47a52c=_0x524f3e['useThousands']===!0x1?'0':_0x32bbdc(0x1b7),_0x27a621=_0x3772d2?'.'+'0'[_0x32bbdc(0x1a1)](_0x3772d2):'',_0x305cfa=vr(_0x524f3e[_0x32bbdc(0x1ea)]);return''+(_0x524f3e[_0x32bbdc(0x3d7)]?yr(_0x524f3e[_0x32bbdc(0x3d7)]):'')+_0x47a52c+_0x27a621+_0x305cfa;}function _r(_0x4a6114,_0x724617){const _0x5bfeab=_0xa3b18d;let _0x10d198=gr(_0x724617),_0x376922=e[_0x5bfeab(0x2b7)]['format'](_0x10d198,_0x4a6114,{'throws':!0x1});return br(String(_0x376922),_0x724617[_0x5bfeab(0x280)],_0x724617[_0x5bfeab(0x2d5)]);}function vr(_0x22834c){const _0x510a46=_0xa3b18d;return _0x22834c==='K'?_0x510a46(0x38f):_0x22834c==='M'?_0x510a46(0x3e4):_0x22834c==='B'?_0x510a46(0x32f):'';}function yr(_0x1436ab){const _0x158c99=_0xa3b18d;return/^[A-Z]+$/i[_0x158c99(0x228)](_0x1436ab)?'\x22'+_0x1436ab+'\x22':_0x1436ab;}function br(_0x1ea1b4,_0x47b268,_0x5d366b){const _0x941b72=_0xa3b18d;let _0x4b7bb1=_0x47b268===_0x941b72(0x1eb)?xr(_0x5d366b):_0x47b268;return _0x4b7bb1===_0x941b72(0x21f)?_0x1ea1b4[_0x941b72(0x3ae)](/,/g,'\x00')[_0x941b72(0x3ae)](/\./g,',')[_0x941b72(0x3ae)](/\0/g,'.'):_0x4b7bb1===_0x941b72(0x33b)?_0x1ea1b4['replace'](/,/g,'\x20')['replace'](/\./g,','):_0x4b7bb1==='spacePeriod'?_0x1ea1b4[_0x941b72(0x3ae)](/,/g,'\x20'):_0x1ea1b4;}function xr(_0x1ecc98){const _0x307e59=_0xa3b18d;var _0x71ee61,_0x154b79;let _0x4f99f3=_0x1ecc98||Intl[_0x307e59(0x31d)]()[_0x307e59(0x18b)]()[_0x307e59(0x2d5)],_0x37eda5;try{_0x37eda5=new Intl[(_0x307e59(0x31d))](_0x4f99f3,{'minimumFractionDigits':0x2,'maximumFractionDigits':0x2,'useGrouping':!0x0})[_0x307e59(0x2bd)](0xf4240);}catch{return _0x307e59(0x313);}let _0x2fa3ad=(_0x71ee61=_0x37eda5[_0x307e59(0x484)](_0x44e57a=>_0x44e57a[_0x307e59(0x177)]===_0x307e59(0x1cb)))==null?void 0x0:_0x71ee61[_0x307e59(0x33c)],_0x48aa32=(_0x154b79=_0x37eda5[_0x307e59(0x484)](_0x265ca1=>_0x265ca1[_0x307e59(0x177)]===_0x307e59(0x44b)))==null?void 0x0:_0x154b79[_0x307e59(0x33c)],_0x65a715=_0x2fa3ad==='\u00a0'||_0x2fa3ad==='\u202f'?'\x20':_0x2fa3ad;return _0x65a715==='.'&&_0x48aa32===','?_0x307e59(0x21f):_0x65a715==='\x20'&&_0x48aa32===','?_0x307e59(0x33b):_0x65a715==='\x20'&&_0x48aa32==='.'?'spacePeriod':_0x307e59(0x313);}function Sr(_0x17c781,_0x29d0dd){const _0x2614b6=_0xa3b18d;var _0x53a523,_0x353678;let _0x546682=e[_0x2614b6(0x464)][_0x2614b6(0x188)](_0x17c781),_0x53880b=_0x29d0dd[_0x2614b6(0x19b)]===!0x0,_0x586afe=new Map(),_0x5cfe3d=(_0x53a523=_0x29d0dd[_0x2614b6(0x3bc)])==null?()=>_0x2614b6(0x240)+(0x0,e['generateRandomId'])(0x8):_0x53a523,_0x28842b=_0x546682[_0x2614b6(0x320)];return _0x29d0dd[_0x2614b6(0x400)]&&(_0x28842b=_0x546682[_0x2614b6(0x320)][_0x2614b6(0x1da)](_0x577ccd=>{const _0x4090e5=_0x2614b6;let _0x3bbab9=_0x5cfe3d();return _0x586afe[_0x4090e5(0x3e5)](_0x577ccd,_0x3bbab9),_0x3bbab9;})),{..._0x546682,'id':_0x29d0dd['id'],'name':_0x29d0dd[_0x2614b6(0x2cb)],'records':_0x53880b?_0x546682[_0x2614b6(0x332)]:{},'recordOrder':_0x53880b?_0x546682['recordOrder']:[],'rowIndex':_0x53880b?_0x546682['rowIndex']:{},'rowId':_0x53880b?_0x546682[_0x2614b6(0x262)]:{},'cellData':_0x53880b?_0x546682['cellData']:{},'resources':_0x53880b?_0x546682[_0x2614b6(0x37d)]:{},'viewOrder':_0x28842b,'views':Object[_0x2614b6(0x26d)](Object[_0x2614b6(0x217)]((_0x353678=_0x546682[_0x2614b6(0x411)])==null?{}:_0x353678)[_0x2614b6(0x1da)](([_0x11724c,_0xdf3bb])=>{const _0x4c5a42=_0x2614b6;var _0x26f00c;let _0x1fa73c=(_0x26f00c=_0x586afe[_0x4c5a42(0x221)](_0x11724c))==null?_0x29d0dd['regenerateViewIds']?_0x5cfe3d():_0x11724c:_0x26f00c;return[_0x1fa73c,{..._0xdf3bb,'id':_0x1fa73c,'tableId':_0x29d0dd['id']}];}))};}var Cr=_0xa3b18d(0x325),wr=_0xa3b18d(0x234);const Tr={},Er={};function Dr(_0x28f949){return new w()['getAffectedRanges'](_0x28f949);}function Or(_0x44c8ae){const _0x2f0cfe=_0xa3b18d;return _0x44c8ae[_0x2f0cfe(0x213)][_0x2f0cfe(0x1da)](_0x30694e=>({'unitId':_0x44c8ae[_0x2f0cfe(0x199)],'sheetId':_0x44c8ae[_0x2f0cfe(0x473)],'range':{'startRow':_0x30694e['row'],'endRow':_0x30694e['row'],'startColumn':_0x30694e[_0x2f0cfe(0x26e)],'endColumn':_0x30694e[_0x2f0cfe(0x26e)]}}));}function kr(_0x2b1354,_0x4680b8){return{[_0x2b1354]:Object['fromEntries'](_0x4680b8['map'](_0xf06b72=>[_0xf06b72,'1']))};}let Ar=class extends e[_0xa3b18d(0x3ca)]{constructor(_0x42fdfc,_0x3d2e1e){const _0x4aae24=_0xa3b18d;super(),this[_0x4aae24(0x483)]=_0x42fdfc,this[_0x4aae24(0x414)]=_0x3d2e1e,this['_initialize']();}[_0xa3b18d(0x1c1)](){const _0x2803c5=_0xa3b18d;this[_0x2803c5(0x483)][_0x2803c5(0x2cd)](J['id'],{'commandId':J['id'],'getDirtyData':_0x102064=>this[_0x2803c5(0x1ff)](_0x102064['params'])}),this[_0x2803c5(0x3d0)]((0x0,e['toDisposable'])(()=>{this['_activeDirtyManagerService']['remove'](J['id']);}));}[_0xa3b18d(0x347)](_0x2291f1,_0x2b7fc0){const _0x50e7e7=_0xa3b18d;var _0x145ba8;let _0x49ef57=this[_0x50e7e7(0x414)][_0x50e7e7(0x2d7)](_0x2291f1,e[_0x50e7e7(0x3b9)][_0x50e7e7(0x30f)]);return(_0x145ba8=_0x49ef57==null?void 0x0:_0x49ef57['getSnapshot']()['tables'][_0x2b7fc0])==null?null:_0x145ba8;}[_0xa3b18d(0x1ff)](_0x1bc4b9){const _0x472c22=_0xa3b18d;if(_0x1bc4b9[_0x472c22(0x24b)]===_0x472c22(0x31b))return{};if(!_0x1bc4b9[_0x472c22(0x199)]||!_0x1bc4b9['op'])return{'clearDependencyTreeCache':this[_0x472c22(0x1ba)](),'forceCalculation':!0x0};let _0x46a06f=Dr(_0x1bc4b9['op']),_0x1994d6=this['_getStructureDirtyTableIds'](_0x1bc4b9['unitId'],_0x46a06f);if(_0x1994d6[_0x472c22(0x333)])return{'clearDependencyTreeCache':kr(_0x1bc4b9[_0x472c22(0x199)],_0x1994d6),'forceCalculation':!0x0};let _0x597e47=Object['entries'](this[_0x472c22(0x298)](_0x1bc4b9[_0x472c22(0x199)],_0x46a06f))[_0x472c22(0x2f9)](([_0x45dbb4,_0xb0cde9])=>Or({'unitId':_0x1bc4b9[_0x472c22(0x199)],'tableId':_0x45dbb4,'patches':_0xb0cde9}));return _0x597e47[_0x472c22(0x333)]?{'dirtyRanges':_0x597e47}:{};}[_0xa3b18d(0x2d1)](_0x47fbe2,_0x21be7d){const _0x201ff7=_0xa3b18d;let _0xa366c=_0x21be7d[_0x201ff7(0x314)](_0x50c51c=>_0x50c51c[_0x201ff7(0x1e4)]!==_0x201ff7(0x32a))[_0x201ff7(0x2f9)](_0x36c8dc=>_0x36c8dc[_0x201ff7(0x473)]?[_0x36c8dc[_0x201ff7(0x473)]]:this[_0x201ff7(0x3cd)](_0x47fbe2));return Array[_0x201ff7(0x3aa)](new Set(_0xa366c));}['_groupCellInvalidations'](_0x2d6ede,_0x5ee803){const _0x890d49=_0xa3b18d;let _0xc0d5da=new Set();return _0x5ee803[_0x890d49(0x3fa)]((_0x13894c,_0x4b5c42)=>{const _0x3a892c=_0x890d49;var _0x153442;let _0x1e49ee=this[_0x3a892c(0x346)](_0x2d6ede,_0x4b5c42);if(!_0x1e49ee)return _0x13894c;let _0x22bf41=_0x4b5c42[_0x3a892c(0x473)]+':'+_0x1e49ee[_0x3a892c(0x33a)]+':'+_0x1e49ee[_0x3a892c(0x26e)];return _0xc0d5da['has'](_0x22bf41)?_0x13894c:(_0xc0d5da[_0x3a892c(0x204)](_0x22bf41),_0x13894c[_0x4b5c42[_0x3a892c(0x473)]]=(_0x153442=_0x13894c[_0x4b5c42[_0x3a892c(0x473)]])==null?[]:_0x153442,_0x13894c[_0x4b5c42[_0x3a892c(0x473)]][_0x3a892c(0x439)](_0x1e49ee),_0x13894c);},{});}[_0xa3b18d(0x346)](_0x202478,_0x4d2315){const _0x4b311e=_0xa3b18d;if(_0x4d2315[_0x4b311e(0x1e4)]!==_0x4b311e(0x32a))return null;if(_0x4d2315[_0x4b311e(0x33a)]!=null&&_0x4d2315[_0x4b311e(0x451)]!=null)return{'row':_0x4d2315[_0x4b311e(0x33a)],'col':_0x4d2315[_0x4b311e(0x451)],'value':null};if(!_0x4d2315[_0x4b311e(0x2f7)]||!_0x4d2315[_0x4b311e(0x2ee)])return null;let _0xbc7b34=this['_getTable'](_0x202478,_0x4d2315[_0x4b311e(0x473)]);if(!_0xbc7b34)return null;let _0x203c9e=h(_0xbc7b34,_0x4d2315[_0x4b311e(0x2f7)],_0x4d2315['fieldId']);return _0x203c9e?{'row':_0x203c9e[_0x4b311e(0x33a)],'col':_0x203c9e['col'],'value':null}:null;}[_0xa3b18d(0x3cd)](_0x578dbb){const _0x84567d=_0xa3b18d;var _0x33fec8;let _0x318989=this['_univerInstanceService']['getUnit'](_0x578dbb,e['UniverInstanceType'][_0x84567d(0x30f)]);return Object[_0x84567d(0x29e)]((_0x33fec8=_0x318989==null?void 0x0:_0x318989[_0x84567d(0x2ab)]()[_0x84567d(0x258)])==null?{}:_0x33fec8)[_0x84567d(0x1da)](_0x228b7a=>_0x228b7a['id']);}[_0xa3b18d(0x1ba)](){const _0x586215=_0xa3b18d;let _0x229a23=this['_univerInstanceService'][_0x586215(0x2f6)](e[_0x586215(0x3b9)]['UNIVER_BASE'])[_0x586215(0x1da)](_0x3994a4=>kr(_0x3994a4[_0x586215(0x446)](),Object[_0x586215(0x1c8)](_0x3994a4[_0x586215(0x2ab)]()[_0x586215(0x258)])));return Object[_0x586215(0x3c7)]({},..._0x229a23);}};Ar=B([z(0x0,t[_0xa3b18d(0x3e9)]),z(0x1,e[_0xa3b18d(0x1be)])],Ar);const jr=e[_0xa3b18d(0x37b)][_0xa3b18d(0x1c2)](String[_0xa3b18d(0x32e)]`(?:^|\W)\$?[A-Z]{1,3}\$?\d+(?::\$?[A-Z]{1,3}\$?\d+)?(?:$|\W)`),Mr=e[_0xa3b18d(0x37b)][_0xa3b18d(0x1c2)](String[_0xa3b18d(0x32e)]`(?:'\[[^\]]+\](?:[^']|'')+'|\[[^\]]+\][^\s'!]+)!\$?[A-Z]{1,3}\$?\d+(?::\$?[A-Z]{1,3}\$?\d+)?`,'gi'),Nr=/\{([^}]+)\}/g,Pr=e[_0xa3b18d(0x37b)][_0xa3b18d(0x1c2)](String[_0xa3b18d(0x32e)]`\b([A-Z_]\w*)\[([^\]]+)\]`,'gi'),Fr=e[_0xa3b18d(0x37b)][_0xa3b18d(0x1c2)](String[_0xa3b18d(0x32e)]`(^|[^\w\][])\[([^\]]+)\]`,'g');var Ir=class{[_0xa3b18d(0x31f)](_0x4c3c12,_0x12a733=_0x4c3c12['id']){const _0x15b19c=_0xa3b18d;var _0x4ba6d5,_0xc5dbd1;let _0x57140b=(_0x4ba6d5=(_0xc5dbd1=_0x4c3c12[_0x15b19c(0x47c)])==null?void 0x0:_0xc5dbd1['length'])==null?Object['values'](_0x4c3c12[_0x15b19c(0x332)])[_0x15b19c(0x333)]:_0x4ba6d5;return{'sheetId':_0x12a733,'titleMap':new Map(_0x4c3c12[_0x15b19c(0x2d8)][_0x15b19c(0x1da)]((_0x37c82c,_0x4aaf36)=>{const _0x46cd2d=_0x15b19c;var _0x559d4d,_0x17ddc4;return[(_0x559d4d=(_0x17ddc4=_0x4c3c12[_0x46cd2d(0x35e)][_0x37c82c])==null?void 0x0:_0x17ddc4['name'])==null?_0x37c82c:_0x559d4d,_0x4aaf36];})),'range':{'startRow':0x0,'endRow':Math['max'](0x0,_0x57140b-0x1),'startColumn':0x0,'endColumn':Math[_0x15b19c(0x21a)](0x0,_0x4c3c12['fieldOrder'][_0x15b19c(0x333)]-0x1)},'showHeader':!0x1};}[_0xa3b18d(0x1ee)](_0x4c5cea,_0x305f20,_0x187e9c,_0xbc4f50={}){const _0x477cd8=_0xa3b18d;var _0x2c12e8;let _0xca9ec3=this[_0x477cd8(0x31f)](_0x187e9c,(_0x2c12e8=_0xbc4f50['sheetId'])==null?_0x187e9c['id']:_0x2c12e8);return new Set([_0x187e9c['id'],_0x187e9c[_0x477cd8(0x2cb)],_0xbc4f50[_0x477cd8(0x25b)]]['filter'](_0x2fb2a6=>!!_0x2fb2a6))[_0x477cd8(0x465)](_0x522b93=>_0x4c5cea[_0x477cd8(0x1f5)](_0x305f20,_0x522b93,_0xca9ec3)),_0xca9ec3;}[_0xa3b18d(0x207)](_0x5356d9,_0x7add64){const _0x254d18=_0xa3b18d;let _0x8bce42=this['getSuperTableRegistrations'](_0x7add64);return _0x8bce42[_0x254d18(0x465)](({tableName:_0xf03d1,reference:_0x37fc71})=>{const _0x48d7bb=_0x254d18;_0x5356d9[_0x48d7bb(0x1f5)](_0x7add64['id'],_0xf03d1,_0x37fc71);}),Array[_0x254d18(0x3aa)](new Set(_0x8bce42[_0x254d18(0x1da)](({reference:_0x4613a4})=>_0x4613a4)));}[_0xa3b18d(0x2c0)](_0x1a5d46,_0x19ec36){const _0x4bb102=_0xa3b18d;let _0x493ec7=[],_0x58fd54=_0x19ec36?new Set(_0x19ec36):null,_0x255473=new Map();return Object[_0x4bb102(0x29e)](_0x1a5d46['tables'])[_0x4bb102(0x465)](_0x57836=>{const _0x3997da=_0x4bb102;var _0x371332;let _0x4ea593=_0x57836['name']['trim']()[_0x3997da(0x2f2)]();_0x255473[_0x3997da(0x3e5)](_0x4ea593,((_0x371332=_0x255473[_0x3997da(0x221)](_0x4ea593))==null?0x0:_0x371332)+0x1);}),Object[_0x4bb102(0x29e)](_0x1a5d46['tables'])[_0x4bb102(0x314)](_0x554dd6=>!_0x58fd54||_0x58fd54['has'](_0x554dd6['id']))[_0x4bb102(0x465)](_0x388161=>{const _0x184d34=_0x4bb102;var _0x1dfd1b;let _0x4fc6e9=this['createSuperTableReference'](_0x388161,_0x388161['id']);_0x493ec7['push']({'tableId':_0x388161['id'],'tableName':_0x388161['id'],'reference':_0x4fc6e9}),((_0x1dfd1b=_0x255473['get'](_0x388161[_0x184d34(0x2cb)][_0x184d34(0x41e)]()[_0x184d34(0x2f2)]()))==null?0x0:_0x1dfd1b)===0x1&&_0x493ec7['push']({'tableId':_0x388161['id'],'tableName':_0x388161[_0x184d34(0x2cb)],'reference':_0x4fc6e9});}),_0x493ec7;}[_0xa3b18d(0x44c)](_0x2f21f6,_0x442d08,_0x366a0a={}){const _0xb99721=_0xa3b18d;let _0x12704b=_0x2f21f6[_0xb99721(0x41e)]();if(!_0x12704b)return{'valid':!0x0};if(Hr(_0x12704b))return{'valid':!0x1,'reason':'[BaseFormula]:\x20A1\x20references\x20and\x20ranges\x20are\x20not\x20supported\x20in\x20Base\x20formulas.'};for(let _0x4c6b9e of Vr(_0x12704b)){let _0x1da906=qr(_0x4c6b9e,_0x442d08,_0x366a0a[_0xb99721(0x344)]);if(!_0x1da906['table'])return{'valid':!0x1,'reason':'[BaseFormula]:\x20table\x20\x22'+_0x4c6b9e[_0xb99721(0x25b)]+_0xb99721(0x29d)};if(!_0x1da906[_0xb99721(0x41c)])return{'valid':!0x1,'reason':_0xb99721(0x1f4)+_0x4c6b9e[_0xb99721(0x362)]+_0xb99721(0x29d)};}return{'valid':!0x0};}[_0xa3b18d(0x218)](_0x49e273,_0x28a93a,_0x32a731={}){const _0x53d263=_0xa3b18d;let _0x3fce14=new Set();for(let _0x2f4816 of this[_0x53d263(0x38a)](_0x49e273,_0x28a93a,_0x32a731))_0x2f4816['tableId']===_0x28a93a['id']&&_0x3fce14['add'](_0x2f4816[_0x53d263(0x2ee)]);return Array['from'](_0x3fce14);}['getStructuredDependencies'](_0x12e936,_0x38c90a,_0x304ad7={}){const _0x234d35=_0xa3b18d;let _0x400616=new Map();for(let _0x1d4786 of Vr(_0x12e936)){let _0x5dc1fa=qr(_0x1d4786,_0x38c90a,_0x304ad7[_0x234d35(0x344)]);if(!_0x5dc1fa['table']||!_0x5dc1fa[_0x234d35(0x41c)])continue;let _0x518772=_0x5dc1fa['table']['id']+'\x1f'+_0x5dc1fa['field']['id'];_0x400616['set'](_0x518772,{'tableId':_0x5dc1fa[_0x234d35(0x3ac)]['id'],'fieldId':_0x5dc1fa['field']['id']});}return Array[_0x234d35(0x3aa)](_0x400616['values']());}};function Lr(_0x21be20,_0x53107a){const _0x2fb77f=_0xa3b18d;var _0x46c17;let _0x19be9c=[],_0x511e3f=(_0x46c17=_0x53107a[_0x2fb77f(0x45d)])==null?void 0x0:_0x46c17[_0x21be20['id']];return _0x511e3f&&Object['entries'](_0x511e3f)[_0x2fb77f(0x465)](([_0x561ac2,_0x3fe9a5])=>{const _0x505330=_0x2fb77f;let _0x3aa4fd=_0x21be20[_0x505330(0x258)][_0x561ac2];if(!_0x3aa4fd||!_0x3fe9a5)return;let _0x5ee490=d(_0x3aa4fd),_0x52d194=[];new e[(_0x505330(0x272))](_0x3fe9a5)[_0x505330(0x33f)]((_0x268595,_0x1734ab,_0x50a889)=>{let _0x4e559d=Rr(_0x5ee490,_0x268595,_0x1734ab,_0x50a889);_0x4e559d&&_0x52d194['push'](_0x4e559d);}),_0x52d194[_0x505330(0x333)]&&_0x19be9c['push']({'unitId':_0x21be20['id'],'tableId':_0x561ac2,'patches':_0x52d194});}),_0x19be9c;}function Rr(_0x59c9ed,_0x18a804,_0x3c46cc,_0x19b6e2){const _0x3a8dd6=_0xa3b18d;var _0x2a0ac1,_0x59ddd3,_0x419831,_0x4c4e8f,_0x16cf3c;let _0x31b7fe=(_0x2a0ac1=_0x59c9ed[_0x3a8dd6(0x262)])==null?void 0x0:_0x2a0ac1[_0x18a804],_0x45bfb1=(_0x59ddd3=_0x59c9ed[_0x3a8dd6(0x171)])==null?void 0x0:_0x59ddd3[_0x3c46cc];if(!_0x31b7fe||!_0x59c9ed['records'][_0x31b7fe]||!_0x45bfb1)return null;let _0x376dc1=_0x59c9ed[_0x3a8dd6(0x35e)][_0x45bfb1];if(!_0x376dc1||_0x376dc1[_0x3a8dd6(0x177)]!==_0x3a8dd6(0x382))return null;let _0x1d8361=String((_0x419831=(_0x4c4e8f=_0x376dc1['config'])==null?void 0x0:_0x4c4e8f[_0x3a8dd6(0x382)])==null?'':_0x419831)[_0x3a8dd6(0x41e)](),_0x1b987f=(_0x16cf3c=_0x19b6e2==null?void 0x0:_0x19b6e2['v'])==null?null:_0x16cf3c,_0x19c4b8={'v':_0x1b987f,'t':Br(_0x1b987f),..._0x18a804===0x0&&_0x1d8361?{'f':_0x1d8361}:{},'si':_0x376dc1['id']};return zr(g(_0x59c9ed,_0x31b7fe,_0x45bfb1),_0x19c4b8)?null:{'row':_0x18a804,'col':_0x3c46cc,'value':_0x19c4b8};}function zr(_0x10eef1,_0x41067e){var _0x9b58af,_0x25811d;return _0x10eef1!=null&&Object['is']((_0x9b58af=_0x10eef1['v'])==null?null:_0x9b58af,(_0x25811d=_0x41067e['v'])==null?null:_0x25811d)&&_0x10eef1['t']===_0x41067e['t']&&_0x10eef1['f']===_0x41067e['f']&&_0x10eef1['si']===_0x41067e['si'];}function Br(_0x55795f){const _0x3f3024=_0xa3b18d;return typeof _0x55795f==_0x3f3024(0x3fe)?e[_0x3f3024(0x2a0)][_0x3f3024(0x268)]:typeof _0x55795f==_0x3f3024(0x25f)?e[_0x3f3024(0x2a0)][_0x3f3024(0x2e1)]:typeof _0x55795f==_0x3f3024(0x181)?e[_0x3f3024(0x2a0)]['STRING']:null;}function Vr(_0x3af6a9){const _0x647737=_0xa3b18d;_0x3af6a9=Ur(_0x3af6a9,()=>'');let _0x477fb9=new Map();for(let _0x4870bb of _0x3af6a9[_0x647737(0x250)](Nr)){let _0x2d74c1={'fieldName':_0x4870bb[0x1]};_0x477fb9[_0x647737(0x3e5)]('\x1f'+_0x2d74c1[_0x647737(0x362)],_0x2d74c1);}for(let _0x4d16b4 of _0x3af6a9['matchAll'](Pr)){let _0x5ab536={'tableName':_0x4d16b4[0x1],'fieldName':_0x4d16b4[0x2]};_0x477fb9[_0x647737(0x3e5)](_0x5ab536[_0x647737(0x25b)]+'\x1f'+_0x5ab536[_0x647737(0x362)],_0x5ab536);}for(let _0x1b93b9 of _0x3af6a9[_0x647737(0x250)](Fr)){let _0x40614f={'fieldName':_0x1b93b9[0x2]};_0x477fb9[_0x647737(0x3e5)]('\x1f'+_0x40614f[_0x647737(0x362)],_0x40614f);}return Array[_0x647737(0x3aa)](_0x477fb9[_0x647737(0x29e)]());}function Hr(_0xe4811){const _0x4518cb=_0xa3b18d;let _0x9fe425=Wr(_0xe4811,()=>'\x20')[_0x4518cb(0x3ae)](Nr,'\x20')['replace'](Pr,'\x20')[_0x4518cb(0x3ae)](Fr,_0x4518cb(0x1a2));return jr['test'](_0x9fe425);}function Ur(_0x233581,_0x52187a){return Gr(Wr(_0x233581,_0x52187a),_0x52187a);}function Wr(_0x4eaad0,_0x5d3074){return Mr['lastIndex']=0x0,_0x4eaad0['replace'](Mr,(_0xa7cc0,_0x50eace)=>Kr(_0x4eaad0,_0x50eace)?_0xa7cc0:_0x5d3074(_0xa7cc0));}const X=/(?:'((?:[^']|'')+)'|\[[^\]]+\]|[A-Za-z0-9_.-]+)![^\s!\[\]]+\[/g;function Gr(_0x49bb3e,_0x2ae38e){const _0x4e60cc=_0xa3b18d;let _0x483865=[];X[_0x4e60cc(0x3d8)]=0x0;let _0x2d865f;for(;(_0x2d865f=X['exec'](_0x49bb3e))!=null;){if(Kr(_0x49bb3e,_0x2d865f['index']))continue;let _0x3c1194=X['lastIndex']-0x1,_0x448462=0x0;for(let _0x4bd74d=_0x3c1194;_0x4bd74d<_0x49bb3e[_0x4e60cc(0x333)];_0x4bd74d++)if(_0x49bb3e[_0x4bd74d]==='['&&_0x448462++,_0x49bb3e[_0x4bd74d]===']'&&(_0x448462--,_0x448462===0x0)){_0x483865['push']({'start':_0x2d865f[_0x4e60cc(0x25a)],'end':_0x4bd74d+0x1}),X[_0x4e60cc(0x3d8)]=_0x4bd74d+0x1;break;}}if(_0x483865[_0x4e60cc(0x333)]===0x0)return _0x49bb3e;let _0x40bfa0='',_0x1af452=0x0;for(let _0x405ba3 of _0x483865)_0x40bfa0+=_0x49bb3e['slice'](_0x1af452,_0x405ba3['start']),_0x40bfa0+=_0x2ae38e(_0x49bb3e[_0x4e60cc(0x2ce)](_0x405ba3[_0x4e60cc(0x384)],_0x405ba3['end'])),_0x1af452=_0x405ba3[_0x4e60cc(0x25c)];return _0x40bfa0+_0x49bb3e[_0x4e60cc(0x2ce)](_0x1af452);}function Kr(_0x12eb40,_0x3b2ae1){let _0x1461ed=!0x1;for(let _0xf7b9b7=0x0;_0xf7b9b7<_0x3b2ae1;_0xf7b9b7++)if(_0x12eb40[_0xf7b9b7]==='\x22'){if(_0x1461ed&&_0x12eb40[_0xf7b9b7+0x1]==='\x22'){_0xf7b9b7++;continue;}_0x1461ed=!_0x1461ed;}return _0x1461ed;}function qr(_0x181f1d,_0x7ec13a,_0x471180){const _0x279a25=_0xa3b18d;let _0xa4d772=Jr(_0x181f1d['tableName'],_0x7ec13a,_0x471180);return{'table':_0xa4d772,'field':_0xa4d772?Object[_0x279a25(0x29e)](_0xa4d772[_0x279a25(0x35e)])[_0x279a25(0x484)](_0x35044b=>_0x35044b['name']===_0x181f1d[_0x279a25(0x362)]):void 0x0};}function Jr(_0x19e492,_0x106c9f,_0x32729a){const _0x50fa92=_0xa3b18d;if(!_0x19e492||_0x19e492===_0x50fa92(0x3ac)||_0x19e492===_0x106c9f['id']||_0x19e492===_0x106c9f['name'])return _0x106c9f;if(!_0x32729a)return;let _0x3b1b2a=_0x32729a[_0x50fa92(0x258)][_0x19e492];if(_0x3b1b2a)return _0x3b1b2a;let _0x39b268=Object[_0x50fa92(0x29e)](_0x32729a[_0x50fa92(0x258)])[_0x50fa92(0x314)](_0xfedcc1=>_0xfedcc1[_0x50fa92(0x2cb)]===_0x19e492);return _0x39b268['length']===0x1?_0x39b268[0x0]:void 0x0;}let Yr=class extends e['Disposable']{constructor(_0x174331,_0x27597f,_0x312f7e){const _0x828372=_0xa3b18d;super(),this['_commandService']=_0x174331,this[_0x828372(0x414)]=_0x27597f,I(this,_0x828372(0x256),new Ir()),I(this,_0x828372(0x3a2),new Map()),I(this,_0x828372(0x225),Promise[_0x828372(0x310)]()),I(this,_0x828372(0x22c),!0x1),this[_0x828372(0x1c1)]();}[_0xa3b18d(0x1c1)](){const _0x11f61f=_0xa3b18d;this[_0x11f61f(0x414)][_0x11f61f(0x2f6)](e[_0x11f61f(0x3b9)][_0x11f61f(0x30f)])[_0x11f61f(0x465)](_0x4e67d8=>{const _0x587218=_0x11f61f;this[_0x587218(0x1b2)](async()=>{const _0x1fc9b9=_0x587218;await this[_0x1fc9b9(0x38c)](_0x4e67d8);});}),this[_0x11f61f(0x3d0)](this['_univerInstanceService']['getTypeOfUnitAdded$'](e[_0x11f61f(0x3b9)][_0x11f61f(0x30f)])[_0x11f61f(0x1d5)](({unit:_0x43d484})=>{this['_enqueueFormulaSync'](async()=>{const _0x4647b5=_0xfdce;await this[_0x4647b5(0x38c)](_0x43d484);});})),this['disposeWithMe'](this['_univerInstanceService'][_0x11f61f(0x1e1)](e[_0x11f61f(0x3b9)][_0x11f61f(0x30f)])[_0x11f61f(0x1d5)](_0x49cda7=>{const _0x49ee01=_0x11f61f;this[_0x49ee01(0x1b2)](()=>this[_0x49ee01(0x3c8)](_0x49cda7[_0x49ee01(0x446)]()));})),this[_0x11f61f(0x3d0)](this[_0x11f61f(0x1ca)][_0x11f61f(0x34e)](_0x2367f0=>this['_onCommandExecuted'](_0x2367f0)));}[_0xa3b18d(0x19c)](_0x463176){const _0x4a0efc=_0xa3b18d;if(_0x463176['id']===t['SetFormulaCalculationResultMutation']['id']){Zr(_0x463176[_0x4a0efc(0x469)])&&this['_applyFormulaResult'](_0x463176[_0x4a0efc(0x469)]);return;}if(this[_0x4a0efc(0x22c)]||_0x463176['id']!==J['id'])return;let _0x19e9ae=Xr(_0x463176[_0x4a0efc(0x469)])?_0x463176[_0x4a0efc(0x469)]:void 0x0,_0xee16aa=_0x19e9ae!=null&&_0x19e9ae['unitId']?[this[_0x4a0efc(0x414)][_0x4a0efc(0x2d7)](_0x19e9ae['unitId'],e[_0x4a0efc(0x3b9)]['UNIVER_BASE'])]['filter'](_0x986a3a=>!!_0x986a3a):this[_0x4a0efc(0x414)]['getAllUnitsForType'](e['UniverInstanceType']['UNIVER_BASE']),_0x2525ba=_0x19e9ae==null?void 0x0:_0x19e9ae['op'];_0xee16aa[_0x4a0efc(0x465)](_0x342248=>{const _0x505c54=_0x4a0efc;let _0x36fc48=_0x2525ba?Dr(_0x2525ba):[];(!_0x2525ba||_0x36fc48[_0x505c54(0x24e)](_0x3cc6b4=>_0x3cc6b4[_0x505c54(0x1e4)]!=='cell'))&&this['_enqueueFormulaSync'](()=>this['_syncSuperTables'](_0x342248));});}async[_0xa3b18d(0x38c)](_0x4cc913){const _0x58e13e=_0xa3b18d;var _0x42d753;let _0x4b1a04=_0x4cc913['getUnitId'](),_0x1819d3=this[_0x58e13e(0x256)][_0x58e13e(0x2c0)](_0x4cc913['getSnapshot']()),_0x1bb1c6=new Set(_0x1819d3['map'](({tableName:_0x67d31d})=>_0x67d31d)),_0x232b1e=(_0x42d753=this[_0x58e13e(0x3a2)][_0x58e13e(0x221)](_0x4b1a04))==null?new Set():_0x42d753;for(let _0x488906 of _0x232b1e)_0x1bb1c6[_0x58e13e(0x397)](_0x488906)||await this['_commandService'][_0x58e13e(0x1db)](t[_0x58e13e(0x245)]['id'],{'unitId':_0x4b1a04,'tableName':_0x488906});for(let {tableName:_0x24f5b2,reference:_0x153f63}of _0x1819d3)await this['_commandService'][_0x58e13e(0x1db)](t['SetSuperTableMutation']['id'],{'unitId':_0x4b1a04,'tableName':_0x24f5b2,'reference':_0x153f63});this[_0x58e13e(0x3a2)]['set'](_0x4b1a04,_0x1bb1c6);}async['_removeSuperTables'](_0x594e0a){const _0x8df54a=_0xa3b18d;var _0x16744d;let _0x35ebb0=(_0x16744d=this[_0x8df54a(0x3a2)][_0x8df54a(0x221)](_0x594e0a))==null?new Set():_0x16744d;for(let _0x1a1ff7 of _0x35ebb0)await this['_commandService'][_0x8df54a(0x1db)](t['RemoveSuperTableMutation']['id'],{'unitId':_0x594e0a,'tableName':_0x1a1ff7});this[_0x8df54a(0x3a2)][_0x8df54a(0x3e1)](_0x594e0a);}[_0xa3b18d(0x1b2)](_0x1dcea9){const _0x31e929=_0xa3b18d;this[_0x31e929(0x225)]=this[_0x31e929(0x225)][_0x31e929(0x37f)](_0x1dcea9,_0x1dcea9)[_0x31e929(0x3fb)](()=>void 0x0);}['_applyFormulaResult'](_0xe69d4a){const _0x48bf07=_0xa3b18d;let _0x412b7f=this['_univerInstanceService'][_0x48bf07(0x2f6)](e[_0x48bf07(0x3b9)][_0x48bf07(0x30f)])['flatMap'](_0x32b5d4=>Lr(_0x32b5d4[_0x48bf07(0x2ab)](),_0xe69d4a));if(!_0x412b7f['length'])return;let _0x57898a=new P(),_0x12499c=_0x412b7f[_0x48bf07(0x2f9)](_0x1ec5fc=>Or({'unitId':_0x1ec5fc[_0x48bf07(0x199)],'tableId':_0x1ec5fc[_0x48bf07(0x473)],'patches':_0x1ec5fc[_0x48bf07(0x213)]}));this[_0x48bf07(0x22c)]=!0x0,(async()=>{const _0x508d8b=_0x48bf07;for(let _0x46dcb2 of _0x412b7f){let _0x2e0133=this[_0x508d8b(0x414)]['getUnit'](_0x46dcb2[_0x508d8b(0x199)],e[_0x508d8b(0x3b9)]['UNIVER_BASE']);_0x2e0133&&await this[_0x508d8b(0x1ca)][_0x508d8b(0x1db)](J['id'],{'unitId':_0x46dcb2[_0x508d8b(0x199)],'op':_0x57898a[_0x508d8b(0x27f)](_0x2e0133[_0x508d8b(0x2ab)](),_0x46dcb2[_0x508d8b(0x473)],_0x46dcb2['patches']),'trigger':t[_0x508d8b(0x287)]['id']},{'onlyLocal':!0x0});}await this['_commandService'][_0x508d8b(0x1db)](t[_0x508d8b(0x36c)]['id'],{'dirtyRanges':_0x12499c},{'onlyLocal':!0x0});})()[_0x48bf07(0x1e7)](()=>{this['_applyingFormulaResults']=!0x1;});}};Yr=B([z(0x0,e['ICommandService']),z(0x1,e[_0xa3b18d(0x1be)]),z(0x2,(0x0,e['Inject'])(t[_0xa3b18d(0x2bf)]))],Yr);function Xr(_0x27417d){const _0x5af452=_0xa3b18d;return typeof _0x27417d==_0x5af452(0x20d)&&!!_0x27417d&&_0x5af452(0x199)in _0x27417d&&typeof _0x27417d[_0x5af452(0x199)]==_0x5af452(0x181)&&'op'in _0x27417d&&Array['isArray'](_0x27417d['op']);}function Zr(_0x4a84a3){const _0x217a6a=_0xa3b18d;return typeof _0x4a84a3==_0x217a6a(0x20d)&&!!_0x4a84a3&&'unitData'in _0x4a84a3&&_0x217a6a(0x30c)in _0x4a84a3;}const Qr=(0x0,e[_0xa3b18d(0x2db)])('base.resource.service');let $r=class{constructor(_0x5d26ad){const _0x30cf69=_0xa3b18d;this[_0x30cf69(0x414)]=_0x5d26ad;}[_0xa3b18d(0x2aa)](_0x1398a6){const _0x5a2093=_0xa3b18d;var _0x20898e;return(_0x20898e=this['_univerInstanceService'][_0x5a2093(0x2d7)](_0x1398a6,e[_0x5a2093(0x3b9)]['UNIVER_BASE']))==null?null:_0x20898e;}[_0xa3b18d(0x20a)](){const _0x25f4e5=_0xa3b18d;return this['_univerInstanceService'][_0x25f4e5(0x2f6)](e[_0x25f4e5(0x3b9)][_0x25f4e5(0x30f)]);}[_0xa3b18d(0x3dc)](_0x301c3a){const _0x7f4bc8=_0xa3b18d;return this[_0x7f4bc8(0x414)][_0x7f4bc8(0x16f)](e[_0x7f4bc8(0x3b9)][_0x7f4bc8(0x30f)],_0x301c3a);}};$r=B([z(0x0,e[_0xa3b18d(0x1be)])],$r);const ei=(0x0,e[_0xa3b18d(0x2db)])(_0xa3b18d(0x1d0));var ti=class extends e['Disposable']{constructor(..._0x9f823){const _0x429800=_0xa3b18d;super(..._0x9f823),I(this,_0x429800(0x22f),new Map());}['register'](_0x1b5064){const _0x4528f0=_0xa3b18d;return this[_0x4528f0(0x22f)]['set'](_0x1b5064['type'],_0x1b5064),(0x0,e[_0x4528f0(0x41b)])(()=>this[_0x4528f0(0x22f)][_0x4528f0(0x3e1)](_0x1b5064['type']));}[_0xa3b18d(0x221)](_0x1c37f5){const _0xccf40a=_0xa3b18d;let _0x212dab=this[_0xccf40a(0x22f)]['get'](_0x1c37f5);if(!_0x212dab)throw Error(_0xccf40a(0x457)+_0x1c37f5+_0xccf40a(0x1fd));return _0x212dab;}[_0xa3b18d(0x27e)](){const _0x627c8c=_0xa3b18d;return Array[_0x627c8c(0x3aa)](this['_plugins'][_0x627c8c(0x29e)]());}};const ni=[J];let Z=class extends e[_0xa3b18d(0x1f9)]{constructor(_0x48ed44=Tr,_0x277816,_0x35a2,_0xdc3aff,_0x57b107,_0x127cf2){const _0xdb9e16=_0xa3b18d;super(),this['_config']=_0x48ed44,this[_0xdb9e16(0x46a)]=_0x277816,this['_commandService']=_0x35a2,this[_0xdb9e16(0x414)]=_0xdc3aff,this[_0xdb9e16(0x1cd)]=_0x57b107,this['_dataSyncPrimaryController']=_0x127cf2,I(this,_0xdb9e16(0x43c),new Map());let {..._0x491e63}=(0x0,e[_0xdb9e16(0x2f3)])({},Tr,this[_0xdb9e16(0x47b)]);this[_0xdb9e16(0x1cd)][_0xdb9e16(0x1b8)]('bases.config',_0x491e63),this['_univerInstanceService'][_0xdb9e16(0x42c)](e['UniverInstanceType'][_0xdb9e16(0x30f)],e[_0xdb9e16(0x1ef)]),this[_0xdb9e16(0x1b6)](),this['_initCommands'](),this[_0xdb9e16(0x438)](),this['_initDataSync']();}[_0xa3b18d(0x462)](){const _0x278d64=_0xa3b18d;(0x0,e[_0x278d64(0x190)])(this[_0x278d64(0x46a)],[[$r],[H],[Ar]]),this[_0x278d64(0x414)][_0x278d64(0x2f6)](e[_0x278d64(0x3b9)][_0x278d64(0x30f)])[_0x278d64(0x465)](_0x447839=>this[_0x278d64(0x317)](_0x447839[_0x278d64(0x446)]())),(0x0,e[_0x278d64(0x190)])(this[_0x278d64(0x46a)],[[Yr]]);}[_0xa3b18d(0x1b6)](){const _0x243cd1=_0xa3b18d;[[L,{'useClass':St}],[ei,{'useClass':ti}],[Ft,{'useClass':Lt}],[Qr,{'useClass':$r}],[Ct,{'useClass':wt}],[V,{'useClass':H}],[Ar],[Yr]]['forEach'](_0x13c621=>this[_0x243cd1(0x46a)][_0x243cd1(0x204)](_0x13c621));}[_0xa3b18d(0x46e)](){const _0x54473a=_0xa3b18d;[yn,Kn,Ln,ir,Zn,Xn,vn,mn,In,hn,Bn,cr,_n,zn,or,ar,gn,Fn,Wn,Pn,Vn,qn,Yn,Rn,Gn,lr,Jn,sr,tr,rr,nr,$n,er,Qn,...ni][_0x54473a(0x465)](_0x5946f8=>this[_0x54473a(0x3d0)](this[_0x54473a(0x1ca)]['registerCommand'](_0x5946f8))),ni['forEach'](_0x5d64db=>{const _0x3710fa=_0x54473a;var _0x320dda;return(_0x320dda=this[_0x3710fa(0x32c)])==null?void 0x0:_0x320dda[_0x3710fa(0x22b)](_0x5d64db);});}[_0xa3b18d(0x468)](){const _0x4c84b9=_0xa3b18d;this[_0x4c84b9(0x32c)]&&(this['disposeWithMe'](this['_univerInstanceService']['getTypeOfUnitAdded$'](e[_0x4c84b9(0x3b9)]['UNIVER_BASE'])['subscribe'](({unit:_0x8add92})=>{const _0x4a4fc0=_0x4c84b9;this[_0x4a4fc0(0x317)](_0x8add92[_0x4a4fc0(0x446)]());})),this[_0x4c84b9(0x3d0)](this['_univerInstanceService'][_0x4c84b9(0x1e1)](e[_0x4c84b9(0x3b9)]['UNIVER_BASE'])[_0x4c84b9(0x1d5)](_0x43b081=>{const _0x2c6f8c=_0x4c84b9;var _0xee7195;(_0xee7195=this[_0x2c6f8c(0x43c)][_0x2c6f8c(0x221)](_0x43b081[_0x2c6f8c(0x446)]()))==null||_0xee7195[_0x2c6f8c(0x405)](),this[_0x2c6f8c(0x43c)][_0x2c6f8c(0x3e1)](_0x43b081['getUnitId']());})));}[_0xa3b18d(0x317)](_0x1e895a){const _0xc41620=_0xa3b18d;!this['_dataSyncPrimaryController']||this['_baseSyncDisposables']['has'](_0x1e895a)||this[_0xc41620(0x43c)][_0xc41620(0x3e5)](_0x1e895a,this[_0xc41620(0x32c)][_0xc41620(0x2e7)](_0x1e895a));}['_initRegistries'](){const _0x556156=_0xa3b18d;let _0x1a6df1=this[_0x556156(0x46a)]['get'](L);Qe()[_0x556156(0x465)](_0xb7f6ca=>_0x1a6df1[_0x556156(0x2cd)](_0xb7f6ca));let _0x439ea7=this[_0x556156(0x46a)][_0x556156(0x221)](ei),_0x13a6bd=this[_0x556156(0x46a)][_0x556156(0x221)](Ft);At()[_0x556156(0x465)](_0x16f3a1=>{const _0x248268=_0x556156;_0x439ea7[_0x248268(0x2cd)](_0x16f3a1),_0x13a6bd[_0x248268(0x17b)](_0x16f3a1);});}};I(Z,_0xa3b18d(0x389),_0xa3b18d(0x421)),I(Z,_0xa3b18d(0x2e9),Cr),I(Z,_0xa3b18d(0x448),wr),I(Z,_0xa3b18d(0x177),e[_0xa3b18d(0x3b9)][_0xa3b18d(0x30f)]),Z=B([(0x0,e['DependentOn'])(n[_0xa3b18d(0x1f8)],t[_0xa3b18d(0x340)]),z(0x1,(0x0,e[_0xa3b18d(0x1c0)])(e[_0xa3b18d(0x3df)])),z(0x2,e['ICommandService']),z(0x3,e[_0xa3b18d(0x1be)]),z(0x4,e['IConfigService']),z(0x5,(0x0,e['Optional'])(r[_0xa3b18d(0x44f)]))],Z);let Q=class extends e[_0xa3b18d(0x1f9)]{constructor(_0x4f5a2a=Er,_0x1bf805,_0x59d94a,_0x222a1a,_0xc70475){const _0xc5fe39=_0xa3b18d;super(),this['_config']=_0x4f5a2a,this[_0xc5fe39(0x46a)]=_0x1bf805,this[_0xc5fe39(0x1ca)]=_0x59d94a,this[_0xc5fe39(0x1cd)]=_0x222a1a,this['_univerInstanceService']=_0xc70475;let {..._0x2946c6}=(0x0,e[_0xc5fe39(0x2f3)])({},Er,this['_config']);this[_0xc5fe39(0x1cd)][_0xc5fe39(0x1b8)]('bases.remote.config',_0x2946c6),this[_0xc5fe39(0x414)][_0xc5fe39(0x42c)](e['UniverInstanceType'][_0xc5fe39(0x30f)],e[_0xc5fe39(0x1ef)]),ni[_0xc5fe39(0x465)](_0x5c7e70=>this[_0xc5fe39(0x3d0)](this['_commandService'][_0xc5fe39(0x3c4)](_0x5c7e70)));}};I(Q,'pluginName',_0xa3b18d(0x203)),I(Q,_0xa3b18d(0x2e9),Cr),I(Q,_0xa3b18d(0x448),wr),I(Q,'type',e[_0xa3b18d(0x3b9)][_0xa3b18d(0x30f)]),Q=B([(0x0,e[_0xa3b18d(0x243)])(n[_0xa3b18d(0x1f8)],t[_0xa3b18d(0x340)]),z(0x1,(0x0,e[_0xa3b18d(0x1c0)])(e[_0xa3b18d(0x3df)])),z(0x2,e[_0xa3b18d(0x367)]),z(0x3,e[_0xa3b18d(0x1f6)]),z(0x4,e[_0xa3b18d(0x1be)])],Q);function ri(_0x17e731){const _0x4d8c14=_0xa3b18d;let _0x2def9f=gi(_0x17e731['query']);if(!_0x2def9f)return{'query':'','total':0x0,'matches':[]};let _0x3eda4e=[],_0x511df4=[];for(let _0x50aafb=0x0;_0x50aafb<_0x17e731[_0x4d8c14(0x454)]['length'];_0x50aafb++){if(!(_0x50aafb in _0x17e731[_0x4d8c14(0x454)]))continue;let _0x2cc3a0=_0x17e731[_0x4d8c14(0x3ac)][_0x4d8c14(0x35e)][_0x17e731[_0x4d8c14(0x454)][_0x50aafb]];_0x2cc3a0&&_0x511df4['push']({'field':_0x2cc3a0,'fieldIndex':_0x50aafb});}_0x17e731['rows'][_0x4d8c14(0x465)]((_0x3d897d,_0x210c78)=>{const _0x18d304=_0x4d8c14;_0x511df4[_0x18d304(0x465)](({field:_0xcd437f,fieldIndex:_0x197738})=>{const _0xc7789d=_0x18d304;let _0x18cc14=ii(_0x3d897d[_0xc7789d(0x29e)][_0xcd437f['id']],_0xcd437f);if(!_0x18cc14)return;let _0x4ef546=hi(_0x2def9f,_0x18cc14[_0xc7789d(0x339)]);_0x4ef546<=0x0||_0x3eda4e[_0xc7789d(0x439)]({'recordId':_0x3d897d[_0xc7789d(0x2f7)],'fieldId':_0xcd437f['id'],'fieldType':_0xcd437f[_0xc7789d(0x177)],'text':_0x18cc14[_0xc7789d(0x44a)],'score':_0x4ef546,'rowIndex':_0x210c78,'fieldIndex':_0x197738});});}),_0x3eda4e['sort']((_0x17a807,_0x686e63)=>_0x686e63[_0x4d8c14(0x21d)]-_0x17a807[_0x4d8c14(0x21d)]||_0x17a807[_0x4d8c14(0x164)]-_0x686e63['rowIndex']||_0x17a807[_0x4d8c14(0x2f8)]-_0x686e63[_0x4d8c14(0x2f8)]);let _0x22e3fd=_0x17e731['limit']==null?_0x3eda4e:_0x3eda4e[_0x4d8c14(0x2ce)](0x0,Math['max'](0x0,_0x17e731[_0x4d8c14(0x20c)]));return{'query':_0x2def9f,'total':_0x3eda4e['length'],'matches':vi(_0x22e3fd)};}function ii(_0x15c271,_0x7ab6c6){const _0x51ebc4=_0xa3b18d;let _0x4a6b9d=[];for(let _0x5472e6 of oi(_0x15c271,_0x7ab6c6)){let _0x32591b=gi(_0x5472e6);_0x32591b&&_0x4a6b9d[_0x51ebc4(0x439)](_0x32591b);}return _0x4a6b9d[_0x51ebc4(0x333)]?{'displayText':ai(_0x15c271,_0x7ab6c6),'searchTexts':_i(_0x4a6b9d)}:null;}function ai(_0x187091,_0x2a563a){const _0xb0d8c3=_0xa3b18d;switch(_0x2a563a[_0xb0d8c3(0x177)]){case e[_0xb0d8c3(0x17a)][_0xb0d8c3(0x3b7)]:case e[_0xb0d8c3(0x17a)]['MultiSelect']:case e['BaseFieldType'][_0xb0d8c3(0x478)]:return si(_0x187091,_0x2a563a)[_0xb0d8c3(0x1e9)](',\x20');case e[_0xb0d8c3(0x17a)]['Link']:return ui(_0x187091);case e[_0xb0d8c3(0x17a)][_0xb0d8c3(0x224)]:case e['BaseFieldType'][_0xb0d8c3(0x2bb)]:case e[_0xb0d8c3(0x17a)]['UpdatedAt']:return di(_0x187091,_0x2a563a);case e['BaseFieldType'][_0xb0d8c3(0x285)]:case e[_0xb0d8c3(0x17a)]['Currency']:return fi(_0x187091,_0x2a563a);case e[_0xb0d8c3(0x17a)][_0xb0d8c3(0x17f)]:return pi(_0x187091,_0x2a563a);case e[_0xb0d8c3(0x17a)][_0xb0d8c3(0x23b)]:return _0x187091?_0xb0d8c3(0x370):'Unchecked';case e[_0xb0d8c3(0x17a)][_0xb0d8c3(0x208)]:return mi(_0x187091)[_0xb0d8c3(0x1e9)](',\x20');default:return $(_0x187091);}}function oi(_0x2fe119,_0x56bdee){const _0x3fa045=_0xa3b18d;switch(_0x56bdee[_0x3fa045(0x177)]){case e[_0x3fa045(0x17a)]['SingleSelect']:case e[_0x3fa045(0x17a)][_0x3fa045(0x35d)]:case e['BaseFieldType'][_0x3fa045(0x478)]:{let _0xbe91bb=si(_0x2fe119,_0x56bdee);if(Array[_0x3fa045(0x18c)](_0x2fe119)){let _0x42cc7a=[..._0xbe91bb];for(let _0x382c02=0x0;_0x382c02<_0x2fe119[_0x3fa045(0x333)];_0x382c02++)_0x382c02 in _0x2fe119&&_0x42cc7a[_0x3fa045(0x439)](String(_0x2fe119[_0x382c02]));return _0x42cc7a;}return _0x2fe119==null?_0xbe91bb:[..._0xbe91bb,String(_0x2fe119)];}case e[_0x3fa045(0x17a)]['Link']:{let _0x802852=li(_0x2fe119);return[_0x802852[_0x3fa045(0x3ec)],_0x802852[_0x3fa045(0x254)]];}case e[_0x3fa045(0x17a)]['Date']:case e['BaseFieldType'][_0x3fa045(0x2bb)]:case e[_0x3fa045(0x17a)][_0x3fa045(0x2e4)]:return[di(_0x2fe119,_0x56bdee),$(_0x2fe119)];case e[_0x3fa045(0x17a)]['Number']:case e['BaseFieldType'][_0x3fa045(0x485)]:return[fi(_0x2fe119,_0x56bdee),$(_0x2fe119)];case e[_0x3fa045(0x17a)][_0x3fa045(0x17f)]:return[pi(_0x2fe119,_0x56bdee),$(_0x2fe119)];case e[_0x3fa045(0x17a)][_0x3fa045(0x23b)]:return _0x2fe119?[_0x3fa045(0x370),'Yes','True']:[_0x3fa045(0x423),'No','False'];case e[_0x3fa045(0x17a)][_0x3fa045(0x208)]:return mi(_0x2fe119);default:return[$(_0x2fe119)];}}function si(_0x696ca4,_0x1ba4e3){const _0x3dd2e5=_0xa3b18d;var _0x13e15f;let _0x11c17d=Array[_0x3dd2e5(0x18c)]((_0x13e15f=_0x1ba4e3[_0x3dd2e5(0x3af)])==null?void 0x0:_0x13e15f[_0x3dd2e5(0x275)])?_0x1ba4e3[_0x3dd2e5(0x3af)]['options']:[],_0x2c5bc7=[];if(Array[_0x3dd2e5(0x18c)](_0x696ca4)){for(let _0x1e6e4d=0x0;_0x1e6e4d<_0x696ca4[_0x3dd2e5(0x333)];_0x1e6e4d++){if(!(_0x1e6e4d in _0x696ca4))continue;let _0x114d43=String(_0x696ca4[_0x1e6e4d]);_0x114d43&&_0x2c5bc7[_0x3dd2e5(0x439)](ci(_0x11c17d,_0x114d43));}return _0x2c5bc7;}if(_0x696ca4!=null){let _0x3adabb=String(_0x696ca4);_0x3adabb&&_0x2c5bc7[_0x3dd2e5(0x439)](ci(_0x11c17d,_0x3adabb));}return _0x2c5bc7;}function ci(_0x1990e5,_0x2d6dfb){const _0x742f0b=_0xa3b18d;for(let _0x3125c9 of _0x1990e5){if(typeof _0x3125c9==_0x742f0b(0x181)&&_0x3125c9===_0x2d6dfb)return _0x3125c9;if(_0x3125c9&&typeof _0x3125c9==_0x742f0b(0x20d)){var _0x2307f2,_0x2ea645,_0x1979ea;let _0x1b7723=_0x3125c9;if(String((_0x2307f2=(_0x2ea645=_0x1b7723['id'])==null?_0x1b7723[_0x742f0b(0x2cb)]:_0x2ea645)==null?'':_0x2307f2)===_0x2d6dfb||String((_0x1979ea=_0x1b7723[_0x742f0b(0x2cb)])==null?'':_0x1979ea)===_0x2d6dfb){var _0x5844d1,_0x324aa0;return String((_0x5844d1=(_0x324aa0=_0x1b7723[_0x742f0b(0x2cb)])==null?_0x1b7723['id']:_0x324aa0)==null?_0x2d6dfb:_0x5844d1);}}}return _0x2d6dfb;}function li(_0x86f06b){const _0xe52d8e=_0xa3b18d;if(_0x86f06b&&typeof _0x86f06b==_0xe52d8e(0x20d)&&!Array['isArray'](_0x86f06b)){var _0x2639d5,_0x372e6c,_0x589426;let _0x9e4a7c=_0x86f06b;return{'text':String((_0x2639d5=(_0x372e6c=_0x9e4a7c[_0xe52d8e(0x3ec)])==null?_0x9e4a7c[_0xe52d8e(0x254)]:_0x372e6c)==null?'':_0x2639d5),'url':String((_0x589426=_0x9e4a7c['url'])==null?'':_0x589426)};}return{'text':$(_0x86f06b),'url':$(_0x86f06b)};}function ui(_0x55aca0){const _0x3f8065=_0xa3b18d;let _0x3cbb69=li(_0x55aca0);return _0x3cbb69[_0x3f8065(0x3ec)]||_0x3cbb69[_0x3f8065(0x254)];}function di(_0x45458b,_0x1ac136){const _0x511bde=_0xa3b18d;return typeof _0x45458b!=_0x511bde(0x3fe)||!Number[_0x511bde(0x2f4)](_0x45458b)?'':je(_0x45458b,_0x1ac136[_0x511bde(0x3af)]);}function fi(_0x29a51a,_0x4aa769){const _0xce72ac=_0xa3b18d;let _0x1d4fc2=typeof _0x29a51a==_0xce72ac(0x3fe)?_0x29a51a:Number(_0x29a51a);return Number[_0xce72ac(0x2f4)](_0x1d4fc2)?_r(_0x1d4fc2,_0x4aa769[_0xce72ac(0x3af)]):'';}function pi(_0x1f7c93,_0xce370b){const _0x37f796=_0xa3b18d;var _0x5f1b04;let _0x5eb072=typeof _0x1f7c93==_0x37f796(0x3fe)?_0x1f7c93:Number(_0x1f7c93);if(!Number[_0x37f796(0x2f4)](_0x5eb072))return'';let _0x5bfad=(_0x5f1b04=_0xce370b[_0x37f796(0x3af)])==null?{}:_0x5f1b04,_0x971c20=_0x5bfad['decimalPlaces']===0x1||_0x5bfad[_0x37f796(0x209)]===0x2?_0x5bfad[_0x37f796(0x209)]:0x0,_0x417181=_0x5eb072[_0x37f796(0x271)](_0x971c20);return _0x5bfad[_0x37f796(0x28f)]===_0x37f796(0x3fe)?_0x417181:_0x417181+'%';}function mi(_0x151e65){const _0x3c7123=_0xa3b18d;return Array[_0x3c7123(0x18c)](_0x151e65)?_0x151e65[_0x3c7123(0x2f9)](_0x25c518=>{const _0x4f6aef=_0x3c7123;var _0x248ccc,_0x3d861e;if(!_0x25c518||typeof _0x25c518!=_0x4f6aef(0x20d))return[];let _0x5e43fe=_0x25c518,_0xbecad2=String((_0x248ccc=(_0x3d861e=_0x5e43fe[_0x4f6aef(0x2cb)])==null?_0x5e43fe[_0x4f6aef(0x254)]:_0x3d861e)==null?'':_0x248ccc)['trim']();return _0xbecad2?[_0xbecad2]:[];}):[];}function $(_0xfb0f38){const _0x5d8a42=_0xa3b18d;if(_0xfb0f38==null)return'';if(typeof _0xfb0f38=='boolean')return _0xfb0f38?_0x5d8a42(0x329):'false';if(typeof _0xfb0f38==_0x5d8a42(0x3fe))return String(_0xfb0f38);if(Array[_0x5d8a42(0x18c)](_0xfb0f38)){let _0x2823c2=[];for(let _0x4c34c4=0x0;_0x4c34c4<_0xfb0f38['length'];_0x4c34c4++){if(!(_0x4c34c4 in _0xfb0f38))continue;let _0x42b8fd=$(_0xfb0f38[_0x4c34c4]);_0x42b8fd&&_0x2823c2[_0x5d8a42(0x439)](_0x42b8fd);}return _0x2823c2[_0x5d8a42(0x1e9)](',\x20');}if(typeof _0xfb0f38==_0x5d8a42(0x20d)){var _0x55adcc,_0x1861bb,_0x2476b1,_0x2df2c1;let _0x33185c=_0xfb0f38;return String((_0x55adcc=(_0x1861bb=(_0x2476b1=(_0x2df2c1=_0x33185c[_0x5d8a42(0x3e3)])==null?_0x33185c[_0x5d8a42(0x2cb)]:_0x2df2c1)==null?_0x33185c[_0x5d8a42(0x3ec)]:_0x2476b1)==null?_0x33185c['url']:_0x1861bb)==null?'':_0x55adcc)['trim']();}return String(_0xfb0f38);}function hi(_0x4ab38b,_0x247e29){const _0xf171f7=_0xa3b18d;let _0x21c525=0x0;for(let _0x4fadef of _0x247e29)if(_0x4fadef){if(_0x4fadef===_0x4ab38b){_0x21c525=Math[_0xf171f7(0x21a)](_0x21c525,0x12c);continue;}if(_0x4fadef['startsWith'](_0x4ab38b)){_0x21c525=Math[_0xf171f7(0x21a)](_0x21c525,0xfa);continue;}_0x4fadef[_0xf171f7(0x162)](_0x4ab38b)&&(_0x21c525=Math['max'](_0x21c525,0xc8));}return _0x21c525;}function gi(_0x2a7492){const _0x383d45=_0xa3b18d;return _0x2a7492[_0x383d45(0x41e)]()[_0x383d45(0x3ae)](/\s+/g,'\x20')[_0x383d45(0x2f2)]();}function _i(_0x36113b){const _0x276d5d=_0xa3b18d;return Array[_0x276d5d(0x3aa)](new Set(_0x36113b));}function vi(_0x339908){let _0x35af83=[];for(let {rowIndex:_0x12486b,fieldIndex:_0x4db365,..._0x22adc1}of _0x339908)_0x35af83['push'](_0x22adc1);return _0x35af83;}exports[_0xa3b18d(0x24c)]=J,exports[_0xa3b18d(0x246)]=w,exports[_0xa3b18d(0x1c9)]=P,exports[_0xa3b18d(0x3d4)]=mn,exports[_0xa3b18d(0x442)]=hn,exports[_0xa3b18d(0x263)]=gn,exports['CreateBaseFieldCommand']=_n,exports[_0xa3b18d(0x1c5)]=vn,exports[_0xa3b18d(0x39d)]=yn,exports[_0xa3b18d(0x2a7)]=Pn,exports[_0xa3b18d(0x1a8)]=Fn,exports[_0xa3b18d(0x3cf)]=In,exports[_0xa3b18d(0x472)]=Ln,exports['DeleteBaseViewCommand']=Rn,exports['DuplicateBaseFieldCommand']=zn,exports[_0xa3b18d(0x3c0)]=Bn,exports['EMBED_BASES_TABLE_RESOURCE_KEY']=dr,exports[_0xa3b18d(0x364)]=Vn,exports['IBaseCommandService']=V,exports[_0xa3b18d(0x36e)]=Ct,exports[_0xa3b18d(0x445)]=Ft,exports[_0xa3b18d(0x195)]=ei,exports['MoveBaseFieldCommand']=Wn,exports['MoveBaseViewCommand']=Gn,exports['RenameBaseTableCommand']=Kn,exports[_0xa3b18d(0x282)]=qn,exports[_0xa3b18d(0x1c4)]=Jn,exports[_0xa3b18d(0x288)]=Yn,exports[_0xa3b18d(0x196)]=Xn,exports[_0xa3b18d(0x169)]=Zn,exports[_0xa3b18d(0x350)]=Qn,exports[_0xa3b18d(0x2f1)]=$n,exports[_0xa3b18d(0x293)]=er,exports[_0xa3b18d(0x276)]=tr,exports[_0xa3b18d(0x2c4)]=nr,exports[_0xa3b18d(0x31c)]=rr,Object[_0xa3b18d(0x36d)](exports,_0xa3b18d(0x471),{'enumerable':!0x0,'get':function(){return Z;}}),Object[_0xa3b18d(0x36d)](exports,'UniverRemoteBasesPlugin',{'enumerable':!0x0,'get':function(){return Q;}}),exports['UpdateBaseCellCommand']=ir,exports['UpdateBaseFieldCommand']=or,exports[_0xa3b18d(0x2ca)]=ar,exports['UpdateBaseKanbanConfigCommand']=sr,exports['UpdateBaseRecordOrderCommand']=cr,exports[_0xa3b18d(0x1d4)]=lr,exports[_0xa3b18d(0x251)]=D,exports[_0xa3b18d(0x44d)]=Sr,exports['createDefaultBaseTableSnapshot']=ur,exports['createEmbedBasesTable']=fr,exports[_0xa3b18d(0x281)]=pr,exports[_0xa3b18d(0x2b5)]=mr,exports[_0xa3b18d(0x244)]=T,exports['ensureBaseTableCellLayout']=d,exports[_0xa3b18d(0x35b)]=je,exports[_0xa3b18d(0x186)]=_r,exports[_0xa3b18d(0x3b3)]=v,exports[_0xa3b18d(0x351)]=_,exports[_0xa3b18d(0x223)]=xr,exports[_0xa3b18d(0x444)]=Ie,exports[_0xa3b18d(0x2ba)]=E,exports[_0xa3b18d(0x3b0)]=ri,exports['traceBasePerformance']=o,exports[_0xa3b18d(0x40e)]=bn;
|