@univerjs-pro/bases 1.0.0-alpha.6 → 1.0.0-alpha.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ar-SA.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/de-DE.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/id-ID.js +1 -1
- package/lib/cjs/locale/it-IT.js +1 -1
- package/lib/cjs/locale/ja-JP.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/pl-PL.js +1 -1
- package/lib/cjs/locale/pt-BR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/sk-SK.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-HK.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ar-SA.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/de-DE.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/id-ID.js +1 -1
- package/lib/es/locale/it-IT.js +1 -1
- package/lib/es/locale/ja-JP.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/pl-PL.js +1 -1
- package/lib/es/locale/pt-BR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/sk-SK.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-HK.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/ar-SA.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/de-DE.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/id-ID.js +1 -1
- package/lib/locale/it-IT.js +1 -1
- package/lib/locale/ja-JP.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/pl-PL.js +1 -1
- package/lib/locale/pt-BR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/sk-SK.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-HK.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ar-SA.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/de-DE.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/id-ID.js +1 -1
- package/lib/umd/locale/it-IT.js +1 -1
- package/lib/umd/locale/ja-JP.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/pl-PL.js +1 -1
- package/lib/umd/locale/pt-BR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/sk-SK.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-HK.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +6 -6
package/lib/es/locale/zh-TW.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x45f3(){const _0x5bebe2=['更新視圖設置','5889QlVTFn','看板需要可分組字段','輸入內容','創建字段','11KqcuUg','創建記錄','3114PcVJfW','刪除記錄','刪除字段','15CGPuMj','雙向關聯','882WawXHn','甘特視圖需要開始和結束日期字段','創建時間','電話號碼','創建人','複選框','記錄\x20ID','輸入\x20URL(例如\x20univer.ai\x20或\x20https://univer.ai/skills)。','139799lPGaTI','更新時間','10697328bDEGtx','14890ZiPPzv','158WcsHYV','日曆需要日期字段','修改人','173260YuoWIl','更新單元格','19398MwxBaA','字段類型無效','3607072zrShvW'];_0x45f3=function(){return _0x5bebe2;};return _0x45f3();}const _0x4f5cd6=_0x3a92;function _0x3a92(_0x4194b4,_0x429a1f){_0x4194b4=_0x4194b4-0xc6;const _0x45f383=_0x45f3();let _0x3a9237=_0x45f383[_0x4194b4];return _0x3a9237;}(function(_0x219701,_0x4c591e){const _0x4d2529=_0x3a92,_0x3be6ae=_0x219701();while(!![]){try{const _0x1be38f=parseInt(_0x4d2529(0xc8))/0x1+-parseInt(_0x4d2529(0xcc))/0x2*(-parseInt(_0x4d2529(0xd5))/0x3)+-parseInt(_0x4d2529(0xcf))/0x4*(parseInt(_0x4d2529(0xde))/0x5)+-parseInt(_0x4d2529(0xd1))/0x6*(-parseInt(_0x4d2529(0xe0))/0x7)+-parseInt(_0x4d2529(0xd3))/0x8+parseInt(_0x4d2529(0xdb))/0x9*(-parseInt(_0x4d2529(0xcb))/0xa)+-parseInt(_0x4d2529(0xd9))/0xb*(-parseInt(_0x4d2529(0xca))/0xc);if(_0x1be38f===_0x4c591e)break;else _0x3be6ae['push'](_0x3be6ae['shift']());}catch(_0x662b69){_0x3be6ae['push'](_0x3be6ae['shift']());}}}(_0x45f3,0x797f7));const e={'bases':{'fieldType':{'text':'文本','singleSelect':'單選','multiSelect':'多選','person':'人員','group':'分組','date':'日期','attachment':'附件','number':'數字','checkbox':_0x4f5cd6(0xe5),'link':'鏈接','formula':'公式','lookup':'查找','flow':'流程','button':'按鈕','numbering':'編號','phone':_0x4f5cd6(0xe3),'email':'郵箱','location':'位置','barcode':'條碼','progress':'進度','currency':'貨幣','rating':'評分','twoWayLink':_0x4f5cd6(0xdf),'recordId':_0x4f5cd6(0xc6),'createdBy':_0x4f5cd6(0xe4),'updatedBy':_0x4f5cd6(0xce),'createdAt':_0x4f5cd6(0xe2),'updatedAt':_0x4f5cd6(0xc9),'summary':'彙總'},'fieldConfig':{'textPlaceholder':_0x4f5cd6(0xd7),'linkPlaceholder':_0x4f5cd6(0xc7)},'viewType':{'grid':'表格','kanban':'看板','calendar':'日曆','gantt':'甘特','gallery':'畫廊'},'error':{'fieldNameRequired':'字段標題不能為空','invalidFieldType':_0x4f5cd6(0xd2),'invalidCellValue':'單元格值無效','invalidKanbanGroupField':_0x4f5cd6(0xd6),'invalidCalendarDateField':_0x4f5cd6(0xcd),'invalidGanttDateField':_0x4f5cd6(0xe1)},'command':{'updateCell':_0x4f5cd6(0xd0),'createField':_0x4f5cd6(0xd8),'deleteField':_0x4f5cd6(0xdd),'createRecord':_0x4f5cd6(0xda),'deleteRecord':_0x4f5cd6(0xdc),'updateViewConfig':_0x4f5cd6(0xd4)}}};export{e as default};
|
package/lib/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x5bd08b=_0x538a;function _0x538a(_0x4cbbb0,_0x4e74d6){_0x4cbbb0=_0x4cbbb0-0x18e;const _0x2bcb19=_0x2bcb();let _0x538a6a=_0x2bcb19[_0x4cbbb0];return _0x538a6a;}(function(_0x30be14,_0x43c10a){const _0x3f50fa=_0x538a,_0x65b7bc=_0x30be14();while(!![]){try{const _0x55bdc1=-parseInt(_0x3f50fa(0x1a5))/0x1*(-parseInt(_0x3f50fa(0x1cf))/0x2)+-parseInt(_0x3f50fa(0x253))/0x3*(-parseInt(_0x3f50fa(0x1a8))/0x4)+parseInt(_0x3f50fa(0x268))/0x5+parseInt(_0x3f50fa(0x1b5))/0x6*(-parseInt(_0x3f50fa(0x254))/0x7)+-parseInt(_0x3f50fa(0x1ac))/0x8+-parseInt(_0x3f50fa(0x246))/0x9*(-parseInt(_0x3f50fa(0x1e7))/0xa)+-parseInt(_0x3f50fa(0x1f4))/0xb*(parseInt(_0x3f50fa(0x24b))/0xc);if(_0x55bdc1===_0x43c10a)break;else _0x65b7bc['push'](_0x65b7bc['shift']());}catch(_0x1d2765){_0x65b7bc['push'](_0x65b7bc['shift']());}}}(_0x2bcb,0x90cba));import{BatchCreateBaseRecordsCommand as _0x448856,BatchDeleteBaseRecordsCommand as _0x23c648,ChangeBaseFieldTypeCommand as _0x2ee811,CreateBaseFieldCommand as _0x184d99,CreateBaseRecordCommand as _0x121d2e,CreateBaseTableCommand as _0x55a28e,CreateBaseViewCommand as _0x54aea6,DeleteBaseFieldCommand as _0x35c0c6,DeleteBaseRecordCommand as _0x3628a2,DeleteBaseTableCommand as _0x1ec17e,DeleteBaseViewCommand as _0x3a28cc,DuplicateBaseRecordCommand as _0x59fe1e,IBaseProjectionService as _0x1551fd,MoveBaseFieldCommand as _0x206643,MoveBaseViewCommand as _0x23539e,RenameBaseTableCommand as _0x1341d2,RenameBaseViewCommand as _0x2360c0,SetBaseNameCommand as _0x4e3765,SetBaseRangeValuesCommand as _0x39da31,SetBaseRecordValuesCommand as _0x1529c6,SetBaseViewFieldOrderCommand as _0x3c1eeb,SetBaseViewFieldVisibleCommand as _0x358890,SetBaseViewFieldWidthCommand as _0x41a27a,SetBaseViewFilterCommand as _0x3566b4,SetBaseViewGroupCommand as _0x42ee07,SetBaseViewSortCommand as _0x225d57,UpdateBaseCellCommand as _0x2380c6,UpdateBaseFieldCommand as _0x1db162,UpdateBaseRecordOrderCommand as _0x3304cb,UpdateBaseViewConfigCommand as _0x317ea0,copyBaseTableSnapshot as _0x98e38b,ensureBaseTableCellLayout as _0x5b5260,getBaseCellValue as _0x27e16a,matchesBaseCondition as _0x518c09,searchBaseTable as _0x8a5c71}from'@univerjs-pro/bases';import{BaseFieldType as _0x4bca3c,BaseFilterConjunction as _0x468dce,BaseFilterOperator as _0x3db560,BaseSortDirection as _0x1d10d0,BaseViewType as _0x55bec4,CanceledError as _0x42772d,ICommandService as _0x3aa743,IUniverInstanceService as _0x3b88a8,Inject as _0x4fb1ca,Injector as _0x50a63c,Tools as _0x2cdab0,UniverInstanceType as _0x3e71d6,createDefaultBaseTableSnapshot as _0x47faff,generateRandomId as _0x301c12}from'@univerjs/core';import{FEnum as _0x20d9fe,FEventName as _0x1330b7,FUniver as _0x30e147}from'@univerjs/core/facade';var U=class{constructor(_0x4c129d,_0x3dd29e,_0x5b98a1,_0xfe6fae){const _0x4ba44a=_0x538a;this[_0x4ba44a(0x233)]=_0x4c129d,this[_0x4ba44a(0x1ff)]=_0x3dd29e,this[_0x4ba44a(0x21b)]=_0x5b98a1,this[_0x4ba44a(0x1c2)]=_0xfe6fae;}['getId'](){const _0x1486be=_0x538a;return this[_0x1486be(0x21b)];}[_0x5bd08b(0x261)](){const _0x16c725=_0x5bd08b;return this[_0x16c725(0x1a3)]();}[_0x5bd08b(0x1a4)](){const _0x1e0e10=_0x5bd08b;return this[_0x1e0e10(0x1a3)]()['name'];}[_0x5bd08b(0x24e)](){const _0x4bd927=_0x5bd08b;return this['_getField']()[_0x4bd927(0x25f)];}['getConfig'](){const _0x42cf52=_0x5bd08b;return this[_0x42cf52(0x1a3)]()['config'];}[_0x5bd08b(0x238)](){const _0xd253e6=_0x5bd08b;return this[_0xd253e6(0x1a3)]()['defaultValue'];}['getDescription'](){const _0x47be6e=_0x5bd08b;return this[_0x47be6e(0x1a3)]()[_0x47be6e(0x1ef)];}['isReadonly'](){const _0x455a89=_0x5bd08b;return!!this[_0x455a89(0x1a3)]()[_0x455a89(0x204)];}[_0x5bd08b(0x1f3)](_0xb7d4f2){const _0x429210=_0x5bd08b;return this[_0x429210(0x1e1)]({'name':_0xb7d4f2});}[_0x5bd08b(0x1cd)](_0x26a8be){return this['update']({'config':_0x26a8be});}['setDefaultValue'](_0x15a5a9){return this['update']({'defaultValue':_0x15a5a9});}[_0x5bd08b(0x1e1)](_0x875fb9){const _0xbffbb8=_0x5bd08b;return this['_inject'][_0xbffbb8(0x19d)](_0x3aa743)[_0xbffbb8(0x21a)](_0x1db162['id'],{'unitId':this[_0xbffbb8(0x233)][_0xbffbb8(0x1f2)](),'tableId':this[_0xbffbb8(0x1ff)][_0xbffbb8(0x1f2)](),'fieldId':this[_0xbffbb8(0x21b)],'patch':_0x875fb9});}[_0x5bd08b(0x1aa)](_0x3f72b1,_0x5695d9={}){const _0x301855=_0x5bd08b;return this[_0x301855(0x1c2)][_0x301855(0x19d)](_0x3aa743)[_0x301855(0x21a)](_0x2ee811['id'],{'unitId':this[_0x301855(0x233)][_0x301855(0x1f2)](),'tableId':this[_0x301855(0x1ff)][_0x301855(0x1f2)](),'fieldId':this[_0x301855(0x21b)],'input':{'type':_0x3f72b1,'config':_0x5695d9}});}[_0x5bd08b(0x22c)](){const _0x4c3355=_0x5bd08b;return this[_0x4c3355(0x1c2)][_0x4c3355(0x19d)](_0x3aa743)[_0x4c3355(0x21a)](_0x35c0c6['id'],{'unitId':this[_0x4c3355(0x233)][_0x4c3355(0x1f2)](),'tableId':this[_0x4c3355(0x1ff)][_0x4c3355(0x1f2)](),'fieldId':this[_0x4c3355(0x21b)]});}[_0x5bd08b(0x227)](_0x572221){const _0x30b709=_0x5bd08b;return this[_0x30b709(0x1c2)][_0x30b709(0x19d)](_0x3aa743)[_0x30b709(0x21a)](_0x206643['id'],{'unitId':this['_base'][_0x30b709(0x1f2)](),'tableId':this['_table']['getId'](),'fieldId':this[_0x30b709(0x21b)],'target':_0x572221});}[_0x5bd08b(0x1a3)](){const _0x362978=_0x5bd08b;let _0x385f5a=this[_0x362978(0x1ff)]['getTable']()[_0x362978(0x24a)][this['_fieldId']];if(!_0x385f5a)throw Error('[FField]:\x20field\x20\x22'+this[_0x362978(0x21b)]+'\x22\x20does\x20not\x20exist.');return _0x385f5a;}},W=class e{constructor(_0x5ae9ee,_0x18a7fe,_0x3dc54f,_0x45a18d){const _0x4f52c4=_0x5bd08b;this['_base']=_0x5ae9ee,this[_0x4f52c4(0x1ff)]=_0x18a7fe,this[_0x4f52c4(0x1fa)]=_0x3dc54f,this['_inject']=_0x45a18d,this['_assertInBounds']();}[_0x5bd08b(0x1f5)](){const _0x26a9df=_0x5bd08b;return this[_0x26a9df(0x233)][_0x26a9df(0x1f2)]();}[_0x5bd08b(0x195)](){const _0x56d7b3=_0x5bd08b;return this['_table'][_0x56d7b3(0x1f2)]();}[_0x5bd08b(0x202)](){const _0x33a76b=_0x5bd08b;return{...this[_0x33a76b(0x1fa)]};}[_0x5bd08b(0x20c)](){const _0x42d5a0=_0x5bd08b;return this['_range'][_0x42d5a0(0x1db)];}[_0x5bd08b(0x1b2)](){const _0x34b2b4=_0x5bd08b;return this[_0x34b2b4(0x1fa)][_0x34b2b4(0x242)];}[_0x5bd08b(0x224)](){const _0x5c7006=_0x5bd08b;return this['_range'][_0x5c7006(0x1a1)]-this['_range']['startRow']+0x1;}[_0x5bd08b(0x220)](){const _0x4d2f86=_0x5bd08b;return this['_range'][_0x4d2f86(0x1e2)]-this['_range'][_0x4d2f86(0x242)]+0x1;}['getValues'](){const _0x4f6e28=_0x5bd08b;let _0x284a66=this['_getTable'](),_0x438f26=[];for(let _0x4e45f0=this[_0x4f6e28(0x1fa)][_0x4f6e28(0x1db)];_0x4e45f0<=this['_range']['endRow'];_0x4e45f0++){var _0x5524f1;let _0x517914=(_0x5524f1=_0x284a66[_0x4f6e28(0x1fb)])==null?void 0x0:_0x5524f1[_0x4e45f0],_0x81c1a4=[];for(let _0x51576f=this['_range'][_0x4f6e28(0x242)];_0x51576f<=this[_0x4f6e28(0x1fa)][_0x4f6e28(0x1e2)];_0x51576f++){var _0x27b4d7;let _0x32ed7e=(_0x27b4d7=_0x284a66[_0x4f6e28(0x267)])==null?void 0x0:_0x27b4d7[_0x51576f];_0x81c1a4['push'](_0x517914&&_0x32ed7e?_0x27e16a(_0x284a66,_0x517914,_0x32ed7e):null);}_0x438f26[_0x4f6e28(0x21f)](_0x81c1a4);}return _0x438f26;}[_0x5bd08b(0x229)](){var _0x56cc45,_0x1c1fb2;return(_0x56cc45=(_0x1c1fb2=this['getValues']()[0x0])==null?void 0x0:_0x1c1fb2[0x0])==null?null:_0x56cc45;}[_0x5bd08b(0x225)](_0x5c48c8){const _0x8260de=_0x5bd08b;return this[_0x8260de(0x215)]([[_0x5c48c8]]);}[_0x5bd08b(0x215)](_0x54d913){const _0x58dc1c=_0x5bd08b;let _0x224501=this['getNumRows'](),_0x251e3c=this['getNumColumns']();if(_0x54d913[_0x58dc1c(0x25d)]>_0x224501||_0x54d913[_0x58dc1c(0x249)](_0x5b6bc6=>_0x5b6bc6['length']>_0x251e3c)){var _0x355493,_0x14919a;throw Error(_0x58dc1c(0x1c6)+_0x54d913['length']+'x'+((_0x355493=(_0x14919a=_0x54d913[0x0])==null?void 0x0:_0x14919a[_0x58dc1c(0x25d)])==null?0x0:_0x355493)+_0x58dc1c(0x223)+_0x224501+'x'+_0x251e3c+'.');}let _0x2c734c=this[_0x58dc1c(0x1c2)][_0x58dc1c(0x19d)](_0x3aa743),_0x4a9319=_0x54d913[_0x58dc1c(0x1df)]((_0x53089e,_0x178ed4)=>_0x53089e[_0x58dc1c(0x22e)]((_0x4b72b0,_0x3e3427)=>({'row':this[_0x58dc1c(0x1fa)][_0x58dc1c(0x1db)]+_0x178ed4,'col':this['_range'][_0x58dc1c(0x242)]+_0x3e3427,'value':_0x4b72b0})));return _0x2c734c[_0x58dc1c(0x21a)](_0x39da31['id'],{'unitId':this['_base'][_0x58dc1c(0x1f2)](),'tableId':this[_0x58dc1c(0x1ff)][_0x58dc1c(0x1f2)](),'patches':_0x4a9319});}[_0x5bd08b(0x1b3)](){const _0x57d1b0=_0x5bd08b;return this[_0x57d1b0(0x215)](Array[_0x57d1b0(0x24f)]({'length':this[_0x57d1b0(0x224)]()},()=>Array[_0x57d1b0(0x24f)]({'length':this[_0x57d1b0(0x220)]()},()=>null)));}[_0x5bd08b(0x1eb)](_0x6c7d6c,_0x4e2637,_0x5ea97f=this['getNumRows'](),_0x2bfc6b=this['getNumColumns']()){const _0x49e2c1=_0x5bd08b;return this['_inject']['createInstance'](e,this['_base'],this['_table'],{'startRow':this[_0x49e2c1(0x1fa)][_0x49e2c1(0x1db)]+_0x6c7d6c,'startColumn':this['_range'][_0x49e2c1(0x242)]+_0x4e2637,'endRow':this[_0x49e2c1(0x1fa)][_0x49e2c1(0x1db)]+_0x6c7d6c+_0x5ea97f-0x1,'endColumn':this[_0x49e2c1(0x1fa)][_0x49e2c1(0x242)]+_0x4e2637+_0x2bfc6b-0x1},this['_inject']);}[_0x5bd08b(0x247)](){const _0x4bd28f=_0x5bd08b;let _0x2b1022=this[_0x4bd28f(0x1ff)]['getTable']();if(!_0x2b1022)throw Error(_0x4bd28f(0x218));return _0x5b5260(_0x2b1022);}[_0x5bd08b(0x203)](){const _0x4dc940=_0x5bd08b;var _0x36b4fa,_0x5e9de4;let _0x1ab6ca=this[_0x4dc940(0x247)](),_0x55cdb2=(_0x36b4fa=(_0x5e9de4=_0x1ab6ca[_0x4dc940(0x1d4)])==null?void 0x0:_0x5e9de4[_0x4dc940(0x25d)])==null?0x0:_0x36b4fa,_0x3b8c88=_0x1ab6ca['fieldOrder'][_0x4dc940(0x25d)];if(this['_range']['startRow']<0x0||this['_range'][_0x4dc940(0x242)]<0x0||this['_range'][_0x4dc940(0x1a1)]<this[_0x4dc940(0x1fa)]['startRow']||this[_0x4dc940(0x1fa)]['endColumn']<this[_0x4dc940(0x1fa)][_0x4dc940(0x242)]||this['_range'][_0x4dc940(0x1a1)]>=Math[_0x4dc940(0x1f0)](_0x55cdb2,0x1)||this['_range'][_0x4dc940(0x1e2)]>=Math[_0x4dc940(0x1f0)](_0x3b8c88,0x1))throw Error(_0x4dc940(0x21d)+_0x55cdb2+_0x4dc940(0x1dc)+_0x3b8c88+_0x4dc940(0x257)+JSON[_0x4dc940(0x197)](this[_0x4dc940(0x1fa)])+'.');}};let G=function(_0x1e4607){const _0x50ae68=_0x5bd08b;return _0x1e4607['Id']='id',_0x1e4607[_0x50ae68(0x1f7)]=_0x50ae68(0x236),_0x1e4607['Auto']=_0x50ae68(0x1c3),_0x1e4607;}({});function K(_0x40080f,_0x489261,_0xc90f5d='id'){const _0x250115=_0x5bd08b;if(!_0x489261)return{};let _0x3f47ca={};return Object[_0x250115(0x212)](_0x489261)[_0x250115(0x18f)](([_0x1a6793,_0x126d71])=>{_0x3f47ca[q(_0x40080f,_0x1a6793,_0xc90f5d)]=_0x126d71;}),_0x3f47ca;}function q(_0x930b2a,_0x46d980,_0x16376){const _0x51dee3=_0x5bd08b;if(_0x16376==='id'||_0x16376==='auto'&&_0x930b2a['fields'][_0x46d980])return _0x46d980;let _0x31ff7c=Object[_0x51dee3(0x19c)](_0x930b2a[_0x51dee3(0x24a)])['filter'](_0x32b17b=>_0x32b17b[_0x51dee3(0x236)]===_0x46d980);if(_0x31ff7c[_0x51dee3(0x25d)]===0x1)return _0x31ff7c[0x0]['id'];throw _0x31ff7c[_0x51dee3(0x25d)]>0x1?Error(_0x51dee3(0x1a7)+_0x46d980):Error(_0x51dee3(0x1d6)+_0x46d980);}var J=class e{constructor(_0x4c923c,_0x256001,_0x9c1cbc,_0x15ebdb){const _0x3b87e4=_0x5bd08b;this['_base']=_0x4c923c,this[_0x3b87e4(0x1ff)]=_0x256001,this[_0x3b87e4(0x1f1)]=_0x9c1cbc,this[_0x3b87e4(0x1c2)]=_0x15ebdb;}['getId'](){const _0x55d99f=_0x5bd08b;return this[_0x55d99f(0x1f1)];}[_0x5bd08b(0x1f8)](){return this['_getRecord']();}[_0x5bd08b(0x229)](_0x58c151){const _0x4a087f=_0x5bd08b;var _0x289c6f;return(_0x289c6f=this[_0x4a087f(0x1cc)]()[_0x4a087f(0x19c)][_0x58c151])==null?null:_0x289c6f;}[_0x5bd08b(0x264)](){return{...this['_getRecord']()['values']};}[_0x5bd08b(0x225)](_0x301add,_0x1110df){const _0x12c9fd=_0x5bd08b;return this['_inject'][_0x12c9fd(0x19d)](_0x3aa743)[_0x12c9fd(0x21a)](_0x2380c6['id'],{'unitId':this[_0x12c9fd(0x233)][_0x12c9fd(0x1f2)](),'tableId':this['_table'][_0x12c9fd(0x1f2)](),'recordId':this[_0x12c9fd(0x1f1)],'fieldId':_0x301add,'value':_0x1110df});}['setValues'](_0x4906d3,_0x25a2ea='id'){const _0x32f83b=_0x5bd08b;let _0x2a2ae6=this[_0x32f83b(0x1c2)][_0x32f83b(0x19d)](_0x3aa743),_0x167cb9=this[_0x32f83b(0x1ff)]['getTable'](),_0xdab1f=[{'recordId':this['_recordId'],'values':K(_0x167cb9,_0x4906d3,_0x25a2ea)}];return _0x2a2ae6[_0x32f83b(0x21a)](_0x1529c6['id'],{'unitId':this['_base']['getId'](),'tableId':this[_0x32f83b(0x1ff)][_0x32f83b(0x1f2)](),'patches':_0xdab1f});}['delete'](){const _0x1cda8b=_0x5bd08b;return this[_0x1cda8b(0x1c2)]['get'](_0x3aa743)[_0x1cda8b(0x21a)](_0x3628a2['id'],{'unitId':this['_base'][_0x1cda8b(0x1f2)](),'tableId':this[_0x1cda8b(0x1ff)]['getId'](),'recordId':this['_recordId']});}[_0x5bd08b(0x1be)](_0x4d8656){const _0x47c439=_0x5bd08b;let _0x11d223=this['_inject'][_0x47c439(0x19d)](_0x3aa743),_0x270d78={...this[_0x47c439(0x1cc)](),..._0x4d8656,'id':_0x301c12(0x6)};_0x4d8656!=null&&_0x4d8656[_0x47c439(0x19c)]&&(_0x270d78[_0x47c439(0x19c)]={..._0x270d78[_0x47c439(0x19c)],..._0x4d8656[_0x47c439(0x19c)]});let _0x3aaf50=Date[_0x47c439(0x239)]();if(_0x270d78[_0x47c439(0x1a9)]||(_0x270d78[_0x47c439(0x1a9)]=''+_0x3aaf50),_0x270d78[_0x47c439(0x1e3)]||(_0x270d78[_0x47c439(0x1e3)]=_0x3aaf50),_0x270d78[_0x47c439(0x22a)]||(_0x270d78[_0x47c439(0x22a)]=_0x3aaf50),!_0x11d223[_0x47c439(0x21a)](_0x59fe1e['id'],{'unitId':this['_base'][_0x47c439(0x1f2)](),'tableId':this['_table'][_0x47c439(0x1f2)](),'sourceRecordId':this['_recordId'],'record':_0x270d78}))throw Error(_0x47c439(0x19f)+this[_0x47c439(0x1f1)]+'\x22.');return this['_inject'][_0x47c439(0x1d8)](e,this[_0x47c439(0x233)],this[_0x47c439(0x1ff)],_0x270d78['id'],this[_0x47c439(0x1c2)]);}[_0x5bd08b(0x1ab)](_0x17e1e6){const _0x524228=_0x5bd08b;return this['_inject']['get'](_0x3aa743)[_0x524228(0x21a)](_0x3304cb['id'],{'unitId':this[_0x524228(0x233)][_0x524228(0x1f2)](),'tableId':this['_table']['getId'](),'recordId':this['_recordId'],'orderKey':_0x17e1e6});}[_0x5bd08b(0x1cc)](){const _0x5ebd39=_0x5bd08b;let _0x44b1e9=this[_0x5ebd39(0x1ff)]['getTable']()[_0x5ebd39(0x1f9)][this[_0x5ebd39(0x1f1)]];if(!_0x44b1e9)throw Error('[FRecord]:\x20record\x20\x22'+this[_0x5ebd39(0x1f1)]+_0x5ebd39(0x259));return _0x44b1e9;}},Y=class{constructor(_0x1e6fb9,_0x1d10fd,_0x65dfa8,_0x2369d3){const _0x2c4cb4=_0x5bd08b;this[_0x2c4cb4(0x233)]=_0x1e6fb9,this[_0x2c4cb4(0x1ff)]=_0x1d10fd,this[_0x2c4cb4(0x1fd)]=_0x65dfa8,this['_injector']=_0x2369d3;}['getId'](){const _0x427313=_0x5bd08b;return this[_0x427313(0x1fd)];}[_0x5bd08b(0x23f)](){return this['_getView']();}[_0x5bd08b(0x1a4)](){const _0x49a6ac=_0x5bd08b;return this[_0x49a6ac(0x235)]()[_0x49a6ac(0x236)];}['getType'](){const _0x23278f=_0x5bd08b;return this[_0x23278f(0x235)]()[_0x23278f(0x25f)];}['setName'](_0x314212){const _0x10df61=_0x5bd08b;return this[_0x10df61(0x1d1)][_0x10df61(0x19d)](_0x3aa743)['syncExecuteCommand'](_0x2360c0['id'],{'unitId':this['_base'][_0x10df61(0x1f2)](),'tableId':this[_0x10df61(0x1ff)][_0x10df61(0x1f2)](),'viewId':this[_0x10df61(0x1fd)],'name':_0x314212});}[_0x5bd08b(0x213)](){const _0x108192=_0x5bd08b;let _0x360e6b=this[_0x108192(0x24e)](),_0x213a3d=this[_0x108192(0x235)]()[_0x108192(0x199)];switch(_0x360e6b){case _0x55bec4[_0x108192(0x1b4)]:return _0x213a3d;case _0x55bec4[_0x108192(0x23e)]:return _0x213a3d;case _0x55bec4[_0x108192(0x221)]:return _0x213a3d;case _0x55bec4[_0x108192(0x258)]:return _0x213a3d;case _0x55bec4['Gallery']:return _0x213a3d;default:return _0x213a3d;}}['updateConfig'](_0x4fb9cd){const _0x364189=_0x5bd08b;return this[_0x364189(0x1d1)][_0x364189(0x19d)](_0x3aa743)[_0x364189(0x21a)](_0x317ea0['id'],{'unitId':this[_0x364189(0x233)][_0x364189(0x1f2)](),'tableId':this[_0x364189(0x1ff)][_0x364189(0x1f2)](),'viewId':this[_0x364189(0x1fd)],'patch':_0x4fb9cd});}['getFilter'](){var _0x4c5d4a;return(_0x4c5d4a=this['_getView']()['filter'])==null?null:_0x4c5d4a;}[_0x5bd08b(0x192)](_0x14ccf8){const _0x31c0f3=_0x5bd08b;return this[_0x31c0f3(0x1d1)][_0x31c0f3(0x19d)](_0x3aa743)['syncExecuteCommand'](_0x3566b4['id'],{'unitId':this[_0x31c0f3(0x233)][_0x31c0f3(0x1f2)](),'tableId':this[_0x31c0f3(0x1ff)][_0x31c0f3(0x1f2)](),'viewId':this[_0x31c0f3(0x1fd)],'filter':_0x14ccf8});}[_0x5bd08b(0x20b)](){const _0x2a6208=_0x5bd08b;var _0x1b33c4;return(_0x1b33c4=this[_0x2a6208(0x235)]()['sort'])==null?[]:_0x1b33c4;}['setSort'](_0x637be5){const _0x99f623=_0x5bd08b;return this[_0x99f623(0x1d1)][_0x99f623(0x19d)](_0x3aa743)['syncExecuteCommand'](_0x225d57['id'],{'unitId':this[_0x99f623(0x233)][_0x99f623(0x1f2)](),'tableId':this[_0x99f623(0x1ff)][_0x99f623(0x1f2)](),'viewId':this[_0x99f623(0x1fd)],'sort':_0x637be5});}['getGroup'](){const _0x38b2fb=_0x5bd08b;var _0x5bc508;return(_0x5bc508=this[_0x38b2fb(0x235)]()['group'])==null?[]:_0x5bc508;}[_0x5bd08b(0x237)](_0x1d4d77){const _0xdba1e=_0x5bd08b;return this[_0xdba1e(0x1d1)][_0xdba1e(0x19d)](_0x3aa743)[_0xdba1e(0x21a)](_0x42ee07['id'],{'unitId':this[_0xdba1e(0x233)][_0xdba1e(0x1f2)](),'tableId':this['_table'][_0xdba1e(0x1f2)](),'viewId':this[_0xdba1e(0x1fd)],'group':_0x1d4d77});}[_0x5bd08b(0x252)](_0x1360d0){const _0x3633bc=_0x5bd08b;var _0x3349f9,_0xc63c79;return(_0x3349f9=(_0xc63c79=this[_0x3633bc(0x235)]()['fieldSettings'])==null?void 0x0:_0xc63c79[_0x1360d0])==null?{}:_0x3349f9;}[_0x5bd08b(0x209)](){const _0x52599b=_0x5bd08b;var _0x2a3e19;let _0x84264a=this[_0x52599b(0x1ff)][_0x52599b(0x1bd)](),_0x4a3944=this[_0x52599b(0x235)]();return((_0x2a3e19=_0x4a3944[_0x52599b(0x1b7)])==null?_0x84264a[_0x52599b(0x1b7)]:_0x2a3e19)[_0x52599b(0x23d)](_0x419327=>{const _0x218134=_0x52599b;var _0x40df53;return _0x84264a[_0x218134(0x24a)][_0x419327]&&!(!((_0x40df53=_0x4a3944['fieldSettings'])==null||(_0x40df53=_0x40df53[_0x419327])==null)&&_0x40df53[_0x218134(0x219)]);})[_0x52599b(0x22e)](_0x300272=>this[_0x52599b(0x1d1)]['createInstance'](U,this[_0x52599b(0x233)],this[_0x52599b(0x1ff)],_0x300272,this[_0x52599b(0x1d1)]));}[_0x5bd08b(0x1de)](_0x2be4b6,_0x2f8121){const _0x162d89=_0x5bd08b;return this[_0x162d89(0x1d1)][_0x162d89(0x19d)](_0x3aa743)['syncExecuteCommand'](_0x358890['id'],{'unitId':this[_0x162d89(0x233)][_0x162d89(0x1f2)](),'tableId':this['_table']['getId'](),'viewId':this[_0x162d89(0x1fd)],'fieldId':_0x2be4b6,'visible':_0x2f8121});}[_0x5bd08b(0x20e)](_0x41eb7b,_0x280634){const _0x560161=_0x5bd08b;return this[_0x560161(0x1d1)][_0x560161(0x19d)](_0x3aa743)[_0x560161(0x21a)](_0x41a27a['id'],{'unitId':this[_0x560161(0x233)][_0x560161(0x1f2)](),'tableId':this[_0x560161(0x1ff)][_0x560161(0x1f2)](),'viewId':this[_0x560161(0x1fd)],'fieldId':_0x41eb7b,'width':_0x280634});}[_0x5bd08b(0x241)](_0x15c87a,_0x3aee89){const _0x4aeedf=_0x5bd08b;return this[_0x4aeedf(0x1d1)][_0x4aeedf(0x19d)](_0x3aa743)['syncExecuteCommand'](_0x3c1eeb['id'],{'unitId':this[_0x4aeedf(0x233)][_0x4aeedf(0x1f2)](),'tableId':this[_0x4aeedf(0x1ff)][_0x4aeedf(0x1f2)](),'viewId':this[_0x4aeedf(0x1fd)],'fieldId':_0x15c87a,'target':_0x3aee89});}[_0x5bd08b(0x227)](_0xde7f0){const _0x336a1f=_0x5bd08b;return this[_0x336a1f(0x1d1)]['get'](_0x3aa743)['syncExecuteCommand'](_0x23539e['id'],{'unitId':this['_base']['getId'](),'tableId':this[_0x336a1f(0x1ff)]['getId'](),'viewId':this['_viewId'],'target':_0xde7f0});}[_0x5bd08b(0x22c)](){const _0x1500ee=_0x5bd08b;return this['_injector'][_0x1500ee(0x19d)](_0x3aa743)[_0x1500ee(0x21a)](_0x3a28cc['id'],{'unitId':this[_0x1500ee(0x233)][_0x1500ee(0x1f2)](),'tableId':this['_table'][_0x1500ee(0x1f2)](),'viewId':this['_viewId']});}[_0x5bd08b(0x1d7)](){const _0x17d419=_0x5bd08b;return this[_0x17d419(0x1d1)][_0x17d419(0x19d)](_0x1551fd)[_0x17d419(0x1d7)](this[_0x17d419(0x233)]['getBase']()[_0x17d419(0x190)](),this[_0x17d419(0x1ff)][_0x17d419(0x1f2)](),this[_0x17d419(0x1fd)]);}[_0x5bd08b(0x235)](){const _0x3f8381=_0x5bd08b;let _0x555fbe=this[_0x3f8381(0x1ff)]['getTable']()[_0x3f8381(0x19a)][this[_0x3f8381(0x1fd)]];if(!_0x555fbe)throw Error(_0x3f8381(0x1ea)+this[_0x3f8381(0x1fd)]+_0x3f8381(0x259));return _0x555fbe;}},X=class{constructor(_0x49b45a,_0x4edd1b,_0x561687){const _0x716279=_0x5bd08b;this['_base']=_0x49b45a,this['_tableId']=_0x4edd1b,this[_0x716279(0x1d1)]=_0x561687;}['getBase'](){const _0x3f7664=_0x5bd08b;return this[_0x3f7664(0x233)][_0x3f7664(0x207)]();}[_0x5bd08b(0x1bd)](){const _0x436597=_0x5bd08b;return this[_0x436597(0x247)]();}[_0x5bd08b(0x1f2)](){const _0x1fd296=_0x5bd08b;return this[_0x1fd296(0x240)];}[_0x5bd08b(0x1a4)](){const _0xdd3a51=_0x5bd08b;return this[_0xdd3a51(0x247)]()[_0xdd3a51(0x236)];}[_0x5bd08b(0x1f3)](_0x34ebcf){const _0x26cf2c=_0x5bd08b;return this[_0x26cf2c(0x1d1)][_0x26cf2c(0x19d)](_0x3aa743)[_0x26cf2c(0x21a)](_0x1341d2['id'],{'unitId':this[_0x26cf2c(0x233)][_0x26cf2c(0x1f2)](),'tableId':this[_0x26cf2c(0x240)],'name':_0x34ebcf});}['search'](_0x2c8c66,_0x223f1e){const _0x1b5b02=_0x5bd08b;var _0x43aa36;let _0x2daffe=this[_0x1b5b02(0x1d1)][_0x1b5b02(0x19d)](_0x1551fd),_0x2da2b0=this[_0x1b5b02(0x233)][_0x1b5b02(0x207)]()[_0x1b5b02(0x190)](),_0x4642fd=this[_0x1b5b02(0x247)]();if(_0x223f1e){var _0x17e539;let _0x444327=_0x2daffe['getProjection'](_0x2da2b0,this[_0x1b5b02(0x240)],_0x223f1e),_0x254c18=_0x4642fd[_0x1b5b02(0x19a)][_0x223f1e],_0x4253c7=(_0x17e539=_0x2c8c66[_0x1b5b02(0x1bc)])==null?he(_0x4642fd,_0x254c18,_0x444327):_0x17e539,_0x4eeba3=_0x1b5b02(0x230)in _0x444327&&Array[_0x1b5b02(0x1d3)](_0x444327[_0x1b5b02(0x230)])?_0x444327['rows']:[];return _0x8a5c71({..._0x2c8c66,'table':_0x4642fd,'fieldIds':_0x4253c7,'rows':_0x4eeba3});}let _0x11aff0=(_0x4642fd[_0x1b5b02(0x1d4)]?_0x4642fd[_0x1b5b02(0x1d4)][_0x1b5b02(0x22e)](_0x197289=>_0x4642fd[_0x1b5b02(0x1f9)][_0x197289]):Object[_0x1b5b02(0x19c)](_0x4642fd[_0x1b5b02(0x1f9)])['sort']((_0x20c2b9,_0x43871d)=>_0x20c2b9[_0x1b5b02(0x1a9)][_0x1b5b02(0x211)](_0x43871d['orderKey'])))['filter'](_0xce35f6=>_0xce35f6)[_0x1b5b02(0x22e)](_0x41d959=>({'recordId':_0x41d959['id'],'values':_0x41d959[_0x1b5b02(0x19c)]})),_0x3e30e7=(_0x43aa36=_0x2c8c66[_0x1b5b02(0x1bc)])==null?_0x4642fd[_0x1b5b02(0x1b7)][_0x1b5b02(0x23d)](_0x3c1023=>_0x4642fd['fields'][_0x3c1023]):_0x43aa36;return _0x8a5c71({..._0x2c8c66,'table':_0x4642fd,'fieldIds':_0x3e30e7,'rows':_0x11aff0});}[_0x5bd08b(0x21c)](){const _0x5b31a6=_0x5bd08b;return this['_getTable']()[_0x5b31a6(0x269)];}[_0x5bd08b(0x1c4)](){const _0x4ebaa3=_0x5bd08b;let _0x234c02=this[_0x4ebaa3(0x247)]();return _0x234c02[_0x4ebaa3(0x1b7)][_0x4ebaa3(0x22e)](_0x120fa7=>_0x234c02[_0x4ebaa3(0x24a)][_0x120fa7])['filter'](_0x40308c=>_0x40308c)[_0x4ebaa3(0x22e)](_0x2bf5bf=>this[_0x4ebaa3(0x1d1)][_0x4ebaa3(0x1d8)](U,this[_0x4ebaa3(0x233)],this,_0x2bf5bf['id'],this[_0x4ebaa3(0x1d1)]));}[_0x5bd08b(0x222)](_0x466536){const _0x3f3122=_0x5bd08b;let _0x2e6f8b=this[_0x3f3122(0x247)]()['fields'][_0x466536];return _0x2e6f8b?this[_0x3f3122(0x1d1)]['createInstance'](U,this[_0x3f3122(0x233)],this,_0x2e6f8b['id'],this[_0x3f3122(0x1d1)]):null;}[_0x5bd08b(0x25e)](_0x158d4b){const _0x3ff851=_0x5bd08b;let _0x3bb4d7=this[_0x3ff851(0x247)]()[_0x3ff851(0x24a)],_0x3990ea=Object[_0x3ff851(0x19c)](_0x3bb4d7)['find'](_0x4fc068=>_0x4fc068[_0x3ff851(0x236)]===_0x158d4b);return _0x3990ea?this['_injector'][_0x3ff851(0x1d8)](U,this[_0x3ff851(0x233)],this,_0x3990ea['id'],this[_0x3ff851(0x1d1)]):null;}[_0x5bd08b(0x1cb)](){const _0x58a4f3=_0x5bd08b;let _0x4cd6ac=this[_0x58a4f3(0x247)]()[_0x58a4f3(0x269)];return this[_0x58a4f3(0x1d1)][_0x58a4f3(0x1d8)](U,this[_0x58a4f3(0x233)],this,_0x4cd6ac,this[_0x58a4f3(0x1d1)]);}[_0x5bd08b(0x1b0)](_0x2e06d3,_0x514e5a,_0x197dda){const _0x2772c3=_0x5bd08b;var _0x2a579f;let _0x1a1b4f=this[_0x2772c3(0x1d1)][_0x2772c3(0x19d)](_0x3aa743),_0x4af1a9=(_0x2a579f=_0x197dda==null?void 0x0:_0x197dda[_0x2772c3(0x250)])==null?{}:_0x2a579f;if(_0x4af1a9['id']=_0x301c12(0x6),_0x4af1a9[_0x2772c3(0x236)]=_0x2e06d3,_0x4af1a9[_0x2772c3(0x25f)]=_0x514e5a,!_0x4af1a9[_0x2772c3(0x25f)])throw Error(_0x2772c3(0x1e8));if(_0x4af1a9[_0x2772c3(0x199)]||(_0x4af1a9[_0x2772c3(0x199)]={}),!_0x1a1b4f[_0x2772c3(0x21a)](_0x184d99['id'],{'unitId':this[_0x2772c3(0x233)][_0x2772c3(0x1f2)](),'tableId':this[_0x2772c3(0x240)],'field':_0x4af1a9,'index':_0x197dda==null?void 0x0:_0x197dda[_0x2772c3(0x266)]}))throw Error(_0x2772c3(0x1b9)+_0x2e06d3+'\x22');return this['_injector'][_0x2772c3(0x1d8)](U,this[_0x2772c3(0x233)],this,_0x4af1a9['id'],this[_0x2772c3(0x1d1)]);}[_0x5bd08b(0x25a)](){const _0x1c0e01=_0x5bd08b;return this[_0x1c0e01(0x23a)]()[_0x1c0e01(0x22e)](_0x175a74=>this[_0x1c0e01(0x1d1)][_0x1c0e01(0x1d8)](J,this[_0x1c0e01(0x233)],this,_0x175a74,this['_injector']));}[_0x5bd08b(0x22b)](_0x519602){const _0x94e664=_0x5bd08b;return this[_0x94e664(0x247)]()[_0x94e664(0x1f9)][_0x519602]?this[_0x94e664(0x1d1)][_0x94e664(0x1d8)](J,this[_0x94e664(0x233)],this,_0x519602,this[_0x94e664(0x1d1)]):null;}[_0x5bd08b(0x1bf)](_0x31087d={}){const _0x1e9078=_0x5bd08b;var _0x7d81f5;let _0x1afb03=this[_0x1e9078(0x247)](),_0x393e9b=this[_0x1e9078(0x23a)](_0x31087d),_0x4cdf41=Math[_0x1e9078(0x1f0)](0x0,(_0x7d81f5=_0x31087d['offset'])==null?0x0:_0x7d81f5),_0x5ad1ed=_0x31087d[_0x1e9078(0x1ed)]==null?null:Math[_0x1e9078(0x1f0)](0x0,_0x31087d[_0x1e9078(0x1ed)]),_0x920fde=ue(_0x393e9b[_0x1e9078(0x22e)](_0x31673e=>_0x1afb03[_0x1e9078(0x1f9)][_0x31673e])[_0x1e9078(0x23d)](_0x225776=>fe(_0x225776,_0x1afb03,_0x31087d[_0x1e9078(0x23d)])),_0x1afb03,_0x31087d[_0x1e9078(0x23c)]);return{'records':le(_0x920fde,_0x31087d)[_0x1e9078(0x22e)](_0xa43c40=>this['_injector'][_0x1e9078(0x1d8)](J,this[_0x1e9078(0x233)],this,_0xa43c40['id'],this[_0x1e9078(0x1d1)])),'total':_0x920fde[_0x1e9078(0x25d)],'offset':_0x4cdf41,'limit':_0x5ad1ed,'hasMore':_0x5ad1ed!=null&&_0x4cdf41+_0x5ad1ed<_0x920fde['length']};}[_0x5bd08b(0x1ce)](_0x5a4cff,_0x30c339='id',_0xa5f1a8){const _0x329ab7=_0x5bd08b;let _0x4451f6=this['_injector']['get'](_0x3aa743),_0x57524c=this[_0x329ab7(0x247)](),_0x420a4f=_0xa5f1a8==null?{}:_0xa5f1a8;_0x420a4f['id']=_0x301c12(0x6),_0x420a4f['values']=K(_0x57524c,_0x5a4cff,_0x30c339);let _0x5e3a10=Date[_0x329ab7(0x239)]();if(_0x420a4f['orderKey']||(_0x420a4f[_0x329ab7(0x1a9)]=''+_0x5e3a10),_0x420a4f['createdAt']||(_0x420a4f[_0x329ab7(0x1e3)]=_0x5e3a10),_0x420a4f['updatedAt']||(_0x420a4f['updatedAt']=_0x5e3a10),!_0x4451f6[_0x329ab7(0x21a)](_0x121d2e['id'],{'unitId':this['_base']['getId'](),'tableId':this['_tableId'],'record':_0x420a4f}))throw Error('Failed\x20to\x20add\x20record\x20with\x20id\x20\x22'+_0x420a4f['id']+'\x22');return this['_injector'][_0x329ab7(0x1d8)](J,this[_0x329ab7(0x233)],this,_0x420a4f['id'],this['_injector']);}[_0x5bd08b(0x22f)](_0x9b5bc0){const _0x869238=_0x5bd08b;if(!_0x9b5bc0[_0x869238(0x25d)])return[];let _0x1566f5=this[_0x869238(0x1d1)]['get'](_0x3aa743),_0x310cfc=this[_0x869238(0x247)](),_0x46bb61=Date[_0x869238(0x239)](),_0x3d3636=_0x9b5bc0[_0x869238(0x22e)]((_0x57483f,_0x5b36d6)=>{const _0x4fe33d=_0x869238;var _0x56548a,_0x23429a;let _0x48eda8=(_0x56548a=_0x57483f[_0x4fe33d(0x1d2)])==null?{}:_0x56548a;return _0x48eda8['id']=_0x301c12(0x6),_0x48eda8[_0x4fe33d(0x19c)]=K(_0x310cfc,_0x57483f[_0x4fe33d(0x19c)],(_0x23429a=_0x57483f[_0x4fe33d(0x1dd)])==null?'id':_0x23429a),_0x48eda8[_0x4fe33d(0x1a9)]||(_0x48eda8['orderKey']=''+(_0x46bb61+_0x5b36d6)),_0x48eda8['createdAt']||(_0x48eda8['createdAt']=_0x46bb61),_0x48eda8[_0x4fe33d(0x22a)]||(_0x48eda8[_0x4fe33d(0x22a)]=_0x46bb61),_0x48eda8;});if(!_0x1566f5[_0x869238(0x21a)](_0x448856['id'],{'unitId':this['_base'][_0x869238(0x1f2)](),'tableId':this[_0x869238(0x240)],'records':_0x3d3636}))throw Error(_0x869238(0x1e9));return _0x3d3636[_0x869238(0x22e)](_0x5320f9=>this[_0x869238(0x1d1)][_0x869238(0x1d8)](J,this['_base'],this,_0x5320f9['id'],this[_0x869238(0x1d1)]));}['deleteRecords'](_0x25674a){const _0x123bf5=_0x5bd08b;return _0x25674a[_0x123bf5(0x25d)]?this[_0x123bf5(0x1d1)][_0x123bf5(0x19d)](_0x3aa743)['syncExecuteCommand'](_0x23c648['id'],{'unitId':this[_0x123bf5(0x233)][_0x123bf5(0x1f2)](),'tableId':this[_0x123bf5(0x240)],'recordIds':_0x25674a}):!0x0;}[_0x5bd08b(0x202)](_0x4db416,_0x5e6b2d,_0x4722a8=0x1,_0x46ba27=0x1){const _0x10e06f=_0x5bd08b;return this[_0x10e06f(0x1d1)][_0x10e06f(0x1d8)](W,this['_base'],this,{'startRow':_0x4db416,'endRow':_0x4db416+_0x4722a8-0x1,'startColumn':_0x5e6b2d,'endColumn':_0x5e6b2d+_0x46ba27-0x1},this[_0x10e06f(0x1d1)]);}[_0x5bd08b(0x1c8)](){const _0x540dc0=_0x5bd08b;var _0x4dcade,_0x3d3658;let _0x31587e=_0x5b5260(this[_0x540dc0(0x247)]()),_0x3b1c9d=(_0x4dcade=(_0x3d3658=_0x31587e[_0x540dc0(0x1d4)])==null?void 0x0:_0x3d3658[_0x540dc0(0x25d)])==null?0x0:_0x4dcade,_0x4c0ef2=_0x31587e[_0x540dc0(0x1b7)][_0x540dc0(0x25d)];return this[_0x540dc0(0x202)](0x0,0x0,Math[_0x540dc0(0x1f0)](_0x3b1c9d,0x1),Math[_0x540dc0(0x1f0)](_0x4c0ef2,0x1));}['getViews'](){const _0x3e7821=_0x5bd08b;let _0x3321ba=this[_0x3e7821(0x247)]();return _0x3321ba['viewOrder'][_0x3e7821(0x23d)](_0x4b6526=>_0x3321ba[_0x3e7821(0x19a)][_0x4b6526])['map'](_0x287d78=>this['_injector']['createInstance'](Y,this[_0x3e7821(0x233)],this,_0x287d78,this[_0x3e7821(0x1d1)]));}['getViewById'](_0x273c73){const _0x38e76c=_0x5bd08b;return this[_0x38e76c(0x247)]()[_0x38e76c(0x19a)][_0x273c73]?this['_injector']['createInstance'](Y,this['_base'],this,_0x273c73,this['_injector']):null;}['getViewByName'](_0xcc3c14){const _0x29f6a9=_0x5bd08b;let _0x279f36=this[_0x29f6a9(0x247)](),_0x662adf=Object['values'](_0x279f36['views'])[_0x29f6a9(0x1d9)](_0x4893f0=>_0x4893f0[_0x29f6a9(0x236)]===_0xcc3c14);return _0x662adf?this[_0x29f6a9(0x1d1)][_0x29f6a9(0x1d8)](Y,this['_base'],this,_0x662adf['id'],this[_0x29f6a9(0x1d1)]):null;}[_0x5bd08b(0x208)](_0x273fa2,_0x295a5f,_0x3bdf44){const _0x21b462=_0x5bd08b;var _0xa8758b;let _0x21e7ef=this[_0x21b462(0x1d1)][_0x21b462(0x19d)](_0x3aa743),_0x5ed549=this[_0x21b462(0x247)](),_0x4a5edd=(_0xa8758b=_0x3bdf44==null?void 0x0:_0x3bdf44[_0x21b462(0x245)])==null?{}:_0xa8758b;if(_0x4a5edd['id']=_0x301c12(0x6),_0x4a5edd[_0x21b462(0x236)]=_0x273fa2,_0x4a5edd['type']=_0x295a5f,_0x4a5edd[_0x21b462(0x23b)]=this['_tableId'],!_0x4a5edd['type'])throw Error(_0x21b462(0x260));if(_0x4a5edd[_0x21b462(0x199)]||(_0x4a5edd['config']={}),_0x4a5edd[_0x21b462(0x1b7)]||(_0x4a5edd['fieldOrder']=[..._0x5ed549[_0x21b462(0x1b7)]]),!_0x21e7ef['syncExecuteCommand'](_0x54aea6['id'],{'unitId':this[_0x21b462(0x233)]['getId'](),'tableId':this[_0x21b462(0x240)],'view':_0x4a5edd,'index':_0x3bdf44==null?void 0x0:_0x3bdf44[_0x21b462(0x266)]}))throw Error(_0x21b462(0x262)+_0x273fa2+'\x22');return this['_injector'][_0x21b462(0x1d8)](Y,this[_0x21b462(0x233)],this,_0x4a5edd['id'],this[_0x21b462(0x1d1)]);}[_0x5bd08b(0x228)](){const _0x2f2b0a=_0x5bd08b;let _0x3c56e9=this[_0x2f2b0a(0x247)](),_0x26ec6b=_0x3c56e9[_0x2f2b0a(0x1b7)]['filter'](_0x13c747=>_0x3c56e9['fields'][_0x13c747]),_0x1ff778=_0x3c56e9['viewOrder'][_0x2f2b0a(0x23d)](_0x24937c=>_0x3c56e9[_0x2f2b0a(0x19a)][_0x24937c]);return{'id':_0x3c56e9['id'],'name':_0x3c56e9['name'],'primaryFieldId':_0x3c56e9[_0x2f2b0a(0x269)],'fieldIds':_0x26ec6b,'viewIds':_0x1ff778,'recordCount':this[_0x2f2b0a(0x23a)]()[_0x2f2b0a(0x25d)],'fields':_0x26ec6b[_0x2f2b0a(0x22e)](_0x1c82e1=>{const _0x453f35=_0x2f2b0a;let _0x141e23=_0x3c56e9[_0x453f35(0x24a)][_0x1c82e1];return{'id':_0x141e23['id'],'name':_0x141e23[_0x453f35(0x236)],'type':_0x141e23[_0x453f35(0x25f)],'config':_0x141e23[_0x453f35(0x199)],'readonly':_0x141e23[_0x453f35(0x204)],'description':_0x141e23['description']};}),'views':_0x1ff778[_0x2f2b0a(0x22e)](_0x48eccd=>{const _0x2c7b01=_0x2f2b0a;let _0x4be212=_0x3c56e9[_0x2c7b01(0x19a)][_0x48eccd];return{'id':_0x4be212['id'],'name':_0x4be212['name'],'type':_0x4be212[_0x2c7b01(0x25f)]};})};}[_0x5bd08b(0x247)](){const _0x40b107=_0x5bd08b;let _0x528493=this['_base'][_0x40b107(0x207)]()[_0x40b107(0x190)]()['tables'][this[_0x40b107(0x240)]];if(!_0x528493)throw Error('[FTable]:\x20table\x20\x22'+this[_0x40b107(0x240)]+_0x40b107(0x259));return _0x528493;}['_resolveRecordIds'](_0x4296d5={}){const _0x161de7=_0x5bd08b;let _0x481b69=this['_injector'][_0x161de7(0x19d)](_0x1551fd),_0x157c9a=this[_0x161de7(0x233)][_0x161de7(0x207)]()[_0x161de7(0x190)](),_0x1476f3=this[_0x161de7(0x247)]();if(_0x4296d5[_0x161de7(0x1da)]){let _0x19aa74=_0x481b69['getProjection'](_0x157c9a,this[_0x161de7(0x240)],_0x4296d5[_0x161de7(0x1da)]);if(_0x161de7(0x230)in _0x19aa74&&Array[_0x161de7(0x1d3)](_0x19aa74[_0x161de7(0x230)]))return _0x19aa74[_0x161de7(0x230)]['map'](_0x4cc46a=>_0x4cc46a[_0x161de7(0x1d5)]);}return(_0x1476f3[_0x161de7(0x1d4)]?_0x1476f3[_0x161de7(0x1d4)][_0x161de7(0x22e)](_0x395c3f=>_0x1476f3[_0x161de7(0x1f9)][_0x395c3f]):Object['values'](_0x1476f3[_0x161de7(0x1f9)])[_0x161de7(0x23c)]((_0x73fbb7,_0x4c3b45)=>_0x73fbb7['orderKey'][_0x161de7(0x211)](_0x4c3b45[_0x161de7(0x1a9)])))['filter'](_0x433e37=>_0x433e37)[_0x161de7(0x22e)](_0x3fede7=>_0x3fede7['id']);}};function le(_0x3f328f,_0x14e6d9){const _0xb53184=_0x5bd08b;var _0x4540c5;let _0x3c40a8=Math[_0xb53184(0x1f0)](0x0,(_0x4540c5=_0x14e6d9[_0xb53184(0x1eb)])==null?0x0:_0x4540c5);return _0x14e6d9[_0xb53184(0x1ed)]==null?_0x3f328f[_0xb53184(0x1ec)](_0x3c40a8):_0x3f328f[_0xb53184(0x1ec)](_0x3c40a8,_0x3c40a8+Math[_0xb53184(0x1f0)](0x0,_0x14e6d9['limit']));}function ue(_0x2ec663,_0x48560e,_0x2ae8b1=[]){const _0x4a75dd=_0x5bd08b;return _0x2ae8b1[_0x4a75dd(0x25d)]?[..._0x2ec663][_0x4a75dd(0x23c)]((_0x3464bf,_0x5e73e8)=>{const _0xed9507=_0x4a75dd;var _0x2d6c1d,_0x1b6d86;for(let _0x284cd4 of _0x2ae8b1){var _0x48a1df;let _0x5ca705=_0x284cd4[_0xed9507(0x234)]===_0x1d10d0['DESC']?-0x1:0x1,_0x1f4566=de(_0x3464bf[_0xed9507(0x19c)][_0x284cd4[_0xed9507(0x1b8)]],_0x5e73e8[_0xed9507(0x19c)][_0x284cd4['fieldId']],(_0x48a1df=_0x48560e[_0xed9507(0x24a)][_0x284cd4[_0xed9507(0x1b8)]])==null?void 0x0:_0x48a1df[_0xed9507(0x25f)]);if(_0x1f4566!==0x0)return _0x1f4566*_0x5ca705;}return String((_0x2d6c1d=_0x3464bf[_0xed9507(0x1a9)])==null?_0x3464bf['id']:_0x2d6c1d)[_0xed9507(0x211)](String((_0x1b6d86=_0x5e73e8['orderKey'])==null?_0x5e73e8['id']:_0x1b6d86));}):_0x2ec663;}function de(_0x59b07d,_0x290dfc,_0x537b89){const _0x43a01e=_0x5bd08b;return _0x59b07d==null&&_0x290dfc==null?0x0:_0x59b07d==null?-0x1:_0x290dfc==null?0x1:typeof _0x59b07d==_0x43a01e(0x20d)&&typeof _0x290dfc=='number'?_0x59b07d-_0x290dfc:_0x537b89===_0x4bca3c[_0x43a01e(0x19b)]?Number(_0x59b07d)-Number(_0x290dfc):String(_0x59b07d)[_0x43a01e(0x211)](String(_0x290dfc));}function fe(_0x47f12c,_0x577d8b,_0x5cd22c){const _0x3822a3=_0x5bd08b;var _0x342963;if(!_0x5cd22c||!((_0x342963=_0x5cd22c[_0x3822a3(0x196)])!=null&&_0x342963[_0x3822a3(0x25d)]))return!0x0;let {conjunction:_0x5d052b=_0x468dce['OR'],conditions:_0x1f1164}=_0x5cd22c;return _0x5d052b===_0x468dce['AND']&&_0x1f1164[_0x3822a3(0x25d)]>0x1?_0x1f1164['every'](_0x2bde8d=>Z(_0x47f12c,_0x577d8b,_0x2bde8d)):_0x1f1164[_0x3822a3(0x249)](_0x495788=>Z(_0x47f12c,_0x577d8b,_0x495788));}function Z(_0xc5474d,_0xd24c30,_0x2b156e){const _0x33d9e7=_0x5bd08b;let _0x16db57=_0xc5474d[_0x33d9e7(0x19c)][_0x2b156e[_0x33d9e7(0x1b8)]],_0x3a00ab=_0xd24c30['fields'][_0x2b156e['fieldId']];if(pe(_0x2b156e)){let _0x3ba655=me(_0x2b156e)[_0x33d9e7(0x26a)](String(_0x16db57==null?'':_0x16db57));return _0x2b156e[_0x33d9e7(0x1c7)]===_0x33d9e7(0x256)?_0x3ba655:!_0x3ba655;}return _0x3a00ab?_0x518c09(_0x16db57,_0x2b156e[_0x33d9e7(0x1c7)],_0x2b156e[_0x33d9e7(0x20f)],_0x3a00ab):!0x0;}function pe(_0x1d3517){const _0x5c689c=_0x5bd08b;return _0x1d3517[_0x5c689c(0x1c7)]==='matches'||_0x1d3517[_0x5c689c(0x1c7)]===_0x5c689c(0x198);}function me(_0x58b4f1){const _0x1be2c1=_0x5bd08b;var _0x4b6484;let _0x552f78=String((_0x4b6484=_0x58b4f1[_0x1be2c1(0x20f)])==null?'':_0x4b6484);if(_0x552f78[_0x1be2c1(0x25d)]>0x200)throw Error(_0x1be2c1(0x1b6));try{return new RegExp(_0x552f78,_0x58b4f1[_0x1be2c1(0x1e4)]?void 0x0:'i');}catch(_0x3d3b2f){throw Error(_0x1be2c1(0x210)+_0x552f78+'.\x20'+(_0x3d3b2f instanceof Error?_0x3d3b2f['message']:String(_0x3d3b2f)));}}function he(_0x460dad,_0x52aa81,_0x1d572d){const _0xb34125=_0x5bd08b;if(_0x1d572d[_0xb34125(0x25f)]!=='invalid'){var _0x3a0e58;if(_0x1d572d[_0xb34125(0x25f)]===_0x55bec4[_0xb34125(0x23e)]){var _0x5d29e3,_0x38402e,_0x2a2c8f;let _0x35b1a7=[(_0x5d29e3=(_0x38402e=_0x1d572d[_0xb34125(0x24a)])==null||(_0x38402e=_0x38402e[0x0])==null?void 0x0:_0x38402e['id'])==null?_0x460dad[_0xb34125(0x269)]:_0x5d29e3,...(_0x2a2c8f=_0x1d572d['visibleCardFieldIds'])==null?[]:_0x2a2c8f];return Array[_0xb34125(0x24f)](new Set(_0x35b1a7['filter'](_0x1f75d1=>!!_0x460dad[_0xb34125(0x24a)][_0x1f75d1])));}if((_0x3a0e58=_0x1d572d[_0xb34125(0x24a)])!=null&&_0x3a0e58[_0xb34125(0x25d)])return _0x1d572d[_0xb34125(0x24a)][_0xb34125(0x22e)](_0x1c43d1=>_0x1c43d1['id'])['filter'](_0x4dfdbd=>{const _0x2b85c8=_0xb34125;var _0xf5d7fd;return!!(_0x460dad[_0x2b85c8(0x24a)][_0x4dfdbd]&&!(!(_0x52aa81==null||(_0xf5d7fd=_0x52aa81[_0x2b85c8(0x1a6)])==null||(_0xf5d7fd=_0xf5d7fd[_0x4dfdbd])==null)&&_0xf5d7fd['hidden']));});}return _0x460dad[_0xb34125(0x1b7)][_0xb34125(0x23d)](_0x15b4ab=>{const _0x80eebf=_0xb34125;var _0x2f8771;return!!(_0x460dad['fields'][_0x15b4ab]&&!(!(_0x52aa81==null||(_0x2f8771=_0x52aa81[_0x80eebf(0x1a6)])==null||(_0x2f8771=_0x2f8771[_0x15b4ab])==null)&&_0x2f8771[_0x80eebf(0x219)]));});}function _0x2bcb(){const _0x131f7a=['moveField','startColumn','[FBase]:\x20table\x20\x22','includeRecords','view','17064ebjEhS','_getTable','createUnit','some','fields','9578292JdsKCF','BaseTableCreated','table','getType','from','field','BeforeBaseTableFieldCreate','getFieldSettings','45liNnpx','38353RyNeVP','beforeCommandExecuted','matches',',\x20range:\x20','Gantt','\x22\x20does\x20not\x20exist.','getRecords','decorate','_initBaseBeforeEvents','length','getFieldByName','type','View\x20type\x20is\x20required','getField','Failed\x20to\x20create\x20view\x20\x22','deleteTable','getValues','getTableByName','index','colId','4562085AppXLJ','primaryFieldId','test','disposeWithMe','BaseSortDirection','forEach','getSnapshot','BaseFieldType','setFilter','BaseTableFieldCreated','BaseTableRecordCreated','getTableId','conditions','stringify','notMatches','config','views','Date','values','get','UNIVER_BASE','[FRecord]:\x20failed\x20to\x20duplicate\x20record\x20\x22','cancel','endRow','getUnitId','_getField','getName','161039OiaRCO','fieldSettings','Duplicate\x20Base\x20field\x20name:\x20','168076riTPAV','orderKey','changeType','setOrderKey','1528696jJOFHF','BeforeBaseTableRecordCreate','BaseTableCellValueChanged','getOwnPropertyDescriptor','addField','string','getColumn','clear','Grid','546QDklcL','Base\x20regex\x20filter\x20is\x20too\x20long.\x20Maximum\x20length\x20is\x20512.','fieldOrder','fieldId','Failed\x20to\x20add\x20field\x20\x22','getUnit','getCurrentUnitOfType','fieldIds','getTable','duplicate','queryRecords','\x20Copy','deepClone','_inject','auto','getFields','BaseFieldKeyEnum','[FBaseRange]:\x20values\x20size\x20','operator','getDataRange','BeforeBaseTableCellValueChange','extend','getPrimaryField','_getRecord','setConfig','addRecord','4MReGHP','getTableById','_injector','record','isArray','recordOrder','recordId','Base\x20field\x20not\x20found:\x20','getProjection','createInstance','find','viewId','startRow',',\x20max\x20columns:\x20','fieldKey','setFieldVisible','flatMap','Event','update','endColumn','createdAt','caseSensitive','BeforeBaseTableCreate','duplicateTable','5350cgbonF','Field\x20type\x20is\x20required','Failed\x20to\x20add\x20records','[FView]:\x20view\x20\x22','offset','slice','limit','indexOf','description','max','_recordId','getId','setName','22QETMKA','getBaseId','BeforeBaseTableViewCreate','Name','getRecord','records','_range','rowId','getActiveBase','_viewId','tables','_table','defineProperty','object','getRange','_assertInBounds','readonly','getBases','BaseTableViewCreated','getBase','createView','getVisibleFields','Failed\x20to\x20duplicate\x20table\x20\x22','getSort','getRow','number','setFieldWidth','value','Invalid\x20Base\x20regex\x20filter:\x20','localeCompare','entries','getConfig','params','setValues','commonExtend','Failed\x20to\x20delete\x20table\x20\x22','[FBaseRange]:\x20table\x20does\x20not\x20exist.','hidden','syncExecuteCommand','_fieldId','getPrimaryFieldId','[FBaseRange]:\x20range\x20is\x20out\x20of\x20bounds.\x20Max\x20rows:\x20','registerEventHandler','push','getNumColumns','Calendar','getFieldById','\x20exceeds\x20range\x20size\x20','getNumRows','setValue','fireEvent','move','getSchema','getValue','updatedAt','getRecordById','delete','BaseFilterOperator','map','addRecords','rows','onCommandExecuted','BaseViewType','_base','direction','_getView','name','setGroup','getDefaultValue','now','_resolveRecordIds','tableId','sort','filter','Kanban','getView','_tableId'];_0x2bcb=function(){return _0x131f7a;};return _0x2bcb();}function ge(_0x532fbb,_0x1b29df){return function(_0x4c977e,_0x5c0a4b){_0x1b29df(_0x4c977e,_0x5c0a4b,_0x532fbb);};}function _e(_0x11dc8f,_0x3c4bcc,_0x2909c3,_0x4dc4e0){const _0x2d1fe1=_0x5bd08b;var _0x17958b=arguments[_0x2d1fe1(0x25d)],_0x5cae69=_0x17958b<0x3?_0x3c4bcc:_0x4dc4e0===null?_0x4dc4e0=Object[_0x2d1fe1(0x1af)](_0x3c4bcc,_0x2909c3):_0x4dc4e0,_0x49a8e9;if(typeof Reflect==_0x2d1fe1(0x201)&&typeof Reflect[_0x2d1fe1(0x25b)]=='function')_0x5cae69=Reflect[_0x2d1fe1(0x25b)](_0x11dc8f,_0x3c4bcc,_0x2909c3,_0x4dc4e0);else{for(var _0x112437=_0x11dc8f[_0x2d1fe1(0x25d)]-0x1;_0x112437>=0x0;_0x112437--)(_0x49a8e9=_0x11dc8f[_0x112437])&&(_0x5cae69=(_0x17958b<0x3?_0x49a8e9(_0x5cae69):_0x17958b>0x3?_0x49a8e9(_0x3c4bcc,_0x2909c3,_0x5cae69):_0x49a8e9(_0x3c4bcc,_0x2909c3))||_0x5cae69);}return _0x17958b>0x3&&_0x5cae69&&Object[_0x2d1fe1(0x200)](_0x3c4bcc,_0x2909c3,_0x5cae69),_0x5cae69;}let Q=class{constructor(_0x6e022b,_0x46af1a){const _0x11182f=_0x5bd08b;this[_0x11182f(0x233)]=_0x6e022b,this[_0x11182f(0x1d1)]=_0x46af1a;}['getBase'](){return this['_base'];}[_0x5bd08b(0x1f2)](){const _0x25f831=_0x5bd08b;return this[_0x25f831(0x233)]['getUnitId']();}['save'](){const _0x12f11a=_0x5bd08b;return _0x2cdab0[_0x12f11a(0x1c1)](this[_0x12f11a(0x233)][_0x12f11a(0x190)]());}[_0x5bd08b(0x1a4)](){const _0xad37ec=_0x5bd08b;return this[_0xad37ec(0x233)][_0xad37ec(0x190)]()['name'];}[_0x5bd08b(0x1f3)](_0x2c3985){const _0xf465ef=_0x5bd08b;this[_0xf465ef(0x1d1)][_0xf465ef(0x19d)](_0x3aa743)[_0xf465ef(0x21a)](_0x4e3765['id'],{'unitId':this[_0xf465ef(0x1f2)](),'name':_0x2c3985});}['getTables'](){const _0x3a29a4=_0x5bd08b;let _0x140024=this[_0x3a29a4(0x233)]['getSnapshot']();return _0x140024['tableOrder'][_0x3a29a4(0x22e)](_0x4cc125=>_0x140024['tables'][_0x4cc125])[_0x3a29a4(0x23d)](_0xe75f44=>_0xe75f44)['map'](_0x4f8369=>this[_0x3a29a4(0x1d1)]['createInstance'](X,this,_0x4f8369['id'],this[_0x3a29a4(0x1d1)]));}[_0x5bd08b(0x1d0)](_0x4a4d57){const _0x4e1b79=_0x5bd08b;let _0xbc3b1=this[_0x4e1b79(0x233)][_0x4e1b79(0x190)]()['tables'][_0x4a4d57];return _0xbc3b1?this[_0x4e1b79(0x1d1)][_0x4e1b79(0x1d8)](X,this,_0xbc3b1['id'],this['_injector']):null;}[_0x5bd08b(0x265)](_0x12332d){const _0x5764f0=_0x5bd08b;let _0x4b5df6=this[_0x5764f0(0x233)][_0x5764f0(0x190)](),_0x16b5b4=Object[_0x5764f0(0x19c)](_0x4b5df6['tables'])['find'](_0x5a705a=>_0x5a705a['name']===_0x12332d);return _0x16b5b4?this['_injector'][_0x5764f0(0x1d8)](X,this,_0x16b5b4['id'],this['_injector']):null;}['insertTable'](_0x15c59d,_0x520f40){const _0x414cc6=_0x5bd08b;var _0x2e6fd0;let _0x61a424=this[_0x414cc6(0x1d1)][_0x414cc6(0x19d)](_0x3aa743),_0x1ac17e=_0x47faff({'id':_0x301c12(),'name':_0x15c59d,..._0x520f40==null?void 0x0:_0x520f40[_0x414cc6(0x24d)],'primaryFieldName':_0x520f40==null?void 0x0:_0x520f40['primaryFieldName']}),_0x4c176d=_0x2cdab0[_0x414cc6(0x216)](_0x1ac17e,(_0x2e6fd0=_0x520f40==null?void 0x0:_0x520f40[_0x414cc6(0x24d)])==null?{}:_0x2e6fd0);if(!_0x61a424[_0x414cc6(0x21a)](_0x55a28e['id'],{'unitId':this[_0x414cc6(0x233)][_0x414cc6(0x1a2)](),'table':_0x4c176d,'index':_0x520f40==null?void 0x0:_0x520f40[_0x414cc6(0x266)]}))throw Error('Failed\x20to\x20create\x20table\x20\x22'+_0x15c59d+'\x22.');return this[_0x414cc6(0x1d1)][_0x414cc6(0x1d8)](X,this,_0x4c176d['id'],this[_0x414cc6(0x1d1)]);}[_0x5bd08b(0x263)](_0x534172){const _0x15e76b=_0x5bd08b;let _0x5a6fd9=this['_injector'][_0x15e76b(0x19d)](_0x3aa743),_0x4802b8=typeof _0x534172==_0x15e76b(0x1b1)?_0x534172:_0x534172[_0x15e76b(0x1f2)]();if(!_0x5a6fd9['syncExecuteCommand'](_0x1ec17e['id'],{'unitId':this[_0x15e76b(0x233)][_0x15e76b(0x1a2)](),'tableId':_0x4802b8}))throw Error(_0x15e76b(0x217)+_0x4802b8+'\x22.');return!0x0;}[_0x5bd08b(0x1e6)](_0x461ad0,_0x3ab91f){const _0x39f3b0=_0x5bd08b;var _0x2e27a3,_0x1bb02b;let _0x32dac4=this[_0x39f3b0(0x1d1)]['get'](_0x3aa743),_0x1d157a=this[_0x39f3b0(0x233)][_0x39f3b0(0x190)](),_0x7ff6e5=typeof _0x461ad0==_0x39f3b0(0x1b1)?_0x461ad0:_0x461ad0[_0x39f3b0(0x1f2)](),_0x360d8d=_0x1d157a[_0x39f3b0(0x1fe)][_0x7ff6e5];if(!_0x360d8d)throw Error(_0x39f3b0(0x243)+_0x7ff6e5+_0x39f3b0(0x259));let _0xadb684=_0x1d157a['tableOrder'][_0x39f3b0(0x1ee)](_0x7ff6e5)+0x1,_0x2df362=_0x98e38b(_0x360d8d,{'id':_0x301c12(),'name':_0x360d8d['name']+_0x39f3b0(0x1c0),'includeRecords':(_0x2e27a3=_0x3ab91f==null?void 0x0:_0x3ab91f[_0x39f3b0(0x244)])==null?!0x1:_0x2e27a3,'regenerateViewIds':(_0x1bb02b=_0x3ab91f==null?void 0x0:_0x3ab91f['regenerateViewIds'])==null?!0x1:_0x1bb02b});if(!_0x32dac4[_0x39f3b0(0x21a)](_0x55a28e['id'],{'unitId':this[_0x39f3b0(0x233)][_0x39f3b0(0x1a2)](),'table':_0x2df362,'index':_0xadb684}))throw Error(_0x39f3b0(0x20a)+_0x7ff6e5+'\x22.');return this[_0x39f3b0(0x1d1)][_0x39f3b0(0x1d8)](X,this,_0x2df362['id'],this[_0x39f3b0(0x1d1)]);}[_0x5bd08b(0x228)](){const _0x95f980=_0x5bd08b;let _0x111e01=this[_0x95f980(0x233)][_0x95f980(0x190)]();return{'id':_0x111e01['id'],'name':_0x111e01['name'],'tables':this['getTables']()[_0x95f980(0x22e)](_0x5d24ae=>_0x5d24ae[_0x95f980(0x228)]())};}};Q=_e([ge(0x1,_0x4fb1ca(_0x50a63c))],Q);var ve=class extends _0x30e147{['_initialize'](){this['_initBaseBeforeEvents'](),this['_initBaseAfterEvents']();}['createBase'](_0x1ed837={},_0x3e5ecb){const _0x2d092e=_0x5bd08b;let _0x573537=this[_0x2d092e(0x1d1)][_0x2d092e(0x19d)](_0x3b88a8)[_0x2d092e(0x248)](_0x3e71d6[_0x2d092e(0x19e)],_0x1ed837,_0x3e5ecb);return this[_0x2d092e(0x1d1)][_0x2d092e(0x1d8)](Q,_0x573537);}[_0x5bd08b(0x1fc)](){const _0x18e673=_0x5bd08b;let _0x1f3a09=this[_0x18e673(0x1d1)][_0x18e673(0x19d)](_0x3b88a8)[_0x18e673(0x1bb)](_0x3e71d6[_0x18e673(0x19e)]);return _0x1f3a09?this[_0x18e673(0x1d1)][_0x18e673(0x1d8)](Q,_0x1f3a09):null;}[_0x5bd08b(0x207)](_0x4240ed){const _0x4975fc=_0x5bd08b;let _0x23bd2e=this[_0x4975fc(0x1d1)]['get'](_0x3b88a8)[_0x4975fc(0x1ba)](_0x4240ed,_0x3e71d6['UNIVER_BASE']);return _0x23bd2e?this['_injector'][_0x4975fc(0x1d8)](Q,_0x23bd2e):null;}[_0x5bd08b(0x205)](){const _0x347b2d=_0x5bd08b;return this[_0x347b2d(0x1d1)][_0x347b2d(0x19d)](_0x3b88a8)['getAllUnitsForType'](_0x3e71d6['UNIVER_BASE'])[_0x347b2d(0x22e)](_0x4fbe4e=>this[_0x347b2d(0x1d1)][_0x347b2d(0x1d8)](Q,_0x4fbe4e));}['_initBaseAfterEvents'](){const _0x25b6be=_0x5bd08b;let _0x750674=this['_injector'][_0x25b6be(0x19d)](_0x3aa743);this[_0x25b6be(0x26b)](this[_0x25b6be(0x21e)](this[_0x25b6be(0x1e0)][_0x25b6be(0x24c)],()=>_0x750674[_0x25b6be(0x231)](_0xb5684f=>{const _0x73bf58=_0x25b6be;if(_0xb5684f['id']!==_0x55a28e['id'])return;let {unitId:_0x4ad1f8,table:_0x35e494,index:_0x44b100}=_0xb5684f['params'],_0x58fba8=this['getBase'](_0x4ad1f8);if(!_0x58fba8)return;let _0xefbf6f={'base':_0x58fba8,'table':_0x35e494,'index':_0x44b100};this[_0x73bf58(0x226)](this[_0x73bf58(0x1e0)][_0x73bf58(0x24c)],_0xefbf6f);}))),this[_0x25b6be(0x26b)](this[_0x25b6be(0x21e)](this['Event'][_0x25b6be(0x193)],()=>_0x750674[_0x25b6be(0x231)](_0x4bfc38=>{const _0x10bfe6=_0x25b6be;if(_0x4bfc38['id']!==_0x184d99['id'])return;let {unitId:_0x2e28b6,tableId:_0x2056da,field:_0x5b691,index:_0x38ffdb,viewIndexes:_0x4ce962}=_0x4bfc38['params'],_0x33e6f=this[_0x10bfe6(0x207)](_0x2e28b6);if(!_0x33e6f)return;let _0x5f5dd1=_0x33e6f['getTableById'](_0x2056da);if(!_0x5f5dd1)return;let _0x3fbcaa={'base':_0x33e6f,'table':_0x5f5dd1,'field':_0x5b691,'index':_0x38ffdb,'viewIndexes':_0x4ce962};this['fireEvent'](this[_0x10bfe6(0x1e0)]['BaseTableFieldCreated'],_0x3fbcaa);}))),this[_0x25b6be(0x26b)](this[_0x25b6be(0x21e)](this[_0x25b6be(0x1e0)][_0x25b6be(0x194)],()=>_0x750674[_0x25b6be(0x231)](_0x3ed4c4=>{const _0x5931e1=_0x25b6be;var _0x354c27;if(_0x3ed4c4['id']!==_0x121d2e['id']&&_0x3ed4c4['id']!==_0x448856['id'])return;let _0x3e94d8=_0x3ed4c4[_0x5931e1(0x214)],{unitId:_0x31a4a5,tableId:_0x504488}=_0x3e94d8,_0x3b496d=(_0x354c27=_0x3e94d8[_0x5931e1(0x1f9)])==null?[_0x3e94d8['record']]:_0x354c27,_0x354d2e=this['getBase'](_0x31a4a5);if(!_0x354d2e)return;let _0x52f62d=_0x354d2e[_0x5931e1(0x1d0)](_0x504488);if(!_0x52f62d)return;let _0x551b63={'base':_0x354d2e,'table':_0x52f62d,'records':_0x3b496d};this[_0x5931e1(0x226)](this['Event']['BaseTableRecordCreated'],_0x551b63);}))),this['disposeWithMe'](this[_0x25b6be(0x21e)](this[_0x25b6be(0x1e0)]['BaseTableViewCreated'],()=>_0x750674['onCommandExecuted'](_0x19b716=>{const _0x34ede8=_0x25b6be;if(_0x19b716['id']!==_0x54aea6['id'])return;let {unitId:_0x2ae701,tableId:_0x4062c8,view:_0x4d8fb2,index:_0x3a0b5c}=_0x19b716['params'],_0x2d2db0=this['getBase'](_0x2ae701);if(!_0x2d2db0)return;let _0x5b4e28=_0x2d2db0[_0x34ede8(0x1d0)](_0x4062c8);if(!_0x5b4e28)return;let _0x329516={'base':_0x2d2db0,'table':_0x5b4e28,'view':_0x4d8fb2,'index':_0x3a0b5c};this['fireEvent'](this[_0x34ede8(0x1e0)][_0x34ede8(0x206)],_0x329516);}))),this[_0x25b6be(0x26b)](this[_0x25b6be(0x21e)](this[_0x25b6be(0x1e0)][_0x25b6be(0x1ae)],()=>_0x750674[_0x25b6be(0x231)](_0x1f603c=>{const _0x4140df=_0x25b6be;if(_0x1f603c['id']!==_0x2380c6['id'])return;let {unitId:_0x2e3ed6,tableId:_0x30186c,recordId:_0x54a420,fieldId:_0x3396bb,value:_0x911b9f}=_0x1f603c[_0x4140df(0x214)],_0x4db787=this['getBase'](_0x2e3ed6);if(!_0x4db787)return;let _0x391882=_0x4db787[_0x4140df(0x1d0)](_0x30186c);if(!_0x391882)return;let _0x4164a4=_0x391882[_0x4140df(0x222)](_0x3396bb);if(!_0x4164a4)return;let _0x11a102=_0x391882[_0x4140df(0x22b)](_0x54a420);if(!_0x11a102)return;let _0x1a8537={'base':_0x4db787,'table':_0x391882,'field':_0x4164a4,'record':_0x11a102,'value':_0x911b9f};this[_0x4140df(0x226)](this[_0x4140df(0x1e0)][_0x4140df(0x1ae)],_0x1a8537);})));}[_0x5bd08b(0x25c)](){const _0x3a5bab=_0x5bd08b;let _0x56bcd3=this[_0x3a5bab(0x1d1)][_0x3a5bab(0x19d)](_0x3aa743);this['disposeWithMe'](this[_0x3a5bab(0x21e)](this['Event'][_0x3a5bab(0x1e5)],()=>_0x56bcd3[_0x3a5bab(0x255)](_0x35b63f=>{const _0x26d4de=_0x3a5bab;if(_0x35b63f['id']!==_0x55a28e['id'])return;let {unitId:_0xdb48fe,table:_0x37bf9b,index:_0x1c4e52}=_0x35b63f['params'],_0x4282ad=this[_0x26d4de(0x207)](_0xdb48fe);if(!_0x4282ad)return;let _0x49f62d={'base':_0x4282ad,'table':_0x37bf9b,'index':_0x1c4e52};if(this[_0x26d4de(0x226)](this[_0x26d4de(0x1e0)]['BeforeBaseTableCreate'],_0x49f62d),_0x49f62d[_0x26d4de(0x1a0)])throw new _0x42772d();}))),this[_0x3a5bab(0x26b)](this[_0x3a5bab(0x21e)](this[_0x3a5bab(0x1e0)][_0x3a5bab(0x251)],()=>_0x56bcd3['beforeCommandExecuted'](_0x400e65=>{const _0x48ff1c=_0x3a5bab;if(_0x400e65['id']!==_0x184d99['id'])return;let {unitId:_0x1d20d6,tableId:_0x510a7b,field:_0x51c530,index:_0x21c326,viewIndexes:_0xcacc36}=_0x400e65[_0x48ff1c(0x214)],_0x4dfdd0=this[_0x48ff1c(0x207)](_0x1d20d6);if(!_0x4dfdd0)return;let _0x14a2dd=_0x4dfdd0[_0x48ff1c(0x1d0)](_0x510a7b);if(!_0x14a2dd)return;let _0x22f95e={'base':_0x4dfdd0,'table':_0x14a2dd,'field':_0x51c530,'index':_0x21c326,'viewIndexes':_0xcacc36};if(this[_0x48ff1c(0x226)](this[_0x48ff1c(0x1e0)][_0x48ff1c(0x251)],_0x22f95e),_0x22f95e['cancel'])throw new _0x42772d();}))),this[_0x3a5bab(0x26b)](this['registerEventHandler'](this['Event'][_0x3a5bab(0x1ad)],()=>_0x56bcd3[_0x3a5bab(0x255)](_0x4399bb=>{const _0x36f867=_0x3a5bab;var _0x45303e;if(_0x4399bb['id']!==_0x121d2e['id']&&_0x4399bb['id']!==_0x448856['id'])return;let _0x56727e=_0x4399bb[_0x36f867(0x214)],{unitId:_0x2b5223,tableId:_0x161857}=_0x56727e,_0x30774a=(_0x45303e=_0x56727e[_0x36f867(0x1f9)])==null?[_0x56727e['record']]:_0x45303e,_0x3ca704=this['getBase'](_0x2b5223);if(!_0x3ca704)return;let _0x45821f=_0x3ca704[_0x36f867(0x1d0)](_0x161857);if(!_0x45821f)return;let _0x1004f4={'base':_0x3ca704,'table':_0x45821f,'records':_0x30774a};if(this[_0x36f867(0x226)](this[_0x36f867(0x1e0)][_0x36f867(0x1ad)],_0x1004f4),_0x1004f4[_0x36f867(0x1a0)])throw new _0x42772d();}))),this[_0x3a5bab(0x26b)](this['registerEventHandler'](this[_0x3a5bab(0x1e0)][_0x3a5bab(0x1f6)],()=>_0x56bcd3['beforeCommandExecuted'](_0x38f8be=>{const _0x4accab=_0x3a5bab;if(_0x38f8be['id']!==_0x54aea6['id'])return;let {unitId:_0x497c02,tableId:_0x3c41d8,view:_0x544a0b,index:_0x54b76d}=_0x38f8be[_0x4accab(0x214)],_0x3009c3=this[_0x4accab(0x207)](_0x497c02);if(!_0x3009c3)return;let _0x294fb6=_0x3009c3[_0x4accab(0x1d0)](_0x3c41d8);if(!_0x294fb6)return;let _0x4fef2a={'base':_0x3009c3,'table':_0x294fb6,'view':_0x544a0b,'index':_0x54b76d};if(this[_0x4accab(0x226)](this['Event'][_0x4accab(0x1f6)],_0x4fef2a),_0x4fef2a['cancel'])throw new _0x42772d();}))),this['disposeWithMe'](this[_0x3a5bab(0x21e)](this[_0x3a5bab(0x1e0)][_0x3a5bab(0x1c9)],()=>_0x56bcd3[_0x3a5bab(0x255)](_0x143b91=>{const _0x221a77=_0x3a5bab;if(_0x143b91['id']!==_0x2380c6['id'])return;let {unitId:_0x4e2442,tableId:_0x1afaee,recordId:_0x34807b,fieldId:_0x2994e,value:_0xd4f6a6}=_0x143b91[_0x221a77(0x214)],_0x590908=this[_0x221a77(0x207)](_0x4e2442);if(!_0x590908)return;let _0x1a8e8d=_0x590908[_0x221a77(0x1d0)](_0x1afaee);if(!_0x1a8e8d)return;let _0x27e061=_0x1a8e8d['getFieldById'](_0x2994e);if(!_0x27e061)return;let _0x417f36=_0x1a8e8d[_0x221a77(0x22b)](_0x34807b);if(!_0x417f36)return;let _0x5379f9={'base':_0x590908,'table':_0x1a8e8d,'field':_0x27e061,'record':_0x417f36,'value':_0xd4f6a6};if(this['fireEvent'](this['Event']['BeforeBaseTableCellValueChange'],_0x5379f9),_0x5379f9[_0x221a77(0x1a0)])throw new _0x42772d();})));}};_0x30e147[_0x5bd08b(0x1ca)](ve);var ye=class extends _0x20d9fe{get[_0x5bd08b(0x191)](){return _0x4bca3c;}get['BaseFilterConjunction'](){return _0x468dce;}get[_0x5bd08b(0x22d)](){return _0x3db560;}get[_0x5bd08b(0x1c5)](){return G;}get[_0x5bd08b(0x232)](){return _0x55bec4;}get[_0x5bd08b(0x18e)](){return _0x1d10d0;}};_0x20d9fe['extend'](ye);var $=class extends _0x1330b7{get[_0x5bd08b(0x24c)](){return'BaseTableCreated';}get[_0x5bd08b(0x1e5)](){return'BeforeBaseTableCreate';}get['BaseTableFieldCreated'](){return'BaseTableFieldCreated';}get['BeforeBaseTableFieldCreate'](){const _0x2f953a=_0x5bd08b;return _0x2f953a(0x251);}get['BaseTableRecordCreated'](){const _0x3337ea=_0x5bd08b;return _0x3337ea(0x194);}get[_0x5bd08b(0x1ad)](){const _0x72856a=_0x5bd08b;return _0x72856a(0x1ad);}get[_0x5bd08b(0x206)](){const _0x1a5af6=_0x5bd08b;return _0x1a5af6(0x206);}get[_0x5bd08b(0x1f6)](){const _0x56e2d9=_0x5bd08b;return _0x56e2d9(0x1f6);}get[_0x5bd08b(0x1ae)](){const _0xfc47ed=_0x5bd08b;return _0xfc47ed(0x1ae);}get[_0x5bd08b(0x1c9)](){return'BeforeBaseTableCellValueChange';}};_0x1330b7[_0x5bd08b(0x1ca)]($);export{G as BaseFieldKeyEnum,Q as FBase,X as FBaseTable,U as FBaseTableField,W as FBaseTableRange,J as FBaseTableRecord,Y as FBaseTableView,$ as FBasesEventNameMixin,q as resolveBaseFieldKey,K as resolveBaseFieldValues};
|
|
1
|
+
const _0x2ffc26=_0x592a;(function(_0x272af9,_0x45b9d0){const _0x48d218=_0x592a,_0xe24a74=_0x272af9();while(!![]){try{const _0x5e8073=-parseInt(_0x48d218(0x1c5))/0x1+-parseInt(_0x48d218(0x189))/0x2*(-parseInt(_0x48d218(0x11d))/0x3)+-parseInt(_0x48d218(0x19b))/0x4+-parseInt(_0x48d218(0x150))/0x5+-parseInt(_0x48d218(0x116))/0x6*(parseInt(_0x48d218(0x176))/0x7)+parseInt(_0x48d218(0x129))/0x8*(parseInt(_0x48d218(0x192))/0x9)+-parseInt(_0x48d218(0x101))/0xa*(-parseInt(_0x48d218(0x194))/0xb);if(_0x5e8073===_0x45b9d0)break;else _0xe24a74['push'](_0xe24a74['shift']());}catch(_0x449437){_0xe24a74['push'](_0xe24a74['shift']());}}}(_0x153f,0xa84ff));import{BatchCreateBaseRecordsCommand as _0x1c05d6,BatchDeleteBaseRecordsCommand as _0x4901b2,ChangeBaseFieldTypeCommand as _0x43c75c,CreateBaseFieldCommand as _0x33b9a5,CreateBaseRecordCommand as _0x2cce42,CreateBaseTableCommand as _0x374462,CreateBaseViewCommand as _0x30e023,DeleteBaseFieldCommand as _0x21ae9c,DeleteBaseRecordCommand as _0xa86f7,DeleteBaseTableCommand as _0x411971,DeleteBaseViewCommand as _0x3e9dcd,DuplicateBaseRecordCommand as _0x467762,IBaseProjectionService as _0x12b6eb,MoveBaseFieldCommand as _0x4d39b5,MoveBaseViewCommand as _0x637c4d,RenameBaseTableCommand as _0x4fcea0,RenameBaseViewCommand as _0x2f6a2b,SetBaseNameCommand as _0x3a982d,SetBaseRangeValuesCommand as _0x1c6136,SetBaseRecordValuesCommand as _0x57b621,SetBaseViewFieldOrderCommand as _0x422701,SetBaseViewFieldVisibleCommand as _0x46c04d,SetBaseViewFieldWidthCommand as _0x1addbe,SetBaseViewFilterCommand as _0x5a4a97,SetBaseViewGroupCommand as _0x94e848,SetBaseViewSortCommand as _0x27e233,UpdateBaseCellCommand as _0x32c66a,UpdateBaseFieldCommand as _0x12e099,UpdateBaseRecordOrderCommand as _0x56e608,UpdateBaseViewConfigCommand as _0x265bad,copyBaseTableSnapshot as _0x4bab18,ensureBaseTableCellLayout as _0x4344cf,getBaseCellValue as _0x40cfa1,matchesBaseCondition as _0x5f093b,searchBaseTable as _0x45eb7c}from'@univerjs-pro/bases';import{BaseFieldType as _0x501578,BaseFilterConjunction as _0x34cdfb,BaseFilterOperator as _0x34e159,BaseSortDirection as _0x482ea7,BaseViewType as _0x4e016d,CanceledError as _0x110505,ICommandService as _0x51ac63,IUniverInstanceService as _0xe6c28e,Inject as _0x1ae801,Injector as _0x5ac807,Tools as _0x42f22d,UniverInstanceType as _0x1d0ab6,createDefaultBaseTableSnapshot as _0x4a23df,generateRandomId as _0x4bcfb3}from'@univerjs/core';import{FEnum as _0x233966,FEventName as _0xdb6ff6,FUniver as _0x4e5238}from'@univerjs/core/facade';var U=class{constructor(_0x7feee7,_0x8f334d,_0x250991,_0x1c9d60){const _0x287ac7=_0x592a;this[_0x287ac7(0x186)]=_0x7feee7,this[_0x287ac7(0x10f)]=_0x8f334d,this['_fieldId']=_0x250991,this[_0x287ac7(0x180)]=_0x1c9d60;}[_0x2ffc26(0x199)](){const _0x1d978f=_0x2ffc26;return this[_0x1d978f(0x1ce)];}[_0x2ffc26(0x17b)](){const _0x1871e1=_0x2ffc26;return this[_0x1871e1(0x128)]();}[_0x2ffc26(0x1bb)](){const _0x1a2792=_0x2ffc26;return this[_0x1a2792(0x128)]()['name'];}['getType'](){const _0x473cd0=_0x2ffc26;return this[_0x473cd0(0x128)]()[_0x473cd0(0x138)];}[_0x2ffc26(0x111)](){const _0x2ae9d4=_0x2ffc26;return this[_0x2ae9d4(0x128)]()[_0x2ae9d4(0x1d2)];}[_0x2ffc26(0x114)](){const _0x4c618e=_0x2ffc26;return this[_0x4c618e(0x128)]()[_0x4c618e(0x18b)];}[_0x2ffc26(0x1d3)](){return this['_getField']()['description'];}['isReadonly'](){const _0x209d93=_0x2ffc26;return!!this[_0x209d93(0x128)]()[_0x209d93(0x123)];}['setName'](_0xe03bf1){const _0xb9aa15=_0x2ffc26;return this[_0xb9aa15(0x1c4)]({'name':_0xe03bf1});}[_0x2ffc26(0x14a)](_0x5bc1e6){const _0x49c2b9=_0x2ffc26;return this[_0x49c2b9(0x1c4)]({'config':_0x5bc1e6});}[_0x2ffc26(0x13f)](_0x21b2de){const _0x139357=_0x2ffc26;return this[_0x139357(0x1c4)]({'defaultValue':_0x21b2de});}[_0x2ffc26(0x1c4)](_0x30629e){const _0x1c6fea=_0x2ffc26;return this['_inject']['get'](_0x51ac63)[_0x1c6fea(0x1cb)](_0x12e099['id'],{'unitId':this['_base'][_0x1c6fea(0x199)](),'tableId':this[_0x1c6fea(0x10f)][_0x1c6fea(0x199)](),'fieldId':this['_fieldId'],'patch':_0x30629e});}[_0x2ffc26(0x127)](_0x57df8a,_0x40ec61={}){const _0x3c4cb1=_0x2ffc26;return this['_inject']['get'](_0x51ac63)[_0x3c4cb1(0x1cb)](_0x43c75c['id'],{'unitId':this['_base'][_0x3c4cb1(0x199)](),'tableId':this[_0x3c4cb1(0x10f)][_0x3c4cb1(0x199)](),'fieldId':this[_0x3c4cb1(0x1ce)],'input':{'type':_0x57df8a,'config':_0x40ec61}});}[_0x2ffc26(0x1b9)](){const _0x3c60bc=_0x2ffc26;return this['_inject'][_0x3c60bc(0x16a)](_0x51ac63)[_0x3c60bc(0x1cb)](_0x21ae9c['id'],{'unitId':this[_0x3c60bc(0x186)]['getId'](),'tableId':this[_0x3c60bc(0x10f)]['getId'](),'fieldId':this[_0x3c60bc(0x1ce)]});}[_0x2ffc26(0x1a1)](_0x11dfcc){const _0x5b302a=_0x2ffc26;return this[_0x5b302a(0x180)][_0x5b302a(0x16a)](_0x51ac63)[_0x5b302a(0x1cb)](_0x4d39b5['id'],{'unitId':this[_0x5b302a(0x186)][_0x5b302a(0x199)](),'tableId':this[_0x5b302a(0x10f)][_0x5b302a(0x199)](),'fieldId':this[_0x5b302a(0x1ce)],'target':_0x11dfcc});}[_0x2ffc26(0x128)](){const _0x5d1d12=_0x2ffc26;let _0x28ab89=this[_0x5d1d12(0x10f)][_0x5d1d12(0xfe)]()['fields'][this['_fieldId']];if(!_0x28ab89)throw Error(_0x5d1d12(0xfb)+this[_0x5d1d12(0x1ce)]+_0x5d1d12(0xfc));return _0x28ab89;}},W=class e{constructor(_0x310019,_0x344272,_0xd4d9d9,_0x52ca49){const _0x2fd9d9=_0x2ffc26;this[_0x2fd9d9(0x186)]=_0x310019,this[_0x2fd9d9(0x10f)]=_0x344272,this[_0x2fd9d9(0x147)]=_0xd4d9d9,this[_0x2fd9d9(0x180)]=_0x52ca49,this[_0x2fd9d9(0x1ac)]();}['getBaseId'](){const _0x4ab1d8=_0x2ffc26;return this[_0x4ab1d8(0x186)]['getId']();}['getTableId'](){const _0x29bb58=_0x2ffc26;return this[_0x29bb58(0x10f)][_0x29bb58(0x199)]();}[_0x2ffc26(0x106)](){const _0x5b6b78=_0x2ffc26;return{...this[_0x5b6b78(0x147)]};}[_0x2ffc26(0x177)](){const _0x58815b=_0x2ffc26;return this['_range'][_0x58815b(0x1a3)];}['getColumn'](){const _0x2fe697=_0x2ffc26;return this[_0x2fe697(0x147)]['startColumn'];}[_0x2ffc26(0x193)](){const _0x1de81c=_0x2ffc26;return this['_range'][_0x1de81c(0x15f)]-this[_0x1de81c(0x147)][_0x1de81c(0x1a3)]+0x1;}[_0x2ffc26(0x1b8)](){const _0x1beb4c=_0x2ffc26;return this[_0x1beb4c(0x147)][_0x1beb4c(0x148)]-this[_0x1beb4c(0x147)][_0x1beb4c(0x12e)]+0x1;}[_0x2ffc26(0x131)](){const _0x1bab1c=_0x2ffc26;let _0x4acb93=this[_0x1bab1c(0x161)](),_0x36b78c=[];for(let _0x5c3cc0=this[_0x1bab1c(0x147)][_0x1bab1c(0x1a3)];_0x5c3cc0<=this[_0x1bab1c(0x147)][_0x1bab1c(0x15f)];_0x5c3cc0++){var _0x51cd03;let _0x46171b=(_0x51cd03=_0x4acb93['rowId'])==null?void 0x0:_0x51cd03[_0x5c3cc0],_0x566711=[];for(let _0x32cc5c=this[_0x1bab1c(0x147)][_0x1bab1c(0x12e)];_0x32cc5c<=this[_0x1bab1c(0x147)][_0x1bab1c(0x148)];_0x32cc5c++){var _0x4993f2;let _0x38cf1b=(_0x4993f2=_0x4acb93[_0x1bab1c(0xf6)])==null?void 0x0:_0x4993f2[_0x32cc5c];_0x566711[_0x1bab1c(0x110)](_0x46171b&&_0x38cf1b?_0x40cfa1(_0x4acb93,_0x46171b,_0x38cf1b):null);}_0x36b78c['push'](_0x566711);}return _0x36b78c;}[_0x2ffc26(0x19d)](){const _0x31d004=_0x2ffc26;var _0x8d9e14,_0x1d6fa5;return(_0x8d9e14=(_0x1d6fa5=this[_0x31d004(0x131)]()[0x0])==null?void 0x0:_0x1d6fa5[0x0])==null?null:_0x8d9e14;}['setValue'](_0x3afd7e){const _0x5b8924=_0x2ffc26;return this[_0x5b8924(0x166)]([[_0x3afd7e]]);}[_0x2ffc26(0x166)](_0x864ba4){const _0x430cfa=_0x2ffc26;let _0x4b14e6=this[_0x430cfa(0x193)](),_0x27c10b=this[_0x430cfa(0x1b8)]();if(_0x864ba4[_0x430cfa(0x18f)]>_0x4b14e6||_0x864ba4[_0x430cfa(0x132)](_0x5af60d=>_0x5af60d[_0x430cfa(0x18f)]>_0x27c10b)){var _0x129f83,_0x3240c1;throw Error(_0x430cfa(0x1cf)+_0x864ba4['length']+'x'+((_0x129f83=(_0x3240c1=_0x864ba4[0x0])==null?void 0x0:_0x3240c1[_0x430cfa(0x18f)])==null?0x0:_0x129f83)+_0x430cfa(0xf7)+_0x4b14e6+'x'+_0x27c10b+'.');}let _0x2587d7=this[_0x430cfa(0x180)][_0x430cfa(0x16a)](_0x51ac63),_0x24c200=_0x864ba4[_0x430cfa(0x175)]((_0x15642a,_0x472ac7)=>_0x15642a[_0x430cfa(0x133)]((_0x5797b9,_0x52ec4d)=>({'row':this['_range']['startRow']+_0x472ac7,'col':this[_0x430cfa(0x147)][_0x430cfa(0x12e)]+_0x52ec4d,'value':_0x5797b9})));return _0x2587d7[_0x430cfa(0x1cb)](_0x1c6136['id'],{'unitId':this[_0x430cfa(0x186)][_0x430cfa(0x199)](),'tableId':this[_0x430cfa(0x10f)][_0x430cfa(0x199)](),'patches':_0x24c200});}[_0x2ffc26(0x1b3)](){const _0x1419e7=_0x2ffc26;return this['setValues'](Array[_0x1419e7(0x1d4)]({'length':this[_0x1419e7(0x193)]()},()=>Array[_0x1419e7(0x1d4)]({'length':this[_0x1419e7(0x1b8)]()},()=>null)));}['offset'](_0x24e2b6,_0x260ca7,_0x203226=this['getNumRows'](),_0x560195=this[_0x2ffc26(0x1b8)]()){const _0x486e3f=_0x2ffc26;return this[_0x486e3f(0x180)][_0x486e3f(0xfd)](e,this['_base'],this[_0x486e3f(0x10f)],{'startRow':this[_0x486e3f(0x147)][_0x486e3f(0x1a3)]+_0x24e2b6,'startColumn':this[_0x486e3f(0x147)][_0x486e3f(0x12e)]+_0x260ca7,'endRow':this[_0x486e3f(0x147)]['startRow']+_0x24e2b6+_0x203226-0x1,'endColumn':this[_0x486e3f(0x147)][_0x486e3f(0x12e)]+_0x260ca7+_0x560195-0x1},this[_0x486e3f(0x180)]);}[_0x2ffc26(0x161)](){const _0x25ed56=_0x2ffc26;let _0x27f962=this[_0x25ed56(0x10f)][_0x25ed56(0xfe)]();if(!_0x27f962)throw Error(_0x25ed56(0x159));return _0x4344cf(_0x27f962);}['_assertInBounds'](){const _0x2df527=_0x2ffc26;var _0x4005d3,_0x231327;let _0x148c77=this[_0x2df527(0x161)](),_0xff9765=(_0x4005d3=(_0x231327=_0x148c77[_0x2df527(0x1b2)])==null?void 0x0:_0x231327[_0x2df527(0x18f)])==null?0x0:_0x4005d3,_0x112fe6=_0x148c77[_0x2df527(0x108)][_0x2df527(0x18f)];if(this[_0x2df527(0x147)]['startRow']<0x0||this['_range'][_0x2df527(0x12e)]<0x0||this[_0x2df527(0x147)]['endRow']<this[_0x2df527(0x147)][_0x2df527(0x1a3)]||this['_range'][_0x2df527(0x148)]<this[_0x2df527(0x147)][_0x2df527(0x12e)]||this['_range'][_0x2df527(0x15f)]>=Math[_0x2df527(0x103)](_0xff9765,0x1)||this[_0x2df527(0x147)][_0x2df527(0x148)]>=Math['max'](_0x112fe6,0x1))throw Error(_0x2df527(0x173)+_0xff9765+_0x2df527(0x172)+_0x112fe6+_0x2df527(0x10d)+JSON[_0x2df527(0x12b)](this[_0x2df527(0x147)])+'.');}};let G=function(_0x459c3b){const _0x2884af=_0x2ffc26;return _0x459c3b['Id']='id',_0x459c3b['Name']='name',_0x459c3b[_0x2884af(0x168)]='auto',_0x459c3b;}({});function K(_0x5b6f03,_0x24e152,_0x5a93c6='id'){const _0x5d6137=_0x2ffc26;if(!_0x24e152)return{};let _0x393c24={};return Object[_0x5d6137(0x178)](_0x24e152)[_0x5d6137(0x17c)](([_0x9912b7,_0x3d901a])=>{_0x393c24[q(_0x5b6f03,_0x9912b7,_0x5a93c6)]=_0x3d901a;}),_0x393c24;}function q(_0x576075,_0x7e06ba,_0x1e8bed){const _0x1d70b9=_0x2ffc26;if(_0x1e8bed==='id'||_0x1e8bed===_0x1d70b9(0x198)&&_0x576075[_0x1d70b9(0x191)][_0x7e06ba])return _0x7e06ba;let _0x4ccdec=Object[_0x1d70b9(0x11b)](_0x576075[_0x1d70b9(0x191)])[_0x1d70b9(0x100)](_0x52e025=>_0x52e025[_0x1d70b9(0x14d)]===_0x7e06ba);if(_0x4ccdec[_0x1d70b9(0x18f)]===0x1)return _0x4ccdec[0x0]['id'];throw _0x4ccdec[_0x1d70b9(0x18f)]>0x1?Error(_0x1d70b9(0x1c1)+_0x7e06ba):Error(_0x1d70b9(0x1ca)+_0x7e06ba);}var J=class e{constructor(_0x2982d3,_0x2ef172,_0x340b51,_0x3c009a){const _0x5606f0=_0x2ffc26;this[_0x5606f0(0x186)]=_0x2982d3,this[_0x5606f0(0x10f)]=_0x2ef172,this['_recordId']=_0x340b51,this[_0x5606f0(0x180)]=_0x3c009a;}[_0x2ffc26(0x199)](){const _0x505135=_0x2ffc26;return this[_0x505135(0x157)];}[_0x2ffc26(0xfa)](){const _0x13240d=_0x2ffc26;return this[_0x13240d(0x144)]();}['getValue'](_0x1de1c1){const _0xaa3b16=_0x2ffc26;var _0x6f351f;return(_0x6f351f=this['_getRecord']()[_0xaa3b16(0x11b)][_0x1de1c1])==null?null:_0x6f351f;}[_0x2ffc26(0x131)](){const _0x434b40=_0x2ffc26;return{...this[_0x434b40(0x144)]()[_0x434b40(0x11b)]};}[_0x2ffc26(0x141)](_0x37e70e,_0xefe37d){const _0x36ad35=_0x2ffc26;return this[_0x36ad35(0x180)][_0x36ad35(0x16a)](_0x51ac63)[_0x36ad35(0x1cb)](_0x32c66a['id'],{'unitId':this[_0x36ad35(0x186)][_0x36ad35(0x199)](),'tableId':this[_0x36ad35(0x10f)]['getId'](),'recordId':this[_0x36ad35(0x157)],'fieldId':_0x37e70e,'value':_0xefe37d});}[_0x2ffc26(0x166)](_0x2af063,_0x5df0c8='id'){const _0x49696c=_0x2ffc26;let _0x413eb0=this[_0x49696c(0x180)][_0x49696c(0x16a)](_0x51ac63),_0x4f5f7c=this['_table'][_0x49696c(0xfe)](),_0x365c87=[{'recordId':this[_0x49696c(0x157)],'values':K(_0x4f5f7c,_0x2af063,_0x5df0c8)}];return _0x413eb0[_0x49696c(0x1cb)](_0x57b621['id'],{'unitId':this['_base'][_0x49696c(0x199)](),'tableId':this[_0x49696c(0x10f)][_0x49696c(0x199)](),'patches':_0x365c87});}[_0x2ffc26(0x1b9)](){const _0x309829=_0x2ffc26;return this[_0x309829(0x180)]['get'](_0x51ac63)[_0x309829(0x1cb)](_0xa86f7['id'],{'unitId':this[_0x309829(0x186)][_0x309829(0x199)](),'tableId':this['_table'][_0x309829(0x199)](),'recordId':this[_0x309829(0x157)]});}[_0x2ffc26(0x11e)](_0x2d47f3){const _0x4af674=_0x2ffc26;let _0xbdf932=this[_0x4af674(0x180)][_0x4af674(0x16a)](_0x51ac63),_0x47759c={...this['_getRecord'](),..._0x2d47f3,'id':_0x4bcfb3(0x6)};_0x2d47f3!=null&&_0x2d47f3['values']&&(_0x47759c[_0x4af674(0x11b)]={..._0x47759c[_0x4af674(0x11b)],..._0x2d47f3[_0x4af674(0x11b)]});let _0x3e062f=Date[_0x4af674(0xf1)]();if(_0x47759c[_0x4af674(0x16f)]||(_0x47759c[_0x4af674(0x16f)]=''+_0x3e062f),_0x47759c[_0x4af674(0x142)]||(_0x47759c[_0x4af674(0x142)]=_0x3e062f),_0x47759c['updatedAt']||(_0x47759c[_0x4af674(0x109)]=_0x3e062f),!_0xbdf932[_0x4af674(0x1cb)](_0x467762['id'],{'unitId':this['_base']['getId'](),'tableId':this[_0x4af674(0x10f)][_0x4af674(0x199)](),'sourceRecordId':this['_recordId'],'record':_0x47759c}))throw Error(_0x4af674(0x15b)+this['_recordId']+'\x22.');return this[_0x4af674(0x180)][_0x4af674(0xfd)](e,this[_0x4af674(0x186)],this['_table'],_0x47759c['id'],this[_0x4af674(0x180)]);}[_0x2ffc26(0x11a)](_0x4dea4a){const _0x4e0d02=_0x2ffc26;return this[_0x4e0d02(0x180)][_0x4e0d02(0x16a)](_0x51ac63)[_0x4e0d02(0x1cb)](_0x56e608['id'],{'unitId':this[_0x4e0d02(0x186)]['getId'](),'tableId':this[_0x4e0d02(0x10f)]['getId'](),'recordId':this['_recordId'],'orderKey':_0x4dea4a});}[_0x2ffc26(0x144)](){const _0x50dc03=_0x2ffc26;let _0x2e4458=this['_table'][_0x50dc03(0xfe)]()[_0x50dc03(0x18c)][this['_recordId']];if(!_0x2e4458)throw Error(_0x50dc03(0x12c)+this[_0x50dc03(0x157)]+_0x50dc03(0xfc));return _0x2e4458;}},Y=class{constructor(_0x593bec,_0x40e1c0,_0x152349,_0x2c52ff){const _0x4bc496=_0x2ffc26;this['_base']=_0x593bec,this[_0x4bc496(0x10f)]=_0x40e1c0,this[_0x4bc496(0x18a)]=_0x152349,this[_0x4bc496(0x1b0)]=_0x2c52ff;}[_0x2ffc26(0x199)](){const _0x53f4f5=_0x2ffc26;return this[_0x53f4f5(0x18a)];}['getView'](){const _0x26da14=_0x2ffc26;return this[_0x26da14(0x171)]();}[_0x2ffc26(0x1bb)](){const _0x4a803e=_0x2ffc26;return this['_getView']()[_0x4a803e(0x14d)];}[_0x2ffc26(0x1b7)](){const _0x2dbe1f=_0x2ffc26;return this['_getView']()[_0x2dbe1f(0x138)];}[_0x2ffc26(0x15e)](_0x393c6c){const _0x43c12f=_0x2ffc26;return this['_injector'][_0x43c12f(0x16a)](_0x51ac63)[_0x43c12f(0x1cb)](_0x2f6a2b['id'],{'unitId':this[_0x43c12f(0x186)][_0x43c12f(0x199)](),'tableId':this[_0x43c12f(0x10f)][_0x43c12f(0x199)](),'viewId':this[_0x43c12f(0x18a)],'name':_0x393c6c});}['getConfig'](){const _0x2dfdbe=_0x2ffc26;let _0x30d4de=this[_0x2dfdbe(0x1b7)](),_0x20613a=this['_getView']()[_0x2dfdbe(0x1d2)];switch(_0x30d4de){case _0x4e016d[_0x2dfdbe(0x1bd)]:return _0x20613a;case _0x4e016d['Kanban']:return _0x20613a;case _0x4e016d[_0x2dfdbe(0x126)]:return _0x20613a;case _0x4e016d[_0x2dfdbe(0x1af)]:return _0x20613a;case _0x4e016d[_0x2dfdbe(0x154)]:return _0x20613a;default:return _0x20613a;}}['updateConfig'](_0x2484c6){const _0x50cc74=_0x2ffc26;return this[_0x50cc74(0x1b0)][_0x50cc74(0x16a)](_0x51ac63)['syncExecuteCommand'](_0x265bad['id'],{'unitId':this['_base']['getId'](),'tableId':this['_table']['getId'](),'viewId':this[_0x50cc74(0x18a)],'patch':_0x2484c6});}[_0x2ffc26(0x1ba)](){const _0x1753db=_0x2ffc26;var _0x29dc6c;return(_0x29dc6c=this[_0x1753db(0x171)]()[_0x1753db(0x100)])==null?null:_0x29dc6c;}[_0x2ffc26(0x10c)](_0x5613da){const _0x4a9706=_0x2ffc26;return this[_0x4a9706(0x1b0)][_0x4a9706(0x16a)](_0x51ac63)['syncExecuteCommand'](_0x5a4a97['id'],{'unitId':this[_0x4a9706(0x186)][_0x4a9706(0x199)](),'tableId':this[_0x4a9706(0x10f)][_0x4a9706(0x199)](),'viewId':this['_viewId'],'filter':_0x5613da});}[_0x2ffc26(0x115)](){const _0x2f503f=_0x2ffc26;var _0x5c5049;return(_0x5c5049=this[_0x2f503f(0x171)]()[_0x2f503f(0x130)])==null?[]:_0x5c5049;}[_0x2ffc26(0x184)](_0x24fac0){const _0x163ff2=_0x2ffc26;return this[_0x163ff2(0x1b0)]['get'](_0x51ac63)[_0x163ff2(0x1cb)](_0x27e233['id'],{'unitId':this[_0x163ff2(0x186)][_0x163ff2(0x199)](),'tableId':this[_0x163ff2(0x10f)]['getId'](),'viewId':this[_0x163ff2(0x18a)],'sort':_0x24fac0});}[_0x2ffc26(0x195)](){const _0x5f16c4=_0x2ffc26;var _0x5663ee;return(_0x5663ee=this[_0x5f16c4(0x171)]()[_0x5f16c4(0x190)])==null?[]:_0x5663ee;}[_0x2ffc26(0x17d)](_0x39084d){const _0x1d82a5=_0x2ffc26;return this['_injector'][_0x1d82a5(0x16a)](_0x51ac63)[_0x1d82a5(0x1cb)](_0x94e848['id'],{'unitId':this[_0x1d82a5(0x186)][_0x1d82a5(0x199)](),'tableId':this['_table']['getId'](),'viewId':this[_0x1d82a5(0x18a)],'group':_0x39084d});}[_0x2ffc26(0x1c8)](_0x642cba){const _0x44eda8=_0x2ffc26;var _0x24a5d0,_0x250e47;return(_0x24a5d0=(_0x250e47=this[_0x44eda8(0x171)]()[_0x44eda8(0x16d)])==null?void 0x0:_0x250e47[_0x642cba])==null?{}:_0x24a5d0;}['getVisibleFields'](){const _0x3d7bc4=_0x2ffc26;var _0x5e08a4;let _0x2f0a47=this['_table'][_0x3d7bc4(0xfe)](),_0x285cf0=this['_getView']();return((_0x5e08a4=_0x285cf0[_0x3d7bc4(0x108)])==null?_0x2f0a47['fieldOrder']:_0x5e08a4)['filter'](_0x504810=>{const _0x3cfe9d=_0x3d7bc4;var _0x704e4d;return _0x2f0a47[_0x3cfe9d(0x191)][_0x504810]&&!(!((_0x704e4d=_0x285cf0[_0x3cfe9d(0x16d)])==null||(_0x704e4d=_0x704e4d[_0x504810])==null)&&_0x704e4d['hidden']);})[_0x3d7bc4(0x133)](_0x146f38=>this[_0x3d7bc4(0x1b0)][_0x3d7bc4(0xfd)](U,this[_0x3d7bc4(0x186)],this[_0x3d7bc4(0x10f)],_0x146f38,this['_injector']));}[_0x2ffc26(0x1c6)](_0x26c99b,_0x36caea){const _0x123226=_0x2ffc26;return this['_injector'][_0x123226(0x16a)](_0x51ac63)['syncExecuteCommand'](_0x46c04d['id'],{'unitId':this['_base']['getId'](),'tableId':this[_0x123226(0x10f)][_0x123226(0x199)](),'viewId':this[_0x123226(0x18a)],'fieldId':_0x26c99b,'visible':_0x36caea});}[_0x2ffc26(0x107)](_0x11f925,_0xed9711){const _0x2d7872=_0x2ffc26;return this[_0x2d7872(0x1b0)][_0x2d7872(0x16a)](_0x51ac63)[_0x2d7872(0x1cb)](_0x1addbe['id'],{'unitId':this[_0x2d7872(0x186)]['getId'](),'tableId':this[_0x2d7872(0x10f)]['getId'](),'viewId':this[_0x2d7872(0x18a)],'fieldId':_0x11f925,'width':_0xed9711});}[_0x2ffc26(0x196)](_0x5bba76,_0x3a0b15){const _0x17d65d=_0x2ffc26;return this['_injector'][_0x17d65d(0x16a)](_0x51ac63)[_0x17d65d(0x1cb)](_0x422701['id'],{'unitId':this[_0x17d65d(0x186)][_0x17d65d(0x199)](),'tableId':this[_0x17d65d(0x10f)]['getId'](),'viewId':this[_0x17d65d(0x18a)],'fieldId':_0x5bba76,'target':_0x3a0b15});}[_0x2ffc26(0x1a1)](_0x53a6a1){const _0x1413ba=_0x2ffc26;return this['_injector'][_0x1413ba(0x16a)](_0x51ac63)[_0x1413ba(0x1cb)](_0x637c4d['id'],{'unitId':this[_0x1413ba(0x186)][_0x1413ba(0x199)](),'tableId':this[_0x1413ba(0x10f)][_0x1413ba(0x199)](),'viewId':this[_0x1413ba(0x18a)],'target':_0x53a6a1});}['delete'](){const _0x14c9e7=_0x2ffc26;return this['_injector'][_0x14c9e7(0x16a)](_0x51ac63)[_0x14c9e7(0x1cb)](_0x3e9dcd['id'],{'unitId':this[_0x14c9e7(0x186)][_0x14c9e7(0x199)](),'tableId':this[_0x14c9e7(0x10f)][_0x14c9e7(0x199)](),'viewId':this['_viewId']});}[_0x2ffc26(0xf2)](){const _0x152278=_0x2ffc26;return this[_0x152278(0x1b0)][_0x152278(0x16a)](_0x12b6eb)['getProjection'](this[_0x152278(0x186)]['getBase']()[_0x152278(0x15c)](),this[_0x152278(0x10f)][_0x152278(0x199)](),this[_0x152278(0x18a)]);}[_0x2ffc26(0x171)](){const _0x40ed07=_0x2ffc26;let _0x2e4050=this[_0x40ed07(0x10f)][_0x40ed07(0xfe)]()[_0x40ed07(0x118)][this[_0x40ed07(0x18a)]];if(!_0x2e4050)throw Error(_0x40ed07(0x10e)+this[_0x40ed07(0x18a)]+_0x40ed07(0xfc));return _0x2e4050;}},X=class{constructor(_0x175c7f,_0x5f0e68,_0x3e23a6){const _0x635753=_0x2ffc26;this[_0x635753(0x186)]=_0x175c7f,this[_0x635753(0x165)]=_0x5f0e68,this[_0x635753(0x1b0)]=_0x3e23a6;}[_0x2ffc26(0x1a5)](){const _0x4c5a1e=_0x2ffc26;return this[_0x4c5a1e(0x186)][_0x4c5a1e(0x1a5)]();}[_0x2ffc26(0xfe)](){const _0x1c1080=_0x2ffc26;return this[_0x1c1080(0x161)]();}[_0x2ffc26(0x199)](){const _0x1ac9fe=_0x2ffc26;return this[_0x1ac9fe(0x165)];}[_0x2ffc26(0x1bb)](){const _0x122f50=_0x2ffc26;return this[_0x122f50(0x161)]()[_0x122f50(0x14d)];}[_0x2ffc26(0x15e)](_0x9828d6){const _0x159503=_0x2ffc26;return this['_injector']['get'](_0x51ac63)[_0x159503(0x1cb)](_0x4fcea0['id'],{'unitId':this[_0x159503(0x186)][_0x159503(0x199)](),'tableId':this[_0x159503(0x165)],'name':_0x9828d6});}['search'](_0xb01cb9,_0x16496a){const _0x73b48a=_0x2ffc26;var _0x9a77c2;let _0xd5850a=this[_0x73b48a(0x1b0)][_0x73b48a(0x16a)](_0x12b6eb),_0x52db22=this[_0x73b48a(0x186)][_0x73b48a(0x1a5)]()[_0x73b48a(0x15c)](),_0x10c8d6=this['_getTable']();if(_0x16496a){var _0xe3020c;let _0x40432e=_0xd5850a[_0x73b48a(0xf2)](_0x52db22,this[_0x73b48a(0x165)],_0x16496a),_0x488386=_0x10c8d6[_0x73b48a(0x118)][_0x16496a],_0x5166bf=(_0xe3020c=_0xb01cb9['fieldIds'])==null?he(_0x10c8d6,_0x488386,_0x40432e):_0xe3020c,_0x3a7c2f=_0x73b48a(0x1bf)in _0x40432e&&Array[_0x73b48a(0x163)](_0x40432e[_0x73b48a(0x1bf)])?_0x40432e[_0x73b48a(0x1bf)]:[];return _0x45eb7c({..._0xb01cb9,'table':_0x10c8d6,'fieldIds':_0x5166bf,'rows':_0x3a7c2f});}let _0x33d096=(_0x10c8d6[_0x73b48a(0x1b2)]?_0x10c8d6[_0x73b48a(0x1b2)][_0x73b48a(0x133)](_0x26094f=>_0x10c8d6[_0x73b48a(0x18c)][_0x26094f]):Object[_0x73b48a(0x11b)](_0x10c8d6[_0x73b48a(0x18c)])[_0x73b48a(0x130)]((_0x1d42b6,_0x28a1e9)=>_0x1d42b6[_0x73b48a(0x16f)]['localeCompare'](_0x28a1e9[_0x73b48a(0x16f)])))[_0x73b48a(0x100)](_0x479896=>_0x479896)[_0x73b48a(0x133)](_0x250af4=>({'recordId':_0x250af4['id'],'values':_0x250af4[_0x73b48a(0x11b)]})),_0x279869=(_0x9a77c2=_0xb01cb9[_0x73b48a(0x187)])==null?_0x10c8d6[_0x73b48a(0x108)][_0x73b48a(0x100)](_0x564282=>_0x10c8d6[_0x73b48a(0x191)][_0x564282]):_0x9a77c2;return _0x45eb7c({..._0xb01cb9,'table':_0x10c8d6,'fieldIds':_0x279869,'rows':_0x33d096});}[_0x2ffc26(0x121)](){const _0x4d024d=_0x2ffc26;return this[_0x4d024d(0x161)]()[_0x4d024d(0x1c0)];}[_0x2ffc26(0x143)](){const _0x205e8e=_0x2ffc26;let _0x2f645f=this[_0x205e8e(0x161)]();return _0x2f645f[_0x205e8e(0x108)]['map'](_0x4924cf=>_0x2f645f[_0x205e8e(0x191)][_0x4924cf])[_0x205e8e(0x100)](_0x1e953b=>_0x1e953b)[_0x205e8e(0x133)](_0x11bbad=>this['_injector'][_0x205e8e(0xfd)](U,this['_base'],this,_0x11bbad['id'],this[_0x205e8e(0x1b0)]));}[_0x2ffc26(0x183)](_0x5d4677){const _0xad88aa=_0x2ffc26;let _0x12db21=this[_0xad88aa(0x161)]()[_0xad88aa(0x191)][_0x5d4677];return _0x12db21?this[_0xad88aa(0x1b0)][_0xad88aa(0xfd)](U,this[_0xad88aa(0x186)],this,_0x12db21['id'],this[_0xad88aa(0x1b0)]):null;}[_0x2ffc26(0x1a6)](_0x4ddfd1){const _0x1e59f0=_0x2ffc26;let _0x2cd43b=this[_0x1e59f0(0x161)]()[_0x1e59f0(0x191)],_0x153663=Object[_0x1e59f0(0x11b)](_0x2cd43b)[_0x1e59f0(0xf5)](_0x49d177=>_0x49d177[_0x1e59f0(0x14d)]===_0x4ddfd1);return _0x153663?this[_0x1e59f0(0x1b0)][_0x1e59f0(0xfd)](U,this[_0x1e59f0(0x186)],this,_0x153663['id'],this['_injector']):null;}['getPrimaryField'](){const _0x54e82f=_0x2ffc26;let _0x34be2e=this[_0x54e82f(0x161)]()[_0x54e82f(0x1c0)];return this[_0x54e82f(0x1b0)]['createInstance'](U,this['_base'],this,_0x34be2e,this[_0x54e82f(0x1b0)]);}['addField'](_0x20ca3f,_0x480a9d,_0x1d4764){const _0x552a9b=_0x2ffc26;var _0x36ee53;let _0x28fb67=this['_injector']['get'](_0x51ac63),_0x52f234=(_0x36ee53=_0x1d4764==null?void 0x0:_0x1d4764[_0x552a9b(0x185)])==null?{}:_0x36ee53;if(_0x52f234['id']=_0x4bcfb3(0x6),_0x52f234[_0x552a9b(0x14d)]=_0x20ca3f,_0x52f234[_0x552a9b(0x138)]=_0x480a9d,!_0x52f234[_0x552a9b(0x138)])throw Error(_0x552a9b(0x140));if(_0x52f234[_0x552a9b(0x1d2)]||(_0x52f234[_0x552a9b(0x1d2)]={}),!_0x28fb67[_0x552a9b(0x1cb)](_0x33b9a5['id'],{'unitId':this[_0x552a9b(0x186)][_0x552a9b(0x199)](),'tableId':this['_tableId'],'field':_0x52f234,'index':_0x1d4764==null?void 0x0:_0x1d4764['index']}))throw Error(_0x552a9b(0x17a)+_0x20ca3f+'\x22');return this[_0x552a9b(0x1b0)][_0x552a9b(0xfd)](U,this['_base'],this,_0x52f234['id'],this[_0x552a9b(0x1b0)]);}[_0x2ffc26(0x19f)](){const _0x55ba9b=_0x2ffc26;return this[_0x55ba9b(0x153)]()[_0x55ba9b(0x133)](_0x35d322=>this[_0x55ba9b(0x1b0)][_0x55ba9b(0xfd)](J,this['_base'],this,_0x35d322,this[_0x55ba9b(0x1b0)]));}[_0x2ffc26(0x134)](_0x106448){const _0x5dc849=_0x2ffc26;return this[_0x5dc849(0x161)]()['records'][_0x106448]?this['_injector'][_0x5dc849(0xfd)](J,this[_0x5dc849(0x186)],this,_0x106448,this[_0x5dc849(0x1b0)]):null;}[_0x2ffc26(0x1b6)](_0x18d743={}){const _0x463535=_0x2ffc26;var _0x5c681f;let _0x1f4f50=this[_0x463535(0x161)](),_0x22cc8f=this['_resolveRecordIds'](_0x18d743),_0x1e7ff8=Math[_0x463535(0x103)](0x0,(_0x5c681f=_0x18d743[_0x463535(0x1a8)])==null?0x0:_0x5c681f),_0x24d649=_0x18d743[_0x463535(0x1aa)]==null?null:Math[_0x463535(0x103)](0x0,_0x18d743[_0x463535(0x1aa)]),_0x43c44e=ue(_0x22cc8f['map'](_0x2bc42b=>_0x1f4f50['records'][_0x2bc42b])[_0x463535(0x100)](_0x3af814=>fe(_0x3af814,_0x1f4f50,_0x18d743[_0x463535(0x100)])),_0x1f4f50,_0x18d743[_0x463535(0x130)]);return{'records':le(_0x43c44e,_0x18d743)['map'](_0x203ddc=>this[_0x463535(0x1b0)][_0x463535(0xfd)](J,this[_0x463535(0x186)],this,_0x203ddc['id'],this['_injector'])),'total':_0x43c44e[_0x463535(0x18f)],'offset':_0x1e7ff8,'limit':_0x24d649,'hasMore':_0x24d649!=null&&_0x1e7ff8+_0x24d649<_0x43c44e[_0x463535(0x18f)]};}[_0x2ffc26(0x13d)](_0x463f85,_0x3a8a55='id',_0xfdb5a6){const _0x52dcc3=_0x2ffc26;let _0x9acea3=this[_0x52dcc3(0x1b0)]['get'](_0x51ac63),_0x1e29c5=this['_getTable'](),_0x1f22fc=_0xfdb5a6==null?{}:_0xfdb5a6;_0x1f22fc['id']=_0x4bcfb3(0x6),_0x1f22fc['values']=K(_0x1e29c5,_0x463f85,_0x3a8a55);let _0x3aa2b4=Date[_0x52dcc3(0xf1)]();if(_0x1f22fc[_0x52dcc3(0x16f)]||(_0x1f22fc[_0x52dcc3(0x16f)]=''+_0x3aa2b4),_0x1f22fc[_0x52dcc3(0x142)]||(_0x1f22fc[_0x52dcc3(0x142)]=_0x3aa2b4),_0x1f22fc['updatedAt']||(_0x1f22fc[_0x52dcc3(0x109)]=_0x3aa2b4),!_0x9acea3['syncExecuteCommand'](_0x2cce42['id'],{'unitId':this[_0x52dcc3(0x186)][_0x52dcc3(0x199)](),'tableId':this[_0x52dcc3(0x165)],'record':_0x1f22fc}))throw Error(_0x52dcc3(0x1bc)+_0x1f22fc['id']+'\x22');return this[_0x52dcc3(0x1b0)][_0x52dcc3(0xfd)](J,this['_base'],this,_0x1f22fc['id'],this['_injector']);}['addRecords'](_0x44fe69){const _0x3c98d2=_0x2ffc26;if(!_0x44fe69[_0x3c98d2(0x18f)])return[];let _0x243ce5=this[_0x3c98d2(0x1b0)][_0x3c98d2(0x16a)](_0x51ac63),_0x39b43c=this['_getTable'](),_0xab10d=Date[_0x3c98d2(0xf1)](),_0x32c2b5=_0x44fe69[_0x3c98d2(0x133)]((_0x1d6a36,_0x346ea2)=>{const _0x27f3a9=_0x3c98d2;var _0x582309,_0x340acd;let _0x534705=(_0x582309=_0x1d6a36[_0x27f3a9(0x13c)])==null?{}:_0x582309;return _0x534705['id']=_0x4bcfb3(0x6),_0x534705['values']=K(_0x39b43c,_0x1d6a36[_0x27f3a9(0x11b)],(_0x340acd=_0x1d6a36[_0x27f3a9(0x135)])==null?'id':_0x340acd),_0x534705[_0x27f3a9(0x16f)]||(_0x534705[_0x27f3a9(0x16f)]=''+(_0xab10d+_0x346ea2)),_0x534705[_0x27f3a9(0x142)]||(_0x534705[_0x27f3a9(0x142)]=_0xab10d),_0x534705[_0x27f3a9(0x109)]||(_0x534705[_0x27f3a9(0x109)]=_0xab10d),_0x534705;});if(!_0x243ce5[_0x3c98d2(0x1cb)](_0x1c05d6['id'],{'unitId':this['_base'][_0x3c98d2(0x199)](),'tableId':this[_0x3c98d2(0x165)],'records':_0x32c2b5}))throw Error(_0x3c98d2(0x112));return _0x32c2b5['map'](_0x5e32a6=>this[_0x3c98d2(0x1b0)]['createInstance'](J,this[_0x3c98d2(0x186)],this,_0x5e32a6['id'],this[_0x3c98d2(0x1b0)]));}[_0x2ffc26(0x182)](_0x1603a4){const _0x2eb622=_0x2ffc26;return _0x1603a4[_0x2eb622(0x18f)]?this[_0x2eb622(0x1b0)][_0x2eb622(0x16a)](_0x51ac63)[_0x2eb622(0x1cb)](_0x4901b2['id'],{'unitId':this[_0x2eb622(0x186)]['getId'](),'tableId':this['_tableId'],'recordIds':_0x1603a4}):!0x0;}[_0x2ffc26(0x106)](_0x22d12c,_0x9396,_0xbbd158=0x1,_0x4f6b89=0x1){const _0x38f746=_0x2ffc26;return this[_0x38f746(0x1b0)][_0x38f746(0xfd)](W,this['_base'],this,{'startRow':_0x22d12c,'endRow':_0x22d12c+_0xbbd158-0x1,'startColumn':_0x9396,'endColumn':_0x9396+_0x4f6b89-0x1},this[_0x38f746(0x1b0)]);}['getDataRange'](){const _0xb25bf5=_0x2ffc26;var _0x514da4,_0x27d6e3;let _0x432a3a=_0x4344cf(this[_0xb25bf5(0x161)]()),_0x2b3d05=(_0x514da4=(_0x27d6e3=_0x432a3a[_0xb25bf5(0x1b2)])==null?void 0x0:_0x27d6e3[_0xb25bf5(0x18f)])==null?0x0:_0x514da4,_0x2e7439=_0x432a3a[_0xb25bf5(0x108)][_0xb25bf5(0x18f)];return this['getRange'](0x0,0x0,Math['max'](_0x2b3d05,0x1),Math['max'](_0x2e7439,0x1));}[_0x2ffc26(0x1ab)](){const _0x4e5e3d=_0x2ffc26;let _0xb4ba5d=this[_0x4e5e3d(0x161)]();return _0xb4ba5d[_0x4e5e3d(0xf3)][_0x4e5e3d(0x100)](_0x5e416f=>_0xb4ba5d['views'][_0x5e416f])[_0x4e5e3d(0x133)](_0x276bdd=>this['_injector'][_0x4e5e3d(0xfd)](Y,this[_0x4e5e3d(0x186)],this,_0x276bdd,this[_0x4e5e3d(0x1b0)]));}[_0x2ffc26(0x156)](_0x24f1f0){const _0x2921ef=_0x2ffc26;return this[_0x2921ef(0x161)]()[_0x2921ef(0x118)][_0x24f1f0]?this['_injector'][_0x2921ef(0xfd)](Y,this[_0x2921ef(0x186)],this,_0x24f1f0,this[_0x2921ef(0x1b0)]):null;}[_0x2ffc26(0x1c2)](_0x4eeeb2){const _0x3293c6=_0x2ffc26;let _0x392bf3=this['_getTable'](),_0x4008aa=Object[_0x3293c6(0x11b)](_0x392bf3[_0x3293c6(0x118)])[_0x3293c6(0xf5)](_0x5bb0b=>_0x5bb0b['name']===_0x4eeeb2);return _0x4008aa?this[_0x3293c6(0x1b0)]['createInstance'](Y,this[_0x3293c6(0x186)],this,_0x4008aa['id'],this[_0x3293c6(0x1b0)]):null;}['createView'](_0x1e5ca5,_0x3a2c51,_0x1ff1a9){const _0x31ac7b=_0x2ffc26;var _0xc6cd34;let _0x159e07=this[_0x31ac7b(0x1b0)][_0x31ac7b(0x16a)](_0x51ac63),_0x32b3ca=this[_0x31ac7b(0x161)](),_0x2aad10=(_0xc6cd34=_0x1ff1a9==null?void 0x0:_0x1ff1a9['view'])==null?{}:_0xc6cd34;if(_0x2aad10['id']=_0x4bcfb3(0x6),_0x2aad10[_0x31ac7b(0x14d)]=_0x1e5ca5,_0x2aad10[_0x31ac7b(0x138)]=_0x3a2c51,_0x2aad10[_0x31ac7b(0xf4)]=this[_0x31ac7b(0x165)],!_0x2aad10[_0x31ac7b(0x138)])throw Error(_0x31ac7b(0xf8));if(_0x2aad10[_0x31ac7b(0x1d2)]||(_0x2aad10[_0x31ac7b(0x1d2)]={}),_0x2aad10[_0x31ac7b(0x108)]||(_0x2aad10[_0x31ac7b(0x108)]=[..._0x32b3ca[_0x31ac7b(0x108)]]),!_0x159e07[_0x31ac7b(0x1cb)](_0x30e023['id'],{'unitId':this[_0x31ac7b(0x186)][_0x31ac7b(0x199)](),'tableId':this[_0x31ac7b(0x165)],'view':_0x2aad10,'index':_0x1ff1a9==null?void 0x0:_0x1ff1a9[_0x31ac7b(0x1b4)]}))throw Error(_0x31ac7b(0x18d)+_0x1e5ca5+'\x22');return this[_0x31ac7b(0x1b0)][_0x31ac7b(0xfd)](Y,this[_0x31ac7b(0x186)],this,_0x2aad10['id'],this['_injector']);}[_0x2ffc26(0x13b)](){const _0x5624e5=_0x2ffc26;let _0x34a9ca=this[_0x5624e5(0x161)](),_0xa3538b=_0x34a9ca[_0x5624e5(0x108)][_0x5624e5(0x100)](_0x222ac9=>_0x34a9ca[_0x5624e5(0x191)][_0x222ac9]),_0x46298d=_0x34a9ca['viewOrder'][_0x5624e5(0x100)](_0x3023e2=>_0x34a9ca[_0x5624e5(0x118)][_0x3023e2]);return{'id':_0x34a9ca['id'],'name':_0x34a9ca[_0x5624e5(0x14d)],'primaryFieldId':_0x34a9ca[_0x5624e5(0x1c0)],'fieldIds':_0xa3538b,'viewIds':_0x46298d,'recordCount':this[_0x5624e5(0x153)]()['length'],'fields':_0xa3538b[_0x5624e5(0x133)](_0x585bfc=>{const _0x28cc5a=_0x5624e5;let _0x47a52f=_0x34a9ca[_0x28cc5a(0x191)][_0x585bfc];return{'id':_0x47a52f['id'],'name':_0x47a52f[_0x28cc5a(0x14d)],'type':_0x47a52f['type'],'config':_0x47a52f[_0x28cc5a(0x1d2)],'readonly':_0x47a52f[_0x28cc5a(0x123)],'description':_0x47a52f['description']};}),'views':_0x46298d[_0x5624e5(0x133)](_0x4fb9f3=>{const _0x48205d=_0x5624e5;let _0x94dc4c=_0x34a9ca['views'][_0x4fb9f3];return{'id':_0x94dc4c['id'],'name':_0x94dc4c[_0x48205d(0x14d)],'type':_0x94dc4c['type']};})};}[_0x2ffc26(0x161)](){const _0x70f8e7=_0x2ffc26;let _0x567627=this[_0x70f8e7(0x186)][_0x70f8e7(0x1a5)]()[_0x70f8e7(0x15c)]()[_0x70f8e7(0x125)][this[_0x70f8e7(0x165)]];if(!_0x567627)throw Error('[FTable]:\x20table\x20\x22'+this[_0x70f8e7(0x165)]+_0x70f8e7(0xfc));return _0x567627;}[_0x2ffc26(0x153)](_0x3fb03e={}){const _0x1fe8f6=_0x2ffc26;let _0x88eafd=this[_0x1fe8f6(0x1b0)][_0x1fe8f6(0x16a)](_0x12b6eb),_0x172277=this[_0x1fe8f6(0x186)][_0x1fe8f6(0x1a5)]()['getSnapshot'](),_0x4e45d2=this['_getTable']();if(_0x3fb03e[_0x1fe8f6(0x12d)]){let _0x19cf2c=_0x88eafd['getProjection'](_0x172277,this[_0x1fe8f6(0x165)],_0x3fb03e[_0x1fe8f6(0x12d)]);if(_0x1fe8f6(0x1bf)in _0x19cf2c&&Array['isArray'](_0x19cf2c[_0x1fe8f6(0x1bf)]))return _0x19cf2c[_0x1fe8f6(0x1bf)][_0x1fe8f6(0x133)](_0x158595=>_0x158595[_0x1fe8f6(0x14f)]);}return(_0x4e45d2['recordOrder']?_0x4e45d2[_0x1fe8f6(0x1b2)][_0x1fe8f6(0x133)](_0x26512b=>_0x4e45d2[_0x1fe8f6(0x18c)][_0x26512b]):Object[_0x1fe8f6(0x11b)](_0x4e45d2[_0x1fe8f6(0x18c)])[_0x1fe8f6(0x130)]((_0x407b4b,_0x39f8d9)=>_0x407b4b[_0x1fe8f6(0x16f)][_0x1fe8f6(0x1c9)](_0x39f8d9[_0x1fe8f6(0x16f)])))[_0x1fe8f6(0x100)](_0x1c7f7d=>_0x1c7f7d)['map'](_0x5a7c79=>_0x5a7c79['id']);}};function le(_0x24c65a,_0x5eabba){const _0x5ba0a5=_0x2ffc26;var _0x1a62bb;let _0x4a3a47=Math[_0x5ba0a5(0x103)](0x0,(_0x1a62bb=_0x5eabba['offset'])==null?0x0:_0x1a62bb);return _0x5eabba[_0x5ba0a5(0x1aa)]==null?_0x24c65a[_0x5ba0a5(0x1b5)](_0x4a3a47):_0x24c65a[_0x5ba0a5(0x1b5)](_0x4a3a47,_0x4a3a47+Math['max'](0x0,_0x5eabba[_0x5ba0a5(0x1aa)]));}function ue(_0x140db7,_0x2b43e6,_0x5fe2e8=[]){const _0x2c8111=_0x2ffc26;return _0x5fe2e8['length']?[..._0x140db7][_0x2c8111(0x130)]((_0x470967,_0x2cb025)=>{const _0x4bd215=_0x2c8111;var _0x544d8e,_0x5b7dff;for(let _0x2b32d1 of _0x5fe2e8){var _0x1d2170;let _0x8864a6=_0x2b32d1[_0x4bd215(0x1a4)]===_0x482ea7[_0x4bd215(0x174)]?-0x1:0x1,_0x26380e=de(_0x470967[_0x4bd215(0x11b)][_0x2b32d1['fieldId']],_0x2cb025[_0x4bd215(0x11b)][_0x2b32d1[_0x4bd215(0x120)]],(_0x1d2170=_0x2b43e6['fields'][_0x2b32d1[_0x4bd215(0x120)]])==null?void 0x0:_0x1d2170[_0x4bd215(0x138)]);if(_0x26380e!==0x0)return _0x26380e*_0x8864a6;}return String((_0x544d8e=_0x470967['orderKey'])==null?_0x470967['id']:_0x544d8e)[_0x4bd215(0x1c9)](String((_0x5b7dff=_0x2cb025[_0x4bd215(0x16f)])==null?_0x2cb025['id']:_0x5b7dff));}):_0x140db7;}function de(_0xf17b2,_0x94df6b,_0x556e03){const _0x1afb0a=_0x2ffc26;return _0xf17b2==null&&_0x94df6b==null?0x0:_0xf17b2==null?-0x1:_0x94df6b==null?0x1:typeof _0xf17b2=='number'&&typeof _0x94df6b==_0x1afb0a(0x139)?_0xf17b2-_0x94df6b:_0x556e03===_0x501578[_0x1afb0a(0x19e)]?Number(_0xf17b2)-Number(_0x94df6b):String(_0xf17b2)['localeCompare'](String(_0x94df6b));}function fe(_0x141f90,_0x4884a0,_0x5c5777){const _0x44cb82=_0x2ffc26;var _0x51998b;if(!_0x5c5777||!((_0x51998b=_0x5c5777[_0x44cb82(0x181)])!=null&&_0x51998b['length']))return!0x0;let {conjunction:_0x59a359=_0x34cdfb['OR'],conditions:_0x344fc8}=_0x5c5777;return _0x59a359===_0x34cdfb[_0x44cb82(0x11f)]&&_0x344fc8[_0x44cb82(0x18f)]>0x1?_0x344fc8['every'](_0x2fe33a=>Z(_0x141f90,_0x4884a0,_0x2fe33a)):_0x344fc8[_0x44cb82(0x132)](_0x2ae228=>Z(_0x141f90,_0x4884a0,_0x2ae228));}function Z(_0x2eb0cd,_0x481f87,_0x1839d3){const _0x31ab37=_0x2ffc26;let _0x3998db=_0x2eb0cd[_0x31ab37(0x11b)][_0x1839d3[_0x31ab37(0x120)]],_0x5a9f66=_0x481f87[_0x31ab37(0x191)][_0x1839d3[_0x31ab37(0x120)]];if(pe(_0x1839d3)){let _0x398ea2=me(_0x1839d3)['test'](String(_0x3998db==null?'':_0x3998db));return _0x1839d3[_0x31ab37(0x122)]==='matches'?_0x398ea2:!_0x398ea2;}return _0x5a9f66?_0x5f093b(_0x3998db,_0x1839d3[_0x31ab37(0x122)],_0x1839d3[_0x31ab37(0x1d5)],_0x5a9f66):!0x0;}function pe(_0x310e86){const _0x503b24=_0x2ffc26;return _0x310e86[_0x503b24(0x122)]===_0x503b24(0x149)||_0x310e86[_0x503b24(0x122)]===_0x503b24(0x13a);}function _0x592a(_0x4eafbb,_0x58ea44){_0x4eafbb=_0x4eafbb-0xf1;const _0x153fd2=_0x153f();let _0x592a1e=_0x153fd2[_0x4eafbb];return _0x592a1e;}function _0x153f(){const _0xc948b4=['getFieldSettings','localeCompare','Base\x20field\x20not\x20found:\x20','syncExecuteCommand','Failed\x20to\x20duplicate\x20table\x20\x22','BeforeBaseTableFieldCreate','_fieldId','[FBaseRange]:\x20values\x20size\x20','getTables','fireEvent','config','getDescription','from','value','getAllUnitsForType','now','getProjection','viewOrder','tableId','find','colId','\x20exceeds\x20range\x20size\x20','View\x20type\x20is\x20required','BaseFilterConjunction','getRecord','[FField]:\x20field\x20\x22','\x22\x20does\x20not\x20exist.','createInstance','getTable','getOwnPropertyDescriptor','filter','4755830DFJuue','createBase','max','Failed\x20to\x20delete\x20table\x20\x22','hidden','getRange','setFieldWidth','fieldOrder','updatedAt','invalid','getTableByName','setFilter',',\x20range:\x20','[FView]:\x20view\x20\x22','_table','push','getConfig','Failed\x20to\x20add\x20records','BeforeBaseTableCreate','getDefaultValue','getSort','24918CPxeoi','beforeCommandExecuted','views','BaseFieldKeyEnum','setOrderKey','values','_initialize','181920jZLhTA','duplicate','AND','fieldId','getPrimaryFieldId','operator','readonly','Event','tables','Calendar','changeType','_getField','64PVCqKv','cancel','stringify','[FRecord]:\x20record\x20\x22','viewId','startColumn','getActiveBase','sort','getValues','some','map','getRecordById','fieldKey','function','registerEventHandler','type','number','notMatches','getSchema','record','addRecord','[FBase]:\x20table\x20\x22','setDefaultValue','Field\x20type\x20is\x20required','setValue','createdAt','getFields','_getRecord','includeRecords','object','_range','endColumn','matches','setConfig','BaseTableCellValueChanged','Base\x20regex\x20filter\x20is\x20too\x20long.\x20Maximum\x20length\x20is\x20512.','name','BaseFilterOperator','recordId','1820645fTJJjD','onCommandExecuted','BaseTableFieldCreated','_resolveRecordIds','Gallery','visibleCardFieldIds','getViewById','_recordId','BaseViewType','[FBaseRange]:\x20table\x20does\x20not\x20exist.','decorate','[FRecord]:\x20failed\x20to\x20duplicate\x20record\x20\x22','getSnapshot','BaseSortDirection','setName','endRow','save','_getTable','tableOrder','isArray','deepClone','_tableId','setValues','BaseTableCreated','Auto','extend','get','commonExtend','BeforeBaseTableCellValueChange','fieldSettings','UNIVER_BASE','orderKey','BaseTableViewCreated','_getView',',\x20max\x20columns:\x20','[FBaseRange]:\x20range\x20is\x20out\x20of\x20bounds.\x20Max\x20rows:\x20','DESC','flatMap','1386BbdNkN','getRow','entries','_initBaseBeforeEvents','Failed\x20to\x20add\x20field\x20\x22','getField','forEach','setGroup','caseSensitive','BeforeBaseTableRecordCreate','_inject','conditions','deleteRecords','getFieldById','setSort','field','_base','fieldIds','disposeWithMe','20FLGASZ','_viewId','defaultValue','records','Failed\x20to\x20create\x20view\x20\x22','duplicateTable','length','group','fields','309438rBVtZW','getNumRows','55WBjbpN','getGroup','moveField','primaryFieldName','auto','getId','Failed\x20to\x20create\x20table\x20\x22','3979732pkcOvy','deleteTable','getValue','Date','getRecords','getUnitId','move','getUnit','startRow','direction','getBase','getFieldByName','BaseTableRecordCreated','offset','Kanban','limit','getViews','_assertInBounds','string','params','Gantt','_injector','Invalid\x20Base\x20regex\x20filter:\x20','recordOrder','clear','index','slice','queryRecords','getType','getNumColumns','delete','getFilter','getName','Failed\x20to\x20add\x20record\x20with\x20id\x20\x22','Grid','_initBaseAfterEvents','rows','primaryFieldId','Duplicate\x20Base\x20field\x20name:\x20','getViewByName','BeforeBaseTableViewCreate','update','388608ByLxFx','setFieldVisible','getTableById'];_0x153f=function(){return _0xc948b4;};return _0x153f();}function me(_0x4d778f){const _0x5b1e12=_0x2ffc26;var _0x4d965b;let _0x420a06=String((_0x4d965b=_0x4d778f['value'])==null?'':_0x4d965b);if(_0x420a06[_0x5b1e12(0x18f)]>0x200)throw Error(_0x5b1e12(0x14c));try{return new RegExp(_0x420a06,_0x4d778f[_0x5b1e12(0x17e)]?void 0x0:'i');}catch(_0x2daad2){throw Error(_0x5b1e12(0x1b1)+_0x420a06+'.\x20'+(_0x2daad2 instanceof Error?_0x2daad2['message']:String(_0x2daad2)));}}function he(_0x3d690e,_0x575a6f,_0x1a7dcd){const _0x126ca1=_0x2ffc26;if(_0x1a7dcd[_0x126ca1(0x138)]!==_0x126ca1(0x10a)){var _0x7fa584;if(_0x1a7dcd[_0x126ca1(0x138)]===_0x4e016d[_0x126ca1(0x1a9)]){var _0x4ddb8a,_0x6309d5,_0x5beeec;let _0x99138a=[(_0x4ddb8a=(_0x6309d5=_0x1a7dcd[_0x126ca1(0x191)])==null||(_0x6309d5=_0x6309d5[0x0])==null?void 0x0:_0x6309d5['id'])==null?_0x3d690e['primaryFieldId']:_0x4ddb8a,...(_0x5beeec=_0x1a7dcd[_0x126ca1(0x155)])==null?[]:_0x5beeec];return Array[_0x126ca1(0x1d4)](new Set(_0x99138a[_0x126ca1(0x100)](_0x387de9=>!!_0x3d690e[_0x126ca1(0x191)][_0x387de9])));}if((_0x7fa584=_0x1a7dcd[_0x126ca1(0x191)])!=null&&_0x7fa584[_0x126ca1(0x18f)])return _0x1a7dcd[_0x126ca1(0x191)]['map'](_0x176533=>_0x176533['id'])[_0x126ca1(0x100)](_0x40f0be=>{const _0x905c05=_0x126ca1;var _0xfba606;return!!(_0x3d690e[_0x905c05(0x191)][_0x40f0be]&&!(!(_0x575a6f==null||(_0xfba606=_0x575a6f[_0x905c05(0x16d)])==null||(_0xfba606=_0xfba606[_0x40f0be])==null)&&_0xfba606[_0x905c05(0x105)]));});}return _0x3d690e[_0x126ca1(0x108)][_0x126ca1(0x100)](_0x26f9a0=>{const _0x2aae74=_0x126ca1;var _0x381285;return!!(_0x3d690e[_0x2aae74(0x191)][_0x26f9a0]&&!(!(_0x575a6f==null||(_0x381285=_0x575a6f[_0x2aae74(0x16d)])==null||(_0x381285=_0x381285[_0x26f9a0])==null)&&_0x381285['hidden']));});}function ge(_0x11750d,_0x795e3d){return function(_0x1d6076,_0x2db7ff){_0x795e3d(_0x1d6076,_0x2db7ff,_0x11750d);};}function _e(_0x4de131,_0x3295e8,_0x2bd1f5,_0x3d733b){const _0x475b63=_0x2ffc26;var _0x5eee7c=arguments[_0x475b63(0x18f)],_0x4b7337=_0x5eee7c<0x3?_0x3295e8:_0x3d733b===null?_0x3d733b=Object[_0x475b63(0xff)](_0x3295e8,_0x2bd1f5):_0x3d733b,_0x308c81;if(typeof Reflect==_0x475b63(0x146)&&typeof Reflect[_0x475b63(0x15a)]==_0x475b63(0x136))_0x4b7337=Reflect[_0x475b63(0x15a)](_0x4de131,_0x3295e8,_0x2bd1f5,_0x3d733b);else{for(var _0x289208=_0x4de131[_0x475b63(0x18f)]-0x1;_0x289208>=0x0;_0x289208--)(_0x308c81=_0x4de131[_0x289208])&&(_0x4b7337=(_0x5eee7c<0x3?_0x308c81(_0x4b7337):_0x5eee7c>0x3?_0x308c81(_0x3295e8,_0x2bd1f5,_0x4b7337):_0x308c81(_0x3295e8,_0x2bd1f5))||_0x4b7337);}return _0x5eee7c>0x3&&_0x4b7337&&Object['defineProperty'](_0x3295e8,_0x2bd1f5,_0x4b7337),_0x4b7337;}let Q=class{constructor(_0x101089,_0x564d26){const _0x22c6d7=_0x2ffc26;this[_0x22c6d7(0x186)]=_0x101089,this[_0x22c6d7(0x1b0)]=_0x564d26;}['getBase'](){return this['_base'];}[_0x2ffc26(0x199)](){const _0x56d9dd=_0x2ffc26;return this[_0x56d9dd(0x186)][_0x56d9dd(0x1a0)]();}[_0x2ffc26(0x160)](){const _0x13ddba=_0x2ffc26;return _0x42f22d[_0x13ddba(0x164)](this[_0x13ddba(0x186)][_0x13ddba(0x15c)]());}[_0x2ffc26(0x1bb)](){return this['_base']['getSnapshot']()['name'];}[_0x2ffc26(0x15e)](_0x231701){const _0xe50b74=_0x2ffc26;this['_injector'][_0xe50b74(0x16a)](_0x51ac63)[_0xe50b74(0x1cb)](_0x3a982d['id'],{'unitId':this[_0xe50b74(0x199)](),'name':_0x231701});}['getTables'](){const _0x3c1f78=_0x2ffc26;let _0x4a13c6=this[_0x3c1f78(0x186)][_0x3c1f78(0x15c)]();return _0x4a13c6[_0x3c1f78(0x162)][_0x3c1f78(0x133)](_0x8ea5eb=>_0x4a13c6[_0x3c1f78(0x125)][_0x8ea5eb])[_0x3c1f78(0x100)](_0x3f7d7c=>_0x3f7d7c)[_0x3c1f78(0x133)](_0x239ec8=>this[_0x3c1f78(0x1b0)]['createInstance'](X,this,_0x239ec8['id'],this['_injector']));}[_0x2ffc26(0x1c7)](_0xee241a){const _0x5aece2=_0x2ffc26;let _0x25e672=this[_0x5aece2(0x186)][_0x5aece2(0x15c)]()[_0x5aece2(0x125)][_0xee241a];return _0x25e672?this['_injector'][_0x5aece2(0xfd)](X,this,_0x25e672['id'],this['_injector']):null;}[_0x2ffc26(0x10b)](_0x2c4a87){const _0xfdf2ce=_0x2ffc26;let _0x58b6fb=this['_base'][_0xfdf2ce(0x15c)](),_0x5470f0=Object[_0xfdf2ce(0x11b)](_0x58b6fb[_0xfdf2ce(0x125)])[_0xfdf2ce(0xf5)](_0x3c5898=>_0x3c5898[_0xfdf2ce(0x14d)]===_0x2c4a87);return _0x5470f0?this[_0xfdf2ce(0x1b0)][_0xfdf2ce(0xfd)](X,this,_0x5470f0['id'],this[_0xfdf2ce(0x1b0)]):null;}['insertTable'](_0x29a840,_0x26ae2e){const _0x1c62a4=_0x2ffc26;var _0x14f02e;let _0x2d7ed7=this[_0x1c62a4(0x1b0)][_0x1c62a4(0x16a)](_0x51ac63),_0x27a1a2=_0x4a23df({'id':_0x4bcfb3(),'name':_0x29a840,..._0x26ae2e==null?void 0x0:_0x26ae2e['table'],'primaryFieldName':_0x26ae2e==null?void 0x0:_0x26ae2e[_0x1c62a4(0x197)]}),_0x220805=_0x42f22d[_0x1c62a4(0x16b)](_0x27a1a2,(_0x14f02e=_0x26ae2e==null?void 0x0:_0x26ae2e['table'])==null?{}:_0x14f02e);if(!_0x2d7ed7[_0x1c62a4(0x1cb)](_0x374462['id'],{'unitId':this[_0x1c62a4(0x186)][_0x1c62a4(0x1a0)](),'table':_0x220805,'index':_0x26ae2e==null?void 0x0:_0x26ae2e['index']}))throw Error(_0x1c62a4(0x19a)+_0x29a840+'\x22.');return this['_injector'][_0x1c62a4(0xfd)](X,this,_0x220805['id'],this['_injector']);}[_0x2ffc26(0x19c)](_0x4713b7){const _0x1c7aaf=_0x2ffc26;let _0x37247e=this[_0x1c7aaf(0x1b0)]['get'](_0x51ac63),_0x267948=typeof _0x4713b7==_0x1c7aaf(0x1ad)?_0x4713b7:_0x4713b7[_0x1c7aaf(0x199)]();if(!_0x37247e[_0x1c7aaf(0x1cb)](_0x411971['id'],{'unitId':this[_0x1c7aaf(0x186)]['getUnitId'](),'tableId':_0x267948}))throw Error(_0x1c7aaf(0x104)+_0x267948+'\x22.');return!0x0;}[_0x2ffc26(0x18e)](_0x22f490,_0x151b55){const _0x2675f0=_0x2ffc26;var _0x27d505,_0x4035bd;let _0x341f1a=this['_injector'][_0x2675f0(0x16a)](_0x51ac63),_0x3bfd07=this[_0x2675f0(0x186)][_0x2675f0(0x15c)](),_0x373907=typeof _0x22f490==_0x2675f0(0x1ad)?_0x22f490:_0x22f490['getId'](),_0x24a39a=_0x3bfd07[_0x2675f0(0x125)][_0x373907];if(!_0x24a39a)throw Error(_0x2675f0(0x13e)+_0x373907+_0x2675f0(0xfc));let _0x49e840=_0x3bfd07[_0x2675f0(0x162)]['indexOf'](_0x373907)+0x1,_0x4431ef=_0x4bab18(_0x24a39a,{'id':_0x4bcfb3(),'name':_0x24a39a[_0x2675f0(0x14d)]+'\x20Copy','includeRecords':(_0x27d505=_0x151b55==null?void 0x0:_0x151b55[_0x2675f0(0x145)])==null?!0x1:_0x27d505,'regenerateViewIds':(_0x4035bd=_0x151b55==null?void 0x0:_0x151b55['regenerateViewIds'])==null?!0x1:_0x4035bd});if(!_0x341f1a[_0x2675f0(0x1cb)](_0x374462['id'],{'unitId':this[_0x2675f0(0x186)]['getUnitId'](),'table':_0x4431ef,'index':_0x49e840}))throw Error(_0x2675f0(0x1cc)+_0x373907+'\x22.');return this[_0x2675f0(0x1b0)][_0x2675f0(0xfd)](X,this,_0x4431ef['id'],this[_0x2675f0(0x1b0)]);}[_0x2ffc26(0x13b)](){const _0x52dd95=_0x2ffc26;let _0xb0bc39=this[_0x52dd95(0x186)][_0x52dd95(0x15c)]();return{'id':_0xb0bc39['id'],'name':_0xb0bc39[_0x52dd95(0x14d)],'tables':this[_0x52dd95(0x1d0)]()[_0x52dd95(0x133)](_0x2991fa=>_0x2991fa['getSchema']())};}};Q=_e([ge(0x1,_0x1ae801(_0x5ac807))],Q);var ve=class extends _0x4e5238{[_0x2ffc26(0x11c)](){const _0x3931c5=_0x2ffc26;this[_0x3931c5(0x179)](),this[_0x3931c5(0x1be)]();}[_0x2ffc26(0x102)](_0x402146={},_0x2a8def){const _0x4fa4d9=_0x2ffc26;let _0x5e1e99=this[_0x4fa4d9(0x1b0)][_0x4fa4d9(0x16a)](_0xe6c28e)['createUnit'](_0x1d0ab6[_0x4fa4d9(0x16e)],_0x402146,_0x2a8def);return this[_0x4fa4d9(0x1b0)][_0x4fa4d9(0xfd)](Q,_0x5e1e99);}[_0x2ffc26(0x12f)](){const _0x1f7350=_0x2ffc26;let _0x78082b=this[_0x1f7350(0x1b0)][_0x1f7350(0x16a)](_0xe6c28e)['getCurrentUnitOfType'](_0x1d0ab6[_0x1f7350(0x16e)]);return _0x78082b?this[_0x1f7350(0x1b0)][_0x1f7350(0xfd)](Q,_0x78082b):null;}[_0x2ffc26(0x1a5)](_0x1ed3c5){const _0x578e84=_0x2ffc26;let _0x2fec86=this['_injector'][_0x578e84(0x16a)](_0xe6c28e)[_0x578e84(0x1a2)](_0x1ed3c5,_0x1d0ab6[_0x578e84(0x16e)]);return _0x2fec86?this[_0x578e84(0x1b0)]['createInstance'](Q,_0x2fec86):null;}['getBases'](){const _0x40603d=_0x2ffc26;return this[_0x40603d(0x1b0)]['get'](_0xe6c28e)[_0x40603d(0x1d6)](_0x1d0ab6[_0x40603d(0x16e)])[_0x40603d(0x133)](_0x3b8c5e=>this[_0x40603d(0x1b0)]['createInstance'](Q,_0x3b8c5e));}[_0x2ffc26(0x1be)](){const _0x555888=_0x2ffc26;let _0x56e0c2=this[_0x555888(0x1b0)][_0x555888(0x16a)](_0x51ac63);this[_0x555888(0x188)](this[_0x555888(0x137)](this['Event']['BaseTableCreated'],()=>_0x56e0c2['onCommandExecuted'](_0x52d4a9=>{const _0x481012=_0x555888;if(_0x52d4a9['id']!==_0x374462['id'])return;let {unitId:_0x5d3978,table:_0x4e8c44,index:_0x5f3b2c}=_0x52d4a9['params'],_0x595921=this['getBase'](_0x5d3978);if(!_0x595921)return;let _0x31a5cc={'base':_0x595921,'table':_0x4e8c44,'index':_0x5f3b2c};this[_0x481012(0x1d1)](this[_0x481012(0x124)][_0x481012(0x167)],_0x31a5cc);}))),this[_0x555888(0x188)](this['registerEventHandler'](this[_0x555888(0x124)]['BaseTableFieldCreated'],()=>_0x56e0c2[_0x555888(0x151)](_0x52e600=>{const _0x28d3ca=_0x555888;if(_0x52e600['id']!==_0x33b9a5['id'])return;let {unitId:_0x5b269e,tableId:_0x4b097f,field:_0x4bf869,index:_0x3ce9f5,viewIndexes:_0x986327}=_0x52e600[_0x28d3ca(0x1ae)],_0x5386ae=this['getBase'](_0x5b269e);if(!_0x5386ae)return;let _0x2e368c=_0x5386ae['getTableById'](_0x4b097f);if(!_0x2e368c)return;let _0x3014cd={'base':_0x5386ae,'table':_0x2e368c,'field':_0x4bf869,'index':_0x3ce9f5,'viewIndexes':_0x986327};this['fireEvent'](this[_0x28d3ca(0x124)][_0x28d3ca(0x152)],_0x3014cd);}))),this[_0x555888(0x188)](this[_0x555888(0x137)](this['Event'][_0x555888(0x1a7)],()=>_0x56e0c2[_0x555888(0x151)](_0x14236f=>{const _0x4cc809=_0x555888;var _0x806798;if(_0x14236f['id']!==_0x2cce42['id']&&_0x14236f['id']!==_0x1c05d6['id'])return;let _0x486fd2=_0x14236f[_0x4cc809(0x1ae)],{unitId:_0x7531ed,tableId:_0x1f160e}=_0x486fd2,_0x3a5d53=(_0x806798=_0x486fd2[_0x4cc809(0x18c)])==null?[_0x486fd2[_0x4cc809(0x13c)]]:_0x806798,_0x2a633a=this[_0x4cc809(0x1a5)](_0x7531ed);if(!_0x2a633a)return;let _0x228a80=_0x2a633a[_0x4cc809(0x1c7)](_0x1f160e);if(!_0x228a80)return;let _0x209c02={'base':_0x2a633a,'table':_0x228a80,'records':_0x3a5d53};this[_0x4cc809(0x1d1)](this['Event'][_0x4cc809(0x1a7)],_0x209c02);}))),this[_0x555888(0x188)](this[_0x555888(0x137)](this['Event']['BaseTableViewCreated'],()=>_0x56e0c2[_0x555888(0x151)](_0x509524=>{const _0x9e82e9=_0x555888;if(_0x509524['id']!==_0x30e023['id'])return;let {unitId:_0xecc6fd,tableId:_0x238f03,view:_0x382115,index:_0x17cafa}=_0x509524[_0x9e82e9(0x1ae)],_0x1bab48=this['getBase'](_0xecc6fd);if(!_0x1bab48)return;let _0x4bbd60=_0x1bab48['getTableById'](_0x238f03);if(!_0x4bbd60)return;let _0x1bbe13={'base':_0x1bab48,'table':_0x4bbd60,'view':_0x382115,'index':_0x17cafa};this[_0x9e82e9(0x1d1)](this['Event'][_0x9e82e9(0x170)],_0x1bbe13);}))),this[_0x555888(0x188)](this[_0x555888(0x137)](this[_0x555888(0x124)][_0x555888(0x14b)],()=>_0x56e0c2[_0x555888(0x151)](_0x590e66=>{const _0x211de7=_0x555888;if(_0x590e66['id']!==_0x32c66a['id'])return;let {unitId:_0x5cc106,tableId:_0x172416,recordId:_0x45e321,fieldId:_0x222606,value:_0x5d1542}=_0x590e66['params'],_0x55b8c5=this['getBase'](_0x5cc106);if(!_0x55b8c5)return;let _0x2f102b=_0x55b8c5['getTableById'](_0x172416);if(!_0x2f102b)return;let _0x2e354c=_0x2f102b[_0x211de7(0x183)](_0x222606);if(!_0x2e354c)return;let _0x493bec=_0x2f102b[_0x211de7(0x134)](_0x45e321);if(!_0x493bec)return;let _0x3ddd38={'base':_0x55b8c5,'table':_0x2f102b,'field':_0x2e354c,'record':_0x493bec,'value':_0x5d1542};this[_0x211de7(0x1d1)](this[_0x211de7(0x124)][_0x211de7(0x14b)],_0x3ddd38);})));}[_0x2ffc26(0x179)](){const _0x223f98=_0x2ffc26;let _0x50cd88=this[_0x223f98(0x1b0)]['get'](_0x51ac63);this[_0x223f98(0x188)](this[_0x223f98(0x137)](this[_0x223f98(0x124)]['BeforeBaseTableCreate'],()=>_0x50cd88[_0x223f98(0x117)](_0x5112c0=>{const _0x5f04c8=_0x223f98;if(_0x5112c0['id']!==_0x374462['id'])return;let {unitId:_0x5ecc37,table:_0x190597,index:_0x5a3a83}=_0x5112c0['params'],_0x5ef170=this[_0x5f04c8(0x1a5)](_0x5ecc37);if(!_0x5ef170)return;let _0x3b42d9={'base':_0x5ef170,'table':_0x190597,'index':_0x5a3a83};if(this['fireEvent'](this[_0x5f04c8(0x124)][_0x5f04c8(0x113)],_0x3b42d9),_0x3b42d9[_0x5f04c8(0x12a)])throw new _0x110505();}))),this[_0x223f98(0x188)](this[_0x223f98(0x137)](this['Event'][_0x223f98(0x1cd)],()=>_0x50cd88[_0x223f98(0x117)](_0x140aa4=>{const _0x2222f2=_0x223f98;if(_0x140aa4['id']!==_0x33b9a5['id'])return;let {unitId:_0x4a1388,tableId:_0x5d1ebd,field:_0x27b123,index:_0x2e975f,viewIndexes:_0x5322d4}=_0x140aa4[_0x2222f2(0x1ae)],_0xcb3d6d=this[_0x2222f2(0x1a5)](_0x4a1388);if(!_0xcb3d6d)return;let _0x5209f9=_0xcb3d6d[_0x2222f2(0x1c7)](_0x5d1ebd);if(!_0x5209f9)return;let _0x5562e1={'base':_0xcb3d6d,'table':_0x5209f9,'field':_0x27b123,'index':_0x2e975f,'viewIndexes':_0x5322d4};if(this[_0x2222f2(0x1d1)](this[_0x2222f2(0x124)][_0x2222f2(0x1cd)],_0x5562e1),_0x5562e1[_0x2222f2(0x12a)])throw new _0x110505();}))),this[_0x223f98(0x188)](this[_0x223f98(0x137)](this['Event']['BeforeBaseTableRecordCreate'],()=>_0x50cd88['beforeCommandExecuted'](_0x9200b9=>{const _0x5b09bb=_0x223f98;var _0x56f3d6;if(_0x9200b9['id']!==_0x2cce42['id']&&_0x9200b9['id']!==_0x1c05d6['id'])return;let _0x5624dc=_0x9200b9[_0x5b09bb(0x1ae)],{unitId:_0x54f687,tableId:_0x1a8f4a}=_0x5624dc,_0x49a573=(_0x56f3d6=_0x5624dc[_0x5b09bb(0x18c)])==null?[_0x5624dc['record']]:_0x56f3d6,_0x54a0f3=this['getBase'](_0x54f687);if(!_0x54a0f3)return;let _0x3ebe2a=_0x54a0f3[_0x5b09bb(0x1c7)](_0x1a8f4a);if(!_0x3ebe2a)return;let _0x48485b={'base':_0x54a0f3,'table':_0x3ebe2a,'records':_0x49a573};if(this[_0x5b09bb(0x1d1)](this[_0x5b09bb(0x124)][_0x5b09bb(0x17f)],_0x48485b),_0x48485b[_0x5b09bb(0x12a)])throw new _0x110505();}))),this['disposeWithMe'](this['registerEventHandler'](this[_0x223f98(0x124)]['BeforeBaseTableViewCreate'],()=>_0x50cd88[_0x223f98(0x117)](_0x26f3e1=>{const _0x20fdb6=_0x223f98;if(_0x26f3e1['id']!==_0x30e023['id'])return;let {unitId:_0x2ceb4e,tableId:_0x5abf41,view:_0x1c625b,index:_0x3c31fd}=_0x26f3e1[_0x20fdb6(0x1ae)],_0x51eb27=this['getBase'](_0x2ceb4e);if(!_0x51eb27)return;let _0x590023=_0x51eb27[_0x20fdb6(0x1c7)](_0x5abf41);if(!_0x590023)return;let _0x1dab0e={'base':_0x51eb27,'table':_0x590023,'view':_0x1c625b,'index':_0x3c31fd};if(this['fireEvent'](this['Event']['BeforeBaseTableViewCreate'],_0x1dab0e),_0x1dab0e[_0x20fdb6(0x12a)])throw new _0x110505();}))),this['disposeWithMe'](this[_0x223f98(0x137)](this[_0x223f98(0x124)][_0x223f98(0x16c)],()=>_0x50cd88['beforeCommandExecuted'](_0x4476a2=>{const _0x44c227=_0x223f98;if(_0x4476a2['id']!==_0x32c66a['id'])return;let {unitId:_0x3035a7,tableId:_0x49f1ef,recordId:_0x1e7372,fieldId:_0x2abb35,value:_0x5d2370}=_0x4476a2[_0x44c227(0x1ae)],_0x5eb2bc=this[_0x44c227(0x1a5)](_0x3035a7);if(!_0x5eb2bc)return;let _0x57dc5b=_0x5eb2bc[_0x44c227(0x1c7)](_0x49f1ef);if(!_0x57dc5b)return;let _0x10f5f9=_0x57dc5b['getFieldById'](_0x2abb35);if(!_0x10f5f9)return;let _0x25772f=_0x57dc5b[_0x44c227(0x134)](_0x1e7372);if(!_0x25772f)return;let _0x431d23={'base':_0x5eb2bc,'table':_0x57dc5b,'field':_0x10f5f9,'record':_0x25772f,'value':_0x5d2370};if(this[_0x44c227(0x1d1)](this[_0x44c227(0x124)][_0x44c227(0x16c)],_0x431d23),_0x431d23[_0x44c227(0x12a)])throw new _0x110505();})));}};_0x4e5238['extend'](ve);var ye=class extends _0x233966{get['BaseFieldType'](){return _0x501578;}get[_0x2ffc26(0xf9)](){return _0x34cdfb;}get[_0x2ffc26(0x14e)](){return _0x34e159;}get[_0x2ffc26(0x119)](){return G;}get[_0x2ffc26(0x158)](){return _0x4e016d;}get[_0x2ffc26(0x15d)](){return _0x482ea7;}};_0x233966[_0x2ffc26(0x169)](ye);var $=class extends _0xdb6ff6{get[_0x2ffc26(0x167)](){return'BaseTableCreated';}get[_0x2ffc26(0x113)](){return'BeforeBaseTableCreate';}get[_0x2ffc26(0x152)](){return'BaseTableFieldCreated';}get[_0x2ffc26(0x1cd)](){return'BeforeBaseTableFieldCreate';}get['BaseTableRecordCreated'](){const _0x540f61=_0x2ffc26;return _0x540f61(0x1a7);}get[_0x2ffc26(0x17f)](){const _0x290102=_0x2ffc26;return _0x290102(0x17f);}get['BaseTableViewCreated'](){const _0x2d8ab4=_0x2ffc26;return _0x2d8ab4(0x170);}get[_0x2ffc26(0x1c3)](){const _0x2c0fac=_0x2ffc26;return _0x2c0fac(0x1c3);}get['BaseTableCellValueChanged'](){return'BaseTableCellValueChanged';}get['BeforeBaseTableCellValueChange'](){const _0x4bdd63=_0x2ffc26;return _0x4bdd63(0x16c);}};_0xdb6ff6[_0x2ffc26(0x169)]($);export{G as BaseFieldKeyEnum,Q as FBase,X as FBaseTable,U as FBaseTableField,W as FBaseTableRange,J as FBaseTableRecord,Y as FBaseTableView,$ as FBasesEventNameMixin,q as resolveBaseFieldKey,K as resolveBaseFieldValues};
|