@univerjs-pro/bases 1.0.0-alpha.8 → 1.0.0-beta.1
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/types/commands/commands/batch-create-base-records.command.d.ts +2 -0
- package/lib/types/commands/commands/batch-delete-base-records.command.d.ts +2 -0
- package/lib/types/commands/commands/create-base-child-record.command.d.ts +15 -0
- package/lib/types/commands/commands/create-base-record.command.d.ts +2 -0
- package/lib/types/commands/commands/delete-base-record.command.d.ts +2 -0
- package/lib/types/commands/commands/duplicate-base-record.command.d.ts +2 -0
- package/lib/types/commands/commands/move-base-hierarchy-record.command.d.ts +17 -0
- package/lib/types/commands/commands/set-base-range-values.command.d.ts +8 -1
- package/lib/types/commands/commands/set-base-record-values.command.d.ts +2 -0
- package/lib/types/commands/commands/set-base-table-hierarchy-field.command.d.ts +9 -0
- package/lib/types/commands/commands/update-base-cell.command.d.ts +2 -0
- package/lib/types/commands/commands/update-base-view-conditional-color-rules.command.d.ts +32 -0
- package/lib/types/commands/commands/validate-base-formula.command.d.ts +8 -0
- package/lib/types/commands/mutations/apply-base-json1.mutation.d.ts +4 -0
- package/lib/types/commands/utils/base-record-creation.d.ts +18 -0
- package/lib/types/commands/utils/base-validation.d.ts +6 -1
- package/lib/types/controllers/base-formula-calculation.controller.d.ts +1 -0
- package/lib/types/facade/f-base.d.ts +24 -9
- package/lib/types/facade/f-enum.d.ts +208 -3
- package/lib/types/facade/f-event.d.ts +102 -0
- package/lib/types/facade/f-field.d.ts +6 -6
- package/lib/types/facade/f-range.d.ts +4 -1
- package/lib/types/facade/f-record.d.ts +325 -1
- package/lib/types/facade/f-table.d.ts +293 -16
- package/lib/types/facade/f-univer.d.ts +2 -0
- package/lib/types/facade/f-view.d.ts +179 -3
- package/lib/types/facade/field-key.d.ts +3 -1
- package/lib/types/fields/date-format.d.ts +20 -1
- package/lib/types/fields/field-core-plugin.d.ts +7 -4
- package/lib/types/fields/field-stat.d.ts +10 -0
- package/lib/types/fields/progress-format.d.ts +1 -0
- package/lib/types/index.d.ts +25 -2
- package/lib/types/locale/en-US.d.ts +1 -1
- package/lib/types/models/base-hierarchy.d.ts +108 -0
- package/lib/types/models/base-table-name.d.ts +8 -0
- package/lib/types/models/record-link.d.ts +14 -0
- package/lib/types/ot/json1-op-applier.d.ts +3 -1
- package/lib/types/ot/json1-op-factory.d.ts +1 -1
- package/lib/types/ot/json1-util.d.ts +2 -2
- package/lib/types/services/base-command.service.d.ts +1 -0
- package/lib/types/services/base-formula.service.d.ts +2 -23
- package/lib/types/services/base-projection.service.d.ts +4 -0
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ar-SA.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/de-DE.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/id-ID.js +1 -1
- package/lib/umd/locale/it-IT.js +1 -1
- package/lib/umd/locale/ja-JP.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/pl-PL.js +1 -1
- package/lib/umd/locale/pt-BR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/sk-SK.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-HK.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +7 -7
package/lib/es/locale/zh-TW.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x368c49=_0x5aef;function _0x5aef(_0x584f55,_0x2e1109){_0x584f55=_0x584f55-0xb7;const _0x3f8928=_0x3f89();let _0x5aef11=_0x3f8928[_0x584f55];return _0x5aef11;}(function(_0x132d5e,_0x11d62d){const _0x4bb536=_0x5aef,_0x27f0ec=_0x132d5e();while(!![]){try{const _0xa7dd58=-parseInt(_0x4bb536(0xd1))/0x1*(parseInt(_0x4bb536(0xca))/0x2)+parseInt(_0x4bb536(0xd2))/0x3+-parseInt(_0x4bb536(0xd3))/0x4*(-parseInt(_0x4bb536(0xcd))/0x5)+-parseInt(_0x4bb536(0xc1))/0x6*(-parseInt(_0x4bb536(0xb8))/0x7)+parseInt(_0x4bb536(0xd4))/0x8+-parseInt(_0x4bb536(0xb7))/0x9+-parseInt(_0x4bb536(0xbb))/0xa*(-parseInt(_0x4bb536(0xbe))/0xb);if(_0xa7dd58===_0x11d62d)break;else _0x27f0ec['push'](_0x27f0ec['shift']());}catch(_0x33d630){_0x27f0ec['push'](_0x27f0ec['shift']());}}}(_0x3f89,0xc4771));const e={'bases':{'fieldType':{'text':'文字','singleSelect':'單選','multiSelect':'多選','person':'人員','group':'分組','date':'日期','attachment':'附件','number':'數字','checkbox':_0x368c49(0xd5),'link':'連結','formula':'公式','lookup':'查詢','flow':'流程','button':'按鈕','numbering':'編號','phone':'電話號碼','email':_0x368c49(0xc9),'location':'位置','barcode':'條碼','progress':'進度','currency':'貨幣','rating':'評分','recordLink':_0x368c49(0xc7),'recordId':_0x368c49(0xce),'createdBy':_0x368c49(0xc5),'updatedBy':_0x368c49(0xbf),'createdAt':_0x368c49(0xc4),'updatedAt':_0x368c49(0xc6),'summary':'彙總'},'fieldConfig':{'textPlaceholder':_0x368c49(0xcb),'linkPlaceholder':_0x368c49(0xcf)},'viewType':{'grid':'表格','kanban':'看板','calendar':_0x368c49(0xc2),'gantt':_0x368c49(0xc3),'gallery':'圖庫'},'error':{'fieldNameRequired':'欄位標題不能為空','invalidFieldType':_0x368c49(0xba),'invalidCellValue':_0x368c49(0xbd),'invalidKanbanGroupField':'看板需要可分組欄位','invalidCalendarDateField':_0x368c49(0xcc),'invalidGanttDateField':_0x368c49(0xd0)},'command':{'updateCell':_0x368c49(0xc0),'createField':_0x368c49(0xbc),'deleteField':_0x368c49(0xb9),'createRecord':'建立記錄','deleteRecord':_0x368c49(0xc8),'updateViewConfig':'更新檢視設定'}}};export{e as default};function _0x3f89(){const _0x43c650=['4ZtSGcx','輸入內容','行事曆需要日期欄位','3010xQRwyl','記錄\x20ID','輸入\x20URL(例如\x20univer.ai\x20或\x20https://univer.ai/skills)。','甘特圖檢視需要開始和結束日期欄位','725749bHuMtU','1137783yvNzPS','5540yedxmw','4050736Ynmiqh','核取方塊','12519792DZKqNG','28srzYWN','刪除欄位','欄位類型無效','1476620nMXipb','建立欄位','儲存格值無效','121LMmJKq','更新人','更新儲存格','455478uGStwU','行事曆','甘特圖','建立時間','建立人','更新時間','關聯記錄','刪除記錄','電子郵件'];_0x3f89=function(){return _0x43c650;};return _0x3f89();}
|
package/lib/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x166382=_0x4e8a;(function(_0x4bfff4,_0xf0b901){const _0x547739=_0x4e8a,_0x5c6810=_0x4bfff4();while(!![]){try{const _0xc4920e=-parseInt(_0x547739(0x1b7))/0x1+-parseInt(_0x547739(0x147))/0x2+-parseInt(_0x547739(0x13b))/0x3*(-parseInt(_0x547739(0x14d))/0x4)+parseInt(_0x547739(0x166))/0x5+-parseInt(_0x547739(0x13e))/0x6*(-parseInt(_0x547739(0x1f4))/0x7)+parseInt(_0x547739(0x20a))/0x8+parseInt(_0x547739(0x159))/0x9*(-parseInt(_0x547739(0x210))/0xa);if(_0xc4920e===_0xf0b901)break;else _0x5c6810['push'](_0x5c6810['shift']());}catch(_0x9736cb){_0x5c6810['push'](_0x5c6810['shift']());}}}(_0x3df4,0x23ef9));import{BatchCreateBaseRecordsCommand as _0x328b9a,BatchDeleteBaseRecordsCommand as _0x41c146,ChangeBaseFieldTypeCommand as _0x4603a8,CreateBaseFieldCommand as _0x12c685,CreateBaseRecordCommand as _0x5d2235,CreateBaseTableCommand as _0x4ae76d,CreateBaseViewCommand as _0x44a3b0,DeleteBaseFieldCommand as _0x98926c,DeleteBaseRecordCommand as _0x3fffa7,DeleteBaseTableCommand as _0x365fcc,DeleteBaseViewCommand as _0x858461,DuplicateBaseRecordCommand as _0x5560d7,IBaseProjectionService as _0x5c28f7,MoveBaseFieldCommand as _0x152d60,MoveBaseViewCommand as _0x168688,RenameBaseTableCommand as _0x4affdf,RenameBaseViewCommand as _0x12da68,SetBaseNameCommand as _0x1e5b21,SetBaseRangeValuesCommand as _0x54e1c4,SetBaseRecordValuesCommand as _0x56e812,SetBaseViewFieldOrderCommand as _0x1d7382,SetBaseViewFieldVisibleCommand as _0x5a97a9,SetBaseViewFieldWidthCommand as _0x179732,SetBaseViewFilterCommand as _0x570bf5,SetBaseViewGroupCommand as _0xf94296,SetBaseViewSortCommand as _0x5d8b7e,UpdateBaseCellCommand as _0x5946f1,UpdateBaseFieldCommand as _0x2e7f1a,UpdateBaseRecordOrderCommand as _0xe2810f,UpdateBaseViewConfigCommand as _0x1e6de5,copyBaseTableSnapshot as _0x457395,ensureBaseTableCellLayout as _0x31afe7,getBaseCellValue as _0x35cd93,matchesBaseCondition as _0x40c801,searchBaseTable as _0x5fa93c}from'@univerjs-pro/bases';import{BaseFieldType as _0x7a8503,BaseFilterConjunction as _0x3015f0,BaseFilterOperator as _0x279e7b,BaseSortDirection as _0x46203c,BaseViewType as _0x4f3b2f,CanceledError as _0x1dc41b,ICommandService as _0x1f43ec,IResourceLoaderService as _0x10705f,IUniverInstanceService as _0x2d4867,Inject as _0x165bb0,Injector as _0x5a7aee,Tools as _0x1b13df,UniverInstanceType as _0x7905cc,createDefaultBaseTableSnapshot as _0x3f58f9,generateRandomId as _0x2decce}from'@univerjs/core';import{FEnum as _0x21fd9b,FEventName as _0x1edd02,FUniver as _0x91489c}from'@univerjs/core/facade';import{UpsertHostExternalReferencesCommand as _0x34373b}from'@univerjs-pro/engine-formula';var V=class{constructor(_0x2c93de,_0x5e6e63,_0xaf600e,_0x239953){const _0x2be2fe=_0x4e8a;this[_0x2be2fe(0x15b)]=_0x2c93de,this[_0x2be2fe(0x1ce)]=_0x5e6e63,this[_0x2be2fe(0x19f)]=_0xaf600e,this[_0x2be2fe(0x1d4)]=_0x239953;}[_0x166382(0x1e9)](){return this['_fieldId'];}[_0x166382(0x214)](){const _0xbb7f0b=_0x166382;return this[_0xbb7f0b(0x215)]();}[_0x166382(0x152)](){const _0x5bcc18=_0x166382;return this[_0x5bcc18(0x215)]()[_0x5bcc18(0x1d7)];}[_0x166382(0x13f)](){const _0x23e868=_0x166382;return this[_0x23e868(0x215)]()[_0x23e868(0x1bd)];}['getConfig'](){return this['_getField']()['config'];}[_0x166382(0x174)](){const _0x1d65b1=_0x166382;return this[_0x1d65b1(0x215)]()[_0x1d65b1(0x1f9)];}[_0x166382(0x15a)](){const _0x421fb7=_0x166382;return this['_getField']()[_0x421fb7(0x209)];}[_0x166382(0x20f)](){const _0xd944=_0x166382;return!!this[_0xd944(0x215)]()[_0xd944(0x1e7)];}['setName'](_0x239978){const _0x2d1cd8=_0x166382;return this[_0x2d1cd8(0x1bb)]({'name':_0x239978});}['setConfig'](_0x3a52ee,_0x1faea1){const _0x4bff3d=_0x166382;return this[_0x4bff3d(0x1bb)]({'config':_0x3a52ee},_0x1faea1);}[_0x166382(0x1eb)](_0x190f97){return this['update']({'defaultValue':_0x190f97});}[_0x166382(0x1bb)](_0x5680f2,_0x37fb09){const _0x5183a8=_0x166382;var _0x3493cc;let _0x162b88=this[_0x5183a8(0x1d4)][_0x5183a8(0x1c6)](_0x1f43ec),_0x261d2a=this['_getField']()[_0x5183a8(0x1bd)];return((_0x3493cc=_0x5680f2[_0x5183a8(0x1bd)])==null?_0x261d2a:_0x3493cc)===_0x7a8503[_0x5183a8(0x142)]&&(Object[_0x5183a8(0x1b0)][_0x5183a8(0x1a8)]['call'](_0x5680f2,_0x5183a8(0x1fb))||_0x5680f2[_0x5183a8(0x1bd)]===_0x7a8503[_0x5183a8(0x142)])&&!this[_0x5183a8(0x16a)](_0x162b88,_0x37fb09)?!0x1:_0x162b88[_0x5183a8(0x182)](_0x2e7f1a['id'],{'unitId':this[_0x5183a8(0x15b)]['getId'](),'tableId':this[_0x5183a8(0x1ce)][_0x5183a8(0x1e9)](),'fieldId':this[_0x5183a8(0x19f)],'patch':_0x5680f2});}[_0x166382(0x207)](_0xd59f4f,_0x1039de={},_0x358597){const _0x1594bb=_0x166382;let _0x3f98dc=this['_inject'][_0x1594bb(0x1c6)](_0x1f43ec);return _0xd59f4f===_0x7a8503[_0x1594bb(0x142)]&&!this[_0x1594bb(0x16a)](_0x3f98dc,_0x358597)?!0x1:_0x3f98dc[_0x1594bb(0x182)](_0x4603a8['id'],{'unitId':this['_base'][_0x1594bb(0x1e9)](),'tableId':this[_0x1594bb(0x1ce)][_0x1594bb(0x1e9)](),'fieldId':this[_0x1594bb(0x19f)],'input':{'type':_0xd59f4f,'config':_0x1039de}});}[_0x166382(0x228)](){const _0x46370e=_0x166382;return this[_0x46370e(0x1d4)][_0x46370e(0x1c6)](_0x1f43ec)['syncExecuteCommand'](_0x98926c['id'],{'unitId':this[_0x46370e(0x15b)][_0x46370e(0x1e9)](),'tableId':this[_0x46370e(0x1ce)][_0x46370e(0x1e9)](),'fieldId':this[_0x46370e(0x19f)]});}[_0x166382(0x220)](_0x37625a){const _0x10b9e0=_0x166382;return this[_0x10b9e0(0x1d4)][_0x10b9e0(0x1c6)](_0x1f43ec)[_0x10b9e0(0x182)](_0x152d60['id'],{'unitId':this[_0x10b9e0(0x15b)][_0x10b9e0(0x1e9)](),'tableId':this[_0x10b9e0(0x1ce)][_0x10b9e0(0x1e9)](),'fieldId':this[_0x10b9e0(0x19f)],'target':_0x37625a});}[_0x166382(0x215)](){const _0xdd5fca=_0x166382;let _0x3d037d=this[_0xdd5fca(0x1ce)][_0xdd5fca(0x17d)]()[_0xdd5fca(0x15f)][this[_0xdd5fca(0x19f)]];if(!_0x3d037d)throw Error(_0xdd5fca(0x213)+this['_fieldId']+_0xdd5fca(0x1c2));return _0x3d037d;}[_0x166382(0x16a)](_0x3c5c66,_0x5df7ec){const _0x40cd9e=_0x166382;if(!_0x5df7ec||!Array[_0x40cd9e(0x185)](_0x5df7ec['externalReferences']))return console[_0x40cd9e(0x223)](_0x40cd9e(0x143)),!0x1;if(_0x5df7ec[_0x40cd9e(0x1e2)]['length']===0x0)return!0x0;let _0x14a1cf=_0x3c5c66[_0x40cd9e(0x182)](_0x34373b['id'],{'unitId':this[_0x40cd9e(0x15b)][_0x40cd9e(0x1e9)](),'references':_0x5df7ec['externalReferences']});return _0x14a1cf||console[_0x40cd9e(0x223)](_0x40cd9e(0x222)),_0x14a1cf;}},H=class e{constructor(_0x38c12a,_0x35ad28,_0x40570e,_0x5768e2){const _0x1bf006=_0x166382;this[_0x1bf006(0x15b)]=_0x38c12a,this[_0x1bf006(0x1ce)]=_0x35ad28,this[_0x1bf006(0x177)]=_0x40570e,this['_inject']=_0x5768e2,this[_0x1bf006(0x21c)]();}[_0x166382(0x148)](){const _0x399c38=_0x166382;return this[_0x399c38(0x15b)][_0x399c38(0x1e9)]();}['getTableId'](){return this['_table']['getId']();}[_0x166382(0x1e0)](){const _0x251a84=_0x166382;return{...this[_0x251a84(0x177)]};}[_0x166382(0x1f1)](){const _0x4b72c4=_0x166382;return this[_0x4b72c4(0x177)]['startRow'];}[_0x166382(0x1c9)](){return this['_range']['startColumn'];}[_0x166382(0x1b5)](){const _0x3c426b=_0x166382;return this[_0x3c426b(0x177)][_0x3c426b(0x18d)]-this[_0x3c426b(0x177)][_0x3c426b(0x1a7)]+0x1;}[_0x166382(0x1ac)](){const _0x352b61=_0x166382;return this['_range']['endColumn']-this[_0x352b61(0x177)][_0x352b61(0x1f2)]+0x1;}[_0x166382(0x20e)](){const _0x37877a=_0x166382;let _0x354098=this['_getTable'](),_0x6ad0f7=[];for(let _0x38d623=this[_0x37877a(0x177)][_0x37877a(0x1a7)];_0x38d623<=this[_0x37877a(0x177)]['endRow'];_0x38d623++){var _0x4650bc;let _0x497f9f=(_0x4650bc=_0x354098[_0x37877a(0x20c)])==null?void 0x0:_0x4650bc[_0x38d623],_0x2415d1=[];for(let _0x312050=this[_0x37877a(0x177)][_0x37877a(0x1f2)];_0x312050<=this[_0x37877a(0x177)][_0x37877a(0x1cf)];_0x312050++){var _0x4dcf12;let _0x4f7d0c=(_0x4dcf12=_0x354098['colId'])==null?void 0x0:_0x4dcf12[_0x312050];_0x2415d1[_0x37877a(0x1ed)](_0x497f9f&&_0x4f7d0c?_0x35cd93(_0x354098,_0x497f9f,_0x4f7d0c):null);}_0x6ad0f7['push'](_0x2415d1);}return _0x6ad0f7;}[_0x166382(0x1e8)](){const _0x10bb69=_0x166382;var _0xb05234,_0x38f3f9;return(_0xb05234=(_0x38f3f9=this[_0x10bb69(0x20e)]()[0x0])==null?void 0x0:_0x38f3f9[0x0])==null?null:_0xb05234;}[_0x166382(0x19c)](_0x28b0ae){const _0x36b871=_0x166382;return this[_0x36b871(0x176)]([[_0x28b0ae]]);}[_0x166382(0x176)](_0x46c4b7){const _0x2a18af=_0x166382;let _0x1cbd39=this['getNumRows'](),_0x4d21a3=this['getNumColumns']();if(_0x46c4b7[_0x2a18af(0x179)]>_0x1cbd39||_0x46c4b7['some'](_0x1e5143=>_0x1e5143[_0x2a18af(0x179)]>_0x4d21a3)){var _0x5ad26b,_0xcdab72;throw Error(_0x2a18af(0x1b9)+_0x46c4b7['length']+'x'+((_0x5ad26b=(_0xcdab72=_0x46c4b7[0x0])==null?void 0x0:_0xcdab72[_0x2a18af(0x179)])==null?0x0:_0x5ad26b)+_0x2a18af(0x1d1)+_0x1cbd39+'x'+_0x4d21a3+'.');}let _0x55d293=this[_0x2a18af(0x1d4)][_0x2a18af(0x1c6)](_0x1f43ec),_0x263c5f=_0x46c4b7[_0x2a18af(0x192)]((_0x368d00,_0x58383e)=>_0x368d00[_0x2a18af(0x172)]((_0x31cf1f,_0x1f1ddd)=>({'row':this[_0x2a18af(0x177)][_0x2a18af(0x1a7)]+_0x58383e,'col':this[_0x2a18af(0x177)][_0x2a18af(0x1f2)]+_0x1f1ddd,'value':_0x31cf1f})));return _0x55d293[_0x2a18af(0x182)](_0x54e1c4['id'],{'unitId':this[_0x2a18af(0x15b)]['getId'](),'tableId':this[_0x2a18af(0x1ce)][_0x2a18af(0x1e9)](),'patches':_0x263c5f});}[_0x166382(0x141)](){const _0x3314c9=_0x166382;return this['setValues'](Array[_0x3314c9(0x14c)]({'length':this[_0x3314c9(0x1b5)]()},()=>Array[_0x3314c9(0x14c)]({'length':this['getNumColumns']()},()=>null)));}[_0x166382(0x1de)](_0x33fbcc,_0x210174,_0x4acf84=this['getNumRows'](),_0x53f74d=this[_0x166382(0x1ac)]()){const _0x2bf110=_0x166382;return this[_0x2bf110(0x1d4)][_0x2bf110(0x1f6)](e,this[_0x2bf110(0x15b)],this['_table'],{'startRow':this[_0x2bf110(0x177)][_0x2bf110(0x1a7)]+_0x33fbcc,'startColumn':this[_0x2bf110(0x177)][_0x2bf110(0x1f2)]+_0x210174,'endRow':this[_0x2bf110(0x177)][_0x2bf110(0x1a7)]+_0x33fbcc+_0x4acf84-0x1,'endColumn':this[_0x2bf110(0x177)]['startColumn']+_0x210174+_0x53f74d-0x1},this[_0x2bf110(0x1d4)]);}[_0x166382(0x162)](){const _0x619e24=_0x166382;let _0x422716=this['_table'][_0x619e24(0x17d)]();if(!_0x422716)throw Error(_0x619e24(0x20b));return _0x31afe7(_0x422716);}[_0x166382(0x21c)](){const _0xeac529=_0x166382;var _0x35cf76,_0x4f31a8;let _0xcb47de=this['_getTable'](),_0x17c479=(_0x35cf76=(_0x4f31a8=_0xcb47de[_0xeac529(0x1fc)])==null?void 0x0:_0x4f31a8[_0xeac529(0x179)])==null?0x0:_0x35cf76,_0x3b6989=_0xcb47de['fieldOrder']['length'];if(this['_range'][_0xeac529(0x1a7)]<0x0||this[_0xeac529(0x177)][_0xeac529(0x1f2)]<0x0||this['_range'][_0xeac529(0x18d)]<this[_0xeac529(0x177)][_0xeac529(0x1a7)]||this[_0xeac529(0x177)][_0xeac529(0x1cf)]<this[_0xeac529(0x177)][_0xeac529(0x1f2)]||this[_0xeac529(0x177)][_0xeac529(0x18d)]>=Math['max'](_0x17c479,0x1)||this[_0xeac529(0x177)]['endColumn']>=Math[_0xeac529(0x1ae)](_0x3b6989,0x1))throw Error(_0xeac529(0x14e)+_0x17c479+_0xeac529(0x1d2)+_0x3b6989+_0xeac529(0x1f0)+JSON[_0xeac529(0x1ea)](this[_0xeac529(0x177)])+'.');}};let U=function(_0x3da82c){const _0x3b14e6=_0x166382;return _0x3da82c['Id']='id',_0x3da82c[_0x3b14e6(0x181)]=_0x3b14e6(0x1d7),_0x3da82c[_0x3b14e6(0x180)]=_0x3b14e6(0x18f),_0x3da82c;}({});function W(_0x4e54ae,_0x145ad7,_0x1db5ba='id'){const _0x172c2b=_0x166382;if(!_0x145ad7)return{};let _0x4e0179={};return Object[_0x172c2b(0x1a6)](_0x145ad7)[_0x172c2b(0x1c5)](([_0x27bc67,_0x3810c5])=>{_0x4e0179[G(_0x4e54ae,_0x27bc67,_0x1db5ba)]=_0x3810c5;}),_0x4e0179;}function G(_0x5cb942,_0x3a2d9e,_0x17eb24){const _0x591834=_0x166382;if(_0x17eb24==='id'||_0x17eb24===_0x591834(0x18f)&&_0x5cb942[_0x591834(0x15f)][_0x3a2d9e])return _0x3a2d9e;let _0x5f2027=Object[_0x591834(0x168)](_0x5cb942[_0x591834(0x15f)])[_0x591834(0x1be)](_0x1cb5ce=>_0x1cb5ce[_0x591834(0x1d7)]===_0x3a2d9e);if(_0x5f2027[_0x591834(0x179)]===0x1)return _0x5f2027[0x0]['id'];throw _0x5f2027[_0x591834(0x179)]>0x1?Error(_0x591834(0x1ad)+_0x3a2d9e):Error(_0x591834(0x204)+_0x3a2d9e);}var K=class e{constructor(_0x507947,_0x5916d8,_0x27869f,_0x375a09){const _0x33d97a=_0x166382;this['_base']=_0x507947,this[_0x33d97a(0x1ce)]=_0x5916d8,this[_0x33d97a(0x211)]=_0x27869f,this[_0x33d97a(0x1d4)]=_0x375a09;}['getId'](){const _0x42171d=_0x166382;return this[_0x42171d(0x211)];}[_0x166382(0x1f8)](){const _0x2e73ac=_0x166382;return this[_0x2e73ac(0x212)]();}[_0x166382(0x1e8)](_0x17461d){const _0x1de1ae=_0x166382;var _0x3e003d;return(_0x3e003d=this[_0x1de1ae(0x212)]()['values'][_0x17461d])==null?null:_0x3e003d;}['getValues'](){const _0x14af20=_0x166382;return{...this[_0x14af20(0x212)]()[_0x14af20(0x168)]};}[_0x166382(0x19c)](_0x2ab97b,_0x47317f){const _0x3c82f0=_0x166382;return this['_inject'][_0x3c82f0(0x1c6)](_0x1f43ec)['syncExecuteCommand'](_0x5946f1['id'],{'unitId':this['_base']['getId'](),'tableId':this[_0x3c82f0(0x1ce)]['getId'](),'recordId':this[_0x3c82f0(0x211)],'fieldId':_0x2ab97b,'value':_0x47317f});}[_0x166382(0x17f)](_0xd851c3,_0x20a335){const _0x2b5e01=_0x166382;return this['setValue'](_0xd851c3,_0x20a335[_0x2b5e01(0x172)](_0x2e76a1=>({..._0x2e76a1})));}['setValues'](_0xa56617,_0x38e7a8='id'){const _0x2fcf4d=_0x166382;let _0x3d4584=this[_0x2fcf4d(0x1d4)][_0x2fcf4d(0x1c6)](_0x1f43ec),_0x376b7f=this['_table'][_0x2fcf4d(0x17d)](),_0x4d30c5=[{'recordId':this[_0x2fcf4d(0x211)],'values':W(_0x376b7f,_0xa56617,_0x38e7a8)}];return _0x3d4584[_0x2fcf4d(0x182)](_0x56e812['id'],{'unitId':this[_0x2fcf4d(0x15b)]['getId'](),'tableId':this[_0x2fcf4d(0x1ce)][_0x2fcf4d(0x1e9)](),'patches':_0x4d30c5});}[_0x166382(0x228)](){const _0x1b6862=_0x166382;return this[_0x1b6862(0x1d4)][_0x1b6862(0x1c6)](_0x1f43ec)[_0x1b6862(0x182)](_0x3fffa7['id'],{'unitId':this[_0x1b6862(0x15b)][_0x1b6862(0x1e9)](),'tableId':this[_0x1b6862(0x1ce)][_0x1b6862(0x1e9)](),'recordId':this[_0x1b6862(0x211)]});}[_0x166382(0x202)](_0x5973ec){const _0x5818c2=_0x166382;let _0x20bd6f=this[_0x5818c2(0x1d4)][_0x5818c2(0x1c6)](_0x1f43ec),_0x42adfe={...this[_0x5818c2(0x212)](),..._0x5973ec,'id':_0x2decce(0x6)};_0x5973ec!=null&&_0x5973ec[_0x5818c2(0x168)]&&(_0x42adfe['values']={..._0x42adfe[_0x5818c2(0x168)],..._0x5973ec[_0x5818c2(0x168)]});let _0xddf84b=Date[_0x5818c2(0x14a)]();if(_0x42adfe['orderKey']||(_0x42adfe[_0x5818c2(0x1f5)]=''+_0xddf84b),_0x42adfe[_0x5818c2(0x21e)]||(_0x42adfe[_0x5818c2(0x21e)]=_0xddf84b),_0x42adfe['updatedAt']||(_0x42adfe[_0x5818c2(0x154)]=_0xddf84b),!_0x20bd6f[_0x5818c2(0x182)](_0x5560d7['id'],{'unitId':this[_0x5818c2(0x15b)][_0x5818c2(0x1e9)](),'tableId':this['_table'][_0x5818c2(0x1e9)](),'sourceRecordId':this[_0x5818c2(0x211)],'record':_0x42adfe}))throw Error('[FRecord]:\x20failed\x20to\x20duplicate\x20record\x20\x22'+this[_0x5818c2(0x211)]+'\x22.');return this[_0x5818c2(0x1d4)]['createInstance'](e,this['_base'],this['_table'],_0x42adfe['id'],this[_0x5818c2(0x1d4)]);}[_0x166382(0x1c4)](_0x37f79f){const _0x1c2fae=_0x166382;return this[_0x1c2fae(0x1d4)][_0x1c2fae(0x1c6)](_0x1f43ec)['syncExecuteCommand'](_0xe2810f['id'],{'unitId':this[_0x1c2fae(0x15b)]['getId'](),'tableId':this[_0x1c2fae(0x1ce)]['getId'](),'recordId':this[_0x1c2fae(0x211)],'orderKey':_0x37f79f});}[_0x166382(0x212)](){const _0x5b1d0b=_0x166382;let _0x361dab=this[_0x5b1d0b(0x1ce)][_0x5b1d0b(0x17d)]()[_0x5b1d0b(0x1dc)][this[_0x5b1d0b(0x211)]];if(!_0x361dab)throw Error(_0x5b1d0b(0x144)+this[_0x5b1d0b(0x211)]+_0x5b1d0b(0x1c2));return _0x361dab;}},q=class{constructor(_0x2ff015,_0x5c0876,_0x53b78e,_0x293b8f){const _0x54c4be=_0x166382;this['_base']=_0x2ff015,this[_0x54c4be(0x1ce)]=_0x5c0876,this[_0x54c4be(0x17e)]=_0x53b78e,this['_injector']=_0x293b8f;}[_0x166382(0x1e9)](){const _0x4a54e3=_0x166382;return this[_0x4a54e3(0x17e)];}[_0x166382(0x197)](){const _0x469191=_0x166382;return this[_0x469191(0x1d0)]();}['getName'](){const _0x5d9647=_0x166382;return this[_0x5d9647(0x1d0)]()[_0x5d9647(0x1d7)];}[_0x166382(0x13f)](){const _0x223738=_0x166382;return this['_getView']()[_0x223738(0x1bd)];}[_0x166382(0x151)](_0x3de1a8){const _0x538707=_0x166382;return this[_0x538707(0x17a)][_0x538707(0x1c6)](_0x1f43ec)['syncExecuteCommand'](_0x12da68['id'],{'unitId':this[_0x538707(0x15b)][_0x538707(0x1e9)](),'tableId':this[_0x538707(0x1ce)][_0x538707(0x1e9)](),'viewId':this[_0x538707(0x17e)],'name':_0x3de1a8});}[_0x166382(0x165)](){const _0x2220fb=_0x166382;let _0x2ef2bd=this[_0x2220fb(0x13f)](),_0x2b9314=this['_getView']()[_0x2220fb(0x1fb)];switch(_0x2ef2bd){case _0x4f3b2f['Grid']:return _0x2b9314;case _0x4f3b2f[_0x2220fb(0x16d)]:return _0x2b9314;case _0x4f3b2f[_0x2220fb(0x186)]:return _0x2b9314;case _0x4f3b2f[_0x2220fb(0x1a4)]:return _0x2b9314;case _0x4f3b2f[_0x2220fb(0x1b4)]:return _0x2b9314;default:return _0x2b9314;}}[_0x166382(0x1e3)](_0x49fb73){const _0x49ad6d=_0x166382;return this[_0x49ad6d(0x17a)]['get'](_0x1f43ec)[_0x49ad6d(0x182)](_0x1e6de5['id'],{'unitId':this[_0x49ad6d(0x15b)]['getId'](),'tableId':this[_0x49ad6d(0x1ce)][_0x49ad6d(0x1e9)](),'viewId':this[_0x49ad6d(0x17e)],'patch':_0x49fb73});}[_0x166382(0x225)](){const _0x48254e=_0x166382;var _0x1dbda8;return(_0x1dbda8=this[_0x48254e(0x1d0)]()[_0x48254e(0x1be)])==null?null:_0x1dbda8;}[_0x166382(0x156)](_0x264922){const _0x2cfc44=_0x166382;return this[_0x2cfc44(0x17a)][_0x2cfc44(0x1c6)](_0x1f43ec)[_0x2cfc44(0x182)](_0x570bf5['id'],{'unitId':this['_base'][_0x2cfc44(0x1e9)](),'tableId':this[_0x2cfc44(0x1ce)]['getId'](),'viewId':this['_viewId'],'filter':_0x264922});}[_0x166382(0x1fa)](){const _0x65423c=_0x166382;var _0x5be5ca;return(_0x5be5ca=this[_0x65423c(0x1d0)]()[_0x65423c(0x218)])==null?[]:_0x5be5ca;}[_0x166382(0x1ef)](_0x2d6325){const _0x15fc7f=_0x166382;return this[_0x15fc7f(0x17a)][_0x15fc7f(0x1c6)](_0x1f43ec)['syncExecuteCommand'](_0x5d8b7e['id'],{'unitId':this['_base'][_0x15fc7f(0x1e9)](),'tableId':this['_table'][_0x15fc7f(0x1e9)](),'viewId':this[_0x15fc7f(0x17e)],'sort':_0x2d6325});}[_0x166382(0x19a)](){const _0x27f2d5=_0x166382;var _0x1d1615;return(_0x1d1615=this[_0x27f2d5(0x1d0)]()[_0x27f2d5(0x18b)])==null?[]:_0x1d1615;}[_0x166382(0x217)](_0x889ce9){const _0x7083cc=_0x166382;return this[_0x7083cc(0x17a)][_0x7083cc(0x1c6)](_0x1f43ec)[_0x7083cc(0x182)](_0xf94296['id'],{'unitId':this[_0x7083cc(0x15b)][_0x7083cc(0x1e9)](),'tableId':this['_table'][_0x7083cc(0x1e9)](),'viewId':this[_0x7083cc(0x17e)],'group':_0x889ce9});}[_0x166382(0x1e4)](_0x591c00){const _0x359814=_0x166382;var _0x236eda,_0x4adc1b;return(_0x236eda=(_0x4adc1b=this[_0x359814(0x1d0)]()[_0x359814(0x22f)])==null?void 0x0:_0x4adc1b[_0x591c00])==null?{}:_0x236eda;}['getVisibleFields'](){const _0x42156a=_0x166382;var _0xf14430;let _0x56bb72=this['_table'][_0x42156a(0x17d)](),_0x4f8ee2=this[_0x42156a(0x1d0)]();return((_0xf14430=_0x4f8ee2['fieldOrder'])==null?_0x56bb72[_0x42156a(0x1b8)]:_0xf14430)[_0x42156a(0x1be)](_0xee27a1=>{const _0x265f86=_0x42156a;var _0x1cc853;return _0x56bb72[_0x265f86(0x15f)][_0xee27a1]&&!((_0x1cc853=_0x4f8ee2[_0x265f86(0x22f)])!=null&&(_0x1cc853=_0x1cc853[_0xee27a1])!=null&&_0x1cc853['hidden']);})['map'](_0x1e5baa=>this[_0x42156a(0x17a)][_0x42156a(0x1f6)](V,this[_0x42156a(0x15b)],this[_0x42156a(0x1ce)],_0x1e5baa,this[_0x42156a(0x17a)]));}[_0x166382(0x1ee)](_0x1226a1,_0x3c467c){const _0xb1df09=_0x166382;return this[_0xb1df09(0x17a)][_0xb1df09(0x1c6)](_0x1f43ec)[_0xb1df09(0x182)](_0x5a97a9['id'],{'unitId':this[_0xb1df09(0x15b)]['getId'](),'tableId':this[_0xb1df09(0x1ce)][_0xb1df09(0x1e9)](),'viewId':this[_0xb1df09(0x17e)],'fieldId':_0x1226a1,'visible':_0x3c467c});}[_0x166382(0x169)](_0x2ef19f,_0x3b7b9c){const _0x47b24f=_0x166382;return this[_0x47b24f(0x17a)][_0x47b24f(0x1c6)](_0x1f43ec)[_0x47b24f(0x182)](_0x179732['id'],{'unitId':this[_0x47b24f(0x15b)][_0x47b24f(0x1e9)](),'tableId':this[_0x47b24f(0x1ce)][_0x47b24f(0x1e9)](),'viewId':this[_0x47b24f(0x17e)],'fieldId':_0x2ef19f,'width':_0x3b7b9c});}['moveField'](_0x3b0863,_0x74c33b){const _0x392d8d=_0x166382;return this['_injector'][_0x392d8d(0x1c6)](_0x1f43ec)['syncExecuteCommand'](_0x1d7382['id'],{'unitId':this['_base']['getId'](),'tableId':this['_table'][_0x392d8d(0x1e9)](),'viewId':this['_viewId'],'fieldId':_0x3b0863,'target':_0x74c33b});}['move'](_0x44ec23){const _0x49a0bd=_0x166382;return this['_injector']['get'](_0x1f43ec)['syncExecuteCommand'](_0x168688['id'],{'unitId':this[_0x49a0bd(0x15b)][_0x49a0bd(0x1e9)](),'tableId':this[_0x49a0bd(0x1ce)][_0x49a0bd(0x1e9)](),'viewId':this['_viewId'],'target':_0x44ec23});}[_0x166382(0x228)](){const _0x2900fc=_0x166382;return this[_0x2900fc(0x17a)][_0x2900fc(0x1c6)](_0x1f43ec)[_0x2900fc(0x182)](_0x858461['id'],{'unitId':this['_base'][_0x2900fc(0x1e9)](),'tableId':this[_0x2900fc(0x1ce)]['getId'](),'viewId':this['_viewId']});}[_0x166382(0x205)](){const _0x791126=_0x166382;return this[_0x791126(0x17a)][_0x791126(0x1c6)](_0x5c28f7)[_0x791126(0x205)](this[_0x791126(0x15b)][_0x791126(0x16b)]()[_0x791126(0x1e1)](),this[_0x791126(0x1ce)][_0x791126(0x1e9)](),this[_0x791126(0x17e)]);}[_0x166382(0x1d0)](){const _0x43461c=_0x166382;let _0x365617=this[_0x43461c(0x1ce)]['getTable']()[_0x43461c(0x1a0)][this['_viewId']];if(!_0x365617)throw Error(_0x43461c(0x1af)+this['_viewId']+_0x43461c(0x1c2));return _0x365617;}},J=class{constructor(_0x27e0fe,_0x24aecd,_0xf67b28){const _0x25f81c=_0x166382;this['_base']=_0x27e0fe,this[_0x25f81c(0x187)]=_0x24aecd,this[_0x25f81c(0x17a)]=_0xf67b28;}[_0x166382(0x16b)](){const _0x1ba907=_0x166382;return this[_0x1ba907(0x15b)][_0x1ba907(0x16b)]();}['getTable'](){const _0x59dcae=_0x166382;return this[_0x59dcae(0x162)]();}[_0x166382(0x1e9)](){const _0x2628ba=_0x166382;return this[_0x2628ba(0x187)];}[_0x166382(0x152)](){const _0x16976d=_0x166382;return this[_0x16976d(0x162)]()['name'];}['setName'](_0x1e7b71){const _0x40b37c=_0x166382;return this['_injector'][_0x40b37c(0x1c6)](_0x1f43ec)[_0x40b37c(0x182)](_0x4affdf['id'],{'unitId':this[_0x40b37c(0x15b)][_0x40b37c(0x1e9)](),'tableId':this[_0x40b37c(0x187)],'name':_0x1e7b71});}['search'](_0xf3d1dd,_0x4d8c3b){const _0x5cf07f=_0x166382;var _0x553040;let _0xf7b26c=this['_injector']['get'](_0x5c28f7),_0x573667=this[_0x5cf07f(0x15b)][_0x5cf07f(0x16b)]()[_0x5cf07f(0x1e1)](),_0x4345be=this[_0x5cf07f(0x162)]();if(_0x4d8c3b){var _0x1345f9;let _0x2452e3=_0xf7b26c[_0x5cf07f(0x205)](_0x573667,this[_0x5cf07f(0x187)],_0x4d8c3b),_0x3ba712=_0x4345be[_0x5cf07f(0x1a0)][_0x4d8c3b],_0x317fc0=(_0x1345f9=_0xf3d1dd[_0x5cf07f(0x14b)])==null?ve(_0x4345be,_0x3ba712,_0x2452e3):_0x1345f9,_0x1ec88d=_0x5cf07f(0x22c)in _0x2452e3&&Array[_0x5cf07f(0x185)](_0x2452e3[_0x5cf07f(0x22c)])?_0x2452e3[_0x5cf07f(0x22c)]:[];return _0x5fa93c({..._0xf3d1dd,'table':_0x4345be,'fieldIds':_0x317fc0,'rows':_0x1ec88d});}let _0xa6ee1b=(_0x4345be[_0x5cf07f(0x1fc)]?_0x4345be[_0x5cf07f(0x1fc)]['map'](_0x42ccd3=>_0x4345be[_0x5cf07f(0x1dc)][_0x42ccd3]):Object[_0x5cf07f(0x168)](_0x4345be[_0x5cf07f(0x1dc)])[_0x5cf07f(0x218)]((_0x301771,_0x25ce7b)=>_0x301771['orderKey']['localeCompare'](_0x25ce7b['orderKey'])))['filter'](_0x246e28=>_0x246e28)[_0x5cf07f(0x172)](_0x1b3cb3=>({'recordId':_0x1b3cb3['id'],'values':_0x1b3cb3[_0x5cf07f(0x168)]})),_0x3cb337=(_0x553040=_0xf3d1dd['fieldIds'])==null?_0x4345be['fieldOrder']['filter'](_0x215616=>_0x4345be['fields'][_0x215616]):_0x553040;return _0x5fa93c({..._0xf3d1dd,'table':_0x4345be,'fieldIds':_0x3cb337,'rows':_0xa6ee1b});}[_0x166382(0x191)](){const _0x46a323=_0x166382;return this['_getTable']()[_0x46a323(0x1c7)];}[_0x166382(0x16f)](){const _0x506971=_0x166382;let _0x3680fb=this['_getTable']();return _0x3680fb[_0x506971(0x1b8)][_0x506971(0x172)](_0x370ad7=>_0x3680fb[_0x506971(0x15f)][_0x370ad7])['filter'](_0x271e56=>_0x271e56)[_0x506971(0x172)](_0x422b84=>this[_0x506971(0x17a)][_0x506971(0x1f6)](V,this['_base'],this,_0x422b84['id'],this[_0x506971(0x17a)]));}[_0x166382(0x1e6)](_0x2ae4df){const _0x4a2d14=_0x166382;let _0x2bdc56=this[_0x4a2d14(0x162)]()[_0x4a2d14(0x15f)][_0x2ae4df];return _0x2bdc56?this['_injector'][_0x4a2d14(0x1f6)](V,this['_base'],this,_0x2bdc56['id'],this[_0x4a2d14(0x17a)]):null;}[_0x166382(0x1a3)](_0x37db7c){const _0x4d7978=_0x166382;let _0x1e18cb=this[_0x4d7978(0x162)]()[_0x4d7978(0x15f)],_0x186a79=Object[_0x4d7978(0x168)](_0x1e18cb)[_0x4d7978(0x161)](_0x2138d7=>_0x2138d7[_0x4d7978(0x1d7)]===_0x37db7c);return _0x186a79?this[_0x4d7978(0x17a)]['createInstance'](V,this[_0x4d7978(0x15b)],this,_0x186a79['id'],this[_0x4d7978(0x17a)]):null;}[_0x166382(0x178)](){const _0x54511d=_0x166382;let _0x573c9d=this[_0x54511d(0x162)]()[_0x54511d(0x1c7)];return this[_0x54511d(0x17a)][_0x54511d(0x1f6)](V,this['_base'],this,_0x573c9d,this[_0x54511d(0x17a)]);}[_0x166382(0x1b1)](_0x425c5d,_0x5ac013,_0x3101fb){const _0x339d4a=_0x166382;var _0x5eb436,_0x4e8c9c;let _0x29b6d4=this[_0x339d4a(0x17a)][_0x339d4a(0x1c6)](_0x1f43ec);if(_0x5ac013===_0x7a8503[_0x339d4a(0x142)]){if(!_0x3101fb||!('externalReferences'in _0x3101fb)||!Array[_0x339d4a(0x185)](_0x3101fb['externalReferences']))throw Error('Formula\x20fields\x20require\x20options.externalReferences.\x20Use\x20[]\x20only\x20for\x20a\x20Host-local\x20formula.');if(_0x3101fb[_0x339d4a(0x1e2)]['length']>0x0&&!_0x29b6d4[_0x339d4a(0x182)](_0x34373b['id'],{'unitId':this[_0x339d4a(0x15b)][_0x339d4a(0x1e9)](),'references':_0x3101fb[_0x339d4a(0x1e2)]}))throw Error(_0x339d4a(0x167)+_0x425c5d+'\x22');}let _0x46c149={..._0x3101fb==null?void 0x0:_0x3101fb[_0x339d4a(0x145)],'id':_0x2decce(0x6),'name':_0x425c5d,'type':_0x5ac013,'config':(_0x5eb436=_0x3101fb==null||(_0x4e8c9c=_0x3101fb['field'])==null?void 0x0:_0x4e8c9c[_0x339d4a(0x1fb)])==null?{}:_0x5eb436};if(!_0x29b6d4[_0x339d4a(0x182)](_0x12c685['id'],{'unitId':this[_0x339d4a(0x15b)]['getId'](),'tableId':this[_0x339d4a(0x187)],'field':_0x46c149,'index':_0x3101fb==null?void 0x0:_0x3101fb[_0x339d4a(0x21f)]}))throw Error('Failed\x20to\x20add\x20field\x20\x22'+_0x425c5d+'\x22');return this[_0x339d4a(0x17a)]['createInstance'](V,this[_0x339d4a(0x15b)],this,_0x46c149['id'],this['_injector']);}[_0x166382(0x190)](){const _0x574639=_0x166382;return this['_resolveRecordIds']()[_0x574639(0x172)](_0x4d13db=>this[_0x574639(0x17a)]['createInstance'](K,this[_0x574639(0x15b)],this,_0x4d13db,this[_0x574639(0x17a)]));}[_0x166382(0x1dd)](_0x4030f8){const _0x45c6df=_0x166382;return this[_0x45c6df(0x162)]()['records'][_0x4030f8]?this[_0x45c6df(0x17a)][_0x45c6df(0x1f6)](K,this['_base'],this,_0x4030f8,this[_0x45c6df(0x17a)]):null;}[_0x166382(0x200)](_0x30712e={}){const _0x403b1a=_0x166382;var _0x1d45ce;let _0x422aa2=this['_getTable'](),_0x59e7d4=this[_0x403b1a(0x1fe)](_0x30712e),_0x5b0e6e=Math[_0x403b1a(0x1ae)](0x0,(_0x1d45ce=_0x30712e[_0x403b1a(0x1de)])==null?0x0:_0x1d45ce),_0x21b685=_0x30712e[_0x403b1a(0x14f)]==null?null:Math[_0x403b1a(0x1ae)](0x0,_0x30712e['limit']),_0x1490c8=me(_0x59e7d4['map'](_0x5444d1=>_0x422aa2[_0x403b1a(0x1dc)][_0x5444d1])[_0x403b1a(0x1be)](_0x26e060=>he(_0x26e060,_0x422aa2,_0x30712e[_0x403b1a(0x1be)])),_0x422aa2,_0x30712e[_0x403b1a(0x218)]);return{'records':pe(_0x1490c8,_0x30712e)[_0x403b1a(0x172)](_0x59107d=>this[_0x403b1a(0x17a)][_0x403b1a(0x1f6)](K,this[_0x403b1a(0x15b)],this,_0x59107d['id'],this[_0x403b1a(0x17a)])),'total':_0x1490c8[_0x403b1a(0x179)],'offset':_0x5b0e6e,'limit':_0x21b685,'hasMore':_0x21b685!=null&&_0x5b0e6e+_0x21b685<_0x1490c8[_0x403b1a(0x179)]};}[_0x166382(0x1a2)](_0x55856d,_0x363684='id',_0x4af4be){const _0x17e5a8=_0x166382;let _0x270c51=this[_0x17e5a8(0x17a)][_0x17e5a8(0x1c6)](_0x1f43ec),_0x336635=this[_0x17e5a8(0x162)](),_0x1b5240=_0x4af4be==null?{}:_0x4af4be;_0x1b5240['id']=_0x2decce(0x6),_0x1b5240[_0x17e5a8(0x168)]=W(_0x336635,_0x55856d,_0x363684);let _0x95864=Date[_0x17e5a8(0x14a)]();if(_0x1b5240[_0x17e5a8(0x1f5)]||(_0x1b5240[_0x17e5a8(0x1f5)]=''+_0x95864),_0x1b5240[_0x17e5a8(0x21e)]||(_0x1b5240['createdAt']=_0x95864),_0x1b5240[_0x17e5a8(0x154)]||(_0x1b5240[_0x17e5a8(0x154)]=_0x95864),!_0x270c51[_0x17e5a8(0x182)](_0x5d2235['id'],{'unitId':this['_base'][_0x17e5a8(0x1e9)](),'tableId':this['_tableId'],'record':_0x1b5240}))throw Error(_0x17e5a8(0x19d)+_0x1b5240['id']+'\x22');return this['_injector'][_0x17e5a8(0x1f6)](K,this[_0x17e5a8(0x15b)],this,_0x1b5240['id'],this[_0x17e5a8(0x17a)]);}[_0x166382(0x224)](_0x1ca853){const _0x327e00=_0x166382;if(!_0x1ca853[_0x327e00(0x179)])return[];let _0x282e6e=this[_0x327e00(0x17a)][_0x327e00(0x1c6)](_0x1f43ec),_0x25fc2b=this['_getTable'](),_0x28a955=Date[_0x327e00(0x14a)](),_0x487c7b=_0x1ca853[_0x327e00(0x172)]((_0x3a913f,_0x5162b6)=>{const _0x3acef8=_0x327e00;var _0x397d45,_0x3efef1;let _0xd16b8b=(_0x397d45=_0x3a913f[_0x3acef8(0x20d)])==null?{}:_0x397d45;return _0xd16b8b['id']=_0x2decce(0x6),_0xd16b8b[_0x3acef8(0x168)]=W(_0x25fc2b,_0x3a913f[_0x3acef8(0x168)],(_0x3efef1=_0x3a913f['fieldKey'])==null?'id':_0x3efef1),_0xd16b8b[_0x3acef8(0x1f5)]||(_0xd16b8b[_0x3acef8(0x1f5)]=''+(_0x28a955+_0x5162b6)),_0xd16b8b[_0x3acef8(0x21e)]||(_0xd16b8b['createdAt']=_0x28a955),_0xd16b8b[_0x3acef8(0x154)]||(_0xd16b8b['updatedAt']=_0x28a955),_0xd16b8b;});if(!_0x282e6e[_0x327e00(0x182)](_0x328b9a['id'],{'unitId':this[_0x327e00(0x15b)][_0x327e00(0x1e9)](),'tableId':this[_0x327e00(0x187)],'records':_0x487c7b}))throw Error('Failed\x20to\x20add\x20records');return _0x487c7b['map'](_0x2d1d80=>this[_0x327e00(0x17a)][_0x327e00(0x1f6)](K,this[_0x327e00(0x15b)],this,_0x2d1d80['id'],this[_0x327e00(0x17a)]));}['deleteRecords'](_0x13417d){const _0x4006e8=_0x166382;return!_0x13417d[_0x4006e8(0x179)]||this['_injector'][_0x4006e8(0x1c6)](_0x1f43ec)[_0x4006e8(0x182)](_0x41c146['id'],{'unitId':this[_0x4006e8(0x15b)][_0x4006e8(0x1e9)](),'tableId':this['_tableId'],'recordIds':_0x13417d});}[_0x166382(0x1e0)](_0x5841ce,_0x2cfd7e,_0x18a9e0=0x1,_0x4d0bc9=0x1){const _0x3b2e29=_0x166382;return this[_0x3b2e29(0x17a)][_0x3b2e29(0x1f6)](H,this[_0x3b2e29(0x15b)],this,{'startRow':_0x5841ce,'endRow':_0x5841ce+_0x18a9e0-0x1,'startColumn':_0x2cfd7e,'endColumn':_0x2cfd7e+_0x4d0bc9-0x1},this[_0x3b2e29(0x17a)]);}['getDataRange'](){const _0x28dbcc=_0x166382;var _0xdfb445,_0x534d36;let _0x441b2b=_0x31afe7(this[_0x28dbcc(0x162)]()),_0xfa1a24=(_0xdfb445=(_0x534d36=_0x441b2b[_0x28dbcc(0x1fc)])==null?void 0x0:_0x534d36[_0x28dbcc(0x179)])==null?0x0:_0xdfb445,_0x4ff7a3=_0x441b2b[_0x28dbcc(0x1b8)][_0x28dbcc(0x179)];return this[_0x28dbcc(0x1e0)](0x0,0x0,Math[_0x28dbcc(0x1ae)](_0xfa1a24,0x1),Math[_0x28dbcc(0x1ae)](_0x4ff7a3,0x1));}[_0x166382(0x1f3)](){const _0x2585a7=_0x166382;let _0x3fab6b=this['_getTable']();return _0x3fab6b['viewOrder'][_0x2585a7(0x1be)](_0x911631=>_0x3fab6b[_0x2585a7(0x1a0)][_0x911631])[_0x2585a7(0x172)](_0x20048a=>this[_0x2585a7(0x17a)]['createInstance'](q,this[_0x2585a7(0x15b)],this,_0x20048a,this[_0x2585a7(0x17a)]));}[_0x166382(0x1db)](_0x19db15){const _0x450fec=_0x166382;return this['_getTable']()[_0x450fec(0x1a0)][_0x19db15]?this['_injector'][_0x450fec(0x1f6)](q,this['_base'],this,_0x19db15,this[_0x450fec(0x17a)]):null;}[_0x166382(0x206)](_0x11a9bc){const _0x28b2f1=_0x166382;let _0xcb53ca=this[_0x28b2f1(0x162)](),_0x589c0d=Object[_0x28b2f1(0x168)](_0xcb53ca[_0x28b2f1(0x1a0)])[_0x28b2f1(0x161)](_0x444aff=>_0x444aff[_0x28b2f1(0x1d7)]===_0x11a9bc);return _0x589c0d?this[_0x28b2f1(0x17a)][_0x28b2f1(0x1f6)](q,this[_0x28b2f1(0x15b)],this,_0x589c0d['id'],this[_0x28b2f1(0x17a)]):null;}[_0x166382(0x1ff)](_0x2034c1,_0xb96e5c,_0x688080){const _0x5ed320=_0x166382;var _0x410e7e;let _0x2bd7e1=this[_0x5ed320(0x17a)][_0x5ed320(0x1c6)](_0x1f43ec),_0x453d5a=this['_getTable'](),_0xc34387=(_0x410e7e=_0x688080==null?void 0x0:_0x688080[_0x5ed320(0x201)])==null?{}:_0x410e7e;if(_0xc34387['id']=_0x2decce(0x6),_0xc34387[_0x5ed320(0x1d7)]=_0x2034c1,_0xc34387[_0x5ed320(0x1bd)]=_0xb96e5c,_0xc34387['tableId']=this['_tableId'],!_0xc34387[_0x5ed320(0x1bd)])throw Error(_0x5ed320(0x17b));if(_0xc34387[_0x5ed320(0x1fb)]||(_0xc34387[_0x5ed320(0x1fb)]={}),_0xc34387['fieldOrder']||(_0xc34387[_0x5ed320(0x1b8)]=[..._0x453d5a[_0x5ed320(0x1b8)]]),!_0x2bd7e1[_0x5ed320(0x182)](_0x44a3b0['id'],{'unitId':this[_0x5ed320(0x15b)][_0x5ed320(0x1e9)](),'tableId':this[_0x5ed320(0x187)],'view':_0xc34387,'index':_0x688080==null?void 0x0:_0x688080[_0x5ed320(0x21f)]}))throw Error('Failed\x20to\x20create\x20view\x20\x22'+_0x2034c1+'\x22');return this['_injector'][_0x5ed320(0x1f6)](q,this[_0x5ed320(0x15b)],this,_0xc34387['id'],this[_0x5ed320(0x17a)]);}[_0x166382(0x171)](){const _0x388f84=_0x166382;let _0x567ca5=this[_0x388f84(0x162)](),_0x746adb=_0x567ca5[_0x388f84(0x1b8)]['filter'](_0x539c06=>_0x567ca5[_0x388f84(0x15f)][_0x539c06]),_0x18fad8=_0x567ca5[_0x388f84(0x170)][_0x388f84(0x1be)](_0x19d36f=>_0x567ca5[_0x388f84(0x1a0)][_0x19d36f]);return{'id':_0x567ca5['id'],'name':_0x567ca5[_0x388f84(0x1d7)],'primaryFieldId':_0x567ca5[_0x388f84(0x1c7)],'fieldIds':_0x746adb,'viewIds':_0x18fad8,'recordCount':this[_0x388f84(0x1fe)]()[_0x388f84(0x179)],'fields':_0x746adb[_0x388f84(0x172)](_0x23ff04=>{const _0x2f38d6=_0x388f84;let _0x1ecf0e=_0x567ca5[_0x2f38d6(0x15f)][_0x23ff04];return{'id':_0x1ecf0e['id'],'name':_0x1ecf0e['name'],'type':_0x1ecf0e[_0x2f38d6(0x1bd)],'config':_0x1ecf0e[_0x2f38d6(0x1fb)],'readonly':_0x1ecf0e[_0x2f38d6(0x1e7)],'description':_0x1ecf0e[_0x2f38d6(0x209)]};}),'views':_0x18fad8[_0x388f84(0x172)](_0x3fd948=>{const _0x523726=_0x388f84;let _0x1e91f6=_0x567ca5[_0x523726(0x1a0)][_0x3fd948];return{'id':_0x1e91f6['id'],'name':_0x1e91f6[_0x523726(0x1d7)],'type':_0x1e91f6['type']};})};}[_0x166382(0x162)](){const _0x229514=_0x166382;let _0xbac212=this[_0x229514(0x15b)][_0x229514(0x16b)]()[_0x229514(0x1e1)]()[_0x229514(0x1aa)][this['_tableId']];if(!_0xbac212)throw Error('[FTable]:\x20table\x20\x22'+this[_0x229514(0x187)]+_0x229514(0x1c2));return _0xbac212;}[_0x166382(0x1fe)](_0x3f7173={}){const _0x3069a9=_0x166382;let _0x2014cb=this[_0x3069a9(0x17a)][_0x3069a9(0x1c6)](_0x5c28f7),_0xf3fbce=this['_base'][_0x3069a9(0x16b)]()[_0x3069a9(0x1e1)](),_0x326f57=this[_0x3069a9(0x162)]();if(_0x3f7173[_0x3069a9(0x1da)]){let _0x17b640=_0x2014cb[_0x3069a9(0x205)](_0xf3fbce,this[_0x3069a9(0x187)],_0x3f7173[_0x3069a9(0x1da)]);if(_0x3069a9(0x22c)in _0x17b640&&Array['isArray'](_0x17b640['rows']))return _0x17b640[_0x3069a9(0x22c)][_0x3069a9(0x172)](_0x1dc57c=>_0x1dc57c['recordId']);}return(_0x326f57[_0x3069a9(0x1fc)]?_0x326f57['recordOrder'][_0x3069a9(0x172)](_0x3824ad=>_0x326f57[_0x3069a9(0x1dc)][_0x3824ad]):Object[_0x3069a9(0x168)](_0x326f57[_0x3069a9(0x1dc)])['sort']((_0x154a63,_0x38afa5)=>_0x154a63[_0x3069a9(0x1f5)][_0x3069a9(0x183)](_0x38afa5[_0x3069a9(0x1f5)])))['filter'](_0x3f6f7c=>_0x3f6f7c)[_0x3069a9(0x172)](_0x2d696f=>_0x2d696f['id']);}};function pe(_0x4466c6,_0x879a29){const _0x2608ef=_0x166382;var _0x48bca7;let _0x1eac94=Math[_0x2608ef(0x1ae)](0x0,(_0x48bca7=_0x879a29['offset'])==null?0x0:_0x48bca7);return _0x879a29[_0x2608ef(0x14f)]==null?_0x4466c6[_0x2608ef(0x163)](_0x1eac94):_0x4466c6[_0x2608ef(0x163)](_0x1eac94,_0x1eac94+Math[_0x2608ef(0x1ae)](0x0,_0x879a29[_0x2608ef(0x14f)]));}function me(_0x5078b8,_0x1ffcfa,_0x221b3a=[]){const _0x7ca828=_0x166382;return _0x221b3a[_0x7ca828(0x179)]?[..._0x5078b8][_0x7ca828(0x218)]((_0x30e8d1,_0x225189)=>{const _0x148055=_0x7ca828;var _0x2f7e60,_0x4a211f;for(let _0x58fecc of _0x221b3a){var _0x5c6a04;let _0x4c4835=_0x58fecc[_0x148055(0x1ca)]===_0x46203c[_0x148055(0x21d)]?-0x1:0x1,_0x29fac4=Y(_0x30e8d1[_0x148055(0x168)][_0x58fecc['fieldId']],_0x225189[_0x148055(0x168)][_0x58fecc[_0x148055(0x22d)]],(_0x5c6a04=_0x1ffcfa[_0x148055(0x15f)][_0x58fecc['fieldId']])==null?void 0x0:_0x5c6a04[_0x148055(0x1bd)]);if(_0x29fac4!==0x0)return _0x29fac4*_0x4c4835;}return String((_0x2f7e60=_0x30e8d1[_0x148055(0x1f5)])==null?_0x30e8d1['id']:_0x2f7e60)[_0x148055(0x183)](String((_0x4a211f=_0x225189[_0x148055(0x1f5)])==null?_0x225189['id']:_0x4a211f));}):_0x5078b8;}function Y(_0x3073b9,_0x28bbc3,_0x4ce9e3){const _0x3cb209=_0x166382;return _0x3073b9==null&&_0x28bbc3==null?0x0:_0x3073b9==null?-0x1:_0x28bbc3==null?0x1:typeof _0x3073b9=='number'&&typeof _0x28bbc3==_0x3cb209(0x1c1)?_0x3073b9-_0x28bbc3:_0x4ce9e3===_0x7a8503[_0x3cb209(0x160)]?Number(_0x3073b9)-Number(_0x28bbc3):String(_0x3073b9)['localeCompare'](String(_0x28bbc3));}function _0x3df4(){const _0x43487a=['[Base\x20Field\x20Facade]:\x20Failed\x20to\x20bind\x20External\x20References.','warn','addRecords','getFilter','conditions','BaseFieldKeyEnum','delete','_initialize','deepClone','table','rows','fieldId','BeforeBaseTableCellValueChange','fieldSettings','29265AzdvEn','fireEvent','hidden','6RzTIen','getType','params','clear','Formula','[Base\x20Field\x20Facade]:\x20Formula\x20writes\x20require\x20{\x20externalReferences\x20}.\x20Use\x20[]\x20only\x20for\x20a\x20Host-local\x20formula.','[FRecord]:\x20record\x20\x22','field','decorate','46226xSXKVb','getBaseId','_resourceLoaderService','now','fieldIds','from','56jftNWW','[FBaseRange]:\x20range\x20is\x20out\x20of\x20bounds.\x20Max\x20rows:\x20','limit','indexOf','setName','getName','createBase','updatedAt','operator','setFilter','BaseTableFieldCreated','BeforeBaseTableRecordCreate','9aiVRMB','getDescription','_base','notMatches','BaseFilterOperator','BeforeBaseTableViewCreate','fields','Date','find','_getTable','slice','message','getConfig','191625pnTCLQ','Failed\x20to\x20bind\x20External\x20References\x20for\x20formula\x20field\x20\x22','values','setFieldWidth','_writeFormulaExternalReferences','getBase','visibleCardFieldIds','Kanban','BaseTableCellValueChanged','getFields','viewOrder','getSchema','map','cancel','getDefaultValue','string','setValues','_range','getPrimaryField','length','_injector','View\x20type\x20is\x20required','tableOrder','getTable','_viewId','setAttachments','Auto','Name','syncExecuteCommand','localeCompare','insertTable','isArray','Calendar','_tableId','Base\x20regex\x20filter\x20is\x20too\x20long.\x20Maximum\x20length\x20is\x20512.','getUnitId','BaseSortDirection','group','extend','endRow','\x20Copy','auto','getRecords','getPrimaryFieldId','flatMap','Failed\x20to\x20duplicate\x20table\x20\x22','value','saveUnit','getTables','getView','_initBaseAfterEvents','BaseFilterConjunction','getGroup','getCurrentUnitOfType','setValue','Failed\x20to\x20add\x20record\x20with\x20id\x20\x22','BaseTableRecordCreated','_fieldId','views','getTableByName','addRecord','getFieldByName','Gantt','BaseTableCreated','entries','startRow','hasOwnProperty','disposeWithMe','tables','duplicateTable','getNumColumns','Duplicate\x20Base\x20field\x20name:\x20','max','[FView]:\x20view\x20\x22','prototype','addField','invalid','Event','Gallery','getNumRows','regenerateViewIds','10081nUJelE','fieldOrder','[FBaseRange]:\x20values\x20size\x20','deleteTable','update','some','type','filter','getAllUnitsForType','UNIVER_BASE','number','\x22\x20does\x20not\x20exist.','caseSensitive','setOrderKey','forEach','get','primaryFieldId','every','getColumn','direction','registerEventHandler','getUnit','Failed\x20to\x20delete\x20table\x20\x22','_table','endColumn','_getView','\x20exceeds\x20range\x20size\x20',',\x20max\x20columns:\x20','BaseTableViewCreated','_inject','primaryFieldName','object','name','BeforeBaseTableCreate','getActiveBase','viewId','getViewById','records','getRecordById','offset','includeRecords','getRange','getSnapshot','externalReferences','updateConfig','getFieldSettings','beforeCommandExecuted','getFieldById','readonly','getValue','getId','stringify','setDefaultValue','AND','push','setFieldVisible','setSort',',\x20range:\x20','getRow','startColumn','getViews','1148035CGWcab','orderKey','createInstance','getTableById','getRecord','defaultValue','getSort','config','recordOrder','BeforeBaseTableFieldCreate','_resolveRecordIds','createView','queryRecords','view','duplicate','Failed\x20to\x20create\x20table\x20\x22','Base\x20field\x20not\x20found:\x20','getProjection','getViewByName','changeType','_initBaseBeforeEvents','description','813792lezUXN','[FBaseRange]:\x20table\x20does\x20not\x20exist.','rowId','record','getValues','isReadonly','2602370HSOKwB','_recordId','_getRecord','[FField]:\x20field\x20\x22','getField','_getField','BaseViewType','setGroup','sort','matches','getBases','onCommandExecuted','_assertInBounds','DESC','createdAt','index','move','BaseFieldType'];_0x3df4=function(){return _0x43487a;};return _0x3df4();}function he(_0x54c31c,_0xf4a236,_0x2c117){const _0x44490f=_0x166382;var _0x5c5d0a;if(!_0x2c117||!((_0x5c5d0a=_0x2c117[_0x44490f(0x226)])!=null&&_0x5c5d0a[_0x44490f(0x179)]))return!0x0;let {conjunction:_0x15c44e=_0x3015f0['OR'],conditions:_0x25ef8f}=_0x2c117;return _0x15c44e===_0x3015f0[_0x44490f(0x1ec)]&&_0x25ef8f[_0x44490f(0x179)]>0x1?_0x25ef8f[_0x44490f(0x1c8)](_0x4ba7ea=>X(_0x54c31c,_0xf4a236,_0x4ba7ea)):_0x25ef8f[_0x44490f(0x1bc)](_0xd1b8b9=>X(_0x54c31c,_0xf4a236,_0xd1b8b9));}function X(_0x547ad6,_0xb07039,_0x1678a2){const _0x58a660=_0x166382;let _0x813e63=_0x547ad6[_0x58a660(0x168)][_0x1678a2[_0x58a660(0x22d)]],_0xd53fab=_0xb07039['fields'][_0x1678a2[_0x58a660(0x22d)]];if(ge(_0x1678a2)){let _0x802e01=_e(_0x1678a2)['test'](String(_0x813e63==null?'':_0x813e63));return _0x1678a2[_0x58a660(0x155)]===_0x58a660(0x219)?_0x802e01:!_0x802e01;}return!_0xd53fab||_0x40c801(_0x813e63,_0x1678a2['operator'],_0x1678a2[_0x58a660(0x194)],_0xd53fab);}function _0x4e8a(_0x4b1937,_0xef00ff){_0x4b1937=_0x4b1937-0x13b;const _0x3df467=_0x3df4();let _0x4e8a03=_0x3df467[_0x4b1937];return _0x4e8a03;}function ge(_0x309812){const _0x1db9ac=_0x166382;return _0x309812[_0x1db9ac(0x155)]===_0x1db9ac(0x219)||_0x309812[_0x1db9ac(0x155)]===_0x1db9ac(0x15c);}function _e(_0x786e2b){const _0x2e3f81=_0x166382;var _0x126598;let _0x2d8b36=String((_0x126598=_0x786e2b[_0x2e3f81(0x194)])==null?'':_0x126598);if(_0x2d8b36[_0x2e3f81(0x179)]>0x200)throw Error(_0x2e3f81(0x188));try{return new RegExp(_0x2d8b36,_0x786e2b[_0x2e3f81(0x1c3)]?void 0x0:'i');}catch(_0x515e2c){throw Error('Invalid\x20Base\x20regex\x20filter:\x20'+_0x2d8b36+'.\x20'+(_0x515e2c instanceof Error?_0x515e2c[_0x2e3f81(0x164)]:String(_0x515e2c)));}}function ve(_0x3e1932,_0x218e68,_0x557620){const _0x237b1f=_0x166382;if(_0x557620['type']!==_0x237b1f(0x1b2)){var _0x1ccefc;if(_0x557620[_0x237b1f(0x1bd)]===_0x4f3b2f[_0x237b1f(0x16d)]){var _0x1c8d9d,_0x39db6c,_0x173476;let _0x374615=[(_0x1c8d9d=(_0x39db6c=_0x557620[_0x237b1f(0x15f)])==null||(_0x39db6c=_0x39db6c[0x0])==null?void 0x0:_0x39db6c['id'])==null?_0x3e1932[_0x237b1f(0x1c7)]:_0x1c8d9d,...(_0x173476=_0x557620[_0x237b1f(0x16c)])==null?[]:_0x173476];return Array[_0x237b1f(0x14c)](new Set(_0x374615[_0x237b1f(0x1be)](_0x124a2e=>!!_0x3e1932[_0x237b1f(0x15f)][_0x124a2e])));}if((_0x1ccefc=_0x557620['fields'])!=null&&_0x1ccefc[_0x237b1f(0x179)])return _0x557620[_0x237b1f(0x15f)][_0x237b1f(0x172)](_0x2f72a8=>_0x2f72a8['id'])[_0x237b1f(0x1be)](_0x5df5e0=>{const _0x1851b8=_0x237b1f;var _0x45644c;return!!(_0x3e1932[_0x1851b8(0x15f)][_0x5df5e0]&&!(_0x218e68!=null&&(_0x45644c=_0x218e68[_0x1851b8(0x22f)])!=null&&(_0x45644c=_0x45644c[_0x5df5e0])!=null&&_0x45644c[_0x1851b8(0x13d)]));});}return _0x3e1932[_0x237b1f(0x1b8)][_0x237b1f(0x1be)](_0x149b80=>{const _0x31a693=_0x237b1f;var _0x22daf0;return!!(_0x3e1932[_0x31a693(0x15f)][_0x149b80]&&!(_0x218e68!=null&&(_0x22daf0=_0x218e68['fieldSettings'])!=null&&(_0x22daf0=_0x22daf0[_0x149b80])!=null&&_0x22daf0['hidden']));});}function Z(_0x409e95,_0x138f6e){return function(_0x424f66,_0x2a5483){_0x138f6e(_0x424f66,_0x2a5483,_0x409e95);};}function ye(_0x664505,_0x1e07f2,_0x5ab0e0,_0x9ad739){const _0x394e27=_0x166382;var _0x425185=arguments[_0x394e27(0x179)],_0x38265e=_0x425185<0x3?_0x1e07f2:_0x9ad739===null?_0x9ad739=Object['getOwnPropertyDescriptor'](_0x1e07f2,_0x5ab0e0):_0x9ad739,_0x10eb3a;if(typeof Reflect==_0x394e27(0x1d6)&&typeof Reflect[_0x394e27(0x146)]=='function')_0x38265e=Reflect['decorate'](_0x664505,_0x1e07f2,_0x5ab0e0,_0x9ad739);else{for(var _0x12af86=_0x664505[_0x394e27(0x179)]-0x1;_0x12af86>=0x0;_0x12af86--)(_0x10eb3a=_0x664505[_0x12af86])&&(_0x38265e=(_0x425185<0x3?_0x10eb3a(_0x38265e):_0x425185>0x3?_0x10eb3a(_0x1e07f2,_0x5ab0e0,_0x38265e):_0x10eb3a(_0x1e07f2,_0x5ab0e0))||_0x38265e);}return _0x425185>0x3&&_0x38265e&&Object['defineProperty'](_0x1e07f2,_0x5ab0e0,_0x38265e),_0x38265e;}let Q=class{constructor(_0x374bdb,_0x4a5c32,_0x24d0d0){const _0x18f709=_0x166382;this[_0x18f709(0x15b)]=_0x374bdb,this[_0x18f709(0x17a)]=_0x4a5c32,this[_0x18f709(0x149)]=_0x24d0d0;}[_0x166382(0x16b)](){const _0x24cbdc=_0x166382;return this[_0x24cbdc(0x15b)];}['getId'](){const _0x26dd20=_0x166382;return this['_base'][_0x26dd20(0x189)]();}['save'](){const _0x4bed67=_0x166382;var _0x165c93;return(_0x165c93=this[_0x4bed67(0x149)][_0x4bed67(0x195)](this[_0x4bed67(0x1e9)]()))==null?_0x1b13df[_0x4bed67(0x22a)](this['_base'][_0x4bed67(0x1e1)]()):_0x165c93;}['getName'](){const _0x904193=_0x166382;return this['_base'][_0x904193(0x1e1)]()[_0x904193(0x1d7)];}[_0x166382(0x151)](_0x464569){const _0x379668=_0x166382;this[_0x379668(0x17a)][_0x379668(0x1c6)](_0x1f43ec)[_0x379668(0x182)](_0x1e5b21['id'],{'unitId':this['getId'](),'name':_0x464569});}[_0x166382(0x196)](){const _0x2fdc0a=_0x166382;let _0x1c4cc7=this[_0x2fdc0a(0x15b)][_0x2fdc0a(0x1e1)]();return _0x1c4cc7['tableOrder'][_0x2fdc0a(0x172)](_0x556131=>_0x1c4cc7[_0x2fdc0a(0x1aa)][_0x556131])[_0x2fdc0a(0x1be)](_0x2ae733=>_0x2ae733)[_0x2fdc0a(0x172)](_0x1471ba=>this[_0x2fdc0a(0x17a)][_0x2fdc0a(0x1f6)](J,this,_0x1471ba['id'],this[_0x2fdc0a(0x17a)]));}[_0x166382(0x1f7)](_0x2608a0){const _0x1db959=_0x166382;let _0xfc159d=this[_0x1db959(0x15b)][_0x1db959(0x1e1)]()[_0x1db959(0x1aa)][_0x2608a0];return _0xfc159d?this[_0x1db959(0x17a)][_0x1db959(0x1f6)](J,this,_0xfc159d['id'],this[_0x1db959(0x17a)]):null;}[_0x166382(0x1a1)](_0x1cb5da){const _0xe40ebe=_0x166382;let _0x32366a=this[_0xe40ebe(0x15b)][_0xe40ebe(0x1e1)](),_0xb20125=Object[_0xe40ebe(0x168)](_0x32366a['tables'])[_0xe40ebe(0x161)](_0xd528d4=>_0xd528d4[_0xe40ebe(0x1d7)]===_0x1cb5da);return _0xb20125?this['_injector'][_0xe40ebe(0x1f6)](J,this,_0xb20125['id'],this[_0xe40ebe(0x17a)]):null;}[_0x166382(0x184)](_0x47fb68,_0x5539b3){const _0x2ba103=_0x166382;var _0x840a22;let _0x2956f4=this['_injector'][_0x2ba103(0x1c6)](_0x1f43ec),_0x58f883=_0x3f58f9({'id':_0x2decce(),'name':_0x47fb68,..._0x5539b3==null?void 0x0:_0x5539b3[_0x2ba103(0x22b)],'primaryFieldName':_0x5539b3==null?void 0x0:_0x5539b3[_0x2ba103(0x1d5)]}),_0xc20b4a=_0x1b13df['commonExtend'](_0x58f883,(_0x840a22=_0x5539b3==null?void 0x0:_0x5539b3[_0x2ba103(0x22b)])==null?{}:_0x840a22);if(!_0x2956f4['syncExecuteCommand'](_0x4ae76d['id'],{'unitId':this['_base'][_0x2ba103(0x189)](),'table':_0xc20b4a,'index':_0x5539b3==null?void 0x0:_0x5539b3[_0x2ba103(0x21f)]}))throw Error(_0x2ba103(0x203)+_0x47fb68+'\x22.');return this[_0x2ba103(0x17a)]['createInstance'](J,this,_0xc20b4a['id'],this[_0x2ba103(0x17a)]);}[_0x166382(0x1ba)](_0x29aaa3){const _0xbbd388=_0x166382;let _0x5829ae=this[_0xbbd388(0x17a)][_0xbbd388(0x1c6)](_0x1f43ec),_0x9724c7=typeof _0x29aaa3==_0xbbd388(0x175)?_0x29aaa3:_0x29aaa3[_0xbbd388(0x1e9)]();if(!_0x5829ae['syncExecuteCommand'](_0x365fcc['id'],{'unitId':this['_base'][_0xbbd388(0x189)](),'tableId':_0x9724c7}))throw Error(_0xbbd388(0x1cd)+_0x9724c7+'\x22.');return!0x0;}[_0x166382(0x1ab)](_0x2d7008,_0x4410be){const _0x3eeb70=_0x166382;var _0x4ad657,_0x2586fb;let _0x573abe=this[_0x3eeb70(0x17a)]['get'](_0x1f43ec),_0x2b6174=this[_0x3eeb70(0x15b)][_0x3eeb70(0x1e1)](),_0xe27439=typeof _0x2d7008==_0x3eeb70(0x175)?_0x2d7008:_0x2d7008[_0x3eeb70(0x1e9)](),_0x1e8bda=_0x2b6174[_0x3eeb70(0x1aa)][_0xe27439];if(!_0x1e8bda)throw Error('[FBase]:\x20table\x20\x22'+_0xe27439+_0x3eeb70(0x1c2));let _0x27feff=_0x2b6174[_0x3eeb70(0x17c)][_0x3eeb70(0x150)](_0xe27439)+0x1,_0x11111a=_0x457395(_0x1e8bda,{'id':_0x2decce(),'name':_0x1e8bda['name']+_0x3eeb70(0x18e),'includeRecords':(_0x4ad657=_0x4410be==null?void 0x0:_0x4410be[_0x3eeb70(0x1df)])!=null&&_0x4ad657,'regenerateViewIds':(_0x2586fb=_0x4410be==null?void 0x0:_0x4410be[_0x3eeb70(0x1b6)])!=null&&_0x2586fb});if(!_0x573abe[_0x3eeb70(0x182)](_0x4ae76d['id'],{'unitId':this['_base']['getUnitId'](),'table':_0x11111a,'index':_0x27feff}))throw Error(_0x3eeb70(0x193)+_0xe27439+'\x22.');return this[_0x3eeb70(0x17a)][_0x3eeb70(0x1f6)](J,this,_0x11111a['id'],this[_0x3eeb70(0x17a)]);}[_0x166382(0x171)](){const _0x2943e6=_0x166382;let _0x1f7602=this['_base'][_0x2943e6(0x1e1)]();return{'id':_0x1f7602['id'],'name':_0x1f7602[_0x2943e6(0x1d7)],'tables':this[_0x2943e6(0x196)]()['map'](_0x36f466=>_0x36f466[_0x2943e6(0x171)]())};}};Q=ye([Z(0x1,_0x165bb0(_0x5a7aee)),Z(0x2,_0x10705f)],Q);var be=class extends _0x91489c{[_0x166382(0x229)](){const _0x2a1394=_0x166382;this[_0x2a1394(0x208)](),this[_0x2a1394(0x198)]();}[_0x166382(0x153)](_0x696291={},_0xad997a){const _0x80736c=_0x166382;let _0xad92a=this[_0x80736c(0x17a)][_0x80736c(0x1c6)](_0x2d4867)['createUnit'](_0x7905cc[_0x80736c(0x1c0)],_0x696291,_0xad997a);return this['_injector'][_0x80736c(0x1f6)](Q,_0xad92a);}[_0x166382(0x1d9)](){const _0x16d2e1=_0x166382;let _0x23cb5b=this['_injector'][_0x16d2e1(0x1c6)](_0x2d4867)[_0x16d2e1(0x19b)](_0x7905cc['UNIVER_BASE']);return _0x23cb5b?this[_0x16d2e1(0x17a)][_0x16d2e1(0x1f6)](Q,_0x23cb5b):null;}[_0x166382(0x16b)](_0x2e4a9e){const _0x50e40f=_0x166382;let _0xb9c24e=this[_0x50e40f(0x17a)]['get'](_0x2d4867)[_0x50e40f(0x1cc)](_0x2e4a9e,_0x7905cc[_0x50e40f(0x1c0)]);return _0xb9c24e?this['_injector'][_0x50e40f(0x1f6)](Q,_0xb9c24e):null;}[_0x166382(0x21a)](){const _0x2ef7e6=_0x166382;return this[_0x2ef7e6(0x17a)][_0x2ef7e6(0x1c6)](_0x2d4867)[_0x2ef7e6(0x1bf)](_0x7905cc['UNIVER_BASE'])[_0x2ef7e6(0x172)](_0x52bee8=>this[_0x2ef7e6(0x17a)][_0x2ef7e6(0x1f6)](Q,_0x52bee8));}[_0x166382(0x198)](){const _0x2d2171=_0x166382;let _0x20c6f3=this[_0x2d2171(0x17a)][_0x2d2171(0x1c6)](_0x1f43ec);this['disposeWithMe'](this['registerEventHandler'](this[_0x2d2171(0x1b3)][_0x2d2171(0x1a5)],()=>_0x20c6f3[_0x2d2171(0x21b)](_0x556d98=>{const _0x114dc1=_0x2d2171;if(_0x556d98['id']!==_0x4ae76d['id'])return;let {unitId:_0x1ea8e6,table:_0x411b5c,index:_0x509d89}=_0x556d98[_0x114dc1(0x140)],_0x19e5fd=this[_0x114dc1(0x16b)](_0x1ea8e6);if(!_0x19e5fd)return;let _0x29efd8={'base':_0x19e5fd,'table':_0x411b5c,'index':_0x509d89};this[_0x114dc1(0x13c)](this['Event']['BaseTableCreated'],_0x29efd8);}))),this[_0x2d2171(0x1a9)](this['registerEventHandler'](this[_0x2d2171(0x1b3)][_0x2d2171(0x157)],()=>_0x20c6f3[_0x2d2171(0x21b)](_0x1babf4=>{const _0x39b0c8=_0x2d2171;if(_0x1babf4['id']!==_0x12c685['id'])return;let {unitId:_0x241cf7,tableId:_0x26f2fc,field:_0x3d5f4d,index:_0x3f71cd,viewIndexes:_0x247391}=_0x1babf4[_0x39b0c8(0x140)],_0x558b17=this[_0x39b0c8(0x16b)](_0x241cf7);if(!_0x558b17)return;let _0x2f2805=_0x558b17['getTableById'](_0x26f2fc);if(!_0x2f2805)return;let _0x2b5d84={'base':_0x558b17,'table':_0x2f2805,'field':_0x3d5f4d,'index':_0x3f71cd,'viewIndexes':_0x247391};this[_0x39b0c8(0x13c)](this[_0x39b0c8(0x1b3)][_0x39b0c8(0x157)],_0x2b5d84);}))),this[_0x2d2171(0x1a9)](this['registerEventHandler'](this[_0x2d2171(0x1b3)]['BaseTableRecordCreated'],()=>_0x20c6f3[_0x2d2171(0x21b)](_0x2aa9d9=>{const _0x57b880=_0x2d2171;var _0x2a0f6a;if(_0x2aa9d9['id']!==_0x5d2235['id']&&_0x2aa9d9['id']!==_0x328b9a['id'])return;let _0x2c3596=_0x2aa9d9[_0x57b880(0x140)],{unitId:_0x21bf74,tableId:_0x5b4c6d}=_0x2c3596,_0x539142=(_0x2a0f6a=_0x2c3596[_0x57b880(0x1dc)])==null?[_0x2c3596[_0x57b880(0x20d)]]:_0x2a0f6a,_0x3d2c58=this[_0x57b880(0x16b)](_0x21bf74);if(!_0x3d2c58)return;let _0x40ff74=_0x3d2c58[_0x57b880(0x1f7)](_0x5b4c6d);if(!_0x40ff74)return;let _0x52fc1e={'base':_0x3d2c58,'table':_0x40ff74,'records':_0x539142};this[_0x57b880(0x13c)](this[_0x57b880(0x1b3)][_0x57b880(0x19e)],_0x52fc1e);}))),this[_0x2d2171(0x1a9)](this[_0x2d2171(0x1cb)](this[_0x2d2171(0x1b3)][_0x2d2171(0x1d3)],()=>_0x20c6f3['onCommandExecuted'](_0x2fd9dc=>{const _0x27ecf7=_0x2d2171;if(_0x2fd9dc['id']!==_0x44a3b0['id'])return;let {unitId:_0x3a2ca5,tableId:_0x395dac,view:_0x4a1c00,index:_0x3f46d3}=_0x2fd9dc[_0x27ecf7(0x140)],_0x5cc447=this[_0x27ecf7(0x16b)](_0x3a2ca5);if(!_0x5cc447)return;let _0x1f0d0e=_0x5cc447[_0x27ecf7(0x1f7)](_0x395dac);if(!_0x1f0d0e)return;let _0x808c4b={'base':_0x5cc447,'table':_0x1f0d0e,'view':_0x4a1c00,'index':_0x3f46d3};this['fireEvent'](this[_0x27ecf7(0x1b3)][_0x27ecf7(0x1d3)],_0x808c4b);}))),this[_0x2d2171(0x1a9)](this['registerEventHandler'](this[_0x2d2171(0x1b3)][_0x2d2171(0x16e)],()=>_0x20c6f3[_0x2d2171(0x21b)](_0x26ad6e=>{const _0x518fdc=_0x2d2171;if(_0x26ad6e['id']!==_0x5946f1['id'])return;let {unitId:_0x5acad8,tableId:_0x51ad84,recordId:_0x59f6b2,fieldId:_0x579914,value:_0x839738}=_0x26ad6e[_0x518fdc(0x140)],_0x558e70=this[_0x518fdc(0x16b)](_0x5acad8);if(!_0x558e70)return;let _0x4368e1=_0x558e70[_0x518fdc(0x1f7)](_0x51ad84);if(!_0x4368e1)return;let _0x39ad40=_0x4368e1[_0x518fdc(0x1e6)](_0x579914);if(!_0x39ad40)return;let _0x5b3ee8=_0x4368e1['getRecordById'](_0x59f6b2);if(!_0x5b3ee8)return;let _0x34b702={'base':_0x558e70,'table':_0x4368e1,'field':_0x39ad40,'record':_0x5b3ee8,'value':_0x839738};this['fireEvent'](this['Event']['BaseTableCellValueChanged'],_0x34b702);})));}[_0x166382(0x208)](){const _0x3a94c3=_0x166382;let _0x18c452=this[_0x3a94c3(0x17a)][_0x3a94c3(0x1c6)](_0x1f43ec);this[_0x3a94c3(0x1a9)](this[_0x3a94c3(0x1cb)](this[_0x3a94c3(0x1b3)][_0x3a94c3(0x1d8)],()=>_0x18c452['beforeCommandExecuted'](_0x246b9b=>{const _0x48c169=_0x3a94c3;if(_0x246b9b['id']!==_0x4ae76d['id'])return;let {unitId:_0x45cb46,table:_0x3d1b4c,index:_0x22d45e}=_0x246b9b['params'],_0x26fd81=this[_0x48c169(0x16b)](_0x45cb46);if(!_0x26fd81)return;let _0x7a4619={'base':_0x26fd81,'table':_0x3d1b4c,'index':_0x22d45e};if(this['fireEvent'](this['Event']['BeforeBaseTableCreate'],_0x7a4619),_0x7a4619[_0x48c169(0x173)])throw new _0x1dc41b();}))),this['disposeWithMe'](this[_0x3a94c3(0x1cb)](this[_0x3a94c3(0x1b3)][_0x3a94c3(0x1fd)],()=>_0x18c452[_0x3a94c3(0x1e5)](_0x10a0c5=>{const _0x809d9=_0x3a94c3;if(_0x10a0c5['id']!==_0x12c685['id'])return;let {unitId:_0x151b01,tableId:_0xcd21f8,field:_0x3a6dc0,index:_0x5bbed1,viewIndexes:_0x2ea2d0}=_0x10a0c5['params'],_0xb1f38f=this[_0x809d9(0x16b)](_0x151b01);if(!_0xb1f38f)return;let _0x12a1bc=_0xb1f38f[_0x809d9(0x1f7)](_0xcd21f8);if(!_0x12a1bc)return;let _0x326e79={'base':_0xb1f38f,'table':_0x12a1bc,'field':_0x3a6dc0,'index':_0x5bbed1,'viewIndexes':_0x2ea2d0};if(this[_0x809d9(0x13c)](this[_0x809d9(0x1b3)][_0x809d9(0x1fd)],_0x326e79),_0x326e79[_0x809d9(0x173)])throw new _0x1dc41b();}))),this[_0x3a94c3(0x1a9)](this['registerEventHandler'](this[_0x3a94c3(0x1b3)][_0x3a94c3(0x158)],()=>_0x18c452[_0x3a94c3(0x1e5)](_0x4765c3=>{const _0x5aab2f=_0x3a94c3;var _0x16bf0a;if(_0x4765c3['id']!==_0x5d2235['id']&&_0x4765c3['id']!==_0x328b9a['id'])return;let _0x18eca6=_0x4765c3[_0x5aab2f(0x140)],{unitId:_0x750c8,tableId:_0x18066d}=_0x18eca6,_0x33af1b=(_0x16bf0a=_0x18eca6['records'])==null?[_0x18eca6[_0x5aab2f(0x20d)]]:_0x16bf0a,_0x2baa59=this[_0x5aab2f(0x16b)](_0x750c8);if(!_0x2baa59)return;let _0x205cf6=_0x2baa59[_0x5aab2f(0x1f7)](_0x18066d);if(!_0x205cf6)return;let _0x1c7d7c={'base':_0x2baa59,'table':_0x205cf6,'records':_0x33af1b};if(this[_0x5aab2f(0x13c)](this['Event'][_0x5aab2f(0x158)],_0x1c7d7c),_0x1c7d7c[_0x5aab2f(0x173)])throw new _0x1dc41b();}))),this[_0x3a94c3(0x1a9)](this[_0x3a94c3(0x1cb)](this[_0x3a94c3(0x1b3)][_0x3a94c3(0x15e)],()=>_0x18c452[_0x3a94c3(0x1e5)](_0x1921ba=>{const _0x56ba52=_0x3a94c3;if(_0x1921ba['id']!==_0x44a3b0['id'])return;let {unitId:_0x318948,tableId:_0x352d6a,view:_0xcdcbe0,index:_0x493627}=_0x1921ba[_0x56ba52(0x140)],_0x53856e=this[_0x56ba52(0x16b)](_0x318948);if(!_0x53856e)return;let _0x5114f2=_0x53856e[_0x56ba52(0x1f7)](_0x352d6a);if(!_0x5114f2)return;let _0x1caea3={'base':_0x53856e,'table':_0x5114f2,'view':_0xcdcbe0,'index':_0x493627};if(this[_0x56ba52(0x13c)](this[_0x56ba52(0x1b3)][_0x56ba52(0x15e)],_0x1caea3),_0x1caea3['cancel'])throw new _0x1dc41b();}))),this[_0x3a94c3(0x1a9)](this[_0x3a94c3(0x1cb)](this[_0x3a94c3(0x1b3)][_0x3a94c3(0x22e)],()=>_0x18c452[_0x3a94c3(0x1e5)](_0x1022b1=>{const _0x39fcf1=_0x3a94c3;if(_0x1022b1['id']!==_0x5946f1['id'])return;let {unitId:_0x184897,tableId:_0x2ab433,recordId:_0xe45cc0,fieldId:_0x5dc223,value:_0x1f9515}=_0x1022b1[_0x39fcf1(0x140)],_0x61a3df=this['getBase'](_0x184897);if(!_0x61a3df)return;let _0x40ffc9=_0x61a3df[_0x39fcf1(0x1f7)](_0x2ab433);if(!_0x40ffc9)return;let _0x4f1367=_0x40ffc9[_0x39fcf1(0x1e6)](_0x5dc223);if(!_0x4f1367)return;let _0x596585=_0x40ffc9['getRecordById'](_0xe45cc0);if(!_0x596585)return;let _0x418f7d={'base':_0x61a3df,'table':_0x40ffc9,'field':_0x4f1367,'record':_0x596585,'value':_0x1f9515};if(this['fireEvent'](this[_0x39fcf1(0x1b3)][_0x39fcf1(0x22e)],_0x418f7d),_0x418f7d['cancel'])throw new _0x1dc41b();})));}};_0x91489c['extend'](be);var xe=class extends _0x21fd9b{get[_0x166382(0x221)](){return _0x7a8503;}get[_0x166382(0x199)](){return _0x3015f0;}get[_0x166382(0x15d)](){return _0x279e7b;}get[_0x166382(0x227)](){return U;}get[_0x166382(0x216)](){return _0x4f3b2f;}get[_0x166382(0x18a)](){return _0x46203c;}};_0x21fd9b[_0x166382(0x18c)](xe);var $=class extends _0x1edd02{get[_0x166382(0x1a5)](){const _0x218ab8=_0x166382;return _0x218ab8(0x1a5);}get['BeforeBaseTableCreate'](){const _0xb2973b=_0x166382;return _0xb2973b(0x1d8);}get[_0x166382(0x157)](){const _0x1e5ce2=_0x166382;return _0x1e5ce2(0x157);}get[_0x166382(0x1fd)](){const _0x1e482c=_0x166382;return _0x1e482c(0x1fd);}get[_0x166382(0x19e)](){const _0x2060d3=_0x166382;return _0x2060d3(0x19e);}get[_0x166382(0x158)](){const _0x55988b=_0x166382;return _0x55988b(0x158);}get[_0x166382(0x1d3)](){const _0x7c4dd3=_0x166382;return _0x7c4dd3(0x1d3);}get[_0x166382(0x15e)](){const _0x337d1b=_0x166382;return _0x337d1b(0x15e);}get['BaseTableCellValueChanged'](){return'BaseTableCellValueChanged';}get[_0x166382(0x22e)](){return'BeforeBaseTableCellValueChange';}};_0x1edd02['extend']($);export{U as BaseFieldKeyEnum,Q as FBase,J as FBaseTable,V as FBaseTableField,H as FBaseTableRange,K as FBaseTableRecord,q as FBaseTableView,$ as FBasesEventNameMixin,G as resolveBaseFieldKey,W as resolveBaseFieldValues};
|
|
1
|
+
const _0x46a1c2=_0x5746;(function(_0x1534c8,_0x3226ec){const _0x3b6d9c=_0x5746,_0x21ac5e=_0x1534c8();while(!![]){try{const _0x39ce8e=parseInt(_0x3b6d9c(0x256))/0x1*(parseInt(_0x3b6d9c(0x240))/0x2)+parseInt(_0x3b6d9c(0x2ef))/0x3*(parseInt(_0x3b6d9c(0x2b4))/0x4)+-parseInt(_0x3b6d9c(0x1fc))/0x5*(parseInt(_0x3b6d9c(0x243))/0x6)+parseInt(_0x3b6d9c(0x1e9))/0x7*(parseInt(_0x3b6d9c(0x315))/0x8)+parseInt(_0x3b6d9c(0x207))/0x9+parseInt(_0x3b6d9c(0x237))/0xa*(-parseInt(_0x3b6d9c(0x217))/0xb)+-parseInt(_0x3b6d9c(0x281))/0xc*(parseInt(_0x3b6d9c(0x2f6))/0xd);if(_0x39ce8e===_0x3226ec)break;else _0x21ac5e['push'](_0x21ac5e['shift']());}catch(_0x5744a3){_0x21ac5e['push'](_0x21ac5e['shift']());}}}(_0x88d1,0x61381));import{ApplyBaseJson1Mutation as _0x4dadde,BASE_TABLE_NAME_REQUIREMENTS as _0x30ff66,BaseConditionalColorRuleUpdateType as _0x25f9f8,BaseEventSource as _0x198fc0,BaseHierarchyErrorCode as _0x1a3340,BatchCreateBaseRecordsCommand as _0x280e1e,BatchDeleteBaseRecordsCommand as _0xb3d33d,ChangeBaseFieldTypeCommand as _0x3d9d79,CreateBaseChildRecordCommand as _0x168ce8,CreateBaseFieldCommand as _0x15e597,CreateBaseRecordCommand as _0x44b407,CreateBaseTableCommand as _0x132b85,CreateBaseViewCommand as _0x58c95d,DeleteBaseFieldCommand as _0x22f2c6,DeleteBaseRecordCommand as _0x44f0bf,DeleteBaseTableCommand as _0x488c1f,DeleteBaseViewCommand as _0x13f67c,DuplicateBaseRecordCommand as _0x209820,IBaseProjectionService as _0x5db0b9,MoveBaseFieldCommand as _0x1d5397,MoveBaseHierarchyRecordCommand as _0x345dff,MoveBaseViewCommand as _0x3c52e4,RenameBaseTableCommand as _0x15e70d,RenameBaseViewCommand as _0xdf6fe9,SetBaseNameCommand as _0x1535e7,SetBaseRangeValuesCommand as _0x473f48,SetBaseRecordValuesCommand as _0x294f1c,SetBaseTableHierarchyFieldCommand as _0x10d0c8,SetBaseViewFieldOrderCommand as _0x3001eb,SetBaseViewFieldVisibleCommand as _0x171450,SetBaseViewFieldWidthCommand as _0x2a4787,SetBaseViewFilterCommand as _0x182d68,SetBaseViewGroupCommand as _0x398613,SetBaseViewSortCommand as _0x164ead,UpdateBaseCellCommand as _0x13c61e,UpdateBaseFieldCommand as _0x7c54b0,UpdateBaseRecordOrderCommand as _0x319f6b,UpdateBaseViewConditionalColorRulesCommand as _0x346c53,UpdateBaseViewConfigCommand as _0x1b5df4,ValidateBaseFormulaCommand as _0x59defd,buildBaseHierarchyIndex as _0x345aca,copyBaseTableSnapshot as _0xf70964,createUniqueBaseTableName as _0x286207,ensureBaseTableCellLayout as _0x580a6d,getActiveBaseHierarchyFieldIds as _0x303b25,getBaseCellValue as _0x41f49c,getBaseFormulaTableName as _0x499083,getBaseHierarchyDeletePromotions as _0x7c08d9,getRecordLinkFieldConfig as _0x15242e,matchesBaseCondition as _0xc3c013,parseRecordLinkIds as _0x855fa7,resolveBaseHierarchyFieldId as _0x312492,resolveBaseRangeHierarchyPatches as _0x3642d1,searchBaseTable as _0x2df9ac,serializeRecordLinkIds as _0x3d1f9e,validateBaseHierarchyRecordCreations as _0x346f38,validateBaseHierarchyRecordPatches as _0x1d70cc,validateBaseTableName as _0x545bdb,validateRecordLinkValue as _0x42ad7f}from'@univerjs-pro/bases';import{BASE_RECORD_ID_FIELD_ID as _0x56d8f8,BaseConditionalColorOperator as _0x1c1f9f,BaseConditionalColorTarget as _0x5702ac,BaseConditionalDateMode as _0x82456a,BaseFieldType as _0xafe9b1,BaseFilterConjunction as _0x1e5d95,BaseFilterOperator as _0xe85ca7,BaseHierarchyInvalidReason as _0x2df78f,BaseRecordLinkRole as _0x33c6e3,BaseSortDirection as _0xd1049e,BaseViewType as _0x477789,CanceledError as _0x23915c,ICommandService as _0x3ac0f5,IResourceLoaderService as _0x4f5173,ImageSourceType as _0x205617,Inject as _0xfc1d0a,Injector as _0x38a295,Tools as _0x125277,UniverInstanceType as _0x3e59a1,createDefaultBaseTableSnapshot as _0x3e2cae,generateRandomId as _0x5f0f93}from'@univerjs/core';import{FEnum as _0x2f3189,FEventName as _0x47ca81,FUniver as _0x17aaa4}from'@univerjs/core/facade';import{UpsertHostExternalReferencesCommand as _0x4e9cb6}from'@univerjs-pro/engine-formula';function R(_0xa511df,_0x247f85){return function(_0x1b6063,_0x1e4d3f){_0x247f85(_0x1b6063,_0x1e4d3f,_0xa511df);};}function z(_0x44e956,_0x57b971,_0x3515f5,_0x1a1ed5){const _0x256f83=_0x5746;var _0x14581b=arguments[_0x256f83(0x268)],_0x454122=_0x14581b<0x3?_0x57b971:_0x1a1ed5===null?_0x1a1ed5=Object[_0x256f83(0x1d7)](_0x57b971,_0x3515f5):_0x1a1ed5,_0x269e98;if(typeof Reflect=='object'&&typeof Reflect[_0x256f83(0x2be)]==_0x256f83(0x1ee))_0x454122=Reflect[_0x256f83(0x2be)](_0x44e956,_0x57b971,_0x3515f5,_0x1a1ed5);else{for(var _0x33d58c=_0x44e956[_0x256f83(0x268)]-0x1;_0x33d58c>=0x0;_0x33d58c--)(_0x269e98=_0x44e956[_0x33d58c])&&(_0x454122=(_0x14581b<0x3?_0x269e98(_0x454122):_0x14581b>0x3?_0x269e98(_0x57b971,_0x3515f5,_0x454122):_0x269e98(_0x57b971,_0x3515f5))||_0x454122);}return _0x14581b>0x3&&_0x454122&&Object[_0x256f83(0x2c1)](_0x57b971,_0x3515f5,_0x454122),_0x454122;}let B=class{constructor(_0x23e886,_0x1e043b,_0x200329,_0x439269){const _0x16d4bf=_0x5746;this[_0x16d4bf(0x1dc)]=_0x23e886,this[_0x16d4bf(0x329)]=_0x1e043b,this[_0x16d4bf(0x2c4)]=_0x200329,this['_commandService']=_0x439269;}['getId'](){const _0x507526=_0x5746;return this[_0x507526(0x2c4)];}[_0x46a1c2(0x28a)](){const _0x337013=_0x46a1c2;return this[_0x337013(0x324)]();}['getName'](){const _0x1d3138=_0x46a1c2;return this[_0x1d3138(0x324)]()['name'];}[_0x46a1c2(0x1fa)](){const _0x2e6b2e=_0x46a1c2;return this[_0x2e6b2e(0x324)]()[_0x2e6b2e(0x241)];}[_0x46a1c2(0x31d)](){const _0x3e512f=_0x46a1c2;return this['_getField']()[_0x3e512f(0x296)];}[_0x46a1c2(0x20f)](){const _0xda583a=_0x46a1c2;return this[_0xda583a(0x324)]()[_0xda583a(0x299)];}[_0x46a1c2(0x30a)](){const _0x1913af=_0x46a1c2;return this['_getField']()[_0x1913af(0x251)];}[_0x46a1c2(0x284)](){const _0x299be8=_0x46a1c2;return!!this[_0x299be8(0x324)]()['readonly'];}[_0x46a1c2(0x21f)](_0x16146a){const _0x674588=_0x46a1c2;return this[_0x674588(0x1ef)]({'name':_0x16146a});}[_0x46a1c2(0x2b0)](_0x3912bd,_0x23e7aa){const _0x276fc6=_0x46a1c2;return this[_0x276fc6(0x1ef)]({'config':_0x3912bd},_0x23e7aa);}[_0x46a1c2(0x2ea)](_0x4a6c7b){const _0xee4c7=_0x46a1c2;return this[_0xee4c7(0x1ef)]({'defaultValue':_0x4a6c7b});}[_0x46a1c2(0x1ef)](_0x1c5c56,_0x3c1b5a){const _0x181e0c=_0x46a1c2;let _0x3bf60e=this[_0x181e0c(0x324)]()[_0x181e0c(0x241)];return(_0x1c5c56[_0x181e0c(0x241)]??_0x3bf60e)===_0xafe9b1['Formula']&&(Object[_0x181e0c(0x238)][_0x181e0c(0x2f7)][_0x181e0c(0x1f8)](_0x1c5c56,'config')||_0x1c5c56[_0x181e0c(0x241)]===_0xafe9b1[_0x181e0c(0x2d4)])&&!this['_writeFormulaExternalReferences'](_0x3c1b5a)?!0x1:this[_0x181e0c(0x2e9)][_0x181e0c(0x2f2)](_0x7c54b0['id'],{'unitId':this[_0x181e0c(0x1dc)][_0x181e0c(0x28e)](),'tableId':this[_0x181e0c(0x329)][_0x181e0c(0x28e)](),'fieldId':this[_0x181e0c(0x2c4)],'patch':_0x1c5c56});}[_0x46a1c2(0x1f2)](_0x4aa05d,_0x1fd241={},_0x262e87){const _0x5f28fa=_0x46a1c2;return _0x4aa05d===_0xafe9b1[_0x5f28fa(0x2d4)]&&!this['_writeFormulaExternalReferences'](_0x262e87)?!0x1:this[_0x5f28fa(0x2e9)][_0x5f28fa(0x2f2)](_0x3d9d79['id'],{'unitId':this[_0x5f28fa(0x1dc)]['getId'](),'tableId':this[_0x5f28fa(0x329)][_0x5f28fa(0x28e)](),'fieldId':this[_0x5f28fa(0x2c4)],'input':{'type':_0x4aa05d,'config':_0x1fd241}});}[_0x46a1c2(0x229)](){const _0x5dfd41=_0x46a1c2;return this[_0x5dfd41(0x2e9)][_0x5dfd41(0x2f2)](_0x22f2c6['id'],{'unitId':this[_0x5dfd41(0x1dc)][_0x5dfd41(0x28e)](),'tableId':this[_0x5dfd41(0x329)][_0x5dfd41(0x28e)](),'fieldId':this[_0x5dfd41(0x2c4)]});}['move'](_0x5a9e2e){const _0x3665e3=_0x46a1c2;return this['_commandService'][_0x3665e3(0x2f2)](_0x1d5397['id'],{'unitId':this['_base'][_0x3665e3(0x28e)](),'tableId':this[_0x3665e3(0x329)][_0x3665e3(0x28e)](),'fieldId':this[_0x3665e3(0x2c4)],'target':_0x5a9e2e});}[_0x46a1c2(0x324)](){const _0x38f6b8=_0x46a1c2;let _0x56447d=this[_0x38f6b8(0x329)][_0x38f6b8(0x310)]()['fields'][this[_0x38f6b8(0x2c4)]];if(!_0x56447d)throw Error(_0x38f6b8(0x1e3)+this['_fieldId']+'\x22\x20does\x20not\x20exist.');return _0x56447d;}[_0x46a1c2(0x325)](_0x1b7460){const _0xce34a2=_0x46a1c2;if(!_0x1b7460||!Array[_0xce34a2(0x2db)](_0x1b7460[_0xce34a2(0x1e6)]))return console[_0xce34a2(0x23d)](_0xce34a2(0x257)),!0x1;if(_0x1b7460[_0xce34a2(0x1e6)][_0xce34a2(0x268)]===0x0)return!0x0;let _0x3f8422=this[_0xce34a2(0x2e9)][_0xce34a2(0x2f2)](_0x4e9cb6['id'],{'unitId':this[_0xce34a2(0x1dc)][_0xce34a2(0x28e)](),'references':_0x1b7460[_0xce34a2(0x1e6)]});return _0x3f8422||console[_0xce34a2(0x23d)](_0xce34a2(0x2e1)),_0x3f8422;}};B=z([R(0x3,_0x3ac0f5)],B);let Ke=function(_0x36bcb2){const _0x4b41f9=_0x46a1c2;return _0x36bcb2['Id']='id',_0x36bcb2[_0x4b41f9(0x255)]='name',_0x36bcb2[_0x4b41f9(0x2b3)]=_0x4b41f9(0x2c2),_0x36bcb2;}({});function V(_0x25d07a){const _0x5065d7=_0x46a1c2;return!!(_0x25d07a&&_0x25d07a[_0x5065d7(0x2fa)]!==!0x0&&_0x25d07a[_0x5065d7(0x241)]!==_0xafe9b1['RecordId']);}function H(_0x51fdef,_0x293246,_0x578a98='id'){const _0x341409=_0x46a1c2;if(!_0x293246)return{};let _0x134af0={};return Object[_0x341409(0x2ff)](_0x293246)[_0x341409(0x2cb)](([_0x466f0a,_0x5432f2])=>{const _0x5e1a14=_0x341409;let _0x4fb2aa=Je(_0x51fdef,_0x466f0a,_0x578a98);_0x134af0[_0x4fb2aa]=qe(_0x51fdef[_0x5e1a14(0x2b9)][_0x4fb2aa],_0x5432f2);}),_0x134af0;}function qe(_0x5e007c,_0x194c19){const _0x4269f2=_0x46a1c2;if((_0x5e007c==null?void 0x0:_0x5e007c['type'])!==_0xafe9b1[_0x4269f2(0x298)]||_0x194c19==null)return _0x194c19;if(!Array[_0x4269f2(0x2db)](_0x194c19))throw TypeError(_0x4269f2(0x227)+_0x5e007c['name']+'\x22:\x20expected\x20an\x20array.');return _0x194c19[_0x4269f2(0x232)]((_0x584aff,_0x3a661e)=>Ye(_0x5e007c,_0x584aff,_0x3a661e));}function Je(_0x1a96fd,_0x1ef60f,_0x20bc11){const _0x3bdc51=_0x46a1c2;if(_0x20bc11==='id'||_0x20bc11===_0x3bdc51(0x2c2)&&_0x1a96fd[_0x3bdc51(0x2b9)][_0x1ef60f])return _0x1ef60f;let _0x4af4cd=Object['values'](_0x1a96fd[_0x3bdc51(0x2b9)])[_0x3bdc51(0x252)](_0x485445=>_0x485445[_0x3bdc51(0x2aa)]===_0x1ef60f);if(_0x4af4cd[_0x3bdc51(0x268)]===0x1)return _0x4af4cd[0x0]['id'];throw _0x4af4cd[_0x3bdc51(0x268)]>0x1?Error(_0x3bdc51(0x239)+_0x1ef60f):Error(_0x3bdc51(0x2d1)+_0x1ef60f);}function Ye(_0x31453b,_0x1d18a8,_0x1cf8ff){const _0x23f161=_0x46a1c2;let _0x27a4df=_0x23f161(0x1db)+_0x1cf8ff+_0x23f161(0x2a8)+_0x31453b['name']+'\x22';if(!Qe(_0x1d18a8))throw TypeError(_0x27a4df+':\x20expected\x20an\x20object.');if('url'in _0x1d18a8)throw TypeError(_0x27a4df+_0x23f161(0x2fe));if('type'in _0x1d18a8)throw TypeError(_0x27a4df+_0x23f161(0x316));let _0x5ce7bf=U(_0x1d18a8['id'],_0x27a4df,'id'),_0x18cc44=U(_0x1d18a8[_0x23f161(0x2aa)],_0x27a4df,'name'),_0x13ca82=U(_0x1d18a8[_0x23f161(0x277)],_0x27a4df,_0x23f161(0x277));return{'id':_0x5ce7bf,'name':_0x18cc44,'source':_0x13ca82,'sourceType':Xe(_0x1d18a8[_0x23f161(0x20a)],_0x13ca82,_0x27a4df),...Ze(_0x1d18a8,_0x23f161(0x228),_0x27a4df),...W(_0x1d18a8,_0x23f161(0x300),_0x27a4df),...W(_0x1d18a8,'width',_0x27a4df),...W(_0x1d18a8,_0x23f161(0x1fe),_0x27a4df),...Ze(_0x1d18a8,_0x23f161(0x221),_0x27a4df)};}function Xe(_0x47f607,_0xd490cc,_0x37cf68){const _0x44b10a=_0x46a1c2;if(_0x47f607==null)return _0xd490cc['startsWith'](_0x44b10a(0x276))?_0x205617[_0x44b10a(0x2c8)]:_0x205617[_0x44b10a(0x253)];if(_0x47f607===_0x205617[_0x44b10a(0x253)]||_0x47f607===_0x205617['UUID']||_0x47f607===_0x205617['BASE64'])return _0x47f607;throw TypeError(_0x37cf68+':\x20\x22sourceType\x22\x20must\x20be\x20URL,\x20UUID,\x20or\x20BASE64.');}function U(_0x3a7c1b,_0x3ddc1e,_0x4d73a1){const _0x5cffb0=_0x46a1c2;if(typeof _0x3a7c1b!=_0x5cffb0(0x2f3)||!_0x3a7c1b[_0x5cffb0(0x2a7)]())throw TypeError(_0x3ddc1e+_0x5cffb0(0x21d)+_0x4d73a1+'\x22\x20must\x20be\x20a\x20non-empty\x20string.');return _0x3a7c1b;}function Ze(_0x4b3a30,_0xf0520b,_0x21d8e9){const _0x4771ee=_0x46a1c2;let _0x367f11=_0x4b3a30[_0xf0520b];if(_0x367f11==null)return{};if(typeof _0x367f11!=_0x4771ee(0x2f3)||!_0x367f11[_0x4771ee(0x2a7)]())throw TypeError(_0x21d8e9+':\x20\x22'+_0xf0520b+_0x4771ee(0x288));return{[_0xf0520b]:_0x367f11};}function W(_0x37b9f2,_0x4638f4,_0x290834){const _0x2cf62a=_0x46a1c2;let _0x29a946=_0x37b9f2[_0x4638f4];if(_0x29a946==null)return{};if(typeof _0x29a946!='number'||!Number['isFinite'](_0x29a946)||_0x29a946<0x0)throw TypeError(_0x290834+_0x2cf62a(0x21d)+_0x4638f4+_0x2cf62a(0x1de));return{[_0x4638f4]:_0x29a946};}function Qe(_0x337e9d){const _0x4bd7c1=_0x46a1c2;return typeof _0x337e9d==_0x4bd7c1(0x2c9)&&!!_0x337e9d&&!Array['isArray'](_0x337e9d);}var G;let K=G=class{constructor(_0x533c79,_0x5d78ad,_0x752836,_0x53810c,_0xae2af6){const _0x521df5=_0x46a1c2;this['_base']=_0x533c79,this[_0x521df5(0x329)]=_0x5d78ad,this[_0x521df5(0x1d8)]=_0x752836,this[_0x521df5(0x2ce)]=_0x53810c,this['_commandService']=_0xae2af6,this['_assertInBounds']();}[_0x46a1c2(0x205)](){const _0x1d9582=_0x46a1c2;return this['_base'][_0x1d9582(0x28e)]();}[_0x46a1c2(0x263)](){const _0x4582bd=_0x46a1c2;return this['_table'][_0x4582bd(0x28e)]();}[_0x46a1c2(0x220)](){const _0x50c384=_0x46a1c2;return{...this[_0x50c384(0x1d8)]};}[_0x46a1c2(0x2cd)](){const _0x255af4=_0x46a1c2;return this[_0x255af4(0x1d8)][_0x255af4(0x2b6)];}[_0x46a1c2(0x25c)](){const _0x4c2abe=_0x46a1c2;return this['_range'][_0x4c2abe(0x2b1)];}[_0x46a1c2(0x23a)](){const _0x8b10c1=_0x46a1c2;return this[_0x8b10c1(0x1d8)]['endRow']-this[_0x8b10c1(0x1d8)]['startRow']+0x1;}[_0x46a1c2(0x2df)](){const _0x55029b=_0x46a1c2;return this[_0x55029b(0x1d8)]['endColumn']-this['_range'][_0x55029b(0x2b1)]+0x1;}[_0x46a1c2(0x264)](){const _0xeb3fea=_0x46a1c2;let _0x5aa3b0=this['_getTable'](),_0x350151=this[_0xeb3fea(0x2ab)](_0x5aa3b0),_0x2e9169=[];for(let _0x5ab8cc=this['_range']['startRow'];_0x5ab8cc<=this[_0xeb3fea(0x1d8)][_0xeb3fea(0x289)];_0x5ab8cc++){var _0x322482;let _0x399ae7=(_0x322482=_0x5aa3b0['rowId'])==null?void 0x0:_0x322482[_0x5ab8cc],_0x59ea2f=[];for(let _0x792cc5=this[_0xeb3fea(0x1d8)][_0xeb3fea(0x2b1)];_0x792cc5<=this[_0xeb3fea(0x1d8)]['endColumn'];_0x792cc5++){let _0x5589bd=_0x350151[_0x792cc5];_0x59ea2f[_0xeb3fea(0x2c5)](_0x399ae7&&_0x5589bd?_0x41f49c(_0x5aa3b0,_0x399ae7,_0x5589bd):null);}_0x2e9169[_0xeb3fea(0x2c5)](_0x59ea2f);}return _0x2e9169;}['getValue'](){const _0x5aebac=_0x46a1c2;var _0x4e4f58;return((_0x4e4f58=this[_0x5aebac(0x264)]()[0x0])==null?void 0x0:_0x4e4f58[0x0])??null;}[_0x46a1c2(0x200)](_0x30fd20){const _0x4a0c0d=_0x46a1c2;return this[_0x4a0c0d(0x1f4)]([[_0x30fd20]]);}[_0x46a1c2(0x1f4)](_0x55dc63){const _0x27e523=_0x46a1c2;let _0x1441ec=this[_0x27e523(0x23a)](),_0x200ecd=this[_0x27e523(0x2df)]();if(_0x55dc63[_0x27e523(0x268)]>_0x1441ec||_0x55dc63['some'](_0x2c0e79=>_0x2c0e79[_0x27e523(0x268)]>_0x200ecd)){var _0x5e2cf6;throw Error('[FBaseRange]:\x20values\x20size\x20'+_0x55dc63['length']+'x'+(((_0x5e2cf6=_0x55dc63[0x0])==null?void 0x0:_0x5e2cf6['length'])??0x0)+_0x27e523(0x1e0)+_0x1441ec+'x'+_0x200ecd+'.');}let _0x1608d1=this['_getTable'](),_0x941ea3=this[_0x27e523(0x2ab)](_0x1608d1),_0x363c31=_0x55dc63['flatMap']((_0x4e7488,_0x469281)=>_0x4e7488['map']((_0x18aa5d,_0x4b4f22)=>{const _0x204cbe=_0x27e523;var _0x552abf;let _0x5c7266=this[_0x204cbe(0x1d8)]['startRow']+_0x469281,_0x12dcc7=_0x941ea3[this['_range'][_0x204cbe(0x2b1)]+_0x4b4f22],_0x3f4780=(_0x552abf=_0x1608d1[_0x204cbe(0x21b)])==null?void 0x0:_0x552abf[_0x5c7266];if(!_0x12dcc7||!_0x3f4780)throw Error('[FBaseRange]:\x20cannot\x20resolve\x20the\x20public\x20Base\x20range\x20address.');return{'recordId':_0x3f4780,'fieldId':_0x12dcc7,'value':_0x18aa5d};}));return this['_commandService'][_0x27e523(0x2f2)](_0x473f48['id'],{'unitId':this[_0x27e523(0x1dc)][_0x27e523(0x28e)](),'tableId':this[_0x27e523(0x329)][_0x27e523(0x28e)](),'patches':_0x363c31,'source':_0x198fc0[_0x27e523(0x31b)]});}[_0x46a1c2(0x27b)](){const _0x47b80b=_0x46a1c2;return this[_0x47b80b(0x1f4)](Array['from']({'length':this[_0x47b80b(0x23a)]()},()=>Array[_0x47b80b(0x29e)]({'length':this['getNumColumns']()},()=>null)));}[_0x46a1c2(0x2d6)](_0x1d937a,_0x5cffa4,_0x27c032=this['getNumRows'](),_0x513a3d=this['getNumColumns']()){const _0x47d0aa=_0x46a1c2;return this[_0x47d0aa(0x2ce)][_0x47d0aa(0x1f3)](G,this[_0x47d0aa(0x1dc)],this['_table'],{'startRow':this['_range'][_0x47d0aa(0x2b6)]+_0x1d937a,'startColumn':this[_0x47d0aa(0x1d8)][_0x47d0aa(0x2b1)]+_0x5cffa4,'endRow':this[_0x47d0aa(0x1d8)][_0x47d0aa(0x2b6)]+_0x1d937a+_0x27c032-0x1,'endColumn':this['_range'][_0x47d0aa(0x2b1)]+_0x5cffa4+_0x513a3d-0x1},this[_0x47d0aa(0x2ce)]);}[_0x46a1c2(0x2bb)](){const _0x4812f6=_0x46a1c2;let _0x4edbdc=this[_0x4812f6(0x329)][_0x4812f6(0x310)]();if(!_0x4edbdc)throw Error(_0x4812f6(0x242));return _0x580a6d(_0x4edbdc);}['_assertInBounds'](){const _0x4c04fc=_0x46a1c2;var _0x224d55;let _0x446024=this[_0x4c04fc(0x2bb)](),_0x25c5ff=((_0x224d55=_0x446024[_0x4c04fc(0x213)])==null?void 0x0:_0x224d55[_0x4c04fc(0x268)])??0x0,_0x3500df=this[_0x4c04fc(0x2ab)](_0x446024)['length'];if(this[_0x4c04fc(0x1d8)][_0x4c04fc(0x2b6)]<0x0||this[_0x4c04fc(0x1d8)][_0x4c04fc(0x2b1)]<0x0||this[_0x4c04fc(0x1d8)][_0x4c04fc(0x289)]<this[_0x4c04fc(0x1d8)][_0x4c04fc(0x2b6)]||this['_range'][_0x4c04fc(0x22b)]<this[_0x4c04fc(0x1d8)]['startColumn']||this['_range'][_0x4c04fc(0x289)]>=Math[_0x4c04fc(0x31f)](_0x25c5ff,0x1)||this[_0x4c04fc(0x1d8)]['endColumn']>=Math[_0x4c04fc(0x31f)](_0x3500df,0x1))throw Error(_0x4c04fc(0x29a)+_0x25c5ff+_0x4c04fc(0x222)+_0x3500df+_0x4c04fc(0x28f)+JSON[_0x4c04fc(0x303)](this['_range'])+'.');}[_0x46a1c2(0x2ab)](_0x5870c5){const _0x1a59a9=_0x46a1c2;return _0x5870c5[_0x1a59a9(0x249)][_0x1a59a9(0x252)](_0x358799=>V(_0x5870c5[_0x1a59a9(0x2b9)][_0x358799]));}};K=G=z([R(0x4,_0x3ac0f5)],K);var q;let J=q=class{constructor(_0x5c6460,_0x35b829,_0x4596b7,_0x3baa20,_0x2f330e){const _0x31ae15=_0x46a1c2;this[_0x31ae15(0x1dc)]=_0x5c6460,this[_0x31ae15(0x329)]=_0x35b829,this['_recordId']=_0x4596b7,this[_0x31ae15(0x2ce)]=_0x3baa20,this[_0x31ae15(0x2e9)]=_0x2f330e;}[_0x46a1c2(0x28e)](){const _0x1f1f43=_0x46a1c2;return this[_0x1f1f43(0x30e)];}[_0x46a1c2(0x202)](){const _0x37cda4=_0x46a1c2;return{...this[_0x37cda4(0x225)](),'values':this[_0x37cda4(0x264)]()};}['getValue'](_0x4631a0){const _0x1a890b=_0x46a1c2;return V(this[_0x1a890b(0x329)]['getTable']()[_0x1a890b(0x2b9)][_0x4631a0])?this[_0x1a890b(0x225)]()['values'][_0x4631a0]??null:null;}[_0x46a1c2(0x264)](){const _0x102541=_0x46a1c2;let _0x570fff=this[_0x102541(0x329)]['getTable']();return Object['fromEntries'](Object[_0x102541(0x2ff)](this[_0x102541(0x225)]()[_0x102541(0x326)])[_0x102541(0x252)](([_0x15961d])=>V(_0x570fff['fields'][_0x15961d])));}[_0x46a1c2(0x200)](_0x196b2a,_0x677c40){const _0x4b0375=_0x46a1c2;let _0x367eca=this[_0x4b0375(0x329)]['getTable']()['fields'][_0x196b2a];return this[_0x4b0375(0x2e9)][_0x4b0375(0x2f2)](_0x13c61e['id'],{'unitId':this[_0x4b0375(0x1dc)][_0x4b0375(0x28e)](),'tableId':this[_0x4b0375(0x329)][_0x4b0375(0x28e)](),'recordId':this['_recordId'],'fieldId':_0x196b2a,'value':qe(_0x367eca,_0x677c40),'source':_0x198fc0[_0x4b0375(0x31b)]});}[_0x46a1c2(0x266)](_0x6a9e83,_0xaf7bdc){const _0x1306bf=_0x46a1c2;return this[_0x1306bf(0x200)](_0x6a9e83,_0xaf7bdc[_0x1306bf(0x232)](_0x2881f4=>({..._0x2881f4})));}[_0x46a1c2(0x1f4)](_0xd4cad1,_0x1c4cc2='id'){const _0x2a39cd=_0x46a1c2;let _0x51921a=this[_0x2a39cd(0x329)][_0x2a39cd(0x310)](),_0x51e7c3=[{'recordId':this[_0x2a39cd(0x30e)],'values':H(_0x51921a,_0xd4cad1,_0x1c4cc2)}];return this[_0x2a39cd(0x2e9)][_0x2a39cd(0x2f2)](_0x294f1c['id'],{'unitId':this[_0x2a39cd(0x1dc)][_0x2a39cd(0x28e)](),'tableId':this[_0x2a39cd(0x329)][_0x2a39cd(0x28e)](),'patches':_0x51e7c3,'source':_0x198fc0[_0x2a39cd(0x31b)]});}[_0x46a1c2(0x229)](){const _0x1c4c3=_0x46a1c2;return this['_commandService'][_0x1c4c3(0x2f2)](_0x44f0bf['id'],{'unitId':this['_base']['getId'](),'tableId':this['_table']['getId'](),'recordId':this[_0x1c4c3(0x30e)],'source':_0x198fc0[_0x1c4c3(0x31b)]});}[_0x46a1c2(0x25d)](_0xf7018b){const _0x302805=_0x46a1c2;let _0x5bf770={...this[_0x302805(0x225)](),..._0xf7018b,'id':_0x5f0f93(0x6)};_0x5bf770[_0x302805(0x326)]={..._0x5bf770[_0x302805(0x326)],..._0xf7018b==null?void 0x0:_0xf7018b['values']},Reflect[_0x302805(0x20b)](_0x5bf770[_0x302805(0x326)],_0x56d8f8);let _0xe3b655=Date[_0x302805(0x204)]();if(_0x5bf770['orderKey']||=''+_0xe3b655,_0x5bf770['createdAt']||=_0xe3b655,_0x5bf770[_0x302805(0x27a)]||=_0xe3b655,!this[_0x302805(0x2e9)][_0x302805(0x2f2)](_0x209820['id'],{'unitId':this['_base'][_0x302805(0x28e)](),'tableId':this['_table'][_0x302805(0x28e)](),'sourceRecordId':this[_0x302805(0x30e)],'record':_0x5bf770,'source':_0x198fc0['Facade']}))throw Error(_0x302805(0x2ae)+this[_0x302805(0x30e)]+'\x22.');return this[_0x302805(0x2ce)]['createInstance'](q,this[_0x302805(0x1dc)],this[_0x302805(0x329)],_0x5bf770['id'],this[_0x302805(0x2ce)]);}[_0x46a1c2(0x236)](_0x22f690){const _0x4bb0d7=_0x46a1c2;return this[_0x4bb0d7(0x2e9)][_0x4bb0d7(0x2f2)](_0x319f6b['id'],{'unitId':this[_0x4bb0d7(0x1dc)][_0x4bb0d7(0x28e)](),'tableId':this[_0x4bb0d7(0x329)]['getId'](),'recordId':this[_0x4bb0d7(0x30e)],'orderKey':_0x22f690});}[_0x46a1c2(0x2d7)](_0xcbc498){const _0x2f3d50=_0x46a1c2;let _0x6d521e=this[_0x2f3d50(0x30c)](_0xcbc498);return _0x855fa7(this[_0x2f3d50(0x27d)](_0x6d521e['id']));}[_0x46a1c2(0x1e4)](_0xed2418,_0x118267){const _0x266e7d=_0x46a1c2;let _0x4ace35=this[_0x266e7d(0x30c)](_0xed2418),_0x357c0f=_0x3d1f9e(_0x118267),_0x142e90=_0x42ad7f(this[_0x266e7d(0x1dc)][_0x266e7d(0x245)]()['getSnapshot'](),_0x4ace35,_0x357c0f);if(!_0x142e90[_0x266e7d(0x2dc)])throw Error(_0x142e90[_0x266e7d(0x273)]??'[FRecord]:\x20invalid\x20RecordLink\x20value.');return this['_commandService'][_0x266e7d(0x2f2)](_0x13c61e['id'],{'unitId':this['_base'][_0x266e7d(0x28e)](),'tableId':this[_0x266e7d(0x329)][_0x266e7d(0x28e)](),'recordId':this[_0x266e7d(0x30e)],'fieldId':_0xed2418,'value':_0x357c0f,'source':_0x198fc0[_0x266e7d(0x31b)]});}[_0x46a1c2(0x218)](_0x2e78de,_0xf8c765){const _0x58d613=_0x46a1c2;let _0x158e47=_0x15242e(this['_getRecordLinkField'](_0x2e78de));if(!_0x158e47)throw Error(_0x58d613(0x274)+_0x2e78de+'\x22\x20has\x20invalid\x20config.');let _0x846797=this[_0x58d613(0x2d7)](_0x2e78de);return _0x158e47[_0x58d613(0x22e)]&&_0x846797['includes'](_0xf8c765)?!0x0:this[_0x58d613(0x1e4)](_0x2e78de,_0x158e47[_0x58d613(0x22e)]?[..._0x846797,_0xf8c765]:[_0xf8c765]);}[_0x46a1c2(0x2e0)](_0x7adfe0,_0x2b5094){const _0x324899=_0x46a1c2;let _0x12b98d=this['getLinkedRecordIds'](_0x7adfe0);return!_0x12b98d[_0x324899(0x25a)](_0x2b5094)||this[_0x324899(0x1e4)](_0x7adfe0,_0x12b98d[_0x324899(0x252)](_0x242675=>_0x242675!==_0x2b5094));}[_0x46a1c2(0x272)](_0x286e39){const _0x16202f=_0x46a1c2;let _0x583f78=this[_0x16202f(0x24c)](_0x286e39)[_0x16202f(0x201)]['get'](this[_0x16202f(0x30e)])??null;return _0x583f78?this[_0x16202f(0x329)]['getRecordById'](_0x583f78):null;}[_0x46a1c2(0x327)](_0x1f1187){const _0x54cb77=_0x46a1c2;return(this[_0x54cb77(0x24c)](_0x1f1187)[_0x54cb77(0x291)]['get'](this[_0x54cb77(0x30e)])??[])[_0x54cb77(0x23e)](_0x26fad1=>{const _0x2d938f=_0x54cb77;let _0x3a7014=this[_0x2d938f(0x329)][_0x2d938f(0x320)](_0x26fad1);return _0x3a7014?[_0x3a7014]:[];});}[_0x46a1c2(0x24f)](_0x53bfe1){const _0x35324b=_0x46a1c2;let _0x1a1e30=this['_getHierarchyIndex'](_0x53bfe1),_0x37169e=[],_0x2ac6fa=_0x1a1e30[_0x35324b(0x201)]['get'](this[_0x35324b(0x30e)])??null;for(;_0x2ac6fa;){let _0x3bab0d=this['_table'][_0x35324b(0x320)](_0x2ac6fa);_0x3bab0d&&_0x37169e[_0x35324b(0x2c5)](_0x3bab0d),_0x2ac6fa=_0x1a1e30[_0x35324b(0x201)][_0x35324b(0x307)](_0x2ac6fa)??null;}return _0x37169e;}[_0x46a1c2(0x2fd)](_0x4ea204){const _0x4d4e7f=_0x46a1c2;let _0x5ddd96=this[_0x4d4e7f(0x24c)](_0x4ea204),_0x1a5c74=_0x5ddd96['orderedRecordIds'][_0x4d4e7f(0x1f0)](this[_0x4d4e7f(0x30e)]),_0x34698b=_0x5ddd96['subtreeHeightByRecordId'][_0x4d4e7f(0x2e6)](this['_recordId'])?this['_collectDescendantIds'](_0x5ddd96[_0x4d4e7f(0x291)],this['_recordId']):[];return _0x1a5c74<0x0?[]:_0x34698b[_0x4d4e7f(0x23e)](_0x3cdd31=>{const _0x59918f=_0x4d4e7f;let _0x2a3a15=this[_0x59918f(0x329)][_0x59918f(0x320)](_0x3cdd31);return _0x2a3a15?[_0x2a3a15]:[];});}['setParent'](_0x55a078,_0x4c68ad,_0x34b6cc){const _0x1a2e63=_0x46a1c2;return this[_0x1a2e63(0x2e9)][_0x1a2e63(0x2f2)](_0x345dff['id'],{'unitId':this['_base']['getId'](),'tableId':this['_table']['getId'](),'fieldId':_0x55a078,'recordId':this[_0x1a2e63(0x30e)],'parentRecordId':_0x4c68ad,'orderKey':_0x34b6cc,'source':_0x198fc0[_0x1a2e63(0x31b)]});}[_0x46a1c2(0x30f)](_0x540b6c,_0xeac821,_0x7ba61d='id',_0x4b401c){const _0x198135=_0x46a1c2;let _0x2131b6=this[_0x198135(0x329)][_0x198135(0x310)](),_0x13dd06=Date[_0x198135(0x204)](),_0x4d4589={..._0x4b401c,'id':_0x5f0f93(0x6),'values':H(_0x2131b6,_0xeac821,_0x7ba61d),'orderKey':(_0x4b401c==null?void 0x0:_0x4b401c[_0x198135(0x1e8)])||''+_0x13dd06,'createdAt':(_0x4b401c==null?void 0x0:_0x4b401c['createdAt'])||_0x13dd06,'updatedAt':(_0x4b401c==null?void 0x0:_0x4b401c[_0x198135(0x27a)])||_0x13dd06};if(!this[_0x198135(0x2e9)][_0x198135(0x2f2)](_0x168ce8['id'],{'unitId':this[_0x198135(0x1dc)][_0x198135(0x28e)](),'tableId':this[_0x198135(0x329)]['getId'](),'fieldId':_0x540b6c,'parentRecordId':this[_0x198135(0x30e)],'record':_0x4d4589,'source':_0x198fc0[_0x198135(0x31b)]}))throw Error(_0x198135(0x22f)+this[_0x198135(0x30e)]+'\x22.');return this[_0x198135(0x2ce)][_0x198135(0x1f3)](q,this[_0x198135(0x1dc)],this[_0x198135(0x329)],_0x4d4589['id'],this[_0x198135(0x2ce)]);}[_0x46a1c2(0x24c)](_0x1f1d5d){return _0x345aca(this['_table']['getTable'](),_0x1f1d5d);}[_0x46a1c2(0x224)](_0x1773b7,_0x373e7f){let _0x549ee3=[],_0x3d483a=_0x1106bd=>{const _0x5e359b=_0x5746;for(let _0x12eaff of _0x1773b7[_0x5e359b(0x307)](_0x1106bd)??[])_0x549ee3[_0x5e359b(0x2c5)](_0x12eaff),_0x3d483a(_0x12eaff);};return _0x3d483a(_0x373e7f),_0x549ee3;}['_getRecord'](){const _0x18d1f4=_0x46a1c2;let _0x3db174=this[_0x18d1f4(0x329)][_0x18d1f4(0x310)]()[_0x18d1f4(0x302)][this[_0x18d1f4(0x30e)]];if(!_0x3db174)throw Error(_0x18d1f4(0x269)+this['_recordId']+_0x18d1f4(0x2c3));return _0x3db174;}[_0x46a1c2(0x30c)](_0x369a51){const _0x58d71d=_0x46a1c2;let _0x864f72=this[_0x58d71d(0x329)][_0x58d71d(0x310)]()[_0x58d71d(0x2b9)][_0x369a51];if(!_0x864f72||_0x864f72[_0x58d71d(0x241)]!==_0xafe9b1[_0x58d71d(0x2cc)])throw Error(_0x58d71d(0x2c6)+_0x369a51+_0x58d71d(0x21a));return _0x864f72;}};J=q=z([R(0x4,_0x3ac0f5)],J);let Y=class{constructor(_0x356cd1,_0x225251,_0x4ea1ef,_0x331bdd,_0x1524e6,_0xe8490e){const _0x5b49fa=_0x46a1c2;this[_0x5b49fa(0x1dc)]=_0x356cd1,this['_table']=_0x225251,this['_viewId']=_0x4ea1ef,this['_injector']=_0x331bdd,this[_0x5b49fa(0x2e9)]=_0x1524e6,this[_0x5b49fa(0x25e)]=_0xe8490e;}['getId'](){const _0x1df3b1=_0x46a1c2;return this[_0x1df3b1(0x267)];}[_0x46a1c2(0x2fc)](){const _0x4ec6e6=_0x46a1c2;return this[_0x4ec6e6(0x2a9)]();}['getName'](){const _0x17eae9=_0x46a1c2;return this[_0x17eae9(0x2a9)]()[_0x17eae9(0x2aa)];}['getType'](){const _0x51ae92=_0x46a1c2;return this[_0x51ae92(0x2a9)]()[_0x51ae92(0x241)];}['setName'](_0xb7ef3e){const _0x553ad9=_0x46a1c2;return this[_0x553ad9(0x2e9)][_0x553ad9(0x2f2)](_0xdf6fe9['id'],{'unitId':this[_0x553ad9(0x1dc)][_0x553ad9(0x28e)](),'tableId':this[_0x553ad9(0x329)]['getId'](),'viewId':this[_0x553ad9(0x267)],'name':_0xb7ef3e});}[_0x46a1c2(0x31d)](){const _0x32c855=_0x46a1c2;let _0x3e567d=this[_0x32c855(0x1fa)](),_0xb19de8=this['_getView']()[_0x32c855(0x296)];switch(_0x3e567d){case _0x477789[_0x32c855(0x1fd)]:return _0xb19de8;case _0x477789[_0x32c855(0x31a)]:return _0xb19de8;case _0x477789[_0x32c855(0x25f)]:return _0xb19de8;case _0x477789[_0x32c855(0x2de)]:return _0xb19de8;case _0x477789[_0x32c855(0x305)]:return _0xb19de8;default:return _0xb19de8;}}[_0x46a1c2(0x31e)](_0x16f9ed){const _0x5eba7c=_0x46a1c2;return this['_commandService']['syncExecuteCommand'](_0x1b5df4['id'],{'unitId':this[_0x5eba7c(0x1dc)][_0x5eba7c(0x28e)](),'tableId':this[_0x5eba7c(0x329)][_0x5eba7c(0x28e)](),'viewId':this[_0x5eba7c(0x267)],'patch':_0x16f9ed});}[_0x46a1c2(0x2ca)](){const _0x255467=_0x46a1c2;var _0x560d7c;return _0x125277[_0x255467(0x1ed)](((_0x560d7c=this[_0x255467(0x2a9)]()[_0x255467(0x296)][_0x255467(0x2ad)])==null?void 0x0:_0x560d7c[_0x255467(0x27f)])??[]);}[_0x46a1c2(0x1f5)](_0x2c8ecc){const _0x4af48f=_0x46a1c2;return this[_0x4af48f(0x2e9)][_0x4af48f(0x2f2)](_0x346c53['id'],{'unitId':this[_0x4af48f(0x1dc)][_0x4af48f(0x28e)](),'tableId':this[_0x4af48f(0x329)][_0x4af48f(0x28e)](),'viewId':this[_0x4af48f(0x267)],'type':_0x25f9f8[_0x4af48f(0x260)],'rules':_0x2c8ecc});}['addConditionalColorRule'](_0x2b1b16){const _0x1576d2=_0x46a1c2;return this[_0x1576d2(0x2e9)][_0x1576d2(0x2f2)](_0x346c53['id'],{'unitId':this['_base']['getId'](),'tableId':this[_0x1576d2(0x329)][_0x1576d2(0x28e)](),'viewId':this[_0x1576d2(0x267)],'type':_0x25f9f8[_0x1576d2(0x244)],'rule':_0x2b1b16});}['deleteConditionalColorRule'](_0x1007b4){const _0x37531e=_0x46a1c2;return this[_0x37531e(0x2e9)][_0x37531e(0x2f2)](_0x346c53['id'],{'unitId':this[_0x37531e(0x1dc)][_0x37531e(0x28e)](),'tableId':this['_table']['getId'](),'viewId':this[_0x37531e(0x267)],'type':_0x25f9f8[_0x37531e(0x301)],'ruleId':_0x1007b4});}['clearConditionalColorRules'](){const _0x592e7a=_0x46a1c2;return this['_commandService'][_0x592e7a(0x2f2)](_0x346c53['id'],{'unitId':this[_0x592e7a(0x1dc)][_0x592e7a(0x28e)](),'tableId':this[_0x592e7a(0x329)]['getId'](),'viewId':this[_0x592e7a(0x267)],'type':_0x25f9f8['Clear']});}[_0x46a1c2(0x250)](){const _0x535092=_0x46a1c2;return this['_getView']()[_0x535092(0x252)]??null;}['setFilter'](_0x3f7a7a){const _0x2762a9=_0x46a1c2;return this[_0x2762a9(0x2e9)][_0x2762a9(0x2f2)](_0x182d68['id'],{'unitId':this[_0x2762a9(0x1dc)][_0x2762a9(0x28e)](),'tableId':this[_0x2762a9(0x329)][_0x2762a9(0x28e)](),'viewId':this[_0x2762a9(0x267)],'filter':_0x3f7a7a});}['getSort'](){const _0xf62ec7=_0x46a1c2;return this[_0xf62ec7(0x2a9)]()[_0xf62ec7(0x23c)]??[];}[_0x46a1c2(0x2a2)](_0x12ef75){const _0x1f8e46=_0x46a1c2;return this[_0x1f8e46(0x2e9)][_0x1f8e46(0x2f2)](_0x164ead['id'],{'unitId':this[_0x1f8e46(0x1dc)][_0x1f8e46(0x28e)](),'tableId':this['_table'][_0x1f8e46(0x28e)](),'viewId':this['_viewId'],'sort':_0x12ef75});}[_0x46a1c2(0x1e7)](){const _0x35ac3d=_0x46a1c2;return this[_0x35ac3d(0x2a9)]()[_0x35ac3d(0x1f6)]??[];}['setGroup'](_0x313ee5){const _0x182d45=_0x46a1c2;return this[_0x182d45(0x2e9)][_0x182d45(0x2f2)](_0x398613['id'],{'unitId':this['_base']['getId'](),'tableId':this['_table'][_0x182d45(0x28e)](),'viewId':this[_0x182d45(0x267)],'group':_0x313ee5});}[_0x46a1c2(0x2a4)](_0x5ad448){const _0x63b29f=_0x46a1c2;var _0x573843;return V(this[_0x63b29f(0x329)]['getTable']()[_0x63b29f(0x2b9)][_0x5ad448])?((_0x573843=this[_0x63b29f(0x2a9)]()['fieldSettings'])==null?void 0x0:_0x573843[_0x5ad448])??{}:{};}[_0x46a1c2(0x27c)](){const _0x3681a3=_0x46a1c2;let _0x5b541b=this[_0x3681a3(0x329)][_0x3681a3(0x310)](),_0x4df094=this[_0x3681a3(0x2a9)]();return(_0x4df094[_0x3681a3(0x249)]??_0x5b541b[_0x3681a3(0x249)])[_0x3681a3(0x252)](_0x3de25f=>{const _0x3b67d8=_0x3681a3;var _0x111f42;let _0x1d6e89=_0x5b541b[_0x3b67d8(0x2b9)][_0x3de25f];return V(_0x1d6e89)&&!((_0x111f42=_0x4df094['fieldSettings'])!=null&&(_0x111f42=_0x111f42[_0x3de25f])!=null&&_0x111f42[_0x3b67d8(0x321)]);})[_0x3681a3(0x232)](_0x14cd1b=>this[_0x3681a3(0x306)][_0x3681a3(0x1f3)](B,this[_0x3681a3(0x1dc)],this['_table'],_0x14cd1b));}['setFieldVisible'](_0x52cc3c,_0x141ee7){const _0x2ce109=_0x46a1c2;return V(this[_0x2ce109(0x329)][_0x2ce109(0x310)]()['fields'][_0x52cc3c])?this['_commandService']['syncExecuteCommand'](_0x171450['id'],{'unitId':this[_0x2ce109(0x1dc)]['getId'](),'tableId':this[_0x2ce109(0x329)]['getId'](),'viewId':this['_viewId'],'fieldId':_0x52cc3c,'visible':_0x141ee7}):!0x1;}[_0x46a1c2(0x2dd)](_0x55a484,_0x4f67bb){const _0x4fb44d=_0x46a1c2;return V(this['_table']['getTable']()[_0x4fb44d(0x2b9)][_0x55a484])?this['_commandService']['syncExecuteCommand'](_0x2a4787['id'],{'unitId':this[_0x4fb44d(0x1dc)]['getId'](),'tableId':this['_table'][_0x4fb44d(0x28e)](),'viewId':this[_0x4fb44d(0x267)],'fieldId':_0x55a484,'width':_0x4f67bb}):!0x1;}[_0x46a1c2(0x265)](_0x11cc70,_0x3318b9){const _0x1b75a1=_0x46a1c2;let _0x3bc7b0=this[_0x1b75a1(0x329)]['getTable'](),_0x16423f=_0x3318b9[_0x1b75a1(0x2a0)]??_0x3318b9[_0x1b75a1(0x2e5)];return!V(_0x3bc7b0['fields'][_0x11cc70])||!_0x16423f||!V(_0x3bc7b0[_0x1b75a1(0x2b9)][_0x16423f])?!0x1:this[_0x1b75a1(0x2e9)][_0x1b75a1(0x2f2)](_0x3001eb['id'],{'unitId':this[_0x1b75a1(0x1dc)][_0x1b75a1(0x28e)](),'tableId':this[_0x1b75a1(0x329)]['getId'](),'viewId':this[_0x1b75a1(0x267)],'fieldId':_0x11cc70,'target':_0x3318b9});}[_0x46a1c2(0x308)](_0xd112d2){const _0x3a2bcb=_0x46a1c2;return this[_0x3a2bcb(0x2e9)][_0x3a2bcb(0x2f2)](_0x3c52e4['id'],{'unitId':this[_0x3a2bcb(0x1dc)]['getId'](),'tableId':this[_0x3a2bcb(0x329)]['getId'](),'viewId':this['_viewId'],'target':_0xd112d2});}[_0x46a1c2(0x229)](){const _0x5787d4=_0x46a1c2;return this[_0x5787d4(0x2e9)][_0x5787d4(0x2f2)](_0x13f67c['id'],{'unitId':this[_0x5787d4(0x1dc)][_0x5787d4(0x28e)](),'tableId':this[_0x5787d4(0x329)][_0x5787d4(0x28e)](),'viewId':this[_0x5787d4(0x267)]});}['getProjection'](){const _0x3c5e63=_0x46a1c2;return this[_0x3c5e63(0x25e)][_0x3c5e63(0x2ac)](this['_base']['getBase']()[_0x3c5e63(0x2b7)](),this[_0x3c5e63(0x329)][_0x3c5e63(0x28e)](),this[_0x3c5e63(0x267)]);}[_0x46a1c2(0x2a9)](){const _0x8d1ace=_0x46a1c2;let _0x1ddffe=this[_0x8d1ace(0x329)]['getTable']()[_0x8d1ace(0x283)][this[_0x8d1ace(0x267)]];if(!_0x1ddffe)throw Error(_0x8d1ace(0x1d9)+this[_0x8d1ace(0x267)]+_0x8d1ace(0x2c3));return _0x1ddffe;}};Y=z([R(0x4,_0x3ac0f5),R(0x5,_0x5db0b9)],Y);let X=class{constructor(_0x4a6d48,_0x5da5c5,_0x1f1daf,_0x2f54ef,_0x1c6ecc){const _0x6f5179=_0x46a1c2;this[_0x6f5179(0x1dc)]=_0x4a6d48,this[_0x6f5179(0x248)]=_0x5da5c5,this[_0x6f5179(0x306)]=_0x1f1daf,this[_0x6f5179(0x2e9)]=_0x2f54ef,this[_0x6f5179(0x25e)]=_0x1c6ecc;}[_0x46a1c2(0x245)](){const _0x24efe0=_0x46a1c2;return this[_0x24efe0(0x1dc)][_0x24efe0(0x245)]();}['getTable'](){const _0x4593f5=_0x46a1c2;return this[_0x4593f5(0x2bb)]();}[_0x46a1c2(0x28e)](){return this['_tableId'];}['getHierarchyFieldId'](){const _0x500fbe=_0x46a1c2;return _0x312492(this[_0x500fbe(0x2bb)]());}[_0x46a1c2(0x2e8)](_0x28a580){const _0x2bc852=_0x46a1c2;return this[_0x2bc852(0x2e9)][_0x2bc852(0x2f2)](_0x10d0c8['id'],{'unitId':this[_0x2bc852(0x1dc)][_0x2bc852(0x28e)](),'tableId':this[_0x2bc852(0x248)],'fieldId':_0x28a580});}[_0x46a1c2(0x2fb)](){const _0x4fe5e4=_0x46a1c2;return this['_getTable']()[_0x4fe5e4(0x2aa)];}[_0x46a1c2(0x2ba)](){const _0x317afa=_0x46a1c2;let _0x127507=this['_base']['getBase']()[_0x317afa(0x2b7)]();return _0x499083(this[_0x317afa(0x2bb)](),_0x127507);}[_0x46a1c2(0x21f)](_0x445c77){const _0x4d9582=_0x46a1c2;let _0x348a85=_0x545bdb(this[_0x4d9582(0x1dc)][_0x4d9582(0x245)]()[_0x4d9582(0x2b7)](),_0x445c77,this[_0x4d9582(0x248)]);if(!_0x348a85[_0x4d9582(0x2dc)])throw Error(_0x4d9582(0x2d3)+_0x445c77+_0x4d9582(0x317)+_0x30ff66+'\x20'+_0x348a85[_0x4d9582(0x273)]);return this['_commandService']['syncExecuteCommand'](_0x15e70d['id'],{'unitId':this[_0x4d9582(0x1dc)][_0x4d9582(0x28e)](),'tableId':this[_0x4d9582(0x248)],'name':_0x445c77});}[_0x46a1c2(0x2d5)](_0x493c3c,_0x2f7f2b){const _0x3213ad=_0x46a1c2;let _0x7f5210=this['_base'][_0x3213ad(0x245)]()[_0x3213ad(0x2b7)](),_0x34de9f=this[_0x3213ad(0x2bb)]();if(_0x2f7f2b){let _0x55165c=this[_0x3213ad(0x25e)][_0x3213ad(0x2ac)](_0x7f5210,this[_0x3213ad(0x248)],_0x2f7f2b),_0xb263d2=_0x34de9f['views'][_0x2f7f2b],_0x4524bc=_0x493c3c[_0x3213ad(0x1df)]??ot(_0x34de9f,_0xb263d2,_0x55165c),_0x206a83=_0x3213ad(0x212)in _0x55165c&&Array[_0x3213ad(0x2db)](_0x55165c[_0x3213ad(0x212)])?_0x55165c[_0x3213ad(0x212)]:[];return _0x2df9ac({..._0x493c3c,'table':_0x34de9f,'fieldIds':_0x4524bc,'rows':_0x206a83});}let _0x4758a4=(_0x34de9f['recordOrder']?_0x34de9f['recordOrder'][_0x3213ad(0x232)](_0x12b17c=>_0x34de9f[_0x3213ad(0x302)][_0x12b17c]):Object['values'](_0x34de9f['records'])[_0x3213ad(0x23c)]((_0x53df1e,_0x2782f8)=>_0x53df1e['orderKey']['localeCompare'](_0x2782f8['orderKey'])))[_0x3213ad(0x252)](_0x3eb9d4=>_0x3eb9d4)[_0x3213ad(0x232)](_0x721232=>({'recordId':_0x721232['id'],'values':_0x721232[_0x3213ad(0x326)]})),_0x34d05e=_0x493c3c['fieldIds']??_0x34de9f[_0x3213ad(0x249)]['filter'](_0x249aaf=>V(_0x34de9f['fields'][_0x249aaf]));return _0x2df9ac({..._0x493c3c,'table':_0x34de9f,'fieldIds':_0x34d05e,'rows':_0x4758a4});}[_0x46a1c2(0x271)](){const _0x5f04b1=_0x46a1c2;return this[_0x5f04b1(0x2bb)]()['primaryFieldId'];}[_0x46a1c2(0x2ed)](){const _0x53f785=_0x46a1c2;let _0x3652f3=this[_0x53f785(0x2bb)]();return _0x3652f3[_0x53f785(0x249)][_0x53f785(0x232)](_0x39f352=>_0x3652f3[_0x53f785(0x2b9)][_0x39f352])['filter'](V)[_0x53f785(0x232)](_0x228fa1=>this['_injector'][_0x53f785(0x1f3)](B,this['_base'],this,_0x228fa1['id']));}[_0x46a1c2(0x29d)](_0x559106){const _0x17b2ac=_0x46a1c2;let _0x3e74e4=this[_0x17b2ac(0x2bb)]()[_0x17b2ac(0x2b9)][_0x559106];return V(_0x3e74e4)?this[_0x17b2ac(0x306)][_0x17b2ac(0x1f3)](B,this['_base'],this,_0x3e74e4['id']):null;}[_0x46a1c2(0x323)](_0x41808f){const _0x5d1371=_0x46a1c2;let _0x1ab854=this['_getTable']()[_0x5d1371(0x2b9)],_0xf5c4cd=Object['values'](_0x1ab854)['find'](_0x448527=>V(_0x448527)&&_0x448527[_0x5d1371(0x2aa)]===_0x41808f);return _0xf5c4cd?this[_0x5d1371(0x306)][_0x5d1371(0x1f3)](B,this[_0x5d1371(0x1dc)],this,_0xf5c4cd['id']):null;}['getPrimaryField'](){const _0x24d443=_0x46a1c2;let _0x555713=this[_0x24d443(0x2bb)]()[_0x24d443(0x24b)];return this[_0x24d443(0x306)][_0x24d443(0x1f3)](B,this[_0x24d443(0x1dc)],this,_0x555713);}[_0x46a1c2(0x2af)](_0x598122,_0x14d9cc,_0x2a53e7){const _0xcfb1b=_0x46a1c2;var _0x5aac96,_0x1e17a1;if(!Object['values'](_0xafe9b1)[_0xcfb1b(0x259)](_0x38c6e5=>_0x38c6e5===_0x14d9cc))throw Error(_0xcfb1b(0x286)+String(_0x14d9cc)+'\x22.');if(_0x14d9cc===_0xafe9b1[_0xcfb1b(0x2d4)]&&this[_0xcfb1b(0x293)](_0x598122,_0x2a53e7),_0x14d9cc===_0xafe9b1[_0xcfb1b(0x2cc)]&&(typeof(_0x2a53e7==null||(_0x5aac96=_0x2a53e7['field'])==null||(_0x5aac96=_0x5aac96['config'])==null?void 0x0:_0x5aac96[_0xcfb1b(0x285)])!='string'||typeof _0x2a53e7[_0xcfb1b(0x2c7)][_0xcfb1b(0x296)][_0xcfb1b(0x22e)]!=_0xcfb1b(0x21c)))throw Error('RecordLink\x20fields\x20require\x20config\x20{\x20targetTableId,\x20multiple\x20}.');let _0x42daef={..._0x2a53e7==null?void 0x0:_0x2a53e7[_0xcfb1b(0x2c7)],'id':_0x5f0f93(0x6),'name':_0x598122,'type':_0x14d9cc,'config':(_0x2a53e7==null||(_0x1e17a1=_0x2a53e7['field'])==null?void 0x0:_0x1e17a1[_0xcfb1b(0x296)])??{}};if(!this['_commandService']['syncExecuteCommand'](_0x15e597['id'],{'unitId':this['_base'][_0xcfb1b(0x28e)](),'tableId':this[_0xcfb1b(0x248)],'field':_0x42daef,'index':_0x2a53e7==null?void 0x0:_0x2a53e7[_0xcfb1b(0x215)]}))throw Error(_0xcfb1b(0x26c)+_0x598122+'\x22');return this[_0xcfb1b(0x306)][_0xcfb1b(0x1f3)](B,this['_base'],this,_0x42daef['id']);}['_prepareFormulaFieldReferences'](_0x2cd4a0,_0x848205){const _0x1a924f=_0x46a1c2;var _0x2512b3;if(!_0x848205||!(_0x1a924f(0x1e6)in _0x848205)||!Array['isArray'](_0x848205[_0x1a924f(0x1e6)]))throw Error('Formula\x20fields\x20require\x20options.externalReferences.\x20Use\x20[]\x20only\x20for\x20a\x20Host-local\x20formula.');let _0x221ace=this['_commandService'][_0x1a924f(0x2f2)](_0x59defd['id'],{'unitId':this[_0x1a924f(0x1dc)]['getId'](),'tableId':this['_tableId'],'formula':String(((_0x2512b3=_0x848205[_0x1a924f(0x2c7)])==null||(_0x2512b3=_0x2512b3[_0x1a924f(0x296)])==null?void 0x0:_0x2512b3[_0x1a924f(0x28d)])??'')});if(!_0x221ace['valid'])throw Error(_0x221ace['reason']??_0x1a924f(0x258));if(_0x848205['externalReferences']['length']>0x0&&!this['_commandService'][_0x1a924f(0x2f2)](_0x4e9cb6['id'],{'unitId':this[_0x1a924f(0x1dc)]['getId'](),'references':_0x848205[_0x1a924f(0x1e6)]}))throw Error(_0x1a924f(0x26a)+_0x2cd4a0+'\x22');}[_0x46a1c2(0x1fb)](){const _0x1313c7=_0x46a1c2;return this[_0x1313c7(0x29b)]()[_0x1313c7(0x232)](_0x2b95cf=>this[_0x1313c7(0x306)][_0x1313c7(0x1f3)](J,this[_0x1313c7(0x1dc)],this,_0x2b95cf,this[_0x1313c7(0x306)]));}[_0x46a1c2(0x320)](_0x366ab9){const _0x47a21c=_0x46a1c2;return this['_getTable']()[_0x47a21c(0x302)][_0x366ab9]?this[_0x47a21c(0x306)][_0x47a21c(0x1f3)](J,this[_0x47a21c(0x1dc)],this,_0x366ab9,this[_0x47a21c(0x306)]):null;}[_0x46a1c2(0x2ec)](_0x1f57c5={}){const _0x1a3ad3=_0x46a1c2;let _0x9ab45b=this[_0x1a3ad3(0x2bb)](),_0x1b694a=this[_0x1a3ad3(0x29b)](_0x1f57c5),_0x41767b=Math[_0x1a3ad3(0x31f)](0x0,_0x1f57c5[_0x1a3ad3(0x2d6)]??0x0),_0xb9cc32=_0x1f57c5[_0x1a3ad3(0x2a3)]==null?null:Math[_0x1a3ad3(0x31f)](0x0,_0x1f57c5['limit']),_0x1a968b=et(_0x1b694a['map'](_0x1ecee8=>_0x9ab45b[_0x1a3ad3(0x302)][_0x1ecee8])['filter'](_0x2ab359=>nt(_0x2ab359,_0x9ab45b,_0x1f57c5[_0x1a3ad3(0x252)])),_0x9ab45b,_0x1f57c5[_0x1a3ad3(0x23c)]);return{'records':$e(_0x1a968b,_0x1f57c5)['map'](_0x77700b=>this[_0x1a3ad3(0x306)][_0x1a3ad3(0x1f3)](J,this[_0x1a3ad3(0x1dc)],this,_0x77700b['id'],this[_0x1a3ad3(0x306)])),'total':_0x1a968b[_0x1a3ad3(0x268)],'offset':_0x41767b,'limit':_0xb9cc32,'hasMore':_0xb9cc32!=null&&_0x41767b+_0xb9cc32<_0x1a968b[_0x1a3ad3(0x268)]};}[_0x46a1c2(0x226)](_0x44875f,_0x40dad3='id',_0x585225){const _0x1e7be3=_0x46a1c2;let _0x16a8b0=this[_0x1e7be3(0x2bb)](),_0x51c16b=Date[_0x1e7be3(0x204)](),_0x3c362e={..._0x585225,'id':_0x5f0f93(0x6),'values':H(_0x16a8b0,_0x44875f,_0x40dad3),'orderKey':(_0x585225==null?void 0x0:_0x585225[_0x1e7be3(0x1e8)])||''+_0x51c16b,'createdAt':(_0x585225==null?void 0x0:_0x585225['createdAt'])||_0x51c16b,'updatedAt':(_0x585225==null?void 0x0:_0x585225[_0x1e7be3(0x27a)])||_0x51c16b};if(!this[_0x1e7be3(0x2e9)]['syncExecuteCommand'](_0x44b407['id'],{'unitId':this['_base'][_0x1e7be3(0x28e)](),'tableId':this['_tableId'],'record':_0x3c362e,'source':_0x198fc0[_0x1e7be3(0x31b)]}))throw Error(_0x1e7be3(0x30d)+_0x3c362e['id']+'\x22');return this[_0x1e7be3(0x306)][_0x1e7be3(0x1f3)](J,this[_0x1e7be3(0x1dc)],this,_0x3c362e['id'],this[_0x1e7be3(0x306)]);}['addRecords'](_0x228a06){const _0x56bdb7=_0x46a1c2;if(!_0x228a06[_0x56bdb7(0x268)])return[];let _0xc523a7=this['_getTable'](),_0x28a629=Date[_0x56bdb7(0x204)](),_0x28ae4d=_0x228a06[_0x56bdb7(0x232)]((_0x5a8aa6,_0x40d95d)=>{const _0x5694d3=_0x56bdb7;var _0x12d9c3,_0x171672,_0x29836b;return{..._0x5a8aa6['record'],'id':_0x5f0f93(0x6),'values':H(_0xc523a7,_0x5a8aa6[_0x5694d3(0x326)],_0x5a8aa6[_0x5694d3(0x2f5)]??'id'),'orderKey':((_0x12d9c3=_0x5a8aa6['record'])==null?void 0x0:_0x12d9c3[_0x5694d3(0x1e8)])||''+(_0x28a629+_0x40d95d),'createdAt':((_0x171672=_0x5a8aa6[_0x5694d3(0x2bc)])==null?void 0x0:_0x171672[_0x5694d3(0x206)])||_0x28a629,'updatedAt':((_0x29836b=_0x5a8aa6['record'])==null?void 0x0:_0x29836b[_0x5694d3(0x27a)])||_0x28a629};});if(!this[_0x56bdb7(0x2e9)]['syncExecuteCommand'](_0x280e1e['id'],{'unitId':this[_0x56bdb7(0x1dc)]['getId'](),'tableId':this[_0x56bdb7(0x248)],'records':_0x28ae4d,'source':_0x198fc0[_0x56bdb7(0x31b)]}))throw Error(_0x56bdb7(0x304));return _0x28ae4d[_0x56bdb7(0x232)](_0x46b067=>this['_injector'][_0x56bdb7(0x1f3)](J,this[_0x56bdb7(0x1dc)],this,_0x46b067['id'],this[_0x56bdb7(0x306)]));}['deleteRecords'](_0x37a3b2){const _0x587e7d=_0x46a1c2;return!_0x37a3b2['length']||this[_0x587e7d(0x2e9)][_0x587e7d(0x2f2)](_0xb3d33d['id'],{'unitId':this[_0x587e7d(0x1dc)]['getId'](),'tableId':this[_0x587e7d(0x248)],'recordIds':_0x37a3b2,'source':_0x198fc0['Facade']});}['getRange'](_0x34d2f5,_0x35af18,_0x648168=0x1,_0x51b7de=0x1){const _0x141fcd=_0x46a1c2;return this['_injector'][_0x141fcd(0x1f3)](K,this['_base'],this,{'startRow':_0x34d2f5,'endRow':_0x34d2f5+_0x648168-0x1,'startColumn':_0x35af18,'endColumn':_0x35af18+_0x51b7de-0x1},this[_0x141fcd(0x306)]);}[_0x46a1c2(0x210)](){const _0x2e2507=_0x46a1c2;var _0x55a9a0;let _0x5bd8e6=_0x580a6d(this[_0x2e2507(0x2bb)]()),_0xff4efa=((_0x55a9a0=_0x5bd8e6[_0x2e2507(0x213)])==null?void 0x0:_0x55a9a0[_0x2e2507(0x268)])??0x0,_0x584175=_0x5bd8e6['fieldOrder'][_0x2e2507(0x252)](_0x34d76b=>V(_0x5bd8e6[_0x2e2507(0x2b9)][_0x34d76b]))[_0x2e2507(0x268)];return this[_0x2e2507(0x220)](0x0,0x0,Math['max'](_0xff4efa,0x1),Math[_0x2e2507(0x31f)](_0x584175,0x1));}[_0x46a1c2(0x328)](){const _0xc22912=_0x46a1c2;let _0x1d40b8=this[_0xc22912(0x2bb)]();return _0x1d40b8['viewOrder'][_0xc22912(0x252)](_0x5a2ff6=>_0x1d40b8[_0xc22912(0x283)][_0x5a2ff6])[_0xc22912(0x232)](_0x2e7484=>this['_injector'][_0xc22912(0x1f3)](Y,this['_base'],this,_0x2e7484,this['_injector']));}['getViewById'](_0x876283){const _0x15e2f1=_0x46a1c2;return this[_0x15e2f1(0x2bb)]()[_0x15e2f1(0x283)][_0x876283]?this[_0x15e2f1(0x306)][_0x15e2f1(0x1f3)](Y,this['_base'],this,_0x876283,this['_injector']):null;}[_0x46a1c2(0x20d)](_0x382700){const _0x23964f=_0x46a1c2;let _0x44aa69=this[_0x23964f(0x2bb)](),_0x3cd79e=Object[_0x23964f(0x326)](_0x44aa69[_0x23964f(0x283)])[_0x23964f(0x1dd)](_0x22c79f=>_0x22c79f['name']===_0x382700);return _0x3cd79e?this[_0x23964f(0x306)][_0x23964f(0x1f3)](Y,this[_0x23964f(0x1dc)],this,_0x3cd79e['id'],this['_injector']):null;}[_0x46a1c2(0x234)](_0x371b66,_0x557f6a,_0x454eef){const _0x408023=_0x46a1c2;var _0x6dac4a,_0x1c0b03,_0xdfc3e6,_0x58c677;let _0x5ae3ff=this[_0x408023(0x2bb)](),_0x1b4745=[_0x56d8f8,...((_0x454eef==null||(_0x6dac4a=_0x454eef[_0x408023(0x247)])==null?void 0x0:_0x6dac4a[_0x408023(0x249)])??_0x5ae3ff[_0x408023(0x249)])[_0x408023(0x252)](_0x530bde=>V(_0x5ae3ff['fields'][_0x530bde]))],_0x8b263={..._0x454eef==null?void 0x0:_0x454eef['view'],'id':_0x5f0f93(0x6),'name':_0x371b66,'type':_0x557f6a,'tableId':this[_0x408023(0x248)],'config':(_0x454eef==null||(_0x1c0b03=_0x454eef[_0x408023(0x247)])==null?void 0x0:_0x1c0b03[_0x408023(0x296)])??{},'fieldOrder':_0x1b4745,'fieldSettings':{..._0x454eef==null||(_0xdfc3e6=_0x454eef[_0x408023(0x247)])==null?void 0x0:_0xdfc3e6[_0x408023(0x280)],[_0x56d8f8]:{..._0x454eef==null||(_0x58c677=_0x454eef[_0x408023(0x247)])==null||(_0x58c677=_0x58c677[_0x408023(0x280)])==null?void 0x0:_0x58c677[_0x56d8f8],'hidden':!0x0}}};if(!this['_commandService'][_0x408023(0x2f2)](_0x58c95d['id'],{'unitId':this['_base'][_0x408023(0x28e)](),'tableId':this[_0x408023(0x248)],'view':_0x8b263,'index':_0x454eef==null?void 0x0:_0x454eef[_0x408023(0x215)]}))throw Error(_0x408023(0x2ee)+_0x371b66+'\x22');return this[_0x408023(0x306)]['createInstance'](Y,this[_0x408023(0x1dc)],this,_0x8b263['id'],this[_0x408023(0x306)]);}[_0x46a1c2(0x1e2)](){const _0x347b6e=_0x46a1c2;let _0x154be9=this[_0x347b6e(0x2bb)](),_0x12dda1=_0x154be9[_0x347b6e(0x249)]['filter'](_0xe1d368=>V(_0x154be9[_0x347b6e(0x2b9)][_0xe1d368])),_0x336cdf=_0x154be9[_0x347b6e(0x26d)]['filter'](_0x327de8=>_0x154be9[_0x347b6e(0x283)][_0x327de8]);return{'id':_0x154be9['id'],'name':_0x154be9[_0x347b6e(0x2aa)],'formulaName':this[_0x347b6e(0x2ba)](),'primaryFieldId':_0x154be9[_0x347b6e(0x24b)],'fieldIds':_0x12dda1,'viewIds':_0x336cdf,'recordCount':this[_0x347b6e(0x29b)]()['length'],'fields':_0x12dda1['map'](_0x116250=>{const _0x153093=_0x347b6e;let _0x7dce87=_0x154be9[_0x153093(0x2b9)][_0x116250];return{'id':_0x7dce87['id'],'name':_0x7dce87['name'],'type':_0x7dce87[_0x153093(0x241)],'config':_0x7dce87[_0x153093(0x296)],'readonly':_0x7dce87['readonly'],'description':_0x7dce87['description']};}),'views':_0x336cdf['map'](_0x211b95=>{const _0x56196c=_0x347b6e;let _0x4d6977=_0x154be9[_0x56196c(0x283)][_0x211b95];return{'id':_0x4d6977['id'],'name':_0x4d6977['name'],'type':_0x4d6977[_0x56196c(0x241)]};})};}[_0x46a1c2(0x2bb)](){const _0x5bff85=_0x46a1c2;let _0xd8f664=this[_0x5bff85(0x1dc)][_0x5bff85(0x245)]()[_0x5bff85(0x2b7)]()['tables'][this['_tableId']];if(!_0xd8f664)throw Error(_0x5bff85(0x261)+this[_0x5bff85(0x248)]+'\x22\x20does\x20not\x20exist.');return _0xd8f664;}[_0x46a1c2(0x29b)](_0x550eb8={}){const _0x54a2e2=_0x46a1c2;let _0x46e1cf=this[_0x54a2e2(0x1dc)][_0x54a2e2(0x245)]()[_0x54a2e2(0x2b7)](),_0x4d1f1c=this[_0x54a2e2(0x2bb)]();if(_0x550eb8['viewId']){let _0x3b7bc3=this[_0x54a2e2(0x25e)][_0x54a2e2(0x2ac)](_0x46e1cf,this['_tableId'],_0x550eb8[_0x54a2e2(0x27e)]);if(_0x54a2e2(0x212)in _0x3b7bc3&&Array['isArray'](_0x3b7bc3['rows']))return _0x3b7bc3[_0x54a2e2(0x212)]['map'](_0x46a1e2=>_0x46a1e2[_0x54a2e2(0x275)]);}return(_0x4d1f1c[_0x54a2e2(0x213)]?_0x4d1f1c[_0x54a2e2(0x213)]['map'](_0x244c76=>_0x4d1f1c['records'][_0x244c76]):Object[_0x54a2e2(0x326)](_0x4d1f1c[_0x54a2e2(0x302)])[_0x54a2e2(0x23c)]((_0xa6cde1,_0xf4452d)=>_0xa6cde1['orderKey'][_0x54a2e2(0x254)](_0xf4452d['orderKey'])))[_0x54a2e2(0x252)](_0x1e8ff9=>_0x1e8ff9)[_0x54a2e2(0x232)](_0x48e756=>_0x48e756['id']);}};X=z([R(0x3,_0x3ac0f5),R(0x4,_0x5db0b9)],X);function $e(_0x2457fd,_0x523d4c){const _0x281d6c=_0x46a1c2;let _0xd7f391=Math[_0x281d6c(0x31f)](0x0,_0x523d4c[_0x281d6c(0x2d6)]??0x0);return _0x523d4c[_0x281d6c(0x2a3)]==null?_0x2457fd[_0x281d6c(0x2f8)](_0xd7f391):_0x2457fd[_0x281d6c(0x2f8)](_0xd7f391,_0xd7f391+Math['max'](0x0,_0x523d4c[_0x281d6c(0x2a3)]));}function et(_0x75d3a3,_0x203293,_0x5a5c2c=[]){const _0x31fe16=_0x46a1c2;return _0x5a5c2c[_0x31fe16(0x268)]?[..._0x75d3a3][_0x31fe16(0x23c)]((_0x882d87,_0x3f9b8b)=>{const _0x4efdca=_0x31fe16;for(let _0x3b8b96 of _0x5a5c2c){var _0x5f466e;let _0x5312bf=_0x3b8b96[_0x4efdca(0x26f)]===_0xd1049e[_0x4efdca(0x2e4)]?-0x1:0x1,_0x1b4b83=tt(_0x882d87[_0x4efdca(0x326)][_0x3b8b96[_0x4efdca(0x292)]],_0x3f9b8b[_0x4efdca(0x326)][_0x3b8b96[_0x4efdca(0x292)]],(_0x5f466e=_0x203293[_0x4efdca(0x2b9)][_0x3b8b96[_0x4efdca(0x292)]])==null?void 0x0:_0x5f466e[_0x4efdca(0x241)]);if(_0x1b4b83!==0x0)return _0x1b4b83*_0x5312bf;}return String(_0x882d87[_0x4efdca(0x1e8)]??_0x882d87['id'])[_0x4efdca(0x254)](String(_0x3f9b8b['orderKey']??_0x3f9b8b['id']));}):_0x75d3a3;}function tt(_0x1d2da1,_0x1776be,_0x522ffd){const _0x4f082f=_0x46a1c2;return _0x1d2da1==null&&_0x1776be==null?0x0:_0x1d2da1==null?-0x1:_0x1776be==null?0x1:typeof _0x1d2da1==_0x4f082f(0x287)&&typeof _0x1776be==_0x4f082f(0x287)?_0x1d2da1-_0x1776be:_0x522ffd===_0xafe9b1[_0x4f082f(0x31c)]?Number(_0x1d2da1)-Number(_0x1776be):String(_0x1d2da1)[_0x4f082f(0x254)](String(_0x1776be));}function nt(_0x483af5,_0x5b7b4e,_0x327920){const _0x4586a2=_0x46a1c2;var _0x185bd2;if(!_0x327920||!((_0x185bd2=_0x327920[_0x4586a2(0x2f0)])!=null&&_0x185bd2[_0x4586a2(0x268)]))return!0x0;let {conjunction:_0x176016=_0x1e5d95['OR'],conditions:_0x5240e4}=_0x327920;return _0x176016===_0x1e5d95[_0x4586a2(0x279)]&&_0x5240e4[_0x4586a2(0x268)]>0x1?_0x5240e4[_0x4586a2(0x1f7)](_0x1d3f9b=>rt(_0x483af5,_0x5b7b4e,_0x1d3f9b)):_0x5240e4['some'](_0x192487=>rt(_0x483af5,_0x5b7b4e,_0x192487));}function rt(_0x5588a7,_0x1ecfa2,_0x57a72b){const _0x1c91fc=_0x46a1c2;let _0x5c8645=_0x5588a7[_0x1c91fc(0x326)][_0x57a72b[_0x1c91fc(0x292)]],_0x42b290=_0x1ecfa2['fields'][_0x57a72b[_0x1c91fc(0x292)]];if(it(_0x57a72b)){let _0x328fa1=at(_0x57a72b)[_0x1c91fc(0x282)](String(_0x5c8645??''));return _0x57a72b[_0x1c91fc(0x26b)]===_0x1c91fc(0x312)?_0x328fa1:!_0x328fa1;}return!_0x42b290||_0xc3c013(_0x5c8645,_0x57a72b[_0x1c91fc(0x26b)],_0x57a72b[_0x1c91fc(0x24a)],_0x42b290);}function it(_0xb88ed6){const _0x207fa9=_0x46a1c2;return _0xb88ed6[_0x207fa9(0x26b)]==='matches'||_0xb88ed6['operator']===_0x207fa9(0x1eb);}function at(_0x2b812a){const _0x531e4c=_0x46a1c2;let _0x103eb5=String(_0x2b812a[_0x531e4c(0x24a)]??'');if(_0x103eb5[_0x531e4c(0x268)]>0x200)throw Error(_0x531e4c(0x23b));try{return new RegExp(_0x103eb5,_0x2b812a[_0x531e4c(0x1ea)]?void 0x0:'i');}catch(_0x494dff){throw Error(_0x531e4c(0x26e)+_0x103eb5+'.\x20'+(_0x494dff instanceof Error?_0x494dff['message']:String(_0x494dff)));}}function ot(_0x3a9f51,_0x1b827a,_0x1ec05b){const _0x1e22b7=_0x46a1c2;if(_0x1ec05b['type']!==_0x1e22b7(0x2a1)){var _0x3a2c12;if(_0x1ec05b[_0x1e22b7(0x241)]===_0x477789['Kanban']){var _0x3b4c26;let _0xc02192=[((_0x3b4c26=_0x1ec05b['fields'])==null||(_0x3b4c26=_0x3b4c26[0x0])==null?void 0x0:_0x3b4c26['id'])??_0x3a9f51[_0x1e22b7(0x24b)],..._0x1ec05b[_0x1e22b7(0x2cf)]??[]];return Array[_0x1e22b7(0x29e)](new Set(_0xc02192['filter'](_0x3666ed=>!!_0x3a9f51[_0x1e22b7(0x2b9)][_0x3666ed])));}if((_0x3a2c12=_0x1ec05b['fields'])!=null&&_0x3a2c12[_0x1e22b7(0x268)])return _0x1ec05b[_0x1e22b7(0x2b9)][_0x1e22b7(0x232)](_0x16e372=>_0x16e372['id'])['filter'](_0x58bfce=>{const _0x27ca63=_0x1e22b7;var _0xd55819;return!!(_0x3a9f51['fields'][_0x58bfce]&&!(_0x1b827a!=null&&(_0xd55819=_0x1b827a[_0x27ca63(0x280)])!=null&&(_0xd55819=_0xd55819[_0x58bfce])!=null&&_0xd55819[_0x27ca63(0x321)]));});}return _0x3a9f51[_0x1e22b7(0x249)]['filter'](_0x47108e=>{const _0x5d1674=_0x1e22b7;var _0x592368;return!!(_0x3a9f51['fields'][_0x47108e]&&!(_0x1b827a!=null&&(_0x592368=_0x1b827a[_0x5d1674(0x280)])!=null&&(_0x592368=_0x592368[_0x47108e])!=null&&_0x592368['hidden']));});}function _0x5746(_0x4a3995,_0x390d2b){_0x4a3995=_0x4a3995-0x1d7;const _0x88d198=_0x88d1();let _0x574644=_0x88d198[_0x4a3995];return _0x574644;}let Z=class{constructor(_0x18392d,_0x314bcd,_0x23fb9b,_0x19cd70){const _0x8b0159=_0x46a1c2;this[_0x8b0159(0x1dc)]=_0x18392d,this[_0x8b0159(0x306)]=_0x314bcd,this['_resourceLoaderService']=_0x23fb9b,this[_0x8b0159(0x2e9)]=_0x19cd70;}[_0x46a1c2(0x245)](){const _0x266229=_0x46a1c2;return this[_0x266229(0x1dc)];}['getId'](){const _0x3dfe17=_0x46a1c2;return this[_0x3dfe17(0x1dc)]['getUnitId']();}['save'](){const _0x1d3440=_0x46a1c2;return this[_0x1d3440(0x1ec)][_0x1d3440(0x262)](this[_0x1d3440(0x28e)]())??_0x125277['deepClone'](this[_0x1d3440(0x1dc)]['getSnapshot']());}['getName'](){const _0x377fd2=_0x46a1c2;return this['_base'][_0x377fd2(0x2b7)]()[_0x377fd2(0x2aa)];}['setName'](_0x155bce){const _0x39d2df=_0x46a1c2;this[_0x39d2df(0x2e9)][_0x39d2df(0x2f2)](_0x1535e7['id'],{'unitId':this['getId'](),'name':_0x155bce});}[_0x46a1c2(0x25b)](){const _0x510ccd=_0x46a1c2;let _0x333c1a=this['_base'][_0x510ccd(0x2b7)]();return _0x333c1a[_0x510ccd(0x29f)][_0x510ccd(0x232)](_0x51b247=>_0x333c1a['tables'][_0x51b247])[_0x510ccd(0x252)](_0x428813=>_0x428813)[_0x510ccd(0x232)](_0x4e3c54=>this[_0x510ccd(0x306)]['createInstance'](X,this,_0x4e3c54['id'],this[_0x510ccd(0x306)]));}[_0x46a1c2(0x30b)](_0x5cc6a9){const _0x181ea9=_0x46a1c2;let _0x6f476b=this[_0x181ea9(0x1dc)][_0x181ea9(0x2b7)]()[_0x181ea9(0x28c)][_0x5cc6a9];return _0x6f476b?this[_0x181ea9(0x306)]['createInstance'](X,this,_0x6f476b['id'],this[_0x181ea9(0x306)]):null;}[_0x46a1c2(0x313)](_0x485618){const _0x23d9aa=_0x46a1c2;let _0x2fca00=this['_base']['getSnapshot'](),_0x268893=Object[_0x23d9aa(0x326)](_0x2fca00[_0x23d9aa(0x28c)])['find'](_0x1c5bfb=>_0x1c5bfb['name']===_0x485618);return _0x268893?this[_0x23d9aa(0x306)][_0x23d9aa(0x1f3)](X,this,_0x268893['id'],this[_0x23d9aa(0x306)]):null;}[_0x46a1c2(0x219)](_0x3073eb,_0x132c7f){const _0x590c27=_0x46a1c2;let _0x4c2790=_0x3e2cae({'id':_0x5f0f93(),'name':_0x3073eb,..._0x132c7f==null?void 0x0:_0x132c7f[_0x590c27(0x216)],'primaryFieldName':_0x132c7f==null?void 0x0:_0x132c7f['primaryFieldName']}),_0x3f4be8=_0x125277['commonExtend'](_0x4c2790,(_0x132c7f==null?void 0x0:_0x132c7f[_0x590c27(0x216)])??{}),_0x5d3644=_0x545bdb(this['_base']['getSnapshot'](),_0x3f4be8['name']);if(!_0x5d3644[_0x590c27(0x2dc)])throw Error(_0x590c27(0x2a5)+_0x3f4be8[_0x590c27(0x2aa)]+_0x590c27(0x317)+_0x30ff66+'\x20'+_0x5d3644[_0x590c27(0x273)]);if(!this[_0x590c27(0x2e9)][_0x590c27(0x2f2)](_0x132b85['id'],{'unitId':this[_0x590c27(0x1dc)]['getUnitId'](),'table':_0x3f4be8,'index':_0x132c7f==null?void 0x0:_0x132c7f[_0x590c27(0x215)]}))throw Error(_0x590c27(0x1f1)+_0x3073eb+'\x22.');return this[_0x590c27(0x306)][_0x590c27(0x1f3)](X,this,_0x3f4be8['id'],this[_0x590c27(0x306)]);}['deleteTable'](_0x1fe28c){const _0xe9ab9d=_0x46a1c2;let _0x199993=typeof _0x1fe28c==_0xe9ab9d(0x2f3)?_0x1fe28c:_0x1fe28c[_0xe9ab9d(0x28e)]();if(!this[_0xe9ab9d(0x2e9)][_0xe9ab9d(0x2f2)](_0x488c1f['id'],{'unitId':this['_base'][_0xe9ab9d(0x2c0)](),'tableId':_0x199993}))throw Error(_0xe9ab9d(0x294)+_0x199993+'\x22.');return!0x0;}['duplicateTable'](_0x597d4d,_0x1e13a7){const _0x12d6d5=_0x46a1c2;let _0x17fa8a=this[_0x12d6d5(0x1dc)][_0x12d6d5(0x2b7)](),_0x580514=typeof _0x597d4d=='string'?_0x597d4d:_0x597d4d[_0x12d6d5(0x28e)](),_0x27452c=_0x17fa8a[_0x12d6d5(0x28c)][_0x580514];if(!_0x27452c)throw Error(_0x12d6d5(0x24e)+_0x580514+_0x12d6d5(0x2c3));let _0x55e885=_0x17fa8a[_0x12d6d5(0x29f)][_0x12d6d5(0x1f0)](_0x580514)+0x1,_0x9a0f=_0xf70964(_0x27452c,{'id':_0x5f0f93(),'name':_0x286207(_0x17fa8a,_0x27452c[_0x12d6d5(0x2aa)]+_0x12d6d5(0x233)),'includeRecords':(_0x1e13a7==null?void 0x0:_0x1e13a7['includeRecords'])??!0x1,'regenerateViewIds':(_0x1e13a7==null?void 0x0:_0x1e13a7[_0x12d6d5(0x208)])??!0x1});if(!this[_0x12d6d5(0x2e9)][_0x12d6d5(0x2f2)](_0x132b85['id'],{'unitId':this[_0x12d6d5(0x1dc)]['getUnitId'](),'table':_0x9a0f,'index':_0x55e885}))throw Error(_0x12d6d5(0x214)+_0x580514+'\x22.');return this[_0x12d6d5(0x306)][_0x12d6d5(0x1f3)](X,this,_0x9a0f['id'],this[_0x12d6d5(0x306)]);}[_0x46a1c2(0x1e2)](){const _0xe5d96d=_0x46a1c2;let _0x5469c3=this[_0xe5d96d(0x1dc)][_0xe5d96d(0x2b7)]();return{'id':_0x5469c3['id'],'name':_0x5469c3[_0xe5d96d(0x2aa)],'tables':this[_0xe5d96d(0x25b)]()[_0xe5d96d(0x232)](_0x33b90c=>_0x33b90c[_0xe5d96d(0x1e2)]())};}};Z=z([R(0x1,_0xfc1d0a(_0x38a295)),R(0x2,_0x4f5173),R(0x3,_0x3ac0f5)],Z);var st=class extends _0x17aaa4{['_initialize'](){const _0x513e93=_0x46a1c2;this['_initBaseBeforeEvents'](),this[_0x513e93(0x21e)]();}[_0x46a1c2(0x297)](_0x220d52={},_0x48f60a){const _0x4703be=_0x46a1c2;let _0x3d738a=this[_0x4703be(0x29c)][_0x4703be(0x2f4)](_0x3e59a1[_0x4703be(0x235)],_0x220d52,_0x48f60a);return this[_0x4703be(0x306)][_0x4703be(0x1f3)](Z,_0x3d738a);}['getActiveBase'](){const _0xc1be21=_0x46a1c2;let _0x370d10=this[_0xc1be21(0x29c)][_0xc1be21(0x209)](_0x3e59a1[_0xc1be21(0x235)]);return _0x370d10?this[_0xc1be21(0x306)][_0xc1be21(0x1f3)](Z,_0x370d10):null;}[_0x46a1c2(0x245)](_0x536c95){const _0x39f780=_0x46a1c2;let _0x9b1cf0=this[_0x39f780(0x29c)][_0x39f780(0x23f)](_0x536c95,_0x3e59a1[_0x39f780(0x235)]);return _0x9b1cf0?this[_0x39f780(0x306)][_0x39f780(0x1f3)](Z,_0x9b1cf0):null;}[_0x46a1c2(0x1e1)](){const _0x2c85bf=_0x46a1c2;return this[_0x2c85bf(0x29c)][_0x2c85bf(0x2b2)](_0x3e59a1[_0x2c85bf(0x235)])[_0x2c85bf(0x232)](_0x4034cb=>this['_injector'][_0x2c85bf(0x1f3)](Z,_0x4034cb));}[_0x46a1c2(0x21e)](){const _0x116bc4=_0x46a1c2;this[_0x116bc4(0x270)](this['registerEventHandler'](this['Event'][_0x116bc4(0x2bf)],()=>this[_0x116bc4(0x2e9)][_0x116bc4(0x2a6)]((_0x2427e8,_0xc2c1c6)=>{const _0xc87334=_0x116bc4;var _0x51deda;if(!Q(_0x2427e8,_0x4dadde))return;let _0x16b98b=_0x2427e8['params'];if(!((_0x51deda=_0x16b98b['hierarchyChanges'])!=null&&_0x51deda[_0xc87334(0x268)]))return;let _0x9c2a50=this[_0xc87334(0x245)](_0x16b98b['unitId']),_0x3d7a6c=_0x9c2a50==null?void 0x0:_0x9c2a50['getTableById'](_0x16b98b[_0xc87334(0x319)][0x0][_0xc87334(0x290)]);if(!_0x9c2a50||!_0x3d7a6c)return;let _0x71b12f={'base':_0x9c2a50,'table':_0x3d7a6c,'changes':_0x16b98b[_0xc87334(0x319)],'source':_0xc2c1c6!=null&&_0xc2c1c6['fromCollab']?_0x198fc0[_0xc87334(0x314)]:_0x16b98b['source']??_0x198fc0['UI']};this['fireEvent'](this[_0xc87334(0x278)][_0xc87334(0x2bf)],_0x71b12f);}))),this[_0x116bc4(0x270)](this[_0x116bc4(0x2eb)](this[_0x116bc4(0x278)][_0x116bc4(0x2f9)],()=>this['_commandService']['onCommandExecuted'](_0x2508fd=>{const _0x2574df=_0x116bc4;if(_0x2508fd['id']!==_0x132b85['id'])return;let {unitId:_0x5ea436,table:_0x55640c,index:_0x4d75ac}=_0x2508fd['params'],_0x55f530=this[_0x2574df(0x245)](_0x5ea436);if(!_0x55f530)return;let _0x4c1791={'base':_0x55f530,'table':_0x55640c,'index':_0x4d75ac};this['fireEvent'](this['Event'][_0x2574df(0x2f9)],_0x4c1791);}))),this['disposeWithMe'](this['registerEventHandler'](this['Event']['BaseTableFieldCreated'],()=>this[_0x116bc4(0x2e9)][_0x116bc4(0x2a6)](_0x2dcb89=>{const _0x4d063c=_0x116bc4;if(_0x2dcb89['id']!==_0x15e597['id'])return;let {unitId:_0x35f74e,tableId:_0x168394,field:_0x226fe5,index:_0x47cf79,viewIndexes:_0x36f789}=_0x2dcb89[_0x4d063c(0x1ff)],_0x42b44d=this[_0x4d063c(0x245)](_0x35f74e);if(!_0x42b44d)return;let _0x123d78=_0x42b44d[_0x4d063c(0x30b)](_0x168394);if(!_0x123d78)return;let _0x46499f={'base':_0x42b44d,'table':_0x123d78,'field':_0x226fe5,'index':_0x47cf79,'viewIndexes':_0x36f789};this[_0x4d063c(0x1da)](this[_0x4d063c(0x278)][_0x4d063c(0x22c)],_0x46499f);}))),this[_0x116bc4(0x270)](this[_0x116bc4(0x2eb)](this[_0x116bc4(0x278)]['BaseTableRecordCreated'],()=>this[_0x116bc4(0x2e9)][_0x116bc4(0x2a6)](_0x1702ea=>{const _0x39ed04=_0x116bc4;if(_0x1702ea['id']!==_0x44b407['id']&&_0x1702ea['id']!==_0x280e1e['id'])return;let _0x5d1ea4=_0x1702ea[_0x39ed04(0x1ff)],{unitId:_0x20a7e9,tableId:_0x23207c}=_0x5d1ea4,_0x49a954=_0x5d1ea4[_0x39ed04(0x302)]??[_0x5d1ea4[_0x39ed04(0x2bc)]],_0x2239cf=this['getBase'](_0x20a7e9);if(!_0x2239cf)return;let _0x354bbb=_0x2239cf[_0x39ed04(0x30b)](_0x23207c);if(!_0x354bbb)return;let _0x352c48={'base':_0x2239cf,'table':_0x354bbb,'records':_0x49a954};this[_0x39ed04(0x1da)](this[_0x39ed04(0x278)]['BaseTableRecordCreated'],_0x352c48);}))),this['disposeWithMe'](this[_0x116bc4(0x2eb)](this[_0x116bc4(0x278)][_0x116bc4(0x2d2)],()=>this[_0x116bc4(0x2e9)][_0x116bc4(0x2a6)](_0x427913=>{const _0x15d92f=_0x116bc4;if(_0x427913['id']!==_0x58c95d['id'])return;let {unitId:_0x4e9a3e,tableId:_0x376aea,view:_0xb0ba8b,index:_0x366f35}=_0x427913[_0x15d92f(0x1ff)],_0x38ae90=this[_0x15d92f(0x245)](_0x4e9a3e);if(!_0x38ae90)return;let _0x677b69=_0x38ae90[_0x15d92f(0x30b)](_0x376aea);if(!_0x677b69)return;let _0x22f923={'base':_0x38ae90,'table':_0x677b69,'view':_0xb0ba8b,'index':_0x366f35};this[_0x15d92f(0x1da)](this[_0x15d92f(0x278)][_0x15d92f(0x2d2)],_0x22f923);}))),this[_0x116bc4(0x270)](this[_0x116bc4(0x2eb)](this[_0x116bc4(0x278)]['BaseTableCellValueChanged'],()=>this[_0x116bc4(0x2e9)][_0x116bc4(0x2a6)](_0x169454=>{const _0x4d3e3b=_0x116bc4;if(_0x169454['id']!==_0x13c61e['id'])return;let {unitId:_0x48c4d8,tableId:_0x1f56bb,recordId:_0x514cad,fieldId:_0x307ea8,value:_0xf72ee9}=_0x169454['params'],_0x579f91=this[_0x4d3e3b(0x245)](_0x48c4d8);if(!_0x579f91)return;let _0x437dc9=_0x579f91['getTableById'](_0x1f56bb);if(!_0x437dc9)return;let _0x2c01f7=_0x437dc9[_0x4d3e3b(0x29d)](_0x307ea8);if(!_0x2c01f7)return;let _0x178e82=_0x437dc9['getRecordById'](_0x514cad);if(!_0x178e82)return;let _0x148311={'base':_0x579f91,'table':_0x437dc9,'field':_0x2c01f7,'record':_0x178e82,'value':_0xf72ee9};this['fireEvent'](this[_0x4d3e3b(0x278)][_0x4d3e3b(0x295)],_0x148311);})));}[_0x46a1c2(0x2b5)](){const _0x3313cc=_0x46a1c2;this[_0x3313cc(0x270)](this[_0x3313cc(0x2eb)](this[_0x3313cc(0x278)][_0x3313cc(0x231)],()=>this[_0x3313cc(0x2e9)][_0x3313cc(0x1e5)](_0xb91fc1=>{const _0x39cc5d=_0x3313cc;if(Q(_0xb91fc1,_0x294f1c)){let {unitId:_0x4c2eb9,tableId:_0x1067aa,patches:_0x327359,source:_0x1b7ca9=_0x198fc0['UI']}=_0xb91fc1[_0x39cc5d(0x1ff)],_0x442072=this[_0x39cc5d(0x22a)](_0x4c2eb9,_0x1067aa);if(!_0x442072)return;this[_0x39cc5d(0x246)](_0x442072[_0x39cc5d(0x203)],_0x442072['table'],_0x1d70cc(_0x442072[_0x39cc5d(0x216)][_0x39cc5d(0x310)](),_0x327359),_0x1b7ca9);return;}if(Q(_0xb91fc1,_0x473f48)){let {unitId:_0x3aee85,tableId:_0x5151e7,patches:_0x3cab04,source:_0x17fbec=_0x198fc0['UI']}=_0xb91fc1[_0x39cc5d(0x1ff)],_0x2ed8b0=this[_0x39cc5d(0x22a)](_0x3aee85,_0x5151e7);if(!_0x2ed8b0)return;let _0x52ed79=_0x2ed8b0[_0x39cc5d(0x216)][_0x39cc5d(0x310)]();this[_0x39cc5d(0x246)](_0x2ed8b0[_0x39cc5d(0x203)],_0x2ed8b0[_0x39cc5d(0x216)],_0x1d70cc(_0x52ed79,_0x3642d1(_0x52ed79,_0x3cab04)),_0x17fbec);return;}if(Q(_0xb91fc1,_0x44b407)){let _0x1d3827=_0xb91fc1[_0x39cc5d(0x1ff)],_0x5e418a=this[_0x39cc5d(0x22a)](_0x1d3827['unitId'],_0x1d3827[_0x39cc5d(0x290)]);if(!_0x5e418a)return;this[_0x39cc5d(0x246)](_0x5e418a[_0x39cc5d(0x203)],_0x5e418a[_0x39cc5d(0x216)],_0x346f38(_0x5e418a['table'][_0x39cc5d(0x310)](),[_0x1d3827['record']]),_0x1d3827[_0x39cc5d(0x277)]??_0x198fc0['UI']);return;}if(Q(_0xb91fc1,_0x280e1e)){let _0x28bd30=_0xb91fc1[_0x39cc5d(0x1ff)],_0x3055e1=this[_0x39cc5d(0x22a)](_0x28bd30[_0x39cc5d(0x24d)],_0x28bd30[_0x39cc5d(0x290)]);if(!_0x3055e1)return;this['_fireBeforeHierarchyChange'](_0x3055e1[_0x39cc5d(0x203)],_0x3055e1[_0x39cc5d(0x216)],_0x346f38(_0x3055e1[_0x39cc5d(0x216)]['getTable'](),_0x28bd30['records']),_0x28bd30[_0x39cc5d(0x277)]??_0x198fc0['UI']);return;}if(Q(_0xb91fc1,_0x209820)){let _0x5bab78=_0xb91fc1[_0x39cc5d(0x1ff)],_0x41b962=this[_0x39cc5d(0x22a)](_0x5bab78[_0x39cc5d(0x24d)],_0x5bab78[_0x39cc5d(0x290)]);if(!_0x41b962)return;this['_fireBeforeHierarchyChange'](_0x41b962[_0x39cc5d(0x203)],_0x41b962[_0x39cc5d(0x216)],_0x346f38(_0x41b962['table'][_0x39cc5d(0x310)](),[_0x5bab78[_0x39cc5d(0x2bc)]]),_0x5bab78[_0x39cc5d(0x277)]??_0x198fc0['UI']);return;}if(Q(_0xb91fc1,_0x345dff)){let _0x34efc7=_0xb91fc1[_0x39cc5d(0x1ff)],_0x1333f8=this['_getHierarchyEventContext'](_0x34efc7['unitId'],_0x34efc7['tableId']);if(!_0x1333f8)return;let _0x27942b=_0x1333f8[_0x39cc5d(0x216)][_0x39cc5d(0x310)](),_0xa04c41=_0x34efc7[_0x39cc5d(0x292)]??_0x312492(_0x27942b),_0x50d9e9=_0x345aca(_0x27942b,_0xa04c41)[_0x39cc5d(0x201)]['get'](_0x34efc7['recordId'])??null;this[_0x39cc5d(0x246)](_0x1333f8['base'],_0x1333f8['table'],[{'tableId':_0x34efc7['tableId'],'fieldId':_0xa04c41,'recordId':_0x34efc7[_0x39cc5d(0x275)],'oldParentRecordId':_0x50d9e9,'parentRecordId':_0x34efc7[_0x39cc5d(0x20c)]}],_0x34efc7[_0x39cc5d(0x277)]??_0x198fc0['UI']);return;}if(Q(_0xb91fc1,_0x168ce8)){let _0x4e9807=_0xb91fc1[_0x39cc5d(0x1ff)],_0x19ee15=this['_getHierarchyEventContext'](_0x4e9807[_0x39cc5d(0x24d)],_0x4e9807['tableId']);if(!_0x19ee15)return;let _0x229cbe=_0x4e9807[_0x39cc5d(0x292)]??_0x312492(_0x19ee15[_0x39cc5d(0x216)]['getTable']());this[_0x39cc5d(0x246)](_0x19ee15['base'],_0x19ee15['table'],[{'tableId':_0x4e9807['tableId'],'fieldId':_0x229cbe,'recordId':_0x4e9807[_0x39cc5d(0x2bc)]['id'],'oldParentRecordId':null,'parentRecordId':_0x4e9807[_0x39cc5d(0x20c)]}],_0x4e9807[_0x39cc5d(0x277)]??_0x198fc0['UI']);return;}if(Q(_0xb91fc1,_0x44f0bf)){let _0x5f2e6a=_0xb91fc1[_0x39cc5d(0x1ff)],_0x46c268=this[_0x39cc5d(0x22a)](_0x5f2e6a[_0x39cc5d(0x24d)],_0x5f2e6a['tableId']);if(!_0x46c268)return;this[_0x39cc5d(0x246)](_0x46c268[_0x39cc5d(0x203)],_0x46c268[_0x39cc5d(0x216)],_0x7c08d9(_0x46c268['table'][_0x39cc5d(0x310)](),[_0x5f2e6a[_0x39cc5d(0x275)]]),_0x5f2e6a[_0x39cc5d(0x277)]??_0x198fc0['UI']);return;}if(Q(_0xb91fc1,_0xb3d33d)){let _0x475a2a=_0xb91fc1[_0x39cc5d(0x1ff)],_0x1f349a=this[_0x39cc5d(0x22a)](_0x475a2a[_0x39cc5d(0x24d)],_0x475a2a[_0x39cc5d(0x290)]);if(!_0x1f349a)return;this[_0x39cc5d(0x246)](_0x1f349a[_0x39cc5d(0x203)],_0x1f349a[_0x39cc5d(0x216)],_0x7c08d9(_0x1f349a[_0x39cc5d(0x216)][_0x39cc5d(0x310)](),_0x475a2a[_0x39cc5d(0x2d9)]),_0x475a2a[_0x39cc5d(0x277)]??_0x198fc0['UI']);return;}if(!Q(_0xb91fc1,_0x13c61e))return;let _0x4be547=_0xb91fc1[_0x39cc5d(0x1ff)],_0x793a19=this[_0x39cc5d(0x22a)](_0x4be547[_0x39cc5d(0x24d)],_0x4be547[_0x39cc5d(0x290)]);if(!_0x793a19)return;let _0x12a07f=_0x793a19['table'][_0x39cc5d(0x310)]();if(!_0x303b25(_0x12a07f)[_0x39cc5d(0x25a)](_0x4be547[_0x39cc5d(0x292)]))return;let _0x53fdbd=_0x345aca(_0x12a07f,_0x4be547[_0x39cc5d(0x292)])[_0x39cc5d(0x201)][_0x39cc5d(0x307)](_0x4be547[_0x39cc5d(0x275)])??null,_0x37b85e=_0x855fa7(_0x4be547['value'])[0x0]??null;_0x53fdbd!==_0x37b85e&&this['_fireBeforeHierarchyChange'](_0x793a19[_0x39cc5d(0x203)],_0x793a19[_0x39cc5d(0x216)],[{'tableId':_0x4be547['tableId'],'fieldId':_0x4be547[_0x39cc5d(0x292)],'recordId':_0x4be547[_0x39cc5d(0x275)],'oldParentRecordId':_0x53fdbd,'parentRecordId':_0x37b85e}],_0x4be547['source']??_0x198fc0['UI']);}))),this['disposeWithMe'](this[_0x3313cc(0x2eb)](this['Event'][_0x3313cc(0x2d0)],()=>this[_0x3313cc(0x2e9)][_0x3313cc(0x1e5)](_0x3f0770=>{const _0x3c12f6=_0x3313cc;if(_0x3f0770['id']!==_0x132b85['id'])return;let {unitId:_0x3b81e0,table:_0x3994fb,index:_0xed464f}=_0x3f0770[_0x3c12f6(0x1ff)],_0x4e7f50=this[_0x3c12f6(0x245)](_0x3b81e0);if(!_0x4e7f50)return;let _0x28a21f={'base':_0x4e7f50,'table':_0x3994fb,'index':_0xed464f};if(this['fireEvent'](this[_0x3c12f6(0x278)]['BeforeBaseTableCreate'],_0x28a21f),_0x28a21f['cancel'])throw new _0x23915c();}))),this[_0x3313cc(0x270)](this[_0x3313cc(0x2eb)](this[_0x3313cc(0x278)][_0x3313cc(0x223)],()=>this['_commandService'][_0x3313cc(0x1e5)](_0x178c76=>{const _0x381fe8=_0x3313cc;if(_0x178c76['id']!==_0x15e597['id'])return;let {unitId:_0x1b76d9,tableId:_0x460c35,field:_0x54b973,index:_0x48f0bb,viewIndexes:_0x42948c}=_0x178c76[_0x381fe8(0x1ff)],_0x821efa=this[_0x381fe8(0x245)](_0x1b76d9);if(!_0x821efa)return;let _0x3a6ca1=_0x821efa[_0x381fe8(0x30b)](_0x460c35);if(!_0x3a6ca1)return;let _0x1c8f8a={'base':_0x821efa,'table':_0x3a6ca1,'field':_0x54b973,'index':_0x48f0bb,'viewIndexes':_0x42948c};if(this[_0x381fe8(0x1da)](this[_0x381fe8(0x278)][_0x381fe8(0x223)],_0x1c8f8a),_0x1c8f8a['cancel'])throw new _0x23915c();}))),this[_0x3313cc(0x270)](this['registerEventHandler'](this['Event'][_0x3313cc(0x2d8)],()=>this[_0x3313cc(0x2e9)][_0x3313cc(0x1e5)](_0x4f1e75=>{const _0x3b6aec=_0x3313cc;if(_0x4f1e75['id']!==_0x44b407['id']&&_0x4f1e75['id']!==_0x280e1e['id'])return;let _0x2030b6=_0x4f1e75[_0x3b6aec(0x1ff)],{unitId:_0x42103e,tableId:_0x52e499}=_0x2030b6,_0x2d65b4=_0x2030b6['records']??[_0x2030b6[_0x3b6aec(0x2bc)]],_0x37dc35=this['getBase'](_0x42103e);if(!_0x37dc35)return;let _0x52f1df=_0x37dc35['getTableById'](_0x52e499);if(!_0x52f1df)return;let _0x418807={'base':_0x37dc35,'table':_0x52f1df,'records':_0x2d65b4};if(this['fireEvent'](this[_0x3b6aec(0x278)][_0x3b6aec(0x2d8)],_0x418807),_0x418807[_0x3b6aec(0x2b8)])throw new _0x23915c();}))),this['disposeWithMe'](this[_0x3313cc(0x2eb)](this[_0x3313cc(0x278)][_0x3313cc(0x230)],()=>this[_0x3313cc(0x2e9)][_0x3313cc(0x1e5)](_0x51ca35=>{const _0x471322=_0x3313cc;if(_0x51ca35['id']!==_0x58c95d['id'])return;let {unitId:_0x3d6ca3,tableId:_0x5bed9c,view:_0x3c93b7,index:_0x2692dd}=_0x51ca35[_0x471322(0x1ff)],_0x2d5e6a=this[_0x471322(0x245)](_0x3d6ca3);if(!_0x2d5e6a)return;let _0x6d2bf2=_0x2d5e6a[_0x471322(0x30b)](_0x5bed9c);if(!_0x6d2bf2)return;let _0x57ae15={'base':_0x2d5e6a,'table':_0x6d2bf2,'view':_0x3c93b7,'index':_0x2692dd};if(this[_0x471322(0x1da)](this[_0x471322(0x278)][_0x471322(0x230)],_0x57ae15),_0x57ae15['cancel'])throw new _0x23915c();}))),this[_0x3313cc(0x270)](this[_0x3313cc(0x2eb)](this[_0x3313cc(0x278)][_0x3313cc(0x2bd)],()=>this[_0x3313cc(0x2e9)][_0x3313cc(0x1e5)](_0x469d03=>{const _0x2e1d00=_0x3313cc;if(_0x469d03['id']!==_0x13c61e['id'])return;let {unitId:_0x88634b,tableId:_0xf3090,recordId:_0x1928c4,fieldId:_0x589abd,value:_0x2e18b1}=_0x469d03[_0x2e1d00(0x1ff)],_0x185966=this[_0x2e1d00(0x245)](_0x88634b);if(!_0x185966)return;let _0x1d5195=_0x185966['getTableById'](_0xf3090);if(!_0x1d5195)return;let _0x52a086=_0x1d5195[_0x2e1d00(0x29d)](_0x589abd);if(!_0x52a086)return;let _0xd23963=_0x1d5195[_0x2e1d00(0x320)](_0x1928c4);if(!_0xd23963)return;let _0x366baf={'base':_0x185966,'table':_0x1d5195,'field':_0x52a086,'record':_0xd23963,'value':_0x2e18b1};if(this['fireEvent'](this['Event'][_0x2e1d00(0x2bd)],_0x366baf),_0x366baf[_0x2e1d00(0x2b8)])throw new _0x23915c();})));}[_0x46a1c2(0x22a)](_0x5e4eea,_0x277aa4){const _0x5ce846=_0x46a1c2;let _0xb68665=this[_0x5ce846(0x245)](_0x5e4eea),_0x7fbbdc=_0xb68665==null?void 0x0:_0xb68665[_0x5ce846(0x30b)](_0x277aa4);return _0xb68665&&_0x7fbbdc?{'base':_0xb68665,'table':_0x7fbbdc}:null;}[_0x46a1c2(0x246)](_0x511ff1,_0x3af0da,_0x465be1,_0x34993b){const _0x315a9e=_0x46a1c2;if(!_0x465be1[_0x315a9e(0x268)])return;let _0x35fc8b={'base':_0x511ff1,'table':_0x3af0da,'changes':_0x465be1,'source':_0x34993b};if(this[_0x315a9e(0x1da)](this[_0x315a9e(0x278)][_0x315a9e(0x231)],_0x35fc8b),_0x35fc8b[_0x315a9e(0x2b8)])throw new _0x23915c();}};function Q(_0x1cf48c,_0x299065){const _0x543cbb=_0x46a1c2;return _0x1cf48c['id']===_0x299065['id']&&_0x1cf48c[_0x543cbb(0x1ff)]!==void 0x0;}_0x17aaa4[_0x46a1c2(0x311)](st);var ct=class extends _0x2f3189{get[_0x46a1c2(0x2f1)](){return _0xafe9b1;}get[_0x46a1c2(0x2e3)](){return _0x1e5d95;}get[_0x46a1c2(0x318)](){return _0xe85ca7;}get[_0x46a1c2(0x20e)](){return Ke;}get[_0x46a1c2(0x2e2)](){return _0x477789;}get[_0x46a1c2(0x2e7)](){return _0x5702ac;}get[_0x46a1c2(0x28b)](){return _0x1c1f9f;}get[_0x46a1c2(0x322)](){return _0x82456a;}get['BaseSortDirection'](){return _0xd1049e;}get[_0x46a1c2(0x2da)](){return _0x198fc0;}get[_0x46a1c2(0x309)](){return _0x1a3340;}get[_0x46a1c2(0x211)](){return _0x2df78f;}get[_0x46a1c2(0x22d)](){return _0x33c6e3;}};_0x2f3189[_0x46a1c2(0x311)](ct);var $=class extends _0x47ca81{get[_0x46a1c2(0x2f9)](){const _0x5a9f8b=_0x46a1c2;return _0x5a9f8b(0x2f9);}get[_0x46a1c2(0x2d0)](){const _0x5751dd=_0x46a1c2;return _0x5751dd(0x2d0);}get[_0x46a1c2(0x22c)](){const _0x2a4fa4=_0x46a1c2;return _0x2a4fa4(0x22c);}get[_0x46a1c2(0x223)](){return'BeforeBaseTableFieldCreate';}get['BaseTableRecordCreated'](){const _0x778adc=_0x46a1c2;return _0x778adc(0x1f9);}get['BeforeBaseTableRecordCreate'](){const _0x490116=_0x46a1c2;return _0x490116(0x2d8);}get[_0x46a1c2(0x2d2)](){const _0x24e092=_0x46a1c2;return _0x24e092(0x2d2);}get[_0x46a1c2(0x230)](){const _0x4f8019=_0x46a1c2;return _0x4f8019(0x230);}get[_0x46a1c2(0x295)](){const _0x85d5cb=_0x46a1c2;return _0x85d5cb(0x295);}get['BeforeBaseTableCellValueChange'](){const _0x1cb770=_0x46a1c2;return _0x1cb770(0x2bd);}get[_0x46a1c2(0x2bf)](){const _0xdcc20b=_0x46a1c2;return _0xdcc20b(0x2bf);}get[_0x46a1c2(0x231)](){return'BeforeBaseHierarchyChange';}};function _0x88d1(){const _0x2a8a98=['update','indexOf','Failed\x20to\x20create\x20table\x20\x22','changeType','createInstance','setValues','setConditionalColorRules','group','every','call','BaseTableRecordCreated','getType','getRecords','20fWcFRw','Grid','height','params','setValue','parentByRecordId','getRecord','base','now','getBaseId','createdAt','1092402oxkHJQ','regenerateViewIds','getCurrentUnitOfType','sourceType','deleteProperty','parentRecordId','getViewByName','BaseFieldKeyEnum','getDefaultValue','getDataRange','BaseHierarchyInvalidReason','rows','recordOrder','Failed\x20to\x20duplicate\x20table\x20\x22','index','table','11Dnjmml','addLinkedRecord','insertTable','\x22\x20is\x20not\x20a\x20RecordLink\x20field.','rowId','boolean',':\x20\x22','_initBaseAfterEvents','setName','getRange','thumbnail',',\x20max\x20columns:\x20','BeforeBaseTableFieldCreate','_collectDescendantIds','_getRecord','addRecord','Invalid\x20attachment\x20value\x20for\x20field\x20\x22','mimeType','delete','_getHierarchyEventContext','endColumn','BaseTableFieldCreated','BaseRecordLinkRole','multiple','[FRecord]:\x20failed\x20to\x20create\x20child\x20under\x20\x22','BeforeBaseTableViewCreate','BeforeBaseHierarchyChange','map','\x20Copy','createView','UNIVER_BASE','setOrderKey','4061040MQhSaf','prototype','Duplicate\x20Base\x20field\x20name:\x20','getNumRows','Base\x20regex\x20filter\x20is\x20too\x20long.\x20Maximum\x20length\x20is\x20512.','sort','warn','flatMap','getUnit','1044118xZgxba','type','[FBaseRange]:\x20table\x20does\x20not\x20exist.','900042HKoEkS','Add','getBase','_fireBeforeHierarchyChange','view','_tableId','fieldOrder','value','primaryFieldId','_getHierarchyIndex','unitId','[FBase]:\x20table\x20\x22','getAncestors','getFilter','description','filter','URL','localeCompare','Name','1HdCeoS','[Base\x20Field\x20Facade]:\x20Formula\x20writes\x20require\x20{\x20externalReferences\x20}.\x20Use\x20[]\x20only\x20for\x20a\x20Host-local\x20formula.','Invalid\x20Base\x20formula.','some','includes','getTables','getColumn','duplicate','_projectionService','Calendar','Set','[FTable]:\x20table\x20\x22','saveUnit','getTableId','getValues','moveField','setAttachments','_viewId','length','[FRecord]:\x20record\x20\x22','Failed\x20to\x20bind\x20External\x20References\x20for\x20formula\x20field\x20\x22','operator','Failed\x20to\x20add\x20field\x20\x22','viewOrder','Invalid\x20Base\x20regex\x20filter:\x20','direction','disposeWithMe','getPrimaryFieldId','getParent','reason','[FRecord]:\x20RecordLink\x20field\x20\x22','recordId','data:','source','Event','AND','updatedAt','clear','getVisibleFields','getValue','viewId','rules','fieldSettings','27552HPBuyZ','test','views','isReadonly','targetTableId','Unsupported\x20Base\x20field\x20type\x20\x22','number','\x22\x20must\x20be\x20a\x20non-empty\x20string\x20when\x20provided.','endRow','getField','BaseConditionalColorOperator','tables','formula','getId',',\x20range:\x20','tableId','childrenByParentId','fieldId','_prepareFormulaFieldReferences','Failed\x20to\x20delete\x20table\x20\x22','BaseTableCellValueChanged','config','createBase','Attachment','defaultValue','[FBaseRange]:\x20range\x20is\x20out\x20of\x20bounds.\x20Max\x20rows:\x20','_resolveRecordIds','_univerInstanceService','getFieldById','from','tableOrder','beforeFieldId','invalid','setSort','limit','getFieldSettings','[FBase]:\x20invalid\x20table\x20name\x20\x22','onCommandExecuted','trim','\x20for\x20field\x20\x22','_getView','name','_getFieldIds','getProjection','conditionalColoring','[FRecord]:\x20failed\x20to\x20duplicate\x20record\x20\x22','addField','setConfig','startColumn','getAllUnitsForType','Auto','7840tXfjmu','_initBaseBeforeEvents','startRow','getSnapshot','cancel','fields','getFormulaName','_getTable','record','BeforeBaseTableCellValueChange','decorate','BaseHierarchyChanged','getUnitId','defineProperty','auto','\x22\x20does\x20not\x20exist.','_fieldId','push','[FRecord]:\x20field\x20\x22','field','BASE64','object','getConditionalColorRules','forEach','RecordLink','getRow','_inject','visibleCardFieldIds','BeforeBaseTableCreate','Base\x20field\x20not\x20found:\x20','BaseTableViewCreated','[FBaseTable]:\x20invalid\x20table\x20name\x20\x22','Formula','search','offset','getLinkedRecordIds','BeforeBaseTableRecordCreate','recordIds','BaseEventSource','isArray','valid','setFieldWidth','Gantt','getNumColumns','removeLinkedRecord','[Base\x20Field\x20Facade]:\x20Failed\x20to\x20bind\x20External\x20References.','BaseViewType','BaseFilterConjunction','DESC','afterFieldId','has','BaseConditionalColorTarget','setHierarchyField','_commandService','setDefaultValue','registerEventHandler','queryRecords','getFields','Failed\x20to\x20create\x20view\x20\x22','105FHodYV','conditions','BaseFieldType','syncExecuteCommand','string','createUnit','fieldKey','143vNDApu','hasOwnProperty','slice','BaseTableCreated','system','getName','getView','getDescendants',':\x20\x22url\x22\x20is\x20not\x20supported;\x20use\x20\x22source\x22.','entries','size','Delete','records','stringify','Failed\x20to\x20add\x20records','Gallery','_injector','get','move','BaseHierarchyErrorCode','getDescription','getTableById','_getRecordLinkField','Failed\x20to\x20add\x20record\x20with\x20id\x20\x22','_recordId','addChild','getTable','extend','matches','getTableByName','Remote','64iMXuNj',':\x20\x22type\x22\x20is\x20not\x20supported;\x20use\x20\x22mimeType\x22.','\x22.\x20','BaseFilterOperator','hierarchyChanges','Kanban','Facade','Date','getConfig','updateConfig','max','getRecordById','hidden','BaseConditionalDateMode','getFieldByName','_getField','_writeFormulaExternalReferences','values','getChildren','getViews','_table','getOwnPropertyDescriptor','_range','[FView]:\x20view\x20\x22','fireEvent','Invalid\x20attachment\x20at\x20index\x20','_base','find','\x22\x20must\x20be\x20a\x20non-negative\x20finite\x20number\x20when\x20provided.','fieldIds','\x20exceeds\x20range\x20size\x20','getBases','getSchema','[FField]:\x20field\x20\x22','setLinkedRecordIds','beforeCommandExecuted','externalReferences','getGroup','orderKey','627865ewGdgL','caseSensitive','notMatches','_resourceLoaderService','deepClone','function'];_0x88d1=function(){return _0x2a8a98;};return _0x88d1();}_0x47ca81[_0x46a1c2(0x311)]($);export{Ke as BaseFieldKeyEnum,Z as FBase,X as FBaseTable,B as FBaseTableField,K as FBaseTableRange,J as FBaseTableRecord,Y as FBaseTableView,$ as FBasesEventNameMixin,Je as resolveBaseFieldKey,H as resolveBaseFieldValues};
|