@univerjs-pro/bases 1.0.0-alpha.1 → 1.0.0-alpha.3
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/README.md +8 -5
- 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/types/commands/commands/set-base-view-filter.command.d.ts +2 -2
- package/lib/types/commands/commands/set-base-view-group.command.d.ts +2 -2
- package/lib/types/commands/commands/set-base-view-sort.command.d.ts +2 -2
- package/lib/types/commands/utils/base-validation.d.ts +6 -0
- package/lib/types/config/config.d.ts +11 -0
- package/lib/types/controllers/base-active-dirty.controller.d.ts +5 -6
- package/lib/types/controllers/base-formula-calculation.controller.d.ts +8 -14
- package/lib/types/embed-host-anchor.d.ts +46 -0
- package/lib/types/facade/f-base.d.ts +126 -577
- package/lib/types/facade/f-enum.d.ts +117 -89
- package/lib/types/facade/f-event.d.ts +255 -132
- package/lib/types/facade/f-field.d.ts +137 -313
- package/lib/types/facade/f-range.d.ts +86 -326
- package/lib/types/facade/f-record.d.ts +93 -216
- package/lib/types/facade/f-table.d.ts +473 -1317
- package/lib/types/facade/f-types.d.ts +1 -0
- package/lib/types/facade/f-univer.d.ts +27 -154
- package/lib/types/facade/f-view.d.ts +207 -484
- package/lib/types/facade/field-key.d.ts +6 -6
- package/lib/types/facade/index.d.ts +11 -14
- package/lib/types/fields/field-core-plugin.d.ts +9 -8
- package/lib/types/index.d.ts +17 -47
- package/lib/types/models/base-cell-data.d.ts +6 -6
- package/lib/types/models/default-table.d.ts +13 -0
- package/lib/types/ot/json1-adapter.d.ts +3 -3
- package/lib/types/ot/json1-invalidation.d.ts +2 -2
- package/lib/types/ot/json1-op-applier.d.ts +2 -2
- package/lib/types/ot/json1-op-factory.d.ts +9 -8
- package/lib/types/plugin.d.ts +6 -4
- package/lib/types/search/base-search.d.ts +4 -3
- package/lib/types/services/base-active-dirty.service.d.ts +2 -2
- package/lib/types/services/base-command.service.d.ts +16 -16
- package/lib/types/services/base-compression.service.d.ts +3 -3
- package/lib/types/services/base-field-registry.service.d.ts +5 -5
- package/lib/types/services/base-formula.service.d.ts +11 -20
- package/lib/types/services/base-view-registry.service.d.ts +3 -3
- package/lib/types/views/view-core-plugin.d.ts +4 -3
- 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 +7 -8
- package/lib/types/controllers/base-remote-formula.controller.d.ts +0 -13
- package/lib/types/facade/f-error.d.ts +0 -30
- package/lib/types/facade/f-permission.d.ts +0 -749
- package/lib/types/facade/transaction.d.ts +0 -19
package/lib/es/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x224170=_0x1410;(function(_0x51d670,_0x109692){const _0x52177d=_0x1410,_0x1a13c2=_0x51d670();while(!![]){try{const _0x1e46f4=-parseInt(_0x52177d(0x2db))/0x1+-parseInt(_0x52177d(0x1f2))/0x2*(-parseInt(_0x52177d(0x1ae))/0x3)+-parseInt(_0x52177d(0x2ed))/0x4+-parseInt(_0x52177d(0x282))/0x5*(-parseInt(_0x52177d(0x126))/0x6)+parseInt(_0x52177d(0x103))/0x7*(-parseInt(_0x52177d(0x2ad))/0x8)+parseInt(_0x52177d(0x1c7))/0x9*(parseInt(_0x52177d(0x309))/0xa)+parseInt(_0x52177d(0x20c))/0xb;if(_0x1e46f4===_0x109692)break;else _0x1a13c2['push'](_0x1a13c2['shift']());}catch(_0x3d264e){_0x1a13c2['push'](_0x1a13c2['shift']());}}}(_0x1c68,0xb7368));import{BaseDataModel as _0x4e4920,CellValueType as _0x3b8aac,CommandType as _0x4a0fe3,DependentOn as _0x544c82,Disposable as _0x21b431,ICommandService as _0x430051,IUndoRedoService as _0x4f4a8c,IUniverInstanceService as _0x1f98b4,Inject as _0x5f4e98,Injector as _0x85c3f3,JSON1 as _0x43f9ba,ObjectMatrix as _0x529909,Optional as _0x396135,Plugin as _0x1d9b6c,Tools as _0x2beb92,UniverInstanceType as _0x33e944,createIdentifier as _0x318fd3,dateKit as _0x1c4858,generateRandomId as _0x21cb82,numfmt as _0x57d3ed,toDisposable as _0x479d4d,touchDependencies as _0xaff1d2}from'@univerjs/core';import{IActiveDirtyManagerService as _0xe1dd5a,ISuperTableService as _0x456517,SetFormulaCalculationResultMutation as _0x680752,SetFormulaCalculationStartMutation as _0x1fe112,SetFormulaDataMutation as _0x37f30b,UniverProFormulaEnginePlugin as _0x1dc504}from'@univerjs-pro/engine-formula';import{UniverLicensePlugin as _0xdd1e76}from'@univerjs-pro/license';import{DataSyncPrimaryController as _0x294c64}from'@univerjs/rpc';let le=0x0;function x(){const _0x5077ea=_0x1410;if(globalThis[_0x5077ea(0x1a9)]===!0x0)return!0x0;try{let _0x58e49c=typeof location>'u'?'':location[_0x5077ea(0x27a)],_0x4506bd=new URLSearchParams(_0x58e49c);if(_0x4506bd[_0x5077ea(0x2e8)](_0x5077ea(0x31e))==='1'||_0x4506bd[_0x5077ea(0x2e8)]('basePerf')===_0x5077ea(0x1c6)||_0x4506bd[_0x5077ea(0x2e8)]('base-perf')==='1')return!0x0;}catch{}try{let _0x4b8fa6=typeof localStorage>'u'?null:localStorage[_0x5077ea(0x264)]('univer.basePerf');return _0x4b8fa6==='1'||_0x4b8fa6==='true';}catch{return!0x1;}}function S(_0x19c660,_0x375509,_0x31faa4){const _0x8a2f0a=_0x1410;if(!x())return _0x375509();let _0x23607b=fe(),_0x58ea82=_0x8a2f0a(0x25f)+le++;pe(_0x58ea82+_0x8a2f0a(0x2ae));try{return _0x375509();}finally{let _0x38d042=fe()-_0x23607b;pe(_0x58ea82+':end'),me(_0x19c660,_0x58ea82+':start',_0x58ea82+_0x8a2f0a(0x178)),de(_0x19c660,_0x38d042,_0x31faa4);}}async function ue(_0x2c5dab,_0x2cb0cc,_0x43b173){const _0x28efa7=_0x1410;if(!x())return _0x2cb0cc();let _0x126e96=fe(),_0x581292=_0x28efa7(0x25f)+le++;pe(_0x581292+_0x28efa7(0x2ae));try{return await _0x2cb0cc();}finally{let _0x5023a4=fe()-_0x126e96;pe(_0x581292+':end'),me(_0x2c5dab,_0x581292+_0x28efa7(0x2ae),_0x581292+_0x28efa7(0x178)),de(_0x2c5dab,_0x5023a4,_0x43b173);}}function de(_0x241c20,_0x4fc200,_0x2d8e84){const _0x3dcc18=_0x1410;if(!x())return;let _0x41e6fd=Math[_0x3dcc18(0x238)](_0x4fc200*0x64)/0x64,_0x5a8912=_0x2d8e84&&Object[_0x3dcc18(0x29d)](_0x2d8e84)[_0x3dcc18(0xe2)]?'\x20'+JSON['stringify'](_0x2d8e84):'';console[_0x3dcc18(0x18f)](_0x3dcc18(0x196)+_0x241c20+':\x20'+_0x41e6fd+'ms'+_0x5a8912);}function fe(){const _0x2b736c=_0x1410;return typeof performance<'u'&&typeof performance[_0x2b736c(0x2c2)]==_0x2b736c(0x319)?performance[_0x2b736c(0x2c2)]():Date[_0x2b736c(0x2c2)]();}function pe(_0xbfc746){const _0x486b31=_0x1410;try{if(typeof performance<'u'){var _0x5cc5f,_0x492dee;(_0x5cc5f=(_0x492dee=performance)[_0x486b31(0x26c)])==null||_0x5cc5f[_0x486b31(0x182)](_0x492dee,_0xbfc746);}}catch{}}function me(_0x4137c3,_0x4d708f,_0x4cbfe3){const _0x44b1f5=_0x1410;try{if(typeof performance<'u'){var _0x5d2d73,_0x22725c;(_0x5d2d73=(_0x22725c=performance)[_0x44b1f5(0x23b)])==null||_0x5d2d73[_0x44b1f5(0x182)](_0x22725c,_0x44b1f5(0x196)+_0x4137c3,_0x4d708f,_0x4cbfe3);}}catch{}}function C(_0xa66b5b){const _0x276137=_0x1410;var _0x1fe236,_0x51b683;return x()?S(_0x276137(0x165),()=>he(_0xa66b5b),{'tableId':_0xa66b5b['id'],'records':Object[_0x276137(0x29d)]((_0x1fe236=_0xa66b5b[_0x276137(0x2f7)])==null?{}:_0x1fe236)[_0x276137(0xe2)],'fields':_0xa66b5b[_0x276137(0x322)][_0x276137(0xe2)],'hasRecordOrder':!!((_0x51b683=_0xa66b5b[_0x276137(0x110)])!=null&&_0x51b683['length'])}):he(_0xa66b5b);}function he(_0x13782a){const _0x12c5fc=_0x1410;var _0x3b04c2,_0x505f46,_0x544e87,_0x209d2f,_0x24ee7d,_0x38e7fa,_0x2a9864,_0x3626e3,_0x45b91a,_0x422058;let _0x109d8c=(_0x3b04c2=_0x13782a[_0x12c5fc(0x2f7)])==null?{}:_0x3b04c2,_0x38ed3e=(_0x505f46=_0x13782a[_0x12c5fc(0x147)])==null?{}:_0x505f46,_0x32d57e=(_0x544e87=(_0x209d2f=_0x13782a['recordOrder'])==null?void 0x0:_0x209d2f['filter'](_0x39eef8=>_0x109d8c[_0x39eef8]))==null?[]:_0x544e87,_0x2e5a7e=new Set(_0x32d57e),_0x42a417=Object[_0x12c5fc(0x112)](_0x109d8c)[_0x12c5fc(0x2a9)](_0x47913d=>!_0x2e5a7e[_0x12c5fc(0x2d9)](_0x47913d['id'])),_0x48ca32=_0x42a417[_0x12c5fc(0xe2)]?[..._0x32d57e,..._0x42a417[_0x12c5fc(0x284)]((_0x5b4c80,_0x3d73e3)=>_0x5b4c80[_0x12c5fc(0x341)][_0x12c5fc(0x202)](_0x3d73e3['orderKey']))[_0x12c5fc(0x2bf)](_0xd9075a=>_0xd9075a['id'])]:_0x32d57e,_0x1458cb=_0x13782a[_0x12c5fc(0x322)]['filter'](_0x13d415=>_0x38ed3e[_0x13d415]),_0x27578d={...(_0x24ee7d=_0x13782a['rowId'])==null?{}:_0x24ee7d},_0x561148={...(_0x38e7fa=_0x13782a[_0x12c5fc(0xad)])==null?{}:_0x38e7fa},_0x3dbef3={...(_0x2a9864=_0x13782a[_0x12c5fc(0x204)])==null?{}:_0x2a9864};return _0x13782a['recordOrder']=_0x48ca32,_0x13782a[_0x12c5fc(0x1db)]={},_0x13782a[_0x12c5fc(0x124)]={},_0x13782a[_0x12c5fc(0x14f)]={},_0x13782a[_0x12c5fc(0xad)]={},_0x13782a[_0x12c5fc(0x204)]={},_0x13782a['resources']={...(_0x3626e3=_0x13782a['resources'])==null?{}:_0x3626e3},_0x13782a[_0x12c5fc(0x158)]['attachmentSets']={...(_0x45b91a=_0x13782a[_0x12c5fc(0x158)][_0x12c5fc(0x186)])==null?{}:_0x45b91a},_0x13782a[_0x12c5fc(0x158)][_0x12c5fc(0x33c)]={...(_0x422058=_0x13782a[_0x12c5fc(0x158)][_0x12c5fc(0x33c)])==null?{}:_0x422058},_0x48ca32['forEach']((_0x8621ee,_0x215eed)=>{const _0x33d775=_0x12c5fc;_0x13782a[_0x33d775(0x1db)][_0x8621ee]=_0x215eed,_0x13782a[_0x33d775(0x124)][_0x215eed]=_0x8621ee;}),_0x1458cb[_0x12c5fc(0x262)]((_0x50be15,_0x5ace07)=>{const _0x567676=_0x12c5fc;_0x13782a[_0x567676(0x14f)][_0x50be15]=_0x5ace07,_0x13782a[_0x567676(0xad)][_0x5ace07]=_0x50be15;}),Object[_0x12c5fc(0x333)](_0x3dbef3)[_0x12c5fc(0x262)](([_0x3dbf71,_0x9d4478])=>{const _0x33a763=_0x12c5fc;var _0xf51d06,_0x3d816f;let _0x47cdf6=Number(_0x3dbf71),_0x5638c8=(_0xf51d06=_0x27578d[_0x47cdf6])==null?_0x48ca32[_0x47cdf6]:_0xf51d06,_0x57c455=_0x5638c8?_0x13782a[_0x33a763(0x1db)][_0x5638c8]:void 0x0;_0x57c455!=null&&(_0x13782a[_0x33a763(0x204)][_0x57c455]={...(_0x3d816f=_0x13782a[_0x33a763(0x204)][_0x57c455])==null?{}:_0x3d816f},Object[_0x33a763(0x333)](_0x9d4478==null?{}:_0x9d4478)[_0x33a763(0x262)](([_0x5ca7a0,_0x2e5de9])=>{const _0x2b17f0=_0x33a763;var _0x190cd6;let _0x4fea9c=Number(_0x5ca7a0),_0x44fea5=(_0x190cd6=_0x561148[_0x4fea9c])==null?_0x1458cb[_0x4fea9c]:_0x190cd6,_0xd3755=_0x44fea5?_0x13782a['colIndex'][_0x44fea5]:void 0x0;_0xd3755!=null&&(_0x13782a[_0x2b17f0(0x204)][_0x57c455][_0xd3755]=Ce(_0x2e5de9));}));}),Object[_0x12c5fc(0x112)](_0x109d8c)[_0x12c5fc(0x262)](_0x2eb64d=>{const _0x53bb0f=_0x12c5fc;var _0x167a54,_0x2c081e;let _0x216728=_0x13782a[_0x53bb0f(0x1db)][_0x2eb64d['id']];_0x216728!=null&&(_0x13782a[_0x53bb0f(0x204)][_0x216728]={...(_0x167a54=_0x13782a[_0x53bb0f(0x204)][_0x216728])==null?{}:_0x167a54},Object[_0x53bb0f(0x333)]((_0x2c081e=_0x2eb64d['values'])==null?{}:_0x2c081e)['forEach'](([_0x36531d,_0x52d267])=>{const _0x3eb565=_0x53bb0f;let _0x5bb17b=_0x38ed3e[_0x36531d];(_0x5bb17b==null?void 0x0:_0x5bb17b[_0x3eb565(0x131)])===_0x3eb565(0xee)&&De(_0x13782a,_0x2eb64d['id'],_0x36531d,_0x52d267);let _0x4e063c=_0x13782a['colIndex'][_0x36531d];if(_0x4e063c==null)return;let _0x509440=_0x13782a[_0x3eb565(0x204)][_0x216728][_0x4e063c];if(_0x509440!=null){Ae(_0x509440,_0x5bb17b,_0x52d267)&&(_0x13782a['cellData'][_0x216728][_0x4e063c]=w(_0x52d267,_0x5bb17b));return;}_0x13782a[_0x3eb565(0x204)][_0x216728][_0x4e063c]=w(_0x52d267,_0x5bb17b);}));}),_0x13782a;}function ge(_0x736621){const _0x70a240=_0x1410;var _0x62a774;return C(_0x736621),Object[_0x70a240(0x333)]((_0x62a774=_0x736621[_0x70a240(0x124)])==null?{}:_0x62a774)['forEach'](([_0x5303f9,_0x2ed94c])=>{const _0x35c556=_0x70a240;var _0x3c6846,_0xf17bc0,_0xa3454f;let _0x5e62c7=Number(_0x5303f9),_0x543ada=_0x736621[_0x35c556(0x2f7)][_0x2ed94c];_0x543ada&&(_0x543ada[_0x35c556(0x112)]={...(_0x3c6846=_0x543ada['values'])==null?{}:_0x3c6846},Object[_0x35c556(0x333)]((_0xf17bc0=(_0xa3454f=_0x736621[_0x35c556(0x204)])==null?void 0x0:_0xa3454f[_0x5e62c7])==null?{}:_0xf17bc0)[_0x35c556(0x262)](([_0x3635a5,_0x11c898])=>{const _0x143b1b=_0x35c556;var _0x2b535f;let _0x20a5f1=(_0x2b535f=_0x736621[_0x143b1b(0xad)])==null?void 0x0:_0x2b535f[Number(_0x3635a5)];_0x20a5f1&&(_0x543ada[_0x143b1b(0x112)][_0x20a5f1]=T(_0x11c898,_0x736621['fields'][_0x20a5f1],_0x736621,_0x2ed94c));}));}),_0x736621;}function _e(_0x16bc36,_0x487575){const _0xbbeb6c=_0x1410;for(let {row:_0xe12d5b,col:_0x34c743}of _0x487575){var _0xe4751e,_0x5ba436,_0x46874a,_0xcc539;let _0x2b88fc=(_0xe4751e=_0x16bc36['rowId'])==null?void 0x0:_0xe4751e[_0xe12d5b],_0x304bd0=(_0x5ba436=_0x16bc36[_0xbbeb6c(0xad)])==null?void 0x0:_0x5ba436[_0x34c743],_0x41b3c1=_0x2b88fc?_0x16bc36[_0xbbeb6c(0x2f7)][_0x2b88fc]:void 0x0;!_0x41b3c1||!_0x304bd0||(_0x41b3c1[_0xbbeb6c(0x112)]={...(_0x46874a=_0x41b3c1[_0xbbeb6c(0x112)])==null?{}:_0x46874a},_0x41b3c1[_0xbbeb6c(0x112)][_0x304bd0]=T((_0xcc539=_0x16bc36[_0xbbeb6c(0x204)])==null||(_0xcc539=_0xcc539[_0xe12d5b])==null?void 0x0:_0xcc539[_0x34c743],_0x16bc36[_0xbbeb6c(0x147)][_0x304bd0],_0x16bc36,_0x2b88fc));}return _0x16bc36;}function ve(_0x14f324,_0x2b4166,_0x53b63c){const _0x4a2f9f=_0x1410;var _0x41d914,_0x3b53f9,_0x21ccc9,_0x433bea,_0x43ca3e,_0x212eea;let _0x292a26=(_0x41d914=_0x14f324[_0x4a2f9f(0x1db)])==null?void 0x0:_0x41d914[_0x2b4166],_0x1f8326=(_0x3b53f9=_0x14f324[_0x4a2f9f(0x14f)])==null?void 0x0:_0x3b53f9[_0x53b63c];if(_0x292a26!=null&&_0x1f8326!=null&&((_0x21ccc9=_0x14f324['rowId'])==null?void 0x0:_0x21ccc9[_0x292a26])===_0x2b4166&&((_0x433bea=_0x14f324[_0x4a2f9f(0xad)])==null?void 0x0:_0x433bea[_0x1f8326])===_0x53b63c)return{'row':_0x292a26,'col':_0x1f8326};let _0x5d98db=C(_0x14f324),_0x5c1699=(_0x43ca3e=_0x5d98db[_0x4a2f9f(0x1db)])==null?void 0x0:_0x43ca3e[_0x2b4166],_0x33137b=(_0x212eea=_0x5d98db['colIndex'])==null?void 0x0:_0x212eea[_0x53b63c];return _0x5c1699==null||_0x33137b==null?null:{'row':_0x5c1699,'col':_0x33137b};}function ye(_0x59aa6f,_0x5d8873,_0x35c01c){const _0xe35291=_0x1410;var _0x4b9191;let _0x14ae60=ve(_0x59aa6f,_0x5d8873,_0x35c01c);if(_0x14ae60)return(_0x4b9191=_0x59aa6f[_0xe35291(0x204)])==null||(_0x4b9191=_0x4b9191[_0x14ae60[_0xe35291(0x20f)]])==null?void 0x0:_0x4b9191[_0x14ae60[_0xe35291(0x141)]];}function be(_0x39cd06,_0x5377c4,_0x5afd75){const _0x22dd4c=_0x1410;var _0x439331,_0x191c25;let _0x4d3541=ye(_0x39cd06,_0x5377c4,_0x5afd75),_0x1bf224=_0x39cd06[_0x22dd4c(0x147)][_0x5afd75];if((_0x1bf224==null?void 0x0:_0x1bf224['type'])===_0x22dd4c(0xee)){var _0x20cea8,_0x54a3d0;return(_0x20cea8=Oe(_0x39cd06,_0x5377c4,_0x5afd75))==null?E((_0x54a3d0=_0x39cd06[_0x22dd4c(0x2f7)][_0x5377c4])==null||(_0x54a3d0=_0x54a3d0['values'])==null?void 0x0:_0x54a3d0[_0x5afd75]):_0x20cea8;}if(D(_0x1bf224)||(_0x1bf224==null?void 0x0:_0x1bf224['type'])===_0x22dd4c(0x266)){var _0x123a03;let _0x527419=(_0x123a03=_0x39cd06[_0x22dd4c(0x2f7)][_0x5377c4])==null||(_0x123a03=_0x123a03['values'])==null?void 0x0:_0x123a03[_0x5afd75];return _0x527419!=null&&_0x527419!==''?ke(_0x527419,_0x1bf224):T(_0x4d3541,_0x1bf224,_0x39cd06,_0x5377c4);}if(_0x4d3541&&Object[_0x22dd4c(0x1b3)][_0x22dd4c(0x28b)][_0x22dd4c(0x182)](_0x4d3541,'v')){var _0x2606b2;return(_0x2606b2=_0x4d3541['v'])==null?null:_0x2606b2;}return(_0x439331=(_0x191c25=_0x39cd06[_0x22dd4c(0x2f7)][_0x5377c4])==null||(_0x191c25=_0x191c25['values'])==null?void 0x0:_0x191c25[_0x5afd75])==null?null:_0x439331;}function xe(_0x39924e,_0x228642,_0x4b6a9f){const _0x5c3860=_0x1410;var _0x5599dc,_0x5f3675,_0x4f1fb1;let _0xee4e54=ye(_0x39924e,_0x228642,_0x4b6a9f);if(_0xee4e54&&Object[_0x5c3860(0x1b3)][_0x5c3860(0x28b)][_0x5c3860(0x182)](_0xee4e54,'v')){var _0xbc17bc;return(_0xbc17bc=_0xee4e54['v'])==null?null:_0xbc17bc;}let _0x1f9e50=_0x39924e[_0x5c3860(0x147)][_0x4b6a9f];return(_0x5599dc=w((_0x5f3675=(_0x4f1fb1=_0x39924e[_0x5c3860(0x2f7)][_0x228642])==null||(_0x4f1fb1=_0x4f1fb1[_0x5c3860(0x112)])==null?void 0x0:_0x4f1fb1[_0x4b6a9f])==null?null:_0x5f3675,_0x1f9e50)['v'])==null?null:_0x5599dc;}function Se(_0x2fb2b7,_0x27f7df,_0x4efc0a,_0x27f0d1){const _0x5575b0=_0x1410;var _0x390155,_0x300119,_0x344683,_0x3a6ba3;let _0x3d0061=C(_0x2fb2b7),_0x3696a3=(_0x390155=_0x3d0061[_0x5575b0(0x1db)])==null?void 0x0:_0x390155[_0x27f7df],_0x3583d5=(_0x300119=_0x3d0061[_0x5575b0(0x14f)])==null?void 0x0:_0x300119[_0x4efc0a];_0x3696a3==null||_0x3583d5==null||(_0x3d0061[_0x5575b0(0x204)][_0x3696a3]={...(_0x344683=_0x3d0061[_0x5575b0(0x204)][_0x3696a3])==null?{}:_0x344683},_0x3d0061[_0x5575b0(0x204)][_0x3696a3][_0x3583d5]=w(_0x27f0d1,_0x3d0061['fields'][_0x4efc0a]),((_0x3a6ba3=_0x3d0061['fields'][_0x4efc0a])==null?void 0x0:_0x3a6ba3[_0x5575b0(0x131)])===_0x5575b0(0xee)&&De(_0x3d0061,_0x27f7df,_0x4efc0a,_0x27f0d1),_0x3d0061[_0x5575b0(0x2f7)][_0x27f7df][_0x5575b0(0x112)][_0x4efc0a]=we(_0x27f0d1,_0x3d0061[_0x5575b0(0x204)][_0x3696a3][_0x3583d5],_0x3d0061[_0x5575b0(0x147)][_0x4efc0a],_0x3d0061,_0x27f7df));}function w(_0x20a5af,_0x514ba4){const _0x5d8c23=_0x1410;if(Te(_0x20a5af))return(_0x514ba4==null?void 0x0:_0x514ba4[_0x5d8c23(0x131)])===_0x5d8c23(0xee)?{..._0x20a5af,'v':'','t':_0x3b8aac[_0x5d8c23(0x1be)]}:Ce(_0x20a5af);if((_0x514ba4==null?void 0x0:_0x514ba4[_0x5d8c23(0x131)])==='attachment')return{'v':'','t':_0x3b8aac[_0x5d8c23(0x1be)]};if(D(_0x514ba4))return{'v':je(_0x20a5af)[_0x5d8c23(0x132)](',\x20'),'t':_0x3b8aac['STRING']};if((_0x514ba4==null?void 0x0:_0x514ba4['type'])===_0x5d8c23(0x266)&&_0x20a5af&&typeof _0x20a5af==_0x5d8c23(0x1b2)&&!Array[_0x5d8c23(0x278)](_0x20a5af)){var _0x103a03,_0x27a26c;let _0x403a55=_0x20a5af;return{'v':String((_0x103a03=(_0x27a26c=_0x403a55[_0x5d8c23(0x208)])==null?_0x403a55[_0x5d8c23(0x20b)]:_0x27a26c)==null?'':_0x103a03),'t':_0x3b8aac['STRING']};}return _0x20a5af===null||typeof _0x20a5af=='string'||typeof _0x20a5af==_0x5d8c23(0x255)||typeof _0x20a5af=='boolean'?{'v':_0x20a5af,'t':Ne(_0x20a5af)}:{'v':null,'t':null};}function Ce(_0x3a7a4d){let _0x1234cc=Pe(_0x3a7a4d['t'],_0x3a7a4d['v']);if(_0x1234cc===void 0x0){let {t:_0x15e34b,..._0x2fa8be}=_0x3a7a4d;return _0x2fa8be;}return{..._0x3a7a4d,'t':_0x1234cc};}function T(_0x411d3e,_0x169b6d,_0x1a0c45,_0x2d7e7e){const _0x386001=_0x1410;if(!_0x411d3e)return null;if((_0x169b6d==null?void 0x0:_0x169b6d[_0x386001(0x131)])===_0x386001(0xee)){var _0x39dce0;return _0x1a0c45&&_0x2d7e7e?(_0x39dce0=Oe(_0x1a0c45,_0x2d7e7e,_0x169b6d['id']))==null?[]:_0x39dce0:[];}if(D(_0x169b6d))return je(_0x411d3e['v']);if((_0x169b6d==null?void 0x0:_0x169b6d[_0x386001(0x131)])===_0x386001(0x266)&&_0x1a0c45&&_0x2d7e7e){var _0x57dd97;let _0xcbf1f4=(_0x57dd97=_0x1a0c45[_0x386001(0x2f7)][_0x2d7e7e])==null||(_0x57dd97=_0x57dd97[_0x386001(0x112)])==null?void 0x0:_0x57dd97[_0x169b6d['id']];if(_0xcbf1f4&&typeof _0xcbf1f4==_0x386001(0x1b2)&&!Array[_0x386001(0x278)](_0xcbf1f4))return _0xcbf1f4;}if(Object[_0x386001(0x1b3)][_0x386001(0x28b)]['call'](_0x411d3e,'v')){var _0x5bb2c5;return(_0x5bb2c5=_0x411d3e['v'])==null?null:_0x5bb2c5;}return null;}function we(_0x394b4c,_0xe2e50,_0x3d927a,_0x10f02f,_0x5b36c3){const _0x841dc1=_0x1410;return(_0x3d927a==null?void 0x0:_0x3d927a['type'])===_0x841dc1(0xee)?E(_0x394b4c):D(_0x3d927a)?je(_0x394b4c):(_0x3d927a==null?void 0x0:_0x3d927a[_0x841dc1(0x131)])==='link'&&_0x394b4c&&typeof _0x394b4c==_0x841dc1(0x1b2)&&!Array[_0x841dc1(0x278)](_0x394b4c)&&!Te(_0x394b4c)?_0x394b4c:T(_0xe2e50,_0x3d927a,_0x10f02f,_0x5b36c3);}function Te(_0x1337e6){const _0xb60601=_0x1410;return!!_0x1337e6&&typeof _0x1337e6==_0xb60601(0x1b2)&&(Object[_0xb60601(0x1b3)][_0xb60601(0x28b)][_0xb60601(0x182)](_0x1337e6,'v')||Object[_0xb60601(0x1b3)][_0xb60601(0x28b)]['call'](_0x1337e6,'t')||Object[_0xb60601(0x1b3)][_0xb60601(0x28b)][_0xb60601(0x182)](_0x1337e6,'p')||Object[_0xb60601(0x1b3)][_0xb60601(0x28b)][_0xb60601(0x182)](_0x1337e6,'f')||Object[_0xb60601(0x1b3)][_0xb60601(0x28b)][_0xb60601(0x182)](_0x1337e6,'si'));}function Ee(_0xbe4634,_0x31946c){return _0xbe4634+'\x1f'+_0x31946c;}function De(_0xa3e3ff,_0x209c04,_0x4a7ef2,_0x8a0f51){const _0x1aacab=_0x1410;var _0x199369,_0x3931b1,_0x3ba55f;let _0x18b16a=E(_0x8a0f51);_0xa3e3ff[_0x1aacab(0x158)]={...(_0x199369=_0xa3e3ff[_0x1aacab(0x158)])==null?{}:_0x199369},_0xa3e3ff[_0x1aacab(0x158)][_0x1aacab(0x186)]={...(_0x3931b1=_0xa3e3ff[_0x1aacab(0x158)][_0x1aacab(0x186)])==null?{}:_0x3931b1},_0xa3e3ff[_0x1aacab(0x158)][_0x1aacab(0x33c)]={...(_0x3ba55f=_0xa3e3ff['resources'][_0x1aacab(0x33c)])==null?{}:_0x3ba55f};let _0x1e6c80=Ee(_0x4a7ef2,_0x209c04);_0xa3e3ff[_0x1aacab(0x158)]['attachmentSets'][_0x1e6c80]=_0x18b16a[_0x1aacab(0x2bf)]((_0x2c10f3,_0x7fe66c)=>{const _0x5cd085=_0x1aacab;var _0x4cc247;let _0x347f56=String((_0x4cc247=_0x2c10f3['id'])==null?_0x1e6c80+'\x1f'+_0x7fe66c:_0x4cc247),_0x1d2e6d={..._0x2c10f3,'id':_0x347f56};return _0xa3e3ff[_0x5cd085(0x158)][_0x5cd085(0x33c)][_0x347f56]=_0x1d2e6d,_0x347f56;});}function Oe(_0x573303,_0x3c3ea4,_0x579f91){const _0x39a5cb=_0x1410;var _0x576108;let _0x580404=Ee(_0x579f91,_0x3c3ea4),_0x5949c9=(_0x576108=_0x573303[_0x39a5cb(0x158)])==null||(_0x576108=_0x576108[_0x39a5cb(0x186)])==null?void 0x0:_0x576108[_0x580404];return _0x5949c9?_0x5949c9[_0x39a5cb(0x2bf)](_0x20f4e2=>{const _0x45569e=_0x39a5cb;var _0x437a9b;return(_0x437a9b=_0x573303[_0x45569e(0x158)])==null||(_0x437a9b=_0x437a9b[_0x45569e(0x33c)])==null?void 0x0:_0x437a9b[_0x20f4e2];})[_0x39a5cb(0x2a9)](_0x103d57=>!!_0x103d57)[_0x39a5cb(0x2bf)](_0x9b44a=>({..._0x9b44a})):null;}function E(_0x2c631f){const _0x5635ae=_0x1410;return _0x2c631f==null||_0x2c631f===''||Te(_0x2c631f)&&!('id'in _0x2c631f)&&!('name'in _0x2c631f)?[]:(Array[_0x5635ae(0x278)](_0x2c631f)?_0x2c631f:[_0x2c631f])[_0x5635ae(0x2bf)]((_0x29d695,_0x2cc12f)=>_0x29d695&&typeof _0x29d695==_0x5635ae(0x1b2)?{..._0x29d695}:{'id':_0x5635ae(0x307)+_0x2cc12f,'name':String(_0x29d695)})['filter'](_0x2479f7=>Object[_0x5635ae(0x29d)](_0x2479f7)[_0x5635ae(0xe2)]>0x0);}function ke(_0x4373af,_0x53885a){const _0x2f06e5=_0x1410;return(_0x53885a==null?void 0x0:_0x53885a[_0x2f06e5(0x131)])===_0x2f06e5(0xee)?E(_0x4373af):D(_0x53885a)?je(_0x4373af):_0x4373af;}function Ae(_0x22720c,_0x1a9fa9,_0x329905){const _0x52f276=_0x1410;return(_0x1a9fa9==null?void 0x0:_0x1a9fa9[_0x52f276(0x131)])===_0x52f276(0xee)?_0x22720c['v']!=='':D(_0x1a9fa9)?Array[_0x52f276(0x278)](_0x329905)&&(_0x22720c['v']==null||_0x22720c['v']===''):!0x1;}function D(_0xcb97ab){const _0x2db27a=_0x1410;return(_0xcb97ab==null?void 0x0:_0xcb97ab['type'])==='multiSelect'||(_0xcb97ab==null?void 0x0:_0xcb97ab[_0x2db27a(0x131)])===_0x2db27a(0x292)||(_0xcb97ab==null?void 0x0:_0xcb97ab['type'])===_0x2db27a(0x1d6);}function je(_0x3ac954){const _0x14683d=_0x1410;return _0x3ac954==null||_0x3ac954===''?[]:Array['isArray'](_0x3ac954)?_0x3ac954[_0x14683d(0x2bf)](_0xc2c592=>Me(_0xc2c592))[_0x14683d(0x2a9)](Boolean):String(_0x3ac954)['split'](',')[_0x14683d(0x2bf)](_0x289e7c=>_0x289e7c['trim']())[_0x14683d(0x2a9)](Boolean);}function Me(_0x5a639f){const _0x4adb8b=_0x1410;if(_0x5a639f==null)return'';if(typeof _0x5a639f=='string'||typeof _0x5a639f==_0x4adb8b(0x255)||typeof _0x5a639f==_0x4adb8b(0x1eb))return String(_0x5a639f);if(typeof _0x5a639f==_0x4adb8b(0x1b2)){var _0x1cd126,_0x33b7b4,_0x18dd5;let _0x1b0423=_0x5a639f;return String((_0x1cd126=(_0x33b7b4=(_0x18dd5=_0x1b0423['id'])==null?_0x1b0423[_0x4adb8b(0x15e)]:_0x18dd5)==null?_0x1b0423[_0x4adb8b(0x208)]:_0x33b7b4)==null?'':_0x1cd126);}return String(_0x5a639f);}function Ne(_0x4b19a8){const _0x52b8af=_0x1410;return _0x4b19a8==null?null:typeof _0x4b19a8==_0x52b8af(0x255)?_0x3b8aac[_0x52b8af(0x329)]:typeof _0x4b19a8==_0x52b8af(0x1eb)?_0x3b8aac[_0x52b8af(0x352)]:_0x3b8aac[_0x52b8af(0x1be)];}function Pe(_0x2f9c81,_0x1f1d4f){const _0x3f5d02=_0x1410;return _0x2f9c81===_0x3b8aac[_0x3f5d02(0x1be)]||_0x2f9c81===_0x3b8aac[_0x3f5d02(0x329)]||_0x2f9c81===_0x3b8aac[_0x3f5d02(0x352)]||_0x2f9c81===_0x3b8aac[_0x3f5d02(0x23c)]||_0x2f9c81==null?_0x2f9c81:Ne(_0x1f1d4f==null?null:_0x1f1d4f);}var O=class{[_0x224170(0x2ef)](_0x5c0777,_0x383062){const _0x15d94b=_0x224170;let _0x4e1722=this[_0x15d94b(0x2a2)](_0x383062),_0x5c9f0f=S(_0x15d94b(0xf0),()=>He(_0x5c0777,_0x383062),{'invalidations':_0x4e1722[_0x15d94b(0xe2)]}),_0x262db1=S(_0x15d94b(0x113),()=>_0x43f9ba[_0x15d94b(0x131)][_0x15d94b(0x226)](_0x5c9f0f,_0x383062),{'invalidations':_0x4e1722[_0x15d94b(0xe2)]});return Fe(_0x262db1,_0x4e1722)||this['_getTablesToNormalize'](_0x262db1,_0x4e1722)[_0x15d94b(0x262)](_0x16382c=>{ge(_0x16382c);}),_0x262db1;}['invertOp'](_0x49d102,_0x3d2774){const _0x32acd2=_0x224170;return _0x43f9ba['type'][_0x32acd2(0x2ea)](_0x3d2774,_0x49d102);}[_0x224170(0x2a2)](_0x1f24ea){const _0x32dd3d=_0x224170;let _0x47de92=ze(_0x1f24ea);return _0x47de92[_0x32dd3d(0xe2)]?Be(_0x47de92[_0x32dd3d(0xe0)](_0x3ca82a=>this[_0x32dd3d(0x2a2)](_0x3ca82a))):Ie(_0x1f24ea);}[_0x224170(0x1b7)](_0x21c7e5,_0x2a862c){const _0x5d0404=_0x224170;if(!_0x2a862c['length'])return[];if(_0x2a862c['some'](_0x4d4826=>!_0x4d4826[_0x5d0404(0xe3)])){var _0x3bfe19;return Object[_0x5d0404(0x112)]((_0x3bfe19=_0x21c7e5[_0x5d0404(0x10e)])==null?{}:_0x3bfe19);}return Array[_0x5d0404(0x2fa)](new Set(_0x2a862c['map'](_0x45fad7=>_0x45fad7[_0x5d0404(0xe3)])))[_0x5d0404(0xe0)](_0x348743=>{var _0x5b3d9e;let _0x353dbe=(_0x5b3d9e=_0x21c7e5['tables'])==null?void 0x0:_0x5b3d9e[_0x348743];return _0x353dbe?[_0x353dbe]:[];});}};function Fe(_0x448af1,_0x4bfb03){const _0x9be78c=_0x224170;if(!_0x4bfb03[_0x9be78c(0xe2)]||_0x4bfb03[_0x9be78c(0x346)](_0x5e7996=>_0x5e7996[_0x9be78c(0x1c9)]!==_0x9be78c(0xc7)))return!0x1;let _0x20bfdb=new Map();for(let _0x2ad0e1 of _0x4bfb03){var _0x44ca48;if(!_0x2ad0e1[_0x9be78c(0xe3)]||_0x2ad0e1['row']==null||_0x2ad0e1[_0x9be78c(0xc6)]==null)continue;let _0x501c6f=(_0x44ca48=_0x20bfdb['get'](_0x2ad0e1[_0x9be78c(0xe3)]))==null?[]:_0x44ca48;_0x501c6f['push']({'row':_0x2ad0e1[_0x9be78c(0x20f)],'col':_0x2ad0e1['column']}),_0x20bfdb[_0x9be78c(0x32e)](_0x2ad0e1['tableId'],_0x501c6f);}return _0x20bfdb[_0x9be78c(0x262)]((_0x36838d,_0x3f5b11)=>{const _0x5e5b99=_0x9be78c;var _0x433f8c;let _0x4ab74c=(_0x433f8c=_0x448af1[_0x5e5b99(0x10e)])==null?void 0x0:_0x433f8c[_0x3f5b11];_0x4ab74c&&_e(_0x4ab74c,_0x36838d);}),!0x0;}function Ie(_0x458459){const _0x516d31=_0x224170;if(!Array[_0x516d31(0x278)](_0x458459)||_0x458459[_0x516d31(0xe2)]<0x2)return[{'tableId':'','reason':_0x516d31(0x33a)}];let _0x9c7d91=_0x458459,_0x55a492=_0x9c7d91[_0x516d31(0x2d7)](_0x516d31(0x10e));return _0x55a492===-0x1||typeof _0x9c7d91[_0x55a492+0x1]!=_0x516d31(0x27d)?_0x9c7d91[0x0]==='tableOrder'?[]:[{'tableId':'','reason':_0x516d31(0x33a)}]:Le(_0x9c7d91,_0x55a492,String(_0x9c7d91[_0x55a492+0x1]));}function Le(_0x1873e2,_0x50f194,_0x4c56c7){const _0x35004b=_0x224170;let _0x4e9f80=_0x1873e2[_0x50f194+0x2];return _0x4e9f80==='records'&&typeof _0x1873e2[_0x50f194+0x3]=='string'?Re(_0x1873e2,_0x50f194,_0x4c56c7,String(_0x1873e2[_0x50f194+0x3])):_0x4e9f80==='cellData'&&_0x1873e2[_0x50f194+0x3]!=null&&_0x1873e2[_0x50f194+0x4]!=null?[{'tableId':_0x4c56c7,'reason':_0x35004b(0xc7),'row':Number(_0x1873e2[_0x50f194+0x3]),'column':Number(_0x1873e2[_0x50f194+0x4])}]:_0x4e9f80===_0x35004b(0x147)&&typeof _0x1873e2[_0x50f194+0x3]==_0x35004b(0x27d)?[{'tableId':_0x4c56c7,'reason':_0x35004b(0x1a3),'fieldId':String(_0x1873e2[_0x50f194+0x3])}]:_0x4e9f80===_0x35004b(0x1a1)&&typeof _0x1873e2[_0x50f194+0x3]==_0x35004b(0x27d)?[{'tableId':_0x4c56c7,'reason':_0x35004b(0x155),'viewId':String(_0x1873e2[_0x50f194+0x3])}]:[{'tableId':_0x4c56c7,'reason':_0x4e9f80===void 0x0?_0x35004b(0x273):_0x35004b(0x33a)}];}function Re(_0x3ac3b7,_0x44059f,_0x31009e,_0x10d497){const _0x27b352=_0x224170;return _0x3ac3b7[_0x44059f+0x4]===_0x27b352(0x112)&&typeof _0x3ac3b7[_0x44059f+0x5]=='string'?[{'tableId':_0x31009e,'reason':_0x27b352(0xc7),'recordId':_0x10d497,'fieldId':String(_0x3ac3b7[_0x44059f+0x5])}]:_0x3ac3b7[_0x44059f+0x4]===_0x27b352(0x1c3)||_0x3ac3b7[_0x44059f+0x4]===_0x27b352(0x1ab)?[]:[{'tableId':_0x31009e,'reason':_0x27b352(0xb4),'recordId':_0x10d497}];}function ze(_0x37b2c3){const _0x55df62=_0x224170;if(!Array[_0x55df62(0x278)](_0x37b2c3))return[];let _0x3837cc=_0x37b2c3[_0x55df62(0x2a9)](Array[_0x55df62(0x278)]);if(_0x3837cc[_0x55df62(0xe2)]>0x1&&_0x3837cc['length']===_0x37b2c3[_0x55df62(0xe2)])return _0x3837cc;let _0x52d051=_0x37b2c3[_0x55df62(0xcc)](Array[_0x55df62(0x278)]);if(_0x52d051>0x0&&_0x37b2c3['slice'](_0x52d051)['every'](Array['isArray'])){let _0x7826a5=_0x37b2c3['slice'](0x0,_0x52d051);return _0x37b2c3[_0x55df62(0x177)](_0x52d051)['map'](_0x3e98cf=>[..._0x7826a5,..._0x3e98cf]);}let _0x408042=_0x37b2c3[_0x55df62(0x2d7)](_0x55df62(0x10e));if(_0x408042===-0x1||typeof _0x37b2c3[_0x408042+0x1]!=_0x55df62(0x27d))return[];let _0x3adad5=String(_0x37b2c3[_0x408042+0x1]),_0x3620e3=_0x37b2c3[_0x55df62(0x177)](_0x408042+0x2)['filter'](Array['isArray']);return _0x3620e3['length']<=0x1?[]:_0x3620e3[_0x55df62(0x2bf)](_0x2ad07e=>[_0x55df62(0x10e),_0x3adad5,..._0x2ad07e]);}function Be(_0x36cd4b){const _0x384f14=_0x224170;let _0x560c31=new Set();return _0x36cd4b[_0x384f14(0x2a9)](_0x92d99e=>{const _0x4e9cae=_0x384f14;let _0x2c66d8=JSON[_0x4e9cae(0x355)](_0x92d99e);return _0x560c31[_0x4e9cae(0x2d9)](_0x2c66d8)?!0x1:(_0x560c31['add'](_0x2c66d8),!0x0);});}function Ve(_0x5bbf2d){const _0x10d2ed=_0x224170;return _0x2beb92[_0x10d2ed(0x246)](_0x5bbf2d);}function He(_0x137752,_0xf6b87e){let _0x20f627=Ue(_0xf6b87e);if(!_0x20f627['length'])return Ve(_0x137752);let _0x240962=Je(_0x137752);for(let _0x374d26 of _0x20f627)Ke(_0x240962,_0x374d26);return _0x240962;}function Ue(_0x42c6c0){let _0x57d00f=[];return We(_0x42c6c0,[],_0x57d00f),_0x57d00f;}function We(_0xa14d4d,_0x2d103c,_0x5ccc5f){const _0x2824e=_0x224170;if(!Array[_0x2824e(0x278)](_0xa14d4d))return;let _0x4a4c2f=[];for(let _0xa21d32 of _0xa14d4d){if(Array[_0x2824e(0x278)](_0xa21d32)){We(_0xa21d32,[..._0x2d103c,..._0x4a4c2f],_0x5ccc5f);continue;}if(Ge(_0xa21d32)){_0x5ccc5f[_0x2824e(0x14d)]([..._0x2d103c,..._0x4a4c2f]);continue;}(typeof _0xa21d32==_0x2824e(0x27d)||typeof _0xa21d32==_0x2824e(0x255))&&_0x4a4c2f[_0x2824e(0x14d)](_0xa21d32);}}function Ge(_0x1792be){const _0x66077f=_0x224170;if(!_0x1792be||typeof _0x1792be!=_0x66077f(0x1b2)||Array['isArray'](_0x1792be))return!0x1;let _0x433251=_0x1792be;return'i'in _0x433251||'r'in _0x433251||'p'in _0x433251||'d'in _0x433251||'es'in _0x433251||_0x66077f(0x20d)in _0x433251||'et'in _0x433251;}function Ke(_0x1ea8cd,_0x411c1d){const _0xd2cf0b=_0x224170;let _0x979bd7=_0x1ea8cd;for(let _0x2b6ada=0x0;_0x2b6ada<_0x411c1d[_0xd2cf0b(0xe2)]-0x1;_0x2b6ada++){let _0x8d6078=_0x411c1d[_0x2b6ada],_0x4c774c=_0x979bd7==null?void 0x0:_0x979bd7[_0x8d6078];if(!qe(_0x4c774c))return;let _0x51e78e=Je(_0x4c774c);_0x979bd7[_0x8d6078]=_0x51e78e,_0x979bd7=_0x51e78e;}}function qe(_0x4f5651){return!!_0x4f5651&&typeof _0x4f5651=='object';}function Je(_0x42a95e){const _0x4480d1=_0x224170;return Array[_0x4480d1(0x278)](_0x42a95e)?_0x42a95e[_0x4480d1(0x177)]():{..._0x42a95e};}const Ye=0x5a0*0x3c*0x3e8,Xe=0x63e1,Ze='yyyy/mm/dd',Qe={'yyyy/mm/dd':_0x224170(0x30e),'yyyy/mm/dd\x20hh:mm':_0x224170(0x1d5),'yyyy-mm-dd':'YYYY-MM-DD','mm-dd':'MM-DD','mm/dd/yyyy':_0x224170(0x201),'dd/mm/yyyy':'DD/MM/YYYY','mmm\x20d,\x20yyyy':_0x224170(0x1b0)};function k(_0x14eb49){const _0x387f3e=_0x224170;return _0x1c4858(_0x14eb49)[_0x387f3e(0x164)]()/Ye+Xe;}function $e(_0x55adb3){return(_0x55adb3-Xe)*Ye;}function A(_0x36570c){const _0x2f59cd=_0x224170;if(_0x36570c==null||_0x36570c==='')return null;if(_0x36570c instanceof Date)return k(_0x36570c);if(typeof _0x36570c==_0x2f59cd(0x255))return Number[_0x2f59cd(0x34b)](_0x36570c)?_0x36570c>0xf4240?k(_0x36570c):_0x36570c:null;let _0x451a84=Date[_0x2f59cd(0x1d1)](String(_0x36570c));return Number[_0x2f59cd(0x1cd)](_0x451a84)?null:k(_0x451a84);}function j(_0x107bde){let _0x413bad=A(_0x107bde);return _0x413bad==null?null:$e(_0x413bad);}function et(_0x13e694,_0x1feb73={}){const _0x4b003c=_0x224170;var _0x3a349f,_0x5664d3,_0x2c809f;let _0x36db11=j(_0x13e694);if(_0x36db11==null||!Number['isFinite'](_0x36db11))return'';let _0x5cef5a=String((_0x3a349f=(_0x5664d3=_0x1feb73[_0x4b003c(0x1fa)])==null?_0x1feb73[_0x4b003c(0x222)]:_0x5664d3)==null?Ze:_0x3a349f),_0x5398ac=_0x1feb73[_0x4b003c(0x13f)]===!0x0||_0x5cef5a[_0x4b003c(0x1bc)]('hh:mm'),_0x460961=String((_0x2c809f=_0x1feb73[_0x4b003c(0x23d)])==null?_0x4b003c(0x2c0):_0x2c809f);return _0x1c4858(_0x36db11)[_0x4b003c(0x222)](tt(_0x5cef5a,_0x5398ac,_0x460961));}function tt(_0x1cdaf6,_0x5363b3,_0x1f74fc){const _0x5387c5=_0x224170;var _0x109c4c;let _0x5d36b9=(_0x109c4c=Qe[_0x1cdaf6])==null?Qe[Ze]:_0x109c4c;return!_0x5363b3||_0x1cdaf6[_0x5387c5(0x1bc)](_0x5387c5(0x152))?_0x5d36b9:_0x5d36b9+'\x20'+(_0x1f74fc===_0x5387c5(0x15c)?'h:mm\x20a':_0x5387c5(0x1e1));}const nt={'editable':!0x0,'sortable':!0x0,'filterable':!0x0,'groupable':!0x1,'usableAsKanbanGroup':!0x1,'usableAsCalendarDate':!0x1,'usableAsGanttStart':!0x1,'usableAsGanttEnd':!0x1,'usableAsGanttProgress':!0x1,'usableAsCardCover':!0x1,'usableAsTitle':!0x1},rt=new Set([_0x224170(0x2c3),'summary',_0x224170(0x326),_0x224170(0x30f),_0x224170(0x166),_0x224170(0xd4),_0x224170(0x303),_0x224170(0x161)]),M=0x5a0*0x3c*0x3e8;function it(_0x599cdb,_0x4f71c2){const _0xbdcbc3=_0x224170;return _0x599cdb==null&&_0x4f71c2==null?0x0:_0x599cdb==null?-0x1:_0x4f71c2==null?0x1:typeof _0x599cdb==_0xbdcbc3(0x255)&&typeof _0x4f71c2==_0xbdcbc3(0x255)?_0x599cdb-_0x4f71c2:String(_0x599cdb)['localeCompare'](String(_0x4f71c2));}function at(_0x4ea43a,_0xe0a667,_0x3e4917,_0x4625a0,_0x1a0f49={}){const _0x20e707=_0x224170;if(_0xe0a667===_0x20e707(0x2cf))return ot(_0x4ea43a);if(_0xe0a667===_0x20e707(0x2b8))return!ot(_0x4ea43a);switch(_0x4625a0['type']){case _0x20e707(0x255):case _0x20e707(0x223):case _0x20e707(0x1b1):case _0x20e707(0x10d):return st(_0x4ea43a,_0xe0a667,_0x3e4917);case _0x20e707(0xca):case'createdAt':case _0x20e707(0x1c3):return lt(_0x4ea43a,_0xe0a667,_0x3e4917,_0x1a0f49);case'checkbox':return ht(_0x4ea43a,_0xe0a667,_0x3e4917);case _0x20e707(0x33e):case _0x20e707(0x2f8):case _0x20e707(0x292):case _0x20e707(0x1d6):return _t(_0x4ea43a,_0xe0a667,_0x3e4917,_0x4625a0);default:return vt(_0x4ea43a,_0xe0a667,_0x3e4917);}}function ot(_0xd433f7){const _0x5393df=_0x224170;return _0xd433f7==null?!0x0:Array['isArray'](_0xd433f7)?_0xd433f7[_0x5393df(0xe2)]===0x0:typeof _0xd433f7==_0x5393df(0x27d)?_0xd433f7[_0x5393df(0x332)]()==='':!0x1;}function st(_0x2832f4,_0x322020,_0x44e3e5){const _0x552082=_0x224170;let _0x281881=ct(_0x2832f4),_0x1e9f74=ct(_0x44e3e5);if(_0x281881==null||_0x1e9f74==null)return!0x1;switch(_0x322020){case'is':return _0x281881===_0x1e9f74;case _0x552082(0x2d2):return _0x281881!==_0x1e9f74;case _0x552082(0x212):return _0x281881>_0x1e9f74;case'greaterThanOrEqual':return _0x281881>=_0x1e9f74;case _0x552082(0x16a):return _0x281881<_0x1e9f74;case _0x552082(0x1e5):return _0x281881<=_0x1e9f74;default:return!0x1;}}function ct(_0x552bfc){const _0x16f960=_0x224170;if(_0x552bfc==null||_0x552bfc==='')return null;let _0x40d8d5=Number(_0x552bfc);return Number[_0x16f960(0x34b)](_0x40d8d5)?_0x40d8d5:null;}function lt(_0x481ef4,_0x3979d7,_0x1c3b17,_0x59a198){const _0x28b0f2=_0x224170;var _0x3a186d;let _0x5fc68b=dt(_0x481ef4);if(_0x5fc68b==null)return!0x1;let _0x2e10a2=ut((_0x3a186d=_0x59a198['dateMode'])==null?'exact':_0x3a186d,_0x1c3b17,_0x59a198[_0x28b0f2(0x2c2)]);if(!_0x2e10a2)return!0x1;switch(_0x3979d7){case'is':return _0x5fc68b>=_0x2e10a2[_0x28b0f2(0x18e)]&&_0x5fc68b<=_0x2e10a2['end'];case'isNot':return _0x5fc68b<_0x2e10a2[_0x28b0f2(0x18e)]||_0x5fc68b>_0x2e10a2[_0x28b0f2(0x13b)];case'before':return _0x5fc68b<_0x2e10a2[_0x28b0f2(0x18e)];case _0x28b0f2(0x2e9):return _0x5fc68b>_0x2e10a2[_0x28b0f2(0x13b)];default:return!0x1;}}function ut(_0x37fc21,_0x3aa328,_0x562271=Date[_0x224170(0x2c2)]()){const _0x2a4952=_0x224170;let _0x39403d=ft(_0x562271);switch(_0x37fc21){case'exact':{let _0x40aa3f=dt(_0x3aa328);return _0x40aa3f==null?null:{'start':_0x40aa3f,'end':_0x40aa3f+M-0x1};}case _0x2a4952(0xe6):return{'start':_0x39403d,'end':_0x39403d+M-0x1};case _0x2a4952(0x2fd):return{'start':_0x39403d+M,'end':_0x39403d+M*0x2-0x1};case _0x2a4952(0x194):return{'start':_0x39403d-M,'end':_0x39403d-0x1};case _0x2a4952(0x1e9):return pt(_0x39403d,0x0);case'lastWeek':return pt(_0x39403d,-0x1);case _0x2a4952(0x138):return mt(_0x39403d,0x0);case _0x2a4952(0xc0):return mt(_0x39403d,-0x1);case _0x2a4952(0x12e):return{'start':_0x39403d-M*0x6,'end':_0x39403d+M-0x1};case _0x2a4952(0x146):return{'start':_0x39403d,'end':_0x39403d+M*0x7-0x1};case _0x2a4952(0x1ba):return{'start':_0x39403d-M*0x1d,'end':_0x39403d+M-0x1};case'next30':return{'start':_0x39403d,'end':_0x39403d+M*0x1e-0x1};}}function dt(_0x70ef6){let _0x364b3c=A(_0x70ef6);return _0x364b3c==null?null:ft($e(_0x364b3c));}function ft(_0x3e7f36){const _0x2351f6=_0x224170;let _0x454839=new Date(_0x3e7f36);return _0x454839['setHours'](0x0,0x0,0x0,0x0),_0x454839[_0x2351f6(0x14e)]();}function pt(_0x3942cf,_0x27787c){let _0x1486fa=_0x3942cf-(new Date(_0x3942cf)['getDay']()+0x6)%0x7*M+_0x27787c*M*0x7;return{'start':_0x1486fa,'end':_0x1486fa+M*0x7-0x1};}function mt(_0x500ce2,_0x43dcbb){const _0x2e14b8=_0x224170;let _0x9f02d0=new Date(_0x500ce2),_0x1f3350=new Date(_0x9f02d0[_0x2e14b8(0x200)](),_0x9f02d0['getMonth']()+_0x43dcbb,0x1),_0x2f4ae9=new Date(_0x9f02d0[_0x2e14b8(0x200)](),_0x9f02d0['getMonth']()+_0x43dcbb+0x1,0x1);return{'start':_0x1f3350[_0x2e14b8(0x14e)](),'end':_0x2f4ae9[_0x2e14b8(0x14e)]()-0x1};}function ht(_0x1768b3,_0x479f23,_0x29eca7){const _0xb905f8=_0x224170;let _0x2285f0=gt(_0x1768b3),_0x51400d=gt(_0x29eca7);switch(_0x479f23){case'is':return _0x2285f0===_0x51400d;case _0xb905f8(0x2d2):return _0x2285f0!==_0x51400d;default:return!0x1;}}function gt(_0xbe9eeb){const _0x3eed38=_0x224170;return _0xbe9eeb===!0x0||_0xbe9eeb===_0x3eed38(0x1c6)||_0xbe9eeb===0x1||_0xbe9eeb==='1';}function _t(_0x33baac,_0x4fed7d,_0x2d0647,_0x18f020){const _0x14d4c2=_0x224170;let _0x15c045=bt(_0x33baac,_0x18f020),_0x5ae1cb=bt(_0x2d0647,_0x18f020),_0x13da62=_0x5ae1cb['length']>0x0&&_0x5ae1cb[_0x14d4c2(0x346)](_0x24ea70=>_0x15c045[_0x14d4c2(0x1bc)](_0x24ea70));switch(_0x4fed7d){case'is':case'contains':return _0x13da62;case _0x14d4c2(0x2d2):case _0x14d4c2(0xf1):return!_0x13da62;default:return!0x1;}}function vt(_0x37be4d,_0x45afed,_0x159d98){const _0x33b139=_0x224170;let _0x598011=yt(_0x37be4d),_0x2ecdeb=yt(_0x159d98);switch(_0x45afed){case'is':return _0x598011===_0x2ecdeb;case _0x33b139(0x2d2):return _0x598011!==_0x2ecdeb;case'contains':return _0x2ecdeb?_0x598011[_0x33b139(0x1bc)](_0x2ecdeb):!0x1;case _0x33b139(0xf1):return _0x2ecdeb?!_0x598011['includes'](_0x2ecdeb):!0x0;default:return!0x1;}}function yt(_0x4dab5d){const _0xa52db2=_0x224170;if(Array['isArray'](_0x4dab5d))return _0x4dab5d[_0xa52db2(0x2bf)](_0x59fc1a=>yt(_0x59fc1a))[_0xa52db2(0x132)]('\x0a');if(_0x4dab5d&&typeof _0x4dab5d=='object'){var _0x4eddab,_0x302e13,_0x5685ce,_0x535dd1,_0x4dc753;let _0x16b938=_0x4dab5d;return String((_0x4eddab=(_0x302e13=(_0x5685ce=(_0x535dd1=(_0x4dc753=_0x16b938[_0xa52db2(0x15e)])==null?_0x16b938[_0xa52db2(0x283)]:_0x4dc753)==null?_0x16b938[_0xa52db2(0x208)]:_0x535dd1)==null?_0x16b938[_0xa52db2(0x171)]:_0x5685ce)==null?_0x16b938['id']:_0x302e13)==null?'':_0x4eddab)[_0xa52db2(0x332)]()[_0xa52db2(0x27f)]();}return String(_0x4dab5d==null?'':_0x4dab5d)[_0xa52db2(0x332)]()[_0xa52db2(0x27f)]();}function bt(_0x47b75f,_0x19f82e){const _0x8eddf9=_0x224170;var _0xe91d13;let _0x1b76a3=xt(_0x47b75f),_0x1857aa=St((_0xe91d13=_0x19f82e[_0x8eddf9(0x1aa)])==null?{}:_0xe91d13);return _0x1b76a3[_0x8eddf9(0xe0)](_0x160fef=>{var _0x57f0cf;return(_0x57f0cf=_0x1857aa['get'](_0x160fef))==null?[_0x160fef]:_0x57f0cf;})[_0x8eddf9(0x2a9)]((_0x21bc04,_0x14f6ec,_0x327bd0)=>_0x21bc04!==''&&_0x327bd0[_0x8eddf9(0x2d7)](_0x21bc04)===_0x14f6ec);}function xt(_0x2e69f1){const _0x2b23f1=_0x224170;if(_0x2e69f1==null||_0x2e69f1==='')return[];if(Array[_0x2b23f1(0x278)](_0x2e69f1))return _0x2e69f1[_0x2b23f1(0xe0)](_0x58b394=>xt(_0x58b394));if(_0x2e69f1&&typeof _0x2e69f1==_0x2b23f1(0x1b2)){let _0x8a68bc=_0x2e69f1;return['id','name','label',_0x2b23f1(0x171),'text'][_0x2b23f1(0xe0)](_0x47137c=>xt(_0x8a68bc[_0x47137c]))[_0x2b23f1(0x2a9)]((_0x3db47c,_0x4d400f,_0x4f413b)=>_0x4f413b[_0x2b23f1(0x2d7)](_0x3db47c)===_0x4d400f);}return[yt(_0x2e69f1)];}function St(_0x1ed0bb){const _0x258505=_0x224170;let _0x12570a=new Map();return(Array[_0x258505(0x278)](_0x1ed0bb[_0x258505(0x236)])?_0x1ed0bb[_0x258505(0x236)]:[])[_0x258505(0x262)](_0x4f26d0=>{const _0x3eeb28=_0x258505;if(!_0x4f26d0||typeof _0x4f26d0!=_0x3eeb28(0x1b2))return;let _0x1fa9a4=xt(_0x4f26d0),_0x3f8585=_0x1fa9a4[_0x3eeb28(0x2a9)]((_0x48fd9a,_0x2eb376)=>_0x48fd9a!==''&&_0x1fa9a4[_0x3eeb28(0x2d7)](_0x48fd9a)===_0x2eb376);_0x3f8585[_0x3eeb28(0x262)](_0x51b4ad=>_0x12570a[_0x3eeb28(0x32e)](_0x51b4ad,_0x3f8585));}),_0x12570a;}function N(_0x408415,_0x45012e={},_0x3e1a34=_0x567299=>_0x567299,_0x49e3cf={}){const _0x388fbc=_0x224170;var _0x2b386c,_0x4d2c74,_0x4b5c03,_0x53e44d;let _0x4d8de1=!rt[_0x388fbc(0x2d9)](_0x408415),_0x4d9e75=_0x3e1a34==null?_0x131a8e=>_0x131a8e:_0x3e1a34;return{'type':_0x408415,'i18nKey':'base.fieldType.'+_0x408415,'enabled':_0x4d8de1,'visibleInCreateMenu':_0x4d8de1,'createDefaultConfig':(_0x2b386c=_0x49e3cf[_0x388fbc(0x259)])==null?()=>({}):_0x2b386c,'createDefaultValue':(_0x4d2c74=_0x49e3cf[_0x388fbc(0x279)])==null?_0x377983=>{var _0x2af7db;return(_0x2af7db=_0x377983['defaultValue'])==null?null:_0x2af7db;}:_0x4d2c74,'normalize':(_0x2cd1ab,_0x4c85e7)=>_0x4d9e75(_0x2cd1ab,_0x4c85e7),'validate':(_0x21c19a,_0x1efdf0)=>{const _0x4c3823=_0x388fbc;var _0x1d3263,_0x1f4b3e;return _0x4d8de1?(_0x1d3263=(_0x1f4b3e=_0x49e3cf[_0x4c3823(0x290)])==null?void 0x0:_0x1f4b3e['call'](_0x49e3cf,_0x21c19a,_0x1efdf0))==null?{'valid':!0x0}:_0x1d3263:{'valid':!0x1};},'compare':(_0x2bf01d,_0x35e07f)=>it(_0x2bf01d,_0x35e07f),'filter':(_0x38353c,_0x44574a,_0x1bf47c,_0x4446be)=>at(_0x38353c,_0x44574a,_0x1bf47c,_0x4446be),'toPlainText':(_0x4b5c03=_0x49e3cf[_0x388fbc(0xc3)])==null?_0x837b6d=>_0x837b6d==null?'':String(_0x837b6d):_0x4b5c03,'fromPlainText':(_0x53e44d=_0x49e3cf[_0x388fbc(0x280)])==null?_0x68d209=>_0x4d9e75(_0x68d209,{'id':'','name':'','type':_0x408415,'config':{}}):_0x53e44d,'getCapabilities':()=>{var _0x4ebba7;return{...nt,..._0x45012e,'editable':_0x4d8de1&&((_0x4ebba7=_0x45012e['editable'])==null?nt['editable']:_0x4ebba7)};}};}function Ct(){const _0xdef1e8=_0x224170;return[N(_0xdef1e8(0x208),{'groupable':!0x0,'usableAsTitle':!0x0},void 0x0,{'createDefaultConfig':()=>({'placeholder':_0xdef1e8(0x125)}),'createDefaultValue':_0x2f4d1d=>{const _0x1dda76=_0xdef1e8;var _0x39fd1e;return(_0x39fd1e=_0x2f4d1d[_0x1dda76(0x245)])==null?'':_0x39fd1e;}}),N(_0xdef1e8(0x33e),{'groupable':!0x0,'usableAsKanbanGroup':!0x0,'supportsOptions':!0x0},_0x487444=>_0x487444==null||_0x487444===''?null:String(_0x487444),{'createDefaultConfig':()=>({'options':[],'optionSource':{'type':_0xdef1e8(0x1b6)}})}),N(_0xdef1e8(0x2f8),{'filterable':!0x0,'usableAsKanbanGroup':!0x0,'supportsOptions':!0x0,'supportsMultipleValues':!0x0},_0x3bb556=>Array[_0xdef1e8(0x278)](_0x3bb556)?_0x3bb556[_0xdef1e8(0x2bf)](String):_0x3bb556==null?[]:[String(_0x3bb556)],{'createDefaultConfig':()=>({'options':[],'optionSource':{'type':_0xdef1e8(0x1b6)}}),'createDefaultValue':_0x5cfe97=>{const _0x4cf498=_0xdef1e8;var _0x227bf8;return(_0x227bf8=_0x5cfe97[_0x4cf498(0x245)])==null?[]:_0x227bf8;}}),N(_0xdef1e8(0x292),{'groupable':!0x0,'usableAsKanbanGroup':!0x0,'supportsMultipleValues':!0x0},Dt,{'createDefaultConfig':()=>({'allowMultiple':!0x1,'provider':_0xdef1e8(0x292)}),'validate':Ot}),N(_0xdef1e8(0x1d6),{'groupable':!0x0,'usableAsKanbanGroup':!0x0,'supportsMultipleValues':!0x0},Et,{'createDefaultConfig':()=>({'allowMultiple':!0x0,'provider':'group'}),'createDefaultValue':_0x37dcce=>{const _0xf7c019=_0xdef1e8;var _0x32361b;return(_0x32361b=_0x37dcce[_0xf7c019(0x245)])==null?[]:_0x32361b;},'validate':kt}),N(_0xdef1e8(0xca),{'groupable':!0x0,'usableAsCalendarDate':!0x0,'usableAsGanttStart':!0x0,'usableAsGanttEnd':!0x0},_0x87d1b2=>A(_0x87d1b2),{'createDefaultConfig':()=>Tt(),'validate':At}),N('attachment',{'usableAsCardCover':!0x0,'supportsMultipleValues':!0x0},_0xbf5da6=>_0xbf5da6==null?[]:Array[_0xdef1e8(0x278)](_0xbf5da6)?_0xbf5da6:[_0xbf5da6],{'createDefaultValue':_0x1b16d2=>{const _0x13f3cf=_0xdef1e8;var _0x556bfa;return(_0x556bfa=_0x1b16d2[_0x13f3cf(0x245)])==null?[]:_0x556bfa;}}),N(_0xdef1e8(0x255),{},_0x155ea0=>_0x155ea0==null||_0x155ea0===''?null:Number(_0x155ea0),{'createDefaultConfig':()=>wt(),'validate':jt}),N(_0xdef1e8(0x34d),{'groupable':!0x0,'usableAsKanbanGroup':!0x0},_0x311646=>_0x311646===!0x0||_0x311646===_0xdef1e8(0x1c6)||_0x311646===0x1||_0x311646==='1',{'createDefaultConfig':()=>({'icon':_0xdef1e8(0x17d),'color':_0xdef1e8(0x30c)}),'createDefaultValue':_0x329e30=>{const _0x4f3434=_0xdef1e8;var _0x5ddedd;return(_0x5ddedd=_0x329e30[_0x4f3434(0x245)])==null?!0x1:_0x5ddedd;},'validate':_0x49adc2=>typeof _0x49adc2==_0xdef1e8(0x1eb)?{'valid':!0x0}:{'valid':!0x1,'reason':_0xdef1e8(0x356)}}),N('link',{'supportsRelation':!0x0},Nt,{'createDefaultConfig':()=>({'placeholder':_0xdef1e8(0xcb)}),'toPlainText':_0x356b9c=>Pt(_0x356b9c),'fromPlainText':_0xc6cbe5=>Nt(_0xc6cbe5)}),N('formula',{'editable':!0x1},void 0x0,{'createDefaultConfig':()=>({'formula':'','dependencies':[],'numfmt':{'type':_0xdef1e8(0x1f4),'pattern':_0xdef1e8(0x251)}}),'createDefaultValue':()=>null}),N('lookup',{}),N('flow',{}),N(_0xdef1e8(0x30f),{'editable':!0x1,'sortable':!0x1,'filterable':!0x1}),N(_0xdef1e8(0x2bb),{'editable':!0x1,'usableAsTitle':!0x0},void 0x0,{'createDefaultConfig':()=>({'mode':'autoIncrement'}),'createDefaultValue':()=>null}),N(_0xdef1e8(0x106),{'usableAsTitle':!0x0},_0x3a0a0c=>_0x3a0a0c==null?null:String(_0x3a0a0c)[_0xdef1e8(0x332)](),{'validate':_0x401d81=>_0x401d81==null||_0x401d81===''||/^\+?[0-9 ()-]{6,20}$/['test'](String(_0x401d81))?{'valid':!0x0}:{'valid':!0x1,'reason':_0xdef1e8(0x109)}}),N(_0xdef1e8(0x193),{'usableAsTitle':!0x0},_0x4f5845=>_0x4f5845==null?null:String(_0x4f5845)[_0xdef1e8(0x332)](),{'validate':_0x2ed9e0=>_0x2ed9e0==null||_0x2ed9e0===''||It(String(_0x2ed9e0))?{'valid':!0x0}:{'valid':!0x1,'reason':_0xdef1e8(0xd1)}}),N(_0xdef1e8(0x166),{'usableAsTitle':!0x0}),N(_0xdef1e8(0x161),{'usableAsTitle':!0x0}),N(_0xdef1e8(0x1b1),{'usableAsGanttProgress':!0x0},_0x142c08=>_0x142c08==null||_0x142c08===''?null:Number(_0x142c08),{'createDefaultConfig':()=>({'format':_0xdef1e8(0x1f0),'decimalPlaces':0x0,'color':'blue','customRange':!0x1,'start':0x0,'end':0x64}),'validate':(_0x250326,_0x468463)=>Mt(_0x250326,_0x468463,_0xdef1e8(0x29b))}),N(_0xdef1e8(0x223),{},_0x3afdf7=>_0x3afdf7==null||_0x3afdf7===''?null:Number(_0x3afdf7),{'createDefaultConfig':()=>({...wt(),'currencySymbol':'$'}),'validate':jt}),N(_0xdef1e8(0x10d),{'groupable':!0x0,'usableAsKanbanGroup':!0x0},_0x29e062=>_0x29e062==null||_0x29e062===''?null:Number(_0x29e062),{'createDefaultConfig':()=>({'icon':_0xdef1e8(0x1a8),'min':0x1,'max':0x5}),'createDefaultValue':()=>null,'validate':(_0x5027e8,_0x4ea3b9)=>Mt(_0x5027e8,_0x4ea3b9,_0xdef1e8(0x1f3))}),N(_0xdef1e8(0xd4),{'supportsRelation':!0x0}),N('recordId',{'editable':!0x1,'sortable':!0x0,'filterable':!0x0,'usableAsTitle':!0x0}),N(_0xdef1e8(0x358),{'editable':!0x1,'groupable':!0x0},_0xc6961=>_0xc6961==null?null:String(_0xc6961),{'createDefaultConfig':()=>({'provider':_0xdef1e8(0x1d3)}),'createDefaultValue':()=>null}),N('updatedBy',{'editable':!0x1,'groupable':!0x0},_0x173fee=>_0x173fee==null?null:String(_0x173fee),{'createDefaultConfig':()=>({'provider':_0xdef1e8(0x1d3)}),'createDefaultValue':()=>null}),N(_0xdef1e8(0x24c),{'editable':!0x1,'usableAsCalendarDate':!0x0,'usableAsGanttStart':!0x0,'usableAsGanttEnd':!0x0},_0x8a8246=>A(_0x8a8246),{'createDefaultConfig':()=>Tt(),'createDefaultValue':()=>null,'validate':At}),N(_0xdef1e8(0x1c3),{'editable':!0x1,'usableAsCalendarDate':!0x0,'usableAsGanttStart':!0x0,'usableAsGanttEnd':!0x0},_0x4e7828=>A(_0x4e7828),{'createDefaultConfig':()=>Tt(),'createDefaultValue':()=>null,'validate':At}),N('summary',{})];}function wt(){const _0x481faa=_0x224170;return{'pattern':_0x481faa(0x1f8),'decimalPlaces':0x2,'separatorStyle':'local','useThousands':!0x0,'abbreviation':'none','allowNegative':!0x0};}function Tt(){const _0x402a81=_0x224170;return{'locale':_0x402a81(0x111),'pattern':_0x402a81(0x179),'includeTime':!0x1,'hourCycle':'h24','defaultMode':'none'};}function Et(_0xe64b6){const _0x2b0354=_0x224170;return _0xe64b6==null||_0xe64b6===''?[]:Array[_0x2b0354(0x278)](_0xe64b6)?_0xe64b6[_0x2b0354(0x2bf)](String):[String(_0xe64b6)];}function Dt(_0x2ffb86,_0x34b860){const _0x5f51bc=_0x224170;var _0x5a7123;return _0x2ffb86==null||_0x2ffb86===''?_0x34b860[_0x5f51bc(0x1aa)][_0x5f51bc(0x2c7)]===!0x0?[]:null:_0x34b860[_0x5f51bc(0x1aa)][_0x5f51bc(0x2c7)]===!0x0?Array[_0x5f51bc(0x278)](_0x2ffb86)?_0x2ffb86[_0x5f51bc(0x2bf)](String):[String(_0x2ffb86)]:Array[_0x5f51bc(0x278)](_0x2ffb86)?String((_0x5a7123=_0x2ffb86[0x0])==null?'':_0x5a7123)||null:String(_0x2ffb86);}function Ot(_0x4ff481,_0x2c742d){const _0x506095=_0x224170;return _0x2c742d['config'][_0x506095(0x2c7)]===!0x0?kt(_0x4ff481):_0x4ff481==null||_0x4ff481===''||typeof _0x4ff481==_0x506095(0x27d)?{'valid':!0x0}:{'valid':!0x1,'reason':'[BaseField]:\x20invalid\x20person\x20value.'};}function kt(_0x59cb2a){const _0x55f7fd=_0x224170;return _0x59cb2a==null||Array[_0x55f7fd(0x278)](_0x59cb2a)&&_0x59cb2a[_0x55f7fd(0x298)](_0x2056d7=>typeof _0x2056d7==_0x55f7fd(0x27d))?{'valid':!0x0}:{'valid':!0x1,'reason':_0x55f7fd(0x2a3)};}function At(_0x3ffa81){const _0x2844cc=_0x224170;return _0x3ffa81==null||typeof _0x3ffa81=='number'&&Number[_0x2844cc(0x34b)](_0x3ffa81)?{'valid':!0x0}:{'valid':!0x1,'reason':_0x2844cc(0x205)};}function jt(_0x469e3b,_0x496ec8){const _0x26d39e=_0x224170;return _0x469e3b==null||_0x469e3b===''?{'valid':!0x0}:typeof _0x469e3b!='number'||!Number[_0x26d39e(0x34b)](_0x469e3b)?{'valid':!0x1,'reason':_0x26d39e(0x1e8)}:_0x496ec8['config'][_0x26d39e(0x1bd)]===!0x1&&_0x469e3b<0x0?{'valid':!0x1,'reason':_0x26d39e(0x304)}:{'valid':!0x0};}function Mt(_0x28ef14,_0x430dff,_0x28022c){const _0x24424d=_0x224170;var _0x5dae99,_0x2eeef8,_0x43d964,_0x33db18;let _0x538368=jt(_0x28ef14,_0x430dff);if(!_0x538368[_0x24424d(0x15d)]||_0x28ef14==null||_0x28ef14==='')return _0x538368;let _0x5f4fd8=Number((_0x5dae99=(_0x2eeef8=_0x430dff[_0x24424d(0x1aa)][_0x24424d(0x219)])==null?_0x430dff['config'][_0x24424d(0x18e)]:_0x2eeef8)==null?0x0:_0x5dae99),_0x58cda5=Number((_0x43d964=(_0x33db18=_0x430dff[_0x24424d(0x1aa)]['max'])==null?_0x430dff['config'][_0x24424d(0x13b)]:_0x33db18)==null?0x64:_0x43d964),_0x1e0251=Number(_0x28ef14);return _0x1e0251>=_0x5f4fd8&&_0x1e0251<=_0x58cda5?{'valid':!0x0}:{'valid':!0x1,'reason':_0x28022c};}function Nt(_0x2e96ce){const _0x25a618=_0x224170;if(_0x2e96ce==null||_0x2e96ce==='')return null;if(typeof _0x2e96ce==_0x25a618(0x1b2)&&!Array[_0x25a618(0x278)](_0x2e96ce)){let _0x307630=_0x2e96ce,_0x45ec3a=typeof _0x307630[_0x25a618(0x208)]==_0x25a618(0x27d)?_0x307630[_0x25a618(0x208)][_0x25a618(0x332)]():'',_0x32f3a8=typeof _0x307630['url']==_0x25a618(0x27d)?_0x307630[_0x25a618(0x20b)][_0x25a618(0x332)]():'',_0x3da217=Ft(_0x32f3a8||_0x45ec3a);return _0x3da217?{'text':_0x45ec3a||_0x32f3a8||_0x3da217,'url':_0x3da217}:null;}let _0x2826b9=String(_0x2e96ce)[_0x25a618(0x332)](),_0x43af65=Ft(_0x2826b9);return _0x43af65?{'text':_0x2826b9,'url':_0x43af65}:null;}function Pt(_0x57d953){const _0x41ab4c=_0x224170;if(_0x57d953==null)return'';if(typeof _0x57d953==_0x41ab4c(0x1b2)&&!Array[_0x41ab4c(0x278)](_0x57d953)){let _0x4df9a8=_0x57d953;return String(_0x4df9a8[_0x41ab4c(0x208)]||_0x4df9a8[_0x41ab4c(0x20b)]||'');}return String(_0x57d953);}function Ft(_0x83ffc3){const _0x172ac0=_0x224170;let _0x3b42f2=_0x83ffc3['trim']();return _0x3b42f2?/^[a-z][a-z\d+.-]*:\/\//i[_0x172ac0(0x26a)](_0x3b42f2)?_0x3b42f2:_0x172ac0(0x310)+_0x3b42f2:'';}function It(_0x135b8e){const _0x4eeb33=_0x224170;let _0x178235=_0x135b8e[_0x4eeb33(0x2d7)]('@');if(_0x178235<=0x0||_0x178235!==_0x135b8e[_0x4eeb33(0x224)]('@'))return!0x1;let _0x27ed16=_0x135b8e[_0x4eeb33(0x177)](_0x178235+0x1);return _0x27ed16[_0x4eeb33(0x1bc)]('.')&&!_0x135b8e[_0x4eeb33(0x1bc)]('\x20')&&!_0x27ed16[_0x4eeb33(0x1e0)]('.')&&!_0x27ed16[_0x4eeb33(0x254)]('.');}const P={'table':_0x54c5f1=>[_0x224170(0x10e),_0x54c5f1],'field':(_0x103207,_0x5a0198)=>[_0x224170(0x10e),_0x103207,'fields',_0x5a0198],'fieldOrder':(_0x2ed20c,_0x111c8b)=>[_0x224170(0x10e),_0x2ed20c,'fieldOrder',_0x111c8b],'record':(_0x2f5fca,_0x2cbb89)=>[_0x224170(0x10e),_0x2f5fca,_0x224170(0x2f7),_0x2cbb89],'cell':(_0x469a0d,_0x85bf9e,_0x3c2b1d)=>[_0x224170(0x10e),_0x469a0d,'records',_0x85bf9e,_0x224170(0x112),_0x3c2b1d],'cellData':(_0x3f41af,_0x40226e,_0x5e0ade)=>[_0x224170(0x10e),_0x3f41af,'cellData',String(_0x40226e),String(_0x5e0ade)],'attachmentSet':(_0x510afa,_0x40b72a)=>[_0x224170(0x10e),_0x510afa,_0x224170(0x158),'attachmentSets',_0x40b72a],'attachment':(_0x43dbdd,_0x28f00d)=>[_0x224170(0x10e),_0x43dbdd,_0x224170(0x158),_0x224170(0x33c),_0x28f00d],'view':(_0x1f9949,_0x17b693)=>[_0x224170(0x10e),_0x1f9949,_0x224170(0x1a1),_0x17b693],'viewFieldHidden':(_0x3a8e7e,_0x33fb6a,_0x198c97)=>[_0x224170(0x10e),_0x3a8e7e,_0x224170(0x1a1),_0x33fb6a,_0x224170(0x181),_0x198c97,_0x224170(0x247)]};function F(_0x38eded){const _0x407f55=_0x224170;return _0x38eded[_0x407f55(0xd3)]((_0x13be64,_0x37dc2e)=>_0x13be64==null?_0x37dc2e:_0x43f9ba['type'][_0x407f55(0xe5)](_0x13be64,_0x37dc2e),void 0x0);}var I=class{['createTable'](_0x235701,_0x264c09,_0x4cfc3a=_0x235701['tableOrder'][_0x224170(0xe2)]){const _0x45295=_0x224170;return F([_0x43f9ba[_0x45295(0x2d4)](P[_0x45295(0x273)](_0x264c09['id']),_0x264c09),_0x43f9ba['insertOp'](['tableOrder',_0x4cfc3a],_0x264c09['id'])]);}[_0x224170(0x145)](_0x1001b7,_0x1e2d84,_0x1dd681){const _0x2ea1ae=_0x224170;return _0x43f9ba['replaceOp']([...P[_0x2ea1ae(0x273)](_0x1e2d84),'name'],_0x1001b7[_0x2ea1ae(0x10e)][_0x1e2d84]['name'],_0x1dd681);}[_0x224170(0x2bc)](_0x44ea2,_0x3f85de){const _0x49a595=_0x224170;return this['_setDeleted']([...P[_0x49a595(0x273)](_0x3f85de),_0x49a595(0x214)],_0x44ea2[_0x49a595(0x10e)][_0x3f85de][_0x49a595(0x214)]);}[_0x224170(0x30b)](_0x5562c1,_0x1ea011,_0x1da2d9){const _0x194a27=_0x224170;return this[_0x194a27(0x172)](_0x5562c1,_0x1ea011,[_0x1da2d9]);}['createRecords'](_0x3d19f8,_0x52b234,_0x1d4ff6){const _0x1b6268=_0x224170;let _0x203753=_0x3d19f8[_0x1b6268(0x10e)][_0x52b234],_0x6abb6d=_0x1d4ff6[_0x1b6268(0x2a9)](_0x1a29f6=>_0x1a29f6&&!_0x203753[_0x1b6268(0x2f7)][_0x1a29f6['id']]);return _0x6abb6d[_0x1b6268(0xe2)]?F([..._0x6abb6d[_0x1b6268(0x2bf)](_0x506b8=>_0x43f9ba[_0x1b6268(0x2d4)](P[_0x1b6268(0xb4)](_0x52b234,_0x506b8['id']),_0x506b8)),this['_createRecordOrderOp'](_0x3d19f8,_0x52b234,_0x6abb6d)]):_0x43f9ba[_0x1b6268(0x2a7)]([...P[_0x1b6268(0x273)](_0x52b234),_0x1b6268(0x2f7)],_0x203753[_0x1b6268(0x2f7)],_0x203753[_0x1b6268(0x2f7)]);}[_0x224170(0x28c)](_0xdfb0c,_0x167083,_0x5008e7){const _0x513e68=_0x224170;return this[_0x513e68(0x328)]([...P[_0x513e68(0xb4)](_0x167083,_0x5008e7),'deleted'],_0xdfb0c['tables'][_0x167083]['records'][_0x5008e7][_0x513e68(0x214)]);}[_0x224170(0x10b)](_0x20159b,_0x58d38e,_0x145578){return F(_0x145578['map'](_0x2739d7=>this['deleteRecord'](_0x20159b,_0x58d38e,_0x2739d7)));}[_0x224170(0x10c)](_0x27d276,_0x29a869,_0x49ad75,_0x300d1b){const _0x119fcb=_0x224170;return this[_0x119fcb(0x30b)](_0x27d276,_0x29a869,{..._0x300d1b,'values':{..._0x27d276[_0x119fcb(0x10e)][_0x29a869][_0x119fcb(0x2f7)][_0x49ad75][_0x119fcb(0x112)],..._0x300d1b[_0x119fcb(0x112)]}});}['updateRecordOrder'](_0x17bd48,_0x4a295e,_0x4a267a,_0x35943c){const _0x22b7f2=_0x224170;let _0x3defcd=_0x17bd48[_0x22b7f2(0x10e)][_0x4a295e],_0x33fea1=[...P[_0x22b7f2(0xb4)](_0x4a295e,_0x4a267a),_0x22b7f2(0x341)],_0x432a52=Object['values'](_0x3defcd['records'])['filter'](_0x620625=>!_0x620625['deleted'])[_0x22b7f2(0x2bf)](_0x253450=>_0x253450['id']===_0x4a267a?{..._0x253450,'orderKey':_0x35943c}:_0x253450)['sort']((_0x399c32,_0x5cc8fc)=>{const _0x5acc0d=_0x22b7f2;var _0x405394,_0x582fdc;return String((_0x405394=_0x399c32['orderKey'])==null?_0x399c32['id']:_0x405394)[_0x5acc0d(0x202)](String((_0x582fdc=_0x5cc8fc['orderKey'])==null?_0x5cc8fc['id']:_0x582fdc));})[_0x22b7f2(0x2bf)](_0x4b3ed9=>_0x4b3ed9['id']),_0x1aaf86=[...P[_0x22b7f2(0x273)](_0x4a295e),_0x22b7f2(0x110)];return F([_0x43f9ba[_0x22b7f2(0x2a7)](_0x33fea1,_0x3defcd['records'][_0x4a267a][_0x22b7f2(0x341)],_0x35943c),_0x3defcd['recordOrder']?_0x43f9ba[_0x22b7f2(0x2a7)](_0x1aaf86,_0x3defcd[_0x22b7f2(0x110)],_0x432a52):_0x43f9ba[_0x22b7f2(0x2d4)](_0x1aaf86,_0x432a52)]);}['updateCell'](_0x456879,_0x431a43,_0x5346f6,_0x350ad0,_0x190565){const _0x36f243=_0x224170;var _0x3a2d6b,_0x10c807;let _0x280aed=_0x456879['tables'][_0x431a43],_0x175df1=Lt(_0x280aed,_0x5346f6,_0x350ad0)?_0x280aed:C(_0x280aed),_0x1eed91=(_0x3a2d6b=_0x175df1[_0x36f243(0x1db)])==null?void 0x0:_0x3a2d6b[_0x5346f6],_0x11c0d7=(_0x10c807=_0x175df1['colIndex'])==null?void 0x0:_0x10c807[_0x350ad0];if(_0x1eed91==null||_0x11c0d7==null){var _0x5d0140;return this['_replaceOptional'](P[_0x36f243(0xc7)](_0x431a43,_0x5346f6,_0x350ad0),(_0x5d0140=_0x456879[_0x36f243(0x10e)][_0x431a43])==null||(_0x5d0140=_0x5d0140[_0x36f243(0x2f7)][_0x5346f6])==null?void 0x0:_0x5d0140[_0x36f243(0x112)][_0x350ad0],_0x190565);}return this[_0x36f243(0x31b)](_0x456879,_0x431a43,[{'row':_0x1eed91,'col':_0x11c0d7,'value':_0x190565}]);}[_0x224170(0xdc)](_0x210fb7,_0xd449a9,_0x280905){const _0x5abb16=_0x224170;let _0x3bbb5b=_0x210fb7[_0x5abb16(0x10e)][_0xd449a9],_0x57bc59=_0x280905[_0x5abb16(0x298)](_0x16ed3a=>Object[_0x5abb16(0x29d)](_0x16ed3a[_0x5abb16(0x112)])[_0x5abb16(0x298)](_0xc699c8=>Lt(_0x3bbb5b,_0x16ed3a[_0x5abb16(0x303)],_0xc699c8)))?_0x3bbb5b:C(_0x3bbb5b),_0x27e2dc=_0x280905[_0x5abb16(0xe0)](_0x732333=>Object[_0x5abb16(0x333)](_0x732333[_0x5abb16(0x112)])['flatMap'](([_0xa71c6c,_0x32c4cc])=>{const _0xb5442c=_0x5abb16;var _0x4fca9c,_0x2497de;let _0x1d08fe=(_0x4fca9c=_0x57bc59[_0xb5442c(0x1db)])==null?void 0x0:_0x4fca9c[_0x732333['recordId']],_0x481f40=(_0x2497de=_0x57bc59[_0xb5442c(0x14f)])==null?void 0x0:_0x2497de[_0xa71c6c];return _0x1d08fe==null||_0x481f40==null?[]:[{'row':_0x1d08fe,'col':_0x481f40,'value':_0x32c4cc}];})),_0x497634=_0x280905[_0x5abb16(0xe0)](_0x34a587=>{const _0x3041de=_0x5abb16;var _0xf973b3;return Object[_0x3041de(0x333)]((_0xf973b3=_0x34a587[_0x3041de(0xb1)])==null?{}:_0xf973b3)['map'](([_0x1994dc,_0x2d956c])=>{const _0x49b771=_0x3041de;var _0xa458c2;let _0x322a76=[...P['record'](_0xd449a9,_0x34a587[_0x49b771(0x303)]),_0x1994dc],_0x35cc29=(_0xa458c2=_0x210fb7[_0x49b771(0x10e)][_0xd449a9])==null||(_0xa458c2=_0xa458c2[_0x49b771(0x2f7)][_0x34a587[_0x49b771(0x303)]])==null?void 0x0:_0xa458c2[_0x1994dc];return this[_0x49b771(0x318)](_0x322a76,_0x35cc29,_0x2d956c);});});return F([this[_0x5abb16(0x31b)](_0x210fb7,_0xd449a9,_0x27e2dc),..._0x497634]);}[_0x224170(0x31b)](_0x3ed91d,_0x3f70c5,_0x5cde8a){const _0x116b78=_0x224170;let _0x417ab9=_0x3ed91d[_0x116b78(0x10e)][_0x3f70c5],_0x147612=_0x5cde8a[_0x116b78(0x298)](_0x4ca269=>Rt(_0x417ab9,_0x4ca269[_0x116b78(0x20f)],_0x4ca269[_0x116b78(0x141)]))?_0x417ab9:C(_0x417ab9),_0x27ecc3=_0x5cde8a['flatMap'](_0x359a5e=>{const _0x44d116=_0x116b78;var _0x49b32b,_0x555b33,_0x1ea510,_0x5a641c;let _0x1a56f9=(_0x49b32b=_0x147612[_0x44d116(0xad)])==null?void 0x0:_0x49b32b[_0x359a5e[_0x44d116(0x141)]],_0x19dc39=(_0x555b33=_0x147612[_0x44d116(0x124)])==null?void 0x0:_0x555b33[_0x359a5e[_0x44d116(0x20f)]],_0x387198=_0x1a56f9?_0x147612[_0x44d116(0x147)][_0x1a56f9]:void 0x0,_0x4ec45b=w(_0x359a5e[_0x44d116(0x171)],_0x387198),_0x4efceb=(_0x1ea510=_0x147612[_0x44d116(0x204)])==null||(_0x1ea510=_0x1ea510[_0x359a5e['row']])==null?void 0x0:_0x1ea510[_0x359a5e[_0x44d116(0x141)]],_0x430b5a=this[_0x44d116(0x318)](P['cellData'](_0x3f70c5,_0x359a5e['row'],_0x359a5e[_0x44d116(0x141)]),_0x4efceb,_0x4ec45b);if(!_0x1a56f9||!_0x19dc39)return[_0x430b5a];let _0x2dabf8=(_0x5a641c=_0x147612[_0x44d116(0x2f7)][_0x19dc39])==null?void 0x0:_0x5a641c[_0x44d116(0x112)][_0x1a56f9],_0x34572f=(_0x387198==null?void 0x0:_0x387198[_0x44d116(0x131)])===_0x44d116(0xee)?E(_0x359a5e[_0x44d116(0x171)]):we(_0x359a5e[_0x44d116(0x171)],_0x4ec45b,_0x387198,_0x147612,_0x19dc39),_0x3f223b=[_0x430b5a,this[_0x44d116(0x318)](P['cell'](_0x3f70c5,_0x19dc39,_0x1a56f9),_0x2dabf8,_0x34572f)];if((_0x387198==null?void 0x0:_0x387198[_0x44d116(0x131)])!=='attachment')return _0x3f223b;let _0x4b6b37=this[_0x44d116(0x29f)](_0x147612,_0x3f70c5,_0x19dc39,_0x1a56f9,_0x34572f);return[..._0x3f223b,..._0x4b6b37];});return _0x27ecc3['length']?F(_0x27ecc3):_0x43f9ba[_0x116b78(0x2a7)]([_0x116b78(0x10e),_0x3f70c5,_0x116b78(0x204)],_0x147612[_0x116b78(0x204)],_0x147612[_0x116b78(0x204)]);}[_0x224170(0x118)](_0x427237,_0x4a96eb,_0xf02f17){const _0x4ae731=_0x224170;var _0x34e721,_0x5c50f9;let _0x381474=_0x427237[_0x4ae731(0x10e)][_0x4a96eb];if(_0x381474[_0x4ae731(0x147)][_0xf02f17[_0x4ae731(0x1a3)]['id']]||_0x381474[_0x4ae731(0x322)][_0x4ae731(0x1bc)](_0xf02f17['field']['id']))return _0x43f9ba[_0x4ae731(0x2a7)]([_0x4ae731(0x10e),_0x4a96eb,'fieldOrder'],_0x381474[_0x4ae731(0x322)],_0x381474[_0x4ae731(0x322)]);let _0x5b98f5=(_0x34e721=_0xf02f17[_0x4ae731(0x1a0)])==null?_0x381474[_0x4ae731(0x322)]['length']:_0x34e721,_0x1a3c61=Object['values']((_0x5c50f9=_0x381474[_0x4ae731(0x1a1)])==null?{}:_0x5c50f9)[_0x4ae731(0xe0)](_0x446fda=>{const _0x44e133=_0x4ae731;var _0x132bde,_0x2c1bb0;if(!_0x446fda['fieldOrder']||_0x446fda['fieldOrder'][_0x44e133(0x1bc)](_0xf02f17[_0x44e133(0x1a3)]['id']))return[];let _0x21e0f1=Vt((_0x132bde=(_0x2c1bb0=_0xf02f17[_0x44e133(0x21b)])==null?void 0x0:_0x2c1bb0[_0x446fda['id']])==null?_0x5b98f5:_0x132bde,_0x446fda[_0x44e133(0x322)][_0x44e133(0xe2)]);return[_0x43f9ba['insertOp']([...P[_0x44e133(0x155)](_0x4a96eb,_0x446fda['id']),_0x44e133(0x322),_0x21e0f1],_0xf02f17[_0x44e133(0x1a3)]['id'])];});return F([_0x43f9ba[_0x4ae731(0x2d4)](P[_0x4ae731(0x1a3)](_0x4a96eb,_0xf02f17[_0x4ae731(0x1a3)]['id']),_0xf02f17[_0x4ae731(0x1a3)]),_0x43f9ba['insertOp'](P[_0x4ae731(0x322)](_0x4a96eb,_0x5b98f5),_0xf02f17[_0x4ae731(0x1a3)]['id']),..._0x1a3c61]);}[_0x224170(0x18d)](_0x377d20,_0x3ff7df,_0x2ce169,_0x527670){const _0x5a9e09=_0x224170;var _0x1d0a52,_0x125a38;let _0x2eb546=_0x377d20['tables'][_0x3ff7df];if(!_0x2eb546[_0x5a9e09(0x147)][_0x2ce169]||_0x2eb546[_0x5a9e09(0x147)][_0x527670['field']['id']]||_0x2eb546[_0x5a9e09(0x322)][_0x5a9e09(0x1bc)](_0x527670[_0x5a9e09(0x1a3)]['id']))return _0x43f9ba[_0x5a9e09(0x2a7)]([_0x5a9e09(0x10e),_0x3ff7df,_0x5a9e09(0x322)],_0x2eb546[_0x5a9e09(0x322)],_0x2eb546[_0x5a9e09(0x322)]);let _0xea75d6=(_0x1d0a52=_0x527670[_0x5a9e09(0x1a0)])==null?_0x2eb546[_0x5a9e09(0x322)][_0x5a9e09(0x2d7)](_0x2ce169)+0x1:_0x1d0a52,_0x455c23=_0x2eb546['fieldOrder'][_0x5a9e09(0x2a9)](_0xbc12bd=>_0xbc12bd!==_0x527670[_0x5a9e09(0x1a3)]['id']),_0x50181f=Bt(_0x455c23,_0x527670[_0x5a9e09(0x1a3)]['id'],_0xea75d6),_0x4dd1ea=Object[_0x5a9e09(0x112)]((_0x125a38=_0x2eb546[_0x5a9e09(0x1a1)])==null?{}:_0x125a38)['flatMap'](_0x1dd415=>{const _0x499135=_0x5a9e09;var _0x579365,_0x105751,_0x5dc9b4,_0x4aaaf5,_0x42bf30;let _0x1d59ff=(_0x579365=_0x1dd415['fieldOrder'])!=null&&_0x579365[_0x499135(0xe2)]?_0x1dd415['fieldOrder']:_0x455c23;if(_0x1d59ff['includes'](_0x527670[_0x499135(0x1a3)]['id']))return[];let _0xedc27d=Bt(_0x1d59ff,_0x527670['field']['id'],(_0x105751=(_0x5dc9b4=_0x527670[_0x499135(0x21b)])==null?void 0x0:_0x5dc9b4[_0x1dd415['id']])==null?_0xea75d6:_0x105751),_0xf8d14e=(_0x4aaaf5=_0x1dd415[_0x499135(0x181)])==null?void 0x0:_0x4aaaf5[_0x2ce169];return[this[_0x499135(0x318)]([...P[_0x499135(0x155)](_0x3ff7df,_0x1dd415['id']),'fieldOrder'],_0x1dd415[_0x499135(0x322)],_0xedc27d),..._0xf8d14e?[this[_0x499135(0x318)]([...P[_0x499135(0x155)](_0x3ff7df,_0x1dd415['id']),'fieldSettings',_0x527670[_0x499135(0x1a3)]['id']],(_0x42bf30=_0x1dd415[_0x499135(0x181)])==null?void 0x0:_0x42bf30[_0x527670['field']['id']],_0xf8d14e)]:[]];}),_0x90a292=Object[_0x5a9e09(0x112)](_0x2eb546[_0x5a9e09(0x2f7)])[_0x5a9e09(0x2a9)](_0x116079=>!_0x116079[_0x5a9e09(0x214)]&&Object['prototype'][_0x5a9e09(0x28b)][_0x5a9e09(0x182)](_0x116079[_0x5a9e09(0x112)],_0x2ce169))[_0x5a9e09(0x2bf)](_0x127bbd=>this[_0x5a9e09(0x318)](P['cell'](_0x3ff7df,_0x127bbd['id'],_0x527670[_0x5a9e09(0x1a3)]['id']),_0x127bbd[_0x5a9e09(0x112)][_0x527670[_0x5a9e09(0x1a3)]['id']],_0x127bbd[_0x5a9e09(0x112)][_0x2ce169]));return F([_0x43f9ba[_0x5a9e09(0x2d4)](P[_0x5a9e09(0x1a3)](_0x3ff7df,_0x527670[_0x5a9e09(0x1a3)]['id']),_0x527670[_0x5a9e09(0x1a3)]),_0x43f9ba['replaceOp']([_0x5a9e09(0x10e),_0x3ff7df,'fieldOrder'],_0x2eb546[_0x5a9e09(0x322)],_0x50181f),..._0x4dd1ea,..._0x90a292]);}['updateField'](_0x6fd671,_0x2c3673,_0xd295fe,_0x140c4c){const _0x4a1c8c=_0x224170;let _0x363e92=_0x6fd671['tables'][_0x2c3673][_0x4a1c8c(0x147)][_0xd295fe],_0x1f667b={..._0x363e92,..._0x140c4c};Object[_0x4a1c8c(0x29d)](_0x140c4c)[_0x4a1c8c(0x262)](_0x520b68=>{_0x140c4c[_0x520b68]===void 0x0&&delete _0x1f667b[_0x520b68];});let _0x449da4=_0x43f9ba[_0x4a1c8c(0x2a7)](P[_0x4a1c8c(0x1a3)](_0x2c3673,_0xd295fe),_0x363e92,_0x1f667b);return _0x1f667b['type']==='formula'?F([_0x449da4,...this['_setFormulaFieldCells'](_0x6fd671,_0x2c3673,_0xd295fe,_0x1f667b)]):_0x449da4;}[_0x224170(0xfc)](_0x201c9d,_0x5d1693,_0x37a99b,_0x47f429){return this['updateField'](_0x201c9d,_0x5d1693,_0x37a99b,_0x47f429);}['deleteField'](_0x541221,_0x5625d3,_0x5820de){const _0x3e1735=_0x224170;let _0x143003=_0x541221[_0x3e1735(0x10e)][_0x5625d3];return!(_0x143003!=null&&_0x143003[_0x3e1735(0x147)][_0x5820de])||_0x143003[_0x3e1735(0x22d)]===_0x5820de?_0x43f9ba['replaceOp']([_0x3e1735(0x10e),_0x5625d3,_0x3e1735(0x322)],_0x143003==null?void 0x0:_0x143003[_0x3e1735(0x322)],_0x143003==null?void 0x0:_0x143003[_0x3e1735(0x322)]):this[_0x3e1735(0x328)]([...P[_0x3e1735(0x1a3)](_0x5625d3,_0x5820de),_0x3e1735(0x214)],_0x143003[_0x3e1735(0x147)][_0x5820de][_0x3e1735(0x214)]);}['moveField'](_0xef5cb6,_0x458a09,_0x259d0d,_0x304dbd){const _0x32cd1c=_0x224170;let _0x13fc02=_0xef5cb6[_0x32cd1c(0x10e)][_0x458a09][_0x32cd1c(0x322)],_0x894e6=zt(_0x13fc02,_0x259d0d,_0x304dbd);return _0x43f9ba[_0x32cd1c(0x2a7)](['tables',_0x458a09,_0x32cd1c(0x322)],_0x13fc02,_0x894e6);}['createView'](_0xcced61,_0x27b97c,_0x22fb24,_0x566adc=_0xcced61[_0x224170(0x10e)][_0x27b97c][_0x224170(0x2f4)][_0x224170(0xe2)]){const _0x4f04da=_0x224170;return F([_0x43f9ba[_0x4f04da(0x2d4)](P['view'](_0x27b97c,_0x22fb24['id']),_0x22fb24),_0x43f9ba[_0x4f04da(0x2d4)]([_0x4f04da(0x10e),_0x27b97c,_0x4f04da(0x2f4),_0x566adc],_0x22fb24['id'])]);}['renameView'](_0x3f15db,_0x443208,_0x2dc5fe,_0x1bd53d){const _0x41919c=_0x224170;return _0x43f9ba[_0x41919c(0x2a7)]([...P[_0x41919c(0x155)](_0x443208,_0x2dc5fe),'name'],_0x3f15db[_0x41919c(0x10e)][_0x443208][_0x41919c(0x1a1)][_0x2dc5fe][_0x41919c(0x15e)],_0x1bd53d);}['deleteView'](_0x4d490d,_0x39ea37,_0x4823c0){const _0x45fa58=_0x224170;return this[_0x45fa58(0x328)]([...P[_0x45fa58(0x155)](_0x39ea37,_0x4823c0),'deleted'],_0x4d490d[_0x45fa58(0x10e)][_0x39ea37]['views'][_0x4823c0]['deleted']);}[_0x224170(0x348)](_0x1ec786,_0x5e51c0,_0x1d9950,_0x22735a){const _0x28cebe=_0x224170;let _0x3566b0=_0x1ec786[_0x28cebe(0x10e)][_0x5e51c0][_0x28cebe(0x2f4)],_0x149323=zt(_0x3566b0,_0x1d9950,{'beforeFieldId':_0x22735a[_0x28cebe(0x1d0)],'afterFieldId':_0x22735a[_0x28cebe(0x174)]});return _0x43f9ba[_0x28cebe(0x2a7)](['tables',_0x5e51c0,_0x28cebe(0x2f4)],_0x3566b0,_0x149323);}[_0x224170(0x2ab)](_0x2527c3,_0x293a11,_0x561a8f,_0x2a0105){const _0x23bb49=_0x224170;var _0x467458;let _0x433208=(_0x467458=_0x2527c3[_0x23bb49(0x10e)][_0x293a11][_0x23bb49(0x1a1)][_0x561a8f]['config'])==null?{}:_0x467458,_0x310b2e={..._0x433208,..._0x2a0105};return Object[_0x23bb49(0x29d)](_0x2a0105)['forEach'](_0x442943=>{_0x2a0105[_0x442943]===void 0x0&&delete _0x310b2e[_0x442943];}),_0x43f9ba['replaceOp']([...P['view'](_0x293a11,_0x561a8f),_0x23bb49(0x1aa)],_0x433208,_0x310b2e);}['setViewFilter'](_0x560ea6,_0x2a520d,_0x276ba1,_0x13ea85){const _0x223730=_0x224170;return this[_0x223730(0x318)]([...P[_0x223730(0x155)](_0x2a520d,_0x276ba1),'filter'],_0x560ea6[_0x223730(0x10e)][_0x2a520d][_0x223730(0x1a1)][_0x276ba1]['filter'],_0x13ea85);}[_0x224170(0x344)](_0x32aff5,_0x32b4d5,_0x31c860,_0x23dd38){const _0x2b1b6f=_0x224170;return this[_0x2b1b6f(0x318)]([...P['view'](_0x32b4d5,_0x31c860),'sort'],_0x32aff5[_0x2b1b6f(0x10e)][_0x32b4d5][_0x2b1b6f(0x1a1)][_0x31c860][_0x2b1b6f(0x284)],_0x23dd38);}[_0x224170(0x2cc)](_0x454733,_0x1c5960,_0x27fe99,_0x182069){const _0x3ec756=_0x224170;return this[_0x3ec756(0x318)]([...P[_0x3ec756(0x155)](_0x1c5960,_0x27fe99),_0x3ec756(0x1d6)],_0x454733[_0x3ec756(0x10e)][_0x1c5960][_0x3ec756(0x1a1)][_0x27fe99][_0x3ec756(0x1d6)],_0x182069);}[_0x224170(0x197)](_0x318a6f,_0xc9bfff,_0x5c07d7,_0x2bfd64,_0x58f49f){const _0x41ae59=_0x224170;return this[_0x41ae59(0x315)](_0x318a6f,_0xc9bfff,_0x5c07d7,_0x2bfd64,{'hidden':!_0x58f49f});}[_0x224170(0x21f)](_0x698f4b,_0x5d50c6,_0xba6855,_0x50ea25,_0x57ce25){const _0x391926=_0x224170;return this[_0x391926(0x315)](_0x698f4b,_0x5d50c6,_0xba6855,_0x50ea25,{'width':_0x57ce25});}[_0x224170(0x305)](_0x546455,_0x2b5960,_0x1a7b01,_0x5ce4a9,_0x40c28d){const _0x4b572e=_0x224170;var _0x38a271;let _0x4b3c57=_0x546455[_0x4b572e(0x10e)][_0x2b5960][_0x4b572e(0x1a1)][_0x1a7b01],_0x15f932=zt((_0x38a271=_0x4b3c57[_0x4b572e(0x322)])==null?_0x546455[_0x4b572e(0x10e)][_0x2b5960]['fieldOrder']:_0x38a271,_0x5ce4a9,_0x40c28d);return this[_0x4b572e(0x318)]([...P['view'](_0x2b5960,_0x1a7b01),_0x4b572e(0x322)],_0x4b3c57['fieldOrder'],_0x15f932);}['_setViewFieldSetting'](_0x39a7b6,_0x18f5e6,_0x1c4e83,_0x246233,_0x14db93){const _0x223d0e=_0x224170;var _0x2ca202;let _0x329cb4=(_0x2ca202=_0x39a7b6['tables'][_0x18f5e6][_0x223d0e(0x1a1)][_0x1c4e83][_0x223d0e(0x181)])==null?{}:_0x2ca202,_0x3995c0={..._0x329cb4,[_0x246233]:{..._0x329cb4[_0x246233],..._0x14db93}};return this[_0x223d0e(0x318)]([...P['view'](_0x18f5e6,_0x1c4e83),_0x223d0e(0x181)],_0x39a7b6[_0x223d0e(0x10e)][_0x18f5e6][_0x223d0e(0x1a1)][_0x1c4e83][_0x223d0e(0x181)],_0x3995c0);}[_0x224170(0x328)](_0x20f6a5,_0x51f556){const _0x595834=_0x224170;return this[_0x595834(0x318)](_0x20f6a5,_0x51f556,!0x0);}[_0x224170(0x337)](_0x50b7c1,_0x298e98,_0xc65568){const _0x468d2b=_0x224170;let _0x48d7d5=_0x50b7c1[_0x468d2b(0x10e)][_0x298e98],_0x1ac360=new Set(_0xc65568['map'](_0x2b5264=>_0x2b5264['id'])),_0x2959c0=[...Object['values'](_0x48d7d5[_0x468d2b(0x2f7)])[_0x468d2b(0x2a9)](_0x3b04e3=>!_0x3b04e3[_0x468d2b(0x214)]&&!_0x1ac360[_0x468d2b(0x2d9)](_0x3b04e3['id'])),..._0xc65568[_0x468d2b(0x2a9)](_0x2dfc7f=>!_0x2dfc7f[_0x468d2b(0x214)])][_0x468d2b(0x284)]((_0x428505,_0x5f1389)=>{const _0x416d92=_0x468d2b;var _0x7fd511,_0x3bbded;return String((_0x7fd511=_0x428505['orderKey'])==null?_0x428505['id']:_0x7fd511)[_0x416d92(0x202)](String((_0x3bbded=_0x5f1389['orderKey'])==null?_0x5f1389['id']:_0x3bbded));})[_0x468d2b(0x2bf)](_0x32376d=>_0x32376d['id']),_0x3e5a67=[...P[_0x468d2b(0x273)](_0x298e98),_0x468d2b(0x110)];return _0x48d7d5[_0x468d2b(0x110)]?_0x43f9ba[_0x468d2b(0x2a7)](_0x3e5a67,_0x48d7d5[_0x468d2b(0x110)],_0x2959c0):_0x43f9ba[_0x468d2b(0x2d4)](_0x3e5a67,_0x2959c0);}[_0x224170(0xb9)](_0x513e6a,_0x142a9b,_0x580441,_0x36391c){const _0x351332=_0x224170;var _0x58c989,_0x718e52,_0x5d7f79,_0x314220;let _0x184736=C(_0x513e6a[_0x351332(0x10e)][_0x142a9b]),_0xd49a27=String((_0x58c989=(_0x718e52=_0x36391c['config'])==null?void 0x0:_0x718e52[_0x351332(0xc2)])==null?'':_0x58c989)[_0x351332(0x332)](),_0x1f7aa9=(_0x5d7f79=_0x184736[_0x351332(0x14f)])==null?void 0x0:_0x5d7f79[_0x580441];if(_0x1f7aa9==null)return[];let _0x4cac82=((_0x314220=_0x184736['recordOrder'])==null?Object['keys'](_0x184736[_0x351332(0x2f7)]):_0x314220)[_0x351332(0x2a9)](_0x5bcc03=>{const _0x5f0d16=_0x351332;var _0x236fed;return!((_0x236fed=_0x184736[_0x5f0d16(0x2f7)][_0x5bcc03])!=null&&_0x236fed[_0x5f0d16(0x214)]);}),_0x4eec32=_0x4cac82[_0x351332(0x2bf)](_0x59b9db=>{var _0x25d96c;return(_0x25d96c=_0x184736['rowIndex'])==null?void 0x0:_0x25d96c[_0x59b9db];})[_0x351332(0x334)](_0x36872f=>_0x36872f!=null);return _0x4cac82[_0x351332(0xe0)](_0x362dc9=>{const _0x46ba8f=_0x351332;var _0x1f282a,_0x1ce1db;let _0x35494d=(_0x1f282a=_0x184736[_0x46ba8f(0x1db)])==null?void 0x0:_0x1f282a[_0x362dc9];if(_0x35494d==null)return[];let _0xd97ca9=(_0x1ce1db=_0x184736[_0x46ba8f(0x204)])==null||(_0x1ce1db=_0x1ce1db[_0x35494d])==null?void 0x0:_0x1ce1db[_0x1f7aa9],_0x2c8ff2=_0xd49a27?_0x35494d===_0x4eec32?{'f':_0xd49a27,'si':_0x580441}:{'si':_0x580441}:{'v':null,'t':null};return[this[_0x46ba8f(0x318)](P[_0x46ba8f(0x204)](_0x142a9b,_0x35494d,_0x1f7aa9),_0xd97ca9,_0x2c8ff2)];});}['_setAttachmentResources'](_0x225ed6,_0x56d534,_0x312864,_0x3a3d2f,_0x2139ee){const _0x2a46bd=_0x224170;var _0x2086b7;let _0x31db97=Ee(_0x3a3d2f,_0x312864),_0x2beb98=_0x2139ee[_0x2a46bd(0x2bf)]((_0x3a5046,_0x292c68)=>{var _0x290e73;return String((_0x290e73=_0x3a5046['id'])==null?_0x31db97+'\x1f'+_0x292c68:_0x290e73);});return[this[_0x2a46bd(0x318)](P[_0x2a46bd(0x345)](_0x56d534,_0x31db97),(_0x2086b7=_0x225ed6[_0x2a46bd(0x158)])==null||(_0x2086b7=_0x2086b7['attachmentSets'])==null?void 0x0:_0x2086b7[_0x31db97],_0x2beb98),..._0x2139ee[_0x2a46bd(0x2bf)]((_0x453127,_0x5d718a)=>{const _0x32b0e7=_0x2a46bd;var _0x20942f;let _0x239aca=_0x2beb98[_0x5d718a];return this['_replaceOptional'](P[_0x32b0e7(0xee)](_0x56d534,_0x239aca),(_0x20942f=_0x225ed6['resources'])==null||(_0x20942f=_0x20942f[_0x32b0e7(0x33c)])==null?void 0x0:_0x20942f[_0x239aca],{..._0x453127,'id':_0x239aca});})];}[_0x224170(0x318)](_0x1893d4,_0x16723f,_0x486160){const _0x44b3e8=_0x224170;return _0x16723f===void 0x0?_0x43f9ba[_0x44b3e8(0x2d4)](_0x1893d4,_0x486160):_0x43f9ba[_0x44b3e8(0x2a7)](_0x1893d4,_0x16723f,_0x486160);}};function Lt(_0x34d6d4,_0xdd4284,_0x140c4b){const _0x8c31f8=_0x224170;var _0x517e0a,_0x38268b,_0x3ee0dc,_0x143a0c;let _0x482f8d=(_0x517e0a=_0x34d6d4['rowIndex'])==null?void 0x0:_0x517e0a[_0xdd4284],_0x11c942=(_0x38268b=_0x34d6d4['colIndex'])==null?void 0x0:_0x38268b[_0x140c4b];return _0x482f8d!=null&&_0x11c942!=null&&((_0x3ee0dc=_0x34d6d4[_0x8c31f8(0x124)])==null?void 0x0:_0x3ee0dc[_0x482f8d])===_0xdd4284&&((_0x143a0c=_0x34d6d4[_0x8c31f8(0xad)])==null?void 0x0:_0x143a0c[_0x11c942])===_0x140c4b&&_0x34d6d4['cellData']!=null;}function Rt(_0x30fcf6,_0x39b764,_0x470cd4){const _0x51de79=_0x224170;var _0x204b14,_0x397ee2;return((_0x204b14=_0x30fcf6['rowId'])==null?void 0x0:_0x204b14[_0x39b764])!=null&&((_0x397ee2=_0x30fcf6[_0x51de79(0xad)])==null?void 0x0:_0x397ee2[_0x470cd4])!=null&&_0x30fcf6[_0x51de79(0x204)]!=null;}function zt(_0x1933d0,_0x268a38,_0x1e9908){const _0x42e5bd=_0x224170;let _0x237345=_0x1933d0[_0x42e5bd(0x2a9)](_0xcaf1f8=>_0xcaf1f8!==_0x268a38),_0x13111e=_0x1e9908[_0x42e5bd(0xc1)]?_0x237345[_0x42e5bd(0x2d7)](_0x1e9908[_0x42e5bd(0xc1)]):_0x1e9908[_0x42e5bd(0x14a)]?_0x237345[_0x42e5bd(0x2d7)](_0x1e9908['afterFieldId'])+0x1:_0x237345['length'];return _0x237345[_0x42e5bd(0x1ed)](_0x13111e<0x0?_0x237345[_0x42e5bd(0xe2)]:_0x13111e,0x0,_0x268a38),_0x237345;}function Bt(_0x3dfde0,_0x49e0fd,_0x37c2b9){const _0xfa4f36=_0x224170;let _0x2021d1=_0x3dfde0['filter'](_0x4fa03b=>_0x4fa03b!==_0x49e0fd);return _0x2021d1[_0xfa4f36(0x1ed)](Vt(_0x37c2b9,_0x2021d1['length']),0x0,_0x49e0fd),_0x2021d1;}function _0x1c68(){const _0x475050=['records','multiSelect','_applier','from','major-','base.command.change-base-field-type','tomorrow','invalidateByView','columnSettings','Grid\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.','base-snapshot-v1','useThousands','recordId','[BaseField]:\x20negative\x20numbers\x20are\x20disabled.','setViewFieldOrder','rules','attachment-','snapshot','7861390pklSVV','error','createRecord','#16a34a','base.command.create-base-table','YYYY/MM/DD','button','https://','_findKanbanGroupField','operator','children','_globalRevision','_setViewFieldSetting','_isGanttDateField','conditions','_replaceOptional','function','getUTCDate','setRangeValues','toLocaleString','createCreateFieldOp','basePerf','_resolveKanbanCardFieldIds','getAllBases','query','fieldOrder','base.viewType.gallery','_resolveKanbanCoverFieldId','short','flow','level','_setDeleted','NUMBER','system','fieldIds','_injector','False','set','baseRows','decorate','_createJson1DirtyData','trim','entries','find','_viewRevisions','_initDataSync','_createRecordOrderOp','canCreateField','week','unknown','_applyFormulaResult','attachments','setRecordPermission','singleSelect','readonly','_normalizeCalendarDisplayColor','orderKey','base.view-registry.service','_getDirtySuperTableMap','setViewSort','attachmentSet','some','fieldName','moveView','add','packageName','isFinite','_createSystemFieldValuePatches','checkbox','invalidGroupField','showTodayLine','_getActiveDirtyManagerService','[BaseCommandService]:\x20cannot\x20create\x20field.','BOOLEAN','invalidGanttEndField','desc','stringify','[BaseField]:\x20invalid\x20checkbox\x20value.','invalidateByOp','createdBy','fromEntries','[BaseCommandService]:\x20cannot\x20edit\x20cell.','_cellInvalidationsTouchFields','normalize','renameView','_filterSortFieldIds','edit','\x22\x20does\x20not\x20exist.','dependencyFieldId','_views','invalidateByCell','size','_isAllDayCalendarEvent','[BaseFormula]:\x20field\x20\x22','colId','createBase','userID','createUnit','recordPatch','syncUnit','#,##0','record','base.command.create-base-record','syncExecuteCommand','clearFieldPermission','groupFieldId','_setFormulaFieldCells','_resolveGalleryCoverFieldId','_recordIds','updateCell','_getCachedProjection','base.projection.service','moveField','lastMonth','beforeFieldId','formula','toPlainText','changed','getSnapshot','column','cell','base.command.batch-delete-base-records','[[#This\x20Row],[','date','bases.fieldConfig.linkPlaceholder','findIndex','base.viewType.grid','_projectGroups','view-','fieldId','[BaseField]:\x20invalid\x20email\x20value.','BASES_PLUGIN','reduce','twoWayLink','createSetRecordValuesOp','_createStructureDirtyData','searchTexts','_viewRevisionKey','path','base.command.update-base-cell','Uncategorized','setRecordValues','_plugins','_isAllDayGanttDateRange','Empty','flatMap','createView','length','tableId','canCreateTable','compose','today','registerCtorForType','year','usableAsCardCover','[BaseCommandService]:\x20cannot\x20delete\x20primary\x20field.','_applyingFormulaResults','timeZone','createSuperTableReference','attachment','Yes','BaseJson1.cloneForOp','notContains','raw','pushUndoRedo','base','_isKanbanGroupField','unitId','_getAllBaseDirtySuperTableMap','base.command.set-base-kanban-group-field','_univerInstanceService','off','workingDays','changeFieldType','[BaseCommandService]:\x20cannot\x20delete\x20table.','[BaseProjectionService]:\x20missing\x20view\x20\x22','_viewRowsCacheKey','True','_baseSyncDisposables','color','667660ULeOKn','_title','_resolveGalleryCardFieldIds','phone','_initialize','normal','[BaseField]:\x20invalid\x20phone\x20value.','_patchProjectedRowsForCellInvalidations','deleteRecords','duplicateRecord','rating','tables','[BaseCommandService]:\x20cannot\x20create\x20record.','recordOrder','en-US','values','BaseJson1.json1Apply','base.command.set-base-range-values','_rowTransformCacheSegment','revision','_normalizeGalleryConfig','createField','getUnit','base.command.update-base-kanban-config','[BaseCommandService]:\x20field\x20\x22','base.command.set-base-view-sort','coverFieldId','assign','_buildGantt','subscribe','canDeleteField','_resolveCalendarDateFieldId','direction','rowId','bases.fieldConfig.textPlaceholder','302922YPxpBi','registerCommand','separatorStyle','weekdays','UNIVER_BASE','max','registerSuperTable','_kanbanLaneTitle','past7','cellRevision','End\x20date','type','join','scale','limit','matchAll','base.viewType.calendar','operand','thisMonth','base.command.move-base-view','_config','end','quarter','tableRevision','tableName','includeTime','_resolveKanbanGroupFieldId','col','invertOp','[BaseViewRegistryService]:\x20view\x20type\x20\x22','Status','renameTable','next7','fields','remove','_buildCalendar','afterFieldId','onCommandExecuted',',\x22K\x22','push','getTime','colIndex','Unchecked','createTable','hh:mm','width','Working\x20day','view','_getStructureDirtyTableIds','done','resources','_kanbanGroupKeys','_groupsCacheKey','createCollaborativeOp','h12','valid','name','projection','_createDirtyData','barcode','_getKanbanConfiguredLanes','onReady','valueOf','BaseCellData.ensureTableCellLayout','location','usableAsCalendarDate','base.command.set-base-record-values','decimalPlaces','lessThan','mode','base.command.service','setSnapshot','rows','_initRegistries','_getViewRevision','value','createRecords','_tableRevisions','afterViewId','default','focusUnit','slice',':end','yyyy/mm/dd','month','_syncBaseUnit','setFieldPermission','check','defineProperty','_projectedViewRowsCache','_createRecordWithDefaults','fieldSettings','call','option-','_getOrderedActiveRecords','card','attachmentSets','commaPeriod','base.command.update-base-field','Doing','toPrimitive','dispose','invalidGanttStartField','duplicateField','start','info','canCreateRecord','base.command.rename-base-table','_capabilities','email','yesterday','base-range-values-v1','[BasePerf]\x20','setViewFieldVisible','recordIds','_isAllowedKanbanGroupField','_sortRows','trigger','_fieldPermissions','REMOTE_BASES_PLUGIN','none','@univerjs-pro/bases','index','views','working','field','getProjection','repairViewConfig','base.command.duplicate-base-field','[BaseCommandService]:\x20cannot\x20delete\x20record.','star','__UNIVER_BASE_PERF__','config','updatedBy','deleteView','_initCommands','6hgjuHd','selectField','MMM\x20D,\x20YYYY','progress','object','prototype','kanban','__all__','manual','_getTablesToNormalize','_getCellRevision','_ganttBarColor','past30','_getJson1DirtyData','includes','allowNegative','STRING','base.resource.service','invalid','[BaseCommandService]:\x20cannot\x20manage\x20view.','symbol','updatedAt','Done','createCreateRecordOp','true','9FsHXSx','_normalizeCellValue','reason','_onCommandExecuted','_apply','setTablePermission','isNaN','_isCalendarDateField','_shouldSyncFormulaData','beforeViewId','parse','base.command.delete-base-record','user','grid','YYYY/MM/DD\x20HH:mm','group','createUpdateCellOp','key','_factory','invalidateByField','rowIndex','_projectFields','Gallery\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.','getAll','decimal','startsWith','HH:mm','_groupCellInvalidations','_getSuperTableService','_createNumberingAllocator','lessThanOrEqual','deleteField','_withModifiedSystemValues','[BaseField]:\x20invalid\x20number\x20value.','thisWeek','executeCommand','boolean','#FDE68A','splice','[BaseFormula]:\x20table\x20\x22','_createNumberingFieldValuePatches','percent','canEditField','917374wrGOEL','[BaseField]:\x20invalid\x20rating\x20value.','general','getOwnPropertyDescriptor','_getAllTableIds','diffValue','#,##0.00','BaseProjection.materializeTableRows','pattern','startDateFieldId','_commandService','getUnitId','_registerSuperTables','gallery','getFullYear','MM/DD/YYYY','localeCompare','score','cellData','[BaseField]:\x20invalid\x20date\x20value.','base.mutation.apply-base-json1','description','text','_fastSortRows','includeRecords','url','20131793zprXcH','ena','UTC','row','repeat','patch','greaterThan','[BaseJson1Adapter]:\x20unsupported\x20command\x20','deleted','getUTCMonth','_setCachedProjection','base.command.delete-base-field','gantt','min','base.command.ensure-base-temporal-view-date-fields','viewIndexes','_formulaService','_buildGallery','getCurrentUserId','setViewFieldWidth','setValue','_calendarEventColor','format','currency','lastIndexOf','setViewFilter','apply','_kanbanLaneColor','_getCurrentUserId','canManageView','\x22\x20is\x20not\x20registered.','groups','missingField','primaryFieldId','catch','medium','_getTable','_projectedGroupsCache','_matchesGanttColorRule','createBatchCreateRecordsOp','registerView','_projectTableRows','options','formula.mutation.set-formula-calculation-result','round','_patchCachedProjectedRows','_permissionService','measure','FORCE_STRING','hourCycle',',,\x22M\x22','conjunction','registerTable','calendar','rowIndexById','_tablePermissions','patches','defaultValue','deepClone','hidden','cardSize','_shouldRefreshSuperTables','base.command.batch-create-base-records','_requestCalculation','createdAt','displayColor','usableAsGanttEnd','exceptions','editCell','General','#BBF7D0','viewId','endsWith','number','_isNonEmptyCellValue','getCapabilities','base.command.rename-base-view','createDefaultConfig','local','titleFieldId','endDateFieldId','base.command.duplicate-base-record','todo','base-perf-','registerSuperTables','_materializeGroups','forEach','_projectedRowsCache','getItem','finally','link','#3b82f6','undefined','_isColorfulKanbanGroupField','test','_findCalendarDateFieldId','mark','getUTCDay','base.field-registry.service','fld-','_recordPermissions',',,,\x22B\x22','canDeleteRecord','table','[BaseFormula]:\x20A1\x20references\x20and\x20ranges\x20are\x20not\x20supported\x20in\x20Base\x20formulas.','title','getStructuredDependencies','leftPaneWidth','isArray','createDefaultValue','search','fieldIndex','_getTableRevision','string','_bumpTableRevision','toLowerCase','fromPlainText','_initDependencies','5yRWhnP','label','sort','_buildKanban','_runtimeContext','_normalizeGanttConfig','params','_projectionCache','BaseProjection.projectGroups','hasOwnProperty','deleteRecord','majorHeaders','_cellInvalidations','getTypeOfUnitAdded$','validate','large','person','globalRevision','_fieldRegistry','1.0.0-alpha.1','disposeWithMe','workingDaysOnly','every','register','doing','[BaseField]:\x20invalid\x20progress\x20value.','_groupConfigCacheSegment','keys','version','_setAttachmentResources','Checked','base.command.update-base-view-config','getAffectedRanges','[BaseField]:\x20invalid\x20multi-value\x20reference.','_cellRevisions','leftPaneCollapsed','_toDirtyRangePatch','replaceOp','_projectRows','filter','timeslotSize','updateViewConfig','_normalizeGanttDisplayColor','56TDkVOa',':start','_syncFormulaData','base.command.update-base-field-description','delete','custom','getTypePlugin','[BaseCommandService]:\x20cannot\x20delete\x20field.','COMMAND','getUTCFullYear','base.command.set-base-view-filter','isNotEmpty','updateField','Calendar\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.','numbering','deleteTable','progressFieldId','base.command.set-base-view-field-width','map','h24','Gantt\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.','now','lookup','order','_filterRows','getBase','allowMultiple','getTypeOfUnitDisposed$','locale','iterator','_buildGrid','setViewGroup','_basePermissions','colorFieldId','isEmpty','clearRecordPermission','frozenFieldCount','isNot','spacePeriod','insertOp','_createNumberingAllocators','spaceComma','indexOf','conditional','has','__BASE_FORMULA_REF_','945423qStCWi','showFieldNames','getAllUnitsForType','_groupProjectionFieldIds','updateRecordOrder','Kanban\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.','_cacheKey','base.command.set-base-view-group','cardLayout','_getSystemFieldValue','formulaData','viewRevision','_superTableService','get','after','invertWithDoc','replace','clearBasePermission','4882560XmTpEO','abbreviation','applyOp','[BaseCommandService]:\x20cannot\x20edit\x20field.','base.permission.service','#14b8a6','currencySymbol','viewOrder','_dataSyncPrimaryController','validateFormula'];_0x1c68=function(){return _0x475050;};return _0x1c68();}function Vt(_0x3956e5,_0x30ac6a){const _0x39de4a=_0x224170;return Math[_0x39de4a(0x12b)](0x0,Math[_0x39de4a(0x219)](_0x3956e5,_0x30ac6a));}function L(_0x4cb70c){'@babel/helpers - typeof';const _0x16982f=_0x224170;return L=typeof Symbol==_0x16982f(0x319)&&typeof Symbol[_0x16982f(0x2ca)]==_0x16982f(0x1c2)?function(_0x513b23){return typeof _0x513b23;}:function(_0x4215ae){const _0x3c20a4=_0x16982f;return _0x4215ae&&typeof Symbol=='function'&&_0x4215ae['constructor']===Symbol&&_0x4215ae!==Symbol[_0x3c20a4(0x1b3)]?'symbol':typeof _0x4215ae;},L(_0x4cb70c);}function Ht(_0x226b61,_0x33264d){const _0x33968f=_0x224170;if(L(_0x226b61)!=_0x33968f(0x1b2)||!_0x226b61)return _0x226b61;var _0x516bb8=_0x226b61[Symbol[_0x33968f(0x18a)]];if(_0x516bb8!==void 0x0){var _0x96172f=_0x516bb8[_0x33968f(0x182)](_0x226b61,_0x33264d||_0x33968f(0x175));if(L(_0x96172f)!=_0x33968f(0x1b2))return _0x96172f;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0x33264d===_0x33968f(0x27d)?String:Number)(_0x226b61);}function Ut(_0x4bff8f){const _0x3b0a8e=_0x224170;var _0x2a4c3d=Ht(_0x4bff8f,_0x3b0a8e(0x27d));return L(_0x2a4c3d)==_0x3b0a8e(0x1c2)?_0x2a4c3d:_0x2a4c3d+'';}function R(_0x45e1fc,_0x74434f,_0x4c39b9){const _0xb3c85=_0x224170;return(_0x74434f=Ut(_0x74434f))in _0x45e1fc?Object[_0xb3c85(0x17e)](_0x45e1fc,_0x74434f,{'value':_0x4c39b9,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x45e1fc[_0x74434f]=_0x4c39b9,_0x45e1fc;}const Wt=_0x318fd3(_0x224170(0x26e));var Gt=class extends _0x21b431{constructor(..._0x25f8ca){const _0x20eade=_0x224170;super(..._0x25f8ca),R(this,_0x20eade(0xdd),new Map());}['register'](_0x6a3f77){const _0x439957=_0x224170;return this['_plugins'][_0x439957(0x32e)](_0x6a3f77['type'],_0x6a3f77),_0x479d4d(()=>this[_0x439957(0xdd)]['delete'](_0x6a3f77[_0x439957(0x131)]));}[_0x224170(0x2e8)](_0x17fb34){const _0x228746=_0x224170;let _0x37c481=this[_0x228746(0xdd)][_0x228746(0x2e8)](_0x17fb34);if(!_0x37c481)throw Error('[BaseFieldRegistryService]:\x20field\x20type\x20\x22'+_0x17fb34+_0x228746(0x22a));return _0x37c481;}[_0x224170(0x2b3)](_0x37678f){const _0x1c2305=_0x224170;return this[_0x1c2305(0xdd)][_0x1c2305(0x2e8)](_0x37678f);}['getAll'](){const _0x4debbd=_0x224170;return Array[_0x4debbd(0x2fa)](this[_0x4debbd(0xdd)][_0x4debbd(0x112)]());}};const Kt=_0x318fd3(_0x224170(0x2f1));var qt=class{constructor(){const _0x1f767d=_0x224170;R(this,_0x1f767d(0x2cd),new Map()),R(this,_0x1f767d(0x243),new Map()),R(this,_0x1f767d(0x19c),new Map()),R(this,_0x1f767d(0x270),new Map());}[_0x224170(0xe4)](_0x344e1f){const _0x188262=_0x224170;var _0x957ace,_0x5c08d5;return(_0x957ace=(_0x5c08d5=this[_0x188262(0x2cd)][_0x188262(0x2e8)](_0x344e1f))==null?void 0x0:_0x5c08d5['createTable'])==null?!0x0:_0x957ace;}['canDeleteTable'](_0x4be891){const _0x39b216=_0x224170;var _0xca89d4,_0x40fad2;return(_0xca89d4=(_0x40fad2=this[_0x39b216(0x243)][_0x39b216(0x2e8)](_0x4be891))==null?void 0x0:_0x40fad2['delete'])==null?!0x0:_0xca89d4;}[_0x224170(0x338)](_0x3210cc){const _0x48ac71=_0x224170;var _0x1558aa,_0x4e432c;return(_0x1558aa=(_0x4e432c=this[_0x48ac71(0x243)][_0x48ac71(0x2e8)](_0x3210cc))==null?void 0x0:_0x4e432c['createField'])==null?!0x0:_0x1558aa;}[_0x224170(0x1f1)](_0xd6e38a,_0x43e92f){const _0x1a33db=_0x224170;var _0x4135b7,_0x1174f3;return(_0x4135b7=(_0x1174f3=this['_fieldPermissions']['get'](Jt(_0xd6e38a,_0x43e92f)))==null?void 0x0:_0x1174f3[_0x1a33db(0xa5)])==null?!0x0:_0x4135b7;}[_0x224170(0x121)](_0x2416cb,_0x46fa04){const _0x17db4c=_0x224170;var _0x5eb30b,_0x1b549c;return(_0x5eb30b=(_0x1b549c=this[_0x17db4c(0x19c)][_0x17db4c(0x2e8)](Jt(_0x2416cb,_0x46fa04)))==null?void 0x0:_0x1b549c['delete'])==null?!0x0:_0x5eb30b;}['canCreateRecord'](_0x22fb6d){const _0x3d16e8=_0x224170;var _0x52d570,_0x5e16c8;return(_0x52d570=(_0x5e16c8=this['_tablePermissions'][_0x3d16e8(0x2e8)](_0x22fb6d))==null?void 0x0:_0x5e16c8['createRecord'])==null?!0x0:_0x52d570;}[_0x224170(0x272)](_0x5b276b,_0x16127b){const _0x9c7e26=_0x224170;var _0x2d1507,_0x4fb408;return(_0x2d1507=(_0x4fb408=this[_0x9c7e26(0x270)]['get'](Yt(_0x5b276b,_0x16127b)))==null?void 0x0:_0x4fb408['delete'])==null?!0x0:_0x2d1507;}['canEditCell'](_0x493110,_0x722794,_0xad8b97){const _0x1f1daf=_0x224170;var _0x38e1c9,_0x13760a,_0x196077,_0x2dd092;let _0x337856=this[_0x1f1daf(0x19c)]['get'](Jt(_0x493110,_0xad8b97));return((_0x38e1c9=(_0x13760a=this[_0x1f1daf(0x270)]['get'](Yt(_0x493110,_0x722794)))==null?void 0x0:_0x13760a[_0x1f1daf(0x250)])==null?!0x0:_0x38e1c9)&&((_0x196077=_0x337856==null?void 0x0:_0x337856[_0x1f1daf(0xa5)])==null?!0x0:_0x196077)&&((_0x2dd092=_0x337856==null?void 0x0:_0x337856[_0x1f1daf(0x250)])==null?!0x0:_0x2dd092);}[_0x224170(0x229)](_0x313fb0){const _0xa740c6=_0x224170;var _0x4703b7,_0xe08649;return(_0x4703b7=(_0xe08649=this[_0xa740c6(0x243)][_0xa740c6(0x2e8)](_0x313fb0))==null?void 0x0:_0xe08649['manageView'])==null?!0x0:_0x4703b7;}['setBasePermission'](_0x572a52,_0x516c15){const _0x1ab338=_0x224170;this[_0x1ab338(0x2cd)][_0x1ab338(0x32e)](_0x572a52,{...this[_0x1ab338(0x2cd)][_0x1ab338(0x2e8)](_0x572a52),..._0x516c15});}[_0x224170(0x1cc)](_0x4d65d9,_0x2f8a55){const _0x3a7cba=_0x224170;this[_0x3a7cba(0x243)][_0x3a7cba(0x32e)](_0x4d65d9,{...this['_tablePermissions']['get'](_0x4d65d9),..._0x2f8a55});}[_0x224170(0x17c)](_0x3f496f,_0x250c25,_0x56de18){const _0x4a2305=_0x224170;let _0x14aff9=Jt(_0x3f496f,_0x250c25);this[_0x4a2305(0x19c)]['set'](_0x14aff9,{...this[_0x4a2305(0x19c)][_0x4a2305(0x2e8)](_0x14aff9),..._0x56de18});}[_0x224170(0x33d)](_0x201446,_0x3ad892,_0x5b3107){const _0x5a69c8=_0x224170;let _0x45f065=Yt(_0x201446,_0x3ad892);this[_0x5a69c8(0x270)][_0x5a69c8(0x32e)](_0x45f065,{...this['_recordPermissions']['get'](_0x45f065),..._0x5b3107});}[_0x224170(0x2ec)](_0x27e352){this['_basePermissions']['delete'](_0x27e352);}['clearTablePermission'](_0xcd41fa){const _0x22074b=_0x224170;this[_0x22074b(0x243)]['delete'](_0xcd41fa);}[_0x224170(0xb7)](_0x460be9,_0x10e06e){const _0x294a27=_0x224170;this[_0x294a27(0x19c)]['delete'](Jt(_0x460be9,_0x10e06e));}[_0x224170(0x2d0)](_0x332f24,_0x21679c){const _0x68b5d0=_0x224170;this['_recordPermissions'][_0x68b5d0(0x2b1)](Yt(_0x332f24,_0x21679c));}[_0x224170(0xc5)](){const _0x516a4b=_0x224170;return{'bases':Object[_0x516a4b(0x359)](this[_0x516a4b(0x2cd)]),'tables':Object[_0x516a4b(0x359)](this['_tablePermissions']),'fields':Object['fromEntries'](this['_fieldPermissions']),'records':Object[_0x516a4b(0x359)](this[_0x516a4b(0x270)])};}};function Jt(_0x4de713,_0x509b6c){return _0x4de713+'\x1f'+_0x509b6c;}function Yt(_0x3deffb,_0x1c99ef){return _0x3deffb+'\x1f'+_0x1c99ef;}function z(_0x3934ec,_0x5c3f41){return function(_0x349d93,_0x3b4e82){_0x5c3f41(_0x349d93,_0x3b4e82,_0x3934ec);};}function B(_0x273b48,_0x233409,_0x4bdf16,_0x40d973){const _0x4dff6f=_0x224170;var _0x55d3a7=arguments['length'],_0x31b648=_0x55d3a7<0x3?_0x233409:_0x40d973===null?_0x40d973=Object[_0x4dff6f(0x1f5)](_0x233409,_0x4bdf16):_0x40d973,_0x24eda4;if(typeof Reflect==_0x4dff6f(0x1b2)&&typeof Reflect[_0x4dff6f(0x330)]==_0x4dff6f(0x319))_0x31b648=Reflect['decorate'](_0x273b48,_0x233409,_0x4bdf16,_0x40d973);else{for(var _0x55eeea=_0x273b48[_0x4dff6f(0xe2)]-0x1;_0x55eeea>=0x0;_0x55eeea--)(_0x24eda4=_0x273b48[_0x55eeea])&&(_0x31b648=(_0x55d3a7<0x3?_0x24eda4(_0x31b648):_0x55d3a7>0x3?_0x24eda4(_0x233409,_0x4bdf16,_0x31b648):_0x24eda4(_0x233409,_0x4bdf16))||_0x31b648);}return _0x55d3a7>0x3&&_0x31b648&&Object[_0x4dff6f(0x17e)](_0x233409,_0x4bdf16,_0x31b648),_0x31b648;}const V=_0x318fd3(_0x224170(0x16c));let H=class{constructor(_0x350c76,_0x4490ce=Xt(),_0x36efeb={}){const _0x5ab784=_0x224170;this[_0x5ab784(0x23a)]=_0x350c76,this[_0x5ab784(0x294)]=_0x4490ce,this['_runtimeContext']=_0x36efeb,R(this,_0x5ab784(0x1d9),new I()),R(this,_0x5ab784(0x2f9),new O());}['createTable'](_0x2cc52b,_0x178fdf,_0x2d313a){const _0x403696=_0x224170;if(!this[_0x403696(0x23a)][_0x403696(0xe4)](_0x2cc52b[_0x403696(0x1fd)]()))throw Error('[BaseCommandService]:\x20cannot\x20create\x20table.');this['_apply'](_0x2cc52b,this['_factory']['createTable'](_0x2cc52b[_0x403696(0xc5)](),_0x178fdf,_0x2d313a));}[_0x224170(0x145)](_0x59352b,_0x18310f,_0x57af4f){const _0x365494=_0x224170;this['_apply'](_0x59352b,this[_0x365494(0x1d9)]['renameTable'](_0x59352b['getSnapshot'](),_0x18310f,_0x57af4f));}[_0x224170(0x2bc)](_0x2392b4,_0x3bbf15){const _0x4543a8=_0x224170;if(!this[_0x4543a8(0x23a)]['canDeleteTable'](_0x3bbf15))throw Error(_0x4543a8(0xfd));this[_0x4543a8(0x1cb)](_0x2392b4,this[_0x4543a8(0x1d9)][_0x4543a8(0x2bc)](_0x2392b4[_0x4543a8(0xc5)](),_0x3bbf15));}[_0x224170(0xbc)](_0x48b01d,_0x12a068,_0x1480bf,_0x105d44,_0x5205aa){const _0x5f4373=_0x224170;this[_0x5f4373(0x1cb)](_0x48b01d,this[_0x5f4373(0x1d7)](_0x48b01d,_0x12a068,_0x1480bf,_0x105d44,_0x5205aa));}[_0x224170(0xdc)](_0x25975c,_0x5158fb,_0x48c4b6){const _0x42edaa=_0x224170;this[_0x42edaa(0x1cb)](_0x25975c,this['createSetRecordValuesOp'](_0x25975c,_0x5158fb,_0x48c4b6));}[_0x224170(0x30b)](_0x4815b1,_0x2c0f93,_0x94d8ed){const _0xb7bf3c=_0x224170;this[_0xb7bf3c(0x1cb)](_0x4815b1,this['createCreateRecordOp'](_0x4815b1,_0x2c0f93,_0x94d8ed));}[_0x224170(0x1d7)](_0x5f49ac,_0x1e583b,_0x10c9d7,_0x255740,_0x2afdd2){const _0x1261d2=_0x224170;let _0x432e39=_0x5f49ac[_0x1261d2(0xc5)](),_0x413283=this[_0x1261d2(0x1c8)](_0x432e39,_0x1e583b,_0x10c9d7,_0x255740,_0x2afdd2),_0x56de91=this['_withModifiedSystemValues'](_0x432e39,_0x1e583b,_0x10c9d7,{[_0x255740]:_0x413283});return this[_0x1261d2(0x1d9)][_0x1261d2(0xdc)](_0x432e39,_0x1e583b,[_0x56de91]);}['createSetRecordValuesOp'](_0x38bc02,_0xc6c37,_0x2bf9ed){const _0x2a8dae=_0x224170;let _0x6707f1=_0x38bc02[_0x2a8dae(0xc5)](),_0x3cab91=_0x2bf9ed['map'](_0x133260=>this['_withModifiedSystemValues'](_0x6707f1,_0xc6c37,_0x133260[_0x2a8dae(0x303)],{...Object['fromEntries'](Object[_0x2a8dae(0x333)](_0x133260[_0x2a8dae(0x112)])[_0x2a8dae(0x2bf)](([_0x5232b4,_0x40fb4f])=>[_0x5232b4,this[_0x2a8dae(0x1c8)](_0x6707f1,_0xc6c37,_0x133260[_0x2a8dae(0x303)],_0x5232b4,_0x40fb4f)]))}));return this[_0x2a8dae(0x1d9)][_0x2a8dae(0xdc)](_0x6707f1,_0xc6c37,_0x3cab91);}[_0x224170(0x1c5)](_0xb65c9e,_0x7dd1dd,_0x7d50eb){const _0x5343f1=_0x224170;if(!this[_0x5343f1(0x23a)]['canCreateRecord'](_0x7dd1dd))throw Error(_0x5343f1(0x10f));let _0x2b5f7e=_0xb65c9e[_0x5343f1(0xc5)](),_0x4f8187=this[_0x5343f1(0x2d5)](_0x2b5f7e[_0x5343f1(0x10e)][_0x7dd1dd]);return this[_0x5343f1(0x1d9)][_0x5343f1(0x30b)](_0x2b5f7e,_0x7dd1dd,this[_0x5343f1(0x180)](_0x2b5f7e,_0x7dd1dd,_0x7d50eb,_0x4f8187));}[_0x224170(0x233)](_0x1f028f,_0xbe1ade,_0x57e28f){const _0x176ee4=_0x224170;if(!this[_0x176ee4(0x23a)][_0x176ee4(0x190)](_0xbe1ade))throw Error(_0x176ee4(0x10f));let _0x14d1f9=_0x1f028f[_0x176ee4(0xc5)](),_0x434a12=this[_0x176ee4(0x2d5)](_0x14d1f9[_0x176ee4(0x10e)][_0xbe1ade]);return this['_factory'][_0x176ee4(0x172)](_0x14d1f9,_0xbe1ade,_0x57e28f[_0x176ee4(0x2bf)](_0x57f0d4=>this[_0x176ee4(0x180)](_0x14d1f9,_0xbe1ade,_0x57f0d4,_0x434a12)));}[_0x224170(0x31d)](_0x52d823,_0x40ca7c,_0x3fc22e,_0x168262,_0x39a547){const _0x3d86f5=_0x224170;if(!this['_permissionService'][_0x3d86f5(0x338)](_0x40ca7c))throw Error(_0x3d86f5(0x351));let _0x2df1c7=_0x52d823[_0x3d86f5(0xc5)](),_0x67051f=this[_0x3d86f5(0x1d9)][_0x3d86f5(0x118)](_0x2df1c7,_0x40ca7c,{'field':_0x3fc22e,'index':_0x168262,'viewIndexes':_0x39a547}),_0x45621f=this['_createSystemFieldValuePatches'](_0x2df1c7,_0x40ca7c,_0x3fc22e);if(!_0x45621f[_0x3d86f5(0xe2)])return _0x67051f;let _0x295890=this[_0x3d86f5(0x2f9)][_0x3d86f5(0x2ef)](_0x2df1c7,_0x67051f);return F([_0x67051f,this[_0x3d86f5(0x1d9)]['setRecordValues'](_0x295890,_0x40ca7c,_0x45621f)]);}[_0x224170(0x28c)](_0x13030f,_0x9e51a5,_0xb2cdc3){const _0x467cf3=_0x224170;if(!this[_0x467cf3(0x23a)][_0x467cf3(0x272)](_0x9e51a5,_0xb2cdc3))throw Error(_0x467cf3(0x1a7));this['_apply'](_0x13030f,this[_0x467cf3(0x1d9)][_0x467cf3(0x28c)](_0x13030f[_0x467cf3(0xc5)](),_0x9e51a5,_0xb2cdc3));}[_0x224170(0x10c)](_0x100bff,_0x136cf7,_0x41fa8a,_0x336e98){const _0x1a00a7=_0x224170;this[_0x1a00a7(0x1cb)](_0x100bff,this['_factory'][_0x1a00a7(0x10c)](_0x100bff[_0x1a00a7(0xc5)](),_0x136cf7,_0x41fa8a,_0x336e98));}['updateRecordOrder'](_0x1f91b7,_0x2fe0ae,_0x23985f,_0x561a39){const _0x4c0721=_0x224170;this[_0x4c0721(0x1cb)](_0x1f91b7,this[_0x4c0721(0x1d9)][_0x4c0721(0x2df)](_0x1f91b7['getSnapshot'](),_0x2fe0ae,_0x23985f,_0x561a39));}[_0x224170(0x118)](_0x452a01,_0x2f707d,_0x2ccb7d,_0x5698bf,_0xd59eb6){const _0x22bfe5=_0x224170;this[_0x22bfe5(0x1cb)](_0x452a01,this[_0x22bfe5(0x31d)](_0x452a01,_0x2f707d,_0x2ccb7d,_0x5698bf,_0xd59eb6));}[_0x224170(0x2b9)](_0x1ac3aa,_0x1a2136,_0x5119af,_0x32b5ff){const _0x41a89b=_0x224170;if(!this['_permissionService'][_0x41a89b(0x1f1)](_0x1a2136,_0x5119af))throw Error(_0x41a89b(0x2f0));this[_0x41a89b(0x1cb)](_0x1ac3aa,this['_factory'][_0x41a89b(0x2b9)](_0x1ac3aa['getSnapshot'](),_0x1a2136,_0x5119af,_0x32b5ff));}[_0x224170(0xfc)](_0xbd9b20,_0x5279eb,_0x4cbbc3,_0x44a26f){const _0x154226=_0x224170;if(!this[_0x154226(0x23a)][_0x154226(0x1f1)](_0x5279eb,_0x4cbbc3))throw Error(_0x154226(0x2f0));this['_apply'](_0xbd9b20,this[_0x154226(0x1d9)]['changeFieldType'](_0xbd9b20[_0x154226(0xc5)](),_0x5279eb,_0x4cbbc3,_0x44a26f));}[_0x224170(0x1e6)](_0x6cd7f0,_0x927aa8,_0x2da012){const _0x13b567=_0x224170;var _0x26569f;if(((_0x26569f=_0x6cd7f0[_0x13b567(0xc5)]()[_0x13b567(0x10e)][_0x927aa8])==null?void 0x0:_0x26569f[_0x13b567(0x22d)])===_0x2da012)throw Error(_0x13b567(0xea));if(!this[_0x13b567(0x23a)]['canDeleteField'](_0x927aa8,_0x2da012))throw Error(_0x13b567(0x2b4));this[_0x13b567(0x1cb)](_0x6cd7f0,this[_0x13b567(0x1d9)][_0x13b567(0x1e6)](_0x6cd7f0['getSnapshot'](),_0x927aa8,_0x2da012));}[_0x224170(0xbf)](_0x5c63ac,_0x5af25c,_0x5e58c8,_0x4b3dcd){const _0x16fdcf=_0x224170;if(!this[_0x16fdcf(0x23a)][_0x16fdcf(0x1f1)](_0x5af25c,_0x5e58c8))throw Error(_0x16fdcf(0x2f0));this[_0x16fdcf(0x1cb)](_0x5c63ac,this[_0x16fdcf(0x1d9)][_0x16fdcf(0xbf)](_0x5c63ac[_0x16fdcf(0xc5)](),_0x5af25c,_0x5e58c8,_0x4b3dcd));}['createView'](_0x5af799,_0x3b5b7,_0x4f0bc0,_0x294db8){const _0x33ad1a=_0x224170;this['_apply'](_0x5af799,this[_0x33ad1a(0x1d9)][_0x33ad1a(0xe1)](_0x5af799[_0x33ad1a(0xc5)](),_0x3b5b7,_0x4f0bc0,_0x294db8));}[_0x224170(0xa3)](_0x5f539e,_0x2d60b5,_0x5a766a,_0x152e31){const _0x4b79c9=_0x224170;if(!this[_0x4b79c9(0x23a)]['canManageView'](_0x2d60b5,_0x5a766a))throw Error(_0x4b79c9(0x1c1));this['_apply'](_0x5f539e,this[_0x4b79c9(0x1d9)][_0x4b79c9(0xa3)](_0x5f539e[_0x4b79c9(0xc5)](),_0x2d60b5,_0x5a766a,_0x152e31));}[_0x224170(0x1ac)](_0x3a559b,_0x44242b,_0x21ad09){const _0x13f662=_0x224170;if(!this[_0x13f662(0x23a)][_0x13f662(0x229)](_0x44242b,_0x21ad09))throw Error(_0x13f662(0x1c1));this[_0x13f662(0x1cb)](_0x3a559b,this['_factory'][_0x13f662(0x1ac)](_0x3a559b[_0x13f662(0xc5)](),_0x44242b,_0x21ad09));}[_0x224170(0x348)](_0x1b0f63,_0x46221d,_0x4a77b7,_0x314916){const _0x41b352=_0x224170;if(!this[_0x41b352(0x23a)]['canManageView'](_0x46221d,_0x4a77b7))throw Error('[BaseCommandService]:\x20cannot\x20manage\x20view.');this[_0x41b352(0x1cb)](_0x1b0f63,this[_0x41b352(0x1d9)]['moveView'](_0x1b0f63['getSnapshot'](),_0x46221d,_0x4a77b7,_0x314916));}[_0x224170(0x2ab)](_0x1c7fa0,_0x419c69,_0x288e5c,_0x2cdfe9){const _0xf6fb3e=_0x224170;if(!this['_permissionService']['canManageView'](_0x419c69,_0x288e5c))throw Error(_0xf6fb3e(0x1c1));this[_0xf6fb3e(0x1cb)](_0x1c7fa0,this[_0xf6fb3e(0x1d9)][_0xf6fb3e(0x2ab)](_0x1c7fa0[_0xf6fb3e(0xc5)](),_0x419c69,_0x288e5c,_0x2cdfe9));}[_0x224170(0x225)](_0x3f173f,_0x2b1db8,_0x3ef0b7,_0x3df467){const _0x1f1f7f=_0x224170;this[_0x1f1f7f(0x1cb)](_0x3f173f,this[_0x1f1f7f(0x1d9)][_0x1f1f7f(0x225)](_0x3f173f[_0x1f1f7f(0xc5)](),_0x2b1db8,_0x3ef0b7,_0x3df467));}[_0x224170(0x344)](_0x36a996,_0x376c7c,_0x134772,_0x589044){const _0x2731ae=_0x224170;this['_apply'](_0x36a996,this['_factory'][_0x2731ae(0x344)](_0x36a996[_0x2731ae(0xc5)](),_0x376c7c,_0x134772,_0x589044));}[_0x224170(0x2cc)](_0x24be48,_0x5cfdf7,_0x235b76,_0x48c4a7){const _0x3caff8=_0x224170;this['_apply'](_0x24be48,this[_0x3caff8(0x1d9)]['setViewGroup'](_0x24be48[_0x3caff8(0xc5)](),_0x5cfdf7,_0x235b76,_0x48c4a7));}[_0x224170(0x197)](_0x414974,_0x257381,_0x1aa8be,_0x6da99e,_0x4085b4){const _0x3e3580=_0x224170;if(!this['_permissionService'][_0x3e3580(0x229)](_0x257381,_0x1aa8be))throw Error('[BaseCommandService]:\x20cannot\x20manage\x20view.');this[_0x3e3580(0x1cb)](_0x414974,this[_0x3e3580(0x1d9)][_0x3e3580(0x197)](_0x414974['getSnapshot'](),_0x257381,_0x1aa8be,_0x6da99e,_0x4085b4));}[_0x224170(0x21f)](_0x3a036c,_0x3acea7,_0x507267,_0x56eb99,_0x469595){const _0x30d859=_0x224170;this['_apply'](_0x3a036c,this[_0x30d859(0x1d9)][_0x30d859(0x21f)](_0x3a036c[_0x30d859(0xc5)](),_0x3acea7,_0x507267,_0x56eb99,_0x469595));}[_0x224170(0x305)](_0x28424d,_0x174725,_0x3d94d0,_0x4e7361,_0x106a3e){const _0x14a77d=_0x224170;this['_apply'](_0x28424d,this[_0x14a77d(0x1d9)][_0x14a77d(0x305)](_0x28424d[_0x14a77d(0xc5)](),_0x174725,_0x3d94d0,_0x4e7361,_0x106a3e));}[_0x224170(0x1cb)](_0x86de91,_0x5a8d52){const _0x237fbb=_0x224170;let _0x5d0e96=_0x86de91[_0x237fbb(0xc5)]();_0x86de91[_0x237fbb(0x16d)](this[_0x237fbb(0x2f9)][_0x237fbb(0x2ef)](_0x5d0e96,_0x5a8d52));}[_0x224170(0x180)](_0x17bb56,_0x201914,_0x11f2db,_0x25593c=this['_createNumberingAllocators'](_0x17bb56['tables'][_0x201914])){const _0x260b0b=_0x224170;var _0x3b8d8e,_0x3a76cf,_0x58df8d,_0x159208;let _0xaad851=_0x17bb56[_0x260b0b(0x10e)][_0x201914],_0x1af640=(_0x3b8d8e=(_0x3a76cf=_0x11f2db[_0x260b0b(0x358)])==null?_0x11f2db[_0x260b0b(0x1ab)]:_0x3a76cf)==null?this[_0x260b0b(0x228)]():_0x3b8d8e,_0xade680={..._0x11f2db,'createdBy':(_0x58df8d=_0x11f2db[_0x260b0b(0x358)])==null?_0x1af640:_0x58df8d,'updatedBy':(_0x159208=_0x11f2db[_0x260b0b(0x1ab)])==null?_0x1af640:_0x159208,'values':{..._0x11f2db[_0x260b0b(0x112)]}};return _0xaad851[_0x260b0b(0x322)][_0x260b0b(0x262)](_0x248939=>{const _0x22e47d=_0x260b0b;let _0x12265b=_0xaad851[_0x22e47d(0x147)][_0x248939];if(!(!_0x12265b||_0x12265b[_0x22e47d(0x214)]||_0xade680[_0x22e47d(0x112)][_0x248939]!==void 0x0))switch(_0x12265b[_0x22e47d(0x131)]){case _0x22e47d(0x2bb):var _0x99bf6a,_0xe49517;_0xade680[_0x22e47d(0x112)][_0x248939]=(_0x99bf6a=(_0xe49517=_0x25593c[_0x22e47d(0x2e8)](_0x248939))==null?void 0x0:_0xe49517())==null?this[_0x22e47d(0x1e4)](_0xaad851,_0x248939)():_0x99bf6a;break;case _0x22e47d(0x358):_0xade680[_0x22e47d(0x358)]&&(_0xade680[_0x22e47d(0x112)][_0x248939]=_0xade680[_0x22e47d(0x358)]);break;case _0x22e47d(0x1ab):_0xade680[_0x22e47d(0x1ab)]&&(_0xade680[_0x22e47d(0x112)][_0x248939]=_0xade680[_0x22e47d(0x1ab)]);break;case _0x22e47d(0x24c):_0xade680['values'][_0x248939]=k(_0xade680['createdAt']);break;case _0x22e47d(0x1c3):_0xade680[_0x22e47d(0x112)][_0x248939]=k(_0xade680[_0x22e47d(0x1c3)]);break;default:{let _0x405866=_0x12265b[_0x22e47d(0x245)];_0x405866!=null&&_0x405866!==''&&!(Array[_0x22e47d(0x278)](_0x405866)&&_0x405866[_0x22e47d(0xe2)]===0x0)&&(_0xade680[_0x22e47d(0x112)][_0x248939]=_0x405866);}}}),_0xade680;}[_0x224170(0x1e7)](_0xbbe3d9,_0x31ade0,_0x486422,_0x11e4ab){const _0x412e41=_0x224170;var _0x122dbb,_0x4394a3,_0x11bdcf;let _0x3c9f22=_0xbbe3d9[_0x412e41(0x10e)][_0x31ade0],_0x4e71f6=(_0x122dbb=(_0x4394a3=(_0x11bdcf=this[_0x412e41(0x286)])[_0x412e41(0x2c2)])==null?void 0x0:_0x4394a3[_0x412e41(0x182)](_0x11bdcf))==null?Date[_0x412e41(0x2c2)]():_0x122dbb,_0x163df3=this[_0x412e41(0x228)](),_0x15ebae={..._0x11e4ab};return _0x3c9f22[_0x412e41(0x322)]['forEach'](_0x327ac6=>{const _0x216cd7=_0x412e41;let _0x267e3f=_0x3c9f22['fields'][_0x327ac6];!_0x267e3f||_0x267e3f['deleted']||(_0x267e3f['type']===_0x216cd7(0x1c3)&&(_0x15ebae[_0x327ac6]=k(_0x4e71f6)),_0x267e3f['type']==='updatedBy'&&_0x163df3&&(_0x15ebae[_0x327ac6]=_0x163df3));}),{'recordId':_0x486422,'values':_0x15ebae,'recordPatch':{'updatedAt':_0x4e71f6,..._0x163df3?{'updatedBy':_0x163df3}:{}}};}[_0x224170(0x34c)](_0x9a9c2d,_0x19b742,_0x3096c2){const _0x27f091=_0x224170;let _0x3bd754=_0x9a9c2d['tables'][_0x19b742];return!_0x3bd754||!Zt(_0x3096c2)?[]:_0x3096c2[_0x27f091(0x131)]==='numbering'?this[_0x27f091(0x1ef)](_0x3bd754,_0x3096c2['id']):Object[_0x27f091(0x112)](_0x3bd754[_0x27f091(0x2f7)])[_0x27f091(0x2a9)](_0x106107=>!_0x106107[_0x27f091(0x214)])['flatMap'](_0x4ec8cb=>{const _0x204a94=_0x27f091;let _0x2d3619=this[_0x204a94(0x2e4)](_0x3096c2,_0x4ec8cb);return _0x2d3619===void 0x0?[]:[{'recordId':_0x4ec8cb['id'],'values':{[_0x3096c2['id']]:_0x2d3619}}];});}[_0x224170(0x2e4)](_0x266aa8,_0x23f65e){const _0x203621=_0x224170;switch(_0x266aa8[_0x203621(0x131)]){case _0x203621(0x358):var _0x20e092;return(_0x20e092=_0x23f65e[_0x203621(0x358)])==null?this[_0x203621(0x228)]():_0x20e092;case _0x203621(0x1ab):var _0x6563d;return(_0x6563d=_0x23f65e['updatedBy'])==null?this['_getCurrentUserId']():_0x6563d;case _0x203621(0x24c):var _0x25373a;return k((_0x25373a=_0x23f65e[_0x203621(0x24c)])==null?Date[_0x203621(0x2c2)]():_0x25373a);case _0x203621(0x1c3):var _0x29cb7d;return k((_0x29cb7d=_0x23f65e[_0x203621(0x1c3)])==null?Date['now']():_0x29cb7d);default:return;}}[_0x224170(0x2d5)](_0x6029d4){const _0x3f32bd=_0x224170;let _0x2b7376=new Map();return _0x6029d4&&_0x6029d4[_0x3f32bd(0x322)][_0x3f32bd(0x262)](_0x364d3b=>{const _0x1fce29=_0x3f32bd;let _0x4064c9=_0x6029d4[_0x1fce29(0x147)][_0x364d3b];(_0x4064c9==null?void 0x0:_0x4064c9[_0x1fce29(0x131)])===_0x1fce29(0x2bb)&&!_0x4064c9[_0x1fce29(0x214)]&&_0x2b7376[_0x1fce29(0x32e)](_0x364d3b,this[_0x1fce29(0x1e4)](_0x6029d4,_0x364d3b));}),_0x2b7376;}[_0x224170(0x1e4)](_0x2c2e08,_0x2f450d){const _0x3224b4=_0x224170;let _0x2fcbe0=Object[_0x3224b4(0x112)](_0x2c2e08['records'])[_0x3224b4(0xd3)]((_0x3ef964,_0xbf3838)=>{const _0x35c00e=_0x3224b4;if(_0xbf3838[_0x35c00e(0x214)])return _0x3ef964;let _0x37585a=Number(_0xbf3838[_0x35c00e(0x112)][_0x2f450d]);return Number[_0x35c00e(0x34b)](_0x37585a)?Math[_0x35c00e(0x12b)](_0x3ef964,_0x37585a):_0x3ef964;},0x0);return()=>String(++_0x2fcbe0);}[_0x224170(0x1ef)](_0x41f31d,_0x4856a4){const _0x25484c=_0x224170;let _0x2e58fb=this[_0x25484c(0x184)](_0x41f31d),_0x36937f=this[_0x25484c(0x1e4)](_0x41f31d,_0x4856a4);return _0x2e58fb[_0x25484c(0xe0)](_0x37498f=>this[_0x25484c(0x256)](_0x37498f[_0x25484c(0x112)][_0x4856a4])?[]:[{'recordId':_0x37498f['id'],'values':{[_0x4856a4]:_0x36937f()}}]);}[_0x224170(0x184)](_0x4057c4){const _0x276015=_0x224170;var _0x33c2ce;let _0x3af073=Object[_0x276015(0x112)](_0x4057c4[_0x276015(0x2f7)])[_0x276015(0x2a9)](_0x279866=>!_0x279866[_0x276015(0x214)]),_0x34dfa1=new Map(_0x3af073['map'](_0x3502e8=>[_0x3502e8['id'],_0x3502e8])),_0x91d545=[],_0x1d4fb0=new Set();(_0x33c2ce=_0x4057c4[_0x276015(0x110)])==null||_0x33c2ce[_0x276015(0x262)](_0x7bad2d=>{const _0x2f90de=_0x276015;let _0x1678e8=_0x34dfa1[_0x2f90de(0x2e8)](_0x7bad2d);_0x1678e8&&(_0x91d545[_0x2f90de(0x14d)](_0x1678e8),_0x1d4fb0['add'](_0x7bad2d));});let _0x21cc0d=_0x3af073[_0x276015(0x2a9)](_0x5861c1=>!_0x1d4fb0[_0x276015(0x2d9)](_0x5861c1['id']))['sort']((_0x33d536,_0x431fd9)=>{const _0x2cd17e=_0x276015;var _0x30a816,_0x1d05bb;return String((_0x30a816=_0x33d536[_0x2cd17e(0x341)])==null?_0x33d536['id']:_0x30a816)[_0x2cd17e(0x202)](String((_0x1d05bb=_0x431fd9[_0x2cd17e(0x341)])==null?_0x431fd9['id']:_0x1d05bb))||_0x33d536['id']['localeCompare'](_0x431fd9['id']);});return[..._0x91d545,..._0x21cc0d];}[_0x224170(0x256)](_0x3a05a6){const _0x57b4fa=_0x224170;return _0x3a05a6!=null&&_0x3a05a6!==''&&!(Array[_0x57b4fa(0x278)](_0x3a05a6)&&_0x3a05a6['length']===0x0);}[_0x224170(0x228)](){const _0x7adc1b=_0x224170;var _0x552dec,_0x2181db,_0x4858c8,_0x434801,_0x183683,_0x48312a;return(_0x552dec=(_0x2181db=(_0x4858c8=(_0x434801=this[_0x7adc1b(0x286)])[_0x7adc1b(0x21e)])==null?void 0x0:_0x4858c8[_0x7adc1b(0x182)](_0x434801))==null?(_0x183683=(_0x48312a=this[_0x7adc1b(0x286)])['getCurrentUser'])==null||(_0x183683=_0x183683[_0x7adc1b(0x182)](_0x48312a))==null?void 0x0:_0x183683[_0x7adc1b(0xaf)]:_0x2181db)==null?void 0x0:_0x552dec;}[_0x224170(0x1c8)](_0x43c37f,_0xc98272,_0x3b3382,_0x35cd7f,_0x36b8d9){const _0x3f9032=_0x224170;var _0xb3809;if(!this[_0x3f9032(0x23a)]['canEditCell'](_0xc98272,_0x3b3382,_0x35cd7f))throw Error(_0x3f9032(0x35a));let _0x11573c=(_0xb3809=_0x43c37f['tables'][_0xc98272])==null?void 0x0:_0xb3809['fields'][_0x35cd7f];if(!_0x11573c||_0x11573c[_0x3f9032(0x214)])throw Error(_0x3f9032(0x11b)+_0x35cd7f+_0x3f9032(0xa6));let _0x4edb98=this[_0x3f9032(0x294)][_0x3f9032(0x2e8)](_0x11573c[_0x3f9032(0x131)]);if(_0x11573c['readonly']||_0x11573c[_0x3f9032(0x32a)]||!_0x4edb98[_0x3f9032(0x257)](_0x11573c)['editable'])throw Error('[BaseCommandService]:\x20cannot\x20edit\x20readonly\x20field.');let _0x2c5f54=_0x4edb98[_0x3f9032(0x35c)](_0x36b8d9,_0x11573c),_0x1d16a2=_0x4edb98[_0x3f9032(0x290)](_0x2c5f54,_0x11573c);if(!_0x1d16a2[_0x3f9032(0x15d)]){var _0x2958e2;throw Error((_0x2958e2=_0x1d16a2[_0x3f9032(0x1c9)])==null?'[BaseCommandService]:\x20invalid\x20cell\x20value.':_0x2958e2);}return _0x2c5f54;}};H=B([z(0x0,Kt),z(0x1,Wt)],H);function Xt(){const _0x594d5b=_0x224170;let _0x1e65f0=new Gt();return Ct()[_0x594d5b(0x262)](_0x5dd1aa=>_0x1e65f0[_0x594d5b(0x299)](_0x5dd1aa)),_0x1e65f0;}function Zt(_0x12eabe){const _0x464859=_0x224170;return _0x12eabe[_0x464859(0x131)]==='numbering'||_0x12eabe[_0x464859(0x131)]===_0x464859(0x358)||_0x12eabe[_0x464859(0x131)]===_0x464859(0x1ab)||_0x12eabe[_0x464859(0x131)]===_0x464859(0x24c)||_0x12eabe[_0x464859(0x131)]==='updatedAt';}const Qt=new Set([_0x224170(0x1b1),_0x224170(0x10d),_0x224170(0x34d)]);function $t(_0x2fdbaa){const _0x3e2bc2=_0x224170;var _0x8fbe0f,_0x3c8c08;let _0x1d37e3=_0x2fdbaa[_0x3e2bc2(0x147)][_0x2fdbaa['primaryFieldId']];return!(_0x1d37e3&&(_0x1d37e3['system']===!0x0||_0x1d37e3['id']['toLowerCase']()==='id'||_0x1d37e3['name'][_0x3e2bc2(0x332)]()['toLowerCase']()==='id'))&&_0x1d37e3&&!_0x1d37e3['deleted']?_0x1d37e3['id']:(_0x8fbe0f=(_0x3c8c08=_0x2fdbaa[_0x3e2bc2(0x322)][_0x3e2bc2(0x2bf)](_0x116c6f=>_0x2fdbaa[_0x3e2bc2(0x147)][_0x116c6f])['find'](_0x376c2b=>_0x376c2b&&!_0x376c2b[_0x3e2bc2(0x214)]&&_0x376c2b['id']!==_0x2fdbaa['primaryFieldId']))==null?void 0x0:_0x3c8c08['id'])==null?_0x2fdbaa[_0x3e2bc2(0x22d)]:_0x8fbe0f;}function en(_0x512cc5,_0x6f2e22=[],_0x5b876b=0x5){const _0x39e2d9=_0x224170;let _0x2d505c=new Set(_0x6f2e22[_0x39e2d9(0x2a9)](_0x281e5c=>!!_0x281e5c)),_0x17a295=_0x512cc5[_0x39e2d9(0x322)]['flatMap'](_0x54a29a=>{const _0x4d3a06=_0x39e2d9;let _0x4219d7=_0x512cc5['fields'][_0x54a29a];return _0x4219d7&&!_0x4219d7[_0x4d3a06(0x214)]&&!_0x2d505c[_0x4d3a06(0x2d9)](_0x4219d7['id'])?[_0x4219d7]:[];}),_0x5e70b3=_0x17a295[_0x39e2d9(0x2a9)](_0x1a7fc4=>Qt[_0x39e2d9(0x2d9)](_0x1a7fc4[_0x39e2d9(0x131)])),_0xb12527=_0x17a295[_0x39e2d9(0x2a9)](_0x23465d=>!Qt[_0x39e2d9(0x2d9)](_0x23465d[_0x39e2d9(0x131)]));return[..._0x5e70b3,..._0xb12527][_0x39e2d9(0x177)](0x0,_0x5b876b)[_0x39e2d9(0x2bf)](_0x1629d2=>_0x1629d2['id']);}function tn(){const _0x571fb6=_0x224170;return[{'type':_0x571fb6(0x1d4),'i18nKey':_0x571fb6(0xcd),'createDefaultConfig':()=>({}),'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{const _0x2c53ad=_0x571fb6;throw Error(_0x2c53ad(0x300));}},{'type':_0x571fb6(0x1b4),'i18nKey':'base.viewType.kanban','createDefaultConfig':_0x334d6c=>{const _0xddaa0b=_0x571fb6;let _0x11c375=nn(_0x334d6c);return{'groupFieldId':_0x11c375,'coverFieldId':null,'cardLayout':_0xddaa0b(0x108),'showFieldNames':!0x0,'fieldSettings':{},'columnSettings':{},'card':{'titleFieldId':_0x334d6c[_0xddaa0b(0x22d)],'fieldIds':en(_0x334d6c,[_0x334d6c[_0xddaa0b(0x22d)],_0x11c375])}};},'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{const _0x597c48=_0x571fb6;throw Error(_0x597c48(0x2e0));}},{'type':_0x571fb6(0x241),'i18nKey':_0x571fb6(0x136),'createDefaultConfig':_0x5da2a4=>{const _0x2694d6=_0x571fb6;let _0x4400bb=rn(_0x5da2a4);return{'startDateFieldId':_0x4400bb,'endDateFieldId':an(_0x5da2a4,_0x4400bb),'titleFieldId':_0x5da2a4[_0x2694d6(0x22d)],'mode':'month','timeslotSize':_0x2694d6(0x22f),'timeZone':_0x2694d6(0x25a),'displayColor':{'type':_0x2694d6(0x2b2),'color':'#3b82f6'},'fieldSettings':{}};},'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{const _0x3194bc=_0x571fb6;throw Error(_0x3194bc(0x2ba));}},{'type':_0x571fb6(0x218),'i18nKey':'base.viewType.gantt','createDefaultConfig':_0x1886f0=>{const _0x35672e=_0x571fb6;var _0x222309;let _0x4abacd=rn(_0x1886f0);return{'startDateFieldId':_0x4abacd,'endDateFieldId':(_0x222309=an(_0x1886f0,_0x4abacd))==null?_0x4abacd:_0x222309,'titleFieldId':_0x1886f0[_0x35672e(0x22d)],'scale':_0x35672e(0x17a),'showTodayLine':!0x0,'displayColor':{'type':_0x35672e(0x2b2),'color':'#14b8a6'},'fieldSettings':{},'workingDaysOnly':!0x1};},'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{const _0x3de4d0=_0x571fb6;throw Error(_0x3de4d0(0x2c1));}},{'type':'gallery','i18nKey':_0x571fb6(0x323),'createDefaultConfig':_0x483cb2=>{const _0x4f16bc=_0x571fb6;let _0x2adf01=$t(_0x483cb2);return{'coverFieldId':null,'cardLayout':_0x4f16bc(0x108),'showFieldNames':!0x0,'fieldSettings':{},'card':{'titleFieldId':_0x2adf01,'coverFieldId':null,'fieldIds':en(_0x483cb2,[_0x2adf01,_0x483cb2['primaryFieldId']])},'cardSize':'medium'};},'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{const _0x4ad260=_0x571fb6;throw Error(_0x4ad260(0x1dd));}}];}function nn(_0x8cf5bd){const _0x219a2a=_0x224170;var _0x4f07df,_0x57e7da,_0x409ae6,_0x45d8b9,_0x145001,_0x27c681;let _0x20b0b2=_0x8cf5bd['fieldOrder'][_0x219a2a(0x2bf)](_0x323ced=>_0x8cf5bd['fields'][_0x323ced])['filter'](_0x4437a5=>!!_0x4437a5&&!_0x4437a5[_0x219a2a(0x214)]);return(_0x4f07df=(_0x57e7da=(_0x409ae6=(_0x45d8b9=_0x20b0b2[_0x219a2a(0x334)](_0x1a074a=>_0x1a074a[_0x219a2a(0x131)]===_0x219a2a(0x33e)||_0x1a074a[_0x219a2a(0x131)]===_0x219a2a(0x2f8)||_0x1a074a[_0x219a2a(0x131)]===_0x219a2a(0x1d6)))==null?void 0x0:_0x45d8b9['id'])==null?(_0x145001=_0x20b0b2[_0x219a2a(0x334)](_0x11a5b1=>_0x11a5b1['type']===_0x219a2a(0x208)))==null?void 0x0:_0x145001['id']:_0x409ae6)==null?(_0x27c681=_0x20b0b2['find'](_0x246d98=>_0x246d98['type']===_0x219a2a(0xca)||_0x246d98[_0x219a2a(0x131)]==='createdAt'||_0x246d98[_0x219a2a(0x131)]===_0x219a2a(0x1c3)))==null?void 0x0:_0x27c681['id']:_0x57e7da)==null?_0x8cf5bd[_0x219a2a(0x22d)]:_0x4f07df;}function rn(_0x448779){const _0x214a24=_0x224170;var _0x6a687b,_0x1be68d;return(_0x6a687b=(_0x1be68d=_0x448779[_0x214a24(0x322)][_0x214a24(0x2bf)](_0x2be69c=>_0x448779[_0x214a24(0x147)][_0x2be69c])[_0x214a24(0x334)](on))==null?void 0x0:_0x1be68d['id'])==null?'':_0x6a687b;}function an(_0x783e11,_0x36889d){const _0x3d7274=_0x224170;var _0x3dc03f;return(_0x3dc03f=_0x783e11[_0x3d7274(0x322)][_0x3d7274(0x2bf)](_0x5a6e62=>_0x783e11[_0x3d7274(0x147)][_0x5a6e62])[_0x3d7274(0x334)](_0x16d2fd=>on(_0x16d2fd)&&_0x16d2fd['id']!==_0x36889d))==null?void 0x0:_0x3dc03f['id'];}function on(_0x2d06f2){const _0x433af0=_0x224170;return!!_0x2d06f2&&!_0x2d06f2['deleted']&&_0x2d06f2[_0x433af0(0x131)]===_0x433af0(0xca)&&_0x2d06f2['readonly']!==!0x0&&_0x2d06f2[_0x433af0(0x32a)]!==!0x0;}const sn=_0x318fd3(_0x224170(0xbe)),cn=new Set([_0x224170(0x255),_0x224170(0x223),_0x224170(0x1b1),_0x224170(0x10d),_0x224170(0xca),_0x224170(0x24c),_0x224170(0x1c3),_0x224170(0x34d)]);let ln=class extends _0x21b431{constructor(_0x2c52fa){const _0x2a8292=_0x224170;super(),this[_0x2a8292(0x294)]=_0x2c52fa,R(this,_0x2a8292(0xa8),new Map()),R(this,_0x2a8292(0x289),new WeakMap()),R(this,'_projectedRowsCache',new Map()),R(this,_0x2a8292(0x17f),new Map()),R(this,_0x2a8292(0x231),new Map()),R(this,'_globalRevision',0x0),R(this,'_tableRevisions',new Map()),R(this,_0x2a8292(0x2a4),new Map()),R(this,_0x2a8292(0x28e),new Map()),R(this,_0x2a8292(0x335),new Map());}[_0x224170(0x234)](_0x3776da){const _0xf358da=_0x224170;return this['_views'][_0xf358da(0x32e)](_0x3776da[_0xf358da(0x131)],_0x3776da),_0x479d4d(()=>this[_0xf358da(0xa8)][_0xf358da(0x2b1)](_0x3776da[_0xf358da(0x131)]));}[_0x224170(0x1a4)](_0x6ea70c,_0xd1d0c5,_0x673bfc){const _0x2c6947=_0x224170;var _0x48e6b6,_0x4ef1e6,_0x4612a0,_0x4e4f16,_0x34f6f3;return S('BaseProjection.getProjection',()=>{const _0x5a3498=_0x1410;let _0xc114ed=this[_0x5a3498(0xbd)](_0x6ea70c,_0xd1d0c5,_0x673bfc);if(_0xc114ed)return _0xc114ed;let _0x35a9f4=_0x6ea70c[_0x5a3498(0x10e)][_0xd1d0c5],_0xa6ea3e=_0x35a9f4==null?void 0x0:_0x35a9f4[_0x5a3498(0x1a1)][_0x673bfc];if(!_0x35a9f4||!_0xa6ea3e||_0x35a9f4[_0x5a3498(0x214)]||_0xa6ea3e['deleted']){var _0x52279f;return this[_0x5a3498(0x216)](_0x6ea70c,_0xd1d0c5,_0x673bfc,{'type':_0x5a3498(0x1c0),'viewType':(_0x52279f=_0xa6ea3e==null?void 0x0:_0xa6ea3e['type'])==null?_0x5a3498(0x1d4):_0x52279f,'reason':_0x5a3498(0x22c)});}let _0x4b0cd8;switch(_0xa6ea3e[_0x5a3498(0x131)]){case _0x5a3498(0x1d4):_0x4b0cd8=this[_0x5a3498(0x2cb)](_0x35a9f4,_0xa6ea3e);break;case _0x5a3498(0x218):_0x4b0cd8=this[_0x5a3498(0x11f)](_0x35a9f4,_0xa6ea3e);break;case'kanban':_0x4b0cd8=this[_0x5a3498(0x285)](_0x35a9f4,_0xa6ea3e);break;case _0x5a3498(0x241):_0x4b0cd8=this[_0x5a3498(0x149)](_0x35a9f4,_0xa6ea3e);break;case _0x5a3498(0x1ff):_0x4b0cd8=this[_0x5a3498(0x21d)](_0x35a9f4,_0xa6ea3e);break;default:_0x4b0cd8={'type':'invalid','viewType':_0xa6ea3e['type'],'reason':_0x5a3498(0x22c)};}return this[_0x5a3498(0x216)](_0x6ea70c,_0xd1d0c5,_0x673bfc,_0x4b0cd8);},{'tableId':_0xd1d0c5,'viewId':_0x673bfc,'viewType':(_0x48e6b6=_0x6ea70c[_0x2c6947(0x10e)][_0xd1d0c5])==null||(_0x48e6b6=_0x48e6b6[_0x2c6947(0x1a1)][_0x673bfc])==null?void 0x0:_0x48e6b6[_0x2c6947(0x131)],'records':(_0x4ef1e6=(_0x4612a0=_0x6ea70c[_0x2c6947(0x10e)][_0xd1d0c5])==null||(_0x4612a0=_0x4612a0[_0x2c6947(0x110)])==null?void 0x0:_0x4612a0[_0x2c6947(0xe2)])==null?Object[_0x2c6947(0x29d)]((_0x4e4f16=(_0x34f6f3=_0x6ea70c[_0x2c6947(0x10e)][_0xd1d0c5])==null?void 0x0:_0x34f6f3[_0x2c6947(0x2f7)])==null?{}:_0x4e4f16)[_0x2c6947(0xe2)]:_0x4ef1e6});}[_0x224170(0x1a5)](_0xfc0c8a,_0x3f42ec,_0x363d5e){const _0x88f6e7=_0x224170;var _0x52b906,_0x1ac72c,_0x7c3ba,_0x2634e6;let _0x5947bd=_0xfc0c8a[_0x88f6e7(0x10e)][_0x3f42ec],_0x16359c=_0x5947bd==null?void 0x0:_0x5947bd[_0x88f6e7(0x1a1)][_0x363d5e];if(!_0x5947bd||!_0x16359c)throw Error(_0x88f6e7(0xfe)+_0x363d5e+'\x22.');let _0x2e6f2a=_0x707824=>{const _0x27f279=_0x88f6e7;let _0x48a4b7=_0x5947bd[_0x27f279(0x147)][_0x707824];return!!_0x48a4b7&&!_0x48a4b7['deleted'];},_0x349ebd={..._0x16359c,'filter':_0x16359c[_0x88f6e7(0x2a9)]?{..._0x16359c['filter'],'conditions':_0x16359c[_0x88f6e7(0x2a9)][_0x88f6e7(0x317)][_0x88f6e7(0x2a9)](_0x375a6e=>_0x2e6f2a(_0x375a6e[_0x88f6e7(0xd0)]))}:_0x16359c[_0x88f6e7(0x2a9)],'sort':(_0x52b906=_0x16359c[_0x88f6e7(0x284)])==null?void 0x0:_0x52b906[_0x88f6e7(0x2a9)](_0x2fdc05=>_0x2e6f2a(_0x2fdc05['fieldId'])),'group':(_0x1ac72c=_0x16359c[_0x88f6e7(0x1d6)])==null?void 0x0:_0x1ac72c['filter'](_0x586354=>_0x2e6f2a(_0x586354[_0x88f6e7(0xd0)])),'fieldOrder':(_0x7c3ba=_0x16359c['fieldOrder'])==null?void 0x0:_0x7c3ba['filter'](_0x2e6f2a),'fieldSettings':Object['fromEntries'](Object[_0x88f6e7(0x333)]((_0x2634e6=_0x16359c[_0x88f6e7(0x181)])==null?{}:_0x2634e6)[_0x88f6e7(0x2a9)](([_0x121885])=>_0x2e6f2a(_0x121885)))};if(_0x349ebd[_0x88f6e7(0x131)]===_0x88f6e7(0x1b4)){var _0x4ffad1,_0x4f3913,_0x15a732,_0x34edf1;let _0x6c8159=(_0x4ffad1=_0x349ebd[_0x88f6e7(0x1aa)])==null?{}:_0x4ffad1,_0x4b9dd7=this[_0x88f6e7(0x140)](_0x5947bd,_0x349ebd);_0x349ebd[_0x88f6e7(0x1aa)]={..._0x6c8159,'groupFieldId':_0x4b9dd7==null?_0x6c8159[_0x88f6e7(0xb8)]:_0x4b9dd7,'coverFieldId':this[_0x88f6e7(0x324)](_0x5947bd,_0x6c8159),'cardLayout':_0x6c8159[_0x88f6e7(0x2e3)]===_0x88f6e7(0xe5)?'compose':'normal','showFieldNames':_0x6c8159[_0x88f6e7(0x2dc)]!==!0x1,'fieldSettings':Object[_0x88f6e7(0x359)](Object[_0x88f6e7(0x333)]((_0x4f3913=_0x6c8159[_0x88f6e7(0x181)])==null?{}:_0x4f3913)['filter'](([_0x9376fb])=>_0x2e6f2a(_0x9376fb))),'columnSettings':(_0x15a732=_0x6c8159[_0x88f6e7(0x2ff)])==null?{}:_0x15a732,'card':{...(_0x34edf1=_0x6c8159[_0x88f6e7(0x185)])==null?{}:_0x34edf1,'fieldIds':this[_0x88f6e7(0x31f)](_0x5947bd,_0x349ebd,_0x4b9dd7==null?'':_0x4b9dd7)}};}return{'repaired':JSON[_0x88f6e7(0x355)](_0x349ebd)!==JSON[_0x88f6e7(0x355)](_0x16359c),'view':_0x349ebd};}[_0x224170(0x357)](){const _0x8b7ec6=_0x224170;this[_0x8b7ec6(0x314)]++;}[_0x224170(0xa9)](_0x383213,_0x53df8a,_0x552bdc){const _0x52df76=_0x224170;var _0x1af3e4;let _0x1d5fd1=this[_0x52df76(0x1b8)](_0x383213)+0x1;this[_0x52df76(0x2a4)][_0x52df76(0x32e)](_0x383213,_0x1d5fd1);let _0x1f831f=(_0x1af3e4=this['_cellInvalidations']['get'](_0x383213))==null?[]:_0x1af3e4;_0x1f831f[_0x52df76(0x14d)]({'revision':_0x1d5fd1,'recordId':_0x53df8a,'fieldId':_0x552bdc}),this[_0x52df76(0x28e)][_0x52df76(0x32e)](_0x383213,_0x1f831f);}[_0x224170(0x1da)](_0xac3a91,_0x5c247e){const _0x2ab50e=_0x224170;this[_0x2ab50e(0x27e)](_0xac3a91);}[_0x224170(0x2fe)](_0x27bb8f,_0x5afa7e){const _0x45387b=_0x224170;this[_0x45387b(0x335)]['set'](this[_0x45387b(0xd8)](_0x27bb8f,_0x5afa7e),this['_getViewRevision'](_0x27bb8f,_0x5afa7e)+0x1);}['_getCachedProjection'](_0x3dd4f5,_0xa825b7,_0x10787a){const _0x2e8194=_0x224170;var _0x152c35;let _0x1d1322=(_0x152c35=this[_0x2e8194(0x289)]['get'](_0x3dd4f5))==null?void 0x0:_0x152c35[_0x2e8194(0x2e8)](this[_0x2e8194(0x2e1)](_0xa825b7,_0x10787a));return _0x1d1322&&_0x1d1322[_0x2e8194(0x293)]===this[_0x2e8194(0x314)]&&_0x1d1322[_0x2e8194(0x13d)]===this[_0x2e8194(0x27c)](_0xa825b7)&&_0x1d1322[_0x2e8194(0x12f)]===this[_0x2e8194(0x1b8)](_0xa825b7)&&_0x1d1322[_0x2e8194(0x2e6)]===this['_getViewRevision'](_0xa825b7,_0x10787a)?_0x1d1322[_0x2e8194(0x15f)]:null;}[_0x224170(0x216)](_0x74d8f6,_0x32692e,_0x59d5a4,_0x4347c0){const _0x49bfe0=_0x224170;let _0x55daf4=this['_projectionCache']['get'](_0x74d8f6);return _0x55daf4||(_0x55daf4=new Map(),this['_projectionCache'][_0x49bfe0(0x32e)](_0x74d8f6,_0x55daf4)),_0x55daf4[_0x49bfe0(0x32e)](this[_0x49bfe0(0x2e1)](_0x32692e,_0x59d5a4),{'projection':_0x4347c0,'globalRevision':this['_globalRevision'],'tableRevision':this[_0x49bfe0(0x27c)](_0x32692e),'cellRevision':this[_0x49bfe0(0x1b8)](_0x32692e),'viewRevision':this[_0x49bfe0(0x170)](_0x32692e,_0x59d5a4)}),_0x4347c0;}[_0x224170(0x27e)](_0x3ae506){const _0x48e064=_0x224170;this['_tableRevisions']['set'](_0x3ae506,this[_0x48e064(0x27c)](_0x3ae506)+0x1);}[_0x224170(0x27c)](_0x1aa9b1){const _0x289bc8=_0x224170;var _0x105b46;return(_0x105b46=this[_0x289bc8(0x173)][_0x289bc8(0x2e8)](_0x1aa9b1))==null?0x0:_0x105b46;}[_0x224170(0x1b8)](_0x4db91a){const _0x51942a=_0x224170;var _0x3bb391;return(_0x3bb391=this['_cellRevisions'][_0x51942a(0x2e8)](_0x4db91a))==null?0x0:_0x3bb391;}[_0x224170(0x170)](_0x50a0b1,_0x33d2e3){const _0x5de3c6=_0x224170;var _0x5e6800;return(_0x5e6800=this[_0x5de3c6(0x335)]['get'](this[_0x5de3c6(0xd8)](_0x50a0b1,_0x33d2e3)))==null?0x0:_0x5e6800;}[_0x224170(0x2e1)](_0x4cad1e,_0x11c016){return _0x4cad1e+'\x00'+_0x11c016;}[_0x224170(0xff)](_0x3aace0,_0x4635f4){return _0x3aace0+'\x00'+this['_rowTransformCacheSegment'](_0x4635f4);}[_0x224170(0x15a)](_0x22588a,_0x1ff421,_0x128f25){const _0x3de05c=_0x224170;return _0x22588a+'\x00'+this[_0x3de05c(0x115)](_0x1ff421)+'\x00'+this[_0x3de05c(0x29c)](_0x128f25);}[_0x224170(0x115)](_0x45fcb6){const _0x2946a8=_0x224170;return _0x45fcb6?hn({'filter':pn(_0x45fcb6[_0x2946a8(0x2a9)]),'sort':mn(_0x45fcb6[_0x2946a8(0x284)])}):_0x2946a8(0x1b5);}[_0x224170(0x29c)](_0x4d3767){const _0x274017=_0x224170;return hn(_0x4d3767[_0x274017(0x2bf)](_0x19f028=>{const _0x3eae43=_0x274017;var _0x20c47f;return{'fieldId':_0x19f028['fieldId'],'direction':(_0x20c47f=_0x19f028[_0x3eae43(0x123)])==null?null:_0x20c47f};}));}['_viewRevisionKey'](_0x55bb9a,_0x2d6523){return _0x55bb9a+'\x00'+_0x2d6523;}[_0x224170(0x2cb)](_0x815719,_0x581b33){const _0x2fad2b=_0x224170;let _0x1e1ba0=this['_projectRows'](_0x815719,_0x581b33);return{'type':_0x2fad2b(0x1d4),'fields':this[_0x2fad2b(0x1dc)](_0x815719,_0x581b33),'rows':_0x1e1ba0,'groups':this['_projectGroups'](_0x815719,_0x581b33,_0x1e1ba0),'frozenFieldCount':typeof _0x581b33[_0x2fad2b(0x1aa)][_0x2fad2b(0x2d1)]=='number'?_0x581b33['config'][_0x2fad2b(0x2d1)]:0x0};}[_0x224170(0x285)](_0x5a16dc,_0x48deba){const _0x2848ff=_0x224170;var _0x1794d8;let _0x1a915a=this[_0x2848ff(0x140)](_0x5a16dc,_0x48deba),_0x8bce9a=_0x1a915a?_0x5a16dc[_0x2848ff(0x147)][_0x1a915a]:void 0x0;if(!_0x8bce9a||_0x8bce9a[_0x2848ff(0x214)])return{'type':_0x2848ff(0x1c0),'viewType':_0x2848ff(0x1b4),'reason':_0x2848ff(0x34e),'fieldId':_0x48deba['config'][_0x2848ff(0xb8)]};let _0x39d180=this[_0x2848ff(0x2a8)](_0x5a16dc,_0x48deba),_0x513a1e=this[_0x2848ff(0x1dc)](_0x5a16dc,_0x48deba),_0x4ec539=(_0x1794d8=_0x48deba[_0x2848ff(0x1aa)])==null?{}:_0x1794d8,_0x11b162=this['_resolveKanbanCardFieldIds'](_0x5a16dc,_0x48deba,_0x8bce9a['id']),_0x348434=new Map();return this[_0x2848ff(0x162)](_0x8bce9a,_0x4ec539)[_0x2848ff(0x262)](_0x27d505=>_0x348434['set'](_0x27d505['key'],{..._0x27d505,'recordIds':[]})),_0x39d180['forEach'](_0x243d4c=>{const _0x16845d=_0x2848ff;this[_0x16845d(0x159)](_0x8bce9a,_0x243d4c[_0x16845d(0x112)][_0x8bce9a['id']])[_0x16845d(0x262)](_0x58fd2f=>{const _0x420dcc=_0x16845d;let _0x351a4e=_0x348434[_0x420dcc(0x2e8)](_0x58fd2f),_0x2010d8=_0x351a4e==null?{'key':_0x58fd2f,'title':this[_0x420dcc(0x12d)](_0x8bce9a,_0x58fd2f,_0x4ec539),'color':this[_0x420dcc(0x227)](_0x8bce9a,_0x58fd2f,_0x4ec539),'recordIds':[]}:_0x351a4e;_0x2010d8['recordIds'][_0x420dcc(0x14d)](_0x243d4c['recordId']),_0x348434[_0x420dcc(0x32e)](_0x58fd2f,_0x2010d8);});}),{'type':_0x2848ff(0x1b4),'fields':_0x513a1e,'rows':_0x39d180,'groups':this[_0x2848ff(0xce)](_0x5a16dc,_0x48deba,_0x39d180),'groupFieldId':_0x8bce9a['id'],'coverFieldId':this['_resolveKanbanCoverFieldId'](_0x5a16dc,_0x4ec539),'cardLayout':_0x4ec539[_0x2848ff(0x2e3)]===_0x2848ff(0xe5)?_0x2848ff(0xe5):_0x2848ff(0x108),'showFieldNames':_0x4ec539[_0x2848ff(0x2dc)]!==!0x1,'visibleCardFieldIds':_0x11b162,'lanes':Array[_0x2848ff(0x2fa)](_0x348434['values']())};}[_0x224170(0x140)](_0x336b28,_0x408820){const _0x27fc4a=_0x224170;var _0x18b8dd;let _0x15469b=(_0x18b8dd=_0x408820['config'])==null?void 0x0:_0x18b8dd[_0x27fc4a(0xb8)];return _0x15469b&&this[_0x27fc4a(0xf5)](_0x336b28,_0x15469b)?_0x15469b:this[_0x27fc4a(0x311)](_0x336b28,_0x29e371=>this[_0x27fc4a(0x199)](_0x29e371));}[_0x224170(0x311)](_0x246a17,_0x1d414e){const _0x2533ad=_0x224170;for(let _0x5a80be of _0x246a17[_0x2533ad(0x322)]){let _0x3769c2=_0x246a17[_0x2533ad(0x147)][_0x5a80be];if(_0x3769c2&&!_0x3769c2['deleted']&&_0x1d414e(_0x3769c2))return _0x3769c2['id'];}return null;}[_0x224170(0xf5)](_0x123d18,_0x23bb5b){const _0x10620c=_0x224170;let _0x2be97a=_0x123d18[_0x10620c(0x147)][_0x23bb5b];return this[_0x10620c(0x199)](_0x2be97a);}['_isAllowedKanbanGroupField'](_0x2d86d3){const _0x1f2620=_0x224170;return!!_0x2d86d3&&!_0x2d86d3[_0x1f2620(0x214)]&&(_0x2d86d3[_0x1f2620(0x131)]===_0x1f2620(0x33e)||_0x2d86d3[_0x1f2620(0x131)]===_0x1f2620(0x2f8)||_0x2d86d3[_0x1f2620(0x131)]===_0x1f2620(0x10d)||_0x2d86d3[_0x1f2620(0x131)]==='person'||_0x2d86d3[_0x1f2620(0x131)]===_0x1f2620(0x1d6)||_0x2d86d3[_0x1f2620(0x131)]===_0x1f2620(0x34d));}[_0x224170(0x269)](_0x464438){const _0x5d6a70=_0x224170;return _0x464438[_0x5d6a70(0x131)]===_0x5d6a70(0x33e)||_0x464438['type']===_0x5d6a70(0x2f8);}[_0x224170(0x324)](_0x9b4e9f,_0x42cf98){const _0xc1dd4a=_0x224170;var _0x548869,_0x3a2591,_0x60750c;let _0x3ad6b0=(_0x548869=(_0x3a2591=_0x42cf98['coverFieldId'])==null?(_0x60750c=_0x42cf98[_0xc1dd4a(0x185)])==null?void 0x0:_0x60750c[_0xc1dd4a(0x11d)]:_0x3a2591)==null?null:_0x548869;if(!_0x3ad6b0)return null;let _0x585cf4=_0x9b4e9f['fields'][_0x3ad6b0];return _0x585cf4&&!_0x585cf4[_0xc1dd4a(0x214)]&&this['_capabilities'](_0x585cf4)[_0xc1dd4a(0xe9)]?_0x585cf4['id']:null;}[_0x224170(0x31f)](_0x36594e,_0x3903bd,_0x5712c7){const _0x362d0e=_0x224170;var _0x19cf09,_0xc94f31,_0x33eec6;let _0x5839fb=(_0x19cf09=_0x3903bd[_0x362d0e(0x1aa)])==null?{}:_0x19cf09,_0x56cac9=!((_0xc94f31=_0x5839fb[_0x362d0e(0x185)])==null||(_0xc94f31=_0xc94f31[_0x362d0e(0x32b)])==null)&&_0xc94f31['length']?_0x5839fb['card'][_0x362d0e(0x32b)]:en(_0x36594e,[_0x36594e[_0x362d0e(0x22d)],_0x5712c7]),_0x2cdcda=(_0x33eec6=_0x5839fb[_0x362d0e(0x181)])==null?{}:_0x33eec6;return _0x56cac9[_0x362d0e(0x2a9)](_0x2cc481=>{const _0x46a5a4=_0x362d0e;var _0x12c793,_0x2c9d16;let _0xdd5547=_0x36594e[_0x46a5a4(0x147)][_0x2cc481];return!(!_0xdd5547||_0xdd5547['deleted']||_0xdd5547['id']===_0x5712c7||!((_0x12c793=_0x3903bd['fieldSettings'])==null||(_0x12c793=_0x12c793[_0x2cc481])==null)&&_0x12c793[_0x46a5a4(0x247)]||(_0x2c9d16=_0x2cdcda[_0x2cc481])!=null&&_0x2c9d16[_0x46a5a4(0x247)]);})[_0x362d0e(0x284)]((_0x2f3a6c,_0x3d92ad)=>{const _0x5e9c39=_0x362d0e;var _0x38eb1b,_0x10df39,_0x238979,_0x2ec152;return((_0x38eb1b=(_0x10df39=_0x2cdcda[_0x2f3a6c])==null?void 0x0:_0x10df39[_0x5e9c39(0x2c4)])==null?_0x56cac9['indexOf'](_0x2f3a6c):_0x38eb1b)-((_0x238979=(_0x2ec152=_0x2cdcda[_0x3d92ad])==null?void 0x0:_0x2ec152['order'])==null?_0x56cac9[_0x5e9c39(0x2d7)](_0x3d92ad):_0x238979);});}[_0x224170(0x162)](_0x3d6088,_0x13acb1){const _0x4e67dd=_0x224170;var _0x46287d,_0x9780c7;let _0x421475=(Array['isArray']((_0x46287d=_0x3d6088[_0x4e67dd(0x1aa)])==null?void 0x0:_0x46287d[_0x4e67dd(0x236)])?_0x3d6088[_0x4e67dd(0x1aa)]['options']:[])[_0x4e67dd(0xe0)]((_0x5a166b,_0x3ff549)=>{const _0x3d0290=_0x4e67dd;var _0x2f756a,_0x257b7d,_0x568196,_0x40c31d;if(_0x5a166b==null)return[];let _0x8f9169=typeof _0x5a166b==_0x3d0290(0x27d)?{'id':_0x5a166b,'name':_0x5a166b,'color':void 0x0}:_0x5a166b,_0x2aca4e=String((_0x2f756a=(_0x257b7d=_0x8f9169['id'])==null?_0x8f9169['name']:_0x257b7d)==null?_0x3d0290(0x183)+(_0x3ff549+0x1):_0x2f756a);return[{'key':_0x2aca4e,'title':String((_0x568196=(_0x40c31d=_0x8f9169[_0x3d0290(0x15e)])==null?_0x8f9169['id']:_0x40c31d)==null?_0x2aca4e:_0x568196),'color':this['_kanbanLaneColor'](_0x3d6088,_0x2aca4e,_0x13acb1)}];});return Object['entries']((_0x9780c7=_0x13acb1[_0x4e67dd(0x2ff)])==null?{}:_0x9780c7)[_0x4e67dd(0x262)](([_0x429e94,_0x84597f])=>{const _0x5211e4=_0x4e67dd;var _0x1aa1b1;_0x421475[_0x5211e4(0x346)](_0xf6fbbc=>_0xf6fbbc[_0x5211e4(0x1d8)]===_0x429e94)||_0x421475[_0x5211e4(0x14d)]({'key':_0x429e94,'title':this[_0x5211e4(0x269)](_0x3d6088)?(_0x1aa1b1=_0x84597f[_0x5211e4(0x275)])==null?this[_0x5211e4(0x12d)](_0x3d6088,_0x429e94,_0x13acb1):_0x1aa1b1:this[_0x5211e4(0x12d)](_0x3d6088,_0x429e94,_0x13acb1),'color':this[_0x5211e4(0x227)](_0x3d6088,_0x429e94,_0x13acb1)});}),_0x421475;}[_0x224170(0x159)](_0x1b8a67,_0x4621cb){const _0x8675d6=_0x224170;let _0x8e2d0c=_0x5e42c0=>{const _0x3f190b=_0x1410;var _0x224d17,_0x52873;let _0x53dd86=_0x5e42c0==null?'':String(_0x5e42c0);return!_0x53dd86||!this[_0x3f190b(0x269)](_0x1b8a67)||(_0x224d17=(_0x52873=K(_0x1b8a67,_0x53dd86))==null?void 0x0:_0x52873['id'])==null?_0x53dd86:_0x224d17;};if(Array['isArray'](_0x4621cb)){let _0x8ae263=_0x4621cb[_0x8675d6(0x2bf)](_0x8e2d0c)[_0x8675d6(0x2a9)](_0x4a4ec8=>_0x4a4ec8!=='');return _0x8ae263[_0x8675d6(0xe2)]?_0x8ae263:[''];}return[_0x8e2d0c(_0x4621cb)];}[_0x224170(0x12d)](_0x467750,_0x21198a,_0x3cc6f4){const _0x41e874=_0x224170;var _0x2cd6d6;if(!_0x21198a)return _0x41e874(0xdb);let _0x50a76f=K(_0x467750,_0x21198a);return(_0x2cd6d6=_0x50a76f==null?void 0x0:_0x50a76f['name'])==null?_0x21198a:_0x2cd6d6;}[_0x224170(0x227)](_0x9e56c9,_0x340669,_0x48cd25){const _0x196e27=_0x224170;var _0x5a5eb1;if(this[_0x196e27(0x269)](_0x9e56c9))return(_0x5a5eb1=K(_0x9e56c9,_0x340669))==null?void 0x0:_0x5a5eb1[_0x196e27(0x102)];}[_0x224170(0x149)](_0x351e86,_0x269156){const _0x3415ed=_0x224170;var _0x2a8156;let _0x997ec7=this['_normalizeCalendarConfig'](_0x351e86,(_0x2a8156=_0x269156[_0x3415ed(0x1aa)])==null?{}:_0x2a8156),_0x396e63=_0x351e86[_0x3415ed(0x147)][_0x997ec7['startDateFieldId']];if(!_0x396e63||_0x396e63['deleted']||_0x396e63[_0x3415ed(0x131)]!=='date'||_0x396e63[_0x3415ed(0x33f)]===!0x0||_0x396e63[_0x3415ed(0x32a)]===!0x0||!this[_0x3415ed(0x192)](_0x396e63)[_0x3415ed(0x167)])return{'type':_0x3415ed(0x1c0),'viewType':_0x3415ed(0x241),'reason':'invalidDateField','fieldId':_0x997ec7[_0x3415ed(0x1fb)]};let _0x1b1221=_0x997ec7[_0x3415ed(0x25c)]?_0x351e86['fields'][_0x997ec7[_0x3415ed(0x25c)]]:void 0x0,_0x4f89e2=this[_0x3415ed(0x2a8)](_0x351e86,_0x269156);return{'type':_0x3415ed(0x241),'config':_0x997ec7,'fields':this[_0x3415ed(0x1dc)](_0x351e86,_0x269156),'rows':_0x4f89e2,'groups':this[_0x3415ed(0xce)](_0x351e86,_0x269156,_0x4f89e2),'events':_0x4f89e2[_0x3415ed(0xe0)](_0x5c2aa8=>{const _0x3a79d1=_0x3415ed;let _0x16a70c=j(_0x5c2aa8[_0x3a79d1(0x112)][_0x997ec7[_0x3a79d1(0x1fb)]]);if(!Number[_0x3a79d1(0x34b)](_0x16a70c))return[];let _0x3a2856=_0x5c2aa8[_0x3a79d1(0x112)][_0x997ec7['startDateFieldId']],_0x3329d3=_0x997ec7['endDateFieldId']==null?void 0x0:_0x5c2aa8[_0x3a79d1(0x112)][_0x997ec7[_0x3a79d1(0x25c)]],_0x13f790=_0x997ec7[_0x3a79d1(0x25c)]==null?void 0x0:j(_0x3329d3),_0xbc23a6=Number[_0x3a79d1(0x34b)](_0x13f790)?_0x13f790:void 0x0;return[{'recordId':_0x5c2aa8[_0x3a79d1(0x303)],'title':this[_0x3a79d1(0x104)](_0x351e86,_0x5c2aa8,_0x997ec7['titleFieldId']),'start':_0x16a70c,'end':_0xbc23a6,'color':this[_0x3a79d1(0x221)](_0x351e86,_0x5c2aa8,_0x997ec7),'startMs':_0x16a70c,'endMs':_0xbc23a6,'allDay':this['_isAllDayCalendarEvent'](_0x396e63,_0x1b1221,_0x3a2856,_0x3329d3),'fieldValues':_0x5c2aa8['values']}];})};}['_normalizeCalendarConfig'](_0x5f5997,_0x194ab7){const _0x5b1e95=_0x224170;var _0x130440,_0x1f124d;let _0x23c389=this[_0x5b1e95(0x122)](_0x5f5997,_0x194ab7[_0x5b1e95(0x1fb)]),_0x13c7ec=_0x194ab7[_0x5b1e95(0x25c)]&&this['_isCalendarDateField'](_0x5f5997,_0x194ab7[_0x5b1e95(0x25c)])?_0x194ab7['endDateFieldId']:(_0x130440=this[_0x5b1e95(0x26b)](_0x5f5997,_0x23c389))==null?void 0x0:_0x130440,_0x2f1d8f=_0x194ab7[_0x5b1e95(0x25b)]&&_0x5f5997[_0x5b1e95(0x147)][_0x194ab7[_0x5b1e95(0x25b)]]&&!_0x5f5997[_0x5b1e95(0x147)][_0x194ab7[_0x5b1e95(0x25b)]][_0x5b1e95(0x214)]?_0x194ab7[_0x5b1e95(0x25b)]:_0x5f5997[_0x5b1e95(0x22d)],_0x455f8f=_0x194ab7[_0x5b1e95(0x16b)]==='day'||_0x194ab7[_0x5b1e95(0x16b)]===_0x5b1e95(0x339)?_0x194ab7[_0x5b1e95(0x16b)]:_0x5b1e95(0x17a),_0x5ce277=_0x194ab7[_0x5b1e95(0x2aa)]===_0x5b1e95(0x325)||_0x194ab7['timeslotSize']==='long'?_0x194ab7[_0x5b1e95(0x2aa)]:_0x5b1e95(0x22f),_0x488190=typeof _0x194ab7['timeZone']==_0x5b1e95(0x27d)&&_0x194ab7[_0x5b1e95(0xec)][_0x5b1e95(0x332)]()?_0x194ab7[_0x5b1e95(0xec)]:'local',_0x30ab7f=this[_0x5b1e95(0x340)](_0x5f5997,_0x194ab7);return{..._0x194ab7,'startDateFieldId':_0x23c389,'endDateFieldId':_0x13c7ec,'titleFieldId':_0x2f1d8f,'mode':_0x455f8f,'timeslotSize':_0x5ce277,'timeZone':_0x488190,'displayColor':_0x30ab7f,'fieldSettings':Object[_0x5b1e95(0x359)](Object[_0x5b1e95(0x333)]((_0x1f124d=_0x194ab7[_0x5b1e95(0x181)])==null?{}:_0x1f124d)['filter'](([_0x531cf0])=>{const _0x2102f6=_0x5b1e95;let _0x51d1bf=_0x5f5997[_0x2102f6(0x147)][_0x531cf0];return!!_0x51d1bf&&!_0x51d1bf[_0x2102f6(0x214)];}))};}[_0x224170(0x122)](_0x281890,_0x42dea6){const _0x497979=_0x224170;var _0x2cea6d,_0x445e72;return _0x42dea6&&this[_0x497979(0x1ce)](_0x281890,_0x42dea6)?_0x42dea6:(_0x2cea6d=(_0x445e72=this[_0x497979(0x26b)](_0x281890))==null?_0x42dea6:_0x445e72)==null?'':_0x2cea6d;}[_0x224170(0x26b)](_0x128fb0,_0x454ae1){const _0x34ecd6=_0x224170;for(let _0x3ff21d of _0x128fb0[_0x34ecd6(0x322)])if(_0x3ff21d!==_0x454ae1&&this['_isCalendarDateField'](_0x128fb0,_0x3ff21d))return _0x3ff21d;return null;}['_isCalendarDateField'](_0x37617a,_0x57fdd2){const _0xf863de=_0x224170;let _0x43c783=_0x37617a[_0xf863de(0x147)][_0x57fdd2];return!!_0x43c783&&!_0x43c783[_0xf863de(0x214)]&&_0x43c783['type']===_0xf863de(0xca)&&_0x43c783[_0xf863de(0x33f)]!==!0x0&&_0x43c783['system']!==!0x0&&this[_0xf863de(0x192)](_0x43c783)[_0xf863de(0x167)];}[_0x224170(0x340)](_0x8cea7e,_0xcb24e4){const _0x342708=_0x224170;let _0x41fdea=_0xcb24e4[_0x342708(0x24d)];if((_0x41fdea==null?void 0x0:_0x41fdea[_0x342708(0x131)])==='selectField'){let _0xeaee07=_0x8cea7e[_0x342708(0x147)][_0x41fdea[_0x342708(0xd0)]];if(_0xeaee07&&!_0xeaee07[_0x342708(0x214)]&&_0xeaee07[_0x342708(0x131)]===_0x342708(0x33e))return _0x41fdea;}if((_0x41fdea==null?void 0x0:_0x41fdea[_0x342708(0x131)])===_0x342708(0x2b2)&&typeof _0x41fdea[_0x342708(0x102)]==_0x342708(0x27d)&&_0x41fdea['color'][_0x342708(0x332)]())return{'type':_0x342708(0x2b2),'color':_0x41fdea['color']};if(_0xcb24e4[_0x342708(0x2ce)]){let _0x3c9c54=_0x8cea7e[_0x342708(0x147)][_0xcb24e4[_0x342708(0x2ce)]];if(_0x3c9c54&&!_0x3c9c54['deleted']&&_0x3c9c54[_0x342708(0x131)]===_0x342708(0x33e))return{'type':_0x342708(0x1af),'fieldId':_0xcb24e4[_0x342708(0x2ce)]};}return{'type':_0x342708(0x2b2),'color':_0x342708(0x267)};}[_0x224170(0x221)](_0x9f6e10,_0x9dc6a3,_0x4b882d){const _0x10f0f8=_0x224170;let _0x1788a5=_0x4b882d[_0x10f0f8(0x24d)];if((_0x1788a5==null?void 0x0:_0x1788a5[_0x10f0f8(0x131)])===_0x10f0f8(0x1af)){var _0x3eefcc;let _0x5b4ccf=_0x9f6e10[_0x10f0f8(0x147)][_0x1788a5[_0x10f0f8(0xd0)]];if(!_0x5b4ccf||_0x5b4ccf[_0x10f0f8(0x214)])return;let _0x39fd94=_0x9dc6a3['values'][_0x1788a5[_0x10f0f8(0xd0)]],_0x326251=Array[_0x10f0f8(0x278)](_0x39fd94)?_0x39fd94[0x0]:_0x39fd94;return _0x326251==null||(_0x3eefcc=K(_0x5b4ccf,String(_0x326251)))==null?void 0x0:_0x3eefcc[_0x10f0f8(0x102)];}if((_0x1788a5==null?void 0x0:_0x1788a5[_0x10f0f8(0x131)])==='custom')return _0x1788a5[_0x10f0f8(0x102)];}[_0x224170(0xab)](_0x4c3b6d,_0x522084,_0x402367,_0x42e9df){const _0xa49b57=_0x224170;var _0x247d89,_0x41dad9;let _0x3cd146=((_0x247d89=_0x4c3b6d[_0xa49b57(0x1aa)])==null?void 0x0:_0x247d89[_0xa49b57(0x13f)])===!0x0,_0xb0288a=(_0x522084==null||(_0x41dad9=_0x522084[_0xa49b57(0x1aa)])==null?void 0x0:_0x41dad9['includeTime'])===!0x0;return!_0x3cd146&&!_0xb0288a;}[_0x224170(0xde)](_0x442e4f,_0x166f80){const _0x721e31=_0x224170;var _0x529b53,_0x20fbdd;let _0x4a4b19=((_0x529b53=_0x442e4f[_0x721e31(0x1aa)])==null?void 0x0:_0x529b53[_0x721e31(0x13f)])===!0x0,_0x397ebe=((_0x20fbdd=_0x166f80['config'])==null?void 0x0:_0x20fbdd[_0x721e31(0x13f)])===!0x0;return!_0x4a4b19&&!_0x397ebe;}[_0x224170(0x11f)](_0x56c308,_0x4312ae){const _0x2cbe58=_0x224170;let _0x11ad10=this['_normalizeGanttConfig'](_0x56c308,_0x4312ae[_0x2cbe58(0x1aa)]),_0x2b7c38=_0x56c308[_0x2cbe58(0x147)][_0x11ad10[_0x2cbe58(0x1fb)]];if(!_0x2b7c38||_0x2b7c38[_0x2cbe58(0x214)]||_0x2b7c38[_0x2cbe58(0x131)]!==_0x2cbe58(0xca)||_0x2b7c38[_0x2cbe58(0x33f)]===!0x0||_0x2b7c38[_0x2cbe58(0x32a)]===!0x0||!this[_0x2cbe58(0x192)](_0x2b7c38)['usableAsGanttStart'])return{'type':_0x2cbe58(0x1c0),'viewType':_0x2cbe58(0x218),'reason':_0x2cbe58(0x18c),'fieldId':_0x11ad10[_0x2cbe58(0x1fb)]};let _0x44ff54=_0x56c308[_0x2cbe58(0x147)][_0x11ad10[_0x2cbe58(0x25c)]];if(!_0x44ff54||_0x44ff54[_0x2cbe58(0x214)]||_0x44ff54[_0x2cbe58(0x131)]!==_0x2cbe58(0xca)||_0x44ff54[_0x2cbe58(0x33f)]===!0x0||_0x44ff54[_0x2cbe58(0x32a)]===!0x0||!this[_0x2cbe58(0x192)](_0x44ff54)['usableAsGanttEnd'])return{'type':_0x2cbe58(0x1c0),'viewType':_0x2cbe58(0x218),'reason':_0x2cbe58(0x353),'fieldId':_0x11ad10['endDateFieldId']};let _0x261acf=this[_0x2cbe58(0xde)](_0x2b7c38,_0x44ff54),_0x175d21=this[_0x2cbe58(0x2a8)](_0x56c308,_0x4312ae),_0x470098=_0x175d21[_0x2cbe58(0xe0)](_0x502cca=>{const _0x188aa4=_0x2cbe58;var _0x132d52;let _0x512c0e=j(_0x502cca['values'][_0x11ad10[_0x188aa4(0x1fb)]]),_0x4a0362=j(_0x502cca[_0x188aa4(0x112)][_0x11ad10['endDateFieldId']]);if(!Number[_0x188aa4(0x34b)](_0x512c0e)||!Number[_0x188aa4(0x34b)](_0x4a0362))return[];let _0x2104ad=Math['min'](_0x512c0e,_0x4a0362),_0x1d808c=Math[_0x188aa4(0x12b)](_0x512c0e,_0x4a0362),_0x148dfc=_0x11ad10[_0x188aa4(0x2bd)]==null?void 0x0:Number(_0x502cca['values'][_0x11ad10[_0x188aa4(0x2bd)]]);return[{'recordId':_0x502cca[_0x188aa4(0x303)],'title':this[_0x188aa4(0x104)](_0x56c308,_0x502cca,_0x11ad10[_0x188aa4(0x25b)]),'start':_0x2104ad,'end':_0x1d808c,'color':this[_0x188aa4(0x1b9)](_0x56c308,_0x502cca,_0x11ad10),'progress':Number[_0x188aa4(0x34b)](_0x148dfc)?_0x148dfc:void 0x0,'workingDayCount':_0x11ad10[_0x188aa4(0x297)]?Tn(_0x2104ad,_0x1d808c,_0x11ad10[_0x188aa4(0xfb)]):void 0x0,'dependencyRecordIds':this[_0x188aa4(0xbb)](_0x502cca[_0x188aa4(0x112)][(_0x132d52=_0x11ad10[_0x188aa4(0xa7)])==null?'':_0x132d52])}];}),_0x382557=_0x470098['length']?W(Math['min'](..._0x470098[_0x2cbe58(0x2bf)](_0x2e0122=>_0x2e0122[_0x2cbe58(0x18e)]))-0x5a*U):W(Date[_0x2cbe58(0x2c2)]()-0x5a*U),_0x18981b=_0x470098[_0x2cbe58(0xe2)]?W(Math['max'](..._0x470098[_0x2cbe58(0x2bf)](_0x5a9922=>_0x5a9922[_0x2cbe58(0x13b)]))+0x5b*U):W(Date[_0x2cbe58(0x2c2)]()+0x5b*U),_0x14f84a=_n(_0x11ad10['scale'],_0x382557,_0x18981b,_0x11ad10['workingDaysOnly']?_0x11ad10[_0x2cbe58(0xfb)]:void 0x0);return{'type':_0x2cbe58(0x218),'fields':this[_0x2cbe58(0x1dc)](_0x56c308,{..._0x4312ae,'config':_0x11ad10}),'rows':_0x175d21,'groups':this[_0x2cbe58(0xce)](_0x56c308,_0x4312ae,_0x175d21),'config':_0x11ad10,'dateRangeAllDay':_0x261acf,'timeline':{'scale':_0x11ad10['scale'],'start':_0x382557,'end':_0x18981b,'unitWidth':_0x14f84a['unitWidth'],'majorHeaders':_0x14f84a[_0x2cbe58(0x28d)],'columns':_0x14f84a['columns']},'bars':_0x470098};}[_0x224170(0x287)](_0x1c2225,_0x191a46){const _0x54af4a=_0x224170;var _0x4ad111;let _0x2f39f2=this['_resolveGanttDateFieldId'](_0x1c2225,_0x191a46[_0x54af4a(0x1fb)],'start'),_0x591a1d=this['_resolveGanttDateFieldId'](_0x1c2225,_0x191a46[_0x54af4a(0x25c)],_0x54af4a(0x13b))||_0x2f39f2,_0x2d71f3=_0x191a46[_0x54af4a(0x25b)]&&_0x1c2225[_0x54af4a(0x147)][_0x191a46[_0x54af4a(0x25b)]]&&!_0x1c2225[_0x54af4a(0x147)][_0x191a46['titleFieldId']]['deleted']?_0x191a46[_0x54af4a(0x25b)]:_0x1c2225[_0x54af4a(0x22d)],_0x2fc56c=_0x191a46['scale']==='week'||_0x191a46[_0x54af4a(0x133)]===_0x54af4a(0x13c)||_0x191a46[_0x54af4a(0x133)]===_0x54af4a(0xe8)?_0x191a46[_0x54af4a(0x133)]:_0x54af4a(0x17a),_0x5f4072=gn(_0x191a46[_0x54af4a(0xfb)]);return{..._0x191a46,'startDateFieldId':_0x2f39f2,'endDateFieldId':_0x591a1d,'titleFieldId':_0x2d71f3,'scale':_0x2fc56c,'leftPaneWidth':typeof _0x191a46['leftPaneWidth']==_0x54af4a(0x255)?_0x191a46[_0x54af4a(0x277)]:void 0x0,'leftPaneCollapsed':_0x191a46[_0x54af4a(0x2a5)]===!0x0,'showTodayLine':_0x191a46[_0x54af4a(0x34f)]!==!0x1,'displayColor':this[_0x54af4a(0x2ac)](_0x1c2225,_0x191a46),'fieldSettings':Object[_0x54af4a(0x359)](Object[_0x54af4a(0x333)]((_0x4ad111=_0x191a46['fieldSettings'])==null?{}:_0x4ad111)[_0x54af4a(0x2a9)](([_0x235d84])=>{const _0x1d0b7d=_0x54af4a;let _0x2ecc24=_0x1c2225[_0x1d0b7d(0x147)][_0x235d84];return!!_0x2ecc24&&!_0x2ecc24['deleted'];})),'workingDaysOnly':_0x191a46[_0x54af4a(0x297)]===!0x0,'workingDays':_0x5f4072};}['_resolveGanttDateFieldId'](_0x296a9b,_0xcadaf3,_0x4dac7a){const _0x350099=_0x224170;if(_0xcadaf3&&this[_0x350099(0x316)](_0x296a9b,_0xcadaf3,_0x4dac7a)||_0xcadaf3)return _0xcadaf3;for(let _0x103596 of _0x296a9b[_0x350099(0x322)])if(this[_0x350099(0x316)](_0x296a9b,_0x103596,_0x4dac7a))return _0x103596;return _0xcadaf3==null?'':_0xcadaf3;}[_0x224170(0x316)](_0x430f3d,_0x33709e,_0x1da56d){const _0x34fc39=_0x224170;let _0x1e3d4c=_0x430f3d[_0x34fc39(0x147)][_0x33709e];if(!_0x1e3d4c||_0x1e3d4c['deleted']||_0x1e3d4c['type']!==_0x34fc39(0xca)||_0x1e3d4c[_0x34fc39(0x33f)]===!0x0||_0x1e3d4c[_0x34fc39(0x32a)]===!0x0)return!0x1;let _0x5e60e6=this[_0x34fc39(0x192)](_0x1e3d4c);return _0x1da56d===_0x34fc39(0x18e)?_0x5e60e6['usableAsGanttStart']:_0x5e60e6[_0x34fc39(0x24e)];}[_0x224170(0x2ac)](_0x536d6b,_0x34d3c4){const _0x1e6294=_0x224170;let _0x1313e9=_0x34d3c4[_0x1e6294(0x24d)];if((_0x1313e9==null?void 0x0:_0x1313e9[_0x1e6294(0x131)])===_0x1e6294(0x1af)){let _0x458a8f=_0x536d6b[_0x1e6294(0x147)][_0x1313e9[_0x1e6294(0xd0)]];if(_0x458a8f&&!_0x458a8f[_0x1e6294(0x214)]&&_0x458a8f[_0x1e6294(0x131)]===_0x1e6294(0x33e))return _0x1313e9;}return(_0x1313e9==null?void 0x0:_0x1313e9[_0x1e6294(0x131)])===_0x1e6294(0x2d8)&&Array[_0x1e6294(0x278)](_0x1313e9['rules'])?{'type':_0x1e6294(0x2d8),'rules':_0x1313e9[_0x1e6294(0x306)]['filter'](_0x54eca6=>{const _0x4b472e=_0x1e6294;let _0x1f1bb5=_0x536d6b[_0x4b472e(0x147)][_0x54eca6['fieldId']];return!!_0x1f1bb5&&!_0x1f1bb5[_0x4b472e(0x214)];})}:(_0x1313e9==null?void 0x0:_0x1313e9['type'])==='custom'&&typeof _0x1313e9[_0x1e6294(0x102)]==_0x1e6294(0x27d)&&_0x1313e9[_0x1e6294(0x102)][_0x1e6294(0x332)]()?{'type':'custom','color':_0x1313e9[_0x1e6294(0x102)]}:{'type':_0x1e6294(0x2b2),'color':_0x1e6294(0x2f2)};}[_0x224170(0x1b9)](_0x398a91,_0xe718d2,_0x2ffc26){const _0x2dcf6b=_0x224170;let _0x2bb01e=_0x2ffc26[_0x2dcf6b(0x24d)];if((_0x2bb01e==null?void 0x0:_0x2bb01e[_0x2dcf6b(0x131)])==='conditional'){let _0x37c195=_0x2bb01e['rules']['find'](_0x4ff332=>this[_0x2dcf6b(0x232)](_0x398a91,_0xe718d2,_0x4ff332));if(_0x37c195)return _0x37c195[_0x2dcf6b(0x102)];}if((_0x2bb01e==null?void 0x0:_0x2bb01e[_0x2dcf6b(0x131)])===_0x2dcf6b(0x1af)){let _0x3667e4=_0x398a91['fields'][_0x2bb01e['fieldId']];if(_0x3667e4&&!_0x3667e4[_0x2dcf6b(0x214)]){var _0x2b0a3a;let _0x25d8ca=_0xe718d2['values'][_0x2bb01e[_0x2dcf6b(0xd0)]],_0x327ae7=Array[_0x2dcf6b(0x278)](_0x25d8ca)?_0x25d8ca[0x0]:_0x25d8ca,_0x2c6fb3=_0x327ae7==null||(_0x2b0a3a=K(_0x3667e4,String(_0x327ae7)))==null?void 0x0:_0x2b0a3a[_0x2dcf6b(0x102)];if(_0x2c6fb3)return _0x2c6fb3;}}return(_0x2bb01e==null?void 0x0:_0x2bb01e[_0x2dcf6b(0x131)])===_0x2dcf6b(0x2b2)?_0x2bb01e[_0x2dcf6b(0x102)]:_0x2dcf6b(0x2f2);}[_0x224170(0x232)](_0x2d9ed9,_0x53a71a,_0x4ab4d1){const _0x3967dc=_0x224170;let _0x1306e2=_0x2d9ed9['fields'][_0x4ab4d1['fieldId']];return!_0x1306e2||_0x1306e2[_0x3967dc(0x214)]?!0x1:at(_0x53a71a[_0x3967dc(0x112)][_0x1306e2['id']],_0x4ab4d1['operator'],_0x4ab4d1[_0x3967dc(0x137)],_0x1306e2,{'dateMode':_0x4ab4d1['dateMode']});}['_buildGallery'](_0x599d83,_0x35b67e){const _0x2a177b=_0x224170;var _0x6c57a2,_0x3fdc8e,_0x236fd2;let _0x856386=this['_projectRows'](_0x599d83,_0x35b67e),_0x122505=this[_0x2a177b(0x117)](_0x599d83,(_0x6c57a2=_0x35b67e['config'])==null?{}:_0x6c57a2);return{'type':'gallery','fields':this[_0x2a177b(0x1dc)](_0x599d83,_0x35b67e),'rows':_0x856386,'groups':this[_0x2a177b(0xce)](_0x599d83,_0x35b67e,_0x856386),'coverFieldId':_0x122505[_0x2a177b(0x11d)],'cardLayout':(_0x3fdc8e=_0x122505[_0x2a177b(0x2e3)])==null?_0x2a177b(0x108):_0x3fdc8e,'showFieldNames':_0x122505[_0x2a177b(0x2dc)]!==!0x1,'visibleCardFieldIds':this[_0x2a177b(0x105)](_0x599d83,_0x35b67e,_0x122505),'cardSize':(_0x236fd2=_0x122505[_0x2a177b(0x248)])==null?_0x2a177b(0x22f):_0x236fd2,'cards':_0x856386['map'](_0x5c6573=>({'recordId':_0x5c6573[_0x2a177b(0x303)],'title':this[_0x2a177b(0x104)](_0x599d83,_0x5c6573,_0x122505[_0x2a177b(0x185)]['titleFieldId']),'values':_0x5c6573['values']}))};}[_0x224170(0x117)](_0x2bbf84,_0x19b072){const _0x36b802=_0x224170;var _0x3cc8c8,_0xf6f16d;let _0x3b74c9=(_0x3cc8c8=_0x19b072[_0x36b802(0x185)])==null?{'fieldIds':[]}:_0x3cc8c8,_0x356566=_0x3b74c9[_0x36b802(0x25b)]&&_0x2bbf84[_0x36b802(0x147)][_0x3b74c9[_0x36b802(0x25b)]]&&!_0x2bbf84['fields'][_0x3b74c9[_0x36b802(0x25b)]]['deleted']?_0x3b74c9['titleFieldId']:$t(_0x2bbf84),_0x1614c9=this['_resolveGalleryCoverFieldId'](_0x2bbf84,_0x19b072),_0x36270e=_0x19b072[_0x36b802(0x248)]==='small'||_0x19b072[_0x36b802(0x248)]===_0x36b802(0x291)?_0x19b072['cardSize']:_0x36b802(0x22f);return{..._0x19b072,'coverFieldId':_0x1614c9,'cardLayout':_0x19b072[_0x36b802(0x2e3)]===_0x36b802(0xe5)?_0x36b802(0xe5):'normal','showFieldNames':_0x19b072[_0x36b802(0x2dc)]!==!0x1,'fieldSettings':Object[_0x36b802(0x359)](Object['entries']((_0xf6f16d=_0x19b072[_0x36b802(0x181)])==null?{}:_0xf6f16d)[_0x36b802(0x2a9)](([_0x599e6a])=>{const _0x1e5442=_0x36b802;let _0x308302=_0x2bbf84[_0x1e5442(0x147)][_0x599e6a];return!!_0x308302&&!_0x308302[_0x1e5442(0x214)];})),'card':{..._0x3b74c9,'titleFieldId':_0x356566,'coverFieldId':_0x1614c9,'fieldIds':Array['isArray'](_0x3b74c9['fieldIds'])?_0x3b74c9['fieldIds']:[]},'cardSize':_0x36270e};}[_0x224170(0xba)](_0x5294d8,_0x46530b){const _0x506a1f=_0x224170;var _0x310c5e,_0x1589e8,_0x32b8de;let _0x292c13=(_0x310c5e=(_0x1589e8=_0x46530b[_0x506a1f(0x11d)])==null?(_0x32b8de=_0x46530b['card'])==null?void 0x0:_0x32b8de[_0x506a1f(0x11d)]:_0x1589e8)==null?null:_0x310c5e;if(!_0x292c13)return null;let _0x542c2e=_0x5294d8[_0x506a1f(0x147)][_0x292c13];return _0x542c2e&&!_0x542c2e[_0x506a1f(0x214)]&&this[_0x506a1f(0x192)](_0x542c2e)[_0x506a1f(0xe9)]?_0x542c2e['id']:null;}[_0x224170(0x105)](_0x2594da,_0x57fd97,_0x48ab23){const _0x206c54=_0x224170;var _0x2019cf,_0x1ab300,_0x32c48a,_0x247cb1,_0x3dab65,_0x466617,_0x15a908;let _0x3aab34=(_0x2019cf=_0x48ab23[_0x206c54(0x181)])==null?{}:_0x2019cf,_0x117837=(_0x1ab300=(_0x32c48a=_0x48ab23['card'])==null?void 0x0:_0x32c48a['titleFieldId'])==null?$t(_0x2594da):_0x1ab300,_0x4aa223=(_0x247cb1=(_0x3dab65=_0x48ab23[_0x206c54(0x11d)])==null?(_0x466617=_0x48ab23[_0x206c54(0x185)])==null?void 0x0:_0x466617[_0x206c54(0x11d)]:_0x3dab65)==null?null:_0x247cb1,_0x36e1a6=!((_0x15a908=_0x48ab23['card'])==null||(_0x15a908=_0x15a908[_0x206c54(0x32b)])==null)&&_0x15a908[_0x206c54(0xe2)]?_0x48ab23['card'][_0x206c54(0x32b)]:en(_0x2594da,[_0x117837,_0x4aa223,_0x2594da[_0x206c54(0x22d)]]);return _0x36e1a6[_0x206c54(0x2a9)](_0x2fe213=>{const _0x5483c6=_0x206c54;var _0xc128b1,_0x41c139;let _0x4e7b4f=_0x2594da[_0x5483c6(0x147)][_0x2fe213];return!(!_0x4e7b4f||_0x4e7b4f[_0x5483c6(0x214)]||_0x4e7b4f['id']===_0x117837||_0x4e7b4f['id']===_0x4aa223||!((_0xc128b1=_0x57fd97[_0x5483c6(0x181)])==null||(_0xc128b1=_0xc128b1[_0x2fe213])==null)&&_0xc128b1[_0x5483c6(0x247)]||(_0x41c139=_0x3aab34[_0x2fe213])!=null&&_0x41c139[_0x5483c6(0x247)]);})[_0x206c54(0x284)]((_0x2720ba,_0x57f0ef)=>{const _0x4355de=_0x206c54;var _0x4101ae,_0x37147e,_0x16db8d,_0xe06b7c;return((_0x4101ae=(_0x37147e=_0x3aab34[_0x2720ba])==null?void 0x0:_0x37147e[_0x4355de(0x2c4)])==null?_0x36e1a6[_0x4355de(0x2d7)](_0x2720ba):_0x4101ae)-((_0x16db8d=(_0xe06b7c=_0x3aab34[_0x57f0ef])==null?void 0x0:_0xe06b7c[_0x4355de(0x2c4)])==null?_0x36e1a6['indexOf'](_0x57f0ef):_0x16db8d);});}[_0x224170(0x1dc)](_0x1f69ac,_0x45ffd5){const _0x2bb046=_0x224170;var _0xc01ab0;return((_0xc01ab0=_0x45ffd5[_0x2bb046(0x322)])!=null&&_0xc01ab0['length']?_0x45ffd5['fieldOrder']:_0x1f69ac['fieldOrder'])[_0x2bb046(0xe0)](_0x28444b=>{const _0x4d7164=_0x2bb046;var _0x3bd801,_0x59d66a;let _0x87ed5c=_0x1f69ac[_0x4d7164(0x147)][_0x28444b],_0x7fafeb=(_0x3bd801=(_0x59d66a=_0x45ffd5[_0x4d7164(0x181)])==null?void 0x0:_0x59d66a[_0x28444b])==null?{}:_0x3bd801;return!_0x87ed5c||_0x87ed5c[_0x4d7164(0x214)]||_0x7fafeb[_0x4d7164(0x247)]?[]:[{'id':_0x87ed5c['id'],'name':_0x87ed5c[_0x4d7164(0x15e)],'description':_0x87ed5c['description'],'type':_0x87ed5c[_0x4d7164(0x131)],'config':_0x87ed5c[_0x4d7164(0x1aa)],'width':_0x7fafeb[_0x4d7164(0x153)],'setting':_0x7fafeb}];});}[_0x224170(0x2a8)](_0x297f4c,_0x3778d1){const _0x2c7fa2=_0x224170;var _0x214fa7,_0x4eb5a1,_0xbcb423;return S('BaseProjection.projectRows',()=>{const _0x4af86c=_0x1410;var _0x197f4e,_0x27ab09,_0x30fdb8,_0x190e08;let _0x2d35e6=this[_0x4af86c(0x235)](_0x297f4c),_0x11240a=this[_0x4af86c(0xff)](_0x297f4c['id'],_0x3778d1),_0x4aa244=this[_0x4af86c(0x1b8)](_0x297f4c['id']),_0x3c8f63=this[_0x4af86c(0x17f)][_0x4af86c(0x2e8)](_0x11240a);if(_0x3c8f63&&_0x3c8f63[_0x4af86c(0x293)]===this[_0x4af86c(0x314)]&&_0x3c8f63['tableRevision']===this[_0x4af86c(0x27c)](_0x297f4c['id'])){if(_0x3c8f63[_0x4af86c(0x12f)]===_0x4aa244&&_0x3c8f63[_0x4af86c(0x32f)]===_0x2d35e6)return _0x3c8f63[_0x4af86c(0x16e)];if(_0x3c8f63['cellRevision']!==_0x4aa244&&!this['_cellInvalidationsTouchFields'](_0x297f4c['id'],_0x3c8f63[_0x4af86c(0x12f)],_0x4aa244,this[_0x4af86c(0xa4)](_0x3778d1))){let _0x27b9ab=_0x3c8f63['rows']===_0x3c8f63[_0x4af86c(0x32f)]?_0x2d35e6:this[_0x4af86c(0x239)](_0x3c8f63[_0x4af86c(0x16e)],_0x2d35e6);if(_0x27b9ab)return this['_projectedViewRowsCache'][_0x4af86c(0x32e)](_0x11240a,{..._0x3c8f63,'rows':_0x27b9ab,'baseRows':_0x2d35e6,'cellRevision':_0x4aa244}),_0x27b9ab;}}let _0x26cbd4=S('BaseProjection.filterAndSortRows',()=>this[_0x4af86c(0x19a)](_0x297f4c,_0x3778d1,this[_0x4af86c(0x2c5)](_0x297f4c,_0x3778d1,_0x2d35e6)),{'tableId':_0x297f4c['id'],'viewId':_0x3778d1==null?void 0x0:_0x3778d1['id'],'viewType':_0x3778d1==null?void 0x0:_0x3778d1['type'],'rows':_0x2d35e6[_0x4af86c(0xe2)],'filters':(_0x197f4e=_0x3778d1==null||(_0x27ab09=_0x3778d1[_0x4af86c(0x2a9)])==null?void 0x0:_0x27ab09[_0x4af86c(0x317)]['length'])==null?0x0:_0x197f4e,'sorts':(_0x30fdb8=_0x3778d1==null||(_0x190e08=_0x3778d1[_0x4af86c(0x284)])==null?void 0x0:_0x190e08['length'])==null?0x0:_0x30fdb8});return this[_0x4af86c(0x17f)][_0x4af86c(0x32e)](_0x11240a,{'table':_0x297f4c,'rows':_0x26cbd4,'baseRows':_0x2d35e6,'globalRevision':this[_0x4af86c(0x314)],'tableRevision':this[_0x4af86c(0x27c)](_0x297f4c['id']),'cellRevision':_0x4aa244}),_0x26cbd4;},{'tableId':_0x297f4c['id'],'viewId':_0x3778d1==null?void 0x0:_0x3778d1['id'],'viewType':_0x3778d1==null?void 0x0:_0x3778d1['type'],'records':(_0x214fa7=(_0x4eb5a1=_0x297f4c[_0x2c7fa2(0x110)])==null?void 0x0:_0x4eb5a1[_0x2c7fa2(0xe2)])==null?Object[_0x2c7fa2(0x29d)]((_0xbcb423=_0x297f4c[_0x2c7fa2(0x2f7)])==null?{}:_0xbcb423)['length']:_0x214fa7});}['_projectTableRows'](_0x2dab64){const _0x238f3a=_0x224170;var _0x4be505,_0x867fc,_0x3874ce;return S('BaseProjection.projectTableRows',()=>{const _0x5c66ed=_0x1410;var _0xe23cae;let _0x545218=this[_0x5c66ed(0x1b8)](_0x2dab64['id']),_0x4a6f33=this[_0x5c66ed(0x263)][_0x5c66ed(0x2e8)](_0x2dab64['id']);if(_0x4a6f33&&_0x4a6f33['globalRevision']===this['_globalRevision']&&_0x4a6f33[_0x5c66ed(0x13d)]===this['_getTableRevision'](_0x2dab64['id'])){if(_0x4a6f33[_0x5c66ed(0x12f)]===_0x545218&&_0x4a6f33[_0x5c66ed(0x273)]===_0x2dab64)return _0x4a6f33[_0x5c66ed(0x16e)];let _0x5c8c83=this[_0x5c66ed(0x10a)](_0x2dab64,_0x4a6f33,_0x545218);if(_0x5c8c83)return _0x5c8c83;}fn(_0x2dab64)||C(_0x2dab64);let _0x4f1b18=(_0xe23cae=_0x2dab64[_0x5c66ed(0x110)])!=null&&_0xe23cae[_0x5c66ed(0xe2)]?_0x2dab64['recordOrder']:Object['values'](_0x2dab64['records'])[_0x5c66ed(0x284)]((_0x16000b,_0x48ad5a)=>_0x16000b['orderKey']['localeCompare'](_0x48ad5a[_0x5c66ed(0x341)]))[_0x5c66ed(0x2bf)](_0x1b5905=>_0x1b5905['id']),_0x10de99=S(_0x5c66ed(0x1f9),()=>_0x4f1b18[_0x5c66ed(0x2bf)](_0xf59e04=>_0x2dab64[_0x5c66ed(0x2f7)][_0xf59e04])[_0x5c66ed(0x2a9)](_0x3c055b=>!!_0x3c055b)[_0x5c66ed(0x2a9)](_0x31c7d3=>!_0x31c7d3[_0x5c66ed(0x214)])[_0x5c66ed(0x2bf)](_0x2ad421=>{const _0xdc1954=_0x5c66ed;let _0x116035={};for(let _0x3d4caf of _0x2dab64[_0xdc1954(0x322)])_0x116035[_0x3d4caf]=be(_0x2dab64,_0x2ad421['id'],_0x3d4caf);return{'recordId':_0x2ad421['id'],'values':_0x116035};}),{'tableId':_0x2dab64['id'],'records':_0x4f1b18[_0x5c66ed(0xe2)],'fields':_0x2dab64[_0x5c66ed(0x322)][_0x5c66ed(0xe2)]});return this[_0x5c66ed(0x263)][_0x5c66ed(0x32e)](_0x2dab64['id'],{'table':_0x2dab64,'rows':_0x10de99,'rowIndexById':dn(_0x10de99),'globalRevision':this[_0x5c66ed(0x314)],'tableRevision':this['_getTableRevision'](_0x2dab64['id']),'cellRevision':_0x545218}),_0x10de99;},{'tableId':_0x2dab64['id'],'records':(_0x4be505=(_0x867fc=_0x2dab64[_0x238f3a(0x110)])==null?void 0x0:_0x867fc[_0x238f3a(0xe2)])==null?Object[_0x238f3a(0x29d)]((_0x3874ce=_0x2dab64[_0x238f3a(0x2f7)])==null?{}:_0x3874ce)[_0x238f3a(0xe2)]:_0x4be505,'fields':_0x2dab64['fieldOrder'][_0x238f3a(0xe2)]});}[_0x224170(0x10a)](_0x3a7702,_0xc3f9ef,_0x40e49b){const _0x29469e=_0x224170;var _0x407f29,_0x438624;let _0x1aecee=((_0x407f29=this[_0x29469e(0x28e)][_0x29469e(0x2e8)](_0x3a7702['id']))==null?[]:_0x407f29)[_0x29469e(0x2a9)](_0x39669e=>_0x39669e[_0x29469e(0x116)]>_0xc3f9ef[_0x29469e(0x12f)]&&_0x39669e[_0x29469e(0x116)]<=_0x40e49b);if(!_0x1aecee[_0x29469e(0xe2)])return _0xc3f9ef[_0x29469e(0x273)]===_0x3a7702?_0xc3f9ef[_0x29469e(0x16e)]:null;let _0x52a2b0=_0xc3f9ef[_0x29469e(0x16e)],_0x24fded=new Map();for(let _0x5e109f of _0x1aecee){let _0x5574e9=_0x24fded[_0x29469e(0x2e8)](_0x5e109f[_0x29469e(0x303)]);_0x5574e9||(_0x5574e9=new Set(),_0x24fded[_0x29469e(0x32e)](_0x5e109f[_0x29469e(0x303)],_0x5574e9)),_0x5574e9[_0x29469e(0x349)](_0x5e109f[_0x29469e(0xd0)]);}for(let [_0x5b9b33,_0x3f13fa]of _0x24fded){let _0x404ab2=_0x3a7702[_0x29469e(0x2f7)][_0x5b9b33];if(!_0x404ab2||_0x404ab2['deleted'])return null;let _0x849ea6=_0xc3f9ef[_0x29469e(0x242)][_0x29469e(0x2e8)](_0x5b9b33);if(_0x849ea6==null)return null;_0x52a2b0===_0xc3f9ef[_0x29469e(0x16e)]&&(_0x52a2b0=[..._0xc3f9ef['rows']]);let _0x5ee35a=_0x52a2b0[_0x849ea6],_0x132ff5={..._0x5ee35a[_0x29469e(0x112)]};_0x3f13fa[_0x29469e(0x262)](_0x595259=>{_0x132ff5[_0x595259]=be(_0x3a7702,_0x5b9b33,_0x595259);}),_0x52a2b0[_0x849ea6]={..._0x5ee35a,'values':_0x132ff5};}let _0x4403f1={'table':_0x3a7702,'rows':_0x52a2b0,'rowIndexById':_0xc3f9ef[_0x29469e(0x242)],'globalRevision':this[_0x29469e(0x314)],'tableRevision':this[_0x29469e(0x27c)](_0x3a7702['id']),'cellRevision':_0x40e49b};return this[_0x29469e(0x263)][_0x29469e(0x32e)](_0x3a7702['id'],_0x4403f1),this[_0x29469e(0x28e)]['set'](_0x3a7702['id'],((_0x438624=this[_0x29469e(0x28e)]['get'](_0x3a7702['id']))==null?[]:_0x438624)['filter'](_0x54e131=>_0x54e131[_0x29469e(0x116)]>Math['max'](0x0,_0x40e49b-0x100))),_0x52a2b0;}[_0x224170(0x239)](_0xe725fd,_0x3cb5b1){const _0x349a04=_0x224170;let _0xdd86fa=new Map(_0x3cb5b1[_0x349a04(0x2bf)](_0x1d2df0=>[_0x1d2df0[_0x349a04(0x303)],_0x1d2df0])),_0x3ffd2b=!0x1,_0x891e65=_0xe725fd[_0x349a04(0x2bf)](_0x4b9484=>{const _0x38d929=_0x349a04;let _0x294623=_0xdd86fa[_0x38d929(0x2e8)](_0x4b9484[_0x38d929(0x303)]);return _0x294623?_0x294623===_0x4b9484?_0x4b9484:(_0x3ffd2b=!0x0,_0x294623):_0x4b9484;});return _0x3ffd2b?_0x891e65:_0xe725fd;}[_0x224170(0x35b)](_0x867bd0,_0xb614fb,_0x3f7622,_0x562105){const _0x5a43f8=_0x224170;var _0x462eaa;return!_0x562105[_0x5a43f8(0xaa)]||_0xb614fb===_0x3f7622?!0x1:_0x3f7622-_0xb614fb>0x100?!0x0:((_0x462eaa=this[_0x5a43f8(0x28e)][_0x5a43f8(0x2e8)](_0x867bd0))==null?[]:_0x462eaa)[_0x5a43f8(0x346)](_0xf33d9c=>_0xf33d9c[_0x5a43f8(0x116)]>_0xb614fb&&_0xf33d9c['revision']<=_0x3f7622&&_0x562105[_0x5a43f8(0x2d9)](_0xf33d9c[_0x5a43f8(0xd0)]));}[_0x224170(0xa4)](_0x4b37d7){const _0x454619=_0x224170;var _0x382275,_0x3b26d9;let _0x58202d=new Set();return _0x4b37d7==null||(_0x382275=_0x4b37d7[_0x454619(0x2a9)])==null||_0x382275[_0x454619(0x317)][_0x454619(0x262)](_0x3b9510=>_0x58202d['add'](_0x3b9510[_0x454619(0xd0)])),_0x4b37d7==null||(_0x3b26d9=_0x4b37d7[_0x454619(0x284)])==null||_0x3b26d9[_0x454619(0x262)](_0x4fced4=>_0x58202d['add'](_0x4fced4[_0x454619(0xd0)])),_0x58202d;}[_0x224170(0x2de)](_0x20f098){const _0x51386d=_0x224170;var _0x1d5f41;let _0x398d71=this[_0x51386d(0xa4)](_0x20f098);return(_0x1d5f41=_0x20f098[_0x51386d(0x1d6)])==null||_0x1d5f41['forEach'](_0x844d3a=>_0x398d71[_0x51386d(0x349)](_0x844d3a['fieldId'])),_0x398d71;}[_0x224170(0x2c5)](_0x41ff8d,_0x2d40ee,_0x5887d7){const _0x225fd0=_0x224170;let _0x3196c2=_0x2d40ee==null?void 0x0:_0x2d40ee[_0x225fd0(0x2a9)];if(!(_0x3196c2!=null&&_0x3196c2[_0x225fd0(0x317)][_0x225fd0(0xe2)]))return _0x5887d7;let _0x5baef6=_0x3196c2['conditions'][_0x225fd0(0x2a9)](_0x52522f=>!Fn(_0x52522f));return _0x5baef6[_0x225fd0(0xe2)]?_0x5887d7[_0x225fd0(0x2a9)](_0x51f28d=>{const _0x19bbbe=_0x225fd0;if(_0x3196c2[_0x19bbbe(0x23f)]==='or'){for(let _0x342ba8 of _0x5baef6){let _0x2051d4=_0x41ff8d['fields'][_0x342ba8[_0x19bbbe(0xd0)]];if(!_0x2051d4||_0x2051d4[_0x19bbbe(0x214)]||this[_0x19bbbe(0x294)][_0x19bbbe(0x2e8)](_0x2051d4[_0x19bbbe(0x131)])[_0x19bbbe(0x2a9)](_0x51f28d[_0x19bbbe(0x112)][_0x2051d4['id']],_0x342ba8[_0x19bbbe(0x312)],_0x342ba8[_0x19bbbe(0x137)],_0x2051d4))return!0x0;}return!0x1;}for(let _0xb502a5 of _0x5baef6){let _0x554284=_0x41ff8d[_0x19bbbe(0x147)][_0xb502a5[_0x19bbbe(0xd0)]];if(!(!_0x554284||_0x554284[_0x19bbbe(0x214)])&&!this[_0x19bbbe(0x294)][_0x19bbbe(0x2e8)](_0x554284[_0x19bbbe(0x131)])[_0x19bbbe(0x2a9)](_0x51f28d['values'][_0x554284['id']],_0xb502a5[_0x19bbbe(0x312)],_0xb502a5['operand'],_0x554284))return!0x1;}return!0x0;}):_0x5887d7;}[_0x224170(0x19a)](_0x520555,_0x70e110,_0x9a2c90){const _0x4b377f=_0x224170;var _0x2d42cc;let _0x24e911=(_0x2d42cc=_0x70e110==null?void 0x0:_0x70e110['sort'])==null?[]:_0x2d42cc;if(!_0x24e911[_0x4b377f(0xe2)])return _0x9a2c90;let _0x5f0396=_0x24e911['flatMap'](_0x45f324=>{const _0xd5ad69=_0x4b377f;let _0x46ae86=_0x520555['fields'][_0x45f324[_0xd5ad69(0xd0)]];return _0x46ae86&&!_0x46ae86['deleted']?[{..._0x45f324,'field':_0x46ae86}]:[];});return _0x5f0396[_0x4b377f(0xe2)]?this['_canUseFastSort'](_0x5f0396)?this[_0x4b377f(0x209)](_0x5f0396,_0x9a2c90):[..._0x9a2c90][_0x4b377f(0x284)]((_0x119f9a,_0x6f5be)=>{const _0x2ba467=_0x4b377f;for(let _0xa9df20 of _0x5f0396){let _0x1bd55f=_0xa9df20[_0x2ba467(0x1a3)],_0x16e9d4=this['_fieldRegistry'][_0x2ba467(0x2e8)](_0x1bd55f[_0x2ba467(0x131)])['compare'](_0x119f9a[_0x2ba467(0x112)][_0x1bd55f['id']],_0x6f5be['values'][_0x1bd55f['id']],_0x1bd55f);if(_0x16e9d4!==0x0)return _0xa9df20[_0x2ba467(0x123)]===_0x2ba467(0x354)?-_0x16e9d4:_0x16e9d4;}return 0x0;}):_0x9a2c90;}['_canUseFastSort'](_0x37f818){const _0x333c40=_0x224170;return _0x37f818[_0x333c40(0x298)](_0x1d8f60=>cn['has'](_0x1d8f60[_0x333c40(0x1a3)]['type']));}[_0x224170(0x209)](_0x2c7873,_0x2b676c){const _0x1d71a0=_0x224170;return _0x2b676c['map']((_0x54b9be,_0x26f78e)=>({'row':_0x54b9be,'index':_0x26f78e,'keys':_0x2c7873[_0x1d71a0(0x2bf)](_0x219185=>_0x54b9be[_0x1d71a0(0x112)][_0x219185[_0x1d71a0(0xd0)]])}))['sort']((_0x47ce9b,_0x32d192)=>{const _0x578106=_0x1d71a0;for(let _0x365467=0x0;_0x365467<_0x2c7873['length'];_0x365467++){let _0x14e495=Pn(_0x47ce9b[_0x578106(0x29d)][_0x365467],_0x32d192[_0x578106(0x29d)][_0x365467]);if(_0x14e495!==0x0)return _0x2c7873[_0x365467][_0x578106(0x123)]==='desc'?-_0x14e495:_0x14e495;}return _0x47ce9b[_0x578106(0x1a0)]-_0x32d192[_0x578106(0x1a0)];})[_0x1d71a0(0x2bf)](_0x3820d9=>_0x3820d9[_0x1d71a0(0x20f)]);}[_0x224170(0xce)](_0x43c534,_0x4d6188,_0x11d707){const _0x5a7be7=_0x224170;var _0x464c2a,_0x99c985;return S(_0x5a7be7(0x28a),()=>{const _0x58007d=_0x5a7be7;var _0x45972b;if(!((_0x45972b=_0x4d6188['group'])!=null&&_0x45972b[_0x58007d(0xe2)]))return[];let _0x2bf135=_0x4d6188['group']['filter'](_0xab2267=>{const _0x2ade7f=_0x58007d;let _0x5ea0bd=_0x43c534[_0x2ade7f(0x147)][_0xab2267[_0x2ade7f(0xd0)]];return _0x5ea0bd&&!_0x5ea0bd[_0x2ade7f(0x214)];});if(!_0x2bf135[_0x58007d(0xe2)])return[];let _0x20f773=this['_groupsCacheKey'](_0x43c534['id'],_0x4d6188,_0x2bf135),_0x3629b7=this['_getCellRevision'](_0x43c534['id']),_0x4878ec=this['_projectedGroupsCache'][_0x58007d(0x2e8)](_0x20f773);if(_0x4878ec&&_0x4878ec[_0x58007d(0x293)]===this[_0x58007d(0x314)]&&_0x4878ec['tableRevision']===this[_0x58007d(0x27c)](_0x43c534['id'])){if(_0x4878ec[_0x58007d(0x12f)]===_0x3629b7&&_0x4878ec[_0x58007d(0x16e)]===_0x11d707)return _0x4878ec[_0x58007d(0x22b)];if(_0x4878ec[_0x58007d(0x12f)]!==_0x3629b7&&!this[_0x58007d(0x35b)](_0x43c534['id'],_0x4878ec[_0x58007d(0x12f)],_0x3629b7,this[_0x58007d(0x2de)](_0x4d6188)))return this[_0x58007d(0x231)][_0x58007d(0x32e)](_0x20f773,{..._0x4878ec,'rows':_0x11d707,'cellRevision':_0x3629b7}),_0x4878ec[_0x58007d(0x22b)];}let _0x1fe23a=new Map();for(let _0x3e5b82 of _0x11d707){let _0x1fb321=_0x1fe23a,_0xd24554='';for(let _0x1c5b89=0x0;_0x1c5b89<_0x2bf135['length'];_0x1c5b89++){let _0x5730f1=_0x2bf135[_0x1c5b89],_0x257a7d=_0x3e5b82[_0x58007d(0x112)][_0x5730f1[_0x58007d(0xd0)]],_0x292cf2=un(_0x257a7d),_0x38a987=_0x5730f1[_0x58007d(0xd0)]+'\x00'+_0x292cf2,_0xda8bd0=_0xd24554+'/'+_0x5730f1[_0x58007d(0xd0)]+':'+_0x292cf2,_0x5a1f5b=_0x1fb321[_0x58007d(0x2e8)](_0x38a987);_0x5a1f5b||(_0x5a1f5b={'key':_0x292cf2,'value':_0x257a7d,'path':_0xda8bd0,'label':_0x292cf2||_0x58007d(0xdf),'fieldId':_0x5730f1[_0x58007d(0xd0)],'level':_0x1c5b89,'recordIds':[],'children':new Map()},_0x1fb321[_0x58007d(0x32e)](_0x38a987,_0x5a1f5b)),_0x5a1f5b[_0x58007d(0x198)]['push'](_0x3e5b82[_0x58007d(0x303)]),_0x1fb321=_0x5a1f5b[_0x58007d(0x313)],_0xd24554=_0xda8bd0;}}let _0x3b6299=this[_0x58007d(0x261)](_0x2bf135,_0x1fe23a,0x0);return this[_0x58007d(0x231)]['set'](_0x20f773,{'table':_0x43c534,'rows':_0x11d707,'groups':_0x3b6299,'globalRevision':this['_globalRevision'],'tableRevision':this['_getTableRevision'](_0x43c534['id']),'cellRevision':_0x3629b7}),_0x3b6299;},{'tableId':_0x43c534['id'],'viewId':_0x4d6188['id'],'viewType':_0x4d6188['type'],'rows':_0x11d707[_0x5a7be7(0xe2)],'groupFields':(_0x464c2a=(_0x99c985=_0x4d6188[_0x5a7be7(0x1d6)])==null?void 0x0:_0x99c985[_0x5a7be7(0xe2)])==null?0x0:_0x464c2a});}[_0x224170(0x261)](_0x7115d7,_0x49a4fe,_0x5508a1){const _0x54906c=_0x224170;var _0x1a83c0;let _0x28c522=Array[_0x54906c(0x2fa)](_0x49a4fe[_0x54906c(0x112)]()),_0xc273e5=(_0x1a83c0=_0x7115d7[_0x5508a1])==null?void 0x0:_0x1a83c0[_0x54906c(0x123)];return _0xc273e5&&_0x28c522[_0x54906c(0x284)]((_0x24bebc,_0x5b3282)=>{const _0x5bbe2d=_0x54906c;let _0x5a73bb=_0x24bebc[_0x5bbe2d(0x1d8)][_0x5bbe2d(0x202)](_0x5b3282[_0x5bbe2d(0x1d8)]);return _0xc273e5===_0x5bbe2d(0x354)?-_0x5a73bb:_0x5a73bb;}),_0x28c522[_0x54906c(0x2bf)](_0x3366f6=>({'key':_0x3366f6['key'],'value':_0x3366f6[_0x54906c(0x171)],'path':_0x3366f6[_0x54906c(0xd9)],'label':_0x3366f6[_0x54906c(0x283)],'fieldId':_0x3366f6[_0x54906c(0xd0)],'level':_0x3366f6[_0x54906c(0x327)],'recordIds':_0x3366f6[_0x54906c(0x198)],'children':this['_materializeGroups'](_0x7115d7,_0x3366f6[_0x54906c(0x313)],_0x5508a1+0x1)}));}['_title'](_0x2d5595,_0x521003,_0x8b2eab){const _0x30ed0a=_0x224170;let _0x3262aa=_0x8b2eab==null?_0x2d5595[_0x30ed0a(0x22d)]:_0x8b2eab,_0x22146b=_0x521003[_0x30ed0a(0x112)][_0x3262aa];return _0x22146b==null?'':String(_0x22146b);}[_0x224170(0xbb)](_0x481a70){const _0x211d72=_0x224170;if(Array[_0x211d72(0x278)](_0x481a70))return _0x481a70['map'](String);if(typeof _0x481a70==_0x211d72(0x27d)&&_0x481a70)return[_0x481a70];}['_capabilities'](_0x3518dc){const _0x574e42=_0x224170;return this[_0x574e42(0x294)][_0x574e42(0x2e8)](_0x3518dc[_0x574e42(0x131)])[_0x574e42(0x257)](_0x3518dc);}};ln=B([z(0x0,_0x5f4e98(Wt))],ln);function un(_0x43818f){return _0x43818f==null?'':String(_0x43818f);}function dn(_0x26260f){const _0x34e441=_0x224170;return new Map(_0x26260f[_0x34e441(0x2bf)]((_0x542786,_0x490459)=>[_0x542786[_0x34e441(0x303)],_0x490459]));}function fn(_0x596d43){const _0x49cdb5=_0x224170;return!!(Array[_0x49cdb5(0x278)](_0x596d43['recordOrder'])&&_0x596d43['rowIndex']&&_0x596d43['rowId']&&_0x596d43[_0x49cdb5(0x14f)]&&_0x596d43[_0x49cdb5(0xad)]&&_0x596d43['cellData']);}function pn(_0x13183a){const _0x42d947=_0x224170;return _0x13183a!=null&&_0x13183a[_0x42d947(0x317)]['length']?{'conjunction':_0x13183a[_0x42d947(0x23f)],'conditions':_0x13183a['conditions'][_0x42d947(0x2bf)](_0x2a1b19=>({'fieldId':_0x2a1b19[_0x42d947(0xd0)],'operator':_0x2a1b19[_0x42d947(0x312)],'operand':_0x2a1b19['operand']}))}:null;}function mn(_0x592b52){const _0x282630=_0x224170;return _0x592b52!=null&&_0x592b52[_0x282630(0xe2)]?_0x592b52[_0x282630(0x2bf)](_0x3d8df3=>({'fieldId':_0x3d8df3[_0x282630(0xd0)],'direction':_0x3d8df3[_0x282630(0x123)]})):null;}function hn(_0x430e75){const _0x514299=_0x224170;if(typeof _0x430e75!=_0x514299(0x1b2)||!_0x430e75){var _0x18c7e7;return(_0x18c7e7=JSON['stringify'](_0x430e75))==null?_0x514299(0x268):_0x18c7e7;}if(Array['isArray'](_0x430e75))return'['+_0x430e75[_0x514299(0x2bf)](hn)[_0x514299(0x132)](',')+']';let _0x3fb64a=_0x430e75;return'{'+Object[_0x514299(0x29d)](_0x3fb64a)['sort']()[_0x514299(0x2bf)](_0x228da1=>JSON[_0x514299(0x355)](_0x228da1)+':'+hn(_0x3fb64a[_0x228da1]))['join'](',')+'}';}const U=0x5a0*0x3c*0x3e8;function gn(_0x172b48){const _0x377a95=_0x224170;return{'weekdays':Array['isArray'](_0x172b48==null?void 0x0:_0x172b48['weekdays'])&&_0x172b48[_0x377a95(0x129)]['length']?[...new Set(_0x172b48[_0x377a95(0x129)][_0x377a95(0x2a9)](_0x2e0c31=>Number['isInteger'](_0x2e0c31)&&_0x2e0c31>=0x1&&_0x2e0c31<=0x7))]:[0x1,0x2,0x3,0x4,0x5],'exceptions':Array[_0x377a95(0x278)](_0x172b48==null?void 0x0:_0x172b48[_0x377a95(0x24f)])?_0x172b48[_0x377a95(0x24f)][_0x377a95(0xe0)](_0x46087a=>!_0x46087a||!Number[_0x377a95(0x34b)](_0x46087a[_0x377a95(0xca)])?[]:[{'id':String(_0x46087a['id']||'exception-'+_0x46087a[_0x377a95(0xca)]),'date':W(Number(_0x46087a[_0x377a95(0xca)])),'name':String(_0x46087a[_0x377a95(0x15e)]||_0x377a95(0x154)),'type':_0x46087a['type']===_0x377a95(0x1a2)?_0x377a95(0x1a2):'off'}]):[]};}function _n(_0x1f7c7d,_0x222d9d,_0x5f0ef3,_0x287354){let _0x11e6b4=xn(_0x1f7c7d,_0x222d9d),_0x6c317f=Sn(_0x1f7c7d,_0x5f0ef3),_0x36d312=vn(_0x1f7c7d,_0x11e6b4,_0x6c317f,_0x287354);return{'scale':_0x1f7c7d,'start':_0x11e6b4,'end':_0x6c317f,'unitWidth':bn(_0x1f7c7d),'majorHeaders':yn(_0x1f7c7d,_0x11e6b4,_0x6c317f),'columns':_0x36d312};}function vn(_0x5710e2,_0x531e69,_0x358729,_0x425561){const _0x1a6fda=_0x224170;let _0x1c0a1d=[],_0x5b8c1a=_0x531e69;for(;_0x5b8c1a<_0x358729;){let _0x1766d0=_0x5710e2===_0x1a6fda(0x13c)?G(_0x5b8c1a,0x7):_0x5710e2===_0x1a6fda(0xe8)?jn(_0x5b8c1a,0x1):G(_0x5b8c1a,0x1);_0x1c0a1d[_0x1a6fda(0x14d)]({'id':_0x5710e2+'-'+_0x5b8c1a,'label':Cn(_0x5710e2,_0x5b8c1a,_0x1766d0),'majorLabel':wn(_0x5710e2,_0x5b8c1a),'start':_0x5b8c1a,'end':_0x1766d0,'nonWorking':En(_0x5b8c1a,_0x1766d0,_0x425561)}),_0x5b8c1a=_0x1766d0;}return _0x1c0a1d;}function yn(_0x38d226,_0x9b64b3,_0x599a30){const _0x2784ed=_0x224170;let _0x2d9cdc=[],_0x33d8bc=_0x38d226===_0x2784ed(0xe8)?An(_0x9b64b3):kn(_0x9b64b3);for(;_0x33d8bc<_0x599a30;){let _0x1cc8ae=_0x38d226==='year'?Mn(_0x33d8bc,0x1):jn(_0x33d8bc,0x1);_0x2d9cdc[_0x2784ed(0x14d)]({'id':_0x2784ed(0x2fb)+_0x33d8bc,'label':_0x38d226===_0x2784ed(0xe8)?String(new Date(_0x33d8bc)[_0x2784ed(0x2b6)]()):Nn(_0x33d8bc),'start':_0x33d8bc,'end':_0x1cc8ae}),_0x33d8bc=_0x1cc8ae;}return _0x2d9cdc;}function bn(_0x27ba4a){const _0x486fbf=_0x224170;switch(_0x27ba4a){case _0x486fbf(0x339):return 0xac;case _0x486fbf(0x13c):return 0xac;case _0x486fbf(0xe8):return 0x88;default:return 0x56;}}function xn(_0x48c490,_0xb63c3f){const _0x3b4f8f=_0x224170;return _0x48c490===_0x3b4f8f(0xe8)?An(_0xb63c3f):_0x48c490==='quarter'?On(_0xb63c3f):W(_0xb63c3f);}function Sn(_0x16234d,_0x22fe06){const _0xdf1706=_0x224170;return _0x16234d===_0xdf1706(0xe8)?Mn(An(_0x22fe06),0x1):_0x16234d===_0xdf1706(0x13c)?G(On(_0x22fe06),0x7):G(W(_0x22fe06),0x1);}function Cn(_0x4f9b58,_0xb67f98,_0x25769b){const _0x2ca4b4=_0x224170;let _0x11f21a=new Date(_0xb67f98);return _0x4f9b58===_0x2ca4b4(0x13c)?_0x11f21a[_0x2ca4b4(0x31a)]()+'-'+new Date(_0x25769b-U)[_0x2ca4b4(0x31a)]():_0x4f9b58==='year'?_0x11f21a[_0x2ca4b4(0x31c)]('en-US',{'month':_0x2ca4b4(0x325),'timeZone':_0x2ca4b4(0x20e)}):String(_0x11f21a[_0x2ca4b4(0x31a)]());}function wn(_0x4ad75c,_0x1a460f){const _0x2d568a=_0x224170;return _0x4ad75c===_0x2d568a(0xe8)?String(new Date(_0x1a460f)[_0x2d568a(0x2b6)]()):Nn(_0x1a460f);}function Tn(_0x13cbd0,_0x64569f,_0x397dd4){let _0x1bb0fe=gn(_0x397dd4),_0x16070d=0x0;for(let _0x408210=W(_0x13cbd0);_0x408210<=W(_0x64569f);_0x408210=G(_0x408210,0x1))Dn(_0x408210,_0x1bb0fe)||_0x16070d++;return _0x16070d;}function En(_0x104d45,_0x585977,_0x226f79){if(!_0x226f79)return!0x1;let _0x215632=gn(_0x226f79);for(let _0x4b3129=W(_0x104d45);_0x4b3129<_0x585977;_0x4b3129=G(_0x4b3129,0x1))if(!Dn(_0x4b3129,_0x215632))return!0x1;return!0x0;}function Dn(_0x59adb3,_0x496cab){const _0x5a8df4=_0x224170;let _0x3867c3=W(_0x59adb3),_0x126559=_0x496cab[_0x5a8df4(0x24f)]['find'](_0x1c4f45=>W(_0x1c4f45[_0x5a8df4(0xca)])===_0x3867c3);if(_0x126559)return _0x126559[_0x5a8df4(0x131)]===_0x5a8df4(0xfa);let _0x368e2e=new Date(_0x3867c3)[_0x5a8df4(0x26d)](),_0x51908c=_0x368e2e===0x0?0x7:_0x368e2e;return!_0x496cab[_0x5a8df4(0x129)][_0x5a8df4(0x1bc)](_0x51908c);}function W(_0x44bb6e){const _0x4114ab=_0x224170;let _0x560828=new Date(_0x44bb6e);return Date[_0x4114ab(0x20e)](_0x560828[_0x4114ab(0x2b6)](),_0x560828[_0x4114ab(0x215)](),_0x560828[_0x4114ab(0x31a)]());}function On(_0x469c16){let _0x37dddb=W(_0x469c16),_0x441ab1=new Date(_0x37dddb)['getUTCDay']();return G(_0x37dddb,-(_0x441ab1===0x0?0x6:_0x441ab1-0x1));}function kn(_0x3a76fe){const _0x3da7c9=_0x224170;let _0x284aae=new Date(_0x3a76fe);return Date[_0x3da7c9(0x20e)](_0x284aae[_0x3da7c9(0x2b6)](),_0x284aae[_0x3da7c9(0x215)](),0x1);}function An(_0x2db1ad){const _0x49bf6b=_0x224170;let _0x2531c0=new Date(_0x2db1ad);return Date[_0x49bf6b(0x20e)](_0x2531c0[_0x49bf6b(0x2b6)](),0x0,0x1);}function G(_0x3195a9,_0x275944){return _0x3195a9+_0x275944*U;}function jn(_0x2e07ad,_0x3e4141){const _0x52b655=_0x224170;let _0x1eba81=new Date(_0x2e07ad);return Date[_0x52b655(0x20e)](_0x1eba81['getUTCFullYear'](),_0x1eba81[_0x52b655(0x215)]()+_0x3e4141,0x1);}function Mn(_0xb6de5e,_0x47b3d8){const _0x2e921e=_0x224170;let _0x1aeecb=new Date(_0xb6de5e);return Date[_0x2e921e(0x20e)](_0x1aeecb[_0x2e921e(0x2b6)]()+_0x47b3d8,0x0,0x1);}function Nn(_0x547c8e){const _0xa498e8=_0x224170;let _0x32034e=new Date(_0x547c8e);return _0x32034e['toLocaleString'](_0xa498e8(0x111),{'month':_0xa498e8(0x325),'timeZone':_0xa498e8(0x20e)})+'\x20'+_0x32034e[_0xa498e8(0x2b6)]();}function Pn(_0x57ac51,_0x34c458){const _0x3deb0a=_0x224170;if(_0x57ac51==null&&_0x34c458==null)return 0x0;if(_0x57ac51==null)return-0x1;if(_0x34c458==null)return 0x1;if(typeof _0x57ac51==_0x3deb0a(0x1eb)||typeof _0x34c458==_0x3deb0a(0x1eb))return Number(_0x57ac51===!0x0)-Number(_0x34c458===!0x0);let _0x38245e=Number(_0x57ac51),_0x5960f2=Number(_0x34c458),_0x3af520=Number[_0x3deb0a(0x34b)](_0x38245e),_0x400e7b=Number[_0x3deb0a(0x34b)](_0x5960f2);return _0x3af520&&_0x400e7b?_0x38245e-_0x5960f2:_0x3af520?0x1:_0x400e7b?-0x1:String(_0x57ac51)[_0x3deb0a(0x202)](String(_0x34c458));}function Fn(_0x2753a6){const _0x154207=_0x224170;if(_0x2753a6[_0x154207(0x312)]!=='is'&&_0x2753a6[_0x154207(0x312)]!==_0x154207(0x2d2))return!0x1;let _0x42047f=_0x2753a6['operand'];return _0x42047f==null?!0x0:typeof _0x42047f==_0x154207(0x27d)?_0x42047f['trim']()==='':Array['isArray'](_0x42047f)?_0x42047f['length']===0x0:!0x1;}function K(_0x564766,_0xeec092){const _0x4ad41a=_0x224170;var _0x13716f;let _0x1f312d=Array[_0x4ad41a(0x278)]((_0x13716f=_0x564766['config'])==null?void 0x0:_0x13716f[_0x4ad41a(0x236)])?_0x564766[_0x4ad41a(0x1aa)][_0x4ad41a(0x236)]:[];for(let _0x6391bd of _0x1f312d){var _0x472c69,_0x19a7fc,_0x1e6933,_0x44b3d4;if(_0x6391bd==null)continue;if(typeof _0x6391bd=='string'){if(_0x6391bd===_0xeec092)return{'id':_0x6391bd,'name':_0x6391bd};continue;}let _0x44a1a1=_0x6391bd,_0x54259d=String((_0x472c69=(_0x19a7fc=_0x44a1a1['id'])==null?_0x44a1a1[_0x4ad41a(0x15e)]:_0x19a7fc)==null?'':_0x472c69),_0x3eefbb=String((_0x1e6933=(_0x44b3d4=_0x44a1a1['name'])==null?_0x44a1a1['id']:_0x44b3d4)==null?_0x54259d:_0x1e6933);if(_0x54259d===_0xeec092||_0x3eefbb===_0xeec092)return{'id':_0x54259d,'name':_0x3eefbb,'color':_0x44a1a1[_0x4ad41a(0x102)]==null?void 0x0:String(_0x44a1a1['color'])};}return null;}const q={'id':_0x224170(0x206),'type':_0x4a0fe3['MUTATION'],'handler'(_0x3f62b5,_0x4478db){const _0x376bd3=_0x224170;let {unitId:_0x117d26,op:_0x317196}=_0x4478db,_0x4fd549=_0x3f62b5['get'](_0x1f98b4)[_0x376bd3(0x119)](_0x117d26,_0x33e944['UNIVER_BASE']);if(!_0x4fd549)return!0x1;let _0x1f3af4=_0x4fd549[_0x376bd3(0xc5)](),_0x51cc7e=new O(),_0x32263c=_0x51cc7e[_0x376bd3(0x2a2)](_0x317196),_0x558ad6=_0x51cc7e[_0x376bd3(0x2ef)](_0x1f3af4,_0x317196);return _0x4fd549[_0x376bd3(0x16d)](_0x558ad6),In(_0x558ad6,_0x32263c,_0x3f62b5[_0x376bd3(0x2e8)](sn)),!0x0;}};function In(_0x1b56a2,_0xd01a5c,_0x4f1809){const _0x356923=_0x224170;let _0x46fbd4=new Set();for(let _0x349335 of _0xd01a5c){if(_0x349335['reason']!=='cell'){_0x4f1809[_0x356923(0x357)]();return;}let _0x2bafd9=Ln(_0x1b56a2,_0x349335);if(!_0x2bafd9){_0x4f1809[_0x356923(0x357)]();return;}let _0x43b12f=_0x2bafd9[_0x356923(0xe3)]+'\x00'+_0x2bafd9[_0x356923(0x303)]+'\x00'+_0x2bafd9[_0x356923(0xd0)];_0x46fbd4[_0x356923(0x2d9)](_0x43b12f)||(_0x46fbd4[_0x356923(0x349)](_0x43b12f),_0x4f1809[_0x356923(0xa9)](_0x2bafd9[_0x356923(0xe3)],_0x2bafd9[_0x356923(0x303)],_0x2bafd9['fieldId']));}}function Ln(_0x5e304f,_0x537250){const _0x1382bc=_0x224170;var _0x15a76c,_0x4cf8db;if(!_0x537250[_0x1382bc(0xe3)])return null;if(_0x537250[_0x1382bc(0x303)]&&_0x537250[_0x1382bc(0xd0)])return{'tableId':_0x537250[_0x1382bc(0xe3)],'recordId':_0x537250['recordId'],'fieldId':_0x537250[_0x1382bc(0xd0)]};if(_0x537250[_0x1382bc(0x20f)]==null||_0x537250[_0x1382bc(0xc6)]==null)return null;let _0x2092ab=_0x5e304f[_0x1382bc(0x10e)][_0x537250[_0x1382bc(0xe3)]],_0x44f1dd=_0x2092ab==null||(_0x15a76c=_0x2092ab[_0x1382bc(0x124)])==null?void 0x0:_0x15a76c[_0x537250[_0x1382bc(0x20f)]],_0x519130=_0x2092ab==null||(_0x4cf8db=_0x2092ab['colId'])==null?void 0x0:_0x4cf8db[_0x537250[_0x1382bc(0xc6)]];return!_0x44f1dd||!_0x519130?null:{'tableId':_0x537250['tableId'],'recordId':_0x44f1dd,'fieldId':_0x519130};}const Rn={'id':_0x224170(0x24a),'type':_0x4a0fe3['COMMAND'],'handler'(_0x3fb68f,_0x1474c8){const _0x3a3cda=_0x224170;if(!_0x1474c8)return!0x1;let _0x2309c7=_0x3fb68f[_0x3a3cda(0x2e8)](_0x1f98b4),{unitId:_0x46c90c,tableId:_0x48dbdb,records:_0x553aca}=_0x1474c8,_0x29727b=_0x2309c7[_0x3a3cda(0x119)](_0x46c90c,_0x33e944['UNIVER_BASE']);if(!_0x29727b)return!0x1;let _0x5e5f7c=_0x3fb68f[_0x3a3cda(0x2e8)](_0x430051),_0x2f031c=_0x3fb68f['get'](_0x4f4a8c),_0x59a919=_0x3fb68f[_0x3a3cda(0x2e8)](V)['createBatchCreateRecordsOp'](_0x29727b,_0x48dbdb,_0x553aca),_0x36fc4b=new O()[_0x3a3cda(0x142)](_0x29727b[_0x3a3cda(0xc5)](),_0x59a919),_0x41de68={'unitId':_0x46c90c,'op':_0x59a919},_0x46e1b1={'unitId':_0x46c90c,'op':_0x36fc4b};return _0x5e5f7c[_0x3a3cda(0xb6)](q['id'],_0x41de68)?(_0x2309c7[_0x3a3cda(0x176)](_0x46c90c),_0x2f031c[_0x3a3cda(0xf3)]({'unitID':_0x46c90c,'undoMutations':[{'id':q['id'],'params':_0x46e1b1}],'redoMutations':[{'id':q['id'],'params':_0x41de68}]}),!0x0):!0x1;}},zn={'id':_0x224170(0xc8),'type':_0x4a0fe3[_0x224170(0x2b5)],'handler':(_0x1de2b2,_0x52c03d)=>{const _0x24464a=_0x224170;if(!_0x52c03d)return!0x1;let _0x18e77b=_0x1de2b2[_0x24464a(0x2e8)](_0x1f98b4),{unitId:_0x4c93fa,tableId:_0x35147d,recordIds:_0x38ac3b}=_0x52c03d,_0x3dbb0a=_0x18e77b[_0x24464a(0x119)](_0x4c93fa,_0x33e944[_0x24464a(0x12a)]);if(!_0x3dbb0a)return!0x1;let _0x1fb76a=_0x1de2b2[_0x24464a(0x2e8)](_0x430051),_0x50a0ef=_0x1de2b2['get'](_0x4f4a8c),_0x3d940a=_0x3dbb0a[_0x24464a(0xc5)](),_0xe2518e=new I()['deleteRecords'](_0x3d940a,_0x35147d,_0x38ac3b),_0xd99e62=new O()[_0x24464a(0x142)](_0x3d940a,_0xe2518e),_0x51c4d3={'unitId':_0x4c93fa,'op':_0xe2518e},_0x1e18d2={'unitId':_0x4c93fa,'op':_0xd99e62};return _0x1fb76a['syncExecuteCommand'](q['id'],_0x51c4d3)?(_0x18e77b[_0x24464a(0x176)](_0x4c93fa),_0x50a0ef[_0x24464a(0xf3)]({'unitID':_0x4c93fa,'undoMutations':[{'id':q['id'],'params':_0x1e18d2}],'redoMutations':[{'id':q['id'],'params':_0x51c4d3}]}),!0x0):!0x1;}},Bn={'id':_0x224170(0x2fc),'type':_0x4a0fe3['COMMAND'],'handler':(_0x31496d,_0x295b5f)=>{const _0x3f998b=_0x224170;if(!_0x295b5f)return!0x1;let _0x5271b8=_0x31496d[_0x3f998b(0x2e8)](_0x1f98b4),{unitId:_0x509d90,tableId:_0x170982,fieldId:_0x28ca68,input:_0x1e6b2c}=_0x295b5f,_0x7286c4=_0x5271b8[_0x3f998b(0x119)](_0x509d90,_0x33e944[_0x3f998b(0x12a)]);if(!_0x7286c4)return!0x1;let _0x5c8fb6=_0x31496d[_0x3f998b(0x2e8)](_0x430051),_0x352098=_0x31496d[_0x3f998b(0x2e8)](_0x4f4a8c),_0x1954dc=_0x7286c4['getSnapshot'](),_0x2e0988=new I()[_0x3f998b(0xfc)](_0x1954dc,_0x170982,_0x28ca68,_0x1e6b2c),_0x54d7e1=new O()[_0x3f998b(0x142)](_0x1954dc,_0x2e0988),_0x233cfe={'unitId':_0x509d90,'op':_0x2e0988},_0x46cb9f={'unitId':_0x509d90,'op':_0x54d7e1};return _0x5c8fb6['syncExecuteCommand'](q['id'],_0x233cfe)?(_0x5271b8[_0x3f998b(0x176)](_0x509d90),_0x352098[_0x3f998b(0xf3)]({'unitID':_0x509d90,'undoMutations':[{'id':q['id'],'params':_0x46cb9f}],'redoMutations':[{'id':q['id'],'params':_0x233cfe}]}),!0x0):!0x1;}},Vn={'id':'base.command.create-base-field','type':_0x4a0fe3[_0x224170(0x2b5)],'handler'(_0x5c95d1,_0x5cbe04){const _0xd63ebb=_0x224170;if(!_0x5cbe04)return!0x1;let _0x2003b3=_0x5c95d1[_0xd63ebb(0x2e8)](_0x1f98b4),{unitId:_0xbf606c,tableId:_0x415a19,field:_0x9506c6,index:_0xab40a4,viewIndexes:_0x2fe04c}=_0x5cbe04,_0x4b32f8=_0x2003b3[_0xd63ebb(0x119)](_0xbf606c,_0x33e944['UNIVER_BASE']);if(!_0x4b32f8)return!0x1;let _0x453424=_0x5c95d1[_0xd63ebb(0x2e8)](_0x430051),_0x2ef78a=_0x5c95d1[_0xd63ebb(0x2e8)](_0x4f4a8c),_0x212ca1=_0x5c95d1[_0xd63ebb(0x2e8)](V)['createCreateFieldOp'](_0x4b32f8,_0x415a19,_0x9506c6,_0xab40a4,_0x2fe04c),_0x2234d0=new O()[_0xd63ebb(0x142)](_0x4b32f8['getSnapshot'](),_0x212ca1),_0x5313c3={'unitId':_0xbf606c,'op':_0x212ca1},_0x5afe31={'unitId':_0xbf606c,'op':_0x2234d0};return _0x453424[_0xd63ebb(0xb6)](q['id'],_0x5313c3)?(_0x2003b3[_0xd63ebb(0x176)](_0xbf606c),_0x2ef78a[_0xd63ebb(0xf3)]({'unitID':_0xbf606c,'undoMutations':[{'id':q['id'],'params':_0x5afe31}],'redoMutations':[{'id':q['id'],'params':_0x5313c3}]}),!0x0):!0x1;}},Hn={'id':_0x224170(0xb5),'type':_0x4a0fe3[_0x224170(0x2b5)],'handler'(_0x34f76d,_0x1ad6e6){const _0x34ed0f=_0x224170;if(!_0x1ad6e6)return!0x1;let _0x3cfaba=_0x34f76d[_0x34ed0f(0x2e8)](_0x1f98b4),{unitId:_0x2d8190,tableId:_0x66c34a,record:_0x3fa226}=_0x1ad6e6,_0x59fdbf=_0x3cfaba['getUnit'](_0x2d8190,_0x33e944[_0x34ed0f(0x12a)]);if(!_0x59fdbf)return!0x1;let _0x5afd67=_0x34f76d[_0x34ed0f(0x2e8)](_0x430051),_0x55efd7=_0x34f76d[_0x34ed0f(0x2e8)](_0x4f4a8c),_0x10f3fb=_0x34f76d[_0x34ed0f(0x2e8)](V)[_0x34ed0f(0x1c5)](_0x59fdbf,_0x66c34a,_0x3fa226),_0x1055b8=new O()[_0x34ed0f(0x142)](_0x59fdbf[_0x34ed0f(0xc5)](),_0x10f3fb),_0x478c41={'unitId':_0x2d8190,'op':_0x10f3fb},_0x47f90a={'unitId':_0x2d8190,'op':_0x1055b8};return _0x5afd67[_0x34ed0f(0xb6)](q['id'],_0x478c41)?(_0x3cfaba['focusUnit'](_0x2d8190),_0x55efd7['pushUndoRedo']({'unitID':_0x2d8190,'undoMutations':[{'id':q['id'],'params':_0x47f90a}],'redoMutations':[{'id':q['id'],'params':_0x478c41}]}),!0x0):!0x1;}},Un={'id':_0x224170(0x30d),'type':_0x4a0fe3['COMMAND'],'handler':(_0x4c73b3,_0x59ec33)=>{const _0x2ed2d7=_0x224170;if(!_0x59ec33)return!0x1;let _0x3d58f0=_0x4c73b3['get'](_0x1f98b4),{unitId:_0x4a12b0,table:_0x4b4f5a,index:_0x520fcf}=_0x59ec33,_0x1fced2=_0x3d58f0[_0x2ed2d7(0x119)](_0x4a12b0,_0x33e944[_0x2ed2d7(0x12a)]);if(!_0x1fced2)return!0x1;let _0x2a8909=_0x4c73b3[_0x2ed2d7(0x2e8)](_0x430051),_0x3e1e3e=_0x4c73b3[_0x2ed2d7(0x2e8)](_0x4f4a8c),_0x46053e=_0x1fced2[_0x2ed2d7(0xc5)](),_0xd1764a=new I()[_0x2ed2d7(0x151)](_0x46053e,_0x4b4f5a,_0x520fcf),_0x2f168a=new O()[_0x2ed2d7(0x142)](_0x46053e,_0xd1764a),_0x1bbba4={'unitId':_0x4a12b0,'op':_0xd1764a},_0x57db38={'unitId':_0x4a12b0,'op':_0x2f168a};return _0x2a8909[_0x2ed2d7(0xb6)](q['id'],_0x1bbba4)?(_0x3d58f0[_0x2ed2d7(0x176)](_0x4a12b0),_0x3e1e3e['pushUndoRedo']({'unitID':_0x4a12b0,'undoMutations':[{'id':q['id'],'params':_0x57db38}],'redoMutations':[{'id':q['id'],'params':_0x1bbba4}]}),!0x0):!0x1;}};function Wn(_0x5c726c,_0x2170a4,_0x1afc3e=[]){const _0x5dde70=_0x224170;let _0x26c7d9=new Set([...Object['values'](_0x5c726c[_0x5dde70(0x147)])['filter'](_0x2e3d1a=>_0x2e3d1a&&!_0x2e3d1a[_0x5dde70(0x214)])[_0x5dde70(0x2bf)](_0x3c1295=>_0x3c1295[_0x5dde70(0x15e)]),..._0x1afc3e[_0x5dde70(0x2bf)](_0x2fa1df=>_0x2fa1df[_0x5dde70(0x15e)])]);if(!_0x26c7d9['has'](_0x2170a4))return _0x2170a4;let _0x20cc56=0x2;for(;_0x26c7d9[_0x5dde70(0x2d9)](_0x2170a4+'\x20'+_0x20cc56);)_0x20cc56++;return _0x2170a4+'\x20'+_0x20cc56;}function Gn(_0x1684ce,_0x53041f){const _0x3be7d7=_0x224170;if(!_0x1684ce||!_0x53041f[_0x3be7d7(0xe2)])return;let _0x51331b=[..._0x1684ce];return _0x53041f['forEach'](_0xc07df1=>{const _0xb0f8d0=_0x3be7d7;_0x51331b['includes'](_0xc07df1)||_0x51331b[_0xb0f8d0(0x14d)](_0xc07df1);}),_0x51331b;}const Kn={'options':[{'id':_0x224170(0x25e),'name':'Todo','color':'#BFDBFE'},{'id':_0x224170(0x29a),'name':_0x224170(0x189),'color':_0x224170(0x1ec)},{'id':_0x224170(0x157),'name':_0x224170(0x1c4),'color':_0x224170(0x252)}]},qn={'locale':_0x224170(0x111),'pattern':_0x224170(0x179),'includeTime':!0x1,'hourCycle':_0x224170(0x2c0),'defaultMode':_0x224170(0x19e)};function Jn(_0x4d1ae2,_0x171894,_0x5eefb9,_0x1d1541){const _0x22037d=_0x224170;var _0x4cacc9;let _0x1c0fab=new I(),_0x21aae5=_0x4d1ae2[_0x22037d(0x10e)][_0x171894];if(_0x21aae5&&_0x5eefb9[_0x22037d(0x131)]===_0x22037d(0x1b4)){var _0x2f2a45;let _0x686974=Xn(_0x21aae5,_0x5eefb9),_0x578804=_0x686974[_0x22037d(0xc4)]?{..._0x5eefb9,'config':_0x686974['config'],'fieldOrder':(_0x2f2a45=_0x686974[_0x22037d(0x322)])==null?_0x5eefb9[_0x22037d(0x322)]:_0x2f2a45}:_0x5eefb9;return F([..._0x686974[_0x22037d(0x147)][_0x22037d(0x2bf)](_0x5af04b=>_0x1c0fab[_0x22037d(0x118)](_0x4d1ae2,_0x171894,{'field':_0x5af04b})),_0x1c0fab[_0x22037d(0xe1)](_0x4d1ae2,_0x171894,_0x578804,_0x1d1541)]);}if(!_0x21aae5||_0x5eefb9['type']!=='calendar'&&_0x5eefb9[_0x22037d(0x131)]!==_0x22037d(0x218))return _0x1c0fab[_0x22037d(0xe1)](_0x4d1ae2,_0x171894,_0x5eefb9,_0x1d1541);let _0x31c5ff=Yn(_0x21aae5,_0x5eefb9),_0x1b752f=_0x31c5ff[_0x22037d(0xc4)]?{..._0x5eefb9,'config':_0x31c5ff[_0x22037d(0x1aa)],'fieldOrder':(_0x4cacc9=_0x31c5ff[_0x22037d(0x322)])==null?_0x5eefb9['fieldOrder']:_0x4cacc9}:_0x5eefb9;return _0x5eefb9[_0x22037d(0x131)]===_0x22037d(0x218)&&$n(_0x5eefb9)&&(_0x1b752f=er(_0x21aae5,_0x1b752f,_0x31c5ff[_0x22037d(0x147)])),F([..._0x31c5ff[_0x22037d(0x147)][_0x22037d(0x2bf)](_0x2e6e43=>_0x1c0fab['createField'](_0x4d1ae2,_0x171894,{'field':_0x2e6e43})),_0x1c0fab[_0x22037d(0xe1)](_0x4d1ae2,_0x171894,_0x1b752f,_0x1d1541)]);}function Yn(_0x5989ae,_0x39b60b,_0x399e0c=!0x1){const _0x2068e0=_0x224170;var _0x16ec90,_0x4ea641,_0x2ceecc,_0x168f90;let _0x2223dc=_0x5989ae[_0x2068e0(0x322)]['filter'](_0x19ff17=>nr(_0x5989ae,_0x19ff17)),_0x2d7e08=[],_0x4f3aa0={...(_0x16ec90=_0x39b60b['config'])==null?{}:_0x16ec90},_0x14f197=typeof _0x4f3aa0[_0x2068e0(0x1fb)]==_0x2068e0(0x27d)&&nr(_0x5989ae,_0x4f3aa0['startDateFieldId'])?_0x4f3aa0[_0x2068e0(0x1fb)]:_0x2223dc[0x0],_0x3851d9=typeof _0x4f3aa0[_0x2068e0(0x25c)]==_0x2068e0(0x27d)&&nr(_0x5989ae,_0x4f3aa0[_0x2068e0(0x25c)])&&_0x4f3aa0[_0x2068e0(0x25c)]!==_0x14f197?_0x4f3aa0['endDateFieldId']:_0x2223dc[_0x2068e0(0x334)](_0x549924=>_0x549924!==_0x14f197);if(!_0x14f197){let _0x432381=rr(_0x5989ae,_0x2d7e08,_0x39b60b[_0x2068e0(0x131)]===_0x2068e0(0x218)?'Start\x20date':'Date');_0x2d7e08[_0x2068e0(0x14d)](_0x432381),_0x14f197=_0x432381['id'];}if((_0x39b60b[_0x2068e0(0x131)]===_0x2068e0(0x218)||_0x399e0c)&&!_0x3851d9){let _0x129f6b=rr(_0x5989ae,_0x2d7e08,_0x2068e0(0x130));_0x2d7e08[_0x2068e0(0x14d)](_0x129f6b),_0x3851d9=_0x129f6b['id'];}if(_0x39b60b['type']===_0x2068e0(0x241)&&!_0x3851d9&&delete _0x4f3aa0[_0x2068e0(0x25c)],_0x4f3aa0[_0x2068e0(0x1fb)]=_0x14f197,_0x39b60b[_0x2068e0(0x131)]==='calendar'&&_0x3851d9&&(_0x4f3aa0['endDateFieldId']=_0x3851d9),_0x39b60b[_0x2068e0(0x131)]==='gantt'){var _0x57248f;_0x4f3aa0[_0x2068e0(0x25c)]=(_0x57248f=_0x3851d9)==null?_0x14f197:_0x57248f;}let _0x164f65=Gn(_0x39b60b['fieldOrder'],_0x2d7e08[_0x2068e0(0x2bf)](_0x5cec91=>_0x5cec91['id']));return{'changed':_0x2d7e08[_0x2068e0(0xe2)]>0x0||_0x4f3aa0[_0x2068e0(0x1fb)]!==((_0x4ea641=_0x39b60b['config'])==null?void 0x0:_0x4ea641['startDateFieldId'])||_0x4f3aa0['endDateFieldId']!==((_0x2ceecc=_0x39b60b[_0x2068e0(0x1aa)])==null?void 0x0:_0x2ceecc[_0x2068e0(0x25c)])||!!(_0x164f65&&!_0x2beb92[_0x2068e0(0x1f7)](_0x164f65,(_0x168f90=_0x39b60b['fieldOrder'])==null?[]:_0x168f90)),'fields':_0x2d7e08,'config':_0x4f3aa0,'fieldOrder':_0x164f65};}function Xn(_0x3d4469,_0x3e8059){const _0x3f6a7f=_0x224170;var _0x2c1219,_0x32d8ad,_0x1a3959;let _0xb30b48=[],_0x2a6864={...(_0x2c1219=_0x3e8059['config'])==null?{}:_0x2c1219},_0x1f4ae4=typeof _0x2a6864[_0x3f6a7f(0xb8)]==_0x3f6a7f(0x27d)&&Zn(_0x3d4469,_0x2a6864[_0x3f6a7f(0xb8)])?_0x2a6864['groupFieldId']:_0x3d4469[_0x3f6a7f(0x322)][_0x3f6a7f(0x334)](_0x4ee7eb=>Zn(_0x3d4469,_0x4ee7eb));if(!_0x1f4ae4){let _0x2a9469=Qn(_0x3d4469,_0xb30b48);_0xb30b48[_0x3f6a7f(0x14d)](_0x2a9469),_0x1f4ae4=_0x2a9469['id'];}_0x2a6864[_0x3f6a7f(0xb8)]=_0x1f4ae4;let _0x153df1=Gn(_0x3e8059['fieldOrder'],_0xb30b48[_0x3f6a7f(0x2bf)](_0x543f24=>_0x543f24['id']));return{'changed':_0xb30b48[_0x3f6a7f(0xe2)]>0x0||_0x2a6864['groupFieldId']!==((_0x32d8ad=_0x3e8059['config'])==null?void 0x0:_0x32d8ad[_0x3f6a7f(0xb8)])||!!(_0x153df1&&!_0x2beb92[_0x3f6a7f(0x1f7)](_0x153df1,(_0x1a3959=_0x3e8059['fieldOrder'])==null?[]:_0x1a3959)),'fields':_0xb30b48,'config':_0x2a6864,'fieldOrder':_0x153df1};}function Zn(_0x183b61,_0x2d9c27){const _0x3c2dfd=_0x224170;let _0x320f7b=_0x2d9c27?_0x183b61[_0x3c2dfd(0x147)][_0x2d9c27]:null;return!_0x320f7b||_0x320f7b[_0x3c2dfd(0x214)]?!0x1:['singleSelect',_0x3c2dfd(0x2f8),_0x3c2dfd(0x10d),'person','group',_0x3c2dfd(0x34d)][_0x3c2dfd(0x1bc)](_0x320f7b[_0x3c2dfd(0x131)]);}function Qn(_0x38b72a,_0x1cb22d){const _0x4b0de0=_0x224170;return{'id':_0x4b0de0(0x26f)+_0x21cb82(0x8),'name':Wn(_0x38b72a,_0x4b0de0(0x144),_0x1cb22d),'type':_0x4b0de0(0x33e),'config':_0x2beb92[_0x4b0de0(0x246)](Kn)};}function $n(_0x12e907){const _0x304773=_0x224170;var _0x1d227d,_0x115bbe;return Object[_0x304773(0x29d)]((_0x1d227d=_0x12e907[_0x304773(0x1aa)])==null?{}:_0x1d227d)[_0x304773(0xe2)]===0x0&&Object[_0x304773(0x29d)]((_0x115bbe=_0x12e907[_0x304773(0x181)])==null?{}:_0x115bbe)['length']===0x0;}function er(_0x8c7868,_0x5924b2,_0x3f1197){const _0x126319=_0x224170;var _0x4ae405;let _0x55007a={...(_0x4ae405=_0x5924b2[_0x126319(0x1aa)])==null?{}:_0x4ae405},_0x4123e3=_0x3f1197[_0x126319(0x2bf)](_0x422717=>_0x422717['id']),_0x480c83=[..._0x8c7868['fieldOrder'],..._0x4123e3],_0x5e33bd=typeof _0x55007a[_0x126319(0x25b)]=='string'&&tr(_0x8c7868,_0x3f1197,_0x55007a[_0x126319(0x25b)])?_0x55007a[_0x126319(0x25b)]:_0x8c7868['primaryFieldId'],_0x3be617=typeof _0x55007a[_0x126319(0x1fb)]=='string'?_0x55007a[_0x126319(0x1fb)]:'',_0x3b0ac8=typeof _0x55007a[_0x126319(0x25c)]==_0x126319(0x27d)?_0x55007a[_0x126319(0x25c)]:_0x3be617,_0x15d11d=new Set([_0x5e33bd,_0x3be617,_0x3b0ac8]['filter'](_0xc10c8f=>_0xc10c8f&&tr(_0x8c7868,_0x3f1197,_0xc10c8f))),_0x4220d6=Object[_0x126319(0x359)](_0x480c83['flatMap'](_0x5335db=>_0x15d11d[_0x126319(0x2d9)](_0x5335db)||!tr(_0x8c7868,_0x3f1197,_0x5335db)?[]:[[_0x5335db,{'hidden':!0x0}]]));return{..._0x5924b2,'config':{..._0x55007a,'titleFieldId':_0x5e33bd},'fieldSettings':_0x4220d6};}function tr(_0x256f5c,_0xb2a53,_0x273168){const _0x343187=_0x224170;var _0x12629d;let _0x1b59ea=(_0x12629d=_0x256f5c[_0x343187(0x147)][_0x273168])==null?_0xb2a53[_0x343187(0x334)](_0x128adb=>_0x128adb['id']===_0x273168):_0x12629d;return!!_0x1b59ea&&_0x1b59ea[_0x343187(0x214)]!==!0x0;}function nr(_0x1b2815,_0x5e23a6){const _0x24e43e=_0x224170;let _0x485c9d=_0x5e23a6?_0x1b2815[_0x24e43e(0x147)][_0x5e23a6]:null;return!!_0x485c9d&&!_0x485c9d[_0x24e43e(0x214)]&&_0x485c9d[_0x24e43e(0x131)]===_0x24e43e(0xca)&&_0x485c9d[_0x24e43e(0x33f)]!==!0x0&&_0x485c9d[_0x24e43e(0x32a)]!==!0x0;}function rr(_0x5e3560,_0x55c728,_0x9a31b5){const _0x4d32dd=_0x224170;let _0x5cca51=new Set([...Object[_0x4d32dd(0x29d)](_0x5e3560['fields']),..._0x55c728['map'](_0x4cfb53=>_0x4cfb53['id'])]),_0x4f7373='fld-'+_0x21cb82(0x8);for(;_0x5cca51[_0x4d32dd(0x2d9)](_0x4f7373);)_0x4f7373=_0x4d32dd(0x26f)+_0x21cb82(0x8);return{'id':_0x4f7373,'name':Wn(_0x5e3560,_0x9a31b5,_0x55c728),'type':'date','config':{...qn}};}const ir={'id':'base.command.create-base-view','type':_0x4a0fe3['COMMAND'],'handler':(_0x155682,_0x16fc60)=>{const _0x1e6513=_0x224170;if(!_0x16fc60)return!0x1;let _0x209599=_0x155682[_0x1e6513(0x2e8)](_0x1f98b4),{unitId:_0x412c73,tableId:_0x418340,view:_0x3db51d,index:_0x3008e7}=_0x16fc60,_0x38d935=_0x209599[_0x1e6513(0x119)](_0x412c73,_0x33e944[_0x1e6513(0x12a)]);if(!_0x38d935)return!0x1;let _0x3cb85b=_0x155682[_0x1e6513(0x2e8)](_0x430051),_0x123e3e=_0x155682['get'](_0x4f4a8c),_0x400384=_0x38d935[_0x1e6513(0xc5)](),_0xb15034=Jn(_0x400384,_0x418340,_0x3db51d,_0x3008e7),_0x48e14c=new O()[_0x1e6513(0x142)](_0x400384,_0xb15034),_0x241667={'unitId':_0x412c73,'op':_0xb15034},_0x21dbbf={'unitId':_0x412c73,'op':_0x48e14c};return _0x3cb85b[_0x1e6513(0xb6)](q['id'],_0x241667)?(_0x209599['focusUnit'](_0x412c73),_0x123e3e['pushUndoRedo']({'unitID':_0x412c73,'undoMutations':[{'id':q['id'],'params':_0x21dbbf}],'redoMutations':[{'id':q['id'],'params':_0x241667}]}),!0x0):!0x1;}},ar={'id':_0x224170(0x217),'type':_0x4a0fe3['COMMAND'],'handler'(_0x222277,_0x10dcf0){const _0x4f85ce=_0x224170;if(!_0x10dcf0)return!0x1;let _0x18ac1d=_0x222277[_0x4f85ce(0x2e8)](_0x1f98b4),{unitId:_0x464522,tableId:_0x28894f,fieldId:_0x31c2ca}=_0x10dcf0,_0x4b7468=_0x18ac1d[_0x4f85ce(0x119)](_0x464522,_0x33e944[_0x4f85ce(0x12a)]);if(!_0x4b7468)return!0x1;let _0x173522=_0x4b7468[_0x4f85ce(0xc5)](),_0x16b09a=_0x173522['tables'][_0x28894f];if(!_0x16b09a||_0x16b09a['primaryFieldId']===_0x31c2ca)return!0x1;let _0x56ef27=_0x222277[_0x4f85ce(0x2e8)](_0x430051),_0x68cd8b=_0x222277[_0x4f85ce(0x2e8)](_0x4f4a8c),_0x5ecf8d=new I()['deleteField'](_0x173522,_0x28894f,_0x31c2ca),_0x30dca6=new O()['invertOp'](_0x173522,_0x5ecf8d),_0x30b01f={'unitId':_0x464522,'op':_0x5ecf8d},_0x51a74f={'unitId':_0x464522,'op':_0x30dca6};return _0x56ef27['syncExecuteCommand'](q['id'],_0x30b01f)?(_0x18ac1d['focusUnit'](_0x464522),_0x68cd8b[_0x4f85ce(0xf3)]({'unitID':_0x464522,'undoMutations':[{'id':q['id'],'params':_0x51a74f}],'redoMutations':[{'id':q['id'],'params':_0x30b01f}]}),!0x0):!0x1;}},or={'id':_0x224170(0x1d2),'type':_0x4a0fe3['COMMAND'],'handler':(_0x2594d9,_0x36eb0a)=>{const _0x5d01db=_0x224170;if(!_0x36eb0a)return!0x1;let _0x144eb1=_0x2594d9['get'](_0x1f98b4),{unitId:_0x2066fb,tableId:_0xe5ef65,recordId:_0x5da836}=_0x36eb0a,_0x201532=_0x144eb1[_0x5d01db(0x119)](_0x2066fb,_0x33e944[_0x5d01db(0x12a)]);if(!_0x201532)return!0x1;let _0x48b289=_0x2594d9[_0x5d01db(0x2e8)](_0x430051),_0x386ace=_0x2594d9[_0x5d01db(0x2e8)](_0x4f4a8c),_0x54b7da=_0x201532['getSnapshot'](),_0x240aa5=new I()['deleteRecord'](_0x54b7da,_0xe5ef65,_0x5da836),_0x525711=new O()[_0x5d01db(0x142)](_0x54b7da,_0x240aa5),_0x1d93b5={'unitId':_0x2066fb,'op':_0x240aa5},_0xfdce7d={'unitId':_0x2066fb,'op':_0x525711};return _0x48b289[_0x5d01db(0xb6)](q['id'],_0x1d93b5)?(_0x144eb1[_0x5d01db(0x176)](_0x2066fb),_0x386ace['pushUndoRedo']({'unitID':_0x2066fb,'undoMutations':[{'id':q['id'],'params':_0xfdce7d}],'redoMutations':[{'id':q['id'],'params':_0x1d93b5}]}),!0x0):!0x1;}},sr={'id':'base.command.delete-base-table','type':_0x4a0fe3[_0x224170(0x2b5)],'handler':(_0xce575f,_0x13d68e)=>{const _0x348aef=_0x224170;if(!_0x13d68e)return!0x1;let _0x4c6540=_0xce575f['get'](_0x1f98b4),{unitId:_0x16350c,tableId:_0x2c799a}=_0x13d68e,_0x50e06a=_0x4c6540[_0x348aef(0x119)](_0x16350c,_0x33e944[_0x348aef(0x12a)]);if(!_0x50e06a)return!0x1;let _0x137ba9=_0xce575f[_0x348aef(0x2e8)](_0x430051),_0x451de2=_0xce575f[_0x348aef(0x2e8)](_0x4f4a8c),_0x1487e4=_0x50e06a[_0x348aef(0xc5)](),_0x53d20c=new I()[_0x348aef(0x2bc)](_0x1487e4,_0x2c799a),_0x1247d1=new O()[_0x348aef(0x142)](_0x1487e4,_0x53d20c),_0x423777={'unitId':_0x16350c,'op':_0x53d20c},_0xb616f9={'unitId':_0x16350c,'op':_0x1247d1};return _0x137ba9[_0x348aef(0xb6)](q['id'],_0x423777)?(_0x4c6540[_0x348aef(0x176)](_0x16350c),_0x451de2['pushUndoRedo']({'unitID':_0x16350c,'undoMutations':[{'id':q['id'],'params':_0xb616f9}],'redoMutations':[{'id':q['id'],'params':_0x423777}]}),!0x0):!0x1;}},cr={'id':'base.command.delete-base-view','type':_0x4a0fe3['COMMAND'],'handler':(_0x214032,_0x30c0d3)=>{const _0x554e88=_0x224170;if(!_0x30c0d3)return!0x1;let _0x43f827=_0x214032['get'](_0x1f98b4),{unitId:_0x40edaa,tableId:_0x51b27e,viewId:_0x1ce7ec}=_0x30c0d3,_0x31dc77=_0x43f827['getUnit'](_0x40edaa,_0x33e944[_0x554e88(0x12a)]);if(!_0x31dc77)return!0x1;let _0x32aeae=_0x214032['get'](_0x430051),_0x2b3fbe=_0x214032[_0x554e88(0x2e8)](_0x4f4a8c),_0x5466fa=_0x31dc77['getSnapshot'](),_0x400d3e=new I()[_0x554e88(0x1ac)](_0x5466fa,_0x51b27e,_0x1ce7ec),_0x44520d=new O()[_0x554e88(0x142)](_0x5466fa,_0x400d3e),_0x4c8705={'unitId':_0x40edaa,'op':_0x400d3e},_0x354057={'unitId':_0x40edaa,'op':_0x44520d};return _0x32aeae[_0x554e88(0xb6)](q['id'],_0x4c8705)?(_0x43f827[_0x554e88(0x176)](_0x40edaa),_0x2b3fbe[_0x554e88(0xf3)]({'unitID':_0x40edaa,'undoMutations':[{'id':q['id'],'params':_0x354057}],'redoMutations':[{'id':q['id'],'params':_0x4c8705}]}),!0x0):!0x1;}},lr={'id':_0x224170(0x1a6),'type':_0x4a0fe3[_0x224170(0x2b5)],'handler':(_0x5b374f,_0x51ad8d)=>{const _0x19a9b9=_0x224170;if(!_0x51ad8d)return!0x1;let _0x2d3cf0=_0x5b374f['get'](_0x1f98b4),{unitId:_0xdc0b81,tableId:_0x9af53b,sourceFieldId:_0x314883,field:_0x5104b0,index:_0x5b4df8,viewIndexes:_0xad1e31}=_0x51ad8d,_0x8c4dd7=_0x2d3cf0[_0x19a9b9(0x119)](_0xdc0b81,_0x33e944[_0x19a9b9(0x12a)]);if(!_0x8c4dd7)return!0x1;let _0x3cd446=_0x5b374f[_0x19a9b9(0x2e8)](_0x430051),_0x3500bc=_0x5b374f[_0x19a9b9(0x2e8)](_0x4f4a8c),_0x53c298=_0x8c4dd7[_0x19a9b9(0xc5)](),_0x23fc4c=new I()[_0x19a9b9(0x18d)](_0x53c298,_0x9af53b,_0x314883,{'field':_0x5104b0,'index':_0x5b4df8,'viewIndexes':_0xad1e31}),_0x934a1a=new O()[_0x19a9b9(0x142)](_0x53c298,_0x23fc4c),_0x4c5b4c={'unitId':_0xdc0b81,'op':_0x23fc4c},_0x2113f4={'unitId':_0xdc0b81,'op':_0x934a1a};return _0x3cd446[_0x19a9b9(0xb6)](q['id'],_0x4c5b4c)?(_0x2d3cf0[_0x19a9b9(0x176)](_0xdc0b81),_0x3500bc[_0x19a9b9(0xf3)]({'unitID':_0xdc0b81,'undoMutations':[{'id':q['id'],'params':_0x2113f4}],'redoMutations':[{'id':q['id'],'params':_0x4c5b4c}]}),!0x0):!0x1;}},ur={'id':_0x224170(0x25d),'type':_0x4a0fe3[_0x224170(0x2b5)],'handler':(_0x3f22d9,_0x3f4b7e)=>{const _0x166bf0=_0x224170;if(!_0x3f4b7e)return!0x1;let _0x1a93ca=_0x3f22d9[_0x166bf0(0x2e8)](_0x1f98b4),{unitId:_0xecd86,tableId:_0x3f727a,sourceRecordId:_0xe113cd,record:_0x4b73c3}=_0x3f4b7e,_0x2cb668=_0x1a93ca['getUnit'](_0xecd86,_0x33e944['UNIVER_BASE']);if(!_0x2cb668)return!0x1;let _0x4668d9=_0x3f22d9[_0x166bf0(0x2e8)](_0x430051),_0x1d8b55=_0x3f22d9[_0x166bf0(0x2e8)](_0x4f4a8c),_0x7b6037=_0x2cb668['getSnapshot'](),_0x59cbe9=new I()[_0x166bf0(0x10c)](_0x7b6037,_0x3f727a,_0xe113cd,_0x4b73c3),_0x24364f=new O()['invertOp'](_0x7b6037,_0x59cbe9),_0x15b51c={'unitId':_0xecd86,'op':_0x59cbe9},_0x2c3d2f={'unitId':_0xecd86,'op':_0x24364f};return _0x4668d9[_0x166bf0(0xb6)](q['id'],_0x15b51c)?(_0x1a93ca['focusUnit'](_0xecd86),_0x1d8b55[_0x166bf0(0xf3)]({'unitID':_0xecd86,'undoMutations':[{'id':q['id'],'params':_0x2c3d2f}],'redoMutations':[{'id':q['id'],'params':_0x15b51c}]}),!0x0):!0x1;}},dr={'id':_0x224170(0x21a),'type':_0x4a0fe3[_0x224170(0x2b5)],'handler'(_0x8c8d6,_0x55e066){const _0x1207df=_0x224170;if(!_0x55e066)return!0x1;let _0x5030e7=_0x8c8d6[_0x1207df(0x2e8)](_0x1f98b4),{unitId:_0x184800,tableId:_0x4766de,viewId:_0x43c3e9,ensureEndDateField:_0x5050d4}=_0x55e066,_0x300e86=_0x5030e7[_0x1207df(0x119)](_0x184800,_0x33e944['UNIVER_BASE']);if(!_0x300e86)return!0x1;let _0x384122=_0x300e86[_0x1207df(0xc5)](),_0x175444=_0x384122[_0x1207df(0x10e)][_0x4766de],_0x5108d3=_0x175444==null?void 0x0:_0x175444[_0x1207df(0x1a1)][_0x43c3e9];if(!_0x175444||!_0x5108d3||_0x5108d3[_0x1207df(0x214)]||_0x5108d3[_0x1207df(0x131)]!==_0x1207df(0x241)&&_0x5108d3[_0x1207df(0x131)]!==_0x1207df(0x218))return!0x1;let _0x42e485=Yn(_0x175444,_0x5108d3,_0x5050d4===!0x0);if(!_0x42e485[_0x1207df(0xc4)])return!0x1;let _0x1d255e=_0x8c8d6[_0x1207df(0x2e8)](_0x430051),_0x55d655=_0x8c8d6['get'](_0x4f4a8c),_0x550cc9=new I(),_0xcb5fdb=[..._0x42e485[_0x1207df(0x147)][_0x1207df(0x2bf)](_0x111d2f=>_0x550cc9['createField'](_0x384122,_0x55e066[_0x1207df(0xe3)],{'field':_0x111d2f})),fr([...pr(_0x55e066['tableId'],_0x55e066[_0x1207df(0x253)]),'config'],_0x5108d3['config'],_0x42e485['config'])];_0x42e485[_0x1207df(0x322)]&&_0xcb5fdb['push'](fr([...pr(_0x55e066[_0x1207df(0xe3)],_0x55e066[_0x1207df(0x253)]),_0x1207df(0x322)],_0x5108d3[_0x1207df(0x322)],_0x42e485[_0x1207df(0x322)]));let _0x51f07a=F(_0xcb5fdb),_0x4f284b=new O()[_0x1207df(0x142)](_0x384122,_0x51f07a),_0xc7c687={'unitId':_0x184800,'op':_0x51f07a},_0x26d702={'unitId':_0x184800,'op':_0x4f284b};return _0x1d255e[_0x1207df(0xb6)](q['id'],_0xc7c687)?(_0x5030e7['focusUnit'](_0x184800),_0x55d655['pushUndoRedo']({'unitID':_0x184800,'undoMutations':[{'id':q['id'],'params':_0x26d702}],'redoMutations':[{'id':q['id'],'params':_0xc7c687}]}),!0x0):!0x1;}};function fr(_0x56a59e,_0x176de1,_0x54551e){const _0x302668=_0x224170;return _0x176de1===void 0x0?_0x43f9ba[_0x302668(0x2d4)](_0x56a59e,_0x54551e):_0x43f9ba[_0x302668(0x2a7)](_0x56a59e,_0x176de1,_0x54551e);}function pr(_0x26da7d,_0xa05781){const _0x2b2295=_0x224170;return[_0x2b2295(0x10e),_0x26da7d,_0x2b2295(0x1a1),_0xa05781];}const mr={'id':'base.command.move-base-field','type':_0x4a0fe3[_0x224170(0x2b5)],'handler':(_0x508ce5,_0x1156e8)=>{const _0x4d72f6=_0x224170;if(!_0x1156e8)return!0x1;let _0x1754b4=_0x508ce5[_0x4d72f6(0x2e8)](_0x1f98b4),{unitId:_0x164bb8,tableId:_0x155c72,fieldId:_0x1e9519,target:_0x26fd59}=_0x1156e8,_0x1db595=_0x1754b4[_0x4d72f6(0x119)](_0x164bb8,_0x33e944[_0x4d72f6(0x12a)]);if(!_0x1db595)return!0x1;let _0x1499bd=_0x508ce5[_0x4d72f6(0x2e8)](_0x430051),_0x2104ea=_0x508ce5[_0x4d72f6(0x2e8)](_0x4f4a8c),_0x44e33f=_0x1db595[_0x4d72f6(0xc5)](),_0x28ad8e=new I()[_0x4d72f6(0xbf)](_0x44e33f,_0x155c72,_0x1e9519,_0x26fd59),_0x2e46ce=new O()['invertOp'](_0x44e33f,_0x28ad8e),_0x549f3c={'unitId':_0x164bb8,'op':_0x28ad8e},_0x5a4b2b={'unitId':_0x164bb8,'op':_0x2e46ce};return _0x1499bd['syncExecuteCommand'](q['id'],_0x549f3c)?(_0x1754b4[_0x4d72f6(0x176)](_0x164bb8),_0x2104ea[_0x4d72f6(0xf3)]({'unitID':_0x164bb8,'undoMutations':[{'id':q['id'],'params':_0x5a4b2b}],'redoMutations':[{'id':q['id'],'params':_0x549f3c}]}),!0x0):!0x1;}},hr={'id':_0x224170(0x139),'type':_0x4a0fe3[_0x224170(0x2b5)],'handler':(_0x3af0cf,_0x15c11b)=>{const _0x2322ff=_0x224170;if(!_0x15c11b)return!0x1;let _0x1e6fe9=_0x3af0cf['get'](_0x1f98b4),{unitId:_0x3ff5a9,tableId:_0x50168e,viewId:_0x19a43e,target:_0x58698d}=_0x15c11b,_0x3105bb=_0x1e6fe9[_0x2322ff(0x119)](_0x3ff5a9,_0x33e944[_0x2322ff(0x12a)]);if(!_0x3105bb)return!0x1;let _0x412a6a=_0x3af0cf[_0x2322ff(0x2e8)](_0x430051),_0x3e5a81=_0x3af0cf[_0x2322ff(0x2e8)](_0x4f4a8c),_0x2df3e6=_0x3105bb[_0x2322ff(0xc5)](),_0x38ceb0=new I()[_0x2322ff(0x348)](_0x2df3e6,_0x50168e,_0x19a43e,_0x58698d),_0x5de090=new O()[_0x2322ff(0x142)](_0x2df3e6,_0x38ceb0),_0xd4ade9={'unitId':_0x3ff5a9,'op':_0x38ceb0},_0x5d86a6={'unitId':_0x3ff5a9,'op':_0x5de090};return _0x412a6a[_0x2322ff(0xb6)](q['id'],_0xd4ade9)?(_0x1e6fe9[_0x2322ff(0x176)](_0x3ff5a9),_0x3e5a81[_0x2322ff(0xf3)]({'unitID':_0x3ff5a9,'undoMutations':[{'id':q['id'],'params':_0x5d86a6}],'redoMutations':[{'id':q['id'],'params':_0xd4ade9}]}),!0x0):!0x1;}},gr={'id':_0x224170(0x191),'type':_0x4a0fe3[_0x224170(0x2b5)],'handler':(_0x16a60b,_0x1d9006)=>{const _0x51968d=_0x224170;if(!_0x1d9006)return!0x1;let _0x448e0f=_0x16a60b[_0x51968d(0x2e8)](_0x1f98b4),{unitId:_0x94f552,tableId:_0x52c166,name:_0xc8ddc4}=_0x1d9006,_0x5ede33=_0x448e0f[_0x51968d(0x119)](_0x94f552,_0x33e944[_0x51968d(0x12a)]);if(!_0x5ede33)return!0x1;let _0x1ff48d=_0x16a60b[_0x51968d(0x2e8)](_0x430051),_0x50f092=_0x16a60b[_0x51968d(0x2e8)](_0x4f4a8c),_0x3f7446=_0x5ede33[_0x51968d(0xc5)](),_0x1e5885=new I()[_0x51968d(0x145)](_0x3f7446,_0x52c166,_0xc8ddc4),_0x15d875=new O()[_0x51968d(0x142)](_0x3f7446,_0x1e5885),_0x26c14b={'unitId':_0x94f552,'op':_0x1e5885},_0x1614cc={'unitId':_0x94f552,'op':_0x15d875};return _0x1ff48d[_0x51968d(0xb6)](q['id'],_0x26c14b)?(_0x448e0f[_0x51968d(0x176)](_0x94f552),_0x50f092[_0x51968d(0xf3)]({'unitID':_0x94f552,'undoMutations':[{'id':q['id'],'params':_0x1614cc}],'redoMutations':[{'id':q['id'],'params':_0x26c14b}]}),!0x0):!0x1;}},_r={'id':_0x224170(0x258),'type':_0x4a0fe3['COMMAND'],'handler':(_0x4b42da,_0x16b26a)=>{const _0x7dc261=_0x224170;if(!_0x16b26a)return!0x1;let _0x222066=_0x4b42da['get'](_0x1f98b4),{unitId:_0x2448cd,tableId:_0x1dfb8f,viewId:_0x2171a0,name:_0x215b6d}=_0x16b26a,_0x5b4b8b=_0x222066['getUnit'](_0x2448cd,_0x33e944['UNIVER_BASE']);if(!_0x5b4b8b)return!0x1;let _0x3e44b9=_0x4b42da[_0x7dc261(0x2e8)](_0x430051),_0x2f7759=_0x4b42da[_0x7dc261(0x2e8)](_0x4f4a8c),_0x151b09=_0x5b4b8b[_0x7dc261(0xc5)](),_0x3a00e8=new I()[_0x7dc261(0xa3)](_0x151b09,_0x1dfb8f,_0x2171a0,_0x215b6d),_0x3d76cc=new O()[_0x7dc261(0x142)](_0x151b09,_0x3a00e8),_0x5394cc={'unitId':_0x2448cd,'op':_0x3a00e8},_0x5ec8c0={'unitId':_0x2448cd,'op':_0x3d76cc};return _0x3e44b9[_0x7dc261(0xb6)](q['id'],_0x5394cc)?(_0x222066['focusUnit'](_0x2448cd),_0x2f7759['pushUndoRedo']({'unitID':_0x2448cd,'undoMutations':[{'id':q['id'],'params':_0x5ec8c0}],'redoMutations':[{'id':q['id'],'params':_0x5394cc}]}),!0x0):!0x1;}},vr={'id':_0x224170(0xf8),'type':_0x4a0fe3[_0x224170(0x2b5)],'handler':(_0x5992c9,_0xa4c393)=>{const _0x11b0db=_0x224170;if(!_0xa4c393)return!0x1;let _0xca16fa=_0x5992c9[_0x11b0db(0x2e8)](_0x1f98b4),{unitId:_0x481811,tableId:_0x2eeea,viewId:_0x42a921,fieldId:_0x2d05d2}=_0xa4c393,_0x2da6fb=_0xca16fa[_0x11b0db(0x119)](_0x481811,_0x33e944[_0x11b0db(0x12a)]);if(!_0x2da6fb)return!0x1;let _0x1ca16e=_0x5992c9['get'](_0x430051),_0x19e0a1=_0x5992c9[_0x11b0db(0x2e8)](_0x4f4a8c),_0x1abb64=_0x2da6fb[_0x11b0db(0xc5)](),_0x3bfc82=new I()['updateViewConfig'](_0x1abb64,_0x2eeea,_0x42a921,{'groupFieldId':_0x2d05d2}),_0x427729=new O()[_0x11b0db(0x142)](_0x1abb64,_0x3bfc82),_0x22f889={'unitId':_0x481811,'op':_0x3bfc82},_0x5ec90b={'unitId':_0x481811,'op':_0x427729};return _0x1ca16e[_0x11b0db(0xb6)](q['id'],_0x22f889)?(_0xca16fa[_0x11b0db(0x176)](_0x481811),_0x19e0a1['pushUndoRedo']({'unitID':_0x481811,'undoMutations':[{'id':q['id'],'params':_0x5ec90b}],'redoMutations':[{'id':q['id'],'params':_0x22f889}]}),!0x0):!0x1;}},yr={'id':_0x224170(0x114),'type':_0x4a0fe3[_0x224170(0x2b5)],'handler'(_0x600611,_0x31e67c){const _0x24b811=_0x224170;if(!_0x31e67c)return!0x1;let _0x3a3f62=_0x600611['get'](_0x1f98b4),{unitId:_0x498ecc,tableId:_0x2ed717,patches:_0x240f00}=_0x31e67c,_0x59a264=_0x3a3f62[_0x24b811(0x119)](_0x498ecc,_0x33e944[_0x24b811(0x12a)]);if(!_0x59a264)return!0x1;let _0x3ec9e3=_0x600611[_0x24b811(0x2e8)](_0x430051),_0x3a0f8f=_0x600611[_0x24b811(0x2e8)](_0x4f4a8c),_0x260d58=_0x59a264[_0x24b811(0xc5)](),_0x3d4389=C(_0x260d58[_0x24b811(0x10e)][_0x2ed717]),_0x3ee680=_0x240f00[_0x24b811(0xe0)](_0x2bbe90=>{const _0x554f94=_0x24b811;var _0x381475,_0x2e1fea;if(_0x554f94(0x20f)in _0x2bbe90)return[_0x2bbe90];let _0x36441d=(_0x381475=_0x3d4389[_0x554f94(0x1db)])==null?void 0x0:_0x381475[_0x2bbe90[_0x554f94(0x303)]],_0x5842c6=(_0x2e1fea=_0x3d4389['colIndex'])==null?void 0x0:_0x2e1fea[_0x2bbe90[_0x554f94(0xd0)]];return _0x36441d==null||_0x5842c6==null?[]:[{'row':_0x36441d,'col':_0x5842c6,'value':_0x2bbe90[_0x554f94(0x171)]}];}),_0x336f38=new I()[_0x24b811(0x31b)](_0x260d58,_0x2ed717,_0x3ee680),_0x3b82c0=new O()[_0x24b811(0x142)](_0x260d58,_0x336f38),_0xdbf620={'unitId':_0x498ecc,'op':_0x336f38},_0x231168={'unitId':_0x498ecc,'op':_0x3b82c0};return _0x3ec9e3[_0x24b811(0xb6)](q['id'],_0xdbf620)?(_0x3a3f62[_0x24b811(0x176)](_0x498ecc),_0x3a0f8f[_0x24b811(0xf3)]({'unitID':_0x498ecc,'undoMutations':[{'id':q['id'],'params':_0x231168}],'redoMutations':[{'id':q['id'],'params':_0xdbf620}]}),!0x0):!0x1;}},br={'id':_0x224170(0x168),'type':_0x4a0fe3[_0x224170(0x2b5)],'handler'(_0x45fe9a,_0x531550){const _0x3c451e=_0x224170;if(!_0x531550)return!0x1;let _0xd8b0e1=_0x45fe9a['get'](_0x1f98b4),{unitId:_0x21436c,tableId:_0x5bc957,patches:_0x35e38e}=_0x531550,_0x33a68a=_0xd8b0e1['getUnit'](_0x21436c,_0x33e944['UNIVER_BASE']);if(!_0x33a68a)return!0x1;let _0x300cc8=_0x45fe9a['get'](_0x430051),_0x5362b1=_0x45fe9a[_0x3c451e(0x2e8)](_0x4f4a8c),_0x1933eb=_0x45fe9a['get'](V)[_0x3c451e(0xd5)](_0x33a68a,_0x5bc957,_0x35e38e),_0x14afd2=new O()[_0x3c451e(0x142)](_0x33a68a[_0x3c451e(0xc5)](),_0x1933eb),_0x453ca4={'unitId':_0x21436c,'op':_0x1933eb},_0x3c166c={'unitId':_0x21436c,'op':_0x14afd2};return _0x300cc8['syncExecuteCommand'](q['id'],_0x453ca4)?(_0xd8b0e1[_0x3c451e(0x176)](_0x21436c),_0x5362b1[_0x3c451e(0xf3)]({'unitID':_0x21436c,'undoMutations':[{'id':q['id'],'params':_0x3c166c}],'redoMutations':[{'id':q['id'],'params':_0x453ca4}]}),!0x0):!0x1;}},xr={'id':'base.command.set-base-view-field-order','type':_0x4a0fe3[_0x224170(0x2b5)],'handler':(_0x3f84b4,_0x569643)=>{const _0x10b844=_0x224170;if(!_0x569643)return!0x1;let _0x19cb02=_0x3f84b4['get'](_0x1f98b4),{unitId:_0x1caff1,tableId:_0x16f7f1,viewId:_0x1b00c3,fieldId:_0x343250,target:_0x148009}=_0x569643,_0x12961c=_0x19cb02[_0x10b844(0x119)](_0x1caff1,_0x33e944[_0x10b844(0x12a)]);if(!_0x12961c)return!0x1;let _0x44a2e6=_0x3f84b4['get'](_0x430051),_0x37c18=_0x3f84b4[_0x10b844(0x2e8)](_0x4f4a8c),_0x13326a=_0x12961c[_0x10b844(0xc5)](),_0xf6e92c=new I()[_0x10b844(0x305)](_0x13326a,_0x16f7f1,_0x1b00c3,_0x343250,_0x148009),_0x28f14f=new O()[_0x10b844(0x142)](_0x13326a,_0xf6e92c),_0x5875fa={'unitId':_0x1caff1,'op':_0xf6e92c},_0x2bbca1={'unitId':_0x1caff1,'op':_0x28f14f};return _0x44a2e6[_0x10b844(0xb6)](q['id'],_0x5875fa)?(_0x19cb02[_0x10b844(0x176)](_0x1caff1),_0x37c18[_0x10b844(0xf3)]({'unitID':_0x1caff1,'undoMutations':[{'id':q['id'],'params':_0x2bbca1}],'redoMutations':[{'id':q['id'],'params':_0x5875fa}]}),!0x0):!0x1;}},Sr={'id':'base.command.set-base-view-field-visible','type':_0x4a0fe3[_0x224170(0x2b5)],'handler'(_0x4d0fd9,_0x3a3fbe){const _0x1fc821=_0x224170;if(!_0x3a3fbe)return!0x1;let _0x3ab1fe=_0x4d0fd9[_0x1fc821(0x2e8)](_0x1f98b4),{unitId:_0x2ee11e,tableId:_0x463da4,viewId:_0x4385f,fieldId:_0x519569,visible:_0x1d8e00}=_0x3a3fbe,_0x37cd83=_0x3ab1fe[_0x1fc821(0x119)](_0x2ee11e,_0x33e944['UNIVER_BASE']);if(!_0x37cd83)return!0x1;let _0x272f2d=_0x4d0fd9['get'](_0x430051),_0x296370=_0x4d0fd9[_0x1fc821(0x2e8)](_0x4f4a8c),_0x436aae=_0x37cd83['getSnapshot'](),_0x5c3028=new I()[_0x1fc821(0x197)](_0x436aae,_0x463da4,_0x4385f,_0x519569,_0x1d8e00),_0xe39689=new O()[_0x1fc821(0x142)](_0x436aae,_0x5c3028),_0x392fe3={'unitId':_0x2ee11e,'op':_0x5c3028},_0x3f2812={'unitId':_0x2ee11e,'op':_0xe39689};return _0x272f2d[_0x1fc821(0xb6)](q['id'],_0x392fe3)?(_0x3ab1fe['focusUnit'](_0x2ee11e),_0x296370[_0x1fc821(0xf3)]({'unitID':_0x2ee11e,'undoMutations':[{'id':q['id'],'params':_0x3f2812}],'redoMutations':[{'id':q['id'],'params':_0x392fe3}]}),!0x0):!0x1;}},Cr={'id':_0x224170(0x2be),'type':_0x4a0fe3['COMMAND'],'handler':(_0x141227,_0x98176e)=>{const _0xaffc28=_0x224170;if(!_0x98176e)return!0x1;let _0x49e8fd=_0x141227['get'](_0x1f98b4),{unitId:_0x100a69,tableId:_0x31e18e,viewId:_0x488920,fieldId:_0x4e0087,width:_0x523049}=_0x98176e,_0x3bc179=_0x49e8fd[_0xaffc28(0x119)](_0x100a69,_0x33e944[_0xaffc28(0x12a)]);if(!_0x3bc179)return!0x1;let _0x3dcdcd=_0x141227[_0xaffc28(0x2e8)](_0x430051),_0x502ccd=_0x141227[_0xaffc28(0x2e8)](_0x4f4a8c),_0x43ebb8=_0x3bc179['getSnapshot'](),_0x4d19ab=new I()[_0xaffc28(0x21f)](_0x43ebb8,_0x31e18e,_0x488920,_0x4e0087,_0x523049),_0x2ef768=new O()[_0xaffc28(0x142)](_0x43ebb8,_0x4d19ab),_0x45ee0c={'unitId':_0x100a69,'op':_0x4d19ab},_0x343f05={'unitId':_0x100a69,'op':_0x2ef768};return _0x3dcdcd[_0xaffc28(0xb6)](q['id'],_0x45ee0c)?(_0x49e8fd[_0xaffc28(0x176)](_0x100a69),_0x502ccd['pushUndoRedo']({'unitID':_0x100a69,'undoMutations':[{'id':q['id'],'params':_0x343f05}],'redoMutations':[{'id':q['id'],'params':_0x45ee0c}]}),!0x0):!0x1;}},wr={'id':_0x224170(0x2b7),'type':_0x4a0fe3[_0x224170(0x2b5)],'handler':(_0x3475e7,_0x1a5f35)=>{const _0x1462cc=_0x224170;if(!_0x1a5f35)return!0x1;let _0x495ffa=_0x3475e7[_0x1462cc(0x2e8)](_0x1f98b4),{unitId:_0x520877,tableId:_0x488c56,viewId:_0x3052d2,filter:_0xb66bb5}=_0x1a5f35,_0x1d5a67=_0x495ffa['getUnit'](_0x520877,_0x33e944[_0x1462cc(0x12a)]);if(!_0x1d5a67)return!0x1;let _0x55788b=_0x3475e7['get'](_0x430051),_0x1c0e15=_0x3475e7[_0x1462cc(0x2e8)](_0x4f4a8c),_0x1e11e7=_0x1d5a67[_0x1462cc(0xc5)](),_0x4b253d=new I()[_0x1462cc(0x225)](_0x1e11e7,_0x488c56,_0x3052d2,_0xb66bb5),_0x13841c=new O()['invertOp'](_0x1e11e7,_0x4b253d),_0x293fce={'unitId':_0x520877,'op':_0x4b253d},_0x6f058={'unitId':_0x520877,'op':_0x13841c};return _0x55788b['syncExecuteCommand'](q['id'],_0x293fce)?(_0x495ffa[_0x1462cc(0x176)](_0x520877),_0x1c0e15[_0x1462cc(0xf3)]({'unitID':_0x520877,'undoMutations':[{'id':q['id'],'params':_0x6f058}],'redoMutations':[{'id':q['id'],'params':_0x293fce}]}),!0x0):!0x1;}},Tr={'id':_0x224170(0x2e2),'type':_0x4a0fe3[_0x224170(0x2b5)],'handler':(_0x372e36,_0x26995b)=>{const _0xefa7e2=_0x224170;if(!_0x26995b)return!0x1;let _0x43327d=_0x372e36[_0xefa7e2(0x2e8)](_0x1f98b4),{unitId:_0x1608a7,tableId:_0x32aa91,viewId:_0x376948,group:_0x521c74}=_0x26995b,_0x3498a0=_0x43327d[_0xefa7e2(0x119)](_0x1608a7,_0x33e944['UNIVER_BASE']);if(!_0x3498a0)return!0x1;let _0x2fb27a=_0x372e36[_0xefa7e2(0x2e8)](_0x430051),_0x305283=_0x372e36[_0xefa7e2(0x2e8)](_0x4f4a8c),_0x44d1c8=_0x3498a0[_0xefa7e2(0xc5)](),_0x4cd5c3=new I()[_0xefa7e2(0x2cc)](_0x44d1c8,_0x32aa91,_0x376948,_0x521c74),_0x2f3e37=new O()[_0xefa7e2(0x142)](_0x44d1c8,_0x4cd5c3),_0x5b5c1e={'unitId':_0x1608a7,'op':_0x4cd5c3},_0x522aa6={'unitId':_0x1608a7,'op':_0x2f3e37};return _0x2fb27a[_0xefa7e2(0xb6)](q['id'],_0x5b5c1e)?(_0x43327d[_0xefa7e2(0x176)](_0x1608a7),_0x305283[_0xefa7e2(0xf3)]({'unitID':_0x1608a7,'undoMutations':[{'id':q['id'],'params':_0x522aa6}],'redoMutations':[{'id':q['id'],'params':_0x5b5c1e}]}),!0x0):!0x1;}},Er={'id':_0x224170(0x11c),'type':_0x4a0fe3[_0x224170(0x2b5)],'handler':(_0x2aeecb,_0x1f4b86)=>{const _0x169c75=_0x224170;if(!_0x1f4b86)return!0x1;let _0x259b19=_0x2aeecb['get'](_0x1f98b4),{unitId:_0x59c44f,tableId:_0x104127,viewId:_0x1266af,sort:_0x3a52ca}=_0x1f4b86,_0x41f970=_0x259b19[_0x169c75(0x119)](_0x59c44f,_0x33e944['UNIVER_BASE']);if(!_0x41f970)return!0x1;let _0x1cb622=_0x2aeecb['get'](_0x430051),_0x51e1b4=_0x2aeecb['get'](_0x4f4a8c),_0x12724e=_0x41f970[_0x169c75(0xc5)](),_0x32a710=new I()[_0x169c75(0x344)](_0x12724e,_0x104127,_0x1266af,_0x3a52ca),_0x2f8bc4=new O()[_0x169c75(0x142)](_0x12724e,_0x32a710),_0x3986e2={'unitId':_0x59c44f,'op':_0x32a710},_0x45537d={'unitId':_0x59c44f,'op':_0x2f8bc4};return _0x1cb622[_0x169c75(0xb6)](q['id'],_0x3986e2)?(_0x259b19[_0x169c75(0x176)](_0x59c44f),_0x51e1b4['pushUndoRedo']({'unitID':_0x59c44f,'undoMutations':[{'id':q['id'],'params':_0x45537d}],'redoMutations':[{'id':q['id'],'params':_0x3986e2}]}),!0x0):!0x1;}},Dr={'id':_0x224170(0xda),'type':_0x4a0fe3['COMMAND'],'handler'(_0x5dcfb2,_0x2cf03d){const _0x4ed163=_0x224170;if(!_0x2cf03d)return!0x1;let _0xf20ee8=_0x5dcfb2['get'](_0x1f98b4),{unitId:_0x4ef994,tableId:_0x1e740c,recordId:_0x5a3e1b,fieldId:_0x16f4cf,value:_0x1df094}=_0x2cf03d,_0x3b8e49=_0xf20ee8[_0x4ed163(0x119)](_0x4ef994,_0x33e944[_0x4ed163(0x12a)]);if(!_0x3b8e49)return!0x1;let _0x317529=_0x5dcfb2[_0x4ed163(0x2e8)](_0x430051),_0x5b4f05=_0x5dcfb2[_0x4ed163(0x2e8)](_0x4f4a8c),_0x2bccba=_0x5dcfb2[_0x4ed163(0x2e8)](V),_0x8fca4c;try{_0x8fca4c=_0x2bccba['createUpdateCellOp'](_0x3b8e49,_0x1e740c,_0x5a3e1b,_0x16f4cf,_0x1df094);}catch(_0x6e0f53){return console[_0x4ed163(0x30a)]('Failed\x20to\x20create\x20update\x20cell\x20operation:',_0x6e0f53),!0x1;}let _0x5d1720=new O()['invertOp'](_0x3b8e49[_0x4ed163(0xc5)](),_0x8fca4c),_0xba4a6c={'unitId':_0x4ef994,'op':_0x8fca4c},_0x2f7ac6={'unitId':_0x4ef994,'op':_0x5d1720};return _0x317529[_0x4ed163(0xb6)](q['id'],_0xba4a6c)?(_0xf20ee8[_0x4ed163(0x176)](_0x4ef994),_0x5b4f05[_0x4ed163(0xf3)]({'unitID':_0x4ef994,'undoMutations':[{'id':q['id'],'params':_0x2f7ac6}],'redoMutations':[{'id':q['id'],'params':_0xba4a6c}]}),!0x0):!0x1;}},Or={'id':_0x224170(0x2b0),'type':_0x4a0fe3[_0x224170(0x2b5)],'handler'(_0xc55173,_0xd7207d){const _0x59e634=_0x224170;if(!_0xd7207d)return!0x1;let _0x9ab3c2=_0xc55173[_0x59e634(0x2e8)](_0x1f98b4),{unitId:_0x1de02b,tableId:_0x4f1f7b,fieldId:_0x3c0d9d}=_0xd7207d,_0x222ff8=_0x9ab3c2[_0x59e634(0x119)](_0x1de02b,_0x33e944[_0x59e634(0x12a)]);if(!_0x222ff8)return!0x1;let _0x46f259=_0xc55173[_0x59e634(0x2e8)](_0x430051),_0x256590=_0xc55173[_0x59e634(0x2e8)](_0x4f4a8c),_0x2ed5c7=_0x222ff8['getSnapshot'](),_0x45d502=_0xd7207d[_0x59e634(0x207)][_0x59e634(0x332)](),_0x39dc01=new I()['updateField'](_0x2ed5c7,_0x4f1f7b,_0x3c0d9d,{'description':_0x45d502}),_0x4a8c96=new O()[_0x59e634(0x142)](_0x222ff8[_0x59e634(0xc5)](),_0x39dc01),_0x483050={'unitId':_0x1de02b,'op':_0x39dc01},_0x29f652={'unitId':_0x1de02b,'op':_0x4a8c96};return _0x46f259[_0x59e634(0xb6)](q['id'],_0x483050)?(_0x9ab3c2[_0x59e634(0x176)](_0x1de02b),_0x256590[_0x59e634(0xf3)]({'unitID':_0x1de02b,'undoMutations':[{'id':q['id'],'params':_0x29f652}],'redoMutations':[{'id':q['id'],'params':_0x483050}]}),!0x0):!0x1;}},kr={'id':_0x224170(0x188),'type':_0x4a0fe3['COMMAND'],'handler':(_0x1e7fa2,_0x4462cf)=>{const _0x3942db=_0x224170;if(!_0x4462cf)return!0x1;let _0x2309d0=_0x1e7fa2[_0x3942db(0x2e8)](_0x1f98b4),{unitId:_0x33dcae,tableId:_0x19bb3e,fieldId:_0x3a9a5d,patch:_0x5891c6}=_0x4462cf,_0x9af82c=_0x2309d0[_0x3942db(0x119)](_0x33dcae,_0x33e944[_0x3942db(0x12a)]);if(!_0x9af82c)return!0x1;let _0x421c86=_0x1e7fa2[_0x3942db(0x2e8)](_0x430051),_0x197087=_0x1e7fa2[_0x3942db(0x2e8)](_0x4f4a8c),_0x3e9172=_0x9af82c[_0x3942db(0xc5)](),_0xb6d354=new I()['updateField'](_0x3e9172,_0x19bb3e,_0x3a9a5d,_0x5891c6),_0x2e1e8e=new O()[_0x3942db(0x142)](_0x3e9172,_0xb6d354),_0x2667ca={'unitId':_0x33dcae,'op':_0xb6d354},_0x138135={'unitId':_0x33dcae,'op':_0x2e1e8e};return _0x421c86[_0x3942db(0xb6)](q['id'],_0x2667ca)?(_0x2309d0[_0x3942db(0x176)](_0x33dcae),_0x197087[_0x3942db(0xf3)]({'unitID':_0x33dcae,'undoMutations':[{'id':q['id'],'params':_0x138135}],'redoMutations':[{'id':q['id'],'params':_0x2667ca}]}),!0x0):!0x1;}},Ar={'id':_0x224170(0x11a),'type':_0x4a0fe3[_0x224170(0x2b5)],'handler':(_0x2633fc,_0xd40d0c)=>{const _0x23fd84=_0x224170;if(!_0xd40d0c)return!0x1;let _0x11c032=_0x2633fc[_0x23fd84(0x2e8)](_0x1f98b4),{unitId:_0x4266c7,tableId:_0x10702e,viewId:_0x38f9d9,patch:_0x35f23a}=_0xd40d0c,_0x15d703=_0x11c032[_0x23fd84(0x119)](_0x4266c7,_0x33e944[_0x23fd84(0x12a)]);if(!_0x15d703)return!0x1;let _0x2eeb27=_0x2633fc[_0x23fd84(0x2e8)](_0x430051),_0x53c347=_0x2633fc[_0x23fd84(0x2e8)](_0x4f4a8c),_0x22d78c=_0x15d703[_0x23fd84(0xc5)](),_0x5a087a=new I()[_0x23fd84(0x2ab)](_0x22d78c,_0x10702e,_0x38f9d9,_0x35f23a),_0x1dc4cf=new O()[_0x23fd84(0x142)](_0x22d78c,_0x5a087a),_0x4282de={'unitId':_0x4266c7,'op':_0x5a087a},_0x4cceac={'unitId':_0x4266c7,'op':_0x1dc4cf};return _0x2eeb27[_0x23fd84(0xb6)](q['id'],_0x4282de)?(_0x11c032[_0x23fd84(0x176)](_0x4266c7),_0x53c347[_0x23fd84(0xf3)]({'unitID':_0x4266c7,'undoMutations':[{'id':q['id'],'params':_0x4cceac}],'redoMutations':[{'id':q['id'],'params':_0x4282de}]}),!0x0):!0x1;}},jr={'id':'base.command.update-base-record-order','type':_0x4a0fe3[_0x224170(0x2b5)],'handler':(_0x3727c0,_0x55a107)=>{const _0x278f59=_0x224170;if(!_0x55a107)return!0x1;let _0x4fc493=_0x3727c0[_0x278f59(0x2e8)](_0x1f98b4),{unitId:_0x574235,tableId:_0x3a1634,recordId:_0x182fcd,orderKey:_0x4af077}=_0x55a107,_0x4a586f=_0x4fc493[_0x278f59(0x119)](_0x574235,_0x33e944['UNIVER_BASE']);if(!_0x4a586f)return!0x1;let _0x1ece80=_0x3727c0[_0x278f59(0x2e8)](_0x430051),_0x121648=_0x3727c0[_0x278f59(0x2e8)](_0x4f4a8c),_0xe49806=_0x4a586f[_0x278f59(0xc5)](),_0x17581d=new I()['updateRecordOrder'](_0xe49806,_0x3a1634,_0x182fcd,_0x4af077),_0x2537ca=new O()[_0x278f59(0x142)](_0xe49806,_0x17581d),_0xae2505={'unitId':_0x574235,'op':_0x17581d},_0x1b489a={'unitId':_0x574235,'op':_0x2537ca};return _0x1ece80[_0x278f59(0xb6)](q['id'],_0xae2505)?(_0x4fc493[_0x278f59(0x176)](_0x574235),_0x121648['pushUndoRedo']({'unitID':_0x574235,'undoMutations':[{'id':q['id'],'params':_0x1b489a}],'redoMutations':[{'id':q['id'],'params':_0xae2505}]}),!0x0):!0x1;}},Mr={'id':_0x224170(0x2a1),'type':_0x4a0fe3[_0x224170(0x2b5)],'handler':(_0x4d0422,_0x4dd9e5)=>{const _0x5cc787=_0x224170;if(!_0x4dd9e5)return!0x1;let _0x7deab8=_0x4d0422[_0x5cc787(0x2e8)](_0x1f98b4),{unitId:_0x82bf73,tableId:_0xdaac37,viewId:_0x3c9532,patch:_0x1d7dac}=_0x4dd9e5,_0x419b92=_0x7deab8[_0x5cc787(0x119)](_0x82bf73,_0x33e944[_0x5cc787(0x12a)]);if(!_0x419b92)return!0x1;let _0x85827e=_0x4d0422[_0x5cc787(0x2e8)](_0x430051),_0x4265bc=_0x4d0422['get'](_0x4f4a8c),_0x5a5c24=_0x419b92[_0x5cc787(0xc5)](),_0x1875aa=new I()['updateViewConfig'](_0x5a5c24,_0xdaac37,_0x3c9532,_0x1d7dac),_0x1cf6fb=new O()['invertOp'](_0x5a5c24,_0x1875aa),_0xfb97b8={'unitId':_0x82bf73,'op':_0x1875aa},_0x5a7aa0={'unitId':_0x82bf73,'op':_0x1cf6fb};return _0x85827e[_0x5cc787(0xb6)](q['id'],_0xfb97b8)?(_0x7deab8[_0x5cc787(0x176)](_0x82bf73),_0x4265bc[_0x5cc787(0xf3)]({'unitID':_0x82bf73,'undoMutations':[{'id':q['id'],'params':_0x5a7aa0}],'redoMutations':[{'id':q['id'],'params':_0xfb97b8}]}),!0x0):!0x1;}};function J(_0x44aa2f){const _0x525582=_0x224170;return new O()[_0x525582(0x2a2)](_0x44aa2f);}function Nr(_0x14d75b){const _0x2d146c=_0x224170;return _0x14d75b['patches'][_0x2d146c(0x2bf)](_0x53c835=>({'unitId':_0x14d75b[_0x2d146c(0xf6)],'sheetId':_0x14d75b[_0x2d146c(0xe3)],'range':{'startRow':_0x53c835[_0x2d146c(0x20f)],'endRow':_0x53c835[_0x2d146c(0x20f)],'startColumn':_0x53c835['col'],'endColumn':_0x53c835['col']}}));}function Pr(_0x1a8a45,_0x36d9e0){const _0x1721c6=_0x224170;return{[_0x1a8a45]:Object[_0x1721c6(0x359)](_0x36d9e0[_0x1721c6(0x2bf)](_0xa5f1b5=>[_0xa5f1b5,'1']))};}let Y=class extends _0x21b431{constructor(_0x1af121,_0x1c24fa){const _0x566302=_0x224170;super(),this[_0x566302(0x32c)]=_0x1af121,this[_0x566302(0xf9)]=_0x1c24fa,this['_initialize']();}[_0x224170(0x107)](){const _0x58ef6e=_0x224170;let _0x2d790d=this['_getActiveDirtyManagerService']();_0x2d790d&&(_0x2d790d[_0x58ef6e(0x299)](q['id'],{'commandId':q['id'],'getDirtyData':_0x284adf=>this[_0x58ef6e(0x1bb)](_0x284adf[_0x58ef6e(0x288)])}),this[_0x58ef6e(0x296)](_0x479d4d(()=>{const _0x4e9901=_0x58ef6e;_0x2d790d[_0x4e9901(0x148)](q['id']);})));}[_0x224170(0x350)](){const _0xa7fced=_0x224170;try{return this['_injector'][_0xa7fced(0x2e8)](_0xe1dd5a);}catch{return null;}}['_getTable'](_0x101220,_0x4e8d74){const _0xd3b46=_0x224170;var _0x5c6279;let _0x30d619=this['_univerInstanceService']['getUnit'](_0x101220,_0x33e944[_0xd3b46(0x12a)]);return(_0x5c6279=_0x30d619==null?void 0x0:_0x30d619['getSnapshot']()[_0xd3b46(0x10e)][_0x4e8d74])==null?null:_0x5c6279;}[_0x224170(0x1bb)](_0x308e80){const _0x583b02=_0x224170;if(_0x308e80[_0x583b02(0x19b)]===_0x583b02(0x237))return{};if(!_0x308e80[_0x583b02(0xf6)]||!_0x308e80['op']){let _0x34484c=this[_0x583b02(0xf7)]();return{'dirtySuperTableMap':_0x34484c,'clearDependencyTreeCache':_0x34484c};}let _0x318f74=J(_0x308e80['op']),_0x14ea37=this[_0x583b02(0x156)](_0x308e80['unitId'],_0x318f74);if(_0x14ea37['length'])return{'dirtySuperTableMap':this['_getDirtySuperTableMap'](_0x308e80[_0x583b02(0xf6)],_0x14ea37),'clearDependencyTreeCache':this[_0x583b02(0x343)](_0x308e80[_0x583b02(0xf6)],_0x14ea37)};let _0x80d3e1=Object[_0x583b02(0x333)](this[_0x583b02(0x1e2)](_0x308e80[_0x583b02(0xf6)],_0x318f74))[_0x583b02(0xe0)](([_0x398a35,_0x24b95e])=>Nr({'unitId':_0x308e80[_0x583b02(0xf6)],'tableId':_0x398a35,'patches':_0x24b95e}));return _0x80d3e1[_0x583b02(0xe2)]?{'dirtyRanges':_0x80d3e1}:{};}[_0x224170(0x156)](_0xe5aa2a,_0x39db54){const _0x1ceef0=_0x224170;let _0x4b5647=_0x39db54['filter'](_0x583104=>_0x583104['reason']!==_0x1ceef0(0xc7))['flatMap'](_0x2fe29b=>_0x2fe29b[_0x1ceef0(0xe3)]?[_0x2fe29b[_0x1ceef0(0xe3)]]:this[_0x1ceef0(0x1f6)](_0xe5aa2a));return Array[_0x1ceef0(0x2fa)](new Set(_0x4b5647));}['_groupCellInvalidations'](_0x4a8969,_0x31bff1){let _0xb50352=new Set();return _0x31bff1['reduce']((_0x5f5955,_0xc6a6fc)=>{const _0x14dcdd=_0x1410;var _0x456059;let _0x72571b=this[_0x14dcdd(0x2a6)](_0x4a8969,_0xc6a6fc);if(!_0x72571b)return _0x5f5955;let _0x43f606=_0xc6a6fc[_0x14dcdd(0xe3)]+':'+_0x72571b[_0x14dcdd(0x20f)]+':'+_0x72571b['col'];return _0xb50352[_0x14dcdd(0x2d9)](_0x43f606)?_0x5f5955:(_0xb50352[_0x14dcdd(0x349)](_0x43f606),_0x5f5955[_0xc6a6fc[_0x14dcdd(0xe3)]]=(_0x456059=_0x5f5955[_0xc6a6fc[_0x14dcdd(0xe3)]])==null?[]:_0x456059,_0x5f5955[_0xc6a6fc[_0x14dcdd(0xe3)]][_0x14dcdd(0x14d)](_0x72571b),_0x5f5955);},{});}[_0x224170(0x2a6)](_0x2bc9ff,_0x42192f){const _0x1237da=_0x224170;if(_0x42192f[_0x1237da(0x1c9)]!==_0x1237da(0xc7))return null;if(_0x42192f['row']!=null&&_0x42192f[_0x1237da(0xc6)]!=null)return{'row':_0x42192f[_0x1237da(0x20f)],'col':_0x42192f[_0x1237da(0xc6)],'value':null};if(!_0x42192f[_0x1237da(0x303)]||!_0x42192f['fieldId'])return null;let _0x37a810=this[_0x1237da(0x230)](_0x2bc9ff,_0x42192f[_0x1237da(0xe3)]);if(!_0x37a810)return null;let _0x3fe8dd=ve(_0x37a810,_0x42192f[_0x1237da(0x303)],_0x42192f[_0x1237da(0xd0)]);return _0x3fe8dd?{'row':_0x3fe8dd[_0x1237da(0x20f)],'col':_0x3fe8dd[_0x1237da(0x141)],'value':null}:null;}[_0x224170(0x1f6)](_0x377a32){const _0x249665=_0x224170;var _0x5e2969;let _0x58af6d=this[_0x249665(0xf9)][_0x249665(0x119)](_0x377a32,_0x33e944[_0x249665(0x12a)]);return Object['values']((_0x5e2969=_0x58af6d==null?void 0x0:_0x58af6d['getSnapshot']()[_0x249665(0x10e)])==null?{}:_0x5e2969)[_0x249665(0x2a9)](_0xde4f33=>!_0xde4f33[_0x249665(0x214)])[_0x249665(0x2bf)](_0x4b931b=>_0x4b931b['id']);}[_0x224170(0x343)](_0x1e37a4,_0x3a65c2){return Pr(_0x1e37a4,_0x3a65c2);}[_0x224170(0xf7)](){const _0x2eefd1=_0x224170;let _0x3feb63=this[_0x2eefd1(0xf9)][_0x2eefd1(0x2dd)](_0x33e944['UNIVER_BASE'])[_0x2eefd1(0x2bf)](_0x2c13c0=>Pr(_0x2c13c0[_0x2eefd1(0x1fd)](),this[_0x2eefd1(0x1f6)](_0x2c13c0['getUnitId']())));return Object[_0x2eefd1(0x11e)]({},..._0x3feb63);}};Y=B([z(0x0,_0x5f4e98(_0x85c3f3)),z(0x1,_0x1f98b4)],Y);const Fr=new RegExp(String[_0x224170(0xf2)]`(?:^|\W)\$?[A-Z]{1,3}\$?\d+(?::\$?[A-Z]{1,3}\$?\d+)?(?:$|\W)`),Ir=/\{([^}]+)\}/g,Lr=new RegExp(String[_0x224170(0xf2)]`\b([A-Z_]\w*)\[([^\]]+)\]`,'gi'),Rr=new RegExp(String['raw']`(^|[^\w\][])\[([^\]]+)\]`,'g');var zr=class{[_0x224170(0xed)](_0xc1762f,_0x170473=_0xc1762f['id']){const _0x1131c4=_0x224170;return{'sheetId':_0x170473,'titleMap':new Map(_0xc1762f[_0x1131c4(0x322)][_0x1131c4(0x2bf)]((_0x301f70,_0x5980d7)=>{const _0x38ab74=_0x1131c4;var _0x2c18a0,_0x19b0ee;return[(_0x2c18a0=(_0x19b0ee=_0xc1762f['fields'][_0x301f70])==null?void 0x0:_0x19b0ee[_0x38ab74(0x15e)])==null?_0x301f70:_0x2c18a0,_0x5980d7];})),'range':{'startRow':0x0,'endRow':Object['values'](_0xc1762f['records'])[_0x1131c4(0x2a9)](_0x5261e7=>!_0x5261e7['deleted'])[_0x1131c4(0xe2)],'startColumn':0x0,'endColumn':Math['max'](0x0,_0xc1762f['fieldOrder'][_0x1131c4(0xe2)]-0x1)}};}[_0x224170(0x12c)](_0x49b4d7,_0x3d67be,_0x1d6467,_0x4846d3={}){const _0x4dc28b=_0x224170;var _0x1f30b0;let _0x388cde=this[_0x4dc28b(0xed)](_0x1d6467,(_0x1f30b0=_0x4846d3['sheetId'])==null?_0x1d6467['id']:_0x1f30b0);return new Set([_0x1d6467['id'],_0x1d6467[_0x4dc28b(0x15e)],_0x4846d3['tableName']][_0x4dc28b(0x2a9)](_0x27157d=>!!_0x27157d))[_0x4dc28b(0x262)](_0x4e8ea2=>_0x49b4d7['registerTable'](_0x3d67be,_0x4e8ea2,_0x388cde)),_0x388cde;}['registerSuperTables'](_0x548a70,_0x117ba1){const _0x119c74=_0x224170;let _0x2828e0=[],_0x4db5a7=new Map();return Object[_0x119c74(0x112)](_0x117ba1['tables'])[_0x119c74(0x2a9)](_0x434dde=>!_0x434dde[_0x119c74(0x214)])[_0x119c74(0x262)](_0x59bfa2=>{const _0x249a2e=_0x119c74;var _0x4daf95;let _0x134b86=_0x59bfa2[_0x249a2e(0x15e)][_0x249a2e(0x332)]()[_0x249a2e(0x27f)]();_0x4db5a7[_0x249a2e(0x32e)](_0x134b86,((_0x4daf95=_0x4db5a7[_0x249a2e(0x2e8)](_0x134b86))==null?0x0:_0x4daf95)+0x1);}),Object[_0x119c74(0x112)](_0x117ba1[_0x119c74(0x10e)])['filter'](_0x553262=>!_0x553262[_0x119c74(0x214)])[_0x119c74(0x262)](_0x5f3eca=>{const _0x194107=_0x119c74;var _0x2e80b1;let _0x220bd0=this[_0x194107(0xed)](_0x5f3eca,_0x5f3eca['id']);_0x548a70[_0x194107(0x240)](_0x117ba1['id'],_0x5f3eca['id'],_0x220bd0),((_0x2e80b1=_0x4db5a7[_0x194107(0x2e8)](_0x5f3eca[_0x194107(0x15e)][_0x194107(0x332)]()['toLowerCase']()))==null?0x0:_0x2e80b1)===0x1&&_0x548a70[_0x194107(0x240)](_0x117ba1['id'],_0x5f3eca['name'],_0x220bd0),_0x2828e0[_0x194107(0x14d)](_0x220bd0);}),_0x2828e0;}[_0x224170(0x2f6)](_0xfd7e30,_0x490686,_0x4ef806={}){const _0x3e9f81=_0x224170;let _0x59261e=_0xfd7e30[_0x3e9f81(0x332)]();if(!_0x59261e)return{'valid':!0x0};if(Fr['test'](_0x59261e))return{'valid':!0x1,'reason':_0x3e9f81(0x274)};for(let _0x48227b of Ur(_0x59261e)){let _0x4f5b4f=qr(_0x48227b,_0x490686,_0x4ef806[_0x3e9f81(0x308)]);if(!_0x4f5b4f[_0x3e9f81(0x273)])return{'valid':!0x1,'reason':_0x3e9f81(0x1ee)+_0x48227b[_0x3e9f81(0x13e)]+_0x3e9f81(0xa6)};if(!_0x4f5b4f['field'])return{'valid':!0x1,'reason':_0x3e9f81(0xac)+_0x48227b['fieldName']+'\x22\x20does\x20not\x20exist.'};}return{'valid':!0x0};}['getDependencies'](_0x4da1df,_0x3a047f,_0x5b5b5a={}){const _0x3b28df=_0x224170;let _0x2b7721=new Set();for(let _0x21580c of this[_0x3b28df(0x276)](_0x4da1df,_0x3a047f,_0x5b5b5a))_0x21580c[_0x3b28df(0xe3)]===_0x3a047f['id']&&_0x2b7721[_0x3b28df(0x349)](_0x21580c['fieldId']);return Array[_0x3b28df(0x2fa)](_0x2b7721);}[_0x224170(0x276)](_0x3287e8,_0x275e88,_0x8692bb={}){const _0x3fe12d=_0x224170;let _0x765989=new Map();for(let _0x32a54e of Ur(_0x3287e8)){let _0x9ba6d9=qr(_0x32a54e,_0x275e88,_0x8692bb[_0x3fe12d(0x308)]);if(!_0x9ba6d9[_0x3fe12d(0x273)]||!_0x9ba6d9[_0x3fe12d(0x1a3)])continue;let _0x1a6fa5=_0x9ba6d9[_0x3fe12d(0x273)]['id']+'\x1f'+_0x9ba6d9['field']['id'];_0x765989[_0x3fe12d(0x32e)](_0x1a6fa5,{'tableId':_0x9ba6d9['table']['id'],'fieldId':_0x9ba6d9[_0x3fe12d(0x1a3)]['id']});}return Array['from'](_0x765989[_0x3fe12d(0x112)]());}};function Br(_0x446de1){const _0x383efd=_0x224170;let _0x101b4d={},_0x1c9501={},_0xf81f24={[_0x446de1['id']]:{}},_0x3925cc={[_0x446de1['id']]:{}};return _0x101b4d[_0x446de1['id']]={},_0x1c9501[_0x446de1['id']]={},Object[_0x383efd(0x112)](_0x446de1['tables'])[_0x383efd(0x2a9)](_0x24ee7b=>!_0x24ee7b[_0x383efd(0x214)])[_0x383efd(0x262)](_0x5e6581=>{const _0x4ac459=_0x383efd;var _0x5a7e3d,_0x16f5b2,_0x482b39;let _0x2486aa=C(_0x5e6581),_0x427028=new _0x529909(),_0x2ddcdd={};(_0x5a7e3d=_0x2486aa[_0x4ac459(0x110)])==null||_0x5a7e3d[_0x4ac459(0x262)]((_0x1ccf7f,_0x2f2761)=>{const _0xb87249=_0x4ac459;let _0x574280=_0x2486aa[_0xb87249(0x2f7)][_0x1ccf7f];!_0x574280||_0x574280['deleted']||_0x2486aa['fieldOrder'][_0xb87249(0x262)]((_0x2fe943,_0x1b4bba)=>{const _0x421857=_0xb87249;let _0x4620f5=_0x2486aa['fields'][_0x2fe943];if(!_0x4620f5||_0x4620f5[_0x421857(0x214)])return;let _0x3af69b=be(_0x2486aa,_0x1ccf7f,_0x2fe943);if(_0x3af69b!==void 0x0&&_0x427028[_0x421857(0x220)](_0x2f2761,_0x1b4bba,w(_0x3af69b,_0x4620f5)),_0x4620f5[_0x421857(0x131)]===_0x421857(0xc2)){var _0x2466a3,_0x1b04d6;let _0x15b221=String((_0x2466a3=(_0x1b04d6=_0x4620f5[_0x421857(0x1aa)])==null?void 0x0:_0x1b04d6[_0x421857(0xc2)])==null?'':_0x2466a3)[_0x421857(0x332)]();_0x15b221&&(_0x2ddcdd[_0x2f2761]!=null||(_0x2ddcdd[_0x2f2761]={}),_0x2ddcdd[_0x2f2761][_0x1b4bba]={'f':Wr(_0x15b221,_0x2486aa,_0x446de1),'si':_0x4620f5['id']});}});}),_0x101b4d[_0x446de1['id']][_0x2486aa['id']]=_0x2ddcdd,_0x1c9501[_0x446de1['id']][_0x2486aa['id']]={'cellData':_0x427028,'rowCount':(_0x16f5b2=(_0x482b39=_0x2486aa[_0x4ac459(0x110)])==null?void 0x0:_0x482b39[_0x4ac459(0x2a9)](_0x5acd75=>{const _0x5a38d5=_0x4ac459;var _0x3f022f;return!((_0x3f022f=_0x2486aa[_0x5a38d5(0x2f7)][_0x5acd75])!=null&&_0x3f022f[_0x5a38d5(0x214)]);})[_0x4ac459(0xe2)])==null?0x0:_0x16f5b2,'columnCount':_0x2486aa[_0x4ac459(0x322)][_0x4ac459(0x2a9)](_0x43f4de=>{const _0x1495bf=_0x4ac459;var _0x37aa3b;return!((_0x37aa3b=_0x2486aa[_0x1495bf(0x147)][_0x43f4de])!=null&&_0x37aa3b['deleted']);})[_0x4ac459(0xe2)],'rowData':{},'columnData':{}},_0x3925cc[_0x446de1['id']][_0x2486aa['name']]=_0x2486aa['id'];}),{'formulaData':_0x101b4d,'allUnitData':_0x1c9501,'unitStylesData':_0xf81f24,'unitSheetNameMap':_0x3925cc};}function Vr(_0x2d9986,_0xa3e347){var _0x3780e8;let _0x128f88=[],_0x32061f=(_0x3780e8=_0xa3e347['unitData'])==null?void 0x0:_0x3780e8[_0x2d9986['id']];return _0x32061f&&Object['entries'](_0x32061f)['forEach'](([_0x424bab,_0x475d43])=>{const _0x141b1c=_0x1410;let _0x1c1bde=_0x2d9986['tables'][_0x424bab];if(!_0x1c1bde||_0x1c1bde[_0x141b1c(0x214)]||!_0x475d43)return;let _0x5bd1f8=C(_0x1c1bde),_0x2ae140=[];Object[_0x141b1c(0x333)](_0x475d43)[_0x141b1c(0x262)](([_0x416025,_0x96f2ec])=>{let _0xcf2340=Number(_0x416025);_0x96f2ec&&Object['entries'](_0x96f2ec)['forEach'](([_0x3d7c73,_0x5218f5])=>{const _0x1fb0d6=_0x1410;var _0x174952,_0x20a95a,_0xf60eaa,_0x264473,_0x3b42c4,_0x3b61f3,_0x372f7f,_0x5d8bb3;let _0x480b67=Number(_0x3d7c73),_0x5b8e36=(_0x174952=_0x5bd1f8['rowId'])==null?void 0x0:_0x174952[_0xcf2340],_0x5923e2=_0x5b8e36?_0x5bd1f8[_0x1fb0d6(0x2f7)][_0x5b8e36]:null;if(!_0x5923e2||_0x5923e2[_0x1fb0d6(0x214)])return;let _0x217e2f=(_0x20a95a=_0x5bd1f8[_0x1fb0d6(0xad)])==null?void 0x0:_0x20a95a[_0x480b67],_0x363bcd=_0x217e2f?_0x5bd1f8[_0x1fb0d6(0x147)][_0x217e2f]:null;if(!_0x363bcd||_0x363bcd[_0x1fb0d6(0x214)]||_0x363bcd[_0x1fb0d6(0x131)]!==_0x1fb0d6(0xc2))return;let _0x4dabcf=String((_0xf60eaa=(_0x264473=_0x363bcd[_0x1fb0d6(0x1aa)])==null?void 0x0:_0x264473[_0x1fb0d6(0xc2)])==null?'':_0xf60eaa)[_0x1fb0d6(0x332)](),_0x124af3=_0xcf2340===0x0&&_0x4dabcf?{..._0x5218f5==null?{}:_0x5218f5,'v':(_0x3b42c4=_0x5218f5==null?void 0x0:_0x5218f5['v'])==null?null:_0x3b42c4,'t':Hr((_0x3b61f3=_0x5218f5==null?void 0x0:_0x5218f5['v'])==null?null:_0x3b61f3),'f':_0x4dabcf,'si':_0x363bcd['id']}:{..._0x5218f5==null?{}:_0x5218f5,'v':(_0x372f7f=_0x5218f5==null?void 0x0:_0x5218f5['v'])==null?null:_0x372f7f,'t':Hr((_0x5d8bb3=_0x5218f5==null?void 0x0:_0x5218f5['v'])==null?null:_0x5d8bb3),'si':_0x363bcd['id']};_0x2ae140[_0x1fb0d6(0x14d)]({'row':_0xcf2340,'col':_0x480b67,'value':_0x124af3});});}),_0x2ae140['length']&&_0x128f88[_0x141b1c(0x14d)]({'unitId':_0x2d9986['id'],'tableId':_0x424bab,'patches':_0x2ae140});}),_0x128f88;}function Hr(_0xfc2868){const _0x39b8ef=_0x224170;return typeof _0xfc2868==_0x39b8ef(0x255)?_0x3b8aac['NUMBER']:typeof _0xfc2868==_0x39b8ef(0x1eb)?_0x3b8aac[_0x39b8ef(0x352)]:typeof _0xfc2868=='string'?_0x3b8aac[_0x39b8ef(0x1be)]:null;}function Ur(_0x4e952f){const _0x1085d3=_0x224170;let _0x596fcc=new Map();for(let _0x2e0005 of _0x4e952f[_0x1085d3(0x135)](Ir)){let _0x79fc0={'fieldName':_0x2e0005[0x1]};_0x596fcc[_0x1085d3(0x32e)]('\x1f'+_0x79fc0[_0x1085d3(0x347)],_0x79fc0);}for(let _0x8483ae of _0x4e952f[_0x1085d3(0x135)](Lr)){let _0x1695be={'tableName':_0x8483ae[0x1],'fieldName':_0x8483ae[0x2]};_0x596fcc[_0x1085d3(0x32e)](_0x1695be['tableName']+'\x1f'+_0x1695be[_0x1085d3(0x347)],_0x1695be);}for(let _0x366470 of _0x4e952f[_0x1085d3(0x135)](Rr)){let _0x1b4e19={'fieldName':_0x366470[0x2]};_0x596fcc['set']('\x1f'+_0x1b4e19[_0x1085d3(0x347)],_0x1b4e19);}return Array[_0x1085d3(0x2fa)](_0x596fcc[_0x1085d3(0x112)]());}function Wr(_0x5030fc,_0x101d73,_0x1c7f4){const _0x37c950=_0x224170;let _0x371179=[],_0xe6fc32=_0x19ff13=>_0x37c950(0x2da)+(_0x371179[_0x37c950(0x14d)](_0x19ff13)-0x1)+'__';return _0x5030fc[_0x37c950(0x2eb)](Ir,(_0x51fc40,_0xe0ee1f)=>_0xe6fc32(Kr(_0x101d73,_0xe0ee1f,_0x1c7f4)))['replace'](Lr,(_0x88e8b3,_0x46d117,_0x46d2f1)=>{let _0x47aded=Jr(_0x46d117,_0x101d73,_0x1c7f4);return _0x47aded?_0xe6fc32(Kr(_0x47aded,_0x46d2f1,_0x1c7f4)):_0x46d117+'['+_0x46d2f1+']';})[_0x37c950(0x2eb)](Rr,(_0x1705c3,_0x4b1fbd,_0x67801f)=>''+_0x4b1fbd+_0xe6fc32(Kr(_0x101d73,_0x67801f,_0x1c7f4)))[_0x37c950(0x2eb)](/__BASE_FORMULA_REF_(\d+)__/g,(_0x41db99,_0x164ab8)=>{var _0x1a65b2;return(_0x1a65b2=_0x371179[Number(_0x164ab8)])==null?'':_0x1a65b2;});}function Gr(_0x59034b,_0xbc0fb9){const _0x3969b4=_0x224170;return Object[_0x3969b4(0x112)](_0xbc0fb9['tables'])[_0x3969b4(0x2a9)](_0xc43762=>!_0xc43762[_0x3969b4(0x214)]&&_0xc43762[_0x3969b4(0x15e)]===_0x59034b[_0x3969b4(0x15e)])[_0x3969b4(0xe2)]===0x1?_0x59034b[_0x3969b4(0x15e)]:_0x59034b['id'];}function Kr(_0xc27c85,_0x6c0007,_0x2768d3){const _0x35364a=_0x224170;return Gr(_0xc27c85,_0x2768d3)+_0x35364a(0xc9)+_0x6c0007+']]';}function qr(_0x230dc6,_0x173914,_0x4973d0){const _0x1d0a97=_0x224170;let _0x27b13a=Jr(_0x230dc6['tableName'],_0x173914,_0x4973d0);return{'table':_0x27b13a,'field':_0x27b13a?Object['values'](_0x27b13a[_0x1d0a97(0x147)])[_0x1d0a97(0x334)](_0x51fdef=>_0x51fdef['name']===_0x230dc6['fieldName']&&!_0x51fdef[_0x1d0a97(0x214)]):void 0x0};}function Jr(_0x419e90,_0x304e4d,_0x414ccb){const _0x3198a2=_0x224170;if(!_0x419e90||_0x419e90===_0x3198a2(0x273)||_0x419e90===_0x304e4d['id']||_0x419e90===_0x304e4d[_0x3198a2(0x15e)])return _0x304e4d;if(!_0x414ccb)return;let _0x4a0f6c=_0x414ccb[_0x3198a2(0x10e)][_0x419e90];if(_0x4a0f6c&&!_0x4a0f6c[_0x3198a2(0x214)])return _0x4a0f6c;let _0x4c6afb=Object['values'](_0x414ccb[_0x3198a2(0x10e)])[_0x3198a2(0x2a9)](_0x433823=>!_0x433823[_0x3198a2(0x214)]&&_0x433823['name']===_0x419e90);return _0x4c6afb['length']===0x1?_0x4c6afb[0x0]:void 0x0;}let X=class extends _0x21b431{constructor(_0x1f08fe,_0xb381b7,_0x49e01a){const _0x5bf272=_0x224170;super(),this[_0x5bf272(0x32c)]=_0x1f08fe,this['_commandService']=_0xb381b7,this['_univerInstanceService']=_0x49e01a,R(this,_0x5bf272(0x21c),new zr()),R(this,'_applyingFormulaResults',!0x1),this[_0x5bf272(0x107)]();}[_0x224170(0x107)](){const _0x3fd375=_0x224170;this['_univerInstanceService']['getAllUnitsForType'](_0x33e944[_0x3fd375(0x12a)])['forEach'](_0x23bedc=>{const _0x5963d1=_0x3fd375;this[_0x5963d1(0x1fe)](_0x23bedc),this['_syncFormulaData'](_0x23bedc),this[_0x5963d1(0x24b)]({'forceCalculation':!0x0});}),this['disposeWithMe'](this[_0x3fd375(0xf9)][_0x3fd375(0x28f)](_0x33e944[_0x3fd375(0x12a)])[_0x3fd375(0x120)](({unit:_0x3d405d})=>{const _0x506bb3=_0x3fd375;this['_registerSuperTables'](_0x3d405d),this[_0x506bb3(0x2af)](_0x3d405d),this[_0x506bb3(0x24b)]({'forceCalculation':!0x0});})),this[_0x3fd375(0x296)](this[_0x3fd375(0x1fc)][_0x3fd375(0x14b)](_0x3e2c8e=>this[_0x3fd375(0x1ca)](_0x3e2c8e)));}[_0x224170(0x1ca)](_0xc3bd9a){const _0x5cfe7e=_0x224170;if(_0xc3bd9a['id']===_0x680752['id']){this[_0x5cfe7e(0x33b)](_0xc3bd9a['params']);return;}if(this[_0x5cfe7e(0xeb)]||_0xc3bd9a['id']!==q['id'])return;let _0x44f9e6=_0xc3bd9a[_0x5cfe7e(0x288)];(_0x44f9e6!=null&&_0x44f9e6['unitId']?[this[_0x5cfe7e(0xf9)]['getUnit'](_0x44f9e6['unitId'],_0x33e944[_0x5cfe7e(0x12a)])]['filter'](_0x52466a=>!!_0x52466a):this['_univerInstanceService'][_0x5cfe7e(0x2dd)](_0x33e944[_0x5cfe7e(0x12a)]))[_0x5cfe7e(0x262)](_0x35542c=>{const _0x7a8a7=_0x5cfe7e;this[_0x7a8a7(0x1cf)](_0xc3bd9a,_0x35542c)&&(this['_registerSuperTables'](_0x35542c),this[_0x7a8a7(0x2af)](_0x35542c)),this[_0x7a8a7(0x24b)](this[_0x7a8a7(0x160)](_0xc3bd9a,_0x35542c));});}['_shouldSyncFormulaData'](_0xb68aaf,_0x5ea895){const _0x5155a7=_0x224170;var _0x37dcd3;if(_0xb68aaf['id']!==q['id'])return!0x1;let _0x16bf13=(_0x37dcd3=_0xb68aaf['params'])==null?void 0x0:_0x37dcd3['op'];return _0x16bf13?J(_0x16bf13)[_0x5155a7(0x346)](_0x429d36=>_0x429d36[_0x5155a7(0x1c9)]===_0x5155a7(0xc7)?!_0x5ea895['getSnapshot']()[_0x5155a7(0x10e)][_0x429d36['tableId']]:!0x0):!0x0;}['_registerSuperTables'](_0x58acdb){const _0x51dc4d=_0x224170;let _0x5958ac=this['_getSuperTableService']();_0x5958ac&&this[_0x51dc4d(0x21c)][_0x51dc4d(0x260)](_0x5958ac,_0x58acdb[_0x51dc4d(0xc5)]());}[_0x224170(0x24b)](_0x240f8d={}){const _0x42c7df=_0x224170;this[_0x42c7df(0x1fc)]['executeCommand'](_0x1fe112['id'],{'dirtyRanges':[],'dirtyNameMap':{},'dirtyDefinedNameMap':{},'dirtySuperTableMap':{},'dirtyUnitFeatureMap':{},'dirtyUnitOtherFormulaMap':{},'clearDependencyTreeCache':{},'forceCalculation':!0x1,'options':null,..._0x240f8d},{'onlyLocal':!0x0})[_0x42c7df(0x22e)](()=>void 0x0);}[_0x224170(0x2af)](_0x297d36){const _0x1f0bc2=_0x224170;let _0x55a43b=Br(_0x297d36[_0x1f0bc2(0xc5)]());this['_commandService'][_0x1f0bc2(0x1ea)](_0x37f30b['id'],{'formulaData':_0x55a43b[_0x1f0bc2(0x2e5)]},{'onlyLocal':!0x0})[_0x1f0bc2(0x22e)](()=>void 0x0);}[_0x224170(0x33b)](_0xcda6ea){const _0x305b6d=_0x224170;let _0x35f242=this['_univerInstanceService'][_0x305b6d(0x2dd)](_0x33e944[_0x305b6d(0x12a)])[_0x305b6d(0xe0)](_0x1759ac=>Vr(_0x1759ac[_0x305b6d(0xc5)](),_0xcda6ea));if(!_0x35f242[_0x305b6d(0xe2)])return;let _0x584408=new I();this['_applyingFormulaResults']=!0x0,(async()=>{const _0x267ff9=_0x305b6d;for(let _0x2cd501 of _0x35f242){let _0x326e20=this[_0x267ff9(0xf9)]['getUnit'](_0x2cd501[_0x267ff9(0xf6)],_0x33e944[_0x267ff9(0x12a)]);_0x326e20&&await this[_0x267ff9(0x1fc)][_0x267ff9(0x1ea)](q['id'],{'unitId':_0x2cd501[_0x267ff9(0xf6)],'op':_0x584408[_0x267ff9(0x31b)](_0x326e20[_0x267ff9(0xc5)](),_0x2cd501[_0x267ff9(0xe3)],_0x2cd501[_0x267ff9(0x244)]),'trigger':_0x680752['id']},{'onlyLocal':!0x0});}})()[_0x305b6d(0x265)](()=>{const _0x4d35c9=_0x305b6d;this[_0x4d35c9(0xeb)]=!0x1;});}[_0x224170(0x1e3)](){const _0xf25379=_0x224170;try{return this[_0xf25379(0x32c)][_0xf25379(0x2e8)](_0x456517);}catch{return null;}}[_0x224170(0x160)](_0x3882a9,_0x419e16){const _0x145cdd=_0x224170;return _0x3882a9['id']===q['id']?this[_0x145cdd(0x331)](_0x3882a9['params'],_0x419e16):this[_0x145cdd(0xd6)](_0x419e16);}[_0x224170(0x331)](_0x535f9a,_0x41e156){const _0x368d98=_0x224170;if(!_0x535f9a['op'])return this['_createStructureDirtyData'](_0x41e156);let _0x406530=J(_0x535f9a['op']),_0x4f1206=this[_0x368d98(0x156)](_0x406530,_0x41e156);if(_0x4f1206[_0x368d98(0xe2)])return this[_0x368d98(0xd6)](_0x41e156,_0x4f1206);let _0x594098=Object['entries'](this[_0x368d98(0x1e2)](_0x406530,_0x41e156))[_0x368d98(0xe0)](([_0x75867d,_0x28e03d])=>Nr({'unitId':_0x41e156[_0x368d98(0x1fd)](),'tableId':_0x75867d,'patches':_0x28e03d}));return _0x594098[_0x368d98(0xe2)]?{'dirtyRanges':_0x594098}:this[_0x368d98(0xd6)](_0x41e156);}[_0x224170(0x156)](_0x4b838c,_0x55a108){const _0xeb25d1=_0x224170;let _0x92ff8c=_0x4b838c['filter'](_0x59786e=>_0x59786e[_0xeb25d1(0x1c9)]!==_0xeb25d1(0xc7))[_0xeb25d1(0xe0)](_0x3bc417=>_0x3bc417['tableId']?[_0x3bc417[_0xeb25d1(0xe3)]]:Object['keys'](_0x55a108[_0xeb25d1(0xc5)]()['tables']));return Array['from'](new Set(_0x92ff8c));}[_0x224170(0x1e2)](_0x590cba,_0x443c9a){const _0x1ac1d2=_0x224170;let _0xa42b3c=new Set();return _0x590cba[_0x1ac1d2(0xd3)]((_0x20f22e,_0x558773)=>{const _0x233442=_0x1ac1d2;var _0xd8ca2d;let _0x2416e5=this[_0x233442(0x2a6)](_0x558773,_0x443c9a);if(!_0x2416e5)return _0x20f22e;let _0xefa15=_0x558773[_0x233442(0xe3)]+':'+_0x2416e5['row']+':'+_0x2416e5[_0x233442(0x141)];return _0xa42b3c[_0x233442(0x2d9)](_0xefa15)?_0x20f22e:(_0xa42b3c['add'](_0xefa15),_0x20f22e[_0x558773['tableId']]=(_0xd8ca2d=_0x20f22e[_0x558773[_0x233442(0xe3)]])==null?[]:_0xd8ca2d,_0x20f22e[_0x558773[_0x233442(0xe3)]][_0x233442(0x14d)](_0x2416e5),_0x20f22e);},{});}[_0x224170(0x2a6)](_0x558ac0,_0x5eec7c){const _0x32ef58=_0x224170;if(_0x558ac0[_0x32ef58(0x1c9)]!==_0x32ef58(0xc7))return null;if(_0x558ac0[_0x32ef58(0x20f)]!=null&&_0x558ac0['column']!=null)return{'row':_0x558ac0['row'],'col':_0x558ac0[_0x32ef58(0xc6)],'value':null};let _0x20dc2b=_0x5eec7c[_0x32ef58(0xc5)]()[_0x32ef58(0x10e)][_0x558ac0['tableId']];if(!_0x20dc2b||!_0x558ac0['recordId']||!_0x558ac0['fieldId'])return null;let _0xa3b89b=ve(_0x20dc2b,_0x558ac0[_0x32ef58(0x303)],_0x558ac0[_0x32ef58(0xd0)]);return _0xa3b89b?{'row':_0xa3b89b[_0x32ef58(0x20f)],'col':_0xa3b89b[_0x32ef58(0x141)],'value':null}:null;}[_0x224170(0xd6)](_0x4e6237,_0x181b6b){const _0x50b31c=_0x224170;let _0x5c2547=_0x181b6b==null?Object[_0x50b31c(0x112)](_0x4e6237[_0x50b31c(0xc5)]()[_0x50b31c(0x10e)])[_0x50b31c(0x2a9)](_0x3754b1=>!_0x3754b1[_0x50b31c(0x214)])[_0x50b31c(0x2bf)](_0x488bab=>_0x488bab['id']):_0x181b6b,_0x3f0e97=Pr(_0x4e6237[_0x50b31c(0x1fd)](),_0x5c2547);return{'dirtySuperTableMap':_0x3f0e97,'clearDependencyTreeCache':_0x3f0e97,'forceCalculation':!0x0};}};X=B([z(0x0,_0x5f4e98(_0x85c3f3)),z(0x1,_0x430051),z(0x2,_0x1f98b4)],X);function Yr(_0x1da032){const _0x371fc6=_0x224170;var _0x44a543;let _0x5219b8=Math[_0x371fc6(0x12b)](0x0,Number((_0x44a543=_0x1da032['decimalPlaces'])==null?0x0:_0x44a543)),_0x22afa8=_0x1da032[_0x371fc6(0x302)]===!0x1?'0':_0x371fc6(0xb3),_0x54f3a9=_0x5219b8?'.'+'0'[_0x371fc6(0x210)](_0x5219b8):'',_0x1eb8c7=Zr(_0x1da032[_0x371fc6(0x2ee)]);return''+(_0x1da032['currencySymbol']?Qr(_0x1da032[_0x371fc6(0x2f3)]):'')+_0x22afa8+_0x54f3a9+_0x1eb8c7;}function _0x1410(_0x26d1f8,_0x508eb8){_0x26d1f8=_0x26d1f8-0xa3;const _0x1c6836=_0x1c68();let _0x1410fa=_0x1c6836[_0x26d1f8];return _0x1410fa;}function Xr(_0x54ab26,_0x39a99c){const _0x7e19d1=_0x224170;let _0x5b0753=Yr(_0x39a99c),_0x3d7c11=_0x57d3ed['format'](_0x5b0753,_0x54ab26,{'throws':!0x1});return $r(String(_0x3d7c11),_0x39a99c[_0x7e19d1(0x128)],_0x39a99c[_0x7e19d1(0x2c9)]);}function Zr(_0x1151ab){const _0x40cfac=_0x224170;return _0x1151ab==='K'?_0x40cfac(0x14c):_0x1151ab==='M'?_0x40cfac(0x23e):_0x1151ab==='B'?_0x40cfac(0x271):'';}function Qr(_0x26a92d){const _0x24ce9a=_0x224170;return/^[A-Z]+$/i[_0x24ce9a(0x26a)](_0x26a92d)?'\x22'+_0x26a92d+'\x22':_0x26a92d;}function $r(_0x59cd08,_0x36aaa4,_0x242d91){const _0x408bd3=_0x224170;let _0x3ea889=_0x36aaa4===_0x408bd3(0x25a)?ei(_0x242d91):_0x36aaa4;return _0x3ea889==='periodComma'?_0x59cd08[_0x408bd3(0x2eb)](/,/g,'\x00')['replace'](/\./g,',')[_0x408bd3(0x2eb)](/\0/g,'.'):_0x3ea889===_0x408bd3(0x2d6)?_0x59cd08[_0x408bd3(0x2eb)](/,/g,'\x20')[_0x408bd3(0x2eb)](/\./g,','):_0x3ea889===_0x408bd3(0x2d3)?_0x59cd08[_0x408bd3(0x2eb)](/,/g,'\x20'):_0x59cd08;}function ei(_0x343158){const _0x5367e2=_0x224170;var _0x744d86,_0x533051;let _0x4a2dae=_0x343158||Intl['NumberFormat']()['resolvedOptions']()[_0x5367e2(0x2c9)],_0x1ecfe2;try{_0x1ecfe2=new Intl['NumberFormat'](_0x4a2dae,{'minimumFractionDigits':0x2,'maximumFractionDigits':0x2,'useGrouping':!0x0})['formatToParts'](0xf4240);}catch{return'commaPeriod';}let _0x3547ee=(_0x744d86=_0x1ecfe2[_0x5367e2(0x334)](_0x4b4294=>_0x4b4294[_0x5367e2(0x131)]===_0x5367e2(0x1d6)))==null?void 0x0:_0x744d86['value'],_0x4c17f3=(_0x533051=_0x1ecfe2[_0x5367e2(0x334)](_0x2ea0a5=>_0x2ea0a5[_0x5367e2(0x131)]===_0x5367e2(0x1df)))==null?void 0x0:_0x533051[_0x5367e2(0x171)],_0x1d513c=_0x3547ee==='\u00a0'||_0x3547ee==='\u202f'?'\x20':_0x3547ee;return _0x1d513c==='.'&&_0x4c17f3===','?'periodComma':_0x1d513c==='\x20'&&_0x4c17f3===','?'spaceComma':_0x1d513c==='\x20'&&_0x4c17f3==='.'?_0x5367e2(0x2d3):_0x5367e2(0x187);}function ti(_0x5c569f,_0x25d06d){const _0x3eeb25=_0x224170;var _0x4fedbb,_0x27a882;let _0x3193ca=_0x2beb92[_0x3eeb25(0x246)](_0x5c569f),_0xcf312a=_0x25d06d[_0x3eeb25(0x20a)]===!0x0,_0x5e9afb=new Map(),_0x5e71a3=(_0x4fedbb=_0x25d06d['createViewId'])==null?()=>_0x3eeb25(0xcf)+_0x21cb82(0x8):_0x4fedbb,_0x15a6b2=_0x3193ca[_0x3eeb25(0x2f4)];return _0x25d06d['regenerateViewIds']&&(_0x15a6b2=_0x3193ca[_0x3eeb25(0x2f4)][_0x3eeb25(0x2bf)](_0x268adf=>{const _0x409b95=_0x3eeb25;let _0x25da64=_0x5e71a3();return _0x5e9afb[_0x409b95(0x32e)](_0x268adf,_0x25da64),_0x25da64;})),{..._0x3193ca,'id':_0x25d06d['id'],'name':_0x25d06d[_0x3eeb25(0x15e)],'deleted':void 0x0,'records':_0xcf312a?_0x3193ca[_0x3eeb25(0x2f7)]:{},'recordOrder':_0xcf312a?_0x3193ca[_0x3eeb25(0x110)]:[],'rowIndex':_0xcf312a?_0x3193ca[_0x3eeb25(0x1db)]:{},'rowId':_0xcf312a?_0x3193ca[_0x3eeb25(0x124)]:{},'cellData':_0xcf312a?_0x3193ca[_0x3eeb25(0x204)]:{},'resources':_0xcf312a?_0x3193ca['resources']:{},'viewOrder':_0x15a6b2,'views':Object[_0x3eeb25(0x359)](Object[_0x3eeb25(0x333)]((_0x27a882=_0x3193ca[_0x3eeb25(0x1a1)])==null?{}:_0x27a882)[_0x3eeb25(0x2bf)](([_0x4ef5ea,_0x3f665e])=>{var _0x13cc91;let _0x5864ee=(_0x13cc91=_0x5e9afb['get'](_0x4ef5ea))==null?_0x25d06d['regenerateViewIds']?_0x5e71a3():_0x4ef5ea:_0x13cc91;return[_0x5864ee,{..._0x3f665e,'id':_0x5864ee,'tableId':_0x25d06d['id'],'deleted':void 0x0}];}))};}var ni=class{constructor(){const _0x6d1d53=_0x224170;R(this,_0x6d1d53(0x1d9),new I()),R(this,_0x6d1d53(0x2f9),new O());}['createOp'](_0x4971d2,_0x14ee65){const _0x492c41=_0x224170;switch(_0x4971d2[_0x492c41(0x131)]){case'createTable':return this['_factory'][_0x492c41(0x151)](_0x14ee65,_0x4971d2[_0x492c41(0x273)],_0x4971d2[_0x492c41(0x1a0)]);case _0x492c41(0x145):return this[_0x492c41(0x1d9)][_0x492c41(0x145)](_0x14ee65,_0x4971d2[_0x492c41(0xe3)],_0x4971d2[_0x492c41(0x15e)]);case _0x492c41(0x2bc):return this[_0x492c41(0x1d9)][_0x492c41(0x2bc)](_0x14ee65,_0x4971d2['tableId']);case _0x492c41(0x118):return this[_0x492c41(0x1d9)][_0x492c41(0x118)](_0x14ee65,_0x4971d2['tableId'],{'field':_0x4971d2['field'],'index':_0x4971d2[_0x492c41(0x1a0)]});case _0x492c41(0x2b9):return this[_0x492c41(0x1d9)][_0x492c41(0x2b9)](_0x14ee65,_0x4971d2[_0x492c41(0xe3)],_0x4971d2[_0x492c41(0xd0)],_0x4971d2['patch']);case _0x492c41(0x1e6):return this[_0x492c41(0x1d9)][_0x492c41(0x1e6)](_0x14ee65,_0x4971d2['tableId'],_0x4971d2[_0x492c41(0xd0)]);case _0x492c41(0x30b):return this[_0x492c41(0x1d9)][_0x492c41(0x30b)](_0x14ee65,_0x4971d2['tableId'],_0x4971d2[_0x492c41(0xb4)]);case _0x492c41(0x28c):return this['_factory']['deleteRecord'](_0x14ee65,_0x4971d2[_0x492c41(0xe3)],_0x4971d2[_0x492c41(0x303)]);case _0x492c41(0x2df):return this[_0x492c41(0x1d9)][_0x492c41(0x2df)](_0x14ee65,_0x4971d2[_0x492c41(0xe3)],_0x4971d2[_0x492c41(0x303)],_0x4971d2[_0x492c41(0x341)]);case _0x492c41(0xbc):return this[_0x492c41(0x1d9)][_0x492c41(0xbc)](_0x14ee65,_0x4971d2[_0x492c41(0xe3)],_0x4971d2[_0x492c41(0x303)],_0x4971d2[_0x492c41(0xd0)],_0x4971d2[_0x492c41(0x171)]);case _0x492c41(0xdc):return this['_factory'][_0x492c41(0xdc)](_0x14ee65,_0x4971d2[_0x492c41(0xe3)],_0x4971d2['patches']);case _0x492c41(0x31b):return this[_0x492c41(0x1d9)][_0x492c41(0x31b)](_0x14ee65,_0x4971d2[_0x492c41(0xe3)],_0x4971d2[_0x492c41(0x244)]);case _0x492c41(0xe1):return this[_0x492c41(0x1d9)][_0x492c41(0xe1)](_0x14ee65,_0x4971d2[_0x492c41(0xe3)],_0x4971d2['view'],_0x4971d2[_0x492c41(0x1a0)]);case _0x492c41(0x1ac):return this[_0x492c41(0x1d9)][_0x492c41(0x1ac)](_0x14ee65,_0x4971d2[_0x492c41(0xe3)],_0x4971d2[_0x492c41(0x253)]);case'updateViewConfig':return this[_0x492c41(0x1d9)][_0x492c41(0x2ab)](_0x14ee65,_0x4971d2['tableId'],_0x4971d2[_0x492c41(0x253)],_0x4971d2[_0x492c41(0x211)]);default:return ri(_0x4971d2);}}[_0x224170(0x15b)](_0x370124){const _0x5b0c87=_0x224170;return{..._0x370124,'unitType':_0x5b0c87(0xf4)};}[_0x224170(0x2ef)](_0xe169ab,_0x36832a){const _0xd11b0c=_0x224170;return this[_0xd11b0c(0x2f9)][_0xd11b0c(0x2ef)](_0xe169ab,_0x36832a);}[_0x224170(0x142)](_0x232a74,_0x19317a){const _0x55af9c=_0x224170;return this[_0x55af9c(0x2f9)][_0x55af9c(0x142)](_0x232a74,_0x19317a);}[_0x224170(0x2a2)](_0x74e53f){const _0x4f0352=_0x224170;return this[_0x4f0352(0x2f9)][_0x4f0352(0x2a2)](_0x74e53f);}};function ri(_0xa0f9e2){const _0x58bb34=_0x224170;throw Error(_0x58bb34(0x213)+_0xa0f9e2[_0x58bb34(0x131)]);}var ii=_0x224170(0x19f),ai=_0x224170(0x295);let oi=class extends _0x21b431{constructor(_0x49804d,_0x5167cc,_0x2c5744){const _0x29d59a=_0x224170;super(),this[_0x29d59a(0x1fc)]=_0x49804d,this['_univerInstanceService']=_0x5167cc,this[_0x29d59a(0x2e7)]=_0x2c5744,R(this,_0x29d59a(0x21c),new zr()),this[_0x29d59a(0x107)]();}[_0x224170(0x107)](){const _0x3c647e=_0x224170;this['_univerInstanceService'][_0x3c647e(0x2dd)](_0x33e944['UNIVER_BASE'])[_0x3c647e(0x262)](_0xb5b33=>{const _0x3b81da=_0x3c647e;this[_0x3b81da(0x1fe)](_0xb5b33);}),this[_0x3c647e(0x296)](this[_0x3c647e(0xf9)][_0x3c647e(0x28f)](_0x33e944[_0x3c647e(0x12a)])[_0x3c647e(0x120)](({unit:_0x3a72bc})=>{const _0x585f1a=_0x3c647e;this[_0x585f1a(0x1fe)](_0x3a72bc);})),this[_0x3c647e(0x296)](this[_0x3c647e(0x1fc)]['onCommandExecuted'](_0x4d90ff=>this[_0x3c647e(0x1ca)](_0x4d90ff)));}[_0x224170(0x1ca)](_0x2efb3a){const _0x47351f=_0x224170;if(!this[_0x47351f(0x249)](_0x2efb3a))return;let _0xd68ebd=_0x2efb3a[_0x47351f(0x288)];(_0xd68ebd!=null&&_0xd68ebd[_0x47351f(0xf6)]?[this[_0x47351f(0xf9)]['getUnit'](_0xd68ebd[_0x47351f(0xf6)],_0x33e944[_0x47351f(0x12a)])]['filter'](_0x470df4=>!!_0x470df4):this[_0x47351f(0xf9)]['getAllUnitsForType'](_0x33e944[_0x47351f(0x12a)]))[_0x47351f(0x262)](_0x1e6ded=>this[_0x47351f(0x1fe)](_0x1e6ded));}['_shouldRefreshSuperTables'](_0x3b4408){const _0x2587ba=_0x224170;var _0x26e11e;if(_0x3b4408['id']!==q['id'])return!0x1;let _0x3f2911=(_0x26e11e=_0x3b4408[_0x2587ba(0x288)])==null?void 0x0:_0x26e11e['op'];return!_0x3f2911||J(_0x3f2911)[_0x2587ba(0x346)](_0x22cf09=>_0x22cf09[_0x2587ba(0x1c9)]!==_0x2587ba(0xc7));}[_0x224170(0x1fe)](_0xd4f840){const _0x19540f=_0x224170;this[_0x19540f(0x2e7)]&&this['_formulaService'][_0x19540f(0x260)](this[_0x19540f(0x2e7)],_0xd4f840[_0x19540f(0xc5)]());}};oi=B([z(0x0,_0x430051),z(0x1,_0x1f98b4),z(0x2,_0x396135(_0x456517))],oi);const si=_0x318fd3(_0x224170(0x1bf));let ci=class{constructor(_0x2563fc){this['_univerInstanceService']=_0x2563fc;}[_0x224170(0x2c6)](_0x322fd8){const _0x5a1816=_0x224170;var _0x3212f0;return(_0x3212f0=this[_0x5a1816(0xf9)][_0x5a1816(0x119)](_0x322fd8,_0x33e944[_0x5a1816(0x12a)]))==null?null:_0x3212f0;}[_0x224170(0x320)](){const _0x1111a7=_0x224170;return this['_univerInstanceService'][_0x1111a7(0x2dd)](_0x33e944['UNIVER_BASE']);}[_0x224170(0xae)](_0x36aea9){const _0x4f92d7=_0x224170;return this[_0x4f92d7(0xf9)][_0x4f92d7(0xb0)](_0x33e944[_0x4f92d7(0x12a)],_0x36aea9);}};ci=B([z(0x0,_0x1f98b4)],ci);const li=_0x318fd3(_0x224170(0x342));var ui=class extends _0x21b431{constructor(..._0x1bec4d){const _0x244d7f=_0x224170;super(..._0x1bec4d),R(this,_0x244d7f(0xdd),new Map());}[_0x224170(0x299)](_0x53497f){const _0x423426=_0x224170;return this['_plugins'][_0x423426(0x32e)](_0x53497f[_0x423426(0x131)],_0x53497f),_0x479d4d(()=>this['_plugins'][_0x423426(0x2b1)](_0x53497f[_0x423426(0x131)]));}[_0x224170(0x2e8)](_0x2bf123){const _0x7c959=_0x224170;let _0x2cfadc=this['_plugins'][_0x7c959(0x2e8)](_0x2bf123);if(!_0x2cfadc)throw Error(_0x7c959(0x143)+_0x2bf123+_0x7c959(0x22a));return _0x2cfadc;}[_0x224170(0x1de)](){const _0x54b8f6=_0x224170;return Array[_0x54b8f6(0x2fa)](this[_0x54b8f6(0xdd)][_0x54b8f6(0x112)]());}};const di=_0x224170(0xd2),fi=[q];let Z=class extends _0x1d9b6c{constructor(_0x2f444f={},_0x372803,_0x12c65e,_0x5ef426,_0x59d2ce){const _0x4eee30=_0x224170;super(),this[_0x4eee30(0x13a)]=_0x2f444f,this[_0x4eee30(0x32c)]=_0x372803,this['_commandService']=_0x12c65e,this[_0x4eee30(0xf9)]=_0x5ef426,this[_0x4eee30(0x2f5)]=_0x59d2ce,R(this,_0x4eee30(0x101),new Map()),this['_univerInstanceService'][_0x4eee30(0xe7)](_0x33e944[_0x4eee30(0x12a)],_0x4e4920),this[_0x4eee30(0x281)](),this[_0x4eee30(0x1ad)](),this['_initRegistries'](),this[_0x4eee30(0x336)]();}[_0x224170(0x163)](){const _0x5c823d=_0x224170;_0xaff1d2(this[_0x5c823d(0x32c)],[[ci],[H],[Y],[X]]),this[_0x5c823d(0xf9)]['getAllUnitsForType'](_0x33e944[_0x5c823d(0x12a)])[_0x5c823d(0x262)](_0x590466=>this[_0x5c823d(0x17b)](_0x590466[_0x5c823d(0x1fd)]()));}[_0x224170(0x281)](){const _0x296b5b=_0x224170;[[Wt,{'useClass':Gt}],[li,{'useClass':ui}],[sn,{'useClass':ln}],[si,{'useClass':ci}],[Kt,{'useClass':qt}],[V,{'useClass':H}],[Y],[X]][_0x296b5b(0x262)](_0x444fe5=>this[_0x296b5b(0x32c)][_0x296b5b(0x349)](_0x444fe5));}[_0x224170(0x1ad)](){const _0x542a42=_0x224170;[Un,gr,sr,Dr,br,yr,Hn,Rn,or,zn,ur,jr,Vn,lr,kr,Or,Bn,ar,mr,ir,dr,_r,cr,hr,Mr,vr,Ar,wr,Er,Tr,Sr,Cr,xr,...fi][_0x542a42(0x262)](_0x323f37=>this[_0x542a42(0x296)](this[_0x542a42(0x1fc)][_0x542a42(0x127)](_0x323f37))),fi[_0x542a42(0x262)](_0x408200=>{const _0x388800=_0x542a42;var _0x436d9c;return(_0x436d9c=this[_0x388800(0x2f5)])==null?void 0x0:_0x436d9c['registerSyncingMutations'](_0x408200);});}[_0x224170(0x336)](){const _0x5a2b94=_0x224170;this[_0x5a2b94(0x2f5)]&&(this[_0x5a2b94(0x296)](this[_0x5a2b94(0xf9)][_0x5a2b94(0x28f)](_0x33e944[_0x5a2b94(0x12a)])['subscribe'](({unit:_0x5f267d})=>{const _0x523716=_0x5a2b94;this[_0x523716(0x17b)](_0x5f267d[_0x523716(0x1fd)]());})),this[_0x5a2b94(0x296)](this['_univerInstanceService'][_0x5a2b94(0x2c8)](_0x33e944['UNIVER_BASE'])[_0x5a2b94(0x120)](_0x4e43a0=>{const _0x52a5ea=_0x5a2b94;var _0x21b33b;(_0x21b33b=this['_baseSyncDisposables']['get'](_0x4e43a0['getUnitId']()))==null||_0x21b33b[_0x52a5ea(0x18b)](),this[_0x52a5ea(0x101)]['delete'](_0x4e43a0[_0x52a5ea(0x1fd)]());})));}[_0x224170(0x17b)](_0x5a7f82){const _0x3c336b=_0x224170;!this[_0x3c336b(0x2f5)]||this[_0x3c336b(0x101)]['has'](_0x5a7f82)||this[_0x3c336b(0x101)]['set'](_0x5a7f82,this['_dataSyncPrimaryController'][_0x3c336b(0xb2)](_0x5a7f82));}[_0x224170(0x16f)](){const _0x350ee0=_0x224170;let _0x17d640=this[_0x350ee0(0x32c)][_0x350ee0(0x2e8)](Wt);Ct()[_0x350ee0(0x262)](_0x5112a8=>_0x17d640[_0x350ee0(0x299)](_0x5112a8));let _0xafc4d7=this[_0x350ee0(0x32c)][_0x350ee0(0x2e8)](li),_0x5b5e09=this[_0x350ee0(0x32c)][_0x350ee0(0x2e8)](sn);tn()[_0x350ee0(0x262)](_0x382f27=>{const _0x4a5cec=_0x350ee0;_0xafc4d7['register'](_0x382f27),_0x5b5e09[_0x4a5cec(0x234)](_0x382f27);});}};R(Z,'pluginName',di),R(Z,_0x224170(0x34a),ii),R(Z,'version',ai),R(Z,'type',_0x33e944['UNIVER_BASE']),Z=B([_0x544c82(_0xdd1e76,_0x1dc504),z(0x1,_0x5f4e98(_0x85c3f3)),z(0x2,_0x430051),z(0x3,_0x1f98b4),z(0x4,_0x396135(_0x294c64))],Z);let Q=class extends _0x1d9b6c{constructor(_0x3e50f3={},_0x108fb7,_0x4c2122,_0x253b82){const _0xecfd74=_0x224170;super(),this[_0xecfd74(0x13a)]=_0x3e50f3,this[_0xecfd74(0x32c)]=_0x108fb7,this['_commandService']=_0x4c2122,this[_0xecfd74(0xf9)]=_0x253b82,this[_0xecfd74(0xf9)]['registerCtorForType'](_0x33e944['UNIVER_BASE'],_0x4e4920),this[_0xecfd74(0x32c)][_0xecfd74(0x349)]([oi]),fi[_0xecfd74(0x262)](_0x34eada=>this[_0xecfd74(0x296)](this[_0xecfd74(0x1fc)][_0xecfd74(0x127)](_0x34eada)));}[_0x224170(0x163)](){const _0x255540=_0x224170;_0xaff1d2(this[_0x255540(0x32c)],[[oi]]);}};R(Q,'pluginName',_0x224170(0x19d)),R(Q,_0x224170(0x34a),ii),R(Q,_0x224170(0x29e),ai),R(Q,_0x224170(0x131),_0x33e944['UNIVER_BASE']),Q=B([_0x544c82(_0x1dc504),z(0x1,_0x5f4e98(_0x85c3f3)),z(0x2,_0x430051),z(0x3,_0x1f98b4)],Q);function pi(_0x5bfccd){const _0x10d598=_0x224170;let _0x35184b=Ei(_0x5bfccd[_0x10d598(0x321)]);if(!_0x35184b)return{'query':'','total':0x0,'matches':[]};let _0x4a4682=[],_0x27ceeb=_0x5bfccd['fieldIds'][_0x10d598(0x2bf)]((_0x245fe0,_0x212e85)=>({'field':_0x5bfccd[_0x10d598(0x273)][_0x10d598(0x147)][_0x245fe0],'fieldIndex':_0x212e85}))[_0x10d598(0x2a9)](_0x534c53=>!!(_0x534c53[_0x10d598(0x1a3)]&&!_0x534c53[_0x10d598(0x1a3)][_0x10d598(0x214)]));_0x5bfccd['rows'][_0x10d598(0x262)]((_0x3e4248,_0xc46eb9)=>{const _0x4dccda=_0x10d598;_0x27ceeb[_0x4dccda(0x262)](({field:_0x45bd8f,fieldIndex:_0xd0b627})=>{const _0xcd7f7e=_0x4dccda;let _0x28790f=mi(_0x3e4248[_0xcd7f7e(0x112)][_0x45bd8f['id']],_0x45bd8f);if(!_0x28790f)return;let _0x17d7d9=Ti(_0x35184b,_0x28790f[_0xcd7f7e(0xd7)]);_0x17d7d9<=0x0||_0x4a4682[_0xcd7f7e(0x14d)]({'recordId':_0x3e4248[_0xcd7f7e(0x303)],'fieldId':_0x45bd8f['id'],'fieldType':_0x45bd8f[_0xcd7f7e(0x131)],'text':_0x28790f['displayText'],'score':_0x17d7d9,'rowIndex':_0xc46eb9,'fieldIndex':_0xd0b627});});}),_0x4a4682[_0x10d598(0x284)]((_0x32ddc1,_0x1fa41a)=>_0x1fa41a[_0x10d598(0x203)]-_0x32ddc1[_0x10d598(0x203)]||_0x32ddc1['rowIndex']-_0x1fa41a['rowIndex']||_0x32ddc1[_0x10d598(0x27b)]-_0x1fa41a[_0x10d598(0x27b)]);let _0x163257=_0x5bfccd[_0x10d598(0x134)]==null?_0x4a4682:_0x4a4682[_0x10d598(0x177)](0x0,Math[_0x10d598(0x12b)](0x0,_0x5bfccd[_0x10d598(0x134)]));return{'query':_0x35184b,'total':_0x4a4682[_0x10d598(0xe2)],'matches':_0x163257[_0x10d598(0x2bf)](({rowIndex:_0x161e0d,fieldIndex:_0x5ee791,..._0x3bf640})=>_0x3bf640)};}function mi(_0x84ad6,_0x2fafb1){const _0x76dbcf=_0x224170;let _0x11b7a3=gi(_0x84ad6,_0x2fafb1)['map'](Ei)['filter'](Boolean);return _0x11b7a3[_0x76dbcf(0xe2)]?{'displayText':hi(_0x84ad6,_0x2fafb1),'searchTexts':Di(_0x11b7a3)}:null;}function hi(_0xe7245d,_0x50ed3e){const _0x45c846=_0x224170;switch(_0x50ed3e[_0x45c846(0x131)]){case _0x45c846(0x33e):case _0x45c846(0x2f8):case _0x45c846(0x1d6):return _i(_0xe7245d,_0x50ed3e)[_0x45c846(0x132)](',\x20');case _0x45c846(0x266):return bi(_0xe7245d);case _0x45c846(0xca):case _0x45c846(0x24c):case _0x45c846(0x1c3):return xi(_0xe7245d,_0x50ed3e);case _0x45c846(0x255):case'currency':return Si(_0xe7245d,_0x50ed3e);case _0x45c846(0x1b1):return Ci(_0xe7245d,_0x50ed3e);case _0x45c846(0x34d):return _0xe7245d?'Checked':'Unchecked';case _0x45c846(0xee):return wi(_0xe7245d)[_0x45c846(0x132)](',\x20');default:return $(_0xe7245d);}}function gi(_0x196615,_0x673c5a){const _0x52c53c=_0x224170;switch(_0x673c5a[_0x52c53c(0x131)]){case'singleSelect':case'multiSelect':case'group':{let _0x333e9b=_i(_0x196615,_0x673c5a),_0x1660e0=Array['isArray'](_0x196615)?_0x196615[_0x52c53c(0x2bf)](String):_0x196615==null?[]:[String(_0x196615)];return[..._0x333e9b,..._0x1660e0];}case _0x52c53c(0x266):{let _0x31bae8=yi(_0x196615);return[_0x31bae8[_0x52c53c(0x208)],_0x31bae8[_0x52c53c(0x20b)]];}case _0x52c53c(0xca):case'createdAt':case _0x52c53c(0x1c3):return[xi(_0x196615,_0x673c5a),$(_0x196615)];case _0x52c53c(0x255):case _0x52c53c(0x223):return[Si(_0x196615,_0x673c5a),$(_0x196615)];case _0x52c53c(0x1b1):return[Ci(_0x196615,_0x673c5a),$(_0x196615)];case _0x52c53c(0x34d):return _0x196615?[_0x52c53c(0x2a0),_0x52c53c(0xef),_0x52c53c(0x100)]:[_0x52c53c(0x150),'No',_0x52c53c(0x32d)];case'attachment':return wi(_0x196615);default:return[$(_0x196615)];}}function _i(_0x55d87d,_0x5039f0){const _0x503867=_0x224170;var _0x3a8c62;let _0x3b5891=Array[_0x503867(0x278)]((_0x3a8c62=_0x5039f0[_0x503867(0x1aa)])==null?void 0x0:_0x3a8c62[_0x503867(0x236)])?_0x5039f0[_0x503867(0x1aa)][_0x503867(0x236)]:[];return(Array[_0x503867(0x278)](_0x55d87d)?_0x55d87d['map'](String):_0x55d87d==null?[]:[String(_0x55d87d)])['filter'](Boolean)[_0x503867(0x2bf)](_0x5a94b6=>vi(_0x3b5891,_0x5a94b6));}function vi(_0x576092,_0x1b56a8){const _0x896d2a=_0x224170;for(let _0x4c1235 of _0x576092){if(typeof _0x4c1235=='string'&&_0x4c1235===_0x1b56a8)return _0x4c1235;if(_0x4c1235&&typeof _0x4c1235==_0x896d2a(0x1b2)){var _0x34ae98,_0x261b93,_0xdaf226;let _0x238832=_0x4c1235;if(String((_0x34ae98=(_0x261b93=_0x238832['id'])==null?_0x238832[_0x896d2a(0x15e)]:_0x261b93)==null?'':_0x34ae98)===_0x1b56a8||String((_0xdaf226=_0x238832['name'])==null?'':_0xdaf226)===_0x1b56a8){var _0x48a64e,_0x386a24;return String((_0x48a64e=(_0x386a24=_0x238832[_0x896d2a(0x15e)])==null?_0x238832['id']:_0x386a24)==null?_0x1b56a8:_0x48a64e);}}}return _0x1b56a8;}function yi(_0x1aee38){const _0x20ca31=_0x224170;if(_0x1aee38&&typeof _0x1aee38=='object'&&!Array[_0x20ca31(0x278)](_0x1aee38)){var _0xce143c,_0x452cfc,_0x16c483;let _0x1ca388=_0x1aee38;return{'text':String((_0xce143c=(_0x452cfc=_0x1ca388['text'])==null?_0x1ca388[_0x20ca31(0x20b)]:_0x452cfc)==null?'':_0xce143c),'url':String((_0x16c483=_0x1ca388[_0x20ca31(0x20b)])==null?'':_0x16c483)};}return{'text':$(_0x1aee38),'url':$(_0x1aee38)};}function bi(_0x1a3ffa){let _0x2f79ad=yi(_0x1a3ffa);return _0x2f79ad['text']||_0x2f79ad['url'];}function xi(_0x576d78,_0x456ce8){const _0x103bf1=_0x224170;return typeof _0x576d78!=_0x103bf1(0x255)||!Number[_0x103bf1(0x34b)](_0x576d78)?'':et(_0x576d78,_0x456ce8[_0x103bf1(0x1aa)]);}function Si(_0x51b059,_0x1d6e94){const _0x1e97f5=_0x224170;let _0x49dea3=typeof _0x51b059=='number'?_0x51b059:Number(_0x51b059);return Number[_0x1e97f5(0x34b)](_0x49dea3)?Xr(_0x49dea3,_0x1d6e94[_0x1e97f5(0x1aa)]):'';}function Ci(_0x33e609,_0x5d2c09){const _0x267ce3=_0x224170;var _0x11d16c;let _0x4b9094=typeof _0x33e609=='number'?_0x33e609:Number(_0x33e609);if(!Number['isFinite'](_0x4b9094))return'';let _0x12010a=(_0x11d16c=_0x5d2c09[_0x267ce3(0x1aa)])==null?{}:_0x11d16c,_0x498c6a=_0x12010a[_0x267ce3(0x169)]===0x1||_0x12010a[_0x267ce3(0x169)]===0x2?_0x12010a['decimalPlaces']:0x0,_0x4a751b=_0x4b9094['toFixed'](_0x498c6a);return _0x12010a[_0x267ce3(0x222)]===_0x267ce3(0x255)?_0x4a751b:_0x4a751b+'%';}function wi(_0x3abade){const _0x4aae0c=_0x224170;return Array['isArray'](_0x3abade)?_0x3abade[_0x4aae0c(0xe0)](_0x414fed=>{const _0x341e3f=_0x4aae0c;var _0x418416,_0x1863a8;if(!_0x414fed||typeof _0x414fed!='object')return[];let _0x5b85f7=_0x414fed,_0x660196=String((_0x418416=(_0x1863a8=_0x5b85f7[_0x341e3f(0x15e)])==null?_0x5b85f7[_0x341e3f(0x20b)]:_0x1863a8)==null?'':_0x418416)[_0x341e3f(0x332)]();return _0x660196?[_0x660196]:[];}):[];}function $(_0x2a002c){const _0x4df9ab=_0x224170;if(_0x2a002c==null)return'';if(typeof _0x2a002c==_0x4df9ab(0x1eb))return _0x2a002c?_0x4df9ab(0x1c6):'false';if(typeof _0x2a002c==_0x4df9ab(0x255))return String(_0x2a002c);if(Array[_0x4df9ab(0x278)](_0x2a002c))return _0x2a002c[_0x4df9ab(0x2bf)](_0x5bd22a=>$(_0x5bd22a))[_0x4df9ab(0x2a9)](Boolean)[_0x4df9ab(0x132)](',\x20');if(typeof _0x2a002c==_0x4df9ab(0x1b2)){var _0x15d338,_0x2bd5bd,_0x10716a,_0x5c9d17;let _0x28a76d=_0x2a002c;return String((_0x15d338=(_0x2bd5bd=(_0x10716a=(_0x5c9d17=_0x28a76d[_0x4df9ab(0x275)])==null?_0x28a76d[_0x4df9ab(0x15e)]:_0x5c9d17)==null?_0x28a76d[_0x4df9ab(0x208)]:_0x10716a)==null?_0x28a76d['url']:_0x2bd5bd)==null?'':_0x15d338)[_0x4df9ab(0x332)]();}return String(_0x2a002c);}function Ti(_0x1da60b,_0x5adaed){const _0x21efbe=_0x224170;let _0x72033f=0x0;for(let _0x2e998b of _0x5adaed)if(_0x2e998b){if(_0x2e998b===_0x1da60b){_0x72033f=Math['max'](_0x72033f,0x12c);continue;}if(_0x2e998b[_0x21efbe(0x1e0)](_0x1da60b)){_0x72033f=Math[_0x21efbe(0x12b)](_0x72033f,0xfa);continue;}_0x2e998b['includes'](_0x1da60b)&&(_0x72033f=Math[_0x21efbe(0x12b)](_0x72033f,0xc8));}return _0x72033f;}function Ei(_0xe636a7){const _0x398a96=_0x224170;return _0xe636a7[_0x398a96(0x332)]()['replace'](/\s+/g,'\x20')[_0x398a96(0x27f)]();}function Di(_0x1eb481){return Array['from'](new Set(_0x1eb481));}function Oi(_0x587dab){const _0x5f188d=_0x224170;return{'compress':!0x0,'kind':_0x5f188d(0x195),'u':_0x587dab[_0x5f188d(0xf6)],'t':_0x587dab[_0x5f188d(0xe3)],'p':_0x587dab[_0x5f188d(0x244)]['map'](_0x481dee=>[_0x481dee[_0x5f188d(0x20f)],_0x481dee[_0x5f188d(0x141)],Ri(_0x481dee[_0x5f188d(0x171)])])};}function ki(_0x3f0e35){const _0x3c8fd2=_0x224170;return Ai(_0x3f0e35)?{'unitId':_0x3f0e35['u'],'tableId':_0x3f0e35['t'],'patches':_0x3f0e35['p'][_0x3c8fd2(0x2bf)](([_0x473d0f,_0x1c780c,_0x54bd09])=>({'row':_0x473d0f,'col':_0x1c780c,'value':zi(_0x54bd09)}))}:_0x3f0e35;}function Ai(_0x3ab28d){const _0x5697ad=_0x224170;return!!_0x3ab28d&&typeof _0x3ab28d==_0x5697ad(0x1b2)&&_0x3ab28d['kind']==='base-range-values-v1';}function ji(_0x2390ab){const _0x1d45ab=_0x224170;return{..._0x2390ab,'compress':!0x0,'kind':_0x1d45ab(0x301),'tables':Object[_0x1d45ab(0x359)](Object[_0x1d45ab(0x333)](_0x2390ab[_0x1d45ab(0x10e)])['map'](([_0x54518c,_0x2a9253])=>[_0x54518c,Pi(_0x2a9253)]))};}function Mi(_0x506ba0){const _0x57ea1c=_0x224170;if(!Ni(_0x506ba0))return _0x506ba0;let {compress:_0x271c90,kind:_0x58a83d,tables:_0x5e7e47,..._0x4ab890}=_0x506ba0;return{..._0x4ab890,'tables':Object[_0x57ea1c(0x359)](Object[_0x57ea1c(0x333)](_0x5e7e47)[_0x57ea1c(0x2bf)](([_0x34c95a,_0x12f364])=>[_0x34c95a,Fi(_0x12f364)]))};}function Ni(_0x2c9096){const _0x3c929c=_0x224170;return!!_0x2c9096&&typeof _0x2c9096==_0x3c929c(0x1b2)&&_0x2c9096['kind']==='base-snapshot-v1';}function Pi(_0x13d866){let {cellData:_0x1dbc70,..._0x246fb3}=_0x13d866,_0x59a1d2=Ii(_0x1dbc70);return _0x59a1d2['length']?{..._0x246fb3,'cd':_0x59a1d2}:_0x246fb3;}function Fi(_0x16b956){let {cd:_0x3e77bc,..._0x314229}=_0x16b956;return{..._0x314229,'cellData':Li(_0x3e77bc)};}function Ii(_0x574539){const _0x1247fb=_0x224170;return _0x574539?Object[_0x1247fb(0x333)](_0x574539)['flatMap'](([_0x493c86,_0x1ed0b9])=>Object['entries'](_0x1ed0b9==null?{}:_0x1ed0b9)['map'](([_0x485fc4,_0x30de19])=>[Number(_0x493c86),Number(_0x485fc4),Bi(_0x30de19)])):[];}function Li(_0x2573dc){let _0x5de0d6={};for(let [_0x3ed2cd,_0x5737fd,_0x265a0f]of _0x2573dc==null?[]:_0x2573dc){var _0x140e93;_0x5de0d6[_0x3ed2cd]=(_0x140e93=_0x5de0d6[_0x3ed2cd])==null?{}:_0x140e93,_0x5de0d6[_0x3ed2cd][_0x5737fd]=Vi(_0x265a0f);}return _0x5de0d6;}function Ri(_0x39c1dc){return Hi(_0x39c1dc)?Bi(_0x39c1dc):_0x39c1dc;}function zi(_0x4e873f){return Ui(_0x4e873f)?Vi(_0x4e873f):_0x4e873f;}function Bi(_0x718f69){return{'c':0x1,..._0x718f69['v']===void 0x0?{}:{'v':_0x718f69['v']},..._0x718f69['t']!==void 0x0&&_0x718f69['t']!==null?{'t':_0x718f69['t']}:_0x718f69['t']===null?{'t':null}:{},..._0x718f69['f']!==void 0x0&&_0x718f69['f']!==null?{'f':_0x718f69['f']}:_0x718f69['f']===null?{'f':null}:{},..._0x718f69['si']!==void 0x0&&_0x718f69['si']!==null?{'si':_0x718f69['si']}:_0x718f69['si']===null?{'si':null}:{},..._0x718f69['p']!==void 0x0&&_0x718f69['p']!==null?{'p':_0x718f69['p']}:_0x718f69['p']===null?{'p':null}:{}};}function Vi(_0x340e58){return{..._0x340e58['v']===void 0x0?{}:{'v':_0x340e58['v']},..._0x340e58['t']===void 0x0?{}:{'t':_0x340e58['t']},..._0x340e58['f']===void 0x0?{}:{'f':_0x340e58['f']},..._0x340e58['si']===void 0x0?{}:{'si':_0x340e58['si']},..._0x340e58['p']===void 0x0?{}:{'p':_0x340e58['p']}};}function Hi(_0x2d82f1){const _0x1716f6=_0x224170;return!!_0x2d82f1&&typeof _0x2d82f1==_0x1716f6(0x1b2)&&!Array['isArray'](_0x2d82f1)&&(Object[_0x1716f6(0x1b3)][_0x1716f6(0x28b)]['call'](_0x2d82f1,'v')||Object[_0x1716f6(0x1b3)]['hasOwnProperty'][_0x1716f6(0x182)](_0x2d82f1,'t')||Object['prototype'][_0x1716f6(0x28b)][_0x1716f6(0x182)](_0x2d82f1,'p')||Object[_0x1716f6(0x1b3)][_0x1716f6(0x28b)][_0x1716f6(0x182)](_0x2d82f1,'f')||Object[_0x1716f6(0x1b3)][_0x1716f6(0x28b)][_0x1716f6(0x182)](_0x2d82f1,'si'));}function Ui(_0x43a291){return!!_0x43a291&&typeof _0x43a291=='object'&&!Array['isArray'](_0x43a291)&&_0x43a291['c']===0x1;}export{q as ApplyBaseJson1Mutation,di as BASES_PLUGIN_NAME,fi as BASE_SYNC_MUTATIONS,Y as BaseActiveDirtyController,H as BaseCommandService,Gt as BaseFieldRegistryService,X as BaseFormulaCalculationController,zr as BaseFormulaService,ni as BaseJson1Adapter,O as BaseJson1OpApplier,I as BaseJson1OpFactory,qt as BasePermissionService,ln as BaseProjectionService,ci as BaseResourceService,ui as BaseViewRegistryService,Rn as BatchCreateBaseRecordsCommand,zn as BatchDeleteBaseRecordsCommand,Bn as ChangeBaseFieldTypeCommand,Vn as CreateBaseFieldCommand,Hn as CreateBaseRecordCommand,Un as CreateBaseTableCommand,ir as CreateBaseViewCommand,ar as DeleteBaseFieldCommand,or as DeleteBaseRecordCommand,sr as DeleteBaseTableCommand,cr as DeleteBaseViewCommand,lr as DuplicateBaseFieldCommand,ur as DuplicateBaseRecordCommand,dr as EnsureBaseTemporalViewDateFieldsCommand,V as IBaseCommandService,Wt as IBaseFieldRegistryService,Kt as IBasePermissionService,sn as IBaseProjectionService,si as IBaseResourceService,li as IBaseViewRegistryService,mr as MoveBaseFieldCommand,hr as MoveBaseViewCommand,gr as RenameBaseTableCommand,_r as RenameBaseViewCommand,vr as SetBaseKanbanGroupFieldCommand,yr as SetBaseRangeValuesCommand,br as SetBaseRecordValuesCommand,xr as SetBaseViewFieldOrderCommand,Sr as SetBaseViewFieldVisibleCommand,Cr as SetBaseViewFieldWidthCommand,wr as SetBaseViewFilterCommand,Tr as SetBaseViewGroupCommand,Er as SetBaseViewSortCommand,Z as UniverBasesPlugin,Q as UniverRemoteBasesPlugin,Dr as UpdateBaseCellCommand,kr as UpdateBaseFieldCommand,Or as UpdateBaseFieldDescriptionCommand,Ar as UpdateBaseKanbanConfigCommand,jr as UpdateBaseRecordOrderCommand,Mr as UpdateBaseViewConfigCommand,j as baseDateSerialToDateMs,P as baseJson1Path,Yr as buildBaseNumberFormatPattern,F as composeJson1Ops,Oi as compressBaseRangeValuesPayload,ji as compressBaseSnapshot,ti as copyBaseTableSnapshot,Br as createBaseFormulaCalculationDataset,Vr as createBaseFormulaResultPatches,Pr as createBaseStructureDirtySuperTableMap,Ct as createCoreFieldPlugins,tn as createCoreViewPlugins,k as dateToExcelSerial,ki as decompressBaseRangeValuesPayload,Mi as decompressBaseSnapshot,C as ensureBaseTableCellLayout,$e as excelSerialToDateMs,et as formatBaseDateValue,Xr as formatBaseNumberValue,T as fromBaseCellData,Ee as getBaseAttachmentResourceKey,ye as getBaseCell,xe as getBaseCellFormulaValue,be as getBaseCellValue,J as getBaseInvalidationsFromJson1,ei as inferBaseSeparatorStyle,x as isBasePerformanceTracingEnabled,Ai as isCompressedBaseRangeValuesPayload,Ni as isCompressedBaseSnapshot,de as logBasePerformance,at as matchesBaseCondition,E as normalizeAttachmentValue,A as normalizeBaseDateSerial,Oe as readAttachmentResources,pi as searchBaseTable,Se as setBaseCell,Nr as setBaseRangeValuesToDirtyRanges,w as toBaseCellData,we as toBaseRecordValue,S as traceBasePerformance,ue as traceBasePerformanceAsync,Wn as uniqueFieldName,De as writeAttachmentResources};
|
|
1
|
+
const _0x16d78d=_0xf159;(function(_0x119b5f,_0x2424bd){const _0x2c617b=_0xf159,_0x4e1471=_0x119b5f();while(!![]){try{const _0x581a00=parseInt(_0x2c617b(0x242))/0x1*(parseInt(_0x2c617b(0x340))/0x2)+parseInt(_0x2c617b(0x2fe))/0x3+-parseInt(_0x2c617b(0x1e1))/0x4*(parseInt(_0x2c617b(0x332))/0x5)+-parseInt(_0x2c617b(0x283))/0x6*(-parseInt(_0x2c617b(0x17d))/0x7)+-parseInt(_0x2c617b(0xd4))/0x8*(parseInt(_0x2c617b(0x19e))/0x9)+parseInt(_0x2c617b(0x1a2))/0xa+-parseInt(_0x2c617b(0x290))/0xb*(parseInt(_0x2c617b(0x116))/0xc);if(_0x581a00===_0x2424bd)break;else _0x4e1471['push'](_0x4e1471['shift']());}catch(_0x5cda82){_0x4e1471['push'](_0x4e1471['shift']());}}}(_0x72cc,0xaa985));import{BaseDataModel as _0x2687e8,BaseFieldType as _0x3d85e5,BaseFilterConjunction as _0x5c5bdc,BaseSortDirection as _0x2bad6f,BaseViewType as _0x4f7ceb,CellValueType as _0x2e3f0c,CommandType as _0x567a9a,DependentOn as _0x3f308b,Disposable as _0x10a465,ICommandService as _0x4bf63b,IConfigService as _0x8e1870,IUndoRedoService as _0x157955,IUniverInstanceService as _0x4c4561,Inject as _0x2aaad9,Injector as _0x2d625e,JSON1 as _0x579b08,Optional as _0x21d5d7,Plugin as _0x1f1f96,Tools as _0xa49e00,UniverInstanceType as _0x45db82,createIdentifier as _0x2eeafa,dateKit as _0x328c7d,generateRandomId as _0x4fbb25,merge as _0x193490,numfmt as _0x57444b,regexp as _0x2c067b,toDisposable as _0x3f89c7,touchDependencies as _0x4000d7}from'@univerjs/core';import{FormulaCalculationTriggerService as _0x5c56ad,IActiveDirtyManagerService as _0x10efb7,RemoveSuperTableMutation as _0x1ccd1b,SetFormulaCalculationResultMutation as _0x3f42e8,SetSuperTableMutation as _0x41451e,UniverProFormulaEnginePlugin as _0x4ef977}from'@univerjs-pro/engine-formula';import{UniverLicensePlugin as _0x244464}from'@univerjs-pro/license';import{DataSyncPrimaryController as _0x2e756d}from'@univerjs/rpc';let pe=0x0;function me(){const _0x37fe82=_0xf159;if(globalThis[_0x37fe82(0x245)]===!0x0)return!0x0;try{let _0x2a21e3=typeof location>'u'?'':location['search'],_0x42cd01=new URLSearchParams(_0x2a21e3);if(_0x42cd01[_0x37fe82(0x36e)](_0x37fe82(0x28f))==='1'||_0x42cd01[_0x37fe82(0x36e)](_0x37fe82(0x28f))==='true'||_0x42cd01[_0x37fe82(0x36e)](_0x37fe82(0x367))==='1')return!0x0;}catch{}try{let _0x4fe868=typeof localStorage>'u'?null:localStorage[_0x37fe82(0x234)]('univer.basePerf');return _0x4fe868==='1'||_0x4fe868===_0x37fe82(0x25f);}catch{return!0x1;}}function C(_0xecd032,_0x29ecf2,_0x1cb956){const _0x1f66d9=_0xf159;if(!me())return _0x29ecf2();let _0x506605=ge(),_0x35585e='base-perf-'+pe++;_e(_0x35585e+_0x1f66d9(0x337));try{return _0x29ecf2();}finally{let _0x51077c=ge()-_0x506605;_e(_0x35585e+_0x1f66d9(0x2f5)),ve(_0xecd032,_0x35585e+':start',_0x35585e+_0x1f66d9(0x2f5)),he(_0xecd032,_0x51077c,_0x1cb956);}}function he(_0x411113,_0x43a2e7,_0x2a1c1a){const _0xb4f7d5=_0xf159;if(!me())return;let _0x4e9d2c=Math['round'](_0x43a2e7*0x64)/0x64,_0x6d7e5a=_0x2a1c1a&&Object[_0xb4f7d5(0x33a)](_0x2a1c1a)[_0xb4f7d5(0x1ee)]?'\x20'+JSON[_0xb4f7d5(0x1f5)](_0x2a1c1a):'';console[_0xb4f7d5(0x1c0)](_0xb4f7d5(0xd1)+_0x411113+':\x20'+_0x4e9d2c+'ms'+_0x6d7e5a);}function ge(){const _0x453fac=_0xf159;return typeof performance<'u'&&typeof performance[_0x453fac(0x176)]=='function'?performance[_0x453fac(0x176)]():Date[_0x453fac(0x176)]();}function _e(_0x2a4e88){const _0x5484ab=_0xf159;try{if(typeof performance<'u'){var _0xd23022,_0x232fb5;(_0xd23022=(_0x232fb5=performance)['mark'])==null||_0xd23022[_0x5484ab(0x16c)](_0x232fb5,_0x2a4e88);}}catch{}}function ve(_0x98bc30,_0x275234,_0x143af3){const _0x8e3c23=_0xf159;try{if(typeof performance<'u'){var _0x2ed449,_0x464247;(_0x2ed449=(_0x464247=performance)[_0x8e3c23(0x2e4)])==null||_0x2ed449[_0x8e3c23(0x16c)](_0x464247,_0x8e3c23(0xd1)+_0x98bc30,_0x275234,_0x143af3);}}catch{}}function w(_0x25a2ad){const _0x43bf48=_0xf159;var _0x4d9db6,_0x2ea095;return me()?C(_0x43bf48(0x20d),()=>ye(_0x25a2ad),{'tableId':_0x25a2ad['id'],'records':Object['keys']((_0x4d9db6=_0x25a2ad[_0x43bf48(0x26d)])==null?{}:_0x4d9db6)['length'],'fields':_0x25a2ad[_0x43bf48(0x301)][_0x43bf48(0x1ee)],'hasRecordOrder':!!((_0x2ea095=_0x25a2ad[_0x43bf48(0x158)])!=null&&_0x2ea095[_0x43bf48(0x1ee)])}):ye(_0x25a2ad);}function ye(_0x451c11){const _0x10b28f=_0xf159;var _0x10b175,_0x556f02,_0x569b31,_0x38500d,_0x37e3c0,_0x17948e,_0x42fe9c,_0xd92ce5,_0x50d0b3,_0x3417c4;let _0x2bb6de=(_0x10b175=_0x451c11[_0x10b28f(0x26d)])==null?{}:_0x10b175,_0x4e958d=(_0x556f02=_0x451c11[_0x10b28f(0x30b)])==null?{}:_0x556f02,_0x38c227=(_0x569b31=(_0x38500d=_0x451c11[_0x10b28f(0x158)])==null?void 0x0:_0x38500d[_0x10b28f(0x33b)](_0x4e6df8=>_0x2bb6de[_0x4e6df8]))==null?[]:_0x569b31,_0x9a76e0=new Set(_0x38c227),_0x2259ee=[];for(let _0x5f1575 of Object[_0x10b28f(0x10f)](_0x2bb6de))_0x9a76e0[_0x10b28f(0x277)](_0x5f1575['id'])||_0x2259ee['push'](_0x5f1575);let _0x131ba3=_0x2259ee[_0x10b28f(0x1ee)]?[..._0x38c227,...ze(_0x2259ee)]:_0x38c227,_0x5733e6=_0x451c11[_0x10b28f(0x301)][_0x10b28f(0x33b)](_0x14c46b=>_0x4e958d[_0x14c46b]),_0x2c7cd0={...(_0x37e3c0=_0x451c11[_0x10b28f(0xd7)])==null?{}:_0x37e3c0},_0x449734={...(_0x17948e=_0x451c11[_0x10b28f(0x15b)])==null?{}:_0x17948e},_0x4e5027={...(_0x42fe9c=_0x451c11[_0x10b28f(0x33e)])==null?{}:_0x42fe9c};return _0x451c11[_0x10b28f(0x158)]=_0x131ba3,_0x451c11[_0x10b28f(0x34b)]={},_0x451c11['rowId']={},_0x451c11[_0x10b28f(0x32b)]={},_0x451c11[_0x10b28f(0x15b)]={},_0x451c11['cellData']={},_0x451c11['resources']={...(_0xd92ce5=_0x451c11[_0x10b28f(0x326)])==null?{}:_0xd92ce5},_0x451c11[_0x10b28f(0x326)][_0x10b28f(0xb3)]={...(_0x50d0b3=_0x451c11[_0x10b28f(0x326)][_0x10b28f(0xb3)])==null?{}:_0x50d0b3},_0x451c11[_0x10b28f(0x326)][_0x10b28f(0x25a)]={...(_0x3417c4=_0x451c11['resources']['attachments'])==null?{}:_0x3417c4},_0x131ba3[_0x10b28f(0x165)]((_0x5809f4,_0x279daf)=>{const _0x580bbc=_0x10b28f;_0x451c11[_0x580bbc(0x34b)][_0x5809f4]=_0x279daf,_0x451c11[_0x580bbc(0xd7)][_0x279daf]=_0x5809f4;}),_0x5733e6['forEach']((_0x2e1f75,_0x328034)=>{const _0x244d51=_0x10b28f;_0x451c11[_0x244d51(0x32b)][_0x2e1f75]=_0x328034,_0x451c11[_0x244d51(0x15b)][_0x328034]=_0x2e1f75;}),Object['entries'](_0x4e5027)[_0x10b28f(0x165)](([_0x1261f1,_0x294be9])=>{const _0x4aa4aa=_0x10b28f;var _0x13f67d,_0x3270ac;let _0x3a1f66=Number(_0x1261f1),_0x3332cd=(_0x13f67d=_0x2c7cd0[_0x3a1f66])==null?_0x131ba3[_0x3a1f66]:_0x13f67d,_0x518ee9=_0x3332cd?_0x451c11[_0x4aa4aa(0x34b)][_0x3332cd]:void 0x0;_0x518ee9!=null&&(_0x451c11[_0x4aa4aa(0x33e)][_0x518ee9]={...(_0x3270ac=_0x451c11[_0x4aa4aa(0x33e)][_0x518ee9])==null?{}:_0x3270ac},Object[_0x4aa4aa(0x1d7)](_0x294be9==null?{}:_0x294be9)[_0x4aa4aa(0x165)](([_0x38dcf6,_0x175577])=>{const _0x78e381=_0x4aa4aa;var _0x446918;let _0x133b50=Number(_0x38dcf6),_0x3ad300=(_0x446918=_0x449734[_0x133b50])==null?_0x5733e6[_0x133b50]:_0x446918,_0x2af0f0=_0x3ad300?_0x451c11[_0x78e381(0x32b)][_0x3ad300]:void 0x0;_0x2af0f0!=null&&(_0x451c11[_0x78e381(0x33e)][_0x518ee9][_0x2af0f0]=De(_0x175577));}));}),Object[_0x10b28f(0x10f)](_0x2bb6de)[_0x10b28f(0x165)](_0x1b730f=>{const _0x433dd4=_0x10b28f;var _0x588f94,_0x3cbb14;let _0x9bd748=_0x451c11['rowIndex'][_0x1b730f['id']];_0x9bd748!=null&&(_0x451c11[_0x433dd4(0x33e)][_0x9bd748]={...(_0x588f94=_0x451c11[_0x433dd4(0x33e)][_0x9bd748])==null?{}:_0x588f94},Object[_0x433dd4(0x1d7)]((_0x3cbb14=_0x1b730f['values'])==null?{}:_0x3cbb14)[_0x433dd4(0x165)](([_0x14cf09,_0xbe1dcf])=>{const _0xd8cb3d=_0x433dd4;let _0x88a3ce=_0x4e958d[_0x14cf09];(_0x88a3ce==null?void 0x0:_0x88a3ce[_0xd8cb3d(0x14a)])===_0x3d85e5[_0xd8cb3d(0x18d)]&&Me(_0x451c11,_0x1b730f['id'],_0x14cf09,_0xbe1dcf);let _0x17c146=_0x451c11['colIndex'][_0x14cf09];if(_0x17c146==null)return;let _0x343b7b=_0x451c11[_0xd8cb3d(0x33e)][_0x9bd748][_0x17c146];if(_0x343b7b!=null){Fe(_0x343b7b,_0x88a3ce,_0xbe1dcf)&&(_0x451c11[_0xd8cb3d(0x33e)][_0x9bd748][_0x17c146]=Ee(_0xbe1dcf,_0x88a3ce));return;}_0x451c11[_0xd8cb3d(0x33e)][_0x9bd748][_0x17c146]=Ee(_0xbe1dcf,_0x88a3ce);}));}),_0x451c11;}function be(_0x1cb3e0){const _0x20553d=_0xf159;var _0x3a130a;return w(_0x1cb3e0),Object['entries']((_0x3a130a=_0x1cb3e0[_0x20553d(0xd7)])==null?{}:_0x3a130a)['forEach'](([_0x38820e,_0x3e2712])=>{const _0x3d0488=_0x20553d;var _0x4ecfa7,_0x38bf96,_0x268ce1;let _0xec4984=Number(_0x38820e),_0x14c472=_0x1cb3e0[_0x3d0488(0x26d)][_0x3e2712];_0x14c472&&(_0x14c472['values']={...(_0x4ecfa7=_0x14c472[_0x3d0488(0x10f)])==null?{}:_0x4ecfa7},Object[_0x3d0488(0x1d7)]((_0x38bf96=(_0x268ce1=_0x1cb3e0[_0x3d0488(0x33e)])==null?void 0x0:_0x268ce1[_0xec4984])==null?{}:_0x38bf96)[_0x3d0488(0x165)](([_0x183fc1,_0x53cf7b])=>{const _0x14aad2=_0x3d0488;var _0x4b36fc;let _0x35f6a6=(_0x4b36fc=_0x1cb3e0[_0x14aad2(0x15b)])==null?void 0x0:_0x4b36fc[Number(_0x183fc1)];_0x35f6a6&&(_0x14c472[_0x14aad2(0x10f)][_0x35f6a6]=Oe(_0x53cf7b,_0x1cb3e0['fields'][_0x35f6a6],_0x1cb3e0,_0x3e2712));}));}),_0x1cb3e0;}function xe(_0x3133e5,_0x33b41c){const _0x21c08d=_0xf159;for(let {row:_0x29dca9,col:_0x3aed7d}of _0x33b41c){var _0x55eef0,_0x5f401f,_0x4942b4,_0x430c73;let _0x1168db=(_0x55eef0=_0x3133e5[_0x21c08d(0xd7)])==null?void 0x0:_0x55eef0[_0x29dca9],_0x5a6d05=(_0x5f401f=_0x3133e5[_0x21c08d(0x15b)])==null?void 0x0:_0x5f401f[_0x3aed7d],_0x531780=_0x1168db?_0x3133e5[_0x21c08d(0x26d)][_0x1168db]:void 0x0;!_0x531780||!_0x5a6d05||(_0x531780[_0x21c08d(0x10f)]={...(_0x4942b4=_0x531780[_0x21c08d(0x10f)])==null?{}:_0x4942b4},_0x531780['values'][_0x5a6d05]=Oe((_0x430c73=_0x3133e5[_0x21c08d(0x33e)])==null||(_0x430c73=_0x430c73[_0x29dca9])==null?void 0x0:_0x430c73[_0x3aed7d],_0x3133e5['fields'][_0x5a6d05],_0x3133e5,_0x1168db));}return _0x3133e5;}function Se(_0x24dca7,_0x505afc,_0x36076b){const _0x224cdd=_0xf159;var _0x40f1c7,_0x32afc0,_0x3dece8,_0x459fec,_0x3c3d28,_0x2d04c2;let _0x29a7ad=(_0x40f1c7=_0x24dca7[_0x224cdd(0x34b)])==null?void 0x0:_0x40f1c7[_0x505afc],_0x241103=(_0x32afc0=_0x24dca7[_0x224cdd(0x32b)])==null?void 0x0:_0x32afc0[_0x36076b];if(_0x29a7ad!=null&&_0x241103!=null&&((_0x3dece8=_0x24dca7[_0x224cdd(0xd7)])==null?void 0x0:_0x3dece8[_0x29a7ad])===_0x505afc&&((_0x459fec=_0x24dca7[_0x224cdd(0x15b)])==null?void 0x0:_0x459fec[_0x241103])===_0x36076b)return{'row':_0x29a7ad,'col':_0x241103};let _0x5b3856=w(_0x24dca7),_0x3f2d4f=(_0x3c3d28=_0x5b3856['rowIndex'])==null?void 0x0:_0x3c3d28[_0x505afc],_0x43b70b=(_0x2d04c2=_0x5b3856['colIndex'])==null?void 0x0:_0x2d04c2[_0x36076b];return _0x3f2d4f==null||_0x43b70b==null?null:{'row':_0x3f2d4f,'col':_0x43b70b};}function Ce(_0x2202ef,_0x3fe036,_0x281800){const _0x55b875=_0xf159;var _0x24634a;let _0x38818b=Se(_0x2202ef,_0x3fe036,_0x281800);if(_0x38818b)return(_0x24634a=_0x2202ef[_0x55b875(0x33e)])==null||(_0x24634a=_0x24634a[_0x38818b[_0x55b875(0x2ed)]])==null?void 0x0:_0x24634a[_0x38818b['col']];}function we(_0x3ea204,_0x4c0cb8,_0x2c362f){const _0x26d3b2=_0xf159;var _0x27a551,_0x5cd356;let _0x4711f5=Ce(_0x3ea204,_0x4c0cb8,_0x2c362f),_0x395798=_0x3ea204[_0x26d3b2(0x30b)][_0x2c362f];if((_0x395798==null?void 0x0:_0x395798[_0x26d3b2(0x14a)])===_0x3d85e5[_0x26d3b2(0x18d)]){var _0x2a9c36,_0x53f202;return(_0x2a9c36=Ne(_0x3ea204,_0x4c0cb8,_0x2c362f))==null?T((_0x53f202=_0x3ea204[_0x26d3b2(0x26d)][_0x4c0cb8])==null||(_0x53f202=_0x53f202[_0x26d3b2(0x10f)])==null?void 0x0:_0x53f202[_0x2c362f]):_0x2a9c36;}if(E(_0x395798)||(_0x395798==null?void 0x0:_0x395798[_0x26d3b2(0x14a)])===_0x3d85e5['Link']){var _0x5074f8;let _0x1ab715=(_0x5074f8=_0x3ea204[_0x26d3b2(0x26d)][_0x4c0cb8])==null||(_0x5074f8=_0x5074f8[_0x26d3b2(0x10f)])==null?void 0x0:_0x5074f8[_0x2c362f];return _0x1ab715!=null&&_0x1ab715!==''?Pe(_0x1ab715,_0x395798):Oe(_0x4711f5,_0x395798,_0x3ea204,_0x4c0cb8);}if(_0x4711f5&&Object[_0x26d3b2(0x1de)][_0x26d3b2(0x138)][_0x26d3b2(0x16c)](_0x4711f5,'v')){var _0x7f666d;return(_0x7f666d=_0x4711f5['v'])==null?null:_0x7f666d;}return(_0x27a551=(_0x5cd356=_0x3ea204[_0x26d3b2(0x26d)][_0x4c0cb8])==null||(_0x5cd356=_0x5cd356[_0x26d3b2(0x10f)])==null?void 0x0:_0x5cd356[_0x2c362f])==null?null:_0x27a551;}function Te(_0x12564a,_0x5671b6,_0x8c5e1b){const _0x1b87eb=_0xf159;var _0x2901ad,_0x1ac18e,_0x31136e;let _0x27f8c5=Ce(_0x12564a,_0x5671b6,_0x8c5e1b);if(_0x27f8c5&&Object[_0x1b87eb(0x1de)][_0x1b87eb(0x138)][_0x1b87eb(0x16c)](_0x27f8c5,'v')){var _0x58f745;return(_0x58f745=_0x27f8c5['v'])==null?null:_0x58f745;}let _0x26aa05=_0x12564a[_0x1b87eb(0x30b)][_0x8c5e1b];return(_0x2901ad=Ee((_0x1ac18e=(_0x31136e=_0x12564a['records'][_0x5671b6])==null||(_0x31136e=_0x31136e[_0x1b87eb(0x10f)])==null?void 0x0:_0x31136e[_0x8c5e1b])==null?null:_0x1ac18e,_0x26aa05)['v'])==null?null:_0x2901ad;}function Ee(_0x385d13,_0x1ff83d){const _0x242419=_0xf159;if(Ae(_0x385d13))return(_0x1ff83d==null?void 0x0:_0x1ff83d['type'])===_0x3d85e5[_0x242419(0x18d)]?{..._0x385d13,'v':'','t':_0x2e3f0c[_0x242419(0x377)]}:De(_0x385d13);if((_0x1ff83d==null?void 0x0:_0x1ff83d[_0x242419(0x14a)])===_0x3d85e5['Attachment'])return{'v':'','t':_0x2e3f0c[_0x242419(0x377)]};if(E(_0x1ff83d))return{'v':Ie(_0x385d13)[_0x242419(0x115)](',\x20'),'t':_0x2e3f0c[_0x242419(0x377)]};if((_0x1ff83d==null?void 0x0:_0x1ff83d['type'])===_0x3d85e5[_0x242419(0x33c)]&&_0x385d13&&typeof _0x385d13==_0x242419(0x1ae)&&!Array[_0x242419(0x352)](_0x385d13)){var _0x47610a,_0x3b8d7b;let _0x357dde=_0x385d13;return{'v':String((_0x47610a=(_0x3b8d7b=_0x357dde[_0x242419(0x349)])==null?_0x357dde[_0x242419(0x190)]:_0x3b8d7b)==null?'':_0x47610a),'t':_0x2e3f0c[_0x242419(0x377)]};}return _0x385d13===null||typeof _0x385d13==_0x242419(0xc9)||typeof _0x385d13==_0x242419(0x12e)||typeof _0x385d13==_0x242419(0x288)?{'v':_0x385d13,'t':Re(_0x385d13)}:{'v':null,'t':null};}function De(_0x1d4045){let _0x50ea47=Be(_0x1d4045['t'],_0x1d4045['v']);if(_0x50ea47===void 0x0){let {t:_0x2424b5,..._0x56fe71}=_0x1d4045;return _0x56fe71;}return{..._0x1d4045,'t':_0x50ea47};}function Oe(_0x5206db,_0x15c49a,_0x467e8d,_0x320f3a){const _0x364973=_0xf159;if(!_0x5206db)return null;if((_0x15c49a==null?void 0x0:_0x15c49a['type'])===_0x3d85e5[_0x364973(0x18d)]){var _0x1901bc;return _0x467e8d&&_0x320f3a?(_0x1901bc=Ne(_0x467e8d,_0x320f3a,_0x15c49a['id']))==null?[]:_0x1901bc:[];}if(E(_0x15c49a))return Ie(_0x5206db['v']);if((_0x15c49a==null?void 0x0:_0x15c49a[_0x364973(0x14a)])===_0x3d85e5[_0x364973(0x33c)]&&_0x467e8d&&_0x320f3a){var _0x22f36a;let _0x3afb47=(_0x22f36a=_0x467e8d[_0x364973(0x26d)][_0x320f3a])==null||(_0x22f36a=_0x22f36a[_0x364973(0x10f)])==null?void 0x0:_0x22f36a[_0x15c49a['id']];if(_0x3afb47&&typeof _0x3afb47==_0x364973(0x1ae)&&!Array['isArray'](_0x3afb47))return _0x3afb47;}if(Object['prototype'][_0x364973(0x138)][_0x364973(0x16c)](_0x5206db,'v')){var _0x4470ef;return(_0x4470ef=_0x5206db['v'])==null?null:_0x4470ef;}return null;}function ke(_0x5020f0,_0x55204b,_0x3b8fe2,_0x12ca5e,_0x4b2238){const _0x4843d9=_0xf159;return(_0x3b8fe2==null?void 0x0:_0x3b8fe2[_0x4843d9(0x14a)])===_0x3d85e5[_0x4843d9(0x18d)]?T(_0x5020f0):E(_0x3b8fe2)?Ie(_0x5020f0):(_0x3b8fe2==null?void 0x0:_0x3b8fe2['type'])===_0x3d85e5['Link']&&_0x5020f0&&typeof _0x5020f0==_0x4843d9(0x1ae)&&!Array[_0x4843d9(0x352)](_0x5020f0)&&!Ae(_0x5020f0)?_0x5020f0:Oe(_0x55204b,_0x3b8fe2,_0x12ca5e,_0x4b2238);}function Ae(_0x654346){const _0xb3618d=_0xf159;return!!_0x654346&&typeof _0x654346==_0xb3618d(0x1ae)&&(Object[_0xb3618d(0x1de)][_0xb3618d(0x138)]['call'](_0x654346,'v')||Object[_0xb3618d(0x1de)][_0xb3618d(0x138)][_0xb3618d(0x16c)](_0x654346,'t')||Object[_0xb3618d(0x1de)][_0xb3618d(0x138)]['call'](_0x654346,'p')||Object[_0xb3618d(0x1de)][_0xb3618d(0x138)][_0xb3618d(0x16c)](_0x654346,'f')||Object[_0xb3618d(0x1de)][_0xb3618d(0x138)]['call'](_0x654346,'si'));}function je(_0x74774c,_0x3dc331){return _0x74774c+'\x1f'+_0x3dc331;}function Me(_0x330699,_0x2c1368,_0x3b00e7,_0x3f55d0){const _0x6a7490=_0xf159;var _0x41cd61,_0x27a660,_0x45d8b4;let _0x1463dd=T(_0x3f55d0);_0x330699[_0x6a7490(0x326)]={...(_0x41cd61=_0x330699['resources'])==null?{}:_0x41cd61},_0x330699['resources'][_0x6a7490(0xb3)]={...(_0x27a660=_0x330699[_0x6a7490(0x326)][_0x6a7490(0xb3)])==null?{}:_0x27a660},_0x330699[_0x6a7490(0x326)]['attachments']={...(_0x45d8b4=_0x330699[_0x6a7490(0x326)][_0x6a7490(0x25a)])==null?{}:_0x45d8b4};let _0x4cbfd4=je(_0x3b00e7,_0x2c1368),_0x46460f=[];for(let _0x3296b3=0x0;_0x3296b3<_0x1463dd[_0x6a7490(0x1ee)];_0x3296b3++){var _0xf76a9e;if(!(_0x3296b3 in _0x1463dd))continue;let _0x1ff1fc=_0x1463dd[_0x3296b3],_0x90d5e7=String((_0xf76a9e=_0x1ff1fc['id'])==null?_0x4cbfd4+'\x1f'+_0x3296b3:_0xf76a9e),_0x707a7={..._0x1ff1fc,'id':_0x90d5e7};_0x330699[_0x6a7490(0x326)]['attachments'][_0x90d5e7]=_0x707a7,_0x46460f['push'](_0x90d5e7);}_0x330699['resources']['attachmentSets'][_0x4cbfd4]=_0x46460f;}function Ne(_0x317f15,_0x4ee4f3,_0x588a8b){const _0x5e100f=_0xf159;var _0x46de22;let _0x561348=je(_0x588a8b,_0x4ee4f3),_0x3eaa31=(_0x46de22=_0x317f15[_0x5e100f(0x326)])==null||(_0x46de22=_0x46de22[_0x5e100f(0xb3)])==null?void 0x0:_0x46de22[_0x561348];if(!_0x3eaa31)return null;let _0x526296=[];for(let _0x534a99=0x0;_0x534a99<_0x3eaa31['length'];_0x534a99++){var _0x1df04c;if(!(_0x534a99 in _0x3eaa31))continue;let _0x47024e=(_0x1df04c=_0x317f15[_0x5e100f(0x326)])==null||(_0x1df04c=_0x1df04c['attachments'])==null?void 0x0:_0x1df04c[_0x3eaa31[_0x534a99]];_0x47024e&&_0x526296['push']({..._0x47024e});}return _0x526296;}function T(_0x387b6a){const _0x58b7f0=_0xf159;if(_0x387b6a==null||_0x387b6a===''||Ae(_0x387b6a)&&!('id'in _0x387b6a)&&!('name'in _0x387b6a))return[];let _0x17d994=Array['isArray'](_0x387b6a)?_0x387b6a:[_0x387b6a],_0x577b12=[];for(let _0x39952d=0x0;_0x39952d<_0x17d994[_0x58b7f0(0x1ee)];_0x39952d++){if(!(_0x39952d in _0x17d994))continue;let _0x5cece4=_0x17d994[_0x39952d],_0x3d0c2c=_0x5cece4&&typeof _0x5cece4==_0x58b7f0(0x1ae)?{..._0x5cece4}:{'id':_0x58b7f0(0x230)+_0x39952d,'name':String(_0x5cece4)};Object[_0x58b7f0(0x33a)](_0x3d0c2c)[_0x58b7f0(0x1ee)]>0x0&&_0x577b12['push'](_0x3d0c2c);}return _0x577b12;}function Pe(_0x34557a,_0x515dd2){const _0x61f72=_0xf159;return(_0x515dd2==null?void 0x0:_0x515dd2[_0x61f72(0x14a)])===_0x3d85e5[_0x61f72(0x18d)]?T(_0x34557a):E(_0x515dd2)?Ie(_0x34557a):_0x34557a;}function Fe(_0x1257f1,_0x512b50,_0x36b8c3){const _0x308adc=_0xf159;return(_0x512b50==null?void 0x0:_0x512b50[_0x308adc(0x14a)])===_0x3d85e5['Attachment']?_0x1257f1['v']!=='':E(_0x512b50)?Array[_0x308adc(0x352)](_0x36b8c3)&&(_0x1257f1['v']==null||_0x1257f1['v']===''):!0x1;}function E(_0x3a270c){const _0x55a7f5=_0xf159;return(_0x3a270c==null?void 0x0:_0x3a270c['type'])===_0x3d85e5['MultiSelect']||(_0x3a270c==null?void 0x0:_0x3a270c[_0x55a7f5(0x14a)])===_0x3d85e5['Person']||(_0x3a270c==null?void 0x0:_0x3a270c['type'])===_0x3d85e5['Group'];}function Ie(_0x3b27e5){const _0x29ac33=_0xf159;if(_0x3b27e5==null||_0x3b27e5==='')return[];let _0x4652f0=[];if(Array[_0x29ac33(0x352)](_0x3b27e5)){for(let _0x384b99=0x0;_0x384b99<_0x3b27e5[_0x29ac33(0x1ee)];_0x384b99++){if(!(_0x384b99 in _0x3b27e5))continue;let _0x15c17f=Le(_0x3b27e5[_0x384b99]);_0x15c17f&&_0x4652f0[_0x29ac33(0xcd)](_0x15c17f);}return _0x4652f0;}for(let _0x1d0e81 of String(_0x3b27e5)['split'](',')){let _0x3d335a=_0x1d0e81['trim']();_0x3d335a&&_0x4652f0[_0x29ac33(0xcd)](_0x3d335a);}return _0x4652f0;}function Le(_0x20403d){const _0x27671c=_0xf159;if(_0x20403d==null)return'';if(typeof _0x20403d=='string'||typeof _0x20403d=='number'||typeof _0x20403d==_0x27671c(0x288))return String(_0x20403d);if(typeof _0x20403d==_0x27671c(0x1ae)){var _0x1a010a,_0x506a76,_0xc81413;let _0x4f26eb=_0x20403d;return String((_0x1a010a=(_0x506a76=(_0xc81413=_0x4f26eb['id'])==null?_0x4f26eb[_0x27671c(0x14c)]:_0xc81413)==null?_0x4f26eb[_0x27671c(0x349)]:_0x506a76)==null?'':_0x1a010a);}return String(_0x20403d);}function Re(_0x553ed0){const _0x3709ca=_0xf159;return _0x553ed0==null?null:typeof _0x553ed0=='number'?_0x2e3f0c[_0x3709ca(0x30e)]:typeof _0x553ed0==_0x3709ca(0x288)?_0x2e3f0c['BOOLEAN']:_0x2e3f0c['STRING'];}function ze(_0x3142d1){const _0x2c76d6=_0xf159;_0x3142d1[_0x2c76d6(0x194)]((_0x1b0b74,_0x1c5fdd)=>_0x1b0b74[_0x2c76d6(0x266)][_0x2c76d6(0x153)](_0x1c5fdd[_0x2c76d6(0x266)]));let _0x44fadd=[];for(let _0x244b14 of _0x3142d1)_0x44fadd[_0x2c76d6(0xcd)](_0x244b14['id']);return _0x44fadd;}function Be(_0x52eaf5,_0x3d0158){const _0x3318fd=_0xf159;return _0x52eaf5===_0x2e3f0c['STRING']||_0x52eaf5===_0x2e3f0c[_0x3318fd(0x30e)]||_0x52eaf5===_0x2e3f0c[_0x3318fd(0x1af)]||_0x52eaf5===_0x2e3f0c['FORCE_STRING']||_0x52eaf5==null?_0x52eaf5:Re(_0x3d0158==null?null:_0x3d0158);}var D=class{[_0x16d78d(0x1e4)](_0x4d228a,_0x2cb21a){const _0x2551ed=_0x16d78d;let _0x3e091a=this[_0x2551ed(0x1cb)](_0x2cb21a),_0x35af75=C('BaseJson1.cloneForOp',()=>Je(_0x4d228a,_0x2cb21a),{'invalidations':_0x3e091a['length']}),_0x5a47c9=C(_0x2551ed(0x220),()=>_0x579b08[_0x2551ed(0x14a)][_0x2551ed(0x1ff)](_0x35af75,_0x2cb21a),{'invalidations':_0x3e091a['length']});return Ve(_0x5a47c9,_0x3e091a)||this[_0x2551ed(0x181)](_0x5a47c9,_0x3e091a)[_0x2551ed(0x165)](_0x17abe2=>{be(_0x17abe2);}),_0x5a47c9;}['invertOp'](_0x54f25a,_0x18a92b){const _0x2851e3=_0x16d78d;return _0x579b08[_0x2851e3(0x14a)][_0x2851e3(0x179)](_0x18a92b,_0x54f25a);}[_0x16d78d(0x1cb)](_0x4f7c7c){const _0x31d7a2=_0x16d78d;let _0x3e697b=Ge(_0x4f7c7c);return _0x3e697b['length']?Ke(_0x3e697b[_0x31d7a2(0x1cc)](_0x23bce7=>this[_0x31d7a2(0x1cb)](_0x23bce7))):He(_0x4f7c7c);}[_0x16d78d(0x181)](_0x4f05db,_0x54d113){const _0x2fdc56=_0x16d78d;if(!_0x54d113[_0x2fdc56(0x1ee)])return[];if(_0x54d113[_0x2fdc56(0x322)](_0x169070=>!_0x169070[_0x2fdc56(0x21c)])){var _0x117102;return Object['values']((_0x117102=_0x4f05db[_0x2fdc56(0x1f7)])==null?{}:_0x117102);}return Array['from'](new Set(_0x54d113[_0x2fdc56(0x187)](_0x3df6d7=>_0x3df6d7[_0x2fdc56(0x21c)])))[_0x2fdc56(0x1cc)](_0x33be52=>{const _0x13c8ad=_0x2fdc56;var _0x3e0e37;let _0x120701=(_0x3e0e37=_0x4f05db[_0x13c8ad(0x1f7)])==null?void 0x0:_0x3e0e37[_0x33be52];return _0x120701?[_0x120701]:[];});}};function Ve(_0x41f896,_0x34d5ab){const _0x4394f3=_0x16d78d;if(!_0x34d5ab[_0x4394f3(0x1ee)]||_0x34d5ab[_0x4394f3(0x322)](_0x5b7d07=>_0x5b7d07['reason']!==_0x4394f3(0x1aa)))return!0x1;let _0xb502e3=new Map();for(let _0x24d500 of _0x34d5ab){var _0x4e0f79;if(!_0x24d500[_0x4394f3(0x21c)]||_0x24d500[_0x4394f3(0x2ed)]==null||_0x24d500['column']==null)continue;let _0x4a21bc=(_0x4e0f79=_0xb502e3[_0x4394f3(0x36e)](_0x24d500['tableId']))==null?[]:_0x4e0f79;_0x4a21bc[_0x4394f3(0xcd)]({'row':_0x24d500[_0x4394f3(0x2ed)],'col':_0x24d500['column']}),_0xb502e3[_0x4394f3(0x21d)](_0x24d500[_0x4394f3(0x21c)],_0x4a21bc);}return _0xb502e3['forEach']((_0x3ce5f8,_0x22a2da)=>{const _0x1ef51f=_0x4394f3;var _0x398778;let _0x2d2713=(_0x398778=_0x41f896[_0x1ef51f(0x1f7)])==null?void 0x0:_0x398778[_0x22a2da];_0x2d2713&&xe(_0x2d2713,_0x3ce5f8);}),!0x0;}function He(_0x2a386c){const _0x524a96=_0x16d78d;if(!Array[_0x524a96(0x352)](_0x2a386c)||_0x2a386c[_0x524a96(0x1ee)]<0x2)return[{'tableId':'','reason':_0x524a96(0x16e)}];let _0x44e9c0=_0x2a386c,_0x89cf29=_0x44e9c0[_0x524a96(0x2f2)](_0x524a96(0x1f7));return _0x89cf29===-0x1||typeof _0x44e9c0[_0x89cf29+0x1]!=_0x524a96(0xc9)?_0x44e9c0[0x0]===_0x524a96(0x1f3)?[]:[{'tableId':'','reason':_0x524a96(0x16e)}]:Ue(_0x44e9c0,_0x89cf29,String(_0x44e9c0[_0x89cf29+0x1]));}function Ue(_0x25365b,_0x4c31ee,_0x5dbf98){const _0x54b61e=_0x16d78d;let _0x2418b1=_0x25365b[_0x4c31ee+0x2];return _0x2418b1===_0x54b61e(0x26d)&&typeof _0x25365b[_0x4c31ee+0x3]==_0x54b61e(0xc9)?We(_0x25365b,_0x4c31ee,_0x5dbf98,String(_0x25365b[_0x4c31ee+0x3])):_0x2418b1===_0x54b61e(0x33e)&&_0x25365b[_0x4c31ee+0x3]!=null&&_0x25365b[_0x4c31ee+0x4]!=null?[{'tableId':_0x5dbf98,'reason':_0x54b61e(0x1aa),'row':Number(_0x25365b[_0x4c31ee+0x3]),'column':Number(_0x25365b[_0x4c31ee+0x4])}]:_0x2418b1==='fields'&&typeof _0x25365b[_0x4c31ee+0x3]=='string'?[{'tableId':_0x5dbf98,'reason':_0x54b61e(0x30d),'fieldId':String(_0x25365b[_0x4c31ee+0x3])}]:_0x2418b1===_0x54b61e(0x2b6)&&typeof _0x25365b[_0x4c31ee+0x3]==_0x54b61e(0xc9)?[{'tableId':_0x5dbf98,'reason':'view','viewId':String(_0x25365b[_0x4c31ee+0x3])}]:[{'tableId':_0x5dbf98,'reason':_0x2418b1===void 0x0?_0x54b61e(0xc2):_0x54b61e(0x16e)}];}function We(_0x4b52ba,_0x39e1e1,_0x53d562,_0x526e80){const _0x537b5b=_0x16d78d;return _0x4b52ba[_0x39e1e1+0x4]===_0x537b5b(0x10f)&&typeof _0x4b52ba[_0x39e1e1+0x5]==_0x537b5b(0xc9)?[{'tableId':_0x53d562,'reason':_0x537b5b(0x1aa),'recordId':_0x526e80,'fieldId':String(_0x4b52ba[_0x39e1e1+0x5])}]:_0x4b52ba[_0x39e1e1+0x4]==='updatedAt'||_0x4b52ba[_0x39e1e1+0x4]==='updatedBy'?[]:[{'tableId':_0x53d562,'reason':'record','recordId':_0x526e80}];}function Ge(_0x4e7524){const _0xa942a0=_0x16d78d;if(!Array[_0xa942a0(0x352)](_0x4e7524))return[];let _0xc8cbbb=_0x4e7524[_0xa942a0(0x33b)](Array[_0xa942a0(0x352)]);if(_0xc8cbbb['length']>0x1&&_0xc8cbbb[_0xa942a0(0x1ee)]===_0x4e7524['length'])return _0xc8cbbb;let _0x234f67=_0x4e7524[_0xa942a0(0x1c8)](Array[_0xa942a0(0x352)]);if(_0x234f67>0x0&&_0x4e7524[_0xa942a0(0x1b8)](_0x234f67)[_0xa942a0(0x324)](Array[_0xa942a0(0x352)])){let _0x1790bb=_0x4e7524[_0xa942a0(0x1b8)](0x0,_0x234f67);return _0x4e7524['slice'](_0x234f67)[_0xa942a0(0x187)](_0x2c267d=>[..._0x1790bb,..._0x2c267d]);}let _0x1b9877=_0x4e7524[_0xa942a0(0x2f2)](_0xa942a0(0x1f7));if(_0x1b9877===-0x1||typeof _0x4e7524[_0x1b9877+0x1]!=_0xa942a0(0xc9))return[];let _0x1d8c7f=String(_0x4e7524[_0x1b9877+0x1]),_0x3f3615=_0x4e7524[_0xa942a0(0x1b8)](_0x1b9877+0x2)[_0xa942a0(0x33b)](Array[_0xa942a0(0x352)]);return _0x3f3615[_0xa942a0(0x1ee)]<=0x1?[]:_0x3f3615[_0xa942a0(0x187)](_0x17d305=>[_0xa942a0(0x1f7),_0x1d8c7f,..._0x17d305]);}function Ke(_0x62e287){let _0x3cc31f=new Set();return _0x62e287['filter'](_0x99d494=>{const _0x3a1655=_0xf159;let _0x135615=JSON['stringify'](_0x99d494);return _0x3cc31f['has'](_0x135615)?!0x1:(_0x3cc31f[_0x3a1655(0xf0)](_0x135615),!0x0);});}function qe(_0x5ebf21){const _0x5ab893=_0x16d78d;return _0xa49e00[_0x5ab893(0x1bd)](_0x5ebf21);}function Je(_0x49debd,_0x18623c){let _0x13074b=Ye(_0x18623c);if(!_0x13074b['length'])return qe(_0x49debd);let _0xf3b725=et(_0x49debd);for(let _0x5b1613 of _0x13074b)Qe(_0xf3b725,_0x5b1613);return _0xf3b725;}function Ye(_0x4ce947){let _0xf29169=[];return Xe(_0x4ce947,[],_0xf29169),_0xf29169;}function Xe(_0x157a32,_0x26a4cc,_0x4b4a1d){const _0x40b8cc=_0x16d78d;if(!Array[_0x40b8cc(0x352)](_0x157a32))return;let _0x2a7939=[];for(let _0xf46f76 of _0x157a32){if(Array[_0x40b8cc(0x352)](_0xf46f76)){Xe(_0xf46f76,[..._0x26a4cc,..._0x2a7939],_0x4b4a1d);continue;}if(Ze(_0xf46f76)){_0x4b4a1d[_0x40b8cc(0xcd)]([..._0x26a4cc,..._0x2a7939]);continue;}(typeof _0xf46f76==_0x40b8cc(0xc9)||typeof _0xf46f76==_0x40b8cc(0x12e))&&_0x2a7939[_0x40b8cc(0xcd)](_0xf46f76);}}function Ze(_0x5b7ed2){const _0x43087b=_0x16d78d;if(!_0x5b7ed2||typeof _0x5b7ed2!=_0x43087b(0x1ae)||Array[_0x43087b(0x352)](_0x5b7ed2))return!0x1;let _0x5763a2=_0x5b7ed2;return'i'in _0x5763a2||'r'in _0x5763a2||'p'in _0x5763a2||'d'in _0x5763a2||'es'in _0x5763a2||_0x43087b(0x1d1)in _0x5763a2||'et'in _0x5763a2;}function Qe(_0x5f40ca,_0x32cf96){const _0x8b5d94=_0x16d78d;let _0x13cc89=_0x5f40ca;for(let _0x2cbb81=0x0;_0x2cbb81<_0x32cf96[_0x8b5d94(0x1ee)]-0x1;_0x2cbb81++){let _0x11200e=_0x32cf96[_0x2cbb81],_0x17052e=_0x13cc89==null?void 0x0:_0x13cc89[_0x11200e];if(!$e(_0x17052e))return;let _0x25014c=et(_0x17052e);_0x13cc89[_0x11200e]=_0x25014c,_0x13cc89=_0x25014c;}}function $e(_0x42a88a){const _0x359502=_0x16d78d;return!!_0x42a88a&&typeof _0x42a88a==_0x359502(0x1ae);}function et(_0x428870){const _0x438781=_0x16d78d;return Array[_0x438781(0x352)](_0x428870)?_0x428870[_0x438781(0x1b8)]():{..._0x428870};}const tt=0x5a0*0x3c*0x3e8,nt=0x63e1,rt=_0x16d78d(0xf2),it={'yyyy/mm/dd':'YYYY/MM/DD','yyyy/mm/dd\x20hh:mm':_0x16d78d(0x1f1),'yyyy-mm-dd':_0x16d78d(0x24f),'mm-dd':_0x16d78d(0x346),'mm/dd/yyyy':_0x16d78d(0x36d),'dd/mm/yyyy':'DD/MM/YYYY','mmm\x20d,\x20yyyy':_0x16d78d(0x313)};function O(_0x4da1d6){const _0x559b9d=_0x16d78d;return _0x328c7d(_0x4da1d6)[_0x559b9d(0x295)]()/tt+nt;}function at(_0x2943bc){return(_0x2943bc-nt)*tt;}function k(_0x23e23f){const _0x12ff54=_0x16d78d;if(_0x23e23f==null||_0x23e23f==='')return null;if(_0x23e23f instanceof Date)return O(_0x23e23f);if(typeof _0x23e23f==_0x12ff54(0x12e))return Number['isFinite'](_0x23e23f)?_0x23e23f>0xf4240?O(_0x23e23f):_0x23e23f:null;let _0x1e9d51=Date['parse'](String(_0x23e23f));return Number[_0x12ff54(0x302)](_0x1e9d51)?null:O(_0x1e9d51);}function A(_0xe56abe){let _0x49ce78=k(_0xe56abe);return _0x49ce78==null?null:at(_0x49ce78);}function ot(_0x4ebe28,_0x23eaf2={}){const _0x44b692=_0x16d78d;var _0x395f04,_0x596788,_0x22ad27;let _0x1fd55a=A(_0x4ebe28);if(_0x1fd55a==null||!Number[_0x44b692(0xb7)](_0x1fd55a))return'';let _0xc0504=String((_0x395f04=(_0x596788=_0x23eaf2[_0x44b692(0x249)])==null?_0x23eaf2[_0x44b692(0xfc)]:_0x596788)==null?rt:_0x395f04),_0xab6066=_0x23eaf2['includeTime']===!0x0||_0xc0504['includes']('hh:mm'),_0x1f3c3c=String((_0x22ad27=_0x23eaf2['hourCycle'])==null?'h24':_0x22ad27);return _0x328c7d(_0x1fd55a)[_0x44b692(0xfc)](st(_0xc0504,_0xab6066,_0x1f3c3c));}function st(_0x92bd30,_0x5e5f8f,_0x538c42){const _0x18e94e=_0x16d78d;var _0x4028a8;let _0x26b78e=(_0x4028a8=it[_0x92bd30])==null?it[rt]:_0x4028a8;return!_0x5e5f8f||_0x92bd30['includes']('hh:mm')?_0x26b78e:_0x26b78e+'\x20'+(_0x538c42===_0x18e94e(0x1c7)?_0x18e94e(0x111):_0x18e94e(0x250));}const ct={'editable':!0x0,'sortable':!0x0,'filterable':!0x0,'groupable':!0x1,'usableAsKanbanGroup':!0x1,'usableAsCalendarDate':!0x1,'usableAsGanttStart':!0x1,'usableAsGanttEnd':!0x1,'usableAsGanttProgress':!0x1,'usableAsCardCover':!0x1,'usableAsTitle':!0x1},lt=new Set([_0x3d85e5[_0x16d78d(0xf3)],_0x3d85e5['Summary'],_0x3d85e5[_0x16d78d(0x361)],_0x3d85e5[_0x16d78d(0x351)],_0x3d85e5[_0x16d78d(0x11a)],_0x3d85e5[_0x16d78d(0x33f)],_0x3d85e5[_0x16d78d(0x35d)],_0x3d85e5['Barcode']]),j=0x5a0*0x3c*0x3e8;function ut(_0xf1980e,_0x366b36){const _0x54eb6a=_0x16d78d;return _0xf1980e==null&&_0x366b36==null?0x0:_0xf1980e==null?-0x1:_0x366b36==null?0x1:typeof _0xf1980e=='number'&&typeof _0x366b36==_0x54eb6a(0x12e)?_0xf1980e-_0x366b36:String(_0xf1980e)[_0x54eb6a(0x153)](String(_0x366b36));}function dt(_0xeff6e6,_0xce9a87,_0x5befb1,_0x4d03bf,_0x5b05f6={}){const _0x5ac507=_0x16d78d;if(_0xce9a87===_0x5ac507(0x189))return ft(_0xeff6e6);if(_0xce9a87===_0x5ac507(0x2b2))return!ft(_0xeff6e6);switch(_0x4d03bf['type']){case _0x3d85e5[_0x5ac507(0x355)]:case _0x3d85e5['Currency']:case _0x3d85e5[_0x5ac507(0x19a)]:case _0x3d85e5[_0x5ac507(0x336)]:return pt(_0xeff6e6,_0xce9a87,_0x5befb1);case _0x3d85e5[_0x5ac507(0x299)]:case _0x3d85e5[_0x5ac507(0xe5)]:case _0x3d85e5['UpdatedAt']:return ht(_0xeff6e6,_0xce9a87,_0x5befb1,_0x5b05f6);case _0x3d85e5[_0x5ac507(0x185)]:return xt(_0xeff6e6,_0xce9a87,_0x5befb1);case _0x3d85e5[_0x5ac507(0xe8)]:case _0x3d85e5[_0x5ac507(0x23f)]:case _0x3d85e5[_0x5ac507(0x224)]:case _0x3d85e5[_0x5ac507(0xe6)]:return Ct(_0xeff6e6,_0xce9a87,_0x5befb1,_0x4d03bf);default:return wt(_0xeff6e6,_0xce9a87,_0x5befb1);}}function ft(_0x211ce5){const _0x589e9d=_0x16d78d;return _0x211ce5==null?!0x0:Array[_0x589e9d(0x352)](_0x211ce5)?_0x211ce5[_0x589e9d(0x1ee)]===0x0:typeof _0x211ce5==_0x589e9d(0xc9)?_0x211ce5[_0x589e9d(0x304)]()==='':!0x1;}function pt(_0x21fad,_0x1a2bbd,_0x4c4aa6){const _0x21097d=_0x16d78d;let _0x8efe25=mt(_0x21fad),_0x312be1=mt(_0x4c4aa6);if(_0x8efe25==null||_0x312be1==null)return!0x1;switch(_0x1a2bbd){case'is':return _0x8efe25===_0x312be1;case _0x21097d(0x1cf):return _0x8efe25!==_0x312be1;case _0x21097d(0x16f):return _0x8efe25>_0x312be1;case'greaterThanOrEqual':return _0x8efe25>=_0x312be1;case _0x21097d(0x14f):return _0x8efe25<_0x312be1;case _0x21097d(0x222):return _0x8efe25<=_0x312be1;default:return!0x1;}}function mt(_0x3210c4){if(_0x3210c4==null||_0x3210c4==='')return null;let _0xae29a3=Number(_0x3210c4);return Number['isFinite'](_0xae29a3)?_0xae29a3:null;}function ht(_0x28edcc,_0x586c15,_0x37f339,_0x12f236){const _0xd6f981=_0x16d78d;var _0x1a4116;let _0x4c9fa2=_t(_0x28edcc);if(_0x4c9fa2==null)return!0x1;let _0x2a4d4a=gt((_0x1a4116=_0x12f236[_0xd6f981(0x327)])==null?_0xd6f981(0x207):_0x1a4116,_0x37f339,_0x12f236[_0xd6f981(0x176)]);if(!_0x2a4d4a)return!0x1;switch(_0x586c15){case'is':return _0x4c9fa2>=_0x2a4d4a[_0xd6f981(0xd9)]&&_0x4c9fa2<=_0x2a4d4a[_0xd6f981(0x2cb)];case _0xd6f981(0x1cf):return _0x4c9fa2<_0x2a4d4a[_0xd6f981(0xd9)]||_0x4c9fa2>_0x2a4d4a[_0xd6f981(0x2cb)];case _0xd6f981(0x2a1):return _0x4c9fa2<_0x2a4d4a[_0xd6f981(0xd9)];case _0xd6f981(0x142):return _0x4c9fa2>_0x2a4d4a[_0xd6f981(0x2cb)];default:return!0x1;}}function gt(_0x40ea4f,_0x55dd96,_0x38a35c=Date[_0x16d78d(0x176)]()){const _0x434b45=_0x16d78d;let _0x441565=vt(_0x38a35c);switch(_0x40ea4f){case _0x434b45(0x207):{let _0x5ec047=_t(_0x55dd96);return _0x5ec047==null?null:{'start':_0x5ec047,'end':_0x5ec047+j-0x1};}case'today':return{'start':_0x441565,'end':_0x441565+j-0x1};case _0x434b45(0x2dd):return{'start':_0x441565+j,'end':_0x441565+j*0x2-0x1};case _0x434b45(0x21b):return{'start':_0x441565-j,'end':_0x441565-0x1};case _0x434b45(0xb1):return yt(_0x441565,0x0);case _0x434b45(0x1c2):return yt(_0x441565,-0x1);case _0x434b45(0x2e6):return bt(_0x441565,0x0);case'lastMonth':return bt(_0x441565,-0x1);case _0x434b45(0x34d):return{'start':_0x441565-j*0x6,'end':_0x441565+j-0x1};case _0x434b45(0x36a):return{'start':_0x441565,'end':_0x441565+j*0x7-0x1};case'past30':return{'start':_0x441565-j*0x1d,'end':_0x441565+j-0x1};case _0x434b45(0x32f):return{'start':_0x441565,'end':_0x441565+j*0x1e-0x1};}}function _t(_0x56ee04){let _0x436074=k(_0x56ee04);return _0x436074==null?null:vt(at(_0x436074));}function vt(_0x3334cb){const _0x54e3d0=_0x16d78d;let _0x4a17ef=new Date(_0x3334cb);return _0x4a17ef[_0x54e3d0(0x122)](0x0,0x0,0x0,0x0),_0x4a17ef[_0x54e3d0(0xc0)]();}function yt(_0x2d0d0e,_0x3b0016){const _0x3b0c98=_0x16d78d;let _0x58e299=_0x2d0d0e-(new Date(_0x2d0d0e)[_0x3b0c98(0x246)]()+0x6)%0x7*j+_0x3b0016*j*0x7;return{'start':_0x58e299,'end':_0x58e299+j*0x7-0x1};}function bt(_0x4978fd,_0x1eeba3){const _0x5180bb=_0x16d78d;let _0x5d5f00=new Date(_0x4978fd),_0x20c515=new Date(_0x5d5f00[_0x5180bb(0x232)](),_0x5d5f00['getMonth']()+_0x1eeba3,0x1),_0x4c6521=new Date(_0x5d5f00[_0x5180bb(0x232)](),_0x5d5f00[_0x5180bb(0x244)]()+_0x1eeba3+0x1,0x1);return{'start':_0x20c515[_0x5180bb(0xc0)](),'end':_0x4c6521[_0x5180bb(0xc0)]()-0x1};}function xt(_0x4bdc0f,_0x1c7370,_0x43d6e3){let _0x4461fc=St(_0x4bdc0f),_0x90fe08=St(_0x43d6e3);switch(_0x1c7370){case'is':return _0x4461fc===_0x90fe08;case'isNot':return _0x4461fc!==_0x90fe08;default:return!0x1;}}function St(_0x2b9e08){const _0x2a4e64=_0x16d78d;return _0x2b9e08===!0x0||_0x2b9e08===_0x2a4e64(0x25f)||_0x2b9e08===0x1||_0x2b9e08==='1';}function Ct(_0x451ff1,_0x33ee9a,_0x9a37f7,_0x3a5573){const _0x12a9f4=_0x16d78d;let _0x11236d=Et(_0x451ff1,_0x3a5573),_0x18059b=Et(_0x9a37f7,_0x3a5573),_0x1bf0b5=_0x18059b[_0x12a9f4(0x1ee)]>0x0&&_0x18059b['some'](_0x5dd026=>_0x11236d['includes'](_0x5dd026));switch(_0x33ee9a){case'is':case _0x12a9f4(0x146):return _0x1bf0b5;case _0x12a9f4(0x1cf):case _0x12a9f4(0x19f):return!_0x1bf0b5;default:return!0x1;}}function wt(_0x47d119,_0x153085,_0x2970bc){const _0x31fa8e=_0x16d78d;let _0x1c4707=Tt(_0x47d119),_0x5aab18=Tt(_0x2970bc);switch(_0x153085){case'is':return _0x1c4707===_0x5aab18;case'isNot':return _0x1c4707!==_0x5aab18;case _0x31fa8e(0x146):return _0x5aab18?_0x1c4707[_0x31fa8e(0x1d9)](_0x5aab18):!0x1;case _0x31fa8e(0x19f):return _0x5aab18?!_0x1c4707[_0x31fa8e(0x1d9)](_0x5aab18):!0x0;default:return!0x1;}}function Tt(_0x8b586a){const _0x864238=_0x16d78d;if(Array[_0x864238(0x352)](_0x8b586a))return _0x8b586a[_0x864238(0x187)](_0x1c1044=>Tt(_0x1c1044))[_0x864238(0x115)]('\x0a');if(_0x8b586a&&typeof _0x8b586a=='object'){var _0x15ca1e,_0x19f976,_0x1d9b56,_0x332c55,_0x144e9a;let _0x3c77c7=_0x8b586a;return String((_0x15ca1e=(_0x19f976=(_0x1d9b56=(_0x332c55=(_0x144e9a=_0x3c77c7['name'])==null?_0x3c77c7[_0x864238(0x129)]:_0x144e9a)==null?_0x3c77c7[_0x864238(0x349)]:_0x332c55)==null?_0x3c77c7[_0x864238(0x2e7)]:_0x1d9b56)==null?_0x3c77c7['id']:_0x19f976)==null?'':_0x15ca1e)['trim']()[_0x864238(0x123)]();}return String(_0x8b586a==null?'':_0x8b586a)[_0x864238(0x304)]()['toLowerCase']();}function Et(_0x2b4f30,_0x358e1e){const _0x33a3de=_0x16d78d;var _0x402055;let _0x4a5075=Dt(_0x2b4f30),_0x187295=Ot((_0x402055=_0x358e1e['config'])==null?{}:_0x402055);return _0x4a5075[_0x33a3de(0x1cc)](_0x3762fb=>{const _0xbf3d24=_0x33a3de;var _0x168106;return(_0x168106=_0x187295[_0xbf3d24(0x36e)](_0x3762fb))==null?[_0x3762fb]:_0x168106;})[_0x33a3de(0x33b)]((_0x2acd64,_0x33df5b,_0x3a7187)=>_0x2acd64!==''&&_0x3a7187['indexOf'](_0x2acd64)===_0x33df5b);}function Dt(_0x2463ff){const _0x15c53e=_0x16d78d;if(_0x2463ff==null||_0x2463ff==='')return[];if(Array['isArray'](_0x2463ff))return _0x2463ff[_0x15c53e(0x1cc)](_0x2371e4=>Dt(_0x2371e4));if(_0x2463ff&&typeof _0x2463ff=='object'){let _0x27df7f=_0x2463ff;return['id',_0x15c53e(0x14c),'label',_0x15c53e(0x2e7),'text'][_0x15c53e(0x1cc)](_0x209dca=>Dt(_0x27df7f[_0x209dca]))['filter']((_0x5cd34a,_0x6f7aa6,_0x4fb196)=>_0x4fb196[_0x15c53e(0x2f2)](_0x5cd34a)===_0x6f7aa6);}return[Tt(_0x2463ff)];}function Ot(_0x37539c){const _0x33b91c=_0x16d78d;let _0x2f0315=new Map();return(Array[_0x33b91c(0x352)](_0x37539c[_0x33b91c(0x225)])?_0x37539c[_0x33b91c(0x225)]:[])[_0x33b91c(0x165)](_0x240f49=>{const _0x2ec6f8=_0x33b91c;if(!_0x240f49||typeof _0x240f49!='object')return;let _0x2bd8a4=Dt(_0x240f49),_0x3182a0=_0x2bd8a4[_0x2ec6f8(0x33b)]((_0x55e0df,_0x59bd8c)=>_0x55e0df!==''&&_0x2bd8a4[_0x2ec6f8(0x2f2)](_0x55e0df)===_0x59bd8c);_0x3182a0[_0x2ec6f8(0x165)](_0x441aa2=>_0x2f0315[_0x2ec6f8(0x21d)](_0x441aa2,_0x3182a0));}),_0x2f0315;}function M(_0x7aefa3,_0xe0dcff={},_0x1300c3=_0x5df240=>_0x5df240,_0x418e9f={}){const _0x112b37=_0x16d78d;var _0x165946,_0x314449,_0x1c894e,_0x4ecee6;let _0x221ce=!lt[_0x112b37(0x277)](_0x7aefa3),_0x49d049=_0x1300c3==null?_0x548e07=>_0x548e07:_0x1300c3;return{'type':_0x7aefa3,'i18nKey':_0x112b37(0x159)+_0x7aefa3,'enabled':_0x221ce,'visibleInCreateMenu':_0x221ce,'createDefaultConfig':(_0x165946=_0x418e9f[_0x112b37(0x34c)])==null?()=>({}):_0x165946,'createDefaultValue':(_0x314449=_0x418e9f[_0x112b37(0x141)])==null?_0x23915e=>{var _0x4cbc0c;return(_0x4cbc0c=_0x23915e['defaultValue'])==null?null:_0x4cbc0c;}:_0x314449,'normalize':(_0x5d109d,_0x7436c)=>_0x49d049(_0x5d109d,_0x7436c),'validate':(_0x5d74f4,_0x59f94f)=>{const _0x19c51f=_0x112b37;var _0x4c5b7f,_0x2122df;return _0x221ce?(_0x4c5b7f=(_0x2122df=_0x418e9f[_0x19c51f(0x217)])==null?void 0x0:_0x2122df[_0x19c51f(0x16c)](_0x418e9f,_0x5d74f4,_0x59f94f))==null?{'valid':!0x0}:_0x4c5b7f:{'valid':!0x1};},'compare':(_0xd68f8,_0x5e52d1)=>ut(_0xd68f8,_0x5e52d1),'filter':(_0x137afb,_0x173224,_0x384b16,_0x3e9aaa)=>dt(_0x137afb,_0x173224,_0x384b16,_0x3e9aaa),'toPlainText':(_0x1c894e=_0x418e9f[_0x112b37(0x211)])==null?_0x136fb2=>_0x136fb2==null?'':String(_0x136fb2):_0x1c894e,'fromPlainText':(_0x4ecee6=_0x418e9f[_0x112b37(0x1eb)])==null?_0x19fedb=>_0x49d049(_0x19fedb,{'id':'','name':'','type':_0x7aefa3,'config':{}}):_0x4ecee6,'getCapabilities':()=>{const _0x4dc064=_0x112b37;var _0x2c8b07;return{...ct,..._0xe0dcff,'editable':_0x221ce&&((_0x2c8b07=_0xe0dcff['editable'])==null?ct[_0x4dc064(0x331)]:_0x2c8b07)};}};}function kt(){const _0x28f6e9=_0x16d78d;return[M(_0x3d85e5['Text'],{'groupable':!0x0,'usableAsTitle':!0x0},void 0x0,{'createDefaultConfig':()=>({'placeholder':_0x28f6e9(0x2d4)}),'createDefaultValue':_0x1b1f1c=>{const _0x20055a=_0x28f6e9;var _0x3d9c74;return(_0x3d9c74=_0x1b1f1c[_0x20055a(0x364)])==null?'':_0x3d9c74;}}),M(_0x3d85e5[_0x28f6e9(0xe8)],{'groupable':!0x0,'usableAsKanbanGroup':!0x0,'supportsOptions':!0x0},_0x3e56df=>_0x3e56df==null||_0x3e56df===''?null:String(_0x3e56df),{'createDefaultConfig':()=>({'options':[],'optionSource':{'type':'manual'}})}),M(_0x3d85e5[_0x28f6e9(0x23f)],{'filterable':!0x0,'usableAsKanbanGroup':!0x0,'supportsOptions':!0x0,'supportsMultipleValues':!0x0},_0x23c9b8=>Array['isArray'](_0x23c9b8)?_0x23c9b8[_0x28f6e9(0x187)](String):_0x23c9b8==null?[]:[String(_0x23c9b8)],{'createDefaultConfig':()=>({'options':[],'optionSource':{'type':_0x28f6e9(0xce)}}),'createDefaultValue':_0x47157b=>{var _0x334c7f;return(_0x334c7f=_0x47157b['defaultValue'])==null?[]:_0x334c7f;}}),M(_0x3d85e5[_0x28f6e9(0x224)],{'groupable':!0x0,'usableAsKanbanGroup':!0x0,'supportsMultipleValues':!0x0},Nt,{'createDefaultConfig':()=>({'allowMultiple':!0x1,'provider':_0x28f6e9(0x1b0)}),'validate':Pt}),M(_0x3d85e5[_0x28f6e9(0xe6)],{'groupable':!0x0,'usableAsKanbanGroup':!0x0,'supportsMultipleValues':!0x0},Mt,{'createDefaultConfig':()=>({'allowMultiple':!0x0,'provider':_0x28f6e9(0xcb)}),'createDefaultValue':_0x2ca215=>{const _0xa45678=_0x28f6e9;var _0x578a07;return(_0x578a07=_0x2ca215[_0xa45678(0x364)])==null?[]:_0x578a07;},'validate':Ft}),M(_0x3d85e5[_0x28f6e9(0x299)],{'groupable':!0x0,'usableAsCalendarDate':!0x0,'usableAsGanttStart':!0x0,'usableAsGanttEnd':!0x0},_0xfe19a5=>k(_0xfe19a5),{'createDefaultConfig':()=>jt(),'validate':It}),M(_0x3d85e5['Attachment'],{'usableAsCardCover':!0x0,'supportsMultipleValues':!0x0},_0x519a09=>_0x519a09==null?[]:Array['isArray'](_0x519a09)?_0x519a09:[_0x519a09],{'createDefaultValue':_0x2d4479=>{const _0x325be4=_0x28f6e9;var _0x470193;return(_0x470193=_0x2d4479[_0x325be4(0x364)])==null?[]:_0x470193;}}),M(_0x3d85e5[_0x28f6e9(0x355)],{},_0x10a8d6=>_0x10a8d6==null||_0x10a8d6===''?null:Number(_0x10a8d6),{'createDefaultConfig':()=>At(),'validate':Lt}),M(_0x3d85e5['Checkbox'],{'groupable':!0x0,'usableAsKanbanGroup':!0x0},_0x3a4aef=>_0x3a4aef===!0x0||_0x3a4aef===_0x28f6e9(0x25f)||_0x3a4aef===0x1||_0x3a4aef==='1',{'createDefaultConfig':()=>({'icon':_0x28f6e9(0x150),'color':_0x28f6e9(0x188)}),'createDefaultValue':_0x422cf0=>{const _0x1e359b=_0x28f6e9;var _0x1a35ce;return(_0x1a35ce=_0x422cf0[_0x1e359b(0x364)])==null?!0x1:_0x1a35ce;},'validate':_0xf38a0f=>typeof _0xf38a0f==_0x28f6e9(0x288)?{'valid':!0x0}:{'valid':!0x1,'reason':_0x28f6e9(0xf8)}}),M(_0x3d85e5['Link'],{'supportsRelation':!0x0},zt,{'createDefaultConfig':()=>({'placeholder':_0x28f6e9(0x1ea)}),'toPlainText':_0x14e1ea=>Bt(_0x14e1ea),'fromPlainText':_0x44d9d8=>zt(_0x44d9d8)}),M(_0x3d85e5[_0x28f6e9(0xd8)],{'editable':!0x1},void 0x0,{'createDefaultConfig':()=>({'formula':'','dependencies':[],'numfmt':{'type':'general','pattern':'General'}}),'createDefaultValue':()=>null}),M(_0x3d85e5[_0x28f6e9(0xf3)],{}),M(_0x3d85e5[_0x28f6e9(0x361)],{}),M(_0x3d85e5['Button'],{'editable':!0x1,'sortable':!0x1,'filterable':!0x1}),M(_0x3d85e5['Numbering'],{'editable':!0x1,'usableAsTitle':!0x0},void 0x0,{'createDefaultConfig':()=>({'mode':_0x28f6e9(0x15c)}),'createDefaultValue':()=>null}),M(_0x3d85e5[_0x28f6e9(0x1b2)],{'usableAsTitle':!0x0},_0x39bcd6=>_0x39bcd6==null?null:String(_0x39bcd6)[_0x28f6e9(0x304)](),{'validate':_0x43aaa4=>_0x43aaa4==null||_0x43aaa4===''||/^\+?[0-9 ()-]{6,20}$/[_0x28f6e9(0xbd)](String(_0x43aaa4))?{'valid':!0x0}:{'valid':!0x1,'reason':_0x28f6e9(0x2fd)}}),M(_0x3d85e5[_0x28f6e9(0x278)],{'usableAsTitle':!0x0},_0x401891=>_0x401891==null?null:String(_0x401891)['trim'](),{'validate':_0x373058=>_0x373058==null||_0x373058===''||Ht(String(_0x373058))?{'valid':!0x0}:{'valid':!0x1,'reason':'[BaseField]:\x20invalid\x20email\x20value.'}}),M(_0x3d85e5[_0x28f6e9(0x11a)],{'usableAsTitle':!0x0}),M(_0x3d85e5[_0x28f6e9(0x22c)],{'usableAsTitle':!0x0}),M(_0x3d85e5[_0x28f6e9(0x19a)],{'usableAsGanttProgress':!0x0},_0x143ec=>_0x143ec==null||_0x143ec===''?null:Number(_0x143ec),{'createDefaultConfig':()=>({'format':_0x28f6e9(0x10a),'decimalPlaces':0x0,'color':_0x28f6e9(0x35f),'customRange':!0x1,'start':0x0,'end':0x64}),'validate':(_0x35ec93,_0x35f3be)=>Rt(_0x35ec93,_0x35f3be,_0x28f6e9(0x350))}),M(_0x3d85e5[_0x28f6e9(0x237)],{},_0xb5135d=>_0xb5135d==null||_0xb5135d===''?null:Number(_0xb5135d),{'createDefaultConfig':()=>({...At(),'currencySymbol':'$'}),'validate':Lt}),M(_0x3d85e5[_0x28f6e9(0x336)],{'groupable':!0x0,'usableAsKanbanGroup':!0x0},_0x3cbcd0=>_0x3cbcd0==null||_0x3cbcd0===''?null:Number(_0x3cbcd0),{'createDefaultConfig':()=>({'icon':_0x28f6e9(0x1df),'min':0x1,'max':0x5}),'createDefaultValue':()=>null,'validate':(_0x480b21,_0x1abcfe)=>Rt(_0x480b21,_0x1abcfe,_0x28f6e9(0xde))}),M(_0x3d85e5[_0x28f6e9(0x33f)],{'supportsRelation':!0x0}),M(_0x3d85e5[_0x28f6e9(0x35d)],{'editable':!0x1,'sortable':!0x0,'filterable':!0x0,'usableAsTitle':!0x0}),M(_0x3d85e5['CreatedBy'],{'editable':!0x1,'groupable':!0x0},_0x4db965=>_0x4db965==null?null:String(_0x4db965),{'createDefaultConfig':()=>({'provider':_0x28f6e9(0x292)}),'createDefaultValue':()=>null}),M(_0x3d85e5[_0x28f6e9(0x229)],{'editable':!0x1,'groupable':!0x0},_0x24a6aa=>_0x24a6aa==null?null:String(_0x24a6aa),{'createDefaultConfig':()=>({'provider':_0x28f6e9(0x292)}),'createDefaultValue':()=>null}),M(_0x3d85e5[_0x28f6e9(0xe5)],{'editable':!0x1,'usableAsCalendarDate':!0x0,'usableAsGanttStart':!0x0,'usableAsGanttEnd':!0x0},_0x5b29e4=>k(_0x5b29e4),{'createDefaultConfig':()=>jt(),'createDefaultValue':()=>null,'validate':It}),M(_0x3d85e5['UpdatedAt'],{'editable':!0x1,'usableAsCalendarDate':!0x0,'usableAsGanttStart':!0x0,'usableAsGanttEnd':!0x0},_0x4f738e=>k(_0x4f738e),{'createDefaultConfig':()=>jt(),'createDefaultValue':()=>null,'validate':It}),M(_0x3d85e5['Summary'],{})];}function At(){const _0x4fdb2b=_0x16d78d;return{'pattern':_0x4fdb2b(0x14d),'decimalPlaces':0x2,'separatorStyle':_0x4fdb2b(0x2fb),'useThousands':!0x0,'abbreviation':_0x4fdb2b(0x353),'allowNegative':!0x0};}function jt(){const _0x3167fd=_0x16d78d;return{'locale':_0x3167fd(0x267),'pattern':_0x3167fd(0xf2),'includeTime':!0x1,'hourCycle':_0x3167fd(0x19d),'defaultMode':'none'};}function Mt(_0x1f7c7d){const _0x3f9d0f=_0x16d78d;return _0x1f7c7d==null||_0x1f7c7d===''?[]:Array[_0x3f9d0f(0x352)](_0x1f7c7d)?_0x1f7c7d[_0x3f9d0f(0x187)](String):[String(_0x1f7c7d)];}function Nt(_0x3025af,_0xaded11){const _0x3b1a18=_0x16d78d;var _0x2f0d47;return _0x3025af==null||_0x3025af===''?_0xaded11[_0x3b1a18(0x2ad)][_0x3b1a18(0x1ce)]===!0x0?[]:null:_0xaded11[_0x3b1a18(0x2ad)]['allowMultiple']===!0x0?Array[_0x3b1a18(0x352)](_0x3025af)?_0x3025af[_0x3b1a18(0x187)](String):[String(_0x3025af)]:Array['isArray'](_0x3025af)?String((_0x2f0d47=_0x3025af[0x0])==null?'':_0x2f0d47)||null:String(_0x3025af);}function Pt(_0x307537,_0x3fa503){const _0x4856d8=_0x16d78d;return _0x3fa503['config'][_0x4856d8(0x1ce)]===!0x0?Ft(_0x307537):_0x307537==null||_0x307537===''||typeof _0x307537=='string'?{'valid':!0x0}:{'valid':!0x1,'reason':_0x4856d8(0x1c1)};}function Ft(_0x522eb3){const _0x5e1ef2=_0x16d78d;return _0x522eb3==null||Array['isArray'](_0x522eb3)&&_0x522eb3[_0x5e1ef2(0x324)](_0x2c2bc2=>typeof _0x2c2bc2=='string')?{'valid':!0x0}:{'valid':!0x1,'reason':_0x5e1ef2(0x376)};}function It(_0x255a27){const _0x81c4b2=_0x16d78d;return _0x255a27==null||typeof _0x255a27==_0x81c4b2(0x12e)&&Number['isFinite'](_0x255a27)?{'valid':!0x0}:{'valid':!0x1,'reason':'[BaseField]:\x20invalid\x20date\x20value.'};}function Lt(_0x70fd8a,_0x5657a0){const _0x4a4516=_0x16d78d;return _0x70fd8a==null||_0x70fd8a===''?{'valid':!0x0}:typeof _0x70fd8a!='number'||!Number['isFinite'](_0x70fd8a)?{'valid':!0x1,'reason':'[BaseField]:\x20invalid\x20number\x20value.'}:_0x5657a0[_0x4a4516(0x2ad)][_0x4a4516(0x280)]===!0x1&&_0x70fd8a<0x0?{'valid':!0x1,'reason':'[BaseField]:\x20negative\x20numbers\x20are\x20disabled.'}:{'valid':!0x0};}function Rt(_0x4c8db2,_0x244109,_0x5d455b){const _0x2ec8a8=_0x16d78d;var _0x871474,_0x59460e,_0x36112e,_0x45373e;let _0x5e463d=Lt(_0x4c8db2,_0x244109);if(!_0x5e463d[_0x2ec8a8(0x20e)]||_0x4c8db2==null||_0x4c8db2==='')return _0x5e463d;let _0x5576f8=Number((_0x871474=(_0x59460e=_0x244109[_0x2ec8a8(0x2ad)][_0x2ec8a8(0x252)])==null?_0x244109[_0x2ec8a8(0x2ad)][_0x2ec8a8(0xd9)]:_0x59460e)==null?0x0:_0x871474),_0x4f1cdd=Number((_0x36112e=(_0x45373e=_0x244109[_0x2ec8a8(0x2ad)][_0x2ec8a8(0x2f9)])==null?_0x244109[_0x2ec8a8(0x2ad)]['end']:_0x45373e)==null?0x64:_0x36112e),_0xc2a693=Number(_0x4c8db2);return _0xc2a693>=_0x5576f8&&_0xc2a693<=_0x4f1cdd?{'valid':!0x0}:{'valid':!0x1,'reason':_0x5d455b};}function zt(_0x279049){const _0x24ff4f=_0x16d78d;if(_0x279049==null||_0x279049==='')return null;if(typeof _0x279049==_0x24ff4f(0x1ae)&&!Array['isArray'](_0x279049)){let _0x3d80aa=_0x279049,_0x48af9b=typeof _0x3d80aa['text']==_0x24ff4f(0xc9)?_0x3d80aa['text'][_0x24ff4f(0x304)]():'',_0x47ea71=typeof _0x3d80aa[_0x24ff4f(0x190)]==_0x24ff4f(0xc9)?_0x3d80aa[_0x24ff4f(0x190)][_0x24ff4f(0x304)]():'',_0x2a66b9=Vt(_0x47ea71||_0x48af9b);return _0x2a66b9?{'text':_0x48af9b||_0x47ea71||_0x2a66b9,'url':_0x2a66b9}:null;}let _0x35c95e=String(_0x279049)[_0x24ff4f(0x304)](),_0xc69af7=Vt(_0x35c95e);return _0xc69af7?{'text':_0x35c95e,'url':_0xc69af7}:null;}function Bt(_0x185e3c){const _0x4a90e3=_0x16d78d;if(_0x185e3c==null)return'';if(typeof _0x185e3c==_0x4a90e3(0x1ae)&&!Array[_0x4a90e3(0x352)](_0x185e3c)){let _0x405d67=_0x185e3c;return String(_0x405d67['text']||_0x405d67[_0x4a90e3(0x190)]||'');}return String(_0x185e3c);}function Vt(_0x48844f){const _0x24b5d3=_0x16d78d;let _0x1142c2=_0x48844f[_0x24b5d3(0x304)]();return _0x1142c2?/^[a-z][a-z\d+.-]*:\/\//i['test'](_0x1142c2)?_0x1142c2:_0x24b5d3(0x21a)+_0x1142c2:'';}function Ht(_0x558e85){const _0x194ff5=_0x16d78d;let _0x599042=_0x558e85[_0x194ff5(0x2f2)]('@');if(_0x599042<=0x0||_0x599042!==_0x558e85[_0x194ff5(0x1b7)]('@'))return!0x1;let _0x2a09b6=_0x558e85[_0x194ff5(0x1b8)](_0x599042+0x1);return _0x2a09b6[_0x194ff5(0x1d9)]('.')&&!_0x558e85[_0x194ff5(0x1d9)]('\x20')&&!_0x2a09b6[_0x194ff5(0x195)]('.')&&!_0x2a09b6[_0x194ff5(0x10b)]('.');}const N={'table':_0x419b9f=>[_0x16d78d(0x1f7),_0x419b9f],'field':(_0x2859b1,_0x47a727)=>[_0x16d78d(0x1f7),_0x2859b1,'fields',_0x47a727],'fieldOrder':(_0x4456ab,_0x27ee7f)=>[_0x16d78d(0x1f7),_0x4456ab,_0x16d78d(0x301),_0x27ee7f],'record':(_0x5686f1,_0x199605)=>[_0x16d78d(0x1f7),_0x5686f1,_0x16d78d(0x26d),_0x199605],'cell':(_0x5e4e83,_0x372ebf,_0x1cea9e)=>[_0x16d78d(0x1f7),_0x5e4e83,_0x16d78d(0x26d),_0x372ebf,_0x16d78d(0x10f),_0x1cea9e],'cellData':(_0xe3788d,_0x254925,_0x1e444e)=>[_0x16d78d(0x1f7),_0xe3788d,'cellData',String(_0x254925),String(_0x1e444e)],'attachmentSet':(_0x2fbfba,_0x5b33f5)=>[_0x16d78d(0x1f7),_0x2fbfba,_0x16d78d(0x326),_0x16d78d(0xb3),_0x5b33f5],'attachment':(_0x1a15c4,_0x282803)=>[_0x16d78d(0x1f7),_0x1a15c4,_0x16d78d(0x326),'attachments',_0x282803],'view':(_0x20eaa1,_0x4ad789)=>[_0x16d78d(0x1f7),_0x20eaa1,'views',_0x4ad789],'viewFieldHidden':(_0x1b316b,_0x43caf4,_0x51679f)=>[_0x16d78d(0x1f7),_0x1b316b,_0x16d78d(0x2b6),_0x43caf4,'fieldSettings',_0x51679f,_0x16d78d(0x2ef)]};function P(_0x27a64e){const _0x726bc6=_0x16d78d;return _0x27a64e[_0x726bc6(0xbf)]((_0x3e667f,_0x42bfac)=>_0x3e667f==null?_0x42bfac:_0x579b08['type'][_0x726bc6(0xf7)](_0x3e667f,_0x42bfac),void 0x0);}var F=class{[_0x16d78d(0xf5)](_0x149a0c,_0xbbe9,_0x13532e=_0x149a0c[_0x16d78d(0x1f3)]['length']){const _0x20a4f1=_0x16d78d;return P([_0x579b08[_0x20a4f1(0x2ac)](N[_0x20a4f1(0xc2)](_0xbbe9['id']),_0xbbe9),_0x579b08[_0x20a4f1(0x2ac)]([_0x20a4f1(0x1f3),_0x13532e],_0xbbe9['id'])]);}[_0x16d78d(0x117)](_0x3700c5,_0x17bcfb,_0x33a39d){const _0x16e034=_0x16d78d;let _0x2959e5=_0x3700c5[_0x16e034(0x1f7)][_0x17bcfb][_0x16e034(0x14c)],_0x388215=Object[_0x16e034(0x10f)](_0x3700c5[_0x16e034(0x1f7)])[_0x16e034(0x1cc)](_0x37e1c3=>Object['values'](_0x37e1c3[_0x16e034(0x30b)])[_0x16e034(0x1cc)](_0x53fd48=>{const _0x2b8934=_0x16e034;var _0x13f936,_0x46a1b1;if(_0x53fd48['type']!==_0x3d85e5['Formula'])return[];let _0x2d53db=String((_0x13f936=(_0x46a1b1=_0x53fd48[_0x2b8934(0x2ad)])==null?void 0x0:_0x46a1b1['formula'])==null?'':_0x13f936),_0x16a8fb=Yt(_0x2d53db,_0x2959e5,_0x33a39d);return _0x16a8fb===_0x2d53db?[]:[this['updateField'](_0x3700c5,_0x37e1c3['id'],_0x53fd48['id'],{'config':{..._0x53fd48['config'],'formula':_0x16a8fb}})];}));return P([_0x579b08[_0x16e034(0x362)]([...N[_0x16e034(0xc2)](_0x17bcfb),_0x16e034(0x14c)],_0x2959e5,_0x33a39d),..._0x388215]);}[_0x16d78d(0x21f)](_0x24c305,_0x4ba933){const _0x44ab35=_0x16d78d;let _0x5aaa85=_0x24c305[_0x44ab35(0x1f7)][_0x4ba933],_0x5d1ada=_0x24c305[_0x44ab35(0x1f3)][_0x44ab35(0x2f2)](_0x4ba933);return P([_0x579b08[_0x44ab35(0x161)](N[_0x44ab35(0xc2)](_0x4ba933),_0x5aaa85),_0x579b08[_0x44ab35(0x161)]([_0x44ab35(0x1f3),_0x5d1ada],_0x4ba933)]);}[_0x16d78d(0x1fe)](_0x691b69,_0x4d6273,_0x28e34e){const _0x5bdee4=_0x16d78d;return this[_0x5bdee4(0x2b3)](_0x691b69,_0x4d6273,[_0x28e34e]);}[_0x16d78d(0x2b3)](_0x2b0e6e,_0x33e3f6,_0x2d7c74){const _0x2f999e=_0x16d78d;let _0x1acb3e=_0x2b0e6e[_0x2f999e(0x1f7)][_0x33e3f6],_0x19aedd=_0x2d7c74[_0x2f999e(0x33b)](_0xa32e2d=>_0xa32e2d&&!_0x1acb3e[_0x2f999e(0x26d)][_0xa32e2d['id']]);return _0x19aedd['length']?P([..._0x19aedd[_0x2f999e(0x187)](_0x2abc1d=>_0x579b08[_0x2f999e(0x2ac)](N[_0x2f999e(0x306)](_0x33e3f6,_0x2abc1d['id']),_0x2abc1d)),this[_0x2f999e(0x2da)](_0x2b0e6e,_0x33e3f6,_0x19aedd)]):_0x579b08[_0x2f999e(0x362)]([...N['table'](_0x33e3f6),'records'],_0x1acb3e[_0x2f999e(0x26d)],_0x1acb3e['records']);}['deleteRecord'](_0x58f3e7,_0x24463f,_0x460adc){const _0x5b7304=_0x16d78d;return this[_0x5b7304(0xc8)](_0x58f3e7,_0x24463f,[_0x460adc]);}[_0x16d78d(0xc8)](_0x2f7ead,_0x1104dc,_0x58c281){const _0x23ae4a=_0x16d78d;let _0x2bde64=_0x2f7ead[_0x23ae4a(0x1f7)][_0x1104dc],_0x55faf5=Array['from'](new Set(_0x58c281))[_0x23ae4a(0x33b)](_0x2c7a31=>_0x2bde64['records'][_0x2c7a31]);if(!_0x55faf5[_0x23ae4a(0x1ee)])return _0x579b08[_0x23ae4a(0x362)]([...N['table'](_0x1104dc),_0x23ae4a(0x26d)],_0x2bde64[_0x23ae4a(0x26d)],_0x2bde64[_0x23ae4a(0x26d)]);let _0x5b9ac4=new Set(_0x55faf5),_0xc40fba=_0x55faf5[_0x23ae4a(0x187)](_0x1eb6d1=>{const _0x2244f0=_0x23ae4a;var _0x18acd5,_0x211fa4;return{'recordId':_0x1eb6d1,'index':(_0x18acd5=(_0x211fa4=_0x2bde64[_0x2244f0(0x158)])==null?void 0x0:_0x211fa4[_0x2244f0(0x2f2)](_0x1eb6d1))==null?-0x1:_0x18acd5};})[_0x23ae4a(0x33b)](_0x62828=>_0x62828[_0x23ae4a(0x1f6)]>=0x0)[_0x23ae4a(0x194)]((_0x1df68f,_0x4a8ae5)=>_0x4a8ae5[_0x23ae4a(0x1f6)]-_0x1df68f[_0x23ae4a(0x1f6)]);return P([..._0x55faf5[_0x23ae4a(0x187)](_0x72c934=>_0x579b08[_0x23ae4a(0x161)](N[_0x23ae4a(0x306)](_0x1104dc,_0x72c934),_0x2bde64['records'][_0x72c934])),..._0xc40fba['map'](({recordId:_0x40f6c4,index:_0x1b2556})=>_0x579b08[_0x23ae4a(0x161)](['tables',_0x1104dc,_0x23ae4a(0x158),_0x1b2556],_0x40f6c4)),...this['_deleteAttachmentResources'](_0x2bde64,_0x1104dc,_0x339985=>{const _0x5526a2=_0x23ae4a;let _0x18e6df=_0x339985[_0x5526a2(0x1b8)](_0x339985[_0x5526a2(0x1b7)]('\x1f')+0x1);return _0x5b9ac4[_0x5526a2(0x277)](_0x18e6df);})]);}[_0x16d78d(0x2c0)](_0x5a6169,_0x4da523,_0x39b7ea,_0x2f315d){const _0x5ed49f=_0x16d78d;return this[_0x5ed49f(0x1fe)](_0x5a6169,_0x4da523,{..._0x2f315d,'values':{..._0x5a6169[_0x5ed49f(0x1f7)][_0x4da523]['records'][_0x39b7ea][_0x5ed49f(0x10f)],..._0x2f315d[_0x5ed49f(0x10f)]}});}[_0x16d78d(0x177)](_0x35e743,_0x551e31,_0x38c70c,_0x4eb1cf){const _0x466463=_0x16d78d;let _0x2d9cbc=_0x35e743[_0x466463(0x1f7)][_0x551e31],_0x591512=[...N['record'](_0x551e31,_0x38c70c),_0x466463(0x266)],_0x42b4fc=Object[_0x466463(0x10f)](_0x2d9cbc[_0x466463(0x26d)])[_0x466463(0x187)](_0x1fccf4=>_0x1fccf4['id']===_0x38c70c?{..._0x1fccf4,'orderKey':_0x4eb1cf}:_0x1fccf4)[_0x466463(0x194)]((_0x56b87e,_0x2b7563)=>{const _0x42ddca=_0x466463;var _0x970ecc,_0x4b9d3a;return String((_0x970ecc=_0x56b87e['orderKey'])==null?_0x56b87e['id']:_0x970ecc)[_0x42ddca(0x153)](String((_0x4b9d3a=_0x2b7563['orderKey'])==null?_0x2b7563['id']:_0x4b9d3a));})[_0x466463(0x187)](_0x5d7305=>_0x5d7305['id']),_0x5ef2e0=[...N[_0x466463(0xc2)](_0x551e31),'recordOrder'];return P([_0x579b08['replaceOp'](_0x591512,_0x2d9cbc[_0x466463(0x26d)][_0x38c70c]['orderKey'],_0x4eb1cf),_0x2d9cbc[_0x466463(0x158)]?_0x579b08[_0x466463(0x362)](_0x5ef2e0,_0x2d9cbc[_0x466463(0x158)],_0x42b4fc):_0x579b08['insertOp'](_0x5ef2e0,_0x42b4fc)]);}[_0x16d78d(0x22f)](_0x19c4d6,_0x3b33ff,_0x18da6b,_0x17377b,_0x3134f9){const _0x13d61f=_0x16d78d;var _0x533c27,_0x217729;let _0x2e7017=_0x19c4d6[_0x13d61f(0x1f7)][_0x3b33ff],_0x4ffa16=Ut(_0x2e7017,_0x18da6b,_0x17377b)?_0x2e7017:w(_0x2e7017),_0x12ac6f=(_0x533c27=_0x4ffa16[_0x13d61f(0x34b)])==null?void 0x0:_0x533c27[_0x18da6b],_0x2cdf36=(_0x217729=_0x4ffa16[_0x13d61f(0x32b)])==null?void 0x0:_0x217729[_0x17377b];if(_0x12ac6f==null||_0x2cdf36==null){var _0x2027bc;return this[_0x13d61f(0x2c6)](N[_0x13d61f(0x1aa)](_0x3b33ff,_0x18da6b,_0x17377b),(_0x2027bc=_0x19c4d6['tables'][_0x3b33ff])==null||(_0x2027bc=_0x2027bc[_0x13d61f(0x26d)][_0x18da6b])==null?void 0x0:_0x2027bc[_0x13d61f(0x10f)][_0x17377b],_0x3134f9);}return this['setRangeValues'](_0x19c4d6,_0x3b33ff,[{'row':_0x12ac6f,'col':_0x2cdf36,'value':_0x3134f9}]);}[_0x16d78d(0xb8)](_0x2e80a4,_0x210086,_0x26a912){const _0x1bdfc2=_0x16d78d;let _0x1e4f3e=_0x2e80a4['tables'][_0x210086],_0x39fb24=_0x26a912[_0x1bdfc2(0x324)](_0x42fe04=>Object[_0x1bdfc2(0x33a)](_0x42fe04[_0x1bdfc2(0x10f)])[_0x1bdfc2(0x324)](_0x528eb7=>Ut(_0x1e4f3e,_0x42fe04['recordId'],_0x528eb7)))?_0x1e4f3e:w(_0x1e4f3e),_0x539ca7=_0x26a912[_0x1bdfc2(0x1cc)](_0x41e014=>Object[_0x1bdfc2(0x1d7)](_0x41e014[_0x1bdfc2(0x10f)])['flatMap'](([_0x228b2e,_0x1868b6])=>{const _0x582398=_0x1bdfc2;var _0x44c8a6,_0x49c6bf;let _0x1694fa=(_0x44c8a6=_0x39fb24[_0x582398(0x34b)])==null?void 0x0:_0x44c8a6[_0x41e014[_0x582398(0x36c)]],_0x2c5574=(_0x49c6bf=_0x39fb24['colIndex'])==null?void 0x0:_0x49c6bf[_0x228b2e];return _0x1694fa==null||_0x2c5574==null?[]:[{'row':_0x1694fa,'col':_0x2c5574,'value':_0x1868b6}];})),_0xa9f0ba=_0x26a912['flatMap'](_0xdecde6=>{const _0x410f0e=_0x1bdfc2;var _0x4578b9;return Object[_0x410f0e(0x1d7)]((_0x4578b9=_0xdecde6[_0x410f0e(0x323)])==null?{}:_0x4578b9)['map'](([_0x4ed3fd,_0x872f10])=>{const _0x23fca1=_0x410f0e;var _0x152ab3;let _0x1c8b3c=[...N[_0x23fca1(0x306)](_0x210086,_0xdecde6[_0x23fca1(0x36c)]),_0x4ed3fd],_0x5157ac=(_0x152ab3=_0x2e80a4['tables'][_0x210086])==null||(_0x152ab3=_0x152ab3[_0x23fca1(0x26d)][_0xdecde6[_0x23fca1(0x36c)]])==null?void 0x0:_0x152ab3[_0x4ed3fd];return this[_0x23fca1(0x2c6)](_0x1c8b3c,_0x5157ac,_0x872f10);});});return P([this['setRangeValues'](_0x2e80a4,_0x210086,_0x539ca7),..._0xa9f0ba]);}[_0x16d78d(0x1b4)](_0x1cd513,_0x2120c7,_0x1241c9){const _0x3b6ea7=_0x16d78d;let _0x35b701=_0x1cd513[_0x3b6ea7(0x1f7)][_0x2120c7],_0x4c2ed0=_0x1241c9[_0x3b6ea7(0x324)](_0x6456c4=>Wt(_0x35b701,_0x6456c4[_0x3b6ea7(0x2ed)],_0x6456c4[_0x3b6ea7(0x1da)]))?_0x35b701:w(_0x35b701),_0x4ae56f=_0x1241c9['flatMap'](_0x4ca668=>{const _0x4c403f=_0x3b6ea7;var _0xf2a85e,_0x528da4,_0x2fb89d,_0x3245ae;let _0x203472=(_0xf2a85e=_0x4c2ed0['colId'])==null?void 0x0:_0xf2a85e[_0x4ca668[_0x4c403f(0x1da)]],_0x542f2b=(_0x528da4=_0x4c2ed0['rowId'])==null?void 0x0:_0x528da4[_0x4ca668[_0x4c403f(0x2ed)]],_0x55f53c=_0x203472?_0x4c2ed0['fields'][_0x203472]:void 0x0,_0x51ad94=Ee(_0x4ca668[_0x4c403f(0x2e7)],_0x55f53c),_0x9601d1=(_0x2fb89d=_0x4c2ed0['cellData'])==null||(_0x2fb89d=_0x2fb89d[_0x4ca668[_0x4c403f(0x2ed)]])==null?void 0x0:_0x2fb89d[_0x4ca668['col']],_0x17ba6f=this[_0x4c403f(0x2c6)](N[_0x4c403f(0x33e)](_0x2120c7,_0x4ca668[_0x4c403f(0x2ed)],_0x4ca668[_0x4c403f(0x1da)]),_0x9601d1,_0x51ad94);if(!_0x203472||!_0x542f2b)return[_0x17ba6f];let _0x18d49e=(_0x3245ae=_0x4c2ed0[_0x4c403f(0x26d)][_0x542f2b])==null?void 0x0:_0x3245ae[_0x4c403f(0x10f)][_0x203472],_0x293d69=(_0x55f53c==null?void 0x0:_0x55f53c[_0x4c403f(0x14a)])===_0x3d85e5['Attachment']?T(_0x4ca668[_0x4c403f(0x2e7)]):ke(_0x4ca668[_0x4c403f(0x2e7)],_0x51ad94,_0x55f53c,_0x4c2ed0,_0x542f2b),_0x588a22=[_0x17ba6f,this[_0x4c403f(0x2c6)](N[_0x4c403f(0x1aa)](_0x2120c7,_0x542f2b,_0x203472),_0x18d49e,_0x293d69)];if((_0x55f53c==null?void 0x0:_0x55f53c['type'])!==_0x3d85e5['Attachment'])return _0x588a22;let _0x2c9b38=this[_0x4c403f(0x311)](_0x4c2ed0,_0x2120c7,_0x542f2b,_0x203472,_0x293d69);return[..._0x588a22,..._0x2c9b38];});return _0x4ae56f[_0x3b6ea7(0x1ee)]?P(_0x4ae56f):_0x579b08[_0x3b6ea7(0x362)]([_0x3b6ea7(0x1f7),_0x2120c7,_0x3b6ea7(0x33e)],_0x4c2ed0[_0x3b6ea7(0x33e)],_0x4c2ed0[_0x3b6ea7(0x33e)]);}[_0x16d78d(0x29c)](_0x55d456,_0x10a16f,_0x4a2de3){const _0x4dc9d5=_0x16d78d;var _0x7db480,_0x2dc347;let _0x33fcd6=_0x55d456[_0x4dc9d5(0x1f7)][_0x10a16f];if(_0x33fcd6['fields'][_0x4a2de3[_0x4dc9d5(0x30d)]['id']]||_0x33fcd6[_0x4dc9d5(0x301)]['includes'](_0x4a2de3[_0x4dc9d5(0x30d)]['id']))return _0x579b08[_0x4dc9d5(0x362)]([_0x4dc9d5(0x1f7),_0x10a16f,_0x4dc9d5(0x301)],_0x33fcd6['fieldOrder'],_0x33fcd6[_0x4dc9d5(0x301)]);let _0x534ef3=(_0x7db480=_0x4a2de3['index'])==null?_0x33fcd6[_0x4dc9d5(0x301)][_0x4dc9d5(0x1ee)]:_0x7db480,_0x37a314=Object[_0x4dc9d5(0x10f)]((_0x2dc347=_0x33fcd6[_0x4dc9d5(0x2b6)])==null?{}:_0x2dc347)['flatMap'](_0xdb4a75=>{const _0x1a0238=_0x4dc9d5;var _0x1f74a9,_0x2305fb;if(!_0xdb4a75[_0x1a0238(0x301)]||_0xdb4a75['fieldOrder'][_0x1a0238(0x1d9)](_0x4a2de3[_0x1a0238(0x30d)]['id']))return[];let _0x32fbdf=Jt((_0x1f74a9=(_0x2305fb=_0x4a2de3['viewIndexes'])==null?void 0x0:_0x2305fb[_0xdb4a75['id']])==null?_0x534ef3:_0x1f74a9,_0xdb4a75[_0x1a0238(0x301)]['length']);return[_0x579b08[_0x1a0238(0x2ac)]([...N[_0x1a0238(0x365)](_0x10a16f,_0xdb4a75['id']),'fieldOrder',_0x32fbdf],_0x4a2de3[_0x1a0238(0x30d)]['id'])];});return P([_0x579b08[_0x4dc9d5(0x2ac)](N[_0x4dc9d5(0x30d)](_0x10a16f,_0x4a2de3[_0x4dc9d5(0x30d)]['id']),_0x4a2de3[_0x4dc9d5(0x30d)]),_0x579b08[_0x4dc9d5(0x2ac)](N[_0x4dc9d5(0x301)](_0x10a16f,_0x534ef3),_0x4a2de3[_0x4dc9d5(0x30d)]['id']),..._0x37a314]);}[_0x16d78d(0x2ff)](_0x99aac3,_0x24b2a9,_0x2d01f,_0x259a23){const _0x2f81be=_0x16d78d;var _0x2ab91d,_0x292431;let _0x1932dd=_0x99aac3[_0x2f81be(0x1f7)][_0x24b2a9];if(!_0x1932dd[_0x2f81be(0x30b)][_0x2d01f]||_0x1932dd[_0x2f81be(0x30b)][_0x259a23[_0x2f81be(0x30d)]['id']]||_0x1932dd[_0x2f81be(0x301)][_0x2f81be(0x1d9)](_0x259a23[_0x2f81be(0x30d)]['id']))return _0x579b08[_0x2f81be(0x362)]([_0x2f81be(0x1f7),_0x24b2a9,_0x2f81be(0x301)],_0x1932dd[_0x2f81be(0x301)],_0x1932dd['fieldOrder']);let _0x5b5177=(_0x2ab91d=_0x259a23['index'])==null?_0x1932dd[_0x2f81be(0x301)][_0x2f81be(0x2f2)](_0x2d01f)+0x1:_0x2ab91d,_0x19b78f=_0x1932dd[_0x2f81be(0x301)][_0x2f81be(0x33b)](_0xa25d7e=>_0xa25d7e!==_0x259a23['field']['id']),_0x3a05ef=Kt(_0x19b78f,_0x259a23['field']['id'],_0x5b5177),_0x522eee=Object[_0x2f81be(0x10f)]((_0x292431=_0x1932dd['views'])==null?{}:_0x292431)['flatMap'](_0x327ade=>{const _0x82e797=_0x2f81be;var _0x231c7d,_0x979c20,_0x1165f3,_0x230883,_0x4225da;let _0x5e1913=(_0x231c7d=_0x327ade['fieldOrder'])!=null&&_0x231c7d[_0x82e797(0x1ee)]?_0x327ade['fieldOrder']:_0x19b78f;if(_0x5e1913['includes'](_0x259a23[_0x82e797(0x30d)]['id']))return[];let _0x51da3b=Kt(_0x5e1913,_0x259a23[_0x82e797(0x30d)]['id'],(_0x979c20=(_0x1165f3=_0x259a23[_0x82e797(0x2e3)])==null?void 0x0:_0x1165f3[_0x327ade['id']])==null?_0x5b5177:_0x979c20),_0x55f7da=(_0x230883=_0x327ade['fieldSettings'])==null?void 0x0:_0x230883[_0x2d01f];return[this[_0x82e797(0x2c6)]([...N[_0x82e797(0x365)](_0x24b2a9,_0x327ade['id']),_0x82e797(0x301)],_0x327ade[_0x82e797(0x301)],_0x51da3b),..._0x55f7da?[this[_0x82e797(0x2c6)]([...N['view'](_0x24b2a9,_0x327ade['id']),'fieldSettings',_0x259a23[_0x82e797(0x30d)]['id']],(_0x4225da=_0x327ade['fieldSettings'])==null?void 0x0:_0x4225da[_0x259a23[_0x82e797(0x30d)]['id']],_0x55f7da)]:[]];}),_0xcf88be=Object['values'](_0x1932dd[_0x2f81be(0x26d)])[_0x2f81be(0x33b)](_0x5ed2a3=>Object[_0x2f81be(0x1de)][_0x2f81be(0x138)][_0x2f81be(0x16c)](_0x5ed2a3[_0x2f81be(0x10f)],_0x2d01f))['map'](_0x48b3c9=>this[_0x2f81be(0x2c6)](N[_0x2f81be(0x1aa)](_0x24b2a9,_0x48b3c9['id'],_0x259a23['field']['id']),_0x48b3c9[_0x2f81be(0x10f)][_0x259a23[_0x2f81be(0x30d)]['id']],_0x48b3c9[_0x2f81be(0x10f)][_0x2d01f]));return P([_0x579b08[_0x2f81be(0x2ac)](N[_0x2f81be(0x30d)](_0x24b2a9,_0x259a23[_0x2f81be(0x30d)]['id']),_0x259a23[_0x2f81be(0x30d)]),_0x579b08[_0x2f81be(0x362)]([_0x2f81be(0x1f7),_0x24b2a9,'fieldOrder'],_0x1932dd['fieldOrder'],_0x3a05ef),..._0x522eee,..._0xcf88be]);}[_0x16d78d(0x107)](_0x21dbd2,_0x498ff3,_0x285a78,_0x5cf8a3){const _0x1956f7=_0x16d78d;let _0x4bab32=_0x21dbd2[_0x1956f7(0x1f7)][_0x498ff3][_0x1956f7(0x30b)][_0x285a78],_0x19dc32={..._0x4bab32,..._0x5cf8a3};Object[_0x1956f7(0x33a)](_0x5cf8a3)[_0x1956f7(0x165)](_0x567926=>{_0x5cf8a3[_0x567926]===void 0x0&&delete _0x19dc32[_0x567926];});let _0x18cbcb=_0x579b08[_0x1956f7(0x362)](N[_0x1956f7(0x30d)](_0x498ff3,_0x285a78),_0x4bab32,_0x19dc32);return _0x19dc32[_0x1956f7(0x14a)]===_0x3d85e5[_0x1956f7(0xd8)]?P([_0x18cbcb,...this['_setFormulaFieldCells'](_0x21dbd2,_0x498ff3,_0x285a78,_0x19dc32)]):_0x18cbcb;}[_0x16d78d(0xd0)](_0x5c1c23,_0x253ed6,_0x220b35,_0x500503){const _0x34f77b=_0x16d78d;return this[_0x34f77b(0x107)](_0x5c1c23,_0x253ed6,_0x220b35,_0x500503);}['deleteField'](_0x290171,_0x300584,_0x5dc179){const _0xa92c1a=_0x16d78d;let _0x1a63bf=_0x290171[_0xa92c1a(0x1f7)][_0x300584];if(!(_0x1a63bf!=null&&_0x1a63bf[_0xa92c1a(0x30b)][_0x5dc179])||_0x1a63bf[_0xa92c1a(0xaf)]===_0x5dc179)return _0x579b08[_0xa92c1a(0x362)]([_0xa92c1a(0x1f7),_0x300584,_0xa92c1a(0x301)],_0x1a63bf==null?void 0x0:_0x1a63bf['fieldOrder'],_0x1a63bf==null?void 0x0:_0x1a63bf[_0xa92c1a(0x301)]);let _0x45df68=_0x1a63bf['fieldOrder']['indexOf'](_0x5dc179),_0x3a00e9=Object[_0xa92c1a(0x10f)](_0x1a63bf[_0xa92c1a(0x2b6)])['flatMap'](_0x55e031=>{const _0x59fa7d=_0xa92c1a;var _0x5ced50,_0x72bfcc,_0x12fe36,_0x38b5ef,_0x3fb0bd,_0x1668a2,_0x2ec907,_0x55ce0a;let _0x64301e=[],_0x480585=(_0x5ced50=(_0x72bfcc=_0x55e031[_0x59fa7d(0x301)])==null?void 0x0:_0x72bfcc['indexOf'](_0x5dc179))==null?-0x1:_0x5ced50;_0x480585>=0x0&&_0x64301e[_0x59fa7d(0xcd)](_0x579b08[_0x59fa7d(0x161)]([...N[_0x59fa7d(0x365)](_0x300584,_0x55e031['id']),_0x59fa7d(0x301),_0x480585],_0x5dc179));let _0x2b8167=(_0x12fe36=_0x55e031[_0x59fa7d(0x35b)])==null?void 0x0:_0x12fe36[_0x5dc179];_0x2b8167!==void 0x0&&_0x64301e[_0x59fa7d(0xcd)](_0x579b08[_0x59fa7d(0x161)]([...N[_0x59fa7d(0x365)](_0x300584,_0x55e031['id']),_0x59fa7d(0x35b),_0x5dc179],_0x2b8167));let _0xcd2d90=_0x55e031['filter']?{..._0x55e031[_0x59fa7d(0x33b)],'conditions':_0x55e031[_0x59fa7d(0x33b)][_0x59fa7d(0xcc)][_0x59fa7d(0x33b)](_0x46e021=>_0x46e021['fieldId']!==_0x5dc179)}:_0x55e031['filter'];_0xcd2d90&&_0xcd2d90[_0x59fa7d(0xcc)][_0x59fa7d(0x1ee)]!==((_0x38b5ef=_0x55e031[_0x59fa7d(0x33b)])==null?void 0x0:_0x38b5ef['conditions'][_0x59fa7d(0x1ee)])&&_0x64301e[_0x59fa7d(0xcd)](this[_0x59fa7d(0x2c6)]([...N[_0x59fa7d(0x365)](_0x300584,_0x55e031['id']),_0x59fa7d(0x33b)],_0x55e031[_0x59fa7d(0x33b)],_0xcd2d90));let _0x4f9ef9=(_0x3fb0bd=_0x55e031['sort'])==null?void 0x0:_0x3fb0bd[_0x59fa7d(0x33b)](_0x500dae=>_0x500dae[_0x59fa7d(0x375)]!==_0x5dc179);_0x4f9ef9&&_0x4f9ef9[_0x59fa7d(0x1ee)]!==((_0x1668a2=_0x55e031[_0x59fa7d(0x194)])==null?void 0x0:_0x1668a2[_0x59fa7d(0x1ee)])&&_0x64301e['push'](this['_replaceOptional']([...N[_0x59fa7d(0x365)](_0x300584,_0x55e031['id']),_0x59fa7d(0x194)],_0x55e031['sort'],_0x4f9ef9));let _0x273c4a=(_0x2ec907=_0x55e031['group'])==null?void 0x0:_0x2ec907[_0x59fa7d(0x33b)](_0xb90d67=>_0xb90d67[_0x59fa7d(0x375)]!==_0x5dc179);_0x273c4a&&_0x273c4a['length']!==((_0x55ce0a=_0x55e031[_0x59fa7d(0xcb)])==null?void 0x0:_0x55ce0a['length'])&&_0x64301e['push'](this[_0x59fa7d(0x2c6)]([...N[_0x59fa7d(0x365)](_0x300584,_0x55e031['id']),_0x59fa7d(0xcb)],_0x55e031['group'],_0x273c4a));let _0x41a99a=qt(_0x55e031[_0x59fa7d(0x2ad)],_0x5dc179);return JSON['stringify'](_0x41a99a)!==JSON[_0x59fa7d(0x1f5)](_0x55e031[_0x59fa7d(0x2ad)])&&_0x64301e[_0x59fa7d(0xcd)](_0x579b08[_0x59fa7d(0x362)]([...N[_0x59fa7d(0x365)](_0x300584,_0x55e031['id']),_0x59fa7d(0x2ad)],_0x55e031[_0x59fa7d(0x2ad)],_0x41a99a)),_0x64301e;}),_0x2d747e=Object[_0xa92c1a(0x10f)](_0x1a63bf[_0xa92c1a(0x26d)])[_0xa92c1a(0x1cc)](_0x28bf04=>Object['prototype']['hasOwnProperty'][_0xa92c1a(0x16c)](_0x28bf04[_0xa92c1a(0x10f)],_0x5dc179)?[_0x579b08[_0xa92c1a(0x161)](N['cell'](_0x300584,_0x28bf04['id'],_0x5dc179),_0x28bf04[_0xa92c1a(0x10f)][_0x5dc179])]:[]);return P([_0x579b08[_0xa92c1a(0x161)](N['field'](_0x300584,_0x5dc179),_0x1a63bf[_0xa92c1a(0x30b)][_0x5dc179]),_0x579b08[_0xa92c1a(0x161)](N[_0xa92c1a(0x301)](_0x300584,_0x45df68),_0x5dc179),..._0x3a00e9,..._0x2d747e,...this[_0xa92c1a(0x1d0)](_0x1a63bf,_0x300584,_0x5c1a68=>_0x5c1a68[_0xa92c1a(0x195)](_0x5dc179+'\x1f'))]);}[_0x16d78d(0x186)](_0xec4084,_0x98ab8,_0x205cc5,_0x431f62){const _0x22d296=_0x16d78d;let _0x460093=_0xec4084[_0x22d296(0x1f7)][_0x98ab8][_0x22d296(0x301)],_0x40699f=Gt(_0x460093,_0x205cc5,_0x431f62);return _0x579b08[_0x22d296(0x362)]([_0x22d296(0x1f7),_0x98ab8,_0x22d296(0x301)],_0x460093,_0x40699f);}[_0x16d78d(0x1c4)](_0x187acc,_0x35e674,_0x5e768c,_0x5a16b0=_0x187acc[_0x16d78d(0x1f7)][_0x35e674][_0x16d78d(0x1b1)][_0x16d78d(0x1ee)]){const _0x3e0a0c=_0x16d78d;return P([_0x579b08[_0x3e0a0c(0x2ac)](N[_0x3e0a0c(0x365)](_0x35e674,_0x5e768c['id']),_0x5e768c),_0x579b08['insertOp']([_0x3e0a0c(0x1f7),_0x35e674,_0x3e0a0c(0x1b1),_0x5a16b0],_0x5e768c['id'])]);}['renameView'](_0x5ae1db,_0x137ef6,_0x5043bd,_0x476c5b){const _0x429f17=_0x16d78d;return _0x579b08[_0x429f17(0x362)]([...N[_0x429f17(0x365)](_0x137ef6,_0x5043bd),'name'],_0x5ae1db[_0x429f17(0x1f7)][_0x137ef6][_0x429f17(0x2b6)][_0x5043bd][_0x429f17(0x14c)],_0x476c5b);}['deleteView'](_0x3b2d47,_0x375f12,_0x1f1bb9){const _0x21273a=_0x16d78d;let _0x1f2828=_0x3b2d47[_0x21273a(0x1f7)][_0x375f12],_0x49ddb1=_0x1f2828[_0x21273a(0x2b6)][_0x1f1bb9],_0x43ce87=_0x1f2828[_0x21273a(0x1b1)]['indexOf'](_0x1f1bb9);return P([_0x579b08[_0x21273a(0x161)](N[_0x21273a(0x365)](_0x375f12,_0x1f1bb9),_0x49ddb1),_0x579b08[_0x21273a(0x161)](['tables',_0x375f12,_0x21273a(0x1b1),_0x43ce87],_0x1f1bb9)]);}[_0x16d78d(0x16b)](_0x378ddf,_0x5da152,_0x4d131b,_0x21039f){const _0x5c4cc4=_0x16d78d;let _0x44a74f=_0x378ddf[_0x5c4cc4(0x1f7)][_0x5da152][_0x5c4cc4(0x1b1)],_0x46c18b=Gt(_0x44a74f,_0x4d131b,{'beforeFieldId':_0x21039f[_0x5c4cc4(0x297)],'afterFieldId':_0x21039f[_0x5c4cc4(0x24a)]});return _0x579b08[_0x5c4cc4(0x362)]([_0x5c4cc4(0x1f7),_0x5da152,_0x5c4cc4(0x1b1)],_0x44a74f,_0x46c18b);}[_0x16d78d(0x20c)](_0x2abf7c,_0x45669f,_0x35b25c,_0x55a45f){const _0x122190=_0x16d78d;var _0xa4021c;let _0x34a71d=(_0xa4021c=_0x2abf7c[_0x122190(0x1f7)][_0x45669f][_0x122190(0x2b6)][_0x35b25c]['config'])==null?{}:_0xa4021c,_0x116954={..._0x34a71d,..._0x55a45f};return Object[_0x122190(0x33a)](_0x55a45f)[_0x122190(0x165)](_0x3bfd7c=>{_0x55a45f[_0x3bfd7c]===void 0x0&&delete _0x116954[_0x3bfd7c];}),_0x579b08[_0x122190(0x362)]([...N[_0x122190(0x365)](_0x45669f,_0x35b25c),_0x122190(0x2ad)],_0x34a71d,_0x116954);}['setViewFilter'](_0x4a82f1,_0x1f7df5,_0x33639b,_0x244679){const _0x39ed14=_0x16d78d;return this[_0x39ed14(0x2c6)]([...N[_0x39ed14(0x365)](_0x1f7df5,_0x33639b),_0x39ed14(0x33b)],_0x4a82f1[_0x39ed14(0x1f7)][_0x1f7df5]['views'][_0x33639b][_0x39ed14(0x33b)],_0x244679);}[_0x16d78d(0x274)](_0x24745d,_0x4097d8,_0x2ca717,_0x1fd06a){const _0x5a096b=_0x16d78d;return this[_0x5a096b(0x2c6)]([...N[_0x5a096b(0x365)](_0x4097d8,_0x2ca717),_0x5a096b(0x194)],_0x24745d[_0x5a096b(0x1f7)][_0x4097d8]['views'][_0x2ca717]['sort'],_0x1fd06a);}[_0x16d78d(0x16a)](_0x5a6861,_0x507df8,_0x2bd93c,_0x4a2756){const _0x4e53df=_0x16d78d;return this[_0x4e53df(0x2c6)]([...N[_0x4e53df(0x365)](_0x507df8,_0x2bd93c),'group'],_0x5a6861['tables'][_0x507df8][_0x4e53df(0x2b6)][_0x2bd93c][_0x4e53df(0xcb)],_0x4a2756);}['setViewFieldVisible'](_0x3cfe29,_0x5f2316,_0x3516e7,_0x36a636,_0x4f504b){const _0x357ffa=_0x16d78d;return this[_0x357ffa(0x1a7)](_0x3cfe29,_0x5f2316,_0x3516e7,_0x36a636,{'hidden':!_0x4f504b});}[_0x16d78d(0x1bf)](_0x450984,_0x249b6d,_0x463ec4,_0x2be320,_0x18d06f){return this['_setViewFieldSetting'](_0x450984,_0x249b6d,_0x463ec4,_0x2be320,{'width':_0x18d06f});}[_0x16d78d(0x100)](_0xdc03f,_0x218c5d,_0x4daa93,_0x12a283,_0x48aad9){const _0x20d1ec=_0x16d78d;var _0x1f1908;let _0x5e7423=_0xdc03f[_0x20d1ec(0x1f7)][_0x218c5d][_0x20d1ec(0x2b6)][_0x4daa93],_0x27cc26=Gt((_0x1f1908=_0x5e7423[_0x20d1ec(0x301)])==null?_0xdc03f[_0x20d1ec(0x1f7)][_0x218c5d]['fieldOrder']:_0x1f1908,_0x12a283,_0x48aad9);return this[_0x20d1ec(0x2c6)]([...N[_0x20d1ec(0x365)](_0x218c5d,_0x4daa93),_0x20d1ec(0x301)],_0x5e7423['fieldOrder'],_0x27cc26);}['_setViewFieldSetting'](_0x185613,_0x5cf6c3,_0x135a52,_0x4a228b,_0x58eedd){const _0x58a006=_0x16d78d;var _0x47081b;let _0x41bfdb=(_0x47081b=_0x185613[_0x58a006(0x1f7)][_0x5cf6c3]['views'][_0x135a52][_0x58a006(0x35b)])==null?{}:_0x47081b,_0x183a52={..._0x41bfdb,[_0x4a228b]:{..._0x41bfdb[_0x4a228b],..._0x58eedd}};return this[_0x58a006(0x2c6)]([...N[_0x58a006(0x365)](_0x5cf6c3,_0x135a52),_0x58a006(0x35b)],_0x185613[_0x58a006(0x1f7)][_0x5cf6c3]['views'][_0x135a52]['fieldSettings'],_0x183a52);}[_0x16d78d(0x2da)](_0x55810b,_0x173ca9,_0x52ac14){const _0x52a86c=_0x16d78d;let _0x56b860=_0x55810b[_0x52a86c(0x1f7)][_0x173ca9],_0x5f3d9b=new Set(_0x52ac14[_0x52a86c(0x187)](_0x2f834e=>_0x2f834e['id'])),_0x3bc003=[...Object[_0x52a86c(0x10f)](_0x56b860[_0x52a86c(0x26d)])[_0x52a86c(0x33b)](_0x75d2cb=>!_0x5f3d9b[_0x52a86c(0x277)](_0x75d2cb['id'])),..._0x52ac14][_0x52a86c(0x194)]((_0x3a83eb,_0x37debe)=>{const _0x22e363=_0x52a86c;var _0x92ae22,_0x464669;return String((_0x92ae22=_0x3a83eb['orderKey'])==null?_0x3a83eb['id']:_0x92ae22)[_0x22e363(0x153)](String((_0x464669=_0x37debe[_0x22e363(0x266)])==null?_0x37debe['id']:_0x464669));})['map'](_0x1ab858=>_0x1ab858['id']),_0x22f1eb=[...N[_0x52a86c(0xc2)](_0x173ca9),_0x52a86c(0x158)];return _0x56b860[_0x52a86c(0x158)]?_0x579b08[_0x52a86c(0x362)](_0x22f1eb,_0x56b860[_0x52a86c(0x158)],_0x3bc003):_0x579b08[_0x52a86c(0x2ac)](_0x22f1eb,_0x3bc003);}['_setFormulaFieldCells'](_0x3db6e7,_0x466f08,_0x14f1ff,_0x49171e){const _0x31c0c2=_0x16d78d;var _0x196765,_0x30db43,_0x2163c1,_0x9a246b;let _0x229f52=w(_0x3db6e7[_0x31c0c2(0x1f7)][_0x466f08]),_0x5ad51f=String((_0x196765=(_0x30db43=_0x49171e[_0x31c0c2(0x2ad)])==null?void 0x0:_0x30db43[_0x31c0c2(0x13d)])==null?'':_0x196765)['trim'](),_0xc0a963=(_0x2163c1=_0x229f52[_0x31c0c2(0x32b)])==null?void 0x0:_0x2163c1[_0x14f1ff];if(_0xc0a963==null)return[];let _0x47e769=(_0x9a246b=_0x229f52['recordOrder'])==null?Object[_0x31c0c2(0x33a)](_0x229f52[_0x31c0c2(0x26d)]):_0x9a246b,_0x246ad4=_0x47e769[_0x31c0c2(0x187)](_0x4bf7dd=>{var _0x976b7b;return(_0x976b7b=_0x229f52['rowIndex'])==null?void 0x0:_0x976b7b[_0x4bf7dd];})[_0x31c0c2(0x2db)](_0x1157a0=>_0x1157a0!=null);return _0x47e769[_0x31c0c2(0x1cc)](_0x8ffcde=>{const _0x41ed1b=_0x31c0c2;var _0x930860,_0x2e3927;let _0x579367=(_0x930860=_0x229f52[_0x41ed1b(0x34b)])==null?void 0x0:_0x930860[_0x8ffcde];if(_0x579367==null)return[];let _0x540575=(_0x2e3927=_0x229f52[_0x41ed1b(0x33e)])==null||(_0x2e3927=_0x2e3927[_0x579367])==null?void 0x0:_0x2e3927[_0xc0a963],_0x20e773=_0x5ad51f?_0x579367===_0x246ad4?{'f':_0x5ad51f,'si':_0x14f1ff}:{'si':_0x14f1ff}:{'v':null,'t':null};return[this['_replaceOptional'](N[_0x41ed1b(0x33e)](_0x466f08,_0x579367,_0xc0a963),_0x540575,_0x20e773)];});}[_0x16d78d(0x311)](_0x1414eb,_0x1ef03e,_0x3bfadf,_0x1b18d2,_0x3fced4){const _0x310caa=_0x16d78d;var _0x7c47c;let _0x4cbc68=je(_0x1b18d2,_0x3bfadf),_0x3e1427=_0x3fced4[_0x310caa(0x187)]((_0x5951f2,_0x55e0a6)=>{var _0x548719;return String((_0x548719=_0x5951f2['id'])==null?_0x4cbc68+'\x1f'+_0x55e0a6:_0x548719);});return[this['_replaceOptional'](N[_0x310caa(0x208)](_0x1ef03e,_0x4cbc68),(_0x7c47c=_0x1414eb['resources'])==null||(_0x7c47c=_0x7c47c[_0x310caa(0xb3)])==null?void 0x0:_0x7c47c[_0x4cbc68],_0x3e1427),..._0x3fced4['map']((_0x174420,_0x22aebb)=>{const _0x561660=_0x310caa;var _0x1c43ba;let _0x53b337=_0x3e1427[_0x22aebb];return this[_0x561660(0x2c6)](N[_0x561660(0xe1)](_0x1ef03e,_0x53b337),(_0x1c43ba=_0x1414eb['resources'])==null||(_0x1c43ba=_0x1c43ba[_0x561660(0x25a)])==null?void 0x0:_0x1c43ba[_0x53b337],{..._0x174420,'id':_0x53b337});})];}['_deleteAttachmentResources'](_0x3b329f,_0x55135f,_0xc0c1ed){const _0x1b1633=_0x16d78d;var _0x42094c,_0x41d41d;let _0x311719=(_0x42094c=(_0x41d41d=_0x3b329f[_0x1b1633(0x326)])==null?void 0x0:_0x41d41d[_0x1b1633(0xb3)])==null?{}:_0x42094c,_0x5e679c=Object[_0x1b1633(0x1d7)](_0x311719)[_0x1b1633(0x33b)](([_0x677283])=>_0xc0c1ed(_0x677283));if(!_0x5e679c[_0x1b1633(0x1ee)])return[];let _0xd0e0b4=new Set(Object['entries'](_0x311719)[_0x1b1633(0x33b)](([_0x2984ce])=>!_0xc0c1ed(_0x2984ce))[_0x1b1633(0x1cc)](([,_0x547bb7])=>_0x547bb7)),_0x5c1c89=new Set(_0x5e679c['flatMap'](([,_0x457814])=>_0x457814));return[..._0x5e679c[_0x1b1633(0x187)](([_0x3e95c9,_0x27ad01])=>_0x579b08['removeOp'](N[_0x1b1633(0x208)](_0x55135f,_0x3e95c9),_0x27ad01)),...Array[_0x1b1633(0x251)](_0x5c1c89)[_0x1b1633(0x1cc)](_0x12db21=>{const _0x84bc2e=_0x1b1633;var _0x556ebb;let _0x1df7a1=(_0x556ebb=_0x3b329f[_0x84bc2e(0x326)])==null||(_0x556ebb=_0x556ebb['attachments'])==null?void 0x0:_0x556ebb[_0x12db21];return _0x1df7a1!==void 0x0&&!_0xd0e0b4[_0x84bc2e(0x277)](_0x12db21)?[_0x579b08[_0x84bc2e(0x161)](N['attachment'](_0x55135f,_0x12db21),_0x1df7a1)]:[];})];}[_0x16d78d(0x2c6)](_0x2e8d8b,_0x1c343b,_0x36f056){const _0x1afb8a=_0x16d78d;return _0x1c343b===void 0x0?_0x579b08[_0x1afb8a(0x2ac)](_0x2e8d8b,_0x36f056):_0x579b08[_0x1afb8a(0x362)](_0x2e8d8b,_0x1c343b,_0x36f056);}};function Ut(_0x2468ab,_0x3c8b8c,_0x392b99){const _0x2c53e8=_0x16d78d;var _0x5573ca,_0x3400b3,_0x86c342,_0x1e361b;let _0x4dd47c=(_0x5573ca=_0x2468ab['rowIndex'])==null?void 0x0:_0x5573ca[_0x3c8b8c],_0x1cfe93=(_0x3400b3=_0x2468ab[_0x2c53e8(0x32b)])==null?void 0x0:_0x3400b3[_0x392b99];return _0x4dd47c!=null&&_0x1cfe93!=null&&((_0x86c342=_0x2468ab[_0x2c53e8(0xd7)])==null?void 0x0:_0x86c342[_0x4dd47c])===_0x3c8b8c&&((_0x1e361b=_0x2468ab[_0x2c53e8(0x15b)])==null?void 0x0:_0x1e361b[_0x1cfe93])===_0x392b99&&_0x2468ab['cellData']!=null;}function Wt(_0x5e2791,_0x2303ed,_0x35f94a){const _0x36ac9c=_0x16d78d;var _0x3ecda2,_0x3a405c;return((_0x3ecda2=_0x5e2791['rowId'])==null?void 0x0:_0x3ecda2[_0x2303ed])!=null&&((_0x3a405c=_0x5e2791['colId'])==null?void 0x0:_0x3a405c[_0x35f94a])!=null&&_0x5e2791[_0x36ac9c(0x33e)]!=null;}function Gt(_0x2350d0,_0x21a09e,_0x57cd24){const _0x557e99=_0x16d78d;let _0x5f2f09=_0x2350d0['filter'](_0x1578f5=>_0x1578f5!==_0x21a09e),_0xd98eb1=_0x57cd24[_0x557e99(0xf4)]?_0x5f2f09[_0x557e99(0x2f2)](_0x57cd24[_0x557e99(0xf4)]):_0x57cd24[_0x557e99(0x13a)]?_0x5f2f09[_0x557e99(0x2f2)](_0x57cd24[_0x557e99(0x13a)])+0x1:_0x5f2f09[_0x557e99(0x1ee)];return _0x5f2f09[_0x557e99(0x27b)](_0xd98eb1<0x0?_0x5f2f09['length']:_0xd98eb1,0x0,_0x21a09e),_0x5f2f09;}function Kt(_0xeeb116,_0x50ad6f,_0x423184){const _0x493d92=_0x16d78d;let _0x15df2b=_0xeeb116[_0x493d92(0x33b)](_0x4bb2fa=>_0x4bb2fa!==_0x50ad6f);return _0x15df2b['splice'](Jt(_0x423184,_0x15df2b[_0x493d92(0x1ee)]),0x0,_0x50ad6f),_0x15df2b;}function qt(_0x4bed66,_0x51e2d3,_0x45c560){const _0x5d8493=_0x16d78d;if(Array[_0x5d8493(0x352)](_0x4bed66))return _0x45c560===_0x5d8493(0x321)?_0x4bed66[_0x5d8493(0x33b)](_0x4c1b7f=>_0x4c1b7f!==_0x51e2d3):_0x4bed66[_0x5d8493(0x1cc)](_0x440292=>{const _0x270df5=_0x5d8493;if(_0x440292&&typeof _0x440292==_0x270df5(0x1ae)&&!Array[_0x270df5(0x352)](_0x440292)&&_0x440292[_0x270df5(0x375)]===_0x51e2d3)return[];let _0x3f88bf=qt(_0x440292,_0x51e2d3);return _0x3f88bf===void 0x0?[]:[_0x3f88bf];});if(!_0x4bed66||typeof _0x4bed66!='object')return _0x45c560!=null&&_0x45c560[_0x5d8493(0x10b)]('FieldId')&&_0x4bed66===_0x51e2d3?void 0x0:_0x4bed66;let _0xd86847=_0x4bed66;if(_0xd86847[_0x5d8493(0x375)]!==_0x51e2d3)return Object['fromEntries'](Object[_0x5d8493(0x1d7)](_0xd86847)[_0x5d8493(0x1cc)](([_0x2b111f,_0x513bbc])=>{const _0x1a8adb=_0x5d8493;if(_0x2b111f===_0x51e2d3&&_0x45c560===_0x1a8adb(0x35b))return[];let _0x39a584=qt(_0x513bbc,_0x51e2d3,_0x2b111f);return _0x39a584===void 0x0?[]:[[_0x2b111f,_0x39a584]];}));}function Jt(_0x188db7,_0x5cc34d){return Math['max'](0x0,Math['min'](_0x188db7,_0x5cc34d));}function Yt(_0x10d090,_0x34d061,_0x2c5d41){const _0x454f29=_0x16d78d;if(!_0x10d090||!_0x34d061||_0x34d061===_0x2c5d41)return _0x10d090;let _0x48e7b6='',_0x5bcfea=!0x1,_0x44e181=_0x34d061[_0x454f29(0x123)]();for(let _0x4edf8d=0x0;_0x4edf8d<_0x10d090['length'];){let _0x1e2a70=_0x10d090[_0x4edf8d];if(_0x1e2a70==='\x22'){if(_0x5bcfea&&_0x10d090[_0x4edf8d+0x1]==='\x22'){_0x48e7b6+='\x22\x22',_0x4edf8d+=0x2;continue;}_0x5bcfea=!_0x5bcfea,_0x48e7b6+=_0x1e2a70,_0x4edf8d++;continue;}if(!_0x5bcfea&&_0x10d090[_0x454f29(0x1b8)](_0x4edf8d,_0x4edf8d+_0x34d061[_0x454f29(0x1ee)])[_0x454f29(0x123)]()===_0x44e181&&Xt(_0x10d090,_0x4edf8d,_0x34d061[_0x454f29(0x1ee)])){_0x48e7b6+=_0x2c5d41,_0x4edf8d+=_0x34d061[_0x454f29(0x1ee)];continue;}_0x48e7b6+=_0x1e2a70,_0x4edf8d++;}return _0x48e7b6;}function Xt(_0x3c1cd9,_0x5a7349,_0x17b49b){const _0x3fd339=_0x16d78d;var _0x38ddfa;let _0x25ffae=_0x3c1cd9[_0x5a7349-0x1];if(_0x25ffae&&/[\w.]/[_0x3fd339(0xbd)](_0x25ffae))return!0x1;let _0x5c9f32=_0x5a7349+_0x17b49b;for(;/\s/[_0x3fd339(0xbd)]((_0x38ddfa=_0x3c1cd9[_0x5c9f32])==null?'':_0x38ddfa);)_0x5c9f32++;return _0x3c1cd9[_0x5c9f32]==='[';}function I(_0x5984f8){'@babel/helpers - typeof';const _0x59dfb3=_0x16d78d;return I=typeof Symbol==_0x59dfb3(0x15e)&&typeof Symbol['iterator']==_0x59dfb3(0x2c8)?function(_0x4eb100){return typeof _0x4eb100;}:function(_0x532ca8){const _0x214baa=_0x59dfb3;return _0x532ca8&&typeof Symbol=='function'&&_0x532ca8[_0x214baa(0x255)]===Symbol&&_0x532ca8!==Symbol[_0x214baa(0x1de)]?_0x214baa(0x2c8):typeof _0x532ca8;},I(_0x5984f8);}function Zt(_0x6ef7eb,_0x286d7d){const _0x195d74=_0x16d78d;if(I(_0x6ef7eb)!=_0x195d74(0x1ae)||!_0x6ef7eb)return _0x6ef7eb;var _0xbb8236=_0x6ef7eb[Symbol['toPrimitive']];if(_0xbb8236!==void 0x0){var _0x5e940b=_0xbb8236[_0x195d74(0x16c)](_0x6ef7eb,_0x286d7d||'default');if(I(_0x5e940b)!='object')return _0x5e940b;throw TypeError(_0x195d74(0x169));}return(_0x286d7d==='string'?String:Number)(_0x6ef7eb);}function Qt(_0x58cb77){const _0x37e915=_0x16d78d;var _0x59a1b0=Zt(_0x58cb77,_0x37e915(0xc9));return I(_0x59a1b0)==_0x37e915(0x2c8)?_0x59a1b0:_0x59a1b0+'';}function L(_0x32929b,_0x2f680e,_0x44984d){const _0x2f1f8c=_0x16d78d;return(_0x2f680e=Qt(_0x2f680e))in _0x32929b?Object[_0x2f1f8c(0x1fb)](_0x32929b,_0x2f680e,{'value':_0x44984d,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x32929b[_0x2f680e]=_0x44984d,_0x32929b;}const $t=_0x2eeafa(_0x16d78d(0x11f));var en=class extends _0x10a465{constructor(..._0x42c048){const _0x1406cf=_0x16d78d;super(..._0x42c048),L(this,_0x1406cf(0x2cc),new Map());}['register'](_0x293490){const _0x2e705d=_0x16d78d;return this[_0x2e705d(0x2cc)]['set'](_0x293490['type'],_0x293490),_0x3f89c7(()=>this[_0x2e705d(0x2cc)][_0x2e705d(0x2a5)](_0x293490[_0x2e705d(0x14a)]));}[_0x16d78d(0x36e)](_0x1143fd){const _0x19e035=_0x16d78d;let _0x194d90=this[_0x19e035(0x2cc)][_0x19e035(0x36e)](_0x1143fd);if(!_0x194d90)throw Error(_0x19e035(0x140)+_0x1143fd+'\x22\x20is\x20not\x20registered.');return _0x194d90;}['getTypePlugin'](_0x530dc5){const _0x55385e=_0x16d78d;return this[_0x55385e(0x2cc)][_0x55385e(0x36e)](_0x530dc5);}[_0x16d78d(0x1d5)](){const _0x531e11=_0x16d78d;return Array[_0x531e11(0x251)](this[_0x531e11(0x2cc)][_0x531e11(0x10f)]());}};const tn=_0x2eeafa(_0x16d78d(0x2ee));var nn=class{constructor(){const _0x43ddd4=_0x16d78d;L(this,_0x43ddd4(0x11d),new Map()),L(this,_0x43ddd4(0x1ab),new Map()),L(this,_0x43ddd4(0x239),new Map()),L(this,_0x43ddd4(0x133),new Map());}[_0x16d78d(0xc6)](_0x16b6d9){const _0x4c3b9e=_0x16d78d;var _0x557aa8,_0x50257b;return(_0x557aa8=(_0x50257b=this[_0x4c3b9e(0x11d)][_0x4c3b9e(0x36e)](_0x16b6d9))==null?void 0x0:_0x50257b[_0x4c3b9e(0xf5)])==null?!0x0:_0x557aa8;}[_0x16d78d(0x1ad)](_0x35c374){const _0x394c8a=_0x16d78d;var _0x78b945,_0x45f8c9;return(_0x78b945=(_0x45f8c9=this[_0x394c8a(0x1ab)][_0x394c8a(0x36e)](_0x35c374))==null?void 0x0:_0x45f8c9[_0x394c8a(0x2a5)])==null?!0x0:_0x78b945;}[_0x16d78d(0x168)](_0x1e7dfb){const _0xdf58cd=_0x16d78d;var _0x3880a5,_0x5e0e32;return(_0x3880a5=(_0x5e0e32=this[_0xdf58cd(0x1ab)]['get'](_0x1e7dfb))==null?void 0x0:_0x5e0e32[_0xdf58cd(0x29c)])==null?!0x0:_0x3880a5;}[_0x16d78d(0xd3)](_0x337243,_0x3e986d){const _0x661d92=_0x16d78d;var _0x4d8923,_0x343652;return(_0x4d8923=(_0x343652=this[_0x661d92(0x239)]['get'](R(_0x337243,_0x3e986d)))==null?void 0x0:_0x343652['edit'])==null?!0x0:_0x4d8923;}[_0x16d78d(0x17e)](_0x501b0f,_0x46ee31){const _0x2ff25f=_0x16d78d;var _0x410872,_0x5c290e;return(_0x410872=(_0x5c290e=this[_0x2ff25f(0x239)][_0x2ff25f(0x36e)](R(_0x501b0f,_0x46ee31)))==null?void 0x0:_0x5c290e[_0x2ff25f(0x2a5)])==null?!0x0:_0x410872;}[_0x16d78d(0x10c)](_0x3a38d0){const _0x4d3ed3=_0x16d78d;var _0x6d3de9,_0x4e1b09;return(_0x6d3de9=(_0x4e1b09=this[_0x4d3ed3(0x1ab)][_0x4d3ed3(0x36e)](_0x3a38d0))==null?void 0x0:_0x4e1b09[_0x4d3ed3(0x1fe)])==null?!0x0:_0x6d3de9;}[_0x16d78d(0x29e)](_0x4f5104,_0x31d01c){const _0x18e507=_0x16d78d;var _0x41e4f0,_0x468bba;return(_0x41e4f0=(_0x468bba=this[_0x18e507(0x133)][_0x18e507(0x36e)](rn(_0x4f5104,_0x31d01c)))==null?void 0x0:_0x468bba['delete'])==null?!0x0:_0x41e4f0;}[_0x16d78d(0x269)](_0x522843,_0x516169,_0x378bf2){const _0x5c5b69=_0x16d78d;var _0x551db2,_0x56c160,_0x27f636,_0x329291;let _0x584676=this[_0x5c5b69(0x239)][_0x5c5b69(0x36e)](R(_0x522843,_0x378bf2));return((_0x551db2=(_0x56c160=this['_recordPermissions'][_0x5c5b69(0x36e)](rn(_0x522843,_0x516169)))==null?void 0x0:_0x56c160[_0x5c5b69(0x276)])==null?!0x0:_0x551db2)&&((_0x27f636=_0x584676==null?void 0x0:_0x584676[_0x5c5b69(0xea)])==null?!0x0:_0x27f636)&&((_0x329291=_0x584676==null?void 0x0:_0x584676[_0x5c5b69(0x276)])==null?!0x0:_0x329291);}[_0x16d78d(0x31d)](_0x1d5205){const _0x26d69a=_0x16d78d;var _0x21ab13,_0x4a06ab;return(_0x21ab13=(_0x4a06ab=this[_0x26d69a(0x1ab)][_0x26d69a(0x36e)](_0x1d5205))==null?void 0x0:_0x4a06ab[_0x26d69a(0x1a5)])==null?!0x0:_0x21ab13;}[_0x16d78d(0x20b)](_0x27707e,_0x235259){const _0x587279=_0x16d78d;this[_0x587279(0x11d)][_0x587279(0x21d)](_0x27707e,{...this[_0x587279(0x11d)][_0x587279(0x36e)](_0x27707e),..._0x235259});}['setTablePermission'](_0x5b739d,_0x305d40){const _0x60c313=_0x16d78d;this['_tablePermissions'][_0x60c313(0x21d)](_0x5b739d,{...this[_0x60c313(0x1ab)][_0x60c313(0x36e)](_0x5b739d),..._0x305d40});}[_0x16d78d(0x2bc)](_0x4ca00f,_0x418807,_0x2e97f9){const _0x3090c1=_0x16d78d;let _0x4c4a31=R(_0x4ca00f,_0x418807);this['_fieldPermissions'][_0x3090c1(0x21d)](_0x4c4a31,{...this[_0x3090c1(0x239)][_0x3090c1(0x36e)](_0x4c4a31),..._0x2e97f9});}[_0x16d78d(0x127)](_0x2aab25,_0x1b2857,_0x387da3){const _0xfef254=_0x16d78d;let _0x337aef=rn(_0x2aab25,_0x1b2857);this[_0xfef254(0x133)][_0xfef254(0x21d)](_0x337aef,{...this[_0xfef254(0x133)][_0xfef254(0x36e)](_0x337aef),..._0x387da3});}[_0x16d78d(0x124)](_0x16ddf3){this['_basePermissions']['delete'](_0x16ddf3);}[_0x16d78d(0x231)](_0x36863b){const _0x3c7ab8=_0x16d78d;this[_0x3c7ab8(0x1ab)][_0x3c7ab8(0x2a5)](_0x36863b);}[_0x16d78d(0x241)](_0x4e39b9,_0x578223){const _0x86c539=_0x16d78d;this['_fieldPermissions'][_0x86c539(0x2a5)](R(_0x4e39b9,_0x578223));}[_0x16d78d(0x24e)](_0x352d04,_0x570c80){this['_recordPermissions']['delete'](rn(_0x352d04,_0x570c80));}['getSnapshot'](){const _0x41c08e=_0x16d78d;return{'bases':Object[_0x41c08e(0x22a)](this[_0x41c08e(0x11d)]),'tables':Object[_0x41c08e(0x22a)](this[_0x41c08e(0x1ab)]),'fields':Object[_0x41c08e(0x22a)](this[_0x41c08e(0x239)]),'records':Object['fromEntries'](this[_0x41c08e(0x133)])};}};function R(_0x475f3b,_0x3200f8){return _0x475f3b+'\x1f'+_0x3200f8;}function rn(_0x344a02,_0x3a8833){return _0x344a02+'\x1f'+_0x3a8833;}function z(_0x1d34d8,_0x45ec91){return function(_0x397927,_0x5ad5fc){_0x45ec91(_0x397927,_0x5ad5fc,_0x1d34d8);};}function B(_0xd211d5,_0xeea0eb,_0x46d52b,_0x3396a6){const _0x51685d=_0x16d78d;var _0x300d70=arguments[_0x51685d(0x1ee)],_0x583e15=_0x300d70<0x3?_0xeea0eb:_0x3396a6===null?_0x3396a6=Object[_0x51685d(0xeb)](_0xeea0eb,_0x46d52b):_0x3396a6,_0x190e27;if(typeof Reflect==_0x51685d(0x1ae)&&typeof Reflect[_0x51685d(0xff)]==_0x51685d(0x15e))_0x583e15=Reflect[_0x51685d(0xff)](_0xd211d5,_0xeea0eb,_0x46d52b,_0x3396a6);else{for(var _0x36ee45=_0xd211d5[_0x51685d(0x1ee)]-0x1;_0x36ee45>=0x0;_0x36ee45--)(_0x190e27=_0xd211d5[_0x36ee45])&&(_0x583e15=(_0x300d70<0x3?_0x190e27(_0x583e15):_0x300d70>0x3?_0x190e27(_0xeea0eb,_0x46d52b,_0x583e15):_0x190e27(_0xeea0eb,_0x46d52b))||_0x583e15);}return _0x300d70>0x3&&_0x583e15&&Object[_0x51685d(0x1fb)](_0xeea0eb,_0x46d52b,_0x583e15),_0x583e15;}const V=_0x2eeafa(_0x16d78d(0x270));let H=class{constructor(_0x23eedb,_0x197c43=an(),_0x363a5d={}){const _0x273c5e=_0x16d78d;this['_permissionService']=_0x23eedb,this[_0x273c5e(0x368)]=_0x197c43,this[_0x273c5e(0x1c6)]=_0x363a5d,L(this,_0x273c5e(0x1e3),new F()),L(this,_0x273c5e(0x1dd),new D());}[_0x16d78d(0xf5)](_0x17eea1,_0x71e871,_0x56a116){const _0x73d2d7=_0x16d78d;if(!this['_permissionService'][_0x73d2d7(0xc6)](_0x17eea1[_0x73d2d7(0x329)]()))throw Error(_0x73d2d7(0x130));this[_0x73d2d7(0x118)](_0x17eea1,this['_factory'][_0x73d2d7(0xf5)](_0x17eea1[_0x73d2d7(0x254)](),_0x71e871,_0x56a116));}[_0x16d78d(0x117)](_0x16a3d8,_0x3c37b9,_0x29c03a){const _0x59c29a=_0x16d78d;this[_0x59c29a(0x118)](_0x16a3d8,this[_0x59c29a(0x1e3)][_0x59c29a(0x117)](_0x16a3d8['getSnapshot'](),_0x3c37b9,_0x29c03a));}['deleteTable'](_0x2ec383,_0x3d9c33){const _0x1846d0=_0x16d78d;if(!this[_0x1846d0(0x18e)][_0x1846d0(0x1ad)](_0x3d9c33))throw Error(_0x1846d0(0xda));this[_0x1846d0(0x118)](_0x2ec383,this[_0x1846d0(0x1e3)][_0x1846d0(0x21f)](_0x2ec383[_0x1846d0(0x254)](),_0x3d9c33));}[_0x16d78d(0x22f)](_0x2bc5c7,_0x38a68b,_0x2df763,_0x58f8af,_0x47dd0b){const _0x5befd2=_0x16d78d;this[_0x5befd2(0x118)](_0x2bc5c7,this['createUpdateCellOp'](_0x2bc5c7,_0x38a68b,_0x2df763,_0x58f8af,_0x47dd0b));}[_0x16d78d(0xb8)](_0x17a3dc,_0x26d221,_0x5ea3fd){const _0x28bc6f=_0x16d78d;this[_0x28bc6f(0x118)](_0x17a3dc,this[_0x28bc6f(0x359)](_0x17a3dc,_0x26d221,_0x5ea3fd));}[_0x16d78d(0x1fe)](_0x3391a5,_0x277ff9,_0x2a5d41){const _0x32aae1=_0x16d78d;this[_0x32aae1(0x118)](_0x3391a5,this['createCreateRecordOp'](_0x3391a5,_0x277ff9,_0x2a5d41));}[_0x16d78d(0x344)](_0x26781b,_0x55a973,_0x4bf08f,_0x5eed83,_0x5b1972){const _0x192ecb=_0x16d78d;let _0x428b18=_0x26781b[_0x192ecb(0x254)](),_0x264740=this[_0x192ecb(0x300)](_0x428b18,_0x55a973,_0x4bf08f,_0x5eed83,_0x5b1972),_0x1c2909=this[_0x192ecb(0x289)](_0x428b18,_0x55a973,_0x4bf08f,{[_0x5eed83]:_0x264740});return this[_0x192ecb(0x1e3)][_0x192ecb(0xb8)](_0x428b18,_0x55a973,[_0x1c2909]);}[_0x16d78d(0x359)](_0x37f24f,_0x5582eb,_0x5e173f){const _0x2f2c8b=_0x16d78d;let _0x3fc758=_0x37f24f['getSnapshot'](),_0x15ab71=_0x5e173f['map'](_0xe22c43=>this[_0x2f2c8b(0x289)](_0x3fc758,_0x5582eb,_0xe22c43['recordId'],{...Object[_0x2f2c8b(0x22a)](Object[_0x2f2c8b(0x1d7)](_0xe22c43[_0x2f2c8b(0x10f)])[_0x2f2c8b(0x187)](([_0x4b03b1,_0x120d22])=>[_0x4b03b1,this[_0x2f2c8b(0x300)](_0x3fc758,_0x5582eb,_0xe22c43[_0x2f2c8b(0x36c)],_0x4b03b1,_0x120d22)]))}));return this[_0x2f2c8b(0x1e3)][_0x2f2c8b(0xb8)](_0x3fc758,_0x5582eb,_0x15ab71);}[_0x16d78d(0xbe)](_0xe8ea1f,_0x172770,_0x30256e){const _0x210fdb=_0x16d78d;if(!this[_0x210fdb(0x18e)]['canCreateRecord'](_0x172770))throw Error(_0x210fdb(0x258));let _0x352125=_0xe8ea1f['getSnapshot'](),_0x24e145=this[_0x210fdb(0xb2)](_0x352125[_0x210fdb(0x1f7)][_0x172770]);return this[_0x210fdb(0x1e3)][_0x210fdb(0x1fe)](_0x352125,_0x172770,this['_createRecordWithDefaults'](_0x352125,_0x172770,_0x30256e,_0x24e145));}[_0x16d78d(0x24c)](_0x77bb3e,_0x1011f4,_0x5f473b){const _0x5cf179=_0x16d78d;if(!this[_0x5cf179(0x18e)][_0x5cf179(0x10c)](_0x1011f4))throw Error(_0x5cf179(0x258));let _0x590407=_0x77bb3e[_0x5cf179(0x254)](),_0xb24f24=this[_0x5cf179(0xb2)](_0x590407['tables'][_0x1011f4]);return this[_0x5cf179(0x1e3)][_0x5cf179(0x2b3)](_0x590407,_0x1011f4,_0x5f473b[_0x5cf179(0x187)](_0x126ba6=>this[_0x5cf179(0x248)](_0x590407,_0x1011f4,_0x126ba6,_0xb24f24)));}[_0x16d78d(0x18f)](_0xd50c21,_0xa0a15b,_0x29b647,_0x2bdec1,_0x226712){const _0x30fe1c=_0x16d78d;if(!this[_0x30fe1c(0x18e)]['canCreateField'](_0xa0a15b))throw Error(_0x30fe1c(0x151));let _0x225585=_0xd50c21['getSnapshot'](),_0xc31d32=this[_0x30fe1c(0x1e3)][_0x30fe1c(0x29c)](_0x225585,_0xa0a15b,{'field':_0x29b647,'index':_0x2bdec1,'viewIndexes':_0x226712}),_0x320f20=this[_0x30fe1c(0x2c3)](_0x225585,_0xa0a15b,_0x29b647);if(!_0x320f20[_0x30fe1c(0x1ee)])return _0xc31d32;let _0x47ee6b=this[_0x30fe1c(0x1dd)][_0x30fe1c(0x1e4)](_0x225585,_0xc31d32);return P([_0xc31d32,this[_0x30fe1c(0x1e3)][_0x30fe1c(0xb8)](_0x47ee6b,_0xa0a15b,_0x320f20)]);}[_0x16d78d(0x36b)](_0x3755dd,_0x2eed9,_0x357c60){const _0x5f4561=_0x16d78d;if(!this[_0x5f4561(0x18e)]['canDeleteRecord'](_0x2eed9,_0x357c60))throw Error(_0x5f4561(0x1a6));this[_0x5f4561(0x118)](_0x3755dd,this[_0x5f4561(0x1e3)][_0x5f4561(0x36b)](_0x3755dd[_0x5f4561(0x254)](),_0x2eed9,_0x357c60));}['duplicateRecord'](_0x4a773f,_0x284238,_0x4fab43,_0x30bb57){const _0x5c4cdb=_0x16d78d;this[_0x5c4cdb(0x118)](_0x4a773f,this[_0x5c4cdb(0x1e3)]['duplicateRecord'](_0x4a773f[_0x5c4cdb(0x254)](),_0x284238,_0x4fab43,_0x30bb57));}[_0x16d78d(0x177)](_0x3146d9,_0x4b3e0d,_0x15bca0,_0x5144c0){const _0x20c5ec=_0x16d78d;this['_apply'](_0x3146d9,this['_factory'][_0x20c5ec(0x177)](_0x3146d9[_0x20c5ec(0x254)](),_0x4b3e0d,_0x15bca0,_0x5144c0));}[_0x16d78d(0x29c)](_0x126e50,_0x23f0c4,_0x1b1897,_0x8b39a5,_0x262935){const _0x2e3a90=_0x16d78d;this[_0x2e3a90(0x118)](_0x126e50,this[_0x2e3a90(0x18f)](_0x126e50,_0x23f0c4,_0x1b1897,_0x8b39a5,_0x262935));}[_0x16d78d(0x107)](_0x3b3751,_0x5b0d65,_0x242b22,_0x2890fa){const _0x3b8902=_0x16d78d;if(!this['_permissionService'][_0x3b8902(0xd3)](_0x5b0d65,_0x242b22))throw Error('[BaseCommandService]:\x20cannot\x20edit\x20field.');this[_0x3b8902(0x118)](_0x3b3751,this['_factory'][_0x3b8902(0x107)](_0x3b3751[_0x3b8902(0x254)](),_0x5b0d65,_0x242b22,_0x2890fa));}[_0x16d78d(0xd0)](_0x1bddc7,_0x1be628,_0x5a8f66,_0x4814ba){const _0x59860f=_0x16d78d;if(!this[_0x59860f(0x18e)][_0x59860f(0xd3)](_0x1be628,_0x5a8f66))throw Error(_0x59860f(0x147));this[_0x59860f(0x118)](_0x1bddc7,this['_factory'][_0x59860f(0xd0)](_0x1bddc7[_0x59860f(0x254)](),_0x1be628,_0x5a8f66,_0x4814ba));}[_0x16d78d(0x1ec)](_0x553280,_0x49e512,_0x5aaff3){const _0x1276fd=_0x16d78d;var _0x5a11e7;if(((_0x5a11e7=_0x553280['getSnapshot']()['tables'][_0x49e512])==null?void 0x0:_0x5a11e7[_0x1276fd(0xaf)])===_0x5aaff3)throw Error(_0x1276fd(0x374));if(!this[_0x1276fd(0x18e)][_0x1276fd(0x17e)](_0x49e512,_0x5aaff3))throw Error(_0x1276fd(0x170));this[_0x1276fd(0x118)](_0x553280,this[_0x1276fd(0x1e3)]['deleteField'](_0x553280[_0x1276fd(0x254)](),_0x49e512,_0x5aaff3));}[_0x16d78d(0x186)](_0x43379c,_0x5d0a26,_0x2a330e,_0x296c7a){const _0x3adf83=_0x16d78d;if(!this[_0x3adf83(0x18e)][_0x3adf83(0xd3)](_0x5d0a26,_0x2a330e))throw Error(_0x3adf83(0x147));this[_0x3adf83(0x118)](_0x43379c,this[_0x3adf83(0x1e3)]['moveField'](_0x43379c['getSnapshot'](),_0x5d0a26,_0x2a330e,_0x296c7a));}[_0x16d78d(0x1c4)](_0x177972,_0x2059b4,_0x569e0f,_0x46a7cf){const _0x2643f3=_0x16d78d;this[_0x2643f3(0x118)](_0x177972,this[_0x2643f3(0x1e3)][_0x2643f3(0x1c4)](_0x177972['getSnapshot'](),_0x2059b4,_0x569e0f,_0x46a7cf));}[_0x16d78d(0x307)](_0x4a4549,_0x1b0e2e,_0x15257d,_0x85b615){const _0x175295=_0x16d78d;if(!this[_0x175295(0x18e)][_0x175295(0x31d)](_0x1b0e2e,_0x15257d))throw Error('[BaseCommandService]:\x20cannot\x20manage\x20view.');this['_apply'](_0x4a4549,this[_0x175295(0x1e3)][_0x175295(0x307)](_0x4a4549['getSnapshot'](),_0x1b0e2e,_0x15257d,_0x85b615));}[_0x16d78d(0x2d3)](_0x123b60,_0x1e43f5,_0x2d1f15){const _0x2f3636=_0x16d78d;if(!this[_0x2f3636(0x18e)][_0x2f3636(0x31d)](_0x1e43f5,_0x2d1f15))throw Error(_0x2f3636(0x223));this['_apply'](_0x123b60,this[_0x2f3636(0x1e3)][_0x2f3636(0x2d3)](_0x123b60[_0x2f3636(0x254)](),_0x1e43f5,_0x2d1f15));}['moveView'](_0x5d9c6b,_0x5c19dc,_0x4db7aa,_0x1eecdc){const _0x533f0c=_0x16d78d;if(!this[_0x533f0c(0x18e)][_0x533f0c(0x31d)](_0x5c19dc,_0x4db7aa))throw Error(_0x533f0c(0x223));this['_apply'](_0x5d9c6b,this[_0x533f0c(0x1e3)][_0x533f0c(0x16b)](_0x5d9c6b[_0x533f0c(0x254)](),_0x5c19dc,_0x4db7aa,_0x1eecdc));}[_0x16d78d(0x20c)](_0x27c935,_0x31156c,_0xc9bc6b,_0x148886){const _0x1f7669=_0x16d78d;if(!this[_0x1f7669(0x18e)][_0x1f7669(0x31d)](_0x31156c,_0xc9bc6b))throw Error(_0x1f7669(0x223));this[_0x1f7669(0x118)](_0x27c935,this[_0x1f7669(0x1e3)]['updateViewConfig'](_0x27c935[_0x1f7669(0x254)](),_0x31156c,_0xc9bc6b,_0x148886));}[_0x16d78d(0x2cd)](_0xc5ae5e,_0x55fb31,_0x51bfbe,_0x104505){const _0x26ac2e=_0x16d78d;this[_0x26ac2e(0x118)](_0xc5ae5e,this['_factory'][_0x26ac2e(0x2cd)](_0xc5ae5e[_0x26ac2e(0x254)](),_0x55fb31,_0x51bfbe,_0x104505));}[_0x16d78d(0x274)](_0x308612,_0x4e59bf,_0x547d3c,_0x2afaae){const _0x226e8e=_0x16d78d;this['_apply'](_0x308612,this[_0x226e8e(0x1e3)][_0x226e8e(0x274)](_0x308612[_0x226e8e(0x254)](),_0x4e59bf,_0x547d3c,_0x2afaae));}['setViewGroup'](_0x453a40,_0xc2d2a6,_0x1fbb18,_0x48e5cd){const _0x444212=_0x16d78d;this['_apply'](_0x453a40,this[_0x444212(0x1e3)][_0x444212(0x16a)](_0x453a40[_0x444212(0x254)](),_0xc2d2a6,_0x1fbb18,_0x48e5cd));}[_0x16d78d(0x279)](_0xeb6cb5,_0x257fc6,_0x22f28e,_0x4974ae,_0x3e62b4){const _0x152a0f=_0x16d78d;if(!this[_0x152a0f(0x18e)][_0x152a0f(0x31d)](_0x257fc6,_0x22f28e))throw Error(_0x152a0f(0x223));this[_0x152a0f(0x118)](_0xeb6cb5,this['_factory']['setViewFieldVisible'](_0xeb6cb5[_0x152a0f(0x254)](),_0x257fc6,_0x22f28e,_0x4974ae,_0x3e62b4));}[_0x16d78d(0x1bf)](_0x2aa300,_0x1f4ffd,_0x16e169,_0x5207c9,_0x15028b){const _0x1f3659=_0x16d78d;this[_0x1f3659(0x118)](_0x2aa300,this[_0x1f3659(0x1e3)][_0x1f3659(0x1bf)](_0x2aa300[_0x1f3659(0x254)](),_0x1f4ffd,_0x16e169,_0x5207c9,_0x15028b));}['setViewFieldOrder'](_0x13c5d5,_0x15dc94,_0x340dc0,_0x3bf7ee,_0x37fdb7){const _0x1a44a9=_0x16d78d;this['_apply'](_0x13c5d5,this[_0x1a44a9(0x1e3)][_0x1a44a9(0x100)](_0x13c5d5['getSnapshot'](),_0x15dc94,_0x340dc0,_0x3bf7ee,_0x37fdb7));}[_0x16d78d(0x118)](_0x4a780d,_0x18f722){const _0x1efbb4=_0x16d78d;let _0x119a10=_0x4a780d['getSnapshot']();_0x4a780d[_0x1efbb4(0xc3)](this[_0x1efbb4(0x1dd)][_0x1efbb4(0x1e4)](_0x119a10,_0x18f722));}[_0x16d78d(0x248)](_0x43b18f,_0x2acfe3,_0x534f9c,_0x1552b8=this[_0x16d78d(0xb2)](_0x43b18f[_0x16d78d(0x1f7)][_0x2acfe3])){const _0x5d74ce=_0x16d78d;var _0x686fdc,_0x3eedc2,_0x53c798,_0x2f4fe6;let _0xd367f7=_0x43b18f['tables'][_0x2acfe3],_0x166826=(_0x686fdc=(_0x3eedc2=_0x534f9c[_0x5d74ce(0x2f1)])==null?_0x534f9c['updatedBy']:_0x3eedc2)==null?this[_0x5d74ce(0x22b)]():_0x686fdc,_0x561646={..._0x534f9c,'createdBy':(_0x53c798=_0x534f9c[_0x5d74ce(0x2f1)])==null?_0x166826:_0x53c798,'updatedBy':(_0x2f4fe6=_0x534f9c[_0x5d74ce(0x1a4)])==null?_0x166826:_0x2f4fe6,'values':{..._0x534f9c['values']}};return _0xd367f7['fieldOrder'][_0x5d74ce(0x165)](_0x154a76=>{const _0xbb50a=_0x5d74ce;let _0x411b69=_0xd367f7[_0xbb50a(0x30b)][_0x154a76];if(!(!_0x411b69||_0x561646[_0xbb50a(0x10f)][_0x154a76]!==void 0x0))switch(_0x411b69[_0xbb50a(0x14a)]){case _0x3d85e5[_0xbb50a(0x294)]:var _0x5e015a,_0xd9e4d0;_0x561646[_0xbb50a(0x10f)][_0x154a76]=(_0x5e015a=(_0xd9e4d0=_0x1552b8[_0xbb50a(0x36e)](_0x154a76))==null?void 0x0:_0xd9e4d0())==null?this['_createNumberingAllocator'](_0xd367f7,_0x154a76)():_0x5e015a;break;case _0x3d85e5[_0xbb50a(0x15a)]:_0x561646[_0xbb50a(0x2f1)]&&(_0x561646[_0xbb50a(0x10f)][_0x154a76]=_0x561646['createdBy']);break;case _0x3d85e5[_0xbb50a(0x229)]:_0x561646[_0xbb50a(0x1a4)]&&(_0x561646['values'][_0x154a76]=_0x561646['updatedBy']);break;case _0x3d85e5[_0xbb50a(0xe5)]:_0x561646[_0xbb50a(0x10f)][_0x154a76]=O(_0x561646[_0xbb50a(0x156)]);break;case _0x3d85e5['UpdatedAt']:_0x561646[_0xbb50a(0x10f)][_0x154a76]=O(_0x561646['updatedAt']);break;default:{let _0x1ae4c0=_0x411b69[_0xbb50a(0x364)];_0x1ae4c0!=null&&_0x1ae4c0!==''&&!(Array[_0xbb50a(0x352)](_0x1ae4c0)&&_0x1ae4c0[_0xbb50a(0x1ee)]===0x0)&&(_0x561646[_0xbb50a(0x10f)][_0x154a76]=_0x1ae4c0);}}}),_0x561646;}[_0x16d78d(0x289)](_0x18c078,_0x19be63,_0x4b1aac,_0x56836c){const _0x57efe8=_0x16d78d;var _0x27c58b,_0x1e6c3a,_0x7a5efc;let _0x567c5b=_0x18c078[_0x57efe8(0x1f7)][_0x19be63],_0x4bf532=(_0x27c58b=(_0x1e6c3a=(_0x7a5efc=this[_0x57efe8(0x1c6)])[_0x57efe8(0x176)])==null?void 0x0:_0x1e6c3a[_0x57efe8(0x16c)](_0x7a5efc))==null?Date[_0x57efe8(0x176)]():_0x27c58b,_0x21e977=this[_0x57efe8(0x22b)](),_0xba8d8c={..._0x56836c};return _0x567c5b[_0x57efe8(0x301)]['forEach'](_0x203331=>{const _0x3a83c0=_0x57efe8;let _0x95856a=_0x567c5b[_0x3a83c0(0x30b)][_0x203331];_0x95856a&&(_0x95856a[_0x3a83c0(0x14a)]===_0x3d85e5[_0x3a83c0(0x134)]&&(_0xba8d8c[_0x203331]=O(_0x4bf532)),_0x95856a[_0x3a83c0(0x14a)]===_0x3d85e5[_0x3a83c0(0x229)]&&_0x21e977&&(_0xba8d8c[_0x203331]=_0x21e977));}),{'recordId':_0x4b1aac,'values':_0xba8d8c,'recordPatch':{'updatedAt':_0x4bf532,..._0x21e977?{'updatedBy':_0x21e977}:{}}};}[_0x16d78d(0x2c3)](_0x36bdc3,_0xdf0ac9,_0x107460){const _0x2d5cf5=_0x16d78d;let _0x5d2683=_0x36bdc3[_0x2d5cf5(0x1f7)][_0xdf0ac9];return!_0x5d2683||!on(_0x107460)?[]:_0x107460['type']===_0x3d85e5[_0x2d5cf5(0x294)]?this[_0x2d5cf5(0x282)](_0x5d2683,_0x107460['id']):Object[_0x2d5cf5(0x10f)](_0x5d2683['records'])[_0x2d5cf5(0x1cc)](_0x29fe9e=>{const _0x224880=_0x2d5cf5;let _0x51a62c=this[_0x224880(0x1a8)](_0x107460,_0x29fe9e);return _0x51a62c===void 0x0?[]:[{'recordId':_0x29fe9e['id'],'values':{[_0x107460['id']]:_0x51a62c}}];});}[_0x16d78d(0x1a8)](_0x47e864,_0x4d78be){const _0x3e97d3=_0x16d78d;switch(_0x47e864[_0x3e97d3(0x14a)]){case _0x3d85e5[_0x3e97d3(0x15a)]:var _0x5f00d4;return(_0x5f00d4=_0x4d78be[_0x3e97d3(0x2f1)])==null?this[_0x3e97d3(0x22b)]():_0x5f00d4;case _0x3d85e5[_0x3e97d3(0x229)]:var _0x146d1e;return(_0x146d1e=_0x4d78be[_0x3e97d3(0x1a4)])==null?this[_0x3e97d3(0x22b)]():_0x146d1e;case _0x3d85e5['CreatedAt']:var _0x1150df;return O((_0x1150df=_0x4d78be['createdAt'])==null?Date[_0x3e97d3(0x176)]():_0x1150df);case _0x3d85e5[_0x3e97d3(0x134)]:var _0x4802c0;return O((_0x4802c0=_0x4d78be[_0x3e97d3(0x2b8)])==null?Date[_0x3e97d3(0x176)]():_0x4802c0);default:return;}}[_0x16d78d(0xb2)](_0x42808a){const _0x8aa12e=_0x16d78d;let _0xc58224=new Map();return _0x42808a&&_0x42808a['fieldOrder'][_0x8aa12e(0x165)](_0x52abae=>{const _0x41bf84=_0x8aa12e;let _0x18e8cb=_0x42808a[_0x41bf84(0x30b)][_0x52abae];(_0x18e8cb==null?void 0x0:_0x18e8cb[_0x41bf84(0x14a)])===_0x3d85e5[_0x41bf84(0x294)]&&_0xc58224[_0x41bf84(0x21d)](_0x52abae,this['_createNumberingAllocator'](_0x42808a,_0x52abae));}),_0xc58224;}[_0x16d78d(0x139)](_0x2e70c0,_0x3164f9){const _0x3f909e=_0x16d78d;let _0x23346e=Object[_0x3f909e(0x10f)](_0x2e70c0[_0x3f909e(0x26d)])[_0x3f909e(0xbf)]((_0x3a01a4,_0x3ff0f5)=>{const _0x15d181=_0x3f909e;let _0xa39a3=Number(_0x3ff0f5[_0x15d181(0x10f)][_0x3164f9]);return Number['isFinite'](_0xa39a3)?Math[_0x15d181(0x2f9)](_0x3a01a4,_0xa39a3):_0x3a01a4;},0x0);return()=>String(++_0x23346e);}[_0x16d78d(0x282)](_0x205812,_0x3dc7bb){const _0x5c4f60=_0x16d78d;let _0x1b16bd=this[_0x5c4f60(0x1fc)](_0x205812),_0x79659b=this[_0x5c4f60(0x139)](_0x205812,_0x3dc7bb);return _0x1b16bd[_0x5c4f60(0x1cc)](_0x356f64=>this[_0x5c4f60(0x228)](_0x356f64[_0x5c4f60(0x10f)][_0x3dc7bb])?[]:[{'recordId':_0x356f64['id'],'values':{[_0x3dc7bb]:_0x79659b()}}]);}[_0x16d78d(0x1fc)](_0x38784b){const _0x5612e7=_0x16d78d;var _0x43f7c5;let _0x5c0fc4=Object['values'](_0x38784b[_0x5612e7(0x26d)]),_0x45fb18=new Map(_0x5c0fc4[_0x5612e7(0x187)](_0x1b41be=>[_0x1b41be['id'],_0x1b41be])),_0x102fa9=[],_0x45e00c=new Set();(_0x43f7c5=_0x38784b['recordOrder'])==null||_0x43f7c5[_0x5612e7(0x165)](_0x22cd92=>{const _0x5b73ba=_0x5612e7;let _0x154691=_0x45fb18[_0x5b73ba(0x36e)](_0x22cd92);_0x154691&&(_0x102fa9[_0x5b73ba(0xcd)](_0x154691),_0x45e00c[_0x5b73ba(0xf0)](_0x22cd92));});let _0x434527=_0x5c0fc4['filter'](_0x4c5938=>!_0x45e00c[_0x5612e7(0x277)](_0x4c5938['id']))[_0x5612e7(0x194)]((_0x4bd365,_0x4ed0cf)=>{const _0x3ddff3=_0x5612e7;var _0x41a6e9,_0x7ca09e;return String((_0x41a6e9=_0x4bd365['orderKey'])==null?_0x4bd365['id']:_0x41a6e9)['localeCompare'](String((_0x7ca09e=_0x4ed0cf[_0x3ddff3(0x266)])==null?_0x4ed0cf['id']:_0x7ca09e))||_0x4bd365['id']['localeCompare'](_0x4ed0cf['id']);});return[..._0x102fa9,..._0x434527];}[_0x16d78d(0x228)](_0xe4e06a){const _0x4af791=_0x16d78d;return _0xe4e06a!=null&&_0xe4e06a!==''&&!(Array[_0x4af791(0x352)](_0xe4e06a)&&_0xe4e06a[_0x4af791(0x1ee)]===0x0);}[_0x16d78d(0x22b)](){const _0x5f4524=_0x16d78d;var _0x16f805,_0x1cb487,_0x13eb27,_0x4eaf9c,_0x14eab7,_0x115b9e;return(_0x16f805=(_0x1cb487=(_0x13eb27=(_0x4eaf9c=this[_0x5f4524(0x1c6)])['getCurrentUserId'])==null?void 0x0:_0x13eb27['call'](_0x4eaf9c))==null?(_0x14eab7=(_0x115b9e=this[_0x5f4524(0x1c6)])['getCurrentUser'])==null||(_0x14eab7=_0x14eab7['call'](_0x115b9e))==null?void 0x0:_0x14eab7[_0x5f4524(0x25d)]:_0x1cb487)==null?void 0x0:_0x16f805;}[_0x16d78d(0x300)](_0x5a0ab4,_0x44c63d,_0x33a2fa,_0x186b92,_0x33fc29){const _0x774cbc=_0x16d78d;var _0x2141df;if(!this[_0x774cbc(0x18e)]['canEditCell'](_0x44c63d,_0x33a2fa,_0x186b92))throw Error(_0x774cbc(0x370));let _0x185fad=(_0x2141df=_0x5a0ab4[_0x774cbc(0x1f7)][_0x44c63d])==null?void 0x0:_0x2141df[_0x774cbc(0x30b)][_0x186b92];if(!_0x185fad)throw Error(_0x774cbc(0x2eb)+_0x186b92+_0x774cbc(0xc4));let _0x3a2e72=this[_0x774cbc(0x368)][_0x774cbc(0x36e)](_0x185fad[_0x774cbc(0x14a)]);if(_0x185fad[_0x774cbc(0xe4)]||_0x185fad[_0x774cbc(0x1a0)]||!_0x3a2e72['getCapabilities'](_0x185fad)[_0x774cbc(0x331)])throw Error(_0x774cbc(0x1fa));let _0x458f63=_0x3a2e72[_0x774cbc(0x262)](_0x33fc29,_0x185fad),_0x33a1a0=_0x3a2e72[_0x774cbc(0x217)](_0x458f63,_0x185fad);if(!_0x33a1a0[_0x774cbc(0x20e)]){var _0x5e7e87;throw Error((_0x5e7e87=_0x33a1a0['reason'])==null?'[BaseCommandService]:\x20invalid\x20cell\x20value.':_0x5e7e87);}return _0x458f63;}};H=B([z(0x0,tn),z(0x1,$t)],H);function an(){const _0x46d798=_0x16d78d;let _0x47e156=new en();return kt()[_0x46d798(0x165)](_0x1f0da4=>_0x47e156[_0x46d798(0xe9)](_0x1f0da4)),_0x47e156;}function on(_0x370132){const _0x74da9e=_0x16d78d;return _0x370132['type']===_0x3d85e5['Numbering']||_0x370132[_0x74da9e(0x14a)]===_0x3d85e5['CreatedBy']||_0x370132['type']===_0x3d85e5[_0x74da9e(0x229)]||_0x370132[_0x74da9e(0x14a)]===_0x3d85e5['CreatedAt']||_0x370132['type']===_0x3d85e5[_0x74da9e(0x134)];}const sn=new Set([_0x3d85e5['Progress'],_0x3d85e5['Rating'],_0x3d85e5[_0x16d78d(0x185)]]);function cn(_0x21006b){const _0x294a59=_0x16d78d;var _0x305145,_0x5b87db;let _0x50ee81=_0x21006b[_0x294a59(0x30b)][_0x21006b[_0x294a59(0xaf)]];return!(_0x50ee81&&(_0x50ee81[_0x294a59(0x1a0)]===!0x0||_0x50ee81['id'][_0x294a59(0x123)]()==='id'||_0x50ee81['name'][_0x294a59(0x304)]()[_0x294a59(0x123)]()==='id'))&&_0x50ee81?_0x50ee81['id']:(_0x305145=(_0x5b87db=_0x21006b[_0x294a59(0x301)][_0x294a59(0x187)](_0x31e598=>_0x21006b[_0x294a59(0x30b)][_0x31e598])[_0x294a59(0x2db)](_0x1eaa3b=>_0x1eaa3b&&_0x1eaa3b['id']!==_0x21006b[_0x294a59(0xaf)]))==null?void 0x0:_0x5b87db['id'])==null?_0x21006b[_0x294a59(0xaf)]:_0x305145;}function U(_0x36087d,_0x2fc644=[],_0x59755a=0x5){const _0x591d9c=_0x16d78d;let _0x3ef5eb=new Set(_0x2fc644[_0x591d9c(0x33b)](_0x3a5670=>!!_0x3a5670)),_0x2d0b78=_0x36087d['fieldOrder'][_0x591d9c(0x1cc)](_0x5e4507=>{const _0x108d3f=_0x591d9c;let _0x4a8150=_0x36087d['fields'][_0x5e4507];return _0x4a8150&&!_0x3ef5eb[_0x108d3f(0x277)](_0x4a8150['id'])?[_0x4a8150]:[];}),_0x562ca4=_0x2d0b78[_0x591d9c(0x33b)](_0x4e477d=>sn[_0x591d9c(0x277)](_0x4e477d['type'])),_0x143de9=_0x2d0b78[_0x591d9c(0x33b)](_0x18717e=>!sn[_0x591d9c(0x277)](_0x18717e['type']));return[..._0x562ca4,..._0x143de9][_0x591d9c(0x1b8)](0x0,_0x59755a)['map'](_0x1ce53c=>_0x1ce53c['id']);}function ln(){const _0x46397d=_0x16d78d;return[{'type':_0x4f7ceb[_0x46397d(0x23d)],'i18nKey':_0x46397d(0x2dc),'createDefaultConfig':()=>({}),'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{throw Error('Grid\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.');}},{'type':_0x4f7ceb['Kanban'],'i18nKey':_0x46397d(0x316),'createDefaultConfig':_0x2bc4ec=>{const _0x13aa5f=_0x46397d;let _0x79af58=un(_0x2bc4ec);return{'groupFieldId':_0x79af58,'coverFieldId':null,'cardLayout':_0x13aa5f(0x265),'showFieldNames':!0x0,'fieldSettings':{},'columnSettings':{},'card':{'titleFieldId':_0x2bc4ec['primaryFieldId'],'fieldIds':U(_0x2bc4ec,[_0x2bc4ec['primaryFieldId'],_0x79af58])}};},'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{throw Error('Kanban\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.');}},{'type':_0x4f7ceb[_0x46397d(0xb0)],'i18nKey':'base.viewType.calendar','createDefaultConfig':_0x2539ea=>{const _0x2fce19=_0x46397d;let _0xbf15d2=dn(_0x2539ea);return{'startDateFieldId':_0xbf15d2,'endDateFieldId':fn(_0x2539ea,_0xbf15d2),'titleFieldId':_0x2539ea['primaryFieldId'],'mode':_0x2fce19(0x178),'timeslotSize':'medium','timeZone':_0x2fce19(0x2fb),'displayColor':{'type':'custom','color':_0x2fce19(0x354)},'fieldSettings':{}};},'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{const _0x22385e=_0x46397d;throw Error(_0x22385e(0x145));}},{'type':_0x4f7ceb['Gantt'],'i18nKey':_0x46397d(0x152),'createDefaultConfig':_0xe44f80=>{const _0x529f85=_0x46397d;var _0x2c7cf3;let _0x292d5a=dn(_0xe44f80);return{'startDateFieldId':_0x292d5a,'endDateFieldId':(_0x2c7cf3=fn(_0xe44f80,_0x292d5a))==null?_0x292d5a:_0x2c7cf3,'titleFieldId':_0xe44f80[_0x529f85(0xaf)],'scale':'month','showTodayLine':!0x0,'displayColor':{'type':'custom','color':'#14b8a6'},'fieldSettings':{},'workingDaysOnly':!0x1};},'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{const _0x24c11a=_0x46397d;throw Error(_0x24c11a(0xee));}},{'type':_0x4f7ceb[_0x46397d(0x28c)],'i18nKey':_0x46397d(0x149),'createDefaultConfig':_0x2b52fc=>{const _0x202ce2=_0x46397d;let _0x388a18=cn(_0x2b52fc);return{'coverFieldId':null,'cardLayout':_0x202ce2(0x265),'showFieldNames':!0x0,'fieldSettings':{},'card':{'titleFieldId':_0x388a18,'coverFieldId':null,'fieldIds':U(_0x2b52fc,[_0x388a18,_0x2b52fc[_0x202ce2(0xaf)]])},'cardSize':_0x202ce2(0x1be)};},'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{throw Error('Gallery\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.');}}];}function un(_0xbc0efd){const _0x12ab4b=_0x16d78d;var _0x3ed66b,_0x4f6a89,_0x336fcd,_0x51ed57,_0x516391,_0x3bad6e;let _0x54b852=_0xbc0efd[_0x12ab4b(0x301)][_0x12ab4b(0x187)](_0x390a82=>_0xbc0efd['fields'][_0x390a82])[_0x12ab4b(0x33b)](_0xd82c69=>!!_0xd82c69);return(_0x3ed66b=(_0x4f6a89=(_0x336fcd=(_0x51ed57=_0x54b852[_0x12ab4b(0x2db)](_0x400365=>_0x400365['type']===_0x3d85e5[_0x12ab4b(0xe8)]||_0x400365[_0x12ab4b(0x14a)]===_0x3d85e5[_0x12ab4b(0x23f)]||_0x400365[_0x12ab4b(0x14a)]===_0x3d85e5[_0x12ab4b(0xe6)]))==null?void 0x0:_0x51ed57['id'])==null?(_0x516391=_0x54b852[_0x12ab4b(0x2db)](_0x26acb1=>_0x26acb1['type']===_0x3d85e5[_0x12ab4b(0x13c)]))==null?void 0x0:_0x516391['id']:_0x336fcd)==null?(_0x3bad6e=_0x54b852['find'](_0x465da0=>_0x465da0[_0x12ab4b(0x14a)]===_0x3d85e5[_0x12ab4b(0x299)]||_0x465da0[_0x12ab4b(0x14a)]===_0x3d85e5['CreatedAt']||_0x465da0[_0x12ab4b(0x14a)]===_0x3d85e5[_0x12ab4b(0x134)]))==null?void 0x0:_0x3bad6e['id']:_0x4f6a89)==null?_0xbc0efd[_0x12ab4b(0xaf)]:_0x3ed66b;}function dn(_0x5a3764){const _0x2dc40f=_0x16d78d;var _0x4612ca,_0x3ab044;return(_0x4612ca=(_0x3ab044=_0x5a3764['fieldOrder'][_0x2dc40f(0x187)](_0x5be11a=>_0x5a3764[_0x2dc40f(0x30b)][_0x5be11a])[_0x2dc40f(0x2db)](pn))==null?void 0x0:_0x3ab044['id'])==null?'':_0x4612ca;}function fn(_0x507bd2,_0x5703ad){const _0x4014e1=_0x16d78d;var _0x5cf990;return(_0x5cf990=_0x507bd2[_0x4014e1(0x301)][_0x4014e1(0x187)](_0x2eb9f9=>_0x507bd2[_0x4014e1(0x30b)][_0x2eb9f9])[_0x4014e1(0x2db)](_0x53df4d=>pn(_0x53df4d)&&_0x53df4d['id']!==_0x5703ad))==null?void 0x0:_0x5cf990['id'];}function pn(_0x3a72c4){const _0x519d32=_0x16d78d;return!!_0x3a72c4&&_0x3a72c4[_0x519d32(0x14a)]===_0x3d85e5[_0x519d32(0x299)]&&_0x3a72c4[_0x519d32(0xe4)]!==!0x0&&_0x3a72c4['system']!==!0x0;}const W=_0x2eeafa('base.projection.service'),mn=new Set([_0x3d85e5[_0x16d78d(0x355)],_0x3d85e5[_0x16d78d(0x237)],_0x3d85e5[_0x16d78d(0x19a)],_0x3d85e5[_0x16d78d(0x336)],_0x3d85e5[_0x16d78d(0x299)],_0x3d85e5['CreatedAt'],_0x3d85e5[_0x16d78d(0x134)],_0x3d85e5[_0x16d78d(0x185)]]);let hn=class extends _0x10a465{constructor(_0x123e86){const _0x2a45d8=_0x16d78d;super(),this[_0x2a45d8(0x368)]=_0x123e86,L(this,_0x2a45d8(0x298),new Map()),L(this,'_projectionCache',new WeakMap()),L(this,_0x2a45d8(0x1bc),new Map()),L(this,_0x2a45d8(0x200),new Map()),L(this,_0x2a45d8(0x218),new Map()),L(this,'_globalRevision',0x0),L(this,_0x2a45d8(0x28b),new Map()),L(this,_0x2a45d8(0x28e),new Map()),L(this,_0x2a45d8(0x191),new Map()),L(this,_0x2a45d8(0x318),new Map());}['registerView'](_0x5eff05){const _0x28b04c=_0x16d78d;return this[_0x28b04c(0x298)][_0x28b04c(0x21d)](_0x5eff05[_0x28b04c(0x14a)],_0x5eff05),_0x3f89c7(()=>this['_views']['delete'](_0x5eff05['type']));}['getProjection'](_0x4ef93d,_0x5a34c8,_0x525718){const _0x1fde27=_0x16d78d;var _0x5e6f35,_0x38aa7c,_0x5e890b,_0x109d28,_0x13e2dc;return C(_0x1fde27(0x287),()=>{const _0x1d297c=_0x1fde27;let _0x7fb45e=this[_0x1d297c(0x215)](_0x4ef93d,_0x5a34c8,_0x525718);if(_0x7fb45e)return _0x7fb45e;let _0x43e002=_0x4ef93d[_0x1d297c(0x1f7)][_0x5a34c8],_0x41127e=_0x43e002==null?void 0x0:_0x43e002['views'][_0x525718];if(!_0x43e002||!_0x41127e){var _0x4f2287;return this[_0x1d297c(0x285)](_0x4ef93d,_0x5a34c8,_0x525718,{'type':_0x1d297c(0x31b),'viewType':(_0x4f2287=_0x41127e==null?void 0x0:_0x41127e[_0x1d297c(0x14a)])==null?_0x4f7ceb[_0x1d297c(0x23d)]:_0x4f2287,'reason':_0x1d297c(0x2de)});}let _0x40f588;switch(_0x41127e[_0x1d297c(0x14a)]){case _0x4f7ceb[_0x1d297c(0x23d)]:_0x40f588=this[_0x1d297c(0xca)](_0x43e002,_0x41127e);break;case _0x4f7ceb[_0x1d297c(0x18b)]:_0x40f588=this[_0x1d297c(0xdb)](_0x43e002,_0x41127e);break;case _0x4f7ceb[_0x1d297c(0x183)]:_0x40f588=this[_0x1d297c(0x1b3)](_0x43e002,_0x41127e);break;case _0x4f7ceb[_0x1d297c(0xb0)]:_0x40f588=this[_0x1d297c(0xf9)](_0x43e002,_0x41127e);break;case _0x4f7ceb['Gallery']:_0x40f588=this[_0x1d297c(0x26b)](_0x43e002,_0x41127e);break;default:_0x40f588={'type':_0x1d297c(0x31b),'viewType':_0x41127e[_0x1d297c(0x14a)],'reason':_0x1d297c(0x2de)};}return this[_0x1d297c(0x285)](_0x4ef93d,_0x5a34c8,_0x525718,_0x40f588);},{'tableId':_0x5a34c8,'viewId':_0x525718,'viewType':(_0x5e6f35=_0x4ef93d[_0x1fde27(0x1f7)][_0x5a34c8])==null||(_0x5e6f35=_0x5e6f35[_0x1fde27(0x2b6)][_0x525718])==null?void 0x0:_0x5e6f35[_0x1fde27(0x14a)],'records':(_0x38aa7c=(_0x5e890b=_0x4ef93d[_0x1fde27(0x1f7)][_0x5a34c8])==null||(_0x5e890b=_0x5e890b[_0x1fde27(0x158)])==null?void 0x0:_0x5e890b[_0x1fde27(0x1ee)])==null?Object[_0x1fde27(0x33a)]((_0x109d28=(_0x13e2dc=_0x4ef93d[_0x1fde27(0x1f7)][_0x5a34c8])==null?void 0x0:_0x13e2dc[_0x1fde27(0x26d)])==null?{}:_0x109d28)['length']:_0x38aa7c});}[_0x16d78d(0xdc)](_0x5c5610,_0x105895,_0x2cfed7){const _0x1d5769=_0x16d78d;var _0x37a4f9,_0x55ab46,_0x4f0f59,_0x4f68b1;let _0x590d1b=_0x5c5610[_0x1d5769(0x1f7)][_0x105895],_0x4f6372=_0x590d1b==null?void 0x0:_0x590d1b['views'][_0x2cfed7];if(!_0x590d1b||!_0x4f6372)throw Error(_0x1d5769(0x310)+_0x2cfed7+'\x22.');let _0x137452=_0x402ab2=>!!_0x590d1b[_0x1d5769(0x30b)][_0x402ab2],_0x481bf8={..._0x4f6372,'filter':_0x4f6372[_0x1d5769(0x33b)]?{..._0x4f6372[_0x1d5769(0x33b)],'conditions':_0x4f6372[_0x1d5769(0x33b)][_0x1d5769(0xcc)][_0x1d5769(0x33b)](_0x1fb370=>_0x137452(_0x1fb370[_0x1d5769(0x375)]))}:_0x4f6372[_0x1d5769(0x33b)],'sort':(_0x37a4f9=_0x4f6372[_0x1d5769(0x194)])==null?void 0x0:_0x37a4f9[_0x1d5769(0x33b)](_0x3884ca=>_0x137452(_0x3884ca[_0x1d5769(0x375)])),'group':(_0x55ab46=_0x4f6372[_0x1d5769(0xcb)])==null?void 0x0:_0x55ab46[_0x1d5769(0x33b)](_0xcd3504=>_0x137452(_0xcd3504['fieldId'])),'fieldOrder':(_0x4f0f59=_0x4f6372[_0x1d5769(0x301)])==null?void 0x0:_0x4f0f59[_0x1d5769(0x33b)](_0x137452),'fieldSettings':Object[_0x1d5769(0x22a)](Object[_0x1d5769(0x1d7)]((_0x4f68b1=_0x4f6372['fieldSettings'])==null?{}:_0x4f68b1)[_0x1d5769(0x33b)](([_0x323ffe])=>_0x137452(_0x323ffe)))};if(_0x481bf8['type']===_0x1d5769(0x31e)){var _0x18ed08,_0x30dd8a,_0x2a6710,_0x3699f9;let _0x515d0d=(_0x18ed08=_0x481bf8[_0x1d5769(0x2ad)])==null?{}:_0x18ed08,_0x47782c=this[_0x1d5769(0x201)](_0x590d1b,_0x481bf8);_0x481bf8[_0x1d5769(0x2ad)]={..._0x515d0d,'groupFieldId':_0x47782c==null?_0x515d0d[_0x1d5769(0x2a3)]:_0x47782c,'coverFieldId':this[_0x1d5769(0x1e7)](_0x590d1b,_0x515d0d),'cardLayout':_0x515d0d[_0x1d5769(0x174)]===_0x1d5769(0xf7)?_0x1d5769(0xf7):_0x1d5769(0x265),'showFieldNames':_0x515d0d[_0x1d5769(0x233)]!==!0x1,'fieldSettings':Object['fromEntries'](Object['entries']((_0x30dd8a=_0x515d0d['fieldSettings'])==null?{}:_0x30dd8a)[_0x1d5769(0x33b)](([_0x6a2c94])=>_0x137452(_0x6a2c94))),'columnSettings':(_0x2a6710=_0x515d0d[_0x1d5769(0xc7)])==null?{}:_0x2a6710,'card':{...(_0x3699f9=_0x515d0d[_0x1d5769(0x1ca)])==null?{}:_0x3699f9,'fieldIds':this['_resolveKanbanCardFieldIds'](_0x590d1b,_0x481bf8,_0x47782c==null?'':_0x47782c)}};}return{'repaired':JSON[_0x1d5769(0x1f5)](_0x481bf8)!==JSON['stringify'](_0x4f6372),'view':_0x481bf8};}[_0x16d78d(0x1b5)](){this['_globalRevision']++;}[_0x16d78d(0x264)](_0x30c616,_0x33241d,_0x1997d7){const _0x4ab782=_0x16d78d;var _0x53f1a7;let _0x11356f=this[_0x4ab782(0x30c)](_0x30c616)+0x1;this['_cellRevisions'][_0x4ab782(0x21d)](_0x30c616,_0x11356f);let _0x6e3a1b=(_0x53f1a7=this[_0x4ab782(0x191)][_0x4ab782(0x36e)](_0x30c616))==null?[]:_0x53f1a7;_0x6e3a1b[_0x4ab782(0xcd)]({'revision':_0x11356f,'recordId':_0x33241d,'fieldId':_0x1997d7}),this[_0x4ab782(0x191)]['set'](_0x30c616,_0x6e3a1b);}[_0x16d78d(0x334)](_0x439521,_0x4d1055){const _0x376826=_0x16d78d;this[_0x376826(0x2ec)](_0x439521);}[_0x16d78d(0x12c)](_0x43aa68,_0x5e1c0b){const _0x519b4d=_0x16d78d;this[_0x519b4d(0x318)][_0x519b4d(0x21d)](this[_0x519b4d(0x205)](_0x43aa68,_0x5e1c0b),this[_0x519b4d(0xe2)](_0x43aa68,_0x5e1c0b)+0x1);}[_0x16d78d(0x215)](_0x25849a,_0x3158ad,_0x49045f){const _0x3880b0=_0x16d78d;var _0x102d86;let _0x2feaaa=(_0x102d86=this['_projectionCache'][_0x3880b0(0x36e)](_0x25849a))==null?void 0x0:_0x102d86[_0x3880b0(0x36e)](this[_0x3880b0(0x209)](_0x3158ad,_0x49045f));return _0x2feaaa&&_0x2feaaa[_0x3880b0(0x17b)]===this[_0x3880b0(0x1b6)]&&_0x2feaaa[_0x3880b0(0x210)]===this[_0x3880b0(0x136)](_0x3158ad)&&_0x2feaaa['cellRevision']===this[_0x3880b0(0x30c)](_0x3158ad)&&_0x2feaaa[_0x3880b0(0x35e)]===this[_0x3880b0(0xe2)](_0x3158ad,_0x49045f)?_0x2feaaa[_0x3880b0(0x2cf)]:null;}[_0x16d78d(0x285)](_0x44ea07,_0x5a3edc,_0x2f3f2f,_0xa1e6eb){const _0x22dee2=_0x16d78d;let _0x1dfdb3=this[_0x22dee2(0x263)][_0x22dee2(0x36e)](_0x44ea07);return _0x1dfdb3||(_0x1dfdb3=new Map(),this[_0x22dee2(0x263)][_0x22dee2(0x21d)](_0x44ea07,_0x1dfdb3)),_0x1dfdb3[_0x22dee2(0x21d)](this[_0x22dee2(0x209)](_0x5a3edc,_0x2f3f2f),{'projection':_0xa1e6eb,'globalRevision':this[_0x22dee2(0x1b6)],'tableRevision':this[_0x22dee2(0x136)](_0x5a3edc),'cellRevision':this[_0x22dee2(0x30c)](_0x5a3edc),'viewRevision':this[_0x22dee2(0xe2)](_0x5a3edc,_0x2f3f2f)}),_0xa1e6eb;}[_0x16d78d(0x2ec)](_0x245367){const _0x1434c0=_0x16d78d;this['_tableRevisions'][_0x1434c0(0x21d)](_0x245367,this[_0x1434c0(0x136)](_0x245367)+0x1);}[_0x16d78d(0x136)](_0x1471fd){const _0x18cb57=_0x16d78d;var _0xa3fac4;return(_0xa3fac4=this[_0x18cb57(0x28b)]['get'](_0x1471fd))==null?0x0:_0xa3fac4;}[_0x16d78d(0x30c)](_0x172e5c){const _0x28313d=_0x16d78d;var _0x1b6631;return(_0x1b6631=this[_0x28313d(0x28e)][_0x28313d(0x36e)](_0x172e5c))==null?0x0:_0x1b6631;}['_getViewRevision'](_0x2e56ae,_0x2b807d){const _0xd816eb=_0x16d78d;var _0x5b9f96;return(_0x5b9f96=this[_0xd816eb(0x318)][_0xd816eb(0x36e)](this[_0xd816eb(0x205)](_0x2e56ae,_0x2b807d)))==null?0x0:_0x5b9f96;}[_0x16d78d(0x209)](_0x4d2ba2,_0x27285b){return _0x4d2ba2+'\x00'+_0x27285b;}['_viewRowsCacheKey'](_0x5a627d,_0x351910){return _0x5a627d+'\x00'+this['_rowTransformCacheSegment'](_0x351910);}[_0x16d78d(0x2ea)](_0x3c1737,_0x2d67b2,_0x37c527){const _0x1f4403=_0x16d78d;return _0x3c1737+'\x00'+this[_0x1f4403(0x193)](_0x2d67b2)+'\x00'+this[_0x1f4403(0x25b)](_0x37c527);}[_0x16d78d(0x193)](_0xcb7b16){const _0x1bf8b2=_0x16d78d;return _0xcb7b16?xn({'filter':yn(_0xcb7b16[_0x1bf8b2(0x33b)]),'sort':bn(_0xcb7b16[_0x1bf8b2(0x194)])}):_0x1bf8b2(0xfd);}[_0x16d78d(0x25b)](_0x98b6ad){const _0x5bfa5b=_0x16d78d;return xn(_0x98b6ad[_0x5bfa5b(0x187)](_0x122fba=>{const _0x161a61=_0x5bfa5b;var _0x484291;return{'fieldId':_0x122fba[_0x161a61(0x375)],'direction':(_0x484291=_0x122fba['direction'])==null?null:_0x484291};}));}[_0x16d78d(0x205)](_0x5e07b7,_0x12ac8a){return _0x5e07b7+'\x00'+_0x12ac8a;}[_0x16d78d(0xca)](_0x57b64d,_0x2160b6){const _0x2cf14b=_0x16d78d;let _0x44d1f5=this[_0x2cf14b(0x2ce)](_0x57b64d,_0x2160b6);return{'type':_0x4f7ceb[_0x2cf14b(0x23d)],'fields':this['_projectFields'](_0x57b64d,_0x2160b6),'rows':_0x44d1f5,'groups':this[_0x2cf14b(0x13f)](_0x57b64d,_0x2160b6,_0x44d1f5),'frozenFieldCount':typeof _0x2160b6[_0x2cf14b(0x2ad)][_0x2cf14b(0x330)]==_0x2cf14b(0x12e)?_0x2160b6[_0x2cf14b(0x2ad)]['frozenFieldCount']:0x0};}[_0x16d78d(0x1b3)](_0xe315b2,_0x2c0dd7){const _0x1e2f12=_0x16d78d;var _0x2b1d05;let _0x55b17a=this[_0x1e2f12(0x201)](_0xe315b2,_0x2c0dd7),_0x35100d=_0x55b17a?_0xe315b2[_0x1e2f12(0x30b)][_0x55b17a]:void 0x0;if(!_0x35100d)return{'type':'invalid','viewType':_0x4f7ceb[_0x1e2f12(0x183)],'reason':_0x1e2f12(0x154),'fieldId':_0x2c0dd7['config'][_0x1e2f12(0x2a3)]};let _0x41ccb4=this[_0x1e2f12(0x2ce)](_0xe315b2,_0x2c0dd7),_0x2b075c=this['_projectFields'](_0xe315b2,_0x2c0dd7),_0x3cc50f=(_0x2b1d05=_0x2c0dd7[_0x1e2f12(0x2ad)])==null?{}:_0x2b1d05,_0x5e86d2=this[_0x1e2f12(0x22d)](_0xe315b2,_0x2c0dd7,_0x35100d['id']),_0x4af071=new Map();return this[_0x1e2f12(0x144)](_0x35100d,_0x3cc50f)[_0x1e2f12(0x165)](_0x330153=>_0x4af071[_0x1e2f12(0x21d)](_0x330153[_0x1e2f12(0x29d)],{..._0x330153,'recordIds':[]})),_0x41ccb4[_0x1e2f12(0x165)](_0x28dec4=>{const _0x23ca6b=_0x1e2f12;this[_0x23ca6b(0x110)](_0x35100d,_0x28dec4[_0x23ca6b(0x10f)][_0x35100d['id']])[_0x23ca6b(0x165)](_0x14ba33=>{const _0x59bc93=_0x23ca6b;let _0x3f43a9=_0x4af071['get'](_0x14ba33),_0x4053e3=_0x3f43a9==null?{'key':_0x14ba33,'title':this[_0x59bc93(0x342)](_0x35100d,_0x14ba33,_0x3cc50f),'color':this[_0x59bc93(0xfb)](_0x35100d,_0x14ba33,_0x3cc50f),'recordIds':[]}:_0x3f43a9;_0x4053e3['recordIds']['push'](_0x28dec4[_0x59bc93(0x36c)]),_0x4af071[_0x59bc93(0x21d)](_0x14ba33,_0x4053e3);});}),{'type':_0x4f7ceb[_0x1e2f12(0x183)],'fields':_0x2b075c,'rows':_0x41ccb4,'groups':this['_projectGroups'](_0xe315b2,_0x2c0dd7,_0x41ccb4),'groupFieldId':_0x35100d['id'],'coverFieldId':this[_0x1e2f12(0x1e7)](_0xe315b2,_0x3cc50f),'cardLayout':_0x3cc50f[_0x1e2f12(0x174)]===_0x1e2f12(0xf7)?'compose':_0x1e2f12(0x265),'showFieldNames':_0x3cc50f[_0x1e2f12(0x233)]!==!0x1,'visibleCardFieldIds':_0x5e86d2,'lanes':Array['from'](_0x4af071[_0x1e2f12(0x10f)]())};}['_resolveKanbanGroupFieldId'](_0x551bb1,_0x2b1c4c){const _0x3bd052=_0x16d78d;var _0x3ba6f9;let _0x46a36d=(_0x3ba6f9=_0x2b1c4c[_0x3bd052(0x2ad)])==null?void 0x0:_0x3ba6f9[_0x3bd052(0x2a3)];return _0x46a36d&&this[_0x3bd052(0x1d4)](_0x551bb1,_0x46a36d)?_0x46a36d:this['_findKanbanGroupField'](_0x551bb1,_0x2d62d4=>this[_0x3bd052(0x166)](_0x2d62d4));}['_findKanbanGroupField'](_0x2a6572,_0x2c24c5){const _0x39502c=_0x16d78d;for(let _0x1ad183 of _0x2a6572[_0x39502c(0x301)]){let _0x5940e1=_0x2a6572[_0x39502c(0x30b)][_0x1ad183];if(_0x5940e1&&_0x2c24c5(_0x5940e1))return _0x5940e1['id'];}return null;}[_0x16d78d(0x1d4)](_0x4d5924,_0x590acd){const _0x7d849a=_0x16d78d;let _0x2abe4f=_0x4d5924[_0x7d849a(0x30b)][_0x590acd];return this['_isAllowedKanbanGroupField'](_0x2abe4f);}[_0x16d78d(0x166)](_0x117b6b){const _0x140d71=_0x16d78d;return!!_0x117b6b&&(_0x117b6b['type']===_0x3d85e5[_0x140d71(0xe8)]||_0x117b6b[_0x140d71(0x14a)]===_0x3d85e5['MultiSelect']||_0x117b6b['type']===_0x3d85e5[_0x140d71(0x336)]||_0x117b6b['type']===_0x3d85e5['Person']||_0x117b6b['type']===_0x3d85e5['Group']||_0x117b6b[_0x140d71(0x14a)]===_0x3d85e5['Checkbox']);}[_0x16d78d(0x14b)](_0x57e9b3){const _0x11b2b7=_0x16d78d;return _0x57e9b3[_0x11b2b7(0x14a)]===_0x3d85e5['SingleSelect']||_0x57e9b3['type']===_0x3d85e5[_0x11b2b7(0x23f)];}[_0x16d78d(0x1e7)](_0x1a209b,_0x55309f){const _0x57f533=_0x16d78d;var _0xf625b4,_0x511471,_0x2b41c8;let _0x535276=(_0xf625b4=(_0x511471=_0x55309f[_0x57f533(0x13e)])==null?(_0x2b41c8=_0x55309f['card'])==null?void 0x0:_0x2b41c8[_0x57f533(0x13e)]:_0x511471)==null?null:_0xf625b4;if(!_0x535276)return null;let _0x31f88e=_0x1a209b[_0x57f533(0x30b)][_0x535276];return _0x31f88e&&this['_capabilities'](_0x31f88e)[_0x57f533(0x260)]?_0x31f88e['id']:null;}[_0x16d78d(0x22d)](_0x5bded4,_0x137780,_0x11fdfc){const _0x4c4ae2=_0x16d78d;var _0x23410a,_0x18b9c6,_0x6231fe;let _0x2ac843=(_0x23410a=_0x137780[_0x4c4ae2(0x2ad)])==null?{}:_0x23410a,_0x312ecc=!((_0x18b9c6=_0x2ac843[_0x4c4ae2(0x1ca)])==null||(_0x18b9c6=_0x18b9c6[_0x4c4ae2(0x321)])==null)&&_0x18b9c6[_0x4c4ae2(0x1ee)]?_0x2ac843['card']['fieldIds']:U(_0x5bded4,[_0x5bded4[_0x4c4ae2(0xaf)],_0x11fdfc]),_0x8bbe99=(_0x6231fe=_0x2ac843[_0x4c4ae2(0x35b)])==null?{}:_0x6231fe;return _0x312ecc['filter'](_0x261451=>{const _0x3e1de1=_0x4c4ae2;var _0x368910,_0xef579e;let _0x4a6d97=_0x5bded4[_0x3e1de1(0x30b)][_0x261451];return!(!_0x4a6d97||_0x4a6d97['id']===_0x11fdfc||!((_0x368910=_0x137780[_0x3e1de1(0x35b)])==null||(_0x368910=_0x368910[_0x261451])==null)&&_0x368910['hidden']||(_0xef579e=_0x8bbe99[_0x261451])!=null&&_0xef579e[_0x3e1de1(0x2ef)]);})['sort']((_0x328842,_0x32ce79)=>{const _0x3f0c3a=_0x4c4ae2;var _0x895894,_0x4d777a,_0x43f57f,_0x36edf7;return((_0x895894=(_0x4d777a=_0x8bbe99[_0x328842])==null?void 0x0:_0x4d777a[_0x3f0c3a(0x31f)])==null?_0x312ecc['indexOf'](_0x328842):_0x895894)-((_0x43f57f=(_0x36edf7=_0x8bbe99[_0x32ce79])==null?void 0x0:_0x36edf7[_0x3f0c3a(0x31f)])==null?_0x312ecc[_0x3f0c3a(0x2f2)](_0x32ce79):_0x43f57f);});}['_getKanbanConfiguredLanes'](_0x47feed,_0x29ea94){const _0x40111f=_0x16d78d;var _0x1c199c,_0xc82a76;let _0x9b62e2=(Array[_0x40111f(0x352)]((_0x1c199c=_0x47feed[_0x40111f(0x2ad)])==null?void 0x0:_0x1c199c[_0x40111f(0x225)])?_0x47feed[_0x40111f(0x2ad)][_0x40111f(0x225)]:[])[_0x40111f(0x1cc)]((_0x21d126,_0x488417)=>{const _0x1de9f9=_0x40111f;var _0x7c578e,_0x32bcd9,_0x41325e,_0xd6afb4;if(_0x21d126==null)return[];let _0x44c2df=typeof _0x21d126==_0x1de9f9(0xc9)?{'id':_0x21d126,'name':_0x21d126,'color':void 0x0}:_0x21d126,_0x4f9e37=String((_0x7c578e=(_0x32bcd9=_0x44c2df['id'])==null?_0x44c2df['name']:_0x32bcd9)==null?_0x1de9f9(0x2d7)+(_0x488417+0x1):_0x7c578e);return[{'key':_0x4f9e37,'title':String((_0x41325e=(_0xd6afb4=_0x44c2df[_0x1de9f9(0x14c)])==null?_0x44c2df['id']:_0xd6afb4)==null?_0x4f9e37:_0x41325e),'color':this[_0x1de9f9(0xfb)](_0x47feed,_0x4f9e37,_0x29ea94)}];});return Object[_0x40111f(0x1d7)]((_0xc82a76=_0x29ea94[_0x40111f(0xc7)])==null?{}:_0xc82a76)[_0x40111f(0x165)](([_0x5c6bd7,_0x2cd92f])=>{const _0xe838c6=_0x40111f;var _0x230b86;_0x9b62e2[_0xe838c6(0x322)](_0x4d33df=>_0x4d33df[_0xe838c6(0x29d)]===_0x5c6bd7)||_0x9b62e2[_0xe838c6(0xcd)]({'key':_0x5c6bd7,'title':this[_0xe838c6(0x14b)](_0x47feed)?(_0x230b86=_0x2cd92f[_0xe838c6(0x275)])==null?this[_0xe838c6(0x342)](_0x47feed,_0x5c6bd7,_0x29ea94):_0x230b86:this['_kanbanLaneTitle'](_0x47feed,_0x5c6bd7,_0x29ea94),'color':this['_kanbanLaneColor'](_0x47feed,_0x5c6bd7,_0x29ea94)});}),_0x9b62e2;}[_0x16d78d(0x110)](_0x41922f,_0x4b09b9){const _0x2d5c02=_0x16d78d;let _0x43f62f=_0x5714b5=>{var _0x3e4900,_0x5aa825;let _0x468fb3=_0x5714b5==null?'':String(_0x5714b5);return!_0x468fb3||!this['_isColorfulKanbanGroupField'](_0x41922f)||(_0x3e4900=(_0x5aa825=J(_0x41922f,_0x468fb3))==null?void 0x0:_0x5aa825['id'])==null?_0x468fb3:_0x3e4900;};if(Array[_0x2d5c02(0x352)](_0x4b09b9)){let _0x75659=_0x4b09b9['map'](_0x43f62f)[_0x2d5c02(0x33b)](_0x3412fa=>_0x3412fa!=='');return _0x75659[_0x2d5c02(0x1ee)]?_0x75659:[''];}return[_0x43f62f(_0x4b09b9)];}[_0x16d78d(0x342)](_0x19332b,_0x51be1d,_0x1dbaf0){const _0x387fcd=_0x16d78d;var _0x1a8ef3;if(!_0x51be1d)return _0x387fcd(0x2c5);let _0x3ddaca=J(_0x19332b,_0x51be1d);return(_0x1a8ef3=_0x3ddaca==null?void 0x0:_0x3ddaca['name'])==null?_0x51be1d:_0x1a8ef3;}[_0x16d78d(0xfb)](_0x173ca3,_0x45835f,_0x3d6486){const _0x2852e5=_0x16d78d;var _0x123a65;if(this['_isColorfulKanbanGroupField'](_0x173ca3))return(_0x123a65=J(_0x173ca3,_0x45835f))==null?void 0x0:_0x123a65[_0x2852e5(0xf1)];}[_0x16d78d(0xf9)](_0x2d1721,_0x266a67){const _0x55a21e=_0x16d78d;var _0x4074b2;let _0x37b28e=this[_0x55a21e(0x309)](_0x2d1721,(_0x4074b2=_0x266a67['config'])==null?{}:_0x4074b2),_0x4c8552=_0x2d1721['fields'][_0x37b28e[_0x55a21e(0x2df)]];if(!_0x4c8552||_0x4c8552[_0x55a21e(0x14a)]!==_0x3d85e5[_0x55a21e(0x299)]||_0x4c8552[_0x55a21e(0xe4)]===!0x0||_0x4c8552[_0x55a21e(0x1a0)]===!0x0||!this['_capabilities'](_0x4c8552)[_0x55a21e(0xb6)])return{'type':_0x55a21e(0x31b),'viewType':_0x4f7ceb[_0x55a21e(0xb0)],'reason':_0x55a21e(0x2bf),'fieldId':_0x37b28e[_0x55a21e(0x2df)]};let _0x5a0cd2=_0x37b28e[_0x55a21e(0x2e0)]?_0x2d1721[_0x55a21e(0x30b)][_0x37b28e['endDateFieldId']]:void 0x0,_0x26a69d=this[_0x55a21e(0x2ce)](_0x2d1721,_0x266a67);return{'type':_0x4f7ceb[_0x55a21e(0xb0)],'config':_0x37b28e,'fields':this[_0x55a21e(0x160)](_0x2d1721,_0x266a67),'rows':_0x26a69d,'groups':this['_projectGroups'](_0x2d1721,_0x266a67,_0x26a69d),'events':_0x26a69d[_0x55a21e(0x1cc)](_0x1b2582=>{const _0x3a2a56=_0x55a21e;let _0x2f899a=A(_0x1b2582[_0x3a2a56(0x10f)][_0x37b28e['startDateFieldId']]);if(!Number[_0x3a2a56(0xb7)](_0x2f899a))return[];let _0x11e317=_0x1b2582[_0x3a2a56(0x10f)][_0x37b28e[_0x3a2a56(0x2df)]],_0xacc874=_0x37b28e[_0x3a2a56(0x2e0)]==null?void 0x0:_0x1b2582[_0x3a2a56(0x10f)][_0x37b28e['endDateFieldId']],_0x41931c=_0x37b28e[_0x3a2a56(0x2e0)]==null?void 0x0:A(_0xacc874),_0x1b713c=Number['isFinite'](_0x41931c)?_0x41931c:void 0x0;return[{'recordId':_0x1b2582[_0x3a2a56(0x36c)],'title':this[_0x3a2a56(0x341)](_0x2d1721,_0x1b2582,_0x37b28e[_0x3a2a56(0x1bb)]),'start':_0x2f899a,'end':_0x1b713c,'color':this[_0x3a2a56(0x10e)](_0x2d1721,_0x1b2582,_0x37b28e),'startMs':_0x2f899a,'endMs':_0x1b713c,'allDay':this['_isAllDayCalendarEvent'](_0x4c8552,_0x5a0cd2,_0x11e317,_0xacc874),'fieldValues':_0x1b2582[_0x3a2a56(0x10f)]}];})};}[_0x16d78d(0x309)](_0x4edf91,_0xa73484){const _0x2af5e0=_0x16d78d;var _0xc5683f,_0x585b17;let _0x49b85c=this[_0x2af5e0(0x27d)](_0x4edf91,_0xa73484[_0x2af5e0(0x2df)]),_0x4df093=_0xa73484[_0x2af5e0(0x2e0)]&&this[_0x2af5e0(0x30f)](_0x4edf91,_0xa73484[_0x2af5e0(0x2e0)])?_0xa73484[_0x2af5e0(0x2e0)]:(_0xc5683f=this['_findCalendarDateFieldId'](_0x4edf91,_0x49b85c))==null?void 0x0:_0xc5683f,_0x41c956=_0xa73484[_0x2af5e0(0x1bb)]&&_0x4edf91[_0x2af5e0(0x30b)][_0xa73484[_0x2af5e0(0x1bb)]]?_0xa73484[_0x2af5e0(0x1bb)]:_0x4edf91['primaryFieldId'],_0x4a22bc=_0xa73484['mode']===_0x2af5e0(0x25e)||_0xa73484[_0x2af5e0(0x36f)]===_0x2af5e0(0xef)?_0xa73484[_0x2af5e0(0x36f)]:'month',_0x345e51=_0xa73484[_0x2af5e0(0xba)]===_0x2af5e0(0x11e)||_0xa73484[_0x2af5e0(0xba)]==='long'?_0xa73484[_0x2af5e0(0xba)]:_0x2af5e0(0x1be),_0x289465=typeof _0xa73484[_0x2af5e0(0x2f3)]==_0x2af5e0(0xc9)&&_0xa73484[_0x2af5e0(0x2f3)]['trim']()?_0xa73484['timeZone']:_0x2af5e0(0x2fb),_0x31770c=this[_0x2af5e0(0x238)](_0x4edf91,_0xa73484);return{..._0xa73484,'startDateFieldId':_0x49b85c,'endDateFieldId':_0x4df093,'titleFieldId':_0x41c956,'mode':_0x4a22bc,'timeslotSize':_0x345e51,'timeZone':_0x289465,'displayColor':_0x31770c,'fieldSettings':Object[_0x2af5e0(0x22a)](Object[_0x2af5e0(0x1d7)]((_0x585b17=_0xa73484[_0x2af5e0(0x35b)])==null?{}:_0x585b17)[_0x2af5e0(0x33b)](([_0x3d7e3c])=>!!_0x4edf91[_0x2af5e0(0x30b)][_0x3d7e3c]))};}['_resolveCalendarDateFieldId'](_0x26108f,_0x24c683){const _0x136033=_0x16d78d;var _0x15c782,_0x159075;return _0x24c683&&this[_0x136033(0x30f)](_0x26108f,_0x24c683)?_0x24c683:(_0x15c782=(_0x159075=this[_0x136033(0x132)](_0x26108f))==null?_0x24c683:_0x159075)==null?'':_0x15c782;}[_0x16d78d(0x132)](_0x3f489,_0x2cd977){const _0x12e9b7=_0x16d78d;for(let _0x15efd4 of _0x3f489[_0x12e9b7(0x301)])if(_0x15efd4!==_0x2cd977&&this[_0x12e9b7(0x30f)](_0x3f489,_0x15efd4))return _0x15efd4;return null;}[_0x16d78d(0x30f)](_0x44a847,_0x3983a8){const _0x1d0c98=_0x16d78d;let _0x15c152=_0x44a847['fields'][_0x3983a8];return!!_0x15c152&&_0x15c152[_0x1d0c98(0x14a)]===_0x3d85e5['Date']&&_0x15c152['readonly']!==!0x0&&_0x15c152[_0x1d0c98(0x1a0)]!==!0x0&&this[_0x1d0c98(0x12a)](_0x15c152)['usableAsCalendarDate'];}[_0x16d78d(0x238)](_0x29d5d4,_0x456ec8){const _0x1d0e84=_0x16d78d;let _0x5dfe7f=_0x456ec8[_0x1d0e84(0x308)];if((_0x5dfe7f==null?void 0x0:_0x5dfe7f[_0x1d0e84(0x14a)])==='selectField'){let _0x2ac35f=_0x29d5d4[_0x1d0e84(0x30b)][_0x5dfe7f[_0x1d0e84(0x375)]];if(_0x2ac35f&&_0x2ac35f[_0x1d0e84(0x14a)]===_0x3d85e5['SingleSelect'])return _0x5dfe7f;}if((_0x5dfe7f==null?void 0x0:_0x5dfe7f[_0x1d0e84(0x14a)])===_0x1d0e84(0x1e5)&&typeof _0x5dfe7f[_0x1d0e84(0xf1)]=='string'&&_0x5dfe7f[_0x1d0e84(0xf1)][_0x1d0e84(0x304)]())return{'type':'custom','color':_0x5dfe7f[_0x1d0e84(0xf1)]};if(_0x456ec8[_0x1d0e84(0x18c)]){let _0x508a7c=_0x29d5d4[_0x1d0e84(0x30b)][_0x456ec8[_0x1d0e84(0x18c)]];if(_0x508a7c&&_0x508a7c[_0x1d0e84(0x14a)]===_0x3d85e5[_0x1d0e84(0xe8)])return{'type':_0x1d0e84(0x2b5),'fieldId':_0x456ec8[_0x1d0e84(0x18c)]};}return{'type':_0x1d0e84(0x1e5),'color':_0x1d0e84(0x354)};}[_0x16d78d(0x10e)](_0x49b2de,_0x4eceac,_0x3827e4){const _0x3f3999=_0x16d78d;let _0x14d7f3=_0x3827e4['displayColor'];if((_0x14d7f3==null?void 0x0:_0x14d7f3[_0x3f3999(0x14a)])===_0x3f3999(0x2b5)){var _0x2e980e;let _0x52ef4a=_0x49b2de[_0x3f3999(0x30b)][_0x14d7f3[_0x3f3999(0x375)]];if(!_0x52ef4a)return;let _0x5d8edd=_0x4eceac[_0x3f3999(0x10f)][_0x14d7f3['fieldId']],_0x3cd09f=Array[_0x3f3999(0x352)](_0x5d8edd)?_0x5d8edd[0x0]:_0x5d8edd;return _0x3cd09f==null||(_0x2e980e=J(_0x52ef4a,String(_0x3cd09f)))==null?void 0x0:_0x2e980e[_0x3f3999(0xf1)];}if((_0x14d7f3==null?void 0x0:_0x14d7f3[_0x3f3999(0x14a)])===_0x3f3999(0x1e5))return _0x14d7f3[_0x3f3999(0xf1)];}[_0x16d78d(0xb4)](_0x1241a3,_0x16d77a,_0x405986,_0x1ccd59){const _0xd4b473=_0x16d78d;var _0x559677,_0x540630;let _0x228dfd=((_0x559677=_0x1241a3[_0xd4b473(0x2ad)])==null?void 0x0:_0x559677[_0xd4b473(0x108)])===!0x0,_0x35f1cd=(_0x16d77a==null||(_0x540630=_0x16d77a[_0xd4b473(0x2ad)])==null?void 0x0:_0x540630[_0xd4b473(0x108)])===!0x0;return!_0x228dfd&&!_0x35f1cd;}['_isAllDayGanttDateRange'](_0x583d71,_0x381c70){const _0x50de44=_0x16d78d;var _0xb48bff,_0x4f1ed6;let _0x306097=((_0xb48bff=_0x583d71[_0x50de44(0x2ad)])==null?void 0x0:_0xb48bff[_0x50de44(0x108)])===!0x0,_0x36bdc2=((_0x4f1ed6=_0x381c70[_0x50de44(0x2ad)])==null?void 0x0:_0x4f1ed6['includeTime'])===!0x0;return!_0x306097&&!_0x36bdc2;}['_buildGantt'](_0x7b6c41,_0x44f2fd){const _0x17997d=_0x16d78d;let _0xf3d3d1=this['_normalizeGanttConfig'](_0x7b6c41,_0x44f2fd[_0x17997d(0x2ad)]),_0x368764=_0x7b6c41[_0x17997d(0x30b)][_0xf3d3d1['startDateFieldId']];if(!_0x368764||_0x368764[_0x17997d(0x14a)]!==_0x3d85e5[_0x17997d(0x299)]||_0x368764[_0x17997d(0xe4)]===!0x0||_0x368764[_0x17997d(0x1a0)]===!0x0||!this['_capabilities'](_0x368764)['usableAsGanttStart'])return{'type':'invalid','viewType':_0x4f7ceb[_0x17997d(0x18b)],'reason':'invalidGanttStartField','fieldId':_0xf3d3d1['startDateFieldId']};let _0x3966ce=_0x7b6c41[_0x17997d(0x30b)][_0xf3d3d1[_0x17997d(0x2e0)]];if(!_0x3966ce||_0x3966ce[_0x17997d(0x14a)]!==_0x3d85e5[_0x17997d(0x299)]||_0x3966ce[_0x17997d(0xe4)]===!0x0||_0x3966ce[_0x17997d(0x1a0)]===!0x0||!this['_capabilities'](_0x3966ce)[_0x17997d(0x2fc)])return{'type':_0x17997d(0x31b),'viewType':_0x4f7ceb['Gantt'],'reason':_0x17997d(0x155),'fieldId':_0xf3d3d1[_0x17997d(0x2e0)]};let _0x1d610e=this[_0x17997d(0x32e)](_0x368764,_0x3966ce),_0x569d4b=this[_0x17997d(0x2ce)](_0x7b6c41,_0x44f2fd),_0x1ef280=_0x569d4b[_0x17997d(0x1cc)](_0x18aebc=>{const _0x5af62f=_0x17997d;var _0x2d1c4c;let _0x505469=A(_0x18aebc[_0x5af62f(0x10f)][_0xf3d3d1['startDateFieldId']]),_0x483222=A(_0x18aebc[_0x5af62f(0x10f)][_0xf3d3d1[_0x5af62f(0x2e0)]]);if(!Number[_0x5af62f(0xb7)](_0x505469)||!Number[_0x5af62f(0xb7)](_0x483222))return[];let _0x61f5a0=Math[_0x5af62f(0x252)](_0x505469,_0x483222),_0x50f077=Math[_0x5af62f(0x2f9)](_0x505469,_0x483222),_0x526346=_0xf3d3d1[_0x5af62f(0x2c7)]==null?void 0x0:Number(_0x18aebc[_0x5af62f(0x10f)][_0xf3d3d1[_0x5af62f(0x2c7)]]);return[{'recordId':_0x18aebc['recordId'],'title':this['_title'](_0x7b6c41,_0x18aebc,_0xf3d3d1[_0x5af62f(0x1bb)]),'start':_0x61f5a0,'end':_0x50f077,'color':this[_0x5af62f(0x2d6)](_0x7b6c41,_0x18aebc,_0xf3d3d1),'progress':Number[_0x5af62f(0xb7)](_0x526346)?_0x526346:void 0x0,'workingDayCount':_0xf3d3d1[_0x5af62f(0xb5)]?Mn(_0x61f5a0,_0x50f077,_0xf3d3d1[_0x5af62f(0xdf)]):void 0x0,'dependencyRecordIds':this[_0x5af62f(0xe0)](_0x18aebc[_0x5af62f(0x10f)][(_0x2d1c4c=_0xf3d3d1[_0x5af62f(0x366)])==null?'':_0x2d1c4c])}];}),_0x2a0eaf=_0x1ef280[_0x17997d(0x1ee)]?K(Math[_0x17997d(0x252)](..._0x1ef280['map'](_0x328491=>_0x328491['start']))-0x5a*G):K(Date[_0x17997d(0x176)]()-0x5a*G),_0x3158b1=_0x1ef280[_0x17997d(0x1ee)]?K(Math[_0x17997d(0x2f9)](..._0x1ef280[_0x17997d(0x187)](_0x5114d2=>_0x5114d2[_0x17997d(0x2cb)]))+0x5b*G):K(Date[_0x17997d(0x176)]()+0x5b*G),_0x2853bf=wn(_0xf3d3d1[_0x17997d(0x358)],_0x2a0eaf,_0x3158b1,_0xf3d3d1[_0x17997d(0xb5)]?_0xf3d3d1[_0x17997d(0xdf)]:void 0x0);return{'type':_0x4f7ceb[_0x17997d(0x18b)],'fields':this['_projectFields'](_0x7b6c41,{..._0x44f2fd,'config':_0xf3d3d1}),'rows':_0x569d4b,'groups':this[_0x17997d(0x13f)](_0x7b6c41,_0x44f2fd,_0x569d4b),'config':_0xf3d3d1,'dateRangeAllDay':_0x1d610e,'timeline':{'scale':_0xf3d3d1[_0x17997d(0x358)],'start':_0x2a0eaf,'end':_0x3158b1,'unitWidth':_0x2853bf['unitWidth'],'majorHeaders':_0x2853bf['majorHeaders'],'columns':_0x2853bf['columns']},'bars':_0x1ef280};}[_0x16d78d(0x2a0)](_0x183df5,_0x25d2fb){const _0x48ce3f=_0x16d78d;var _0x16b542;let _0x15d32e=this[_0x48ce3f(0x2f7)](_0x183df5,_0x25d2fb['startDateFieldId'],_0x48ce3f(0xd9)),_0x4c597e=this[_0x48ce3f(0x2f7)](_0x183df5,_0x25d2fb['endDateFieldId'],_0x48ce3f(0x2cb))||_0x15d32e,_0x4ce3c2=_0x25d2fb[_0x48ce3f(0x1bb)]&&_0x183df5[_0x48ce3f(0x30b)][_0x25d2fb[_0x48ce3f(0x1bb)]]?_0x25d2fb[_0x48ce3f(0x1bb)]:_0x183df5['primaryFieldId'],_0x2ea4e4=_0x25d2fb['scale']===_0x48ce3f(0xef)||_0x25d2fb['scale']==='quarter'||_0x25d2fb[_0x48ce3f(0x358)]==='year'?_0x25d2fb[_0x48ce3f(0x358)]:'month',_0x30c8bb=Cn(_0x25d2fb['workingDays']);return{..._0x25d2fb,'startDateFieldId':_0x15d32e,'endDateFieldId':_0x4c597e,'titleFieldId':_0x4ce3c2,'scale':_0x2ea4e4,'leftPaneWidth':typeof _0x25d2fb['leftPaneWidth']==_0x48ce3f(0x12e)?_0x25d2fb[_0x48ce3f(0x261)]:void 0x0,'leftPaneCollapsed':_0x25d2fb[_0x48ce3f(0x14e)]===!0x0,'showTodayLine':_0x25d2fb[_0x48ce3f(0x2af)]!==!0x1,'displayColor':this[_0x48ce3f(0x27e)](_0x183df5,_0x25d2fb),'fieldSettings':Object['fromEntries'](Object[_0x48ce3f(0x1d7)]((_0x16b542=_0x25d2fb[_0x48ce3f(0x35b)])==null?{}:_0x16b542)[_0x48ce3f(0x33b)](([_0x13e44c])=>!!_0x183df5[_0x48ce3f(0x30b)][_0x13e44c])),'workingDaysOnly':_0x25d2fb[_0x48ce3f(0xb5)]===!0x0,'workingDays':_0x30c8bb};}[_0x16d78d(0x2f7)](_0x4e92d7,_0x2156fb,_0x5898da){const _0x1aa7a8=_0x16d78d;if(_0x2156fb&&this[_0x1aa7a8(0x17f)](_0x4e92d7,_0x2156fb,_0x5898da)||_0x2156fb)return _0x2156fb;for(let _0x24d51a of _0x4e92d7[_0x1aa7a8(0x301)])if(this[_0x1aa7a8(0x17f)](_0x4e92d7,_0x24d51a,_0x5898da))return _0x24d51a;return _0x2156fb==null?'':_0x2156fb;}[_0x16d78d(0x17f)](_0xca989b,_0x11efa4,_0x199dc1){const _0x538419=_0x16d78d;let _0x296b10=_0xca989b['fields'][_0x11efa4];if(!_0x296b10||_0x296b10['type']!==_0x3d85e5[_0x538419(0x299)]||_0x296b10[_0x538419(0xe4)]===!0x0||_0x296b10['system']===!0x0)return!0x1;let _0x550163=this['_capabilities'](_0x296b10);return _0x199dc1===_0x538419(0xd9)?_0x550163[_0x538419(0x167)]:_0x550163[_0x538419(0x2fc)];}[_0x16d78d(0x27e)](_0x2b697e,_0xb169d5){const _0x44bddc=_0x16d78d;let _0x3e9b61=_0xb169d5['displayColor'];if((_0x3e9b61==null?void 0x0:_0x3e9b61['type'])===_0x44bddc(0x2b5)){let _0x2cd0ca=_0x2b697e['fields'][_0x3e9b61[_0x44bddc(0x375)]];if(_0x2cd0ca&&_0x2cd0ca[_0x44bddc(0x14a)]===_0x3d85e5[_0x44bddc(0xe8)])return _0x3e9b61;}return(_0x3e9b61==null?void 0x0:_0x3e9b61['type'])==='conditional'&&Array[_0x44bddc(0x352)](_0x3e9b61[_0x44bddc(0x182)])?{'type':'conditional','rules':_0x3e9b61[_0x44bddc(0x182)][_0x44bddc(0x33b)](_0x295390=>!!_0x2b697e[_0x44bddc(0x30b)][_0x295390[_0x44bddc(0x375)]])}:(_0x3e9b61==null?void 0x0:_0x3e9b61[_0x44bddc(0x14a)])===_0x44bddc(0x1e5)&&typeof _0x3e9b61[_0x44bddc(0xf1)]==_0x44bddc(0xc9)&&_0x3e9b61['color'][_0x44bddc(0x304)]()?{'type':_0x44bddc(0x1e5),'color':_0x3e9b61['color']}:{'type':'custom','color':'#14b8a6'};}[_0x16d78d(0x2d6)](_0x8490cc,_0x52b71e,_0x4aca84){const _0x96a052=_0x16d78d;let _0x29a35d=_0x4aca84[_0x96a052(0x308)];if((_0x29a35d==null?void 0x0:_0x29a35d[_0x96a052(0x14a)])==='conditional'){let _0x58363a=_0x29a35d['rules'][_0x96a052(0x2db)](_0x17c366=>this[_0x96a052(0x35a)](_0x8490cc,_0x52b71e,_0x17c366));if(_0x58363a)return _0x58363a[_0x96a052(0xf1)];}if((_0x29a35d==null?void 0x0:_0x29a35d['type'])==='selectField'){let _0x221a3e=_0x8490cc[_0x96a052(0x30b)][_0x29a35d[_0x96a052(0x375)]];if(_0x221a3e){var _0x43bee5;let _0xe537a3=_0x52b71e[_0x96a052(0x10f)][_0x29a35d[_0x96a052(0x375)]],_0x3fb54a=Array['isArray'](_0xe537a3)?_0xe537a3[0x0]:_0xe537a3,_0x282e2c=_0x3fb54a==null||(_0x43bee5=J(_0x221a3e,String(_0x3fb54a)))==null?void 0x0:_0x43bee5['color'];if(_0x282e2c)return _0x282e2c;}}return(_0x29a35d==null?void 0x0:_0x29a35d[_0x96a052(0x14a)])==='custom'?_0x29a35d[_0x96a052(0xf1)]:_0x96a052(0x202);}[_0x16d78d(0x35a)](_0x260fff,_0x58b5f4,_0x1ac9ef){const _0x1e77aa=_0x16d78d;let _0x1b5504=_0x260fff[_0x1e77aa(0x30b)][_0x1ac9ef[_0x1e77aa(0x375)]];return _0x1b5504?dt(_0x58b5f4[_0x1e77aa(0x10f)][_0x1b5504['id']],_0x1ac9ef[_0x1e77aa(0x197)],_0x1ac9ef[_0x1e77aa(0x1f4)],_0x1b5504,{'dateMode':_0x1ac9ef[_0x1e77aa(0x327)]}):!0x1;}[_0x16d78d(0x26b)](_0x1cd9a1,_0x7a8f04){const _0x57ca27=_0x16d78d;var _0x32ed41,_0x2aa422,_0xd3080;let _0x465141=this['_projectRows'](_0x1cd9a1,_0x7a8f04),_0x56e074=this[_0x57ca27(0x281)](_0x1cd9a1,(_0x32ed41=_0x7a8f04[_0x57ca27(0x2ad)])==null?{}:_0x32ed41),_0x379040=this[_0x57ca27(0x160)](_0x1cd9a1,_0x7a8f04);return{'type':_0x4f7ceb[_0x57ca27(0x28c)],'fields':_0x379040,'rows':_0x465141,'groups':this[_0x57ca27(0x13f)](_0x1cd9a1,_0x7a8f04,_0x465141),'coverFieldId':_0x56e074[_0x57ca27(0x13e)],'cardLayout':(_0x2aa422=_0x56e074[_0x57ca27(0x174)])==null?_0x57ca27(0x265):_0x2aa422,'showFieldNames':_0x56e074[_0x57ca27(0x233)]!==!0x1,'visibleCardFieldIds':this[_0x57ca27(0x1a9)](_0x1cd9a1,_0x7a8f04,_0x56e074),'cardSize':(_0xd3080=_0x56e074['cardSize'])==null?'medium':_0xd3080,'cards':_0x465141[_0x57ca27(0x187)](_0x997fcb=>({'recordId':_0x997fcb['recordId'],'title':this[_0x57ca27(0x341)](_0x1cd9a1,_0x997fcb,_0x56e074[_0x57ca27(0x1ca)][_0x57ca27(0x1bb)]),'values':_0x997fcb[_0x57ca27(0x10f)]}))};}[_0x16d78d(0x281)](_0x5936c3,_0x523fb8){const _0xfa7955=_0x16d78d;var _0x154217,_0x55d9de;let _0xdd3a2=(_0x154217=_0x523fb8[_0xfa7955(0x1ca)])==null?{'fieldIds':[]}:_0x154217,_0x333c19=_0xdd3a2[_0xfa7955(0x1bb)]&&_0x5936c3['fields'][_0xdd3a2[_0xfa7955(0x1bb)]]?_0xdd3a2[_0xfa7955(0x1bb)]:cn(_0x5936c3),_0x3192c9=this[_0xfa7955(0x119)](_0x5936c3,_0x523fb8),_0x5a15f5=_0x523fb8['cardSize']===_0xfa7955(0x296)||_0x523fb8[_0xfa7955(0x286)]===_0xfa7955(0x29a)?_0x523fb8[_0xfa7955(0x286)]:'medium';return{..._0x523fb8,'coverFieldId':_0x3192c9,'cardLayout':_0x523fb8[_0xfa7955(0x174)]==='compose'?_0xfa7955(0xf7):_0xfa7955(0x265),'showFieldNames':_0x523fb8[_0xfa7955(0x233)]!==!0x1,'fieldSettings':Object['fromEntries'](Object[_0xfa7955(0x1d7)]((_0x55d9de=_0x523fb8[_0xfa7955(0x35b)])==null?{}:_0x55d9de)[_0xfa7955(0x33b)](([_0x257ff0])=>!!_0x5936c3['fields'][_0x257ff0])),'card':{..._0xdd3a2,'titleFieldId':_0x333c19,'coverFieldId':_0x3192c9,'fieldIds':Array[_0xfa7955(0x352)](_0xdd3a2[_0xfa7955(0x321)])?_0xdd3a2[_0xfa7955(0x321)]:[]},'cardSize':_0x5a15f5};}[_0x16d78d(0x119)](_0x381373,_0x408764){const _0x40f470=_0x16d78d;var _0x3e8688,_0x4140b9,_0x2ffb9c;let _0x34af81=(_0x3e8688=(_0x4140b9=_0x408764[_0x40f470(0x13e)])==null?(_0x2ffb9c=_0x408764[_0x40f470(0x1ca)])==null?void 0x0:_0x2ffb9c[_0x40f470(0x13e)]:_0x4140b9)==null?null:_0x3e8688;if(!_0x34af81)return null;let _0x1c5153=_0x381373[_0x40f470(0x30b)][_0x34af81];return _0x1c5153&&this['_capabilities'](_0x1c5153)[_0x40f470(0x260)]?_0x1c5153['id']:null;}[_0x16d78d(0x1a9)](_0x3c2be7,_0x1d6025,_0x6677a1){const _0x404621=_0x16d78d;var _0x433009,_0x5df649,_0x31e993,_0x50fbc6,_0x444350,_0x15e174,_0x5f44b4;let _0x45264b=(_0x433009=_0x6677a1[_0x404621(0x35b)])==null?{}:_0x433009,_0x2edcc4=(_0x5df649=(_0x31e993=_0x6677a1[_0x404621(0x1ca)])==null?void 0x0:_0x31e993[_0x404621(0x1bb)])==null?cn(_0x3c2be7):_0x5df649,_0x4bfc2a=(_0x50fbc6=(_0x444350=_0x6677a1[_0x404621(0x13e)])==null?(_0x15e174=_0x6677a1[_0x404621(0x1ca)])==null?void 0x0:_0x15e174[_0x404621(0x13e)]:_0x444350)==null?null:_0x50fbc6,_0x32d229=!((_0x5f44b4=_0x6677a1[_0x404621(0x1ca)])==null||(_0x5f44b4=_0x5f44b4['fieldIds'])==null)&&_0x5f44b4[_0x404621(0x1ee)]?_0x6677a1[_0x404621(0x1ca)][_0x404621(0x321)]:U(_0x3c2be7,[_0x2edcc4,_0x4bfc2a,_0x3c2be7[_0x404621(0xaf)]]);return _0x32d229[_0x404621(0x33b)](_0x4e321f=>{const _0x19f124=_0x404621;var _0x377286,_0x31e9c0;let _0x8923df=_0x3c2be7[_0x19f124(0x30b)][_0x4e321f];return!(!_0x8923df||_0x8923df['id']===_0x2edcc4||_0x8923df['id']===_0x4bfc2a||!((_0x377286=_0x1d6025[_0x19f124(0x35b)])==null||(_0x377286=_0x377286[_0x4e321f])==null)&&_0x377286[_0x19f124(0x2ef)]||(_0x31e9c0=_0x45264b[_0x4e321f])!=null&&_0x31e9c0[_0x19f124(0x2ef)]);})[_0x404621(0x194)]((_0x140183,_0x63d1aa)=>{const _0xdb1578=_0x404621;var _0x28ac6c,_0x16045e,_0x252acc,_0x2e6182;return((_0x28ac6c=(_0x16045e=_0x45264b[_0x140183])==null?void 0x0:_0x16045e['order'])==null?_0x32d229[_0xdb1578(0x2f2)](_0x140183):_0x28ac6c)-((_0x252acc=(_0x2e6182=_0x45264b[_0x63d1aa])==null?void 0x0:_0x2e6182[_0xdb1578(0x31f)])==null?_0x32d229[_0xdb1578(0x2f2)](_0x63d1aa):_0x252acc);});}[_0x16d78d(0x160)](_0xd8347d,_0x4fe622){const _0xee8dbd=_0x16d78d;var _0x9ad9cd;return((_0x9ad9cd=_0x4fe622[_0xee8dbd(0x301)])!=null&&_0x9ad9cd[_0xee8dbd(0x1ee)]?_0x4fe622[_0xee8dbd(0x301)]:_0xd8347d[_0xee8dbd(0x301)])['flatMap'](_0x1fa9fd=>{const _0x2a3167=_0xee8dbd;var _0x2b8439,_0x1c21d4;let _0x4243e0=_0xd8347d[_0x2a3167(0x30b)][_0x1fa9fd],_0x38a07c=(_0x2b8439=(_0x1c21d4=_0x4fe622[_0x2a3167(0x35b)])==null?void 0x0:_0x1c21d4[_0x1fa9fd])==null?{}:_0x2b8439;return!_0x4243e0||_0x38a07c[_0x2a3167(0x2ef)]?[]:[{'id':_0x4243e0['id'],'name':_0x4243e0[_0x2a3167(0x14c)],'description':_0x4243e0[_0x2a3167(0xbc)],'type':_0x4243e0[_0x2a3167(0x14a)],'config':_0x4243e0[_0x2a3167(0x2ad)],'width':_0x38a07c[_0x2a3167(0x325)],'setting':_0x38a07c}];});}[_0x16d78d(0x2ce)](_0x10d4cf,_0x39ba26){const _0x13b174=_0x16d78d;var _0x4e1ebd,_0x2db34b,_0xe2b36a;return C(_0x13b174(0x19b),()=>{const _0x503111=_0x13b174;var _0x72b4bb,_0x516d01,_0x2c5764,_0x2821dd;let _0x240522=this[_0x503111(0x213)](_0x10d4cf),_0x9597=this[_0x503111(0x1d6)](_0x10d4cf['id'],_0x39ba26),_0x3f78e4=this['_getCellRevision'](_0x10d4cf['id']),_0x46deb4=this['_projectedViewRowsCache']['get'](_0x9597);if(_0x46deb4&&_0x46deb4[_0x503111(0x17b)]===this[_0x503111(0x1b6)]&&_0x46deb4['tableRevision']===this[_0x503111(0x136)](_0x10d4cf['id'])){if(_0x46deb4[_0x503111(0x112)]===_0x3f78e4&&_0x46deb4[_0x503111(0x1dc)]===_0x240522)return _0x46deb4['rows'];if(_0x46deb4[_0x503111(0x112)]!==_0x3f78e4&&!this[_0x503111(0x2ba)](_0x10d4cf['id'],_0x46deb4['cellRevision'],_0x3f78e4,this['_filterSortFieldIds'](_0x39ba26))){let _0x559127=_0x46deb4[_0x503111(0x221)]===_0x46deb4['baseRows']?_0x240522:this[_0x503111(0x102)](_0x46deb4[_0x503111(0x221)],_0x240522);if(_0x559127)return this['_projectedViewRowsCache'][_0x503111(0x21d)](_0x9597,{..._0x46deb4,'rows':_0x559127,'baseRows':_0x240522,'cellRevision':_0x3f78e4}),_0x559127;}}let _0x5f2eca=C(_0x503111(0xed),()=>this[_0x503111(0x121)](_0x10d4cf,_0x39ba26,this['_filterRows'](_0x10d4cf,_0x39ba26,_0x240522)),{'tableId':_0x10d4cf['id'],'viewId':_0x39ba26==null?void 0x0:_0x39ba26['id'],'viewType':_0x39ba26==null?void 0x0:_0x39ba26[_0x503111(0x14a)],'rows':_0x240522['length'],'filters':(_0x72b4bb=_0x39ba26==null||(_0x516d01=_0x39ba26[_0x503111(0x33b)])==null?void 0x0:_0x516d01[_0x503111(0xcc)]['length'])==null?0x0:_0x72b4bb,'sorts':(_0x2c5764=_0x39ba26==null||(_0x2821dd=_0x39ba26[_0x503111(0x194)])==null?void 0x0:_0x2821dd[_0x503111(0x1ee)])==null?0x0:_0x2c5764});return this[_0x503111(0x200)][_0x503111(0x21d)](_0x9597,{'table':_0x10d4cf,'rows':_0x5f2eca,'baseRows':_0x240522,'globalRevision':this[_0x503111(0x1b6)],'tableRevision':this[_0x503111(0x136)](_0x10d4cf['id']),'cellRevision':_0x3f78e4}),_0x5f2eca;},{'tableId':_0x10d4cf['id'],'viewId':_0x39ba26==null?void 0x0:_0x39ba26['id'],'viewType':_0x39ba26==null?void 0x0:_0x39ba26[_0x13b174(0x14a)],'records':(_0x4e1ebd=(_0x2db34b=_0x10d4cf[_0x13b174(0x158)])==null?void 0x0:_0x2db34b[_0x13b174(0x1ee)])==null?Object[_0x13b174(0x33a)]((_0xe2b36a=_0x10d4cf[_0x13b174(0x26d)])==null?{}:_0xe2b36a)[_0x13b174(0x1ee)]:_0x4e1ebd});}[_0x16d78d(0x213)](_0x26a139){const _0x192714=_0x16d78d;var _0x53fbc8,_0x402f01,_0x22d9fe;return C(_0x192714(0x106),()=>{const _0x55e909=_0x192714;var _0x8dca52;let _0x1961fe=this['_getCellRevision'](_0x26a139['id']),_0x4ee2db=this['_projectedRowsCache']['get'](_0x26a139['id']);if(_0x4ee2db&&_0x4ee2db['globalRevision']===this[_0x55e909(0x1b6)]&&_0x4ee2db[_0x55e909(0x210)]===this['_getTableRevision'](_0x26a139['id'])){if(_0x4ee2db[_0x55e909(0x112)]===_0x1961fe&&_0x4ee2db[_0x55e909(0xc2)]===_0x26a139)return _0x4ee2db[_0x55e909(0x221)];let _0x2a5c81=this[_0x55e909(0x148)](_0x26a139,_0x4ee2db,_0x1961fe);if(_0x2a5c81)return _0x2a5c81;}vn(_0x26a139)||w(_0x26a139);let _0x6ed106=(_0x8dca52=_0x26a139[_0x55e909(0x158)])!=null&&_0x8dca52[_0x55e909(0x1ee)]?_0x26a139[_0x55e909(0x158)]:Sn(_0x26a139[_0x55e909(0x26d)]),_0x83ea76=C(_0x55e909(0x317),()=>{const _0x3dc39b=_0x55e909;let _0x364707=[];for(let _0x4e11ac of _0x6ed106){let _0x267ae6=_0x26a139[_0x3dc39b(0x26d)][_0x4e11ac];if(!_0x267ae6)continue;let _0x2e0204={};for(let _0x2d30b2 of _0x26a139['fieldOrder'])_0x2e0204[_0x2d30b2]=we(_0x26a139,_0x267ae6['id'],_0x2d30b2);_0x364707['push']({'recordId':_0x267ae6['id'],'values':_0x2e0204});}return _0x364707;},{'tableId':_0x26a139['id'],'records':_0x6ed106['length'],'fields':_0x26a139[_0x55e909(0x301)][_0x55e909(0x1ee)]});return this[_0x55e909(0x1bc)]['set'](_0x26a139['id'],{'table':_0x26a139,'rows':_0x83ea76,'rowIndexById':_n(_0x83ea76),'globalRevision':this['_globalRevision'],'tableRevision':this[_0x55e909(0x136)](_0x26a139['id']),'cellRevision':_0x1961fe}),_0x83ea76;},{'tableId':_0x26a139['id'],'records':(_0x53fbc8=(_0x402f01=_0x26a139[_0x192714(0x158)])==null?void 0x0:_0x402f01[_0x192714(0x1ee)])==null?Object['keys']((_0x22d9fe=_0x26a139[_0x192714(0x26d)])==null?{}:_0x22d9fe)[_0x192714(0x1ee)]:_0x53fbc8,'fields':_0x26a139[_0x192714(0x301)][_0x192714(0x1ee)]});}[_0x16d78d(0x148)](_0x544e59,_0x842a06,_0x3cd8ce){const _0x46f9e9=_0x16d78d;var _0x24911b,_0x236eda;let _0x57cc1f=((_0x24911b=this[_0x46f9e9(0x191)]['get'](_0x544e59['id']))==null?[]:_0x24911b)[_0x46f9e9(0x33b)](_0x41afa8=>_0x41afa8[_0x46f9e9(0x32d)]>_0x842a06[_0x46f9e9(0x112)]&&_0x41afa8[_0x46f9e9(0x32d)]<=_0x3cd8ce);if(!_0x57cc1f[_0x46f9e9(0x1ee)])return _0x842a06['table']===_0x544e59?_0x842a06[_0x46f9e9(0x221)]:null;let _0xce6b95=_0x842a06['rows'],_0x34c347=new Map();for(let _0x222e15 of _0x57cc1f){let _0xc19494=_0x34c347[_0x46f9e9(0x36e)](_0x222e15[_0x46f9e9(0x36c)]);_0xc19494||(_0xc19494=new Set(),_0x34c347['set'](_0x222e15[_0x46f9e9(0x36c)],_0xc19494)),_0xc19494['add'](_0x222e15['fieldId']);}for(let [_0x590d64,_0x549389]of _0x34c347){if(!_0x544e59['records'][_0x590d64])return null;let _0x1364c3=_0x842a06['rowIndexById'][_0x46f9e9(0x36e)](_0x590d64);if(_0x1364c3==null)return null;_0xce6b95===_0x842a06[_0x46f9e9(0x221)]&&(_0xce6b95=[..._0x842a06[_0x46f9e9(0x221)]]);let _0x2a9f40=_0xce6b95[_0x1364c3],_0x242a77={..._0x2a9f40[_0x46f9e9(0x10f)]};_0x549389['forEach'](_0x5a4681=>{_0x242a77[_0x5a4681]=we(_0x544e59,_0x590d64,_0x5a4681);}),_0xce6b95[_0x1364c3]={..._0x2a9f40,'values':_0x242a77};}let _0x37dce4={'table':_0x544e59,'rows':_0xce6b95,'rowIndexById':_0x842a06[_0x46f9e9(0x113)],'globalRevision':this[_0x46f9e9(0x1b6)],'tableRevision':this[_0x46f9e9(0x136)](_0x544e59['id']),'cellRevision':_0x3cd8ce};return this[_0x46f9e9(0x1bc)][_0x46f9e9(0x21d)](_0x544e59['id'],_0x37dce4),this[_0x46f9e9(0x191)][_0x46f9e9(0x21d)](_0x544e59['id'],((_0x236eda=this[_0x46f9e9(0x191)]['get'](_0x544e59['id']))==null?[]:_0x236eda)['filter'](_0x33f058=>_0x33f058[_0x46f9e9(0x32d)]>Math[_0x46f9e9(0x2f9)](0x0,_0x3cd8ce-0x100))),_0xce6b95;}[_0x16d78d(0x102)](_0x3fd039,_0x4c2b6e){const _0x5bb0da=_0x16d78d;let _0x502ad0=new Map(_0x4c2b6e[_0x5bb0da(0x187)](_0x2f60ba=>[_0x2f60ba['recordId'],_0x2f60ba])),_0x2b2063=!0x1,_0x2a896c=_0x3fd039[_0x5bb0da(0x187)](_0xa53d8c=>{const _0x1679ce=_0x5bb0da;let _0x596408=_0x502ad0['get'](_0xa53d8c[_0x1679ce(0x36c)]);return _0x596408?_0x596408===_0xa53d8c?_0xa53d8c:(_0x2b2063=!0x0,_0x596408):_0xa53d8c;});return _0x2b2063?_0x2a896c:_0x3fd039;}[_0x16d78d(0x2ba)](_0x1640e4,_0x2c54c6,_0x1ad067,_0x1a3f01){const _0x58fd29=_0x16d78d;var _0x572204;return!_0x1a3f01['size']||_0x2c54c6===_0x1ad067?!0x1:_0x1ad067-_0x2c54c6>0x100?!0x0:((_0x572204=this['_cellInvalidations'][_0x58fd29(0x36e)](_0x1640e4))==null?[]:_0x572204)[_0x58fd29(0x322)](_0x5a97c4=>_0x5a97c4[_0x58fd29(0x32d)]>_0x2c54c6&&_0x5a97c4['revision']<=_0x1ad067&&_0x1a3f01[_0x58fd29(0x277)](_0x5a97c4[_0x58fd29(0x375)]));}[_0x16d78d(0xae)](_0x2befc6){const _0x2e6cc6=_0x16d78d;var _0x1596e0,_0x4389ab;let _0x11c022=new Set();return _0x2befc6==null||(_0x1596e0=_0x2befc6[_0x2e6cc6(0x33b)])==null||_0x1596e0[_0x2e6cc6(0xcc)]['forEach'](_0x303597=>_0x11c022[_0x2e6cc6(0xf0)](_0x303597[_0x2e6cc6(0x375)])),_0x2befc6==null||(_0x4389ab=_0x2befc6['sort'])==null||_0x4389ab[_0x2e6cc6(0x165)](_0x5a6c75=>_0x11c022[_0x2e6cc6(0xf0)](_0x5a6c75['fieldId'])),_0x11c022;}[_0x16d78d(0xfa)](_0x47b709){const _0x2adbc2=_0x16d78d;var _0x4f2af6;let _0x563945=this[_0x2adbc2(0xae)](_0x47b709);return(_0x4f2af6=_0x47b709['group'])==null||_0x4f2af6[_0x2adbc2(0x165)](_0x42423c=>_0x563945[_0x2adbc2(0xf0)](_0x42423c[_0x2adbc2(0x375)])),_0x563945;}['_filterRows'](_0x5cd404,_0x48cdcf,_0x255563){const _0x904fea=_0x16d78d;let _0x13a1df=_0x48cdcf==null?void 0x0:_0x48cdcf[_0x904fea(0x33b)];if(!(_0x13a1df!=null&&_0x13a1df['conditions'][_0x904fea(0x1ee)]))return _0x255563;let _0x4704be=_0x13a1df['conditions'][_0x904fea(0x33b)](_0x2ecc70=>!Hn(_0x2ecc70));return _0x4704be[_0x904fea(0x1ee)]?_0x255563[_0x904fea(0x33b)](_0x5005fa=>{const _0x11f0a9=_0x904fea;if(_0x13a1df[_0x11f0a9(0x17c)]===_0x5c5bdc['OR']){for(let _0x57a5c7 of _0x4704be){let _0x2354a6=_0x5cd404['fields'][_0x57a5c7['fieldId']];if(!_0x2354a6||this[_0x11f0a9(0x368)]['get'](_0x2354a6[_0x11f0a9(0x14a)])['filter'](_0x5005fa[_0x11f0a9(0x10f)][_0x2354a6['id']],_0x57a5c7['operator'],_0x57a5c7[_0x11f0a9(0x1f4)],_0x2354a6))return!0x0;}return!0x1;}for(let _0x8442a3 of _0x4704be){let _0x375c53=_0x5cd404['fields'][_0x8442a3['fieldId']];if(_0x375c53&&!this[_0x11f0a9(0x368)]['get'](_0x375c53['type'])[_0x11f0a9(0x33b)](_0x5005fa[_0x11f0a9(0x10f)][_0x375c53['id']],_0x8442a3[_0x11f0a9(0x197)],_0x8442a3[_0x11f0a9(0x1f4)],_0x375c53))return!0x1;}return!0x0;}):_0x255563;}[_0x16d78d(0x121)](_0x155735,_0x1a9348,_0x1638f4){const _0x2fc770=_0x16d78d;var _0x4d567e;let _0x5501ae=(_0x4d567e=_0x1a9348==null?void 0x0:_0x1a9348[_0x2fc770(0x194)])==null?[]:_0x4d567e;if(!_0x5501ae[_0x2fc770(0x1ee)])return _0x1638f4;let _0x40eb66=_0x5501ae['flatMap'](_0x21b954=>{const _0x36e9a2=_0x2fc770;let _0x373290=_0x155735['fields'][_0x21b954[_0x36e9a2(0x375)]];return _0x373290?[{..._0x21b954,'field':_0x373290}]:[];});return _0x40eb66['length']?this[_0x2fc770(0x1f8)](_0x40eb66)?this[_0x2fc770(0x2b7)](_0x40eb66,_0x1638f4):[..._0x1638f4][_0x2fc770(0x194)]((_0x3ab689,_0x35b0d5)=>{const _0x5c8779=_0x2fc770;for(let _0x1087b7 of _0x40eb66){let _0x5d875d=_0x1087b7[_0x5c8779(0x30d)],_0x2bfef5=this[_0x5c8779(0x368)]['get'](_0x5d875d[_0x5c8779(0x14a)])[_0x5c8779(0x2a4)](_0x3ab689['values'][_0x5d875d['id']],_0x35b0d5[_0x5c8779(0x10f)][_0x5d875d['id']],_0x5d875d);if(_0x2bfef5!==0x0)return _0x1087b7['direction']===_0x2bad6f[_0x5c8779(0x227)]?-_0x2bfef5:_0x2bfef5;}return 0x0;}):_0x1638f4;}[_0x16d78d(0x1f8)](_0x1fe03f){const _0x1cc5b0=_0x16d78d;return _0x1fe03f['every'](_0x18e43c=>mn[_0x1cc5b0(0x277)](_0x18e43c[_0x1cc5b0(0x30d)][_0x1cc5b0(0x14a)]));}['_fastSortRows'](_0x5d930f,_0x484e9c){const _0x41ff95=_0x16d78d;return _0x484e9c[_0x41ff95(0x187)]((_0x8ebc15,_0x2853a8)=>({'row':_0x8ebc15,'index':_0x2853a8,'keys':_0x5d930f[_0x41ff95(0x187)](_0x2f57a0=>_0x8ebc15[_0x41ff95(0x10f)][_0x2f57a0[_0x41ff95(0x375)]])}))[_0x41ff95(0x194)]((_0x2a2876,_0x32e66a)=>{const _0x46d08f=_0x41ff95;for(let _0x39bb1f=0x0;_0x39bb1f<_0x5d930f[_0x46d08f(0x1ee)];_0x39bb1f++){let _0x53043a=Vn(_0x2a2876[_0x46d08f(0x33a)][_0x39bb1f],_0x32e66a[_0x46d08f(0x33a)][_0x39bb1f]);if(_0x53043a!==0x0)return _0x5d930f[_0x39bb1f][_0x46d08f(0x2a6)]===_0x2bad6f[_0x46d08f(0x227)]?-_0x53043a:_0x53043a;}return _0x2a2876[_0x46d08f(0x1f6)]-_0x32e66a['index'];})[_0x41ff95(0x187)](_0x3ebbd9=>_0x3ebbd9[_0x41ff95(0x2ed)]);}[_0x16d78d(0x13f)](_0x185cbe,_0x2de690,_0x59e0ee){const _0x31a5c4=_0x16d78d;var _0x21e2a3,_0x39b8a7;return C(_0x31a5c4(0x320),()=>{const _0x49988a=_0x31a5c4;var _0x4549f5;if(!((_0x4549f5=_0x2de690[_0x49988a(0xcb)])!=null&&_0x4549f5['length']))return[];let _0x34a4c7=_0x2de690[_0x49988a(0xcb)][_0x49988a(0x33b)](_0x27d053=>_0x185cbe[_0x49988a(0x30b)][_0x27d053[_0x49988a(0x375)]]);if(!_0x34a4c7['length'])return[];let _0x2836c7=this[_0x49988a(0x2ea)](_0x185cbe['id'],_0x2de690,_0x34a4c7),_0x3cad22=this[_0x49988a(0x30c)](_0x185cbe['id']),_0x3fb8fd=this[_0x49988a(0x218)][_0x49988a(0x36e)](_0x2836c7);if(_0x3fb8fd&&_0x3fb8fd[_0x49988a(0x17b)]===this[_0x49988a(0x1b6)]&&_0x3fb8fd[_0x49988a(0x210)]===this[_0x49988a(0x136)](_0x185cbe['id'])){if(_0x3fb8fd[_0x49988a(0x112)]===_0x3cad22&&_0x3fb8fd['rows']===_0x59e0ee)return _0x3fb8fd[_0x49988a(0x143)];if(_0x3fb8fd['cellRevision']!==_0x3cad22&&!this[_0x49988a(0x2ba)](_0x185cbe['id'],_0x3fb8fd[_0x49988a(0x112)],_0x3cad22,this[_0x49988a(0xfa)](_0x2de690)))return this[_0x49988a(0x218)][_0x49988a(0x21d)](_0x2836c7,{..._0x3fb8fd,'rows':_0x59e0ee,'cellRevision':_0x3cad22}),_0x3fb8fd[_0x49988a(0x143)];}let _0x5cad72=new Map();for(let _0x4a6465 of _0x59e0ee){let _0x49312a=_0x5cad72,_0x2d7c40='';for(let _0x3e1d74=0x0;_0x3e1d74<_0x34a4c7['length'];_0x3e1d74++){let _0x358b51=_0x34a4c7[_0x3e1d74],_0x3d2c0b=_0x4a6465[_0x49988a(0x10f)][_0x358b51[_0x49988a(0x375)]],_0x534dab=gn(_0x3d2c0b),_0x31e90d=_0x358b51['fieldId']+'\x00'+_0x534dab,_0x5f3adf=_0x2d7c40+'/'+_0x358b51[_0x49988a(0x375)]+':'+_0x534dab,_0x59adff=_0x49312a['get'](_0x31e90d);_0x59adff||(_0x59adff={'key':_0x534dab,'value':_0x3d2c0b,'path':_0x5f3adf,'label':_0x534dab||_0x49988a(0x315),'fieldId':_0x358b51[_0x49988a(0x375)],'level':_0x3e1d74,'recordIds':[],'children':new Map()},_0x49312a[_0x49988a(0x21d)](_0x31e90d,_0x59adff)),_0x59adff[_0x49988a(0x104)][_0x49988a(0xcd)](_0x4a6465[_0x49988a(0x36c)]),_0x49312a=_0x59adff[_0x49988a(0x363)],_0x2d7c40=_0x5f3adf;}}let _0x236aba=this[_0x49988a(0x2ae)](_0x34a4c7,_0x5cad72,0x0);return this[_0x49988a(0x218)][_0x49988a(0x21d)](_0x2836c7,{'table':_0x185cbe,'rows':_0x59e0ee,'groups':_0x236aba,'globalRevision':this[_0x49988a(0x1b6)],'tableRevision':this[_0x49988a(0x136)](_0x185cbe['id']),'cellRevision':_0x3cad22}),_0x236aba;},{'tableId':_0x185cbe['id'],'viewId':_0x2de690['id'],'viewType':_0x2de690[_0x31a5c4(0x14a)],'rows':_0x59e0ee[_0x31a5c4(0x1ee)],'groupFields':(_0x21e2a3=(_0x39b8a7=_0x2de690['group'])==null?void 0x0:_0x39b8a7[_0x31a5c4(0x1ee)])==null?0x0:_0x21e2a3});}[_0x16d78d(0x2ae)](_0x1d118e,_0x36a03a,_0x30bf74){const _0x58251c=_0x16d78d;var _0xad3232;let _0x461a14=Array['from'](_0x36a03a[_0x58251c(0x10f)]()),_0x1effb1=(_0xad3232=_0x1d118e[_0x30bf74])==null?void 0x0:_0xad3232[_0x58251c(0x2a6)];return _0x1effb1&&_0x461a14[_0x58251c(0x194)]((_0x512612,_0x32ec66)=>{const _0x40461b=_0x58251c;let _0x4c0cf5=_0x512612[_0x40461b(0x29d)][_0x40461b(0x153)](_0x32ec66[_0x40461b(0x29d)]);return _0x1effb1===_0x2bad6f['DESC']?-_0x4c0cf5:_0x4c0cf5;}),_0x461a14[_0x58251c(0x187)](_0x321c18=>({'key':_0x321c18[_0x58251c(0x29d)],'value':_0x321c18['value'],'path':_0x321c18[_0x58251c(0x293)],'label':_0x321c18[_0x58251c(0x129)],'fieldId':_0x321c18[_0x58251c(0x375)],'level':_0x321c18[_0x58251c(0x259)],'recordIds':_0x321c18[_0x58251c(0x104)],'children':this[_0x58251c(0x2ae)](_0x1d118e,_0x321c18[_0x58251c(0x363)],_0x30bf74+0x1)}));}[_0x16d78d(0x341)](_0x11ef1c,_0x57d546,_0x45ca4c){const _0x4076af=_0x16d78d;let _0x569f98=_0x45ca4c==null?_0x11ef1c[_0x4076af(0xaf)]:_0x45ca4c,_0x5d4026=_0x57d546[_0x4076af(0x10f)][_0x569f98];return _0x5d4026==null?'':String(_0x5d4026);}[_0x16d78d(0xe0)](_0x41b0ca){const _0x2c3e28=_0x16d78d;if(Array[_0x2c3e28(0x352)](_0x41b0ca))return _0x41b0ca[_0x2c3e28(0x187)](String);if(typeof _0x41b0ca=='string'&&_0x41b0ca)return[_0x41b0ca];}[_0x16d78d(0x12a)](_0x22fbd2){const _0x2c6d08=_0x16d78d;return this['_fieldRegistry'][_0x2c6d08(0x36e)](_0x22fbd2[_0x2c6d08(0x14a)])[_0x2c6d08(0x33d)](_0x22fbd2);}};hn=B([z(0x0,_0x2aaad9($t))],hn);function gn(_0x5615cb){return _0x5615cb==null?'':String(_0x5615cb);}function _n(_0x293d24){const _0x2cecae=_0x16d78d;return new Map(_0x293d24[_0x2cecae(0x187)]((_0x2632ed,_0x274b50)=>[_0x2632ed[_0x2cecae(0x36c)],_0x274b50]));}function vn(_0x1b6235){const _0x224f35=_0x16d78d;return!!(Array[_0x224f35(0x352)](_0x1b6235[_0x224f35(0x158)])&&_0x1b6235['rowIndex']&&_0x1b6235[_0x224f35(0xd7)]&&_0x1b6235[_0x224f35(0x32b)]&&_0x1b6235[_0x224f35(0x15b)]&&_0x1b6235[_0x224f35(0x33e)]);}function yn(_0x98b577){const _0x42dec2=_0x16d78d;return _0x98b577!=null&&_0x98b577['conditions'][_0x42dec2(0x1ee)]?{'conjunction':_0x98b577['conjunction'],'conditions':_0x98b577[_0x42dec2(0xcc)][_0x42dec2(0x187)](_0x469224=>({'fieldId':_0x469224[_0x42dec2(0x375)],'operator':_0x469224[_0x42dec2(0x197)],'operand':_0x469224[_0x42dec2(0x1f4)]}))}:null;}function bn(_0x4a0dff){const _0x1de07f=_0x16d78d;return _0x4a0dff!=null&&_0x4a0dff[_0x1de07f(0x1ee)]?_0x4a0dff[_0x1de07f(0x187)](_0x4f0e92=>({'fieldId':_0x4f0e92[_0x1de07f(0x375)],'direction':_0x4f0e92[_0x1de07f(0x2a6)]})):null;}function xn(_0x59bf64){const _0x1e8fe8=_0x16d78d;if(typeof _0x59bf64!='object'||!_0x59bf64){var _0x12576b;return(_0x12576b=JSON[_0x1e8fe8(0x1f5)](_0x59bf64))==null?_0x1e8fe8(0x34f):_0x12576b;}if(Array[_0x1e8fe8(0x352)](_0x59bf64))return'['+_0x59bf64[_0x1e8fe8(0x187)](xn)[_0x1e8fe8(0x115)](',')+']';let _0x2fbc25=_0x59bf64;return'{'+Object[_0x1e8fe8(0x33a)](_0x2fbc25)['sort']()[_0x1e8fe8(0x187)](_0x4752fe=>JSON['stringify'](_0x4752fe)+':'+xn(_0x2fbc25[_0x4752fe]))[_0x1e8fe8(0x115)](',')+'}';}function Sn(_0x14af34){const _0x161b30=_0x16d78d;let _0x53096e=Object[_0x161b30(0x10f)](_0x14af34)['sort']((_0x5355fb,_0x199d1b)=>_0x5355fb[_0x161b30(0x266)][_0x161b30(0x153)](_0x199d1b[_0x161b30(0x266)])),_0x2c1a72=[];for(let _0x4e057d of _0x53096e)_0x2c1a72['push'](_0x4e057d['id']);return _0x2c1a72;}const G=0x5a0*0x3c*0x3e8;function Cn(_0x4cc1aa){const _0x46fb43=_0x16d78d;return{'weekdays':Array[_0x46fb43(0x352)](_0x4cc1aa==null?void 0x0:_0x4cc1aa['weekdays'])&&_0x4cc1aa['weekdays'][_0x46fb43(0x1ee)]?[...new Set(_0x4cc1aa[_0x46fb43(0x22e)][_0x46fb43(0x33b)](_0x5f1b61=>Number[_0x46fb43(0x2b9)](_0x5f1b61)&&_0x5f1b61>=0x1&&_0x5f1b61<=0x7))]:[0x1,0x2,0x3,0x4,0x5],'exceptions':Array[_0x46fb43(0x352)](_0x4cc1aa==null?void 0x0:_0x4cc1aa[_0x46fb43(0x268)])?_0x4cc1aa[_0x46fb43(0x268)][_0x46fb43(0x1cc)](_0x3c43d4=>!_0x3c43d4||!Number['isFinite'](_0x3c43d4[_0x46fb43(0x21e)])?[]:[{'id':String(_0x3c43d4['id']||_0x46fb43(0x2bb)+_0x3c43d4[_0x46fb43(0x21e)]),'date':K(Number(_0x3c43d4[_0x46fb43(0x21e)])),'name':String(_0x3c43d4[_0x46fb43(0x14c)]||_0x46fb43(0x11c)),'type':_0x3c43d4[_0x46fb43(0x14a)]==='working'?_0x46fb43(0x226):_0x46fb43(0x180)}]):[]};}function wn(_0x460d2a,_0x4d1923,_0x463dc1,_0x54f820){let _0x45875b=On(_0x460d2a,_0x4d1923),_0x3d79b5=kn(_0x460d2a,_0x463dc1),_0x107533=Tn(_0x460d2a,_0x45875b,_0x3d79b5,_0x54f820);return{'scale':_0x460d2a,'start':_0x45875b,'end':_0x3d79b5,'unitWidth':Dn(_0x460d2a),'majorHeaders':En(_0x460d2a,_0x45875b,_0x3d79b5),'columns':_0x107533};}function Tn(_0x208ab1,_0x5c9f1b,_0x1ec03a,_0x5ca05b){const _0xedfe46=_0x16d78d;let _0x42144c=[],_0x11978d=_0x5c9f1b;for(;_0x11978d<_0x1ec03a;){let _0x4df6ba=_0x208ab1===_0xedfe46(0x203)?q(_0x11978d,0x7):_0x208ab1===_0xedfe46(0x319)?Rn(_0x11978d,0x1):q(_0x11978d,0x1);_0x42144c[_0xedfe46(0xcd)]({'id':_0x208ab1+'-'+_0x11978d,'label':An(_0x208ab1,_0x11978d,_0x4df6ba),'majorLabel':jn(_0x208ab1,_0x11978d),'start':_0x11978d,'end':_0x4df6ba,'nonWorking':Nn(_0x11978d,_0x4df6ba,_0x5ca05b)}),_0x11978d=_0x4df6ba;}return _0x42144c;}function En(_0x3573bd,_0x3d910c,_0x5901ea){const _0x5f0708=_0x16d78d;let _0x22105b=[],_0x30bd87=_0x3573bd==='year'?Ln(_0x3d910c):In(_0x3d910c);for(;_0x30bd87<_0x5901ea;){let _0x433f56=_0x3573bd===_0x5f0708(0x319)?zn(_0x30bd87,0x1):Rn(_0x30bd87,0x1);_0x22105b[_0x5f0708(0xcd)]({'id':_0x5f0708(0x32c)+_0x30bd87,'label':_0x3573bd===_0x5f0708(0x319)?String(new Date(_0x30bd87)['getUTCFullYear']()):Bn(_0x30bd87),'start':_0x30bd87,'end':_0x433f56}),_0x30bd87=_0x433f56;}return _0x22105b;}function Dn(_0x106ff2){const _0x58f0a9=_0x16d78d;switch(_0x106ff2){case _0x58f0a9(0xef):return 0xac;case _0x58f0a9(0x203):return 0xac;case'year':return 0x88;default:return 0x56;}}function On(_0x3c47b2,_0x30db34){const _0x4975e9=_0x16d78d;return _0x3c47b2===_0x4975e9(0x319)?Ln(_0x30db34):_0x3c47b2===_0x4975e9(0x203)?Fn(_0x30db34):K(_0x30db34);}function kn(_0x4c7ec3,_0x4a534d){const _0x5ac915=_0x16d78d;return _0x4c7ec3===_0x5ac915(0x319)?zn(Ln(_0x4a534d),0x1):_0x4c7ec3==='quarter'?q(Fn(_0x4a534d),0x7):q(K(_0x4a534d),0x1);}function An(_0x139fee,_0x17de86,_0x35c265){const _0x5cb958=_0x16d78d;let _0x4f3256=new Date(_0x17de86);return _0x139fee==='quarter'?_0x4f3256[_0x5cb958(0x2c2)]()+'-'+new Date(_0x35c265-G)['getUTCDate']():_0x139fee===_0x5cb958(0x319)?_0x4f3256[_0x5cb958(0x32a)](_0x5cb958(0x267),{'month':_0x5cb958(0x11e),'timeZone':_0x5cb958(0x372)}):String(_0x4f3256[_0x5cb958(0x2c2)]());}function jn(_0x22b4f5,_0x40b4ac){const _0x341170=_0x16d78d;return _0x22b4f5===_0x341170(0x319)?String(new Date(_0x40b4ac)[_0x341170(0x1a1)]()):Bn(_0x40b4ac);}function Mn(_0x3bf985,_0x3e3301,_0x18c365){let _0x4b920b=Cn(_0x18c365),_0xabc28=0x0;for(let _0x5419ea=K(_0x3bf985);_0x5419ea<=K(_0x3e3301);_0x5419ea=q(_0x5419ea,0x1))Pn(_0x5419ea,_0x4b920b)||_0xabc28++;return _0xabc28;}function Nn(_0x47f6fb,_0x369a5b,_0x119145){if(!_0x119145)return!0x1;let _0x2986a0=Cn(_0x119145);for(let _0x3f423b=K(_0x47f6fb);_0x3f423b<_0x369a5b;_0x3f423b=q(_0x3f423b,0x1))if(!Pn(_0x3f423b,_0x2986a0))return!0x1;return!0x0;}function Pn(_0x53d23e,_0xb3d975){const _0x5004fa=_0x16d78d;let _0x29f0b8=K(_0x53d23e),_0xa88dc8=_0xb3d975[_0x5004fa(0x268)][_0x5004fa(0x2db)](_0x38008f=>K(_0x38008f[_0x5004fa(0x21e)])===_0x29f0b8);if(_0xa88dc8)return _0xa88dc8['type']==='off';let _0x1d5193=new Date(_0x29f0b8)[_0x5004fa(0x172)](),_0x52229b=_0x1d5193===0x0?0x7:_0x1d5193;return!_0xb3d975[_0x5004fa(0x22e)]['includes'](_0x52229b);}function K(_0x162779){const _0x40951e=_0x16d78d;let _0x196cfa=new Date(_0x162779);return Date[_0x40951e(0x372)](_0x196cfa['getUTCFullYear'](),_0x196cfa[_0x40951e(0x2f4)](),_0x196cfa['getUTCDate']());}function Fn(_0x2b081e){const _0x36ce30=_0x16d78d;let _0x3de302=K(_0x2b081e),_0x61a7ee=new Date(_0x3de302)[_0x36ce30(0x172)]();return q(_0x3de302,-(_0x61a7ee===0x0?0x6:_0x61a7ee-0x1));}function In(_0x4a723f){const _0x116367=_0x16d78d;let _0x3a0086=new Date(_0x4a723f);return Date[_0x116367(0x372)](_0x3a0086['getUTCFullYear'](),_0x3a0086[_0x116367(0x2f4)](),0x1);}function Ln(_0x4d60a4){const _0x5826b4=_0x16d78d;let _0x255d3d=new Date(_0x4d60a4);return Date[_0x5826b4(0x372)](_0x255d3d['getUTCFullYear'](),0x0,0x1);}function q(_0x361faa,_0x353f7b){return _0x361faa+_0x353f7b*G;}function Rn(_0xb43930,_0x3ac611){const _0x553b94=_0x16d78d;let _0x266b13=new Date(_0xb43930);return Date[_0x553b94(0x372)](_0x266b13[_0x553b94(0x1a1)](),_0x266b13[_0x553b94(0x2f4)]()+_0x3ac611,0x1);}function zn(_0x2eb8de,_0x2370f9){let _0x555e96=new Date(_0x2eb8de);return Date['UTC'](_0x555e96['getUTCFullYear']()+_0x2370f9,0x0,0x1);}function Bn(_0x2e1705){const _0x5d0b27=_0x16d78d;let _0x532498=new Date(_0x2e1705);return _0x532498[_0x5d0b27(0x32a)](_0x5d0b27(0x267),{'month':_0x5d0b27(0x11e),'timeZone':_0x5d0b27(0x372)})+'\x20'+_0x532498['getUTCFullYear']();}function Vn(_0x44d034,_0x1d7778){const _0xd25fec=_0x16d78d;if(_0x44d034==null&&_0x1d7778==null)return 0x0;if(_0x44d034==null)return-0x1;if(_0x1d7778==null)return 0x1;if(typeof _0x44d034==_0xd25fec(0x288)||typeof _0x1d7778==_0xd25fec(0x288))return Number(_0x44d034===!0x0)-Number(_0x1d7778===!0x0);let _0x18d81d=Number(_0x44d034),_0x2b6c91=Number(_0x1d7778),_0x4b5e9a=Number['isFinite'](_0x18d81d),_0x48ee75=Number[_0xd25fec(0xb7)](_0x2b6c91);return _0x4b5e9a&&_0x48ee75?_0x18d81d-_0x2b6c91:_0x4b5e9a?0x1:_0x48ee75?-0x1:String(_0x44d034)[_0xd25fec(0x153)](String(_0x1d7778));}function Hn(_0x2a2af4){const _0x1f4f39=_0x16d78d;if(_0x2a2af4[_0x1f4f39(0x197)]!=='is'&&_0x2a2af4[_0x1f4f39(0x197)]!==_0x1f4f39(0x1cf))return!0x1;let _0x451fa6=_0x2a2af4[_0x1f4f39(0x1f4)];return _0x451fa6==null?!0x0:typeof _0x451fa6==_0x1f4f39(0xc9)?_0x451fa6[_0x1f4f39(0x304)]()==='':Array[_0x1f4f39(0x352)](_0x451fa6)?_0x451fa6[_0x1f4f39(0x1ee)]===0x0:!0x1;}function J(_0x1112ab,_0x3a1ba2){const _0x51b24f=_0x16d78d;var _0x47f313;let _0x228ae0=Array[_0x51b24f(0x352)]((_0x47f313=_0x1112ab[_0x51b24f(0x2ad)])==null?void 0x0:_0x47f313[_0x51b24f(0x225)])?_0x1112ab['config']['options']:[];for(let _0x11da71 of _0x228ae0){var _0x4a6980,_0x17cb21,_0x9022b4,_0x2f24e4;if(_0x11da71==null)continue;if(typeof _0x11da71==_0x51b24f(0xc9)){if(_0x11da71===_0x3a1ba2)return{'id':_0x11da71,'name':_0x11da71};continue;}let _0x511962=_0x11da71,_0xe1c7b4=String((_0x4a6980=(_0x17cb21=_0x511962['id'])==null?_0x511962[_0x51b24f(0x14c)]:_0x17cb21)==null?'':_0x4a6980),_0x3ba283=String((_0x9022b4=(_0x2f24e4=_0x511962[_0x51b24f(0x14c)])==null?_0x511962['id']:_0x2f24e4)==null?_0xe1c7b4:_0x9022b4);if(_0xe1c7b4===_0x3a1ba2||_0x3ba283===_0x3a1ba2)return{'id':_0xe1c7b4,'name':_0x3ba283,'color':_0x511962[_0x51b24f(0xf1)]==null?void 0x0:String(_0x511962[_0x51b24f(0xf1)])};}return null;}const Y={'id':'base.mutation.apply-base-json1','type':_0x567a9a['MUTATION'],'handler'(_0x581dd5,_0x2e9ded){const _0x2c047c=_0x16d78d;let {unitId:_0x355a5c,op:_0x32a7bb}=_0x2e9ded,_0x35672b=_0x581dd5[_0x2c047c(0x36e)](_0x4c4561)[_0x2c047c(0xf6)](_0x355a5c,_0x45db82[_0x2c047c(0x1ed)]);if(!_0x35672b)return!0x1;let _0x6d91c7=_0x35672b[_0x2c047c(0x254)](),_0x550253=new D(),_0x4cd7db=_0x550253[_0x2c047c(0x1cb)](_0x32a7bb),_0x3e9b34=_0x550253[_0x2c047c(0x1e4)](_0x6d91c7,_0x32a7bb);return _0x35672b['setSnapshot'](_0x3e9b34),Un(_0x3e9b34,_0x4cd7db,_0x581dd5[_0x2c047c(0x36e)](W)),!0x0;}};function Un(_0x48fbba,_0x440666,_0x2953f6){const _0x307499=_0x16d78d;let _0x57cbba=new Set();for(let _0x4edb2a of _0x440666){if(_0x4edb2a[_0x307499(0x26e)]!==_0x307499(0x1aa)){_0x2953f6[_0x307499(0x1b5)]();return;}let _0x528911=Wn(_0x48fbba,_0x4edb2a);if(!_0x528911){_0x2953f6[_0x307499(0x1b5)]();return;}let _0x2c6aa8=_0x528911['tableId']+'\x00'+_0x528911[_0x307499(0x36c)]+'\x00'+_0x528911[_0x307499(0x375)];_0x57cbba['has'](_0x2c6aa8)||(_0x57cbba[_0x307499(0xf0)](_0x2c6aa8),_0x2953f6[_0x307499(0x264)](_0x528911[_0x307499(0x21c)],_0x528911[_0x307499(0x36c)],_0x528911['fieldId']));}}function Wn(_0x3f4d5b,_0x390818){const _0x19197e=_0x16d78d;var _0x27024c,_0x1ad879;if(!_0x390818[_0x19197e(0x21c)])return null;if(_0x390818[_0x19197e(0x36c)]&&_0x390818[_0x19197e(0x375)])return{'tableId':_0x390818[_0x19197e(0x21c)],'recordId':_0x390818['recordId'],'fieldId':_0x390818[_0x19197e(0x375)]};if(_0x390818['row']==null||_0x390818[_0x19197e(0x2b1)]==null)return null;let _0x33572c=_0x3f4d5b[_0x19197e(0x1f7)][_0x390818[_0x19197e(0x21c)]],_0x5711c7=_0x33572c==null||(_0x27024c=_0x33572c[_0x19197e(0xd7)])==null?void 0x0:_0x27024c[_0x390818['row']],_0x5a3316=_0x33572c==null||(_0x1ad879=_0x33572c[_0x19197e(0x15b)])==null?void 0x0:_0x1ad879[_0x390818[_0x19197e(0x2b1)]];return!_0x5711c7||!_0x5a3316?null:{'tableId':_0x390818[_0x19197e(0x21c)],'recordId':_0x5711c7,'fieldId':_0x5a3316};}function X(_0x214f39,_0x43f3c5,_0x164238){const _0x4fed05=_0x16d78d;let _0x27b404=_0x214f39[_0x4fed05(0x254)]()[_0x4fed05(0x1f7)][_0x43f3c5];if(!_0x27b404)return!0x1;let {viewIds:_0x9e284a,fieldIds:_0x401b84,recordIds:_0x237631}=_0x164238||{};if(_0x9e284a){for(let _0x3ae429 of _0x9e284a)if(!_0x27b404[_0x4fed05(0x2b6)][_0x3ae429])return!0x1;}if(_0x401b84){for(let _0x38f65b of _0x401b84)if(!_0x27b404['fields'][_0x38f65b])return!0x1;}if(_0x237631){for(let _0xe08ce9 of _0x237631)if(!_0x27b404[_0x4fed05(0x26d)][_0xe08ce9])return!0x1;}return!0x0;}const Gn={'id':'base.command.batch-create-base-records','type':_0x567a9a[_0x16d78d(0x328)],'handler'(_0x5538fd,_0x26080c){const _0xcf5be5=_0x16d78d;if(!_0x26080c)return!0x1;let _0x117edb=_0x5538fd[_0xcf5be5(0x36e)](_0x4c4561),{unitId:_0xc254bb,tableId:_0xfea279,records:_0x31e6cb}=_0x26080c,_0x4fde9d=_0x117edb[_0xcf5be5(0xf6)](_0xc254bb,_0x45db82[_0xcf5be5(0x1ed)]),_0x5bff74=_0x31e6cb['map'](_0x5e5216=>_0x5e5216['id']);if(!_0x4fde9d||!X(_0x4fde9d,_0xfea279)||new Set(_0x5bff74)[_0xcf5be5(0x356)]!==_0x5bff74[_0xcf5be5(0x1ee)]||_0x5bff74[_0xcf5be5(0x322)](_0xb18cf9=>_0x4fde9d[_0xcf5be5(0x254)]()[_0xcf5be5(0x1f7)][_0xfea279][_0xcf5be5(0x26d)][_0xb18cf9]))return!0x1;let _0x586bff=_0x5538fd['get'](_0x4bf63b),_0x55f4c5=_0x5538fd[_0xcf5be5(0x36e)](_0x157955),_0x490e95=_0x5538fd[_0xcf5be5(0x36e)](V)[_0xcf5be5(0x24c)](_0x4fde9d,_0xfea279,_0x31e6cb),_0x57974f=new D()[_0xcf5be5(0x2d1)](_0x4fde9d[_0xcf5be5(0x254)](),_0x490e95),_0x48beb6={'unitId':_0xc254bb,'op':_0x490e95},_0x53cb16={'unitId':_0xc254bb,'op':_0x57974f};return _0x586bff[_0xcf5be5(0x30a)](Y['id'],_0x48beb6)?(_0x117edb['focusUnit'](_0xc254bb),_0x55f4c5[_0xcf5be5(0x2f0)]({'unitID':_0xc254bb,'undoMutations':[{'id':Y['id'],'params':_0x53cb16}],'redoMutations':[{'id':Y['id'],'params':_0x48beb6}]}),!0x0):!0x1;}},Kn={'id':'base.command.batch-delete-base-records','type':_0x567a9a[_0x16d78d(0x328)],'handler':(_0x122740,_0x3dbfce)=>{const _0x552725=_0x16d78d;if(!_0x3dbfce)return!0x1;let _0x2b8cfb=_0x122740[_0x552725(0x36e)](_0x4c4561),{unitId:_0x1159ab,tableId:_0x576928,recordIds:_0x49b85d}=_0x3dbfce,_0x20c46f=_0x2b8cfb['getUnit'](_0x1159ab,_0x45db82[_0x552725(0x1ed)]);if(!_0x20c46f||!X(_0x20c46f,_0x576928,{'recordIds':_0x49b85d}))return!0x1;let _0x5c2099=_0x122740[_0x552725(0x36e)](_0x4bf63b),_0x4828b3=_0x122740[_0x552725(0x36e)](_0x157955),_0x2254dd=_0x20c46f[_0x552725(0x254)](),_0x54ee40=new F()[_0x552725(0xc8)](_0x2254dd,_0x576928,_0x49b85d),_0x12baa1=new D()['invertOp'](_0x2254dd,_0x54ee40),_0x5a7a51={'unitId':_0x1159ab,'op':_0x54ee40},_0x151a75={'unitId':_0x1159ab,'op':_0x12baa1};return _0x5c2099[_0x552725(0x30a)](Y['id'],_0x5a7a51)?(_0x2b8cfb[_0x552725(0x13b)](_0x1159ab),_0x4828b3[_0x552725(0x2f0)]({'unitID':_0x1159ab,'undoMutations':[{'id':Y['id'],'params':_0x151a75}],'redoMutations':[{'id':Y['id'],'params':_0x5a7a51}]}),!0x0):!0x1;}},qn={'id':_0x16d78d(0x1f0),'type':_0x567a9a[_0x16d78d(0x328)],'handler':(_0x188359,_0x2ad752)=>{const _0x2630f0=_0x16d78d;if(!_0x2ad752)return!0x1;let _0x327091=_0x188359[_0x2630f0(0x36e)](_0x4c4561),{unitId:_0x1f7cc8,tableId:_0x47cb71,fieldId:_0x50f312,input:_0xd3bb1b}=_0x2ad752,_0x3176be=_0x327091[_0x2630f0(0xf6)](_0x1f7cc8,_0x45db82[_0x2630f0(0x1ed)]);if(!_0x3176be||!X(_0x3176be,_0x47cb71,{'fieldIds':[_0x50f312]}))return!0x1;let _0x15fa12=_0x188359['get'](_0x4bf63b),_0x51cb85=_0x188359['get'](_0x157955),_0x15cd04=_0x3176be['getSnapshot'](),_0x1d9cde=new F()[_0x2630f0(0xd0)](_0x15cd04,_0x47cb71,_0x50f312,_0xd3bb1b),_0x49839c=new D()[_0x2630f0(0x2d1)](_0x15cd04,_0x1d9cde),_0x30587e={'unitId':_0x1f7cc8,'op':_0x1d9cde},_0x46a42c={'unitId':_0x1f7cc8,'op':_0x49839c};return _0x15fa12['syncExecuteCommand'](Y['id'],_0x30587e)?(_0x327091[_0x2630f0(0x13b)](_0x1f7cc8),_0x51cb85[_0x2630f0(0x2f0)]({'unitID':_0x1f7cc8,'undoMutations':[{'id':Y['id'],'params':_0x46a42c}],'redoMutations':[{'id':Y['id'],'params':_0x30587e}]}),!0x0):!0x1;}},Jn={'id':_0x16d78d(0x257),'type':_0x567a9a[_0x16d78d(0x328)],'handler'(_0x47c205,_0x50c45b){const _0x4bc3f7=_0x16d78d;if(!_0x50c45b)return!0x1;let _0x11483a=_0x47c205['get'](_0x4c4561),{unitId:_0x459ef9,tableId:_0x21ca38,field:_0x26ef9f,index:_0x460fd1,viewIndexes:_0x195cae}=_0x50c45b,_0x20defe=_0x11483a[_0x4bc3f7(0xf6)](_0x459ef9,_0x45db82[_0x4bc3f7(0x1ed)]);if(!_0x20defe||!X(_0x20defe,_0x21ca38)||_0x20defe[_0x4bc3f7(0x254)]()[_0x4bc3f7(0x1f7)][_0x21ca38][_0x4bc3f7(0x30b)][_0x26ef9f['id']])return!0x1;let _0x291800=_0x47c205[_0x4bc3f7(0x36e)](_0x4bf63b),_0x3b659f=_0x47c205[_0x4bc3f7(0x36e)](_0x157955),_0x5373f9=_0x47c205[_0x4bc3f7(0x36e)](V)[_0x4bc3f7(0x18f)](_0x20defe,_0x21ca38,_0x26ef9f,_0x460fd1,_0x195cae),_0x2d7a29=new D()['invertOp'](_0x20defe[_0x4bc3f7(0x254)](),_0x5373f9),_0x198490={'unitId':_0x459ef9,'op':_0x5373f9},_0x32a183={'unitId':_0x459ef9,'op':_0x2d7a29};return _0x291800['syncExecuteCommand'](Y['id'],_0x198490)?(_0x11483a[_0x4bc3f7(0x13b)](_0x459ef9),_0x3b659f['pushUndoRedo']({'unitID':_0x459ef9,'undoMutations':[{'id':Y['id'],'params':_0x32a183}],'redoMutations':[{'id':Y['id'],'params':_0x198490}]}),!0x0):!0x1;}},Yn={'id':'base.command.create-base-record','type':_0x567a9a['COMMAND'],'handler'(_0x1da282,_0x10115b){const _0xb4c6e4=_0x16d78d;if(!_0x10115b)return!0x1;let _0x1750e8=_0x1da282['get'](_0x4c4561),{unitId:_0x1cd56b,tableId:_0x236727,record:_0x41e989}=_0x10115b,_0x4a7d9d=_0x1750e8[_0xb4c6e4(0xf6)](_0x1cd56b,_0x45db82[_0xb4c6e4(0x1ed)]);if(!_0x4a7d9d||!X(_0x4a7d9d,_0x236727)||_0x4a7d9d[_0xb4c6e4(0x254)]()[_0xb4c6e4(0x1f7)][_0x236727][_0xb4c6e4(0x26d)][_0x41e989['id']])return!0x1;let _0x410cf7=_0x1da282['get'](_0x4bf63b),_0x17e6f8=_0x1da282['get'](_0x157955),_0x148e43=_0x1da282['get'](V)[_0xb4c6e4(0xbe)](_0x4a7d9d,_0x236727,_0x41e989),_0xcf3dfb=new D()[_0xb4c6e4(0x2d1)](_0x4a7d9d[_0xb4c6e4(0x254)](),_0x148e43),_0x2c6c5b={'unitId':_0x1cd56b,'op':_0x148e43},_0x2f6328={'unitId':_0x1cd56b,'op':_0xcf3dfb};return _0x410cf7[_0xb4c6e4(0x30a)](Y['id'],_0x2c6c5b)?(_0x1750e8[_0xb4c6e4(0x13b)](_0x1cd56b),_0x17e6f8['pushUndoRedo']({'unitID':_0x1cd56b,'undoMutations':[{'id':Y['id'],'params':_0x2f6328}],'redoMutations':[{'id':Y['id'],'params':_0x2c6c5b}]}),!0x0):!0x1;}},Xn={'id':_0x16d78d(0x2e8),'type':_0x567a9a[_0x16d78d(0x328)],'handler':(_0x2503e6,_0x5b5a1e)=>{const _0xd04e28=_0x16d78d;if(!_0x5b5a1e)return!0x1;let _0x339ffe=_0x2503e6['get'](_0x4c4561),{unitId:_0x2193a6,table:_0x1ec0bd,index:_0x104c0f}=_0x5b5a1e,_0x245ed6=_0x339ffe[_0xd04e28(0xf6)](_0x2193a6,_0x45db82[_0xd04e28(0x1ed)]);if(!_0x245ed6||_0x245ed6[_0xd04e28(0x254)]()['tables'][_0x1ec0bd['id']])return!0x1;let _0x349247=_0x2503e6[_0xd04e28(0x36e)](_0x4bf63b),_0x53c68a=_0x2503e6[_0xd04e28(0x36e)](_0x157955),_0x59da9c=_0x245ed6[_0xd04e28(0x254)](),_0x14f6dd={..._0x1ec0bd,'name':_0x245ed6[_0xd04e28(0x214)](_0x1ec0bd[_0xd04e28(0x14c)])},_0x6dfb28=new F()[_0xd04e28(0xf5)](_0x59da9c,_0x14f6dd,_0x104c0f),_0x690fa=new D()[_0xd04e28(0x2d1)](_0x59da9c,_0x6dfb28),_0x922e11={'unitId':_0x2193a6,'op':_0x6dfb28},_0x403674={'unitId':_0x2193a6,'op':_0x690fa};return _0x349247[_0xd04e28(0x30a)](Y['id'],_0x922e11)?(_0x339ffe[_0xd04e28(0x13b)](_0x2193a6),_0x53c68a[_0xd04e28(0x2f0)]({'unitID':_0x2193a6,'undoMutations':[{'id':Y['id'],'params':_0x403674}],'redoMutations':[{'id':Y['id'],'params':_0x922e11}]}),!0x0):!0x1;}};function Zn(_0x533da6,_0x341cae,_0x298392=[]){const _0x1d9259=_0x16d78d;let _0xee8774=new Set([...Object['values'](_0x533da6[_0x1d9259(0x30b)])['filter'](_0x5e7f52=>_0x5e7f52)[_0x1d9259(0x187)](_0x2b6aa7=>_0x2b6aa7[_0x1d9259(0x14c)]),..._0x298392['map'](_0x5dd14f=>_0x5dd14f['name'])]);if(!_0xee8774['has'](_0x341cae))return _0x341cae;let _0x219064=0x2;for(;_0xee8774[_0x1d9259(0x277)](_0x341cae+'\x20'+_0x219064);)_0x219064++;return _0x341cae+'\x20'+_0x219064;}function Qn(_0x4355fa,_0xfdfac9){const _0x5ed344=_0x16d78d;if(!_0x4355fa||!_0xfdfac9[_0x5ed344(0x1ee)])return;let _0x1ff1c1=[..._0x4355fa];return _0xfdfac9[_0x5ed344(0x165)](_0x442dab=>{_0x1ff1c1['includes'](_0x442dab)||_0x1ff1c1['push'](_0x442dab);}),_0x1ff1c1;}const $n={'options':[{'id':_0x16d78d(0x333),'name':_0x16d78d(0x219),'color':_0x16d78d(0x1ef)},{'id':'doing','name':_0x16d78d(0x192),'color':'#FDE68A'},{'id':_0x16d78d(0x2be),'name':_0x16d78d(0x1e9),'color':'#BBF7D0'}]},er={'locale':_0x16d78d(0x267),'pattern':'yyyy/mm/dd','includeTime':!0x1,'hourCycle':_0x16d78d(0x19d),'defaultMode':'none'};function tr(_0x4a9f8c,_0x12dddd,_0xf98db1,_0x3c89e7){const _0x2dc513=_0x16d78d;var _0x4613bc;let _0x287878=new F(),_0x5e8520=_0x4a9f8c[_0x2dc513(0x1f7)][_0x12dddd];if(_0x5e8520&&_0xf98db1[_0x2dc513(0x14a)]===_0x2dc513(0x31e)){var _0x49af5f;let _0xfaa6e3=rr(_0x5e8520,_0xf98db1),_0x3aa5f6=_0xfaa6e3[_0x2dc513(0x26f)]?{..._0xf98db1,'config':_0xfaa6e3[_0x2dc513(0x2ad)],'fieldOrder':(_0x49af5f=_0xfaa6e3[_0x2dc513(0x301)])==null?_0xf98db1[_0x2dc513(0x301)]:_0x49af5f}:_0xf98db1;return P([..._0xfaa6e3[_0x2dc513(0x30b)][_0x2dc513(0x187)](_0x8c7451=>_0x287878[_0x2dc513(0x29c)](_0x4a9f8c,_0x12dddd,{'field':_0x8c7451})),_0x287878[_0x2dc513(0x1c4)](_0x4a9f8c,_0x12dddd,_0x3aa5f6,_0x3c89e7)]);}if(!_0x5e8520||_0xf98db1[_0x2dc513(0x14a)]!==_0x2dc513(0xd6)&&_0xf98db1[_0x2dc513(0x14a)]!=='gantt')return _0x287878[_0x2dc513(0x1c4)](_0x4a9f8c,_0x12dddd,_0xf98db1,_0x3c89e7);let _0xb2d5b9=nr(_0x5e8520,_0xf98db1),_0x4945ac=_0xb2d5b9[_0x2dc513(0x26f)]?{..._0xf98db1,'config':_0xb2d5b9[_0x2dc513(0x2ad)],'fieldOrder':(_0x4613bc=_0xb2d5b9['fieldOrder'])==null?_0xf98db1[_0x2dc513(0x301)]:_0x4613bc}:_0xf98db1;return _0xf98db1[_0x2dc513(0x14a)]===_0x2dc513(0x184)&&or(_0xf98db1)&&(_0x4945ac=sr(_0x5e8520,_0x4945ac,_0xb2d5b9[_0x2dc513(0x30b)])),P([..._0xb2d5b9[_0x2dc513(0x30b)][_0x2dc513(0x187)](_0x7fea5=>_0x287878['createField'](_0x4a9f8c,_0x12dddd,{'field':_0x7fea5})),_0x287878[_0x2dc513(0x1c4)](_0x4a9f8c,_0x12dddd,_0x4945ac,_0x3c89e7)]);}function nr(_0x4447f3,_0x27ec9e,_0x4ffd78=!0x1){const _0x50d0f9=_0x16d78d;var _0x40d8bc,_0x2c6ec7,_0x2fc922,_0x3613c5;let _0x150d1e=_0x4447f3[_0x50d0f9(0x301)]['filter'](_0x512d1f=>lr(_0x4447f3,_0x512d1f)),_0x5e99ae=[],_0x35fb15={...(_0x40d8bc=_0x27ec9e[_0x50d0f9(0x2ad)])==null?{}:_0x40d8bc},_0x284e92=typeof _0x35fb15[_0x50d0f9(0x2df)]==_0x50d0f9(0xc9)&&lr(_0x4447f3,_0x35fb15[_0x50d0f9(0x2df)])?_0x35fb15['startDateFieldId']:_0x150d1e[0x0],_0x12766b=typeof _0x35fb15[_0x50d0f9(0x2e0)]==_0x50d0f9(0xc9)&&lr(_0x4447f3,_0x35fb15[_0x50d0f9(0x2e0)])&&_0x35fb15[_0x50d0f9(0x2e0)]!==_0x284e92?_0x35fb15['endDateFieldId']:_0x150d1e[_0x50d0f9(0x2db)](_0x19fa73=>_0x19fa73!==_0x284e92);if(!_0x284e92){let _0x225b6c=ur(_0x4447f3,_0x5e99ae,_0x27ec9e[_0x50d0f9(0x14a)]===_0x50d0f9(0x184)?_0x50d0f9(0x243):_0x50d0f9(0x299));_0x5e99ae[_0x50d0f9(0xcd)](_0x225b6c),_0x284e92=_0x225b6c['id'];}if((_0x27ec9e[_0x50d0f9(0x14a)]===_0x50d0f9(0x184)||_0x4ffd78)&&!_0x12766b){let _0x1942a1=ur(_0x4447f3,_0x5e99ae,'End\x20date');_0x5e99ae[_0x50d0f9(0xcd)](_0x1942a1),_0x12766b=_0x1942a1['id'];}if(_0x27ec9e['type']===_0x50d0f9(0xd6)&&!_0x12766b&&delete _0x35fb15[_0x50d0f9(0x2e0)],_0x35fb15[_0x50d0f9(0x2df)]=_0x284e92,_0x27ec9e[_0x50d0f9(0x14a)]===_0x50d0f9(0xd6)&&_0x12766b&&(_0x35fb15[_0x50d0f9(0x2e0)]=_0x12766b),_0x27ec9e['type']===_0x50d0f9(0x184)){var _0x2b54cb;_0x35fb15[_0x50d0f9(0x2e0)]=(_0x2b54cb=_0x12766b)==null?_0x284e92:_0x2b54cb;}let _0x212463=Qn(_0x27ec9e[_0x50d0f9(0x301)],_0x5e99ae['map'](_0x52db18=>_0x52db18['id']));return{'changed':_0x5e99ae['length']>0x0||_0x35fb15[_0x50d0f9(0x2df)]!==((_0x2c6ec7=_0x27ec9e[_0x50d0f9(0x2ad)])==null?void 0x0:_0x2c6ec7[_0x50d0f9(0x2df)])||_0x35fb15[_0x50d0f9(0x2e0)]!==((_0x2fc922=_0x27ec9e[_0x50d0f9(0x2ad)])==null?void 0x0:_0x2fc922['endDateFieldId'])||!!(_0x212463&&!_0xa49e00[_0x50d0f9(0x131)](_0x212463,(_0x3613c5=_0x27ec9e['fieldOrder'])==null?[]:_0x3613c5)),'fields':_0x5e99ae,'config':_0x35fb15,'fieldOrder':_0x212463};}function rr(_0x12088e,_0x31d2c6){const _0xdd34dc=_0x16d78d;var _0x54b1fd,_0x480b20,_0x4491b9;let _0x1ed4e9=[],_0x3ff448={...(_0x54b1fd=_0x31d2c6[_0xdd34dc(0x2ad)])==null?{}:_0x54b1fd},_0x57d847=typeof _0x3ff448[_0xdd34dc(0x2a3)]==_0xdd34dc(0xc9)&&ir(_0x12088e,_0x3ff448['groupFieldId'])?_0x3ff448[_0xdd34dc(0x2a3)]:_0x12088e[_0xdd34dc(0x301)]['find'](_0x3a15d2=>ir(_0x12088e,_0x3a15d2));if(!_0x57d847){let _0x470305=ar(_0x12088e,_0x1ed4e9);_0x1ed4e9[_0xdd34dc(0xcd)](_0x470305),_0x57d847=_0x470305['id'];}_0x3ff448[_0xdd34dc(0x2a3)]=_0x57d847;let _0xdb748f=Qn(_0x31d2c6[_0xdd34dc(0x301)],_0x1ed4e9['map'](_0x470567=>_0x470567['id']));return{'changed':_0x1ed4e9[_0xdd34dc(0x1ee)]>0x0||_0x3ff448['groupFieldId']!==((_0x480b20=_0x31d2c6[_0xdd34dc(0x2ad)])==null?void 0x0:_0x480b20[_0xdd34dc(0x2a3)])||!!(_0xdb748f&&!_0xa49e00[_0xdd34dc(0x131)](_0xdb748f,(_0x4491b9=_0x31d2c6['fieldOrder'])==null?[]:_0x4491b9)),'fields':_0x1ed4e9,'config':_0x3ff448,'fieldOrder':_0xdb748f};}function ir(_0x59d8f9,_0x29e050){const _0x23cee6=_0x16d78d;let _0x2f75b1=_0x29e050?_0x59d8f9['fields'][_0x29e050]:null;return _0x2f75b1?[_0x3d85e5[_0x23cee6(0xe8)],_0x3d85e5['MultiSelect'],_0x3d85e5['Rating'],_0x3d85e5['Person'],_0x3d85e5[_0x23cee6(0xe6)],_0x3d85e5[_0x23cee6(0x185)]][_0x23cee6(0x1d9)](_0x2f75b1[_0x23cee6(0x14a)]):!0x1;}function ar(_0x3e9853,_0x2cfc4c){const _0x5db60f=_0x16d78d;return{'id':_0x5db60f(0x273)+_0x4fbb25(0x8),'name':Zn(_0x3e9853,_0x5db60f(0x339),_0x2cfc4c),'type':_0x3d85e5[_0x5db60f(0xe8)],'config':_0xa49e00['deepClone']($n)};}function or(_0xea2aed){const _0x22b12f=_0x16d78d;var _0x591cd8,_0x29330d;return Object[_0x22b12f(0x33a)]((_0x591cd8=_0xea2aed[_0x22b12f(0x2ad)])==null?{}:_0x591cd8)[_0x22b12f(0x1ee)]===0x0&&Object[_0x22b12f(0x33a)]((_0x29330d=_0xea2aed[_0x22b12f(0x35b)])==null?{}:_0x29330d)[_0x22b12f(0x1ee)]===0x0;}function sr(_0x2a9744,_0x48708e,_0x464ff7){const _0x1ce9d8=_0x16d78d;var _0x2896b9;let _0x4b65cb={...(_0x2896b9=_0x48708e['config'])==null?{}:_0x2896b9},_0x3bdebe=_0x464ff7['map'](_0x53f004=>_0x53f004['id']),_0x309f6b=[..._0x2a9744['fieldOrder'],..._0x3bdebe],_0x41241e=typeof _0x4b65cb['titleFieldId']=='string'&&cr(_0x2a9744,_0x464ff7,_0x4b65cb[_0x1ce9d8(0x1bb)])?_0x4b65cb[_0x1ce9d8(0x1bb)]:_0x2a9744[_0x1ce9d8(0xaf)],_0x1cf6a4=typeof _0x4b65cb[_0x1ce9d8(0x2df)]=='string'?_0x4b65cb['startDateFieldId']:'',_0x3b7438=typeof _0x4b65cb[_0x1ce9d8(0x2e0)]==_0x1ce9d8(0xc9)?_0x4b65cb['endDateFieldId']:_0x1cf6a4,_0x3fd497=new Set([_0x41241e,_0x1cf6a4,_0x3b7438]['filter'](_0x1c7f7f=>_0x1c7f7f&&cr(_0x2a9744,_0x464ff7,_0x1c7f7f))),_0x383339=Object[_0x1ce9d8(0x22a)](_0x309f6b[_0x1ce9d8(0x1cc)](_0x5a7552=>_0x3fd497[_0x1ce9d8(0x277)](_0x5a7552)||!cr(_0x2a9744,_0x464ff7,_0x5a7552)?[]:[[_0x5a7552,{'hidden':!0x0}]]));return{..._0x48708e,'config':{..._0x4b65cb,'titleFieldId':_0x41241e},'fieldSettings':_0x383339};}function cr(_0x3a9873,_0xb0971c,_0x54b164){const _0x3503ac=_0x16d78d;var _0xe2c3de;return!!((_0xe2c3de=_0x3a9873[_0x3503ac(0x30b)][_0x54b164])==null?_0xb0971c[_0x3503ac(0x2db)](_0x3c0123=>_0x3c0123['id']===_0x54b164):_0xe2c3de)&&!0x0;}function lr(_0x461ba2,_0x5cc9e5){const _0x170484=_0x16d78d;let _0xf2f5df=_0x5cc9e5?_0x461ba2[_0x170484(0x30b)][_0x5cc9e5]:null;return!!_0xf2f5df&&_0xf2f5df['type']===_0x3d85e5[_0x170484(0x299)]&&_0xf2f5df[_0x170484(0xe4)]!==!0x0&&_0xf2f5df['system']!==!0x0;}function ur(_0x3b7029,_0x364e65,_0x5b91ac){const _0x413757=_0x16d78d;let _0x494038=new Set([...Object[_0x413757(0x33a)](_0x3b7029[_0x413757(0x30b)]),..._0x364e65[_0x413757(0x187)](_0x3b35ae=>_0x3b35ae['id'])]),_0x3d75a5='fld-'+_0x4fbb25(0x8);for(;_0x494038[_0x413757(0x277)](_0x3d75a5);)_0x3d75a5=_0x413757(0x273)+_0x4fbb25(0x8);return{'id':_0x3d75a5,'name':Zn(_0x3b7029,_0x5b91ac,_0x364e65),'type':_0x3d85e5[_0x413757(0x299)],'config':{...er}};}const dr={'id':'base.command.create-base-view','type':_0x567a9a[_0x16d78d(0x328)],'handler':(_0x559fb8,_0x2ec2a)=>{const _0x4a0913=_0x16d78d;if(!_0x2ec2a)return!0x1;let _0x467923=_0x559fb8['get'](_0x4c4561),{unitId:_0x3ef5b0,tableId:_0x51e7d4,view:_0x3ea90c,index:_0x10bb87}=_0x2ec2a,_0x49b0b2=_0x467923['getUnit'](_0x3ef5b0,_0x45db82['UNIVER_BASE']);if(!_0x49b0b2||!X(_0x49b0b2,_0x51e7d4)||_0x49b0b2[_0x4a0913(0x254)]()[_0x4a0913(0x1f7)][_0x51e7d4][_0x4a0913(0x2b6)][_0x3ea90c['id']])return!0x1;let _0x1ad7f6=_0x559fb8[_0x4a0913(0x36e)](_0x4bf63b),_0x27cf2c=_0x559fb8[_0x4a0913(0x36e)](_0x157955),_0x5649ba=_0x49b0b2[_0x4a0913(0x254)](),_0xf1c6a3=tr(_0x5649ba,_0x51e7d4,_0x3ea90c,_0x10bb87),_0x15434f=new D()[_0x4a0913(0x2d1)](_0x5649ba,_0xf1c6a3),_0x2caa38={'unitId':_0x3ef5b0,'op':_0xf1c6a3},_0x5cee37={'unitId':_0x3ef5b0,'op':_0x15434f};return _0x1ad7f6['syncExecuteCommand'](Y['id'],_0x2caa38)?(_0x467923[_0x4a0913(0x13b)](_0x3ef5b0),_0x27cf2c[_0x4a0913(0x2f0)]({'unitID':_0x3ef5b0,'undoMutations':[{'id':Y['id'],'params':_0x5cee37}],'redoMutations':[{'id':Y['id'],'params':_0x2caa38}]}),!0x0):!0x1;}},fr={'id':_0x16d78d(0x23b),'type':_0x567a9a[_0x16d78d(0x328)],'handler'(_0x4bd634,_0x2a7d4d){const _0x390b51=_0x16d78d;if(!_0x2a7d4d)return!0x1;let _0x8602cf=_0x4bd634[_0x390b51(0x36e)](_0x4c4561),{unitId:_0x20d6dc,tableId:_0x2c213d,fieldId:_0x2f7472}=_0x2a7d4d,_0x13dd62=_0x8602cf['getUnit'](_0x20d6dc,_0x45db82['UNIVER_BASE']);if(!_0x13dd62)return!0x1;let _0x15430e=_0x13dd62[_0x390b51(0x254)](),_0x2f519a=_0x15430e[_0x390b51(0x1f7)][_0x2c213d];if(!X(_0x13dd62,_0x2c213d,{'fieldIds':[_0x2f7472]})||_0x2f519a[_0x390b51(0xaf)]===_0x2f7472)return!0x1;let _0xbd16b4=_0x4bd634[_0x390b51(0x36e)](_0x4bf63b),_0x6f0a40=_0x4bd634[_0x390b51(0x36e)](_0x157955),_0x4eea3d=new F()['deleteField'](_0x15430e,_0x2c213d,_0x2f7472),_0x4cfe05=new D()[_0x390b51(0x2d1)](_0x15430e,_0x4eea3d),_0x5843d2={'unitId':_0x20d6dc,'op':_0x4eea3d},_0x31bd14={'unitId':_0x20d6dc,'op':_0x4cfe05};return _0xbd16b4[_0x390b51(0x30a)](Y['id'],_0x5843d2)?(_0x8602cf[_0x390b51(0x13b)](_0x20d6dc),_0x6f0a40['pushUndoRedo']({'unitID':_0x20d6dc,'undoMutations':[{'id':Y['id'],'params':_0x31bd14}],'redoMutations':[{'id':Y['id'],'params':_0x5843d2}]}),!0x0):!0x1;}},pr={'id':_0x16d78d(0x2b0),'type':_0x567a9a[_0x16d78d(0x328)],'handler':(_0x5e9afd,_0x13a5d0)=>{const _0x3125e0=_0x16d78d;if(!_0x13a5d0)return!0x1;let _0x561bc1=_0x5e9afd[_0x3125e0(0x36e)](_0x4c4561),{unitId:_0x698734,tableId:_0x490eae,recordId:_0x1aafba}=_0x13a5d0,_0x4d46d=_0x561bc1[_0x3125e0(0xf6)](_0x698734,_0x45db82['UNIVER_BASE']);if(!_0x4d46d||!X(_0x4d46d,_0x490eae,{'recordIds':[_0x1aafba]}))return!0x1;let _0x1cfe3d=_0x5e9afd[_0x3125e0(0x36e)](_0x4bf63b),_0x3c49ec=_0x5e9afd[_0x3125e0(0x36e)](_0x157955),_0x3dc716=_0x4d46d[_0x3125e0(0x254)](),_0x1a993e=new F()['deleteRecord'](_0x3dc716,_0x490eae,_0x1aafba),_0x4139c9=new D()[_0x3125e0(0x2d1)](_0x3dc716,_0x1a993e),_0x4fc37d={'unitId':_0x698734,'op':_0x1a993e},_0x389f38={'unitId':_0x698734,'op':_0x4139c9};return _0x1cfe3d[_0x3125e0(0x30a)](Y['id'],_0x4fc37d)?(_0x561bc1['focusUnit'](_0x698734),_0x3c49ec[_0x3125e0(0x2f0)]({'unitID':_0x698734,'undoMutations':[{'id':Y['id'],'params':_0x389f38}],'redoMutations':[{'id':Y['id'],'params':_0x4fc37d}]}),!0x0):!0x1;}},mr={'id':_0x16d78d(0x196),'type':_0x567a9a[_0x16d78d(0x328)],'handler':(_0x2bdcf7,_0x4bdb05)=>{const _0x12375f=_0x16d78d;if(!_0x4bdb05)return!0x1;let _0x36b96d=_0x2bdcf7[_0x12375f(0x36e)](_0x4c4561),{unitId:_0x3a38e8,tableId:_0x2a481a}=_0x4bdb05,_0x410291=_0x36b96d[_0x12375f(0xf6)](_0x3a38e8,_0x45db82[_0x12375f(0x1ed)]);if(!_0x410291||!X(_0x410291,_0x2a481a))return!0x1;let _0x30874c=_0x2bdcf7[_0x12375f(0x36e)](_0x4bf63b),_0x49d543=_0x2bdcf7[_0x12375f(0x36e)](_0x157955),_0x3ff881=_0x410291[_0x12375f(0x254)](),_0x57476f=new F()[_0x12375f(0x21f)](_0x3ff881,_0x2a481a),_0x159596=new D()[_0x12375f(0x2d1)](_0x3ff881,_0x57476f),_0x25f88f={'unitId':_0x3a38e8,'op':_0x57476f},_0x12d163={'unitId':_0x3a38e8,'op':_0x159596};return _0x30874c[_0x12375f(0x30a)](Y['id'],_0x25f88f)?(_0x36b96d['focusUnit'](_0x3a38e8),_0x49d543[_0x12375f(0x2f0)]({'unitID':_0x3a38e8,'undoMutations':[{'id':Y['id'],'params':_0x12d163}],'redoMutations':[{'id':Y['id'],'params':_0x25f88f}]}),!0x0):!0x1;}},hr={'id':_0x16d78d(0x198),'type':_0x567a9a[_0x16d78d(0x328)],'handler':(_0xb51bae,_0x353dd7)=>{const _0x76e897=_0x16d78d;if(!_0x353dd7)return!0x1;let _0x360352=_0xb51bae[_0x76e897(0x36e)](_0x4c4561),{unitId:_0x5d0235,tableId:_0x46bfcf,viewId:_0x4dc702}=_0x353dd7,_0x1cf040=_0x360352[_0x76e897(0xf6)](_0x5d0235,_0x45db82[_0x76e897(0x1ed)]);if(!_0x1cf040||!X(_0x1cf040,_0x46bfcf,{'viewIds':[_0x4dc702]}))return!0x1;let _0x2af0e2=_0xb51bae['get'](_0x4bf63b),_0x338d50=_0xb51bae[_0x76e897(0x36e)](_0x157955),_0x4850c4=_0x1cf040[_0x76e897(0x254)](),_0x4e37ca=new F()[_0x76e897(0x2d3)](_0x4850c4,_0x46bfcf,_0x4dc702),_0x586862=new D()[_0x76e897(0x2d1)](_0x4850c4,_0x4e37ca),_0x3d3a68={'unitId':_0x5d0235,'op':_0x4e37ca},_0x1544a0={'unitId':_0x5d0235,'op':_0x586862};return _0x2af0e2[_0x76e897(0x30a)](Y['id'],_0x3d3a68)?(_0x360352[_0x76e897(0x13b)](_0x5d0235),_0x338d50[_0x76e897(0x2f0)]({'unitID':_0x5d0235,'undoMutations':[{'id':Y['id'],'params':_0x1544a0}],'redoMutations':[{'id':Y['id'],'params':_0x3d3a68}]}),!0x0):!0x1;}},gr={'id':_0x16d78d(0x1d3),'type':_0x567a9a['COMMAND'],'handler':(_0x43462f,_0x21c0d1)=>{const _0x1f96fc=_0x16d78d;if(!_0x21c0d1)return!0x1;let _0xb207db=_0x43462f['get'](_0x4c4561),{unitId:_0x4041db,tableId:_0x46fd30,sourceFieldId:_0x460334,field:_0x246bf8,index:_0x20f186,viewIndexes:_0x37a454}=_0x21c0d1,_0x48bd9f=_0xb207db[_0x1f96fc(0xf6)](_0x4041db,_0x45db82[_0x1f96fc(0x1ed)]);if(!_0x48bd9f||!X(_0x48bd9f,_0x46fd30,{'fieldIds':[_0x460334]})||_0x48bd9f['getSnapshot']()[_0x1f96fc(0x1f7)][_0x46fd30][_0x1f96fc(0x30b)][_0x246bf8['id']])return!0x1;let _0x196ab2=_0x43462f[_0x1f96fc(0x36e)](_0x4bf63b),_0x1bccbd=_0x43462f[_0x1f96fc(0x36e)](_0x157955),_0x33048f=_0x48bd9f[_0x1f96fc(0x254)](),_0x209bc8=new F()['duplicateField'](_0x33048f,_0x46fd30,_0x460334,{'field':_0x246bf8,'index':_0x20f186,'viewIndexes':_0x37a454}),_0xb62894=new D()['invertOp'](_0x33048f,_0x209bc8),_0x3fd02c={'unitId':_0x4041db,'op':_0x209bc8},_0x27a832={'unitId':_0x4041db,'op':_0xb62894};return _0x196ab2[_0x1f96fc(0x30a)](Y['id'],_0x3fd02c)?(_0xb207db[_0x1f96fc(0x13b)](_0x4041db),_0x1bccbd[_0x1f96fc(0x2f0)]({'unitID':_0x4041db,'undoMutations':[{'id':Y['id'],'params':_0x27a832}],'redoMutations':[{'id':Y['id'],'params':_0x3fd02c}]}),!0x0):!0x1;}},_r={'id':'base.command.duplicate-base-record','type':_0x567a9a[_0x16d78d(0x328)],'handler':(_0x5dad0e,_0x391365)=>{const _0x5c52bd=_0x16d78d;if(!_0x391365)return!0x1;let _0x3aeb04=_0x5dad0e[_0x5c52bd(0x36e)](_0x4c4561),{unitId:_0x42b33e,tableId:_0xb62823,sourceRecordId:_0x550289,record:_0x381f59}=_0x391365,_0x25c264=_0x3aeb04[_0x5c52bd(0xf6)](_0x42b33e,_0x45db82['UNIVER_BASE']);if(!_0x25c264||!X(_0x25c264,_0xb62823,{'recordIds':[_0x550289]})||_0x25c264[_0x5c52bd(0x254)]()[_0x5c52bd(0x1f7)][_0xb62823][_0x5c52bd(0x26d)][_0x381f59['id']])return!0x1;let _0xf9f9c3=_0x5dad0e[_0x5c52bd(0x36e)](_0x4bf63b),_0x1bba23=_0x5dad0e[_0x5c52bd(0x36e)](_0x157955),_0x4fae17=_0x25c264[_0x5c52bd(0x254)](),_0x1085d6=new F()[_0x5c52bd(0x2c0)](_0x4fae17,_0xb62823,_0x550289,_0x381f59),_0x539da5=new D()[_0x5c52bd(0x2d1)](_0x4fae17,_0x1085d6),_0xb56223={'unitId':_0x42b33e,'op':_0x1085d6},_0x14775b={'unitId':_0x42b33e,'op':_0x539da5};return _0xf9f9c3[_0x5c52bd(0x30a)](Y['id'],_0xb56223)?(_0x3aeb04[_0x5c52bd(0x13b)](_0x42b33e),_0x1bba23[_0x5c52bd(0x2f0)]({'unitID':_0x42b33e,'undoMutations':[{'id':Y['id'],'params':_0x14775b}],'redoMutations':[{'id':Y['id'],'params':_0xb56223}]}),!0x0):!0x1;}},vr={'id':'base.command.ensure-base-temporal-view-date-fields','type':_0x567a9a[_0x16d78d(0x328)],'handler'(_0x670ae0,_0x4af04c){const _0x177742=_0x16d78d;if(!_0x4af04c)return!0x1;let _0x273e92=_0x670ae0[_0x177742(0x36e)](_0x4c4561),{unitId:_0x27f2e8,tableId:_0xed197e,viewId:_0xb3add5,ensureEndDateField:_0x341d6a}=_0x4af04c,_0x10ae72=_0x273e92[_0x177742(0xf6)](_0x27f2e8,_0x45db82[_0x177742(0x1ed)]);if(!_0x10ae72||!X(_0x10ae72,_0xed197e,{'viewIds':[_0xb3add5]}))return!0x1;let _0x1ed6b8=_0x10ae72['getSnapshot'](),_0x59bc1e=_0x1ed6b8['tables'][_0xed197e],_0x2b32f9=_0x59bc1e==null?void 0x0:_0x59bc1e[_0x177742(0x2b6)][_0xb3add5];if(!_0x59bc1e||!_0x2b32f9||_0x2b32f9[_0x177742(0x14a)]!==_0x177742(0xd6)&&_0x2b32f9[_0x177742(0x14a)]!=='gantt')return!0x1;let _0x583c87=nr(_0x59bc1e,_0x2b32f9,_0x341d6a===!0x0);if(!_0x583c87['changed'])return!0x1;let _0x5e0f9=_0x670ae0[_0x177742(0x36e)](_0x4bf63b),_0x10dcce=_0x670ae0[_0x177742(0x36e)](_0x157955),_0x53f791=new F(),_0x239c3f=[..._0x583c87[_0x177742(0x30b)][_0x177742(0x187)](_0x320f42=>_0x53f791[_0x177742(0x29c)](_0x1ed6b8,_0x4af04c[_0x177742(0x21c)],{'field':_0x320f42})),yr([...br(_0x4af04c[_0x177742(0x21c)],_0x4af04c[_0x177742(0x31c)]),_0x177742(0x2ad)],_0x2b32f9[_0x177742(0x2ad)],_0x583c87[_0x177742(0x2ad)])];_0x583c87[_0x177742(0x301)]&&_0x239c3f[_0x177742(0xcd)](yr([...br(_0x4af04c['tableId'],_0x4af04c[_0x177742(0x31c)]),_0x177742(0x301)],_0x2b32f9[_0x177742(0x301)],_0x583c87[_0x177742(0x301)]));let _0x1da095=P(_0x239c3f),_0xff7210=new D()[_0x177742(0x2d1)](_0x1ed6b8,_0x1da095),_0x289080={'unitId':_0x27f2e8,'op':_0x1da095},_0x43b01e={'unitId':_0x27f2e8,'op':_0xff7210};return _0x5e0f9['syncExecuteCommand'](Y['id'],_0x289080)?(_0x273e92[_0x177742(0x13b)](_0x27f2e8),_0x10dcce[_0x177742(0x2f0)]({'unitID':_0x27f2e8,'undoMutations':[{'id':Y['id'],'params':_0x43b01e}],'redoMutations':[{'id':Y['id'],'params':_0x289080}]}),!0x0):!0x1;}};function yr(_0x2c28d8,_0x3f6975,_0x429236){const _0x11a6b3=_0x16d78d;return _0x3f6975===void 0x0?_0x579b08[_0x11a6b3(0x2ac)](_0x2c28d8,_0x429236):_0x579b08[_0x11a6b3(0x362)](_0x2c28d8,_0x3f6975,_0x429236);}function br(_0x414e6a,_0x3a135a){const _0x15f5ac=_0x16d78d;return[_0x15f5ac(0x1f7),_0x414e6a,_0x15f5ac(0x2b6),_0x3a135a];}const xr={'id':_0x16d78d(0x105),'type':_0x567a9a['COMMAND'],'handler':(_0x3371fa,_0x4673f9)=>{const _0xe0b5a3=_0x16d78d;var _0x4d2bac;if(!_0x4673f9)return!0x1;let _0x40e45f=_0x3371fa[_0xe0b5a3(0x36e)](_0x4c4561),{unitId:_0x578c1d,tableId:_0x3ac0dc,fieldId:_0x33210d,target:_0x8f76a5}=_0x4673f9,_0x5a6bec=_0x40e45f[_0xe0b5a3(0xf6)](_0x578c1d,_0x45db82['UNIVER_BASE']),_0x2129e9=(_0x4d2bac=_0x8f76a5[_0xe0b5a3(0xf4)])==null?_0x8f76a5['afterFieldId']:_0x4d2bac;if(!_0x5a6bec||!!_0x8f76a5[_0xe0b5a3(0xf4)]==!!_0x8f76a5[_0xe0b5a3(0x13a)]||!_0x2129e9||_0x2129e9===_0x33210d||!X(_0x5a6bec,_0x3ac0dc,{'fieldIds':[_0x33210d,_0x2129e9]}))return!0x1;let _0x2d8262=_0x3371fa[_0xe0b5a3(0x36e)](_0x4bf63b),_0x554ad8=_0x3371fa[_0xe0b5a3(0x36e)](_0x157955),_0x270df9=_0x5a6bec['getSnapshot'](),_0x2d3a3f=new F()['moveField'](_0x270df9,_0x3ac0dc,_0x33210d,_0x8f76a5),_0x17a701=new D()[_0xe0b5a3(0x2d1)](_0x270df9,_0x2d3a3f),_0x9aecd7={'unitId':_0x578c1d,'op':_0x2d3a3f},_0xd58bff={'unitId':_0x578c1d,'op':_0x17a701};return _0x2d8262[_0xe0b5a3(0x30a)](Y['id'],_0x9aecd7)?(_0x40e45f[_0xe0b5a3(0x13b)](_0x578c1d),_0x554ad8[_0xe0b5a3(0x2f0)]({'unitID':_0x578c1d,'undoMutations':[{'id':Y['id'],'params':_0xd58bff}],'redoMutations':[{'id':Y['id'],'params':_0x9aecd7}]}),!0x0):!0x1;}},Sr={'id':_0x16d78d(0x1a3),'type':_0x567a9a[_0x16d78d(0x328)],'handler':(_0x3dacc5,_0x176e31)=>{const _0x42471a=_0x16d78d;var _0x4ee72f;if(!_0x176e31)return!0x1;let _0x195e7a=_0x3dacc5['get'](_0x4c4561),{unitId:_0x515ef3,tableId:_0x315aaa,viewId:_0xd53c8,target:_0x420ccc}=_0x176e31,_0x55a86f=_0x195e7a[_0x42471a(0xf6)](_0x515ef3,_0x45db82[_0x42471a(0x1ed)]),_0x81e90d=(_0x4ee72f=_0x420ccc[_0x42471a(0x297)])==null?_0x420ccc[_0x42471a(0x24a)]:_0x4ee72f;if(!_0x55a86f||!_0x81e90d||_0x81e90d===_0xd53c8||!X(_0x55a86f,_0x315aaa,{'viewIds':[_0xd53c8,_0x81e90d]}))return!0x1;let _0x3ed1ac=_0x3dacc5[_0x42471a(0x36e)](_0x4bf63b),_0x6db06b=_0x3dacc5[_0x42471a(0x36e)](_0x157955),_0x5c366a=_0x55a86f[_0x42471a(0x254)](),_0x27646a=new F()['moveView'](_0x5c366a,_0x315aaa,_0xd53c8,_0x420ccc),_0x26d579=new D()[_0x42471a(0x2d1)](_0x5c366a,_0x27646a),_0x21f1d3={'unitId':_0x515ef3,'op':_0x27646a},_0x1ac7af={'unitId':_0x515ef3,'op':_0x26d579};return _0x3ed1ac[_0x42471a(0x30a)](Y['id'],_0x21f1d3)?(_0x195e7a[_0x42471a(0x13b)](_0x515ef3),_0x6db06b[_0x42471a(0x2f0)]({'unitID':_0x515ef3,'undoMutations':[{'id':Y['id'],'params':_0x1ac7af}],'redoMutations':[{'id':Y['id'],'params':_0x21f1d3}]}),!0x0):!0x1;}},Cr={'id':_0x16d78d(0x1db),'type':_0x567a9a[_0x16d78d(0x328)],'handler':(_0x282692,_0x1ee64a)=>{const _0x2b101a=_0x16d78d;if(!_0x1ee64a)return!0x1;let _0x5abb05=_0x282692[_0x2b101a(0x36e)](_0x4c4561),{unitId:_0x2800c6,tableId:_0x51573d,name:_0x4bc2c7}=_0x1ee64a,_0x43cdb9=_0x5abb05['getUnit'](_0x2800c6,_0x45db82['UNIVER_BASE']);if(!_0x43cdb9||!X(_0x43cdb9,_0x51573d))return!0x1;let _0x5d1ce6=_0x282692[_0x2b101a(0x36e)](_0x4bf63b),_0x29f23d=_0x282692[_0x2b101a(0x36e)](_0x157955),_0x1de173=_0x43cdb9['getSnapshot'](),_0x436d80=new F()[_0x2b101a(0x117)](_0x1de173,_0x51573d,_0x4bc2c7),_0x403d79=new D()['invertOp'](_0x1de173,_0x436d80),_0x281dbc={'unitId':_0x2800c6,'op':_0x436d80},_0x5d2dab={'unitId':_0x2800c6,'op':_0x403d79};return _0x5d1ce6['syncExecuteCommand'](Y['id'],_0x281dbc)?(_0x5abb05[_0x2b101a(0x13b)](_0x2800c6),_0x29f23d[_0x2b101a(0x2f0)]({'unitID':_0x2800c6,'undoMutations':[{'id':Y['id'],'params':_0x5d2dab}],'redoMutations':[{'id':Y['id'],'params':_0x281dbc}]}),!0x0):!0x1;}},wr={'id':_0x16d78d(0x164),'type':_0x567a9a[_0x16d78d(0x328)],'handler':(_0x3d8f08,_0x146098)=>{const _0x42b323=_0x16d78d;if(!_0x146098)return!0x1;let _0x3e8e4a=_0x3d8f08[_0x42b323(0x36e)](_0x4c4561),{unitId:_0x84ae36,tableId:_0x335767,viewId:_0x32d865,name:_0x24a6d5}=_0x146098,_0x7750de=_0x3e8e4a[_0x42b323(0xf6)](_0x84ae36,_0x45db82[_0x42b323(0x1ed)]);if(!_0x7750de||!X(_0x7750de,_0x335767,{'viewIds':[_0x32d865]}))return!0x1;let _0x56685f=_0x3d8f08[_0x42b323(0x36e)](_0x4bf63b),_0x7ff995=_0x3d8f08[_0x42b323(0x36e)](_0x157955),_0xec77fe=_0x7750de[_0x42b323(0x254)](),_0x395c23=new F()[_0x42b323(0x307)](_0xec77fe,_0x335767,_0x32d865,_0x24a6d5),_0x52ae4c=new D()['invertOp'](_0xec77fe,_0x395c23),_0x2ddefd={'unitId':_0x84ae36,'op':_0x395c23},_0x269d85={'unitId':_0x84ae36,'op':_0x52ae4c};return _0x56685f[_0x42b323(0x30a)](Y['id'],_0x2ddefd)?(_0x3e8e4a[_0x42b323(0x13b)](_0x84ae36),_0x7ff995[_0x42b323(0x2f0)]({'unitID':_0x84ae36,'undoMutations':[{'id':Y['id'],'params':_0x269d85}],'redoMutations':[{'id':Y['id'],'params':_0x2ddefd}]}),!0x0):!0x1;}},Tr={'id':_0x16d78d(0x2d8),'type':_0x567a9a[_0x16d78d(0x328)],'handler':(_0x43d86c,_0x530602)=>{const _0x298ee0=_0x16d78d;if(!_0x530602)return!0x1;let _0x389301=_0x43d86c[_0x298ee0(0x36e)](_0x4c4561),{unitId:_0x5df386,tableId:_0x5d4aaf,viewId:_0x425ea5,fieldId:_0x2bc2a6}=_0x530602,_0x357102=_0x389301[_0x298ee0(0xf6)](_0x5df386,_0x45db82[_0x298ee0(0x1ed)]);if(!_0x357102||!X(_0x357102,_0x5d4aaf,{'viewIds':[_0x425ea5],'fieldIds':[_0x2bc2a6]}))return!0x1;let _0x1008e5=_0x43d86c['get'](_0x4bf63b),_0x55dff7=_0x43d86c[_0x298ee0(0x36e)](_0x157955),_0x3033da=_0x357102[_0x298ee0(0x254)](),_0x369ecf=new F()[_0x298ee0(0x20c)](_0x3033da,_0x5d4aaf,_0x425ea5,{'groupFieldId':_0x2bc2a6}),_0x344325=new D()['invertOp'](_0x3033da,_0x369ecf),_0x4246da={'unitId':_0x5df386,'op':_0x369ecf},_0x5426be={'unitId':_0x5df386,'op':_0x344325};return _0x1008e5[_0x298ee0(0x30a)](Y['id'],_0x4246da)?(_0x389301[_0x298ee0(0x13b)](_0x5df386),_0x55dff7[_0x298ee0(0x2f0)]({'unitID':_0x5df386,'undoMutations':[{'id':Y['id'],'params':_0x5426be}],'redoMutations':[{'id':Y['id'],'params':_0x4246da}]}),!0x0):!0x1;}},Er={'id':_0x16d78d(0x29b),'type':_0x567a9a[_0x16d78d(0x328)],'handler'(_0xd57f9,_0x73f26e){const _0x386e6f=_0x16d78d;if(!_0x73f26e)return!0x1;let _0x2c34a8=_0xd57f9[_0x386e6f(0x36e)](_0x4c4561),{unitId:_0x9db658,tableId:_0x3f5a89,patches:_0x231fea}=_0x73f26e,_0x1251e1=_0x2c34a8[_0x386e6f(0xf6)](_0x9db658,_0x45db82[_0x386e6f(0x1ed)]);if(!_0x1251e1||!X(_0x1251e1,_0x3f5a89))return!0x1;let _0x506ddf=_0xd57f9[_0x386e6f(0x36e)](_0x4bf63b),_0x4fd77f=_0xd57f9[_0x386e6f(0x36e)](_0x157955),_0x574004=_0x1251e1['getSnapshot'](),_0x5a0515=w(_0x574004['tables'][_0x3f5a89]),_0x2da0dd=_0x231fea['map'](_0x1e82fa=>{const _0x5db516=_0x386e6f;var _0x21e7c6;return _0x5db516(0x36c)in _0x1e82fa?_0x1e82fa[_0x5db516(0x36c)]:(_0x21e7c6=_0x5a0515[_0x5db516(0xd7)])==null?void 0x0:_0x21e7c6[_0x1e82fa[_0x5db516(0x2ed)]];})[_0x386e6f(0x33b)](_0x5e39b7=>_0x5e39b7!=null),_0x261c83=_0x231fea[_0x386e6f(0x187)](_0x4004e2=>{const _0x3e72ad=_0x386e6f;var _0x30e43d;return _0x3e72ad(0x375)in _0x4004e2?_0x4004e2['fieldId']:(_0x30e43d=_0x5a0515[_0x3e72ad(0x15b)])==null?void 0x0:_0x30e43d[_0x4004e2[_0x3e72ad(0x1da)]];})['filter'](_0x34251c=>_0x34251c!=null);if(_0x2da0dd['length']!==_0x231fea['length']||_0x261c83[_0x386e6f(0x1ee)]!==_0x231fea[_0x386e6f(0x1ee)]||!X(_0x1251e1,_0x3f5a89,{'recordIds':_0x2da0dd,'fieldIds':_0x261c83}))return!0x1;let _0x1ccb13=_0x231fea[_0x386e6f(0x1cc)](_0x19b3ff=>{const _0x256731=_0x386e6f;var _0x25b266,_0x2dc54f;if(_0x256731(0x2ed)in _0x19b3ff)return[_0x19b3ff];let _0x1189d7=(_0x25b266=_0x5a0515[_0x256731(0x34b)])==null?void 0x0:_0x25b266[_0x19b3ff[_0x256731(0x36c)]],_0x19652d=(_0x2dc54f=_0x5a0515['colIndex'])==null?void 0x0:_0x2dc54f[_0x19b3ff[_0x256731(0x375)]];return _0x1189d7==null||_0x19652d==null?[]:[{'row':_0x1189d7,'col':_0x19652d,'value':_0x19b3ff[_0x256731(0x2e7)]}];}),_0x59e566=new F()['setRangeValues'](_0x574004,_0x3f5a89,_0x1ccb13),_0x1a8a7d=new D()[_0x386e6f(0x2d1)](_0x574004,_0x59e566),_0x2b3029={'unitId':_0x9db658,'op':_0x59e566},_0x28a0f9={'unitId':_0x9db658,'op':_0x1a8a7d};return _0x506ddf[_0x386e6f(0x30a)](Y['id'],_0x2b3029)?(_0x2c34a8[_0x386e6f(0x13b)](_0x9db658),_0x4fd77f['pushUndoRedo']({'unitID':_0x9db658,'undoMutations':[{'id':Y['id'],'params':_0x28a0f9}],'redoMutations':[{'id':Y['id'],'params':_0x2b3029}]}),!0x0):!0x1;}},Dr={'id':_0x16d78d(0x12b),'type':_0x567a9a[_0x16d78d(0x328)],'handler'(_0x406dfb,_0x188ae){const _0x16fd59=_0x16d78d;if(!_0x188ae)return!0x1;let _0x5d8a74=_0x406dfb[_0x16fd59(0x36e)](_0x4c4561),{unitId:_0x4df965,tableId:_0x5a3ba9,patches:_0x1b2f41}=_0x188ae,_0x55429f=_0x5d8a74['getUnit'](_0x4df965,_0x45db82['UNIVER_BASE']),_0x12f53a=_0x1b2f41[_0x16fd59(0x187)](_0x1e19ee=>_0x1e19ee[_0x16fd59(0x36c)]),_0x5b7d97=_0x1b2f41[_0x16fd59(0x1cc)](_0x5b4f9c=>Object[_0x16fd59(0x33a)](_0x5b4f9c['values']));if(!_0x55429f||!X(_0x55429f,_0x5a3ba9,{'recordIds':_0x12f53a,'fieldIds':_0x5b7d97}))return!0x1;let _0x21365a=_0x406dfb[_0x16fd59(0x36e)](_0x4bf63b),_0x51b35d=_0x406dfb[_0x16fd59(0x36e)](_0x157955),_0x83f732=_0x406dfb[_0x16fd59(0x36e)](V)[_0x16fd59(0x359)](_0x55429f,_0x5a3ba9,_0x1b2f41),_0x20f641=new D()[_0x16fd59(0x2d1)](_0x55429f[_0x16fd59(0x254)](),_0x83f732),_0x343c5b={'unitId':_0x4df965,'op':_0x83f732},_0x192b4a={'unitId':_0x4df965,'op':_0x20f641};return _0x21365a['syncExecuteCommand'](Y['id'],_0x343c5b)?(_0x5d8a74['focusUnit'](_0x4df965),_0x51b35d['pushUndoRedo']({'unitID':_0x4df965,'undoMutations':[{'id':Y['id'],'params':_0x192b4a}],'redoMutations':[{'id':Y['id'],'params':_0x343c5b}]}),!0x0):!0x1;}},Or={'id':_0x16d78d(0x24b),'type':_0x567a9a[_0x16d78d(0x328)],'handler':(_0xdddbba,_0x13ec88)=>{const _0x144103=_0x16d78d;var _0x1ca744;if(!_0x13ec88)return!0x1;let _0x185a5e=_0xdddbba[_0x144103(0x36e)](_0x4c4561),{unitId:_0x29d643,tableId:_0x530f29,viewId:_0x155248,fieldId:_0x4402b3,target:_0x1ae865}=_0x13ec88,_0x3f2eb6=_0x185a5e['getUnit'](_0x29d643,_0x45db82[_0x144103(0x1ed)]),_0x1c44dc=(_0x1ca744=_0x1ae865['beforeFieldId'])==null?_0x1ae865[_0x144103(0x13a)]:_0x1ca744;if(!_0x3f2eb6||!_0x1c44dc||_0x1c44dc===_0x4402b3||!X(_0x3f2eb6,_0x530f29,{'viewIds':[_0x155248],'fieldIds':[_0x4402b3,_0x1c44dc]}))return!0x1;let _0x43ba85=_0xdddbba[_0x144103(0x36e)](_0x4bf63b),_0x5a8020=_0xdddbba['get'](_0x157955),_0x43fa29=_0x3f2eb6['getSnapshot'](),_0x828f8=new F()[_0x144103(0x100)](_0x43fa29,_0x530f29,_0x155248,_0x4402b3,_0x1ae865),_0x55f1e9=new D()[_0x144103(0x2d1)](_0x43fa29,_0x828f8),_0x4ff028={'unitId':_0x29d643,'op':_0x828f8},_0xf19a43={'unitId':_0x29d643,'op':_0x55f1e9};return _0x43ba85[_0x144103(0x30a)](Y['id'],_0x4ff028)?(_0x185a5e[_0x144103(0x13b)](_0x29d643),_0x5a8020['pushUndoRedo']({'unitID':_0x29d643,'undoMutations':[{'id':Y['id'],'params':_0xf19a43}],'redoMutations':[{'id':Y['id'],'params':_0x4ff028}]}),!0x0):!0x1;}},kr={'id':_0x16d78d(0x126),'type':_0x567a9a['COMMAND'],'handler'(_0xff24b1,_0x4ec2e5){const _0x580688=_0x16d78d;if(!_0x4ec2e5)return!0x1;let _0x53f872=_0xff24b1['get'](_0x4c4561),{unitId:_0x456b92,tableId:_0x1e1a5c,viewId:_0x29f252,fieldId:_0x266619,visible:_0x5d7251}=_0x4ec2e5,_0x1279db=_0x53f872[_0x580688(0xf6)](_0x456b92,_0x45db82['UNIVER_BASE']);if(!_0x1279db||!X(_0x1279db,_0x1e1a5c,{'viewIds':[_0x29f252],'fieldIds':[_0x266619]}))return!0x1;let _0x44e9bb=_0xff24b1['get'](_0x4bf63b),_0x3dddf0=_0xff24b1[_0x580688(0x36e)](_0x157955),_0x7eb2d9=_0x1279db[_0x580688(0x254)](),_0x18a44d=new F()[_0x580688(0x279)](_0x7eb2d9,_0x1e1a5c,_0x29f252,_0x266619,_0x5d7251),_0x3fdd8e=new D()[_0x580688(0x2d1)](_0x7eb2d9,_0x18a44d),_0x3379d9={'unitId':_0x456b92,'op':_0x18a44d},_0x700cc2={'unitId':_0x456b92,'op':_0x3fdd8e};return _0x44e9bb[_0x580688(0x30a)](Y['id'],_0x3379d9)?(_0x53f872[_0x580688(0x13b)](_0x456b92),_0x3dddf0[_0x580688(0x2f0)]({'unitID':_0x456b92,'undoMutations':[{'id':Y['id'],'params':_0x700cc2}],'redoMutations':[{'id':Y['id'],'params':_0x3379d9}]}),!0x0):!0x1;}},Ar={'id':_0x16d78d(0x312),'type':_0x567a9a[_0x16d78d(0x328)],'handler':(_0x1fe9e8,_0x56111f)=>{const _0x14ec51=_0x16d78d;if(!_0x56111f)return!0x1;let _0xa58d9=_0x1fe9e8['get'](_0x4c4561),{unitId:_0x56fd37,tableId:_0xa0e727,viewId:_0x1d9744,fieldId:_0x1ceac0,width:_0x55ea8a}=_0x56111f,_0x12e7b9=_0xa58d9[_0x14ec51(0xf6)](_0x56fd37,_0x45db82[_0x14ec51(0x1ed)]);if(!_0x12e7b9||!X(_0x12e7b9,_0xa0e727,{'viewIds':[_0x1d9744],'fieldIds':[_0x1ceac0]}))return!0x1;let _0x274859=_0x1fe9e8['get'](_0x4bf63b),_0x369ad1=_0x1fe9e8[_0x14ec51(0x36e)](_0x157955),_0x4765fd=_0x12e7b9['getSnapshot'](),_0x5d15b8=new F()[_0x14ec51(0x1bf)](_0x4765fd,_0xa0e727,_0x1d9744,_0x1ceac0,_0x55ea8a),_0x5c58bf=new D()[_0x14ec51(0x2d1)](_0x4765fd,_0x5d15b8),_0x596434={'unitId':_0x56fd37,'op':_0x5d15b8},_0xf1f4d1={'unitId':_0x56fd37,'op':_0x5c58bf};return _0x274859[_0x14ec51(0x30a)](Y['id'],_0x596434)?(_0xa58d9[_0x14ec51(0x13b)](_0x56fd37),_0x369ad1[_0x14ec51(0x2f0)]({'unitID':_0x56fd37,'undoMutations':[{'id':Y['id'],'params':_0xf1f4d1}],'redoMutations':[{'id':Y['id'],'params':_0x596434}]}),!0x0):!0x1;}},jr={'id':_0x16d78d(0x247),'type':_0x567a9a[_0x16d78d(0x328)],'handler':(_0x4238ce,_0x459d9f)=>{const _0x1bcaa0=_0x16d78d;var _0x509f7d;if(!_0x459d9f)return!0x1;let _0x2f6de9=_0x4238ce[_0x1bcaa0(0x36e)](_0x4c4561),{unitId:_0x2d7f0b,tableId:_0x9c7637,viewId:_0x3de06f,filter:_0x4d73ff}=_0x459d9f,_0x1fb056=_0x2f6de9[_0x1bcaa0(0xf6)](_0x2d7f0b,_0x45db82[_0x1bcaa0(0x1ed)]),_0x362268=(_0x509f7d=_0x4d73ff==null?void 0x0:_0x4d73ff[_0x1bcaa0(0xcc)][_0x1bcaa0(0x187)](_0x3837d3=>_0x3837d3[_0x1bcaa0(0x375)]))==null?[]:_0x509f7d;if(!_0x1fb056||!X(_0x1fb056,_0x9c7637,{'viewIds':[_0x3de06f],'fieldIds':_0x362268}))return!0x1;let _0x407c61=_0x4238ce[_0x1bcaa0(0x36e)](_0x4bf63b),_0x29cd92=_0x4238ce[_0x1bcaa0(0x36e)](_0x157955),_0x539bb8=_0x1fb056[_0x1bcaa0(0x254)](),_0x5068a9=new F()[_0x1bcaa0(0x2cd)](_0x539bb8,_0x9c7637,_0x3de06f,_0x4d73ff),_0x1a0a8a=new D()[_0x1bcaa0(0x2d1)](_0x539bb8,_0x5068a9),_0x1ee635={'unitId':_0x2d7f0b,'op':_0x5068a9},_0x2df630={'unitId':_0x2d7f0b,'op':_0x1a0a8a};return _0x407c61[_0x1bcaa0(0x30a)](Y['id'],_0x1ee635)?(_0x2f6de9[_0x1bcaa0(0x13b)](_0x2d7f0b),_0x29cd92['pushUndoRedo']({'unitID':_0x2d7f0b,'undoMutations':[{'id':Y['id'],'params':_0x2df630}],'redoMutations':[{'id':Y['id'],'params':_0x1ee635}]}),!0x0):!0x1;}},Mr={'id':'base.command.set-base-view-group','type':_0x567a9a[_0x16d78d(0x328)],'handler':(_0x529e5a,_0x4cdb22)=>{const _0x161be3=_0x16d78d;if(!_0x4cdb22)return!0x1;let _0x64fae=_0x529e5a[_0x161be3(0x36e)](_0x4c4561),{unitId:_0x22621b,tableId:_0x17e548,viewId:_0x1b9459,group:_0x45b861}=_0x4cdb22,_0xf491a3=_0x64fae[_0x161be3(0xf6)](_0x22621b,_0x45db82[_0x161be3(0x1ed)]);if(!_0xf491a3||!X(_0xf491a3,_0x17e548,{'viewIds':[_0x1b9459],'fieldIds':_0x45b861['map'](_0x1c991c=>_0x1c991c[_0x161be3(0x375)])}))return!0x1;let _0x2d84dc=_0x529e5a[_0x161be3(0x36e)](_0x4bf63b),_0x3aa548=_0x529e5a[_0x161be3(0x36e)](_0x157955),_0x44f837=_0xf491a3[_0x161be3(0x254)](),_0x30d748=new F()[_0x161be3(0x16a)](_0x44f837,_0x17e548,_0x1b9459,_0x45b861),_0x3a1a28=new D()['invertOp'](_0x44f837,_0x30d748),_0x334216={'unitId':_0x22621b,'op':_0x30d748},_0x317068={'unitId':_0x22621b,'op':_0x3a1a28};return _0x2d84dc[_0x161be3(0x30a)](Y['id'],_0x334216)?(_0x64fae['focusUnit'](_0x22621b),_0x3aa548[_0x161be3(0x2f0)]({'unitID':_0x22621b,'undoMutations':[{'id':Y['id'],'params':_0x317068}],'redoMutations':[{'id':Y['id'],'params':_0x334216}]}),!0x0):!0x1;}},Nr={'id':'base.command.set-base-view-sort','type':_0x567a9a[_0x16d78d(0x328)],'handler':(_0x1dde4e,_0x4e1e6f)=>{const _0x3b0b29=_0x16d78d;if(!_0x4e1e6f)return!0x1;let _0x34b708=_0x1dde4e['get'](_0x4c4561),{unitId:_0x9604af,tableId:_0xfe5cda,viewId:_0x38b8d2,sort:_0x1fc308}=_0x4e1e6f,_0x415295=_0x34b708[_0x3b0b29(0xf6)](_0x9604af,_0x45db82[_0x3b0b29(0x1ed)]);if(!_0x415295||!X(_0x415295,_0xfe5cda,{'viewIds':[_0x38b8d2],'fieldIds':_0x1fc308[_0x3b0b29(0x187)](_0x1bfd4e=>_0x1bfd4e[_0x3b0b29(0x375)])}))return!0x1;let _0x22d815=_0x1dde4e['get'](_0x4bf63b),_0x482c41=_0x1dde4e[_0x3b0b29(0x36e)](_0x157955),_0x14a39c=_0x415295[_0x3b0b29(0x254)](),_0x5e1df0=new F()[_0x3b0b29(0x274)](_0x14a39c,_0xfe5cda,_0x38b8d2,_0x1fc308),_0x58faee=new D()[_0x3b0b29(0x2d1)](_0x14a39c,_0x5e1df0),_0x57df03={'unitId':_0x9604af,'op':_0x5e1df0},_0x5d2d9e={'unitId':_0x9604af,'op':_0x58faee};return _0x22d815[_0x3b0b29(0x30a)](Y['id'],_0x57df03)?(_0x34b708[_0x3b0b29(0x13b)](_0x9604af),_0x482c41[_0x3b0b29(0x2f0)]({'unitID':_0x9604af,'undoMutations':[{'id':Y['id'],'params':_0x5d2d9e}],'redoMutations':[{'id':Y['id'],'params':_0x57df03}]}),!0x0):!0x1;}},Pr={'id':_0x16d78d(0x1b9),'type':_0x567a9a[_0x16d78d(0x328)],'handler'(_0x2cd159,_0x14faf9){const _0x34fcfe=_0x16d78d;if(!_0x14faf9)return!0x1;let _0x2a9297=_0x2cd159[_0x34fcfe(0x36e)](_0x4c4561),{unitId:_0x20e534,tableId:_0x1bbe43,recordId:_0x2fee8c,fieldId:_0x24dbf4,value:_0x490925}=_0x14faf9,_0x14b8b9=_0x2a9297['getUnit'](_0x20e534,_0x45db82[_0x34fcfe(0x1ed)]);if(!_0x14b8b9||!X(_0x14b8b9,_0x1bbe43,{'recordIds':[_0x2fee8c],'fieldIds':[_0x24dbf4]}))return!0x1;let _0x27a702=_0x2cd159['get'](_0x4bf63b),_0x3ded8d=_0x2cd159[_0x34fcfe(0x36e)](_0x157955),_0x3e51e6=_0x2cd159[_0x34fcfe(0x36e)](V),_0x58b2cc;try{_0x58b2cc=_0x3e51e6[_0x34fcfe(0x344)](_0x14b8b9,_0x1bbe43,_0x2fee8c,_0x24dbf4,_0x490925);}catch(_0xe89a4c){return console[_0x34fcfe(0xfe)]('Failed\x20to\x20create\x20update\x20cell\x20operation:',_0xe89a4c),!0x1;}let _0x34cb5e=new D()[_0x34fcfe(0x2d1)](_0x14b8b9[_0x34fcfe(0x254)](),_0x58b2cc),_0x3473f5={'unitId':_0x20e534,'op':_0x58b2cc},_0x15d07e={'unitId':_0x20e534,'op':_0x34cb5e};return _0x27a702[_0x34fcfe(0x30a)](Y['id'],_0x3473f5)?(_0x2a9297[_0x34fcfe(0x13b)](_0x20e534),_0x3ded8d[_0x34fcfe(0x2f0)]({'unitID':_0x20e534,'undoMutations':[{'id':Y['id'],'params':_0x15d07e}],'redoMutations':[{'id':Y['id'],'params':_0x3473f5}]}),!0x0):!0x1;}},Fr={'id':_0x16d78d(0x2e9),'type':_0x567a9a[_0x16d78d(0x328)],'handler'(_0x46fc82,_0x3accf7){const _0x580fe9=_0x16d78d;if(!_0x3accf7)return!0x1;let _0x5cb8ea=_0x46fc82[_0x580fe9(0x36e)](_0x4c4561),{unitId:_0x214ce4,tableId:_0x35a2d2,fieldId:_0x274663}=_0x3accf7,_0x4155bf=_0x5cb8ea['getUnit'](_0x214ce4,_0x45db82['UNIVER_BASE']);if(!_0x4155bf||!X(_0x4155bf,_0x35a2d2,{'fieldIds':[_0x274663]}))return!0x1;let _0xdb57f8=_0x46fc82['get'](_0x4bf63b),_0x19dcc2=_0x46fc82['get'](_0x157955),_0x3c637d=_0x4155bf[_0x580fe9(0x254)](),_0x1dfdcf=_0x3accf7[_0x580fe9(0xbc)][_0x580fe9(0x304)](),_0x13d250=new F()[_0x580fe9(0x107)](_0x3c637d,_0x35a2d2,_0x274663,{'description':_0x1dfdcf}),_0x1b752a=new D()[_0x580fe9(0x2d1)](_0x4155bf[_0x580fe9(0x254)](),_0x13d250),_0x2afac8={'unitId':_0x214ce4,'op':_0x13d250},_0x3b51cf={'unitId':_0x214ce4,'op':_0x1b752a};return _0xdb57f8[_0x580fe9(0x30a)](Y['id'],_0x2afac8)?(_0x5cb8ea[_0x580fe9(0x13b)](_0x214ce4),_0x19dcc2[_0x580fe9(0x2f0)]({'unitID':_0x214ce4,'undoMutations':[{'id':Y['id'],'params':_0x3b51cf}],'redoMutations':[{'id':Y['id'],'params':_0x2afac8}]}),!0x0):!0x1;}},Ir={'id':_0x16d78d(0x2d9),'type':_0x567a9a[_0x16d78d(0x328)],'handler':(_0x37795e,_0x5132c4)=>{const _0x278d16=_0x16d78d;if(!_0x5132c4)return!0x1;let _0x1c4727=_0x37795e['get'](_0x4c4561),{unitId:_0x52d8c0,tableId:_0x3f5095,fieldId:_0x45f207,patch:_0x54b8f0}=_0x5132c4,_0xe28bd7=_0x1c4727['getUnit'](_0x52d8c0,_0x45db82[_0x278d16(0x1ed)]);if(!_0xe28bd7||!X(_0xe28bd7,_0x3f5095,{'fieldIds':[_0x45f207]}))return!0x1;let _0x1506cc=_0x37795e[_0x278d16(0x36e)](_0x4bf63b),_0xb45cc=_0x37795e[_0x278d16(0x36e)](_0x157955),_0x1afbe9=_0xe28bd7[_0x278d16(0x254)](),_0xbafc4b=new F()[_0x278d16(0x107)](_0x1afbe9,_0x3f5095,_0x45f207,_0x54b8f0),_0x281e23=new D()['invertOp'](_0x1afbe9,_0xbafc4b),_0x514ad9={'unitId':_0x52d8c0,'op':_0xbafc4b},_0x15d741={'unitId':_0x52d8c0,'op':_0x281e23};return _0x1506cc[_0x278d16(0x30a)](Y['id'],_0x514ad9)?(_0x1c4727[_0x278d16(0x13b)](_0x52d8c0),_0xb45cc['pushUndoRedo']({'unitID':_0x52d8c0,'undoMutations':[{'id':Y['id'],'params':_0x15d741}],'redoMutations':[{'id':Y['id'],'params':_0x514ad9}]}),!0x0):!0x1;}},Lr={'id':_0x16d78d(0x31a),'type':_0x567a9a['COMMAND'],'handler':(_0x28e1f6,_0x848fa5)=>{const _0xa60b09=_0x16d78d;if(!_0x848fa5)return!0x1;let _0x1b4720=_0x28e1f6['get'](_0x4c4561),{unitId:_0xe757d8,tableId:_0x4ba4eb,viewId:_0x14e90d,patch:_0x43c34f}=_0x848fa5,_0x17fc6e=_0x1b4720['getUnit'](_0xe757d8,_0x45db82[_0xa60b09(0x1ed)]);if(!_0x17fc6e||!X(_0x17fc6e,_0x4ba4eb,{'viewIds':[_0x14e90d]}))return!0x1;let _0x1bff26=_0x28e1f6[_0xa60b09(0x36e)](_0x4bf63b),_0x2b0885=_0x28e1f6[_0xa60b09(0x36e)](_0x157955),_0x1f3c9b=_0x17fc6e[_0xa60b09(0x254)](),_0x1d3280=new F()['updateViewConfig'](_0x1f3c9b,_0x4ba4eb,_0x14e90d,_0x43c34f),_0xbb2499=new D()[_0xa60b09(0x2d1)](_0x1f3c9b,_0x1d3280),_0x5a85c5={'unitId':_0xe757d8,'op':_0x1d3280},_0x5950f1={'unitId':_0xe757d8,'op':_0xbb2499};return _0x1bff26[_0xa60b09(0x30a)](Y['id'],_0x5a85c5)?(_0x1b4720[_0xa60b09(0x13b)](_0xe757d8),_0x2b0885['pushUndoRedo']({'unitID':_0xe757d8,'undoMutations':[{'id':Y['id'],'params':_0x5950f1}],'redoMutations':[{'id':Y['id'],'params':_0x5a85c5}]}),!0x0):!0x1;}},Rr={'id':_0x16d78d(0x23a),'type':_0x567a9a[_0x16d78d(0x328)],'handler':(_0x26770e,_0x35b98f)=>{const _0x44a19c=_0x16d78d;if(!_0x35b98f)return!0x1;let _0x11dcd5=_0x26770e[_0x44a19c(0x36e)](_0x4c4561),{unitId:_0x494a82,tableId:_0x49a47c,recordId:_0xe7ea8d,orderKey:_0x4b1a38}=_0x35b98f,_0x11c510=_0x11dcd5[_0x44a19c(0xf6)](_0x494a82,_0x45db82['UNIVER_BASE']);if(!_0x11c510||!X(_0x11c510,_0x49a47c,{'recordIds':[_0xe7ea8d]}))return!0x1;let _0x1d79e3=_0x26770e[_0x44a19c(0x36e)](_0x4bf63b),_0x546600=_0x26770e[_0x44a19c(0x36e)](_0x157955),_0x3e50d6=_0x11c510[_0x44a19c(0x254)](),_0x298f74=new F()[_0x44a19c(0x177)](_0x3e50d6,_0x49a47c,_0xe7ea8d,_0x4b1a38),_0x135387=new D()['invertOp'](_0x3e50d6,_0x298f74),_0x3b5aa7={'unitId':_0x494a82,'op':_0x298f74},_0xc5e250={'unitId':_0x494a82,'op':_0x135387};return _0x1d79e3[_0x44a19c(0x30a)](Y['id'],_0x3b5aa7)?(_0x11dcd5[_0x44a19c(0x13b)](_0x494a82),_0x546600['pushUndoRedo']({'unitID':_0x494a82,'undoMutations':[{'id':Y['id'],'params':_0xc5e250}],'redoMutations':[{'id':Y['id'],'params':_0x3b5aa7}]}),!0x0):!0x1;}},zr={'id':_0x16d78d(0x18a),'type':_0x567a9a['COMMAND'],'handler':(_0x255297,_0x471838)=>{const _0x35ef78=_0x16d78d;if(!_0x471838)return!0x1;let _0x4fec04=_0x255297['get'](_0x4c4561),{unitId:_0x378af7,tableId:_0x3c7d71,viewId:_0x555e2d,patch:_0x5d701c}=_0x471838,_0x27dd71=_0x4fec04[_0x35ef78(0xf6)](_0x378af7,_0x45db82[_0x35ef78(0x1ed)]);if(!_0x27dd71||!X(_0x27dd71,_0x3c7d71,{'viewIds':[_0x555e2d]}))return!0x1;let _0x21e9b7=_0x255297[_0x35ef78(0x36e)](_0x4bf63b),_0xf2ce16=_0x255297[_0x35ef78(0x36e)](_0x157955),_0x570c09=_0x27dd71[_0x35ef78(0x254)](),_0x30a7a6=new F()[_0x35ef78(0x20c)](_0x570c09,_0x3c7d71,_0x555e2d,_0x5d701c),_0x231f98=new D()[_0x35ef78(0x2d1)](_0x570c09,_0x30a7a6),_0x2e2eb8={'unitId':_0x378af7,'op':_0x30a7a6},_0x42eec7={'unitId':_0x378af7,'op':_0x231f98};return _0x21e9b7[_0x35ef78(0x30a)](Y['id'],_0x2e2eb8)?(_0x4fec04['focusUnit'](_0x378af7),_0xf2ce16[_0x35ef78(0x2f0)]({'unitID':_0x378af7,'undoMutations':[{'id':Y['id'],'params':_0x42eec7}],'redoMutations':[{'id':Y['id'],'params':_0x2e2eb8}]}),!0x0):!0x1;}};function Br(_0x2df5db){const _0x3178a6=_0x16d78d;var _0x5b968b,_0x43e5d0,_0x5c63e2,_0x30f633,_0x435fef;let _0x112f90=(_0x5b968b=_0x2df5db[_0x3178a6(0x176)])==null?Date['now']():_0x5b968b,_0x5e4706=(_0x43e5d0=_0x2df5db[_0x3178a6(0xaf)])==null?_0x2df5db['id']+'-field-name':_0x43e5d0,_0x2e1dae=(_0x5c63e2=_0x2df5db[_0x3178a6(0x2c1)])==null?_0x2df5db['id']+_0x3178a6(0x1f2):_0x5c63e2,_0x1b353c=(_0x30f633=_0x2df5db['recordCount'])==null?0x5:_0x30f633,_0x45efeb={'id':_0x5e4706,'name':(_0x435fef=_0x2df5db[_0x3178a6(0x19c)])==null?_0x3178a6(0x26a):_0x435fef,'type':_0x3d85e5['Text'],'config':{'placeholder':_0x3178a6(0x2d4)}},_0x102b23={},_0x18f994=[],_0x193d27={},_0x1ce7d8={},_0x1b7cba={};for(let _0x32b072=0x0;_0x32b072<_0x1b353c;_0x32b072++){let _0x307851=_0x2df5db['id']+_0x3178a6(0x373)+(_0x32b072+0x1);_0x102b23[_0x307851]={'id':_0x307851,'values':_0x2df5db[_0x3178a6(0x345)]?{[_0x5e4706]:_0x2df5db['recordNamePrefix']+'\x20'+(_0x32b072+0x1)}:{},'orderKey':String(_0x32b072+0x1)[_0x3178a6(0xb9)](0x4,'0'),'createdAt':_0x112f90,'updatedAt':_0x112f90},_0x18f994[_0x3178a6(0xcd)](_0x307851),_0x193d27[_0x307851]=_0x32b072,_0x1ce7d8[_0x32b072]=_0x307851,_0x1b7cba[_0x32b072]={},_0x2df5db[_0x3178a6(0x345)]&&(_0x1b7cba[_0x32b072][0x0]={'v':_0x2df5db[_0x3178a6(0x345)]+'\x20'+(_0x32b072+0x1)});}let _0x184598={'id':_0x2e1dae,'tableId':_0x2df5db['id'],'name':_0x3178a6(0x23d),'type':_0x4f7ceb[_0x3178a6(0x23d)],'fieldOrder':[_0x5e4706],'fieldSettings':{},'config':{'frozenFieldCount':0x1}};return{'id':_0x2df5db['id'],'name':_0x2df5db['name'],'primaryFieldId':_0x5e4706,'fieldOrder':[_0x5e4706],'fields':{[_0x5e4706]:_0x45efeb},'records':_0x102b23,'recordOrder':_0x18f994,'rowIndex':_0x193d27,'rowId':_0x1ce7d8,'colIndex':{[_0x5e4706]:0x0},'colId':{0x0:_0x5e4706},'cellData':_0x1b7cba,'views':{[_0x2e1dae]:_0x184598},'viewOrder':[_0x2e1dae]};}const Vr=_0x16d78d(0x2a8);function Hr(_0x49b215){const _0x5543dd=_0x16d78d;var _0x5badb7,_0x52c957;let _0x19e5e2=Br({'id':_0x49b215[_0x5543dd(0x120)],'name':(_0x5badb7=_0x49b215[_0x5543dd(0x14c)])==null?_0x49b215[_0x5543dd(0x163)]:_0x5badb7,'recordCount':0x0});return{..._0x19e5e2,'resources':{...(_0x52c957=_0x19e5e2[_0x5543dd(0x326)])==null?{}:_0x52c957,[Vr]:Gr(_0x49b215)}};}function Ur(_0x3458b3){const _0x446e65=_0x16d78d;return{'id':Y['id'],'params':{'unitId':_0x3458b3['unitId'],'op':new F()[_0x446e65(0xf5)](_0x3458b3[_0x446e65(0x2ab)],_0x3458b3[_0x446e65(0xc2)],_0x3458b3[_0x446e65(0x1f6)]),'trigger':_0x446e65(0xcf)}};}function Wr(_0x1a0644){const _0x488bc0=_0x16d78d;let _0x163fcd=_0x1a0644['snapshot'][_0x488bc0(0x1f3)][_0x488bc0(0x2f2)](_0x1a0644[_0x488bc0(0x21c)]);if(!(!_0x1a0644[_0x488bc0(0x2ab)]['tables'][_0x1a0644[_0x488bc0(0x21c)]]||_0x163fcd<0x0))return{'id':Y['id'],'params':{'unitId':_0x1a0644[_0x488bc0(0x314)],'op':new F()[_0x488bc0(0x21f)](_0x1a0644[_0x488bc0(0x2ab)],_0x1a0644[_0x488bc0(0x21c)]),'trigger':_0x488bc0(0xcf)}};}function Gr(_0x3acb09){const _0x2e3eed=_0x16d78d;return{'version':0x1,'embedId':_0x3acb09[_0x2e3eed(0x163)],'hostAnchorId':_0x3acb09[_0x2e3eed(0x120)],'childUnitId':_0x3acb09[_0x2e3eed(0x2ca)],'childType':_0x3acb09['childType']};}function Kr(_0x2ac9f6){const _0x2587f3=_0x16d78d;var _0x3a0d41;let _0x32aa48=Math['max'](0x0,Number((_0x3a0d41=_0x2ac9f6['decimalPlaces'])==null?0x0:_0x3a0d41)),_0x4090f3=_0x2ac9f6[_0x2587f3(0x206)]===!0x1?'0':_0x2587f3(0x16d),_0x24f26e=_0x32aa48?'.'+'0'['repeat'](_0x32aa48):'',_0x338007=Jr(_0x2ac9f6[_0x2587f3(0x1c3)]);return''+(_0x2ac9f6['currencySymbol']?Yr(_0x2ac9f6['currencySymbol']):'')+_0x4090f3+_0x24f26e+_0x338007;}function qr(_0x18f820,_0x3a46c6){const _0x36a450=_0x16d78d;let _0x1fc48d=Kr(_0x3a46c6),_0x220b30=_0x57444b['format'](_0x1fc48d,_0x18f820,{'throws':!0x1});return Xr(String(_0x220b30),_0x3a46c6[_0x36a450(0x27f)],_0x3a46c6[_0x36a450(0x291)]);}function Jr(_0x171b21){const _0x148eab=_0x16d78d;return _0x171b21==='K'?_0x148eab(0x1ba):_0x171b21==='M'?_0x148eab(0x29f):_0x171b21==='B'?_0x148eab(0x35c):'';}function Yr(_0x1c7936){const _0x2815ff=_0x16d78d;return/^[A-Z]+$/i[_0x2815ff(0xbd)](_0x1c7936)?'\x22'+_0x1c7936+'\x22':_0x1c7936;}function Xr(_0x2be11c,_0x28b146,_0x225707){const _0x1475b6=_0x16d78d;let _0xa66f2a=_0x28b146===_0x1475b6(0x2fb)?Zr(_0x225707):_0x28b146;return _0xa66f2a==='periodComma'?_0x2be11c['replace'](/,/g,'\x00')[_0x1475b6(0x204)](/\./g,',')[_0x1475b6(0x204)](/\0/g,'.'):_0xa66f2a===_0x1475b6(0x15f)?_0x2be11c[_0x1475b6(0x204)](/,/g,'\x20')[_0x1475b6(0x204)](/\./g,','):_0xa66f2a===_0x1475b6(0x256)?_0x2be11c[_0x1475b6(0x204)](/,/g,'\x20'):_0x2be11c;}function Zr(_0x22e38f){const _0x1d9400=_0x16d78d;var _0x48528b,_0x113311;let _0x5ccd5d=_0x22e38f||Intl[_0x1d9400(0x338)]()[_0x1d9400(0x1c9)]()[_0x1d9400(0x291)],_0x1a0668;try{_0x1a0668=new Intl['NumberFormat'](_0x5ccd5d,{'minimumFractionDigits':0x2,'maximumFractionDigits':0x2,'useGrouping':!0x0})[_0x1d9400(0x162)](0xf4240);}catch{return _0x1d9400(0x135);}let _0x399cbf=(_0x48528b=_0x1a0668[_0x1d9400(0x2db)](_0x3dd76e=>_0x3dd76e[_0x1d9400(0x14a)]===_0x1d9400(0xcb)))==null?void 0x0:_0x48528b[_0x1d9400(0x2e7)],_0x159b0a=(_0x113311=_0x1a0668['find'](_0x18d726=>_0x18d726[_0x1d9400(0x14a)]===_0x1d9400(0x235)))==null?void 0x0:_0x113311[_0x1d9400(0x2e7)],_0x5c2783=_0x399cbf==='\u00a0'||_0x399cbf==='\u202f'?'\x20':_0x399cbf;return _0x5c2783==='.'&&_0x159b0a===','?_0x1d9400(0x216):_0x5c2783==='\x20'&&_0x159b0a===','?_0x1d9400(0x15f):_0x5c2783==='\x20'&&_0x159b0a==='.'?_0x1d9400(0x256):'commaPeriod';}function Qr(_0x218bc9,_0xf1dbe5){const _0x1af511=_0x16d78d;var _0x20c54a,_0x52fa78;let _0x15dc84=_0xa49e00[_0x1af511(0x1bd)](_0x218bc9),_0x6daf01=_0xf1dbe5[_0x1af511(0x15d)]===!0x0,_0x2a17a7=new Map(),_0x439667=(_0x20c54a=_0xf1dbe5['createViewId'])==null?()=>_0x1af511(0x157)+_0x4fbb25(0x8):_0x20c54a,_0x86d14f=_0x15dc84[_0x1af511(0x1b1)];return _0xf1dbe5[_0x1af511(0x1e0)]&&(_0x86d14f=_0x15dc84[_0x1af511(0x1b1)]['map'](_0x5288d7=>{let _0x2c698d=_0x439667();return _0x2a17a7['set'](_0x5288d7,_0x2c698d),_0x2c698d;})),{..._0x15dc84,'id':_0xf1dbe5['id'],'name':_0xf1dbe5['name'],'records':_0x6daf01?_0x15dc84[_0x1af511(0x26d)]:{},'recordOrder':_0x6daf01?_0x15dc84[_0x1af511(0x158)]:[],'rowIndex':_0x6daf01?_0x15dc84[_0x1af511(0x34b)]:{},'rowId':_0x6daf01?_0x15dc84[_0x1af511(0xd7)]:{},'cellData':_0x6daf01?_0x15dc84[_0x1af511(0x33e)]:{},'resources':_0x6daf01?_0x15dc84[_0x1af511(0x326)]:{},'viewOrder':_0x86d14f,'views':Object['fromEntries'](Object['entries']((_0x52fa78=_0x15dc84[_0x1af511(0x2b6)])==null?{}:_0x52fa78)['map'](([_0x34aedb,_0x4ecbf1])=>{const _0x39bf3b=_0x1af511;var _0x54f89a;let _0x5d15c4=(_0x54f89a=_0x2a17a7['get'](_0x34aedb))==null?_0xf1dbe5[_0x39bf3b(0x1e0)]?_0x439667():_0x34aedb:_0x54f89a;return[_0x5d15c4,{..._0x4ecbf1,'id':_0x5d15c4,'tableId':_0xf1dbe5['id']}];}))};}function _0x72cc(){const _0xec8d35=['[BaseFormula]:\x20A1\x20references\x20and\x20ranges\x20are\x20not\x20supported\x20in\x20Base\x20formulas.','selectField','views','_fastSortRows','updatedAt','isInteger','_cellInvalidationsTouchFields','exception-','setFieldPermission','_initCommands','done','invalidDateField','duplicateRecord','gridViewId','getUTCDate','_createSystemFieldValuePatches','_initialize','Uncategorized','_replaceOptional','progressFieldId','symbol','getAllUnitsForType','childUnitId','end','_plugins','setViewFilter','_projectRows','projection','fieldIndex','invertOp','getTypeOfUnitAdded$','deleteView','bases.fieldConfig.textPlaceholder','_commandService','_ganttBarColor','option-','base.command.set-base-kanban-group-field','base.command.update-base-field','_createRecordOrderOp','find','base.viewType.grid','tomorrow','missingField','startDateFieldId','endDateFieldId','query','registerCtorForType','viewIndexes','measure','_baseSyncDisposables','thisMonth','value','base.command.create-base-table','base.command.update-base-field-description','_groupsCacheKey','[BaseCommandService]:\x20field\x20\x22','_bumpTableRevision','row','base.permission.service','hidden','pushUndoRedo','createdBy','indexOf','timeZone','getUTCMonth',':end','_formulaService','_resolveGanttDateFieldId','registerTable','max','_dataSyncPrimaryController','local','usableAsGanttEnd','[BaseField]:\x20invalid\x20phone\x20value.','2523189DsETpK','duplicateField','_normalizeCellValue','fieldOrder','isNaN','[BaseFormula]:\x20table\x20\x22','trim','registerSuperTables','record','renameView','displayColor','_normalizeCalendarConfig','syncExecuteCommand','fields','_getCellRevision','field','NUMBER','_isCalendarDateField','[BaseProjectionService]:\x20missing\x20view\x20\x22','_setAttachmentResources','base.command.set-base-view-field-width','MMM\x20D,\x20YYYY','unitId','Empty','base.viewType.kanban','BaseProjection.materializeTableRows','_viewRevisions','year','base.command.update-base-kanban-config','invalid','viewId','canManageView','kanban','order','BaseProjection.projectGroups','fieldIds','some','recordPatch','every','width','resources','dateMode','COMMAND','getUnitId','toLocaleString','colIndex','major-','revision','_isAllDayGanttDateRange','next30','frozenFieldCount','editable','2009905Trqpwa','todo','invalidateByField','decimalPlaces','Rating',':start','NumberFormat','Status','keys','filter','Link','getCapabilities','cellData','TwoWayLink','800962bipodE','_title','_kanbanLaneTitle','_toDirtyRangePatch','createUpdateCellOp','recordNamePrefix','MM-DD','createRegExpFromSafeFragment','fieldName','text','Yes','rowIndex','createDefaultConfig','past7','bases.config','undefined','[BaseField]:\x20invalid\x20progress\x20value.','Button','isArray','none','#3b82f6','Number','size','_config','scale','createSetRecordValuesOp','_matchesGanttColorRule','fieldSettings',',,,\x22B\x22','RecordId','viewRevision','blue','onReady','Flow','replaceOp','children','defaultValue','view','dependencyFieldId','base-perf','_fieldRegistry','_applyingFormulaResults','next7','deleteRecord','recordId','MM/DD/YYYY','get','mode','[BaseCommandService]:\x20cannot\x20edit\x20cell.','_initRegistries','UTC','-record-','[BaseCommandService]:\x20cannot\x20delete\x20primary\x20field.','fieldId','[BaseField]:\x20invalid\x20multi-value\x20reference.','STRING','_syncBaseUnit','_filterSortFieldIds','primaryFieldId','Calendar','thisWeek','_createNumberingAllocators','attachmentSets','_isAllDayCalendarEvent','workingDaysOnly','usableAsCalendarDate','isFinite','setRecordValues','padStart','timeslotSize','matchAll','description','test','createCreateRecordOp','reduce','getTime','raw','table','setSnapshot','\x22\x20does\x20not\x20exist.','sheetId','canCreateTable','columnSettings','deleteRecords','string','_buildGrid','group','conditions','push','manual','embed-ui','changeFieldType','[BasePerf]\x20','finally','canEditField','733112ABEhGg','unitData','calendar','rowId','Formula','start','[BaseCommandService]:\x20cannot\x20delete\x20table.','_buildGantt','repairViewConfig','_activeDirtyManagerService','[BaseField]:\x20invalid\x20rating\x20value.','workingDays','_recordIds','attachment','_getViewRevision','1.0.0-alpha.3','readonly','CreatedAt','Group','onCommandExecuted','SingleSelect','register','edit','getOwnPropertyDescriptor','_formulaSyncQueue','BaseProjection.filterAndSortRows','Gantt\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.','week','add','color','yyyy/mm/dd','Lookup','beforeFieldId','createTable','getUnit','compose','[BaseField]:\x20invalid\x20checkbox\x20value.','_buildCalendar','_groupProjectionFieldIds','_kanbanLaneColor','format','__all__','error','decorate','setViewFieldOrder','_syncSuperTables','_patchCachedProjectedRows','_getTable','recordIds','base.command.move-base-field','BaseProjection.projectTableRows','updateField','includeTime','params','percent','endsWith','canCreateRecord','getStructuredDependencies','_calendarEventColor','values','_kanbanGroupKeys','h:mm\x20a','cellRevision','rowIndexById','executeCommand','join','24LKNXRF','renameTable','_apply','_resolveGalleryCoverFieldId','Location','[BaseFormula]:\x20field\x20\x22','Working\x20day','_basePermissions','short','base.field-registry.service','hostAnchorId','_sortRows','setHours','toLowerCase','clearBasePermission','\x22\x20is\x20not\x20registered.','base.command.set-base-view-field-visible','setRecordPermission','resolve','label','_capabilities','base.command.set-base-record-values','invalidateByView','getSuperTableRegistrations','number','false','[BaseCommandService]:\x20cannot\x20create\x20table.','diffValue','_findCalendarDateFieldId','_recordPermissions','UpdatedAt','commaPeriod','_getTableRevision','formula.mutation.set-formula-calculation-result','hasOwnProperty','_createNumberingAllocator','afterFieldId','focusUnit','Text','formula','coverFieldId','_projectGroups','[BaseFieldRegistryService]:\x20field\x20type\x20\x22','createDefaultValue','after','groups','_getKanbanConfiguredLanes','Calendar\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.','contains','[BaseCommandService]:\x20cannot\x20edit\x20field.','_patchProjectedRowsForCellInvalidations','base.viewType.gallery','type','_isColorfulKanbanGroupField','name','#,##0.00','leftPaneCollapsed','lessThan','check','[BaseCommandService]:\x20cannot\x20create\x20field.','base.viewType.gantt','localeCompare','invalidGroupField','invalidGanttEndField','createdAt','view-','recordOrder','base.fieldType.','CreatedBy','colId','autoIncrement','includeRecords','function','spaceComma','_projectFields','removeOp','formatToParts','embedId','base.command.rename-base-view','forEach','_isAllowedKanbanGroupField','usableAsGanttStart','canCreateField','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','setViewGroup','moveView','call','#,##0','unknown','greaterThan','[BaseCommandService]:\x20cannot\x20delete\x20field.','version','getUTCDay','subscribe','cardLayout','createUnit','now','updateRecordOrder','month','invertWithDoc','_applyFormulaResult','globalRevision','conjunction','565579fxwhig','canDeleteField','_isGanttDateField','off','_getTablesToNormalize','rules','Kanban','gantt','Checkbox','moveField','map','#16a34a','isEmpty','base.command.update-base-view-config','Gantt','colorFieldId','Attachment','_permissionService','createCreateFieldOp','url','_cellInvalidations','Doing','_rowTransformCacheSegment','sort','startsWith','base.command.delete-base-table','operator','base.command.delete-base-view','pluginName','Progress','BaseProjection.projectRows','primaryFieldName','h24','36xjXMOF','notContains','system','getUTCFullYear','9225010AxieRb','base.command.move-base-view','updatedBy','manageView','[BaseCommandService]:\x20cannot\x20delete\x20record.','_setViewFieldSetting','_getSystemFieldValue','_resolveGalleryCardFieldIds','cell','_tablePermissions','createSuperTableReference','canDeleteTable','object','BOOLEAN','person','viewOrder','Phone','_buildKanban','setRangeValues','invalidateByOp','_globalRevision','lastIndexOf','slice','base.command.update-base-cell',',\x22K\x22','titleFieldId','_projectedRowsCache','deepClone','medium','setViewFieldWidth','info','[BaseField]:\x20invalid\x20person\x20value.','lastWeek','abbreviation','createView','assign','_runtimeContext','h12','findIndex','resolvedOptions','card','getAffectedRanges','flatMap','getTypeOfUnitDisposed$','allowMultiple','isNot','_deleteAttachmentResources','ena','registerView','base.command.duplicate-base-field','_isKanbanGroupField','getAll','_viewRowsCacheKey','entries','packageName','includes','col','base.command.rename-base-table','baseRows','_applier','prototype','star','regenerateViewIds','4YSxypH','_registeredSuperTableNames','_factory','applyOp','custom','False','_resolveKanbanCoverFieldId','tableName','Done','bases.fieldConfig.linkPlaceholder','fromPlainText','deleteField','UNIVER_BASE','length','#BFDBFE','base.command.change-base-field-type','YYYY/MM/DD\x20HH:mm','-view-grid','tableOrder','operand','stringify','index','tables','_canUseFastSort','_groupCellInvalidations','[BaseCommandService]:\x20cannot\x20edit\x20readonly\x20field.','defineProperty','_getOrderedRecords','setConfig','createRecord','apply','_projectedViewRowsCache','_resolveKanbanGroupFieldId','#14b8a6','quarter','replace','_viewRevisionKey','useThousands','exact','attachmentSet','_cacheKey','@univerjs-pro/bases','setBasePermission','updateViewConfig','IBaseCellData.ensureTableCellLayout','valid','_injector','tableRevision','toPlainText','disposeWithMe','_projectTableRows','uniqueTableName','_getCachedProjection','periodComma','validate','_projectedGroupsCache','Todo','https://','yesterday','tableId','set','date','deleteTable','BaseJson1.json1Apply','rows','lessThanOrEqual','[BaseCommandService]:\x20cannot\x20manage\x20view.','Person','options','working','DESC','_isNonEmptyCellValue','UpdatedBy','fromEntries','_getCurrentUserId','Barcode','_resolveKanbanCardFieldIds','weekdays','updateCell','attachment-','clearTablePermission','getFullYear','showFieldNames','getItem','decimal','syncUnit','Currency','_normalizeCalendarDisplayColor','_fieldPermissions','base.command.update-base-record-order','base.command.delete-base-field','_univerInstanceService','Grid','_initDataSync','MultiSelect','REMOTE_BASES_PLUGIN','clearFieldPermission','1ajwpNj','Start\x20date','getMonth','__UNIVER_BASE_PERF__','getDay','base.command.set-base-view-filter','_createRecordWithDefaults','pattern','afterViewId','base.command.set-base-view-field-order','createBatchCreateRecordsOp','_enqueueFormulaSync','clearRecordPermission','YYYY-MM-DD','HH:mm','from','min','_getAllBaseDependencyTreeCacheMap','getSnapshot','constructor','spacePeriod','base.command.create-base-field','[BaseCommandService]:\x20cannot\x20create\x20record.','level','attachments','_groupConfigCacheSegment','_getAllTableIds','userID','day','true','usableAsCardCover','leftPaneWidth','normalize','_projectionCache','invalidateByCell','normal','orderKey','en-US','exceptions','canEditCell','Name','_buildGallery','score','records','reason','changed','base.command.service','Checked','catch','fld-','setViewSort','title','editCell','has','Email','setViewFieldVisible','patches','splice','registerCommand','_resolveCalendarDateFieldId','_normalizeGanttDisplayColor','separatorStyle','allowNegative','_normalizeGalleryConfig','_createNumberingFieldValuePatches','6vSJMld','_removeSuperTables','_setCachedProjection','cardSize','BaseProjection.getProjection','boolean','_withModifiedSystemValues','base.resource.service','_tableRevisions','Gallery','dispose','_cellRevisions','basePerf','4276514CRCkBG','locale','user','path','Numbering','valueOf','small','beforeViewId','_views','Date','large','base.command.set-base-range-values','createField','key','canDeleteRecord',',,\x22M\x22','_normalizeGanttConfig','before','_getStructureDirtyTableIds','groupFieldId','compare','delete','direction','_getJson1DirtyData','UNIVER_EMBED_BASES_TABLE','then','_configService','snapshot','insertOp','config','_materializeGroups','showTodayLine','base.command.delete-base-record','column','isNotEmpty','createRecords'];_0x72cc=function(){return _0xec8d35;};return _0x72cc();}var $r=_0x16d78d(0x20a),ei=_0x16d78d(0xe3);const ti={},ni={};function ri(_0x433b80){const _0x2a001f=_0x16d78d;return new D()[_0x2a001f(0x1cb)](_0x433b80);}function ii(_0x12f1c6){const _0x198618=_0x16d78d;return _0x12f1c6[_0x198618(0x27a)][_0x198618(0x187)](_0x436fa6=>({'unitId':_0x12f1c6[_0x198618(0x314)],'sheetId':_0x12f1c6[_0x198618(0x21c)],'range':{'startRow':_0x436fa6[_0x198618(0x2ed)],'endRow':_0x436fa6['row'],'startColumn':_0x436fa6[_0x198618(0x1da)],'endColumn':_0x436fa6[_0x198618(0x1da)]}}));}function ai(_0x4aa6d1,_0x255dc0){const _0x256d68=_0x16d78d;return{[_0x4aa6d1]:Object[_0x256d68(0x22a)](_0x255dc0[_0x256d68(0x187)](_0x435643=>[_0x435643,'1']))};}let oi=class extends _0x10a465{constructor(_0x5dfcf1,_0x57f301){const _0x20943d=_0x16d78d;super(),this[_0x20943d(0xdd)]=_0x5dfcf1,this['_univerInstanceService']=_0x57f301,this[_0x20943d(0x2c4)]();}[_0x16d78d(0x2c4)](){const _0x352614=_0x16d78d;this[_0x352614(0xdd)][_0x352614(0xe9)](Y['id'],{'commandId':Y['id'],'getDirtyData':_0x491f88=>this['_getJson1DirtyData'](_0x491f88[_0x352614(0x109)])}),this['disposeWithMe'](_0x3f89c7(()=>{const _0x4139cb=_0x352614;this[_0x4139cb(0xdd)]['remove'](Y['id']);}));}['_getTable'](_0x198459,_0x484b59){const _0x714798=_0x16d78d;var _0x15d94a;let _0x12b40d=this['_univerInstanceService'][_0x714798(0xf6)](_0x198459,_0x45db82[_0x714798(0x1ed)]);return(_0x15d94a=_0x12b40d==null?void 0x0:_0x12b40d[_0x714798(0x254)]()['tables'][_0x484b59])==null?null:_0x15d94a;}[_0x16d78d(0x2a7)](_0x2f9621){const _0x49d87c=_0x16d78d;if(_0x2f9621['trigger']===_0x49d87c(0x137))return{};if(!_0x2f9621[_0x49d87c(0x314)]||!_0x2f9621['op'])return{'clearDependencyTreeCache':this[_0x49d87c(0x253)](),'forceCalculation':!0x0};let _0x2080ef=ri(_0x2f9621['op']),_0x274277=this[_0x49d87c(0x2a2)](_0x2f9621[_0x49d87c(0x314)],_0x2080ef);if(_0x274277[_0x49d87c(0x1ee)])return{'clearDependencyTreeCache':ai(_0x2f9621[_0x49d87c(0x314)],_0x274277),'forceCalculation':!0x0};let _0x9ee43=Object[_0x49d87c(0x1d7)](this['_groupCellInvalidations'](_0x2f9621[_0x49d87c(0x314)],_0x2080ef))[_0x49d87c(0x1cc)](([_0x8713f,_0x4acb36])=>ii({'unitId':_0x2f9621['unitId'],'tableId':_0x8713f,'patches':_0x4acb36}));return _0x9ee43[_0x49d87c(0x1ee)]?{'dirtyRanges':_0x9ee43}:{};}[_0x16d78d(0x2a2)](_0x571f18,_0x1a2b4a){const _0x1ce696=_0x16d78d;let _0x37ebec=_0x1a2b4a[_0x1ce696(0x33b)](_0x59434e=>_0x59434e[_0x1ce696(0x26e)]!==_0x1ce696(0x1aa))[_0x1ce696(0x1cc)](_0x1b6d9c=>_0x1b6d9c['tableId']?[_0x1b6d9c[_0x1ce696(0x21c)]]:this[_0x1ce696(0x25c)](_0x571f18));return Array['from'](new Set(_0x37ebec));}[_0x16d78d(0x1f9)](_0x2f80ca,_0x4f5ab7){const _0x242998=_0x16d78d;let _0x17e6db=new Set();return _0x4f5ab7[_0x242998(0xbf)]((_0xbb9d07,_0x433b5e)=>{const _0x3f7870=_0x242998;var _0x316885;let _0x5ab8b6=this[_0x3f7870(0x343)](_0x2f80ca,_0x433b5e);if(!_0x5ab8b6)return _0xbb9d07;let _0x26b3be=_0x433b5e[_0x3f7870(0x21c)]+':'+_0x5ab8b6[_0x3f7870(0x2ed)]+':'+_0x5ab8b6['col'];return _0x17e6db[_0x3f7870(0x277)](_0x26b3be)?_0xbb9d07:(_0x17e6db[_0x3f7870(0xf0)](_0x26b3be),_0xbb9d07[_0x433b5e[_0x3f7870(0x21c)]]=(_0x316885=_0xbb9d07[_0x433b5e[_0x3f7870(0x21c)]])==null?[]:_0x316885,_0xbb9d07[_0x433b5e[_0x3f7870(0x21c)]][_0x3f7870(0xcd)](_0x5ab8b6),_0xbb9d07);},{});}['_toDirtyRangePatch'](_0x59374d,_0x5283ea){const _0x2b9ff1=_0x16d78d;if(_0x5283ea[_0x2b9ff1(0x26e)]!==_0x2b9ff1(0x1aa))return null;if(_0x5283ea[_0x2b9ff1(0x2ed)]!=null&&_0x5283ea[_0x2b9ff1(0x2b1)]!=null)return{'row':_0x5283ea[_0x2b9ff1(0x2ed)],'col':_0x5283ea[_0x2b9ff1(0x2b1)],'value':null};if(!_0x5283ea[_0x2b9ff1(0x36c)]||!_0x5283ea[_0x2b9ff1(0x375)])return null;let _0x545031=this[_0x2b9ff1(0x103)](_0x59374d,_0x5283ea[_0x2b9ff1(0x21c)]);if(!_0x545031)return null;let _0x1b0b7c=Se(_0x545031,_0x5283ea['recordId'],_0x5283ea['fieldId']);return _0x1b0b7c?{'row':_0x1b0b7c[_0x2b9ff1(0x2ed)],'col':_0x1b0b7c[_0x2b9ff1(0x1da)],'value':null}:null;}[_0x16d78d(0x25c)](_0x22f8fc){const _0x1aeba5=_0x16d78d;var _0xb56b4e;let _0x4fae4d=this[_0x1aeba5(0x23c)][_0x1aeba5(0xf6)](_0x22f8fc,_0x45db82[_0x1aeba5(0x1ed)]);return Object[_0x1aeba5(0x10f)]((_0xb56b4e=_0x4fae4d==null?void 0x0:_0x4fae4d[_0x1aeba5(0x254)]()[_0x1aeba5(0x1f7)])==null?{}:_0xb56b4e)['map'](_0x2f36ea=>_0x2f36ea['id']);}[_0x16d78d(0x253)](){const _0x511f1f=_0x16d78d;let _0x381f98=this[_0x511f1f(0x23c)][_0x511f1f(0x2c9)](_0x45db82[_0x511f1f(0x1ed)])[_0x511f1f(0x187)](_0x2309ef=>ai(_0x2309ef[_0x511f1f(0x329)](),Object[_0x511f1f(0x33a)](_0x2309ef[_0x511f1f(0x254)]()[_0x511f1f(0x1f7)])));return Object[_0x511f1f(0x1c5)]({},..._0x381f98);}};oi=B([z(0x0,_0x10efb7),z(0x1,_0x4c4561)],oi);const si=_0x2c067b[_0x16d78d(0x347)](String[_0x16d78d(0xc1)]`(?:^|\W)\$?[A-Z]{1,3}\$?\d+(?::\$?[A-Z]{1,3}\$?\d+)?(?:$|\W)`),ci=/\{([^}]+)\}/g,li=_0x2c067b[_0x16d78d(0x347)](String[_0x16d78d(0xc1)]`\b([A-Z_]\w*)\[([^\]]+)\]`,'gi'),ui=_0x2c067b['createRegExpFromSafeFragment'](String[_0x16d78d(0xc1)]`(^|[^\w\][])\[([^\]]+)\]`,'g');var di=class{[_0x16d78d(0x1ac)](_0x4b69c3,_0x450b09=_0x4b69c3['id']){const _0x5b9248=_0x16d78d;return{'sheetId':_0x450b09,'titleMap':new Map(_0x4b69c3['fieldOrder'][_0x5b9248(0x187)]((_0xe1e0ac,_0x407f8a)=>{const _0x2f4464=_0x5b9248;var _0x56eedf,_0x51b073;return[(_0x56eedf=(_0x51b073=_0x4b69c3['fields'][_0xe1e0ac])==null?void 0x0:_0x51b073[_0x2f4464(0x14c)])==null?_0xe1e0ac:_0x56eedf,_0x407f8a];})),'range':{'startRow':0x0,'endRow':Object[_0x5b9248(0x10f)](_0x4b69c3[_0x5b9248(0x26d)])['length'],'startColumn':0x0,'endColumn':Math['max'](0x0,_0x4b69c3[_0x5b9248(0x301)][_0x5b9248(0x1ee)]-0x1)}};}['registerSuperTable'](_0x9d4a56,_0x110e79,_0xa38e61,_0x483423={}){const _0x3a483e=_0x16d78d;var _0x34252c;let _0x1708de=this[_0x3a483e(0x1ac)](_0xa38e61,(_0x34252c=_0x483423[_0x3a483e(0xc5)])==null?_0xa38e61['id']:_0x34252c);return new Set([_0xa38e61['id'],_0xa38e61['name'],_0x483423['tableName']][_0x3a483e(0x33b)](_0x44bd90=>!!_0x44bd90))[_0x3a483e(0x165)](_0x3db2ed=>_0x9d4a56[_0x3a483e(0x2f8)](_0x110e79,_0x3db2ed,_0x1708de)),_0x1708de;}[_0x16d78d(0x305)](_0x250a0f,_0x12037a){const _0x1ec162=_0x16d78d;let _0x49dd8c=this['getSuperTableRegistrations'](_0x12037a);return _0x49dd8c['forEach'](({tableName:_0x58d8a7,reference:_0x42762d})=>{_0x250a0f['registerTable'](_0x12037a['id'],_0x58d8a7,_0x42762d);}),Array['from'](new Set(_0x49dd8c[_0x1ec162(0x187)](({reference:_0x42b013})=>_0x42b013)));}[_0x16d78d(0x12d)](_0x2df3b5,_0x411930){const _0x337ff0=_0x16d78d;let _0x1da386=[],_0x4f2968=_0x411930?new Set(_0x411930):null,_0x18afb0=new Map();return Object[_0x337ff0(0x10f)](_0x2df3b5[_0x337ff0(0x1f7)])[_0x337ff0(0x165)](_0x1d3891=>{const _0x36c897=_0x337ff0;var _0x6d1b59;let _0x5a2c5c=_0x1d3891[_0x36c897(0x14c)][_0x36c897(0x304)]()['toLowerCase']();_0x18afb0[_0x36c897(0x21d)](_0x5a2c5c,((_0x6d1b59=_0x18afb0[_0x36c897(0x36e)](_0x5a2c5c))==null?0x0:_0x6d1b59)+0x1);}),Object[_0x337ff0(0x10f)](_0x2df3b5[_0x337ff0(0x1f7)])['filter'](_0x416c7f=>!_0x4f2968||_0x4f2968['has'](_0x416c7f['id']))[_0x337ff0(0x165)](_0x2191e2=>{const _0x5afe79=_0x337ff0;var _0x25b8ea;let _0x562e6c=this[_0x5afe79(0x1ac)](_0x2191e2,_0x2191e2['id']);_0x1da386[_0x5afe79(0xcd)]({'tableId':_0x2191e2['id'],'tableName':_0x2191e2['id'],'reference':_0x562e6c}),((_0x25b8ea=_0x18afb0[_0x5afe79(0x36e)](_0x2191e2[_0x5afe79(0x14c)][_0x5afe79(0x304)]()['toLowerCase']()))==null?0x0:_0x25b8ea)===0x1&&_0x1da386[_0x5afe79(0xcd)]({'tableId':_0x2191e2['id'],'tableName':_0x2191e2[_0x5afe79(0x14c)],'reference':_0x562e6c});}),_0x1da386;}['validateFormula'](_0x1b7363,_0x575746,_0xfb49e0={}){const _0x2ad56d=_0x16d78d;let _0xfa3603=_0x1b7363[_0x2ad56d(0x304)]();if(!_0xfa3603)return{'valid':!0x0};if(si['test'](_0xfa3603))return{'valid':!0x1,'reason':_0x2ad56d(0x2b4)};for(let _0x115bf8 of mi(_0xfa3603)){let _0x43723a=hi(_0x115bf8,_0x575746,_0xfb49e0[_0x2ad56d(0x2ab)]);if(!_0x43723a[_0x2ad56d(0xc2)])return{'valid':!0x1,'reason':_0x2ad56d(0x303)+_0x115bf8[_0x2ad56d(0x1e8)]+_0x2ad56d(0xc4)};if(!_0x43723a[_0x2ad56d(0x30d)])return{'valid':!0x1,'reason':_0x2ad56d(0x11b)+_0x115bf8[_0x2ad56d(0x348)]+_0x2ad56d(0xc4)};}return{'valid':!0x0};}['getDependencies'](_0x4278ef,_0x21e7cf,_0x2891b6={}){const _0x21607b=_0x16d78d;let _0x4e01ba=new Set();for(let _0x4fa3ad of this['getStructuredDependencies'](_0x4278ef,_0x21e7cf,_0x2891b6))_0x4fa3ad[_0x21607b(0x21c)]===_0x21e7cf['id']&&_0x4e01ba['add'](_0x4fa3ad[_0x21607b(0x375)]);return Array[_0x21607b(0x251)](_0x4e01ba);}[_0x16d78d(0x10d)](_0x2ec9f6,_0x50f170,_0x5bdb95={}){const _0x5cd58c=_0x16d78d;let _0x16d8e8=new Map();for(let _0xb30f50 of mi(_0x2ec9f6)){let _0x2fa0b6=hi(_0xb30f50,_0x50f170,_0x5bdb95['snapshot']);if(!_0x2fa0b6[_0x5cd58c(0xc2)]||!_0x2fa0b6['field'])continue;let _0x360f43=_0x2fa0b6[_0x5cd58c(0xc2)]['id']+'\x1f'+_0x2fa0b6[_0x5cd58c(0x30d)]['id'];_0x16d8e8[_0x5cd58c(0x21d)](_0x360f43,{'tableId':_0x2fa0b6[_0x5cd58c(0xc2)]['id'],'fieldId':_0x2fa0b6[_0x5cd58c(0x30d)]['id']});}return Array[_0x5cd58c(0x251)](_0x16d8e8[_0x5cd58c(0x10f)]());}};function fi(_0x269d37,_0x23bd62){const _0x412712=_0x16d78d;var _0x4f1538;let _0x1fb5f3=[],_0x507941=(_0x4f1538=_0x23bd62[_0x412712(0xd5)])==null?void 0x0:_0x4f1538[_0x269d37['id']];return _0x507941&&Object['entries'](_0x507941)['forEach'](([_0x186e04,_0x1c7da9])=>{const _0x586866=_0x412712;let _0x106355=_0x269d37[_0x586866(0x1f7)][_0x186e04];if(!_0x106355||!_0x1c7da9)return;let _0x53b6c0=w(_0x106355),_0x506a14=[];Object[_0x586866(0x1d7)](_0x1c7da9)[_0x586866(0x165)](([_0x5dcfbf,_0x2ae5b2])=>{const _0x39006d=_0x586866;let _0x4ee963=Number(_0x5dcfbf);_0x2ae5b2&&Object[_0x39006d(0x1d7)](_0x2ae5b2)[_0x39006d(0x165)](([_0x80feef,_0x2b36cb])=>{const _0x540be7=_0x39006d;var _0x260773,_0x50b805,_0x324a23,_0x26d6b7,_0x460bdd,_0x2b73ec,_0xdf185b,_0x3dee29;let _0x35d61f=Number(_0x80feef),_0x4d62b0=(_0x260773=_0x53b6c0[_0x540be7(0xd7)])==null?void 0x0:_0x260773[_0x4ee963];if(!(_0x4d62b0&&_0x53b6c0['records'][_0x4d62b0]))return;let _0x32d066=(_0x50b805=_0x53b6c0['colId'])==null?void 0x0:_0x50b805[_0x35d61f],_0x4d9874=_0x32d066?_0x53b6c0[_0x540be7(0x30b)][_0x32d066]:null;if(!_0x4d9874||_0x4d9874['type']!=='formula')return;let _0x3b26a5=String((_0x324a23=(_0x26d6b7=_0x4d9874[_0x540be7(0x2ad)])==null?void 0x0:_0x26d6b7[_0x540be7(0x13d)])==null?'':_0x324a23)[_0x540be7(0x304)](),_0x282f2e=_0x4ee963===0x0&&_0x3b26a5?{..._0x2b36cb==null?{}:_0x2b36cb,'v':(_0x460bdd=_0x2b36cb==null?void 0x0:_0x2b36cb['v'])==null?null:_0x460bdd,'t':pi((_0x2b73ec=_0x2b36cb==null?void 0x0:_0x2b36cb['v'])==null?null:_0x2b73ec),'f':_0x3b26a5,'si':_0x4d9874['id']}:{..._0x2b36cb==null?{}:_0x2b36cb,'v':(_0xdf185b=_0x2b36cb==null?void 0x0:_0x2b36cb['v'])==null?null:_0xdf185b,'t':pi((_0x3dee29=_0x2b36cb==null?void 0x0:_0x2b36cb['v'])==null?null:_0x3dee29),'si':_0x4d9874['id']};_0x506a14[_0x540be7(0xcd)]({'row':_0x4ee963,'col':_0x35d61f,'value':_0x282f2e});});}),_0x506a14[_0x586866(0x1ee)]&&_0x1fb5f3[_0x586866(0xcd)]({'unitId':_0x269d37['id'],'tableId':_0x186e04,'patches':_0x506a14});}),_0x1fb5f3;}function pi(_0x1f4acb){const _0xf5569a=_0x16d78d;return typeof _0x1f4acb==_0xf5569a(0x12e)?_0x2e3f0c[_0xf5569a(0x30e)]:typeof _0x1f4acb==_0xf5569a(0x288)?_0x2e3f0c[_0xf5569a(0x1af)]:typeof _0x1f4acb==_0xf5569a(0xc9)?_0x2e3f0c[_0xf5569a(0x377)]:null;}function mi(_0x1735a4){const _0x4a333b=_0x16d78d;let _0x3417a0=new Map();for(let _0x255c36 of _0x1735a4[_0x4a333b(0xbb)](ci)){let _0x1ddbb9={'fieldName':_0x255c36[0x1]};_0x3417a0['set']('\x1f'+_0x1ddbb9[_0x4a333b(0x348)],_0x1ddbb9);}for(let _0x20b0f2 of _0x1735a4[_0x4a333b(0xbb)](li)){let _0x3bda1b={'tableName':_0x20b0f2[0x1],'fieldName':_0x20b0f2[0x2]};_0x3417a0[_0x4a333b(0x21d)](_0x3bda1b[_0x4a333b(0x1e8)]+'\x1f'+_0x3bda1b[_0x4a333b(0x348)],_0x3bda1b);}for(let _0x1a0515 of _0x1735a4[_0x4a333b(0xbb)](ui)){let _0x4facc2={'fieldName':_0x1a0515[0x2]};_0x3417a0[_0x4a333b(0x21d)]('\x1f'+_0x4facc2[_0x4a333b(0x348)],_0x4facc2);}return Array[_0x4a333b(0x251)](_0x3417a0[_0x4a333b(0x10f)]());}function hi(_0x113f0a,_0xcd6bec,_0x1b3ead){const _0x2de66c=_0x16d78d;let _0x387197=gi(_0x113f0a['tableName'],_0xcd6bec,_0x1b3ead);return{'table':_0x387197,'field':_0x387197?Object[_0x2de66c(0x10f)](_0x387197['fields'])[_0x2de66c(0x2db)](_0xc7664d=>_0xc7664d[_0x2de66c(0x14c)]===_0x113f0a[_0x2de66c(0x348)]):void 0x0};}function gi(_0x3b4df0,_0x34d625,_0x29cab3){const _0x167be8=_0x16d78d;if(!_0x3b4df0||_0x3b4df0===_0x167be8(0xc2)||_0x3b4df0===_0x34d625['id']||_0x3b4df0===_0x34d625[_0x167be8(0x14c)])return _0x34d625;if(!_0x29cab3)return;let _0x35419a=_0x29cab3[_0x167be8(0x1f7)][_0x3b4df0];if(_0x35419a)return _0x35419a;let _0x6d88e8=Object[_0x167be8(0x10f)](_0x29cab3[_0x167be8(0x1f7)])['filter'](_0x3f3c8e=>_0x3f3c8e['name']===_0x3b4df0);return _0x6d88e8['length']===0x1?_0x6d88e8[0x0]:void 0x0;}let _i=class extends _0x10a465{constructor(_0x1192a1,_0x396c35,_0x44baab){const _0x48da92=_0x16d78d;super(),this[_0x48da92(0x2d5)]=_0x1192a1,this['_univerInstanceService']=_0x396c35,L(this,_0x48da92(0x2f6),new di()),L(this,'_registeredSuperTableNames',new Map()),L(this,_0x48da92(0xec),Promise[_0x48da92(0x128)]()),L(this,_0x48da92(0x369),!0x1),this[_0x48da92(0x2c4)]();}[_0x16d78d(0x2c4)](){const _0x1bb35f=_0x16d78d;this[_0x1bb35f(0x23c)]['getAllUnitsForType'](_0x45db82[_0x1bb35f(0x1ed)])['forEach'](_0x11e108=>{const _0x27924c=_0x1bb35f;this[_0x27924c(0x24d)](async()=>{await this['_syncSuperTables'](_0x11e108);});}),this[_0x1bb35f(0x212)](this['_univerInstanceService'][_0x1bb35f(0x2d2)](_0x45db82['UNIVER_BASE'])[_0x1bb35f(0x173)](({unit:_0x2ff119})=>{this['_enqueueFormulaSync'](async()=>{const _0x2fb94c=_0xf159;await this[_0x2fb94c(0x101)](_0x2ff119);});})),this[_0x1bb35f(0x212)](this[_0x1bb35f(0x23c)][_0x1bb35f(0x1cd)](_0x45db82['UNIVER_BASE'])[_0x1bb35f(0x173)](_0x1f5db0=>{const _0x2444dd=_0x1bb35f;this[_0x2444dd(0x24d)](()=>this[_0x2444dd(0x284)](_0x1f5db0[_0x2444dd(0x329)]()));})),this['disposeWithMe'](this[_0x1bb35f(0x2d5)][_0x1bb35f(0xe7)](_0xda6fbc=>this['_onCommandExecuted'](_0xda6fbc)));}['_onCommandExecuted'](_0x5512ff){const _0x2e3398=_0x16d78d;if(_0x5512ff['id']===_0x3f42e8['id']){this[_0x2e3398(0x17a)](_0x5512ff['params']);return;}if(this[_0x2e3398(0x369)]||_0x5512ff['id']!==Y['id'])return;let _0x2d4a0c=_0x5512ff[_0x2e3398(0x109)];(_0x2d4a0c!=null&&_0x2d4a0c[_0x2e3398(0x314)]?[this[_0x2e3398(0x23c)][_0x2e3398(0xf6)](_0x2d4a0c[_0x2e3398(0x314)],_0x45db82[_0x2e3398(0x1ed)])]['filter'](_0x57f0f8=>!!_0x57f0f8):this['_univerInstanceService'][_0x2e3398(0x2c9)](_0x45db82['UNIVER_BASE']))[_0x2e3398(0x165)](_0x812b28=>{const _0x2de65d=_0x2e3398;let _0x3b9048=_0x2d4a0c['op']?ri(_0x2d4a0c['op']):[];(!_0x2d4a0c['op']||_0x3b9048['some'](_0xb99b3f=>_0xb99b3f[_0x2de65d(0x26e)]!==_0x2de65d(0x1aa)))&&this[_0x2de65d(0x24d)](()=>this[_0x2de65d(0x101)](_0x812b28));});}async[_0x16d78d(0x101)](_0x24ccc3){const _0x279422=_0x16d78d;var _0x4f5681;let _0x16bfd3=_0x24ccc3[_0x279422(0x329)](),_0x1f0d5c=this[_0x279422(0x2f6)][_0x279422(0x12d)](_0x24ccc3['getSnapshot']()),_0x39dd66=new Set(_0x1f0d5c['map'](({tableName:_0x4b0d4b})=>_0x4b0d4b)),_0x56fc4f=(_0x4f5681=this[_0x279422(0x1e2)][_0x279422(0x36e)](_0x16bfd3))==null?new Set():_0x4f5681;for(let _0x37ecf8 of _0x56fc4f)_0x39dd66[_0x279422(0x277)](_0x37ecf8)||await this[_0x279422(0x2d5)][_0x279422(0x114)](_0x1ccd1b['id'],{'unitId':_0x16bfd3,'tableName':_0x37ecf8});for(let {tableName:_0x201935,reference:_0x52ffa9}of _0x1f0d5c)await this[_0x279422(0x2d5)][_0x279422(0x114)](_0x41451e['id'],{'unitId':_0x16bfd3,'tableName':_0x201935,'reference':_0x52ffa9});this['_registeredSuperTableNames'][_0x279422(0x21d)](_0x16bfd3,_0x39dd66);}async[_0x16d78d(0x284)](_0x43fe2e){const _0x3c26be=_0x16d78d;var _0x487720;let _0x1611e7=(_0x487720=this[_0x3c26be(0x1e2)]['get'](_0x43fe2e))==null?new Set():_0x487720;for(let _0x495810 of _0x1611e7)await this[_0x3c26be(0x2d5)]['executeCommand'](_0x1ccd1b['id'],{'unitId':_0x43fe2e,'tableName':_0x495810});this[_0x3c26be(0x1e2)][_0x3c26be(0x2a5)](_0x43fe2e);}[_0x16d78d(0x24d)](_0x4159ff){const _0x4b53dd=_0x16d78d;this[_0x4b53dd(0xec)]=this[_0x4b53dd(0xec)][_0x4b53dd(0x2a9)](_0x4159ff,_0x4159ff)[_0x4b53dd(0x272)](()=>void 0x0);}[_0x16d78d(0x17a)](_0x55ee75){const _0x392fc6=_0x16d78d;let _0xd672a4=this[_0x392fc6(0x23c)][_0x392fc6(0x2c9)](_0x45db82[_0x392fc6(0x1ed)])['flatMap'](_0x3a9942=>fi(_0x3a9942[_0x392fc6(0x254)](),_0x55ee75));if(!_0xd672a4['length'])return;let _0x3b5971=new F();this[_0x392fc6(0x369)]=!0x0,(async()=>{const _0x31b87e=_0x392fc6;for(let _0xca48d1 of _0xd672a4){let _0x3a81ec=this[_0x31b87e(0x23c)][_0x31b87e(0xf6)](_0xca48d1[_0x31b87e(0x314)],_0x45db82[_0x31b87e(0x1ed)]);_0x3a81ec&&await this[_0x31b87e(0x2d5)][_0x31b87e(0x114)](Y['id'],{'unitId':_0xca48d1[_0x31b87e(0x314)],'op':_0x3b5971['setRangeValues'](_0x3a81ec[_0x31b87e(0x254)](),_0xca48d1[_0x31b87e(0x21c)],_0xca48d1[_0x31b87e(0x27a)]),'trigger':_0x3f42e8['id']},{'onlyLocal':!0x0});}})()[_0x392fc6(0xd2)](()=>{const _0x2be262=_0x392fc6;this[_0x2be262(0x369)]=!0x1;});}};_i=B([z(0x0,_0x4bf63b),z(0x1,_0x4c4561),z(0x2,_0x2aaad9(_0x5c56ad))],_i);const vi=_0x2eeafa(_0x16d78d(0x28a));let yi=class{constructor(_0x26858b){const _0x2334b2=_0x16d78d;this[_0x2334b2(0x23c)]=_0x26858b;}['getBase'](_0x4df216){const _0x3e3b9e=_0x16d78d;var _0x348ce5;return(_0x348ce5=this[_0x3e3b9e(0x23c)][_0x3e3b9e(0xf6)](_0x4df216,_0x45db82[_0x3e3b9e(0x1ed)]))==null?null:_0x348ce5;}['getAllBases'](){const _0x5163a2=_0x16d78d;return this[_0x5163a2(0x23c)][_0x5163a2(0x2c9)](_0x45db82[_0x5163a2(0x1ed)]);}['createBase'](_0x855d31){const _0x2c2839=_0x16d78d;return this['_univerInstanceService'][_0x2c2839(0x175)](_0x45db82[_0x2c2839(0x1ed)],_0x855d31);}};yi=B([z(0x0,_0x4c4561)],yi);const bi=_0x2eeafa('base.view-registry.service');var xi=class extends _0x10a465{constructor(..._0x4b721e){super(..._0x4b721e),L(this,'_plugins',new Map());}[_0x16d78d(0xe9)](_0x4e6fc6){const _0xfa6ea0=_0x16d78d;return this[_0xfa6ea0(0x2cc)]['set'](_0x4e6fc6[_0xfa6ea0(0x14a)],_0x4e6fc6),_0x3f89c7(()=>this['_plugins']['delete'](_0x4e6fc6['type']));}['get'](_0x5e3bf0){const _0x5a2ef1=_0x16d78d;let _0x43f1b8=this[_0x5a2ef1(0x2cc)]['get'](_0x5e3bf0);if(!_0x43f1b8)throw Error('[BaseViewRegistryService]:\x20view\x20type\x20\x22'+_0x5e3bf0+_0x5a2ef1(0x125));return _0x43f1b8;}['getAll'](){const _0x551218=_0x16d78d;return Array[_0x551218(0x251)](this['_plugins'][_0x551218(0x10f)]());}};const Si=[Y];function _0xf159(_0x4ac653,_0x1bdafc){_0x4ac653=_0x4ac653-0xad;const _0x72cc70=_0x72cc();let _0xf15995=_0x72cc70[_0x4ac653];return _0xf15995;}let Z=class extends _0x1f1f96{constructor(_0x44328d=ti,_0x588fa3,_0x13e6b3,_0x275c03,_0x13fb19,_0x17383a){const _0x576ee9=_0x16d78d;super(),this[_0x576ee9(0x357)]=_0x44328d,this[_0x576ee9(0x20f)]=_0x588fa3,this[_0x576ee9(0x2d5)]=_0x13e6b3,this[_0x576ee9(0x23c)]=_0x275c03,this['_configService']=_0x13fb19,this[_0x576ee9(0x2fa)]=_0x17383a,L(this,_0x576ee9(0x2e5),new Map());let {..._0x3fcca3}=_0x193490({},ti,this[_0x576ee9(0x357)]);this['_configService'][_0x576ee9(0x1fd)](_0x576ee9(0x34e),_0x3fcca3),this['_univerInstanceService']['registerCtorForType'](_0x45db82[_0x576ee9(0x1ed)],_0x2687e8),this['_initDependencies'](),this[_0x576ee9(0x2bd)](),this[_0x576ee9(0x371)](),this['_initDataSync']();}[_0x16d78d(0x360)](){const _0x3d0ccb=_0x16d78d;_0x4000d7(this['_injector'],[[yi],[H],[oi]]),this[_0x3d0ccb(0x23c)]['getAllUnitsForType'](_0x45db82[_0x3d0ccb(0x1ed)])[_0x3d0ccb(0x165)](_0x343f9d=>this[_0x3d0ccb(0xad)](_0x343f9d['getUnitId']())),_0x4000d7(this[_0x3d0ccb(0x20f)],[[_i]]);}['_initDependencies'](){const _0x54f991=_0x16d78d;[[$t,{'useClass':en}],[bi,{'useClass':xi}],[W,{'useClass':hn}],[vi,{'useClass':yi}],[tn,{'useClass':nn}],[V,{'useClass':H}],[oi],[_i]][_0x54f991(0x165)](_0x101f7d=>this['_injector']['add'](_0x101f7d));}[_0x16d78d(0x2bd)](){const _0x339fdf=_0x16d78d;[Xn,Cr,mr,Pr,Dr,Er,Yn,Gn,pr,Kn,_r,Rr,Jn,gr,Ir,Fr,qn,fr,xr,dr,vr,wr,hr,Sr,zr,Tr,Lr,jr,Nr,Mr,kr,Ar,Or,...Si]['forEach'](_0x992e0c=>this[_0x339fdf(0x212)](this[_0x339fdf(0x2d5)][_0x339fdf(0x27c)](_0x992e0c))),Si[_0x339fdf(0x165)](_0x1b4d85=>{const _0x1b4a89=_0x339fdf;var _0x201b81;return(_0x201b81=this[_0x1b4a89(0x2fa)])==null?void 0x0:_0x201b81['registerSyncingMutations'](_0x1b4d85);});}[_0x16d78d(0x23e)](){const _0x80cfe2=_0x16d78d;this[_0x80cfe2(0x2fa)]&&(this[_0x80cfe2(0x212)](this[_0x80cfe2(0x23c)]['getTypeOfUnitAdded$'](_0x45db82[_0x80cfe2(0x1ed)])[_0x80cfe2(0x173)](({unit:_0x42cbc7})=>{const _0x32c012=_0x80cfe2;this[_0x32c012(0xad)](_0x42cbc7[_0x32c012(0x329)]());})),this[_0x80cfe2(0x212)](this[_0x80cfe2(0x23c)]['getTypeOfUnitDisposed$'](_0x45db82[_0x80cfe2(0x1ed)])[_0x80cfe2(0x173)](_0x7b5f79=>{const _0x585fd6=_0x80cfe2;var _0x1ba675;(_0x1ba675=this['_baseSyncDisposables'][_0x585fd6(0x36e)](_0x7b5f79[_0x585fd6(0x329)]()))==null||_0x1ba675[_0x585fd6(0x28d)](),this[_0x585fd6(0x2e5)]['delete'](_0x7b5f79[_0x585fd6(0x329)]());})));}['_syncBaseUnit'](_0x4c26e3){const _0x2cd352=_0x16d78d;!this[_0x2cd352(0x2fa)]||this[_0x2cd352(0x2e5)][_0x2cd352(0x277)](_0x4c26e3)||this[_0x2cd352(0x2e5)][_0x2cd352(0x21d)](_0x4c26e3,this[_0x2cd352(0x2fa)][_0x2cd352(0x236)](_0x4c26e3));}['_initRegistries'](){const _0x209d3f=_0x16d78d;let _0x2c40c7=this[_0x209d3f(0x20f)]['get']($t);kt()[_0x209d3f(0x165)](_0x31d52f=>_0x2c40c7['register'](_0x31d52f));let _0x5a2b56=this['_injector'][_0x209d3f(0x36e)](bi),_0x49a0c1=this[_0x209d3f(0x20f)][_0x209d3f(0x36e)](W);ln()['forEach'](_0x4ed7b2=>{const _0x2ff344=_0x209d3f;_0x5a2b56['register'](_0x4ed7b2),_0x49a0c1[_0x2ff344(0x1d2)](_0x4ed7b2);});}};L(Z,_0x16d78d(0x199),'BASES_PLUGIN'),L(Z,_0x16d78d(0x1d8),$r),L(Z,_0x16d78d(0x171),ei),L(Z,'type',_0x45db82[_0x16d78d(0x1ed)]),Z=B([_0x3f308b(_0x244464,_0x4ef977),z(0x1,_0x2aaad9(_0x2d625e)),z(0x2,_0x4bf63b),z(0x3,_0x4c4561),z(0x4,_0x8e1870),z(0x5,_0x21d5d7(_0x2e756d))],Z);let Q=class extends _0x1f1f96{constructor(_0x13b39c=ni,_0x12f9e9,_0x4e2ea4,_0x51cd29,_0x5378c6){const _0x1f007f=_0x16d78d;super(),this['_config']=_0x13b39c,this[_0x1f007f(0x20f)]=_0x12f9e9,this['_commandService']=_0x4e2ea4,this[_0x1f007f(0x2aa)]=_0x51cd29,this['_univerInstanceService']=_0x5378c6;let {..._0x3f5abf}=_0x193490({},ni,this[_0x1f007f(0x357)]);this[_0x1f007f(0x2aa)][_0x1f007f(0x1fd)]('bases.remote.config',_0x3f5abf),this[_0x1f007f(0x23c)][_0x1f007f(0x2e2)](_0x45db82['UNIVER_BASE'],_0x2687e8),Si[_0x1f007f(0x165)](_0x16af80=>this['disposeWithMe'](this[_0x1f007f(0x2d5)]['registerCommand'](_0x16af80)));}};L(Q,_0x16d78d(0x199),_0x16d78d(0x240)),L(Q,'packageName',$r),L(Q,_0x16d78d(0x171),ei),L(Q,_0x16d78d(0x14a),_0x45db82[_0x16d78d(0x1ed)]),Q=B([_0x3f308b(_0x244464,_0x4ef977),z(0x1,_0x2aaad9(_0x2d625e)),z(0x2,_0x4bf63b),z(0x3,_0x8e1870),z(0x4,_0x4c4561)],Q);function Ci(_0x214a94){const _0x4e990f=_0x16d78d;let _0x29e5e3=Ii(_0x214a94[_0x4e990f(0x2e1)]);if(!_0x29e5e3)return{'query':'','total':0x0,'matches':[]};let _0x574f0d=[],_0x22bd93=[];for(let _0x4b6046=0x0;_0x4b6046<_0x214a94[_0x4e990f(0x321)][_0x4e990f(0x1ee)];_0x4b6046++){if(!(_0x4b6046 in _0x214a94[_0x4e990f(0x321)]))continue;let _0x818880=_0x214a94[_0x4e990f(0xc2)][_0x4e990f(0x30b)][_0x214a94[_0x4e990f(0x321)][_0x4b6046]];_0x818880&&_0x22bd93[_0x4e990f(0xcd)]({'field':_0x818880,'fieldIndex':_0x4b6046});}_0x214a94[_0x4e990f(0x221)][_0x4e990f(0x165)]((_0xf4310c,_0x995b58)=>{const _0x1059ae=_0x4e990f;_0x22bd93[_0x1059ae(0x165)](({field:_0x28e0df,fieldIndex:_0x492a40})=>{const _0x5524ba=_0x1059ae;let _0x1e80d4=wi(_0xf4310c[_0x5524ba(0x10f)][_0x28e0df['id']],_0x28e0df);if(!_0x1e80d4)return;let _0x3e14d5=Fi(_0x29e5e3,_0x1e80d4['searchTexts']);_0x3e14d5<=0x0||_0x574f0d[_0x5524ba(0xcd)]({'recordId':_0xf4310c['recordId'],'fieldId':_0x28e0df['id'],'fieldType':_0x28e0df[_0x5524ba(0x14a)],'text':_0x1e80d4['displayText'],'score':_0x3e14d5,'rowIndex':_0x995b58,'fieldIndex':_0x492a40});});}),_0x574f0d[_0x4e990f(0x194)]((_0x1bd293,_0x50295f)=>_0x50295f[_0x4e990f(0x26c)]-_0x1bd293[_0x4e990f(0x26c)]||_0x1bd293[_0x4e990f(0x34b)]-_0x50295f[_0x4e990f(0x34b)]||_0x1bd293[_0x4e990f(0x2d0)]-_0x50295f['fieldIndex']);let _0x5d073e=_0x214a94['limit']==null?_0x574f0d:_0x574f0d['slice'](0x0,Math['max'](0x0,_0x214a94['limit']));return{'query':_0x29e5e3,'total':_0x574f0d[_0x4e990f(0x1ee)],'matches':Ri(_0x5d073e)};}function wi(_0x32b2f5,_0x2845bb){const _0x33e138=_0x16d78d;let _0x3b550b=[];for(let _0x37efec of Ei(_0x32b2f5,_0x2845bb)){let _0x5b13ab=Ii(_0x37efec);_0x5b13ab&&_0x3b550b['push'](_0x5b13ab);}return _0x3b550b[_0x33e138(0x1ee)]?{'displayText':Ti(_0x32b2f5,_0x2845bb),'searchTexts':Li(_0x3b550b)}:null;}function Ti(_0x5d651a,_0x522c51){const _0x50f135=_0x16d78d;switch(_0x522c51[_0x50f135(0x14a)]){case _0x3d85e5[_0x50f135(0xe8)]:case _0x3d85e5[_0x50f135(0x23f)]:case _0x3d85e5['Group']:return Di(_0x5d651a,_0x522c51)['join'](',\x20');case _0x3d85e5[_0x50f135(0x33c)]:return Ai(_0x5d651a);case _0x3d85e5[_0x50f135(0x299)]:case _0x3d85e5['CreatedAt']:case _0x3d85e5[_0x50f135(0x134)]:return ji(_0x5d651a,_0x522c51);case _0x3d85e5[_0x50f135(0x355)]:case _0x3d85e5['Currency']:return Mi(_0x5d651a,_0x522c51);case _0x3d85e5['Progress']:return Ni(_0x5d651a,_0x522c51);case _0x3d85e5[_0x50f135(0x185)]:return _0x5d651a?_0x50f135(0x271):'Unchecked';case _0x3d85e5['Attachment']:return Pi(_0x5d651a)['join'](',\x20');default:return $(_0x5d651a);}}function Ei(_0x344c91,_0x559519){const _0x977be2=_0x16d78d;switch(_0x559519[_0x977be2(0x14a)]){case _0x3d85e5[_0x977be2(0xe8)]:case _0x3d85e5[_0x977be2(0x23f)]:case _0x3d85e5[_0x977be2(0xe6)]:{let _0x3b9abc=Di(_0x344c91,_0x559519);if(Array[_0x977be2(0x352)](_0x344c91)){let _0x59745f=[..._0x3b9abc];for(let _0x4440e7=0x0;_0x4440e7<_0x344c91[_0x977be2(0x1ee)];_0x4440e7++)_0x4440e7 in _0x344c91&&_0x59745f['push'](String(_0x344c91[_0x4440e7]));return _0x59745f;}return _0x344c91==null?_0x3b9abc:[..._0x3b9abc,String(_0x344c91)];}case _0x3d85e5[_0x977be2(0x33c)]:{let _0x426289=ki(_0x344c91);return[_0x426289['text'],_0x426289[_0x977be2(0x190)]];}case _0x3d85e5[_0x977be2(0x299)]:case _0x3d85e5['CreatedAt']:case _0x3d85e5['UpdatedAt']:return[ji(_0x344c91,_0x559519),$(_0x344c91)];case _0x3d85e5[_0x977be2(0x355)]:case _0x3d85e5[_0x977be2(0x237)]:return[Mi(_0x344c91,_0x559519),$(_0x344c91)];case _0x3d85e5[_0x977be2(0x19a)]:return[Ni(_0x344c91,_0x559519),$(_0x344c91)];case _0x3d85e5[_0x977be2(0x185)]:return _0x344c91?[_0x977be2(0x271),_0x977be2(0x34a),'True']:['Unchecked','No',_0x977be2(0x1e6)];case _0x3d85e5[_0x977be2(0x18d)]:return Pi(_0x344c91);default:return[$(_0x344c91)];}}function Di(_0x470a58,_0x1aa4b8){const _0x430893=_0x16d78d;var _0x3e7faa;let _0x8fa038=Array[_0x430893(0x352)]((_0x3e7faa=_0x1aa4b8['config'])==null?void 0x0:_0x3e7faa[_0x430893(0x225)])?_0x1aa4b8[_0x430893(0x2ad)][_0x430893(0x225)]:[],_0x435569=[];if(Array['isArray'](_0x470a58)){for(let _0x2506c6=0x0;_0x2506c6<_0x470a58[_0x430893(0x1ee)];_0x2506c6++){if(!(_0x2506c6 in _0x470a58))continue;let _0x564aaf=String(_0x470a58[_0x2506c6]);_0x564aaf&&_0x435569[_0x430893(0xcd)](Oi(_0x8fa038,_0x564aaf));}return _0x435569;}if(_0x470a58!=null){let _0x425c68=String(_0x470a58);_0x425c68&&_0x435569[_0x430893(0xcd)](Oi(_0x8fa038,_0x425c68));}return _0x435569;}function Oi(_0x15d010,_0x35836a){const _0x16ad31=_0x16d78d;for(let _0x89c475 of _0x15d010){if(typeof _0x89c475==_0x16ad31(0xc9)&&_0x89c475===_0x35836a)return _0x89c475;if(_0x89c475&&typeof _0x89c475=='object'){var _0x5217f1,_0x19b2cd,_0x2bbc44;let _0x3c56b8=_0x89c475;if(String((_0x5217f1=(_0x19b2cd=_0x3c56b8['id'])==null?_0x3c56b8['name']:_0x19b2cd)==null?'':_0x5217f1)===_0x35836a||String((_0x2bbc44=_0x3c56b8['name'])==null?'':_0x2bbc44)===_0x35836a){var _0x378f33,_0x3a161a;return String((_0x378f33=(_0x3a161a=_0x3c56b8[_0x16ad31(0x14c)])==null?_0x3c56b8['id']:_0x3a161a)==null?_0x35836a:_0x378f33);}}}return _0x35836a;}function ki(_0x1cb571){const _0x3eb518=_0x16d78d;if(_0x1cb571&&typeof _0x1cb571==_0x3eb518(0x1ae)&&!Array[_0x3eb518(0x352)](_0x1cb571)){var _0x1a2318,_0x30e997,_0x230588;let _0x4d5ac2=_0x1cb571;return{'text':String((_0x1a2318=(_0x30e997=_0x4d5ac2[_0x3eb518(0x349)])==null?_0x4d5ac2[_0x3eb518(0x190)]:_0x30e997)==null?'':_0x1a2318),'url':String((_0x230588=_0x4d5ac2[_0x3eb518(0x190)])==null?'':_0x230588)};}return{'text':$(_0x1cb571),'url':$(_0x1cb571)};}function Ai(_0x2ed93f){const _0x492244=_0x16d78d;let _0x14c1d1=ki(_0x2ed93f);return _0x14c1d1['text']||_0x14c1d1[_0x492244(0x190)];}function ji(_0x33f6fb,_0x5058f0){const _0x75887d=_0x16d78d;return typeof _0x33f6fb!='number'||!Number[_0x75887d(0xb7)](_0x33f6fb)?'':ot(_0x33f6fb,_0x5058f0[_0x75887d(0x2ad)]);}function Mi(_0x5bf2ec,_0x1f07a5){const _0x53f5b0=_0x16d78d;let _0x13b440=typeof _0x5bf2ec==_0x53f5b0(0x12e)?_0x5bf2ec:Number(_0x5bf2ec);return Number['isFinite'](_0x13b440)?qr(_0x13b440,_0x1f07a5[_0x53f5b0(0x2ad)]):'';}function Ni(_0x434b16,_0x25ba78){const _0x1d2479=_0x16d78d;var _0x24811a;let _0x5a142c=typeof _0x434b16==_0x1d2479(0x12e)?_0x434b16:Number(_0x434b16);if(!Number['isFinite'](_0x5a142c))return'';let _0x5a340a=(_0x24811a=_0x25ba78['config'])==null?{}:_0x24811a,_0x1f86c8=_0x5a340a['decimalPlaces']===0x1||_0x5a340a[_0x1d2479(0x335)]===0x2?_0x5a340a[_0x1d2479(0x335)]:0x0,_0x43c8c6=_0x5a142c['toFixed'](_0x1f86c8);return _0x5a340a['format']===_0x1d2479(0x12e)?_0x43c8c6:_0x43c8c6+'%';}function Pi(_0x284028){const _0x7ecc9d=_0x16d78d;return Array[_0x7ecc9d(0x352)](_0x284028)?_0x284028['flatMap'](_0x56a3e2=>{const _0x503d64=_0x7ecc9d;var _0x4f3233,_0x3f3698;if(!_0x56a3e2||typeof _0x56a3e2!=_0x503d64(0x1ae))return[];let _0x34e152=_0x56a3e2,_0xe91c12=String((_0x4f3233=(_0x3f3698=_0x34e152['name'])==null?_0x34e152[_0x503d64(0x190)]:_0x3f3698)==null?'':_0x4f3233)[_0x503d64(0x304)]();return _0xe91c12?[_0xe91c12]:[];}):[];}function $(_0x520c8d){const _0x117e59=_0x16d78d;if(_0x520c8d==null)return'';if(typeof _0x520c8d==_0x117e59(0x288))return _0x520c8d?_0x117e59(0x25f):_0x117e59(0x12f);if(typeof _0x520c8d==_0x117e59(0x12e))return String(_0x520c8d);if(Array[_0x117e59(0x352)](_0x520c8d)){let _0x245807=[];for(let _0x48bc1a=0x0;_0x48bc1a<_0x520c8d['length'];_0x48bc1a++){if(!(_0x48bc1a in _0x520c8d))continue;let _0x44ed6d=$(_0x520c8d[_0x48bc1a]);_0x44ed6d&&_0x245807[_0x117e59(0xcd)](_0x44ed6d);}return _0x245807['join'](',\x20');}if(typeof _0x520c8d=='object'){var _0x35aee5,_0x2d99f5,_0x4611ce,_0x158ba5;let _0x3d07c1=_0x520c8d;return String((_0x35aee5=(_0x2d99f5=(_0x4611ce=(_0x158ba5=_0x3d07c1['title'])==null?_0x3d07c1['name']:_0x158ba5)==null?_0x3d07c1[_0x117e59(0x349)]:_0x4611ce)==null?_0x3d07c1['url']:_0x2d99f5)==null?'':_0x35aee5)[_0x117e59(0x304)]();}return String(_0x520c8d);}function Fi(_0x2f4211,_0x4ee3ac){const _0x41a6f3=_0x16d78d;let _0x43c5d5=0x0;for(let _0x406516 of _0x4ee3ac)if(_0x406516){if(_0x406516===_0x2f4211){_0x43c5d5=Math[_0x41a6f3(0x2f9)](_0x43c5d5,0x12c);continue;}if(_0x406516['startsWith'](_0x2f4211)){_0x43c5d5=Math[_0x41a6f3(0x2f9)](_0x43c5d5,0xfa);continue;}_0x406516[_0x41a6f3(0x1d9)](_0x2f4211)&&(_0x43c5d5=Math[_0x41a6f3(0x2f9)](_0x43c5d5,0xc8));}return _0x43c5d5;}function Ii(_0x188a42){const _0x43a0bd=_0x16d78d;return _0x188a42[_0x43a0bd(0x304)]()['replace'](/\s+/g,'\x20')['toLowerCase']();}function Li(_0x3dd054){const _0x1a0f59=_0x16d78d;return Array[_0x1a0f59(0x251)](new Set(_0x3dd054));}function Ri(_0x50e260){const _0x5f3f53=_0x16d78d;let _0x149ce0=[];for(let {rowIndex:_0x25612a,fieldIndex:_0xd7739,..._0x218bb4}of _0x50e260)_0x149ce0[_0x5f3f53(0xcd)](_0x218bb4);return _0x149ce0;}export{Y as ApplyBaseJson1Mutation,D as BaseJson1OpApplier,F as BaseJson1OpFactory,Gn as BatchCreateBaseRecordsCommand,Kn as BatchDeleteBaseRecordsCommand,qn as ChangeBaseFieldTypeCommand,Jn as CreateBaseFieldCommand,Yn as CreateBaseRecordCommand,Xn as CreateBaseTableCommand,dr as CreateBaseViewCommand,fr as DeleteBaseFieldCommand,pr as DeleteBaseRecordCommand,mr as DeleteBaseTableCommand,hr as DeleteBaseViewCommand,gr as DuplicateBaseFieldCommand,_r as DuplicateBaseRecordCommand,Vr as EMBED_BASES_TABLE_RESOURCE_KEY,vr as EnsureBaseTemporalViewDateFieldsCommand,V as IBaseCommandService,tn as IBasePermissionService,W as IBaseProjectionService,bi as IBaseViewRegistryService,xr as MoveBaseFieldCommand,Sr as MoveBaseViewCommand,Cr as RenameBaseTableCommand,wr as RenameBaseViewCommand,Tr as SetBaseKanbanGroupFieldCommand,Er as SetBaseRangeValuesCommand,Dr as SetBaseRecordValuesCommand,Or as SetBaseViewFieldOrderCommand,kr as SetBaseViewFieldVisibleCommand,Ar as SetBaseViewFieldWidthCommand,jr as SetBaseViewFilterCommand,Mr as SetBaseViewGroupCommand,Nr as SetBaseViewSortCommand,Z as UniverBasesPlugin,Q as UniverRemoteBasesPlugin,Pr as UpdateBaseCellCommand,Ir as UpdateBaseFieldCommand,Fr as UpdateBaseFieldDescriptionCommand,Lr as UpdateBaseKanbanConfigCommand,Rr as UpdateBaseRecordOrderCommand,zr as UpdateBaseViewConfigCommand,A as baseDateSerialToDateMs,Qr as copyBaseTableSnapshot,Br as createDefaultBaseTableSnapshot,Hr as createEmbedBasesTable,Ur as createEmbedBasesTableAddMutation,Wr as createEmbedBasesTableRemoveMutation,O as dateToExcelSerial,w as ensureBaseTableCellLayout,ot as formatBaseDateValue,qr as formatBaseNumberValue,Te as getBaseCellFormulaValue,we as getBaseCellValue,Zr as inferBaseSeparatorStyle,dt as matchesBaseCondition,k as normalizeBaseDateSerial,Ci as searchBaseTable,C as traceBasePerformance,Zn as uniqueFieldName};
|