@univerjs-pro/bases 1.0.0-beta.0 → 1.0.0-beta.2
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/validate-base-formula.command.d.ts +8 -0
- package/lib/types/controllers/base-formula-calculation.controller.d.ts +1 -0
- package/lib/types/facade/f-base.d.ts +21 -7
- package/lib/types/facade/f-enum.d.ts +2 -1
- package/lib/types/facade/f-table.d.ts +47 -7
- package/lib/types/index.d.ts +6 -0
- package/lib/types/models/base-table-name.d.ts +8 -0
- package/lib/types/ot/json1-op-factory.d.ts +1 -1
- package/lib/types/services/base-formula.service.d.ts +2 -23
- 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 +8 -8
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function _0x17a2(_0x4d462b,_0x16e6ca){_0x4d462b=_0x4d462b-0xf2;const _0x30cd07=_0x30cd();let _0x17a251=_0x30cd07[_0x4d462b];return _0x17a251;}function _0x30cd(){const _0x50fd21=['ensureBaseTableCellLayout','finally','result','_fastSortRows','manual','parentRecordId','width','text','UniverBasesPlugin','True','recordOrder','limit','findRecordLinkReferences','endDateFieldId','none','EMBED_BASES_TABLE_RESOURCE_KEY','canEditField','#16a34a','off','endsWith','_cacheKey','getUTCDate','421205pUWoQn','diffValue','filter','\x22\x20is\x20referenced\x20by\x20','RemoveSuperTableMutation','invalid','clearFieldPermission','editCell','showFieldNames','[BaseViewRegistryService]:\x20view\x20type\x20\x22','max','pop','repairViewConfig','https://','getBase','object','beforeViewId','getCurrentUser','base.command.update-base-view-conditional-color-rules','CONTAINS','WriteCursor','depthByRecordId','createUpdateCellOp','UpdateBaseFieldDescriptionCommand','[BaseCommandService]:\x20cannot\x20delete\x20field.','baseRows','Gallery\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.','[BaseField]:\x20invalid\x20rating\x20value.','error','getTypeOfUnitDisposed$','fields','major-','getTime','markResultApplied','value','contains','registerView','Date','base.command.set-base-view-group','_factory','base.viewType.grid','getAllUnitsForType','_normalizeCalendarDisplayColor','_buildGrid','color','DD/MM/YYYY','registerCtorForType','[BaseCommandService]:\x20cannot\x20delete\x20primary\x20field.','clearRecordPermission','Number','createDefaultConfig','isBaseRecordIdFieldName','\x20can\x20use\x20dateMode\x20only\x20with\x20Date,\x20CreatedAt,\x20or\x20UpdatedAt\x20fields.','conditionalColoring','recordIds','_getJson1DirtyData','getBaseCellValue','getBaseCellFormulaValue','BaseConditionalColorTarget','_getAllBaseDependencyTreeCacheMap','_matchesGanttColorRule','[BaseCommandService]:\x20cannot\x20delete\x20table.','setBasePermission','base.command.create-base-field','includes','true','custom','periodComma','viewOrder','readonly','base.command.create-base-view','showTodayLine','relationRole','lessThan','decorate','154OvhAnl','base.viewType.kanban','ICommandService','subscribe','parseRecordLinkIds','children','DeleteBaseViewCommand','_tableRevisions','_recordPermissions','normalize','past30','userID','createEmbedBasesTableRemoveMutation','slice','size','[BaseCommandService]:\x20invalid\x20field\x20definition.','[UpdateBaseViewConditionalColorRulesCommand]:\x20rule\x20','base.command.set-base-table-hierarchy-field','mode','JSON1','ApplyBaseJson1Mutation','_viewRevisionKey','_fieldRegistry','greaterThanOrEqual','toPrimitive','[BaseHierarchy]:\x20','Empty','leftPaneCollapsed','720vLigbC','\x20must\x20be\x20an\x20object.','month','UniverProBases','clearTablePermission','entries','base.command.batch-delete-base-records','base.command.delete-base-field','1292412BMrFky','col','_isKanbanGroupField','percent','displayText','UniverCore','matchesBaseCondition','IUndoRedoService','undefined','[BaseCommandService]:\x20cannot\x20create\x20field.','_projectHierarchyGroups','before','groups','\x20references\x20missing\x20or\x20non-public\x20field\x20\x22','BaseProjection.materializeTableRows','[RecordLink]:\x20target\x20record\x20\x22','MissingRecord','getBaseHierarchyDeletePromotions','forEach','dateKit','_getCachedProjection','isFinite','BaseRecordLinkRole','getSupportedBaseFieldStatTypes','dateToExcelSerial','canCreateTable','Calendar\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.','missingField','156850hwjtcu','_bumpTableRevision','Failed\x20to\x20create\x20update\x20cell\x20operation:','resolveBaseDateFieldConfig','SetSuperTableMutation','_groupsCacheKey','Uncategorized','MM-DD','_getSystemFieldValue','BaseJson1.cloneForOp','changeFieldType','projection','Todo','exec','searchBaseTable','url','_syncSuperTables','fieldName','IConfigService','unitData','_cellRevisions','DataSyncPrimaryController','_isColorfulKanbanGroupField','push','base.command.set-base-view-field-order','22EcmSjQ','_toDirtyRangePatch','BaseViewType','thisWeek','_initRegistries','todo','canDeleteTable','#,##0','insertOp','SetBaseViewSortCommand','tables','h12','createRecords','[UpdateBaseViewConditionalColorRulesCommand]:\x20rule\x20at\x20index\x20','sheetId','_kanbanLaneTitle','Cycle','tomorrow','False','touchDependencies','clearBasePermission','_createNumberingAllocators','valueOf','_createNumberingAllocator','\x22\x20must\x20be\x20a\x20non-system\x20field\x20in\x20the\x20target\x20table.','afterViewId','_assertFieldDefinition','_ganttBarColor','BaseJson1OpFactory','boolean','count','_groupProjectionFieldIds','Grid','BaseConditionalColorOperator','table','renameView','SetBaseRecordValuesCommand','Group','FormulaCalculationTriggerService','BaseFilterConjunction','MoveBaseFieldCommand','quarter','pushUndoRedo','local','base.command.duplicate-base-record','refactorFormulaUnitQualifier','values','Text','Optional','getUnit','NOT_CONTAINS','Status','BOOLEAN','RecordId','base.view-registry.service','SetBaseViewFieldOrderCommand',',,\x22M\x22','_setCachedProjection','_calendarEventColor','4TdpqUj','base.command.move-base-view','_groupCellInvalidations','EnsureBaseTemporalViewDateFieldsCommand','_resolveCalendarDateFieldId','@univerjs-pro/engine-formula','sum','BatchCreateBaseRecordsCommand','FORCE_STRING','base.command.update-base-view-config','createdBy','stringify','setRangeValues','[UpdateBaseViewConditionalColorRulesCommand]:\x20duplicate\x20rule\x20id\x20\x22','IBaseCommandService','raw','usableAsCalendarDate','toLocaleString','decimal','subtreeHeightByRecordId','[BaseCommandService]:\x20cannot\x20manage\x20view.','h24','[BaseCommandService]:\x20cannot\x20edit\x20cell.','-record-','row','_resolveCardTitleFieldId','_projectGroups','type','[BaseJson1OpFactory]:\x20cannot\x20move\x20a\x20field\x20before\x20record-id.','add','UniverProLicense','isBaseFieldStatSupported','person','next30','REMOTE_BASES_PLUGIN','startDateFieldId','length','notContains','formatBaseDateValue','hierarchy','_title','_resolveKanbanCoverFieldId','invalidateByCell','at\x20index\x20','round','base.command.set-base-record-values','LESS_THAN','short','UniverProFormulaEnginePlugin','updatedAt','_filterRows','_univerInstanceService','setViewFieldWidth','medium','_configService','_setViewFieldSetting','createdAt','Name','validateBaseHierarchyRecordCreations','calendar','abbreviation','scale','_syncBaseUnit','fieldSettings','moveView','getStructuredDependencies','BASE_HIERARCHY_MAX_LEVELS','[BaseFormula]:\x20table\x20\x22','depth','IUniverInstanceService','embedId','_buildGantt','UpdateBaseCellCommand','setViewFilter','ascend','dateFormat','BaseProjection.projectRows','primaryFieldName','setViewSort','Numbering','reason','end','isNaN','General','format','_isAllDayGanttDateRange','createCreateRecordOp','base.command.create-base-child-record','operator','UpdateBaseFieldCommand','_kanbanGroupKeys',':start','matchAll','[BaseField]:\x20invalid\x20person\x20value.','Set','focusUnit','CreatedBy','IBasePermissionService','usableAsCardCover','[BaseHierarchy]:\x20field\x20\x22','_applier','coverFieldId','toDisposable','flatMap','compose','_setFormulaFieldCells','allowMultiple','_projectedRowsCache','_tablePermissions','[BaseField]:\x20invalid\x20multi-value\x20reference.','base.field-registry.service','registerCommand','system','getOwnPropertyDescriptor','replaceOp','[BaseField]:\x20invalid\x20date\x20value.','5260fNpMdP','target','subtreeEndIndex','getBaseConditionalColorOperators','lastIndexOf','[BaseCommandService]:\x20cannot\x20edit\x20field.','BatchDeleteBaseRecordsCommand','CreateBaseChildRecordCommand','sequenceExecute','apply','fieldId','_viewRowsCacheKey','bases.fieldConfig.textPlaceholder','_projectedViewRowsCache','numfmt','\x20must\x20have\x20a\x20valid\x20CSS\x20color.','indexOf','isBaseConditionalColorDateField','titleFieldId','_resolveKanbanCardFieldIds','config','__UNIVER_BASE_PERF__','key','_initCommands','deleteView','bases.fieldConfig.linkPlaceholder','base.command.create-base-table','deepClone','Plugin','number','canDeleteRecord','CreateBaseRecordCommand','invalidGroupField','orderKey','rules','valid','base.viewType.calendar','prototype','_getHierarchyIndex','resources','column','setViewFieldOrder','getVisibleBaseHierarchyRows','getCurrentUserId','_getViewRevision','_injector','Unchecked','getRecordLinkFieldConfig','_deleteAttachmentResources','isBaseFieldStatEmptyValue','_baseSyncDisposables','MultiSelect','gantt','isEmpty','base.fieldType.','_buildKanban','sortedView','$1\x20','_kanbanLaneColor','hostAnchorId','locale','_projectionCache','[RecordLink]:\x20value\x20is\x20not\x20a\x20canonical\x20record\x20id\x20list.','_withModifiedSystemValues','createDefaultValue','IS_NOT','_permissionService','isBaseHierarchyField','BaseDataModel','SetBaseViewGroupCommand','code','_resolveKanbanGroupFieldId','_scheduledSuperTableSyncs','weekdays','_createNumberingFieldValuePatches','view','base.command.set-base-range-values','SetTriggerFormulaCalculationStartMutation','recordId','IS_EMPTY','columns','globalRevision','min','measure','has','BaseCommand.createBatchCreateRecordsOp','createRecord','getAllBases','BaseConditionalDateMode','string','now','inferBaseSeparatorStyle','viewId','_patchCachedProjectedRows','_cellInvalidations','onCommandExecuted','_findCalendarDateFieldId','conjunction','splice','isNot','invalidateByField','_applyingFormulaResults','formatBaseProgressValue','Checkbox','Email','validateBaseHierarchyRecordPatches','[RecordLink]:\x20a\x20single\x20link\x20accepts\x20only\x20one\x20record\x20id.','protocol','_capabilities','IActiveDirtyManagerService','conditional','parentFieldName','canCreateRecord','getUTCFullYear','_getOrderedRecords','keys','past7','BaseHierarchyErrorCode','recordPatch','lastMonth','working','amd','createField','createIdentifier','createRegExpFromSafeFragment','Attachment','SetBaseKanbanGroupFieldCommand','setViewGroup','afterFieldId','_plugins','tableOrder','_scheduleSuperTableSync','createView','createSetRecordValuesOp','createViewId','_getAllTableIds','cell','forValue','blue','cellData','BASE','card','IS_NOT_EMPTY','\x22\x20does\x20not\x20exist.','symbol','716805ZmuKdE','_initDataSync','separatorStyle','duplicateField','_getTableRevision','merge','#3b82f6','_activeDirtyManagerService','fromEntries','Delete','RecordLink','progressFieldId','updateField',':end',',\x22K\x22','bases.config','Tools','validate','SetBaseViewFilterCommand','[BaseCommandService]:\x20cannot\x20delete\x20a\x20RecordLink\x20target\x20table\x20(','getActiveBaseHierarchyFieldIds','_recordIds','RenameBaseTableCommand','base.command.set-base-view-field-visible','selectField','base.command.batch-create-base-records','operand','_normalizeGanttConfig','__base_hierarchy_parent__','fieldIds','base.command.set-base-kanban-group-field','colIndex','[RecordLink]:\x20field\x20config\x20is\x20invalid.','packageName','setRecordValues','trigger','spacePeriod','setConfig','tableRevision','ColorKit','canManageView','yyyy/mm/dd','executeCommand','createSuperTableReference','dependencyFieldId','beforeFieldId','_groupConfigCacheSegment','[BaseCommandService]:\x20cannot\x20edit\x20readonly\x20field.','[RecordLink]:\x20display\x20field\x20\x22','oldParentRecordId','UNIVER_EMBED_BASES_TABLE','\x20has\x20unsupported\x20date\x20mode\x20\x22','UniverRemoteBasesPlugin','_normalizeCalendarConfig','usableAsGanttStart','validateRecordLinkValue','[BaseField]:\x20invalid\x20checkbox\x20value.','snapshot','attachment-','recordNamePrefix','[BaseCommandService]:\x20cannot\x20move\x20a\x20field\x20before\x20record-id.','IBaseViewRegistryService','set','default','fieldIndex','invertWithDoc','base.command.update-base-record-order','base.command.set-base-view-filter','CellValueType','facade','FieldId','workingDays','_buildCalendar','updateRecordOrder','getTypeOfUnitAdded$','name','source','_normalizeCellValue','isNotEmpty','setRecordPermission','FormulaResultApplicationType','CommandType','DESC','BaseProjection.getProjection','Calendar','cardLayout','clear','BASE_FIELD_STAT_TYPES','Formula','formatBaseFieldStatValue','trim','@univerjs/core','decimalPlaces','renameFormulaUnitReferences','_fieldPermissions','majorHeaders','_projectedGroupsCache','NumberFormat','projectBaseHierarchy','selfParent','BaseSortDirection','sort','colId','@univerjs-pro/license','usableAsGanttEnd','_setAttachmentResources','http:','[RecordLink]:\x20target\x20table\x20does\x20not\x20exist\x20in\x20this\x20Base.','searchTexts','setViewFieldVisible','tableId','descendPath','en-US','displayColor','_createRecordOrderOp','[DeleteBaseTableCommand]:\x20table\x20\x22','STRING','BaseHierarchyInvalidReason','_getCurrentUserId','getSnapshot','base.command.set-base-view-field-width','greaterThan','DeleteBaseTableCommand','reduce','_hierarchyIndexCache','multiple','assign','currencySymbol','invalidateByView','BEFORE','_globalRevision','canCreateField','_patchProjectedRowsForCellInvalidations','search','AFTER','BASES_PLUGIN','normalizeBaseDateSerial','dateMode','_getTablesToNormalize','map','getBaseHierarchyFieldId','attachment','_getTable','viewRevision','_registeredSuperTableNames','createTable','Gantt','_dataSyncPrimaryController','Disposable','base-perf','\x22\x20with\x20field\x20type\x20\x22','validateRecordLinkField','1CeJMJp','_replaceOptional','version','invalidReasonByRecordId','CreateBaseViewCommand','GREATER_THAN','Person','registerSuperTable','average','day','Facade','fld-','_runtimeContext','@univerjs-pro/bases','_formulaService','validateCanonicalRecordLinkValue','BASE_RECORD_ID_FIELD_ID','[BaseJson1OpFactory]:\x20cannot\x20write\x20record-id.','localeCompare','delete','after','deleteRecord','SortedView','record','_rowTransformCacheSegment','setHours','_isAllowedKanbanGroupField','formatToParts','startsWith','Checked','mark','rule','index','getDay','_initialize','_resolveGalleryCoverFieldId','UpdatedBy','base.permission.service','field','frozenFieldCount','assertBaseTableRecordIdentity','_isCalendarDateField','isInteger','SelfParent','conditions','start','href','__all__','lastIndex','uniqueTableName','181380OeyqPc','_buildGallery','options','Remote','iterator','DeleteBaseFieldCommand','syncExecuteCommand','getAffectedRanges','MaxDepth','base-perf-','edit','ObjectMatrix','order','\x22\x20must\x20be\x20a\x20same-table,\x20single-value\x20RecordLink.','applyOp','_views','maxDepth','_commandService','generateRandomId','formula','updateCell','https:','invalidDateField','_formulaCalculationTriggerService','Currency','getCapabilities','redo','UniverLicensePlugin','primaryFieldId','compare','Start\x20date','join','score','hidden','\x22\x20is\x20not\x20registered.','validateFormula','viewIndexes','fieldOrder','_filterSortFieldIds','renameTable','empty','_isNonEmptyCellValue','[BasePerf]\x20','year','records','Working\x20day','view-','univer.basePerf','label','\x20cannot\x20use\x20operator\x20\x22','SetBaseRangeValuesCommand','updateViewConfig','parse','[BaseCommandService]:\x20field\x20\x22','unique','deleteField','leftPaneWidth','moveField','toFixed','remove','createEmbedBasesTable','registerTable','columnSettings','_initDependencies','setTablePermission','Progress','Phone','displayFieldId','_basePermissions','function','MUTATION','Parent','isArray','h:mm\x20a','base.viewType.gallery','UpdateBaseKanbanConfigCommand','group','unitId','#,##0.00','query','missingRecord','createBaseHierarchyParentField','from','views','_resolveGalleryCardFieldIds','description','exception-','_formulaCalculationSessionService','regexp','[BaseField]:\x20invalid\x20email\x20value.','isBaseFieldStatType','revision','base.command.set-base-name','exact','cellRevision','Kanban','CreatedAt','invalidField','_onCommandExecuted','_createRecordWithDefaults','Inject','InvalidField','rows','useThousands','unitOtherData','date','[UpdateBaseViewConditionalColorRulesCommand]:\x20rules\x20must\x20be\x20an\x20array.','[BaseCommandService]:\x20cannot\x20create\x20record.','DependentOn','getUTCMonth','_cellInvalidationsTouchFields','patches','COLUMN','getAll','2441760LQRIJd','attachments','cycle','base.command.change-base-field-type','week','call','MissingParent','buildBaseHierarchyIndex','unknown','Grid\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.','getTypePlugin','_normalizeGalleryConfig','general','option-','direction','BaseJson1OpApplier','getUnitId','ruleId','setBaseName','padStart','base.command.ensure-base-temporal-view-date-fields','params','tableName','invalidateByOp','groupFieldId','rowIndex','base.command.service','deleteRecords','getUTCDay','base.command.duplicate-base-field','colorFieldId','hasOwnProperty','SingleSelect','exports','_createSystemFieldValuePatches','registerSyncingMutations','test','precision','dispose','deleteTable','UpdatedAt','NUMBER','_projectRows','thisMonth','createCreateFieldOp','level','[BaseCommandService]:\x20cannot\x20delete\x20record.','defaultValue','registerSuperTables','_canUseFastSort','-field-name','_viewRevisions','Rating','_projectFields','_formulaSyncQueue','undo','1.0.0-beta.0','today','_isGanttDateField','End\x20date','normal','orderedRecordIds','find','[BaseCommandService]:\x20invalid\x20RecordLink\x20value.','changed','canEditCell','BASE_HIERARCHY_PARENT_FIELD_ID','duplicateRecord','removeOp','SetBaseTableHierarchyFieldCommand','cardSize','register','workingDaysOnly','UNIVER_BASE','resolveBaseHierarchyFieldId','[BaseCommandService]:\x20invalid\x20cell\x20value.','[BaseField]:\x20invalid\x20phone\x20value.','base.command.update-base-field','[BaseFormula]:\x20A1\x20references\x20and\x20ranges\x20are\x20not\x20supported\x20in\x20Base\x20formulas.','IBaseCellData.ensureTableCellLayout','Import','createUnit','UniverRpc','getSuperTableRegistrations','includeRecords','Doing','_getStructureDirtyTableIds','base.command.delete-base-table','_config','_materializeGroups','[BaseField]:\x20negative\x20numbers\x20are\x20disabled.','toLowerCase','UTC','copyBaseTableSnapshot','@univerjs/engine-formula','getMonth','pattern','getFullYear','some','base.command.move-base-field','BaseFieldType','BaseJson1.json1Apply','Parent\x20Items','targetTableId','attachmentSet','pickerFieldIds','canDeleteField','_getCellRevision','formula.mutation.set-formula-calculation-result','replace','exceptions','rowId','base.command.delete-base-record','fromPlainText','timeslotSize','[BaseField]:\x20invalid\x20number\x20value.','abs','base.command.update-base-kanban-config','unshift','_findKanbanGroupField','_projectTableRows','UniverInstanceType','[BaseCommandService]:\x20cannot\x20change\x20record-id\x20field\x20type.','Link','invertOp','Add','BaseProjection.projectTableRows','kanban','tryMaterializeSnapshot','attachmentSets','catch','base.command.move-base-hierarchy-record','_applyFormulaResult','editable','childType','then','@univerjs/rpc','next7','every','_resolveGanttDateFieldId','_sortRows','COMMAND','DuplicateBaseRecordCommand','updatedBy','recordCount','get','regenerateViewIds','toStringTag','nodes','UpdateBaseViewConditionalColorRulesCommand','_enqueueFormulaSync','[BaseField]:\x20invalid\x20progress\x20value.','_removeSuperTables','info','__tempBatchingUndoRedo','validateBaseHierarchyMove','includeTime','UpdateBaseViewConfigCommand','disposeWithMe','defineProperty','filled','SetBaseViewFieldVisibleCommand','lessThanOrEqual','_apply','Gallery','RenameBaseViewCommand','long','parentByRecordId','BaseJson1.syncCellInvalidations','_normalizeGanttDisplayColor','[RecordLink]:\x20value\x20must\x20be\x20a\x20canonical\x20string.','Module','rootRecordIds','[BaseCommandService]:\x20record-id\x20is\x20reserved.','title'];_0x30cd=function(){return _0x50fd21;};return _0x30cd();}(function(_0x5cf653,_0x13fb77){const _0x5eb154=_0x17a2,_0x42e76c=_0x5cf653();while(!![]){try{const _0x2d5c1f=parseInt(_0x5eb154(0x2b4))/0x1*(parseInt(_0x5eb154(0x4a8))/0x2)+-parseInt(_0x5eb154(0x21c))/0x3+-parseInt(_0x5eb154(0x117))/0x4*(parseInt(_0x5eb154(0x41d))/0x5)+parseInt(_0x5eb154(0x2e6))/0x6*(parseInt(_0x5eb154(0x468))/0x7)+-parseInt(_0x5eb154(0x358))/0x8+-parseInt(_0x5eb154(0x484))/0x9*(-parseInt(_0x5eb154(0x18b))/0xa)+-parseInt(_0x5eb154(0x4c1))/0xb*(-parseInt(_0x5eb154(0x48c))/0xc);if(_0x2d5c1f===_0x13fb77)break;else _0x42e76c['push'](_0x42e76c['shift']());}catch(_0x3c4de0){_0x42e76c['push'](_0x42e76c['shift']());}}}(_0x30cd,0x5af5b),function(_0xaec4d8,_0x5926f6){const _0x3df07d=_0x17a2;typeof exports==_0x3df07d(0x42c)&&typeof module<'u'?_0x5926f6(exports,require('@univerjs/core'),require('@univerjs-pro/engine-formula'),require('@univerjs-pro/license'),require('@univerjs/rpc'),require('@univerjs/engine-formula')):typeof define==_0x3df07d(0x32b)&&define[_0x3df07d(0x204)]?define([_0x3df07d(0x379),_0x3df07d(0x277),_0x3df07d(0x11c),_0x3df07d(0x283),_0x3df07d(0x3e0),_0x3df07d(0x3b6)],_0x5926f6):(_0xaec4d8=typeof globalThis<'u'?globalThis:_0xaec4d8||self,_0x5926f6(_0xaec4d8[_0x3df07d(0x487)]={},_0xaec4d8[_0x3df07d(0x491)],_0xaec4d8['UniverProEngineFormula'],_0xaec4d8[_0x3df07d(0x135)],_0xaec4d8[_0x3df07d(0x3aa)],_0xaec4d8['UniverEngineFormula']));}(this,function(_0x3cb4f6,_0x9b4f24,_0x57d3e9,_0x4ff405,_0x17acc9,_0x3e8dfc){const _0x164ecf=_0x17a2;Object['defineProperty'](_0x3cb4f6,Symbol[_0x164ecf(0x3eb)],{'value':_0x164ecf(0x403)});function _0xfcdc79(_0x55e8c3){const _0xf5ccda=_0x164ecf;let _0x519480=_0x55e8c3[_0xf5ccda(0x19f)][_0xf5ccda(0x3bf)],_0x331b13=_0x55e8c3[_0xf5ccda(0x19f)][_0xf5ccda(0x299)],_0xfc40a3=_0x55e8c3[_0xf5ccda(0x19f)][_0xf5ccda(0x329)],_0x1a63ee=_0x55e8c3[_0xf5ccda(0x19f)][_0xf5ccda(0x3c1)],_0x5803eb=_0x55e8c3[_0xf5ccda(0x19f)]['relationRole'];return typeof _0x519480!='string'||!_0x519480||typeof _0x331b13!=_0xf5ccda(0xf9)||_0xfc40a3!==void 0x0&&(typeof _0xfc40a3!=_0xf5ccda(0x1e4)||!_0xfc40a3)||_0x5803eb!==void 0x0&&_0x5803eb!==_0x9b4f24[_0xf5ccda(0x4a2)]['Parent']||_0x1a63ee!==void 0x0&&(!Array[_0xf5ccda(0x32e)](_0x1a63ee)||_0x1a63ee[_0xf5ccda(0x3ba)](_0x1c62a0=>typeof _0x1c62a0!=_0xf5ccda(0x1e4)||!_0x1c62a0)||new Set(_0x1a63ee)[_0xf5ccda(0x476)]!==_0x1a63ee[_0xf5ccda(0x13b)])?null:{'targetTableId':_0x519480,'multiple':_0x331b13,..._0xfc40a3?{'displayFieldId':_0xfc40a3}:{},..._0x1a63ee?{'pickerFieldIds':[..._0x1a63ee]}:{},..._0x5803eb?{'relationRole':_0x5803eb}:{}};}function _0x3768f1(_0x28732f){const _0x195a90=_0x164ecf;return typeof _0x28732f!=_0x195a90(0x1e4)||_0x28732f===''?[]:_0x28732f['split'](',');}function _0x50a032(_0x980d61){const _0x97656c=_0x164ecf;return Array[_0x97656c(0x338)](new Set(_0x980d61))[_0x97656c(0x305)](',');}function _0x57631c(_0x13ecb0,_0x20b6f6){const _0x2e6b0b=_0x164ecf;if(typeof _0x13ecb0!=_0x2e6b0b(0x1e4))return{'valid':!0x1,'reason':_0x2e6b0b(0x402)};if(_0x13ecb0==='')return{'valid':!0x0};let _0x18ef66=_0x13ecb0['split'](',');return!_0x20b6f6&&_0x18ef66[_0x2e6b0b(0x13b)]>0x1?{'valid':!0x1,'reason':_0x2e6b0b(0x1f5)}:_0x18ef66[_0x2e6b0b(0x3ba)](_0x2072c1=>!(0x0,_0x9b4f24['isValidBaseRecordId'])(_0x2072c1))||new Set(_0x18ef66)[_0x2e6b0b(0x476)]!==_0x18ef66[_0x2e6b0b(0x13b)]||_0x50a032(_0x18ef66)!==_0x13ecb0?{'valid':!0x1,'reason':_0x2e6b0b(0x1c9)}:{'valid':!0x0};}function _0x13d5f8(_0x5f0123,_0x38ebee){const _0x2ae34a=_0x164ecf;if(_0x38ebee[_0x2ae34a(0x132)]!==_0x9b4f24['BaseFieldType'][_0x2ae34a(0x226)])return{'valid':!0x0};let _0x33cb05=_0xfcdc79(_0x38ebee),_0x959022=_0x33cb05?_0x5f0123[_0x2ae34a(0x4cb)][_0x33cb05[_0x2ae34a(0x3bf)]]:void 0x0;if(!_0x33cb05||!_0x959022)return{'valid':!0x1,'reason':_0x2ae34a(0x287)};let _0x116da8=[..._0x33cb05[_0x2ae34a(0x329)]?[_0x33cb05[_0x2ae34a(0x329)]]:[],..._0x33cb05[_0x2ae34a(0x3c1)]??[]][_0x2ae34a(0x396)](_0x39eaef=>{const _0x5c7681=_0x2ae34a;let _0x41dfd1=_0x959022[_0x5c7681(0x43b)][_0x39eaef];return!_0x41dfd1||_0x41dfd1[_0x5c7681(0x187)]===!0x0||_0x41dfd1[_0x5c7681(0x132)]===_0x9b4f24['BaseFieldType'][_0x5c7681(0x111)];});return _0x116da8?{'valid':!0x1,'reason':_0x2ae34a(0x24c)+_0x116da8+_0x2ae34a(0xf4)}:{'valid':!0x0};}function _0x4cc18c(_0x687ded,_0x31302f,_0x21a7f2,_0x3bb434={}){const _0x3dee97=_0x164ecf;let _0x43f0a3=_0xfcdc79(_0x31302f);if(_0x31302f['type']!==_0x9b4f24[_0x3dee97(0x3bc)][_0x3dee97(0x226)]||!_0x43f0a3)return{'valid':!0x1,'reason':_0x3dee97(0x23c)};let _0x5d79d5=_0x57631c(_0x21a7f2,_0x43f0a3[_0x3dee97(0x299)]);if(!_0x5d79d5[_0x3dee97(0x1ae)]||_0x3bb434['allowDangling'])return _0x5d79d5;let _0x512b29=_0x687ded[_0x3dee97(0x4cb)][_0x43f0a3[_0x3dee97(0x3bf)]];if(!_0x512b29)return{'valid':!0x1,'reason':_0x3dee97(0x287)};let _0x1b145e=_0x3768f1(_0x21a7f2)[_0x3dee97(0x396)](_0x2f4edb=>!_0x512b29[_0x3dee97(0x312)][_0x2f4edb]);return _0x1b145e?{'valid':!0x1,'reason':_0x3dee97(0x49b)+_0x1b145e+_0x3dee97(0x21a)}:{'valid':!0x0};}function _0x220b8a(_0x34ca94,_0x56f5cf){const _0x107546=_0x164ecf;return Object[_0x107546(0x10a)](_0x34ca94[_0x107546(0x4cb)])[_0x107546(0x17e)](_0x304971=>Object[_0x107546(0x10a)](_0x304971['fields'])[_0x107546(0x17e)](_0x51e068=>{const _0x396546=_0x107546;let _0x39daf3=_0x51e068['type']===_0x9b4f24[_0x396546(0x3bc)]['RecordLink']?_0xfcdc79(_0x51e068):null;return(_0x39daf3==null?void 0x0:_0x39daf3[_0x396546(0x3bf)])===_0x56f5cf?[{'tableId':_0x304971['id'],'fieldId':_0x51e068['id']}]:[];}));}let _0x5dd7b3=_0x164ecf(0x238),_0x5af7d7=function(_0x3f23be){const _0x339338=_0x164ecf;return _0x3f23be[_0x339338(0x34b)]=_0x339338(0x347),_0x3f23be[_0x339338(0x49c)]=_0x339338(0x336),_0x3f23be[_0x339338(0x2df)]=_0x339338(0x27f),_0x3f23be[_0x339338(0x4d1)]=_0x339338(0x35a),_0x3f23be[_0x339338(0x2ee)]=_0x339338(0x2f6),_0x3f23be[_0x339338(0x2ca)]=_0x339338(0x1c3),_0x3f23be;}({});var _0x4c5b17=class extends Error{constructor(_0x5d93d5,_0x52398f=_0x164ecf(0x481)+_0x5d93d5){const _0x58e2d9=_0x164ecf;super(_0x52398f),this[_0x58e2d9(0x1d1)]=_0x5d93d5,this[_0x58e2d9(0x267)]='BaseHierarchyError';}};let _0x1e8335=function(_0x432fe0){const _0x5a651e=_0x164ecf;return _0x432fe0['UI']='ui',_0x432fe0[_0x5a651e(0x2be)]=_0x5a651e(0x261),_0x432fe0[_0x5a651e(0x2e9)]='remote',_0x432fe0['Undo']=_0x5a651e(0x38f),_0x432fe0['Redo']='redo',_0x432fe0[_0x5a651e(0x3a8)]='import',_0x432fe0;}({});function _0x12230b(_0x4253c2,_0x54e4fb){const _0x16fcd1=_0x164ecf;if(!_0x54e4fb)return!0x1;let _0x4f8afa=_0x4253c2[_0x16fcd1(0x43b)][_0x54e4fb];if(!_0x4f8afa||_0x4f8afa[_0x16fcd1(0x132)]!==_0x9b4f24[_0x16fcd1(0x3bc)][_0x16fcd1(0x226)])return!0x1;let _0x43d382=_0xfcdc79(_0x4f8afa);return _0x43d382?_0x43d382['targetTableId']===_0x4253c2['id']&&_0x43d382['multiple']===!0x1:!0x1;}function _0x98202f(_0x5d7cda){const _0x5b286c=_0x164ecf;return[..._0x5d7cda['fieldOrder'],...Object[_0x5b286c(0x1fe)](_0x5d7cda[_0x5b286c(0x43b)])[_0x5b286c(0x41f)](_0x5eb10f=>!_0x5d7cda[_0x5b286c(0x30b)]['includes'](_0x5eb10f))['sort']()][_0x5b286c(0x396)](_0x5d3b3a=>{const _0x45791b=_0x5b286c;var _0x31966b;return _0x12230b(_0x5d7cda,_0x5d3b3a)?((_0x31966b=_0xfcdc79(_0x5d7cda[_0x45791b(0x43b)][_0x5d3b3a]))==null?void 0x0:_0x31966b['relationRole'])===_0x9b4f24[_0x45791b(0x4a2)][_0x45791b(0x32d)]:!0x1;})??null;}function _0x2e350d(_0x1a08e4){const _0x3b9579=_0x164ecf;let _0x156049=_0x98202f(_0x1a08e4);if(_0x156049)return _0x156049;let _0x1cc1fc=_0x5dd7b3,_0x29895b=0x2;for(;_0x1a08e4[_0x3b9579(0x43b)][_0x1cc1fc];)_0x1cc1fc=_0x5dd7b3+'_'+_0x29895b++;return _0x1cc1fc;}function _0x736d67(_0x1ae1bf,_0x192ba8=_0x2e350d(_0x1ae1bf),_0x44af4d=_0x164ecf(0x3be)){const _0x9e5de2=_0x164ecf;return{'id':_0x192ba8,'name':_0x44af4d,'type':_0x9b4f24[_0x9e5de2(0x3bc)][_0x9e5de2(0x226)],'config':{'targetTableId':_0x1ae1bf['id'],'multiple':!0x1,'displayFieldId':_0x1ae1bf[_0x9e5de2(0x302)],'pickerFieldIds':[_0x1ae1bf[_0x9e5de2(0x302)]],'relationRole':_0x9b4f24['BaseRecordLinkRole'][_0x9e5de2(0x32d)]}};}function _0x761298(_0x5d0443){let _0x24551c=_0x98202f(_0x5d0443);return _0x24551c?[_0x24551c]:[];}function _0x1b77f4(_0x3cdd77,_0xcbb57c){const _0x41a742=_0x164ecf;let _0x1ab629=[..._0x761298(_0x3cdd77)]['filter'](_0x3e1084=>_0xcbb57c['some'](_0x415629=>Object['prototype']['hasOwnProperty'][_0x41a742(0x35d)](_0x415629[_0x41a742(0x10a)],_0x3e1084)));if(!_0x1ab629['length'])return[];let _0x574cd2={..._0x3cdd77[_0x41a742(0x312)]};_0xcbb57c[_0x41a742(0x49e)](_0x45d30c=>{const _0x5c3ad0=_0x41a742;let _0x4359f5=_0x574cd2[_0x45d30c[_0x5c3ad0(0x1d9)]];_0x4359f5&&(_0x574cd2[_0x45d30c[_0x5c3ad0(0x1d9)]]={..._0x4359f5,'values':{..._0x4359f5['values'],..._0x45d30c[_0x5c3ad0(0x10a)]}});});let _0x528909={..._0x3cdd77,'records':_0x574cd2},_0x993e6d=[];return _0x1ab629[_0x41a742(0x49e)](_0x42650d=>{const _0x39e8f5=_0x41a742;let _0x28ca4=_0x32c245(_0x3cdd77,_0x42650d),_0x27c4e9=_0x32c245(_0x528909,_0x42650d);for(let [_0x4a3417,_0x3dda12]of _0x27c4e9[_0x39e8f5(0x2b7)]){let _0x161437=_0xcbb57c[_0x39e8f5(0x3ba)](_0xd59919=>_0xd59919[_0x39e8f5(0x1d9)]===_0x4a3417&&Object['prototype'][_0x39e8f5(0x377)]['call'](_0xd59919['values'],_0x42650d));if(_0x28ca4['invalidReasonByRecordId']['get'](_0x4a3417)!==_0x3dda12||_0x161437)throw new _0x4c5b17(_0x58871b(_0x3dda12));}_0xcbb57c[_0x39e8f5(0x49e)](_0x51d8ae=>{const _0x58e03d=_0x39e8f5;if(!Object[_0x58e03d(0x1b0)]['hasOwnProperty'][_0x58e03d(0x35d)](_0x51d8ae[_0x58e03d(0x10a)],_0x42650d))return;let _0x8f70ed=_0x28ca4[_0x58e03d(0x3ff)][_0x58e03d(0x3e9)](_0x51d8ae[_0x58e03d(0x1d9)])??null,_0x44cebf=_0x27c4e9[_0x58e03d(0x3ff)]['get'](_0x51d8ae[_0x58e03d(0x1d9)])??null;_0x8f70ed!==_0x44cebf&&_0x993e6d['push']({'tableId':_0x3cdd77['id'],'fieldId':_0x42650d,'recordId':_0x51d8ae[_0x58e03d(0x1d9)],'oldParentRecordId':_0x8f70ed,'parentRecordId':_0x44cebf});});}),_0x993e6d;}function _0x59860b(_0x4104dd,_0x1d3328){const _0x81467=_0x164ecf;let _0x4b0442=_0x1d3328[_0x81467(0x2a7)](_0x37435d=>_0x37435d['id']);if(new Set(_0x4b0442)[_0x81467(0x476)]!==_0x4b0442[_0x81467(0x13b)]||_0x4b0442['some'](_0x14acf5=>_0x4104dd[_0x81467(0x312)][_0x14acf5]))return[];let _0x476150=_0x761298(_0x4104dd),_0x31ccb3=_0x476150[_0x81467(0x13b)]?null:_0x2e350d(_0x4104dd),_0x34d2aa=[..._0x476150,..._0x31ccb3&&_0x1d3328[_0x81467(0x3ba)](_0x3adfd0=>Object[_0x81467(0x1b0)][_0x81467(0x377)][_0x81467(0x35d)](_0x3adfd0[_0x81467(0x10a)],_0x31ccb3))?[_0x31ccb3]:[]][_0x81467(0x41f)](_0x31c2dd=>_0x1d3328['some'](_0x4719d8=>Object[_0x81467(0x1b0)][_0x81467(0x377)][_0x81467(0x35d)](_0x4719d8[_0x81467(0x10a)],_0x31c2dd)));if(!_0x34d2aa[_0x81467(0x13b)])return[];let _0x5edc09={..._0x4104dd,'records':{..._0x4104dd['records'],...Object[_0x81467(0x224)](_0x1d3328[_0x81467(0x2a7)](_0x5548c3=>[_0x5548c3['id'],_0x5548c3]))},'recordOrder':[..._0x4104dd[_0x81467(0x411)]??[],..._0x1d3328['map'](_0x20ced9=>_0x20ced9['id'])]},_0x24169c=[];return _0x34d2aa[_0x81467(0x49e)](_0x41fdcf=>{let _0x286751=_0x32c245(_0x5edc09,_0x41fdcf);_0x1d3328['forEach'](_0xb983b9=>{const _0x33568a=_0x17a2;let _0x3f2b4e=_0x286751[_0x33568a(0x2b7)][_0x33568a(0x3e9)](_0xb983b9['id']);if(_0x3f2b4e)throw new _0x4c5b17(_0x58871b(_0x3f2b4e));let _0x39713f=_0x286751[_0x33568a(0x3ff)][_0x33568a(0x3e9)](_0xb983b9['id'])??null;_0x39713f&&_0x24169c['push']({'tableId':_0x4104dd['id'],'fieldId':_0x41fdcf,'recordId':_0xb983b9['id'],'oldParentRecordId':null,'parentRecordId':_0x39713f});});}),_0x24169c;}function _0x58871b(_0x27df6c){const _0xee0414=_0x164ecf;switch(_0x27df6c){case _0x9b4f24[_0xee0414(0x291)][_0xee0414(0x35e)]:return _0xee0414(0x336);case _0x9b4f24[_0xee0414(0x291)]['SelfParent']:return _0xee0414(0x27f);case _0x9b4f24[_0xee0414(0x291)][_0xee0414(0x4d1)]:return _0xee0414(0x35a);case _0x9b4f24[_0xee0414(0x291)][_0xee0414(0x2ee)]:return _0xee0414(0x2f6);}}function _0x526f9d(_0x2032a9,_0x18adee){const _0x31781d=_0x164ecf;let _0x1258b1=new Set(_0x18adee),_0x389d38=_0x761298(_0x2032a9);return Object[_0x31781d(0x10a)](_0x2032a9[_0x31781d(0x312)])[_0x31781d(0x17e)](_0x48d3db=>_0x1258b1[_0x31781d(0x1df)](_0x48d3db['id'])?[]:Array[_0x31781d(0x338)](_0x389d38)[_0x31781d(0x17e)](_0x17206e=>{const _0x5db0e3=_0x31781d;let _0x5a2eec=_0x3768f1(_0x48d3db[_0x5db0e3(0x10a)][_0x17206e])[0x0]??null;return _0x5a2eec&&_0x1258b1[_0x5db0e3(0x1df)](_0x5a2eec)?[{'tableId':_0x2032a9['id'],'fieldId':_0x17206e,'recordId':_0x48d3db['id'],'oldParentRecordId':_0x5a2eec,'parentRecordId':null}]:[];}));}function _0x32c245(_0x227399,_0x1cea62,_0x3f554f=_0x227399[_0x164ecf(0x411)]??Object[_0x164ecf(0x1fe)](_0x227399['records'])){const _0xc1e8ad=_0x164ecf;if(!(!_0x227399['fields'][_0x1cea62]&&_0x1cea62===_0x2e350d(_0x227399))&&!_0x12230b(_0x227399,_0x1cea62))throw Error(_0xc1e8ad(0x17a)+_0x1cea62+_0xc1e8ad(0x2f3));let _0x4be536=_0x229907(_0x227399,_0x3f554f),_0x1fa37d=new Map(),_0x5e488c=new Map();for(let _0x3b8075 of _0x4be536){var _0x129330;let _0xfe2769=_0x3768f1((_0x129330=_0x227399[_0xc1e8ad(0x312)][_0x3b8075])==null?void 0x0:_0x129330[_0xc1e8ad(0x10a)][_0x1cea62])[0x0]??null;_0xfe2769?_0xfe2769===_0x3b8075?(_0x1fa37d[_0xc1e8ad(0x25a)](_0x3b8075,null),_0x5e488c[_0xc1e8ad(0x25a)](_0x3b8075,_0x9b4f24['BaseHierarchyInvalidReason'][_0xc1e8ad(0x2df)])):_0x227399[_0xc1e8ad(0x312)][_0xfe2769]?_0x1fa37d['set'](_0x3b8075,_0xfe2769):(_0x1fa37d[_0xc1e8ad(0x25a)](_0x3b8075,null),_0x5e488c[_0xc1e8ad(0x25a)](_0x3b8075,_0x9b4f24[_0xc1e8ad(0x291)][_0xc1e8ad(0x35e)])):_0x1fa37d['set'](_0x3b8075,null);}_0x246a23(_0x1fa37d,_0x5e488c,_0x4be536),_0x4d2295(_0x1fa37d,_0x5e488c,_0x4be536);let _0xeaa8c2=new Map(_0x4be536[_0xc1e8ad(0x2a7)]((_0x4d15cd,_0x467a7d)=>[_0x4d15cd,_0x467a7d])),_0x60072=new Map();for(let _0x2d8044 of _0x4be536){let _0x39e843=_0x1fa37d[_0xc1e8ad(0x3e9)](_0x2d8044)??null,_0x5d8b05=_0x60072['get'](_0x39e843)??[];_0x5d8b05[_0xc1e8ad(0x4bf)](_0x2d8044),_0x60072[_0xc1e8ad(0x25a)](_0x39e843,_0x5d8b05);}_0x60072[_0xc1e8ad(0x49e)](_0x3c26d6=>_0x3c26d6[_0xc1e8ad(0x281)]((_0xb21f9b,_0x18d075)=>(_0xeaa8c2[_0xc1e8ad(0x3e9)](_0xb21f9b)??0x0)-(_0xeaa8c2[_0xc1e8ad(0x3e9)](_0x18d075)??0x0)));let _0x3b8a5a=_0x60072['get'](null)??[],_0x1087f4=new Map(),_0x5a6eb9=new Map(),_0x3af243=[],_0x4c2348=(_0x186750,_0x301aa4)=>{const _0x122115=_0xc1e8ad;_0x1087f4[_0x122115(0x25a)](_0x186750,_0x301aa4),_0x3af243['push'](_0x186750);let _0x4b6c86=0x0;for(let _0x30d7f8 of _0x60072[_0x122115(0x3e9)](_0x186750)??[])_0x4b6c86=Math[_0x122115(0x427)](_0x4b6c86,0x1+_0x4c2348(_0x30d7f8,_0x301aa4+0x1));return _0x5a6eb9['set'](_0x186750,_0x4b6c86),_0x4b6c86;};return _0x3b8a5a[_0xc1e8ad(0x49e)](_0x13862e=>_0x4c2348(_0x13862e,0x0)),{'fieldId':_0x1cea62,'parentByRecordId':_0x1fa37d,'childrenByParentId':_0x60072,'depthByRecordId':_0x1087f4,'subtreeHeightByRecordId':_0x5a6eb9,'invalidReasonByRecordId':_0x5e488c,'rootRecordIds':_0x3b8a5a,'orderedRecordIds':_0x3af243};}function _0x2eda9a(_0x39d54f,_0x105d1c,_0x41b1d8=new Set(_0x105d1c[_0x164ecf(0x2a7)](_0x34ffca=>_0x34ffca[_0x164ecf(0x1d9)]))){const _0x5dc38c=_0x164ecf;let _0x3cfed9=new Set(_0x41b1d8);for(let _0x5376d1 of _0x41b1d8){let _0x21ae6d=_0x39d54f[_0x5dc38c(0x3ff)][_0x5dc38c(0x3e9)](_0x5376d1)??null;for(;_0x21ae6d;)_0x3cfed9[_0x5dc38c(0x134)](_0x21ae6d),_0x21ae6d=_0x39d54f['parentByRecordId']['get'](_0x21ae6d)??null;}let _0x425693=new Map(_0x105d1c[_0x5dc38c(0x2a7)](_0x17c4c5=>[_0x17c4c5['recordId'],_0x17c4c5])),_0x5233b0=_0x39d54f['orderedRecordIds'][_0x5dc38c(0x41f)](_0x16a995=>_0x3cfed9['has'](_0x16a995)),_0x9aefa7=_0x5233b0[_0x5dc38c(0x17e)](_0x51df21=>{const _0x49c225=_0x5dc38c;let _0x10c174=_0x425693[_0x49c225(0x3e9)](_0x51df21);return _0x10c174?[_0x10c174]:[];}),_0x5cd558={};for(let _0x54bb55=0x0;_0x54bb55<_0x5233b0[_0x5dc38c(0x13b)];_0x54bb55++){let _0x113dc4=_0x5233b0[_0x54bb55];_0x5cd558[_0x113dc4]={'recordId':_0x113dc4,'parentRecordId':_0x39d54f[_0x5dc38c(0x3ff)][_0x5dc38c(0x3e9)](_0x113dc4)??null,'depth':_0x39d54f[_0x5dc38c(0x432)][_0x5dc38c(0x3e9)](_0x113dc4)??0x0,'directChildCount':(_0x39d54f['childrenByParentId']['get'](_0x113dc4)??[])[_0x5dc38c(0x13b)],'subtreeHeight':_0x39d54f[_0x5dc38c(0x12a)]['get'](_0x113dc4)??0x0,'subtreeEndIndex':_0x54bb55,'invalidReason':_0x39d54f[_0x5dc38c(0x2b7)][_0x5dc38c(0x3e9)](_0x113dc4)};}let _0x511ba7=[];for(let _0x4a2e51=0x0;_0x4a2e51<_0x5233b0['length'];_0x4a2e51++){let _0x4b74d3=_0x5233b0[_0x4a2e51],_0x9c7602=_0x5cd558[_0x4b74d3][_0x5dc38c(0x15b)];for(;_0x511ba7[_0x5dc38c(0x13b)]&&_0x511ba7[_0x511ba7[_0x5dc38c(0x13b)]-0x1][_0x5dc38c(0x15b)]>=_0x9c7602;){let _0x149bed=_0x511ba7[_0x5dc38c(0x428)]();_0x5cd558[_0x149bed[_0x5dc38c(0x1d9)]][_0x5dc38c(0x18d)]=_0x4a2e51-0x1;}_0x511ba7[_0x5dc38c(0x4bf)]({'recordId':_0x4b74d3,'depth':_0x9c7602});}return _0x511ba7[_0x5dc38c(0x49e)](({recordId:_0x36613a})=>{const _0x154db5=_0x5dc38c;_0x5cd558[_0x36613a][_0x154db5(0x18d)]=_0x5233b0[_0x154db5(0x13b)]-0x1;}),{'rows':_0x9aefa7,'hierarchy':{'fieldId':_0x39d54f['fieldId'],'rootRecordIds':_0x39d54f[_0x5dc38c(0x404)][_0x5dc38c(0x41f)](_0x10c53a=>_0x3cfed9[_0x5dc38c(0x1df)](_0x10c53a)),'orderedRecordIds':_0x5233b0,'nodes':_0x5cd558}};}function _0x46e5b7(_0x4c9025,_0x51f2e9){const _0x280398=_0x164ecf;if(!_0x4c9025[_0x280398(0x13e)]||!(_0x51f2e9!=null&&_0x51f2e9[_0x280398(0x476)]))return _0x4c9025[_0x280398(0x34c)];let _0x136648=[],_0x3f7e0f=0x0;for(;_0x3f7e0f<_0x4c9025['rows'][_0x280398(0x13b)];){let _0x34469d=_0x4c9025[_0x280398(0x34c)][_0x3f7e0f];_0x136648[_0x280398(0x4bf)](_0x34469d);let _0x1e0038=_0x4c9025[_0x280398(0x13e)][_0x280398(0x3ec)][_0x34469d[_0x280398(0x1d9)]];_0x3f7e0f=_0x51f2e9[_0x280398(0x1df)](_0x34469d[_0x280398(0x1d9)])&&_0x1e0038?_0x1e0038[_0x280398(0x18d)]+0x1:_0x3f7e0f+0x1;}return _0x136648;}function _0x1a5f43(_0x1bbbee,_0x34fbd1,_0xa86f4b){const _0x3d8a72=_0x164ecf;if(!_0xa86f4b)return{'valid':!0x0};if(_0x34fbd1===_0xa86f4b)return{'valid':!0x1,'reason':_0x9b4f24['BaseHierarchyInvalidReason']['SelfParent']};let _0xe7be59=_0xa86f4b;for(;_0xe7be59;){if(_0xe7be59===_0x34fbd1)return{'valid':!0x1,'reason':_0x9b4f24[_0x3d8a72(0x291)][_0x3d8a72(0x4d1)]};_0xe7be59=_0x1bbbee[_0x3d8a72(0x3ff)][_0x3d8a72(0x3e9)](_0xe7be59)??null;}return(_0x1bbbee[_0x3d8a72(0x432)][_0x3d8a72(0x3e9)](_0xa86f4b)??0x0)+0x1+(_0x1bbbee['subtreeHeightByRecordId'][_0x3d8a72(0x3e9)](_0x34fbd1)??0x0)>=0x5?{'valid':!0x1,'reason':_0x9b4f24['BaseHierarchyInvalidReason'][_0x3d8a72(0x2ee)]}:{'valid':!0x0};}function _0x229907(_0x24ef44,_0x52c63b){const _0x54ff3b=_0x164ecf;let _0x1cf5d9=new Set(),_0xeab53c=[];for(let _0x415b0d of _0x52c63b)_0x24ef44[_0x54ff3b(0x312)][_0x415b0d]&&!_0x1cf5d9[_0x54ff3b(0x1df)](_0x415b0d)&&(_0x1cf5d9[_0x54ff3b(0x134)](_0x415b0d),_0xeab53c[_0x54ff3b(0x4bf)](_0x415b0d));return Object[_0x54ff3b(0x1fe)](_0x24ef44[_0x54ff3b(0x312)])[_0x54ff3b(0x281)]()[_0x54ff3b(0x49e)](_0x45e48c=>{const _0xcb9510=_0x54ff3b;_0x1cf5d9['has'](_0x45e48c)||_0xeab53c[_0xcb9510(0x4bf)](_0x45e48c);}),_0xeab53c;}function _0x246a23(_0x30eea0,_0x55416d,_0x22b8b9){const _0x181859=_0x164ecf;let _0x5fad4f=new Set();for(let _0x281519 of _0x22b8b9){if(_0x5fad4f[_0x181859(0x1df)](_0x281519))continue;let _0x5b516f=[],_0x55e0b2=new Map(),_0x572429=_0x281519;for(;_0x572429&&!_0x5fad4f[_0x181859(0x1df)](_0x572429);){let _0x364f39=_0x55e0b2[_0x181859(0x3e9)](_0x572429);if(_0x364f39!=null){let _0xd347e3=[..._0x5b516f['slice'](_0x364f39)][_0x181859(0x281)]()[_0x181859(0x428)]();_0x30eea0[_0x181859(0x25a)](_0xd347e3,null),_0x55416d[_0x181859(0x25a)](_0xd347e3,_0x9b4f24[_0x181859(0x291)][_0x181859(0x4d1)]);break;}_0x55e0b2['set'](_0x572429,_0x5b516f[_0x181859(0x13b)]),_0x5b516f[_0x181859(0x4bf)](_0x572429),_0x572429=_0x30eea0[_0x181859(0x3e9)](_0x572429)??null;}_0x5b516f[_0x181859(0x49e)](_0x278c87=>_0x5fad4f[_0x181859(0x134)](_0x278c87));}}function _0x4d2295(_0x3332c5,_0x4bd740,_0x343663){const _0x1db9e3=_0x164ecf;let _0xefe4c=new Map(),_0x462771=_0x5bbb34=>{const _0x3a7a17=_0x17a2;let _0x1f2d8f=_0xefe4c[_0x3a7a17(0x3e9)](_0x5bbb34);if(_0x1f2d8f!=null)return _0x1f2d8f;let _0x47014b=_0x3332c5[_0x3a7a17(0x3e9)](_0x5bbb34)??null;if(!_0x47014b)return _0xefe4c['set'](_0x5bbb34,0x0),0x0;let _0x228563=_0x462771(_0x47014b)+0x1;return _0x228563>=0x5?(_0x3332c5['set'](_0x5bbb34,null),_0x4bd740[_0x3a7a17(0x25a)](_0x5bbb34,_0x9b4f24['BaseHierarchyInvalidReason'][_0x3a7a17(0x2ee)]),_0xefe4c[_0x3a7a17(0x25a)](_0x5bbb34,0x0),0x0):(_0xefe4c[_0x3a7a17(0x25a)](_0x5bbb34,_0x228563),_0x228563);};_0x343663[_0x1db9e3(0x49e)](_0x462771);}let _0x1d1bb2=0x0;function _0x28be12(){const _0x415f00=_0x164ecf;if(globalThis[_0x415f00(0x1a0)]===!0x0)return!0x0;try{let _0x35f90f=typeof location>'u'?'':location[_0x415f00(0x2a1)],_0x8b5613=new URLSearchParams(_0x35f90f);if(_0x8b5613['get']('basePerf')==='1'||_0x8b5613[_0x415f00(0x3e9)]('basePerf')===_0x415f00(0x45e)||_0x8b5613[_0x415f00(0x3e9)](_0x415f00(0x2b1))==='1')return!0x0;}catch{}try{let _0x2ef76f=typeof localStorage>'u'?null:localStorage['getItem'](_0x415f00(0x315));return _0x2ef76f==='1'||_0x2ef76f===_0x415f00(0x45e);}catch{return!0x1;}}function _0x3022ee(_0xe1f578,_0x4851a2,_0x3513b1){const _0x2c8ee0=_0x164ecf;if(!_0x28be12())return _0x4851a2();let _0x3eb07e=_0x415c79(),_0x2b8d0d=_0x2c8ee0(0x2ef)+_0x1d1bb2++;_0x2a3803(_0x2b8d0d+':start');try{return _0x4851a2();}finally{let _0x169aa6=_0x415c79()-_0x3eb07e;_0x2a3803(_0x2b8d0d+_0x2c8ee0(0x229)),_0x2035f8(_0xe1f578,_0x2b8d0d+_0x2c8ee0(0x172),_0x2b8d0d+_0x2c8ee0(0x229)),_0x58fd31(_0xe1f578,_0x169aa6,_0x3513b1);}}function _0x58fd31(_0x5d73fd,_0x2d1121,_0x4b19d3){const _0x498ec6=_0x164ecf;if(!_0x28be12())return;let _0x3ef65b=Math['round'](_0x2d1121*0x64)/0x64,_0xc476e8=_0x4b19d3&&Object['keys'](_0x4b19d3)[_0x498ec6(0x13b)]?'\x20'+JSON['stringify'](_0x4b19d3):'';console[_0x498ec6(0x3f1)]('[BasePerf]\x20'+_0x5d73fd+':\x20'+_0x3ef65b+'ms'+_0xc476e8);}function _0x415c79(){const _0x2b6251=_0x164ecf;return typeof performance<'u'&&typeof performance['now']=='function'?performance[_0x2b6251(0x1e5)]():Date[_0x2b6251(0x1e5)]();}function _0x2a3803(_0x29f85b){const _0x4d7168=_0x164ecf;try{if(typeof performance<'u'){var _0x40c01a,_0x41f9bc;(_0x40c01a=(_0x41f9bc=performance)[_0x4d7168(0x2d2)])==null||_0x40c01a[_0x4d7168(0x35d)](_0x41f9bc,_0x29f85b);}}catch{}}function _0x2035f8(_0x5710eb,_0x1ef8bc,_0x2e398c){const _0x1dc40b=_0x164ecf;try{if(typeof performance<'u'){var _0x552cfc,_0x341d97;(_0x552cfc=(_0x341d97=performance)[_0x1dc40b(0x1de)])==null||_0x552cfc[_0x1dc40b(0x35d)](_0x341d97,_0x1dc40b(0x310)+_0x5710eb,_0x1ef8bc,_0x2e398c);}}catch{}}function _0x8ae1a4(_0x10d3c2){const _0x4a48b9=_0x164ecf;var _0x3e4811;return _0x28be12()?_0x3022ee(_0x4a48b9(0x3a7),()=>_0x4a0c06(_0x10d3c2),{'tableId':_0x10d3c2['id'],'records':Object[_0x4a48b9(0x1fe)](_0x10d3c2[_0x4a48b9(0x312)]??{})[_0x4a48b9(0x13b)],'fields':_0x10d3c2[_0x4a48b9(0x30b)]['length'],'hasRecordOrder':!!((_0x3e4811=_0x10d3c2['recordOrder'])!=null&&_0x3e4811['length'])}):_0x4a0c06(_0x10d3c2);}function _0x4a0c06(_0xc677ff){const _0xf4db23=_0x164ecf;var _0xddc3f9;let _0x772673=_0xc677ff[_0xf4db23(0x312)]??{},_0x172443=_0xc677ff[_0xf4db23(0x43b)]??{},_0x597366=((_0xddc3f9=_0xc677ff[_0xf4db23(0x411)])==null?void 0x0:_0xddc3f9[_0xf4db23(0x41f)](_0x59a3d5=>_0x772673[_0x59a3d5]))??[],_0x4c6548=new Set(_0x597366),_0x28c8b6=[];for(let _0x25de66 of Object[_0xf4db23(0x10a)](_0x772673))_0x4c6548[_0xf4db23(0x1df)](_0x25de66['id'])||_0x28c8b6['push'](_0x25de66);let _0x7b47b4=_0x28c8b6['length']?[..._0x597366,..._0x269e09(_0x28c8b6)]:_0x597366,_0x50d1dc=_0xc677ff[_0xf4db23(0x30b)][_0xf4db23(0x41f)](_0x3d3c8c=>_0x172443[_0x3d3c8c]),_0x43e598={..._0xc677ff[_0xf4db23(0x3c7)]??{}},_0x35bee7={..._0xc677ff['colId']??{}},_0x50994b={..._0xc677ff[_0xf4db23(0x216)]??{}};_0xc677ff[_0xf4db23(0x411)]=_0x7b47b4,_0xc677ff[_0xf4db23(0x371)]={},_0xc677ff[_0xf4db23(0x3c7)]={},_0xc677ff[_0xf4db23(0x23b)]={},_0xc677ff[_0xf4db23(0x282)]={},_0xc677ff[_0xf4db23(0x216)]={},_0xc677ff['resources']={..._0xc677ff['resources']??{}},_0xc677ff[_0xf4db23(0x1b2)]['attachmentSets']={..._0xc677ff[_0xf4db23(0x1b2)][_0xf4db23(0x3d9)]??{}},_0xc677ff['resources'][_0xf4db23(0x359)]={..._0xc677ff[_0xf4db23(0x1b2)]['attachments']??{}};let _0x43753c=_0xc677ff[_0xf4db23(0x371)],_0x9cc333=_0xc677ff[_0xf4db23(0x3c7)],_0x3a4bef=_0xc677ff[_0xf4db23(0x23b)],_0x2436df=_0xc677ff[_0xf4db23(0x282)],_0x4d6fa3=_0xc677ff[_0xf4db23(0x216)];return _0x7b47b4['forEach']((_0x2638d4,_0x3ad271)=>{_0x43753c[_0x2638d4]=_0x3ad271,_0x9cc333[_0x3ad271]=_0x2638d4;}),_0x50d1dc[_0xf4db23(0x49e)]((_0x2588fe,_0x542b26)=>{_0x3a4bef[_0x2588fe]=_0x542b26,_0x2436df[_0x542b26]=_0x2588fe;}),Object[_0xf4db23(0x489)](_0x50994b)[_0xf4db23(0x49e)](([_0x491496,_0x17d450])=>{const _0x2a07ca=_0xf4db23;let _0x1155c0=Number(_0x491496),_0x2453b2=_0x43e598[_0x1155c0]??_0x7b47b4[_0x1155c0],_0x3b58ba=_0x2453b2?_0x43753c[_0x2453b2]:void 0x0;_0x3b58ba!=null&&(_0x4d6fa3[_0x3b58ba]={..._0x4d6fa3[_0x3b58ba]??{}},Object[_0x2a07ca(0x489)](_0x17d450??{})[_0x2a07ca(0x49e)](([_0x134465,_0x3a8ea1])=>{let _0x411af2=Number(_0x134465),_0x4a0a3b=_0x35bee7[_0x411af2]??_0x50d1dc[_0x411af2],_0x166634=_0x4a0a3b?_0x3a4bef[_0x4a0a3b]:void 0x0;_0x166634!=null&&(_0x4d6fa3[_0x3b58ba][_0x166634]=_0x593d28(_0x3a8ea1));}));}),Object[_0xf4db23(0x10a)](_0x772673)[_0xf4db23(0x49e)](_0x3ea778=>{const _0x337068=_0xf4db23;let _0x1382df=_0x43753c[_0x3ea778['id']];_0x1382df!=null&&(_0x3ea778[_0x337068(0x10a)]={..._0x3ea778[_0x337068(0x10a)]??{},[_0x9b4f24['BASE_RECORD_ID_FIELD_ID']]:_0x3ea778['id']},_0x4d6fa3[_0x1382df]={..._0x4d6fa3[_0x1382df]??{},0x0:{'v':_0x3ea778['id'],'t':_0x9b4f24[_0x337068(0x260)][_0x337068(0x290)]}},Object['entries'](_0x3ea778[_0x337068(0x10a)]??{})[_0x337068(0x49e)](([_0x23ba3c,_0x537f7a])=>{const _0x49c60d=_0x337068;let _0x24f3a0=_0x172443[_0x23ba3c];(_0x24f3a0==null?void 0x0:_0x24f3a0[_0x49c60d(0x132)])===_0x9b4f24['BaseFieldType']['Attachment']&&_0x6690a0(_0xc677ff,_0x3ea778['id'],_0x23ba3c,_0x537f7a);let _0x303048=_0x3a4bef[_0x23ba3c];if(_0x303048==null)return;let _0x304f16=_0x4d6fa3[_0x1382df][_0x303048];if(_0x304f16!=null){_0x4964cd(_0x304f16,_0x24f3a0,_0x537f7a)&&(_0x4d6fa3[_0x1382df][_0x303048]=_0x241162(_0x537f7a,_0x24f3a0));return;}_0x4d6fa3[_0x1382df][_0x303048]=_0x241162(_0x537f7a,_0x24f3a0);}));}),_0xc677ff;}function _0x35f3d7(_0x2c5a7f){const _0x3eecc9=_0x164ecf;return _0x8ae1a4(_0x2c5a7f),Object[_0x3eecc9(0x489)](_0x2c5a7f[_0x3eecc9(0x3c7)]??{})[_0x3eecc9(0x49e)](([_0x195111,_0x1c35aa])=>{const _0x157cfa=_0x3eecc9;var _0x2f50e5;let _0x58cb73=Number(_0x195111),_0x5d1657=_0x2c5a7f[_0x157cfa(0x312)][_0x1c35aa];_0x5d1657&&(_0x5d1657['values']={..._0x5d1657[_0x157cfa(0x10a)]??{}},Object[_0x157cfa(0x489)](((_0x2f50e5=_0x2c5a7f['cellData'])==null?void 0x0:_0x2f50e5[_0x58cb73])??{})[_0x157cfa(0x49e)](([_0x1f7202,_0x453325])=>{const _0x5bef04=_0x157cfa;var _0x53a36c;let _0x35c61c=(_0x53a36c=_0x2c5a7f[_0x5bef04(0x282)])==null?void 0x0:_0x53a36c[Number(_0x1f7202)];_0x35c61c===_0x9b4f24[_0x5bef04(0x2c4)]?_0x5d1657['values'][_0x9b4f24[_0x5bef04(0x2c4)]]=_0x5d1657['id']:_0x35c61c&&(_0x5d1657[_0x5bef04(0x10a)][_0x35c61c]=_0x3bdeb8(_0x453325,_0x2c5a7f['fields'][_0x35c61c],_0x2c5a7f,_0x1c35aa));}));}),_0x2c5a7f;}function _0x179dff(_0x4b2ebb,_0x5395b2){const _0xce0ff9=_0x164ecf;for(let {row:_0x424806,col:_0x63728b}of _0x5395b2){var _0x2567bc,_0x293ec7,_0x4257be;let _0x25ad55=(_0x2567bc=_0x4b2ebb[_0xce0ff9(0x3c7)])==null?void 0x0:_0x2567bc[_0x424806],_0xbbcaa=(_0x293ec7=_0x4b2ebb[_0xce0ff9(0x282)])==null?void 0x0:_0x293ec7[_0x63728b],_0x17f93c=_0x25ad55?_0x4b2ebb[_0xce0ff9(0x312)][_0x25ad55]:void 0x0;if(!_0x17f93c||!_0xbbcaa)continue;if(_0xbbcaa===_0x9b4f24[_0xce0ff9(0x2c4)]){_0x17f93c[_0xce0ff9(0x10a)][_0x9b4f24[_0xce0ff9(0x2c4)]]=_0x17f93c['id'];continue;}let _0x45b7f8=(_0x4257be=_0x4b2ebb['cellData'])==null||(_0x4257be=_0x4257be[_0x424806])==null?void 0x0:_0x4257be[_0x63728b];_0x45b7f8==null&&!Object[_0xce0ff9(0x1b0)][_0xce0ff9(0x377)][_0xce0ff9(0x35d)](_0x17f93c[_0xce0ff9(0x10a)]??{},_0xbbcaa)||(_0x17f93c[_0xce0ff9(0x10a)]={..._0x17f93c[_0xce0ff9(0x10a)]??{}},_0x17f93c[_0xce0ff9(0x10a)][_0xbbcaa]=_0x3bdeb8(_0x45b7f8,_0x4b2ebb[_0xce0ff9(0x43b)][_0xbbcaa],_0x4b2ebb,_0x25ad55));}return _0x4b2ebb;}function _0x683939(_0x46622d,_0x26103f,_0x14e08e){const _0x4078d2=_0x164ecf;var _0x5edd75,_0x3a4492,_0x130387,_0x38d7ed,_0x3c8f80,_0x5142c5;let _0x5bd59c=(_0x5edd75=_0x46622d[_0x4078d2(0x371)])==null?void 0x0:_0x5edd75[_0x26103f],_0x177ffe=(_0x3a4492=_0x46622d[_0x4078d2(0x23b)])==null?void 0x0:_0x3a4492[_0x14e08e];if(_0x5bd59c!=null&&_0x177ffe!=null&&((_0x130387=_0x46622d[_0x4078d2(0x3c7)])==null?void 0x0:_0x130387[_0x5bd59c])===_0x26103f&&((_0x38d7ed=_0x46622d['colId'])==null?void 0x0:_0x38d7ed[_0x177ffe])===_0x14e08e)return{'row':_0x5bd59c,'col':_0x177ffe};let _0x1388ea=_0x8ae1a4(_0x46622d),_0x57405f=(_0x3c8f80=_0x1388ea['rowIndex'])==null?void 0x0:_0x3c8f80[_0x26103f],_0x3673ba=(_0x5142c5=_0x1388ea[_0x4078d2(0x23b)])==null?void 0x0:_0x5142c5[_0x14e08e];return _0x57405f==null||_0x3673ba==null?null:{'row':_0x57405f,'col':_0x3673ba};}function _0x273a83(_0x1adb6c,_0x50400c,_0x31360b){const _0x14cda8=_0x164ecf;var _0x286a59;let _0x252183=_0x683939(_0x1adb6c,_0x50400c,_0x31360b);if(_0x252183)return(_0x286a59=_0x1adb6c[_0x14cda8(0x216)])==null||(_0x286a59=_0x286a59[_0x252183[_0x14cda8(0x12f)]])==null?void 0x0:_0x286a59[_0x252183['col']];}function _0x1b74a9(_0x408277,_0xcba39a,_0x34e061){const _0x1c5111=_0x164ecf;var _0x115b90;let _0x49cbe3=_0x273a83(_0x408277,_0xcba39a,_0x34e061),_0x3d93e2=_0x408277[_0x1c5111(0x43b)][_0x34e061];if((_0x3d93e2==null?void 0x0:_0x3d93e2[_0x1c5111(0x132)])===_0x9b4f24[_0x1c5111(0x3bc)][_0x1c5111(0x208)]){var _0x4f969a;return _0x341243(_0x408277,_0xcba39a,_0x34e061)??_0x1530e1((_0x4f969a=_0x408277[_0x1c5111(0x312)][_0xcba39a])==null||(_0x4f969a=_0x4f969a['values'])==null?void 0x0:_0x4f969a[_0x34e061]);}if(_0x369924(_0x3d93e2)||(_0x3d93e2==null?void 0x0:_0x3d93e2[_0x1c5111(0x132)])===_0x9b4f24[_0x1c5111(0x3bc)][_0x1c5111(0x3d3)]){var _0x4d1095;let _0x2500ee=(_0x4d1095=_0x408277[_0x1c5111(0x312)][_0xcba39a])==null||(_0x4d1095=_0x4d1095[_0x1c5111(0x10a)])==null?void 0x0:_0x4d1095[_0x34e061];return _0x2500ee!=null&&_0x2500ee!==''?_0x269c6b(_0x2500ee,_0x3d93e2):_0x3bdeb8(_0x49cbe3,_0x3d93e2,_0x408277,_0xcba39a);}return _0x49cbe3&&Object[_0x1c5111(0x1b0)]['hasOwnProperty'][_0x1c5111(0x35d)](_0x49cbe3,'v')?_0x49cbe3['v']??null:((_0x115b90=_0x408277[_0x1c5111(0x312)][_0xcba39a])==null||(_0x115b90=_0x115b90[_0x1c5111(0x10a)])==null?void 0x0:_0x115b90[_0x34e061])??null;}function _0x1ec484(_0x33b8a4,_0x6cf9f8,_0x5148ee){const _0x1f0907=_0x164ecf;var _0x1f1111;let _0x174781=_0x273a83(_0x33b8a4,_0x6cf9f8,_0x5148ee);if(_0x174781&&Object['prototype'][_0x1f0907(0x377)]['call'](_0x174781,'v'))return _0x174781['v']??null;let _0x74f8e2=_0x33b8a4[_0x1f0907(0x43b)][_0x5148ee];return _0x241162(((_0x1f1111=_0x33b8a4[_0x1f0907(0x312)][_0x6cf9f8])==null||(_0x1f1111=_0x1f1111[_0x1f0907(0x10a)])==null?void 0x0:_0x1f1111[_0x5148ee])??null,_0x74f8e2)['v']??null;}function _0x241162(_0x54737d,_0x2ddc48){const _0x30be71=_0x164ecf;if(_0x448c8e(_0x54737d))return(_0x2ddc48==null?void 0x0:_0x2ddc48[_0x30be71(0x132)])===_0x9b4f24[_0x30be71(0x3bc)]['Attachment']?{..._0x54737d,'v':'','t':_0x9b4f24[_0x30be71(0x260)]['STRING']}:_0x593d28(_0x54737d);if((_0x2ddc48==null?void 0x0:_0x2ddc48['type'])===_0x9b4f24[_0x30be71(0x3bc)]['Attachment'])return{'v':'','t':_0x9b4f24[_0x30be71(0x260)][_0x30be71(0x290)]};if(_0x369924(_0x2ddc48))return{'v':_0x3202b1(_0x54737d)['join'](',\x20'),'t':_0x9b4f24[_0x30be71(0x260)][_0x30be71(0x290)]};if((_0x2ddc48==null?void 0x0:_0x2ddc48[_0x30be71(0x132)])===_0x9b4f24[_0x30be71(0x3bc)]['Link']&&_0x54737d&&typeof _0x54737d==_0x30be71(0x42c)&&!Array['isArray'](_0x54737d)){let _0x34addb=_0x54737d;return{'v':String(_0x34addb['text']??_0x34addb[_0x30be71(0x4b7)]??''),'t':_0x9b4f24[_0x30be71(0x260)][_0x30be71(0x290)]};}return _0x54737d===null||typeof _0x54737d==_0x30be71(0x1e4)||typeof _0x54737d==_0x30be71(0x1a8)||typeof _0x54737d=='boolean'?{'v':_0x54737d,'t':_0x4ea2c3(_0x54737d)}:{'v':null,'t':null};}function _0x593d28(_0x396bf){let _0x164407=_0x350c17(_0x396bf['t'],_0x396bf['v']);if(_0x164407===void 0x0){let {t:_0x4b4428,..._0xecc901}=_0x396bf;return _0xecc901;}return{..._0x396bf,'t':_0x164407};}function _0x3bdeb8(_0x3404fc,_0x2f0a7f,_0x16fcde,_0x3d33a8){const _0x2ff20d=_0x164ecf;if(!_0x3404fc)return null;if((_0x2f0a7f==null?void 0x0:_0x2f0a7f[_0x2ff20d(0x132)])===_0x9b4f24[_0x2ff20d(0x3bc)][_0x2ff20d(0x208)])return _0x16fcde&&_0x3d33a8?_0x341243(_0x16fcde,_0x3d33a8,_0x2f0a7f['id'])??[]:[];if(_0x369924(_0x2f0a7f))return _0x3202b1(_0x3404fc['v']);if((_0x2f0a7f==null?void 0x0:_0x2f0a7f['type'])===_0x9b4f24[_0x2ff20d(0x3bc)][_0x2ff20d(0x3d3)]&&_0x16fcde&&_0x3d33a8){var _0x5cc35b;let _0x216110=(_0x5cc35b=_0x16fcde[_0x2ff20d(0x312)][_0x3d33a8])==null||(_0x5cc35b=_0x5cc35b[_0x2ff20d(0x10a)])==null?void 0x0:_0x5cc35b[_0x2f0a7f['id']];if(_0x216110&&typeof _0x216110==_0x2ff20d(0x42c)&&!Array['isArray'](_0x216110))return _0x216110;}return Object[_0x2ff20d(0x1b0)][_0x2ff20d(0x377)][_0x2ff20d(0x35d)](_0x3404fc,'v')?_0x3404fc['v']??null:null;}function _0x2ad280(_0x3eb5ad,_0x490b9e,_0xb92b7d,_0x31a63a,_0x4b77ec){const _0x2298ce=_0x164ecf;return(_0xb92b7d==null?void 0x0:_0xb92b7d['type'])===_0x9b4f24['BaseFieldType'][_0x2298ce(0x208)]?_0x1530e1(_0x3eb5ad):_0x369924(_0xb92b7d)?_0x3202b1(_0x3eb5ad):(_0xb92b7d==null?void 0x0:_0xb92b7d['type'])===_0x9b4f24[_0x2298ce(0x3bc)][_0x2298ce(0x3d3)]&&_0x3eb5ad&&typeof _0x3eb5ad=='object'&&!Array[_0x2298ce(0x32e)](_0x3eb5ad)&&!_0x448c8e(_0x3eb5ad)?_0x3eb5ad:_0x3bdeb8(_0x490b9e,_0xb92b7d,_0x31a63a,_0x4b77ec);}function _0x448c8e(_0x14206a){const _0xf5b39b=_0x164ecf;return!!_0x14206a&&typeof _0x14206a=='object'&&(Object[_0xf5b39b(0x1b0)][_0xf5b39b(0x377)][_0xf5b39b(0x35d)](_0x14206a,'v')||Object['prototype'][_0xf5b39b(0x377)][_0xf5b39b(0x35d)](_0x14206a,'t')||Object[_0xf5b39b(0x1b0)][_0xf5b39b(0x377)]['call'](_0x14206a,'p')||Object['prototype'][_0xf5b39b(0x377)]['call'](_0x14206a,'f')||Object[_0xf5b39b(0x1b0)][_0xf5b39b(0x377)][_0xf5b39b(0x35d)](_0x14206a,'si'));}function _0x2aa1c9(_0x2cec8a,_0x2b3bc7){return _0x2cec8a+'\x1f'+_0x2b3bc7;}function _0x6690a0(_0x5bca0d,_0x5a55b9,_0x41c421,_0x5d1495){const _0x2e2e8b=_0x164ecf;let _0x50ce52=_0x1530e1(_0x5d1495);_0x5bca0d[_0x2e2e8b(0x1b2)]={..._0x5bca0d[_0x2e2e8b(0x1b2)]??{}},_0x5bca0d['resources'][_0x2e2e8b(0x3d9)]={..._0x5bca0d['resources']['attachmentSets']??{}},_0x5bca0d[_0x2e2e8b(0x1b2)]['attachments']={..._0x5bca0d[_0x2e2e8b(0x1b2)]['attachments']??{}};let _0x36ef8b=_0x2aa1c9(_0x41c421,_0x5a55b9),_0x41aa2c=[];for(let _0x429e54=0x0;_0x429e54<_0x50ce52['length'];_0x429e54++){if(!(_0x429e54 in _0x50ce52))continue;let _0x3ea1cd=_0x50ce52[_0x429e54],_0x167ce1=String(_0x3ea1cd['id']??_0x36ef8b+'\x1f'+_0x429e54),_0x23262f={..._0x3ea1cd,'id':_0x167ce1};_0x5bca0d['resources'][_0x2e2e8b(0x359)][_0x167ce1]=_0x23262f,_0x41aa2c[_0x2e2e8b(0x4bf)](_0x167ce1);}_0x5bca0d[_0x2e2e8b(0x1b2)][_0x2e2e8b(0x3d9)][_0x36ef8b]=_0x41aa2c;}function _0x341243(_0x41e08b,_0x1df338,_0x5f0101){const _0x4f46c9=_0x164ecf;var _0x8d86da;let _0xfc8bb6=_0x2aa1c9(_0x5f0101,_0x1df338),_0x1e55eb=(_0x8d86da=_0x41e08b['resources'])==null||(_0x8d86da=_0x8d86da[_0x4f46c9(0x3d9)])==null?void 0x0:_0x8d86da[_0xfc8bb6];if(!_0x1e55eb)return null;let _0x913c7b=[];for(let _0x13bff8=0x0;_0x13bff8<_0x1e55eb[_0x4f46c9(0x13b)];_0x13bff8++){var _0x5be957;if(!(_0x13bff8 in _0x1e55eb))continue;let _0x2ce68b=(_0x5be957=_0x41e08b[_0x4f46c9(0x1b2)])==null||(_0x5be957=_0x5be957['attachments'])==null?void 0x0:_0x5be957[_0x1e55eb[_0x13bff8]];_0x2ce68b&&_0x913c7b[_0x4f46c9(0x4bf)]({..._0x2ce68b});}return _0x913c7b;}function _0x1530e1(_0x43eec2){const _0x5d4136=_0x164ecf;if(_0x43eec2==null||_0x43eec2===''||_0x448c8e(_0x43eec2)&&!('id'in _0x43eec2)&&!(_0x5d4136(0x267)in _0x43eec2))return[];let _0x17390d=Array[_0x5d4136(0x32e)](_0x43eec2)?_0x43eec2:[_0x43eec2],_0x5479a0=[];for(let _0x150550=0x0;_0x150550<_0x17390d['length'];_0x150550++){if(!(_0x150550 in _0x17390d))continue;let _0x21fa85=_0x17390d[_0x150550],_0x1d316e=_0x21fa85&&typeof _0x21fa85==_0x5d4136(0x42c)?{..._0x21fa85}:{'id':_0x5d4136(0x256)+_0x150550,'name':String(_0x21fa85)};Object['keys'](_0x1d316e)[_0x5d4136(0x13b)]>0x0&&_0x5479a0[_0x5d4136(0x4bf)](_0x1d316e);}return _0x5479a0;}function _0x269c6b(_0x2bc673,_0x42cc91){const _0xee32a=_0x164ecf;return(_0x42cc91==null?void 0x0:_0x42cc91[_0xee32a(0x132)])===_0x9b4f24[_0xee32a(0x3bc)][_0xee32a(0x208)]?_0x1530e1(_0x2bc673):_0x369924(_0x42cc91)?_0x3202b1(_0x2bc673):_0x2bc673;}function _0x4964cd(_0x23bdab,_0x587ee4,_0x57d2bd){const _0xc8fc10=_0x164ecf;return(_0x587ee4==null?void 0x0:_0x587ee4[_0xc8fc10(0x132)])===_0x9b4f24[_0xc8fc10(0x3bc)][_0xc8fc10(0x208)]?_0x23bdab['v']!=='':_0x369924(_0x587ee4)?Array[_0xc8fc10(0x32e)](_0x57d2bd)&&(_0x23bdab['v']==null||_0x23bdab['v']===''):!0x1;}function _0x369924(_0x59068b){const _0x33feac=_0x164ecf;return(_0x59068b==null?void 0x0:_0x59068b['type'])===_0x9b4f24['BaseFieldType']['MultiSelect']||(_0x59068b==null?void 0x0:_0x59068b[_0x33feac(0x132)])===_0x9b4f24[_0x33feac(0x3bc)][_0x33feac(0x2ba)]||(_0x59068b==null?void 0x0:_0x59068b[_0x33feac(0x132)])===_0x9b4f24[_0x33feac(0x3bc)][_0x33feac(0x101)];}function _0x3202b1(_0x2e954d){const _0x3467a2=_0x164ecf;if(_0x2e954d==null||_0x2e954d==='')return[];let _0xdd0483=[];if(Array[_0x3467a2(0x32e)](_0x2e954d)){for(let _0x4a6c28=0x0;_0x4a6c28<_0x2e954d[_0x3467a2(0x13b)];_0x4a6c28++){if(!(_0x4a6c28 in _0x2e954d))continue;let _0x5d7c97=_0x30a374(_0x2e954d[_0x4a6c28]);_0x5d7c97&&_0xdd0483[_0x3467a2(0x4bf)](_0x5d7c97);}return _0xdd0483;}for(let _0x20fb22 of String(_0x2e954d)['split'](',')){let _0x3ed6d9=_0x20fb22[_0x3467a2(0x276)]();_0x3ed6d9&&_0xdd0483[_0x3467a2(0x4bf)](_0x3ed6d9);}return _0xdd0483;}function _0x30a374(_0x2595ed){const _0xc3a824=_0x164ecf;if(_0x2595ed==null)return'';if(typeof _0x2595ed==_0xc3a824(0x1e4)||typeof _0x2595ed=='number'||typeof _0x2595ed=='boolean')return String(_0x2595ed);if(typeof _0x2595ed==_0xc3a824(0x42c)){let _0x30ae45=_0x2595ed;return String(_0x30ae45['id']??_0x30ae45[_0xc3a824(0x267)]??_0x30ae45[_0xc3a824(0x40e)]??'');}return String(_0x2595ed);}function _0x4ea2c3(_0x173e1e){const _0x40bf6c=_0x164ecf;return _0x173e1e==null?null:typeof _0x173e1e=='number'?_0x9b4f24[_0x40bf6c(0x260)][_0x40bf6c(0x381)]:typeof _0x173e1e=='boolean'?_0x9b4f24[_0x40bf6c(0x260)]['BOOLEAN']:_0x9b4f24[_0x40bf6c(0x260)][_0x40bf6c(0x290)];}function _0x269e09(_0x14aa64){const _0x2f40a7=_0x164ecf;_0x14aa64[_0x2f40a7(0x281)]((_0x598246,_0x1528c0)=>_0x598246['orderKey']['localeCompare'](_0x1528c0['orderKey']));let _0x336466=[];for(let _0x13e60b of _0x14aa64)_0x336466[_0x2f40a7(0x4bf)](_0x13e60b['id']);return _0x336466;}function _0x350c17(_0x19175c,_0x1ffa21){const _0x38e5cf=_0x164ecf;return _0x19175c===_0x9b4f24[_0x38e5cf(0x260)]['STRING']||_0x19175c===_0x9b4f24[_0x38e5cf(0x260)]['NUMBER']||_0x19175c===_0x9b4f24[_0x38e5cf(0x260)]['BOOLEAN']||_0x19175c===_0x9b4f24[_0x38e5cf(0x260)][_0x38e5cf(0x11f)]||_0x19175c==null?_0x19175c:_0x4ea2c3(_0x1ffa21??null);}function _0x4fd831(_0x5f486b){const _0x2808d4=_0x164ecf;let _0x38bb54=null;for(let _0x437328 of _0x5f486b)_0x38bb54=_0x38bb54===null?_0x437328:_0x9b4f24[_0x2808d4(0x47b)][_0x2808d4(0x132)][_0x2808d4(0x17f)](_0x38bb54,_0x437328);return _0x38bb54;}var _0x1f3607=class _0x5a9d4f{static[_0x164ecf(0x3d8)](_0x22f087,_0x46db3d){const _0x33bd83=_0x164ecf;let _0x30d804=[];for(let _0x1d6585 of _0x46db3d){let _0xe73418=_0x2e47a8(_0x1d6585);if(!_0xe73418||_0xe73418[_0x33bd83(0x333)]!==_0x22f087['id'])return null;_0x30d804[_0x33bd83(0x4bf)](_0xe73418['op']);}try{let _0x3582ae=_0x4fd831(_0x30d804);return _0x3582ae===null?_0x22f087:new _0x5a9d4f()[_0x33bd83(0x2f4)](_0x22f087,_0x3582ae);}catch{return null;}}[_0x164ecf(0x2f4)](_0x3c9a07,_0x418711){const _0x47b273=_0x164ecf;let _0x1c3c8e=this[_0x47b273(0x2ed)](_0x418711),_0x3954e6=_0x3022ee(_0x47b273(0x4b1),()=>_0x539f8e(_0x3c9a07,_0x418711),{'invalidations':_0x1c3c8e[_0x47b273(0x13b)]}),_0x2e6141=_0x3022ee(_0x47b273(0x3bd),()=>_0x9b4f24[_0x47b273(0x47b)][_0x47b273(0x132)][_0x47b273(0x194)](_0x3954e6,_0x418711),{'invalidations':_0x1c3c8e[_0x47b273(0x13b)]});return _0x3022ee(_0x47b273(0x400),()=>_0x3ceb0e(_0x2e6141,_0x1c3c8e),{'invalidations':_0x1c3c8e[_0x47b273(0x13b)]})||_0x3022ee('BaseJson1.normalizeTables',()=>{const _0x5544bd=_0x47b273;this['_getTablesToNormalize'](_0x2e6141,_0x1c3c8e)[_0x5544bd(0x49e)](_0x83843e=>{_0x35f3d7(_0x83843e);});},{'invalidations':_0x1c3c8e['length']}),_0x2e6141;}['invertOp'](_0x4a311f,_0x3fd29f){const _0x1e8382=_0x164ecf;return _0x9b4f24['JSON1'][_0x1e8382(0x132)][_0x1e8382(0x25d)](_0x3fd29f,_0x4a311f);}['getAffectedRanges'](_0x3702ba){const _0x28a446=_0x164ecf;let _0x4cf20e=_0x5cf0ae(_0x3702ba);return _0x4cf20e['length']?_0x4b5a02(_0x4cf20e[_0x28a446(0x17e)](_0x788f4b=>this['getAffectedRanges'](_0x788f4b))):_0x178ec1(_0x3702ba);}[_0x164ecf(0x2a6)](_0x5ef353,_0x6b9f8a){const _0x19143d=_0x164ecf;return _0x6b9f8a[_0x19143d(0x13b)]?_0x6b9f8a[_0x19143d(0x3ba)](_0x522cfc=>!_0x522cfc[_0x19143d(0x28a)])?Object[_0x19143d(0x10a)](_0x5ef353[_0x19143d(0x4cb)]??{}):Array['from'](new Set(_0x6b9f8a[_0x19143d(0x2a7)](_0x5707e7=>_0x5707e7[_0x19143d(0x28a)])))['flatMap'](_0x1a22f4=>{const _0x2f3553=_0x19143d;var _0x148faa;let _0x48449f=(_0x148faa=_0x5ef353[_0x2f3553(0x4cb)])==null?void 0x0:_0x148faa[_0x1a22f4];return _0x48449f?[_0x48449f]:[];}):[];}};function _0x2e47a8(_0x37f135){const _0x5a4319=_0x164ecf;let _0x269530=_0x37f135[_0x5a4319(0x36d)];return _0x37f135['id']!=='base.mutation.apply-base-json1'||typeof _0x269530!='object'||!_0x269530||!('unitId'in _0x269530)||typeof _0x269530[_0x5a4319(0x333)]!=_0x5a4319(0x1e4)||!('op'in _0x269530)||!Array[_0x5a4319(0x32e)](_0x269530['op'])?null:{'unitId':_0x269530[_0x5a4319(0x333)],'op':_0x269530['op']};}function _0x3ceb0e(_0x3e1e96,_0x20bc62){const _0x3ea2b1=_0x164ecf;if(!_0x20bc62[_0x3ea2b1(0x13b)]||_0x20bc62[_0x3ea2b1(0x3ba)](_0x15c343=>_0x15c343[_0x3ea2b1(0x167)]!==_0x3ea2b1(0x213)))return!0x1;let _0x1a4b84=new Map();for(let _0x4625dd of _0x20bc62){if(!_0x4625dd[_0x3ea2b1(0x28a)]||_0x4625dd[_0x3ea2b1(0x12f)]==null||_0x4625dd[_0x3ea2b1(0x1b3)]==null)continue;let _0x487dae=_0x1a4b84[_0x3ea2b1(0x3e9)](_0x4625dd[_0x3ea2b1(0x28a)])??[];_0x487dae[_0x3ea2b1(0x4bf)]({'row':_0x4625dd[_0x3ea2b1(0x12f)],'col':_0x4625dd[_0x3ea2b1(0x1b3)]}),_0x1a4b84[_0x3ea2b1(0x25a)](_0x4625dd[_0x3ea2b1(0x28a)],_0x487dae);}return _0x1a4b84[_0x3ea2b1(0x49e)]((_0x41e1e4,_0x2563e8)=>{const _0x166247=_0x3ea2b1;var _0x3ad3c4;let _0x20ea87=(_0x3ad3c4=_0x3e1e96[_0x166247(0x4cb)])==null?void 0x0:_0x3ad3c4[_0x2563e8];_0x20ea87&&_0x179dff(_0x20ea87,_0x41e1e4);}),!0x0;}function _0x178ec1(_0x3c46af){const _0x1ea905=_0x164ecf;if(!Array[_0x1ea905(0x32e)](_0x3c46af)||_0x3c46af[_0x1ea905(0x13b)]<0x2)return[{'tableId':'','reason':'unknown'}];let _0x165779=_0x3c46af,_0xb0d327=_0x165779[_0x1ea905(0x19b)](_0x1ea905(0x4cb));return _0xb0d327===-0x1||typeof _0x165779[_0xb0d327+0x1]!=_0x1ea905(0x1e4)?_0x165779[0x0]===_0x1ea905(0x20d)?[]:[{'tableId':'','reason':_0x1ea905(0x360)}]:_0xf5be50(_0x165779,_0xb0d327,String(_0x165779[_0xb0d327+0x1]));}function _0xf5be50(_0x151174,_0x525a13,_0x8e627a){const _0x5b6f35=_0x164ecf;let _0xc4c83d=_0x151174[_0x525a13+0x2];return _0xc4c83d===_0x5b6f35(0x312)&&typeof _0x151174[_0x525a13+0x3]==_0x5b6f35(0x1e4)?_0x53d56e(_0x151174,_0x525a13,_0x8e627a,String(_0x151174[_0x525a13+0x3])):_0xc4c83d===_0x5b6f35(0x216)&&_0x151174[_0x525a13+0x3]!=null&&_0x151174[_0x525a13+0x4]!=null?[{'tableId':_0x8e627a,'reason':_0x5b6f35(0x213),'row':Number(_0x151174[_0x525a13+0x3]),'column':Number(_0x151174[_0x525a13+0x4])}]:_0xc4c83d==='fields'&&typeof _0x151174[_0x525a13+0x3]==_0x5b6f35(0x1e4)?[{'tableId':_0x8e627a,'reason':_0x5b6f35(0x2da),'fieldId':String(_0x151174[_0x525a13+0x3])}]:_0xc4c83d==='views'&&typeof _0x151174[_0x525a13+0x3]==_0x5b6f35(0x1e4)?[{'tableId':_0x8e627a,'reason':'view','viewId':String(_0x151174[_0x525a13+0x3])}]:[{'tableId':_0x8e627a,'reason':_0xc4c83d===void 0x0?_0x5b6f35(0xfe):_0x5b6f35(0x360)}];}function _0x53d56e(_0x497cc2,_0x5f004a,_0x40a184,_0x29a3bb){const _0x5679c2=_0x164ecf;return _0x497cc2[_0x5f004a+0x4]===_0x5679c2(0x10a)&&typeof _0x497cc2[_0x5f004a+0x5]==_0x5679c2(0x1e4)?[{'tableId':_0x40a184,'reason':'cell','recordId':_0x29a3bb,'fieldId':String(_0x497cc2[_0x5f004a+0x5])}]:_0x497cc2[_0x5f004a+0x4]===_0x5679c2(0x148)||_0x497cc2[_0x5f004a+0x4]===_0x5679c2(0x3e7)?[]:[{'tableId':_0x40a184,'reason':_0x5679c2(0x2cb),'recordId':_0x29a3bb}];}function _0x5cf0ae(_0x1824d4){const _0x3bc2be=_0x164ecf;if(!Array['isArray'](_0x1824d4))return[];let _0x5d99b1=_0x1824d4[_0x3bc2be(0x41f)](Array[_0x3bc2be(0x32e)]);if(_0x5d99b1[_0x3bc2be(0x13b)]>0x1&&_0x5d99b1[_0x3bc2be(0x13b)]===_0x1824d4[_0x3bc2be(0x13b)])return _0x5d99b1;let _0x2aa556=_0x1824d4['findIndex'](Array['isArray']);if(_0x2aa556>0x0&&_0x1824d4['slice'](_0x2aa556)['every'](Array['isArray'])){let _0x1dffa5=_0x1824d4['slice'](0x0,_0x2aa556);return _0x1824d4['slice'](_0x2aa556)[_0x3bc2be(0x2a7)](_0x4db0b8=>[..._0x1dffa5,..._0x4db0b8]);}let _0x52112f=_0x1824d4['indexOf'](_0x3bc2be(0x4cb));if(_0x52112f===-0x1||typeof _0x1824d4[_0x52112f+0x1]!=_0x3bc2be(0x1e4))return[];let _0x3f73a4=String(_0x1824d4[_0x52112f+0x1]),_0x3dbe15=_0x1824d4['slice'](_0x52112f+0x2)[_0x3bc2be(0x41f)](Array[_0x3bc2be(0x32e)]);return _0x3dbe15[_0x3bc2be(0x13b)]<=0x1?[]:_0x3dbe15['map'](_0x491c3b=>['tables',_0x3f73a4,..._0x491c3b]);}function _0x4b5a02(_0x3bb29c){const _0xce8a7c=_0x164ecf;let _0x42832b=new Set();return _0x3bb29c[_0xce8a7c(0x41f)](_0x80a051=>{const _0x494b8d=_0xce8a7c;let _0x22e267=JSON[_0x494b8d(0x122)](_0x80a051);return _0x42832b[_0x494b8d(0x1df)](_0x22e267)?!0x1:(_0x42832b[_0x494b8d(0x134)](_0x22e267),!0x0);});}function _0x1484eb(_0x1d9c0f){const _0x314428=_0x164ecf;return _0x9b4f24[_0x314428(0x22c)]['deepClone'](_0x1d9c0f);}function _0x539f8e(_0x53cebb,_0x56842f){const _0x8a77ed=_0x164ecf;let _0x2fc016=_0x2ebac4(_0x56842f);if(!_0x2fc016[_0x8a77ed(0x13b)])return _0x1484eb(_0x53cebb);let _0x57ab58=_0x386fab(_0x53cebb),_0x2942b6=new Set();for(let _0x2bce78 of _0x2fc016)_0x524503(_0x57ab58,_0x2bce78,_0x2942b6);return _0x57ab58;}function _0x2ebac4(_0x52e5eb){let _0x57d9c3=[];return _0x6d6fa1(_0x52e5eb,[],_0x57d9c3),_0x57d9c3;}function _0x6d6fa1(_0x596aaa,_0x22049e,_0xc0d1d8){const _0x20590a=_0x164ecf;if(!Array[_0x20590a(0x32e)](_0x596aaa))return;let _0x1b8e94=[];for(let _0x5a6848 of _0x596aaa){if(Array[_0x20590a(0x32e)](_0x5a6848)){_0x6d6fa1(_0x5a6848,[..._0x22049e,..._0x1b8e94],_0xc0d1d8);continue;}if(_0x2e3e3e(_0x5a6848)){_0xc0d1d8[_0x20590a(0x4bf)]([..._0x22049e,..._0x1b8e94]);continue;}(typeof _0x5a6848=='string'||typeof _0x5a6848=='number')&&_0x1b8e94[_0x20590a(0x4bf)](_0x5a6848);}}function _0x2e3e3e(_0x3c7149){const _0x358293=_0x164ecf;if(!_0x3c7149||typeof _0x3c7149!=_0x358293(0x42c)||Array[_0x358293(0x32e)](_0x3c7149))return!0x1;let _0x90a378=_0x3c7149;return'i'in _0x90a378||'r'in _0x90a378||'p'in _0x90a378||'d'in _0x90a378||'es'in _0x90a378||'ena'in _0x90a378||'et'in _0x90a378;}function _0x524503(_0x2bbf85,_0x3c1af1,_0xe0b92c){const _0x4a3677=_0x164ecf;let _0x1a048c=_0x2bbf85,_0xb8ca9b=[];for(let _0xabd0ee=0x0;_0xabd0ee<_0x3c1af1[_0x4a3677(0x13b)]-0x1;_0xabd0ee++){let _0x58e155=_0x3c1af1[_0xabd0ee];_0xb8ca9b['push'](_0x58e155);let _0x9f9122=_0x552d6c(_0x1a048c,_0x58e155);if(!_0x5da8c7(_0x9f9122))return;let _0x48bd2d=JSON[_0x4a3677(0x122)](_0xb8ca9b);_0xe0b92c[_0x4a3677(0x1df)](_0x48bd2d)||(_0x2e6ba0(_0x1a048c,_0x58e155,_0x386fab(_0x9f9122)),_0xe0b92c[_0x4a3677(0x134)](_0x48bd2d));let _0x318dae=_0x552d6c(_0x1a048c,_0x58e155);if(!_0x5da8c7(_0x318dae))return;_0x1a048c=_0x318dae;}}function _0x552d6c(_0x1e0635,_0x35dbb0){const _0x441af3=_0x164ecf;return Array['isArray'](_0x1e0635)?typeof _0x35dbb0==_0x441af3(0x1a8)?_0x1e0635[_0x35dbb0]:void 0x0:Reflect[_0x441af3(0x3e9)](_0x1e0635,_0x35dbb0);}function _0x2e6ba0(_0x18fdef,_0x639d22,_0x2dfeea){const _0x2bd715=_0x164ecf;if(Array['isArray'](_0x18fdef)){typeof _0x639d22==_0x2bd715(0x1a8)&&(_0x18fdef[_0x639d22]=_0x2dfeea);return;}Reflect[_0x2bd715(0x25a)](_0x18fdef,_0x639d22,_0x2dfeea);}function _0x5da8c7(_0x46cf0d){const _0x5b5a74=_0x164ecf;return!!_0x46cf0d&&typeof _0x46cf0d==_0x5b5a74(0x42c);}function _0x386fab(_0x59e036){const _0x1c9dc0=_0x164ecf;return Array[_0x1c9dc0(0x32e)](_0x59e036)?_0x59e036[_0x1c9dc0(0x475)]():{..._0x59e036};}let _0x3d8522=0x5a0*0x3c*0x3e8,_0x1fbfab=0x63e1,_0x524eae='yyyy/mm/dd',_0x2dca56=/\s+hh:mm\s*$/i,_0x53ae7e={'yyyy/mm/dd':'YYYY/MM/DD','yyyy-mm-dd':'YYYY-MM-DD','mm-dd':_0x164ecf(0x4af),'mm/dd/yyyy':'MM/DD/YYYY','dd/mm/yyyy':_0x164ecf(0x44a),'mmm\x20d,\x20yyyy':'MMM\x20D,\x20YYYY'};function _0x5f1ca7(_0x1f852b){const _0x3c81cc=_0x164ecf;return(0x0,_0x9b4f24['dateKit'])(_0x1f852b)[_0x3c81cc(0xf2)]()/_0x3d8522+_0x1fbfab;}function _0x3a3561(_0x2d79d2){const _0x5e069d=_0x164ecf;return Math[_0x5e069d(0x143)]((_0x2d79d2-_0x1fbfab)*_0x3d8522);}function _0x746a73(_0x2299cc){const _0x215613=_0x164ecf;if(_0x2299cc==null||_0x2299cc==='')return null;if(_0x2299cc instanceof Date)return _0x5f1ca7(_0x2299cc);if(typeof _0x2299cc==_0x215613(0x1a8))return Number[_0x215613(0x4a1)](_0x2299cc)?_0x2299cc>0xf4240?_0x5f1ca7(_0x2299cc):_0x2299cc:null;let _0x4bf801=Date[_0x215613(0x31a)](String(_0x2299cc));return Number[_0x215613(0x169)](_0x4bf801)?null:_0x5f1ca7(_0x4bf801);}function _0x22fdeb(_0x29eefd){let _0x50df8d=_0x746a73(_0x29eefd);return _0x50df8d==null?null:_0x3a3561(_0x50df8d);}function _0x3a00cb(_0x9fccea={}){const _0x394fd2=_0x164ecf;let _0x3e19f4=String(_0x9fccea['pattern']??_0x9fccea['format']??_0x9fccea[_0x394fd2(0x162)]??_0x524eae)[_0x394fd2(0x276)]()||_0x524eae,_0x516237=_0x2dca56[_0x394fd2(0x37c)](_0x3e19f4);return{'pattern':_0x3e19f4['replace'](_0x2dca56,'')||_0x524eae,'includeTime':typeof _0x9fccea[_0x394fd2(0x3f4)]=='boolean'?_0x9fccea[_0x394fd2(0x3f4)]:_0x516237,'hourCycle':_0x9fccea['hourCycle']===_0x394fd2(0x4cc)?_0x394fd2(0x4cc):_0x394fd2(0x12c)};}function _0x50589f(_0x408bb4={}){let {format:_0xdb2c0a,dateFormat:_0x3f89aa,..._0x3e0989}=_0x408bb4;return{..._0x3e0989,..._0x3a00cb(_0x408bb4)};}function _0x487a69(_0x24e1ec,_0x5cbdb5={}){const _0x23b41a=_0x164ecf;let _0x212672=_0x22fdeb(_0x24e1ec);if(_0x212672==null||!Number[_0x23b41a(0x4a1)](_0x212672))return'';let _0x512660=_0x3a00cb(_0x5cbdb5);return(0x0,_0x9b4f24[_0x23b41a(0x49f)])(_0x212672)['format'](_0x46194b(_0x512660));}function _0x46194b(_0x4363db){const _0x187ab4=_0x164ecf;let {pattern:_0x163d1c,includeTime:_0x4d6fdf,hourCycle:_0x305d34}=_0x4363db,_0x5d7a82=_0x53ae7e[_0x163d1c]??_0x53ae7e[_0x524eae];return _0x4d6fdf?_0x5d7a82+'\x20'+(_0x305d34===_0x187ab4(0x4cc)?_0x187ab4(0x32f):'HH:mm'):_0x5d7a82;}let _0x4eff16={'editable':!0x0,'sortable':!0x0,'filterable':!0x0,'groupable':!0x1,'usableAsKanbanGroup':!0x1,'usableAsCalendarDate':!0x1,'usableAsGanttStart':!0x1,'usableAsGanttEnd':!0x1,'usableAsGanttProgress':!0x1,'usableAsCardCover':!0x1,'usableAsTitle':!0x1},_0x4a6103=new Set([_0x9b4f24[_0x164ecf(0x3bc)][_0x164ecf(0x111)]]),_0x37598a=0x5a0*0x3c*0x3e8;function _0x257887(_0x4ec7fd){const _0x2a7b40=_0x164ecf;switch(_0x4ec7fd){case _0x9b4f24[_0x2a7b40(0x3bc)][_0x2a7b40(0x44e)]:case _0x9b4f24[_0x2a7b40(0x3bc)][_0x2a7b40(0x2fe)]:case _0x9b4f24[_0x2a7b40(0x3bc)][_0x2a7b40(0x327)]:case _0x9b4f24['BaseFieldType'][_0x2a7b40(0x38c)]:return[_0x9b4f24[_0x2a7b40(0xfd)]['IS'],_0x9b4f24[_0x2a7b40(0xfd)][_0x2a7b40(0x1cc)],_0x9b4f24['BaseConditionalColorOperator'][_0x2a7b40(0x2b9)],_0x9b4f24[_0x2a7b40(0xfd)][_0x2a7b40(0x145)],_0x9b4f24[_0x2a7b40(0xfd)][_0x2a7b40(0x1da)],_0x9b4f24['BaseConditionalColorOperator']['IS_NOT_EMPTY']];case _0x9b4f24['BaseFieldType'][_0x2a7b40(0x442)]:case _0x9b4f24[_0x2a7b40(0x3bc)]['CreatedAt']:case _0x9b4f24[_0x2a7b40(0x3bc)]['UpdatedAt']:return[_0x9b4f24[_0x2a7b40(0xfd)]['IS'],_0x9b4f24[_0x2a7b40(0xfd)]['IS_NOT'],_0x9b4f24[_0x2a7b40(0xfd)][_0x2a7b40(0x29d)],_0x9b4f24['BaseConditionalColorOperator'][_0x2a7b40(0x2a2)],_0x9b4f24['BaseConditionalColorOperator'][_0x2a7b40(0x1da)],_0x9b4f24['BaseConditionalColorOperator'][_0x2a7b40(0x219)]];case _0x9b4f24[_0x2a7b40(0x3bc)][_0x2a7b40(0x1f2)]:return[_0x9b4f24[_0x2a7b40(0xfd)]['IS'],_0x9b4f24[_0x2a7b40(0xfd)]['IS_NOT']];default:return[_0x9b4f24[_0x2a7b40(0xfd)]['IS'],_0x9b4f24['BaseConditionalColorOperator'][_0x2a7b40(0x1cc)],_0x9b4f24[_0x2a7b40(0xfd)][_0x2a7b40(0x430)],_0x9b4f24[_0x2a7b40(0xfd)][_0x2a7b40(0x10e)],_0x9b4f24[_0x2a7b40(0xfd)][_0x2a7b40(0x1da)],_0x9b4f24[_0x2a7b40(0xfd)][_0x2a7b40(0x219)]];}}function _0x397802(_0x26a5d8){const _0x4b587e=_0x164ecf;return _0x26a5d8===_0x9b4f24['BaseFieldType'][_0x4b587e(0x442)]||_0x26a5d8===_0x9b4f24[_0x4b587e(0x3bc)][_0x4b587e(0x346)]||_0x26a5d8===_0x9b4f24[_0x4b587e(0x3bc)][_0x4b587e(0x380)];}function _0x8225b2(_0x380902,_0x494c49){const _0xea8f6b=_0x164ecf;return _0x380902==null&&_0x494c49==null?0x0:_0x380902==null?-0x1:_0x494c49==null?0x1:typeof _0x380902=='number'&&typeof _0x494c49=='number'?_0x380902-_0x494c49:String(_0x380902)[_0xea8f6b(0x2c6)](String(_0x494c49));}function _0x2fe127(_0x575e3e,_0x414ed2,_0xf2dd8a,_0x4a4264,_0x3225a8={}){const _0x2aeac1=_0x164ecf;if(_0x414ed2===_0x2aeac1(0x1c0))return _0x5c2ee7(_0x575e3e);if(_0x414ed2===_0x2aeac1(0x26a))return!_0x5c2ee7(_0x575e3e);switch(_0x4a4264[_0x2aeac1(0x132)]){case _0x9b4f24['BaseFieldType'][_0x2aeac1(0x44e)]:case _0x9b4f24[_0x2aeac1(0x3bc)]['Currency']:case _0x9b4f24['BaseFieldType'][_0x2aeac1(0x327)]:case _0x9b4f24[_0x2aeac1(0x3bc)][_0x2aeac1(0x38c)]:return _0x493c92(_0x575e3e,_0x414ed2,_0xf2dd8a);case _0x9b4f24[_0x2aeac1(0x3bc)][_0x2aeac1(0x442)]:case _0x9b4f24[_0x2aeac1(0x3bc)][_0x2aeac1(0x346)]:case _0x9b4f24[_0x2aeac1(0x3bc)]['UpdatedAt']:return _0x1dbebc(_0x575e3e,_0x414ed2,_0xf2dd8a,_0x3225a8);case _0x9b4f24[_0x2aeac1(0x3bc)][_0x2aeac1(0x1f2)]:return _0x55a892(_0x575e3e,_0x414ed2,_0xf2dd8a);case _0x9b4f24['BaseFieldType'][_0x2aeac1(0x378)]:case _0x9b4f24[_0x2aeac1(0x3bc)][_0x2aeac1(0x1be)]:case _0x9b4f24['BaseFieldType']['Person']:case _0x9b4f24[_0x2aeac1(0x3bc)][_0x2aeac1(0x101)]:return _0x563ff3(_0x575e3e,_0x414ed2,_0xf2dd8a,_0x4a4264);default:return _0x5aafc2(_0x575e3e,_0x414ed2,_0xf2dd8a);}}function _0x5c2ee7(_0x8cd44a){const _0x493c81=_0x164ecf;return _0x8cd44a==null?!0x0:Array[_0x493c81(0x32e)](_0x8cd44a)?_0x8cd44a[_0x493c81(0x13b)]===0x0:typeof _0x8cd44a==_0x493c81(0x1e4)&&_0x8cd44a[_0x493c81(0x276)]()==='';}function _0x493c92(_0x450a26,_0x5cb5ad,_0xbd8b0){const _0x10478a=_0x164ecf;let _0x1782cd=_0x101c33(_0x450a26),_0x2de30d=_0x101c33(_0xbd8b0);if(_0x1782cd==null||_0x2de30d==null)return!0x1;switch(_0x5cb5ad){case'is':return _0x1782cd===_0x2de30d;case'isNot':return _0x1782cd!==_0x2de30d;case _0x10478a(0x295):return _0x1782cd>_0x2de30d;case _0x10478a(0x47f):return _0x1782cd>=_0x2de30d;case _0x10478a(0x466):return _0x1782cd<_0x2de30d;case _0x10478a(0x3fa):return _0x1782cd<=_0x2de30d;default:return!0x1;}}function _0x101c33(_0x366f33){const _0x58bf81=_0x164ecf;if(_0x366f33==null||_0x366f33==='')return null;let _0x4a854d=Number(_0x366f33);return Number[_0x58bf81(0x4a1)](_0x4a854d)?_0x4a854d:null;}function _0x1dbebc(_0x894d52,_0xa8dbc2,_0x2b3f62,_0x3f34aa){const _0x5f11f1=_0x164ecf;let _0x3c60ba=_0x195862(_0x894d52);if(_0x3c60ba==null)return!0x1;let _0x3a629f=_0x415f7f(_0x3f34aa[_0x5f11f1(0x2a5)]??_0x5f11f1(0x343),_0x2b3f62,_0x3f34aa[_0x5f11f1(0x1e5)]);if(!_0x3a629f)return!0x1;switch(_0xa8dbc2){case'is':return _0x3c60ba>=_0x3a629f[_0x5f11f1(0x2e1)]&&_0x3c60ba<=_0x3a629f[_0x5f11f1(0x168)];case _0x5f11f1(0x1ee):return _0x3c60ba<_0x3a629f['start']||_0x3c60ba>_0x3a629f[_0x5f11f1(0x168)];case _0x5f11f1(0x497):return _0x3c60ba<_0x3a629f[_0x5f11f1(0x2e1)];case _0x5f11f1(0x2c8):return _0x3c60ba>_0x3a629f[_0x5f11f1(0x168)];default:return!0x1;}}function _0x415f7f(_0x2c4307,_0x23f172,_0x210667=Date[_0x164ecf(0x1e5)]()){const _0x15df3d=_0x164ecf;let _0x41353a=_0x1b9d6a(_0x210667);switch(_0x2c4307){case'exact':{let _0x350cce=_0x195862(_0x23f172);return _0x350cce==null?null:{'start':_0x350cce,'end':_0x350cce+_0x37598a-0x1};}case _0x15df3d(0x391):return{'start':_0x41353a,'end':_0x41353a+_0x37598a-0x1};case _0x15df3d(0x4d2):return{'start':_0x41353a+_0x37598a,'end':_0x41353a+_0x37598a*0x2-0x1};case'yesterday':return{'start':_0x41353a-_0x37598a,'end':_0x41353a-0x1};case _0x15df3d(0x4c4):return _0x28a8ad(_0x41353a,0x0);case'lastWeek':return _0x28a8ad(_0x41353a,-0x1);case _0x15df3d(0x383):return _0x2bf027(_0x41353a,0x0);case _0x15df3d(0x202):return _0x2bf027(_0x41353a,-0x1);case _0x15df3d(0x1ff):return{'start':_0x41353a-_0x37598a*0x6,'end':_0x41353a+_0x37598a-0x1};case _0x15df3d(0x3e1):return{'start':_0x41353a,'end':_0x41353a+_0x37598a*0x7-0x1};case _0x15df3d(0x472):return{'start':_0x41353a-_0x37598a*0x1d,'end':_0x41353a+_0x37598a-0x1};case _0x15df3d(0x138):return{'start':_0x41353a,'end':_0x41353a+_0x37598a*0x1e-0x1};}}function _0x195862(_0x3a05ad){let _0x4674a1=_0x746a73(_0x3a05ad);return _0x4674a1==null?null:_0x1b9d6a(_0x3a3561(_0x4674a1));}function _0x1b9d6a(_0x148b06){const _0x1679f6=_0x164ecf;let _0x47f397=new Date(_0x148b06);return _0x47f397[_0x1679f6(0x2cd)](0x0,0x0,0x0,0x0),_0x47f397[_0x1679f6(0x43d)]();}function _0x28a8ad(_0x30c508,_0x5b09fe){const _0x2b8b65=_0x164ecf;let _0x43c2c5=_0x30c508-(new Date(_0x30c508)[_0x2b8b65(0x2d5)]()+0x6)%0x7*_0x37598a+_0x5b09fe*_0x37598a*0x7;return{'start':_0x43c2c5,'end':_0x43c2c5+_0x37598a*0x7-0x1};}function _0x2bf027(_0x4c503d,_0x2f1ebf){const _0x37a931=_0x164ecf;let _0x198c47=new Date(_0x4c503d),_0x2020d9=new Date(_0x198c47[_0x37a931(0x3b9)](),_0x198c47['getMonth']()+_0x2f1ebf,0x1),_0xe7ff96=new Date(_0x198c47[_0x37a931(0x3b9)](),_0x198c47[_0x37a931(0x3b7)]()+_0x2f1ebf+0x1,0x1);return{'start':_0x2020d9[_0x37a931(0x43d)](),'end':_0xe7ff96[_0x37a931(0x43d)]()-0x1};}function _0x55a892(_0x4b40b7,_0x5ea583,_0x401107){let _0x3a5710=_0xc8cae3(_0x4b40b7),_0x2a4c95=_0xc8cae3(_0x401107);switch(_0x5ea583){case'is':return _0x3a5710===_0x2a4c95;case'isNot':return _0x3a5710!==_0x2a4c95;default:return!0x1;}}function _0xc8cae3(_0x1e2292){const _0x30cb9b=_0x164ecf;return _0x1e2292===!0x0||_0x1e2292===_0x30cb9b(0x45e)||_0x1e2292===0x1||_0x1e2292==='1';}function _0x563ff3(_0x1f5eb6,_0x2b2ccc,_0x252865,_0x33784f){const _0x6513cc=_0x164ecf;let _0x2cc723=_0x2b18e4(_0x1f5eb6,_0x33784f),_0x2e7b03=_0x2b18e4(_0x252865,_0x33784f),_0x2ceb86=_0x2e7b03[_0x6513cc(0x13b)]>0x0&&_0x2e7b03[_0x6513cc(0x3ba)](_0x2fc3cc=>_0x2cc723[_0x6513cc(0x45d)](_0x2fc3cc));switch(_0x2b2ccc){case'is':case _0x6513cc(0x440):return _0x2ceb86;case _0x6513cc(0x1ee):case _0x6513cc(0x13c):return!_0x2ceb86;default:return!0x1;}}function _0x5aafc2(_0x52ed7e,_0xfd2938,_0x3aa33c){const _0x2d4580=_0x164ecf;let _0x1fdc3e=_0x3d8a6f(_0x52ed7e),_0x32b265=_0x3d8a6f(_0x3aa33c);switch(_0xfd2938){case'is':return _0x1fdc3e===_0x32b265;case'isNot':return _0x1fdc3e!==_0x32b265;case _0x2d4580(0x440):return _0x32b265?_0x1fdc3e[_0x2d4580(0x45d)](_0x32b265):!0x1;case'notContains':return!_0x32b265||!_0x1fdc3e['includes'](_0x32b265);default:return!0x1;}}function _0x3d8a6f(_0x130a46){const _0x2e3e3d=_0x164ecf;if(Array[_0x2e3e3d(0x32e)](_0x130a46))return _0x130a46[_0x2e3e3d(0x2a7)](_0x442949=>_0x3d8a6f(_0x442949))[_0x2e3e3d(0x305)]('\x0a');if(_0x130a46&&typeof _0x130a46=='object'){let _0xb5bec2=_0x130a46;return String(_0xb5bec2['name']??_0xb5bec2['label']??_0xb5bec2[_0x2e3e3d(0x40e)]??_0xb5bec2[_0x2e3e3d(0x43f)]??_0xb5bec2['id']??'')[_0x2e3e3d(0x276)]()['toLowerCase']();}return String(_0x130a46??'')[_0x2e3e3d(0x276)]()[_0x2e3e3d(0x3b3)]();}function _0x2b18e4(_0x21afbd,_0x1837a0){const _0x33ea97=_0x164ecf;let _0x223c6f=_0x15c4c7(_0x21afbd),_0x1f0ff0=_0x31a8ca(_0x1837a0[_0x33ea97(0x19f)]??{});return _0x223c6f['flatMap'](_0x3a02d4=>_0x1f0ff0[_0x33ea97(0x3e9)](_0x3a02d4)??[_0x3a02d4])[_0x33ea97(0x41f)]((_0x2fbbcf,_0x1ffa3e,_0x43d5ca)=>_0x2fbbcf!==''&&_0x43d5ca[_0x33ea97(0x19b)](_0x2fbbcf)===_0x1ffa3e);}function _0x15c4c7(_0x5d00a0){const _0x140583=_0x164ecf;if(_0x5d00a0==null||_0x5d00a0==='')return[];if(Array[_0x140583(0x32e)](_0x5d00a0))return _0x5d00a0[_0x140583(0x17e)](_0x463add=>_0x15c4c7(_0x463add));if(_0x5d00a0&&typeof _0x5d00a0==_0x140583(0x42c)){let _0x3d4202=_0x5d00a0;return['id',_0x140583(0x267),_0x140583(0x316),_0x140583(0x43f),_0x140583(0x40e)]['flatMap'](_0x5f4f0c=>_0x15c4c7(_0x3d4202[_0x5f4f0c]))['filter']((_0x35d9c0,_0x35091b,_0xf89fb)=>_0xf89fb[_0x140583(0x19b)](_0x35d9c0)===_0x35091b);}return[_0x3d8a6f(_0x5d00a0)];}function _0x31a8ca(_0x1fef87){const _0x3bd6fb=_0x164ecf;let _0xa5e103=new Map();return(Array[_0x3bd6fb(0x32e)](_0x1fef87[_0x3bd6fb(0x2e8)])?_0x1fef87['options']:[])[_0x3bd6fb(0x49e)](_0x365f11=>{const _0x3c9f73=_0x3bd6fb;if(!_0x365f11||typeof _0x365f11!=_0x3c9f73(0x42c))return;let _0xdf253=_0x15c4c7(_0x365f11),_0x512cd4=_0xdf253[_0x3c9f73(0x41f)]((_0xb68d8,_0x290c5b)=>_0xb68d8!==''&&_0xdf253[_0x3c9f73(0x19b)](_0xb68d8)===_0x290c5b);_0x512cd4['forEach'](_0x20ce92=>_0xa5e103['set'](_0x20ce92,_0x512cd4));}),_0xa5e103;}function _0x4c8120(_0x1a0319,_0x58148a={},_0x2f056a=_0x3b02d2=>_0x3b02d2,_0x34ee7e={}){const _0x198478=_0x164ecf;let _0x4c5c13=!_0x4a6103['has'](_0x1a0319),_0x3b7e10=_0x2f056a??(_0x505b9d=>_0x505b9d);return{'type':_0x1a0319,'i18nKey':_0x198478(0x1c1)+_0x1a0319,'enabled':_0x4c5c13,'visibleInCreateMenu':_0x4c5c13,'createDefaultConfig':_0x34ee7e[_0x198478(0x44f)]??(()=>({})),'createDefaultValue':_0x34ee7e[_0x198478(0x1cb)]??(_0x3646c0=>_0x3646c0[_0x198478(0x387)]??null),'normalize':(_0x2bf9a2,_0x2d9469)=>_0x3b7e10(_0x2bf9a2,_0x2d9469),'validate':(_0x32b02f,_0x1f1835)=>{const _0xd2ae36=_0x198478;var _0x48430a;return _0x4c5c13?((_0x48430a=_0x34ee7e[_0xd2ae36(0x22d)])==null?void 0x0:_0x48430a[_0xd2ae36(0x35d)](_0x34ee7e,_0x32b02f,_0x1f1835))??{'valid':!0x0}:{'valid':!0x1};},'compare':(_0x1feda1,_0x313afa)=>_0x8225b2(_0x1feda1,_0x313afa),'filter':(_0x3e94e2,_0x198aab,_0x1de3d2,_0x285d94)=>_0x2fe127(_0x3e94e2,_0x198aab,_0x1de3d2,_0x285d94),'toPlainText':_0x34ee7e['toPlainText']??(_0x374a8e=>_0x374a8e==null?'':String(_0x374a8e)),'fromPlainText':_0x34ee7e[_0x198478(0x3c9)]??(_0x4fed4f=>_0x3b7e10(_0x4fed4f,{'id':'','name':'','type':_0x1a0319,'config':{}})),'getCapabilities':()=>({..._0x4eff16,..._0x58148a,'editable':_0x4c5c13&&(_0x58148a[_0x198478(0x3dd)]??_0x4eff16['editable'])})};}function _0x4b43b7(){const _0x136b4a=_0x164ecf;return[_0x4c8120(_0x9b4f24[_0x136b4a(0x3bc)][_0x136b4a(0x10b)],{'groupable':!0x0,'usableAsTitle':!0x0},void 0x0,{'createDefaultConfig':()=>({'placeholder':_0x136b4a(0x197)}),'createDefaultValue':_0x81cc01=>_0x81cc01['defaultValue']??''}),_0x4c8120(_0x9b4f24[_0x136b4a(0x3bc)]['SingleSelect'],{'groupable':!0x0,'usableAsKanbanGroup':!0x0,'supportsOptions':!0x0},_0x7101e5=>_0x7101e5==null||_0x7101e5===''?null:String(_0x7101e5),{'createDefaultConfig':()=>({'options':[],'optionSource':{'type':'manual'}})}),_0x4c8120(_0x9b4f24[_0x136b4a(0x3bc)]['MultiSelect'],{'filterable':!0x0,'usableAsKanbanGroup':!0x0,'supportsOptions':!0x0,'supportsMultipleValues':!0x0},_0x48521d=>Array[_0x136b4a(0x32e)](_0x48521d)?_0x48521d[_0x136b4a(0x2a7)](String):_0x48521d==null?[]:[String(_0x48521d)],{'createDefaultConfig':()=>({'options':[],'optionSource':{'type':_0x136b4a(0x40b)}}),'createDefaultValue':_0x37fb8f=>_0x37fb8f[_0x136b4a(0x387)]??[]}),_0x4c8120(_0x9b4f24[_0x136b4a(0x3bc)][_0x136b4a(0x2ba)],{'groupable':!0x0,'usableAsKanbanGroup':!0x0,'supportsMultipleValues':!0x0},_0x1b3c38,{'createDefaultConfig':()=>({'allowMultiple':!0x1,'provider':_0x136b4a(0x137)}),'validate':_0x197c88}),_0x4c8120(_0x9b4f24[_0x136b4a(0x3bc)]['Group'],{'groupable':!0x0,'usableAsKanbanGroup':!0x0,'supportsMultipleValues':!0x0},_0x1289f0,{'createDefaultConfig':()=>({'allowMultiple':!0x0,'provider':_0x136b4a(0x332)}),'createDefaultValue':_0x30b9ba=>_0x30b9ba[_0x136b4a(0x387)]??[],'validate':_0x3d8fe9}),_0x4c8120(_0x9b4f24[_0x136b4a(0x3bc)]['Date'],{'groupable':!0x0,'usableAsCalendarDate':!0x0,'usableAsGanttStart':!0x0,'usableAsGanttEnd':!0x0},_0x171267=>_0x746a73(_0x171267),{'createDefaultConfig':()=>_0x8f9b9e(),'validate':_0x128f5b}),_0x4c8120(_0x9b4f24[_0x136b4a(0x3bc)]['Attachment'],{'usableAsCardCover':!0x0,'supportsMultipleValues':!0x0},_0x4a9dda=>_0x4a9dda==null?[]:Array[_0x136b4a(0x32e)](_0x4a9dda)?_0x4a9dda:[_0x4a9dda],{'createDefaultValue':_0x39cf44=>_0x39cf44['defaultValue']??[]}),_0x4c8120(_0x9b4f24['BaseFieldType']['Number'],{},_0x506483=>_0x506483==null||_0x506483===''?null:Number(_0x506483),{'createDefaultConfig':()=>_0x56f678(),'validate':_0x118864}),_0x4c8120(_0x9b4f24['BaseFieldType'][_0x136b4a(0x1f2)],{'groupable':!0x0,'usableAsKanbanGroup':!0x0},_0x45dcf8=>_0x45dcf8===!0x0||_0x45dcf8===_0x136b4a(0x45e)||_0x45dcf8===0x1||_0x45dcf8==='1',{'createDefaultConfig':()=>({'icon':'check','color':_0x136b4a(0x418)}),'createDefaultValue':_0x1eb1b1=>_0x1eb1b1['defaultValue']??!0x1,'validate':_0x340609=>typeof _0x340609==_0x136b4a(0xf9)?{'valid':!0x0}:{'valid':!0x1,'reason':_0x136b4a(0x254)}}),_0x4c8120(_0x9b4f24[_0x136b4a(0x3bc)][_0x136b4a(0x3d3)],{'supportsRelation':!0x0},_0xace8b,{'createDefaultConfig':()=>({'placeholder':_0x136b4a(0x1a4)}),'toPlainText':_0x2eca8d=>_0x1aa2ca(_0x2eca8d),'fromPlainText':_0x402a36=>_0xace8b(_0x402a36)}),_0x4c8120(_0x9b4f24[_0x136b4a(0x3bc)][_0x136b4a(0x274)],{'editable':!0x1},void 0x0,{'createDefaultConfig':()=>({'formula':'','dependencies':[],'numfmt':{'type':_0x136b4a(0x364),'pattern':'General'}}),'createDefaultValue':()=>null}),_0x4c8120(_0x9b4f24[_0x136b4a(0x3bc)][_0x136b4a(0x166)],{'editable':!0x1,'usableAsTitle':!0x0},void 0x0,{'createDefaultConfig':()=>({'mode':'autoIncrement'}),'createDefaultValue':()=>null}),_0x4c8120(_0x9b4f24[_0x136b4a(0x3bc)][_0x136b4a(0x328)],{'usableAsTitle':!0x0},_0x3f6233=>_0x3f6233==null?null:String(_0x3f6233)[_0x136b4a(0x276)](),{'validate':_0x22af97=>_0x22af97==null||_0x22af97===''||/^\+?[0-9 ()-]{6,20}$/['test'](String(_0x22af97))?{'valid':!0x0}:{'valid':!0x1,'reason':_0x136b4a(0x3a4)}}),_0x4c8120(_0x9b4f24[_0x136b4a(0x3bc)][_0x136b4a(0x1f3)],{'usableAsTitle':!0x0},_0x2c4558=>_0x2c4558==null?null:String(_0x2c4558)[_0x136b4a(0x276)](),{'validate':_0x5be65a=>_0x5be65a==null||_0x5be65a===''||_0x1683b7(String(_0x5be65a))?{'valid':!0x0}:{'valid':!0x1,'reason':_0x136b4a(0x33f)}}),_0x4c8120(_0x9b4f24['BaseFieldType']['Progress'],{'usableAsGanttProgress':!0x0},_0x68fbca=>_0x68fbca==null||_0x68fbca===''?null:Number(_0x68fbca),{'createDefaultConfig':()=>({'format':_0x136b4a(0x48f),'decimalPlaces':0x0,'color':_0x136b4a(0x215),'customRange':!0x1,'start':0x0,'end':0x64}),'validate':(_0x9d2a7f,_0x521751)=>_0xee18df(_0x9d2a7f,_0x521751,_0x136b4a(0x3ef))}),_0x4c8120(_0x9b4f24['BaseFieldType'][_0x136b4a(0x2fe)],{},_0xc03e63=>_0xc03e63==null||_0xc03e63===''?null:Number(_0xc03e63),{'createDefaultConfig':()=>({..._0x56f678(),'currencySymbol':'$'}),'validate':_0x118864}),_0x4c8120(_0x9b4f24[_0x136b4a(0x3bc)][_0x136b4a(0x38c)],{'groupable':!0x0,'usableAsKanbanGroup':!0x0},_0xdc1f60=>_0xdc1f60==null||_0xdc1f60===''?null:Number(_0xdc1f60),{'createDefaultConfig':()=>({'icon':'star','min':0x1,'max':0x5}),'createDefaultValue':()=>null,'validate':(_0x144de3,_0x3d866c)=>_0xee18df(_0x144de3,_0x3d866c,_0x136b4a(0x438))}),_0x4c8120(_0x9b4f24[_0x136b4a(0x3bc)][_0x136b4a(0x226)],{'supportsRelation':!0x0,'supportsMultipleValues':!0x0},_0x36bde2,{'createDefaultConfig':()=>({'targetTableId':'','multiple':!0x1}),'createDefaultValue':()=>'','validate':(_0x13f655,_0x4eda6f)=>_0x57631c(_0x13f655,_0x4eda6f[_0x136b4a(0x19f)][_0x136b4a(0x299)]===!0x0)}),_0x4c8120(_0x9b4f24[_0x136b4a(0x3bc)][_0x136b4a(0x111)],{'editable':!0x1,'sortable':!0x0,'filterable':!0x0,'usableAsTitle':!0x0}),_0x4c8120(_0x9b4f24['BaseFieldType'][_0x136b4a(0x177)],{'editable':!0x1,'groupable':!0x0},_0x2c52fa=>_0x2c52fa==null?null:String(_0x2c52fa),{'createDefaultConfig':()=>({'provider':'user'}),'createDefaultValue':()=>null}),_0x4c8120(_0x9b4f24[_0x136b4a(0x3bc)][_0x136b4a(0x2d8)],{'editable':!0x1,'groupable':!0x0},_0x1bf30d=>_0x1bf30d==null?null:String(_0x1bf30d),{'createDefaultConfig':()=>({'provider':'user'}),'createDefaultValue':()=>null}),_0x4c8120(_0x9b4f24[_0x136b4a(0x3bc)]['CreatedAt'],{'editable':!0x1,'usableAsCalendarDate':!0x0,'usableAsGanttStart':!0x0,'usableAsGanttEnd':!0x0},_0x71e4d9=>_0x746a73(_0x71e4d9),{'createDefaultConfig':()=>_0x8f9b9e(),'createDefaultValue':()=>null,'validate':_0x128f5b}),_0x4c8120(_0x9b4f24['BaseFieldType'][_0x136b4a(0x380)],{'editable':!0x1,'usableAsCalendarDate':!0x0,'usableAsGanttStart':!0x0,'usableAsGanttEnd':!0x0},_0x596212=>_0x746a73(_0x596212),{'createDefaultConfig':()=>_0x8f9b9e(),'createDefaultValue':()=>null,'validate':_0x128f5b})];}function _0x56f678(){const _0x26bb5b=_0x164ecf;return{'pattern':_0x26bb5b(0x334),'decimalPlaces':0x2,'separatorStyle':_0x26bb5b(0x107),'useThousands':!0x0,'abbreviation':_0x26bb5b(0x415),'allowNegative':!0x0};}function _0x8f9b9e(){const _0x4427bf=_0x164ecf;return{'locale':_0x4427bf(0x28c),'pattern':_0x4427bf(0x245),'includeTime':!0x1,'hourCycle':_0x4427bf(0x12c),'defaultMode':_0x4427bf(0x415)};}function _0x1289f0(_0x391886){const _0x5c777a=_0x164ecf;return _0x391886==null||_0x391886===''?[]:Array[_0x5c777a(0x32e)](_0x391886)?_0x391886[_0x5c777a(0x2a7)](String):[String(_0x391886)];}function _0x36bde2(_0x4785f8){return typeof _0x4785f8=='string'?_0x4785f8:'';}function _0x1b3c38(_0x3533b6,_0x5311f2){const _0x2fd4b4=_0x164ecf;return _0x3533b6==null||_0x3533b6===''?_0x5311f2[_0x2fd4b4(0x19f)][_0x2fd4b4(0x181)]===!0x0?[]:null:_0x5311f2[_0x2fd4b4(0x19f)][_0x2fd4b4(0x181)]===!0x0?Array['isArray'](_0x3533b6)?_0x3533b6[_0x2fd4b4(0x2a7)](String):[String(_0x3533b6)]:Array[_0x2fd4b4(0x32e)](_0x3533b6)?String(_0x3533b6[0x0]??'')||null:String(_0x3533b6);}function _0x197c88(_0x9fb356,_0x20e919){const _0x3e196c=_0x164ecf;return _0x20e919[_0x3e196c(0x19f)][_0x3e196c(0x181)]===!0x0?_0x3d8fe9(_0x9fb356):_0x9fb356==null||_0x9fb356===''||typeof _0x9fb356==_0x3e196c(0x1e4)?{'valid':!0x0}:{'valid':!0x1,'reason':_0x3e196c(0x174)};}function _0x3d8fe9(_0x283d74){const _0xf06191=_0x164ecf;return _0x283d74==null||Array[_0xf06191(0x32e)](_0x283d74)&&_0x283d74[_0xf06191(0x3e2)](_0x2b7638=>typeof _0x2b7638==_0xf06191(0x1e4))?{'valid':!0x0}:{'valid':!0x1,'reason':_0xf06191(0x184)};}function _0x128f5b(_0x16bf17){const _0x2ce2a4=_0x164ecf;return _0x16bf17==null||typeof _0x16bf17=='number'&&Number[_0x2ce2a4(0x4a1)](_0x16bf17)?{'valid':!0x0}:{'valid':!0x1,'reason':_0x2ce2a4(0x18a)};}function _0x118864(_0x231746,_0x5d281a){const _0xb7ab03=_0x164ecf;return _0x231746==null||_0x231746===''?{'valid':!0x0}:typeof _0x231746!=_0xb7ab03(0x1a8)||!Number[_0xb7ab03(0x4a1)](_0x231746)?{'valid':!0x1,'reason':_0xb7ab03(0x3cb)}:_0x5d281a[_0xb7ab03(0x19f)]['allowNegative']===!0x1&&_0x231746<0x0?{'valid':!0x1,'reason':_0xb7ab03(0x3b2)}:{'valid':!0x0};}function _0xee18df(_0x3908a6,_0x102776,_0x3775ca){const _0x3d7e5f=_0x164ecf;let _0x2eccc9=_0x118864(_0x3908a6,_0x102776);if(!_0x2eccc9[_0x3d7e5f(0x1ae)]||_0x3908a6==null||_0x3908a6==='')return _0x2eccc9;let _0x1c84f6=Number(_0x102776[_0x3d7e5f(0x19f)][_0x3d7e5f(0x1dd)]??_0x102776[_0x3d7e5f(0x19f)]['start']??0x0),_0x38017c=Number(_0x102776['config'][_0x3d7e5f(0x427)]??_0x102776['config'][_0x3d7e5f(0x168)]??0x64),_0x2f6b21=Number(_0x3908a6);return _0x2f6b21>=_0x1c84f6&&_0x2f6b21<=_0x38017c?{'valid':!0x0}:{'valid':!0x1,'reason':_0x3775ca};}function _0xace8b(_0x14f651){const _0x162c53=_0x164ecf;if(_0x14f651==null||_0x14f651==='')return null;if(typeof _0x14f651==_0x162c53(0x42c)&&!Array['isArray'](_0x14f651)){let _0x151c38=_0x14f651,_0x47ce6c=typeof _0x151c38[_0x162c53(0x40e)]==_0x162c53(0x1e4)?_0x151c38[_0x162c53(0x40e)]['trim']():'',_0x422299=typeof _0x151c38['url']==_0x162c53(0x1e4)?_0x151c38[_0x162c53(0x4b7)][_0x162c53(0x276)]():'',_0x126622=_0x5a4d4b(_0x422299||_0x47ce6c);return _0x126622?{'text':_0x47ce6c||_0x422299||_0x126622,'url':_0x126622}:null;}let _0x4aee9b=String(_0x14f651)[_0x162c53(0x276)](),_0x565f9b=_0x5a4d4b(_0x4aee9b);return _0x565f9b?{'text':_0x4aee9b,'url':_0x565f9b}:null;}function _0x1aa2ca(_0x15e893){const _0x266652=_0x164ecf;if(_0x15e893==null)return'';if(typeof _0x15e893==_0x266652(0x42c)&&!Array[_0x266652(0x32e)](_0x15e893)){let _0x4cca3c=_0x15e893;return String(_0x4cca3c['text']||_0x4cca3c[_0x266652(0x4b7)]||'');}return String(_0x15e893);}function _0x5a4d4b(_0xb9538c){const _0x22b3cf=_0x164ecf;let _0x121bf9=_0xb9538c['trim']();if(!_0x121bf9)return'';let _0x446bb4=/^[a-z][a-z\d+.-]*:/i[_0x22b3cf(0x37c)](_0x121bf9)?_0x121bf9:_0x121bf9[_0x22b3cf(0x2d0)]('//')?_0x22b3cf(0x2fb)+_0x121bf9:_0x22b3cf(0x42a)+_0x121bf9;try{let _0x262f27=new URL(_0x446bb4);return _0x262f27[_0x22b3cf(0x1f6)]===_0x22b3cf(0x286)||_0x262f27[_0x22b3cf(0x1f6)]==='https:'?_0x262f27[_0x22b3cf(0x2e2)]:'';}catch{return'';}}function _0x1683b7(_0x37773d){const _0x196f65=_0x164ecf;let _0x3b2973=_0x37773d[_0x196f65(0x19b)]('@');if(_0x3b2973<=0x0||_0x3b2973!==_0x37773d[_0x196f65(0x18f)]('@'))return!0x1;let _0xe657c4=_0x37773d[_0x196f65(0x475)](_0x3b2973+0x1);return _0xe657c4[_0x196f65(0x45d)]('.')&&!_0x37773d[_0x196f65(0x45d)]('\x20')&&!_0xe657c4[_0x196f65(0x2d0)]('.')&&!_0xe657c4[_0x196f65(0x41a)]('.');}let _0x3b7826={'table':_0x51014f=>['tables',_0x51014f],'field':(_0x12f60c,_0x4d2640)=>[_0x164ecf(0x4cb),_0x12f60c,_0x164ecf(0x43b),_0x4d2640],'fieldOrder':(_0x788b7f,_0x3f4b9a)=>[_0x164ecf(0x4cb),_0x788b7f,_0x164ecf(0x30b),_0x3f4b9a],'record':(_0x4781d0,_0x459ef2)=>[_0x164ecf(0x4cb),_0x4781d0,_0x164ecf(0x312),_0x459ef2],'cell':(_0x5a65fc,_0x1e61aa,_0x2e48c0)=>['tables',_0x5a65fc,_0x164ecf(0x312),_0x1e61aa,'values',_0x2e48c0],'cellData':(_0x2828ec,_0x452a00,_0x522427)=>[_0x164ecf(0x4cb),_0x2828ec,_0x164ecf(0x216),String(_0x452a00),String(_0x522427)],'attachmentSet':(_0x50df9f,_0x1694a3)=>[_0x164ecf(0x4cb),_0x50df9f,'resources',_0x164ecf(0x3d9),_0x1694a3],'attachment':(_0x40fa4b,_0x149f89)=>[_0x164ecf(0x4cb),_0x40fa4b,_0x164ecf(0x1b2),_0x164ecf(0x359),_0x149f89],'view':(_0x5617f3,_0x2ea920)=>[_0x164ecf(0x4cb),_0x5617f3,_0x164ecf(0x339),_0x2ea920],'viewFieldHidden':(_0x10e515,_0x165b48,_0x3908a3)=>['tables',_0x10e515,_0x164ecf(0x339),_0x165b48,_0x164ecf(0x156),_0x3908a3,_0x164ecf(0x307)]};var _0x1b7d14=class{[_0x164ecf(0x36a)](_0x255c87,_0x4d03b6){const _0xbaff82=_0x164ecf;let _0x54c719=this['renameFormulaUnitReferences'](_0x255c87,_0x255c87[_0xbaff82(0x267)],_0x4d03b6);return _0x4fd831([this['_replaceOptional']([_0xbaff82(0x267)],_0x255c87[_0xbaff82(0x267)],_0x4d03b6),..._0x54c719?[_0x54c719]:[]]);}[_0x164ecf(0x279)](_0x303a75,_0x4660b7,_0x27770d){const _0x58b453=_0x164ecf;let _0x36f084=Object[_0x58b453(0x10a)](_0x303a75[_0x58b453(0x4cb)])['flatMap'](_0x406615=>Object[_0x58b453(0x10a)](_0x406615[_0x58b453(0x43b)])[_0x58b453(0x17e)](_0x514620=>{const _0x92147c=_0x58b453;var _0x71105d,_0x2b45b1;if(_0x514620[_0x92147c(0x132)]!==_0x9b4f24[_0x92147c(0x3bc)][_0x92147c(0x274)])return[];let _0x3e152a=String(((_0x71105d=_0x514620[_0x92147c(0x19f)])==null?void 0x0:_0x71105d['formula'])??''),_0x285662=(0x0,_0x57d3e9[_0x92147c(0x109)])(_0x3e152a,_0x4660b7,_0x27770d);return _0x285662===_0x3e152a?[]:[this[_0x92147c(0x2b5)]([..._0x3b7826[_0x92147c(0x2da)](_0x406615['id'],_0x514620['id']),'config',_0x92147c(0x2f9)],(_0x2b45b1=_0x514620[_0x92147c(0x19f)])==null?void 0x0:_0x2b45b1[_0x92147c(0x2f9)],_0x285662)];}));return _0x36f084[_0x58b453(0x13b)]>0x0?_0x4fd831(_0x36f084):void 0x0;}[_0x164ecf(0x2ad)](_0x268e03,_0x24fe9d,_0x115357=_0x268e03['tableOrder']['length']){const _0x388d9d=_0x164ecf;return _0x4fd831([_0x9b4f24[_0x388d9d(0x47b)]['insertOp'](_0x3b7826[_0x388d9d(0xfe)](_0x24fe9d['id']),_0x24fe9d),_0x9b4f24['JSON1'][_0x388d9d(0x4c9)]([_0x388d9d(0x20d),_0x115357],_0x24fe9d['id'])]);}[_0x164ecf(0x30d)](_0x569438,_0x1f97e2,_0x59bff6){const _0x541ee3=_0x164ecf;let _0xc68641=_0x569438[_0x541ee3(0x4cb)][_0x1f97e2]['name'],_0x25293a=Object['values'](_0x569438[_0x541ee3(0x4cb)])[_0x541ee3(0x17e)](_0x14908e=>Object[_0x541ee3(0x10a)](_0x14908e[_0x541ee3(0x43b)])[_0x541ee3(0x17e)](_0x4b187d=>{const _0x353713=_0x541ee3;var _0x847be4;if(_0x4b187d[_0x353713(0x132)]!==_0x9b4f24[_0x353713(0x3bc)][_0x353713(0x274)])return[];let _0x5af296=String(((_0x847be4=_0x4b187d['config'])==null?void 0x0:_0x847be4[_0x353713(0x2f9)])??''),_0x230be1=_0x5b5ff7(_0x5af296,_0xc68641,_0x59bff6);return _0x230be1===_0x5af296?[]:[this['updateField'](_0x569438,_0x14908e['id'],_0x4b187d['id'],{'config':{..._0x4b187d[_0x353713(0x19f)],'formula':_0x230be1}})];}));return _0x4fd831([_0x9b4f24['JSON1']['replaceOp']([..._0x3b7826[_0x541ee3(0xfe)](_0x1f97e2),_0x541ee3(0x267)],_0xc68641,_0x59bff6),..._0x25293a]);}[_0x164ecf(0x37f)](_0x4c899d,_0x29d563){const _0x25eb40=_0x164ecf;let _0xb7efb8=_0x4c899d[_0x25eb40(0x4cb)][_0x29d563],_0xd2bdd8=_0x4c899d['tableOrder'][_0x25eb40(0x19b)](_0x29d563);return _0x4fd831([_0x9b4f24[_0x25eb40(0x47b)]['removeOp'](_0x3b7826[_0x25eb40(0xfe)](_0x29d563),_0xb7efb8),_0x9b4f24[_0x25eb40(0x47b)][_0x25eb40(0x39c)]([_0x25eb40(0x20d),_0xd2bdd8],_0x29d563)]);}[_0x164ecf(0x1e1)](_0x36f5eb,_0x3fd9ea,_0x4bf328){return this['createRecords'](_0x36f5eb,_0x3fd9ea,[_0x4bf328]);}[_0x164ecf(0x4cd)](_0x3af934,_0x28f9d2,_0x4eb78c){const _0x511be2=_0x164ecf;let _0x18a9fe=_0x3af934[_0x511be2(0x4cb)][_0x28f9d2],_0x2dde61=_0x4eb78c[_0x511be2(0x41f)](_0x4118c2=>_0x4118c2&&!_0x18a9fe[_0x511be2(0x312)][_0x4118c2['id']])['map'](_0x24c789=>({..._0x24c789,'values':{..._0x24c789[_0x511be2(0x10a)],[_0x9b4f24[_0x511be2(0x2c4)]]:_0x24c789['id']}}));if(!_0x2dde61[_0x511be2(0x13b)])return _0x9b4f24[_0x511be2(0x47b)]['replaceOp']([..._0x3b7826[_0x511be2(0xfe)](_0x28f9d2),'records'],_0x18a9fe[_0x511be2(0x312)],_0x18a9fe[_0x511be2(0x312)]);let _0x20d85a=new _0x9b4f24['JSON1'][(_0x511be2(0x431))](),_0x3c693f=[..._0x2dde61][_0x511be2(0x281)]((_0x1520ba,_0x44b8e1)=>_0x1520ba['id']<_0x44b8e1['id']?-0x1:+(_0x1520ba['id']>_0x44b8e1['id'])),_0x3cd0f7=[..._0x3b7826['table'](_0x28f9d2),'records'];_0x20d85a[_0x511be2(0x28b)](_0x3cd0f7);for(let _0x142d89 of _0x3c693f)_0x20d85a['descend'](_0x142d89['id']),_0x20d85a['write']('i',_0x142d89),_0x20d85a[_0x511be2(0x161)]();for(let _0x1f384f=0x0;_0x1f384f<_0x3cd0f7[_0x511be2(0x13b)];_0x1f384f+=0x1)_0x20d85a[_0x511be2(0x161)]();return _0x4fd831([_0x20d85a[_0x511be2(0x3e9)](),this[_0x511be2(0x28e)](_0x3af934,_0x28f9d2,_0x2dde61)]);}[_0x164ecf(0x2c9)](_0x101242,_0x315433,_0x79d67e){const _0x5b2e1c=_0x164ecf;return this[_0x5b2e1c(0x373)](_0x101242,_0x315433,[_0x79d67e]);}[_0x164ecf(0x373)](_0x2d8f9f,_0x43def9,_0x1d0a33){const _0x4b3ac1=_0x164ecf;let _0x38b167=_0x2d8f9f[_0x4b3ac1(0x4cb)][_0x43def9],_0x4461d6=Array['from'](new Set(_0x1d0a33))[_0x4b3ac1(0x41f)](_0x48071e=>_0x38b167[_0x4b3ac1(0x312)][_0x48071e]);if(!_0x4461d6[_0x4b3ac1(0x13b)])return _0x9b4f24[_0x4b3ac1(0x47b)]['replaceOp']([..._0x3b7826[_0x4b3ac1(0xfe)](_0x43def9),_0x4b3ac1(0x312)],_0x38b167[_0x4b3ac1(0x312)],_0x38b167[_0x4b3ac1(0x312)]);let _0x53f36f=new Set(_0x4461d6),_0x1f7b34=_0x526f9d(_0x38b167,_0x4461d6)[_0x4b3ac1(0x2a7)](_0x5aa6ad=>this[_0x4b3ac1(0x2fa)](_0x2d8f9f,_0x43def9,_0x5aa6ad['recordId'],_0x5aa6ad[_0x4b3ac1(0x195)],'')),_0xb5f7cb=_0x4461d6[_0x4b3ac1(0x2a7)](_0x7e3428=>{const _0x5e3f93=_0x4b3ac1;var _0x5dd3ca;return{'recordId':_0x7e3428,'index':((_0x5dd3ca=_0x38b167[_0x5e3f93(0x411)])==null?void 0x0:_0x5dd3ca['indexOf'](_0x7e3428))??-0x1};})[_0x4b3ac1(0x41f)](_0x16658f=>_0x16658f['index']>=0x0)[_0x4b3ac1(0x281)]((_0x510f0f,_0x180cc4)=>_0x180cc4[_0x4b3ac1(0x2d4)]-_0x510f0f[_0x4b3ac1(0x2d4)]);return _0x4fd831([..._0x4461d6['map'](_0x6b77c7=>_0x9b4f24['JSON1'][_0x4b3ac1(0x39c)](_0x3b7826[_0x4b3ac1(0x2cb)](_0x43def9,_0x6b77c7),_0x38b167['records'][_0x6b77c7])),..._0xb5f7cb['map'](({recordId:_0x1fdf07,index:_0x454484})=>_0x9b4f24[_0x4b3ac1(0x47b)][_0x4b3ac1(0x39c)]([_0x4b3ac1(0x4cb),_0x43def9,'recordOrder',_0x454484],_0x1fdf07)),..._0x1f7b34,...this[_0x4b3ac1(0x1bb)](_0x38b167,_0x43def9,_0x30531e=>{const _0x526a4d=_0x4b3ac1;let _0x5ec69b=_0x30531e[_0x526a4d(0x475)](_0x30531e[_0x526a4d(0x18f)]('\x1f')+0x1);return _0x53f36f['has'](_0x5ec69b);})]);}[_0x164ecf(0x39b)](_0x459a2a,_0xbeb040,_0x1f9c4e,_0x504fc7){const _0x5d1d12=_0x164ecf;return this[_0x5d1d12(0x1e1)](_0x459a2a,_0xbeb040,{..._0x504fc7,'values':{..._0x459a2a[_0x5d1d12(0x4cb)][_0xbeb040][_0x5d1d12(0x312)][_0x1f9c4e][_0x5d1d12(0x10a)],..._0x504fc7[_0x5d1d12(0x10a)],[_0x9b4f24[_0x5d1d12(0x2c4)]]:_0x504fc7['id']}});}[_0x164ecf(0x265)](_0x1f3cfe,_0x245709,_0x414f73,_0x44e72a){const _0x26d50a=_0x164ecf;let _0xba720=_0x1f3cfe[_0x26d50a(0x4cb)][_0x245709],_0x15a12a=[..._0x3b7826[_0x26d50a(0x2cb)](_0x245709,_0x414f73),_0x26d50a(0x1ac)],_0x15b2d9=Object[_0x26d50a(0x10a)](_0xba720[_0x26d50a(0x312)])[_0x26d50a(0x2a7)](_0x29b282=>_0x29b282['id']===_0x414f73?{..._0x29b282,'orderKey':_0x44e72a}:_0x29b282)[_0x26d50a(0x281)]((_0x490b45,_0x1edce3)=>String(_0x490b45[_0x26d50a(0x1ac)]??_0x490b45['id'])['localeCompare'](String(_0x1edce3['orderKey']??_0x1edce3['id'])))[_0x26d50a(0x2a7)](_0x37207c=>_0x37207c['id']),_0x16af9c=[..._0x3b7826[_0x26d50a(0xfe)](_0x245709),'recordOrder'];return _0x4fd831([this[_0x26d50a(0x2b5)](_0x15a12a,_0xba720['records'][_0x414f73]['orderKey'],_0x44e72a),_0xba720[_0x26d50a(0x411)]?_0x9b4f24[_0x26d50a(0x47b)]['replaceOp'](_0x16af9c,_0xba720[_0x26d50a(0x411)],_0x15b2d9):_0x9b4f24[_0x26d50a(0x47b)][_0x26d50a(0x4c9)](_0x16af9c,_0x15b2d9)]);}['updateCell'](_0x3a70d8,_0x36386f,_0x3d91c9,_0x16b9d9,_0x3f7d18){const _0x4eecd2=_0x164ecf;var _0x37e4a0,_0x21b40a;let _0x36c4a7=_0x3a70d8[_0x4eecd2(0x4cb)][_0x36386f],_0x3adef9=_0x35bc66(_0x36c4a7,_0x3d91c9,_0x16b9d9)?_0x36c4a7:_0x8ae1a4(_0x36c4a7),_0x5c89b6=(_0x37e4a0=_0x3adef9['rowIndex'])==null?void 0x0:_0x37e4a0[_0x3d91c9],_0x5e269f=(_0x21b40a=_0x3adef9[_0x4eecd2(0x23b)])==null?void 0x0:_0x21b40a[_0x16b9d9];if(_0x5c89b6==null||_0x5e269f==null){var _0x32e71c;return this['_replaceOptional'](_0x3b7826[_0x4eecd2(0x213)](_0x36386f,_0x3d91c9,_0x16b9d9),(_0x32e71c=_0x3a70d8[_0x4eecd2(0x4cb)][_0x36386f])==null||(_0x32e71c=_0x32e71c[_0x4eecd2(0x312)][_0x3d91c9])==null?void 0x0:_0x32e71c[_0x4eecd2(0x10a)][_0x16b9d9],_0x3f7d18);}return this[_0x4eecd2(0x123)](_0x3a70d8,_0x36386f,[{'row':_0x5c89b6,'col':_0x5e269f,'value':_0x3f7d18}]);}['setRecordValues'](_0x374aa7,_0x4bd311,_0x3bac84){const _0x29a39a=_0x164ecf;let _0x7f3f2b=_0x374aa7['tables'][_0x4bd311],_0x5819c7=_0x3bac84[_0x29a39a(0x3e2)](_0x2b3cea=>Object['keys'](_0x2b3cea[_0x29a39a(0x10a)])['every'](_0x35cc34=>_0x35bc66(_0x7f3f2b,_0x2b3cea[_0x29a39a(0x1d9)],_0x35cc34)))?_0x7f3f2b:_0x8ae1a4(_0x7f3f2b),_0x3e3bc4=_0x3bac84[_0x29a39a(0x17e)](_0x48e339=>Object['entries'](_0x48e339[_0x29a39a(0x10a)])[_0x29a39a(0x17e)](([_0x252c52,_0x1543cb])=>{const _0x2dc2aa=_0x29a39a;var _0x57cf86,_0x54daf9;let _0x3ef4ef=(_0x57cf86=_0x5819c7[_0x2dc2aa(0x371)])==null?void 0x0:_0x57cf86[_0x48e339[_0x2dc2aa(0x1d9)]],_0x74e4ef=(_0x54daf9=_0x5819c7['colIndex'])==null?void 0x0:_0x54daf9[_0x252c52];return _0x3ef4ef==null||_0x74e4ef==null?[]:[{'row':_0x3ef4ef,'col':_0x74e4ef,'value':_0x1543cb}];})),_0x499b24=_0x3bac84[_0x29a39a(0x17e)](_0x341f74=>Object[_0x29a39a(0x489)](_0x341f74[_0x29a39a(0x201)]??{})[_0x29a39a(0x2a7)](([_0x1750d7,_0x37cb89])=>{const _0x4ae059=_0x29a39a;var _0x5cb0b0;let _0x57c4c2=[..._0x3b7826[_0x4ae059(0x2cb)](_0x4bd311,_0x341f74[_0x4ae059(0x1d9)]),_0x1750d7],_0x5e75ef=(_0x5cb0b0=_0x374aa7[_0x4ae059(0x4cb)][_0x4bd311])==null||(_0x5cb0b0=_0x5cb0b0['records'][_0x341f74[_0x4ae059(0x1d9)]])==null?void 0x0:_0x5cb0b0[_0x1750d7];return this['_replaceOptional'](_0x57c4c2,_0x5e75ef,_0x37cb89);}));return _0x4fd831([this[_0x29a39a(0x123)](_0x374aa7,_0x4bd311,_0x3e3bc4),..._0x499b24]);}[_0x164ecf(0x123)](_0x2594db,_0x5e21b1,_0x5e0c60){const _0x18239d=_0x164ecf;let _0x2ad819=_0x2594db['tables'][_0x5e21b1],_0x513ef4=_0x5e0c60['every'](_0x331dc2=>_0x329779(_0x2ad819,_0x331dc2['row'],_0x331dc2['col']))?_0x2ad819:_0x8ae1a4(_0x2ad819),_0x3f67c1=_0x5e0c60[_0x18239d(0x17e)](_0x250c6d=>{const _0x3c9e80=_0x18239d;var _0x41ead5,_0x5cd62f,_0x7b31d8,_0x3ba873;let _0x11e4e6=(_0x41ead5=_0x513ef4[_0x3c9e80(0x282)])==null?void 0x0:_0x41ead5[_0x250c6d[_0x3c9e80(0x48d)]],_0xfbac04=(_0x5cd62f=_0x513ef4[_0x3c9e80(0x3c7)])==null?void 0x0:_0x5cd62f[_0x250c6d[_0x3c9e80(0x12f)]],_0x45903d=_0x11e4e6?_0x513ef4[_0x3c9e80(0x43b)][_0x11e4e6]:void 0x0;if(_0x11e4e6===_0x9b4f24[_0x3c9e80(0x2c4)]||(_0x45903d==null?void 0x0:_0x45903d[_0x3c9e80(0x132)])===_0x9b4f24['BaseFieldType'][_0x3c9e80(0x111)])throw Error(_0x3c9e80(0x2c5));let _0x53cd81=_0x241162(_0x250c6d[_0x3c9e80(0x43f)],_0x45903d),_0x1ff3f3=(_0x7b31d8=_0x513ef4[_0x3c9e80(0x216)])==null||(_0x7b31d8=_0x7b31d8[_0x250c6d[_0x3c9e80(0x12f)]])==null?void 0x0:_0x7b31d8[_0x250c6d[_0x3c9e80(0x48d)]],_0x10a1a7=this[_0x3c9e80(0x2b5)](_0x3b7826[_0x3c9e80(0x216)](_0x5e21b1,_0x250c6d[_0x3c9e80(0x12f)],_0x250c6d[_0x3c9e80(0x48d)]),_0x1ff3f3,_0x53cd81);if(!_0x11e4e6||!_0xfbac04)return[_0x10a1a7];let _0x181c30=(_0x3ba873=_0x513ef4[_0x3c9e80(0x312)][_0xfbac04])==null?void 0x0:_0x3ba873['values'][_0x11e4e6],_0x4a0571=(_0x45903d==null?void 0x0:_0x45903d[_0x3c9e80(0x132)])===_0x9b4f24[_0x3c9e80(0x3bc)][_0x3c9e80(0x208)]?_0x1530e1(_0x250c6d[_0x3c9e80(0x43f)]):_0x2ad280(_0x250c6d['value'],_0x53cd81,_0x45903d,_0x513ef4,_0xfbac04),_0x45c844=[_0x10a1a7,this[_0x3c9e80(0x2b5)](_0x3b7826[_0x3c9e80(0x213)](_0x5e21b1,_0xfbac04,_0x11e4e6),_0x181c30,_0x4a0571)];if((_0x45903d==null?void 0x0:_0x45903d[_0x3c9e80(0x132)])!==_0x9b4f24[_0x3c9e80(0x3bc)]['Attachment'])return _0x45c844;let _0x256556=this[_0x3c9e80(0x285)](_0x513ef4,_0x5e21b1,_0xfbac04,_0x11e4e6,_0x4a0571);return[..._0x45c844,..._0x256556];});return _0x3f67c1['length']?_0x4fd831(_0x3f67c1):_0x9b4f24[_0x18239d(0x47b)][_0x18239d(0x189)](['tables',_0x5e21b1,_0x18239d(0x216)],_0x513ef4[_0x18239d(0x216)],_0x513ef4['cellData']);}['createField'](_0x47d412,_0x41caa0,_0x370c8a){const _0x37e733=_0x164ecf;let _0x4d39ae=_0x47d412[_0x37e733(0x4cb)][_0x41caa0];if(_0x4d39ae[_0x37e733(0x43b)][_0x370c8a['field']['id']]||_0x4d39ae[_0x37e733(0x30b)][_0x37e733(0x45d)](_0x370c8a[_0x37e733(0x2da)]['id']))return _0x9b4f24[_0x37e733(0x47b)][_0x37e733(0x189)]([_0x37e733(0x4cb),_0x41caa0,'fieldOrder'],_0x4d39ae['fieldOrder'],_0x4d39ae['fieldOrder']);let _0x481aeb=Math[_0x37e733(0x427)](0x1,_0x370c8a[_0x37e733(0x2d4)]??_0x4d39ae[_0x37e733(0x30b)][_0x37e733(0x13b)]),_0x321a32=Object[_0x37e733(0x10a)](_0x4d39ae[_0x37e733(0x339)]??{})[_0x37e733(0x17e)](_0x7a3976=>{const _0x1bd35d=_0x37e733;var _0x5393be;if(!_0x7a3976['fieldOrder']||_0x7a3976[_0x1bd35d(0x30b)][_0x1bd35d(0x45d)](_0x370c8a['field']['id']))return[];let _0x4cf242=_0x4550d3(((_0x5393be=_0x370c8a[_0x1bd35d(0x30a)])==null?void 0x0:_0x5393be[_0x7a3976['id']])??_0x481aeb,_0x7a3976[_0x1bd35d(0x30b)][_0x1bd35d(0x13b)]);return[_0x9b4f24[_0x1bd35d(0x47b)][_0x1bd35d(0x4c9)]([..._0x3b7826['view'](_0x41caa0,_0x7a3976['id']),_0x1bd35d(0x30b),_0x4cf242],_0x370c8a['field']['id'])];});return _0x4fd831([_0x9b4f24['JSON1'][_0x37e733(0x4c9)](_0x3b7826[_0x37e733(0x2da)](_0x41caa0,_0x370c8a[_0x37e733(0x2da)]['id']),_0x370c8a[_0x37e733(0x2da)]),_0x9b4f24[_0x37e733(0x47b)]['insertOp'](_0x3b7826['fieldOrder'](_0x41caa0,_0x481aeb),_0x370c8a[_0x37e733(0x2da)]['id']),..._0x321a32]);}[_0x164ecf(0x21f)](_0xa36fb4,_0x1ff443,_0x357648,_0x5559a0){const _0x1edb8e=_0x164ecf;let _0x478793=_0xa36fb4['tables'][_0x1ff443];if(!_0x478793[_0x1edb8e(0x43b)][_0x357648]||_0x478793['fields'][_0x5559a0[_0x1edb8e(0x2da)]['id']]||_0x478793['fieldOrder'][_0x1edb8e(0x45d)](_0x5559a0['field']['id']))return _0x9b4f24[_0x1edb8e(0x47b)]['replaceOp'](['tables',_0x1ff443,'fieldOrder'],_0x478793[_0x1edb8e(0x30b)],_0x478793['fieldOrder']);let _0x355256=_0x5559a0[_0x1edb8e(0x2d4)]??_0x478793[_0x1edb8e(0x30b)][_0x1edb8e(0x19b)](_0x357648)+0x1,_0x4ad60a=_0x478793['fieldOrder']['filter'](_0x4f891a=>_0x4f891a!==_0x5559a0[_0x1edb8e(0x2da)]['id']),_0x38d064=_0x1d7376(_0x4ad60a,_0x5559a0[_0x1edb8e(0x2da)]['id'],_0x355256),_0x17aca5=Object[_0x1edb8e(0x10a)](_0x478793[_0x1edb8e(0x339)]??{})[_0x1edb8e(0x17e)](_0x182023=>{const _0x1156b2=_0x1edb8e;var _0x33d906,_0x11971d,_0x19a7c0,_0xa261b9;let _0x444917=(_0x33d906=_0x182023[_0x1156b2(0x30b)])!=null&&_0x33d906[_0x1156b2(0x13b)]?_0x182023[_0x1156b2(0x30b)]:_0x4ad60a;if(_0x444917['includes'](_0x5559a0[_0x1156b2(0x2da)]['id']))return[];let _0x518da1=_0x1d7376(_0x444917,_0x5559a0[_0x1156b2(0x2da)]['id'],((_0x11971d=_0x5559a0[_0x1156b2(0x30a)])==null?void 0x0:_0x11971d[_0x182023['id']])??_0x355256),_0x2fe123=(_0x19a7c0=_0x182023[_0x1156b2(0x156)])==null?void 0x0:_0x19a7c0[_0x357648];return[this[_0x1156b2(0x2b5)]([..._0x3b7826[_0x1156b2(0x1d6)](_0x1ff443,_0x182023['id']),_0x1156b2(0x30b)],_0x182023[_0x1156b2(0x30b)],_0x518da1),..._0x2fe123?[this[_0x1156b2(0x2b5)]([..._0x3b7826[_0x1156b2(0x1d6)](_0x1ff443,_0x182023['id']),_0x1156b2(0x156),_0x5559a0[_0x1156b2(0x2da)]['id']],(_0xa261b9=_0x182023[_0x1156b2(0x156)])==null?void 0x0:_0xa261b9[_0x5559a0[_0x1156b2(0x2da)]['id']],_0x2fe123)]:[]];}),_0x3321b3=Object[_0x1edb8e(0x10a)](_0x478793['records'])['filter'](_0x4fce31=>Object[_0x1edb8e(0x1b0)][_0x1edb8e(0x377)]['call'](_0x4fce31[_0x1edb8e(0x10a)],_0x357648))['map'](_0x382972=>this['_replaceOptional'](_0x3b7826[_0x1edb8e(0x213)](_0x1ff443,_0x382972['id'],_0x5559a0['field']['id']),_0x382972[_0x1edb8e(0x10a)][_0x5559a0[_0x1edb8e(0x2da)]['id']],_0x382972[_0x1edb8e(0x10a)][_0x357648]));return _0x4fd831([_0x9b4f24[_0x1edb8e(0x47b)]['insertOp'](_0x3b7826[_0x1edb8e(0x2da)](_0x1ff443,_0x5559a0[_0x1edb8e(0x2da)]['id']),_0x5559a0[_0x1edb8e(0x2da)]),_0x9b4f24[_0x1edb8e(0x47b)][_0x1edb8e(0x189)]([_0x1edb8e(0x4cb),_0x1ff443,_0x1edb8e(0x30b)],_0x478793[_0x1edb8e(0x30b)],_0x38d064),..._0x17aca5,..._0x3321b3]);}['updateField'](_0x21b238,_0x478911,_0x3cee69,_0x1cda12){const _0x871b27=_0x164ecf;let _0x5538e7=_0x21b238[_0x871b27(0x4cb)][_0x478911][_0x871b27(0x43b)][_0x3cee69],_0x325df0={..._0x5538e7,..._0x1cda12};Object['keys'](_0x1cda12)[_0x871b27(0x49e)](_0x596388=>{_0x1cda12[_0x596388]===void 0x0&&delete _0x325df0[_0x596388];});let _0x2ed51f=_0x9b4f24[_0x871b27(0x47b)]['replaceOp'](_0x3b7826[_0x871b27(0x2da)](_0x478911,_0x3cee69),_0x5538e7,_0x325df0);return _0x325df0[_0x871b27(0x132)]===_0x9b4f24[_0x871b27(0x3bc)]['Formula']?_0x4fd831([_0x2ed51f,...this['_setFormulaFieldCells'](_0x21b238,_0x478911,_0x3cee69,_0x325df0)]):_0x2ed51f;}[_0x164ecf(0x4b2)](_0x4d2a75,_0x55538b,_0x531256,_0x1cc9dd){const _0xb5f4de=_0x164ecf;return this[_0xb5f4de(0x228)](_0x4d2a75,_0x55538b,_0x531256,_0x1cc9dd);}['deleteField'](_0x18d88e,_0xf32230,_0x54e74){const _0x5d9f58=_0x164ecf;let _0x225b55=_0x18d88e[_0x5d9f58(0x4cb)][_0xf32230];if(!(_0x225b55!=null&&_0x225b55[_0x5d9f58(0x43b)][_0x54e74])||_0x225b55['primaryFieldId']===_0x54e74||_0x54e74===_0x9b4f24[_0x5d9f58(0x2c4)])return _0x9b4f24['JSON1'][_0x5d9f58(0x189)]([_0x5d9f58(0x4cb),_0xf32230,'fieldOrder'],_0x225b55==null?void 0x0:_0x225b55[_0x5d9f58(0x30b)],_0x225b55==null?void 0x0:_0x225b55[_0x5d9f58(0x30b)]);let _0x18cf4e=_0x225b55['fieldOrder'][_0x5d9f58(0x19b)](_0x54e74),_0x4c1ce6=Object[_0x5d9f58(0x10a)](_0x225b55[_0x5d9f58(0x339)])[_0x5d9f58(0x17e)](_0x3eda5a=>{const _0x44bed4=_0x5d9f58;var _0x3d6d7c,_0x28839a,_0x2f60bf,_0x383183,_0x3f78d2,_0x1e0afa,_0x3037a;let _0x21fa26=[],_0x326d17=((_0x3d6d7c=_0x3eda5a[_0x44bed4(0x30b)])==null?void 0x0:_0x3d6d7c[_0x44bed4(0x19b)](_0x54e74))??-0x1;_0x326d17>=0x0&&_0x21fa26['push'](_0x9b4f24[_0x44bed4(0x47b)][_0x44bed4(0x39c)]([..._0x3b7826[_0x44bed4(0x1d6)](_0xf32230,_0x3eda5a['id']),_0x44bed4(0x30b),_0x326d17],_0x54e74));let _0x3d51d0=(_0x28839a=_0x3eda5a[_0x44bed4(0x156)])==null?void 0x0:_0x28839a[_0x54e74];_0x3d51d0!==void 0x0&&_0x21fa26[_0x44bed4(0x4bf)](_0x9b4f24[_0x44bed4(0x47b)][_0x44bed4(0x39c)]([..._0x3b7826[_0x44bed4(0x1d6)](_0xf32230,_0x3eda5a['id']),_0x44bed4(0x156),_0x54e74],_0x3d51d0));let _0x4d9e70=_0x3eda5a[_0x44bed4(0x41f)]?{..._0x3eda5a['filter'],'conditions':_0x3eda5a['filter']['conditions']['filter'](_0x56b56d=>_0x56b56d[_0x44bed4(0x195)]!==_0x54e74)}:_0x3eda5a[_0x44bed4(0x41f)];_0x4d9e70&&_0x4d9e70[_0x44bed4(0x2e0)][_0x44bed4(0x13b)]!==((_0x2f60bf=_0x3eda5a[_0x44bed4(0x41f)])==null?void 0x0:_0x2f60bf[_0x44bed4(0x2e0)][_0x44bed4(0x13b)])&&_0x21fa26['push'](this[_0x44bed4(0x2b5)]([..._0x3b7826[_0x44bed4(0x1d6)](_0xf32230,_0x3eda5a['id']),_0x44bed4(0x41f)],_0x3eda5a['filter'],_0x4d9e70));let _0x33d372=(_0x383183=_0x3eda5a[_0x44bed4(0x281)])==null?void 0x0:_0x383183[_0x44bed4(0x41f)](_0x594162=>_0x594162[_0x44bed4(0x195)]!==_0x54e74);_0x33d372&&_0x33d372[_0x44bed4(0x13b)]!==((_0x3f78d2=_0x3eda5a['sort'])==null?void 0x0:_0x3f78d2[_0x44bed4(0x13b)])&&_0x21fa26[_0x44bed4(0x4bf)](this[_0x44bed4(0x2b5)]([..._0x3b7826[_0x44bed4(0x1d6)](_0xf32230,_0x3eda5a['id']),_0x44bed4(0x281)],_0x3eda5a[_0x44bed4(0x281)],_0x33d372));let _0x1ec445=(_0x1e0afa=_0x3eda5a[_0x44bed4(0x332)])==null?void 0x0:_0x1e0afa[_0x44bed4(0x41f)](_0x4ba16a=>_0x4ba16a[_0x44bed4(0x195)]!==_0x54e74);_0x1ec445&&_0x1ec445[_0x44bed4(0x13b)]!==((_0x3037a=_0x3eda5a['group'])==null?void 0x0:_0x3037a[_0x44bed4(0x13b)])&&_0x21fa26['push'](this[_0x44bed4(0x2b5)]([..._0x3b7826[_0x44bed4(0x1d6)](_0xf32230,_0x3eda5a['id']),_0x44bed4(0x332)],_0x3eda5a[_0x44bed4(0x332)],_0x1ec445));let _0xd8e56=_0x4e365b(_0x3eda5a[_0x44bed4(0x19f)],_0x54e74);return JSON[_0x44bed4(0x122)](_0xd8e56)!==JSON['stringify'](_0x3eda5a['config'])&&_0x21fa26[_0x44bed4(0x4bf)](_0x9b4f24[_0x44bed4(0x47b)][_0x44bed4(0x189)]([..._0x3b7826[_0x44bed4(0x1d6)](_0xf32230,_0x3eda5a['id']),_0x44bed4(0x19f)],_0x3eda5a[_0x44bed4(0x19f)],_0xd8e56)),_0x21fa26;}),_0x4bf1e5=Object['values'](_0x225b55[_0x5d9f58(0x312)])['flatMap'](_0x2e8ea6=>Object['prototype']['hasOwnProperty'][_0x5d9f58(0x35d)](_0x2e8ea6['values'],_0x54e74)?[_0x9b4f24[_0x5d9f58(0x47b)][_0x5d9f58(0x39c)](_0x3b7826[_0x5d9f58(0x213)](_0xf32230,_0x2e8ea6['id'],_0x54e74),_0x2e8ea6['values'][_0x54e74])]:[]);return _0x4fd831([_0x9b4f24['JSON1'][_0x5d9f58(0x39c)](_0x3b7826[_0x5d9f58(0x2da)](_0xf32230,_0x54e74),_0x225b55['fields'][_0x54e74]),_0x9b4f24[_0x5d9f58(0x47b)][_0x5d9f58(0x39c)](_0x3b7826[_0x5d9f58(0x30b)](_0xf32230,_0x18cf4e),_0x54e74),..._0x4c1ce6,..._0x4bf1e5,...this[_0x5d9f58(0x1bb)](_0x225b55,_0xf32230,_0x332353=>_0x332353['startsWith'](_0x54e74+'\x1f'))]);}[_0x164ecf(0x31f)](_0x424d65,_0x400f64,_0x40e52b,_0x4cc5cc){const _0x392721=_0x164ecf;let _0x50efbc=_0x424d65[_0x392721(0x4cb)][_0x400f64][_0x392721(0x30b)];if(_0x40e52b===_0x9b4f24[_0x392721(0x2c4)]||_0x4cc5cc[_0x392721(0x249)]===_0x9b4f24['BASE_RECORD_ID_FIELD_ID'])throw Error(_0x392721(0x133));let _0x56022d=_0x32f90d(_0x50efbc,_0x40e52b,_0x4cc5cc);return _0x9b4f24[_0x392721(0x47b)][_0x392721(0x189)]([_0x392721(0x4cb),_0x400f64,_0x392721(0x30b)],_0x50efbc,_0x56022d);}[_0x164ecf(0x20f)](_0x294ff7,_0x34fdfe,_0x4aed38,_0x37858f=_0x294ff7[_0x164ecf(0x4cb)][_0x34fdfe][_0x164ecf(0x461)][_0x164ecf(0x13b)]){const _0x6c4769=_0x164ecf;return _0x4fd831([_0x9b4f24[_0x6c4769(0x47b)][_0x6c4769(0x4c9)](_0x3b7826[_0x6c4769(0x1d6)](_0x34fdfe,_0x4aed38['id']),_0x4aed38),_0x9b4f24[_0x6c4769(0x47b)][_0x6c4769(0x4c9)]([_0x6c4769(0x4cb),_0x34fdfe,_0x6c4769(0x461),_0x37858f],_0x4aed38['id'])]);}[_0x164ecf(0xff)](_0x35cf68,_0x2f01de,_0x516a75,_0x434059){const _0x3dc580=_0x164ecf;return _0x9b4f24['JSON1'][_0x3dc580(0x189)]([..._0x3b7826[_0x3dc580(0x1d6)](_0x2f01de,_0x516a75),_0x3dc580(0x267)],_0x35cf68[_0x3dc580(0x4cb)][_0x2f01de][_0x3dc580(0x339)][_0x516a75][_0x3dc580(0x267)],_0x434059);}[_0x164ecf(0x1a3)](_0x41c871,_0x2c6fee,_0x3ae9ed){const _0x45f1f7=_0x164ecf;let _0x4782b2=_0x41c871['tables'][_0x2c6fee],_0x41c195=_0x4782b2['views'][_0x3ae9ed],_0x3b1766=_0x4782b2['viewOrder']['indexOf'](_0x3ae9ed);return _0x4fd831([_0x9b4f24[_0x45f1f7(0x47b)][_0x45f1f7(0x39c)](_0x3b7826['view'](_0x2c6fee,_0x3ae9ed),_0x41c195),_0x9b4f24[_0x45f1f7(0x47b)][_0x45f1f7(0x39c)]([_0x45f1f7(0x4cb),_0x2c6fee,_0x45f1f7(0x461),_0x3b1766],_0x3ae9ed)]);}['moveView'](_0x2332b6,_0x2e283d,_0x479d1a,_0x4c494e){const _0x31c6fb=_0x164ecf;let _0x50c847=_0x2332b6[_0x31c6fb(0x4cb)][_0x2e283d][_0x31c6fb(0x461)],_0x7a8675=_0x32f90d(_0x50c847,_0x479d1a,{'beforeFieldId':_0x4c494e[_0x31c6fb(0x42d)],'afterFieldId':_0x4c494e[_0x31c6fb(0xf5)]});return _0x9b4f24[_0x31c6fb(0x47b)][_0x31c6fb(0x189)]([_0x31c6fb(0x4cb),_0x2e283d,'viewOrder'],_0x50c847,_0x7a8675);}[_0x164ecf(0x319)](_0x497850,_0x30ca28,_0x98fa01,_0x4cca9a){const _0x3892db=_0x164ecf;let _0x1fdcae=_0x497850['tables'][_0x30ca28][_0x3892db(0x339)][_0x98fa01]['config']??{},_0x4ba534={..._0x1fdcae,..._0x4cca9a};return Object[_0x3892db(0x1fe)](_0x4cca9a)[_0x3892db(0x49e)](_0x7de559=>{_0x4cca9a[_0x7de559]===void 0x0&&delete _0x4ba534[_0x7de559];}),_0x9b4f24[_0x3892db(0x47b)][_0x3892db(0x189)]([..._0x3b7826[_0x3892db(0x1d6)](_0x30ca28,_0x98fa01),_0x3892db(0x19f)],_0x1fdcae,_0x4ba534);}[_0x164ecf(0x160)](_0x3f2982,_0x42c768,_0x45a452,_0x8402a){const _0x373515=_0x164ecf;return this[_0x373515(0x2b5)]([..._0x3b7826[_0x373515(0x1d6)](_0x42c768,_0x45a452),_0x373515(0x41f)],_0x3f2982[_0x373515(0x4cb)][_0x42c768][_0x373515(0x339)][_0x45a452][_0x373515(0x41f)],_0x8402a);}['setViewSort'](_0x7f347,_0xf3239f,_0xc31a53,_0x6bd607){const _0x4728b1=_0x164ecf;return this['_replaceOptional']([..._0x3b7826[_0x4728b1(0x1d6)](_0xf3239f,_0xc31a53),_0x4728b1(0x281)],_0x7f347[_0x4728b1(0x4cb)][_0xf3239f][_0x4728b1(0x339)][_0xc31a53][_0x4728b1(0x281)],_0x6bd607);}[_0x164ecf(0x20a)](_0x558abe,_0x4d63fc,_0x2f998b,_0x22ce48){const _0x34dba2=_0x164ecf;return this[_0x34dba2(0x2b5)]([..._0x3b7826[_0x34dba2(0x1d6)](_0x4d63fc,_0x2f998b),_0x34dba2(0x332)],_0x558abe[_0x34dba2(0x4cb)][_0x4d63fc]['views'][_0x2f998b][_0x34dba2(0x332)],_0x22ce48);}[_0x164ecf(0x289)](_0x2faa94,_0x364fb5,_0x1f138d,_0x463f50,_0x2cded7){const _0x2e91e6=_0x164ecf;return this[_0x2e91e6(0x14e)](_0x2faa94,_0x364fb5,_0x1f138d,_0x463f50,{'hidden':!_0x2cded7});}[_0x164ecf(0x14b)](_0xc95e5a,_0x36e477,_0x4e477b,_0x2ae16d,_0x2e11b9){const _0x2aa0a7=_0x164ecf;return this[_0x2aa0a7(0x14e)](_0xc95e5a,_0x36e477,_0x4e477b,_0x2ae16d,{'width':_0x2e11b9});}['setViewFieldOrder'](_0x4d5fc6,_0x626f22,_0x34599a,_0x1316bd,_0x44334e){const _0x1e361e=_0x164ecf;let _0x274c44=_0x4d5fc6[_0x1e361e(0x4cb)][_0x626f22][_0x1e361e(0x339)][_0x34599a],_0x20222a=_0x32f90d(_0x274c44[_0x1e361e(0x30b)]??_0x4d5fc6[_0x1e361e(0x4cb)][_0x626f22][_0x1e361e(0x30b)],_0x1316bd,_0x44334e);return this[_0x1e361e(0x2b5)]([..._0x3b7826['view'](_0x626f22,_0x34599a),_0x1e361e(0x30b)],_0x274c44[_0x1e361e(0x30b)],_0x20222a);}[_0x164ecf(0x14e)](_0xa3cf20,_0x33f4a0,_0x89a470,_0x566e4c,_0x2a9145){const _0x437540=_0x164ecf;let _0xa1073e=_0xa3cf20[_0x437540(0x4cb)][_0x33f4a0]['views'][_0x89a470][_0x437540(0x156)]??{},_0x5df909={..._0xa1073e,[_0x566e4c]:{..._0xa1073e[_0x566e4c],..._0x2a9145}};return this[_0x437540(0x2b5)]([..._0x3b7826[_0x437540(0x1d6)](_0x33f4a0,_0x89a470),_0x437540(0x156)],_0xa3cf20[_0x437540(0x4cb)][_0x33f4a0]['views'][_0x89a470][_0x437540(0x156)],_0x5df909);}[_0x164ecf(0x28e)](_0x202fed,_0x10bf3c,_0x245046){const _0x13a840=_0x164ecf;let _0xd9a22=_0x202fed['tables'][_0x10bf3c],_0x1e9ff9=new Set(_0x245046[_0x13a840(0x2a7)](_0x4761bf=>_0x4761bf['id'])),_0x3943a8=[...Object[_0x13a840(0x10a)](_0xd9a22[_0x13a840(0x312)])[_0x13a840(0x41f)](_0x17cd5b=>!_0x1e9ff9[_0x13a840(0x1df)](_0x17cd5b['id'])),..._0x245046][_0x13a840(0x281)]((_0x1e9fee,_0x101e1a)=>String(_0x1e9fee['orderKey']??_0x1e9fee['id'])[_0x13a840(0x2c6)](String(_0x101e1a[_0x13a840(0x1ac)]??_0x101e1a['id'])))['map'](_0x439cfe=>_0x439cfe['id']),_0x46c7f4=[..._0x3b7826[_0x13a840(0xfe)](_0x10bf3c),_0x13a840(0x411)];return _0xd9a22[_0x13a840(0x411)]?_0x9b4f24['JSON1'][_0x13a840(0x189)](_0x46c7f4,_0xd9a22[_0x13a840(0x411)],_0x3943a8):_0x9b4f24['JSON1'][_0x13a840(0x4c9)](_0x46c7f4,_0x3943a8);}[_0x164ecf(0x180)](_0x5cf69b,_0x53455b,_0x2ddaaf,_0x438b73){const _0x4d0b2b=_0x164ecf;var _0x25f9fe,_0x7f55ef;let _0x4e59fd=_0x8ae1a4(_0x5cf69b[_0x4d0b2b(0x4cb)][_0x53455b]),_0x12d8b8=String(((_0x25f9fe=_0x438b73[_0x4d0b2b(0x19f)])==null?void 0x0:_0x25f9fe[_0x4d0b2b(0x2f9)])??'')[_0x4d0b2b(0x276)](),_0x19ab91=(_0x7f55ef=_0x4e59fd[_0x4d0b2b(0x23b)])==null?void 0x0:_0x7f55ef[_0x2ddaaf];if(_0x19ab91==null)return[];let _0x2e69e7=_0x4e59fd['recordOrder']??Object[_0x4d0b2b(0x1fe)](_0x4e59fd[_0x4d0b2b(0x312)]),_0x3a29ac=_0x2e69e7['map'](_0x592628=>{const _0xb10a9e=_0x4d0b2b;var _0x376acc;return(_0x376acc=_0x4e59fd[_0xb10a9e(0x371)])==null?void 0x0:_0x376acc[_0x592628];})[_0x4d0b2b(0x396)](_0x5767c9=>_0x5767c9!=null);return _0x2e69e7['flatMap'](_0x5f7ea5=>{const _0x5525d6=_0x4d0b2b;var _0x51e812,_0x4bbd41;let _0x2a3721=(_0x51e812=_0x4e59fd['rowIndex'])==null?void 0x0:_0x51e812[_0x5f7ea5];if(_0x2a3721==null)return[];let _0x12b40f=(_0x4bbd41=_0x4e59fd[_0x5525d6(0x216)])==null||(_0x4bbd41=_0x4bbd41[_0x2a3721])==null?void 0x0:_0x4bbd41[_0x19ab91],_0x4ef713=_0x12d8b8?_0x2a3721===_0x3a29ac?{'f':_0x12d8b8,'si':_0x2ddaaf}:{'si':_0x2ddaaf}:{'v':null,'t':null};return[this[_0x5525d6(0x2b5)](_0x3b7826[_0x5525d6(0x216)](_0x53455b,_0x2a3721,_0x19ab91),_0x12b40f,_0x4ef713)];});}['_setAttachmentResources'](_0x10e520,_0x150659,_0x520a64,_0x38c3de,_0x67664f){const _0x31b824=_0x164ecf;var _0x2479f1;let _0x27574e=_0x2aa1c9(_0x38c3de,_0x520a64),_0x17601c=_0x67664f['map']((_0x204dde,_0x5b48b0)=>String(_0x204dde['id']??_0x27574e+'\x1f'+_0x5b48b0));return[this[_0x31b824(0x2b5)](_0x3b7826[_0x31b824(0x3c0)](_0x150659,_0x27574e),(_0x2479f1=_0x10e520[_0x31b824(0x1b2)])==null||(_0x2479f1=_0x2479f1[_0x31b824(0x3d9)])==null?void 0x0:_0x2479f1[_0x27574e],_0x17601c),..._0x67664f[_0x31b824(0x2a7)]((_0x49d46c,_0x443da2)=>{const _0xb9c06=_0x31b824;var _0x2d472b;let _0x35667f=_0x17601c[_0x443da2];return this[_0xb9c06(0x2b5)](_0x3b7826[_0xb9c06(0x2a9)](_0x150659,_0x35667f),(_0x2d472b=_0x10e520[_0xb9c06(0x1b2)])==null||(_0x2d472b=_0x2d472b['attachments'])==null?void 0x0:_0x2d472b[_0x35667f],{..._0x49d46c,'id':_0x35667f});})];}[_0x164ecf(0x1bb)](_0x3ebdae,_0x2c4132,_0x21f30c){const _0x58f3c7=_0x164ecf;var _0x47b194;let _0x5a65f3=((_0x47b194=_0x3ebdae['resources'])==null?void 0x0:_0x47b194[_0x58f3c7(0x3d9)])??{},_0x12a238=Object[_0x58f3c7(0x489)](_0x5a65f3)['filter'](([_0x560c44])=>_0x21f30c(_0x560c44));if(!_0x12a238[_0x58f3c7(0x13b)])return[];let _0x446858=new Set(Object[_0x58f3c7(0x489)](_0x5a65f3)['filter'](([_0x3662e0])=>!_0x21f30c(_0x3662e0))[_0x58f3c7(0x17e)](([,_0x265b6a])=>_0x265b6a)),_0x4c4550=new Set(_0x12a238[_0x58f3c7(0x17e)](([,_0x325696])=>_0x325696));return[..._0x12a238[_0x58f3c7(0x2a7)](([_0x291e10,_0x17c509])=>_0x9b4f24['JSON1'][_0x58f3c7(0x39c)](_0x3b7826[_0x58f3c7(0x3c0)](_0x2c4132,_0x291e10),_0x17c509)),...Array[_0x58f3c7(0x338)](_0x4c4550)['flatMap'](_0x24f385=>{const _0x156d75=_0x58f3c7;var _0x466040;let _0x291f8f=(_0x466040=_0x3ebdae[_0x156d75(0x1b2)])==null||(_0x466040=_0x466040[_0x156d75(0x359)])==null?void 0x0:_0x466040[_0x24f385];return _0x291f8f!==void 0x0&&!_0x446858[_0x156d75(0x1df)](_0x24f385)?[_0x9b4f24[_0x156d75(0x47b)][_0x156d75(0x39c)](_0x3b7826[_0x156d75(0x2a9)](_0x2c4132,_0x24f385),_0x291f8f)]:[];})];}['_replaceOptional'](_0x508f50,_0x4ddf74,_0x4ff586){const _0x52205b=_0x164ecf;return _0x4ddf74===void 0x0?_0x9b4f24[_0x52205b(0x47b)][_0x52205b(0x4c9)](_0x508f50,_0x4ff586):_0x9b4f24['JSON1'][_0x52205b(0x189)](_0x508f50,_0x4ddf74,_0x4ff586);}};function _0x35bc66(_0x3ef4a7,_0x22643,_0x3afd69){const _0x51cef9=_0x164ecf;var _0x121508,_0x4e4e8d,_0x1a59df,_0xdea265;let _0x3a551a=(_0x121508=_0x3ef4a7[_0x51cef9(0x371)])==null?void 0x0:_0x121508[_0x22643],_0x1a805d=(_0x4e4e8d=_0x3ef4a7[_0x51cef9(0x23b)])==null?void 0x0:_0x4e4e8d[_0x3afd69];return _0x3a551a!=null&&_0x1a805d!=null&&((_0x1a59df=_0x3ef4a7[_0x51cef9(0x3c7)])==null?void 0x0:_0x1a59df[_0x3a551a])===_0x22643&&((_0xdea265=_0x3ef4a7[_0x51cef9(0x282)])==null?void 0x0:_0xdea265[_0x1a805d])===_0x3afd69&&_0x3ef4a7[_0x51cef9(0x216)]!=null;}function _0x329779(_0x1050a7,_0x42d8e3,_0x531540){const _0x4d2409=_0x164ecf;var _0x261c82,_0x22d187;return((_0x261c82=_0x1050a7[_0x4d2409(0x3c7)])==null?void 0x0:_0x261c82[_0x42d8e3])!=null&&((_0x22d187=_0x1050a7[_0x4d2409(0x282)])==null?void 0x0:_0x22d187[_0x531540])!=null&&_0x1050a7[_0x4d2409(0x216)]!=null;}function _0x32f90d(_0x13542d,_0x53bc7d,_0x210967){const _0x3d3771=_0x164ecf;let _0x417d66=_0x13542d[_0x3d3771(0x41f)](_0x3b8d66=>_0x3b8d66!==_0x53bc7d),_0x56b19c=_0x210967[_0x3d3771(0x249)]?_0x417d66[_0x3d3771(0x19b)](_0x210967[_0x3d3771(0x249)]):_0x210967[_0x3d3771(0x20b)]?_0x417d66[_0x3d3771(0x19b)](_0x210967[_0x3d3771(0x20b)])+0x1:_0x417d66['length'];return _0x417d66[_0x3d3771(0x1ed)](_0x56b19c<0x0?_0x417d66[_0x3d3771(0x13b)]:_0x56b19c,0x0,_0x53bc7d),_0x417d66;}function _0x1d7376(_0xe5f322,_0x479421,_0x583448){const _0x4290e2=_0x164ecf;let _0x16c5a2=_0xe5f322[_0x4290e2(0x41f)](_0x4aa01b=>_0x4aa01b!==_0x479421);return _0x16c5a2[_0x4290e2(0x1ed)](_0x4550d3(_0x583448,_0x16c5a2['length']),0x0,_0x479421),_0x16c5a2;}function _0x4e365b(_0x3ab283,_0x357ee5,_0x33c58f){const _0x473566=_0x164ecf;if(Array['isArray'](_0x3ab283))return _0x33c58f===_0x473566(0x239)?_0x3ab283[_0x473566(0x41f)](_0x3e60b8=>_0x3e60b8!==_0x357ee5):_0x3ab283[_0x473566(0x17e)](_0x4664cb=>{const _0x220480=_0x473566;if(_0x4664cb&&typeof _0x4664cb==_0x220480(0x42c)&&!Array[_0x220480(0x32e)](_0x4664cb)&&_0x4664cb['fieldId']===_0x357ee5)return[];let _0x16b56b=_0x4e365b(_0x4664cb,_0x357ee5);return _0x16b56b===void 0x0?[]:[_0x16b56b];});if(!_0x3ab283||typeof _0x3ab283!='object')return _0x33c58f!=null&&_0x33c58f['endsWith'](_0x473566(0x262))&&_0x3ab283===_0x357ee5?void 0x0:_0x3ab283;let _0x47ad36=_0x3ab283;if(_0x47ad36[_0x473566(0x195)]!==_0x357ee5)return Object[_0x473566(0x224)](Object['entries'](_0x47ad36)[_0x473566(0x17e)](([_0x2c4e45,_0x1c9fa3])=>{if(_0x2c4e45===_0x357ee5&&_0x33c58f==='fieldSettings')return[];let _0x370396=_0x4e365b(_0x1c9fa3,_0x357ee5,_0x2c4e45);return _0x370396===void 0x0?[]:[[_0x2c4e45,_0x370396]];}));}function _0x4550d3(_0x496eab,_0x5a33d1){const _0x4ddcbf=_0x164ecf;return Math[_0x4ddcbf(0x427)](0x0,Math['min'](_0x496eab,_0x5a33d1));}function _0x5b5ff7(_0x3b5bd4,_0x2fda35,_0x232c63){const _0x52c3c9=_0x164ecf;if(!_0x3b5bd4||!_0x2fda35||_0x2fda35===_0x232c63)return _0x3b5bd4;let _0x62ea60='',_0x1e6bc5=!0x1,_0x2b67a9=_0x2fda35[_0x52c3c9(0x3b3)]();for(let _0xc9c81a=0x0;_0xc9c81a<_0x3b5bd4[_0x52c3c9(0x13b)];){let _0x2951d4=_0x3b5bd4[_0xc9c81a];if(_0x2951d4==='\x22'){if(_0x1e6bc5&&_0x3b5bd4[_0xc9c81a+0x1]==='\x22'){_0x62ea60+='\x22\x22',_0xc9c81a+=0x2;continue;}_0x1e6bc5=!_0x1e6bc5,_0x62ea60+=_0x2951d4,_0xc9c81a++;continue;}if(!_0x1e6bc5&&_0x3b5bd4[_0x52c3c9(0x475)](_0xc9c81a,_0xc9c81a+_0x2fda35[_0x52c3c9(0x13b)])[_0x52c3c9(0x3b3)]()===_0x2b67a9&&_0x1b0b8a(_0x3b5bd4,_0xc9c81a,_0x2fda35['length'])){_0x62ea60+=_0x232c63,_0xc9c81a+=_0x2fda35[_0x52c3c9(0x13b)];continue;}_0x62ea60+=_0x2951d4,_0xc9c81a++;}return _0x62ea60;}function _0x1b0b8a(_0x2bace7,_0x2f9fe3,_0x114a2b){const _0x3eafd4=_0x164ecf;let _0x701944=_0x2bace7[_0x2f9fe3-0x1];if(_0x701944&&/[\w.]/[_0x3eafd4(0x37c)](_0x701944))return!0x1;let _0x3054e0=_0x2f9fe3+_0x114a2b;for(;/\s/[_0x3eafd4(0x37c)](_0x2bace7[_0x3054e0]??'');)_0x3054e0++;return _0x2bace7[_0x3054e0]==='[';}function _0x30a735(_0x28cb23){'@babel/helpers - typeof';const _0x468865=_0x164ecf;return _0x30a735=typeof Symbol==_0x468865(0x32b)&&typeof Symbol[_0x468865(0x2ea)]==_0x468865(0x21b)?function(_0x2dd125){return typeof _0x2dd125;}:function(_0x4251c2){const _0x78b1db=_0x468865;return _0x4251c2&&typeof Symbol==_0x78b1db(0x32b)&&_0x4251c2['constructor']===Symbol&&_0x4251c2!==Symbol[_0x78b1db(0x1b0)]?_0x78b1db(0x21b):typeof _0x4251c2;},_0x30a735(_0x28cb23);}function _0x420d57(_0x2f83d1,_0x4e86c6){const _0x4d9801=_0x164ecf;if(_0x30a735(_0x2f83d1)!=_0x4d9801(0x42c)||!_0x2f83d1)return _0x2f83d1;var _0x5ade6c=_0x2f83d1[Symbol[_0x4d9801(0x480)]];if(_0x5ade6c!==void 0x0){var _0x165051=_0x5ade6c[_0x4d9801(0x35d)](_0x2f83d1,_0x4e86c6||_0x4d9801(0x25b));if(_0x30a735(_0x165051)!=_0x4d9801(0x42c))return _0x165051;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0x4e86c6===_0x4d9801(0x1e4)?String:Number)(_0x2f83d1);}function _0x26f4ca(_0x54a888){const _0x52a964=_0x164ecf;var _0x3558e9=_0x420d57(_0x54a888,_0x52a964(0x1e4));return _0x30a735(_0x3558e9)==_0x52a964(0x21b)?_0x3558e9:_0x3558e9+'';}function _0x1fa697(_0x45cbe1,_0x255aa9,_0x1fcd5d){return(_0x255aa9=_0x26f4ca(_0x255aa9))in _0x45cbe1?Object['defineProperty'](_0x45cbe1,_0x255aa9,{'value':_0x1fcd5d,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x45cbe1[_0x255aa9]=_0x1fcd5d,_0x45cbe1;}let _0x258447=(0x0,_0x9b4f24[_0x164ecf(0x206)])(_0x164ecf(0x185));var _0x111b3e=class extends _0x9b4f24[_0x164ecf(0x2b0)]{constructor(..._0x26d262){super(..._0x26d262),_0x1fa697(this,'_plugins',new Map());}['register'](_0x2418a0){const _0x2e1d9e=_0x164ecf;return this[_0x2e1d9e(0x20c)][_0x2e1d9e(0x25a)](_0x2418a0[_0x2e1d9e(0x132)],_0x2418a0),(0x0,_0x9b4f24[_0x2e1d9e(0x17d)])(()=>this['_plugins'][_0x2e1d9e(0x2c7)](_0x2418a0[_0x2e1d9e(0x132)]));}[_0x164ecf(0x3e9)](_0x3fe620){const _0xfa3120=_0x164ecf;let _0x55d067=this['_plugins'][_0xfa3120(0x3e9)](_0x3fe620);if(!_0x55d067)throw Error('[BaseFieldRegistryService]:\x20field\x20type\x20\x22'+_0x3fe620+_0xfa3120(0x308));return _0x55d067;}[_0x164ecf(0x362)](_0xbbc080){const _0x7da0bb=_0x164ecf;return this[_0x7da0bb(0x20c)][_0x7da0bb(0x3e9)](_0xbbc080);}[_0x164ecf(0x357)](){const _0x753305=_0x164ecf;return Array[_0x753305(0x338)](this[_0x753305(0x20c)]['values']());}};let _0x2bc2dc=(0x0,_0x9b4f24[_0x164ecf(0x206)])(_0x164ecf(0x2d9));var _0x267c0a=class{constructor(){const _0x154954=_0x164ecf;_0x1fa697(this,_0x154954(0x32a),new Map()),_0x1fa697(this,_0x154954(0x183),new Map()),_0x1fa697(this,_0x154954(0x27a),new Map()),_0x1fa697(this,'_recordPermissions',new Map());}['canCreateTable'](_0x5c8c4d){const _0x57cbd2=_0x164ecf;var _0x3b70b4;return((_0x3b70b4=this[_0x57cbd2(0x32a)][_0x57cbd2(0x3e9)](_0x5c8c4d))==null?void 0x0:_0x3b70b4[_0x57cbd2(0x2ad)])??!0x0;}['canDeleteTable'](_0x30d9f3){const _0xad687b=_0x164ecf;var _0x298f48;return((_0x298f48=this[_0xad687b(0x183)]['get'](_0x30d9f3))==null?void 0x0:_0x298f48[_0xad687b(0x2c7)])??!0x0;}[_0x164ecf(0x29f)](_0x5ada79){const _0x100b43=_0x164ecf;var _0x2b49ea;return((_0x2b49ea=this['_tablePermissions'][_0x100b43(0x3e9)](_0x5ada79))==null?void 0x0:_0x2b49ea[_0x100b43(0x205)])??!0x0;}[_0x164ecf(0x417)](_0x1913c8,_0x2ff517){const _0x587b41=_0x164ecf;var _0x24092c;return((_0x24092c=this[_0x587b41(0x27a)][_0x587b41(0x3e9)](_0x507a50(_0x1913c8,_0x2ff517)))==null?void 0x0:_0x24092c[_0x587b41(0x2f0)])??!0x0;}[_0x164ecf(0x3c2)](_0x4f7ac9,_0x49c309){const _0x1966b6=_0x164ecf;var _0x124eec;return((_0x124eec=this['_fieldPermissions']['get'](_0x507a50(_0x4f7ac9,_0x49c309)))==null?void 0x0:_0x124eec[_0x1966b6(0x2c7)])??!0x0;}[_0x164ecf(0x1fb)](_0x4ca384){const _0xa4f70c=_0x164ecf;var _0x190589;return((_0x190589=this[_0xa4f70c(0x183)][_0xa4f70c(0x3e9)](_0x4ca384))==null?void 0x0:_0x190589[_0xa4f70c(0x1e1)])??!0x0;}[_0x164ecf(0x1a9)](_0x3d5e22,_0x3d3105){const _0x6503ff=_0x164ecf;var _0x356389;return((_0x356389=this[_0x6503ff(0x470)][_0x6503ff(0x3e9)](_0x13be2b(_0x3d5e22,_0x3d3105)))==null?void 0x0:_0x356389[_0x6503ff(0x2c7)])??!0x0;}[_0x164ecf(0x399)](_0x573283,_0x481bf6,_0x2ae695){const _0x483208=_0x164ecf;var _0x176699;let _0x52cdcd=this[_0x483208(0x27a)][_0x483208(0x3e9)](_0x507a50(_0x573283,_0x2ae695));return(((_0x176699=this[_0x483208(0x470)][_0x483208(0x3e9)](_0x13be2b(_0x573283,_0x481bf6)))==null?void 0x0:_0x176699[_0x483208(0x424)])??!0x0)&&((_0x52cdcd==null?void 0x0:_0x52cdcd[_0x483208(0x2f0)])??!0x0)&&((_0x52cdcd==null?void 0x0:_0x52cdcd[_0x483208(0x424)])??!0x0);}['canManageView'](_0x12d3d9){const _0x24f10c=_0x164ecf;var _0x21d099;return((_0x21d099=this['_tablePermissions'][_0x24f10c(0x3e9)](_0x12d3d9))==null?void 0x0:_0x21d099['manageView'])??!0x0;}[_0x164ecf(0x45b)](_0x1d97af,_0x23150a){const _0x2906c4=_0x164ecf;this[_0x2906c4(0x32a)][_0x2906c4(0x25a)](_0x1d97af,{...this[_0x2906c4(0x32a)][_0x2906c4(0x3e9)](_0x1d97af),..._0x23150a});}[_0x164ecf(0x326)](_0x15c17f,_0x28b412){const _0x5f5116=_0x164ecf;this[_0x5f5116(0x183)][_0x5f5116(0x25a)](_0x15c17f,{...this[_0x5f5116(0x183)][_0x5f5116(0x3e9)](_0x15c17f),..._0x28b412});}['setFieldPermission'](_0x47fd54,_0x333308,_0x3a1a6c){const _0x4bb590=_0x164ecf;let _0x5e133b=_0x507a50(_0x47fd54,_0x333308);this[_0x4bb590(0x27a)]['set'](_0x5e133b,{...this[_0x4bb590(0x27a)][_0x4bb590(0x3e9)](_0x5e133b),..._0x3a1a6c});}[_0x164ecf(0x26b)](_0x63ecba,_0x516bac,_0x35eae9){const _0x466ef6=_0x164ecf;let _0x3dd4cc=_0x13be2b(_0x63ecba,_0x516bac);this[_0x466ef6(0x470)][_0x466ef6(0x25a)](_0x3dd4cc,{...this[_0x466ef6(0x470)]['get'](_0x3dd4cc),..._0x35eae9});}[_0x164ecf(0x4d5)](_0x1b1cbe){const _0x221cd5=_0x164ecf;this[_0x221cd5(0x32a)][_0x221cd5(0x2c7)](_0x1b1cbe);}[_0x164ecf(0x488)](_0x31e077){const _0x5dc0f5=_0x164ecf;this[_0x5dc0f5(0x183)][_0x5dc0f5(0x2c7)](_0x31e077);}[_0x164ecf(0x423)](_0x38916f,_0x59c676){const _0x3982a1=_0x164ecf;this['_fieldPermissions'][_0x3982a1(0x2c7)](_0x507a50(_0x38916f,_0x59c676));}[_0x164ecf(0x44d)](_0x56a8c9,_0x1386b3){this['_recordPermissions']['delete'](_0x13be2b(_0x56a8c9,_0x1386b3));}[_0x164ecf(0x293)](){const _0x212ff4=_0x164ecf;return{'bases':Object['fromEntries'](this[_0x212ff4(0x32a)]),'tables':Object['fromEntries'](this[_0x212ff4(0x183)]),'fields':Object['fromEntries'](this[_0x212ff4(0x27a)]),'records':Object[_0x212ff4(0x224)](this[_0x212ff4(0x470)])};}};function _0x507a50(_0x7aada5,_0x1f5ce0){return _0x7aada5+'\x1f'+_0x1f5ce0;}function _0x13be2b(_0x51adb4,_0x244b9b){return _0x51adb4+'\x1f'+_0x244b9b;}function _0x891af9(_0x20ee4e,_0x4dda41){return function(_0x34cca0,_0x2c49a0){_0x4dda41(_0x34cca0,_0x2c49a0,_0x20ee4e);};}function _0x12cf0c(_0x2131b3,_0x359f8e,_0x38b764,_0x718d47){const _0x148b77=_0x164ecf;var _0x12505e=arguments['length'],_0x53e508=_0x12505e<0x3?_0x359f8e:_0x718d47===null?_0x718d47=Object[_0x148b77(0x188)](_0x359f8e,_0x38b764):_0x718d47,_0x151474;if(typeof Reflect==_0x148b77(0x42c)&&typeof Reflect[_0x148b77(0x467)]==_0x148b77(0x32b))_0x53e508=Reflect[_0x148b77(0x467)](_0x2131b3,_0x359f8e,_0x38b764,_0x718d47);else{for(var _0x21a817=_0x2131b3[_0x148b77(0x13b)]-0x1;_0x21a817>=0x0;_0x21a817--)(_0x151474=_0x2131b3[_0x21a817])&&(_0x53e508=(_0x12505e<0x3?_0x151474(_0x53e508):_0x12505e>0x3?_0x151474(_0x359f8e,_0x38b764,_0x53e508):_0x151474(_0x359f8e,_0x38b764))||_0x53e508);}return _0x12505e>0x3&&_0x53e508&&Object['defineProperty'](_0x359f8e,_0x38b764,_0x53e508),_0x53e508;}let _0x1e9ebe=(0x0,_0x9b4f24['createIdentifier'])(_0x164ecf(0x372)),_0x32a405=class{constructor(_0x3970e4,_0x528e40=_0x56b3e8(),_0x2fa459={}){const _0x460d39=_0x164ecf;this[_0x460d39(0x1cd)]=_0x3970e4,this[_0x460d39(0x47e)]=_0x528e40,this['_runtimeContext']=_0x2fa459,_0x1fa697(this,_0x460d39(0x444),new _0x1b7d14()),_0x1fa697(this,_0x460d39(0x17b),new _0x1f3607());}[_0x164ecf(0x2ad)](_0x297649,_0x4ecac4,_0x443ce6){const _0x4fcc4c=_0x164ecf;if(!this[_0x4fcc4c(0x1cd)][_0x4fcc4c(0x4a5)](_0x297649[_0x4fcc4c(0x368)]()))throw Error('[BaseCommandService]:\x20cannot\x20create\x20table.');(0x0,_0x9b4f24[_0x4fcc4c(0x2dc)])(_0x4ecac4),this['_apply'](_0x297649,this[_0x4fcc4c(0x444)][_0x4fcc4c(0x2ad)](_0x297649[_0x4fcc4c(0x293)](),_0x4ecac4,_0x443ce6));}[_0x164ecf(0x30d)](_0x29ce70,_0x5af2cb,_0xf3ee72){const _0x5dd6a7=_0x164ecf;this['_apply'](_0x29ce70,this[_0x5dd6a7(0x444)]['renameTable'](_0x29ce70[_0x5dd6a7(0x293)](),_0x5af2cb,_0xf3ee72));}[_0x164ecf(0x37f)](_0x2d1096,_0x174afb){const _0x241319=_0x164ecf;if(!this['_permissionService'][_0x241319(0x4c7)](_0x174afb))throw Error(_0x241319(0x45a));let _0x5d8084=_0x220b8a(_0x2d1096[_0x241319(0x293)](),_0x174afb);if(_0x5d8084['length']>0x0)throw Error(_0x241319(0x22f)+_0x5d8084[_0x241319(0x2a7)](_0x2d7bdd=>_0x2d7bdd['tableId']+'.'+_0x2d7bdd['fieldId'])['join'](',\x20')+').');this[_0x241319(0x3fb)](_0x2d1096,this[_0x241319(0x444)]['deleteTable'](_0x2d1096[_0x241319(0x293)](),_0x174afb));}[_0x164ecf(0x2fa)](_0x537286,_0x1739c9,_0x4ebc8a,_0x379768,_0x181898){const _0x115928=_0x164ecf;this[_0x115928(0x3fb)](_0x537286,this[_0x115928(0x433)](_0x537286,_0x1739c9,_0x4ebc8a,_0x379768,_0x181898));}[_0x164ecf(0x23e)](_0x3b93e4,_0x3d0388,_0x43c1bb){this['_apply'](_0x3b93e4,this['createSetRecordValuesOp'](_0x3b93e4,_0x3d0388,_0x43c1bb));}['createRecord'](_0x17258f,_0x2eb2a3,_0x3bbe8d){const _0x2ff642=_0x164ecf;this[_0x2ff642(0x3fb)](_0x17258f,this['createCreateRecordOp'](_0x17258f,_0x2eb2a3,_0x3bbe8d));}[_0x164ecf(0x433)](_0x4651ea,_0x72f1e4,_0x502583,_0x5c8332,_0xac3297){const _0x5bad1b=_0x164ecf;let _0x162150=_0x4651ea['getSnapshot'](),_0x58d89d=this['_normalizeCellValue'](_0x162150,_0x72f1e4,_0x502583,_0x5c8332,_0xac3297),_0x1dc2fd=this['_withModifiedSystemValues'](_0x162150,_0x72f1e4,_0x502583,{[_0x5c8332]:_0x58d89d});return this[_0x5bad1b(0x444)][_0x5bad1b(0x23e)](_0x162150,_0x72f1e4,[_0x1dc2fd]);}[_0x164ecf(0x210)](_0x19a70e,_0x5c193b,_0x55c0e7){const _0x46dbd6=_0x164ecf;let _0x59bed0=_0x19a70e[_0x46dbd6(0x293)](),_0x424797=_0x55c0e7[_0x46dbd6(0x2a7)](_0x5ce140=>this[_0x46dbd6(0x1ca)](_0x59bed0,_0x5c193b,_0x5ce140[_0x46dbd6(0x1d9)],{...Object['fromEntries'](Object['entries'](_0x5ce140[_0x46dbd6(0x10a)])[_0x46dbd6(0x2a7)](([_0x5664bc,_0x400998])=>[_0x5664bc,this[_0x46dbd6(0x269)](_0x59bed0,_0x5c193b,_0x5ce140[_0x46dbd6(0x1d9)],_0x5664bc,_0x400998)]))}));return this[_0x46dbd6(0x444)][_0x46dbd6(0x23e)](_0x59bed0,_0x5c193b,_0x424797);}[_0x164ecf(0x16d)](_0x2c0029,_0x423506,_0xc4e22c){const _0x4f4143=_0x164ecf;if(!this[_0x4f4143(0x1cd)][_0x4f4143(0x1fb)](_0x423506))throw Error(_0x4f4143(0x351));let _0x2fdd1c=_0x2c0029['getSnapshot'](),_0x275d7e=this[_0x4f4143(0x4d6)](_0x2fdd1c[_0x4f4143(0x4cb)][_0x423506]);return this[_0x4f4143(0x444)]['createRecord'](_0x2fdd1c,_0x423506,this[_0x4f4143(0x349)](_0x2fdd1c,_0x423506,_0xc4e22c,_0x275d7e));}['createBatchCreateRecordsOp'](_0x149227,_0x8189d2,_0x4d8147){const _0x32ac4b=_0x164ecf;if(!this[_0x32ac4b(0x1cd)][_0x32ac4b(0x1fb)](_0x8189d2))throw Error(_0x32ac4b(0x351));let _0xdca5fb=_0x149227[_0x32ac4b(0x293)]();return _0x3022ee(_0x32ac4b(0x1e0),()=>{const _0x12034e=_0x32ac4b;let _0x5d1791=this[_0x12034e(0x4d6)](_0xdca5fb[_0x12034e(0x4cb)][_0x8189d2]);return this[_0x12034e(0x444)][_0x12034e(0x4cd)](_0xdca5fb,_0x8189d2,_0x4d8147[_0x12034e(0x2a7)](_0x536105=>this[_0x12034e(0x349)](_0xdca5fb,_0x8189d2,_0x536105,_0x5d1791)));},{'existingRecords':Object[_0x32ac4b(0x1fe)](_0xdca5fb[_0x32ac4b(0x4cb)][_0x8189d2][_0x32ac4b(0x312)])[_0x32ac4b(0x13b)],'records':_0x4d8147[_0x32ac4b(0x13b)]});}[_0x164ecf(0x384)](_0x140b4a,_0x2bbfd8,_0x18b3d1,_0x1efc8b,_0x1cd5ab){const _0x4ce654=_0x164ecf;if(!this[_0x4ce654(0x1cd)][_0x4ce654(0x29f)](_0x2bbfd8))throw Error(_0x4ce654(0x495));let _0x5db0d0=_0x140b4a['getSnapshot']();if(this[_0x4ce654(0xf6)](_0x5db0d0,_0x18b3d1),_0x1efc8b===0x0)throw Error('[BaseCommandService]:\x20cannot\x20insert\x20a\x20field\x20before\x20record-id.');let _0x2d24c1=this[_0x4ce654(0x444)]['createField'](_0x5db0d0,_0x2bbfd8,{'field':_0x18b3d1,'index':_0x1efc8b,'viewIndexes':_0x1cd5ab}),_0x4d8b18=this[_0x4ce654(0x37a)](_0x5db0d0,_0x2bbfd8,_0x18b3d1);if(!_0x4d8b18[_0x4ce654(0x13b)])return _0x2d24c1;let _0x1633cd=this[_0x4ce654(0x17b)]['applyOp'](_0x5db0d0,_0x2d24c1);return _0x4fd831([_0x2d24c1,this[_0x4ce654(0x444)][_0x4ce654(0x23e)](_0x1633cd,_0x2bbfd8,_0x4d8b18)]);}[_0x164ecf(0x2c9)](_0x53c10f,_0xe32e33,_0x98b188){const _0x311d72=_0x164ecf;if(!this[_0x311d72(0x1cd)][_0x311d72(0x1a9)](_0xe32e33,_0x98b188))throw Error(_0x311d72(0x386));this[_0x311d72(0x3fb)](_0x53c10f,this[_0x311d72(0x444)]['deleteRecord'](_0x53c10f[_0x311d72(0x293)](),_0xe32e33,_0x98b188));}['duplicateRecord'](_0x55b72a,_0x874f92,_0x9d948d,_0x19b0f6){const _0x5d5916=_0x164ecf;this[_0x5d5916(0x3fb)](_0x55b72a,this[_0x5d5916(0x444)]['duplicateRecord'](_0x55b72a[_0x5d5916(0x293)](),_0x874f92,_0x9d948d,{..._0x19b0f6,'values':{..._0x19b0f6[_0x5d5916(0x10a)],[_0x9b4f24[_0x5d5916(0x2c4)]]:_0x19b0f6['id']}}));}['updateRecordOrder'](_0x521c4d,_0x2b90bf,_0x4259f5,_0x2c0829){const _0x233e64=_0x164ecf;this[_0x233e64(0x3fb)](_0x521c4d,this['_factory'][_0x233e64(0x265)](_0x521c4d[_0x233e64(0x293)](),_0x2b90bf,_0x4259f5,_0x2c0829));}['createField'](_0x3084d8,_0x310ae4,_0x2585df,_0x32c5d9,_0x599c7b){const _0x4d46b9=_0x164ecf;this[_0x4d46b9(0x3fb)](_0x3084d8,this[_0x4d46b9(0x384)](_0x3084d8,_0x310ae4,_0x2585df,_0x32c5d9,_0x599c7b));}[_0x164ecf(0x228)](_0xffb573,_0x236e0a,_0x58440b,_0xe7b246){const _0x252ad5=_0x164ecf;var _0x3243ce;if(!this[_0x252ad5(0x1cd)]['canEditField'](_0x236e0a,_0x58440b))throw Error(_0x252ad5(0x190));let _0x51cf4f=_0xffb573[_0x252ad5(0x293)](),_0xcaa35c=(_0x3243ce=_0x51cf4f[_0x252ad5(0x4cb)][_0x236e0a])==null?void 0x0:_0x3243ce[_0x252ad5(0x43b)][_0x58440b];if(!_0xcaa35c||_0x58440b===_0x9b4f24[_0x252ad5(0x2c4)])throw Error('[BaseCommandService]:\x20cannot\x20edit\x20record-id.');this[_0x252ad5(0xf6)](_0x51cf4f,{..._0xcaa35c,..._0xe7b246}),this['_apply'](_0xffb573,this[_0x252ad5(0x444)][_0x252ad5(0x228)](_0x51cf4f,_0x236e0a,_0x58440b,_0xe7b246));}[_0x164ecf(0x4b2)](_0x381be5,_0x402fe7,_0x268da7,_0x2b14f0){const _0x2f9168=_0x164ecf;var _0x49e9be;if(!this[_0x2f9168(0x1cd)]['canEditField'](_0x402fe7,_0x268da7))throw Error(_0x2f9168(0x190));let _0x14ec74=_0x381be5[_0x2f9168(0x293)](),_0x57bd0f=(_0x49e9be=_0x14ec74[_0x2f9168(0x4cb)][_0x402fe7])==null?void 0x0:_0x49e9be[_0x2f9168(0x43b)][_0x268da7];if(!_0x57bd0f||_0x268da7===_0x9b4f24[_0x2f9168(0x2c4)])throw Error(_0x2f9168(0x3d2));this[_0x2f9168(0xf6)](_0x14ec74,{..._0x57bd0f,..._0x2b14f0}),this[_0x2f9168(0x3fb)](_0x381be5,this[_0x2f9168(0x444)][_0x2f9168(0x4b2)](_0x14ec74,_0x402fe7,_0x268da7,_0x2b14f0));}[_0x164ecf(0x31d)](_0x5e328c,_0x370d89,_0x3a51f4){const _0x2c8b5c=_0x164ecf;var _0x477161;if(((_0x477161=_0x5e328c[_0x2c8b5c(0x293)]()[_0x2c8b5c(0x4cb)][_0x370d89])==null?void 0x0:_0x477161[_0x2c8b5c(0x302)])===_0x3a51f4||_0x3a51f4===_0x9b4f24[_0x2c8b5c(0x2c4)])throw Error(_0x2c8b5c(0x44c));if(!this['_permissionService'][_0x2c8b5c(0x3c2)](_0x370d89,_0x3a51f4))throw Error(_0x2c8b5c(0x435));this['_apply'](_0x5e328c,this[_0x2c8b5c(0x444)][_0x2c8b5c(0x31d)](_0x5e328c[_0x2c8b5c(0x293)](),_0x370d89,_0x3a51f4));}[_0x164ecf(0x31f)](_0x45e4e4,_0x4f39ff,_0x5a4869,_0x327c77){const _0x2f21e1=_0x164ecf;if(!this[_0x2f21e1(0x1cd)][_0x2f21e1(0x417)](_0x4f39ff,_0x5a4869))throw Error(_0x2f21e1(0x190));if(_0x5a4869===_0x9b4f24[_0x2f21e1(0x2c4)]||_0x327c77[_0x2f21e1(0x249)]===_0x9b4f24[_0x2f21e1(0x2c4)])throw Error(_0x2f21e1(0x258));this[_0x2f21e1(0x3fb)](_0x45e4e4,this[_0x2f21e1(0x444)]['moveField'](_0x45e4e4[_0x2f21e1(0x293)](),_0x4f39ff,_0x5a4869,_0x327c77));}[_0x164ecf(0x20f)](_0x5360fc,_0x559ea6,_0x3a011d,_0x5a8a08){const _0x53601c=_0x164ecf;this[_0x53601c(0x3fb)](_0x5360fc,this[_0x53601c(0x444)][_0x53601c(0x20f)](_0x5360fc[_0x53601c(0x293)](),_0x559ea6,_0x3a011d,_0x5a8a08));}[_0x164ecf(0xff)](_0xa6b993,_0x4ca1e4,_0x5956e4,_0x2a6064){const _0x21e5a7=_0x164ecf;if(!this[_0x21e5a7(0x1cd)][_0x21e5a7(0x244)](_0x4ca1e4,_0x5956e4))throw Error(_0x21e5a7(0x12b));this[_0x21e5a7(0x3fb)](_0xa6b993,this[_0x21e5a7(0x444)]['renameView'](_0xa6b993['getSnapshot'](),_0x4ca1e4,_0x5956e4,_0x2a6064));}[_0x164ecf(0x1a3)](_0x24a3c2,_0x558ea8,_0x1c6aec){const _0x3f3c7b=_0x164ecf;if(!this['_permissionService'][_0x3f3c7b(0x244)](_0x558ea8,_0x1c6aec))throw Error('[BaseCommandService]:\x20cannot\x20manage\x20view.');this[_0x3f3c7b(0x3fb)](_0x24a3c2,this[_0x3f3c7b(0x444)][_0x3f3c7b(0x1a3)](_0x24a3c2['getSnapshot'](),_0x558ea8,_0x1c6aec));}[_0x164ecf(0x157)](_0x28a5ef,_0x406856,_0x169c3b,_0xf06948){const _0x1a4eee=_0x164ecf;if(!this[_0x1a4eee(0x1cd)][_0x1a4eee(0x244)](_0x406856,_0x169c3b))throw Error(_0x1a4eee(0x12b));this['_apply'](_0x28a5ef,this[_0x1a4eee(0x444)][_0x1a4eee(0x157)](_0x28a5ef[_0x1a4eee(0x293)](),_0x406856,_0x169c3b,_0xf06948));}[_0x164ecf(0x319)](_0x5c8d80,_0xa461b2,_0x2f4828,_0x501898){const _0x27fa2e=_0x164ecf;if(!this[_0x27fa2e(0x1cd)][_0x27fa2e(0x244)](_0xa461b2,_0x2f4828))throw Error(_0x27fa2e(0x12b));this[_0x27fa2e(0x3fb)](_0x5c8d80,this[_0x27fa2e(0x444)][_0x27fa2e(0x319)](_0x5c8d80['getSnapshot'](),_0xa461b2,_0x2f4828,_0x501898));}[_0x164ecf(0x160)](_0x6780e5,_0x4c31c0,_0x3fceae,_0x4882c6){const _0x424eed=_0x164ecf;this[_0x424eed(0x3fb)](_0x6780e5,this['_factory'][_0x424eed(0x160)](_0x6780e5[_0x424eed(0x293)](),_0x4c31c0,_0x3fceae,_0x4882c6));}[_0x164ecf(0x165)](_0x4b90e6,_0x313110,_0x2b0f77,_0x40d075){const _0x3b5d83=_0x164ecf;this[_0x3b5d83(0x3fb)](_0x4b90e6,this['_factory'][_0x3b5d83(0x165)](_0x4b90e6['getSnapshot'](),_0x313110,_0x2b0f77,_0x40d075));}[_0x164ecf(0x20a)](_0x401ac5,_0x263b98,_0x1457ad,_0x244628){const _0xfccee4=_0x164ecf;this[_0xfccee4(0x3fb)](_0x401ac5,this['_factory'][_0xfccee4(0x20a)](_0x401ac5[_0xfccee4(0x293)](),_0x263b98,_0x1457ad,_0x244628));}['setViewFieldVisible'](_0x396506,_0x179774,_0x40fbb6,_0x1b3c49,_0x2e3afd){const _0x942511=_0x164ecf;if(!this[_0x942511(0x1cd)][_0x942511(0x244)](_0x179774,_0x40fbb6))throw Error(_0x942511(0x12b));this[_0x942511(0x3fb)](_0x396506,this[_0x942511(0x444)][_0x942511(0x289)](_0x396506[_0x942511(0x293)](),_0x179774,_0x40fbb6,_0x1b3c49,_0x2e3afd));}['setViewFieldWidth'](_0x164f4c,_0x8bcec0,_0x38a230,_0x3496c5,_0x2b4b23){const _0x1cfcb1=_0x164ecf;this[_0x1cfcb1(0x3fb)](_0x164f4c,this[_0x1cfcb1(0x444)][_0x1cfcb1(0x14b)](_0x164f4c['getSnapshot'](),_0x8bcec0,_0x38a230,_0x3496c5,_0x2b4b23));}[_0x164ecf(0x1b4)](_0x30b94b,_0x26500b,_0xc6c2e7,_0x14387c,_0x2f2d77){const _0x288263=_0x164ecf;this[_0x288263(0x3fb)](_0x30b94b,this[_0x288263(0x444)][_0x288263(0x1b4)](_0x30b94b[_0x288263(0x293)](),_0x26500b,_0xc6c2e7,_0x14387c,_0x2f2d77));}[_0x164ecf(0x3fb)](_0x5e0355,_0x1753c2){const _0x5472c3=_0x164ecf;let _0x11317e=_0x5e0355['getSnapshot']();_0x5e0355['setSnapshot'](this[_0x5472c3(0x17b)]['applyOp'](_0x11317e,_0x1753c2));}[_0x164ecf(0x349)](_0x13510c,_0x3227e0,_0x3617db,_0x20a603=this[_0x164ecf(0x4d6)](_0x13510c[_0x164ecf(0x4cb)][_0x3227e0])){const _0xa5a106=_0x164ecf;let _0x52d68b=_0x13510c[_0xa5a106(0x4cb)][_0x3227e0],_0x322d41=_0x3617db[_0xa5a106(0x121)]??_0x3617db[_0xa5a106(0x3e7)]??this[_0xa5a106(0x292)](),_0x11b9e6={..._0x3617db,'createdBy':_0x3617db['createdBy']??_0x322d41,'updatedBy':_0x3617db['updatedBy']??_0x322d41,'values':{..._0x3617db[_0xa5a106(0x10a)]}};return _0x11b9e6[_0xa5a106(0x10a)][_0x9b4f24[_0xa5a106(0x2c4)]]=_0x11b9e6['id'],_0x52d68b[_0xa5a106(0x30b)][_0xa5a106(0x49e)](_0x2f0906=>{const _0x87e3da=_0xa5a106;let _0x3b8e07=_0x52d68b['fields'][_0x2f0906];if(!(!_0x3b8e07||_0x11b9e6['values'][_0x2f0906]!==void 0x0))switch(_0x3b8e07[_0x87e3da(0x132)]){case _0x9b4f24[_0x87e3da(0x3bc)][_0x87e3da(0x166)]:var _0x2f4c6d;_0x11b9e6[_0x87e3da(0x10a)][_0x2f0906]=((_0x2f4c6d=_0x20a603[_0x87e3da(0x3e9)](_0x2f0906))==null?void 0x0:_0x2f4c6d())??this[_0x87e3da(0xf3)](_0x52d68b,_0x2f0906)();break;case _0x9b4f24['BaseFieldType']['CreatedBy']:_0x11b9e6[_0x87e3da(0x121)]&&(_0x11b9e6[_0x87e3da(0x10a)][_0x2f0906]=_0x11b9e6['createdBy']);break;case _0x9b4f24[_0x87e3da(0x3bc)]['UpdatedBy']:_0x11b9e6[_0x87e3da(0x3e7)]&&(_0x11b9e6[_0x87e3da(0x10a)][_0x2f0906]=_0x11b9e6[_0x87e3da(0x3e7)]);break;case _0x9b4f24[_0x87e3da(0x3bc)][_0x87e3da(0x346)]:_0x11b9e6[_0x87e3da(0x10a)][_0x2f0906]=_0x5f1ca7(_0x11b9e6[_0x87e3da(0x14f)]);break;case _0x9b4f24['BaseFieldType'][_0x87e3da(0x380)]:_0x11b9e6[_0x87e3da(0x10a)][_0x2f0906]=_0x5f1ca7(_0x11b9e6['updatedAt']);break;default:{let _0x42d6b2=_0x3b8e07['defaultValue'];_0x42d6b2!=null&&_0x42d6b2!==''&&!(Array[_0x87e3da(0x32e)](_0x42d6b2)&&_0x42d6b2[_0x87e3da(0x13b)]===0x0)&&(_0x11b9e6[_0x87e3da(0x10a)][_0x2f0906]=_0x42d6b2);}}}),_0x11b9e6;}[_0x164ecf(0x1ca)](_0x54326b,_0x5b79e4,_0x4038dd,_0x3e0dc3){const _0x5db039=_0x164ecf;var _0x593a3a,_0x36c95c;let _0x5750d6=_0x54326b[_0x5db039(0x4cb)][_0x5b79e4],_0x50a63f=((_0x593a3a=(_0x36c95c=this['_runtimeContext'])[_0x5db039(0x1e5)])==null?void 0x0:_0x593a3a['call'](_0x36c95c))??Date[_0x5db039(0x1e5)](),_0x5258c8=this[_0x5db039(0x292)](),_0x2aafa5={..._0x3e0dc3};return _0x5750d6[_0x5db039(0x30b)][_0x5db039(0x49e)](_0x2688f4=>{const _0x31b40f=_0x5db039;let _0xe90b65=_0x5750d6[_0x31b40f(0x43b)][_0x2688f4];_0xe90b65&&(_0xe90b65[_0x31b40f(0x132)]===_0x9b4f24['BaseFieldType']['UpdatedAt']&&(_0x2aafa5[_0x2688f4]=_0x5f1ca7(_0x50a63f)),_0xe90b65[_0x31b40f(0x132)]===_0x9b4f24['BaseFieldType'][_0x31b40f(0x2d8)]&&_0x5258c8&&(_0x2aafa5[_0x2688f4]=_0x5258c8));}),{'recordId':_0x4038dd,'values':_0x2aafa5,'recordPatch':{'updatedAt':_0x50a63f,..._0x5258c8?{'updatedBy':_0x5258c8}:{}}};}['_createSystemFieldValuePatches'](_0x1b2c16,_0x289a42,_0x3628ea){const _0x57e1a6=_0x164ecf;let _0x17633e=_0x1b2c16[_0x57e1a6(0x4cb)][_0x289a42];return!_0x17633e||!_0x50982c(_0x3628ea)?[]:_0x3628ea[_0x57e1a6(0x132)]===_0x9b4f24['BaseFieldType'][_0x57e1a6(0x166)]?this[_0x57e1a6(0x1d5)](_0x17633e,_0x3628ea['id']):Object[_0x57e1a6(0x10a)](_0x17633e['records'])['flatMap'](_0x5b0a2a=>{const _0x434d14=_0x57e1a6;let _0x33c316=this[_0x434d14(0x4b0)](_0x3628ea,_0x5b0a2a);return _0x33c316===void 0x0?[]:[{'recordId':_0x5b0a2a['id'],'values':{[_0x3628ea['id']]:_0x33c316}}];});}[_0x164ecf(0x4b0)](_0x2243b8,_0x312bbf){const _0x4e3d73=_0x164ecf;switch(_0x2243b8[_0x4e3d73(0x132)]){case _0x9b4f24[_0x4e3d73(0x3bc)][_0x4e3d73(0x177)]:return _0x312bbf[_0x4e3d73(0x121)]??this[_0x4e3d73(0x292)]();case _0x9b4f24['BaseFieldType'][_0x4e3d73(0x2d8)]:return _0x312bbf[_0x4e3d73(0x3e7)]??this[_0x4e3d73(0x292)]();case _0x9b4f24['BaseFieldType'][_0x4e3d73(0x346)]:return _0x5f1ca7(_0x312bbf[_0x4e3d73(0x14f)]??Date['now']());case _0x9b4f24[_0x4e3d73(0x3bc)][_0x4e3d73(0x380)]:return _0x5f1ca7(_0x312bbf['updatedAt']??Date[_0x4e3d73(0x1e5)]());default:return;}}['_createNumberingAllocators'](_0x395c43){const _0x44b0a1=_0x164ecf;let _0x3ca7af=new Map();return _0x395c43&&_0x395c43[_0x44b0a1(0x30b)][_0x44b0a1(0x49e)](_0x188238=>{const _0x53b2d7=_0x44b0a1;let _0x515663=_0x395c43['fields'][_0x188238];(_0x515663==null?void 0x0:_0x515663['type'])===_0x9b4f24[_0x53b2d7(0x3bc)][_0x53b2d7(0x166)]&&_0x3ca7af[_0x53b2d7(0x25a)](_0x188238,this['_createNumberingAllocator'](_0x395c43,_0x188238));}),_0x3ca7af;}[_0x164ecf(0xf3)](_0x2ba9f0,_0x511fae){const _0x5e68f6=_0x164ecf;let _0x426695=Object[_0x5e68f6(0x10a)](_0x2ba9f0[_0x5e68f6(0x312)])['reduce']((_0x839de1,_0x56c945)=>{const _0x2535e3=_0x5e68f6;let _0x28d912=Number(_0x56c945[_0x2535e3(0x10a)][_0x511fae]);return Number[_0x2535e3(0x4a1)](_0x28d912)?Math['max'](_0x839de1,_0x28d912):_0x839de1;},0x0);return()=>String(++_0x426695);}[_0x164ecf(0x1d5)](_0xe452d6,_0x24ce95){const _0x13681a=_0x164ecf;let _0x2bde6f=this[_0x13681a(0x1fd)](_0xe452d6),_0x39308e=this['_createNumberingAllocator'](_0xe452d6,_0x24ce95);return _0x2bde6f[_0x13681a(0x17e)](_0x332b10=>this[_0x13681a(0x30f)](_0x332b10[_0x13681a(0x10a)][_0x24ce95])?[]:[{'recordId':_0x332b10['id'],'values':{[_0x24ce95]:_0x39308e()}}]);}['_getOrderedRecords'](_0x1d577a){const _0x18eab6=_0x164ecf;var _0x3535e2;let _0x73160f=Object['values'](_0x1d577a['records']),_0x2a4a8c=new Map(_0x73160f[_0x18eab6(0x2a7)](_0x33c5b5=>[_0x33c5b5['id'],_0x33c5b5])),_0xd24525=[],_0x4bc134=new Set();(_0x3535e2=_0x1d577a[_0x18eab6(0x411)])==null||_0x3535e2[_0x18eab6(0x49e)](_0x43448e=>{const _0x11993c=_0x18eab6;let _0x2d9346=_0x2a4a8c[_0x11993c(0x3e9)](_0x43448e);_0x2d9346&&(_0xd24525['push'](_0x2d9346),_0x4bc134[_0x11993c(0x134)](_0x43448e));});let _0x2c9a05=_0x73160f['filter'](_0x21ddc=>!_0x4bc134[_0x18eab6(0x1df)](_0x21ddc['id']))[_0x18eab6(0x281)]((_0x47f912,_0x3aa702)=>String(_0x47f912['orderKey']??_0x47f912['id'])['localeCompare'](String(_0x3aa702[_0x18eab6(0x1ac)]??_0x3aa702['id']))||_0x47f912['id'][_0x18eab6(0x2c6)](_0x3aa702['id']));return[..._0xd24525,..._0x2c9a05];}[_0x164ecf(0x30f)](_0x1cf284){const _0x195f07=_0x164ecf;return _0x1cf284!=null&&_0x1cf284!==''&&!(Array[_0x195f07(0x32e)](_0x1cf284)&&_0x1cf284[_0x195f07(0x13b)]===0x0);}[_0x164ecf(0x292)](){const _0x24476d=_0x164ecf;var _0x100493,_0x2c8c33,_0x168a46,_0x3ecb76;return((_0x100493=(_0x2c8c33=this['_runtimeContext'])[_0x24476d(0x1b6)])==null?void 0x0:_0x100493['call'](_0x2c8c33))??((_0x168a46=(_0x3ecb76=this[_0x24476d(0x2c0)])[_0x24476d(0x42e)])==null||(_0x168a46=_0x168a46['call'](_0x3ecb76))==null?void 0x0:_0x168a46[_0x24476d(0x473)])??void 0x0;}[_0x164ecf(0x269)](_0x99111c,_0x5597ac,_0x59fb0c,_0x5db2ad,_0x5b2d58){const _0x52728d=_0x164ecf;var _0x36b1fb;if(!this[_0x52728d(0x1cd)][_0x52728d(0x399)](_0x5597ac,_0x59fb0c,_0x5db2ad))throw Error(_0x52728d(0x12d));let _0xfccd2c=(_0x36b1fb=_0x99111c[_0x52728d(0x4cb)][_0x5597ac])==null?void 0x0:_0x36b1fb['fields'][_0x5db2ad];if(!_0xfccd2c)throw Error(_0x52728d(0x31b)+_0x5db2ad+_0x52728d(0x21a));let _0x5850b9=this[_0x52728d(0x47e)]['get'](_0xfccd2c[_0x52728d(0x132)]);if(_0xfccd2c[_0x52728d(0x462)]||_0xfccd2c[_0x52728d(0x187)]||!_0x5850b9['getCapabilities'](_0xfccd2c)[_0x52728d(0x3dd)])throw Error(_0x52728d(0x24b));let _0x45409d=_0x5850b9[_0x52728d(0x471)](_0x5b2d58,_0xfccd2c),_0x9cbeae=_0x5850b9['validate'](_0x45409d,_0xfccd2c);if(!_0x9cbeae[_0x52728d(0x1ae)])throw Error(_0x9cbeae[_0x52728d(0x167)]??_0x52728d(0x3a3));let _0x44fbd1=_0xfccd2c[_0x52728d(0x132)]===_0x9b4f24[_0x52728d(0x3bc)][_0x52728d(0x226)]?_0x4cc18c(_0x99111c,_0xfccd2c,_0x45409d):{'valid':!0x0};if(!_0x44fbd1[_0x52728d(0x1ae)])throw Error(_0x44fbd1[_0x52728d(0x167)]??_0x52728d(0x397));return _0x45409d;}[_0x164ecf(0xf6)](_0x35c21a,_0x2dc723){const _0x2dc419=_0x164ecf;if(_0x2dc723['id']===_0x9b4f24[_0x2dc419(0x2c4)]||_0x2dc723[_0x2dc419(0x132)]===_0x9b4f24['BaseFieldType'][_0x2dc419(0x111)]||(0x0,_0x9b4f24[_0x2dc419(0x450)])(_0x2dc723[_0x2dc419(0x267)]))throw Error(_0x2dc419(0x405));let _0x185b3d=_0x13d5f8(_0x35c21a,_0x2dc723);if(!_0x185b3d[_0x2dc419(0x1ae)])throw Error(_0x185b3d[_0x2dc419(0x167)]??_0x2dc419(0x477));}};_0x32a405=_0x12cf0c([_0x891af9(0x0,_0x2bc2dc),_0x891af9(0x1,_0x258447)],_0x32a405);function _0x56b3e8(){const _0x1898dd=_0x164ecf;let _0x168839=new _0x111b3e();return _0x4b43b7()[_0x1898dd(0x49e)](_0x350283=>_0x168839[_0x1898dd(0x39f)](_0x350283)),_0x168839;}function _0x50982c(_0x1e8982){const _0x5207c2=_0x164ecf;return _0x1e8982['type']===_0x9b4f24[_0x5207c2(0x3bc)][_0x5207c2(0x166)]||_0x1e8982[_0x5207c2(0x132)]===_0x9b4f24[_0x5207c2(0x3bc)][_0x5207c2(0x177)]||_0x1e8982['type']===_0x9b4f24[_0x5207c2(0x3bc)][_0x5207c2(0x2d8)]||_0x1e8982[_0x5207c2(0x132)]===_0x9b4f24[_0x5207c2(0x3bc)][_0x5207c2(0x346)]||_0x1e8982[_0x5207c2(0x132)]===_0x9b4f24[_0x5207c2(0x3bc)][_0x5207c2(0x380)];}let _0x225044=new Set([_0x9b4f24['BaseFieldType'][_0x164ecf(0x327)],_0x9b4f24[_0x164ecf(0x3bc)][_0x164ecf(0x38c)],_0x9b4f24[_0x164ecf(0x3bc)][_0x164ecf(0x1f2)]]);function _0x4426cd(_0x49fdaa){const _0x218640=_0x164ecf;let _0x6932a7=_0x49fdaa[_0x218640(0x43b)][_0x49fdaa['primaryFieldId']];if(!(_0x6932a7&&(_0x6932a7[_0x218640(0x187)]===!0x0||_0x6932a7['id'][_0x218640(0x3b3)]()==='id'||_0x6932a7['name'][_0x218640(0x276)]()[_0x218640(0x3b3)]()==='id'))&&_0x6932a7)return _0x6932a7['id'];for(let _0x2e4d19 of _0x49fdaa['fieldOrder']){let _0x5c8545=_0x49fdaa['fields'][_0x2e4d19];if(_0x5c8545&&_0x5c8545['id']!==_0x49fdaa[_0x218640(0x302)]&&_0x5c8545['system']!==!0x0&&_0x5c8545[_0x218640(0x132)]!==_0x9b4f24[_0x218640(0x3bc)][_0x218640(0x111)])return _0x5c8545['id'];}return _0x49fdaa[_0x218640(0x302)];}function _0x21728b(_0x14cdb0,_0x485eed=[],_0x2bcc5e=0x5){const _0x124c18=_0x164ecf;let _0x1bda58=new Set(_0x485eed[_0x124c18(0x41f)](_0x300ea4=>!!_0x300ea4)),_0x3e39e2=[],_0x2f0b33=[];for(let _0x40d4ed of _0x14cdb0[_0x124c18(0x30b)]){let _0x2fc909=_0x14cdb0[_0x124c18(0x43b)][_0x40d4ed];_0x2fc909&&_0x2fc909[_0x124c18(0x187)]!==!0x0&&_0x2fc909[_0x124c18(0x132)]!==_0x9b4f24[_0x124c18(0x3bc)][_0x124c18(0x111)]&&!_0x1bda58[_0x124c18(0x1df)](_0x2fc909['id'])&&(_0x225044['has'](_0x2fc909['type'])?_0x3e39e2:_0x2f0b33)[_0x124c18(0x4bf)](_0x2fc909['id']);}return[..._0x3e39e2,..._0x2f0b33][_0x124c18(0x475)](0x0,_0x2bcc5e);}function _0x2c9e99(){const _0x306778=_0x164ecf;return[{'type':_0x9b4f24[_0x306778(0x4c3)][_0x306778(0xfc)],'i18nKey':_0x306778(0x445),'createDefaultConfig':()=>({}),'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{const _0x2dbfba=_0x306778;throw Error(_0x2dbfba(0x361));}},{'type':_0x9b4f24[_0x306778(0x4c3)]['Kanban'],'i18nKey':_0x306778(0x469),'createDefaultConfig':_0x57e5b5=>{const _0x1cf156=_0x306778;let _0x565d77=_0x3a276e(_0x57e5b5);return{'groupFieldId':_0x565d77,'coverFieldId':null,'cardLayout':_0x1cf156(0x394),'showFieldNames':!0x0,'fieldSettings':{},'columnSettings':{},'card':{'titleFieldId':_0x57e5b5[_0x1cf156(0x302)],'fieldIds':_0x21728b(_0x57e5b5,[_0x57e5b5['primaryFieldId'],_0x565d77])}};},'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{throw Error('Kanban\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.');}},{'type':_0x9b4f24[_0x306778(0x4c3)]['Calendar'],'i18nKey':_0x306778(0x1af),'createDefaultConfig':_0x5bda48=>{const _0x3a03b5=_0x306778;let _0x48b256=_0x4c03cd(_0x5bda48);return{'startDateFieldId':_0x48b256,'endDateFieldId':_0x42f768(_0x5bda48,_0x48b256),'titleFieldId':_0x5bda48[_0x3a03b5(0x302)],'mode':_0x3a03b5(0x486),'timeslotSize':_0x3a03b5(0x14c),'timeZone':_0x3a03b5(0x107),'displayColor':{'type':_0x3a03b5(0x45f),'color':'#3b82f6'},'fieldSettings':{}};},'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{const _0xfe49de=_0x306778;throw Error(_0xfe49de(0x4a6));}},{'type':_0x9b4f24['BaseViewType'][_0x306778(0x2ae)],'i18nKey':'base.viewType.gantt','createDefaultConfig':_0x1ae83c=>{const _0x20b155=_0x306778;let _0x2ec985=_0x4c03cd(_0x1ae83c);return{'startDateFieldId':_0x2ec985,'endDateFieldId':_0x42f768(_0x1ae83c,_0x2ec985)??_0x2ec985,'titleFieldId':_0x1ae83c[_0x20b155(0x302)],'scale':_0x20b155(0x486),'showTodayLine':!0x0,'displayColor':{'type':_0x20b155(0x45f),'color':'#14b8a6'},'fieldSettings':{},'workingDaysOnly':!0x1};},'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{throw Error('Gantt\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.');}},{'type':_0x9b4f24[_0x306778(0x4c3)][_0x306778(0x3fc)],'i18nKey':_0x306778(0x330),'createDefaultConfig':_0x468d86=>{const _0x3334b7=_0x306778;let _0x4c68c3=_0x4426cd(_0x468d86);return{'coverFieldId':null,'cardLayout':'normal','showFieldNames':!0x0,'fieldSettings':{},'card':{'titleFieldId':_0x4c68c3,'coverFieldId':null,'fieldIds':_0x21728b(_0x468d86,[_0x4c68c3,_0x468d86[_0x3334b7(0x302)]])},'cardSize':_0x3334b7(0x14c)};},'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{const _0x429243=_0x306778;throw Error(_0x429243(0x437));}}];}function _0x3a276e(_0x3b4065){const _0x385c14=_0x164ecf;var _0x56e105,_0x5bf812,_0x434258;let _0x1cd1ab=_0x3b4065['fieldOrder'][_0x385c14(0x2a7)](_0x7bed7d=>_0x3b4065[_0x385c14(0x43b)][_0x7bed7d])[_0x385c14(0x41f)](_0x195cbd=>!!_0x195cbd);return((_0x56e105=_0x1cd1ab[_0x385c14(0x396)](_0x51415=>_0x51415[_0x385c14(0x132)]===_0x9b4f24[_0x385c14(0x3bc)][_0x385c14(0x378)]||_0x51415[_0x385c14(0x132)]===_0x9b4f24[_0x385c14(0x3bc)]['MultiSelect']||_0x51415[_0x385c14(0x132)]===_0x9b4f24[_0x385c14(0x3bc)][_0x385c14(0x101)]))==null?void 0x0:_0x56e105['id'])??((_0x5bf812=_0x1cd1ab[_0x385c14(0x396)](_0x3e5698=>_0x3e5698['type']===_0x9b4f24['BaseFieldType'][_0x385c14(0x10b)]))==null?void 0x0:_0x5bf812['id'])??((_0x434258=_0x1cd1ab[_0x385c14(0x396)](_0x1476a4=>_0x1476a4[_0x385c14(0x132)]===_0x9b4f24[_0x385c14(0x3bc)][_0x385c14(0x442)]||_0x1476a4[_0x385c14(0x132)]===_0x9b4f24[_0x385c14(0x3bc)][_0x385c14(0x346)]||_0x1476a4[_0x385c14(0x132)]===_0x9b4f24[_0x385c14(0x3bc)][_0x385c14(0x380)]))==null?void 0x0:_0x434258['id'])??_0x3b4065[_0x385c14(0x302)];}function _0x4c03cd(_0x435be0){const _0x394a95=_0x164ecf;var _0x1a9145;return((_0x1a9145=_0x435be0['fieldOrder'][_0x394a95(0x2a7)](_0xbdabae=>_0x435be0[_0x394a95(0x43b)][_0xbdabae])['find'](_0x28fa37))==null?void 0x0:_0x1a9145['id'])??'';}function _0x42f768(_0x2551cd,_0x4bf249){const _0x53d913=_0x164ecf;var _0x54deb6;return(_0x54deb6=_0x2551cd['fieldOrder'][_0x53d913(0x2a7)](_0x5715bf=>_0x2551cd[_0x53d913(0x43b)][_0x5715bf])[_0x53d913(0x396)](_0x5f4268=>_0x28fa37(_0x5f4268)&&_0x5f4268['id']!==_0x4bf249))==null?void 0x0:_0x54deb6['id'];}function _0x28fa37(_0x567f94){const _0x428387=_0x164ecf;return!!_0x567f94&&_0x567f94[_0x428387(0x132)]===_0x9b4f24['BaseFieldType']['Date']&&_0x567f94['readonly']!==!0x0&&_0x567f94['system']!==!0x0;}let _0x369d05=(0x0,_0x9b4f24[_0x164ecf(0x206)])('base.projection.service'),_0x145cf2=new Set([_0x9b4f24['BaseFieldType'][_0x164ecf(0x44e)],_0x9b4f24[_0x164ecf(0x3bc)][_0x164ecf(0x2fe)],_0x9b4f24[_0x164ecf(0x3bc)][_0x164ecf(0x327)],_0x9b4f24[_0x164ecf(0x3bc)][_0x164ecf(0x38c)],_0x9b4f24[_0x164ecf(0x3bc)]['Date'],_0x9b4f24['BaseFieldType']['CreatedAt'],_0x9b4f24['BaseFieldType'][_0x164ecf(0x380)],_0x9b4f24[_0x164ecf(0x3bc)][_0x164ecf(0x1f2)]]),_0x419b34=class extends _0x9b4f24[_0x164ecf(0x2b0)]{constructor(_0xb770a8){const _0x3cbe37=_0x164ecf;super(),this[_0x3cbe37(0x47e)]=_0xb770a8,_0x1fa697(this,_0x3cbe37(0x2f5),new Map()),_0x1fa697(this,_0x3cbe37(0x1c8),new WeakMap()),_0x1fa697(this,'_projectedRowsCache',new Map()),_0x1fa697(this,_0x3cbe37(0x198),new Map()),_0x1fa697(this,_0x3cbe37(0x27c),new Map()),_0x1fa697(this,_0x3cbe37(0x298),new Map()),_0x1fa697(this,_0x3cbe37(0x29e),0x0),_0x1fa697(this,_0x3cbe37(0x46f),new Map()),_0x1fa697(this,_0x3cbe37(0x4bc),new Map()),_0x1fa697(this,_0x3cbe37(0x1e9),new Map()),_0x1fa697(this,_0x3cbe37(0x38b),new Map());}[_0x164ecf(0x441)](_0x481a99){const _0x25c3c0=_0x164ecf;return this[_0x25c3c0(0x2f5)]['set'](_0x481a99['type'],_0x481a99),(0x0,_0x9b4f24[_0x25c3c0(0x17d)])(()=>this[_0x25c3c0(0x2f5)][_0x25c3c0(0x2c7)](_0x481a99[_0x25c3c0(0x132)]));}['getProjection'](_0x377496,_0x387ac0,_0x56d9b5){const _0xdfedb3=_0x164ecf;var _0x17dd50,_0x43ce77,_0x1e83a6;return _0x3022ee(_0xdfedb3(0x26f),()=>{const _0x5d7ac0=_0xdfedb3;let _0x3b6226=this[_0x5d7ac0(0x4a0)](_0x377496,_0x387ac0,_0x56d9b5);if(_0x3b6226)return _0x3b6226;let _0x572b98=_0x377496[_0x5d7ac0(0x4cb)][_0x387ac0],_0x289559=_0x572b98==null?void 0x0:_0x572b98[_0x5d7ac0(0x339)][_0x56d9b5];if(!_0x572b98||!_0x289559)return this[_0x5d7ac0(0x115)](_0x377496,_0x387ac0,_0x56d9b5,{'type':_0x5d7ac0(0x422),'viewType':(_0x289559==null?void 0x0:_0x289559[_0x5d7ac0(0x132)])??_0x9b4f24['BaseViewType'][_0x5d7ac0(0xfc)],'reason':_0x5d7ac0(0x4a7)});let _0x4d1537;switch(_0x289559[_0x5d7ac0(0x132)]){case _0x9b4f24[_0x5d7ac0(0x4c3)][_0x5d7ac0(0xfc)]:_0x4d1537=this[_0x5d7ac0(0x448)](_0x572b98,_0x289559);break;case _0x9b4f24[_0x5d7ac0(0x4c3)][_0x5d7ac0(0x2ae)]:_0x4d1537=this['_buildGantt'](_0x572b98,_0x289559);break;case _0x9b4f24[_0x5d7ac0(0x4c3)][_0x5d7ac0(0x345)]:_0x4d1537=this['_buildKanban'](_0x572b98,_0x289559);break;case _0x9b4f24['BaseViewType']['Calendar']:_0x4d1537=this[_0x5d7ac0(0x264)](_0x572b98,_0x289559);break;case _0x9b4f24[_0x5d7ac0(0x4c3)][_0x5d7ac0(0x3fc)]:_0x4d1537=this[_0x5d7ac0(0x2e7)](_0x572b98,_0x289559);break;default:_0x4d1537={'type':_0x5d7ac0(0x422),'viewType':_0x289559[_0x5d7ac0(0x132)],'reason':'missingField'};}return this[_0x5d7ac0(0x115)](_0x377496,_0x387ac0,_0x56d9b5,_0x4d1537);},{'tableId':_0x387ac0,'viewId':_0x56d9b5,'viewType':(_0x17dd50=_0x377496[_0xdfedb3(0x4cb)][_0x387ac0])==null||(_0x17dd50=_0x17dd50[_0xdfedb3(0x339)][_0x56d9b5])==null?void 0x0:_0x17dd50[_0xdfedb3(0x132)],'records':((_0x43ce77=_0x377496[_0xdfedb3(0x4cb)][_0x387ac0])==null||(_0x43ce77=_0x43ce77[_0xdfedb3(0x411)])==null?void 0x0:_0x43ce77[_0xdfedb3(0x13b)])??Object[_0xdfedb3(0x1fe)](((_0x1e83a6=_0x377496[_0xdfedb3(0x4cb)][_0x387ac0])==null?void 0x0:_0x1e83a6[_0xdfedb3(0x312)])??{})['length']});}[_0x164ecf(0x429)](_0x4ab0d3,_0x5058f2,_0xed7a3d){const _0x334e5f=_0x164ecf;var _0x142d39,_0x372e6a,_0x3cfbfb;let _0x1d9c25=_0x4ab0d3[_0x334e5f(0x4cb)][_0x5058f2],_0x5a95db=_0x1d9c25==null?void 0x0:_0x1d9c25[_0x334e5f(0x339)][_0xed7a3d];if(!_0x1d9c25||!_0x5a95db)throw Error('[BaseProjectionService]:\x20missing\x20view\x20\x22'+_0xed7a3d+'\x22.');let _0x56c8bf=_0x31cae8=>!!_0x1d9c25[_0x334e5f(0x43b)][_0x31cae8],_0x39fcde={..._0x5a95db,'filter':_0x5a95db['filter']?{..._0x5a95db[_0x334e5f(0x41f)],'conditions':_0x5a95db['filter'][_0x334e5f(0x2e0)][_0x334e5f(0x41f)](_0x5baff8=>_0x56c8bf(_0x5baff8[_0x334e5f(0x195)]))}:_0x5a95db[_0x334e5f(0x41f)],'sort':(_0x142d39=_0x5a95db[_0x334e5f(0x281)])==null?void 0x0:_0x142d39['filter'](_0x2b45d0=>_0x56c8bf(_0x2b45d0[_0x334e5f(0x195)])),'group':(_0x372e6a=_0x5a95db[_0x334e5f(0x332)])==null?void 0x0:_0x372e6a[_0x334e5f(0x41f)](_0x25f31e=>_0x56c8bf(_0x25f31e[_0x334e5f(0x195)])),'fieldOrder':(_0x3cfbfb=_0x5a95db[_0x334e5f(0x30b)])==null?void 0x0:_0x3cfbfb[_0x334e5f(0x41f)](_0x56c8bf),'fieldSettings':Object['fromEntries'](Object[_0x334e5f(0x489)](_0x5a95db[_0x334e5f(0x156)]??{})[_0x334e5f(0x41f)](([_0x1bdb7d])=>_0x56c8bf(_0x1bdb7d)))};if(_0x39fcde['type']===_0x334e5f(0x3d7)){var _0x32b14d;let _0x1f2e2a=_0x39fcde[_0x334e5f(0x19f)]??{},_0x18c707=this[_0x334e5f(0x1d2)](_0x1d9c25,_0x39fcde),_0x236f94=this['_resolveCardTitleFieldId'](_0x1d9c25,(_0x32b14d=_0x1f2e2a[_0x334e5f(0x218)])==null?void 0x0:_0x32b14d['titleFieldId']);_0x39fcde[_0x334e5f(0x19f)]={..._0x1f2e2a,'groupFieldId':_0x18c707??_0x1f2e2a[_0x334e5f(0x370)],'coverFieldId':this[_0x334e5f(0x140)](_0x1d9c25,_0x1f2e2a),'cardLayout':_0x1f2e2a[_0x334e5f(0x271)]===_0x334e5f(0x17f)?_0x334e5f(0x17f):_0x334e5f(0x394),'showFieldNames':_0x1f2e2a[_0x334e5f(0x425)]!==!0x1,'fieldSettings':Object['fromEntries'](Object[_0x334e5f(0x489)](_0x1f2e2a[_0x334e5f(0x156)]??{})[_0x334e5f(0x41f)](([_0x29e2a1])=>_0x56c8bf(_0x29e2a1))),'columnSettings':_0x1f2e2a[_0x334e5f(0x324)]??{},'card':{..._0x1f2e2a['card']??{},'titleFieldId':_0x236f94,'fieldIds':this['_resolveKanbanCardFieldIds'](_0x1d9c25,_0x39fcde,_0x18c707??'',_0x236f94)}};}return{'repaired':JSON['stringify'](_0x39fcde)!==JSON['stringify'](_0x5a95db),'view':_0x39fcde};}[_0x164ecf(0x36f)](){this['_globalRevision']++;}[_0x164ecf(0x141)](_0x3798e1,_0x292a96,_0x333c9a){const _0x1d7845=_0x164ecf;let _0x2a5067=this[_0x1d7845(0x3c3)](_0x3798e1)+0x1;this[_0x1d7845(0x4bc)][_0x1d7845(0x25a)](_0x3798e1,_0x2a5067);let _0x16c59f=this[_0x1d7845(0x1e9)][_0x1d7845(0x3e9)](_0x3798e1)??[];_0x16c59f['push']({'revision':_0x2a5067,'recordId':_0x292a96,'fieldId':_0x333c9a}),this['_cellInvalidations'][_0x1d7845(0x25a)](_0x3798e1,_0x16c59f);}[_0x164ecf(0x1ef)](_0x17e02c,_0x10f2e9){const _0x40f473=_0x164ecf;this[_0x40f473(0x4a9)](_0x17e02c);}[_0x164ecf(0x29c)](_0x110548,_0x897f33){const _0x199daa=_0x164ecf;this[_0x199daa(0x38b)][_0x199daa(0x25a)](this[_0x199daa(0x47d)](_0x110548,_0x897f33),this[_0x199daa(0x1b7)](_0x110548,_0x897f33)+0x1);}[_0x164ecf(0x4a0)](_0x5b275d,_0x189e01,_0x4316b3){const _0x348305=_0x164ecf;var _0x28f3a0;let _0x35b9b7=(_0x28f3a0=this[_0x348305(0x1c8)][_0x348305(0x3e9)](_0x5b275d))==null?void 0x0:_0x28f3a0[_0x348305(0x3e9)](this[_0x348305(0x41b)](_0x189e01,_0x4316b3));return _0x35b9b7&&_0x35b9b7[_0x348305(0x1dc)]===this[_0x348305(0x29e)]&&_0x35b9b7[_0x348305(0x242)]===this[_0x348305(0x220)](_0x189e01)&&_0x35b9b7[_0x348305(0x344)]===this['_getCellRevision'](_0x189e01)&&_0x35b9b7[_0x348305(0x2ab)]===this[_0x348305(0x1b7)](_0x189e01,_0x4316b3)?_0x35b9b7[_0x348305(0x4b3)]:null;}[_0x164ecf(0x115)](_0x310f3c,_0x1b607c,_0x18c310,_0x31200a){const _0x5c5ab4=_0x164ecf;let _0x2b7686=this['_projectionCache'][_0x5c5ab4(0x3e9)](_0x310f3c);return _0x2b7686||(_0x2b7686=new Map(),this['_projectionCache'][_0x5c5ab4(0x25a)](_0x310f3c,_0x2b7686)),_0x2b7686[_0x5c5ab4(0x25a)](this['_cacheKey'](_0x1b607c,_0x18c310),{'projection':_0x31200a,'globalRevision':this[_0x5c5ab4(0x29e)],'tableRevision':this['_getTableRevision'](_0x1b607c),'cellRevision':this[_0x5c5ab4(0x3c3)](_0x1b607c),'viewRevision':this['_getViewRevision'](_0x1b607c,_0x18c310)}),_0x31200a;}['_bumpTableRevision'](_0xcaf1ee){const _0x2158de=_0x164ecf;this[_0x2158de(0x46f)]['set'](_0xcaf1ee,this[_0x2158de(0x220)](_0xcaf1ee)+0x1);}[_0x164ecf(0x220)](_0x4e9965){const _0x50ac5e=_0x164ecf;return this[_0x50ac5e(0x46f)][_0x50ac5e(0x3e9)](_0x4e9965)??0x0;}[_0x164ecf(0x3c3)](_0x930ab6){const _0x6c9d31=_0x164ecf;return this[_0x6c9d31(0x4bc)][_0x6c9d31(0x3e9)](_0x930ab6)??0x0;}[_0x164ecf(0x1b7)](_0x13fd62,_0x1cd74b){return this['_viewRevisions']['get'](this['_viewRevisionKey'](_0x13fd62,_0x1cd74b))??0x0;}[_0x164ecf(0x41b)](_0x116d6a,_0x23cb5f){return _0x116d6a+'\x00'+_0x23cb5f;}['_viewRowsCacheKey'](_0x432029,_0x4cd7fb){const _0x18b528=_0x164ecf;return _0x432029+'\x00'+this[_0x18b528(0x2cc)](_0x4cd7fb);}['_groupsCacheKey'](_0x4cc6b0,_0x59014c,_0x35cc66){const _0x126550=_0x164ecf;return _0x4cc6b0+'\x00'+this[_0x126550(0x2cc)](_0x59014c)+'\x00'+this[_0x126550(0x24a)](_0x35cc66);}[_0x164ecf(0x2cc)](_0x1bee6b){const _0x5eb8e2=_0x164ecf;return _0x1bee6b?_0x30cfcf({'filter':_0x28c2ce(_0x1bee6b['filter']),'sort':_0x4b6acf(_0x1bee6b[_0x5eb8e2(0x281)])}):_0x5eb8e2(0x2e3);}[_0x164ecf(0x24a)](_0x56470){const _0x40da26=_0x164ecf;return _0x30cfcf(_0x56470['map'](_0x850adb=>({'fieldId':_0x850adb[_0x40da26(0x195)],'direction':_0x850adb[_0x40da26(0x366)]??null})));}[_0x164ecf(0x47d)](_0x48f2b9,_0x451cd4){return _0x48f2b9+'\x00'+_0x451cd4;}['_buildGrid'](_0x591b4e,_0x292214){const _0x233554=_0x164ecf;var _0x572fd1;let _0x5e9d32=_0x2e350d(_0x591b4e),_0x5be030=this[_0x233554(0x382)](_0x591b4e,_0x292214),_0x2d91d8=(_0x572fd1=_0x292214['filter'])!=null&&_0x572fd1[_0x233554(0x2e0)][_0x233554(0x13b)]?this[_0x233554(0x382)](_0x591b4e,{..._0x292214,'filter':null}):_0x5be030,_0x1b7065=_0x2eda9a(this[_0x233554(0x1b1)](_0x591b4e,_0x5e9d32,_0x292214['id'],_0x2d91d8[_0x233554(0x2a7)](_0xadcf58=>_0xadcf58[_0x233554(0x1d9)])),_0x2d91d8,new Set(_0x5be030['map'](_0x3d3aed=>_0x3d3aed[_0x233554(0x1d9)])));return{'type':_0x9b4f24['BaseViewType']['Grid'],'fields':this[_0x233554(0x38d)](_0x591b4e,_0x292214),'rows':_0x1b7065['rows'],'groups':this['_projectHierarchyGroups'](_0x591b4e,_0x292214,_0x1b7065['rows'],_0x1b7065[_0x233554(0x13e)]),'hierarchy':_0x1b7065[_0x233554(0x13e)],'frozenFieldCount':typeof _0x292214['config'][_0x233554(0x2db)]==_0x233554(0x1a8)?_0x292214[_0x233554(0x19f)]['frozenFieldCount']:0x0};}[_0x164ecf(0x1b1)](_0x550197,_0x2fb7f2,_0x526938,_0x297bb2){const _0x17fa87=_0x164ecf;let _0x5e4d8b=_0x550197['id']+'\x00'+_0x2fb7f2+'\x00'+_0x526938,_0x5e5904=this[_0x17fa87(0x3c3)](_0x550197['id']),_0x666a72=this[_0x17fa87(0x298)][_0x17fa87(0x3e9)](_0x5e4d8b);if(_0x666a72&&_0x666a72[_0x17fa87(0x1dc)]===this[_0x17fa87(0x29e)]&&_0x666a72['tableRevision']===this[_0x17fa87(0x220)](_0x550197['id'])){if(_0x666a72[_0x17fa87(0x344)]===_0x5e5904&&_0x666a72[_0x17fa87(0xfe)]===_0x550197)return _0x666a72['index'];if(!this['_cellInvalidationsTouchFields'](_0x550197['id'],_0x666a72['cellRevision'],_0x5e5904,new Set([_0x2fb7f2])))return this[_0x17fa87(0x298)]['set'](_0x5e4d8b,{..._0x666a72,'table':_0x550197,'cellRevision':_0x5e5904}),_0x666a72[_0x17fa87(0x2d4)];}let _0x342de6=_0x32c245(_0x550197,_0x2fb7f2,_0x297bb2);return this[_0x17fa87(0x298)][_0x17fa87(0x25a)](_0x5e4d8b,{'table':_0x550197,'index':_0x342de6,'globalRevision':this[_0x17fa87(0x29e)],'tableRevision':this[_0x17fa87(0x220)](_0x550197['id']),'cellRevision':_0x5e5904}),_0x342de6;}[_0x164ecf(0x496)](_0x5eecec,_0x7170be,_0x182332,_0x17805c){const _0x9b221f=_0x164ecf;var _0x16fc70;if(!((_0x16fc70=_0x7170be['group'])!=null&&_0x16fc70[_0x9b221f(0x13b)]))return[];let _0x7eb22a=new Map(_0x182332[_0x9b221f(0x2a7)](_0xd5c5a8=>[_0xd5c5a8[_0x9b221f(0x1d9)],_0xd5c5a8])),_0x1bafcf=_0x17805c[_0x9b221f(0x404)][_0x9b221f(0x17e)](_0x104573=>{const _0x1d4af6=_0x9b221f;let _0x3d725a=_0x7eb22a[_0x1d4af6(0x3e9)](_0x104573);return _0x3d725a?[_0x3d725a]:[];}),_0x93f47d=this[_0x9b221f(0x131)](_0x5eecec,_0x7170be,_0x1bafcf),_0x53fd41=new Map(_0x17805c[_0x9b221f(0x395)][_0x9b221f(0x2a7)]((_0x2bd358,_0x125066)=>[_0x2bd358,_0x125066])),_0x8116f7=_0x37b677=>{const _0x37f7da=_0x9b221f;let _0x3062ad=_0x17805c[_0x37f7da(0x3ec)][_0x37b677],_0x5ea767=_0x53fd41['get'](_0x37b677)??-0x1;return _0x5ea767<0x0||!_0x3062ad?[]:_0x17805c[_0x37f7da(0x395)]['slice'](_0x5ea767,_0x3062ad[_0x37f7da(0x18d)]+0x1);},_0x51b314=_0x2abff0=>{const _0x14d0a3=_0x9b221f;var _0x1432bb,_0x5996bb;return{..._0x2abff0,'recordIds':(_0x1432bb=_0x2abff0['children'])!=null&&_0x1432bb[_0x14d0a3(0x13b)]?_0x2abff0[_0x14d0a3(0x453)]:_0x2abff0[_0x14d0a3(0x453)][_0x14d0a3(0x17e)](_0x8116f7),'children':(_0x5996bb=_0x2abff0[_0x14d0a3(0x46d)])==null?void 0x0:_0x5996bb['map'](_0x51b314)};};return _0x93f47d[_0x9b221f(0x2a7)](_0x51b314);}[_0x164ecf(0x1c2)](_0x1805f7,_0x5c3f84){const _0xf9fec1=_0x164ecf;var _0x22c032;let _0x2e24a9=this[_0xf9fec1(0x1d2)](_0x1805f7,_0x5c3f84),_0x434157=_0x2e24a9?_0x1805f7['fields'][_0x2e24a9]:void 0x0;if(!_0x434157)return{'type':_0xf9fec1(0x422),'viewType':_0x9b4f24[_0xf9fec1(0x4c3)][_0xf9fec1(0x345)],'reason':_0xf9fec1(0x1ab),'fieldId':_0x5c3f84[_0xf9fec1(0x19f)]['groupFieldId']};let _0x1ab745=this[_0xf9fec1(0x382)](_0x1805f7,_0x5c3f84),_0x53660e=this[_0xf9fec1(0x38d)](_0x1805f7,_0x5c3f84),_0x55eae7=_0x5c3f84[_0xf9fec1(0x19f)]??{},_0x316005=this[_0xf9fec1(0x130)](_0x1805f7,(_0x22c032=_0x55eae7['card'])==null?void 0x0:_0x22c032['titleFieldId']),_0x5431e8=this[_0xf9fec1(0x19e)](_0x1805f7,_0x5c3f84,_0x434157['id'],_0x316005),_0x2e5369=new Map();if(_0x12230b(_0x1805f7,_0x434157['id'])){let _0x2bc0f1=this[_0xf9fec1(0x1b1)](_0x1805f7,_0x434157['id'],_0x5c3f84['id'],_0x1ab745[_0xf9fec1(0x2a7)](_0x806d8c=>_0x806d8c[_0xf9fec1(0x1d9)])),_0x492fb5=new Map();return _0x1ab745[_0xf9fec1(0x49e)](_0x2ac629=>{const _0x455d3b=_0xf9fec1;let _0x5c5c26=_0x2bc0f1[_0x455d3b(0x3ff)]['get'](_0x2ac629[_0x455d3b(0x1d9)])??null,_0x180af3=_0x5c5c26??'',_0x1f92f8=_0x5c5c26?_0x1805f7[_0x455d3b(0x312)][_0x5c5c26]:void 0x0,_0xbd3d22=_0x492fb5[_0x455d3b(0x3e9)](_0x180af3)??{'key':_0x180af3,'title':_0x1f92f8?String(_0x1b74a9(_0x1805f7,_0x1f92f8['id'],_0x1805f7[_0x455d3b(0x302)])??_0x5c5c26):this['_kanbanLaneTitle'](_0x434157,_0x180af3,_0x55eae7),'recordIds':[]};_0xbd3d22['recordIds'][_0x455d3b(0x4bf)](_0x2ac629[_0x455d3b(0x1d9)]),_0x492fb5[_0x455d3b(0x25a)](_0x180af3,_0xbd3d22);}),{'type':_0x9b4f24[_0xf9fec1(0x4c3)][_0xf9fec1(0x345)],'fields':_0x53660e,'rows':_0x1ab745,'groups':[],'groupFieldId':_0x434157['id'],'titleFieldId':_0x316005,'coverFieldId':this[_0xf9fec1(0x140)](_0x1805f7,_0x55eae7),'cardLayout':_0x55eae7[_0xf9fec1(0x271)]===_0xf9fec1(0x17f)?_0xf9fec1(0x17f):'normal','showFieldNames':_0x55eae7['showFieldNames']!==!0x1,'visibleCardFieldIds':_0x5431e8,'lanes':['',..._0x2bc0f1[_0xf9fec1(0x395)]][_0xf9fec1(0x17e)](_0x562b5d=>{const _0x3c4c00=_0xf9fec1;let _0x393870=_0x492fb5['get'](_0x562b5d);return _0x393870!=null&&_0x393870[_0x3c4c00(0x453)][_0x3c4c00(0x13b)]?[_0x393870]:[];})};}return this['_getKanbanConfiguredLanes'](_0x434157,_0x55eae7)['forEach'](_0x3a946f=>_0x2e5369[_0xf9fec1(0x25a)](_0x3a946f[_0xf9fec1(0x1a1)],{..._0x3a946f,'recordIds':[]})),_0x1ab745[_0xf9fec1(0x49e)](_0x490213=>{const _0x5afc4f=_0xf9fec1;this[_0x5afc4f(0x171)](_0x434157,_0x490213['values'][_0x434157['id']])[_0x5afc4f(0x49e)](_0x11c771=>{const _0x103be0=_0x5afc4f;let _0x8f32aa=_0x2e5369[_0x103be0(0x3e9)](_0x11c771)??{'key':_0x11c771,'title':this['_kanbanLaneTitle'](_0x434157,_0x11c771,_0x55eae7),'color':this[_0x103be0(0x1c5)](_0x434157,_0x11c771,_0x55eae7),'recordIds':[]};_0x8f32aa[_0x103be0(0x453)][_0x103be0(0x4bf)](_0x490213[_0x103be0(0x1d9)]),_0x2e5369['set'](_0x11c771,_0x8f32aa);});}),{'type':_0x9b4f24[_0xf9fec1(0x4c3)]['Kanban'],'fields':_0x53660e,'rows':_0x1ab745,'groups':this[_0xf9fec1(0x131)](_0x1805f7,_0x5c3f84,_0x1ab745),'groupFieldId':_0x434157['id'],'titleFieldId':_0x316005,'coverFieldId':this[_0xf9fec1(0x140)](_0x1805f7,_0x55eae7),'cardLayout':_0x55eae7[_0xf9fec1(0x271)]===_0xf9fec1(0x17f)?'compose':'normal','showFieldNames':_0x55eae7[_0xf9fec1(0x425)]!==!0x1,'visibleCardFieldIds':_0x5431e8,'lanes':Array[_0xf9fec1(0x338)](_0x2e5369[_0xf9fec1(0x10a)]())};}[_0x164ecf(0x1d2)](_0xfc0156,_0x403fff){const _0x24f6bf=_0x164ecf;var _0x3bd3f6;let _0x343fb7=(_0x3bd3f6=_0x403fff[_0x24f6bf(0x19f)])==null?void 0x0:_0x3bd3f6[_0x24f6bf(0x370)];return _0x343fb7&&this[_0x24f6bf(0x48e)](_0xfc0156,_0x343fb7)?_0x343fb7:this[_0x24f6bf(0x3cf)](_0xfc0156,_0xe86300=>this[_0x24f6bf(0x2ce)](_0xe86300));}[_0x164ecf(0x3cf)](_0x52c958,_0x490f8a){const _0x1bd899=_0x164ecf;for(let _0x1f6549 of _0x52c958[_0x1bd899(0x30b)]){let _0x1ce97d=_0x52c958[_0x1bd899(0x43b)][_0x1f6549];if(_0x1ce97d&&_0x490f8a(_0x1ce97d))return _0x1ce97d['id'];}return null;}['_isKanbanGroupField'](_0x56e21b,_0x3dbde4){const _0x1ac037=_0x164ecf;let _0x4bc302=_0x56e21b[_0x1ac037(0x43b)][_0x3dbde4];return this[_0x1ac037(0x2ce)](_0x4bc302)||_0x12230b(_0x56e21b,_0x3dbde4);}[_0x164ecf(0x2ce)](_0x4f45fe){const _0x3158a5=_0x164ecf;return!!_0x4f45fe&&(_0x4f45fe[_0x3158a5(0x132)]===_0x9b4f24[_0x3158a5(0x3bc)]['SingleSelect']||_0x4f45fe['type']===_0x9b4f24['BaseFieldType']['MultiSelect']||_0x4f45fe['type']===_0x9b4f24[_0x3158a5(0x3bc)]['Rating']||_0x4f45fe['type']===_0x9b4f24['BaseFieldType']['Person']||_0x4f45fe[_0x3158a5(0x132)]===_0x9b4f24[_0x3158a5(0x3bc)]['Group']||_0x4f45fe[_0x3158a5(0x132)]===_0x9b4f24[_0x3158a5(0x3bc)][_0x3158a5(0x1f2)]);}[_0x164ecf(0x4be)](_0x4169eb){const _0x177fa5=_0x164ecf;return _0x4169eb['type']===_0x9b4f24[_0x177fa5(0x3bc)][_0x177fa5(0x378)]||_0x4169eb[_0x177fa5(0x132)]===_0x9b4f24[_0x177fa5(0x3bc)][_0x177fa5(0x1be)];}[_0x164ecf(0x140)](_0x123477,_0x1d8229){const _0x1fcf85=_0x164ecf;var _0x1cea22;let _0x36d638=_0x1d8229[_0x1fcf85(0x17c)]??((_0x1cea22=_0x1d8229['card'])==null?void 0x0:_0x1cea22[_0x1fcf85(0x17c)])??null;if(!_0x36d638)return null;let _0x5e99a0=_0x123477[_0x1fcf85(0x43b)][_0x36d638];return _0x5e99a0&&this[_0x1fcf85(0x1f7)](_0x5e99a0)[_0x1fcf85(0x179)]?_0x5e99a0['id']:null;}[_0x164ecf(0x19e)](_0x149ec8,_0x3370f2,_0xf2fc94,_0x383613=this[_0x164ecf(0x130)](_0x149ec8,((()=>{const _0x116b1c=_0x164ecf;var _0x57e46f;return(_0x57e46f=_0x3370f2[_0x116b1c(0x19f)])==null||(_0x57e46f=_0x57e46f[_0x116b1c(0x218)])==null?void 0x0:_0x57e46f['titleFieldId'];})()))){const _0x28d1f6=_0x164ecf;var _0x1aa5e3;let _0x37d878=_0x3370f2[_0x28d1f6(0x19f)]??{},_0x138b72=(_0x1aa5e3=_0x37d878[_0x28d1f6(0x218)])!=null&&(_0x1aa5e3=_0x1aa5e3[_0x28d1f6(0x239)])!=null&&_0x1aa5e3[_0x28d1f6(0x13b)]?_0x37d878['card'][_0x28d1f6(0x239)]:_0x21728b(_0x149ec8,[_0x383613,_0x149ec8[_0x28d1f6(0x302)],_0xf2fc94]),_0x1ae414=_0x37d878[_0x28d1f6(0x156)]??{};return _0x138b72['filter'](_0x19f1f6=>{const _0x1b1a50=_0x28d1f6;var _0x47f911,_0x151d7b;let _0x117592=_0x149ec8[_0x1b1a50(0x43b)][_0x19f1f6];return!(!_0x117592||_0x117592[_0x1b1a50(0x187)]===!0x0||_0x117592[_0x1b1a50(0x132)]===_0x9b4f24[_0x1b1a50(0x3bc)][_0x1b1a50(0x111)]||_0x117592['id']===_0xf2fc94||_0x117592['id']===_0x383613||(_0x47f911=_0x3370f2[_0x1b1a50(0x156)])!=null&&(_0x47f911=_0x47f911[_0x19f1f6])!=null&&_0x47f911[_0x1b1a50(0x307)]||(_0x151d7b=_0x1ae414[_0x19f1f6])!=null&&_0x151d7b[_0x1b1a50(0x307)]);})['sort']((_0x45d708,_0x25dfb0)=>{const _0x45a72a=_0x28d1f6;var _0x35b6e5,_0x43e930;return(((_0x35b6e5=_0x1ae414[_0x45d708])==null?void 0x0:_0x35b6e5[_0x45a72a(0x2f2)])??_0x138b72[_0x45a72a(0x19b)](_0x45d708))-(((_0x43e930=_0x1ae414[_0x25dfb0])==null?void 0x0:_0x43e930[_0x45a72a(0x2f2)])??_0x138b72[_0x45a72a(0x19b)](_0x25dfb0));});}['_getKanbanConfiguredLanes'](_0x5452a0,_0x5cec23){const _0x397a26=_0x164ecf;var _0x152384;let _0x5dddfb=(Array['isArray']((_0x152384=_0x5452a0[_0x397a26(0x19f)])==null?void 0x0:_0x152384['options'])?_0x5452a0[_0x397a26(0x19f)][_0x397a26(0x2e8)]:[])[_0x397a26(0x17e)]((_0x590f8b,_0x619df7)=>{const _0x479b89=_0x397a26;if(_0x590f8b==null)return[];let _0x1d1524=typeof _0x590f8b=='string'?{'id':_0x590f8b,'name':_0x590f8b,'color':void 0x0}:_0x590f8b,_0x4b0f10=String(_0x1d1524['id']??_0x1d1524[_0x479b89(0x267)]??_0x479b89(0x365)+(_0x619df7+0x1));return[{'key':_0x4b0f10,'title':String(_0x1d1524[_0x479b89(0x267)]??_0x1d1524['id']??_0x4b0f10),'color':this[_0x479b89(0x1c5)](_0x5452a0,_0x4b0f10,_0x5cec23)}];});return Object[_0x397a26(0x489)](_0x5cec23[_0x397a26(0x324)]??{})[_0x397a26(0x49e)](([_0x1bb6e0,_0x4bb795])=>{const _0x1a178c=_0x397a26;_0x5dddfb[_0x1a178c(0x3ba)](_0x366d69=>_0x366d69[_0x1a178c(0x1a1)]===_0x1bb6e0)||_0x5dddfb[_0x1a178c(0x4bf)]({'key':_0x1bb6e0,'title':this[_0x1a178c(0x4be)](_0x5452a0)?_0x4bb795[_0x1a178c(0x406)]??this[_0x1a178c(0x4d0)](_0x5452a0,_0x1bb6e0,_0x5cec23):this[_0x1a178c(0x4d0)](_0x5452a0,_0x1bb6e0,_0x5cec23),'color':this[_0x1a178c(0x1c5)](_0x5452a0,_0x1bb6e0,_0x5cec23)});}),_0x5dddfb;}[_0x164ecf(0x171)](_0x4fae2c,_0x2c33a2){const _0x521127=_0x164ecf;let _0x49b438=_0x3c1f23=>{const _0x27a892=_0x17a2;var _0x42bd68;let _0x3f7137=_0x3c1f23==null?'':String(_0x3c1f23);return!_0x3f7137||!this[_0x27a892(0x4be)](_0x4fae2c)?_0x3f7137:((_0x42bd68=_0x24150d(_0x4fae2c,_0x3f7137))==null?void 0x0:_0x42bd68['id'])??_0x3f7137;};if(Array[_0x521127(0x32e)](_0x2c33a2)){let _0x3c9a16=_0x2c33a2[_0x521127(0x2a7)](_0x49b438)[_0x521127(0x41f)](_0x531064=>_0x531064!=='');return _0x3c9a16[_0x521127(0x13b)]?_0x3c9a16:[''];}return[_0x49b438(_0x2c33a2)];}[_0x164ecf(0x4d0)](_0x22636e,_0x1f5505,_0x35b393){const _0x4546b5=_0x164ecf;if(!_0x1f5505)return _0x4546b5(0x4ae);let _0x58fdee=_0x24150d(_0x22636e,_0x1f5505);return(_0x58fdee==null?void 0x0:_0x58fdee[_0x4546b5(0x267)])??_0x1f5505;}[_0x164ecf(0x1c5)](_0x30f8a1,_0x1f0d91,_0x4358c3){const _0x315bc9=_0x164ecf;var _0x16a236;if(this[_0x315bc9(0x4be)](_0x30f8a1))return(_0x16a236=_0x24150d(_0x30f8a1,_0x1f0d91))==null?void 0x0:_0x16a236[_0x315bc9(0x449)];}[_0x164ecf(0x264)](_0x49f607,_0x282ec1){const _0x12ba23=_0x164ecf;let _0x310bec=this[_0x12ba23(0x251)](_0x49f607,_0x282ec1[_0x12ba23(0x19f)]??{}),_0x6897ab=_0x49f607[_0x12ba23(0x43b)][_0x310bec[_0x12ba23(0x13a)]];if(!_0x6897ab||_0x6897ab[_0x12ba23(0x132)]!==_0x9b4f24[_0x12ba23(0x3bc)][_0x12ba23(0x442)]||_0x6897ab['readonly']===!0x0||_0x6897ab[_0x12ba23(0x187)]===!0x0||!this[_0x12ba23(0x1f7)](_0x6897ab)[_0x12ba23(0x127)])return{'type':'invalid','viewType':_0x9b4f24['BaseViewType'][_0x12ba23(0x270)],'reason':_0x12ba23(0x2fc),'fieldId':_0x310bec[_0x12ba23(0x13a)]};let _0x3f29fc=_0x310bec[_0x12ba23(0x414)]?_0x49f607[_0x12ba23(0x43b)][_0x310bec[_0x12ba23(0x414)]]:void 0x0,_0x5af5b3=this[_0x12ba23(0x382)](_0x49f607,_0x282ec1);return{'type':_0x9b4f24[_0x12ba23(0x4c3)]['Calendar'],'config':_0x310bec,'fields':this['_projectFields'](_0x49f607,_0x282ec1),'rows':_0x5af5b3,'groups':this[_0x12ba23(0x131)](_0x49f607,_0x282ec1,_0x5af5b3),'events':_0x5af5b3['flatMap'](_0x3a9d44=>{const _0x1eb0c7=_0x12ba23;let _0x2928f6=_0x22fdeb(_0x3a9d44[_0x1eb0c7(0x10a)][_0x310bec['startDateFieldId']]);if(!Number['isFinite'](_0x2928f6))return[];let _0x3df3ac=_0x3a9d44[_0x1eb0c7(0x10a)][_0x310bec[_0x1eb0c7(0x13a)]],_0x5a5816=_0x310bec['endDateFieldId']==null?void 0x0:_0x3a9d44[_0x1eb0c7(0x10a)][_0x310bec[_0x1eb0c7(0x414)]],_0x95825f=_0x310bec['endDateFieldId']==null?void 0x0:_0x22fdeb(_0x5a5816),_0x5c1587=Number[_0x1eb0c7(0x4a1)](_0x95825f)?_0x95825f:void 0x0;return[{'recordId':_0x3a9d44[_0x1eb0c7(0x1d9)],'title':this[_0x1eb0c7(0x13f)](_0x49f607,_0x3a9d44,_0x310bec[_0x1eb0c7(0x19d)]),'start':_0x2928f6,'end':_0x5c1587,'color':this['_calendarEventColor'](_0x49f607,_0x3a9d44,_0x310bec),'startMs':_0x2928f6,'endMs':_0x5c1587,'allDay':this['_isAllDayCalendarEvent'](_0x6897ab,_0x3f29fc,_0x3df3ac,_0x5a5816),'fieldValues':_0x3a9d44['values']}];})};}[_0x164ecf(0x251)](_0x213225,_0x41af69){const _0x39a50a=_0x164ecf;let _0x51b354=this[_0x39a50a(0x11b)](_0x213225,_0x41af69['startDateFieldId']),_0x1f3d6c=_0x41af69[_0x39a50a(0x414)]&&this[_0x39a50a(0x2dd)](_0x213225,_0x41af69[_0x39a50a(0x414)])?_0x41af69[_0x39a50a(0x414)]:this[_0x39a50a(0x1eb)](_0x213225,_0x51b354)??void 0x0,_0x1b1fae=_0x41af69['titleFieldId']?_0x213225[_0x39a50a(0x43b)][_0x41af69[_0x39a50a(0x19d)]]:void 0x0,_0x3f17ce=_0x1b1fae&&_0x1b1fae[_0x39a50a(0x187)]!==!0x0&&_0x1b1fae['type']!==_0x9b4f24['BaseFieldType'][_0x39a50a(0x111)]?_0x41af69['titleFieldId']:_0x213225['primaryFieldId'],_0x102a87=_0x41af69[_0x39a50a(0x47a)]===_0x39a50a(0x2bd)||_0x41af69[_0x39a50a(0x47a)]===_0x39a50a(0x35c)?_0x41af69['mode']:_0x39a50a(0x486),_0x27ab99=_0x41af69[_0x39a50a(0x3ca)]===_0x39a50a(0x146)||_0x41af69[_0x39a50a(0x3ca)]===_0x39a50a(0x3fe)?_0x41af69[_0x39a50a(0x3ca)]:_0x39a50a(0x14c),_0x2e77cc=typeof _0x41af69['timeZone']==_0x39a50a(0x1e4)&&_0x41af69['timeZone']['trim']()?_0x41af69['timeZone']:'local',_0xcb0a39=this[_0x39a50a(0x447)](_0x213225,_0x41af69);return{..._0x41af69,'startDateFieldId':_0x51b354,'endDateFieldId':_0x1f3d6c,'titleFieldId':_0x3f17ce,'mode':_0x102a87,'timeslotSize':_0x27ab99,'timeZone':_0x2e77cc,'displayColor':_0xcb0a39,'fieldSettings':Object[_0x39a50a(0x224)](Object[_0x39a50a(0x489)](_0x41af69[_0x39a50a(0x156)]??{})[_0x39a50a(0x41f)](([_0x1f28e6])=>{const _0x4ad14d=_0x39a50a;let _0x1f758a=_0x213225[_0x4ad14d(0x43b)][_0x1f28e6];return!!(_0x1f758a&&_0x1f758a[_0x4ad14d(0x187)]!==!0x0&&_0x1f758a['type']!==_0x9b4f24[_0x4ad14d(0x3bc)][_0x4ad14d(0x111)]);}))};}[_0x164ecf(0x11b)](_0x37961c,_0x328a6b){const _0x3f9b4f=_0x164ecf;return _0x328a6b&&this['_isCalendarDateField'](_0x37961c,_0x328a6b)?_0x328a6b:this[_0x3f9b4f(0x1eb)](_0x37961c)??_0x328a6b??'';}[_0x164ecf(0x1eb)](_0xd242c3,_0x3d3dbc){const _0x4cb3af=_0x164ecf;for(let _0x3be2f7 of _0xd242c3[_0x4cb3af(0x30b)])if(_0x3be2f7!==_0x3d3dbc&&this[_0x4cb3af(0x2dd)](_0xd242c3,_0x3be2f7))return _0x3be2f7;return null;}['_isCalendarDateField'](_0x33264e,_0x1d3841){const _0x288e64=_0x164ecf;let _0x5b2b6f=_0x33264e['fields'][_0x1d3841];return!!_0x5b2b6f&&_0x5b2b6f[_0x288e64(0x132)]===_0x9b4f24[_0x288e64(0x3bc)]['Date']&&_0x5b2b6f[_0x288e64(0x462)]!==!0x0&&_0x5b2b6f['system']!==!0x0&&this['_capabilities'](_0x5b2b6f)[_0x288e64(0x127)];}[_0x164ecf(0x447)](_0x4fc627,_0x525718){const _0x4061bc=_0x164ecf;let _0x4fcf91=_0x525718[_0x4061bc(0x28d)];if((_0x4fcf91==null?void 0x0:_0x4fcf91[_0x4061bc(0x132)])===_0x4061bc(0x234)){let _0x7e3a8c=_0x4fc627['fields'][_0x4fcf91[_0x4061bc(0x195)]];if(_0x7e3a8c&&_0x7e3a8c['type']===_0x9b4f24[_0x4061bc(0x3bc)][_0x4061bc(0x378)])return _0x4fcf91;}if((_0x4fcf91==null?void 0x0:_0x4fcf91[_0x4061bc(0x132)])==='custom'&&typeof _0x4fcf91[_0x4061bc(0x449)]==_0x4061bc(0x1e4)&&_0x4fcf91[_0x4061bc(0x449)][_0x4061bc(0x276)]())return{'type':_0x4061bc(0x45f),'color':_0x4fcf91[_0x4061bc(0x449)]};if(_0x525718[_0x4061bc(0x376)]){let _0x20a71e=_0x4fc627[_0x4061bc(0x43b)][_0x525718[_0x4061bc(0x376)]];if(_0x20a71e&&_0x20a71e[_0x4061bc(0x132)]===_0x9b4f24[_0x4061bc(0x3bc)][_0x4061bc(0x378)])return{'type':_0x4061bc(0x234),'fieldId':_0x525718['colorFieldId']};}return{'type':'custom','color':_0x4061bc(0x222)};}[_0x164ecf(0x116)](_0x3166e5,_0x150072,_0x55b256){const _0x1f8fec=_0x164ecf;let _0x5ce2d5=_0x55b256[_0x1f8fec(0x28d)];if((_0x5ce2d5==null?void 0x0:_0x5ce2d5[_0x1f8fec(0x132)])===_0x1f8fec(0x234)){var _0x5875a1;let _0x29219c=_0x3166e5['fields'][_0x5ce2d5[_0x1f8fec(0x195)]];if(!_0x29219c)return;let _0x196517=_0x150072[_0x1f8fec(0x10a)][_0x5ce2d5[_0x1f8fec(0x195)]],_0x8c6574=Array[_0x1f8fec(0x32e)](_0x196517)?_0x196517[0x0]:_0x196517;return _0x8c6574==null||(_0x5875a1=_0x24150d(_0x29219c,String(_0x8c6574)))==null?void 0x0:_0x5875a1[_0x1f8fec(0x449)];}if((_0x5ce2d5==null?void 0x0:_0x5ce2d5[_0x1f8fec(0x132)])==='custom')return _0x5ce2d5[_0x1f8fec(0x449)];}['_isAllDayCalendarEvent'](_0x2e7e42,_0x5b6808,_0x3ee3be,_0x33df06){const _0x4d7950=_0x164ecf;var _0x5751d2,_0x43f081;let _0x14907e=((_0x5751d2=_0x2e7e42[_0x4d7950(0x19f)])==null?void 0x0:_0x5751d2[_0x4d7950(0x3f4)])===!0x0,_0x4fd368=(_0x5b6808==null||(_0x43f081=_0x5b6808['config'])==null?void 0x0:_0x43f081[_0x4d7950(0x3f4)])===!0x0;return!_0x14907e&&!_0x4fd368;}['_isAllDayGanttDateRange'](_0x3d041d,_0x46df0b){const _0x1c250c=_0x164ecf;var _0x14c0f3,_0x308fc2;let _0x4beccd=((_0x14c0f3=_0x3d041d['config'])==null?void 0x0:_0x14c0f3[_0x1c250c(0x3f4)])===!0x0,_0x2ff664=((_0x308fc2=_0x46df0b[_0x1c250c(0x19f)])==null?void 0x0:_0x308fc2[_0x1c250c(0x3f4)])===!0x0;return!_0x4beccd&&!_0x2ff664;}[_0x164ecf(0x15e)](_0xbcd09b,_0x10612f){const _0x5bec97=_0x164ecf;let _0x1cff48=this[_0x5bec97(0x237)](_0xbcd09b,_0x10612f['config']),_0x28c5bb=_0xbcd09b['fields'][_0x1cff48[_0x5bec97(0x13a)]];if(!_0x28c5bb||_0x28c5bb[_0x5bec97(0x132)]!==_0x9b4f24[_0x5bec97(0x3bc)]['Date']||_0x28c5bb[_0x5bec97(0x462)]===!0x0||_0x28c5bb[_0x5bec97(0x187)]===!0x0||!this[_0x5bec97(0x1f7)](_0x28c5bb)[_0x5bec97(0x252)])return{'type':_0x5bec97(0x422),'viewType':_0x9b4f24[_0x5bec97(0x4c3)][_0x5bec97(0x2ae)],'reason':'invalidGanttStartField','fieldId':_0x1cff48['startDateFieldId']};let _0x1c7bc2=_0xbcd09b[_0x5bec97(0x43b)][_0x1cff48['endDateFieldId']];if(!_0x1c7bc2||_0x1c7bc2[_0x5bec97(0x132)]!==_0x9b4f24['BaseFieldType'][_0x5bec97(0x442)]||_0x1c7bc2[_0x5bec97(0x462)]===!0x0||_0x1c7bc2[_0x5bec97(0x187)]===!0x0||!this[_0x5bec97(0x1f7)](_0x1c7bc2)[_0x5bec97(0x284)])return{'type':_0x5bec97(0x422),'viewType':_0x9b4f24[_0x5bec97(0x4c3)]['Gantt'],'reason':'invalidGanttEndField','fieldId':_0x1cff48['endDateFieldId']};let _0x2de9a8=this[_0x5bec97(0x16c)](_0x28c5bb,_0x1c7bc2),_0x256870=this['_projectRows'](_0xbcd09b,_0x10612f),_0x3b9b85=_0x256870[_0x5bec97(0x17e)](_0x1f6404=>{const _0x440f74=_0x5bec97;let _0x4f5504=_0x22fdeb(_0x1f6404[_0x440f74(0x10a)][_0x1cff48['startDateFieldId']]),_0x4a4db8=_0x22fdeb(_0x1f6404[_0x440f74(0x10a)][_0x1cff48[_0x440f74(0x414)]]);if(!Number['isFinite'](_0x4f5504)||!Number[_0x440f74(0x4a1)](_0x4a4db8))return[];let _0x256184=Math[_0x440f74(0x1dd)](_0x4f5504,_0x4a4db8),_0x3397cb=Math[_0x440f74(0x427)](_0x4f5504,_0x4a4db8),_0x454220=_0x1cff48[_0x440f74(0x227)]==null?void 0x0:Number(_0x1f6404['values'][_0x1cff48['progressFieldId']]);return[{'recordId':_0x1f6404[_0x440f74(0x1d9)],'title':this[_0x440f74(0x13f)](_0xbcd09b,_0x1f6404,_0x1cff48['titleFieldId']),'start':_0x256184,'end':_0x3397cb,'color':this[_0x440f74(0xf7)](_0xbcd09b,_0x1f6404,_0x1cff48),'progress':Number[_0x440f74(0x4a1)](_0x454220)?_0x454220:void 0x0,'workingDayCount':_0x1cff48[_0x440f74(0x3a0)]?_0x4f0b32(_0x256184,_0x3397cb,_0x1cff48['workingDays']):void 0x0,'dependencyRecordIds':this[_0x440f74(0x231)](_0x1f6404[_0x440f74(0x10a)][_0x1cff48[_0x440f74(0x248)]??''])}];}),_0x10d0f7=_0x3b9b85['length']?_0x13f492(Math[_0x5bec97(0x1dd)](..._0x3b9b85['map'](_0x4920a1=>_0x4920a1['start']))-0x5a*_0x2be254):_0x13f492(Date['now']()-0x5a*_0x2be254),_0x5cae86=_0x3b9b85[_0x5bec97(0x13b)]?_0x13f492(Math[_0x5bec97(0x427)](..._0x3b9b85['map'](_0x59329c=>_0x59329c[_0x5bec97(0x168)]))+0x5b*_0x2be254):_0x13f492(Date[_0x5bec97(0x1e5)]()+0x5b*_0x2be254),_0x42a8bf=_0x52959a(_0x1cff48[_0x5bec97(0x154)],_0x10d0f7,_0x5cae86,_0x1cff48[_0x5bec97(0x3a0)]?_0x1cff48[_0x5bec97(0x263)]:void 0x0);return{'type':_0x9b4f24['BaseViewType'][_0x5bec97(0x2ae)],'fields':this[_0x5bec97(0x38d)](_0xbcd09b,{..._0x10612f,'config':_0x1cff48}),'rows':_0x256870,'groups':this['_projectGroups'](_0xbcd09b,_0x10612f,_0x256870),'config':_0x1cff48,'dateRangeAllDay':_0x2de9a8,'timeline':{'scale':_0x1cff48[_0x5bec97(0x154)],'start':_0x10d0f7,'end':_0x5cae86,'unitWidth':_0x42a8bf['unitWidth'],'majorHeaders':_0x42a8bf[_0x5bec97(0x27b)],'columns':_0x42a8bf[_0x5bec97(0x1db)]},'bars':_0x3b9b85};}['_normalizeGanttConfig'](_0x33e9ac,_0x72fa95){const _0x45bdbe=_0x164ecf;let _0x446d3a=this[_0x45bdbe(0x3e3)](_0x33e9ac,_0x72fa95['startDateFieldId'],_0x45bdbe(0x2e1)),_0x2bba6e=this[_0x45bdbe(0x3e3)](_0x33e9ac,_0x72fa95['endDateFieldId'],_0x45bdbe(0x168))||_0x446d3a,_0x2c9231=_0x72fa95['titleFieldId']?_0x33e9ac[_0x45bdbe(0x43b)][_0x72fa95[_0x45bdbe(0x19d)]]:void 0x0,_0x553da8=_0x2c9231&&_0x2c9231[_0x45bdbe(0x187)]!==!0x0&&_0x2c9231[_0x45bdbe(0x132)]!==_0x9b4f24[_0x45bdbe(0x3bc)][_0x45bdbe(0x111)]?_0x72fa95['titleFieldId']:_0x33e9ac['primaryFieldId'],_0x3fb604=_0x72fa95['scale']===_0x45bdbe(0x35c)||_0x72fa95[_0x45bdbe(0x154)]===_0x45bdbe(0x105)||_0x72fa95[_0x45bdbe(0x154)]===_0x45bdbe(0x311)?_0x72fa95[_0x45bdbe(0x154)]:_0x45bdbe(0x486),_0x4ae676=_0x5c2872(_0x72fa95[_0x45bdbe(0x263)]);return{..._0x72fa95,'startDateFieldId':_0x446d3a,'endDateFieldId':_0x2bba6e,'titleFieldId':_0x553da8,'scale':_0x3fb604,'leftPaneWidth':typeof _0x72fa95[_0x45bdbe(0x31e)]==_0x45bdbe(0x1a8)?_0x72fa95[_0x45bdbe(0x31e)]:void 0x0,'leftPaneCollapsed':_0x72fa95[_0x45bdbe(0x483)]===!0x0,'showTodayLine':_0x72fa95[_0x45bdbe(0x464)]!==!0x1,'displayColor':this[_0x45bdbe(0x401)](_0x33e9ac,_0x72fa95),'fieldSettings':Object[_0x45bdbe(0x224)](Object[_0x45bdbe(0x489)](_0x72fa95[_0x45bdbe(0x156)]??{})[_0x45bdbe(0x41f)](([_0x53faff])=>{const _0x53c306=_0x45bdbe;let _0x411d39=_0x33e9ac[_0x53c306(0x43b)][_0x53faff];return!!(_0x411d39&&_0x411d39[_0x53c306(0x187)]!==!0x0&&_0x411d39[_0x53c306(0x132)]!==_0x9b4f24[_0x53c306(0x3bc)]['RecordId']);})),'workingDaysOnly':_0x72fa95[_0x45bdbe(0x3a0)]===!0x0,'workingDays':_0x4ae676};}[_0x164ecf(0x3e3)](_0x5b8c91,_0xac25d0,_0x799b7){const _0xb9f774=_0x164ecf;if(_0xac25d0&&this['_isGanttDateField'](_0x5b8c91,_0xac25d0,_0x799b7)||_0xac25d0)return _0xac25d0;for(let _0x3448d2 of _0x5b8c91[_0xb9f774(0x30b)])if(this['_isGanttDateField'](_0x5b8c91,_0x3448d2,_0x799b7))return _0x3448d2;return _0xac25d0??'';}[_0x164ecf(0x392)](_0x57e546,_0x4cbe81,_0x3b0e1e){const _0x4eaed6=_0x164ecf;let _0x751274=_0x57e546[_0x4eaed6(0x43b)][_0x4cbe81];if(!_0x751274||_0x751274[_0x4eaed6(0x132)]!==_0x9b4f24[_0x4eaed6(0x3bc)][_0x4eaed6(0x442)]||_0x751274[_0x4eaed6(0x462)]===!0x0||_0x751274[_0x4eaed6(0x187)]===!0x0)return!0x1;let _0x41598d=this[_0x4eaed6(0x1f7)](_0x751274);return _0x3b0e1e==='start'?_0x41598d[_0x4eaed6(0x252)]:_0x41598d[_0x4eaed6(0x284)];}['_normalizeGanttDisplayColor'](_0x4ba7e0,_0x219b76){const _0x7e9e30=_0x164ecf;let _0x373975=_0x219b76['displayColor'];if((_0x373975==null?void 0x0:_0x373975[_0x7e9e30(0x132)])===_0x7e9e30(0x234)){let _0x5ebbd4=_0x4ba7e0[_0x7e9e30(0x43b)][_0x373975[_0x7e9e30(0x195)]];if(_0x5ebbd4&&_0x5ebbd4[_0x7e9e30(0x132)]===_0x9b4f24['BaseFieldType'][_0x7e9e30(0x378)])return _0x373975;}return(_0x373975==null?void 0x0:_0x373975[_0x7e9e30(0x132)])===_0x7e9e30(0x1f9)&&Array[_0x7e9e30(0x32e)](_0x373975[_0x7e9e30(0x1ad)])?{'type':_0x7e9e30(0x1f9),'rules':_0x373975['rules'][_0x7e9e30(0x41f)](_0x98e2a6=>!!_0x4ba7e0['fields'][_0x98e2a6[_0x7e9e30(0x195)]])}:(_0x373975==null?void 0x0:_0x373975[_0x7e9e30(0x132)])===_0x7e9e30(0x45f)&&typeof _0x373975['color']==_0x7e9e30(0x1e4)&&_0x373975[_0x7e9e30(0x449)][_0x7e9e30(0x276)]()?{'type':'custom','color':_0x373975['color']}:{'type':'custom','color':'#14b8a6'};}['_ganttBarColor'](_0x188786,_0x3576f0,_0x145cdb){const _0x7fce1b=_0x164ecf;let _0xbdc339=_0x145cdb[_0x7fce1b(0x28d)];if((_0xbdc339==null?void 0x0:_0xbdc339[_0x7fce1b(0x132)])==='conditional'){let _0x1655e4=_0xbdc339[_0x7fce1b(0x1ad)][_0x7fce1b(0x396)](_0x19df1f=>this[_0x7fce1b(0x459)](_0x188786,_0x3576f0,_0x19df1f));if(_0x1655e4)return _0x1655e4['color'];}if((_0xbdc339==null?void 0x0:_0xbdc339[_0x7fce1b(0x132)])===_0x7fce1b(0x234)){let _0x14fe52=_0x188786[_0x7fce1b(0x43b)][_0xbdc339[_0x7fce1b(0x195)]];if(_0x14fe52){var _0x4f1390;let _0x35ab07=_0x3576f0['values'][_0xbdc339['fieldId']],_0x2d12dc=Array[_0x7fce1b(0x32e)](_0x35ab07)?_0x35ab07[0x0]:_0x35ab07,_0x53a7cc=_0x2d12dc==null||(_0x4f1390=_0x24150d(_0x14fe52,String(_0x2d12dc)))==null?void 0x0:_0x4f1390[_0x7fce1b(0x449)];if(_0x53a7cc)return _0x53a7cc;}}return(_0xbdc339==null?void 0x0:_0xbdc339[_0x7fce1b(0x132)])==='custom'?_0xbdc339[_0x7fce1b(0x449)]:'#14b8a6';}[_0x164ecf(0x459)](_0x5e7560,_0x2c104c,_0x850d9a){const _0x50b08c=_0x164ecf;let _0x916573=_0x5e7560[_0x50b08c(0x43b)][_0x850d9a['fieldId']];return _0x916573?_0x2fe127(_0x2c104c[_0x50b08c(0x10a)][_0x916573['id']],_0x850d9a[_0x50b08c(0x16f)],_0x850d9a[_0x50b08c(0x236)],_0x916573,{'dateMode':_0x850d9a[_0x50b08c(0x2a5)]}):!0x1;}['_buildGallery'](_0x4f95bb,_0x544578){const _0xc38c9=_0x164ecf;let _0x40d1fb=this[_0xc38c9(0x382)](_0x4f95bb,_0x544578),_0x3c1992=this[_0xc38c9(0x363)](_0x4f95bb,_0x544578[_0xc38c9(0x19f)]??{}),_0x47e4e3=this[_0xc38c9(0x38d)](_0x4f95bb,_0x544578);return{'type':_0x9b4f24['BaseViewType'][_0xc38c9(0x3fc)],'fields':_0x47e4e3,'rows':_0x40d1fb,'groups':this['_projectGroups'](_0x4f95bb,_0x544578,_0x40d1fb),'titleFieldId':_0x3c1992[_0xc38c9(0x218)][_0xc38c9(0x19d)],'coverFieldId':_0x3c1992[_0xc38c9(0x17c)],'cardLayout':_0x3c1992[_0xc38c9(0x271)]??'normal','showFieldNames':_0x3c1992[_0xc38c9(0x425)]!==!0x1,'visibleCardFieldIds':this[_0xc38c9(0x33a)](_0x4f95bb,_0x544578,_0x3c1992),'cardSize':_0x3c1992[_0xc38c9(0x39e)]??_0xc38c9(0x14c),'cards':_0x40d1fb[_0xc38c9(0x2a7)](_0x318439=>({'recordId':_0x318439[_0xc38c9(0x1d9)],'title':this['_title'](_0x4f95bb,_0x318439,_0x3c1992[_0xc38c9(0x218)][_0xc38c9(0x19d)]),'values':_0x318439[_0xc38c9(0x10a)]}))};}['_normalizeGalleryConfig'](_0x276c1c,_0xc1c8b0){const _0x5f2479=_0x164ecf;let _0x4a2849=_0xc1c8b0[_0x5f2479(0x218)]??{'fieldIds':[]},_0x41ff7c=this[_0x5f2479(0x130)](_0x276c1c,_0x4a2849['titleFieldId']),_0x441da1=this[_0x5f2479(0x2d7)](_0x276c1c,_0xc1c8b0),_0x2cf8fb=_0xc1c8b0[_0x5f2479(0x39e)]==='small'||_0xc1c8b0[_0x5f2479(0x39e)]==='large'?_0xc1c8b0[_0x5f2479(0x39e)]:_0x5f2479(0x14c);return{..._0xc1c8b0,'coverFieldId':_0x441da1,'cardLayout':_0xc1c8b0['cardLayout']===_0x5f2479(0x17f)?'compose':_0x5f2479(0x394),'showFieldNames':_0xc1c8b0['showFieldNames']!==!0x1,'fieldSettings':Object[_0x5f2479(0x224)](Object[_0x5f2479(0x489)](_0xc1c8b0[_0x5f2479(0x156)]??{})['filter'](([_0x440029])=>{const _0x199428=_0x5f2479;let _0x3e2fac=_0x276c1c[_0x199428(0x43b)][_0x440029];return!!(_0x3e2fac&&_0x3e2fac[_0x199428(0x187)]!==!0x0&&_0x3e2fac[_0x199428(0x132)]!==_0x9b4f24[_0x199428(0x3bc)][_0x199428(0x111)]);})),'card':{..._0x4a2849,'titleFieldId':_0x41ff7c,'coverFieldId':_0x441da1,'fieldIds':Array[_0x5f2479(0x32e)](_0x4a2849[_0x5f2479(0x239)])?_0x4a2849[_0x5f2479(0x239)]:[]},'cardSize':_0x2cf8fb};}['_resolveCardTitleFieldId'](_0x23192c,_0x1731de){const _0x293807=_0x164ecf;let _0x308ac6=_0x1731de?_0x23192c[_0x293807(0x43b)][_0x1731de]:void 0x0;return _0x308ac6&&_0x308ac6[_0x293807(0x187)]!==!0x0&&_0x308ac6[_0x293807(0x132)]!==_0x9b4f24[_0x293807(0x3bc)][_0x293807(0x111)]?_0x308ac6['id']:_0x4426cd(_0x23192c);}[_0x164ecf(0x2d7)](_0x2a50d4,_0x28f60f){const _0x717dfe=_0x164ecf;var _0x5880c2;let _0x1eedb2=_0x28f60f[_0x717dfe(0x17c)]??((_0x5880c2=_0x28f60f[_0x717dfe(0x218)])==null?void 0x0:_0x5880c2[_0x717dfe(0x17c)])??null;if(!_0x1eedb2)return null;let _0x40f38e=_0x2a50d4[_0x717dfe(0x43b)][_0x1eedb2];return _0x40f38e&&this[_0x717dfe(0x1f7)](_0x40f38e)[_0x717dfe(0x179)]?_0x40f38e['id']:null;}[_0x164ecf(0x33a)](_0x55757f,_0x3d244d,_0x515462){const _0x14a912=_0x164ecf;var _0x7050a2,_0x3594f0,_0x552429;let _0x34c280=_0x515462['fieldSettings']??{},_0x207047=((_0x7050a2=_0x515462[_0x14a912(0x218)])==null?void 0x0:_0x7050a2[_0x14a912(0x19d)])??_0x4426cd(_0x55757f),_0xce6de0=_0x515462[_0x14a912(0x17c)]??((_0x3594f0=_0x515462[_0x14a912(0x218)])==null?void 0x0:_0x3594f0[_0x14a912(0x17c)])??null,_0x23a581=(_0x552429=_0x515462[_0x14a912(0x218)])!=null&&(_0x552429=_0x552429[_0x14a912(0x239)])!=null&&_0x552429['length']?_0x515462[_0x14a912(0x218)][_0x14a912(0x239)]:_0x21728b(_0x55757f,[_0x207047,_0xce6de0,_0x55757f[_0x14a912(0x302)]]);return _0x23a581[_0x14a912(0x41f)](_0x426971=>{const _0x59c8d5=_0x14a912;var _0x169651,_0x350719;let _0x12f9c1=_0x55757f[_0x59c8d5(0x43b)][_0x426971];return!(!_0x12f9c1||_0x12f9c1[_0x59c8d5(0x187)]===!0x0||_0x12f9c1['type']===_0x9b4f24[_0x59c8d5(0x3bc)][_0x59c8d5(0x111)]||_0x12f9c1['id']===_0x207047||_0x12f9c1['id']===_0xce6de0||(_0x169651=_0x3d244d[_0x59c8d5(0x156)])!=null&&(_0x169651=_0x169651[_0x426971])!=null&&_0x169651[_0x59c8d5(0x307)]||(_0x350719=_0x34c280[_0x426971])!=null&&_0x350719[_0x59c8d5(0x307)]);})['sort']((_0x202b30,_0x5b550e)=>{const _0x2c8c59=_0x14a912;var _0x1f6e04,_0x2656e3;return(((_0x1f6e04=_0x34c280[_0x202b30])==null?void 0x0:_0x1f6e04['order'])??_0x23a581['indexOf'](_0x202b30))-(((_0x2656e3=_0x34c280[_0x5b550e])==null?void 0x0:_0x2656e3[_0x2c8c59(0x2f2)])??_0x23a581[_0x2c8c59(0x19b)](_0x5b550e));});}[_0x164ecf(0x38d)](_0x478744,_0x396441){const _0x36c8f8=_0x164ecf;var _0x4d0dc3;return((_0x4d0dc3=_0x396441['fieldOrder'])!=null&&_0x4d0dc3['length']?_0x396441['fieldOrder']:_0x478744[_0x36c8f8(0x30b)])['flatMap'](_0x1e6732=>{const _0xc7ddf=_0x36c8f8;var _0x44b105;let _0x259c91=_0x478744['fields'][_0x1e6732],_0x1c0246=((_0x44b105=_0x396441['fieldSettings'])==null?void 0x0:_0x44b105[_0x1e6732])??{};return!_0x259c91||_0x259c91[_0xc7ddf(0x187)]===!0x0||_0x259c91['type']===_0x9b4f24[_0xc7ddf(0x3bc)][_0xc7ddf(0x111)]||_0x1c0246[_0xc7ddf(0x307)]?[]:[{'id':_0x259c91['id'],'name':_0x259c91[_0xc7ddf(0x267)],'description':_0x259c91['description'],'type':_0x259c91[_0xc7ddf(0x132)],'config':_0x259c91[_0xc7ddf(0x19f)],'width':_0x1c0246[_0xc7ddf(0x40d)],'setting':_0x1c0246}];});}[_0x164ecf(0x382)](_0x27d4ec,_0x1fd654){const _0xd58a97=_0x164ecf;var _0xe99e9d;return _0x3022ee(_0xd58a97(0x163),()=>{const _0x3c9d09=_0xd58a97;var _0x2726ca,_0x286ad1;let _0x4954b8=this[_0x3c9d09(0x3d0)](_0x27d4ec),_0x3b35b6=this[_0x3c9d09(0x196)](_0x27d4ec['id'],_0x1fd654),_0x2e4946=this['_getCellRevision'](_0x27d4ec['id']),_0x45fc3d=this[_0x3c9d09(0x198)][_0x3c9d09(0x3e9)](_0x3b35b6);if(_0x45fc3d&&_0x45fc3d['globalRevision']===this['_globalRevision']&&_0x45fc3d[_0x3c9d09(0x242)]===this[_0x3c9d09(0x220)](_0x27d4ec['id'])){if(_0x45fc3d[_0x3c9d09(0x344)]===_0x2e4946&&_0x45fc3d[_0x3c9d09(0x436)]===_0x4954b8)return _0x45fc3d[_0x3c9d09(0x34c)];if(_0x45fc3d['cellRevision']!==_0x2e4946&&!this[_0x3c9d09(0x354)](_0x27d4ec['id'],_0x45fc3d[_0x3c9d09(0x344)],_0x2e4946,this[_0x3c9d09(0x30c)](_0x1fd654))){let _0x5b87dc=_0x45fc3d[_0x3c9d09(0x34c)]===_0x45fc3d[_0x3c9d09(0x436)]?_0x4954b8:this[_0x3c9d09(0x1e8)](_0x45fc3d[_0x3c9d09(0x34c)],_0x4954b8);if(_0x5b87dc)return this[_0x3c9d09(0x198)][_0x3c9d09(0x25a)](_0x3b35b6,{..._0x45fc3d,'rows':_0x5b87dc,'baseRows':_0x4954b8,'cellRevision':_0x2e4946}),_0x5b87dc;}}let _0x327e8e=_0x3022ee('BaseProjection.filterAndSortRows',()=>this[_0x3c9d09(0x3e4)](_0x27d4ec,_0x1fd654,this[_0x3c9d09(0x149)](_0x27d4ec,_0x1fd654,_0x4954b8)),{'tableId':_0x27d4ec['id'],'viewId':_0x1fd654==null?void 0x0:_0x1fd654['id'],'viewType':_0x1fd654==null?void 0x0:_0x1fd654[_0x3c9d09(0x132)],'rows':_0x4954b8[_0x3c9d09(0x13b)],'filters':(_0x1fd654==null||(_0x2726ca=_0x1fd654[_0x3c9d09(0x41f)])==null?void 0x0:_0x2726ca[_0x3c9d09(0x2e0)][_0x3c9d09(0x13b)])??0x0,'sorts':(_0x1fd654==null||(_0x286ad1=_0x1fd654[_0x3c9d09(0x281)])==null?void 0x0:_0x286ad1[_0x3c9d09(0x13b)])??0x0});return this[_0x3c9d09(0x198)][_0x3c9d09(0x25a)](_0x3b35b6,{'table':_0x27d4ec,'rows':_0x327e8e,'baseRows':_0x4954b8,'globalRevision':this[_0x3c9d09(0x29e)],'tableRevision':this[_0x3c9d09(0x220)](_0x27d4ec['id']),'cellRevision':_0x2e4946}),_0x327e8e;},{'tableId':_0x27d4ec['id'],'viewId':_0x1fd654==null?void 0x0:_0x1fd654['id'],'viewType':_0x1fd654==null?void 0x0:_0x1fd654[_0xd58a97(0x132)],'records':((_0xe99e9d=_0x27d4ec[_0xd58a97(0x411)])==null?void 0x0:_0xe99e9d[_0xd58a97(0x13b)])??Object['keys'](_0x27d4ec[_0xd58a97(0x312)]??{})[_0xd58a97(0x13b)]});}[_0x164ecf(0x3d0)](_0x11629b){const _0x3ce882=_0x164ecf;var _0x3f8f00;return _0x3022ee(_0x3ce882(0x3d6),()=>{const _0x23bc94=_0x3ce882;var _0x458a7b;let _0x5dba7e=this[_0x23bc94(0x3c3)](_0x11629b['id']),_0xa82930=this[_0x23bc94(0x182)][_0x23bc94(0x3e9)](_0x11629b['id']);if(_0xa82930&&_0xa82930[_0x23bc94(0x1dc)]===this[_0x23bc94(0x29e)]&&_0xa82930[_0x23bc94(0x242)]===this[_0x23bc94(0x220)](_0x11629b['id'])){if(_0xa82930[_0x23bc94(0x344)]===_0x5dba7e&&_0xa82930['table']===_0x11629b)return _0xa82930[_0x23bc94(0x34c)];let _0x5bdf1=this[_0x23bc94(0x2a0)](_0x11629b,_0xa82930,_0x5dba7e);if(_0x5bdf1)return _0x5bdf1;}_0x5671be(_0x11629b)||_0x8ae1a4(_0x11629b);let _0x4914b8=(_0x458a7b=_0x11629b['recordOrder'])!=null&&_0x458a7b['length']?_0x11629b['recordOrder']:_0x39f0b2(_0x11629b[_0x23bc94(0x312)]),_0x490f81=_0x3022ee(_0x23bc94(0x49a),()=>{const _0x3a325e=_0x23bc94;let _0x2610f7=[];for(let _0x3f834d of _0x4914b8){let _0xc677b5=_0x11629b[_0x3a325e(0x312)][_0x3f834d];if(!_0xc677b5)continue;let _0xcba86d={};for(let _0x18ff83 of _0x11629b[_0x3a325e(0x30b)])_0xcba86d[_0x18ff83]=_0x1b74a9(_0x11629b,_0xc677b5['id'],_0x18ff83);_0x2610f7[_0x3a325e(0x4bf)]({'recordId':_0xc677b5['id'],'values':_0xcba86d});}return _0x2610f7;},{'tableId':_0x11629b['id'],'records':_0x4914b8[_0x23bc94(0x13b)],'fields':_0x11629b[_0x23bc94(0x30b)]['length']});return this[_0x23bc94(0x182)][_0x23bc94(0x25a)](_0x11629b['id'],{'table':_0x11629b,'rows':_0x490f81,'rowIndexById':_0x22ca0d(_0x490f81),'globalRevision':this['_globalRevision'],'tableRevision':this[_0x23bc94(0x220)](_0x11629b['id']),'cellRevision':_0x5dba7e}),_0x490f81;},{'tableId':_0x11629b['id'],'records':((_0x3f8f00=_0x11629b[_0x3ce882(0x411)])==null?void 0x0:_0x3f8f00[_0x3ce882(0x13b)])??Object[_0x3ce882(0x1fe)](_0x11629b[_0x3ce882(0x312)]??{})['length'],'fields':_0x11629b[_0x3ce882(0x30b)][_0x3ce882(0x13b)]});}[_0x164ecf(0x2a0)](_0x268018,_0x1492bc,_0x133dec){const _0x2741be=_0x164ecf;let _0x46c8a7=(this['_cellInvalidations']['get'](_0x268018['id'])??[])[_0x2741be(0x41f)](_0x1a1e1b=>_0x1a1e1b[_0x2741be(0x341)]>_0x1492bc[_0x2741be(0x344)]&&_0x1a1e1b[_0x2741be(0x341)]<=_0x133dec);if(!_0x46c8a7[_0x2741be(0x13b)])return _0x1492bc['table']===_0x268018?_0x1492bc['rows']:null;let _0x4f6f4d=_0x1492bc[_0x2741be(0x34c)],_0x51709f=new Map();for(let _0x5a5419 of _0x46c8a7){let _0x41cac9=_0x51709f['get'](_0x5a5419[_0x2741be(0x1d9)]);_0x41cac9||(_0x41cac9=new Set(),_0x51709f[_0x2741be(0x25a)](_0x5a5419[_0x2741be(0x1d9)],_0x41cac9)),_0x41cac9[_0x2741be(0x134)](_0x5a5419[_0x2741be(0x195)]);}for(let [_0xc76cd4,_0x12e635]of _0x51709f){if(!_0x268018['records'][_0xc76cd4])return null;let _0x5bf1a9=_0x1492bc['rowIndexById'][_0x2741be(0x3e9)](_0xc76cd4);if(_0x5bf1a9==null)return null;_0x4f6f4d===_0x1492bc[_0x2741be(0x34c)]&&(_0x4f6f4d=[..._0x1492bc['rows']]);let _0x26f651=_0x4f6f4d[_0x5bf1a9],_0x2e97b0={..._0x26f651[_0x2741be(0x10a)]};_0x12e635[_0x2741be(0x49e)](_0x3b6afc=>{_0x2e97b0[_0x3b6afc]=_0x1b74a9(_0x268018,_0xc76cd4,_0x3b6afc);}),_0x4f6f4d[_0x5bf1a9]={..._0x26f651,'values':_0x2e97b0};}let _0x37a4f6={'table':_0x268018,'rows':_0x4f6f4d,'rowIndexById':_0x1492bc['rowIndexById'],'globalRevision':this[_0x2741be(0x29e)],'tableRevision':this[_0x2741be(0x220)](_0x268018['id']),'cellRevision':_0x133dec};return this['_projectedRowsCache'][_0x2741be(0x25a)](_0x268018['id'],_0x37a4f6),this['_cellInvalidations']['set'](_0x268018['id'],(this['_cellInvalidations']['get'](_0x268018['id'])??[])[_0x2741be(0x41f)](_0x5e5011=>_0x5e5011['revision']>Math[_0x2741be(0x427)](0x0,_0x133dec-0x100))),_0x4f6f4d;}[_0x164ecf(0x1e8)](_0x1687b7,_0x51cc41){const _0xeb0d57=_0x164ecf;let _0x2ebedc=new Map(_0x51cc41['map'](_0x330203=>[_0x330203[_0xeb0d57(0x1d9)],_0x330203])),_0x2cb8ab=!0x1,_0x3f8c77=_0x1687b7[_0xeb0d57(0x2a7)](_0x5c7b13=>{const _0x48118d=_0xeb0d57;let _0x403f6e=_0x2ebedc[_0x48118d(0x3e9)](_0x5c7b13[_0x48118d(0x1d9)]);return _0x403f6e?_0x403f6e===_0x5c7b13?_0x5c7b13:(_0x2cb8ab=!0x0,_0x403f6e):_0x5c7b13;});return _0x2cb8ab?_0x3f8c77:_0x1687b7;}[_0x164ecf(0x354)](_0x41426d,_0x2ca97e,_0x5c46c0,_0x2dabf7){const _0x40d835=_0x164ecf;return!_0x2dabf7['size']||_0x2ca97e===_0x5c46c0?!0x1:_0x5c46c0-_0x2ca97e>0x100||(this[_0x40d835(0x1e9)]['get'](_0x41426d)??[])['some'](_0x2767a2=>_0x2767a2['revision']>_0x2ca97e&&_0x2767a2[_0x40d835(0x341)]<=_0x5c46c0&&_0x2dabf7[_0x40d835(0x1df)](_0x2767a2[_0x40d835(0x195)]));}['_filterSortFieldIds'](_0xf4de19){const _0x15ca7b=_0x164ecf;var _0x285bd7,_0x5a4f5f;let _0x4bd0a0=new Set();return _0xf4de19==null||(_0x285bd7=_0xf4de19[_0x15ca7b(0x41f)])==null||_0x285bd7[_0x15ca7b(0x2e0)][_0x15ca7b(0x49e)](_0x2a82b0=>_0x4bd0a0[_0x15ca7b(0x134)](_0x2a82b0[_0x15ca7b(0x195)])),_0xf4de19==null||(_0x5a4f5f=_0xf4de19[_0x15ca7b(0x281)])==null||_0x5a4f5f[_0x15ca7b(0x49e)](_0x10dea9=>_0x4bd0a0[_0x15ca7b(0x134)](_0x10dea9[_0x15ca7b(0x195)])),_0x4bd0a0;}[_0x164ecf(0xfb)](_0x41c539){const _0x377d03=_0x164ecf;var _0x40837b;let _0x4e862e=this[_0x377d03(0x30c)](_0x41c539);return(_0x40837b=_0x41c539[_0x377d03(0x332)])==null||_0x40837b[_0x377d03(0x49e)](_0x4a89d0=>_0x4e862e[_0x377d03(0x134)](_0x4a89d0['fieldId'])),_0x4e862e;}[_0x164ecf(0x149)](_0x453344,_0xe02cd9,_0x40d00a){const _0x17dc08=_0x164ecf;let _0x1a3ce2=_0xe02cd9==null?void 0x0:_0xe02cd9['filter'];if(!(_0x1a3ce2!=null&&_0x1a3ce2[_0x17dc08(0x2e0)][_0x17dc08(0x13b)]))return _0x40d00a;let _0xb06399=_0x1a3ce2[_0x17dc08(0x2e0)]['filter'](_0x4685e0=>!_0x4dc43e(_0x4685e0));return _0xb06399[_0x17dc08(0x13b)]?_0x40d00a['filter'](_0x308eb7=>{const _0x1fd9db=_0x17dc08;if(_0x1a3ce2[_0x1fd9db(0x1ec)]===_0x9b4f24[_0x1fd9db(0x103)]['OR']){for(let _0x592705 of _0xb06399){let _0x5722e8=_0x453344[_0x1fd9db(0x43b)][_0x592705['fieldId']];if(!_0x5722e8||this['_fieldRegistry']['get'](_0x5722e8[_0x1fd9db(0x132)])[_0x1fd9db(0x41f)](_0x308eb7[_0x1fd9db(0x10a)][_0x5722e8['id']],_0x592705['operator'],_0x592705[_0x1fd9db(0x236)],_0x5722e8))return!0x0;}return!0x1;}for(let _0x358f53 of _0xb06399){let _0xb2ce44=_0x453344[_0x1fd9db(0x43b)][_0x358f53[_0x1fd9db(0x195)]];if(_0xb2ce44&&!this['_fieldRegistry'][_0x1fd9db(0x3e9)](_0xb2ce44[_0x1fd9db(0x132)])[_0x1fd9db(0x41f)](_0x308eb7[_0x1fd9db(0x10a)][_0xb2ce44['id']],_0x358f53[_0x1fd9db(0x16f)],_0x358f53['operand'],_0xb2ce44))return!0x1;}return!0x0;}):_0x40d00a;}[_0x164ecf(0x3e4)](_0x501b06,_0x51d72f,_0x134fbf){const _0x4c3aec=_0x164ecf;let _0x49935c=(_0x51d72f==null?void 0x0:_0x51d72f[_0x4c3aec(0x281)])??[];if(!_0x49935c[_0x4c3aec(0x13b)])return _0x134fbf;let _0x82658c=_0x49935c[_0x4c3aec(0x17e)](_0x15502f=>{const _0x171404=_0x4c3aec;let _0x32d698=_0x501b06[_0x171404(0x43b)][_0x15502f[_0x171404(0x195)]];return _0x32d698?[{..._0x15502f,'field':_0x32d698}]:[];});return _0x82658c[_0x4c3aec(0x13b)]?this['_canUseFastSort'](_0x82658c)?this['_fastSortRows'](_0x82658c,_0x134fbf):[..._0x134fbf][_0x4c3aec(0x281)]((_0x2e2d2a,_0xa00cd4)=>{const _0x52faa1=_0x4c3aec;for(let _0x517df2 of _0x82658c){let _0x501318=_0x517df2['field'],_0x2999b4=this['_fieldRegistry'][_0x52faa1(0x3e9)](_0x501318[_0x52faa1(0x132)])[_0x52faa1(0x303)](_0x2e2d2a['values'][_0x501318['id']],_0xa00cd4[_0x52faa1(0x10a)][_0x501318['id']],_0x501318);if(_0x2999b4!==0x0)return _0x517df2[_0x52faa1(0x366)]===_0x9b4f24['BaseSortDirection']['DESC']?-_0x2999b4:_0x2999b4;}return 0x0;}):_0x134fbf;}[_0x164ecf(0x389)](_0x242755){const _0x2a9d9a=_0x164ecf;return _0x242755[_0x2a9d9a(0x3e2)](_0x1d2f6a=>_0x145cf2['has'](_0x1d2f6a['field']['type']));}[_0x164ecf(0x40a)](_0x2e8e74,_0x139d01){const _0x54942d=_0x164ecf;return _0x139d01['map']((_0x2f7288,_0x369111)=>({'row':_0x2f7288,'index':_0x369111,'keys':_0x2e8e74[_0x54942d(0x2a7)](_0x371f4e=>_0x2f7288[_0x54942d(0x10a)][_0x371f4e[_0x54942d(0x195)]])}))[_0x54942d(0x281)]((_0xae21c,_0x3e1aa2)=>{const _0x38e91d=_0x54942d;for(let _0x4209ac=0x0;_0x4209ac<_0x2e8e74[_0x38e91d(0x13b)];_0x4209ac++){let _0x35e78a=_0x4b4901(_0xae21c[_0x38e91d(0x1fe)][_0x4209ac],_0x3e1aa2[_0x38e91d(0x1fe)][_0x4209ac]);if(_0x35e78a!==0x0)return _0x2e8e74[_0x4209ac][_0x38e91d(0x366)]===_0x9b4f24[_0x38e91d(0x280)][_0x38e91d(0x26e)]?-_0x35e78a:_0x35e78a;}return _0xae21c[_0x38e91d(0x2d4)]-_0x3e1aa2[_0x38e91d(0x2d4)];})[_0x54942d(0x2a7)](_0x2966df=>_0x2966df['row']);}[_0x164ecf(0x131)](_0x1a32e0,_0x2fa854,_0x4c5df0){const _0x2a4ffd=_0x164ecf;var _0x16b2f9;return _0x3022ee('BaseProjection.projectGroups',()=>{const _0x55e994=_0x17a2;var _0x51f7b3;if(!((_0x51f7b3=_0x2fa854[_0x55e994(0x332)])!=null&&_0x51f7b3[_0x55e994(0x13b)]))return[];let _0x1ca78f=_0x2fa854['group']['filter'](_0x289152=>_0x1a32e0[_0x55e994(0x43b)][_0x289152[_0x55e994(0x195)]]);if(!_0x1ca78f[_0x55e994(0x13b)])return[];let _0x21d5c0=this[_0x55e994(0x4ad)](_0x1a32e0['id'],_0x2fa854,_0x1ca78f),_0x91e85e=this[_0x55e994(0x3c3)](_0x1a32e0['id']),_0x574eaf=this[_0x55e994(0x27c)][_0x55e994(0x3e9)](_0x21d5c0);if(_0x574eaf&&_0x574eaf[_0x55e994(0x1dc)]===this[_0x55e994(0x29e)]&&_0x574eaf[_0x55e994(0x242)]===this[_0x55e994(0x220)](_0x1a32e0['id'])){if(_0x574eaf[_0x55e994(0x344)]===_0x91e85e&&_0x574eaf[_0x55e994(0x34c)]===_0x4c5df0)return _0x574eaf['groups'];if(_0x574eaf[_0x55e994(0x344)]!==_0x91e85e&&!this[_0x55e994(0x354)](_0x1a32e0['id'],_0x574eaf[_0x55e994(0x344)],_0x91e85e,this[_0x55e994(0xfb)](_0x2fa854)))return this[_0x55e994(0x27c)][_0x55e994(0x25a)](_0x21d5c0,{..._0x574eaf,'rows':_0x4c5df0,'cellRevision':_0x91e85e}),_0x574eaf[_0x55e994(0x498)];}let _0x1a9e00=new Map();for(let _0x4f554a of _0x4c5df0){let _0x52bea2=_0x1a9e00,_0x3848f5='';for(let _0x214a4d=0x0;_0x214a4d<_0x1ca78f[_0x55e994(0x13b)];_0x214a4d++){let _0x448bb5=_0x1ca78f[_0x214a4d],_0x178124=_0x4f554a[_0x55e994(0x10a)][_0x448bb5[_0x55e994(0x195)]],_0x5c9fac=_0x20f418(_0x178124),_0x2300ac=_0x448bb5['fieldId']+'\x00'+_0x5c9fac,_0x407577=_0x3848f5+'/'+_0x448bb5[_0x55e994(0x195)]+':'+_0x5c9fac,_0x28c11c=_0x52bea2[_0x55e994(0x3e9)](_0x2300ac);_0x28c11c||(_0x28c11c={'key':_0x5c9fac,'value':_0x178124,'path':_0x407577,'label':_0x5c9fac||_0x55e994(0x482),'fieldId':_0x448bb5[_0x55e994(0x195)],'level':_0x214a4d,'recordIds':[],'children':new Map()},_0x52bea2[_0x55e994(0x25a)](_0x2300ac,_0x28c11c)),_0x28c11c[_0x55e994(0x453)][_0x55e994(0x4bf)](_0x4f554a[_0x55e994(0x1d9)]),_0x52bea2=_0x28c11c[_0x55e994(0x46d)],_0x3848f5=_0x407577;}}let _0x367eee=this[_0x55e994(0x3b1)](_0x1ca78f,_0x1a9e00,0x0);return this[_0x55e994(0x27c)][_0x55e994(0x25a)](_0x21d5c0,{'table':_0x1a32e0,'rows':_0x4c5df0,'groups':_0x367eee,'globalRevision':this[_0x55e994(0x29e)],'tableRevision':this[_0x55e994(0x220)](_0x1a32e0['id']),'cellRevision':_0x91e85e}),_0x367eee;},{'tableId':_0x1a32e0['id'],'viewId':_0x2fa854['id'],'viewType':_0x2fa854[_0x2a4ffd(0x132)],'rows':_0x4c5df0[_0x2a4ffd(0x13b)],'groupFields':((_0x16b2f9=_0x2fa854[_0x2a4ffd(0x332)])==null?void 0x0:_0x16b2f9['length'])??0x0});}[_0x164ecf(0x3b1)](_0x5f7bf1,_0x4995ed,_0x31fdd6){const _0x41f264=_0x164ecf;var _0x5e3fc5;let _0x41f84b=Array[_0x41f264(0x338)](_0x4995ed['values']()),_0x55c7aa=(_0x5e3fc5=_0x5f7bf1[_0x31fdd6])==null?void 0x0:_0x5e3fc5[_0x41f264(0x366)];return _0x55c7aa&&_0x41f84b[_0x41f264(0x281)]((_0x423e29,_0xea68ef)=>{const _0x570600=_0x41f264;let _0x5e66a6=_0x423e29['key'][_0x570600(0x2c6)](_0xea68ef[_0x570600(0x1a1)]);return _0x55c7aa===_0x9b4f24[_0x570600(0x280)]['DESC']?-_0x5e66a6:_0x5e66a6;}),_0x41f84b['map'](_0x210e95=>({'key':_0x210e95[_0x41f264(0x1a1)],'value':_0x210e95['value'],'path':_0x210e95['path'],'label':_0x210e95[_0x41f264(0x316)],'fieldId':_0x210e95['fieldId'],'level':_0x210e95[_0x41f264(0x385)],'recordIds':_0x210e95['recordIds'],'children':this[_0x41f264(0x3b1)](_0x5f7bf1,_0x210e95[_0x41f264(0x46d)],_0x31fdd6+0x1)}));}['_title'](_0x12629d,_0x2268fc,_0x524bd3){const _0x3c8f02=_0x164ecf;let _0x7ab939=_0x524bd3??_0x12629d[_0x3c8f02(0x302)],_0x3ce6ba=_0x2268fc[_0x3c8f02(0x10a)][_0x7ab939];return _0x3ce6ba==null?'':String(_0x3ce6ba);}[_0x164ecf(0x231)](_0x4d18d4){const _0x23b541=_0x164ecf;if(Array[_0x23b541(0x32e)](_0x4d18d4))return _0x4d18d4['map'](String);if(typeof _0x4d18d4==_0x23b541(0x1e4)&&_0x4d18d4)return[_0x4d18d4];}[_0x164ecf(0x1f7)](_0x51a329){const _0x16b244=_0x164ecf;return this[_0x16b244(0x47e)][_0x16b244(0x3e9)](_0x51a329[_0x16b244(0x132)])[_0x16b244(0x2ff)](_0x51a329);}};_0x419b34=_0x12cf0c([_0x891af9(0x0,(0x0,_0x9b4f24['Inject'])(_0x258447))],_0x419b34);function _0x20f418(_0x516a2a){return _0x516a2a==null?'':String(_0x516a2a);}function _0x22ca0d(_0x196c2d){const _0x5d8e10=_0x164ecf;return new Map(_0x196c2d[_0x5d8e10(0x2a7)]((_0x59d9a1,_0x91c9e8)=>[_0x59d9a1['recordId'],_0x91c9e8]));}function _0x5671be(_0x34a1f3){const _0x541a43=_0x164ecf;return!!(Array[_0x541a43(0x32e)](_0x34a1f3['recordOrder'])&&_0x34a1f3[_0x541a43(0x371)]&&_0x34a1f3['rowId']&&_0x34a1f3['colIndex']&&_0x34a1f3[_0x541a43(0x282)]&&_0x34a1f3[_0x541a43(0x216)]);}function _0x28c2ce(_0x4bd901){const _0x295f42=_0x164ecf;return _0x4bd901!=null&&_0x4bd901[_0x295f42(0x2e0)][_0x295f42(0x13b)]?{'conjunction':_0x4bd901['conjunction'],'conditions':_0x4bd901[_0x295f42(0x2e0)][_0x295f42(0x2a7)](_0x2b5f20=>({'fieldId':_0x2b5f20[_0x295f42(0x195)],'operator':_0x2b5f20[_0x295f42(0x16f)],'operand':_0x2b5f20['operand']}))}:null;}function _0x4b6acf(_0x34ae51){const _0x171de9=_0x164ecf;return _0x34ae51!=null&&_0x34ae51[_0x171de9(0x13b)]?_0x34ae51['map'](_0x9be763=>({'fieldId':_0x9be763[_0x171de9(0x195)],'direction':_0x9be763[_0x171de9(0x366)]})):null;}function _0x30cfcf(_0x5bd2c6){const _0x4a4b51=_0x164ecf;if(typeof _0x5bd2c6!=_0x4a4b51(0x42c)||!_0x5bd2c6)return JSON[_0x4a4b51(0x122)](_0x5bd2c6)??_0x4a4b51(0x494);if(Array['isArray'](_0x5bd2c6))return'['+_0x5bd2c6['map'](_0x30cfcf)[_0x4a4b51(0x305)](',')+']';let _0x48cd2c=_0x5bd2c6;return'{'+Object[_0x4a4b51(0x1fe)](_0x48cd2c)[_0x4a4b51(0x281)]()[_0x4a4b51(0x2a7)](_0x36edaa=>JSON[_0x4a4b51(0x122)](_0x36edaa)+':'+_0x30cfcf(_0x48cd2c[_0x36edaa]))[_0x4a4b51(0x305)](',')+'}';}function _0x39f0b2(_0x3c23a2){const _0x3c1ee1=_0x164ecf;let _0x509372=Object[_0x3c1ee1(0x10a)](_0x3c23a2)[_0x3c1ee1(0x281)]((_0x1d1d58,_0x3fd753)=>_0x1d1d58[_0x3c1ee1(0x1ac)][_0x3c1ee1(0x2c6)](_0x3fd753[_0x3c1ee1(0x1ac)])),_0x3726e8=[];for(let _0x4a5088 of _0x509372)_0x3726e8['push'](_0x4a5088['id']);return _0x3726e8;}let _0x2be254=0x5a0*0x3c*0x3e8;function _0x5c2872(_0x1a7275){const _0x237fec=_0x164ecf;return{'weekdays':Array['isArray'](_0x1a7275==null?void 0x0:_0x1a7275[_0x237fec(0x1d4)])&&_0x1a7275[_0x237fec(0x1d4)][_0x237fec(0x13b)]?[...new Set(_0x1a7275[_0x237fec(0x1d4)][_0x237fec(0x41f)](_0x784f39=>Number['isInteger'](_0x784f39)&&_0x784f39>=0x1&&_0x784f39<=0x7))]:[0x1,0x2,0x3,0x4,0x5],'exceptions':Array[_0x237fec(0x32e)](_0x1a7275==null?void 0x0:_0x1a7275[_0x237fec(0x3c6)])?_0x1a7275['exceptions'][_0x237fec(0x17e)](_0x4346f8=>!_0x4346f8||!Number[_0x237fec(0x4a1)](_0x4346f8[_0x237fec(0x34f)])?[]:[{'id':String(_0x4346f8['id']||_0x237fec(0x33c)+_0x4346f8['date']),'date':_0x13f492(Number(_0x4346f8[_0x237fec(0x34f)])),'name':String(_0x4346f8[_0x237fec(0x267)]||_0x237fec(0x313)),'type':_0x4346f8[_0x237fec(0x132)]===_0x237fec(0x203)?'working':_0x237fec(0x419)}]):[]};}function _0x52959a(_0x330b8a,_0x362689,_0x2a047e,_0x1246f1){let _0x52cea4=_0x5e916d(_0x330b8a,_0x362689),_0x3ce8c9=_0x5a1a55(_0x330b8a,_0x2a047e),_0x2146a5=_0x2967c4(_0x330b8a,_0x52cea4,_0x3ce8c9,_0x1246f1);return{'scale':_0x330b8a,'start':_0x52cea4,'end':_0x3ce8c9,'unitWidth':_0x5c1bf3(_0x330b8a),'majorHeaders':_0xe8e0ff(_0x330b8a,_0x52cea4,_0x3ce8c9),'columns':_0x2146a5};}function _0x2967c4(_0x2ec51f,_0x513c68,_0x12e096,_0x27f37b){const _0x171ed7=_0x164ecf;let _0x1fb32f=[],_0x987f2=_0x513c68;for(;_0x987f2<_0x12e096;){let _0x24bddc=_0x2ec51f===_0x171ed7(0x105)?_0x43308a(_0x987f2,0x7):_0x2ec51f===_0x171ed7(0x311)?_0x46a71e(_0x987f2,0x1):_0x43308a(_0x987f2,0x1);_0x1fb32f[_0x171ed7(0x4bf)]({'id':_0x2ec51f+'-'+_0x987f2,'label':_0x3611ef(_0x2ec51f,_0x987f2,_0x24bddc),'majorLabel':_0x488634(_0x2ec51f,_0x987f2),'start':_0x987f2,'end':_0x24bddc,'nonWorking':_0x487ba4(_0x987f2,_0x24bddc,_0x27f37b)}),_0x987f2=_0x24bddc;}return _0x1fb32f;}function _0xe8e0ff(_0x3a1752,_0x115bf6,_0xf9e757){const _0x3a7f0f=_0x164ecf;let _0x8001a1=[],_0x521fa6=_0x3a1752===_0x3a7f0f(0x311)?_0x3e58dd(_0x115bf6):_0x5f9bf7(_0x115bf6);for(;_0x521fa6<_0xf9e757;){let _0x547dd2=_0x3a1752==='year'?_0x3d1337(_0x521fa6,0x1):_0x46a71e(_0x521fa6,0x1);_0x8001a1[_0x3a7f0f(0x4bf)]({'id':_0x3a7f0f(0x43c)+_0x521fa6,'label':_0x3a1752==='year'?String(new Date(_0x521fa6)['getUTCFullYear']()):_0xb46ee2(_0x521fa6),'start':_0x521fa6,'end':_0x547dd2}),_0x521fa6=_0x547dd2;}return _0x8001a1;}function _0x5c1bf3(_0x34ff16){const _0x5531d7=_0x164ecf;switch(_0x34ff16){case _0x5531d7(0x35c):return 0xac;case _0x5531d7(0x105):return 0xac;case _0x5531d7(0x311):return 0x88;default:return 0x56;}}function _0x5e916d(_0x9ecfc2,_0x2d40a1){const _0x434bce=_0x164ecf;return _0x9ecfc2==='year'?_0x3e58dd(_0x2d40a1):_0x9ecfc2===_0x434bce(0x105)?_0xb05b0c(_0x2d40a1):_0x13f492(_0x2d40a1);}function _0x5a1a55(_0x56440c,_0x4f8d1a){const _0x5871fb=_0x164ecf;return _0x56440c===_0x5871fb(0x311)?_0x3d1337(_0x3e58dd(_0x4f8d1a),0x1):_0x56440c===_0x5871fb(0x105)?_0x43308a(_0xb05b0c(_0x4f8d1a),0x7):_0x43308a(_0x13f492(_0x4f8d1a),0x1);}function _0x3611ef(_0x4f54cc,_0x5bccc8,_0x284277){const _0x3d7023=_0x164ecf;let _0x7461da=new Date(_0x5bccc8);return _0x4f54cc==='quarter'?_0x7461da[_0x3d7023(0x41c)]()+'-'+new Date(_0x284277-_0x2be254)[_0x3d7023(0x41c)]():_0x4f54cc===_0x3d7023(0x311)?_0x7461da[_0x3d7023(0x128)](_0x3d7023(0x28c),{'month':_0x3d7023(0x146),'timeZone':_0x3d7023(0x3b4)}):String(_0x7461da['getUTCDate']());}function _0x488634(_0x28505f,_0x18e7cb){const _0x19e6fe=_0x164ecf;return _0x28505f==='year'?String(new Date(_0x18e7cb)[_0x19e6fe(0x1fc)]()):_0xb46ee2(_0x18e7cb);}function _0x4f0b32(_0x3ce1bd,_0xa1164,_0x32ca09){let _0x1ead79=_0x5c2872(_0x32ca09),_0x4745ed=0x0;for(let _0x121e6e=_0x13f492(_0x3ce1bd);_0x121e6e<=_0x13f492(_0xa1164);_0x121e6e=_0x43308a(_0x121e6e,0x1))_0x35bd3e(_0x121e6e,_0x1ead79)||_0x4745ed++;return _0x4745ed;}function _0x487ba4(_0x17dd94,_0x290bd4,_0x26e6d2){if(!_0x26e6d2)return!0x1;let _0x4395a1=_0x5c2872(_0x26e6d2);for(let _0x5f27b2=_0x13f492(_0x17dd94);_0x5f27b2<_0x290bd4;_0x5f27b2=_0x43308a(_0x5f27b2,0x1))if(!_0x35bd3e(_0x5f27b2,_0x4395a1))return!0x1;return!0x0;}function _0x35bd3e(_0x78d694,_0x3726a7){const _0x2abcde=_0x164ecf;let _0x2c5ea7=_0x13f492(_0x78d694),_0xee9ade=_0x3726a7['exceptions'][_0x2abcde(0x396)](_0x344d9c=>_0x13f492(_0x344d9c[_0x2abcde(0x34f)])===_0x2c5ea7);if(_0xee9ade)return _0xee9ade[_0x2abcde(0x132)]===_0x2abcde(0x419);let _0x3077cc=new Date(_0x2c5ea7)[_0x2abcde(0x374)](),_0x43d2de=_0x3077cc===0x0?0x7:_0x3077cc;return!_0x3726a7[_0x2abcde(0x1d4)]['includes'](_0x43d2de);}function _0x13f492(_0x271a58){const _0x29ca18=_0x164ecf;let _0x4ee20b=new Date(_0x271a58);return Date[_0x29ca18(0x3b4)](_0x4ee20b[_0x29ca18(0x1fc)](),_0x4ee20b['getUTCMonth'](),_0x4ee20b['getUTCDate']());}function _0xb05b0c(_0x28f27d){const _0x3e47d7=_0x164ecf;let _0x2d891f=_0x13f492(_0x28f27d),_0x116046=new Date(_0x2d891f)[_0x3e47d7(0x374)]();return _0x43308a(_0x2d891f,-(_0x116046===0x0?0x6:_0x116046-0x1));}function _0x5f9bf7(_0x4d5dbd){const _0x1ef777=_0x164ecf;let _0x400151=new Date(_0x4d5dbd);return Date[_0x1ef777(0x3b4)](_0x400151[_0x1ef777(0x1fc)](),_0x400151[_0x1ef777(0x353)](),0x1);}function _0x3e58dd(_0x3af82b){const _0x3f97f8=_0x164ecf;let _0x10720a=new Date(_0x3af82b);return Date[_0x3f97f8(0x3b4)](_0x10720a[_0x3f97f8(0x1fc)](),0x0,0x1);}function _0x43308a(_0x239116,_0x165494){return _0x239116+_0x165494*_0x2be254;}function _0x46a71e(_0x3ef7fb,_0x164dc7){const _0x6b326a=_0x164ecf;let _0x31bef3=new Date(_0x3ef7fb);return Date[_0x6b326a(0x3b4)](_0x31bef3['getUTCFullYear'](),_0x31bef3['getUTCMonth']()+_0x164dc7,0x1);}function _0x3d1337(_0x1d48a4,_0x24e086){let _0x3f6ca3=new Date(_0x1d48a4);return Date['UTC'](_0x3f6ca3['getUTCFullYear']()+_0x24e086,0x0,0x1);}function _0xb46ee2(_0x2ba085){const _0x36ae15=_0x164ecf;let _0x23e365=new Date(_0x2ba085);return _0x23e365[_0x36ae15(0x128)](_0x36ae15(0x28c),{'month':_0x36ae15(0x146),'timeZone':_0x36ae15(0x3b4)})+'\x20'+_0x23e365['getUTCFullYear']();}function _0x4b4901(_0x2b19df,_0x2cb2ae){const _0x52025b=_0x164ecf;if(_0x2b19df==null&&_0x2cb2ae==null)return 0x0;if(_0x2b19df==null)return-0x1;if(_0x2cb2ae==null)return 0x1;if(typeof _0x2b19df==_0x52025b(0xf9)||typeof _0x2cb2ae=='boolean')return Number(_0x2b19df===!0x0)-Number(_0x2cb2ae===!0x0);let _0x5522ef=Number(_0x2b19df),_0x4dcb36=Number(_0x2cb2ae),_0x2af831=Number[_0x52025b(0x4a1)](_0x5522ef),_0x4d1b1b=Number[_0x52025b(0x4a1)](_0x4dcb36);return _0x2af831&&_0x4d1b1b?_0x5522ef-_0x4dcb36:_0x2af831?0x1:_0x4d1b1b?-0x1:String(_0x2b19df)[_0x52025b(0x2c6)](String(_0x2cb2ae));}function _0x4dc43e(_0x2c0bd3){const _0x2c546d=_0x164ecf;if(_0x2c0bd3[_0x2c546d(0x16f)]!=='is'&&_0x2c0bd3[_0x2c546d(0x16f)]!==_0x2c546d(0x1ee))return!0x1;let _0x147537=_0x2c0bd3[_0x2c546d(0x236)];return _0x147537==null?!0x0:typeof _0x147537==_0x2c546d(0x1e4)?_0x147537[_0x2c546d(0x276)]()==='':Array[_0x2c546d(0x32e)](_0x147537)?_0x147537[_0x2c546d(0x13b)]===0x0:!0x1;}function _0x24150d(_0x32e31a,_0x39c13d){const _0x8bcddc=_0x164ecf;var _0x5364dc;let _0xfca99b=Array[_0x8bcddc(0x32e)]((_0x5364dc=_0x32e31a[_0x8bcddc(0x19f)])==null?void 0x0:_0x5364dc[_0x8bcddc(0x2e8)])?_0x32e31a[_0x8bcddc(0x19f)][_0x8bcddc(0x2e8)]:[];for(let _0x35e5fd of _0xfca99b){if(_0x35e5fd==null)continue;if(typeof _0x35e5fd=='string'){if(_0x35e5fd===_0x39c13d)return{'id':_0x35e5fd,'name':_0x35e5fd};continue;}let _0xbd597c=_0x35e5fd,_0x729f9b=String(_0xbd597c['id']??_0xbd597c[_0x8bcddc(0x267)]??''),_0x42516d=String(_0xbd597c[_0x8bcddc(0x267)]??_0xbd597c['id']??_0x729f9b);if(_0x729f9b===_0x39c13d||_0x42516d===_0x39c13d)return{'id':_0x729f9b,'name':_0x42516d,'color':_0xbd597c[_0x8bcddc(0x449)]==null?void 0x0:String(_0xbd597c[_0x8bcddc(0x449)])};}return null;}let _0x855ab4={'id':'base.mutation.apply-base-json1','type':_0x9b4f24['CommandType'][_0x164ecf(0x32c)],'handler'(_0x2eaaeb,_0x3e16cc){const _0x4c9a21=_0x164ecf;let {unitId:_0x399916,op:_0x53234e}=_0x3e16cc,_0x2e9a4a=_0x2eaaeb[_0x4c9a21(0x3e9)](_0x9b4f24[_0x4c9a21(0x15c)])[_0x4c9a21(0x10d)](_0x399916,_0x9b4f24['UniverInstanceType']['UNIVER_BASE']);if(!_0x2e9a4a)return!0x1;let _0x19f140=_0x2e9a4a[_0x4c9a21(0x293)](),_0x3a5459=new _0x1f3607(),_0x4c8706=_0x3a5459[_0x4c9a21(0x2ed)](_0x53234e),_0x3231f9=_0x3a5459[_0x4c9a21(0x2f4)](_0x19f140,_0x53234e);return _0x2e9a4a['setSnapshot'](_0x3231f9),_0x886da2(_0x3231f9,_0x4c8706,_0x2eaaeb[_0x4c9a21(0x3e9)](_0x369d05)),!0x0;}};function _0x886da2(_0x535c53,_0x300c61,_0x518088){const _0x540b08=_0x164ecf;let _0x1868dd=new Set();for(let _0x7820dc of _0x300c61){if(_0x7820dc[_0x540b08(0x167)]!==_0x540b08(0x213)){_0x518088['invalidateByOp']();return;}let _0x38fb2e=_0x189fb4(_0x535c53,_0x7820dc);if(!_0x38fb2e){_0x518088[_0x540b08(0x36f)]();return;}let _0xcfd2ac=_0x38fb2e[_0x540b08(0x28a)]+'\x00'+_0x38fb2e['recordId']+'\x00'+_0x38fb2e[_0x540b08(0x195)];_0x1868dd[_0x540b08(0x1df)](_0xcfd2ac)||(_0x1868dd[_0x540b08(0x134)](_0xcfd2ac),_0x518088['invalidateByCell'](_0x38fb2e['tableId'],_0x38fb2e[_0x540b08(0x1d9)],_0x38fb2e[_0x540b08(0x195)]));}}function _0x189fb4(_0x3b054a,_0x5c01cc){const _0x246631=_0x164ecf;var _0x284379,_0x28636b;if(!_0x5c01cc[_0x246631(0x28a)])return null;if(_0x5c01cc[_0x246631(0x1d9)]&&_0x5c01cc[_0x246631(0x195)])return{'tableId':_0x5c01cc[_0x246631(0x28a)],'recordId':_0x5c01cc[_0x246631(0x1d9)],'fieldId':_0x5c01cc[_0x246631(0x195)]};if(_0x5c01cc[_0x246631(0x12f)]==null||_0x5c01cc[_0x246631(0x1b3)]==null)return null;let _0x413cb8=_0x3b054a[_0x246631(0x4cb)][_0x5c01cc[_0x246631(0x28a)]],_0x1dbac8=_0x413cb8==null||(_0x284379=_0x413cb8[_0x246631(0x3c7)])==null?void 0x0:_0x284379[_0x5c01cc[_0x246631(0x12f)]],_0x241591=_0x413cb8==null||(_0x28636b=_0x413cb8['colId'])==null?void 0x0:_0x28636b[_0x5c01cc[_0x246631(0x1b3)]];return!_0x1dbac8||!_0x241591?null:{'tableId':_0x5c01cc['tableId'],'recordId':_0x1dbac8,'fieldId':_0x241591};}function _0x19c89e(_0x495235,_0x51e384,_0x4c1467){const _0x1e035f=_0x164ecf;let _0x23b328=_0x495235[_0x1e035f(0x293)]()[_0x1e035f(0x4cb)][_0x51e384];if(!_0x23b328)return!0x1;let {viewIds:_0x431735,fieldIds:_0x3313c9,recordIds:_0x454640}=_0x4c1467||{};if(_0x431735){for(let _0x242895 of _0x431735)if(!_0x23b328[_0x1e035f(0x339)][_0x242895])return!0x1;}if(_0x3313c9){for(let _0x2356da of _0x3313c9)if(!_0x23b328['fields'][_0x2356da])return!0x1;}if(_0x454640){for(let _0xe347e3 of _0x454640)if(!_0x23b328[_0x1e035f(0x312)][_0xe347e3])return!0x1;}return!0x0;}function _0x3cd3a4(_0x2a872b,_0x372e1a,_0x2b6bf8){const _0x506ebd=_0x164ecf;if(_0x2b6bf8['id']===_0x9b4f24['BASE_RECORD_ID_FIELD_ID']||_0x2b6bf8[_0x506ebd(0x132)]===_0x9b4f24['BaseFieldType'][_0x506ebd(0x111)]||(0x0,_0x9b4f24[_0x506ebd(0x450)])(_0x2b6bf8[_0x506ebd(0x267)]))return!0x1;let _0x26fa6d=_0x2a872b['getSnapshot']();if(!_0x13d5f8(_0x26fa6d,_0x2b6bf8)[_0x506ebd(0x1ae)])return!0x1;if(_0x2b6bf8[_0x506ebd(0x132)]!==_0x9b4f24[_0x506ebd(0x3bc)]['RecordLink'])return!0x0;let _0xee50df=_0xfcdc79(_0x2b6bf8);if(!_0xee50df)return!0x1;if(_0xee50df[_0x506ebd(0x465)]===void 0x0)return!0x0;if(_0xee50df[_0x506ebd(0x465)]!==_0x9b4f24['BaseRecordLinkRole'][_0x506ebd(0x32d)]||_0xee50df['targetTableId']!==_0x372e1a||_0xee50df[_0x506ebd(0x299)]!==!0x1)return!0x1;let _0x3d8f46=_0x26fa6d[_0x506ebd(0x4cb)][_0x372e1a];return!Object['values'](_0x3d8f46[_0x506ebd(0x43b)])['some'](_0x43acb8=>{const _0x1359b3=_0x506ebd;var _0x3ee6fb;return _0x43acb8['id']!==_0x2b6bf8['id']&&_0x43acb8['type']===_0x9b4f24[_0x1359b3(0x3bc)][_0x1359b3(0x226)]&&((_0x3ee6fb=_0xfcdc79(_0x43acb8))==null?void 0x0:_0x3ee6fb[_0x1359b3(0x465)])===_0x9b4f24[_0x1359b3(0x4a2)][_0x1359b3(0x32d)];});}function _0x3af45b(_0x5a128f,_0x34e309,_0x2a14eb,_0x3e196e){const _0x50e63f=_0x164ecf;var _0x1c0046;let _0x5d1695=_0x5a128f[_0x50e63f(0x293)](),_0x2c66e6=(_0x1c0046=_0x5d1695[_0x50e63f(0x4cb)][_0x34e309])==null?void 0x0:_0x1c0046[_0x50e63f(0x43b)][_0x2a14eb];return!_0x2c66e6||_0x2c66e6['id']===_0x9b4f24[_0x50e63f(0x2c4)]||_0x2c66e6[_0x50e63f(0x132)]===_0x9b4f24[_0x50e63f(0x3bc)][_0x50e63f(0x111)]?!0x1:_0x2c66e6['type']!==_0x9b4f24[_0x50e63f(0x3bc)][_0x50e63f(0x226)]||_0x4cc18c(_0x5d1695,_0x2c66e6,_0x1dfea7(_0x3e196e))[_0x50e63f(0x1ae)];}function _0x52f5c8(_0x1c161f,_0xfc8b14,_0x2244e7){const _0xa4c81c=_0x164ecf;let _0x3226c0=_0x1c161f[_0xa4c81c(0x293)]()[_0xa4c81c(0x4cb)][_0xfc8b14];return!_0x3226c0||!(0x0,_0x9b4f24['isValidBaseRecordId'])(_0x2244e7['id'])||_0x3226c0[_0xa4c81c(0x312)][_0x2244e7['id']]||Object[_0xa4c81c(0x1b0)][_0xa4c81c(0x377)]['call'](_0x2244e7['values'],_0x9b4f24[_0xa4c81c(0x2c4)])&&_0x2244e7[_0xa4c81c(0x10a)][_0x9b4f24['BASE_RECORD_ID_FIELD_ID']]!==_0x2244e7['id']?!0x1:Object[_0xa4c81c(0x489)](_0x2244e7['values'])[_0xa4c81c(0x3e2)](([_0x57dc2a,_0x3bbde5])=>_0x57dc2a===_0x9b4f24[_0xa4c81c(0x2c4)]||_0x3af45b(_0x1c161f,_0xfc8b14,_0x57dc2a,_0x3bbde5));}function _0x43c7b7(_0x162514){const _0x9b7696=_0x164ecf;return{..._0x162514,'values':{..._0x162514[_0x9b7696(0x10a)],[_0x9b4f24[_0x9b7696(0x2c4)]]:_0x162514['id']}};}function _0x1dfea7(_0x570768){const _0x50ce94=_0x164ecf;if(_0x570768&&typeof _0x570768==_0x50ce94(0x42c)&&!Array[_0x50ce94(0x32e)](_0x570768)&&'v'in _0x570768){let _0x2b7538=_0x570768['v'];return _0x2b7538===void 0x0?null:_0x2b7538;}return _0x570768;}function _0x27ce94(_0x424116,_0x4856dc,_0x2a3ab0,_0x3173b2){const _0x35ce86=_0x164ecf;let _0x5ba24e=_0x424116[_0x35ce86(0x293)]()[_0x35ce86(0x4cb)][_0x4856dc];if(!_0x5ba24e)return null;let _0x5ccf50=_0x98202f(_0x5ba24e),_0x3e03cb=_0x5ccf50??_0x2e350d(_0x5ba24e),_0x7f852e=_0x2a3ab0['some'](_0x4bccfd=>Object[_0x35ce86(0x1b0)][_0x35ce86(0x377)][_0x35ce86(0x35d)](_0x4bccfd['values'],_0x3e03cb)),_0x3bb4e7=_0x5ccf50?_0x5ba24e[_0x35ce86(0x43b)][_0x5ccf50]:_0x7f852e?_0x736d67(_0x5ba24e,_0x3e03cb,_0x3173b2):null,_0x131d50=[];for(let _0x425e20 of _0x2a3ab0){let _0x103c64=_0x425e20[_0x35ce86(0x10a)][_0x3e03cb],_0x3836b0=_0x3bb4e7!==null&&Object[_0x35ce86(0x1b0)][_0x35ce86(0x377)][_0x35ce86(0x35d)](_0x425e20[_0x35ce86(0x10a)],_0x3e03cb),_0x5afb70=_0x1dfea7(_0x103c64),_0x442b8a=null;if(_0x3836b0){if(typeof _0x5afb70!=_0x35ce86(0x1e4)||!_0x57631c(_0x5afb70,!0x1)[_0x35ce86(0x1ae)])return null;_0x442b8a=_0x5afb70;}let _0x371900={};if(Object[_0x35ce86(0x489)](_0x425e20[_0x35ce86(0x10a)])[_0x35ce86(0x49e)](([_0x4dda26,_0x201fb5])=>{(!_0x3836b0||_0x4dda26!==_0x3e03cb)&&(_0x371900[_0x4dda26]=_0x201fb5);}),!_0x52f5c8(_0x424116,_0x4856dc,{..._0x425e20,'values':_0x371900}))return null;let _0x3a6d44={..._0x425e20['values']};_0x442b8a!==null&&(_0x3a6d44[_0x3e03cb]=_0x442b8a),_0x131d50[_0x35ce86(0x4bf)](_0x43c7b7({..._0x425e20,'values':_0x3a6d44}));}return{'records':_0x131d50,'hierarchyFieldToMaterialize':_0x5ccf50?null:_0x3bb4e7,'hierarchyChanges':_0x59860b(_0x5ba24e,_0x131d50)};}let _0x14de4b={'id':_0x164ecf(0x235),'type':_0x9b4f24[_0x164ecf(0x26d)][_0x164ecf(0x3e5)],'handler'(_0x4bbcfd,_0x1ded99){const _0x3a52ad=_0x164ecf;if(!_0x1ded99)return!0x1;let _0x5d1958=_0x4bbcfd['get'](_0x9b4f24[_0x3a52ad(0x15c)]),{unitId:_0x4a1ffd,tableId:_0x202fc0,records:_0x115c3f}=_0x1ded99,_0x460b10=_0x5d1958[_0x3a52ad(0x10d)](_0x4a1ffd,_0x9b4f24[_0x3a52ad(0x3d1)][_0x3a52ad(0x3a1)]),_0x255e68=_0x115c3f[_0x3a52ad(0x2a7)](_0x51e54c=>_0x51e54c['id']);if(!_0x460b10||!_0x19c89e(_0x460b10,_0x202fc0)||new Set(_0x255e68)[_0x3a52ad(0x476)]!==_0x255e68[_0x3a52ad(0x13b)])return!0x1;let _0x1c588a=_0x4bbcfd[_0x3a52ad(0x3e9)](_0x9b4f24[_0x3a52ad(0x46a)]),_0x2f4fe=_0x4bbcfd['get'](_0x9b4f24[_0x3a52ad(0x493)]),_0x209d80=_0x4bbcfd[_0x3a52ad(0x3e9)](_0x1e9ebe),_0x4b3cae=_0x460b10[_0x3a52ad(0x293)](),_0x179e37=_0x27ce94(_0x460b10,_0x202fc0,_0x115c3f);if(!_0x179e37)return!0x1;let {records:_0x5a8ccc,hierarchyChanges:_0xb1eb41,hierarchyFieldToMaterialize:_0x46b3e1}=_0x179e37,_0x40a4e5=_0x46b3e1?_0x209d80[_0x3a52ad(0x384)](_0x460b10,_0x202fc0,_0x46b3e1,_0x4b3cae[_0x3a52ad(0x4cb)][_0x202fc0]['fieldOrder'][_0x3a52ad(0x13b)]):null,_0x9bf75b=_0x209d80['createBatchCreateRecordsOp'](_0x460b10,_0x202fc0,_0x5a8ccc),_0x201a4d=_0x4fd831([..._0x40a4e5?[_0x40a4e5]:[],_0x9bf75b]),_0x520a31=new _0x1f3607()[_0x3a52ad(0x3d4)](_0x4b3cae,_0x201a4d),_0x3488f3={'unitId':_0x4a1ffd,'op':_0x201a4d,'hierarchyChanges':_0xb1eb41['length']?_0xb1eb41:void 0x0,'source':_0xb1eb41[_0x3a52ad(0x13b)]?_0x1ded99[_0x3a52ad(0x268)]??'ui':void 0x0},_0x3abe9b={..._0x3488f3,'source':_0xb1eb41[_0x3a52ad(0x13b)]?_0x3a52ad(0x300):void 0x0},_0xfc1671={'unitId':_0x4a1ffd,'op':_0x520a31,'hierarchyChanges':_0xb1eb41[_0x3a52ad(0x13b)]?_0xb1eb41[_0x3a52ad(0x2a7)](_0x1c05ed=>({..._0x1c05ed,'oldParentRecordId':_0x1c05ed['parentRecordId'],'parentRecordId':null})):void 0x0,'source':_0xb1eb41[_0x3a52ad(0x13b)]?_0x3a52ad(0x38f):void 0x0};return _0x1c588a[_0x3a52ad(0x2ec)](_0x855ab4['id'],_0x3488f3)?(_0x5d1958[_0x3a52ad(0x176)](_0x4a1ffd),_0x2f4fe['pushUndoRedo']({'unitID':_0x4a1ffd,'undoMutations':[{'id':_0x855ab4['id'],'params':_0xfc1671}],'redoMutations':[{'id':_0x855ab4['id'],'params':_0x3abe9b}]}),!0x0):!0x1;}},_0x46682e={'id':_0x164ecf(0x48a),'type':_0x9b4f24[_0x164ecf(0x26d)]['COMMAND'],'handler':(_0x5cad48,_0x468353)=>{const _0x325931=_0x164ecf;if(!_0x468353)return!0x1;let _0x526dcd=_0x5cad48[_0x325931(0x3e9)](_0x9b4f24['IUniverInstanceService']),{unitId:_0x5e674d,tableId:_0x52d741,recordIds:_0x1ac86a}=_0x468353,_0x670b09=_0x526dcd[_0x325931(0x10d)](_0x5e674d,_0x9b4f24[_0x325931(0x3d1)][_0x325931(0x3a1)]);if(!_0x670b09||!_0x19c89e(_0x670b09,_0x52d741,{'recordIds':_0x1ac86a}))return!0x1;let _0x3bd31a=_0x5cad48['get'](_0x9b4f24[_0x325931(0x46a)]),_0x2f57db=_0x5cad48[_0x325931(0x3e9)](_0x9b4f24['IUndoRedoService']),_0x2923f2=_0x670b09[_0x325931(0x293)](),_0x525706=_0x526f9d(_0x2923f2[_0x325931(0x4cb)][_0x52d741],_0x1ac86a),_0x3b5d74=new _0x1b7d14()[_0x325931(0x373)](_0x2923f2,_0x52d741,_0x1ac86a),_0x15a0b0=new _0x1f3607()['invertOp'](_0x2923f2,_0x3b5d74),_0x4df8fc={'unitId':_0x5e674d,'op':_0x3b5d74,'hierarchyChanges':_0x525706,'source':_0x468353[_0x325931(0x268)]??'ui'},_0x5484c0={..._0x4df8fc,'source':_0x325931(0x300)},_0xd6d6bb={'unitId':_0x5e674d,'op':_0x15a0b0,'hierarchyChanges':_0x525706[_0x325931(0x2a7)](_0x363a5f=>({..._0x363a5f,'oldParentRecordId':_0x363a5f['parentRecordId'],'parentRecordId':_0x363a5f[_0x325931(0x24d)]})),'source':'undo'};return _0x3bd31a[_0x325931(0x2ec)](_0x855ab4['id'],_0x4df8fc)?(_0x526dcd[_0x325931(0x176)](_0x5e674d),_0x2f57db[_0x325931(0x106)]({'unitID':_0x5e674d,'undoMutations':[{'id':_0x855ab4['id'],'params':_0xd6d6bb}],'redoMutations':[{'id':_0x855ab4['id'],'params':_0x5484c0}]}),!0x0):!0x1;}},_0x297098={'id':_0x164ecf(0x35b),'type':_0x9b4f24[_0x164ecf(0x26d)][_0x164ecf(0x3e5)],'handler':(_0x15c689,_0x341e1e)=>{const _0x33fff=_0x164ecf;if(!_0x341e1e)return!0x1;let _0x2a5321=_0x15c689[_0x33fff(0x3e9)](_0x9b4f24[_0x33fff(0x15c)]),{unitId:_0x1bc12c,tableId:_0x563f53,fieldId:_0x346988,input:_0x3e43a8}=_0x341e1e,_0x4a0279=_0x2a5321[_0x33fff(0x10d)](_0x1bc12c,_0x9b4f24[_0x33fff(0x3d1)][_0x33fff(0x3a1)]);if(!_0x4a0279||_0x346988===_0x9b4f24[_0x33fff(0x2c4)]||!_0x19c89e(_0x4a0279,_0x563f53,{'fieldIds':[_0x346988]}))return!0x1;let _0x1f4c6b=_0x15c689['get'](_0x9b4f24[_0x33fff(0x46a)]),_0x4d4524=_0x15c689[_0x33fff(0x3e9)](_0x9b4f24[_0x33fff(0x493)]),_0x3450b3=_0x4a0279[_0x33fff(0x293)]();if(!_0x3cd3a4(_0x4a0279,_0x563f53,{..._0x3450b3[_0x33fff(0x4cb)][_0x563f53]['fields'][_0x346988],..._0x3e43a8}))return!0x1;let _0x55b43e=new _0x1b7d14()[_0x33fff(0x4b2)](_0x3450b3,_0x563f53,_0x346988,_0x3e43a8),_0x35a21c=new _0x1f3607()[_0x33fff(0x3d4)](_0x3450b3,_0x55b43e),_0x1833d6={'unitId':_0x1bc12c,'op':_0x55b43e},_0x10993a={'unitId':_0x1bc12c,'op':_0x35a21c};return _0x1f4c6b['syncExecuteCommand'](_0x855ab4['id'],_0x1833d6)?(_0x2a5321[_0x33fff(0x176)](_0x1bc12c),_0x4d4524[_0x33fff(0x106)]({'unitID':_0x1bc12c,'undoMutations':[{'id':_0x855ab4['id'],'params':_0x10993a}],'redoMutations':[{'id':_0x855ab4['id'],'params':_0x1833d6}]}),!0x0):!0x1;}},_0x2a9c68={'id':_0x164ecf(0x16e),'type':_0x9b4f24[_0x164ecf(0x26d)][_0x164ecf(0x3e5)],'handler'(_0x15af50,_0xe16d82){const _0x271fec=_0x164ecf;var _0x49dba2;if(!_0xe16d82)return!0x1;let {unitId:_0x282f85,tableId:_0x26104b,parentRecordId:_0x295a28}=_0xe16d82,_0x43f2d0=_0x15af50[_0x271fec(0x3e9)](_0x9b4f24[_0x271fec(0x15c)]),_0x5f18d5=_0x43f2d0[_0x271fec(0x10d)](_0x282f85,_0x9b4f24[_0x271fec(0x3d1)][_0x271fec(0x3a1)]);if(!_0x5f18d5||!_0x19c89e(_0x5f18d5,_0x26104b,{'recordIds':[_0x295a28]}))throw new _0x4c5b17(_0x271fec(0x336));let _0x128974=_0x5f18d5[_0x271fec(0x293)](),_0x181c14=_0x128974['tables'][_0x26104b],_0x4936af=_0x98202f(_0x181c14),_0x43f1b3=_0x4936af??_0xe16d82[_0x271fec(0x195)]??_0x2e350d(_0x181c14);if(_0x4936af&&_0xe16d82['fieldId']&&_0xe16d82['fieldId']!==_0x4936af||_0x181c14[_0x271fec(0x43b)][_0x43f1b3]&&!_0x12230b(_0x181c14,_0x43f1b3))throw new _0x4c5b17(_0x271fec(0x347));if((_0x32c245(_0x181c14,_0x43f1b3)['depthByRecordId'][_0x271fec(0x3e9)](_0x295a28)??0x0)+0x1>=0x5)throw new _0x4c5b17('maxDepth');if(!_0x52f5c8(_0x5f18d5,_0x26104b,_0xe16d82['record']))return!0x1;let _0x3e7047=_0x43c7b7({..._0xe16d82[_0x271fec(0x2cb)],'values':{..._0xe16d82[_0x271fec(0x2cb)][_0x271fec(0x10a)],[_0x43f1b3]:_0x50a032([_0x295a28])}}),_0x5ea0a7=_0x15af50['get'](_0x1e9ebe),_0x48b8e3=new _0x1b7d14(),_0x3b2559=_0x181c14[_0x271fec(0x43b)][_0x43f1b3],_0xf694ba=_0x3b2559?((_0x49dba2=_0xfcdc79(_0x3b2559))==null?void 0x0:_0x49dba2[_0x271fec(0x465)])===_0x9b4f24[_0x271fec(0x4a2)]['Parent']?null:_0x48b8e3[_0x271fec(0x228)](_0x128974,_0x26104b,_0x43f1b3,{'config':{..._0x3b2559['config'],'relationRole':_0x9b4f24['BaseRecordLinkRole'][_0x271fec(0x32d)]}}):_0x5ea0a7['createCreateFieldOp'](_0x5f18d5,_0x26104b,_0x736d67(_0x181c14,_0x43f1b3,_0xe16d82[_0x271fec(0x1fa)]),_0x181c14[_0x271fec(0x30b)][_0x271fec(0x13b)]),_0xb3c504=_0x5ea0a7[_0x271fec(0x16d)](_0x5f18d5,_0x26104b,_0x3e7047),_0xba3e9=_0x4fd831([..._0xf694ba?[_0xf694ba]:[],_0xb3c504]),_0x5ccb15=new _0x1f3607()['invertOp'](_0x128974,_0xba3e9),_0x2f336b={'tableId':_0x26104b,'fieldId':_0x43f1b3,'recordId':_0x3e7047['id'],'oldParentRecordId':null,'parentRecordId':_0x295a28},_0x31dbf2={'unitId':_0x282f85,'op':_0xba3e9,'trigger':_0x2a9c68['id'],'hierarchyChanges':[_0x2f336b],'source':_0xe16d82[_0x271fec(0x268)]??'ui'},_0x219d68={..._0x31dbf2,'source':_0x271fec(0x300)},_0x5346c2={'unitId':_0x282f85,'op':_0x5ccb15,'trigger':_0x2a9c68['id'],'hierarchyChanges':[{..._0x2f336b,'oldParentRecordId':_0x295a28,'parentRecordId':null}],'source':_0x271fec(0x38f)};return _0x15af50[_0x271fec(0x3e9)](_0x9b4f24['ICommandService'])[_0x271fec(0x2ec)](_0x855ab4['id'],_0x31dbf2)?(_0x43f2d0['focusUnit'](_0x282f85),_0x15af50[_0x271fec(0x3e9)](_0x9b4f24['IUndoRedoService'])[_0x271fec(0x106)]({'unitID':_0x282f85,'undoMutations':[{'id':_0x855ab4['id'],'params':_0x5346c2}],'redoMutations':[{'id':_0x855ab4['id'],'params':_0x219d68}]}),!0x0):!0x1;}},_0x426f38={'id':_0x164ecf(0x45c),'type':_0x9b4f24[_0x164ecf(0x26d)][_0x164ecf(0x3e5)],'handler'(_0x1750ce,_0x30620f){const _0x5317b3=_0x164ecf;if(!_0x30620f)return!0x1;let _0x1376b6=_0x1750ce[_0x5317b3(0x3e9)](_0x9b4f24['IUniverInstanceService']),{unitId:_0x14856e,tableId:_0x3968d1,field:_0x5179ab,index:_0x2171b9,viewIndexes:_0x34558f}=_0x30620f,_0x2ee93f=_0x1376b6[_0x5317b3(0x10d)](_0x14856e,_0x9b4f24[_0x5317b3(0x3d1)][_0x5317b3(0x3a1)]);if(!_0x2ee93f||!_0x19c89e(_0x2ee93f,_0x3968d1)||_0x2ee93f['getSnapshot']()['tables'][_0x3968d1][_0x5317b3(0x43b)][_0x5179ab['id']]||_0x2171b9===0x0||!_0x3cd3a4(_0x2ee93f,_0x3968d1,_0x5179ab))return!0x1;let _0x82f519=_0x1750ce[_0x5317b3(0x3e9)](_0x9b4f24['ICommandService']),_0x2753cd=_0x1750ce[_0x5317b3(0x3e9)](_0x9b4f24[_0x5317b3(0x493)]),_0x484e22=_0x1750ce[_0x5317b3(0x3e9)](_0x1e9ebe)[_0x5317b3(0x384)](_0x2ee93f,_0x3968d1,_0x5179ab,_0x2171b9,_0x34558f),_0x5a28bc=new _0x1f3607()[_0x5317b3(0x3d4)](_0x2ee93f[_0x5317b3(0x293)](),_0x484e22),_0x3c293f={'unitId':_0x14856e,'op':_0x484e22},_0x583d7d={'unitId':_0x14856e,'op':_0x5a28bc};return _0x82f519['syncExecuteCommand'](_0x855ab4['id'],_0x3c293f)?(_0x1376b6['focusUnit'](_0x14856e),_0x2753cd[_0x5317b3(0x106)]({'unitID':_0x14856e,'undoMutations':[{'id':_0x855ab4['id'],'params':_0x583d7d}],'redoMutations':[{'id':_0x855ab4['id'],'params':_0x3c293f}]}),!0x0):!0x1;}},_0x5c0c75={'id':'base.command.create-base-record','type':_0x9b4f24['CommandType'][_0x164ecf(0x3e5)],'handler'(_0x1f1305,_0x4ade82){const _0x4eb919=_0x164ecf;if(!_0x4ade82)return!0x1;let _0x3c3534=_0x1f1305['get'](_0x9b4f24[_0x4eb919(0x15c)]),{unitId:_0xde2848,tableId:_0x2816ab,record:_0x1bd646}=_0x4ade82,_0xf6a53f=_0x3c3534[_0x4eb919(0x10d)](_0xde2848,_0x9b4f24[_0x4eb919(0x3d1)]['UNIVER_BASE']);if(!_0xf6a53f||!_0x19c89e(_0xf6a53f,_0x2816ab))return!0x1;let _0x393afe=_0x1f1305[_0x4eb919(0x3e9)](_0x9b4f24['ICommandService']),_0x443147=_0x1f1305[_0x4eb919(0x3e9)](_0x9b4f24[_0x4eb919(0x493)]),_0xe280ba=_0x1f1305['get'](_0x1e9ebe),_0x2208df=_0xf6a53f[_0x4eb919(0x293)](),_0x4fe511=_0x27ce94(_0xf6a53f,_0x2816ab,[_0x1bd646]);if(!_0x4fe511)return!0x1;let [_0x5c1ec2]=_0x4fe511[_0x4eb919(0x312)],{hierarchyChanges:_0x5d8372,hierarchyFieldToMaterialize:_0x3651d8}=_0x4fe511,_0x405aec=_0x3651d8?_0xe280ba['createCreateFieldOp'](_0xf6a53f,_0x2816ab,_0x3651d8,_0x2208df[_0x4eb919(0x4cb)][_0x2816ab][_0x4eb919(0x30b)][_0x4eb919(0x13b)]):null,_0x237376=_0xe280ba[_0x4eb919(0x16d)](_0xf6a53f,_0x2816ab,_0x5c1ec2),_0xf98a5f=_0x4fd831([..._0x405aec?[_0x405aec]:[],_0x237376]),_0x11e9c2=new _0x1f3607()[_0x4eb919(0x3d4)](_0x2208df,_0xf98a5f),_0x31af5b={'unitId':_0xde2848,'op':_0xf98a5f,'hierarchyChanges':_0x5d8372[_0x4eb919(0x13b)]?_0x5d8372:void 0x0,'source':_0x5d8372[_0x4eb919(0x13b)]?_0x4ade82['source']??'ui':void 0x0},_0x134bb3={..._0x31af5b,'source':_0x5d8372[_0x4eb919(0x13b)]?_0x4eb919(0x300):void 0x0},_0xd16ade={'unitId':_0xde2848,'op':_0x11e9c2,'hierarchyChanges':_0x5d8372[_0x4eb919(0x13b)]?_0x5d8372[_0x4eb919(0x2a7)](_0x447817=>({..._0x447817,'oldParentRecordId':_0x447817[_0x4eb919(0x40c)],'parentRecordId':null})):void 0x0,'source':_0x5d8372[_0x4eb919(0x13b)]?_0x4eb919(0x38f):void 0x0};return _0x393afe[_0x4eb919(0x2ec)](_0x855ab4['id'],_0x31af5b)?(_0x3c3534['focusUnit'](_0xde2848),_0x443147[_0x4eb919(0x106)]({'unitID':_0xde2848,'undoMutations':[{'id':_0x855ab4['id'],'params':_0xd16ade}],'redoMutations':[{'id':_0x855ab4['id'],'params':_0x134bb3}]}),!0x0):!0x1;}},_0x237172={'id':_0x164ecf(0x1a5),'type':_0x9b4f24['CommandType'][_0x164ecf(0x3e5)],'handler':(_0x4ec6be,_0x5b0944)=>{const _0x3a7191=_0x164ecf;if(!_0x5b0944)return!0x1;let _0x4854b4=_0x4ec6be[_0x3a7191(0x3e9)](_0x9b4f24['IUniverInstanceService']),{unitId:_0x577c4f,table:_0x3c237d,index:_0x208b6a}=_0x5b0944,_0x488d37=_0x4854b4[_0x3a7191(0x10d)](_0x577c4f,_0x9b4f24[_0x3a7191(0x3d1)][_0x3a7191(0x3a1)]);if(!_0x488d37||_0x488d37['getSnapshot']()[_0x3a7191(0x4cb)][_0x3c237d['id']])return!0x1;try{(0x0,_0x9b4f24[_0x3a7191(0x2dc)])(_0x3c237d);}catch{return!0x1;}let _0x239466=_0x4ec6be[_0x3a7191(0x3e9)](_0x9b4f24[_0x3a7191(0x46a)]),_0x4c742c=_0x4ec6be[_0x3a7191(0x3e9)](_0x9b4f24[_0x3a7191(0x493)]),_0x4ccf2f=_0x488d37[_0x3a7191(0x293)](),_0x2ae432={..._0x3c237d,'name':_0x488d37[_0x3a7191(0x2e5)](_0x3c237d[_0x3a7191(0x267)])},_0x2143c6=new _0x1b7d14()['createTable'](_0x4ccf2f,_0x2ae432,_0x208b6a),_0x970cd6=new _0x1f3607()[_0x3a7191(0x3d4)](_0x4ccf2f,_0x2143c6),_0x32a5da={'unitId':_0x577c4f,'op':_0x2143c6},_0x42af9d={'unitId':_0x577c4f,'op':_0x970cd6};return _0x239466['syncExecuteCommand'](_0x855ab4['id'],_0x32a5da)?(_0x4854b4[_0x3a7191(0x176)](_0x577c4f),_0x4c742c[_0x3a7191(0x106)]({'unitID':_0x577c4f,'undoMutations':[{'id':_0x855ab4['id'],'params':_0x42af9d}],'redoMutations':[{'id':_0x855ab4['id'],'params':_0x32a5da}]}),!0x0):!0x1;}};function _0x151e21(_0xd064d4,_0x182b33,_0x3c4734=[]){const _0x5e83af=_0x164ecf;let _0x2a0e98=new Set([...Object[_0x5e83af(0x10a)](_0xd064d4[_0x5e83af(0x43b)])['filter'](_0x408d17=>_0x408d17)[_0x5e83af(0x2a7)](_0xfd1e92=>_0xfd1e92['name']),..._0x3c4734[_0x5e83af(0x2a7)](_0x54c8ba=>_0x54c8ba['name'])]);if(!_0x2a0e98['has'](_0x182b33))return _0x182b33;let _0x52933b=0x2;for(;_0x2a0e98[_0x5e83af(0x1df)](_0x182b33+'\x20'+_0x52933b);)_0x52933b++;return _0x182b33+'\x20'+_0x52933b;}function _0x2ba435(_0x3ced9c,_0x12c826){const _0x5f58d9=_0x164ecf;if(!_0x3ced9c||!_0x12c826[_0x5f58d9(0x13b)])return;let _0x5da700=[..._0x3ced9c];return _0x12c826[_0x5f58d9(0x49e)](_0x16ab06=>{_0x5da700['includes'](_0x16ab06)||_0x5da700['push'](_0x16ab06);}),_0x5da700;}let _0x3ca44b={'options':[{'id':_0x164ecf(0x4c6),'name':_0x164ecf(0x4b4),'color':'#BFDBFE'},{'id':'doing','name':_0x164ecf(0x3ad),'color':'#FDE68A'},{'id':'done','name':'Done','color':'#BBF7D0'}]},_0x56c459={'locale':_0x164ecf(0x28c),'pattern':_0x164ecf(0x245),'includeTime':!0x1,'hourCycle':_0x164ecf(0x12c),'defaultMode':'none'};function _0x11d450(_0x27bfb3,_0x5849a8,_0x2b19d1,_0x3c628a){const _0x204c2b=_0x164ecf;var _0xd19f6d;let _0x3fd2cf=new _0x1b7d14(),_0x11679a=_0x27bfb3['tables'][_0x5849a8],_0x36d45d=_0x11679a?{..._0x2b19d1,'fieldOrder':[_0x9b4f24['BASE_RECORD_ID_FIELD_ID'],...(_0x2b19d1[_0x204c2b(0x30b)]??_0x11679a[_0x204c2b(0x30b)])[_0x204c2b(0x41f)](_0x47bc26=>_0x47bc26!==_0x9b4f24[_0x204c2b(0x2c4)])],'fieldSettings':{..._0x2b19d1[_0x204c2b(0x156)],[_0x9b4f24[_0x204c2b(0x2c4)]]:{...(_0xd19f6d=_0x2b19d1[_0x204c2b(0x156)])==null?void 0x0:_0xd19f6d[_0x9b4f24[_0x204c2b(0x2c4)]],'hidden':!0x0}}}:_0x2b19d1;if(_0x11679a&&_0x36d45d[_0x204c2b(0x132)]===_0x204c2b(0x3d7)){let _0x17b9e0=_0x3a4241(_0x11679a,_0x36d45d),_0x514ac8=_0x17b9e0['changed']?{..._0x36d45d,'config':_0x17b9e0[_0x204c2b(0x19f)],'fieldOrder':_0x17b9e0['fieldOrder']??_0x36d45d[_0x204c2b(0x30b)]}:_0x36d45d;return _0x4fd831([..._0x17b9e0[_0x204c2b(0x43b)][_0x204c2b(0x2a7)](_0x347955=>_0x3fd2cf[_0x204c2b(0x205)](_0x27bfb3,_0x5849a8,{'field':_0x347955})),_0x3fd2cf[_0x204c2b(0x20f)](_0x27bfb3,_0x5849a8,_0x514ac8,_0x3c628a)]);}if(!_0x11679a||_0x36d45d['type']!==_0x204c2b(0x152)&&_0x36d45d[_0x204c2b(0x132)]!==_0x204c2b(0x1bf))return _0x3fd2cf['createView'](_0x27bfb3,_0x5849a8,_0x36d45d,_0x3c628a);let _0x449d87=_0x4d52c6(_0x11679a,_0x36d45d),_0x5aa601=_0x449d87[_0x204c2b(0x398)]?{..._0x36d45d,'config':_0x449d87[_0x204c2b(0x19f)],'fieldOrder':_0x449d87[_0x204c2b(0x30b)]??_0x36d45d['fieldOrder']}:_0x36d45d;return _0x36d45d['type']===_0x204c2b(0x1bf)&&_0x38699f(_0x36d45d)&&(_0x5aa601=_0x11939e(_0x11679a,_0x5aa601,_0x449d87[_0x204c2b(0x43b)])),_0x4fd831([..._0x449d87[_0x204c2b(0x43b)][_0x204c2b(0x2a7)](_0x5a525a=>_0x3fd2cf[_0x204c2b(0x205)](_0x27bfb3,_0x5849a8,{'field':_0x5a525a})),_0x3fd2cf[_0x204c2b(0x20f)](_0x27bfb3,_0x5849a8,_0x5aa601,_0x3c628a)]);}function _0x4d52c6(_0x4e8e61,_0x276621,_0x2f27aa=!0x1){const _0x144544=_0x164ecf;var _0x3fd4a3,_0xd6801;let _0x1a0055=_0x4e8e61[_0x144544(0x30b)][_0x144544(0x41f)](_0x77798=>_0x36d084(_0x4e8e61,_0x77798)),_0x371066=[],_0x2fddb5={..._0x276621[_0x144544(0x19f)]??{}},_0x3a1485=typeof _0x2fddb5[_0x144544(0x13a)]==_0x144544(0x1e4)&&_0x36d084(_0x4e8e61,_0x2fddb5[_0x144544(0x13a)])?_0x2fddb5[_0x144544(0x13a)]:_0x1a0055[0x0],_0x55b681=typeof _0x2fddb5[_0x144544(0x414)]==_0x144544(0x1e4)&&_0x36d084(_0x4e8e61,_0x2fddb5[_0x144544(0x414)])&&_0x2fddb5[_0x144544(0x414)]!==_0x3a1485?_0x2fddb5['endDateFieldId']:_0x1a0055[_0x144544(0x396)](_0x46abd9=>_0x46abd9!==_0x3a1485);if(!_0x3a1485){let _0x245404=_0x17f550(_0x4e8e61,_0x371066,_0x276621[_0x144544(0x132)]==='gantt'?_0x144544(0x304):_0x144544(0x442));_0x371066[_0x144544(0x4bf)](_0x245404),_0x3a1485=_0x245404['id'];}if((_0x276621[_0x144544(0x132)]===_0x144544(0x1bf)||_0x2f27aa)&&!_0x55b681){let _0x18bfdf=_0x17f550(_0x4e8e61,_0x371066,_0x144544(0x393));_0x371066['push'](_0x18bfdf),_0x55b681=_0x18bfdf['id'];}_0x276621[_0x144544(0x132)]===_0x144544(0x152)&&!_0x55b681&&delete _0x2fddb5['endDateFieldId'],_0x2fddb5[_0x144544(0x13a)]=_0x3a1485,_0x276621['type']==='calendar'&&_0x55b681&&(_0x2fddb5[_0x144544(0x414)]=_0x55b681),_0x276621[_0x144544(0x132)]===_0x144544(0x1bf)&&(_0x2fddb5[_0x144544(0x414)]=_0x55b681??_0x3a1485);let _0x3c1826=_0x2ba435(_0x276621[_0x144544(0x30b)],_0x371066['map'](_0x2efbc9=>_0x2efbc9['id']));return{'changed':_0x371066[_0x144544(0x13b)]>0x0||_0x2fddb5[_0x144544(0x13a)]!==((_0x3fd4a3=_0x276621['config'])==null?void 0x0:_0x3fd4a3[_0x144544(0x13a)])||_0x2fddb5[_0x144544(0x414)]!==((_0xd6801=_0x276621[_0x144544(0x19f)])==null?void 0x0:_0xd6801['endDateFieldId'])||!!(_0x3c1826&&!_0x9b4f24[_0x144544(0x22c)][_0x144544(0x41e)](_0x3c1826,_0x276621[_0x144544(0x30b)]??[])),'fields':_0x371066,'config':_0x2fddb5,'fieldOrder':_0x3c1826};}function _0x3a4241(_0x2d19ba,_0x48065d){const _0x268989=_0x164ecf;var _0x34db21;let _0x2d5990=[],_0x10c5e2={..._0x48065d[_0x268989(0x19f)]??{}},_0x5b7974=typeof _0x10c5e2[_0x268989(0x370)]==_0x268989(0x1e4)&&_0x38235a(_0x2d19ba,_0x10c5e2[_0x268989(0x370)])?_0x10c5e2['groupFieldId']:_0x2d19ba[_0x268989(0x30b)][_0x268989(0x396)](_0x54ecad=>_0x38235a(_0x2d19ba,_0x54ecad));if(!_0x5b7974){let _0x1d43b0=_0x630ea6(_0x2d19ba,_0x2d5990);_0x2d5990[_0x268989(0x4bf)](_0x1d43b0),_0x5b7974=_0x1d43b0['id'];}_0x10c5e2[_0x268989(0x370)]=_0x5b7974;let _0x43d381=_0x2ba435(_0x48065d['fieldOrder'],_0x2d5990[_0x268989(0x2a7)](_0x2a9a84=>_0x2a9a84['id']));return{'changed':_0x2d5990[_0x268989(0x13b)]>0x0||_0x10c5e2['groupFieldId']!==((_0x34db21=_0x48065d[_0x268989(0x19f)])==null?void 0x0:_0x34db21[_0x268989(0x370)])||!!(_0x43d381&&!_0x9b4f24[_0x268989(0x22c)][_0x268989(0x41e)](_0x43d381,_0x48065d[_0x268989(0x30b)]??[])),'fields':_0x2d5990,'config':_0x10c5e2,'fieldOrder':_0x43d381};}function _0x38235a(_0x2ee6d6,_0x37112c){const _0x4b421c=_0x164ecf;let _0x881e38=_0x37112c?_0x2ee6d6['fields'][_0x37112c]:null;return _0x881e38?[_0x9b4f24[_0x4b421c(0x3bc)][_0x4b421c(0x378)],_0x9b4f24['BaseFieldType'][_0x4b421c(0x1be)],_0x9b4f24[_0x4b421c(0x3bc)][_0x4b421c(0x38c)],_0x9b4f24[_0x4b421c(0x3bc)][_0x4b421c(0x2ba)],_0x9b4f24[_0x4b421c(0x3bc)][_0x4b421c(0x101)],_0x9b4f24[_0x4b421c(0x3bc)][_0x4b421c(0x1f2)]]['includes'](_0x881e38[_0x4b421c(0x132)]):!0x1;}function _0x630ea6(_0x2b789f,_0x1539ea){const _0x17c14e=_0x164ecf;return{'id':'fld-'+(0x0,_0x9b4f24['generateRandomId'])(0x8),'name':_0x151e21(_0x2b789f,_0x17c14e(0x10f),_0x1539ea),'type':_0x9b4f24[_0x17c14e(0x3bc)]['SingleSelect'],'config':_0x9b4f24[_0x17c14e(0x22c)][_0x17c14e(0x1a6)](_0x3ca44b)};}function _0x38699f(_0xc45812){const _0x13d974=_0x164ecf;return Object[_0x13d974(0x1fe)](_0xc45812[_0x13d974(0x19f)]??{})[_0x13d974(0x13b)]===0x0&&Object[_0x13d974(0x1fe)](_0xc45812[_0x13d974(0x156)]??{})[_0x13d974(0x13b)]===0x0;}function _0x11939e(_0x1ae5b8,_0x59ceee,_0x4f412b){const _0x2b98e2=_0x164ecf;let _0x54eb66={..._0x59ceee[_0x2b98e2(0x19f)]??{}},_0x25b50e=_0x4f412b[_0x2b98e2(0x2a7)](_0x2f979b=>_0x2f979b['id']),_0x12e624=[..._0x1ae5b8[_0x2b98e2(0x30b)],..._0x25b50e],_0x33bf62=typeof _0x54eb66[_0x2b98e2(0x19d)]==_0x2b98e2(0x1e4)&&_0x33c286(_0x1ae5b8,_0x4f412b,_0x54eb66[_0x2b98e2(0x19d)])?_0x54eb66['titleFieldId']:_0x1ae5b8[_0x2b98e2(0x302)],_0x3a0143=typeof _0x54eb66[_0x2b98e2(0x13a)]=='string'?_0x54eb66[_0x2b98e2(0x13a)]:'',_0x237b6c=typeof _0x54eb66['endDateFieldId']==_0x2b98e2(0x1e4)?_0x54eb66[_0x2b98e2(0x414)]:_0x3a0143,_0x2d1bd6=new Set([_0x33bf62,_0x3a0143,_0x237b6c][_0x2b98e2(0x41f)](_0x494a95=>_0x494a95&&_0x33c286(_0x1ae5b8,_0x4f412b,_0x494a95))),_0x17b58e=Object[_0x2b98e2(0x224)](_0x12e624[_0x2b98e2(0x17e)](_0x1b4143=>_0x2d1bd6[_0x2b98e2(0x1df)](_0x1b4143)||!_0x33c286(_0x1ae5b8,_0x4f412b,_0x1b4143)?[]:[[_0x1b4143,{'hidden':!0x0}]]));return{..._0x59ceee,'config':{..._0x54eb66,'titleFieldId':_0x33bf62},'fieldSettings':_0x17b58e};}function _0x33c286(_0x4b4335,_0x5e6ad9,_0x5a741f){const _0x3a908f=_0x164ecf;return!!(_0x4b4335['fields'][_0x5a741f]??_0x5e6ad9[_0x3a908f(0x396)](_0x276420=>_0x276420['id']===_0x5a741f))&&!0x0;}function _0x36d084(_0x204549,_0x467888){const _0x352042=_0x164ecf;let _0x5c6086=_0x467888?_0x204549[_0x352042(0x43b)][_0x467888]:null;return!!_0x5c6086&&_0x5c6086[_0x352042(0x132)]===_0x9b4f24[_0x352042(0x3bc)][_0x352042(0x442)]&&_0x5c6086[_0x352042(0x462)]!==!0x0&&_0x5c6086[_0x352042(0x187)]!==!0x0;}function _0x17f550(_0x10bfc6,_0x50c893,_0x26c098){const _0x287114=_0x164ecf;let _0x55fdac=new Set([...Object[_0x287114(0x1fe)](_0x10bfc6[_0x287114(0x43b)]),..._0x50c893[_0x287114(0x2a7)](_0x11a2a8=>_0x11a2a8['id'])]),_0x1340e7=_0x287114(0x2bf)+(0x0,_0x9b4f24[_0x287114(0x2f8)])(0x8);for(;_0x55fdac[_0x287114(0x1df)](_0x1340e7);)_0x1340e7=_0x287114(0x2bf)+(0x0,_0x9b4f24[_0x287114(0x2f8)])(0x8);return{'id':_0x1340e7,'name':_0x151e21(_0x10bfc6,_0x26c098,_0x50c893),'type':_0x9b4f24[_0x287114(0x3bc)][_0x287114(0x442)],'config':{..._0x56c459}};}let _0x10997c={'id':_0x164ecf(0x463),'type':_0x9b4f24[_0x164ecf(0x26d)][_0x164ecf(0x3e5)],'handler':(_0x525cad,_0x3ce44f)=>{const _0xd96809=_0x164ecf;if(!_0x3ce44f)return!0x1;let _0x26eeca=_0x525cad[_0xd96809(0x3e9)](_0x9b4f24['IUniverInstanceService']),{unitId:_0x45b0bd,tableId:_0x4da7f1,view:_0x2b81cf,index:_0x1cffdd}=_0x3ce44f,_0x1ccc5e=_0x26eeca[_0xd96809(0x10d)](_0x45b0bd,_0x9b4f24[_0xd96809(0x3d1)][_0xd96809(0x3a1)]);if(!_0x1ccc5e||!_0x19c89e(_0x1ccc5e,_0x4da7f1)||_0x1ccc5e[_0xd96809(0x293)]()[_0xd96809(0x4cb)][_0x4da7f1][_0xd96809(0x339)][_0x2b81cf['id']])return!0x1;let _0x205858=_0x525cad[_0xd96809(0x3e9)](_0x9b4f24[_0xd96809(0x46a)]),_0x39c765=_0x525cad[_0xd96809(0x3e9)](_0x9b4f24[_0xd96809(0x493)]),_0x5e66af=_0x1ccc5e[_0xd96809(0x293)](),_0x542881=_0x11d450(_0x5e66af,_0x4da7f1,_0x2b81cf,_0x1cffdd),_0x3ee510=new _0x1f3607()['invertOp'](_0x5e66af,_0x542881),_0x47cb00={'unitId':_0x45b0bd,'op':_0x542881},_0x5c7a8b={'unitId':_0x45b0bd,'op':_0x3ee510};return _0x205858[_0xd96809(0x2ec)](_0x855ab4['id'],_0x47cb00)?(_0x26eeca[_0xd96809(0x176)](_0x45b0bd),_0x39c765[_0xd96809(0x106)]({'unitID':_0x45b0bd,'undoMutations':[{'id':_0x855ab4['id'],'params':_0x5c7a8b}],'redoMutations':[{'id':_0x855ab4['id'],'params':_0x47cb00}]}),!0x0):!0x1;}},_0x2494ad={'id':_0x164ecf(0x48b),'type':_0x9b4f24[_0x164ecf(0x26d)][_0x164ecf(0x3e5)],'handler'(_0x1a18d4,_0x314635){const _0x10f4d8=_0x164ecf;if(!_0x314635)return!0x1;let _0x38b3c3=_0x1a18d4[_0x10f4d8(0x3e9)](_0x9b4f24[_0x10f4d8(0x15c)]),{unitId:_0x506f9f,tableId:_0x19fd36,fieldId:_0x3cebc0}=_0x314635,_0x13e410=_0x38b3c3[_0x10f4d8(0x10d)](_0x506f9f,_0x9b4f24[_0x10f4d8(0x3d1)]['UNIVER_BASE']);if(!_0x13e410)return!0x1;let _0x31e491=_0x13e410[_0x10f4d8(0x293)](),_0x37daa9=_0x31e491[_0x10f4d8(0x4cb)][_0x19fd36];if(!_0x19c89e(_0x13e410,_0x19fd36,{'fieldIds':[_0x3cebc0]})||_0x37daa9[_0x10f4d8(0x302)]===_0x3cebc0||_0x3cebc0===_0x9b4f24[_0x10f4d8(0x2c4)])return!0x1;let _0x400eb5=_0x1a18d4[_0x10f4d8(0x3e9)](_0x9b4f24[_0x10f4d8(0x46a)]),_0x3a2457=_0x1a18d4[_0x10f4d8(0x3e9)](_0x9b4f24['IUndoRedoService']),_0x5aede3=new _0x1b7d14()[_0x10f4d8(0x31d)](_0x31e491,_0x19fd36,_0x3cebc0),_0x3c1ce8=new _0x1f3607()['invertOp'](_0x31e491,_0x5aede3),_0x5517f1={'unitId':_0x506f9f,'op':_0x5aede3},_0x45b06d={'unitId':_0x506f9f,'op':_0x3c1ce8};return _0x400eb5[_0x10f4d8(0x2ec)](_0x855ab4['id'],_0x5517f1)?(_0x38b3c3[_0x10f4d8(0x176)](_0x506f9f),_0x3a2457[_0x10f4d8(0x106)]({'unitID':_0x506f9f,'undoMutations':[{'id':_0x855ab4['id'],'params':_0x45b06d}],'redoMutations':[{'id':_0x855ab4['id'],'params':_0x5517f1}]}),!0x0):!0x1;}},_0x1a3a99={'id':_0x164ecf(0x3c8),'type':_0x9b4f24[_0x164ecf(0x26d)]['COMMAND'],'handler':(_0x1b9e94,_0x567cde)=>{const _0x32a1ce=_0x164ecf;if(!_0x567cde)return!0x1;let _0x39279c=_0x1b9e94[_0x32a1ce(0x3e9)](_0x9b4f24[_0x32a1ce(0x15c)]),{unitId:_0x1c5507,tableId:_0x4051a4,recordId:_0x4e3a5c}=_0x567cde,_0x35d114=_0x39279c['getUnit'](_0x1c5507,_0x9b4f24[_0x32a1ce(0x3d1)][_0x32a1ce(0x3a1)]);if(!_0x35d114||!_0x19c89e(_0x35d114,_0x4051a4,{'recordIds':[_0x4e3a5c]}))return!0x1;let _0x25a4bb=_0x1b9e94[_0x32a1ce(0x3e9)](_0x9b4f24['ICommandService']),_0x24fcf0=_0x1b9e94[_0x32a1ce(0x3e9)](_0x9b4f24['IUndoRedoService']),_0x5ef4ff=_0x35d114[_0x32a1ce(0x293)](),_0x3721bb=_0x526f9d(_0x5ef4ff[_0x32a1ce(0x4cb)][_0x4051a4],[_0x4e3a5c]),_0x446489=new _0x1b7d14()[_0x32a1ce(0x2c9)](_0x5ef4ff,_0x4051a4,_0x4e3a5c),_0x5df6e6=new _0x1f3607()[_0x32a1ce(0x3d4)](_0x5ef4ff,_0x446489),_0x11c900={'unitId':_0x1c5507,'op':_0x446489,'hierarchyChanges':_0x3721bb,'source':_0x567cde[_0x32a1ce(0x268)]??'ui'},_0x5ccd8c={..._0x11c900,'source':_0x32a1ce(0x300)},_0x43f823={'unitId':_0x1c5507,'op':_0x5df6e6,'hierarchyChanges':_0x3721bb['map'](_0x5e0388=>({..._0x5e0388,'oldParentRecordId':_0x5e0388[_0x32a1ce(0x40c)],'parentRecordId':_0x5e0388[_0x32a1ce(0x24d)]})),'source':_0x32a1ce(0x38f)};return _0x25a4bb['syncExecuteCommand'](_0x855ab4['id'],_0x11c900)?(_0x39279c[_0x32a1ce(0x176)](_0x1c5507),_0x24fcf0[_0x32a1ce(0x106)]({'unitID':_0x1c5507,'undoMutations':[{'id':_0x855ab4['id'],'params':_0x43f823}],'redoMutations':[{'id':_0x855ab4['id'],'params':_0x5ccd8c}]}),!0x0):!0x1;}},_0x4a1b16={'id':_0x164ecf(0x3af),'type':_0x9b4f24[_0x164ecf(0x26d)][_0x164ecf(0x3e5)],'handler':(_0x5eeddc,_0x5a37be)=>{const _0x14762b=_0x164ecf;if(!_0x5a37be)return!0x1;let _0x1c2dfa=_0x5eeddc[_0x14762b(0x3e9)](_0x9b4f24[_0x14762b(0x15c)]),{unitId:_0x931da,tableId:_0x4544bb}=_0x5a37be,_0x5ac274=_0x1c2dfa[_0x14762b(0x10d)](_0x931da,_0x9b4f24[_0x14762b(0x3d1)]['UNIVER_BASE']);if(!_0x5ac274||!_0x19c89e(_0x5ac274,_0x4544bb))return!0x1;let _0x23fe5f=_0x5eeddc['get'](_0x9b4f24[_0x14762b(0x46a)]),_0x371e7d=_0x5eeddc['get'](_0x9b4f24['IUndoRedoService']),_0x4857e2=_0x5ac274[_0x14762b(0x293)](),_0x2aa0ca=_0x220b8a(_0x4857e2,_0x4544bb);if(_0x2aa0ca['length']>0x0)return console[_0x14762b(0x439)](_0x14762b(0x28f)+_0x4544bb+_0x14762b(0x420)+_0x2aa0ca['map'](_0x29b7a1=>_0x29b7a1[_0x14762b(0x28a)]+'.'+_0x29b7a1[_0x14762b(0x195)])[_0x14762b(0x305)](',\x20')+'.'),!0x1;let _0xcb11d1=new _0x1b7d14()[_0x14762b(0x37f)](_0x4857e2,_0x4544bb),_0x577ac6=new _0x1f3607()[_0x14762b(0x3d4)](_0x4857e2,_0xcb11d1),_0x31ab49={'unitId':_0x931da,'op':_0xcb11d1},_0xe3883a={'unitId':_0x931da,'op':_0x577ac6};return _0x23fe5f[_0x14762b(0x2ec)](_0x855ab4['id'],_0x31ab49)?(_0x1c2dfa['focusUnit'](_0x931da),_0x371e7d[_0x14762b(0x106)]({'unitID':_0x931da,'undoMutations':[{'id':_0x855ab4['id'],'params':_0xe3883a}],'redoMutations':[{'id':_0x855ab4['id'],'params':_0x31ab49}]}),!0x0):!0x1;}},_0x35ee84={'id':'base.command.delete-base-view','type':_0x9b4f24[_0x164ecf(0x26d)][_0x164ecf(0x3e5)],'handler':(_0xde16ea,_0x4ef490)=>{const _0x24d554=_0x164ecf;if(!_0x4ef490)return!0x1;let _0x110c02=_0xde16ea[_0x24d554(0x3e9)](_0x9b4f24['IUniverInstanceService']),{unitId:_0x2d4689,tableId:_0x3b48c3,viewId:_0x8f4248}=_0x4ef490,_0x54af81=_0x110c02[_0x24d554(0x10d)](_0x2d4689,_0x9b4f24[_0x24d554(0x3d1)][_0x24d554(0x3a1)]);if(!_0x54af81||!_0x19c89e(_0x54af81,_0x3b48c3,{'viewIds':[_0x8f4248]}))return!0x1;let _0x2dee82=_0xde16ea[_0x24d554(0x3e9)](_0x9b4f24[_0x24d554(0x46a)]),_0x2ec116=_0xde16ea[_0x24d554(0x3e9)](_0x9b4f24[_0x24d554(0x493)]),_0x281fce=_0x54af81[_0x24d554(0x293)](),_0x31669e=new _0x1b7d14()[_0x24d554(0x1a3)](_0x281fce,_0x3b48c3,_0x8f4248),_0x51b025=new _0x1f3607()[_0x24d554(0x3d4)](_0x281fce,_0x31669e),_0x224967={'unitId':_0x2d4689,'op':_0x31669e},_0x33b425={'unitId':_0x2d4689,'op':_0x51b025};return _0x2dee82[_0x24d554(0x2ec)](_0x855ab4['id'],_0x224967)?(_0x110c02[_0x24d554(0x176)](_0x2d4689),_0x2ec116['pushUndoRedo']({'unitID':_0x2d4689,'undoMutations':[{'id':_0x855ab4['id'],'params':_0x33b425}],'redoMutations':[{'id':_0x855ab4['id'],'params':_0x224967}]}),!0x0):!0x1;}},_0x523e29={'id':_0x164ecf(0x375),'type':_0x9b4f24[_0x164ecf(0x26d)][_0x164ecf(0x3e5)],'handler':(_0x30edd4,_0x338d14)=>{const _0x16c53a=_0x164ecf;if(!_0x338d14)return!0x1;let _0x13aa54=_0x30edd4[_0x16c53a(0x3e9)](_0x9b4f24[_0x16c53a(0x15c)]),{unitId:_0x4f9103,tableId:_0x69da0c,sourceFieldId:_0x4d0f2c,field:_0xe29f0,index:_0x4b0b63,viewIndexes:_0x3f82cc}=_0x338d14,_0x2b231c=_0x13aa54[_0x16c53a(0x10d)](_0x4f9103,_0x9b4f24['UniverInstanceType'][_0x16c53a(0x3a1)]);if(!_0x2b231c||!_0x19c89e(_0x2b231c,_0x69da0c,{'fieldIds':[_0x4d0f2c]})||_0x4d0f2c===_0x9b4f24[_0x16c53a(0x2c4)]||_0x2b231c['getSnapshot']()[_0x16c53a(0x4cb)][_0x69da0c][_0x16c53a(0x43b)][_0xe29f0['id']]||_0x4b0b63===0x0||!_0x3cd3a4(_0x2b231c,_0x69da0c,_0xe29f0))return!0x1;let _0x140b37=_0x30edd4[_0x16c53a(0x3e9)](_0x9b4f24[_0x16c53a(0x46a)]),_0x181669=_0x30edd4[_0x16c53a(0x3e9)](_0x9b4f24[_0x16c53a(0x493)]),_0x130c5c=_0x2b231c[_0x16c53a(0x293)](),_0x1c9684=new _0x1b7d14()[_0x16c53a(0x21f)](_0x130c5c,_0x69da0c,_0x4d0f2c,{'field':_0xe29f0,'index':_0x4b0b63,'viewIndexes':_0x3f82cc}),_0x58a4b9=new _0x1f3607()['invertOp'](_0x130c5c,_0x1c9684),_0xee3c62={'unitId':_0x4f9103,'op':_0x1c9684},_0x30b72f={'unitId':_0x4f9103,'op':_0x58a4b9};return _0x140b37[_0x16c53a(0x2ec)](_0x855ab4['id'],_0xee3c62)?(_0x13aa54[_0x16c53a(0x176)](_0x4f9103),_0x181669[_0x16c53a(0x106)]({'unitID':_0x4f9103,'undoMutations':[{'id':_0x855ab4['id'],'params':_0x30b72f}],'redoMutations':[{'id':_0x855ab4['id'],'params':_0xee3c62}]}),!0x0):!0x1;}},_0x126c6e={'id':_0x164ecf(0x108),'type':_0x9b4f24['CommandType'][_0x164ecf(0x3e5)],'handler':(_0x5b93a6,_0x388be1)=>{const _0x3f536d=_0x164ecf;if(!_0x388be1)return!0x1;let _0x115397=_0x5b93a6[_0x3f536d(0x3e9)](_0x9b4f24['IUniverInstanceService']),{unitId:_0x32aa24,tableId:_0x158d89,sourceRecordId:_0x2c3fa1,record:_0xaffca1}=_0x388be1,_0x5040ff=_0x115397[_0x3f536d(0x10d)](_0x32aa24,_0x9b4f24[_0x3f536d(0x3d1)]['UNIVER_BASE']);if(!_0x5040ff||!_0x19c89e(_0x5040ff,_0x158d89,{'recordIds':[_0x2c3fa1]})||!_0x52f5c8(_0x5040ff,_0x158d89,_0xaffca1))return!0x1;let _0x5b40cd=_0x5b93a6[_0x3f536d(0x3e9)](_0x9b4f24[_0x3f536d(0x46a)]),_0x426ed4=_0x5b93a6[_0x3f536d(0x3e9)](_0x9b4f24[_0x3f536d(0x493)]),_0x3270f0=_0x5040ff[_0x3f536d(0x293)](),_0x2d2a2a=_0x43c7b7(_0xaffca1),_0x3b5eba=_0x59860b(_0x3270f0[_0x3f536d(0x4cb)][_0x158d89],[_0x2d2a2a]),_0x1b7edb=new _0x1b7d14()[_0x3f536d(0x39b)](_0x3270f0,_0x158d89,_0x2c3fa1,_0x2d2a2a),_0x3d22e7=new _0x1f3607()[_0x3f536d(0x3d4)](_0x3270f0,_0x1b7edb),_0x12c558={'unitId':_0x32aa24,'op':_0x1b7edb,'hierarchyChanges':_0x3b5eba[_0x3f536d(0x13b)]?_0x3b5eba:void 0x0,'source':_0x3b5eba[_0x3f536d(0x13b)]?_0x388be1['source']??'ui':void 0x0},_0x270f14={..._0x12c558,'source':_0x3b5eba[_0x3f536d(0x13b)]?_0x3f536d(0x300):void 0x0},_0x1e5539={'unitId':_0x32aa24,'op':_0x3d22e7,'hierarchyChanges':_0x3b5eba[_0x3f536d(0x13b)]?_0x3b5eba[_0x3f536d(0x2a7)](_0x99644=>({..._0x99644,'oldParentRecordId':_0x99644['parentRecordId'],'parentRecordId':null})):void 0x0,'source':_0x3b5eba[_0x3f536d(0x13b)]?'undo':void 0x0};return _0x5b40cd[_0x3f536d(0x2ec)](_0x855ab4['id'],_0x12c558)?(_0x115397[_0x3f536d(0x176)](_0x32aa24),_0x426ed4['pushUndoRedo']({'unitID':_0x32aa24,'undoMutations':[{'id':_0x855ab4['id'],'params':_0x1e5539}],'redoMutations':[{'id':_0x855ab4['id'],'params':_0x270f14}]}),!0x0):!0x1;}},_0x544d78={'id':_0x164ecf(0x36c),'type':_0x9b4f24['CommandType'][_0x164ecf(0x3e5)],'handler'(_0x418d9f,_0x114b1b){const _0x2e8dc0=_0x164ecf;if(!_0x114b1b)return!0x1;let _0x269459=_0x418d9f[_0x2e8dc0(0x3e9)](_0x9b4f24['IUniverInstanceService']),{unitId:_0x55eda5,tableId:_0x13d42a,viewId:_0x1f1569,ensureEndDateField:_0x5dadb1}=_0x114b1b,_0x584fbf=_0x269459[_0x2e8dc0(0x10d)](_0x55eda5,_0x9b4f24[_0x2e8dc0(0x3d1)][_0x2e8dc0(0x3a1)]);if(!_0x584fbf||!_0x19c89e(_0x584fbf,_0x13d42a,{'viewIds':[_0x1f1569]}))return!0x1;let _0x810179=_0x584fbf[_0x2e8dc0(0x293)](),_0x25006b=_0x810179[_0x2e8dc0(0x4cb)][_0x13d42a],_0x29340e=_0x25006b==null?void 0x0:_0x25006b[_0x2e8dc0(0x339)][_0x1f1569];if(!_0x25006b||!_0x29340e||_0x29340e['type']!=='calendar'&&_0x29340e[_0x2e8dc0(0x132)]!==_0x2e8dc0(0x1bf))return!0x1;let _0x974d97=_0x4d52c6(_0x25006b,_0x29340e,_0x5dadb1===!0x0);if(!_0x974d97[_0x2e8dc0(0x398)])return!0x1;let _0x1a0da0=_0x418d9f[_0x2e8dc0(0x3e9)](_0x9b4f24[_0x2e8dc0(0x46a)]),_0x29e0e7=_0x418d9f['get'](_0x9b4f24[_0x2e8dc0(0x493)]),_0x32d9c2=new _0x1b7d14(),_0x52fbfb=[..._0x974d97['fields'][_0x2e8dc0(0x2a7)](_0x4990ed=>_0x32d9c2['createField'](_0x810179,_0x114b1b[_0x2e8dc0(0x28a)],{'field':_0x4990ed})),_0x1da561([..._0x42bfb0(_0x114b1b[_0x2e8dc0(0x28a)],_0x114b1b[_0x2e8dc0(0x1e7)]),_0x2e8dc0(0x19f)],_0x29340e[_0x2e8dc0(0x19f)],_0x974d97[_0x2e8dc0(0x19f)])];_0x974d97[_0x2e8dc0(0x30b)]&&_0x52fbfb[_0x2e8dc0(0x4bf)](_0x1da561([..._0x42bfb0(_0x114b1b[_0x2e8dc0(0x28a)],_0x114b1b[_0x2e8dc0(0x1e7)]),_0x2e8dc0(0x30b)],_0x29340e[_0x2e8dc0(0x30b)],_0x974d97[_0x2e8dc0(0x30b)]));let _0x3b9349=_0x4fd831(_0x52fbfb),_0x17e32e=new _0x1f3607()[_0x2e8dc0(0x3d4)](_0x810179,_0x3b9349),_0x32d237={'unitId':_0x55eda5,'op':_0x3b9349},_0x1f6e22={'unitId':_0x55eda5,'op':_0x17e32e};return _0x1a0da0[_0x2e8dc0(0x2ec)](_0x855ab4['id'],_0x32d237)?(_0x269459['focusUnit'](_0x55eda5),_0x29e0e7[_0x2e8dc0(0x106)]({'unitID':_0x55eda5,'undoMutations':[{'id':_0x855ab4['id'],'params':_0x1f6e22}],'redoMutations':[{'id':_0x855ab4['id'],'params':_0x32d237}]}),!0x0):!0x1;}};function _0x1da561(_0x496ab9,_0x5ac47d,_0x51c7eb){const _0x2dd89b=_0x164ecf;return _0x5ac47d===void 0x0?_0x9b4f24['JSON1']['insertOp'](_0x496ab9,_0x51c7eb):_0x9b4f24[_0x2dd89b(0x47b)][_0x2dd89b(0x189)](_0x496ab9,_0x5ac47d,_0x51c7eb);}function _0x42bfb0(_0x29b000,_0x184b34){const _0x44aae3=_0x164ecf;return[_0x44aae3(0x4cb),_0x29b000,'views',_0x184b34];}let _0x2013d4={'id':_0x164ecf(0x3bb),'type':_0x9b4f24[_0x164ecf(0x26d)][_0x164ecf(0x3e5)],'handler':(_0xf29802,_0xbd1711)=>{const _0x534251=_0x164ecf;if(!_0xbd1711)return!0x1;let _0x554899=_0xf29802['get'](_0x9b4f24[_0x534251(0x15c)]),{unitId:_0x4f2d14,tableId:_0x26eca9,fieldId:_0x2b1814,target:_0x5ea048}=_0xbd1711,_0x27466e=_0x554899[_0x534251(0x10d)](_0x4f2d14,_0x9b4f24[_0x534251(0x3d1)][_0x534251(0x3a1)]),_0x1056ce=_0x5ea048[_0x534251(0x249)]??_0x5ea048[_0x534251(0x20b)];if(!_0x27466e||!!_0x5ea048[_0x534251(0x249)]==!!_0x5ea048[_0x534251(0x20b)]||!_0x1056ce||_0x1056ce===_0x2b1814||_0x2b1814===_0x9b4f24['BASE_RECORD_ID_FIELD_ID']||_0x5ea048[_0x534251(0x249)]===_0x9b4f24[_0x534251(0x2c4)]||!_0x19c89e(_0x27466e,_0x26eca9,{'fieldIds':[_0x2b1814,_0x1056ce]}))return!0x1;let _0x19ab2e=_0xf29802[_0x534251(0x3e9)](_0x9b4f24[_0x534251(0x46a)]),_0x124ec2=_0xf29802[_0x534251(0x3e9)](_0x9b4f24[_0x534251(0x493)]),_0x33fbbe=_0x27466e[_0x534251(0x293)](),_0x30b1ef=new _0x1b7d14()['moveField'](_0x33fbbe,_0x26eca9,_0x2b1814,_0x5ea048),_0xfa1d94=new _0x1f3607()[_0x534251(0x3d4)](_0x33fbbe,_0x30b1ef),_0x42d2ce={'unitId':_0x4f2d14,'op':_0x30b1ef},_0x48e1d3={'unitId':_0x4f2d14,'op':_0xfa1d94};return _0x19ab2e['syncExecuteCommand'](_0x855ab4['id'],_0x42d2ce)?(_0x554899['focusUnit'](_0x4f2d14),_0x124ec2[_0x534251(0x106)]({'unitID':_0x4f2d14,'undoMutations':[{'id':_0x855ab4['id'],'params':_0x48e1d3}],'redoMutations':[{'id':_0x855ab4['id'],'params':_0x42d2ce}]}),!0x0):!0x1;}},_0x2e4a52={'id':_0x164ecf(0x3db),'type':_0x9b4f24[_0x164ecf(0x26d)]['COMMAND'],'handler':(_0x600150,_0x562869)=>{const _0x53046d=_0x164ecf;var _0x211919;if(!_0x562869)return!0x1;let {unitId:_0x382a67,tableId:_0xc348e6,recordId:_0x7eeb76,parentRecordId:_0x12659a,orderKey:_0x583274}=_0x562869,_0x15714e=_0x600150[_0x53046d(0x3e9)](_0x9b4f24[_0x53046d(0x15c)]),_0x4271e0=_0x15714e[_0x53046d(0x10d)](_0x382a67,_0x9b4f24[_0x53046d(0x3d1)][_0x53046d(0x3a1)]);if(!_0x4271e0||!_0x19c89e(_0x4271e0,_0xc348e6,{'recordIds':[_0x7eeb76,..._0x12659a?[_0x12659a]:[]]}))throw new _0x4c5b17('missingRecord');let _0x2087c6=_0x4271e0[_0x53046d(0x293)](),_0x228096=_0x2087c6[_0x53046d(0x4cb)][_0xc348e6],_0x447337=_0x98202f(_0x228096),_0x497241=_0x447337??_0x562869[_0x53046d(0x195)]??_0x2e350d(_0x228096);if(_0x447337&&_0x562869[_0x53046d(0x195)]&&_0x562869[_0x53046d(0x195)]!==_0x447337||_0x228096['fields'][_0x497241]&&!_0x12230b(_0x228096,_0x497241))throw new _0x4c5b17(_0x53046d(0x347));let _0x1c738f=_0x32c245(_0x228096,_0x497241),_0x11d188=_0x1a5f43(_0x1c738f,_0x7eeb76,_0x12659a);if(!_0x11d188[_0x53046d(0x1ae)])throw new _0x4c5b17(_0x11d188[_0x53046d(0x167)]===_0x9b4f24[_0x53046d(0x291)][_0x53046d(0x2df)]?'selfParent':_0x11d188['reason']===_0x9b4f24[_0x53046d(0x291)][_0x53046d(0x4d1)]?_0x53046d(0x35a):_0x53046d(0x2f6));let _0x12a33f=_0x1c738f[_0x53046d(0x3ff)]['get'](_0x7eeb76)??null,_0x15d7b2=_0x228096[_0x53046d(0x312)][_0x7eeb76][_0x53046d(0x1ac)];if(_0x12a33f===_0x12659a&&(_0x583274===void 0x0||_0x583274===_0x15d7b2))return!0x0;let _0x5ba8e1=_0x12a33f!==_0x12659a,_0x2d2c0e=_0x583274!==void 0x0&&_0x583274!==_0x15d7b2,_0x1ceccc=new _0x1b7d14(),_0x1aed90=[],_0x2dd05f=_0x228096[_0x53046d(0x43b)][_0x497241],_0x2a55b0=_0x5ba8e1&&(!_0x2dd05f||((_0x211919=_0xfcdc79(_0x2dd05f))==null?void 0x0:_0x211919[_0x53046d(0x465)])!==_0x9b4f24[_0x53046d(0x4a2)][_0x53046d(0x32d)])?_0x2dd05f?_0x1ceccc[_0x53046d(0x228)](_0x2087c6,_0xc348e6,_0x497241,{'config':{..._0x2dd05f[_0x53046d(0x19f)],'relationRole':_0x9b4f24[_0x53046d(0x4a2)][_0x53046d(0x32d)]}}):_0x600150['get'](_0x1e9ebe)[_0x53046d(0x384)](_0x4271e0,_0xc348e6,_0x736d67(_0x228096,_0x497241,_0x562869['parentFieldName']),_0x228096['fieldOrder'][_0x53046d(0x13b)]):null;_0x2a55b0&&_0x1aed90['push'](_0x2a55b0),_0x5ba8e1&&_0x1aed90[_0x53046d(0x4bf)](_0x1ceccc[_0x53046d(0x2fa)](_0x2087c6,_0xc348e6,_0x7eeb76,_0x497241,_0x12659a?_0x50a032([_0x12659a]):'')),_0x2d2c0e&&_0x1aed90[_0x53046d(0x4bf)](_0x1ceccc[_0x53046d(0x265)](_0x2087c6,_0xc348e6,_0x7eeb76,_0x583274));let _0x2490fa=_0x4fd831(_0x1aed90),_0x42c401={'tableId':_0xc348e6,'fieldId':_0x497241,'recordId':_0x7eeb76,'oldParentRecordId':_0x12a33f,'parentRecordId':_0x12659a},_0x30a409={'unitId':_0x382a67,'op':_0x2490fa,'trigger':_0x2e4a52['id'],'hierarchyChanges':[_0x42c401],'source':_0x562869[_0x53046d(0x268)]??'ui'},_0x57c703={..._0x30a409,'source':'redo'};if(!_0x600150['get'](_0x9b4f24[_0x53046d(0x46a)])[_0x53046d(0x2ec)](_0x855ab4['id'],_0x30a409))return!0x1;let _0x41b604=_0x4271e0[_0x53046d(0x293)](),_0x4d9bb8=[];_0x5ba8e1&&_0x4d9bb8[_0x53046d(0x4bf)](_0x7ed037(_0x41b604,_0x2087c6,_0xc348e6,_0x7eeb76,_0x497241)),_0x2d2c0e&&_0x4d9bb8[_0x53046d(0x4bf)](_0x8b7fdd(_0x41b604,_0x2087c6,_0xc348e6,_0x7eeb76)),_0x2a55b0&&_0x4d9bb8[_0x53046d(0x4bf)](new _0x1f3607()[_0x53046d(0x3d4)](_0x2087c6,_0x2a55b0));let _0x31bac9={'unitId':_0x382a67,'op':_0x4fd831(_0x4d9bb8),'trigger':_0x2e4a52['id'],'hierarchyChanges':[{..._0x42c401,'oldParentRecordId':_0x12659a,'parentRecordId':_0x12a33f}],'source':_0x53046d(0x38f)};return _0x15714e[_0x53046d(0x176)](_0x382a67),_0x600150[_0x53046d(0x3e9)](_0x9b4f24[_0x53046d(0x493)])[_0x53046d(0x106)]({'unitID':_0x382a67,'undoMutations':[{'id':_0x855ab4['id'],'params':_0x31bac9}],'redoMutations':[{'id':_0x855ab4['id'],'params':_0x57c703}]}),!0x0;}};function _0x7ed037(_0x588977,_0x3a8e82,_0x59a519,_0x5b445c,_0x40b616){const _0x29d04b=_0x164ecf;var _0x81924a,_0x355a8a,_0x563146,_0x5683b0,_0x58d806,_0x11f6fb,_0x1b6c8a,_0x37fc90;let _0x5408dc=_0x588977[_0x29d04b(0x4cb)][_0x59a519],_0x2327c2=_0x3a8e82[_0x29d04b(0x4cb)][_0x59a519],_0xbd6f0f=(_0x81924a=_0x5408dc[_0x29d04b(0x371)])==null?void 0x0:_0x81924a[_0x5b445c],_0x5a8229=(_0x355a8a=_0x5408dc['colIndex'])==null?void 0x0:_0x355a8a[_0x40b616],_0x5d3407=(_0x563146=_0x2327c2[_0x29d04b(0x371)])==null?void 0x0:_0x563146[_0x5b445c],_0x3bb88e=(_0x5683b0=_0x2327c2[_0x29d04b(0x23b)])==null?void 0x0:_0x5683b0[_0x40b616],_0x12291f=_0xbd6f0f==null||_0x5a8229==null||(_0x58d806=_0x5408dc[_0x29d04b(0x216)])==null||(_0x58d806=_0x58d806[_0xbd6f0f])==null?void 0x0:_0x58d806[_0x5a8229],_0x3e6c33=_0x5d3407==null||_0x3bb88e==null||(_0x11f6fb=_0x2327c2['cellData'])==null||(_0x11f6fb=_0x11f6fb[_0x5d3407])==null?void 0x0:_0x11f6fb[_0x3bb88e],_0x4978f6=(_0x1b6c8a=_0x5408dc[_0x29d04b(0x312)][_0x5b445c])==null?void 0x0:_0x1b6c8a[_0x29d04b(0x10a)][_0x40b616],_0x35d592=(_0x37fc90=_0x2327c2[_0x29d04b(0x312)][_0x5b445c])==null?void 0x0:_0x37fc90[_0x29d04b(0x10a)][_0x40b616],_0x239acb=[],_0x329a20=_0x12412d(_0xbd6f0f==null||_0x5a8229==null?null:_0x3b7826[_0x29d04b(0x216)](_0x59a519,_0xbd6f0f,_0x5a8229),_0x12291f,_0x3e6c33);_0x329a20&&_0x239acb[_0x29d04b(0x4bf)](_0x329a20);let _0x2b6e15=_0x12412d(_0x3b7826[_0x29d04b(0x213)](_0x59a519,_0x5b445c,_0x40b616),_0x4978f6,_0x35d592);return _0x2b6e15&&_0x239acb[_0x29d04b(0x4bf)](_0x2b6e15),_0x4fd831(_0x239acb);}function _0x8b7fdd(_0x38876a,_0x50b7f7,_0xc4acf4,_0x5e1211){const _0x4403bd=_0x164ecf;var _0x39ea62,_0x1346e7;let _0x4cbc90=_0x38876a[_0x4403bd(0x4cb)][_0xc4acf4],_0x31045d=_0x50b7f7[_0x4403bd(0x4cb)][_0xc4acf4];return _0x4fd831([_0x12412d([..._0x3b7826[_0x4403bd(0x2cb)](_0xc4acf4,_0x5e1211),_0x4403bd(0x1ac)],(_0x39ea62=_0x4cbc90[_0x4403bd(0x312)][_0x5e1211])==null?void 0x0:_0x39ea62[_0x4403bd(0x1ac)],(_0x1346e7=_0x31045d['records'][_0x5e1211])==null?void 0x0:_0x1346e7[_0x4403bd(0x1ac)]),_0x12412d([..._0x3b7826['table'](_0xc4acf4),_0x4403bd(0x411)],_0x4cbc90[_0x4403bd(0x411)],_0x31045d[_0x4403bd(0x411)])][_0x4403bd(0x41f)](_0x5434ed=>!!_0x5434ed));}function _0x12412d(_0x15a795,_0x120bbe,_0x126371){const _0x6e4a5a=_0x164ecf;if(!_0x15a795||_0x120bbe===void 0x0&&_0x126371===void 0x0)return null;let _0xbf75e8=_0x9b4f24['JSONX']['getInstance']();return _0x126371===void 0x0?_0xbf75e8['removeOp'](_0x15a795,_0x120bbe):_0x120bbe===void 0x0?_0xbf75e8[_0x6e4a5a(0x4c9)](_0x15a795,_0x126371):_0xbf75e8['replaceOp'](_0x15a795,_0x120bbe,_0x126371);}let _0x205f40={'id':_0x164ecf(0x118),'type':_0x9b4f24[_0x164ecf(0x26d)][_0x164ecf(0x3e5)],'handler':(_0x5369fa,_0x53f465)=>{const _0x336f3d=_0x164ecf;if(!_0x53f465)return!0x1;let _0x46677c=_0x5369fa[_0x336f3d(0x3e9)](_0x9b4f24[_0x336f3d(0x15c)]),{unitId:_0x4d2508,tableId:_0xbe69c1,viewId:_0x58eb15,target:_0x3b23f3}=_0x53f465,_0x42190a=_0x46677c[_0x336f3d(0x10d)](_0x4d2508,_0x9b4f24[_0x336f3d(0x3d1)][_0x336f3d(0x3a1)]),_0x52f2c6=_0x3b23f3['beforeViewId']??_0x3b23f3['afterViewId'];if(!_0x42190a||!_0x52f2c6||_0x52f2c6===_0x58eb15||!_0x19c89e(_0x42190a,_0xbe69c1,{'viewIds':[_0x58eb15,_0x52f2c6]}))return!0x1;let _0x8d0822=_0x5369fa[_0x336f3d(0x3e9)](_0x9b4f24['ICommandService']),_0x2593ca=_0x5369fa[_0x336f3d(0x3e9)](_0x9b4f24['IUndoRedoService']),_0x53ac4a=_0x42190a[_0x336f3d(0x293)](),_0x1f853b=new _0x1b7d14()['moveView'](_0x53ac4a,_0xbe69c1,_0x58eb15,_0x3b23f3),_0x18028e=new _0x1f3607()[_0x336f3d(0x3d4)](_0x53ac4a,_0x1f853b),_0x226c63={'unitId':_0x4d2508,'op':_0x1f853b},_0x1ffd40={'unitId':_0x4d2508,'op':_0x18028e};return _0x8d0822[_0x336f3d(0x2ec)](_0x855ab4['id'],_0x226c63)?(_0x46677c[_0x336f3d(0x176)](_0x4d2508),_0x2593ca['pushUndoRedo']({'unitID':_0x4d2508,'undoMutations':[{'id':_0x855ab4['id'],'params':_0x1ffd40}],'redoMutations':[{'id':_0x855ab4['id'],'params':_0x226c63}]}),!0x0):!0x1;}},_0x2ba026={'id':'base.command.rename-base-table','type':_0x9b4f24['CommandType'][_0x164ecf(0x3e5)],'handler':(_0x2dadd8,_0xa4f2cf)=>{const _0x1c27a5=_0x164ecf;if(!_0xa4f2cf)return!0x1;let _0x125057=_0x2dadd8[_0x1c27a5(0x3e9)](_0x9b4f24['IUniverInstanceService']),{unitId:_0x5d882c,tableId:_0x525f1c,name:_0x52b15e}=_0xa4f2cf,_0x186909=_0x125057[_0x1c27a5(0x10d)](_0x5d882c,_0x9b4f24['UniverInstanceType'][_0x1c27a5(0x3a1)]);if(!_0x186909||!_0x19c89e(_0x186909,_0x525f1c))return!0x1;let _0x318dd6=_0x2dadd8[_0x1c27a5(0x3e9)](_0x9b4f24[_0x1c27a5(0x46a)]),_0x2e28d4=_0x2dadd8[_0x1c27a5(0x3e9)](_0x9b4f24[_0x1c27a5(0x493)]),_0x26c2d7=_0x186909['getSnapshot'](),_0x4ac4a8=new _0x1b7d14()[_0x1c27a5(0x30d)](_0x26c2d7,_0x525f1c,_0x52b15e),_0x282a1e=new _0x1f3607()[_0x1c27a5(0x3d4)](_0x26c2d7,_0x4ac4a8),_0x46c034={'unitId':_0x5d882c,'op':_0x4ac4a8},_0x313700={'unitId':_0x5d882c,'op':_0x282a1e};return _0x318dd6['syncExecuteCommand'](_0x855ab4['id'],_0x46c034)?(_0x125057[_0x1c27a5(0x176)](_0x5d882c),_0x2e28d4[_0x1c27a5(0x106)]({'unitID':_0x5d882c,'undoMutations':[{'id':_0x855ab4['id'],'params':_0x313700}],'redoMutations':[{'id':_0x855ab4['id'],'params':_0x46c034}]}),!0x0):!0x1;}},_0x294043={'id':'base.command.rename-base-view','type':_0x9b4f24['CommandType'][_0x164ecf(0x3e5)],'handler':(_0x4d207b,_0x30e17b)=>{const _0x4b21cb=_0x164ecf;if(!_0x30e17b)return!0x1;let _0x2165df=_0x4d207b[_0x4b21cb(0x3e9)](_0x9b4f24[_0x4b21cb(0x15c)]),{unitId:_0x5bf189,tableId:_0x35d538,viewId:_0x43a966,name:_0x1533da}=_0x30e17b,_0x1830d4=_0x2165df[_0x4b21cb(0x10d)](_0x5bf189,_0x9b4f24[_0x4b21cb(0x3d1)][_0x4b21cb(0x3a1)]);if(!_0x1830d4||!_0x19c89e(_0x1830d4,_0x35d538,{'viewIds':[_0x43a966]}))return!0x1;let _0x48433b=_0x4d207b[_0x4b21cb(0x3e9)](_0x9b4f24['ICommandService']),_0x2ccf00=_0x4d207b[_0x4b21cb(0x3e9)](_0x9b4f24['IUndoRedoService']),_0x59d5f6=_0x1830d4[_0x4b21cb(0x293)](),_0x1f9bb1=new _0x1b7d14()[_0x4b21cb(0xff)](_0x59d5f6,_0x35d538,_0x43a966,_0x1533da),_0xd1a8df=new _0x1f3607()['invertOp'](_0x59d5f6,_0x1f9bb1),_0x43bfa8={'unitId':_0x5bf189,'op':_0x1f9bb1},_0x292aa5={'unitId':_0x5bf189,'op':_0xd1a8df};return _0x48433b['syncExecuteCommand'](_0x855ab4['id'],_0x43bfa8)?(_0x2165df[_0x4b21cb(0x176)](_0x5bf189),_0x2ccf00[_0x4b21cb(0x106)]({'unitID':_0x5bf189,'undoMutations':[{'id':_0x855ab4['id'],'params':_0x292aa5}],'redoMutations':[{'id':_0x855ab4['id'],'params':_0x43bfa8}]}),!0x0):!0x1;}},_0x55e571={'id':_0x164ecf(0x23a),'type':_0x9b4f24[_0x164ecf(0x26d)][_0x164ecf(0x3e5)],'handler':(_0x5b5e1d,_0x357e7d)=>{const _0x116c99=_0x164ecf;if(!_0x357e7d)return!0x1;let _0x5e5cec=_0x5b5e1d[_0x116c99(0x3e9)](_0x9b4f24[_0x116c99(0x15c)]),{unitId:_0x2c9d17,tableId:_0xb341f7,viewId:_0x153825,fieldId:_0x3e2424}=_0x357e7d,_0x4be47d=_0x5e5cec[_0x116c99(0x10d)](_0x2c9d17,_0x9b4f24[_0x116c99(0x3d1)]['UNIVER_BASE']);if(!_0x4be47d||!_0x19c89e(_0x4be47d,_0xb341f7,{'viewIds':[_0x153825],'fieldIds':[_0x3e2424]}))return!0x1;let _0x1abde0=_0x5b5e1d[_0x116c99(0x3e9)](_0x9b4f24['ICommandService']),_0x43429b=_0x5b5e1d[_0x116c99(0x3e9)](_0x9b4f24[_0x116c99(0x493)]),_0x5ba88f=_0x4be47d[_0x116c99(0x293)](),_0x314296=new _0x1b7d14()[_0x116c99(0x319)](_0x5ba88f,_0xb341f7,_0x153825,{'groupFieldId':_0x3e2424}),_0x2654ed=new _0x1f3607()['invertOp'](_0x5ba88f,_0x314296),_0x146eb7={'unitId':_0x2c9d17,'op':_0x314296},_0x5b4848={'unitId':_0x2c9d17,'op':_0x2654ed};return _0x1abde0[_0x116c99(0x2ec)](_0x855ab4['id'],_0x146eb7)?(_0x5e5cec['focusUnit'](_0x2c9d17),_0x43429b[_0x116c99(0x106)]({'unitID':_0x2c9d17,'undoMutations':[{'id':_0x855ab4['id'],'params':_0x5b4848}],'redoMutations':[{'id':_0x855ab4['id'],'params':_0x146eb7}]}),!0x0):!0x1;}},_0x5895b8={'id':_0x164ecf(0x342),'type':_0x9b4f24[_0x164ecf(0x26d)]['COMMAND'],'handler':(_0x12ff00,_0x3e1be4)=>{const _0x2bff72=_0x164ecf;if(!_0x3e1be4)return!0x1;let _0x506cbd=_0x12ff00[_0x2bff72(0x3e9)](_0x9b4f24['IUniverInstanceService']),_0x3cdc99=_0x506cbd[_0x2bff72(0x10d)](_0x3e1be4[_0x2bff72(0x333)],_0x9b4f24[_0x2bff72(0x3d1)][_0x2bff72(0x3a1)]);if(!_0x3cdc99)return!0x1;let _0x52ecec=_0x3cdc99[_0x2bff72(0x293)]()[_0x2bff72(0x267)];if(_0x52ecec===_0x3e1be4['name'])return!0x0;let _0x5b3db8=new _0x1b7d14(),_0x2dd52d=new _0x1f3607(),_0xdbd756=[],_0x12d031=[],_0x3222c0=[_0x3cdc99,..._0x506cbd[_0x2bff72(0x446)](_0x9b4f24[_0x2bff72(0x3d1)][_0x2bff72(0x3a1)])[_0x2bff72(0x41f)](_0x1adbf2=>_0x1adbf2[_0x2bff72(0x368)]()!==_0x3e1be4[_0x2bff72(0x333)])];for(let _0xd11033 of _0x3222c0){let _0x384bf0=_0xd11033[_0x2bff72(0x293)](),_0x219cbf=_0xd11033===_0x3cdc99?_0x5b3db8[_0x2bff72(0x36a)](_0x384bf0,_0x3e1be4[_0x2bff72(0x267)]):_0x5b3db8['renameFormulaUnitReferences'](_0x384bf0,_0x52ecec,_0x3e1be4[_0x2bff72(0x267)]);_0x219cbf&&(_0xdbd756[_0x2bff72(0x4bf)]({'id':_0x855ab4['id'],'params':{'unitId':_0xd11033[_0x2bff72(0x368)](),'op':_0x219cbf,'trigger':_0x5895b8['id']}}),_0x12d031[_0x2bff72(0x3ce)]({'id':_0x855ab4['id'],'params':{'unitId':_0xd11033['getUnitId'](),'op':_0x2dd52d[_0x2bff72(0x3d4)](_0x384bf0,_0x219cbf),'trigger':_0x5895b8['id']}}));}let _0x40227e=_0x12ff00[_0x2bff72(0x3e9)](_0x9b4f24[_0x2bff72(0x46a)]),_0x841ce9=_0x12ff00['get'](_0x9b4f24[_0x2bff72(0x493)]),_0x228eea=_0x841ce9[_0x2bff72(0x3f2)](_0x3e1be4[_0x2bff72(0x333)]);try{return(0x0,_0x9b4f24[_0x2bff72(0x193)])(_0xdbd756,_0x40227e)[_0x2bff72(0x409)]?(_0x506cbd[_0x2bff72(0x176)](_0x3e1be4['unitId']),_0x841ce9['pushUndoRedo']({'unitID':_0x3e1be4[_0x2bff72(0x333)],'undoMutations':_0x12d031,'redoMutations':_0xdbd756}),!0x0):!0x1;}finally{_0x228eea[_0x2bff72(0x37e)]();}}};function _0x145e8a(_0x21d706,_0xc90ef5){const _0x24c7a4=_0x164ecf;let _0xf342f6=_0x8ae1a4(_0x9b4f24['Tools'][_0x24c7a4(0x1a6)](_0x21d706)),_0x11d57b=new Map();return _0xc90ef5['forEach'](_0x245b42=>{const _0x29ddcf=_0x24c7a4;var _0x20f0e2,_0x152d51;let _0x5e2d3c=_0x29ddcf(0x1d9)in _0x245b42?_0x245b42[_0x29ddcf(0x1d9)]:(_0x20f0e2=_0xf342f6[_0x29ddcf(0x3c7)])==null?void 0x0:_0x20f0e2[_0x245b42[_0x29ddcf(0x12f)]],_0x242233=_0x29ddcf(0x195)in _0x245b42?_0x245b42['fieldId']:(_0x152d51=_0xf342f6['colId'])==null?void 0x0:_0x152d51[_0x245b42['col']],_0x17c6a4=_0x242233?_0xf342f6['fields'][_0x242233]:void 0x0;if(!_0x5e2d3c||!_0x242233||!_0x17c6a4||!_0xf342f6[_0x29ddcf(0x312)][_0x5e2d3c])return;let _0x26bddd=_0x241162(_0x245b42[_0x29ddcf(0x43f)],_0x17c6a4),_0x708431=_0x2ad280(_0x245b42[_0x29ddcf(0x43f)],_0x26bddd,_0x17c6a4,_0xf342f6,_0x5e2d3c),_0x23de5b=_0x11d57b[_0x29ddcf(0x3e9)](_0x5e2d3c)??{};_0x23de5b[_0x242233]=_0x708431,_0x11d57b[_0x29ddcf(0x25a)](_0x5e2d3c,_0x23de5b);}),[..._0x11d57b][_0x24c7a4(0x2a7)](([_0x59dd8c,_0x1df32d])=>({'recordId':_0x59dd8c,'values':_0x1df32d}));}let _0x29a73e={'id':_0x164ecf(0x1d7),'type':_0x9b4f24[_0x164ecf(0x26d)]['COMMAND'],'handler'(_0x1d0344,_0x36f151){const _0x788515=_0x164ecf;if(!_0x36f151)return!0x1;let _0x1d91eb=_0x1d0344[_0x788515(0x3e9)](_0x9b4f24[_0x788515(0x15c)]),{unitId:_0x2d2057,tableId:_0x52ffa7,patches:_0x1e2351}=_0x36f151,_0x4ba512=_0x1d91eb[_0x788515(0x10d)](_0x2d2057,_0x9b4f24['UniverInstanceType'][_0x788515(0x3a1)]);if(!_0x4ba512||!_0x19c89e(_0x4ba512,_0x52ffa7))return!0x1;let _0x12d8e6=_0x1d0344['get'](_0x9b4f24[_0x788515(0x46a)]),_0x454e2f=_0x1d0344[_0x788515(0x3e9)](_0x9b4f24[_0x788515(0x493)]),_0x53802c=_0x4ba512[_0x788515(0x293)](),_0x3cbc7c=_0x8ae1a4(_0x53802c[_0x788515(0x4cb)][_0x52ffa7]),_0x19dcfb=_0x1e2351[_0x788515(0x2a7)](_0x511638=>{const _0x16409e=_0x788515;var _0x550657;return _0x16409e(0x1d9)in _0x511638?_0x511638[_0x16409e(0x1d9)]:(_0x550657=_0x3cbc7c[_0x16409e(0x3c7)])==null?void 0x0:_0x550657[_0x511638[_0x16409e(0x12f)]];})[_0x788515(0x41f)](_0x53fca3=>_0x53fca3!=null),_0x28ad5c=_0x1e2351['map'](_0x58381a=>{const _0xb13018=_0x788515;var _0x54b96d;return'fieldId'in _0x58381a?_0x58381a['fieldId']:(_0x54b96d=_0x3cbc7c[_0xb13018(0x282)])==null?void 0x0:_0x54b96d[_0x58381a[_0xb13018(0x48d)]];})[_0x788515(0x41f)](_0x50e0e3=>_0x50e0e3!=null);if(_0x19dcfb['length']!==_0x1e2351[_0x788515(0x13b)]||_0x28ad5c[_0x788515(0x13b)]!==_0x1e2351[_0x788515(0x13b)]||!_0x19c89e(_0x4ba512,_0x52ffa7,{'recordIds':_0x19dcfb,'fieldIds':_0x28ad5c})||_0x1e2351['some']((_0x25e018,_0x3cca66)=>!_0x3af45b(_0x4ba512,_0x52ffa7,_0x28ad5c[_0x3cca66],_0x25e018[_0x788515(0x43f)])))return!0x1;let _0x5aed79=_0x1b77f4(_0x3cbc7c,_0x145e8a(_0x3cbc7c,_0x1e2351)),_0x159693=_0x1e2351[_0x788515(0x17e)](_0x314276=>{const _0x374b20=_0x788515;var _0x21deef,_0x2f70b1;if('row'in _0x314276)return[_0x314276];let _0x145125=(_0x21deef=_0x3cbc7c[_0x374b20(0x371)])==null?void 0x0:_0x21deef[_0x314276['recordId']],_0x4e965f=(_0x2f70b1=_0x3cbc7c[_0x374b20(0x23b)])==null?void 0x0:_0x2f70b1[_0x314276[_0x374b20(0x195)]];return _0x145125==null||_0x4e965f==null?[]:[{'row':_0x145125,'col':_0x4e965f,'value':_0x314276[_0x374b20(0x43f)]}];}),_0x1d4921=new _0x1b7d14()[_0x788515(0x123)](_0x53802c,_0x52ffa7,_0x159693),_0x356cf8=new _0x1f3607()['invertOp'](_0x53802c,_0x1d4921),_0x245cb1={'unitId':_0x2d2057,'op':_0x1d4921,'trigger':_0x5aed79[_0x788515(0x13b)]?_0x29a73e['id']:void 0x0,'hierarchyChanges':_0x5aed79[_0x788515(0x13b)]?_0x5aed79:void 0x0,'source':_0x5aed79[_0x788515(0x13b)]?_0x788515(0x300):void 0x0},_0x238850={'unitId':_0x2d2057,'op':_0x356cf8,'trigger':_0x5aed79[_0x788515(0x13b)]?_0x29a73e['id']:void 0x0,'hierarchyChanges':_0x5aed79[_0x788515(0x13b)]?_0x5aed79['map'](_0x3e3dc3=>({..._0x3e3dc3,'oldParentRecordId':_0x3e3dc3[_0x788515(0x40c)],'parentRecordId':_0x3e3dc3['oldParentRecordId']})):void 0x0,'source':_0x5aed79[_0x788515(0x13b)]?_0x788515(0x38f):void 0x0},_0xaa9737={..._0x245cb1,'source':_0x5aed79[_0x788515(0x13b)]?_0x36f151[_0x788515(0x268)]??'ui':void 0x0};return _0x12d8e6['syncExecuteCommand'](_0x855ab4['id'],_0xaa9737)?(_0x1d91eb['focusUnit'](_0x2d2057),_0x454e2f['pushUndoRedo']({'unitID':_0x2d2057,'undoMutations':[{'id':_0x855ab4['id'],'params':_0x238850}],'redoMutations':[{'id':_0x855ab4['id'],'params':_0x245cb1}]}),!0x0):!0x1;}},_0x1e6dbd={'id':_0x164ecf(0x144),'type':_0x9b4f24[_0x164ecf(0x26d)][_0x164ecf(0x3e5)],'handler'(_0x25c817,_0x57db4a){const _0x18882e=_0x164ecf;if(!_0x57db4a)return!0x1;let _0x5ecacc=_0x25c817[_0x18882e(0x3e9)](_0x9b4f24[_0x18882e(0x15c)]),{unitId:_0x488534,tableId:_0x524cf6,patches:_0x508013}=_0x57db4a,_0x184c6a=_0x5ecacc[_0x18882e(0x10d)](_0x488534,_0x9b4f24['UniverInstanceType'][_0x18882e(0x3a1)]),_0x4a8eab=_0x508013['map'](_0x17aeef=>_0x17aeef['recordId']),_0x363413=_0x508013[_0x18882e(0x17e)](_0x50ff08=>Object[_0x18882e(0x1fe)](_0x50ff08[_0x18882e(0x10a)]));if(!_0x184c6a||!_0x19c89e(_0x184c6a,_0x524cf6,{'recordIds':_0x4a8eab,'fieldIds':_0x363413})||_0x508013['some'](_0x537b51=>Object[_0x18882e(0x489)](_0x537b51[_0x18882e(0x10a)])[_0x18882e(0x3ba)](([_0x9216b0,_0x46bed5])=>!_0x3af45b(_0x184c6a,_0x524cf6,_0x9216b0,_0x46bed5))))return!0x1;let _0x2db0bb=_0x1b77f4(_0x184c6a['getSnapshot']()[_0x18882e(0x4cb)][_0x524cf6],_0x508013),_0x204795=_0x25c817['get'](_0x9b4f24[_0x18882e(0x46a)]),_0x3b51b3=_0x25c817[_0x18882e(0x3e9)](_0x9b4f24[_0x18882e(0x493)]),_0x1a80fe=_0x25c817[_0x18882e(0x3e9)](_0x1e9ebe)[_0x18882e(0x210)](_0x184c6a,_0x524cf6,_0x508013),_0x4708c3=new _0x1f3607()[_0x18882e(0x3d4)](_0x184c6a['getSnapshot'](),_0x1a80fe),_0x2516cb={'unitId':_0x488534,'op':_0x1a80fe,'trigger':_0x2db0bb['length']?_0x1e6dbd['id']:void 0x0,'hierarchyChanges':_0x2db0bb[_0x18882e(0x13b)]?_0x2db0bb:void 0x0,'source':_0x2db0bb[_0x18882e(0x13b)]?_0x57db4a[_0x18882e(0x268)]??'ui':void 0x0},_0xe147eb={..._0x2516cb,'source':_0x2db0bb[_0x18882e(0x13b)]?_0x18882e(0x300):void 0x0},_0x3dfc5d={'unitId':_0x488534,'op':_0x4708c3,'trigger':_0x2db0bb[_0x18882e(0x13b)]?_0x1e6dbd['id']:void 0x0,'hierarchyChanges':_0x2db0bb[_0x18882e(0x13b)]?_0x2db0bb[_0x18882e(0x2a7)](_0x1af721=>({..._0x1af721,'oldParentRecordId':_0x1af721[_0x18882e(0x40c)],'parentRecordId':_0x1af721[_0x18882e(0x24d)]})):void 0x0,'source':_0x2db0bb['length']?'undo':void 0x0};return _0x204795['syncExecuteCommand'](_0x855ab4['id'],_0x2516cb)?(_0x5ecacc['focusUnit'](_0x488534),_0x3b51b3[_0x18882e(0x106)]({'unitID':_0x488534,'undoMutations':[{'id':_0x855ab4['id'],'params':_0x3dfc5d}],'redoMutations':[{'id':_0x855ab4['id'],'params':_0xe147eb}]}),!0x0):!0x1;}},_0xea01fc={'id':_0x164ecf(0x479),'type':_0x9b4f24[_0x164ecf(0x26d)][_0x164ecf(0x3e5)],'handler':(_0x15b0ae,_0x55f6bb)=>{const _0x42ac00=_0x164ecf;if(!_0x55f6bb)return!0x1;let {unitId:_0xbc36b0,tableId:_0x21aa4d,fieldId:_0x41618a}=_0x55f6bb,_0x587c4b=_0x15b0ae[_0x42ac00(0x3e9)](_0x9b4f24[_0x42ac00(0x15c)]),_0x222ad6=_0x587c4b[_0x42ac00(0x10d)](_0xbc36b0,_0x9b4f24[_0x42ac00(0x3d1)]['UNIVER_BASE']);if(!_0x222ad6||!_0x19c89e(_0x222ad6,_0x21aa4d))return!0x1;let _0x524380=_0x222ad6[_0x42ac00(0x293)](),_0x586be0=_0x524380[_0x42ac00(0x4cb)][_0x21aa4d];if(_0x41618a!==null&&!_0x12230b(_0x586be0,_0x41618a))throw new _0x4c5b17(_0x42ac00(0x347));if(_0x98202f(_0x586be0)===_0x41618a)return!0x0;let _0x123198=new _0x1b7d14(),_0x19b223=_0x4fd831(Object['values'](_0x586be0['fields'])[_0x42ac00(0x17e)](_0x51cf48=>{const _0x16bc41=_0x42ac00;if(!_0x12230b(_0x586be0,_0x51cf48['id']))return[];let _0x3478aa=_0xfcdc79(_0x51cf48);if(!_0x3478aa)return[];let _0x31f4c3=_0x51cf48['id']===_0x41618a;if(_0x3478aa['relationRole']===_0x9b4f24[_0x16bc41(0x4a2)][_0x16bc41(0x32d)]===_0x31f4c3)return[];let _0x6d7ef2={..._0x51cf48['config'],'targetTableId':_0x3478aa[_0x16bc41(0x3bf)],'multiple':_0x3478aa[_0x16bc41(0x299)]};return _0x31f4c3?_0x6d7ef2['relationRole']=_0x9b4f24[_0x16bc41(0x4a2)][_0x16bc41(0x32d)]:delete _0x6d7ef2[_0x16bc41(0x465)],[_0x123198[_0x16bc41(0x228)](_0x524380,_0x21aa4d,_0x51cf48['id'],{'config':_0x6d7ef2})];})),_0x3bcdf2=new _0x1f3607()[_0x42ac00(0x3d4)](_0x524380,_0x19b223),_0xd8eaaa={'unitId':_0xbc36b0,'op':_0x19b223},_0x359c47={'unitId':_0xbc36b0,'op':_0x3bcdf2};return _0x15b0ae[_0x42ac00(0x3e9)](_0x9b4f24[_0x42ac00(0x46a)])[_0x42ac00(0x2ec)](_0x855ab4['id'],_0xd8eaaa)?(_0x587c4b[_0x42ac00(0x176)](_0xbc36b0),_0x15b0ae[_0x42ac00(0x3e9)](_0x9b4f24[_0x42ac00(0x493)])[_0x42ac00(0x106)]({'unitID':_0xbc36b0,'undoMutations':[{'id':_0x855ab4['id'],'params':_0x359c47}],'redoMutations':[{'id':_0x855ab4['id'],'params':_0xd8eaaa}]}),!0x0):!0x1;}},_0x2aeb1d={'id':_0x164ecf(0x4c0),'type':_0x9b4f24[_0x164ecf(0x26d)]['COMMAND'],'handler':(_0x47a2c6,_0x5e281d)=>{const _0x328a5c=_0x164ecf;if(!_0x5e281d)return!0x1;let _0x39a67e=_0x47a2c6[_0x328a5c(0x3e9)](_0x9b4f24[_0x328a5c(0x15c)]),{unitId:_0x47fa28,tableId:_0x52aac3,viewId:_0x4e25a3,fieldId:_0x450b95,target:_0x30b39a}=_0x5e281d,_0x4a1daa=_0x39a67e['getUnit'](_0x47fa28,_0x9b4f24[_0x328a5c(0x3d1)]['UNIVER_BASE']),_0x4f1e65=_0x30b39a['beforeFieldId']??_0x30b39a[_0x328a5c(0x20b)];if(!_0x4a1daa||!_0x4f1e65||_0x4f1e65===_0x450b95||!_0x19c89e(_0x4a1daa,_0x52aac3,{'viewIds':[_0x4e25a3],'fieldIds':[_0x450b95,_0x4f1e65]}))return!0x1;let _0x199b15=_0x4a1daa['getSnapshot']()[_0x328a5c(0x4cb)][_0x52aac3],_0x3c3685=_0x199b15[_0x328a5c(0x43b)][_0x450b95],_0x90f6ef=_0x199b15['fields'][_0x4f1e65];if(_0x3c3685['system']===!0x0||_0x3c3685[_0x328a5c(0x132)]===_0x9b4f24[_0x328a5c(0x3bc)][_0x328a5c(0x111)]||_0x90f6ef[_0x328a5c(0x187)]===!0x0||_0x90f6ef[_0x328a5c(0x132)]===_0x9b4f24[_0x328a5c(0x3bc)][_0x328a5c(0x111)])return!0x1;let _0x305744=_0x47a2c6['get'](_0x9b4f24[_0x328a5c(0x46a)]),_0x564726=_0x47a2c6[_0x328a5c(0x3e9)](_0x9b4f24[_0x328a5c(0x493)]),_0x572d53=_0x4a1daa[_0x328a5c(0x293)](),_0x478c67=new _0x1b7d14()[_0x328a5c(0x1b4)](_0x572d53,_0x52aac3,_0x4e25a3,_0x450b95,_0x30b39a),_0xa6a063=new _0x1f3607()[_0x328a5c(0x3d4)](_0x572d53,_0x478c67),_0x3e4516={'unitId':_0x47fa28,'op':_0x478c67},_0x295843={'unitId':_0x47fa28,'op':_0xa6a063};return _0x305744[_0x328a5c(0x2ec)](_0x855ab4['id'],_0x3e4516)?(_0x39a67e[_0x328a5c(0x176)](_0x47fa28),_0x564726['pushUndoRedo']({'unitID':_0x47fa28,'undoMutations':[{'id':_0x855ab4['id'],'params':_0x295843}],'redoMutations':[{'id':_0x855ab4['id'],'params':_0x3e4516}]}),!0x0):!0x1;}},_0x3f9a1c={'id':_0x164ecf(0x233),'type':_0x9b4f24[_0x164ecf(0x26d)][_0x164ecf(0x3e5)],'handler'(_0x1f9d2a,_0x25b7a6){const _0x21d595=_0x164ecf;if(!_0x25b7a6)return!0x1;let _0x2fb15b=_0x1f9d2a[_0x21d595(0x3e9)](_0x9b4f24[_0x21d595(0x15c)]),{unitId:_0x36fcb4,tableId:_0x15521d,viewId:_0x101f67,fieldId:_0x3bc574,visible:_0x1c88d0}=_0x25b7a6,_0x586069=_0x2fb15b[_0x21d595(0x10d)](_0x36fcb4,_0x9b4f24[_0x21d595(0x3d1)][_0x21d595(0x3a1)]);if(!_0x586069||!_0x19c89e(_0x586069,_0x15521d,{'viewIds':[_0x101f67],'fieldIds':[_0x3bc574]}))return!0x1;let _0x58d583=_0x586069[_0x21d595(0x293)]()[_0x21d595(0x4cb)][_0x15521d][_0x21d595(0x43b)][_0x3bc574];if(_0x58d583['system']===!0x0||_0x58d583[_0x21d595(0x132)]===_0x9b4f24[_0x21d595(0x3bc)][_0x21d595(0x111)])return!0x1;let _0x2338c2=_0x1f9d2a['get'](_0x9b4f24[_0x21d595(0x46a)]),_0xe9a062=_0x1f9d2a[_0x21d595(0x3e9)](_0x9b4f24['IUndoRedoService']),_0x4bf009=_0x586069['getSnapshot'](),_0x7ecb7f=new _0x1b7d14()[_0x21d595(0x289)](_0x4bf009,_0x15521d,_0x101f67,_0x3bc574,_0x1c88d0),_0x541e96=new _0x1f3607()[_0x21d595(0x3d4)](_0x4bf009,_0x7ecb7f),_0xce0b19={'unitId':_0x36fcb4,'op':_0x7ecb7f},_0x407903={'unitId':_0x36fcb4,'op':_0x541e96};return _0x2338c2[_0x21d595(0x2ec)](_0x855ab4['id'],_0xce0b19)?(_0x2fb15b[_0x21d595(0x176)](_0x36fcb4),_0xe9a062['pushUndoRedo']({'unitID':_0x36fcb4,'undoMutations':[{'id':_0x855ab4['id'],'params':_0x407903}],'redoMutations':[{'id':_0x855ab4['id'],'params':_0xce0b19}]}),!0x0):!0x1;}},_0x27c293={'id':_0x164ecf(0x294),'type':_0x9b4f24[_0x164ecf(0x26d)]['COMMAND'],'handler':(_0x443209,_0x304dfc)=>{const _0x58fbd8=_0x164ecf;if(!_0x304dfc)return!0x1;let _0x5688ff=_0x443209[_0x58fbd8(0x3e9)](_0x9b4f24['IUniverInstanceService']),{unitId:_0x5a77c4,tableId:_0x45bf03,viewId:_0x502e3d,fieldId:_0x1d8628,width:_0x40314c}=_0x304dfc,_0x51ec5f=_0x5688ff[_0x58fbd8(0x10d)](_0x5a77c4,_0x9b4f24['UniverInstanceType'][_0x58fbd8(0x3a1)]);if(!_0x51ec5f||!_0x19c89e(_0x51ec5f,_0x45bf03,{'viewIds':[_0x502e3d],'fieldIds':[_0x1d8628]}))return!0x1;let _0x5603c2=_0x51ec5f[_0x58fbd8(0x293)]()['tables'][_0x45bf03][_0x58fbd8(0x43b)][_0x1d8628];if(_0x5603c2[_0x58fbd8(0x187)]===!0x0||_0x5603c2['type']===_0x9b4f24[_0x58fbd8(0x3bc)][_0x58fbd8(0x111)])return!0x1;let _0x628d65=_0x443209[_0x58fbd8(0x3e9)](_0x9b4f24[_0x58fbd8(0x46a)]),_0x56c671=_0x443209[_0x58fbd8(0x3e9)](_0x9b4f24[_0x58fbd8(0x493)]),_0x49a4a5=_0x51ec5f[_0x58fbd8(0x293)](),_0x3628cd=new _0x1b7d14()[_0x58fbd8(0x14b)](_0x49a4a5,_0x45bf03,_0x502e3d,_0x1d8628,_0x40314c),_0x43f6e5=new _0x1f3607()[_0x58fbd8(0x3d4)](_0x49a4a5,_0x3628cd),_0x30f8b6={'unitId':_0x5a77c4,'op':_0x3628cd},_0x21453b={'unitId':_0x5a77c4,'op':_0x43f6e5};return _0x628d65[_0x58fbd8(0x2ec)](_0x855ab4['id'],_0x30f8b6)?(_0x5688ff[_0x58fbd8(0x176)](_0x5a77c4),_0x56c671[_0x58fbd8(0x106)]({'unitID':_0x5a77c4,'undoMutations':[{'id':_0x855ab4['id'],'params':_0x21453b}],'redoMutations':[{'id':_0x855ab4['id'],'params':_0x30f8b6}]}),!0x0):!0x1;}},_0x5a9672={'id':_0x164ecf(0x25f),'type':_0x9b4f24['CommandType']['COMMAND'],'handler':(_0x3e6a7e,_0x4d564a)=>{const _0x470266=_0x164ecf;if(!_0x4d564a)return!0x1;let _0xe8d75a=_0x3e6a7e[_0x470266(0x3e9)](_0x9b4f24['IUniverInstanceService']),{unitId:_0xd111d2,tableId:_0x466342,viewId:_0x38b642,filter:_0xd010df}=_0x4d564a,_0xf54b49=_0xe8d75a['getUnit'](_0xd111d2,_0x9b4f24[_0x470266(0x3d1)]['UNIVER_BASE']),_0x3fc5f6=(_0xd010df==null?void 0x0:_0xd010df['conditions'][_0x470266(0x2a7)](_0x16a577=>_0x16a577[_0x470266(0x195)]))??[];if(!_0xf54b49||!_0x19c89e(_0xf54b49,_0x466342,{'viewIds':[_0x38b642],'fieldIds':_0x3fc5f6}))return!0x1;let _0x2d7152=_0x3e6a7e['get'](_0x9b4f24[_0x470266(0x46a)]),_0x437b38=_0x3e6a7e[_0x470266(0x3e9)](_0x9b4f24[_0x470266(0x493)]),_0x24cafa=_0xf54b49['getSnapshot'](),_0x11599d=new _0x1b7d14()[_0x470266(0x160)](_0x24cafa,_0x466342,_0x38b642,_0xd010df),_0x695743=new _0x1f3607()[_0x470266(0x3d4)](_0x24cafa,_0x11599d),_0x4d03f7={'unitId':_0xd111d2,'op':_0x11599d},_0x55e18b={'unitId':_0xd111d2,'op':_0x695743};return _0x2d7152[_0x470266(0x2ec)](_0x855ab4['id'],_0x4d03f7)?(_0xe8d75a[_0x470266(0x176)](_0xd111d2),_0x437b38['pushUndoRedo']({'unitID':_0xd111d2,'undoMutations':[{'id':_0x855ab4['id'],'params':_0x55e18b}],'redoMutations':[{'id':_0x855ab4['id'],'params':_0x4d03f7}]}),!0x0):!0x1;}},_0x76247f={'id':_0x164ecf(0x443),'type':_0x9b4f24['CommandType'][_0x164ecf(0x3e5)],'handler':(_0x4c7ecd,_0x22cf43)=>{const _0x2f02a1=_0x164ecf;if(!_0x22cf43)return!0x1;let _0xae58f=_0x4c7ecd[_0x2f02a1(0x3e9)](_0x9b4f24['IUniverInstanceService']),{unitId:_0x2b6ff5,tableId:_0x71843e,viewId:_0x52b462,group:_0x3b9003}=_0x22cf43,_0x2ac018=_0xae58f[_0x2f02a1(0x10d)](_0x2b6ff5,_0x9b4f24[_0x2f02a1(0x3d1)][_0x2f02a1(0x3a1)]);if(!_0x2ac018||!_0x19c89e(_0x2ac018,_0x71843e,{'viewIds':[_0x52b462],'fieldIds':_0x3b9003[_0x2f02a1(0x2a7)](_0x13f6a1=>_0x13f6a1[_0x2f02a1(0x195)])}))return!0x1;let _0x17bca7=_0x4c7ecd['get'](_0x9b4f24[_0x2f02a1(0x46a)]),_0x209ba1=_0x4c7ecd[_0x2f02a1(0x3e9)](_0x9b4f24[_0x2f02a1(0x493)]),_0x5c1fa4=_0x2ac018[_0x2f02a1(0x293)](),_0x5d4de0=new _0x1b7d14()[_0x2f02a1(0x20a)](_0x5c1fa4,_0x71843e,_0x52b462,_0x3b9003),_0x35e195=new _0x1f3607()[_0x2f02a1(0x3d4)](_0x5c1fa4,_0x5d4de0),_0x1d1e51={'unitId':_0x2b6ff5,'op':_0x5d4de0},_0x4e85e4={'unitId':_0x2b6ff5,'op':_0x35e195};return _0x17bca7['syncExecuteCommand'](_0x855ab4['id'],_0x1d1e51)?(_0xae58f['focusUnit'](_0x2b6ff5),_0x209ba1['pushUndoRedo']({'unitID':_0x2b6ff5,'undoMutations':[{'id':_0x855ab4['id'],'params':_0x4e85e4}],'redoMutations':[{'id':_0x855ab4['id'],'params':_0x1d1e51}]}),!0x0):!0x1;}},_0x3da814={'id':'base.command.set-base-view-sort','type':_0x9b4f24[_0x164ecf(0x26d)][_0x164ecf(0x3e5)],'handler':(_0x3e5282,_0x599a11)=>{const _0x50991d=_0x164ecf;if(!_0x599a11)return!0x1;let _0xa6d5d3=_0x3e5282[_0x50991d(0x3e9)](_0x9b4f24['IUniverInstanceService']),{unitId:_0x3639b4,tableId:_0x45b53a,viewId:_0x268006,sort:_0x44005f}=_0x599a11,_0x40172c=_0xa6d5d3['getUnit'](_0x3639b4,_0x9b4f24[_0x50991d(0x3d1)][_0x50991d(0x3a1)]);if(!_0x40172c||!_0x19c89e(_0x40172c,_0x45b53a,{'viewIds':[_0x268006],'fieldIds':_0x44005f[_0x50991d(0x2a7)](_0x4ec3ff=>_0x4ec3ff[_0x50991d(0x195)])}))return!0x1;let _0x199dee=_0x3e5282[_0x50991d(0x3e9)](_0x9b4f24['ICommandService']),_0x54df92=_0x3e5282['get'](_0x9b4f24['IUndoRedoService']),_0x599bb2=_0x40172c['getSnapshot'](),_0x246bfc=new _0x1b7d14()[_0x50991d(0x165)](_0x599bb2,_0x45b53a,_0x268006,_0x44005f),_0x104519=new _0x1f3607()[_0x50991d(0x3d4)](_0x599bb2,_0x246bfc),_0x4f42dc={'unitId':_0x3639b4,'op':_0x246bfc},_0x555d5={'unitId':_0x3639b4,'op':_0x104519};return _0x199dee['syncExecuteCommand'](_0x855ab4['id'],_0x4f42dc)?(_0xa6d5d3[_0x50991d(0x176)](_0x3639b4),_0x54df92[_0x50991d(0x106)]({'unitID':_0x3639b4,'undoMutations':[{'id':_0x855ab4['id'],'params':_0x555d5}],'redoMutations':[{'id':_0x855ab4['id'],'params':_0x4f42dc}]}),!0x0):!0x1;}},_0x340c93={'id':'base.command.update-base-cell','type':_0x9b4f24[_0x164ecf(0x26d)][_0x164ecf(0x3e5)],'handler'(_0xaea70f,_0x5924aa){const _0x1999b2=_0x164ecf;if(!_0x5924aa)return!0x1;let _0x5819eb=_0xaea70f[_0x1999b2(0x3e9)](_0x9b4f24[_0x1999b2(0x15c)]),{unitId:_0x4ab790,tableId:_0xaeb21e,recordId:_0x2d769d,fieldId:_0x35d766,value:_0x285470}=_0x5924aa,_0x25bcca=_0x5819eb[_0x1999b2(0x10d)](_0x4ab790,_0x9b4f24[_0x1999b2(0x3d1)][_0x1999b2(0x3a1)]);if(!_0x25bcca||!_0x19c89e(_0x25bcca,_0xaeb21e,{'recordIds':[_0x2d769d],'fieldIds':[_0x35d766]})||!_0x3af45b(_0x25bcca,_0xaeb21e,_0x35d766,_0x285470))return!0x1;let _0x45ba5a=_0x25bcca['getSnapshot']()['tables'][_0xaeb21e],_0x2dd455=_0x12230b(_0x45ba5a,_0x35d766)&&_0x761298(_0x45ba5a)[_0x1999b2(0x45d)](_0x35d766),_0x155ac8=_0x2dd455?_0x32c245(_0x45ba5a,_0x35d766):null,_0x4842fc=(_0x155ac8==null?void 0x0:_0x155ac8[_0x1999b2(0x3ff)]['get'](_0x2d769d))??null,_0x37a554=_0x2dd455?_0x3768f1(_0x285470)[0x0]??null:null;if(_0x155ac8){if(_0x37a554&&!_0x45ba5a[_0x1999b2(0x312)][_0x37a554])throw new _0x4c5b17('missingRecord');let _0x5af0c7=_0x1a5f43(_0x155ac8,_0x2d769d,_0x37a554);if(!_0x5af0c7[_0x1999b2(0x1ae)])throw new _0x4c5b17(_0x5af0c7[_0x1999b2(0x167)]===_0x9b4f24[_0x1999b2(0x291)][_0x1999b2(0x2df)]?_0x1999b2(0x27f):_0x5af0c7[_0x1999b2(0x167)]===_0x9b4f24[_0x1999b2(0x291)][_0x1999b2(0x4d1)]?_0x1999b2(0x35a):'maxDepth');}let _0x2c7ff8=_0xaea70f[_0x1999b2(0x3e9)](_0x9b4f24[_0x1999b2(0x46a)]),_0x31a8e7=_0xaea70f[_0x1999b2(0x3e9)](_0x9b4f24['IUndoRedoService']),_0x548dc3=_0xaea70f[_0x1999b2(0x3e9)](_0x1e9ebe),_0x295dab;try{_0x295dab=_0x548dc3[_0x1999b2(0x433)](_0x25bcca,_0xaeb21e,_0x2d769d,_0x35d766,_0x285470);}catch(_0x1bf786){return console[_0x1999b2(0x439)](_0x1999b2(0x4aa),_0x1bf786),!0x1;}let _0x18378f=new _0x1f3607()[_0x1999b2(0x3d4)](_0x25bcca['getSnapshot'](),_0x295dab),_0x2f0e6e=_0x2dd455&&_0x4842fc!==_0x37a554?[{'tableId':_0xaeb21e,'fieldId':_0x35d766,'recordId':_0x2d769d,'oldParentRecordId':_0x4842fc,'parentRecordId':_0x37a554}]:void 0x0,_0x54a7bd={'unitId':_0x4ab790,'op':_0x295dab,'trigger':_0x2f0e6e?_0x340c93['id']:void 0x0,'hierarchyChanges':_0x2f0e6e,'source':_0x2f0e6e?_0x5924aa[_0x1999b2(0x268)]??'ui':void 0x0},_0x42de45={..._0x54a7bd,'source':_0x2f0e6e?_0x1999b2(0x300):void 0x0},_0x14589f={'unitId':_0x4ab790,'op':_0x18378f,'trigger':_0x2f0e6e?_0x340c93['id']:void 0x0,'hierarchyChanges':_0x2f0e6e==null?void 0x0:_0x2f0e6e[_0x1999b2(0x2a7)](_0x53c784=>({..._0x53c784,'oldParentRecordId':_0x53c784[_0x1999b2(0x40c)],'parentRecordId':_0x53c784[_0x1999b2(0x24d)]})),'source':_0x2f0e6e?_0x1999b2(0x38f):void 0x0};return _0x2c7ff8[_0x1999b2(0x2ec)](_0x855ab4['id'],_0x54a7bd)?(_0x5819eb['focusUnit'](_0x4ab790),_0x31a8e7[_0x1999b2(0x106)]({'unitID':_0x4ab790,'undoMutations':[{'id':_0x855ab4['id'],'params':_0x14589f}],'redoMutations':[{'id':_0x855ab4['id'],'params':_0x42de45}]}),!0x0):!0x1;}},_0x54b5b7={'id':'base.command.update-base-field-description','type':_0x9b4f24[_0x164ecf(0x26d)][_0x164ecf(0x3e5)],'handler'(_0x1e164e,_0x3d43d9){const _0x5cfeed=_0x164ecf;if(!_0x3d43d9)return!0x1;let _0x23bdd3=_0x1e164e['get'](_0x9b4f24[_0x5cfeed(0x15c)]),{unitId:_0x1ce3d1,tableId:_0x1bccce,fieldId:_0x2ce261}=_0x3d43d9,_0x30b37e=_0x23bdd3['getUnit'](_0x1ce3d1,_0x9b4f24['UniverInstanceType']['UNIVER_BASE']);if(!_0x30b37e||!_0x19c89e(_0x30b37e,_0x1bccce,{'fieldIds':[_0x2ce261]}))return!0x1;let _0x22eca2=_0x1e164e[_0x5cfeed(0x3e9)](_0x9b4f24[_0x5cfeed(0x46a)]),_0x56198d=_0x1e164e[_0x5cfeed(0x3e9)](_0x9b4f24[_0x5cfeed(0x493)]),_0xf480e9=_0x30b37e[_0x5cfeed(0x293)](),_0x1e1857=_0x3d43d9[_0x5cfeed(0x33b)][_0x5cfeed(0x276)](),_0x435f7d=new _0x1b7d14()[_0x5cfeed(0x228)](_0xf480e9,_0x1bccce,_0x2ce261,{'description':_0x1e1857}),_0x2e2096=new _0x1f3607()[_0x5cfeed(0x3d4)](_0x30b37e[_0x5cfeed(0x293)](),_0x435f7d),_0x12b807={'unitId':_0x1ce3d1,'op':_0x435f7d},_0x39a8ca={'unitId':_0x1ce3d1,'op':_0x2e2096};return _0x22eca2[_0x5cfeed(0x2ec)](_0x855ab4['id'],_0x12b807)?(_0x23bdd3[_0x5cfeed(0x176)](_0x1ce3d1),_0x56198d[_0x5cfeed(0x106)]({'unitID':_0x1ce3d1,'undoMutations':[{'id':_0x855ab4['id'],'params':_0x39a8ca}],'redoMutations':[{'id':_0x855ab4['id'],'params':_0x12b807}]}),!0x0):!0x1;}},_0x1beb5f={'id':_0x164ecf(0x3a5),'type':_0x9b4f24[_0x164ecf(0x26d)]['COMMAND'],'handler':(_0x7170c1,_0x9cc172)=>{const _0x7b2d6=_0x164ecf;if(!_0x9cc172)return!0x1;let _0x326359=_0x7170c1['get'](_0x9b4f24[_0x7b2d6(0x15c)]),{unitId:_0x44b98d,tableId:_0x58e225,fieldId:_0x23d05c,patch:_0x4ead49}=_0x9cc172,_0x60c6ce=_0x326359[_0x7b2d6(0x10d)](_0x44b98d,_0x9b4f24[_0x7b2d6(0x3d1)][_0x7b2d6(0x3a1)]);if(!_0x60c6ce||_0x23d05c===_0x9b4f24[_0x7b2d6(0x2c4)]||!_0x19c89e(_0x60c6ce,_0x58e225,{'fieldIds':[_0x23d05c]}))return!0x1;let _0x2d448e=_0x7170c1[_0x7b2d6(0x3e9)](_0x9b4f24[_0x7b2d6(0x46a)]),_0x16268c=_0x7170c1[_0x7b2d6(0x3e9)](_0x9b4f24[_0x7b2d6(0x493)]),_0x5cbc1f=_0x60c6ce['getSnapshot']();if(!_0x3cd3a4(_0x60c6ce,_0x58e225,{..._0x5cbc1f[_0x7b2d6(0x4cb)][_0x58e225]['fields'][_0x23d05c],..._0x4ead49}))return!0x1;let _0x22fa3b=new _0x1b7d14()[_0x7b2d6(0x228)](_0x5cbc1f,_0x58e225,_0x23d05c,_0x4ead49),_0x2e53e7=new _0x1f3607()[_0x7b2d6(0x3d4)](_0x5cbc1f,_0x22fa3b),_0x2932a8={'unitId':_0x44b98d,'op':_0x22fa3b},_0x3357d1={'unitId':_0x44b98d,'op':_0x2e53e7};return _0x2d448e[_0x7b2d6(0x2ec)](_0x855ab4['id'],_0x2932a8)?(_0x326359[_0x7b2d6(0x176)](_0x44b98d),_0x16268c[_0x7b2d6(0x106)]({'unitID':_0x44b98d,'undoMutations':[{'id':_0x855ab4['id'],'params':_0x3357d1}],'redoMutations':[{'id':_0x855ab4['id'],'params':_0x2932a8}]}),!0x0):!0x1;}},_0x293b4d={'id':_0x164ecf(0x3cd),'type':_0x9b4f24['CommandType']['COMMAND'],'handler':(_0x385c70,_0x3612d7)=>{const _0x3e8e07=_0x164ecf;if(!_0x3612d7)return!0x1;let _0x3f9861=_0x385c70[_0x3e8e07(0x3e9)](_0x9b4f24[_0x3e8e07(0x15c)]),{unitId:_0x322022,tableId:_0x4edb75,viewId:_0x14e8aa,patch:_0x57bd09}=_0x3612d7,_0x17c929=_0x3f9861[_0x3e8e07(0x10d)](_0x322022,_0x9b4f24[_0x3e8e07(0x3d1)][_0x3e8e07(0x3a1)]);if(!_0x17c929||!_0x19c89e(_0x17c929,_0x4edb75,{'viewIds':[_0x14e8aa]}))return!0x1;let _0x54654c=_0x385c70[_0x3e8e07(0x3e9)](_0x9b4f24[_0x3e8e07(0x46a)]),_0x3628ca=_0x385c70[_0x3e8e07(0x3e9)](_0x9b4f24[_0x3e8e07(0x493)]),_0x389b08=_0x17c929[_0x3e8e07(0x293)](),_0x22528c=new _0x1b7d14()[_0x3e8e07(0x319)](_0x389b08,_0x4edb75,_0x14e8aa,_0x57bd09),_0x1dcc59=new _0x1f3607()[_0x3e8e07(0x3d4)](_0x389b08,_0x22528c),_0x36b0cc={'unitId':_0x322022,'op':_0x22528c},_0x5dd4e8={'unitId':_0x322022,'op':_0x1dcc59};return _0x54654c[_0x3e8e07(0x2ec)](_0x855ab4['id'],_0x36b0cc)?(_0x3f9861[_0x3e8e07(0x176)](_0x322022),_0x3628ca[_0x3e8e07(0x106)]({'unitID':_0x322022,'undoMutations':[{'id':_0x855ab4['id'],'params':_0x5dd4e8}],'redoMutations':[{'id':_0x855ab4['id'],'params':_0x36b0cc}]}),!0x0):!0x1;}},_0x5e012e={'id':_0x164ecf(0x25e),'type':_0x9b4f24[_0x164ecf(0x26d)][_0x164ecf(0x3e5)],'handler':(_0x108080,_0x307c2a)=>{const _0x63b803=_0x164ecf;if(!_0x307c2a)return!0x1;let _0xd37f3c=_0x108080['get'](_0x9b4f24[_0x63b803(0x15c)]),{unitId:_0x3ff589,tableId:_0xd67521,recordId:_0x3cbec6,orderKey:_0x1f95e1}=_0x307c2a,_0x542944=_0xd37f3c['getUnit'](_0x3ff589,_0x9b4f24[_0x63b803(0x3d1)][_0x63b803(0x3a1)]);if(!_0x542944||!_0x19c89e(_0x542944,_0xd67521,{'recordIds':[_0x3cbec6]}))return!0x1;let _0x310d2b=_0x108080[_0x63b803(0x3e9)](_0x9b4f24[_0x63b803(0x46a)]),_0x5dd96f=_0x108080[_0x63b803(0x3e9)](_0x9b4f24[_0x63b803(0x493)]),_0x596bd0=_0x542944[_0x63b803(0x293)](),_0xed35b7=new _0x1b7d14()['updateRecordOrder'](_0x596bd0,_0xd67521,_0x3cbec6,_0x1f95e1),_0x284638=new _0x1f3607()[_0x63b803(0x3d4)](_0x596bd0,_0xed35b7),_0x5663a6={'unitId':_0x3ff589,'op':_0xed35b7},_0x1b4f19={'unitId':_0x3ff589,'op':_0x284638};return _0x310d2b[_0x63b803(0x2ec)](_0x855ab4['id'],_0x5663a6)?(_0xd37f3c[_0x63b803(0x176)](_0x3ff589),_0x5dd96f[_0x63b803(0x106)]({'unitID':_0x3ff589,'undoMutations':[{'id':_0x855ab4['id'],'params':_0x1b4f19}],'redoMutations':[{'id':_0x855ab4['id'],'params':_0x5663a6}]}),!0x0):!0x1;}},_0x5a2940=function(_0x7db96d){const _0x3f0ec7=_0x164ecf;return _0x7db96d[_0x3f0ec7(0x175)]=_0x3f0ec7(0x25a),_0x7db96d[_0x3f0ec7(0x3d5)]=_0x3f0ec7(0x134),_0x7db96d[_0x3f0ec7(0x225)]=_0x3f0ec7(0x2c7),_0x7db96d['Clear']=_0x3f0ec7(0x272),_0x7db96d;}({}),_0xf15bc8={'id':_0x164ecf(0x42f),'type':_0x9b4f24[_0x164ecf(0x26d)][_0x164ecf(0x3e5)],'handler':(_0x11d743,_0x5146d5)=>{const _0x10100f=_0x164ecf;var _0xc89199;if(!_0x5146d5)return!0x1;let _0x2d3368=_0x11d743['get'](_0x9b4f24[_0x10100f(0x15c)]),_0x2804c6=_0x2d3368['getUnit'](_0x5146d5['unitId'],_0x9b4f24['UniverInstanceType'][_0x10100f(0x3a1)]);if(!_0x2804c6||!_0x19c89e(_0x2804c6,_0x5146d5[_0x10100f(0x28a)],{'viewIds':[_0x5146d5[_0x10100f(0x1e7)]]}))return!0x1;let _0x4437c3=_0x2804c6[_0x10100f(0x293)](),_0x3ef19a=_0x4437c3[_0x10100f(0x4cb)][_0x5146d5['tableId']],_0x4984ac=_0x21c214(((_0xc89199=_0x3ef19a[_0x10100f(0x339)][_0x5146d5[_0x10100f(0x1e7)]][_0x10100f(0x19f)][_0x10100f(0x452)])==null?void 0x0:_0xc89199[_0x10100f(0x1ad)])??[],_0x5146d5);if(!_0x4984ac)return!0x1;_0xadf0ac(_0x3ef19a,_0x4984ac);let _0x2ddf18=new _0x1b7d14()[_0x10100f(0x319)](_0x4437c3,_0x5146d5[_0x10100f(0x28a)],_0x5146d5[_0x10100f(0x1e7)],{'conditionalColoring':_0x4984ac[_0x10100f(0x13b)]?{'rules':_0x4984ac}:null}),_0x14db9c=new _0x1f3607()['invertOp'](_0x4437c3,_0x2ddf18),_0x1aa8e7={'unitId':_0x5146d5[_0x10100f(0x333)],'op':_0x2ddf18},_0x3ed34a={'unitId':_0x5146d5['unitId'],'op':_0x14db9c};return _0x11d743[_0x10100f(0x3e9)](_0x9b4f24[_0x10100f(0x46a)])[_0x10100f(0x2ec)](_0x855ab4['id'],_0x1aa8e7)?(_0x2d3368['focusUnit'](_0x5146d5['unitId']),_0x11d743[_0x10100f(0x3e9)](_0x9b4f24[_0x10100f(0x493)])['pushUndoRedo']({'unitID':_0x5146d5[_0x10100f(0x333)],'undoMutations':[{'id':_0x855ab4['id'],'params':_0x3ed34a}],'redoMutations':[{'id':_0x855ab4['id'],'params':_0x1aa8e7}]}),!0x0):!0x1;}};function _0x21c214(_0xd3a6b3,_0x54a088){const _0x5793d4=_0x164ecf;switch(_0x54a088[_0x5793d4(0x132)]){case _0x5793d4(0x25a):return _0x9b4f24[_0x5793d4(0x22c)]['deepClone'](_0x54a088[_0x5793d4(0x1ad)]);case _0x5793d4(0x134):return[..._0x9b4f24[_0x5793d4(0x22c)]['deepClone'](_0xd3a6b3),_0x9b4f24[_0x5793d4(0x22c)]['deepClone'](_0x54a088[_0x5793d4(0x2d3)])];case _0x5793d4(0x2c7):{let _0x25e371=_0xd3a6b3[_0x5793d4(0x41f)](_0xad2365=>_0xad2365['id']!==_0x54a088[_0x5793d4(0x369)]);return _0x25e371['length']===_0xd3a6b3['length']?null:_0x9b4f24[_0x5793d4(0x22c)][_0x5793d4(0x1a6)](_0x25e371);}case'clear':return _0xd3a6b3['length']?[]:null;}}function _0xadf0ac(_0x227c8d,_0x50684d){const _0x27fc27=_0x164ecf;if(!Array[_0x27fc27(0x32e)](_0x50684d))throw TypeError(_0x27fc27(0x350));let _0x4404a5=new Set();for(let [_0x1a22dc,_0x4b7a08]of _0x50684d[_0x27fc27(0x489)]())_0x43e44d(_0x227c8d,_0x4b7a08,_0x2bbb8a(_0x4b7a08,_0x1a22dc,_0x4404a5));}function _0x2bbb8a(_0x2e5503,_0x493fca,_0x44326c){const _0x39c8df=_0x164ecf;if(!_0x2e5503||typeof _0x2e5503!=_0x39c8df(0x42c))throw TypeError(_0x39c8df(0x4ce)+_0x493fca+_0x39c8df(0x485));let _0x166fd6=typeof _0x2e5503['id']=='string'&&_0x2e5503['id'][_0x39c8df(0x276)]()?'\x22'+_0x2e5503['id']+'\x22':_0x39c8df(0x142)+_0x493fca;if(typeof _0x2e5503['id']!=_0x39c8df(0x1e4)||!_0x2e5503['id']['trim']())throw Error(_0x39c8df(0x478)+_0x166fd6+'\x20must\x20have\x20a\x20non-empty\x20id.');if(_0x44326c[_0x39c8df(0x1df)](_0x2e5503['id']))throw Error(_0x39c8df(0x124)+_0x2e5503['id']+'\x22.');_0x44326c[_0x39c8df(0x134)](_0x2e5503['id']);let _0x1f21dd=typeof _0x2e5503[_0x39c8df(0x449)]=='string'&&_0x2e5503[_0x39c8df(0x449)][_0x39c8df(0x276)]()?new _0x9b4f24[(_0x39c8df(0x243))](_0x2e5503['color']):null;if(!(_0x1f21dd!=null&&_0x1f21dd['isValid']))throw Error(_0x39c8df(0x478)+_0x166fd6+_0x39c8df(0x19a));return _0x166fd6;}function _0x43e44d(_0x32c45d,_0x536a05,_0x2b1a75){const _0x1d5c17=_0x164ecf;let _0x4eb115=new Set(Object[_0x1d5c17(0x10a)](_0x9b4f24[_0x1d5c17(0x457)])),_0xe86752=new Set(Object[_0x1d5c17(0x10a)](_0x9b4f24['BaseConditionalColorOperator'])),_0x163d41=new Set(Object['values'](_0x9b4f24[_0x1d5c17(0x1e3)]));if(!_0x4eb115[_0x1d5c17(0x1df)](_0x536a05[_0x1d5c17(0x18c)]))throw Error(_0x1d5c17(0x478)+_0x2b1a75+'\x20has\x20unsupported\x20target\x20\x22'+String(_0x536a05[_0x1d5c17(0x18c)])+'\x22.');let _0x53bd61=typeof _0x536a05[_0x1d5c17(0x195)]==_0x1d5c17(0x1e4)?_0x32c45d['fields'][_0x536a05['fieldId']]:void 0x0;if(!_0x53bd61||_0x53bd61[_0x1d5c17(0x187)]===!0x0||_0x53bd61['type']===_0x9b4f24[_0x1d5c17(0x3bc)][_0x1d5c17(0x111)])throw Error(_0x1d5c17(0x478)+_0x2b1a75+_0x1d5c17(0x499)+String(_0x536a05[_0x1d5c17(0x195)])+'\x22.');if(!_0xe86752[_0x1d5c17(0x1df)](_0x536a05['operator']))throw Error(_0x1d5c17(0x478)+_0x2b1a75+'\x20has\x20unsupported\x20operator\x20\x22'+String(_0x536a05[_0x1d5c17(0x16f)])+'\x22.');if(_0x536a05[_0x1d5c17(0x2a5)]!==void 0x0&&!_0x163d41[_0x1d5c17(0x1df)](_0x536a05[_0x1d5c17(0x2a5)]))throw Error(_0x1d5c17(0x478)+_0x2b1a75+_0x1d5c17(0x24f)+String(_0x536a05[_0x1d5c17(0x2a5)])+'\x22.');if(_0x536a05[_0x1d5c17(0x18c)]===_0x9b4f24[_0x1d5c17(0x457)][_0x1d5c17(0x356)])return;let _0x28652e=_0x257887(_0x53bd61[_0x1d5c17(0x132)]);if(!_0x28652e[_0x1d5c17(0x45d)](_0x536a05[_0x1d5c17(0x16f)]))throw Error(_0x1d5c17(0x478)+_0x2b1a75+_0x1d5c17(0x317)+_0x536a05[_0x1d5c17(0x16f)]+_0x1d5c17(0x2b2)+_0x53bd61['type']+'\x22.\x20Allowed\x20operators:\x20'+_0x28652e[_0x1d5c17(0x305)](',\x20')+'.');if(_0x536a05[_0x1d5c17(0x2a5)]!==void 0x0&&!_0x397802(_0x53bd61['type']))throw Error(_0x1d5c17(0x478)+_0x2b1a75+_0x1d5c17(0x451));}let _0x2eb102={'id':_0x164ecf(0x120),'type':_0x9b4f24[_0x164ecf(0x26d)][_0x164ecf(0x3e5)],'handler':(_0x100e32,_0x1edeca)=>{const _0x2a9efd=_0x164ecf;if(!_0x1edeca)return!0x1;let _0x1078b0=_0x100e32[_0x2a9efd(0x3e9)](_0x9b4f24[_0x2a9efd(0x15c)]),{unitId:_0x469899,tableId:_0x5744b2,viewId:_0x3e9c6c,patch:_0x9dd9e1}=_0x1edeca,_0x13168a=_0x1078b0[_0x2a9efd(0x10d)](_0x469899,_0x9b4f24['UniverInstanceType'][_0x2a9efd(0x3a1)]);if(!_0x13168a||!_0x19c89e(_0x13168a,_0x5744b2,{'viewIds':[_0x3e9c6c]}))return!0x1;let _0x55bdf9=_0x100e32[_0x2a9efd(0x3e9)](_0x9b4f24[_0x2a9efd(0x46a)]),_0x54eb49=_0x100e32[_0x2a9efd(0x3e9)](_0x9b4f24[_0x2a9efd(0x493)]),_0x416324=_0x13168a['getSnapshot'](),_0x14b691=new _0x1b7d14()[_0x2a9efd(0x319)](_0x416324,_0x5744b2,_0x3e9c6c,_0x9dd9e1),_0x299f08=new _0x1f3607()[_0x2a9efd(0x3d4)](_0x416324,_0x14b691),_0xd33eb3={'unitId':_0x469899,'op':_0x14b691},_0x4d7770={'unitId':_0x469899,'op':_0x299f08};return _0x55bdf9['syncExecuteCommand'](_0x855ab4['id'],_0xd33eb3)?(_0x1078b0[_0x2a9efd(0x176)](_0x469899),_0x54eb49[_0x2a9efd(0x106)]({'unitID':_0x469899,'undoMutations':[{'id':_0x855ab4['id'],'params':_0x4d7770}],'redoMutations':[{'id':_0x855ab4['id'],'params':_0xd33eb3}]}),!0x0):!0x1;}};function _0x288e7a(_0x5659c9){const _0x1eb094=_0x164ecf;let _0x3c9744=_0x5659c9[_0x1eb094(0x1e5)]??Date[_0x1eb094(0x1e5)](),_0x4f51e9=_0x5659c9[_0x1eb094(0x302)]??_0x5659c9['id']+_0x1eb094(0x38a),_0x17973e=_0x5659c9['gridViewId']??_0x5659c9['id']+'-view-grid',_0x2863b6=_0x5659c9[_0x1eb094(0x3e8)]??0x0,_0x11c940=(0x0,_0x9b4f24['createBaseRecordIdField'])(),_0x92b130={'id':_0x4f51e9,'name':_0x5659c9[_0x1eb094(0x164)]??_0x1eb094(0x150),'type':_0x9b4f24[_0x1eb094(0x3bc)][_0x1eb094(0x10b)],'config':{'placeholder':_0x1eb094(0x197)}},_0x339052={},_0xfe6c08=[],_0x89c1ce={},_0x4de7d2={},_0x217a39={};for(let _0x1987fa=0x0;_0x1987fa<_0x2863b6;_0x1987fa++){let _0x23ef42=_0x5659c9['id']+_0x1eb094(0x12e)+(_0x1987fa+0x1);_0x339052[_0x23ef42]={'id':_0x23ef42,'values':{[_0x9b4f24[_0x1eb094(0x2c4)]]:_0x23ef42,..._0x5659c9[_0x1eb094(0x257)]?{[_0x4f51e9]:_0x5659c9[_0x1eb094(0x257)]+'\x20'+(_0x1987fa+0x1)}:{}},'orderKey':String(_0x1987fa+0x1)[_0x1eb094(0x36b)](0x4,'0'),'createdAt':_0x3c9744,'updatedAt':_0x3c9744},_0xfe6c08[_0x1eb094(0x4bf)](_0x23ef42),_0x89c1ce[_0x23ef42]=_0x1987fa,_0x4de7d2[_0x1987fa]=_0x23ef42,_0x217a39[_0x1987fa]={0x0:{'v':_0x23ef42,'t':_0x9b4f24['CellValueType'][_0x1eb094(0x290)]}},_0x5659c9[_0x1eb094(0x257)]&&(_0x217a39[_0x1987fa][0x1]={'v':_0x5659c9[_0x1eb094(0x257)]+'\x20'+(_0x1987fa+0x1),'t':_0x9b4f24[_0x1eb094(0x260)][_0x1eb094(0x290)]});}let _0x5f129f={'id':_0x17973e,'tableId':_0x5659c9['id'],'name':_0x1eb094(0xfc),'type':_0x9b4f24['BaseViewType'][_0x1eb094(0xfc)],'fieldOrder':[_0x9b4f24[_0x1eb094(0x2c4)],_0x4f51e9],'fieldSettings':{[_0x9b4f24[_0x1eb094(0x2c4)]]:{'hidden':!0x0}},'config':{'frozenFieldCount':0x1}};return{'id':_0x5659c9['id'],'name':_0x5659c9[_0x1eb094(0x267)],'primaryFieldId':_0x4f51e9,'fieldOrder':[_0x9b4f24['BASE_RECORD_ID_FIELD_ID'],_0x4f51e9],'fields':{[_0x9b4f24['BASE_RECORD_ID_FIELD_ID']]:_0x11c940,[_0x4f51e9]:_0x92b130},'records':_0x339052,'recordOrder':_0xfe6c08,'rowIndex':_0x89c1ce,'rowId':_0x4de7d2,'colIndex':{[_0x9b4f24[_0x1eb094(0x2c4)]]:0x0,[_0x4f51e9]:0x1},'colId':{0x0:_0x9b4f24[_0x1eb094(0x2c4)],0x1:_0x4f51e9},'cellData':_0x217a39,'views':{[_0x17973e]:_0x5f129f},'viewOrder':[_0x17973e]};}let _0x1db389=_0x164ecf(0x24e);function _0x1a74dc(_0x4ad536){const _0x367546=_0x164ecf;let _0x3c8ef6=_0x288e7a({'id':_0x4ad536['hostAnchorId'],'name':_0x4ad536['name']??_0x4ad536[_0x367546(0x15d)],'recordCount':0x0});return{..._0x3c8ef6,'resources':{..._0x3c8ef6[_0x367546(0x1b2)]??{},[_0x1db389]:_0x33037e(_0x4ad536)}};}function _0x300b58(_0x29f68d){const _0x42e6f6=_0x164ecf;return{'id':_0x855ab4['id'],'params':{'unitId':_0x29f68d[_0x42e6f6(0x333)],'op':new _0x1b7d14()[_0x42e6f6(0x2ad)](_0x29f68d[_0x42e6f6(0x255)],_0x29f68d[_0x42e6f6(0xfe)],_0x29f68d[_0x42e6f6(0x2d4)]),'trigger':'embed-ui'}};}function _0x273b73(_0x365c95){const _0x34396d=_0x164ecf;let _0x3c4500=_0x365c95['snapshot'][_0x34396d(0x20d)][_0x34396d(0x19b)](_0x365c95[_0x34396d(0x28a)]);if(!(!_0x365c95[_0x34396d(0x255)][_0x34396d(0x4cb)][_0x365c95['tableId']]||_0x3c4500<0x0))return{'id':_0x855ab4['id'],'params':{'unitId':_0x365c95['unitId'],'op':new _0x1b7d14()[_0x34396d(0x37f)](_0x365c95[_0x34396d(0x255)],_0x365c95['tableId']),'trigger':'embed-ui'}};}function _0x33037e(_0x2d64bb){const _0x215b87=_0x164ecf;return{'version':0x1,'embedId':_0x2d64bb[_0x215b87(0x15d)],'hostAnchorId':_0x2d64bb[_0x215b87(0x1c6)],'childUnitId':_0x2d64bb['childUnitId'],'childType':_0x2d64bb[_0x215b87(0x3de)]};}function _0xde0cee(_0x3c01ba){const _0x1d3d26=_0x164ecf;let _0x5e6938=Math[_0x1d3d26(0x427)](0x0,Number(_0x3c01ba[_0x1d3d26(0x278)]??0x0)),_0x532ddd=_0x3c01ba[_0x1d3d26(0x34d)]===!0x1?'0':_0x1d3d26(0x4c8),_0x51a7f6=_0x5e6938?'.'+'0'['repeat'](_0x5e6938):'',_0x1a0d61=_0x5a78e7(_0x3c01ba[_0x1d3d26(0x153)]);return''+(_0x3c01ba[_0x1d3d26(0x29b)]?_0x190f95(_0x3c01ba[_0x1d3d26(0x29b)]):'')+_0x532ddd+_0x51a7f6+_0x1a0d61;}function _0xb4869b(_0x3d77af,_0x4395d1){const _0x216eb1=_0x164ecf;let _0x44d60e=_0xde0cee(_0x4395d1),_0x4be48a=_0x9b4f24[_0x216eb1(0x199)][_0x216eb1(0x16b)](_0x44d60e,_0x3d77af,{'throws':!0x1});return _0x231d9c(String(_0x4be48a),_0x4395d1[_0x216eb1(0x21e)],_0x4395d1[_0x216eb1(0x1c7)]);}function _0x5a78e7(_0x5ec264){const _0x42e5a6=_0x164ecf;return _0x5ec264==='K'?_0x42e5a6(0x22a):_0x5ec264==='M'?_0x42e5a6(0x114):_0x5ec264==='B'?',,,\x22B\x22':'';}function _0x190f95(_0x16fe49){const _0x4ae1fe=_0x164ecf;return/^[A-Z]+$/i[_0x4ae1fe(0x37c)](_0x16fe49)?'\x22'+_0x16fe49+'\x22':_0x16fe49;}function _0x231d9c(_0x43ad0d,_0x58ab80,_0x4f5373){const _0x39891a=_0x164ecf;let _0x2b0a7b=_0x58ab80===_0x39891a(0x107)?_0x55148a(_0x4f5373):_0x58ab80;return _0x2b0a7b==='periodComma'?_0x43ad0d[_0x39891a(0x3c5)](/,/g,'\x00')[_0x39891a(0x3c5)](/\./g,',')['replace'](/\0/g,'.'):_0x2b0a7b==='spaceComma'?_0x43ad0d[_0x39891a(0x3c5)](/,/g,'\x20')[_0x39891a(0x3c5)](/\./g,','):_0x2b0a7b==='spacePeriod'?_0x43ad0d[_0x39891a(0x3c5)](/,/g,'\x20'):_0x43ad0d;}function _0x55148a(_0x53555e){const _0x166d0e=_0x164ecf;var _0x24380e,_0x56f08d;let _0x465366=_0x53555e||new Intl['NumberFormat']()['resolvedOptions']()[_0x166d0e(0x1c7)],_0x2d92b1;try{_0x2d92b1=new Intl[(_0x166d0e(0x27d))](_0x465366,{'minimumFractionDigits':0x2,'maximumFractionDigits':0x2,'useGrouping':!0x0})[_0x166d0e(0x2cf)](0xf4240);}catch{return'commaPeriod';}let _0x3ebb49=(_0x24380e=_0x2d92b1[_0x166d0e(0x396)](_0x124e53=>_0x124e53[_0x166d0e(0x132)]===_0x166d0e(0x332)))==null?void 0x0:_0x24380e[_0x166d0e(0x43f)],_0x87584d=(_0x56f08d=_0x2d92b1[_0x166d0e(0x396)](_0x543314=>_0x543314['type']===_0x166d0e(0x129)))==null?void 0x0:_0x56f08d[_0x166d0e(0x43f)],_0x147fee=_0x3ebb49==='\u00a0'||_0x3ebb49==='\u202f'?'\x20':_0x3ebb49;return _0x147fee==='.'&&_0x87584d===','?_0x166d0e(0x460):_0x147fee==='\x20'&&_0x87584d===','?'spaceComma':_0x147fee==='\x20'&&_0x87584d==='.'?_0x166d0e(0x240):'commaPeriod';}function _0x2ae39f(_0x4ac4f0,_0x291c0d){const _0x6c2d2f=_0x164ecf;let _0x32fa48=_0x291c0d&&typeof _0x291c0d==_0x6c2d2f(0x42c)&&!Array[_0x6c2d2f(0x32e)](_0x291c0d)?_0x291c0d:{},_0x1d974e=_0x31e3fd(_0x32fa48[_0x6c2d2f(0x278)],0x0,0x2,0x0),_0xcb865=_0x4ac4f0[_0x6c2d2f(0x320)](_0x1d974e);return _0x32fa48[_0x6c2d2f(0x16b)]===_0x6c2d2f(0x1a8)?_0xcb865:_0xcb865+'%';}function _0x31e3fd(_0x1def0e,_0x3b5be5,_0x38a5c0,_0x48322d){const _0x43f7e6=_0x164ecf;if(_0x1def0e==null||_0x1def0e==='')return _0x48322d;let _0x55777a=typeof _0x1def0e==_0x43f7e6(0x1a8)?_0x1def0e:Number(_0x1def0e);return Number[_0x43f7e6(0x4a1)](_0x55777a)?Math[_0x43f7e6(0x427)](_0x3b5be5,Math[_0x43f7e6(0x1dd)](_0x38a5c0,Math[_0x43f7e6(0x143)](_0x55777a))):_0x48322d;}let _0x29826a=['count',_0x164ecf(0x3f8),_0x164ecf(0x30e),_0x164ecf(0x31c),_0x164ecf(0x11d),_0x164ecf(0x2bc),_0x164ecf(0x1dd),_0x164ecf(0x427)],_0x2e6e10=[_0x164ecf(0xfa),'filled',_0x164ecf(0x30e),_0x164ecf(0x31c)],_0x2c1fdc=[_0x164ecf(0x11d),'average',_0x164ecf(0x1dd),_0x164ecf(0x427)],_0xa4e5c=[_0x164ecf(0x1dd),_0x164ecf(0x427)],_0x56df98=new Set([_0x9b4f24[_0x164ecf(0x3bc)][_0x164ecf(0x44e)],_0x9b4f24[_0x164ecf(0x3bc)][_0x164ecf(0x2fe)],_0x9b4f24[_0x164ecf(0x3bc)][_0x164ecf(0x327)],_0x9b4f24[_0x164ecf(0x3bc)]['Rating']]),_0x442d23=new Set([_0x9b4f24[_0x164ecf(0x3bc)][_0x164ecf(0x1be)],_0x9b4f24[_0x164ecf(0x3bc)]['Person'],_0x9b4f24[_0x164ecf(0x3bc)][_0x164ecf(0x101)]]),_0x37dd11=_0x164ecf(0x16a);function _0x249407(_0x16b71c){const _0x54ea21=_0x164ecf;return typeof _0x16b71c==_0x54ea21(0x1e4)&&_0x29826a[_0x54ea21(0x45d)](_0x16b71c);}function _0x4a56a0(_0xab3edf){const _0x6a7116=_0x164ecf;return!_0xab3edf||typeof _0xab3edf!=_0x6a7116(0x42c)?{}:Object[_0x6a7116(0x224)](Object[_0x6a7116(0x489)](_0xab3edf)[_0x6a7116(0x41f)](_0x2f0d73=>_0x249407(_0x2f0d73[0x1])));}function _0x1f40e5(_0x3a338a){const _0x16766d=_0x164ecf;return _0x56df98['has'](_0x3a338a[_0x16766d(0x132)])?[..._0x2e6e10,..._0x2c1fdc]:_0x3a338a['type']===_0x9b4f24['BaseFieldType']['Formula']?[..._0x2e6e10,..._0x10402b(_0x3a338a)===_0x16766d(0x34f)?_0xa4e5c:_0x2c1fdc]:_0x2e6e10;}function _0x522aac(_0x420c15,_0x4f9402){const _0x4db862=_0x164ecf;return _0x1f40e5(_0x420c15)[_0x4db862(0x45d)](_0x4f9402);}function _0x72fc7(_0x25d4e7,_0x245ca5,_0x1d8b5b){const _0x33aeeb=_0x164ecf;if(!_0x522aac(_0x25d4e7,_0x1d8b5b))return null;let _0x45890d=_0x245ca5[_0x33aeeb(0x41f)](_0x31f733=>!_0x22eb6d(_0x25d4e7,_0x31f733));switch(_0x1d8b5b){case _0x33aeeb(0xfa):return _0x245ca5[_0x33aeeb(0x13b)];case _0x33aeeb(0x3f8):return _0x45890d['length'];case'empty':return _0x245ca5[_0x33aeeb(0x13b)]-_0x45890d['length'];case _0x33aeeb(0x31c):return new Set(_0x45890d[_0x33aeeb(0x2a7)](_0x5b918a=>_0x29e7d5(_0x25d4e7,_0x5b918a)))[_0x33aeeb(0x476)];case _0x33aeeb(0x11d):{let _0x49c33b=_0x1f94e6(_0x25d4e7,_0x45890d);return _0x49c33b[_0x33aeeb(0x13b)]?_0x36ecec(_0x49c33b):null;}case _0x33aeeb(0x2bc):{let _0x56a7e3=_0x1f94e6(_0x25d4e7,_0x45890d);return _0x56a7e3[_0x33aeeb(0x13b)]?_0x36ecec(_0x56a7e3)/_0x56a7e3[_0x33aeeb(0x13b)]:null;}case'min':{let _0x362d66=_0x1f94e6(_0x25d4e7,_0x45890d);return _0x362d66[_0x33aeeb(0x13b)]?Math[_0x33aeeb(0x1dd)](..._0x362d66):null;}case _0x33aeeb(0x427):{let _0x2d7bcf=_0x1f94e6(_0x25d4e7,_0x45890d);return _0x2d7bcf[_0x33aeeb(0x13b)]?Math[_0x33aeeb(0x427)](..._0x2d7bcf):null;}}}function _0x32bbf6(_0x3abd71,_0x159d11,_0x3abd55){const _0x4b52ae=_0x164ecf;if(_0x3abd55==null||!Number[_0x4b52ae(0x4a1)](_0x3abd55))return'-';if(_0x2e6e10[_0x4b52ae(0x45d)](_0x159d11))return String(_0x3abd55);switch(_0x3abd71[_0x4b52ae(0x132)]){case _0x9b4f24[_0x4b52ae(0x3bc)][_0x4b52ae(0x44e)]:return _0xb4869b(_0x3abd55,_0x1ad952(_0x3abd71));case _0x9b4f24[_0x4b52ae(0x3bc)][_0x4b52ae(0x2fe)]:return _0xb4869b(_0x3abd55,_0x38d24a(_0x3abd71));case _0x9b4f24['BaseFieldType'][_0x4b52ae(0x327)]:return _0x2ae39f(_0x3abd55,_0x3abd71[_0x4b52ae(0x19f)]);case _0x9b4f24[_0x4b52ae(0x3bc)][_0x4b52ae(0x274)]:return _0x588404(_0x3abd55,_0x3abd71);default:return _0x11d8ca(_0x3abd55);}}function _0x22eb6d(_0x2352ee,_0x5da3de){const _0xbf1405=_0x164ecf;if(_0x5da3de==null)return!0x0;if(typeof _0x5da3de==_0xbf1405(0x1e4))return _0x5da3de[_0xbf1405(0x276)]()==='';if(Array['isArray'](_0x5da3de))return _0x2352ee[_0xbf1405(0x132)]===_0x9b4f24[_0xbf1405(0x3bc)]['Attachment']?!_0x5da3de['some'](_0xc8d633):_0x5da3de[_0xbf1405(0x13b)]===0x0;if(_0x2352ee[_0xbf1405(0x132)]===_0x9b4f24['BaseFieldType'][_0xbf1405(0x3d3)]&&typeof _0x5da3de==_0xbf1405(0x42c)){let _0x586eb5=_0x5da3de;return[_0x586eb5['text'],_0x586eb5['url']]['every'](_0x467b39=>_0x467b39==null||String(_0x467b39)['trim']()==='');}return!0x1;}function _0x1f94e6(_0x4dbca0,_0x1dc25b){const _0x320f66=_0x164ecf;let _0x458f04=[];for(let _0x3c0377 of _0x1dc25b){let _0x37054f=_0x2abbf1(_0x4dbca0,_0x3c0377);_0x37054f!=null&&_0x458f04[_0x320f66(0x4bf)](_0x37054f);}return _0x458f04;}function _0x2abbf1(_0x164209,_0x2b7fda){const _0x3a8642=_0x164ecf;if(typeof _0x2b7fda==_0x3a8642(0x1a8))return Number[_0x3a8642(0x4a1)](_0x2b7fda)?_0x2b7fda:null;if(_0x164209['type']!==_0x9b4f24[_0x3a8642(0x3bc)][_0x3a8642(0x274)]&&typeof _0x2b7fda==_0x3a8642(0x1e4)&&_0x2b7fda['trim']()!==''){let _0x4a5ee2=Number(_0x2b7fda);return Number['isFinite'](_0x4a5ee2)?_0x4a5ee2:null;}return null;}function _0x36ecec(_0x53a7d1){const _0x3faa0c=_0x164ecf;let _0x29b13d=0x0,_0x5980b0=0x0;for(let _0x4df2c1 of _0x53a7d1){let _0x589794=_0x29b13d+_0x4df2c1;_0x5980b0+=Math['abs'](_0x29b13d)>=Math[_0x3faa0c(0x3cc)](_0x4df2c1)?_0x29b13d-_0x589794+_0x4df2c1:_0x4df2c1-_0x589794+_0x29b13d,_0x29b13d=_0x589794;}return _0x29b13d+_0x5980b0;}function _0x29e7d5(_0x4bcb98,_0x104a3f){const _0xf70ed1=_0x164ecf;return _0x442d23[_0xf70ed1(0x1df)](_0x4bcb98[_0xf70ed1(0x132)])&&Array[_0xf70ed1(0x32e)](_0x104a3f)?_0x1551a6([...new Set(_0x104a3f[_0xf70ed1(0x2a7)](_0x13c392=>_0x1551a6(_0x2fd150(_0x13c392))))]['sort']()):_0x1551a6(_0x2fd150(_0x104a3f));}function _0x2fd150(_0x29ed32){const _0x22b6e8=_0x164ecf;return Array['isArray'](_0x29ed32)?_0x29ed32['map'](_0x2fd150):_0x29ed32&&typeof _0x29ed32==_0x22b6e8(0x42c)?Object['fromEntries'](Object[_0x22b6e8(0x489)](_0x29ed32)[_0x22b6e8(0x281)](([_0x5e6323],[_0x145d86])=>_0x5e6323[_0x22b6e8(0x2c6)](_0x145d86))['map'](([_0x3e1c91,_0x3f1203])=>[_0x3e1c91,_0x2fd150(_0x3f1203)])):_0x29ed32;}function _0x1551a6(_0x46ec4d){const _0x4ad401=_0x164ecf;return JSON['stringify'](_0x46ec4d)??_0x4ad401(0x494);}function _0xc8d633(_0x423c0b){const _0x11d1d9=_0x164ecf;if(typeof _0x423c0b=='string')return _0x423c0b[_0x11d1d9(0x276)]()!=='';if(!_0x423c0b||typeof _0x423c0b!='object')return!0x1;let _0x27f618=_0x423c0b;return[_0x27f618['id'],_0x27f618['name'],_0x27f618[_0x11d1d9(0x268)],_0x27f618[_0x11d1d9(0x4b7)],_0x27f618['thumbnail']][_0x11d1d9(0x3ba)](_0x18e9e9=>_0x18e9e9!=null&&String(_0x18e9e9)[_0x11d1d9(0x276)]()!=='');}function _0x1ad952(_0x16e482){const _0x3f4538=_0x164ecf;let _0x3edd17=_0x49b137(_0x16e482['config']);return{'decimalPlaces':_0x27b370(_0x3edd17[_0x3f4538(0x278)]??_0x3edd17[_0x3f4538(0x37d)],0x0,0x14,0x2),'separatorStyle':typeof _0x3edd17[_0x3f4538(0x21e)]=='string'?_0x3edd17[_0x3f4538(0x21e)]:_0x3f4538(0x107),'locale':typeof _0x3edd17['locale']=='string'?_0x3edd17[_0x3f4538(0x1c7)]:void 0x0,'useThousands':_0x3edd17['useThousands']!==!0x1,'abbreviation':typeof _0x3edd17[_0x3f4538(0x153)]==_0x3f4538(0x1e4)?_0x3edd17[_0x3f4538(0x153)]:_0x3f4538(0x415)};}function _0x38d24a(_0x5ee3ce){const _0x42c59f=_0x164ecf;let _0x2a4103=_0x49b137(_0x5ee3ce[_0x42c59f(0x19f)]);return{..._0x1ad952(_0x5ee3ce),'currencySymbol':String(_0x2a4103[_0x42c59f(0x29b)]??_0x2a4103[_0x42c59f(0x21b)]??'$')};}function _0x588404(_0x468776,_0x726685){const _0x579b86=_0x164ecf;let _0x539440=_0x21557a(_0x726685);if(_0x539440===_0x37dd11)return _0x11d8ca(_0x468776);try{return String(_0x9b4f24['numfmt'][_0x579b86(0x16b)](_0x539440,_0x468776,{'throws':!0x1}));}catch{return _0x11d8ca(_0x468776);}}function _0x10402b(_0x46af00){const _0x573934=_0x164ecf;let _0x5cd73e=_0x49b137(_0x49b137(_0x46af00[_0x573934(0x19f)])[_0x573934(0x199)]);return typeof _0x5cd73e['type']==_0x573934(0x1e4)?_0x5cd73e[_0x573934(0x132)]:'general';}function _0x21557a(_0x37a105){const _0x3cff23=_0x164ecf;let _0x440eaf=_0x49b137(_0x49b137(_0x37a105[_0x3cff23(0x19f)])['numfmt']);return String(_0x440eaf[_0x3cff23(0x3b8)]??_0x37dd11)[_0x3cff23(0x276)]()||_0x37dd11;}function _0x11d8ca(_0x121aed){const _0x1e54ff=_0x164ecf;return String(Number[_0x1e54ff(0x2de)](_0x121aed)?_0x121aed:Math[_0x1e54ff(0x143)]((_0x121aed+0x2**-0x34)*0x64)/0x64);}function _0x49b137(_0x464028){const _0x37b17a=_0x164ecf;return _0x464028&&typeof _0x464028==_0x37b17a(0x42c)&&!Array[_0x37b17a(0x32e)](_0x464028)?_0x464028:{};}function _0x4e503e(_0x34c74){const _0x1410c0=_0x164ecf;if(_0x34c74==null||_0x34c74==='')return null;let _0x4601ae=typeof _0x34c74==_0x1410c0(0x1a8)?_0x34c74:Number(_0x34c74);return Number['isFinite'](_0x4601ae)?_0x4601ae:null;}function _0x27b370(_0xaf607f,_0x279d5f,_0x3a1731,_0x362cf7){const _0x3073f8=_0x164ecf;let _0x3588c0=_0x4e503e(_0xaf607f);return _0x3588c0==null?_0x362cf7:Math[_0x3073f8(0x427)](_0x279d5f,Math['min'](_0x3a1731,Math['round'](_0x3588c0)));}function _0x2c3864(_0x296a48,_0x159716){const _0x2e7f8f=_0x164ecf;let _0x185cd1=_0x9b4f24['Tools'][_0x2e7f8f(0x1a6)](_0x296a48),_0x586d16=_0x159716[_0x2e7f8f(0x3ac)]===!0x0,_0x3f04de=new Map(),_0x197393=_0x159716[_0x2e7f8f(0x211)]??(()=>_0x2e7f8f(0x314)+(0x0,_0x9b4f24[_0x2e7f8f(0x2f8)])(0x8)),_0x15d30a=_0x185cd1[_0x2e7f8f(0x461)];return _0x159716[_0x2e7f8f(0x3ea)]&&(_0x15d30a=_0x185cd1[_0x2e7f8f(0x461)][_0x2e7f8f(0x2a7)](_0x58f3cc=>{const _0x1cd827=_0x2e7f8f;let _0x4e01d1=_0x197393();return _0x3f04de[_0x1cd827(0x25a)](_0x58f3cc,_0x4e01d1),_0x4e01d1;})),{..._0x185cd1,'id':_0x159716['id'],'name':_0x159716['name'],'records':_0x586d16?_0x185cd1[_0x2e7f8f(0x312)]:{},'recordOrder':_0x586d16?_0x185cd1[_0x2e7f8f(0x411)]:[],'rowIndex':_0x586d16?_0x185cd1['rowIndex']:{},'rowId':_0x586d16?_0x185cd1[_0x2e7f8f(0x3c7)]:{},'cellData':_0x586d16?_0x185cd1[_0x2e7f8f(0x216)]:{},'resources':_0x586d16?_0x185cd1[_0x2e7f8f(0x1b2)]:{},'viewOrder':_0x15d30a,'views':Object[_0x2e7f8f(0x224)](Object[_0x2e7f8f(0x489)](_0x185cd1[_0x2e7f8f(0x339)]??{})['map'](([_0x5bff71,_0x5846e2])=>{const _0x318a44=_0x2e7f8f;let _0x2fd8ca=_0x3f04de[_0x318a44(0x3e9)](_0x5bff71)??(_0x159716['regenerateViewIds']?_0x197393():_0x5bff71);return[_0x2fd8ca,{..._0x5846e2,'id':_0x2fd8ca,'tableId':_0x159716['id']}];}))};}var _0x30b99d=_0x164ecf(0x2c1),_0x1a3d80=_0x164ecf(0x390);let _0x30fe5d={},_0x291f89={};function _0x5002be(_0x32fb0d){const _0x538613=_0x164ecf;return new _0x1f3607()[_0x538613(0x2ed)](_0x32fb0d);}function _0x48cf66(_0x49f8b6){const _0x24527e=_0x164ecf;return _0x49f8b6['patches'][_0x24527e(0x2a7)](_0x176452=>({'unitId':_0x49f8b6[_0x24527e(0x333)],'sheetId':_0x49f8b6[_0x24527e(0x28a)],'range':{'startRow':_0x176452[_0x24527e(0x12f)],'endRow':_0x176452[_0x24527e(0x12f)],'startColumn':_0x176452[_0x24527e(0x48d)],'endColumn':_0x176452[_0x24527e(0x48d)]}}));}function _0x3f0dd5(_0x3d24c9,_0xeab0e8){const _0x5278c1=_0x164ecf;return{[_0x3d24c9]:Object['fromEntries'](_0xeab0e8[_0x5278c1(0x2a7)](_0x550c81=>[_0x550c81,'1']))};}let _0xa67bb1=class extends _0x9b4f24[_0x164ecf(0x2b0)]{constructor(_0x4db81e,_0x514ddb){const _0x4bdd16=_0x164ecf;super(),this[_0x4bdd16(0x223)]=_0x4db81e,this[_0x4bdd16(0x14a)]=_0x514ddb,this['_initialize']();}['_initialize'](){const _0x3ee0f0=_0x164ecf;this[_0x3ee0f0(0x223)][_0x3ee0f0(0x39f)](_0x855ab4['id'],{'commandId':_0x855ab4['id'],'getDirtyData':_0x2caa3=>this[_0x3ee0f0(0x454)](_0x2caa3['params'])}),this[_0x3ee0f0(0x3f6)]((0x0,_0x9b4f24['toDisposable'])(()=>{const _0xe51f9b=_0x3ee0f0;this[_0xe51f9b(0x223)][_0xe51f9b(0x321)](_0x855ab4['id']);}));}[_0x164ecf(0x2aa)](_0x3b1259,_0x44d773){const _0x22eaf5=_0x164ecf;let _0x2ddb7e=this[_0x22eaf5(0x14a)][_0x22eaf5(0x10d)](_0x3b1259,_0x9b4f24[_0x22eaf5(0x3d1)][_0x22eaf5(0x3a1)]);return(_0x2ddb7e==null?void 0x0:_0x2ddb7e['getSnapshot']()[_0x22eaf5(0x4cb)][_0x44d773])??null;}[_0x164ecf(0x454)](_0x5a54a1){const _0x386af8=_0x164ecf;if(_0x5a54a1[_0x386af8(0x23f)]===_0x386af8(0x3c4))return{};if(!_0x5a54a1[_0x386af8(0x333)]||!_0x5a54a1['op'])return{'clearDependencyTreeCache':this[_0x386af8(0x458)](),'forceCalculation':!0x0};let _0x501d39=_0x5002be(_0x5a54a1['op']),_0x425c55=this['_getStructureDirtyTableIds'](_0x5a54a1[_0x386af8(0x333)],_0x501d39);if(_0x425c55[_0x386af8(0x13b)])return{'clearDependencyTreeCache':_0x3f0dd5(_0x5a54a1[_0x386af8(0x333)],_0x425c55),'forceCalculation':!0x0};let _0x192082=Object[_0x386af8(0x489)](this[_0x386af8(0x119)](_0x5a54a1[_0x386af8(0x333)],_0x501d39))['flatMap'](([_0x27762d,_0x5f457d])=>_0x48cf66({'unitId':_0x5a54a1[_0x386af8(0x333)],'tableId':_0x27762d,'patches':_0x5f457d}));return _0x192082[_0x386af8(0x13b)]?{'dirtyRanges':_0x192082}:{};}[_0x164ecf(0x3ae)](_0x249a63,_0x7f9306){const _0xb6b875=_0x164ecf;let _0x5a3336=_0x7f9306['filter'](_0x184423=>_0x184423[_0xb6b875(0x167)]!==_0xb6b875(0x213))[_0xb6b875(0x17e)](_0x32c801=>_0x32c801['tableId']?[_0x32c801[_0xb6b875(0x28a)]]:this[_0xb6b875(0x212)](_0x249a63));return Array[_0xb6b875(0x338)](new Set(_0x5a3336));}[_0x164ecf(0x119)](_0x378849,_0x5a766c){const _0x341f07=_0x164ecf;let _0x21a49f=new Set();return _0x5a766c[_0x341f07(0x297)]((_0x1bb377,_0x253ace)=>{const _0x4c33aa=_0x341f07;let _0x921875=this[_0x4c33aa(0x4c2)](_0x378849,_0x253ace);if(!_0x921875)return _0x1bb377;let _0x12b6b6=_0x253ace[_0x4c33aa(0x28a)]+':'+_0x921875['row']+':'+_0x921875[_0x4c33aa(0x48d)];return _0x21a49f['has'](_0x12b6b6)?_0x1bb377:(_0x21a49f[_0x4c33aa(0x134)](_0x12b6b6),_0x1bb377[_0x253ace['tableId']]=_0x1bb377[_0x253ace[_0x4c33aa(0x28a)]]??[],_0x1bb377[_0x253ace[_0x4c33aa(0x28a)]][_0x4c33aa(0x4bf)](_0x921875),_0x1bb377);},{});}['_toDirtyRangePatch'](_0x380ebb,_0xaba497){const _0x5aada1=_0x164ecf;if(_0xaba497['reason']!==_0x5aada1(0x213))return null;if(_0xaba497[_0x5aada1(0x12f)]!=null&&_0xaba497[_0x5aada1(0x1b3)]!=null)return{'row':_0xaba497[_0x5aada1(0x12f)],'col':_0xaba497[_0x5aada1(0x1b3)],'value':null};if(!_0xaba497[_0x5aada1(0x1d9)]||!_0xaba497[_0x5aada1(0x195)])return null;let _0x184337=this[_0x5aada1(0x2aa)](_0x380ebb,_0xaba497[_0x5aada1(0x28a)]);if(!_0x184337)return null;let _0x1e8955=_0x683939(_0x184337,_0xaba497[_0x5aada1(0x1d9)],_0xaba497[_0x5aada1(0x195)]);return _0x1e8955?{'row':_0x1e8955[_0x5aada1(0x12f)],'col':_0x1e8955[_0x5aada1(0x48d)],'value':null}:null;}['_getAllTableIds'](_0x476eb3){const _0x2e117c=_0x164ecf;let _0x590e59=this[_0x2e117c(0x14a)][_0x2e117c(0x10d)](_0x476eb3,_0x9b4f24[_0x2e117c(0x3d1)]['UNIVER_BASE']);return Object[_0x2e117c(0x10a)]((_0x590e59==null?void 0x0:_0x590e59[_0x2e117c(0x293)]()[_0x2e117c(0x4cb)])??{})['map'](_0x37e6ef=>_0x37e6ef['id']);}[_0x164ecf(0x458)](){const _0x4eb455=_0x164ecf;let _0x368624=this[_0x4eb455(0x14a)][_0x4eb455(0x446)](_0x9b4f24[_0x4eb455(0x3d1)][_0x4eb455(0x3a1)])[_0x4eb455(0x2a7)](_0x351ce3=>_0x3f0dd5(_0x351ce3['getUnitId'](),Object[_0x4eb455(0x1fe)](_0x351ce3[_0x4eb455(0x293)]()[_0x4eb455(0x4cb)])));return Object[_0x4eb455(0x29a)]({},..._0x368624);}};_0xa67bb1=_0x12cf0c([_0x891af9(0x0,_0x57d3e9[_0x164ecf(0x1f8)]),_0x891af9(0x1,_0x9b4f24[_0x164ecf(0x15c)])],_0xa67bb1);let _0x14899f=_0x9b4f24['regexp'][_0x164ecf(0x207)](String[_0x164ecf(0x126)]`(?:^|\W)\$?[A-Z]{1,3}\$?\d+(?::\$?[A-Z]{1,3}\$?\d+)?(?:$|\W)`),_0x2f6e35=_0x9b4f24['regexp'][_0x164ecf(0x207)](String['raw']`(?:'\[[^\]]+\](?:[^']|'')+'|\[[^\]]+\][^\s'!]+)!\$?[A-Z]{1,3}\$?\d+(?::\$?[A-Z]{1,3}\$?\d+)?`,'gi'),_0x5c4d6c=/\{([^}]+)\}/g,_0x375658=_0x9b4f24[_0x164ecf(0x33e)][_0x164ecf(0x207)](String[_0x164ecf(0x126)]`\b([A-Z_]\w*)\[([^\]]+)\]`,'gi'),_0x5f50c2=_0x9b4f24[_0x164ecf(0x33e)][_0x164ecf(0x207)](String[_0x164ecf(0x126)]`(^|[^\w\][])\[([^\]]+)\]`,'g');var _0x36de02=class{[_0x164ecf(0x247)](_0x506252,_0x38321f=_0x506252['id']){const _0x4a21a5=_0x164ecf;var _0x21d427;let _0x506023=((_0x21d427=_0x506252[_0x4a21a5(0x411)])==null?void 0x0:_0x21d427[_0x4a21a5(0x13b)])??Object[_0x4a21a5(0x10a)](_0x506252['records'])[_0x4a21a5(0x13b)];return{'sheetId':_0x38321f,'titleMap':new Map(_0x506252[_0x4a21a5(0x30b)][_0x4a21a5(0x2a7)]((_0x1e3ec0,_0x46f011)=>{const _0xc5b13d=_0x4a21a5;var _0x35d51e;return[((_0x35d51e=_0x506252[_0xc5b13d(0x43b)][_0x1e3ec0])==null?void 0x0:_0x35d51e[_0xc5b13d(0x267)])??_0x1e3ec0,_0x46f011];})),'range':{'startRow':0x0,'endRow':Math['max'](0x0,_0x506023-0x1),'startColumn':0x0,'endColumn':Math['max'](0x0,_0x506252[_0x4a21a5(0x30b)][_0x4a21a5(0x13b)]-0x1)},'showHeader':!0x1};}[_0x164ecf(0x2bb)](_0x4557cd,_0x9965d6,_0x2c045e,_0x4ff4a7={}){const _0x4b962b=_0x164ecf;let _0x258757=this[_0x4b962b(0x247)](_0x2c045e,_0x4ff4a7[_0x4b962b(0x4cf)]??_0x2c045e['id']);return new Set([_0x2c045e['id'],_0x2c045e[_0x4b962b(0x267)],_0x4ff4a7['tableName']][_0x4b962b(0x41f)](_0xac869a=>!!_0xac869a))[_0x4b962b(0x49e)](_0x142089=>_0x4557cd['registerTable'](_0x9965d6,_0x142089,_0x258757)),_0x258757;}[_0x164ecf(0x388)](_0x404ccf,_0x2f492d){const _0xb37271=_0x164ecf;let _0x29aa7e=this[_0xb37271(0x3ab)](_0x2f492d);return _0x29aa7e['forEach'](({tableName:_0x265768,reference:_0x2c9dc7})=>{const _0x7733e6=_0xb37271;_0x404ccf[_0x7733e6(0x323)](_0x2f492d['id'],_0x265768,_0x2c9dc7);}),Array[_0xb37271(0x338)](new Set(_0x29aa7e['map'](({reference:_0x3b2d09})=>_0x3b2d09)));}['getSuperTableRegistrations'](_0x3b5081,_0x2312a6){const _0x50c402=_0x164ecf;let _0x267aec=[],_0x45b59b=_0x2312a6?new Set(_0x2312a6):null,_0x23ce3d=new Map();return Object['values'](_0x3b5081[_0x50c402(0x4cb)])[_0x50c402(0x49e)](_0x4fa39d=>{const _0xce2ca9=_0x50c402;let _0x2c3d02=_0x4fa39d[_0xce2ca9(0x267)][_0xce2ca9(0x276)]()[_0xce2ca9(0x3b3)]();_0x23ce3d[_0xce2ca9(0x25a)](_0x2c3d02,(_0x23ce3d[_0xce2ca9(0x3e9)](_0x2c3d02)??0x0)+0x1);}),Object[_0x50c402(0x10a)](_0x3b5081[_0x50c402(0x4cb)])[_0x50c402(0x41f)](_0x378a3c=>!_0x45b59b||_0x45b59b[_0x50c402(0x1df)](_0x378a3c['id']))['forEach'](_0x242a7d=>{const _0x1e554c=_0x50c402;let _0x5f3fcf=this[_0x1e554c(0x247)](_0x242a7d,_0x242a7d['id']);_0x267aec[_0x1e554c(0x4bf)]({'tableId':_0x242a7d['id'],'tableName':_0x242a7d['id'],'reference':_0x5f3fcf}),(_0x23ce3d[_0x1e554c(0x3e9)](_0x242a7d['name'][_0x1e554c(0x276)]()['toLowerCase']())??0x0)===0x1&&_0x267aec[_0x1e554c(0x4bf)]({'tableId':_0x242a7d['id'],'tableName':_0x242a7d['name'],'reference':_0x5f3fcf});}),_0x267aec;}[_0x164ecf(0x309)](_0x480579,_0x55071c,_0x3c5e86={}){const _0x4a3ddb=_0x164ecf;let _0xa5ecd9=_0x480579[_0x4a3ddb(0x276)]();if(!_0xa5ecd9)return{'valid':!0x0};if(_0x475a0d(_0xa5ecd9))return{'valid':!0x1,'reason':_0x4a3ddb(0x3a6)};for(let _0xd16c93 of _0x5d64bb(_0xa5ecd9)){let _0x57811d=_0x2a3f99(_0xd16c93,_0x55071c,_0x3c5e86[_0x4a3ddb(0x255)]);if(!_0x57811d[_0x4a3ddb(0xfe)])return{'valid':!0x1,'reason':_0x4a3ddb(0x15a)+_0xd16c93[_0x4a3ddb(0x36e)]+_0x4a3ddb(0x21a)};if(!_0x57811d[_0x4a3ddb(0x2da)])return{'valid':!0x1,'reason':'[BaseFormula]:\x20field\x20\x22'+_0xd16c93[_0x4a3ddb(0x4b9)]+_0x4a3ddb(0x21a)};}return{'valid':!0x0};}['getDependencies'](_0x50c20e,_0x422185,_0xb45d={}){const _0x15f1e6=_0x164ecf;let _0x51a376=new Set();for(let _0x56336d of this['getStructuredDependencies'](_0x50c20e,_0x422185,_0xb45d))_0x56336d[_0x15f1e6(0x28a)]===_0x422185['id']&&_0x51a376[_0x15f1e6(0x134)](_0x56336d[_0x15f1e6(0x195)]);return Array[_0x15f1e6(0x338)](_0x51a376);}[_0x164ecf(0x158)](_0x38d424,_0x515760,_0x71c4b2={}){const _0x318f85=_0x164ecf;let _0x2cf16b=new Map();for(let _0x1a8031 of _0x5d64bb(_0x38d424)){let _0x53d562=_0x2a3f99(_0x1a8031,_0x515760,_0x71c4b2[_0x318f85(0x255)]);if(!_0x53d562['table']||!_0x53d562[_0x318f85(0x2da)])continue;let _0x318cf6=_0x53d562[_0x318f85(0xfe)]['id']+'\x1f'+_0x53d562['field']['id'];_0x2cf16b['set'](_0x318cf6,{'tableId':_0x53d562['table']['id'],'fieldId':_0x53d562['field']['id']});}return Array[_0x318f85(0x338)](_0x2cf16b[_0x318f85(0x10a)]());}};function _0x1db57f(_0x31cc15,_0x4718bd){const _0x1fad4a=_0x164ecf;var _0x18078b;let _0xf367b5=[],_0x300050=(_0x18078b=_0x4718bd[_0x1fad4a(0x4bb)])==null?void 0x0:_0x18078b[_0x31cc15['id']];return _0x300050&&Object[_0x1fad4a(0x489)](_0x300050)[_0x1fad4a(0x49e)](([_0x4cc84d,_0x5ab106])=>{const _0x4d2f59=_0x1fad4a;let _0x88e1d9=_0x31cc15[_0x4d2f59(0x4cb)][_0x4cc84d];if(!_0x88e1d9||!_0x5ab106)return;let _0x939dd6=_0x8ae1a4(_0x88e1d9),_0x165432=[];new _0x9b4f24[(_0x4d2f59(0x2f1))](_0x5ab106)[_0x4d2f59(0x214)]((_0x150090,_0x2fb4b0,_0x42af26)=>{let _0x5e2013=_0x1737b9(_0x939dd6,_0x150090,_0x2fb4b0,_0x42af26);_0x5e2013&&_0x165432['push'](_0x5e2013);}),_0x165432[_0x4d2f59(0x13b)]&&_0xf367b5[_0x4d2f59(0x4bf)]({'unitId':_0x31cc15['id'],'tableId':_0x4cc84d,'patches':_0x165432});}),_0xf367b5;}function _0x1737b9(_0x50db25,_0x4dad1d,_0x31b1fd,_0x4c2476){const _0xb5e07a=_0x164ecf;var _0x48e099,_0x442c97,_0x30c7e9;let _0x34ba63=(_0x48e099=_0x50db25[_0xb5e07a(0x3c7)])==null?void 0x0:_0x48e099[_0x4dad1d],_0x96cd7=(_0x442c97=_0x50db25['colId'])==null?void 0x0:_0x442c97[_0x31b1fd];if(!_0x34ba63||!_0x50db25[_0xb5e07a(0x312)][_0x34ba63]||!_0x96cd7)return null;let _0x4b01c4=_0x50db25[_0xb5e07a(0x43b)][_0x96cd7];if(!_0x4b01c4||_0x4b01c4[_0xb5e07a(0x132)]!==_0xb5e07a(0x2f9))return null;let _0x35ef2b=String(((_0x30c7e9=_0x4b01c4[_0xb5e07a(0x19f)])==null?void 0x0:_0x30c7e9['formula'])??'')[_0xb5e07a(0x276)](),_0x3c8dbf=(_0x4c2476==null?void 0x0:_0x4c2476['v'])??null,_0x1ba753={'v':_0x3c8dbf,'t':_0x3fde94(_0x3c8dbf),..._0x4dad1d===0x0&&_0x35ef2b?{'f':_0x35ef2b}:{},'si':_0x4b01c4['id']};return _0x54d070(_0x273a83(_0x50db25,_0x34ba63,_0x96cd7),_0x1ba753)?null:{'row':_0x4dad1d,'col':_0x31b1fd,'value':_0x1ba753};}function _0x54d070(_0x50251c,_0x2fbdc2){return _0x50251c!=null&&Object['is'](_0x50251c['v']??null,_0x2fbdc2['v']??null)&&_0x50251c['t']===_0x2fbdc2['t']&&_0x50251c['f']===_0x2fbdc2['f']&&_0x50251c['si']===_0x2fbdc2['si'];}function _0x3fde94(_0x481709){const _0x4201c2=_0x164ecf;return typeof _0x481709==_0x4201c2(0x1a8)?_0x9b4f24[_0x4201c2(0x260)][_0x4201c2(0x381)]:typeof _0x481709=='boolean'?_0x9b4f24[_0x4201c2(0x260)][_0x4201c2(0x110)]:typeof _0x481709=='string'?_0x9b4f24[_0x4201c2(0x260)]['STRING']:null;}function _0x5d64bb(_0x30db3e){const _0x4548a6=_0x164ecf;_0x30db3e=_0x59294c(_0x30db3e,()=>'');let _0x1b288a=new Map();for(let _0x51ebce of _0x30db3e[_0x4548a6(0x173)](_0x5c4d6c)){let _0xd57cb0={'fieldName':_0x51ebce[0x1]};_0x1b288a[_0x4548a6(0x25a)]('\x1f'+_0xd57cb0[_0x4548a6(0x4b9)],_0xd57cb0);}for(let _0x17787d of _0x30db3e[_0x4548a6(0x173)](_0x375658)){let _0x522519={'tableName':_0x17787d[0x1],'fieldName':_0x17787d[0x2]};_0x1b288a['set'](_0x522519[_0x4548a6(0x36e)]+'\x1f'+_0x522519[_0x4548a6(0x4b9)],_0x522519);}for(let _0x4e76fd of _0x30db3e['matchAll'](_0x5f50c2)){let _0x2cea3a={'fieldName':_0x4e76fd[0x2]};_0x1b288a[_0x4548a6(0x25a)]('\x1f'+_0x2cea3a[_0x4548a6(0x4b9)],_0x2cea3a);}return Array[_0x4548a6(0x338)](_0x1b288a[_0x4548a6(0x10a)]());}function _0x475a0d(_0x1b1d86){const _0x1f3e86=_0x164ecf;let _0xab0556=_0x4bce90(_0x1b1d86,()=>'\x20')[_0x1f3e86(0x3c5)](_0x5c4d6c,'\x20')[_0x1f3e86(0x3c5)](_0x375658,'\x20')['replace'](_0x5f50c2,_0x1f3e86(0x1c4));return _0x14899f['test'](_0xab0556);}function _0x59294c(_0xb53fa8,_0x2f00f4){return _0x451ac4(_0x4bce90(_0xb53fa8,_0x2f00f4),_0x2f00f4);}function _0x4bce90(_0x5c9f39,_0x364c2c){const _0x2a02c6=_0x164ecf;return _0x2f6e35['lastIndex']=0x0,_0x5c9f39[_0x2a02c6(0x3c5)](_0x2f6e35,(_0x567ce5,_0x5366ee)=>_0x56a272(_0x5c9f39,_0x5366ee)?_0x567ce5:_0x364c2c(_0x567ce5));}let _0x2b6df3=/(?:'((?:[^']|'')+)'|\[[^\]]+\]|[A-Za-z0-9_.-]+)![^\s!\[\]]+\[/g;function _0x451ac4(_0x314711,_0x2acc04){const _0x24c889=_0x164ecf;let _0x28e994=[];_0x2b6df3[_0x24c889(0x2e4)]=0x0;let _0x7c3056;for(;(_0x7c3056=_0x2b6df3[_0x24c889(0x4b5)](_0x314711))!=null;){if(_0x56a272(_0x314711,_0x7c3056[_0x24c889(0x2d4)]))continue;let _0x4686d6=_0x2b6df3[_0x24c889(0x2e4)]-0x1,_0x297b22=0x0;for(let _0x55e5b2=_0x4686d6;_0x55e5b2<_0x314711['length'];_0x55e5b2++)if(_0x314711[_0x55e5b2]==='['&&_0x297b22++,_0x314711[_0x55e5b2]===']'&&(_0x297b22--,_0x297b22===0x0)){_0x28e994[_0x24c889(0x4bf)]({'start':_0x7c3056[_0x24c889(0x2d4)],'end':_0x55e5b2+0x1}),_0x2b6df3[_0x24c889(0x2e4)]=_0x55e5b2+0x1;break;}}if(_0x28e994[_0x24c889(0x13b)]===0x0)return _0x314711;let _0x59ba9b='',_0x267fc3=0x0;for(let _0x42775e of _0x28e994)_0x59ba9b+=_0x314711[_0x24c889(0x475)](_0x267fc3,_0x42775e[_0x24c889(0x2e1)]),_0x59ba9b+=_0x2acc04(_0x314711[_0x24c889(0x475)](_0x42775e[_0x24c889(0x2e1)],_0x42775e[_0x24c889(0x168)])),_0x267fc3=_0x42775e[_0x24c889(0x168)];return _0x59ba9b+_0x314711[_0x24c889(0x475)](_0x267fc3);}function _0x56a272(_0x8ff9eb,_0x4b982c){let _0x33e1d4=!0x1;for(let _0x97ad05=0x0;_0x97ad05<_0x4b982c;_0x97ad05++)if(_0x8ff9eb[_0x97ad05]==='\x22'){if(_0x33e1d4&&_0x8ff9eb[_0x97ad05+0x1]==='\x22'){_0x97ad05++;continue;}_0x33e1d4=!_0x33e1d4;}return _0x33e1d4;}function _0x2a3f99(_0xa28658,_0xeb1d0,_0x575cc0){const _0x5b8bba=_0x164ecf;let _0x4404a6=_0x116b31(_0xa28658[_0x5b8bba(0x36e)],_0xeb1d0,_0x575cc0);return{'table':_0x4404a6,'field':_0x4404a6?Object['values'](_0x4404a6['fields'])[_0x5b8bba(0x396)](_0x2cad3a=>_0x2cad3a[_0x5b8bba(0x267)]===_0xa28658[_0x5b8bba(0x4b9)]):void 0x0};}function _0x116b31(_0x42e87c,_0x251aa4,_0x933653){const _0x5d01a4=_0x164ecf;if(!_0x42e87c||_0x42e87c===_0x5d01a4(0xfe)||_0x42e87c===_0x251aa4['id']||_0x42e87c===_0x251aa4[_0x5d01a4(0x267)])return _0x251aa4;if(!_0x933653)return;let _0xad4084=_0x933653[_0x5d01a4(0x4cb)][_0x42e87c];if(_0xad4084)return _0xad4084;let _0x435bac=Object[_0x5d01a4(0x10a)](_0x933653['tables'])[_0x5d01a4(0x41f)](_0x5b57c7=>_0x5b57c7[_0x5d01a4(0x267)]===_0x42e87c);return _0x435bac[_0x5d01a4(0x13b)]===0x1?_0x435bac[0x0]:void 0x0;}let _0x3019a8=class extends _0x9b4f24[_0x164ecf(0x2b0)]{constructor(_0x5db37c,_0x38601c,_0x1e64d3,_0x50832c){const _0x3eed4f=_0x164ecf;super(),this[_0x3eed4f(0x2f7)]=_0x5db37c,this['_univerInstanceService']=_0x38601c,this[_0x3eed4f(0x2fd)]=_0x1e64d3,this[_0x3eed4f(0x33d)]=_0x50832c,_0x1fa697(this,'_formulaService',new _0x36de02()),_0x1fa697(this,_0x3eed4f(0x2ac),new Map()),_0x1fa697(this,_0x3eed4f(0x1d3),new Set()),_0x1fa697(this,_0x3eed4f(0x38e),Promise['resolve']()),_0x1fa697(this,_0x3eed4f(0x1f0),!0x1),this[_0x3eed4f(0x2d6)]();}[_0x164ecf(0x2d6)](){const _0x5d74b0=_0x164ecf;this['_univerInstanceService'][_0x5d74b0(0x446)](_0x9b4f24[_0x5d74b0(0x3d1)]['UNIVER_BASE'])[_0x5d74b0(0x49e)](_0x1e180d=>{const _0x57da05=_0x5d74b0;this[_0x57da05(0x20e)](_0x1e180d);}),this[_0x5d74b0(0x3f6)](this[_0x5d74b0(0x14a)][_0x5d74b0(0x266)](_0x9b4f24['UniverInstanceType']['UNIVER_BASE'])[_0x5d74b0(0x46b)](({unit:_0x4b482e})=>{const _0x18af31=_0x5d74b0;this[_0x18af31(0x20e)](_0x4b482e);})),this[_0x5d74b0(0x3f6)](this[_0x5d74b0(0x14a)][_0x5d74b0(0x43a)](_0x9b4f24[_0x5d74b0(0x3d1)][_0x5d74b0(0x3a1)])[_0x5d74b0(0x46b)](_0x11f780=>{const _0x1fd0a2=_0x5d74b0;this[_0x1fd0a2(0x3ee)](()=>this[_0x1fd0a2(0x3f0)](_0x11f780[_0x1fd0a2(0x368)]()));})),this[_0x5d74b0(0x3f6)](this[_0x5d74b0(0x2f7)][_0x5d74b0(0x1ea)](_0x167dfb=>this[_0x5d74b0(0x348)](_0x167dfb)));}[_0x164ecf(0x348)](_0x27df46){const _0x4e9364=_0x164ecf;if(_0x27df46['id']===_0x57d3e9['SetFormulaCalculationResultMutation']['id']){_0x1b64e0(_0x27df46[_0x4e9364(0x36d)])&&this['_applyFormulaResult'](_0x27df46[_0x4e9364(0x36d)]);return;}if(this[_0x4e9364(0x1f0)]||_0x27df46['id']!==_0x855ab4['id'])return;let _0x531dfe=_0x3a5e24(_0x27df46[_0x4e9364(0x36d)])?_0x27df46[_0x4e9364(0x36d)]:void 0x0,_0x468d47=_0x531dfe!=null&&_0x531dfe[_0x4e9364(0x333)]?[this[_0x4e9364(0x14a)][_0x4e9364(0x10d)](_0x531dfe[_0x4e9364(0x333)],_0x9b4f24[_0x4e9364(0x3d1)][_0x4e9364(0x3a1)])]['filter'](_0x32e3d1=>!!_0x32e3d1):this['_univerInstanceService']['getAllUnitsForType'](_0x9b4f24[_0x4e9364(0x3d1)]['UNIVER_BASE']),_0x532253=_0x531dfe==null?void 0x0:_0x531dfe['op'];_0x468d47[_0x4e9364(0x49e)](_0x3057d8=>{const _0x4e8c26=_0x4e9364;let _0x4032b9=_0x532253?_0x5002be(_0x532253):[];(!_0x532253||_0x4032b9['some'](_0x50598c=>_0x50598c[_0x4e8c26(0x167)]!==_0x4e8c26(0x213)))&&this[_0x4e8c26(0x20e)](_0x3057d8);});}['_scheduleSuperTableSync'](_0x54d9c6){const _0xd3c2a0=_0x164ecf;let _0x43775f=_0x54d9c6[_0xd3c2a0(0x368)]();this[_0xd3c2a0(0x1d3)][_0xd3c2a0(0x1df)](_0x43775f)||(this[_0xd3c2a0(0x1d3)]['add'](_0x43775f),this[_0xd3c2a0(0x3ee)](async()=>{const _0x58c9f5=_0xd3c2a0;this[_0x58c9f5(0x1d3)][_0x58c9f5(0x2c7)](_0x43775f),await this[_0x58c9f5(0x4b8)](_0x54d9c6);}));}async[_0x164ecf(0x4b8)](_0x5c5b60){const _0x1a97ff=_0x164ecf;let _0x25bdf1=_0x5c5b60[_0x1a97ff(0x368)](),_0x2dfeed=this[_0x1a97ff(0x2c2)]['getSuperTableRegistrations'](_0x5c5b60['getSnapshot']()),_0x421727=new Set(_0x2dfeed[_0x1a97ff(0x2a7)](({tableName:_0x5bc979})=>_0x5bc979)),_0x6a80b9=this[_0x1a97ff(0x2ac)][_0x1a97ff(0x3e9)](_0x25bdf1)??new Set();for(let _0x3de682 of _0x6a80b9)_0x421727[_0x1a97ff(0x1df)](_0x3de682)||await this[_0x1a97ff(0x2f7)][_0x1a97ff(0x246)](_0x57d3e9[_0x1a97ff(0x421)]['id'],{'unitId':_0x25bdf1,'tableName':_0x3de682},{'onlyLocal':!0x0});for(let {tableName:_0x5da38c,reference:_0x14b7d0}of _0x2dfeed)await this[_0x1a97ff(0x2f7)][_0x1a97ff(0x246)](_0x57d3e9[_0x1a97ff(0x4ac)]['id'],{'unitId':_0x25bdf1,'tableName':_0x5da38c,'reference':_0x14b7d0},{'onlyLocal':!0x0});this['_registeredSuperTableNames']['set'](_0x25bdf1,_0x421727);}async[_0x164ecf(0x3f0)](_0x54ed42){const _0x12cabc=_0x164ecf;let _0x23cc17=this[_0x12cabc(0x2ac)][_0x12cabc(0x3e9)](_0x54ed42)??new Set();for(let _0x240294 of _0x23cc17)await this[_0x12cabc(0x2f7)]['executeCommand'](_0x57d3e9[_0x12cabc(0x421)]['id'],{'unitId':_0x54ed42,'tableName':_0x240294},{'onlyLocal':!0x0});this[_0x12cabc(0x2ac)][_0x12cabc(0x2c7)](_0x54ed42);}[_0x164ecf(0x3ee)](_0x1dac59){const _0x575979=_0x164ecf;this[_0x575979(0x38e)]=this[_0x575979(0x38e)][_0x575979(0x3df)](_0x1dac59,_0x1dac59)[_0x575979(0x3da)](()=>void 0x0);}[_0x164ecf(0x3dc)](_0x27f0ea){const _0x4b06ae=_0x164ecf;let _0x4dd058=this[_0x4b06ae(0x14a)][_0x4b06ae(0x446)](_0x9b4f24[_0x4b06ae(0x3d1)][_0x4b06ae(0x3a1)]);if(!_0x4dd058[_0x4b06ae(0x3ba)](_0x65fb94=>{const _0x25ff79=_0x4b06ae;var _0x44d556;return((_0x44d556=_0x27f0ea['unitData'])==null?void 0x0:_0x44d556[_0x65fb94[_0x25ff79(0x368)]()])!=null;}))return;let _0x40fb7a=_0x4dd058[_0x4b06ae(0x17e)](_0x5ebc43=>_0x1db57f(_0x5ebc43[_0x4b06ae(0x293)](),_0x27f0ea));if(!_0x40fb7a['length']){this['_formulaCalculationSessionService']['markResultApplied'](_0x3e8dfc['FormulaResultApplicationType'][_0x4b06ae(0x217)],_0x27f0ea);return;}let _0x2d2512=new _0x1b7d14(),_0x2cdb75=_0x40fb7a['flatMap'](_0x5e5427=>_0x48cf66({'unitId':_0x5e5427[_0x4b06ae(0x333)],'tableId':_0x5e5427['tableId'],'patches':_0x5e5427[_0x4b06ae(0x355)]}));this[_0x4b06ae(0x1f0)]=!0x0,(async()=>{const _0xf93ea8=_0x4b06ae;for(let _0x22eab9 of _0x40fb7a){let _0x70695f=this[_0xf93ea8(0x14a)][_0xf93ea8(0x10d)](_0x22eab9[_0xf93ea8(0x333)],_0x9b4f24['UniverInstanceType']['UNIVER_BASE']);_0x70695f&&await this['_commandService'][_0xf93ea8(0x246)](_0x855ab4['id'],{'unitId':_0x22eab9[_0xf93ea8(0x333)],'op':_0x2d2512[_0xf93ea8(0x123)](_0x70695f['getSnapshot'](),_0x22eab9[_0xf93ea8(0x28a)],_0x22eab9[_0xf93ea8(0x355)]),'trigger':_0x57d3e9['SetFormulaCalculationResultMutation']['id']},{'onlyLocal':!0x0});}await this[_0xf93ea8(0x2f7)][_0xf93ea8(0x246)](_0x57d3e9[_0xf93ea8(0x1d8)]['id'],{'dirtyRanges':_0x2cdb75},{'onlyLocal':!0x0});})()[_0x4b06ae(0x408)](()=>{const _0x431bf4=_0x4b06ae;this['_applyingFormulaResults']=!0x1,this[_0x431bf4(0x33d)][_0x431bf4(0x43e)](_0x3e8dfc[_0x431bf4(0x26c)][_0x431bf4(0x217)],_0x27f0ea);});}};_0x3019a8=_0x12cf0c([_0x891af9(0x0,_0x9b4f24[_0x164ecf(0x46a)]),_0x891af9(0x1,_0x9b4f24[_0x164ecf(0x15c)]),_0x891af9(0x2,(0x0,_0x9b4f24[_0x164ecf(0x34a)])(_0x57d3e9[_0x164ecf(0x102)])),_0x891af9(0x3,(0x0,_0x9b4f24[_0x164ecf(0x34a)])(_0x3e8dfc['FormulaCalculationSessionService']))],_0x3019a8);function _0x3a5e24(_0x1c64d8){const _0x418cc3=_0x164ecf;return typeof _0x1c64d8==_0x418cc3(0x42c)&&!!_0x1c64d8&&'unitId'in _0x1c64d8&&typeof _0x1c64d8['unitId']==_0x418cc3(0x1e4)&&'op'in _0x1c64d8&&Array['isArray'](_0x1c64d8['op']);}function _0x1b64e0(_0x501a0c){const _0x54b8ec=_0x164ecf;return typeof _0x501a0c==_0x54b8ec(0x42c)&&!!_0x501a0c&&_0x54b8ec(0x4bb)in _0x501a0c&&_0x54b8ec(0x34e)in _0x501a0c;}let _0x17905b=(0x0,_0x9b4f24['createIdentifier'])('base.resource.service'),_0x7816eb=class{constructor(_0x5a6c95){const _0x360898=_0x164ecf;this[_0x360898(0x14a)]=_0x5a6c95;}[_0x164ecf(0x42b)](_0x587516){const _0x30ccb0=_0x164ecf;return this[_0x30ccb0(0x14a)][_0x30ccb0(0x10d)](_0x587516,_0x9b4f24[_0x30ccb0(0x3d1)][_0x30ccb0(0x3a1)])??null;}[_0x164ecf(0x1e2)](){const _0x5c8d5c=_0x164ecf;return this[_0x5c8d5c(0x14a)][_0x5c8d5c(0x446)](_0x9b4f24[_0x5c8d5c(0x3d1)][_0x5c8d5c(0x3a1)]);}['createBase'](_0x4c7491){const _0x4ebe00=_0x164ecf;return this['_univerInstanceService'][_0x4ebe00(0x3a9)](_0x9b4f24['UniverInstanceType'][_0x4ebe00(0x3a1)],_0x4c7491);}};_0x7816eb=_0x12cf0c([_0x891af9(0x0,_0x9b4f24['IUniverInstanceService'])],_0x7816eb);let _0x4800d6=(0x0,_0x9b4f24['createIdentifier'])(_0x164ecf(0x112));var _0x46feac=class extends _0x9b4f24[_0x164ecf(0x2b0)]{constructor(..._0x49114d){const _0xd502ee=_0x164ecf;super(..._0x49114d),_0x1fa697(this,_0xd502ee(0x20c),new Map());}['register'](_0x1e4e70){const _0x1356f8=_0x164ecf;return this[_0x1356f8(0x20c)][_0x1356f8(0x25a)](_0x1e4e70[_0x1356f8(0x132)],_0x1e4e70),(0x0,_0x9b4f24[_0x1356f8(0x17d)])(()=>this[_0x1356f8(0x20c)][_0x1356f8(0x2c7)](_0x1e4e70[_0x1356f8(0x132)]));}[_0x164ecf(0x3e9)](_0x2fcabc){const _0x585786=_0x164ecf;let _0xb03c84=this[_0x585786(0x20c)]['get'](_0x2fcabc);if(!_0xb03c84)throw Error(_0x585786(0x426)+_0x2fcabc+_0x585786(0x308));return _0xb03c84;}[_0x164ecf(0x357)](){const _0x230bdf=_0x164ecf;return Array[_0x230bdf(0x338)](this[_0x230bdf(0x20c)][_0x230bdf(0x10a)]());}};let _0x567fa3=[_0x855ab4],_0x5c2e18=class extends _0x9b4f24[_0x164ecf(0x1a7)]{constructor(_0x3ce42b=_0x30fe5d,_0x1197b6,_0x591b99,_0x4001d8,_0xc01de9,_0x120ed2){const _0x42b31c=_0x164ecf;super(),this[_0x42b31c(0x3b0)]=_0x3ce42b,this[_0x42b31c(0x1b8)]=_0x1197b6,this[_0x42b31c(0x2f7)]=_0x591b99,this[_0x42b31c(0x14a)]=_0x4001d8,this[_0x42b31c(0x14d)]=_0xc01de9,this['_dataSyncPrimaryController']=_0x120ed2,_0x1fa697(this,_0x42b31c(0x1bd),new Map());let {..._0x17717f}=(0x0,_0x9b4f24[_0x42b31c(0x221)])({},_0x30fe5d,this[_0x42b31c(0x3b0)]);this[_0x42b31c(0x14d)][_0x42b31c(0x241)](_0x42b31c(0x22b),_0x17717f),this[_0x42b31c(0x14a)]['registerCtorForType'](_0x9b4f24[_0x42b31c(0x3d1)][_0x42b31c(0x3a1)],_0x9b4f24[_0x42b31c(0x1cf)]),this[_0x42b31c(0x325)](),this[_0x42b31c(0x1a2)](),this[_0x42b31c(0x4c5)](),this[_0x42b31c(0x21d)]();}['onReady'](){const _0x2d11e1=_0x164ecf;(0x0,_0x9b4f24['touchDependencies'])(this['_injector'],[[_0x7816eb],[_0x32a405],[_0xa67bb1]]),this[_0x2d11e1(0x14a)][_0x2d11e1(0x446)](_0x9b4f24['UniverInstanceType'][_0x2d11e1(0x3a1)])[_0x2d11e1(0x49e)](_0x296da1=>this[_0x2d11e1(0x155)](_0x296da1['getUnitId']())),(0x0,_0x9b4f24[_0x2d11e1(0x4d4)])(this[_0x2d11e1(0x1b8)],[[_0x3019a8]]);}['_initDependencies'](){const _0x214342=_0x164ecf;[[_0x258447,{'useClass':_0x111b3e}],[_0x4800d6,{'useClass':_0x46feac}],[_0x369d05,{'useClass':_0x419b34}],[_0x17905b,{'useClass':_0x7816eb}],[_0x2bc2dc,{'useClass':_0x267c0a}],[_0x1e9ebe,{'useClass':_0x32a405}],[_0xa67bb1],[_0x3019a8]][_0x214342(0x49e)](_0x13855a=>this[_0x214342(0x1b8)][_0x214342(0x134)](_0x13855a));}['_initCommands'](){const _0x389e5e=_0x164ecf;[_0x237172,_0x2ba026,_0x4a1b16,_0x340c93,_0x1e6dbd,_0x29a73e,_0x5c0c75,_0x2a9c68,_0x14de4b,_0x1a3a99,_0x46682e,_0x126c6e,_0x5e012e,_0x2e4a52,_0x426f38,_0x523e29,_0x1beb5f,_0x54b5b7,_0x297098,_0x2494ad,_0x2013d4,_0x10997c,_0x544d78,_0x294043,_0x5895b8,_0x35ee84,_0x205f40,_0x2eb102,_0xf15bc8,_0x55e571,_0x293b4d,_0x5a9672,_0x3da814,_0x76247f,_0xea01fc,_0x3f9a1c,_0x27c293,_0x2aeb1d,..._0x567fa3][_0x389e5e(0x49e)](_0x555abd=>this[_0x389e5e(0x3f6)](this[_0x389e5e(0x2f7)][_0x389e5e(0x186)](_0x555abd))),_0x567fa3[_0x389e5e(0x49e)](_0x13575f=>{const _0x4eef3d=_0x389e5e;var _0xa400b3;return(_0xa400b3=this[_0x4eef3d(0x2af)])==null?void 0x0:_0xa400b3[_0x4eef3d(0x37b)](_0x13575f);});}[_0x164ecf(0x21d)](){const _0x5647dc=_0x164ecf;this['_dataSyncPrimaryController']&&(this['disposeWithMe'](this[_0x5647dc(0x14a)][_0x5647dc(0x266)](_0x9b4f24['UniverInstanceType'][_0x5647dc(0x3a1)])['subscribe'](({unit:_0x52de32})=>{const _0xc714e=_0x5647dc;this[_0xc714e(0x155)](_0x52de32['getUnitId']());})),this['disposeWithMe'](this['_univerInstanceService'][_0x5647dc(0x43a)](_0x9b4f24[_0x5647dc(0x3d1)][_0x5647dc(0x3a1)])[_0x5647dc(0x46b)](_0x2b25be=>{const _0x126a39=_0x5647dc;var _0x253d95;(_0x253d95=this['_baseSyncDisposables'][_0x126a39(0x3e9)](_0x2b25be['getUnitId']()))==null||_0x253d95['dispose'](),this['_baseSyncDisposables'][_0x126a39(0x2c7)](_0x2b25be[_0x126a39(0x368)]());})));}[_0x164ecf(0x155)](_0x453c16){const _0x35ddfc=_0x164ecf;!this['_dataSyncPrimaryController']||this[_0x35ddfc(0x1bd)][_0x35ddfc(0x1df)](_0x453c16)||this[_0x35ddfc(0x1bd)][_0x35ddfc(0x25a)](_0x453c16,this[_0x35ddfc(0x2af)]['syncUnit'](_0x453c16));}[_0x164ecf(0x4c5)](){const _0x413c74=_0x164ecf;let _0xcb5c7e=this[_0x413c74(0x1b8)][_0x413c74(0x3e9)](_0x258447);_0x4b43b7()['forEach'](_0x38926f=>_0xcb5c7e[_0x413c74(0x39f)](_0x38926f));let _0xadd0f5=this[_0x413c74(0x1b8)]['get'](_0x4800d6),_0x572e22=this[_0x413c74(0x1b8)][_0x413c74(0x3e9)](_0x369d05);_0x2c9e99()[_0x413c74(0x49e)](_0x266503=>{const _0x3e0194=_0x413c74;_0xadd0f5[_0x3e0194(0x39f)](_0x266503),_0x572e22['registerView'](_0x266503);});}};_0x1fa697(_0x5c2e18,'pluginName',_0x164ecf(0x2a3)),_0x1fa697(_0x5c2e18,_0x164ecf(0x23d),_0x30b99d),_0x1fa697(_0x5c2e18,_0x164ecf(0x2b6),_0x1a3d80),_0x1fa697(_0x5c2e18,_0x164ecf(0x132),_0x9b4f24[_0x164ecf(0x3d1)][_0x164ecf(0x3a1)]),_0x5c2e18=_0x12cf0c([(0x0,_0x9b4f24['DependentOn'])(_0x4ff405['UniverLicensePlugin'],_0x57d3e9['UniverProFormulaEnginePlugin']),_0x891af9(0x1,(0x0,_0x9b4f24[_0x164ecf(0x34a)])(_0x9b4f24['Injector'])),_0x891af9(0x2,_0x9b4f24['ICommandService']),_0x891af9(0x3,_0x9b4f24[_0x164ecf(0x15c)]),_0x891af9(0x4,_0x9b4f24[_0x164ecf(0x4ba)]),_0x891af9(0x5,(0x0,_0x9b4f24[_0x164ecf(0x10c)])(_0x17acc9[_0x164ecf(0x4bd)]))],_0x5c2e18);let _0x27dd00=class extends _0x9b4f24[_0x164ecf(0x1a7)]{constructor(_0x59435a=_0x291f89,_0x1b66b7,_0x2ad820,_0x709803,_0x5bd0e6){const _0x1f4f2f=_0x164ecf;super(),this[_0x1f4f2f(0x3b0)]=_0x59435a,this[_0x1f4f2f(0x1b8)]=_0x1b66b7,this[_0x1f4f2f(0x2f7)]=_0x2ad820,this[_0x1f4f2f(0x14d)]=_0x709803,this[_0x1f4f2f(0x14a)]=_0x5bd0e6;let {..._0x2c9918}=(0x0,_0x9b4f24[_0x1f4f2f(0x221)])({},_0x291f89,this['_config']);this[_0x1f4f2f(0x14d)][_0x1f4f2f(0x241)]('bases.remote.config',_0x2c9918),this[_0x1f4f2f(0x14a)][_0x1f4f2f(0x44b)](_0x9b4f24[_0x1f4f2f(0x3d1)]['UNIVER_BASE'],_0x9b4f24[_0x1f4f2f(0x1cf)]),[[_0x258447,{'useClass':_0x111b3e}],[_0x369d05,{'useClass':_0x419b34}]][_0x1f4f2f(0x49e)](_0x456772=>this[_0x1f4f2f(0x1b8)]['add'](_0x456772)),_0x567fa3[_0x1f4f2f(0x49e)](_0xe2a46f=>this[_0x1f4f2f(0x3f6)](this[_0x1f4f2f(0x2f7)][_0x1f4f2f(0x186)](_0xe2a46f)));}};_0x1fa697(_0x27dd00,'pluginName',_0x164ecf(0x139)),_0x1fa697(_0x27dd00,_0x164ecf(0x23d),_0x30b99d),_0x1fa697(_0x27dd00,_0x164ecf(0x2b6),_0x1a3d80),_0x1fa697(_0x27dd00,_0x164ecf(0x132),_0x9b4f24[_0x164ecf(0x3d1)][_0x164ecf(0x3a1)]),_0x27dd00=_0x12cf0c([(0x0,_0x9b4f24[_0x164ecf(0x352)])(_0x4ff405[_0x164ecf(0x301)],_0x57d3e9[_0x164ecf(0x147)]),_0x891af9(0x1,(0x0,_0x9b4f24[_0x164ecf(0x34a)])(_0x9b4f24['Injector'])),_0x891af9(0x2,_0x9b4f24[_0x164ecf(0x46a)]),_0x891af9(0x3,_0x9b4f24[_0x164ecf(0x4ba)]),_0x891af9(0x4,_0x9b4f24[_0x164ecf(0x15c)])],_0x27dd00);function _0x138b0a(_0x119df2){const _0x1a2902=_0x164ecf;let _0x3d93ab=_0xe9dbe6(_0x119df2[_0x1a2902(0x335)]);if(!_0x3d93ab)return{'query':'','total':0x0,'matches':[]};let _0x1c4a76=[],_0x5af406=[];for(let _0x9ba779=0x0;_0x9ba779<_0x119df2[_0x1a2902(0x239)]['length'];_0x9ba779++){if(!(_0x9ba779 in _0x119df2[_0x1a2902(0x239)]))continue;let _0x5b0ea8=_0x119df2[_0x1a2902(0xfe)][_0x1a2902(0x43b)][_0x119df2[_0x1a2902(0x239)][_0x9ba779]];_0x5b0ea8&&_0x5af406[_0x1a2902(0x4bf)]({'field':_0x5b0ea8,'fieldIndex':_0x9ba779});}_0x119df2['rows'][_0x1a2902(0x49e)]((_0x52fccf,_0xa4986d)=>{const _0xa8e52a=_0x1a2902;_0x5af406[_0xa8e52a(0x49e)](({field:_0x23a2f3,fieldIndex:_0x32f6b8})=>{const _0x2f29d3=_0xa8e52a;let _0xf3d6fb=_0x5b261d(_0x52fccf[_0x2f29d3(0x10a)][_0x23a2f3['id']],_0x23a2f3);if(!_0xf3d6fb)return;let _0x1ecb93=_0x241d85(_0x3d93ab,_0xf3d6fb[_0x2f29d3(0x288)]);_0x1ecb93<=0x0||_0x1c4a76[_0x2f29d3(0x4bf)]({'recordId':_0x52fccf['recordId'],'fieldId':_0x23a2f3['id'],'fieldType':_0x23a2f3[_0x2f29d3(0x132)],'text':_0xf3d6fb[_0x2f29d3(0x490)],'score':_0x1ecb93,'rowIndex':_0xa4986d,'fieldIndex':_0x32f6b8});});}),_0x1c4a76[_0x1a2902(0x281)]((_0x528d11,_0x1c4635)=>_0x1c4635[_0x1a2902(0x306)]-_0x528d11[_0x1a2902(0x306)]||_0x528d11[_0x1a2902(0x371)]-_0x1c4635[_0x1a2902(0x371)]||_0x528d11['fieldIndex']-_0x1c4635[_0x1a2902(0x25c)]);let _0x372e7b=_0x119df2['limit']==null?_0x1c4a76:_0x1c4a76['slice'](0x0,Math[_0x1a2902(0x427)](0x0,_0x119df2[_0x1a2902(0x412)]));return{'query':_0x3d93ab,'total':_0x1c4a76[_0x1a2902(0x13b)],'matches':_0x294089(_0x372e7b)};}function _0x5b261d(_0x2c997c,_0x4a71b0){const _0x88aa0f=_0x164ecf;let _0x5d6448=[];for(let _0x54d397 of _0x335e56(_0x2c997c,_0x4a71b0)){let _0xd67abf=_0xe9dbe6(_0x54d397);_0xd67abf&&_0x5d6448[_0x88aa0f(0x4bf)](_0xd67abf);}return _0x5d6448[_0x88aa0f(0x13b)]?{'displayText':_0x3675f0(_0x2c997c,_0x4a71b0),'searchTexts':_0x4f1fea(_0x5d6448)}:null;}function _0x3675f0(_0x497e04,_0x269cb9){const _0x4fc239=_0x164ecf;switch(_0x269cb9[_0x4fc239(0x132)]){case _0x9b4f24['BaseFieldType'][_0x4fc239(0x378)]:case _0x9b4f24[_0x4fc239(0x3bc)]['MultiSelect']:case _0x9b4f24[_0x4fc239(0x3bc)][_0x4fc239(0x101)]:return _0x3869f5(_0x497e04,_0x269cb9)[_0x4fc239(0x305)](',\x20');case _0x9b4f24[_0x4fc239(0x3bc)][_0x4fc239(0x3d3)]:return _0x502433(_0x497e04);case _0x9b4f24[_0x4fc239(0x3bc)][_0x4fc239(0x442)]:case _0x9b4f24[_0x4fc239(0x3bc)][_0x4fc239(0x346)]:case _0x9b4f24[_0x4fc239(0x3bc)]['UpdatedAt']:return _0x17ceac(_0x497e04,_0x269cb9);case _0x9b4f24[_0x4fc239(0x3bc)][_0x4fc239(0x44e)]:case _0x9b4f24[_0x4fc239(0x3bc)][_0x4fc239(0x2fe)]:return _0x4d77f3(_0x497e04,_0x269cb9);case _0x9b4f24[_0x4fc239(0x3bc)]['Progress']:return _0x19d98b(_0x497e04,_0x269cb9);case _0x9b4f24[_0x4fc239(0x3bc)]['Checkbox']:return _0x497e04?_0x4fc239(0x2d1):_0x4fc239(0x1b9);case _0x9b4f24[_0x4fc239(0x3bc)][_0x4fc239(0x208)]:return _0x549b4e(_0x497e04)[_0x4fc239(0x305)](',\x20');default:return _0x3ae0ad(_0x497e04);}}function _0x335e56(_0x50ca82,_0x2f5c97){const _0x3761d8=_0x164ecf;switch(_0x2f5c97[_0x3761d8(0x132)]){case _0x9b4f24['BaseFieldType'][_0x3761d8(0x378)]:case _0x9b4f24[_0x3761d8(0x3bc)][_0x3761d8(0x1be)]:case _0x9b4f24[_0x3761d8(0x3bc)][_0x3761d8(0x101)]:{let _0x7fab9a=_0x3869f5(_0x50ca82,_0x2f5c97);if(Array[_0x3761d8(0x32e)](_0x50ca82)){let _0xf4fc62=[..._0x7fab9a];for(let _0x5e0d7e=0x0;_0x5e0d7e<_0x50ca82[_0x3761d8(0x13b)];_0x5e0d7e++)_0x5e0d7e in _0x50ca82&&_0xf4fc62[_0x3761d8(0x4bf)](String(_0x50ca82[_0x5e0d7e]));return _0xf4fc62;}return _0x50ca82==null?_0x7fab9a:[..._0x7fab9a,String(_0x50ca82)];}case _0x9b4f24[_0x3761d8(0x3bc)][_0x3761d8(0x3d3)]:{let _0x57d7d7=_0x2b7a9b(_0x50ca82);return[_0x57d7d7[_0x3761d8(0x40e)],_0x57d7d7[_0x3761d8(0x4b7)]];}case _0x9b4f24[_0x3761d8(0x3bc)][_0x3761d8(0x442)]:case _0x9b4f24['BaseFieldType'][_0x3761d8(0x346)]:case _0x9b4f24[_0x3761d8(0x3bc)][_0x3761d8(0x380)]:return[_0x17ceac(_0x50ca82,_0x2f5c97),_0x3ae0ad(_0x50ca82)];case _0x9b4f24[_0x3761d8(0x3bc)]['Number']:case _0x9b4f24[_0x3761d8(0x3bc)][_0x3761d8(0x2fe)]:return[_0x4d77f3(_0x50ca82,_0x2f5c97),_0x3ae0ad(_0x50ca82)];case _0x9b4f24['BaseFieldType'][_0x3761d8(0x327)]:return[_0x19d98b(_0x50ca82,_0x2f5c97),_0x3ae0ad(_0x50ca82)];case _0x9b4f24[_0x3761d8(0x3bc)][_0x3761d8(0x1f2)]:return _0x50ca82?['Checked','Yes',_0x3761d8(0x410)]:[_0x3761d8(0x1b9),'No',_0x3761d8(0x4d3)];case _0x9b4f24[_0x3761d8(0x3bc)][_0x3761d8(0x208)]:return _0x549b4e(_0x50ca82);default:return[_0x3ae0ad(_0x50ca82)];}}function _0x3869f5(_0x31c4a7,_0x57f938){const _0x4ce2dd=_0x164ecf;var _0x2863a2;let _0x14fd9c=Array['isArray']((_0x2863a2=_0x57f938['config'])==null?void 0x0:_0x2863a2[_0x4ce2dd(0x2e8)])?_0x57f938[_0x4ce2dd(0x19f)]['options']:[],_0x364834=[];if(Array[_0x4ce2dd(0x32e)](_0x31c4a7)){for(let _0x561c38=0x0;_0x561c38<_0x31c4a7['length'];_0x561c38++){if(!(_0x561c38 in _0x31c4a7))continue;let _0x5a5119=String(_0x31c4a7[_0x561c38]);_0x5a5119&&_0x364834['push'](_0x56636e(_0x14fd9c,_0x5a5119));}return _0x364834;}if(_0x31c4a7!=null){let _0x131218=String(_0x31c4a7);_0x131218&&_0x364834['push'](_0x56636e(_0x14fd9c,_0x131218));}return _0x364834;}function _0x56636e(_0x21f9cc,_0x26196b){const _0x576288=_0x164ecf;for(let _0x1543d6 of _0x21f9cc){if(typeof _0x1543d6==_0x576288(0x1e4)&&_0x1543d6===_0x26196b)return _0x1543d6;if(_0x1543d6&&typeof _0x1543d6==_0x576288(0x42c)){let _0x2efbd0=_0x1543d6;if(String(_0x2efbd0['id']??_0x2efbd0['name']??'')===_0x26196b||String(_0x2efbd0[_0x576288(0x267)]??'')===_0x26196b)return String(_0x2efbd0[_0x576288(0x267)]??_0x2efbd0['id']??_0x26196b);}}return _0x26196b;}function _0x2b7a9b(_0x23f095){const _0x306354=_0x164ecf;if(_0x23f095&&typeof _0x23f095==_0x306354(0x42c)&&!Array[_0x306354(0x32e)](_0x23f095)){let _0x560781=_0x23f095;return{'text':String(_0x560781[_0x306354(0x40e)]??_0x560781[_0x306354(0x4b7)]??''),'url':String(_0x560781[_0x306354(0x4b7)]??'')};}return{'text':_0x3ae0ad(_0x23f095),'url':_0x3ae0ad(_0x23f095)};}function _0x502433(_0x85f463){const _0x269b8e=_0x164ecf;let _0x30eeac=_0x2b7a9b(_0x85f463);return _0x30eeac[_0x269b8e(0x40e)]||_0x30eeac[_0x269b8e(0x4b7)];}function _0x17ceac(_0x4db858,_0x51a43a){const _0x4c07c0=_0x164ecf;return typeof _0x4db858!='number'||!Number[_0x4c07c0(0x4a1)](_0x4db858)?'':_0x487a69(_0x4db858,_0x51a43a[_0x4c07c0(0x19f)]);}function _0x4d77f3(_0x4107b1,_0x12bfe9){const _0x2fec82=_0x164ecf;let _0x1599a9=typeof _0x4107b1==_0x2fec82(0x1a8)?_0x4107b1:Number(_0x4107b1);return Number['isFinite'](_0x1599a9)?_0xb4869b(_0x1599a9,_0x12bfe9[_0x2fec82(0x19f)]):'';}function _0x19d98b(_0x380536,_0x5843ee){const _0x5f0e0c=_0x164ecf;let _0x21e461=typeof _0x380536=='number'?_0x380536:Number(_0x380536);return Number[_0x5f0e0c(0x4a1)](_0x21e461)?_0x2ae39f(_0x21e461,_0x5843ee[_0x5f0e0c(0x19f)]):'';}function _0x549b4e(_0x27cc8a){const _0x506fbc=_0x164ecf;return Array['isArray'](_0x27cc8a)?_0x27cc8a[_0x506fbc(0x17e)](_0x228382=>{const _0x64f280=_0x506fbc;if(!_0x228382||typeof _0x228382!=_0x64f280(0x42c))return[];let _0x33e572=_0x228382,_0x188b83=String(_0x33e572[_0x64f280(0x267)]??_0x33e572[_0x64f280(0x4b7)]??'')[_0x64f280(0x276)]();return _0x188b83?[_0x188b83]:[];}):[];}function _0x3ae0ad(_0x5ca03c){const _0x366690=_0x164ecf;if(_0x5ca03c==null)return'';if(typeof _0x5ca03c==_0x366690(0xf9))return _0x5ca03c?_0x366690(0x45e):'false';if(typeof _0x5ca03c=='number')return String(_0x5ca03c);if(Array['isArray'](_0x5ca03c)){let _0x3c26e6=[];for(let _0x3ab0b4=0x0;_0x3ab0b4<_0x5ca03c[_0x366690(0x13b)];_0x3ab0b4++){if(!(_0x3ab0b4 in _0x5ca03c))continue;let _0x5059a1=_0x3ae0ad(_0x5ca03c[_0x3ab0b4]);_0x5059a1&&_0x3c26e6[_0x366690(0x4bf)](_0x5059a1);}return _0x3c26e6[_0x366690(0x305)](',\x20');}if(typeof _0x5ca03c=='object'){let _0x2b1383=_0x5ca03c;return String(_0x2b1383[_0x366690(0x406)]??_0x2b1383[_0x366690(0x267)]??_0x2b1383[_0x366690(0x40e)]??_0x2b1383[_0x366690(0x4b7)]??'')['trim']();}return String(_0x5ca03c);}function _0x241d85(_0x542745,_0x313b29){const _0x57e08c=_0x164ecf;let _0x334ca7=0x0;for(let _0x25edbd of _0x313b29)if(_0x25edbd){if(_0x25edbd===_0x542745){_0x334ca7=Math[_0x57e08c(0x427)](_0x334ca7,0x12c);continue;}if(_0x25edbd[_0x57e08c(0x2d0)](_0x542745)){_0x334ca7=Math[_0x57e08c(0x427)](_0x334ca7,0xfa);continue;}_0x25edbd['includes'](_0x542745)&&(_0x334ca7=Math[_0x57e08c(0x427)](_0x334ca7,0xc8));}return _0x334ca7;}function _0xe9dbe6(_0x21546f){const _0x561ff1=_0x164ecf;return _0x21546f[_0x561ff1(0x276)]()[_0x561ff1(0x3c5)](/\s+/g,'\x20')[_0x561ff1(0x3b3)]();}function _0x4f1fea(_0x537207){return Array['from'](new Set(_0x537207));}function _0x294089(_0x54f2de){let _0x448a43=[];for(let {rowIndex:_0x598a0d,fieldIndex:_0x19d2a5,..._0x45b114}of _0x54f2de)_0x448a43['push'](_0x45b114);return _0x448a43;}_0x3cb4f6[_0x164ecf(0x47c)]=_0x855ab4,_0x3cb4f6[_0x164ecf(0x273)]=_0x29826a,_0x3cb4f6[_0x164ecf(0x159)]=0x5,_0x3cb4f6[_0x164ecf(0x39a)]=_0x5dd7b3,_0x3cb4f6['BaseConditionalColorRuleUpdateType']=_0x5a2940,_0x3cb4f6['BaseEventSource']=_0x1e8335,_0x3cb4f6['BaseHierarchyError']=_0x4c5b17,_0x3cb4f6[_0x164ecf(0x200)]=_0x5af7d7,_0x3cb4f6[_0x164ecf(0x367)]=_0x1f3607,_0x3cb4f6[_0x164ecf(0xf8)]=_0x1b7d14,_0x3cb4f6[_0x164ecf(0x11e)]=_0x14de4b,_0x3cb4f6[_0x164ecf(0x191)]=_0x46682e,_0x3cb4f6['ChangeBaseFieldTypeCommand']=_0x297098,_0x3cb4f6[_0x164ecf(0x192)]=_0x2a9c68,_0x3cb4f6['CreateBaseFieldCommand']=_0x426f38,_0x3cb4f6[_0x164ecf(0x1aa)]=_0x5c0c75,_0x3cb4f6['CreateBaseTableCommand']=_0x237172,_0x3cb4f6[_0x164ecf(0x2b8)]=_0x10997c,_0x3cb4f6[_0x164ecf(0x2eb)]=_0x2494ad,_0x3cb4f6['DeleteBaseRecordCommand']=_0x1a3a99,_0x3cb4f6[_0x164ecf(0x296)]=_0x4a1b16,_0x3cb4f6[_0x164ecf(0x46e)]=_0x35ee84,_0x3cb4f6['DuplicateBaseFieldCommand']=_0x523e29,_0x3cb4f6[_0x164ecf(0x3e6)]=_0x126c6e,_0x3cb4f6[_0x164ecf(0x416)]=_0x1db389,_0x3cb4f6[_0x164ecf(0x11a)]=_0x544d78,_0x3cb4f6[_0x164ecf(0x125)]=_0x1e9ebe,_0x3cb4f6[_0x164ecf(0x178)]=_0x2bc2dc,_0x3cb4f6['IBaseProjectionService']=_0x369d05,_0x3cb4f6[_0x164ecf(0x259)]=_0x4800d6,_0x3cb4f6[_0x164ecf(0x104)]=_0x2013d4,_0x3cb4f6['MoveBaseHierarchyRecordCommand']=_0x2e4a52,_0x3cb4f6['MoveBaseViewCommand']=_0x205f40,_0x3cb4f6[_0x164ecf(0x232)]=_0x2ba026,_0x3cb4f6[_0x164ecf(0x3fd)]=_0x294043,_0x3cb4f6[_0x164ecf(0x209)]=_0x55e571,_0x3cb4f6['SetBaseNameCommand']=_0x5895b8,_0x3cb4f6[_0x164ecf(0x318)]=_0x29a73e,_0x3cb4f6[_0x164ecf(0x100)]=_0x1e6dbd,_0x3cb4f6[_0x164ecf(0x39d)]=_0xea01fc,_0x3cb4f6[_0x164ecf(0x113)]=_0x2aeb1d,_0x3cb4f6[_0x164ecf(0x3f9)]=_0x3f9a1c,_0x3cb4f6['SetBaseViewFieldWidthCommand']=_0x27c293,_0x3cb4f6[_0x164ecf(0x22e)]=_0x5a9672,_0x3cb4f6[_0x164ecf(0x1d0)]=_0x76247f,_0x3cb4f6[_0x164ecf(0x4ca)]=_0x3da814,Object['defineProperty'](_0x3cb4f6,_0x164ecf(0x40f),{'enumerable':!0x0,'get':function(){return _0x5c2e18;}}),Object[_0x164ecf(0x3f7)](_0x3cb4f6,_0x164ecf(0x250),{'enumerable':!0x0,'get':function(){return _0x27dd00;}}),_0x3cb4f6[_0x164ecf(0x15f)]=_0x340c93,_0x3cb4f6[_0x164ecf(0x170)]=_0x1beb5f,_0x3cb4f6[_0x164ecf(0x434)]=_0x54b5b7,_0x3cb4f6[_0x164ecf(0x331)]=_0x293b4d,_0x3cb4f6['UpdateBaseRecordOrderCommand']=_0x5e012e,_0x3cb4f6[_0x164ecf(0x3ed)]=_0xf15bc8,_0x3cb4f6[_0x164ecf(0x3f5)]=_0x2eb102,_0x3cb4f6['baseDateSerialToDateMs']=_0x22fdeb,_0x3cb4f6[_0x164ecf(0x35f)]=_0x32c245,_0x3cb4f6['calculateBaseFieldStat']=_0x72fc7,_0x3cb4f6[_0x164ecf(0x3b5)]=_0x2c3864,_0x3cb4f6[_0x164ecf(0x337)]=_0x736d67,_0x3cb4f6['createDefaultBaseTableSnapshot']=_0x288e7a,_0x3cb4f6[_0x164ecf(0x322)]=_0x1a74dc,_0x3cb4f6['createEmbedBasesTableAddMutation']=_0x300b58,_0x3cb4f6[_0x164ecf(0x474)]=_0x273b73,_0x3cb4f6[_0x164ecf(0x4a4)]=_0x5f1ca7,_0x3cb4f6[_0x164ecf(0x407)]=_0x8ae1a4,_0x3cb4f6[_0x164ecf(0x413)]=_0x220b8a,_0x3cb4f6[_0x164ecf(0x13d)]=_0x487a69,_0x3cb4f6[_0x164ecf(0x275)]=_0x32bbf6,_0x3cb4f6['formatBaseNumberValue']=_0xb4869b,_0x3cb4f6[_0x164ecf(0x1f1)]=_0x2ae39f,_0x3cb4f6[_0x164ecf(0x230)]=_0x761298,_0x3cb4f6[_0x164ecf(0x456)]=_0x1ec484,_0x3cb4f6[_0x164ecf(0x455)]=_0x1b74a9,_0x3cb4f6[_0x164ecf(0x18e)]=_0x257887,_0x3cb4f6[_0x164ecf(0x49d)]=_0x526f9d,_0x3cb4f6[_0x164ecf(0x2a8)]=_0x98202f,_0x3cb4f6[_0x164ecf(0x1ba)]=_0xfcdc79,_0x3cb4f6[_0x164ecf(0x4a3)]=_0x1f40e5,_0x3cb4f6[_0x164ecf(0x1b5)]=_0x46e5b7,_0x3cb4f6[_0x164ecf(0x1e6)]=_0x55148a,_0x3cb4f6[_0x164ecf(0x19c)]=_0x397802,_0x3cb4f6[_0x164ecf(0x1bc)]=_0x22eb6d,_0x3cb4f6[_0x164ecf(0x136)]=_0x522aac,_0x3cb4f6[_0x164ecf(0x340)]=_0x249407,_0x3cb4f6[_0x164ecf(0x1ce)]=_0x12230b,_0x3cb4f6[_0x164ecf(0x492)]=_0x2fe127,_0x3cb4f6['normalizeBaseDateFieldConfig']=_0x50589f,_0x3cb4f6[_0x164ecf(0x2a4)]=_0x746a73,_0x3cb4f6['normalizeBaseFieldStatsConfig']=_0x4a56a0,_0x3cb4f6[_0x164ecf(0x46c)]=_0x3768f1,_0x3cb4f6[_0x164ecf(0x27e)]=_0x2eda9a,_0x3cb4f6[_0x164ecf(0x4ab)]=_0x3a00cb,_0x3cb4f6[_0x164ecf(0x3a2)]=_0x2e350d,_0x3cb4f6['resolveBaseRangeHierarchyPatches']=_0x145e8a,_0x3cb4f6[_0x164ecf(0x4b6)]=_0x138b0a,_0x3cb4f6['serializeRecordLinkIds']=_0x50a032,_0x3cb4f6['traceBasePerformance']=_0x3022ee,_0x3cb4f6['uniqueFieldName']=_0x151e21,_0x3cb4f6[_0x164ecf(0x3f3)]=_0x1a5f43,_0x3cb4f6[_0x164ecf(0x151)]=_0x59860b,_0x3cb4f6[_0x164ecf(0x1f4)]=_0x1b77f4,_0x3cb4f6[_0x164ecf(0x2c3)]=_0x57631c,_0x3cb4f6[_0x164ecf(0x2b3)]=_0x13d5f8,_0x3cb4f6[_0x164ecf(0x253)]=_0x4cc18c;}));
|
|
1
|
+
(function(_0x4cab0c,_0x38d56e){const _0x2857d8=_0x56f7,_0x3991d9=_0x4cab0c();while(!![]){try{const _0x10b965=parseInt(_0x2857d8(0x269))/0x1*(-parseInt(_0x2857d8(0x3f1))/0x2)+parseInt(_0x2857d8(0x2c9))/0x3+-parseInt(_0x2857d8(0x3b2))/0x4+-parseInt(_0x2857d8(0x485))/0x5*(-parseInt(_0x2857d8(0x4cc))/0x6)+parseInt(_0x2857d8(0x43a))/0x7+parseInt(_0x2857d8(0x4bb))/0x8+parseInt(_0x2857d8(0x1f2))/0x9*(-parseInt(_0x2857d8(0x2bc))/0xa);if(_0x10b965===_0x38d56e)break;else _0x3991d9['push'](_0x3991d9['shift']());}catch(_0x5a4f72){_0x3991d9['push'](_0x3991d9['shift']());}}}(_0xad70,0x223d2),function(_0x371b81,_0x32ea6e){const _0x599b1c=_0x56f7;typeof exports=='object'&&typeof module<'u'?_0x32ea6e(exports,require('@univerjs/core'),require('@univerjs-pro/engine-formula'),require('@univerjs-pro/license'),require('@univerjs/rpc'),require('@univerjs/engine-formula')):typeof define==_0x599b1c(0x1b2)&&define[_0x599b1c(0x330)]?define(['exports',_0x599b1c(0x2fc),_0x599b1c(0x573),_0x599b1c(0x495),_0x599b1c(0x3d3),'@univerjs/engine-formula'],_0x32ea6e):(_0x371b81=typeof globalThis<'u'?globalThis:_0x371b81||self,_0x32ea6e(_0x371b81[_0x599b1c(0x3e1)]={},_0x371b81[_0x599b1c(0x4e8)],_0x371b81['UniverProEngineFormula'],_0x371b81['UniverProLicense'],_0x371b81[_0x599b1c(0x4eb)],_0x371b81[_0x599b1c(0x211)]));}(this,function(_0x107cb6,_0x2a4b8a,_0x58b161,_0x287c54,_0xe03786,_0x35d3da){const _0x4e3a72=_0x56f7;Object['defineProperty'](_0x107cb6,Symbol[_0x4e3a72(0x2b5)],{'value':'Module'});function _0x116c46(_0x5e4390){const _0x2f32e7=_0x4e3a72;let _0x216786=_0x5e4390['config']['targetTableId'],_0x2a1ff4=_0x5e4390[_0x2f32e7(0x3e8)]['multiple'],_0x1cbeb4=_0x5e4390['config']['displayFieldId'],_0x47e328=_0x5e4390[_0x2f32e7(0x3e8)][_0x2f32e7(0x44f)],_0x57377c=_0x5e4390[_0x2f32e7(0x3e8)]['relationRole'];return typeof _0x216786!=_0x2f32e7(0x4ad)||!_0x216786||typeof _0x2a1ff4!='boolean'||_0x1cbeb4!==void 0x0&&(typeof _0x1cbeb4!=_0x2f32e7(0x4ad)||!_0x1cbeb4)||_0x57377c!==void 0x0&&_0x57377c!==_0x2a4b8a[_0x2f32e7(0x39d)]['Parent']||_0x47e328!==void 0x0&&(!Array[_0x2f32e7(0x35c)](_0x47e328)||_0x47e328['some'](_0x4e4ee5=>typeof _0x4e4ee5!='string'||!_0x4e4ee5)||new Set(_0x47e328)[_0x2f32e7(0x335)]!==_0x47e328['length'])?null:{'targetTableId':_0x216786,'multiple':_0x2a1ff4,..._0x1cbeb4?{'displayFieldId':_0x1cbeb4}:{},..._0x47e328?{'pickerFieldIds':[..._0x47e328]}:{},..._0x57377c?{'relationRole':_0x57377c}:{}};}function _0x380ec4(_0x2992b5){const _0x499bb0=_0x4e3a72;return typeof _0x2992b5!=_0x499bb0(0x4ad)||_0x2992b5===''?[]:_0x2992b5[_0x499bb0(0x453)](',');}function _0x4dad93(_0x2b80b3){const _0x41f04b=_0x4e3a72;return Array['from'](new Set(_0x2b80b3))[_0x41f04b(0x2fe)](',');}function _0x48cc92(_0x1ebae9,_0x1ef58f){const _0x5ad975=_0x4e3a72;if(typeof _0x1ebae9!=_0x5ad975(0x4ad))return{'valid':!0x1,'reason':'[RecordLink]:\x20value\x20must\x20be\x20a\x20canonical\x20string.'};if(_0x1ebae9==='')return{'valid':!0x0};let _0x320dbe=_0x1ebae9[_0x5ad975(0x453)](',');return!_0x1ef58f&&_0x320dbe['length']>0x1?{'valid':!0x1,'reason':'[RecordLink]:\x20a\x20single\x20link\x20accepts\x20only\x20one\x20record\x20id.'}:_0x320dbe[_0x5ad975(0x35a)](_0x14197a=>!(0x0,_0x2a4b8a[_0x5ad975(0x350)])(_0x14197a))||new Set(_0x320dbe)['size']!==_0x320dbe['length']||_0x4dad93(_0x320dbe)!==_0x1ebae9?{'valid':!0x1,'reason':_0x5ad975(0x4e7)}:{'valid':!0x0};}function _0x45d2b5(_0x8b708e,_0x4d55e5){const _0x12d1a5=_0x4e3a72;if(_0x4d55e5[_0x12d1a5(0x3a3)]!==_0x2a4b8a[_0x12d1a5(0x1f7)][_0x12d1a5(0x37c)])return{'valid':!0x0};let _0x3e8ab3=_0x116c46(_0x4d55e5),_0x21abec=_0x3e8ab3?_0x8b708e[_0x12d1a5(0x46b)][_0x3e8ab3[_0x12d1a5(0x445)]]:void 0x0;if(!_0x3e8ab3||!_0x21abec)return{'valid':!0x1,'reason':'[RecordLink]:\x20target\x20table\x20does\x20not\x20exist\x20in\x20this\x20Base.'};let _0x5a3b74=[..._0x3e8ab3[_0x12d1a5(0x26c)]?[_0x3e8ab3['displayFieldId']]:[],..._0x3e8ab3[_0x12d1a5(0x44f)]??[]][_0x12d1a5(0x4c7)](_0x5a8ae0=>{const _0x116228=_0x12d1a5;let _0x34bd9d=_0x21abec[_0x116228(0x3c4)][_0x5a8ae0];return!_0x34bd9d||_0x34bd9d[_0x116228(0x4d3)]===!0x0||_0x34bd9d[_0x116228(0x3a3)]===_0x2a4b8a['BaseFieldType'][_0x116228(0x1c0)];});return _0x5a3b74?{'valid':!0x1,'reason':_0x12d1a5(0x4e6)+_0x5a3b74+_0x12d1a5(0x27a)}:{'valid':!0x0};}function _0x150b96(_0x72a11,_0x11c927,_0x5d169a,_0x4b2c35={}){const _0x380631=_0x4e3a72;let _0x38abd2=_0x116c46(_0x11c927);if(_0x11c927[_0x380631(0x3a3)]!==_0x2a4b8a[_0x380631(0x1f7)][_0x380631(0x37c)]||!_0x38abd2)return{'valid':!0x1,'reason':'[RecordLink]:\x20field\x20config\x20is\x20invalid.'};let _0x3e4dfd=_0x48cc92(_0x5d169a,_0x38abd2[_0x380631(0x27b)]);if(!_0x3e4dfd['valid']||_0x4b2c35[_0x380631(0x3c7)])return _0x3e4dfd;let _0x2c7725=_0x72a11[_0x380631(0x46b)][_0x38abd2[_0x380631(0x445)]];if(!_0x2c7725)return{'valid':!0x1,'reason':_0x380631(0x29c)};let _0x4eebd1=_0x380ec4(_0x5d169a)[_0x380631(0x4c7)](_0x1221fe=>!_0x2c7725['records'][_0x1221fe]);return _0x4eebd1?{'valid':!0x1,'reason':_0x380631(0x315)+_0x4eebd1+_0x380631(0x43e)}:{'valid':!0x0};}function _0x1cc5d4(_0x40f28a,_0xc2803){const _0x42e471=_0x4e3a72;return Object[_0x42e471(0x462)](_0x40f28a[_0x42e471(0x46b)])[_0x42e471(0x467)](_0x1eb401=>Object['values'](_0x1eb401[_0x42e471(0x3c4)])[_0x42e471(0x467)](_0x1623b2=>{const _0x48b0dd=_0x42e471;let _0x176514=_0x1623b2[_0x48b0dd(0x3a3)]===_0x2a4b8a[_0x48b0dd(0x1f7)][_0x48b0dd(0x37c)]?_0x116c46(_0x1623b2):null;return(_0x176514==null?void 0x0:_0x176514['targetTableId'])===_0xc2803?[{'tableId':_0x1eb401['id'],'fieldId':_0x1623b2['id']}]:[];}));}let _0x6f9c7b=_0x4e3a72(0x3c9),_0x3bc720=function(_0x285802){const _0x350439=_0x4e3a72;return _0x285802[_0x350439(0x414)]='invalidField',_0x285802[_0x350439(0x559)]=_0x350439(0x254),_0x285802['SelfParent']=_0x350439(0x351),_0x285802[_0x350439(0x2c8)]='cycle',_0x285802['MaxDepth']=_0x350439(0x524),_0x285802[_0x350439(0x252)]=_0x350439(0x4a0),_0x285802;}({});var _0x3f0ef5=class extends Error{constructor(_0x514cea,_0x4de34a=_0x4e3a72(0x563)+_0x514cea){const _0x5f1470=_0x4e3a72;super(_0x4de34a),this[_0x5f1470(0x54c)]=_0x514cea,this['name']='BaseHierarchyError';}};let _0xab00e8=function(_0x2619ba){const _0x46a8c7=_0x4e3a72;return _0x2619ba['UI']='ui',_0x2619ba[_0x46a8c7(0x1cb)]='facade',_0x2619ba[_0x46a8c7(0x466)]=_0x46a8c7(0x235),_0x2619ba[_0x46a8c7(0x487)]='undo',_0x2619ba[_0x46a8c7(0x1f0)]=_0x46a8c7(0x1be),_0x2619ba[_0x46a8c7(0x3cf)]=_0x46a8c7(0x379),_0x2619ba;}({});function _0x5c7c42(_0x12097c,_0x2af32d){const _0x12101f=_0x4e3a72;if(!_0x2af32d)return!0x1;let _0xfa94db=_0x12097c['fields'][_0x2af32d];if(!_0xfa94db||_0xfa94db[_0x12101f(0x3a3)]!==_0x2a4b8a[_0x12101f(0x1f7)][_0x12101f(0x37c)])return!0x1;let _0xf871d9=_0x116c46(_0xfa94db);return _0xf871d9?_0xf871d9['targetTableId']===_0x12097c['id']&&_0xf871d9[_0x12101f(0x27b)]===!0x1:!0x1;}function _0x5efb78(_0x15c74a){const _0x5859ec=_0x4e3a72;return[..._0x15c74a[_0x5859ec(0x541)],...Object[_0x5859ec(0x458)](_0x15c74a['fields'])[_0x5859ec(0x500)](_0x2b8329=>!_0x15c74a[_0x5859ec(0x541)][_0x5859ec(0x1a7)](_0x2b8329))[_0x5859ec(0x2da)]()][_0x5859ec(0x4c7)](_0x28ad27=>{const _0x569aa2=_0x5859ec;var _0x27a4ca;return _0x5c7c42(_0x15c74a,_0x28ad27)?((_0x27a4ca=_0x116c46(_0x15c74a[_0x569aa2(0x3c4)][_0x28ad27]))==null?void 0x0:_0x27a4ca['relationRole'])===_0x2a4b8a[_0x569aa2(0x39d)][_0x569aa2(0x278)]:!0x1;})??null;}function _0x31787d(_0x431bfb){const _0x55446d=_0x4e3a72;let _0x2a9454=_0x5efb78(_0x431bfb);if(_0x2a9454)return _0x2a9454;let _0x31e768=_0x6f9c7b,_0x10bf97=0x2;for(;_0x431bfb[_0x55446d(0x3c4)][_0x31e768];)_0x31e768=_0x6f9c7b+'_'+_0x10bf97++;return _0x31e768;}function _0x2d9193(_0x5a6e5b,_0x2b10d8=_0x31787d(_0x5a6e5b),_0x56b8b6='Parent\x20Items'){const _0x40341c=_0x4e3a72;return{'id':_0x2b10d8,'name':_0x56b8b6,'type':_0x2a4b8a[_0x40341c(0x1f7)][_0x40341c(0x37c)],'config':{'targetTableId':_0x5a6e5b['id'],'multiple':!0x1,'displayFieldId':_0x5a6e5b[_0x40341c(0x21a)],'pickerFieldIds':[_0x5a6e5b['primaryFieldId']],'relationRole':_0x2a4b8a[_0x40341c(0x39d)][_0x40341c(0x278)]}};}function _0x471d88(_0x3b4789){let _0x5be440=_0x5efb78(_0x3b4789);return _0x5be440?[_0x5be440]:[];}function _0x31b303(_0x2da80e,_0x21f93b){const _0x451f4a=_0x4e3a72;let _0x1eb76d=[..._0x471d88(_0x2da80e)][_0x451f4a(0x500)](_0x40a194=>_0x21f93b[_0x451f4a(0x35a)](_0x18de8b=>Object[_0x451f4a(0x586)][_0x451f4a(0x33b)]['call'](_0x18de8b[_0x451f4a(0x462)],_0x40a194)));if(!_0x1eb76d[_0x451f4a(0x46c)])return[];let _0xeb3cbf={..._0x2da80e[_0x451f4a(0x54e)]};_0x21f93b[_0x451f4a(0x3ad)](_0x336ae6=>{const _0x51c4c0=_0x451f4a;let _0x496e72=_0xeb3cbf[_0x336ae6[_0x51c4c0(0x549)]];_0x496e72&&(_0xeb3cbf[_0x336ae6[_0x51c4c0(0x549)]]={..._0x496e72,'values':{..._0x496e72[_0x51c4c0(0x462)],..._0x336ae6['values']}});});let _0x1247e0={..._0x2da80e,'records':_0xeb3cbf},_0x522fc8=[];return _0x1eb76d[_0x451f4a(0x3ad)](_0x3deedf=>{const _0x3a7fa9=_0x451f4a;let _0x4c8f85=_0x10c7de(_0x2da80e,_0x3deedf),_0x542622=_0x10c7de(_0x1247e0,_0x3deedf);for(let [_0x796fd6,_0x69a3e5]of _0x542622[_0x3a7fa9(0x319)]){let _0x17db40=_0x21f93b[_0x3a7fa9(0x35a)](_0x21b867=>_0x21b867[_0x3a7fa9(0x549)]===_0x796fd6&&Object['prototype'][_0x3a7fa9(0x33b)][_0x3a7fa9(0x3ac)](_0x21b867[_0x3a7fa9(0x462)],_0x3deedf));if(_0x4c8f85[_0x3a7fa9(0x319)][_0x3a7fa9(0x295)](_0x796fd6)!==_0x69a3e5||_0x17db40)throw new _0x3f0ef5(_0x13e187(_0x69a3e5));}_0x21f93b[_0x3a7fa9(0x3ad)](_0x14c5e2=>{const _0xa6a13a=_0x3a7fa9;if(!Object[_0xa6a13a(0x586)][_0xa6a13a(0x33b)]['call'](_0x14c5e2['values'],_0x3deedf))return;let _0x25308e=_0x4c8f85[_0xa6a13a(0x1ea)][_0xa6a13a(0x295)](_0x14c5e2[_0xa6a13a(0x549)])??null,_0x4dd507=_0x542622['parentByRecordId'][_0xa6a13a(0x295)](_0x14c5e2['recordId'])??null;_0x25308e!==_0x4dd507&&_0x522fc8['push']({'tableId':_0x2da80e['id'],'fieldId':_0x3deedf,'recordId':_0x14c5e2[_0xa6a13a(0x549)],'oldParentRecordId':_0x25308e,'parentRecordId':_0x4dd507});});}),_0x522fc8;}function _0x15892b(_0x4a26a7,_0x328f3f){const _0x20d7b2=_0x4e3a72;let _0x6a1ea5=_0x328f3f['map'](_0x21cc02=>_0x21cc02['id']);if(new Set(_0x6a1ea5)[_0x20d7b2(0x335)]!==_0x6a1ea5['length']||_0x6a1ea5['some'](_0x3ca3fb=>_0x4a26a7[_0x20d7b2(0x54e)][_0x3ca3fb]))return[];let _0x14b493=_0x471d88(_0x4a26a7),_0x2bd22d=_0x14b493[_0x20d7b2(0x46c)]?null:_0x31787d(_0x4a26a7),_0x279fb7=[..._0x14b493,..._0x2bd22d&&_0x328f3f[_0x20d7b2(0x35a)](_0x2243b4=>Object[_0x20d7b2(0x586)]['hasOwnProperty'][_0x20d7b2(0x3ac)](_0x2243b4[_0x20d7b2(0x462)],_0x2bd22d))?[_0x2bd22d]:[]][_0x20d7b2(0x500)](_0x50febe=>_0x328f3f['some'](_0x32ada1=>Object[_0x20d7b2(0x586)][_0x20d7b2(0x33b)][_0x20d7b2(0x3ac)](_0x32ada1[_0x20d7b2(0x462)],_0x50febe)));if(!_0x279fb7['length'])return[];let _0x449883={..._0x4a26a7,'records':{..._0x4a26a7[_0x20d7b2(0x54e)],...Object[_0x20d7b2(0x56d)](_0x328f3f[_0x20d7b2(0x2ef)](_0x31e1c6=>[_0x31e1c6['id'],_0x31e1c6]))},'recordOrder':[..._0x4a26a7[_0x20d7b2(0x531)]??[],..._0x328f3f['map'](_0x17a93a=>_0x17a93a['id'])]},_0x56143c=[];return _0x279fb7[_0x20d7b2(0x3ad)](_0x13c8d3=>{const _0x7afc03=_0x20d7b2;let _0x349125=_0x10c7de(_0x449883,_0x13c8d3);_0x328f3f[_0x7afc03(0x3ad)](_0x3872f3=>{const _0x5e87f5=_0x7afc03;let _0x947628=_0x349125[_0x5e87f5(0x319)][_0x5e87f5(0x295)](_0x3872f3['id']);if(_0x947628)throw new _0x3f0ef5(_0x13e187(_0x947628));let _0x4a8ec4=_0x349125[_0x5e87f5(0x1ea)]['get'](_0x3872f3['id'])??null;_0x4a8ec4&&_0x56143c[_0x5e87f5(0x348)]({'tableId':_0x4a26a7['id'],'fieldId':_0x13c8d3,'recordId':_0x3872f3['id'],'oldParentRecordId':null,'parentRecordId':_0x4a8ec4});});}),_0x56143c;}function _0x13e187(_0x98865b){const _0x1191ce=_0x4e3a72;switch(_0x98865b){case _0x2a4b8a['BaseHierarchyInvalidReason']['MissingParent']:return _0x1191ce(0x254);case _0x2a4b8a[_0x1191ce(0x23d)][_0x1191ce(0x1aa)]:return'selfParent';case _0x2a4b8a[_0x1191ce(0x23d)][_0x1191ce(0x2c8)]:return _0x1191ce(0x388);case _0x2a4b8a[_0x1191ce(0x23d)]['MaxDepth']:return _0x1191ce(0x524);}}function _0x59b653(_0x4e6409,_0x52159d){const _0x34930b=_0x4e3a72;let _0x45f938=new Set(_0x52159d),_0x258dbf=_0x471d88(_0x4e6409);return Object['values'](_0x4e6409[_0x34930b(0x54e)])[_0x34930b(0x467)](_0x1fe5e6=>_0x45f938[_0x34930b(0x537)](_0x1fe5e6['id'])?[]:Array[_0x34930b(0x221)](_0x258dbf)[_0x34930b(0x467)](_0xabc940=>{const _0x5c353f=_0x34930b;let _0x388291=_0x380ec4(_0x1fe5e6['values'][_0xabc940])[0x0]??null;return _0x388291&&_0x45f938[_0x5c353f(0x537)](_0x388291)?[{'tableId':_0x4e6409['id'],'fieldId':_0xabc940,'recordId':_0x1fe5e6['id'],'oldParentRecordId':_0x388291,'parentRecordId':null}]:[];}));}function _0x10c7de(_0x4b0880,_0x2a243e,_0x5cbd6f=_0x4b0880[_0x4e3a72(0x531)]??Object['keys'](_0x4b0880['records'])){const _0x1a4dfb=_0x4e3a72;if(!(!_0x4b0880[_0x1a4dfb(0x3c4)][_0x2a243e]&&_0x2a243e===_0x31787d(_0x4b0880))&&!_0x5c7c42(_0x4b0880,_0x2a243e))throw Error(_0x1a4dfb(0x48e)+_0x2a243e+_0x1a4dfb(0x2e6));let _0x36625e=_0x23c24f(_0x4b0880,_0x5cbd6f),_0x4e383f=new Map(),_0x4a776e=new Map();for(let _0x40472e of _0x36625e){var _0x5ae12b;let _0xaad442=_0x380ec4((_0x5ae12b=_0x4b0880[_0x1a4dfb(0x54e)][_0x40472e])==null?void 0x0:_0x5ae12b[_0x1a4dfb(0x462)][_0x2a243e])[0x0]??null;_0xaad442?_0xaad442===_0x40472e?(_0x4e383f[_0x1a4dfb(0x1b0)](_0x40472e,null),_0x4a776e[_0x1a4dfb(0x1b0)](_0x40472e,_0x2a4b8a[_0x1a4dfb(0x23d)][_0x1a4dfb(0x1aa)])):_0x4b0880['records'][_0xaad442]?_0x4e383f[_0x1a4dfb(0x1b0)](_0x40472e,_0xaad442):(_0x4e383f[_0x1a4dfb(0x1b0)](_0x40472e,null),_0x4a776e[_0x1a4dfb(0x1b0)](_0x40472e,_0x2a4b8a[_0x1a4dfb(0x23d)][_0x1a4dfb(0x2b3)])):_0x4e383f[_0x1a4dfb(0x1b0)](_0x40472e,null);}_0x26c018(_0x4e383f,_0x4a776e,_0x36625e),_0x2ba278(_0x4e383f,_0x4a776e,_0x36625e);let _0x3b6f1e=new Map(_0x36625e[_0x1a4dfb(0x2ef)]((_0x5548dd,_0x4d8cdc)=>[_0x5548dd,_0x4d8cdc])),_0x37d53e=new Map();for(let _0x445cc6 of _0x36625e){let _0x5defde=_0x4e383f[_0x1a4dfb(0x295)](_0x445cc6)??null,_0x2d2795=_0x37d53e[_0x1a4dfb(0x295)](_0x5defde)??[];_0x2d2795[_0x1a4dfb(0x348)](_0x445cc6),_0x37d53e[_0x1a4dfb(0x1b0)](_0x5defde,_0x2d2795);}_0x37d53e['forEach'](_0x5a858a=>_0x5a858a['sort']((_0x118150,_0x4dd82b)=>(_0x3b6f1e[_0x1a4dfb(0x295)](_0x118150)??0x0)-(_0x3b6f1e['get'](_0x4dd82b)??0x0)));let _0x5a544f=_0x37d53e[_0x1a4dfb(0x295)](null)??[],_0x1037bf=new Map(),_0x2a62a8=new Map(),_0x518868=[],_0x1c1de8=(_0x5217f6,_0x80256)=>{const _0x113e6c=_0x1a4dfb;_0x1037bf[_0x113e6c(0x1b0)](_0x5217f6,_0x80256),_0x518868['push'](_0x5217f6);let _0x85224d=0x0;for(let _0x33cbba of _0x37d53e['get'](_0x5217f6)??[])_0x85224d=Math[_0x113e6c(0x358)](_0x85224d,0x1+_0x1c1de8(_0x33cbba,_0x80256+0x1));return _0x2a62a8['set'](_0x5217f6,_0x85224d),_0x85224d;};return _0x5a544f['forEach'](_0x2f7452=>_0x1c1de8(_0x2f7452,0x0)),{'fieldId':_0x2a243e,'parentByRecordId':_0x4e383f,'childrenByParentId':_0x37d53e,'depthByRecordId':_0x1037bf,'subtreeHeightByRecordId':_0x2a62a8,'invalidReasonByRecordId':_0x4a776e,'rootRecordIds':_0x5a544f,'orderedRecordIds':_0x518868};}function _0x9d91f6(_0x42ecab,_0x19b3fc,_0x3044e6=new Set(_0x19b3fc['map'](_0x70ebfa=>_0x70ebfa[_0x4e3a72(0x549)]))){const _0x15554b=_0x4e3a72;let _0x42d7a8=new Set(_0x3044e6);for(let _0xbe628b of _0x3044e6){let _0x468f65=_0x42ecab['parentByRecordId']['get'](_0xbe628b)??null;for(;_0x468f65;)_0x42d7a8[_0x15554b(0x4a8)](_0x468f65),_0x468f65=_0x42ecab[_0x15554b(0x1ea)][_0x15554b(0x295)](_0x468f65)??null;}let _0x32c599=new Map(_0x19b3fc['map'](_0x3dfb08=>[_0x3dfb08[_0x15554b(0x549)],_0x3dfb08])),_0x409b26=_0x42ecab['orderedRecordIds'][_0x15554b(0x500)](_0x545d71=>_0x42d7a8['has'](_0x545d71)),_0x27ace8=_0x409b26[_0x15554b(0x467)](_0x3ee862=>{let _0x39a9ce=_0x32c599['get'](_0x3ee862);return _0x39a9ce?[_0x39a9ce]:[];}),_0x9be047={};for(let _0x2ca2b5=0x0;_0x2ca2b5<_0x409b26['length'];_0x2ca2b5++){let _0x4cae34=_0x409b26[_0x2ca2b5];_0x9be047[_0x4cae34]={'recordId':_0x4cae34,'parentRecordId':_0x42ecab[_0x15554b(0x1ea)][_0x15554b(0x295)](_0x4cae34)??null,'depth':_0x42ecab[_0x15554b(0x301)][_0x15554b(0x295)](_0x4cae34)??0x0,'directChildCount':(_0x42ecab[_0x15554b(0x369)][_0x15554b(0x295)](_0x4cae34)??[])['length'],'subtreeHeight':_0x42ecab[_0x15554b(0x306)][_0x15554b(0x295)](_0x4cae34)??0x0,'subtreeEndIndex':_0x2ca2b5,'invalidReason':_0x42ecab[_0x15554b(0x319)][_0x15554b(0x295)](_0x4cae34)};}let _0x49fc1e=[];for(let _0x171b05=0x0;_0x171b05<_0x409b26[_0x15554b(0x46c)];_0x171b05++){let _0x48edca=_0x409b26[_0x171b05],_0x8f50fc=_0x9be047[_0x48edca][_0x15554b(0x496)];for(;_0x49fc1e[_0x15554b(0x46c)]&&_0x49fc1e[_0x49fc1e[_0x15554b(0x46c)]-0x1]['depth']>=_0x8f50fc;){let _0x3375ad=_0x49fc1e[_0x15554b(0x287)]();_0x9be047[_0x3375ad[_0x15554b(0x549)]]['subtreeEndIndex']=_0x171b05-0x1;}_0x49fc1e[_0x15554b(0x348)]({'recordId':_0x48edca,'depth':_0x8f50fc});}return _0x49fc1e[_0x15554b(0x3ad)](({recordId:_0x17293a})=>{const _0x1bc20f=_0x15554b;_0x9be047[_0x17293a][_0x1bc20f(0x37f)]=_0x409b26[_0x1bc20f(0x46c)]-0x1;}),{'rows':_0x27ace8,'hierarchy':{'fieldId':_0x42ecab[_0x15554b(0x1b3)],'rootRecordIds':_0x42ecab[_0x15554b(0x3a9)][_0x15554b(0x500)](_0x37003a=>_0x42d7a8[_0x15554b(0x537)](_0x37003a)),'orderedRecordIds':_0x409b26,'nodes':_0x9be047}};}function _0x1569f2(_0xc00f8b,_0x5a904b){const _0x19296f=_0x4e3a72;if(!_0xc00f8b[_0x19296f(0x411)]||!(_0x5a904b!=null&&_0x5a904b['size']))return _0xc00f8b[_0x19296f(0x3e0)];let _0x6221ba=[],_0x4876eb=0x0;for(;_0x4876eb<_0xc00f8b['rows'][_0x19296f(0x46c)];){let _0x1e2b69=_0xc00f8b[_0x19296f(0x3e0)][_0x4876eb];_0x6221ba['push'](_0x1e2b69);let _0x160770=_0xc00f8b[_0x19296f(0x411)][_0x19296f(0x51f)][_0x1e2b69[_0x19296f(0x549)]];_0x4876eb=_0x5a904b[_0x19296f(0x537)](_0x1e2b69[_0x19296f(0x549)])&&_0x160770?_0x160770[_0x19296f(0x37f)]+0x1:_0x4876eb+0x1;}return _0x6221ba;}function _0x449e66(_0x44f495,_0x27deaa,_0x9ca8c0){const _0x4f790a=_0x4e3a72;if(!_0x9ca8c0)return{'valid':!0x0};if(_0x27deaa===_0x9ca8c0)return{'valid':!0x1,'reason':_0x2a4b8a[_0x4f790a(0x23d)][_0x4f790a(0x1aa)]};let _0x578b14=_0x9ca8c0;for(;_0x578b14;){if(_0x578b14===_0x27deaa)return{'valid':!0x1,'reason':_0x2a4b8a[_0x4f790a(0x23d)][_0x4f790a(0x2c8)]};_0x578b14=_0x44f495['parentByRecordId']['get'](_0x578b14)??null;}return(_0x44f495[_0x4f790a(0x301)][_0x4f790a(0x295)](_0x9ca8c0)??0x0)+0x1+(_0x44f495['subtreeHeightByRecordId'][_0x4f790a(0x295)](_0x27deaa)??0x0)>=0x5?{'valid':!0x1,'reason':_0x2a4b8a[_0x4f790a(0x23d)][_0x4f790a(0x244)]}:{'valid':!0x0};}function _0x23c24f(_0x3a7856,_0x24960b){const _0xbec900=_0x4e3a72;let _0x5180db=new Set(),_0x1e791e=[];for(let _0x4db58a of _0x24960b)_0x3a7856[_0xbec900(0x54e)][_0x4db58a]&&!_0x5180db[_0xbec900(0x537)](_0x4db58a)&&(_0x5180db[_0xbec900(0x4a8)](_0x4db58a),_0x1e791e[_0xbec900(0x348)](_0x4db58a));return Object[_0xbec900(0x458)](_0x3a7856[_0xbec900(0x54e)])[_0xbec900(0x2da)]()['forEach'](_0x1c90f3=>{const _0x43816b=_0xbec900;_0x5180db[_0x43816b(0x537)](_0x1c90f3)||_0x1e791e[_0x43816b(0x348)](_0x1c90f3);}),_0x1e791e;}function _0x26c018(_0x228fc7,_0xe1f940,_0x386eab){const _0x4f0073=_0x4e3a72;let _0x3c55c7=new Set();for(let _0x56a35b of _0x386eab){if(_0x3c55c7[_0x4f0073(0x537)](_0x56a35b))continue;let _0x6bc142=[],_0x2756a2=new Map(),_0xa7ed7f=_0x56a35b;for(;_0xa7ed7f&&!_0x3c55c7['has'](_0xa7ed7f);){let _0x3452eb=_0x2756a2[_0x4f0073(0x295)](_0xa7ed7f);if(_0x3452eb!=null){let _0x437b94=[..._0x6bc142[_0x4f0073(0x39c)](_0x3452eb)]['sort']()[_0x4f0073(0x287)]();_0x228fc7[_0x4f0073(0x1b0)](_0x437b94,null),_0xe1f940[_0x4f0073(0x1b0)](_0x437b94,_0x2a4b8a[_0x4f0073(0x23d)][_0x4f0073(0x2c8)]);break;}_0x2756a2['set'](_0xa7ed7f,_0x6bc142[_0x4f0073(0x46c)]),_0x6bc142['push'](_0xa7ed7f),_0xa7ed7f=_0x228fc7['get'](_0xa7ed7f)??null;}_0x6bc142['forEach'](_0x5827bf=>_0x3c55c7[_0x4f0073(0x4a8)](_0x5827bf));}}function _0x2ba278(_0xed1eba,_0x228d7a,_0x3fbdeb){const _0xe20ca1=_0x4e3a72;let _0x8d342f=new Map(),_0x55163f=_0x2e4bff=>{const _0xa165da=_0x56f7;let _0x383802=_0x8d342f[_0xa165da(0x295)](_0x2e4bff);if(_0x383802!=null)return _0x383802;let _0x40d44b=_0xed1eba[_0xa165da(0x295)](_0x2e4bff)??null;if(!_0x40d44b)return _0x8d342f[_0xa165da(0x1b0)](_0x2e4bff,0x0),0x0;let _0x570ae7=_0x55163f(_0x40d44b)+0x1;return _0x570ae7>=0x5?(_0xed1eba[_0xa165da(0x1b0)](_0x2e4bff,null),_0x228d7a[_0xa165da(0x1b0)](_0x2e4bff,_0x2a4b8a[_0xa165da(0x23d)][_0xa165da(0x244)]),_0x8d342f['set'](_0x2e4bff,0x0),0x0):(_0x8d342f[_0xa165da(0x1b0)](_0x2e4bff,_0x570ae7),_0x570ae7);};_0x3fbdeb[_0xe20ca1(0x3ad)](_0x55163f);}let _0x41b13e=0x0;function _0x40ea05(){const _0x39c01c=_0x4e3a72;if(globalThis[_0x39c01c(0x534)]===!0x0)return!0x0;try{let _0x33bac9=typeof location>'u'?'':location[_0x39c01c(0x27e)],_0x46c2d6=new URLSearchParams(_0x33bac9);if(_0x46c2d6[_0x39c01c(0x295)]('basePerf')==='1'||_0x46c2d6['get']('basePerf')===_0x39c01c(0x2d8)||_0x46c2d6[_0x39c01c(0x295)](_0x39c01c(0x3de))==='1')return!0x0;}catch{}try{let _0x534bb3=typeof localStorage>'u'?null:localStorage['getItem'](_0x39c01c(0x31d));return _0x534bb3==='1'||_0x534bb3===_0x39c01c(0x2d8);}catch{return!0x1;}}function _0x26cddf(_0x3552a7,_0xac8c8b,_0x59c650){const _0x133fa6=_0x4e3a72;if(!_0x40ea05())return _0xac8c8b();let _0xc1e434=_0xbc3dfc(),_0xdbb1b5='base-perf-'+_0x41b13e++;_0x54edfa(_0xdbb1b5+_0x133fa6(0x476));try{return _0xac8c8b();}finally{let _0x603dc1=_0xbc3dfc()-_0xc1e434;_0x54edfa(_0xdbb1b5+_0x133fa6(0x1d6)),_0x6456f5(_0x3552a7,_0xdbb1b5+_0x133fa6(0x476),_0xdbb1b5+':end'),_0x5e452f(_0x3552a7,_0x603dc1,_0x59c650);}}function _0x5e452f(_0x486938,_0x41d034,_0x17b19a){const _0x1bbb1a=_0x4e3a72;if(!_0x40ea05())return;let _0x2a412a=Math[_0x1bbb1a(0x311)](_0x41d034*0x64)/0x64,_0xd00e30=_0x17b19a&&Object[_0x1bbb1a(0x458)](_0x17b19a)[_0x1bbb1a(0x46c)]?'\x20'+JSON[_0x1bbb1a(0x2b1)](_0x17b19a):'';console[_0x1bbb1a(0x3a4)]('[BasePerf]\x20'+_0x486938+':\x20'+_0x2a412a+'ms'+_0xd00e30);}function _0xbc3dfc(){const _0x30e686=_0x4e3a72;return typeof performance<'u'&&typeof performance[_0x30e686(0x45a)]==_0x30e686(0x1b2)?performance[_0x30e686(0x45a)]():Date[_0x30e686(0x45a)]();}function _0x54edfa(_0x201d65){const _0x41b96d=_0x4e3a72;try{if(typeof performance<'u'){var _0x25e067,_0x1daa4c;(_0x25e067=(_0x1daa4c=performance)[_0x41b96d(0x217)])==null||_0x25e067[_0x41b96d(0x3ac)](_0x1daa4c,_0x201d65);}}catch{}}function _0x6456f5(_0x3e6584,_0x53eef0,_0x60fb91){const _0x577a8f=_0x4e3a72;try{if(typeof performance<'u'){var _0x3be60e,_0x44cd7c;(_0x3be60e=(_0x44cd7c=performance)[_0x577a8f(0x513)])==null||_0x3be60e['call'](_0x44cd7c,_0x577a8f(0x4f5)+_0x3e6584,_0x53eef0,_0x60fb91);}}catch{}}function _0x191958(_0x36123a){const _0x78cea8=_0x4e3a72;var _0x28fae6;return _0x40ea05()?_0x26cddf(_0x78cea8(0x4fd),()=>_0x2984b6(_0x36123a),{'tableId':_0x36123a['id'],'records':Object['keys'](_0x36123a['records']??{})['length'],'fields':_0x36123a['fieldOrder'][_0x78cea8(0x46c)],'hasRecordOrder':!!((_0x28fae6=_0x36123a[_0x78cea8(0x531)])!=null&&_0x28fae6['length'])}):_0x2984b6(_0x36123a);}function _0x2984b6(_0xe5fb32){const _0x148f9a=_0x4e3a72;var _0xf1640c;let _0xea615=_0xe5fb32[_0x148f9a(0x54e)]??{},_0x1c7d09=_0xe5fb32['fields']??{},_0x9ca7f2=((_0xf1640c=_0xe5fb32[_0x148f9a(0x531)])==null?void 0x0:_0xf1640c['filter'](_0xbdbc25=>_0xea615[_0xbdbc25]))??[],_0xbf14c1=new Set(_0x9ca7f2),_0x52cc98=[];for(let _0x4f37de of Object['values'](_0xea615))_0xbf14c1[_0x148f9a(0x537)](_0x4f37de['id'])||_0x52cc98['push'](_0x4f37de);let _0x1fdc3d=_0x52cc98['length']?[..._0x9ca7f2,..._0x588275(_0x52cc98)]:_0x9ca7f2,_0x4a75eb=_0xe5fb32[_0x148f9a(0x541)][_0x148f9a(0x500)](_0x849770=>_0x1c7d09[_0x849770]),_0x862de1={..._0xe5fb32[_0x148f9a(0x1df)]??{}},_0x34605c={..._0xe5fb32[_0x148f9a(0x3ec)]??{}},_0x16124f={..._0xe5fb32['cellData']??{}};_0xe5fb32['recordOrder']=_0x1fdc3d,_0xe5fb32[_0x148f9a(0x385)]={},_0xe5fb32[_0x148f9a(0x1df)]={},_0xe5fb32[_0x148f9a(0x285)]={},_0xe5fb32[_0x148f9a(0x3ec)]={},_0xe5fb32[_0x148f9a(0x380)]={},_0xe5fb32[_0x148f9a(0x32c)]={..._0xe5fb32[_0x148f9a(0x32c)]??{}},_0xe5fb32[_0x148f9a(0x32c)][_0x148f9a(0x218)]={..._0xe5fb32[_0x148f9a(0x32c)][_0x148f9a(0x218)]??{}},_0xe5fb32[_0x148f9a(0x32c)]['attachments']={..._0xe5fb32[_0x148f9a(0x32c)]['attachments']??{}};let _0x19dfd6=_0xe5fb32[_0x148f9a(0x385)],_0x1d092d=_0xe5fb32[_0x148f9a(0x1df)],_0x3a55eb=_0xe5fb32[_0x148f9a(0x285)],_0x39c66d=_0xe5fb32['colId'],_0xa8ac28=_0xe5fb32[_0x148f9a(0x380)];return _0x1fdc3d[_0x148f9a(0x3ad)]((_0xcf1e0f,_0x49cc89)=>{_0x19dfd6[_0xcf1e0f]=_0x49cc89,_0x1d092d[_0x49cc89]=_0xcf1e0f;}),_0x4a75eb[_0x148f9a(0x3ad)]((_0x3cac23,_0x10040c)=>{_0x3a55eb[_0x3cac23]=_0x10040c,_0x39c66d[_0x10040c]=_0x3cac23;}),Object[_0x148f9a(0x2f1)](_0x16124f)[_0x148f9a(0x3ad)](([_0x16d265,_0x42dffb])=>{const _0x671e09=_0x148f9a;let _0x2ae29a=Number(_0x16d265),_0x2857bf=_0x862de1[_0x2ae29a]??_0x1fdc3d[_0x2ae29a],_0x1f758c=_0x2857bf?_0x19dfd6[_0x2857bf]:void 0x0;_0x1f758c!=null&&(_0xa8ac28[_0x1f758c]={..._0xa8ac28[_0x1f758c]??{}},Object[_0x671e09(0x2f1)](_0x42dffb??{})[_0x671e09(0x3ad)](([_0x4bb643,_0x383d59])=>{let _0x1455e7=Number(_0x4bb643),_0x1209e9=_0x34605c[_0x1455e7]??_0x4a75eb[_0x1455e7],_0x4f0350=_0x1209e9?_0x3a55eb[_0x1209e9]:void 0x0;_0x4f0350!=null&&(_0xa8ac28[_0x1f758c][_0x4f0350]=_0x38a738(_0x383d59));}));}),Object[_0x148f9a(0x462)](_0xea615)[_0x148f9a(0x3ad)](_0x3ebb4d=>{const _0x19d0b5=_0x148f9a;let _0x494646=_0x19dfd6[_0x3ebb4d['id']];_0x494646!=null&&(_0x3ebb4d[_0x19d0b5(0x462)]={..._0x3ebb4d[_0x19d0b5(0x462)]??{},[_0x2a4b8a[_0x19d0b5(0x32a)]]:_0x3ebb4d['id']},_0xa8ac28[_0x494646]={..._0xa8ac28[_0x494646]??{},0x0:{'v':_0x3ebb4d['id'],'t':_0x2a4b8a['CellValueType']['STRING']}},Object[_0x19d0b5(0x2f1)](_0x3ebb4d[_0x19d0b5(0x462)]??{})['forEach'](([_0x306258,_0x307417])=>{const _0x1faa9f=_0x19d0b5;let _0x3b5adb=_0x1c7d09[_0x306258];(_0x3b5adb==null?void 0x0:_0x3b5adb['type'])===_0x2a4b8a['BaseFieldType'][_0x1faa9f(0x4a1)]&&_0xbb6f30(_0xe5fb32,_0x3ebb4d['id'],_0x306258,_0x307417);let _0x52945d=_0x3a55eb[_0x306258];if(_0x52945d==null)return;let _0x1df64d=_0xa8ac28[_0x494646][_0x52945d];if(_0x1df64d!=null){_0x44a386(_0x1df64d,_0x3b5adb,_0x307417)&&(_0xa8ac28[_0x494646][_0x52945d]=_0x52314c(_0x307417,_0x3b5adb));return;}_0xa8ac28[_0x494646][_0x52945d]=_0x52314c(_0x307417,_0x3b5adb);}));}),_0xe5fb32;}function _0x236d4b(_0x221c8d){const _0x260ced=_0x4e3a72;return _0x191958(_0x221c8d),Object[_0x260ced(0x2f1)](_0x221c8d[_0x260ced(0x1df)]??{})[_0x260ced(0x3ad)](([_0x4208e0,_0x513cee])=>{const _0x246d92=_0x260ced;var _0xab8243;let _0x2c669c=Number(_0x4208e0),_0x198e3a=_0x221c8d[_0x246d92(0x54e)][_0x513cee];_0x198e3a&&(_0x198e3a[_0x246d92(0x462)]={..._0x198e3a[_0x246d92(0x462)]??{}},Object[_0x246d92(0x2f1)](((_0xab8243=_0x221c8d[_0x246d92(0x380)])==null?void 0x0:_0xab8243[_0x2c669c])??{})[_0x246d92(0x3ad)](([_0x2560f1,_0x54aebf])=>{const _0xdda24c=_0x246d92;var _0x344b62;let _0x4ef56d=(_0x344b62=_0x221c8d[_0xdda24c(0x3ec)])==null?void 0x0:_0x344b62[Number(_0x2560f1)];_0x4ef56d===_0x2a4b8a['BASE_RECORD_ID_FIELD_ID']?_0x198e3a[_0xdda24c(0x462)][_0x2a4b8a[_0xdda24c(0x32a)]]=_0x198e3a['id']:_0x4ef56d&&(_0x198e3a[_0xdda24c(0x462)][_0x4ef56d]=_0x40618f(_0x54aebf,_0x221c8d[_0xdda24c(0x3c4)][_0x4ef56d],_0x221c8d,_0x513cee));}));}),_0x221c8d;}function _0x408198(_0x2f0c6d,_0x537334){const _0x3cadbe=_0x4e3a72;for(let {row:_0x1bbb46,col:_0x21d40b}of _0x537334){var _0x73db3a,_0x5d1b9b,_0x2264ee;let _0x1fa183=(_0x73db3a=_0x2f0c6d[_0x3cadbe(0x1df)])==null?void 0x0:_0x73db3a[_0x1bbb46],_0x390cf4=(_0x5d1b9b=_0x2f0c6d['colId'])==null?void 0x0:_0x5d1b9b[_0x21d40b],_0x45f8bd=_0x1fa183?_0x2f0c6d[_0x3cadbe(0x54e)][_0x1fa183]:void 0x0;if(!_0x45f8bd||!_0x390cf4)continue;if(_0x390cf4===_0x2a4b8a['BASE_RECORD_ID_FIELD_ID']){_0x45f8bd[_0x3cadbe(0x462)][_0x2a4b8a[_0x3cadbe(0x32a)]]=_0x45f8bd['id'];continue;}let _0x5874e3=(_0x2264ee=_0x2f0c6d['cellData'])==null||(_0x2264ee=_0x2264ee[_0x1bbb46])==null?void 0x0:_0x2264ee[_0x21d40b];_0x5874e3==null&&!Object[_0x3cadbe(0x586)][_0x3cadbe(0x33b)]['call'](_0x45f8bd[_0x3cadbe(0x462)]??{},_0x390cf4)||(_0x45f8bd[_0x3cadbe(0x462)]={..._0x45f8bd['values']??{}},_0x45f8bd[_0x3cadbe(0x462)][_0x390cf4]=_0x40618f(_0x5874e3,_0x2f0c6d[_0x3cadbe(0x3c4)][_0x390cf4],_0x2f0c6d,_0x1fa183));}return _0x2f0c6d;}function _0x340cd0(_0x6b6328,_0x5043fd,_0x49fd01){const _0x3b57d4=_0x4e3a72;var _0x5e411c,_0x2ed356,_0x4f2918,_0x129a11,_0x46c464,_0x22d3e6;let _0x3ad087=(_0x5e411c=_0x6b6328[_0x3b57d4(0x385)])==null?void 0x0:_0x5e411c[_0x5043fd],_0x146001=(_0x2ed356=_0x6b6328[_0x3b57d4(0x285)])==null?void 0x0:_0x2ed356[_0x49fd01];if(_0x3ad087!=null&&_0x146001!=null&&((_0x4f2918=_0x6b6328['rowId'])==null?void 0x0:_0x4f2918[_0x3ad087])===_0x5043fd&&((_0x129a11=_0x6b6328[_0x3b57d4(0x3ec)])==null?void 0x0:_0x129a11[_0x146001])===_0x49fd01)return{'row':_0x3ad087,'col':_0x146001};let _0x10a896=_0x191958(_0x6b6328),_0x391110=(_0x46c464=_0x10a896[_0x3b57d4(0x385)])==null?void 0x0:_0x46c464[_0x5043fd],_0x58e62c=(_0x22d3e6=_0x10a896[_0x3b57d4(0x285)])==null?void 0x0:_0x22d3e6[_0x49fd01];return _0x391110==null||_0x58e62c==null?null:{'row':_0x391110,'col':_0x58e62c};}function _0x56b05c(_0x123656,_0x15f48d,_0x5ac289){const _0x55ab3d=_0x4e3a72;var _0x10dccf;let _0x3f8696=_0x340cd0(_0x123656,_0x15f48d,_0x5ac289);if(_0x3f8696)return(_0x10dccf=_0x123656[_0x55ab3d(0x380)])==null||(_0x10dccf=_0x10dccf[_0x3f8696[_0x55ab3d(0x40d)]])==null?void 0x0:_0x10dccf[_0x3f8696[_0x55ab3d(0x1b1)]];}function _0x1dd5a4(_0x446477,_0x271a36,_0x2d61ca){const _0x7b0bca=_0x4e3a72;var _0x54c96c;let _0x18070a=_0x56b05c(_0x446477,_0x271a36,_0x2d61ca),_0x2231d6=_0x446477[_0x7b0bca(0x3c4)][_0x2d61ca];if((_0x2231d6==null?void 0x0:_0x2231d6[_0x7b0bca(0x3a3)])===_0x2a4b8a[_0x7b0bca(0x1f7)][_0x7b0bca(0x4a1)]){var _0x2bdae1;return _0x174024(_0x446477,_0x271a36,_0x2d61ca)??_0x56095f((_0x2bdae1=_0x446477[_0x7b0bca(0x54e)][_0x271a36])==null||(_0x2bdae1=_0x2bdae1[_0x7b0bca(0x462)])==null?void 0x0:_0x2bdae1[_0x2d61ca]);}if(_0xd3ce8a(_0x2231d6)||(_0x2231d6==null?void 0x0:_0x2231d6[_0x7b0bca(0x3a3)])===_0x2a4b8a[_0x7b0bca(0x1f7)][_0x7b0bca(0x276)]){var _0x3c1638;let _0x35dab1=(_0x3c1638=_0x446477[_0x7b0bca(0x54e)][_0x271a36])==null||(_0x3c1638=_0x3c1638[_0x7b0bca(0x462)])==null?void 0x0:_0x3c1638[_0x2d61ca];return _0x35dab1!=null&&_0x35dab1!==''?_0x54a851(_0x35dab1,_0x2231d6):_0x40618f(_0x18070a,_0x2231d6,_0x446477,_0x271a36);}return _0x18070a&&Object['prototype'][_0x7b0bca(0x33b)][_0x7b0bca(0x3ac)](_0x18070a,'v')?_0x18070a['v']??null:((_0x54c96c=_0x446477[_0x7b0bca(0x54e)][_0x271a36])==null||(_0x54c96c=_0x54c96c[_0x7b0bca(0x462)])==null?void 0x0:_0x54c96c[_0x2d61ca])??null;}function _0x5c8d7c(_0x5b2300,_0x5d4433,_0x5da6f3){const _0x53a075=_0x4e3a72;var _0x8558ce;let _0x37f0ee=_0x56b05c(_0x5b2300,_0x5d4433,_0x5da6f3);if(_0x37f0ee&&Object['prototype'][_0x53a075(0x33b)]['call'](_0x37f0ee,'v'))return _0x37f0ee['v']??null;let _0x3cba92=_0x5b2300[_0x53a075(0x3c4)][_0x5da6f3];return _0x52314c(((_0x8558ce=_0x5b2300[_0x53a075(0x54e)][_0x5d4433])==null||(_0x8558ce=_0x8558ce[_0x53a075(0x462)])==null?void 0x0:_0x8558ce[_0x5da6f3])??null,_0x3cba92)['v']??null;}function _0x52314c(_0x1c84b5,_0x319911){const _0x1a7829=_0x4e3a72;if(_0x37ed42(_0x1c84b5))return(_0x319911==null?void 0x0:_0x319911[_0x1a7829(0x3a3)])===_0x2a4b8a['BaseFieldType']['Attachment']?{..._0x1c84b5,'v':'','t':_0x2a4b8a['CellValueType']['STRING']}:_0x38a738(_0x1c84b5);if((_0x319911==null?void 0x0:_0x319911[_0x1a7829(0x3a3)])===_0x2a4b8a[_0x1a7829(0x1f7)]['Attachment'])return{'v':'','t':_0x2a4b8a['CellValueType'][_0x1a7829(0x2b4)]};if(_0xd3ce8a(_0x319911))return{'v':_0x5f08a0(_0x1c84b5)[_0x1a7829(0x2fe)](',\x20'),'t':_0x2a4b8a[_0x1a7829(0x1d3)]['STRING']};if((_0x319911==null?void 0x0:_0x319911[_0x1a7829(0x3a3)])===_0x2a4b8a[_0x1a7829(0x1f7)]['Link']&&_0x1c84b5&&typeof _0x1c84b5=='object'&&!Array[_0x1a7829(0x35c)](_0x1c84b5)){let _0x418e5b=_0x1c84b5;return{'v':String(_0x418e5b[_0x1a7829(0x3ca)]??_0x418e5b['url']??''),'t':_0x2a4b8a[_0x1a7829(0x1d3)][_0x1a7829(0x2b4)]};}return _0x1c84b5===null||typeof _0x1c84b5==_0x1a7829(0x4ad)||typeof _0x1c84b5==_0x1a7829(0x23b)||typeof _0x1c84b5==_0x1a7829(0x49b)?{'v':_0x1c84b5,'t':_0x2f8d94(_0x1c84b5)}:{'v':null,'t':null};}function _0x38a738(_0xa7356){let _0x384886=_0x372ecb(_0xa7356['t'],_0xa7356['v']);if(_0x384886===void 0x0){let {t:_0x53faef,..._0xa676}=_0xa7356;return _0xa676;}return{..._0xa7356,'t':_0x384886};}function _0x40618f(_0x2a0963,_0x4fb54b,_0x486578,_0x442542){const _0x13c16e=_0x4e3a72;if(!_0x2a0963)return null;if((_0x4fb54b==null?void 0x0:_0x4fb54b[_0x13c16e(0x3a3)])===_0x2a4b8a[_0x13c16e(0x1f7)][_0x13c16e(0x4a1)])return _0x486578&&_0x442542?_0x174024(_0x486578,_0x442542,_0x4fb54b['id'])??[]:[];if(_0xd3ce8a(_0x4fb54b))return _0x5f08a0(_0x2a0963['v']);if((_0x4fb54b==null?void 0x0:_0x4fb54b[_0x13c16e(0x3a3)])===_0x2a4b8a['BaseFieldType']['Link']&&_0x486578&&_0x442542){var _0x5ad9d9;let _0x5e8f1e=(_0x5ad9d9=_0x486578[_0x13c16e(0x54e)][_0x442542])==null||(_0x5ad9d9=_0x5ad9d9[_0x13c16e(0x462)])==null?void 0x0:_0x5ad9d9[_0x4fb54b['id']];if(_0x5e8f1e&&typeof _0x5e8f1e==_0x13c16e(0x3e9)&&!Array[_0x13c16e(0x35c)](_0x5e8f1e))return _0x5e8f1e;}return Object['prototype']['hasOwnProperty'][_0x13c16e(0x3ac)](_0x2a0963,'v')?_0x2a0963['v']??null:null;}function _0x5935b1(_0x5593bc,_0x6b391e,_0x137f08,_0x296e90,_0x576ea3){const _0x23cf81=_0x4e3a72;return(_0x137f08==null?void 0x0:_0x137f08[_0x23cf81(0x3a3)])===_0x2a4b8a[_0x23cf81(0x1f7)][_0x23cf81(0x4a1)]?_0x56095f(_0x5593bc):_0xd3ce8a(_0x137f08)?_0x5f08a0(_0x5593bc):(_0x137f08==null?void 0x0:_0x137f08[_0x23cf81(0x3a3)])===_0x2a4b8a[_0x23cf81(0x1f7)][_0x23cf81(0x276)]&&_0x5593bc&&typeof _0x5593bc==_0x23cf81(0x3e9)&&!Array['isArray'](_0x5593bc)&&!_0x37ed42(_0x5593bc)?_0x5593bc:_0x40618f(_0x6b391e,_0x137f08,_0x296e90,_0x576ea3);}function _0x37ed42(_0x416ffe){const _0x4f5169=_0x4e3a72;return!!_0x416ffe&&typeof _0x416ffe=='object'&&(Object[_0x4f5169(0x586)]['hasOwnProperty'][_0x4f5169(0x3ac)](_0x416ffe,'v')||Object[_0x4f5169(0x586)][_0x4f5169(0x33b)]['call'](_0x416ffe,'t')||Object['prototype']['hasOwnProperty']['call'](_0x416ffe,'p')||Object[_0x4f5169(0x586)][_0x4f5169(0x33b)][_0x4f5169(0x3ac)](_0x416ffe,'f')||Object[_0x4f5169(0x586)][_0x4f5169(0x33b)][_0x4f5169(0x3ac)](_0x416ffe,'si'));}function _0x3b2bbb(_0x33128b,_0x59a215){return _0x33128b+'\x1f'+_0x59a215;}function _0xbb6f30(_0xea7067,_0x1e1a1e,_0x1c36d9,_0x2e4ce4){const _0x156004=_0x4e3a72;let _0x2c9e80=_0x56095f(_0x2e4ce4);_0xea7067[_0x156004(0x32c)]={..._0xea7067[_0x156004(0x32c)]??{}},_0xea7067[_0x156004(0x32c)][_0x156004(0x218)]={..._0xea7067[_0x156004(0x32c)][_0x156004(0x218)]??{}},_0xea7067[_0x156004(0x32c)]['attachments']={..._0xea7067[_0x156004(0x32c)]['attachments']??{}};let _0x598a92=_0x3b2bbb(_0x1c36d9,_0x1e1a1e),_0x195d69=[];for(let _0x46dd27=0x0;_0x46dd27<_0x2c9e80[_0x156004(0x46c)];_0x46dd27++){if(!(_0x46dd27 in _0x2c9e80))continue;let _0x251b68=_0x2c9e80[_0x46dd27],_0x65b985=String(_0x251b68['id']??_0x598a92+'\x1f'+_0x46dd27),_0x4cb1b3={..._0x251b68,'id':_0x65b985};_0xea7067[_0x156004(0x32c)][_0x156004(0x370)][_0x65b985]=_0x4cb1b3,_0x195d69['push'](_0x65b985);}_0xea7067[_0x156004(0x32c)]['attachmentSets'][_0x598a92]=_0x195d69;}function _0x174024(_0x44a9e4,_0x318ece,_0x5a3ec1){const _0x2dfc2c=_0x4e3a72;var _0x38c366;let _0x1c1b80=_0x3b2bbb(_0x5a3ec1,_0x318ece),_0x1b5ab4=(_0x38c366=_0x44a9e4[_0x2dfc2c(0x32c)])==null||(_0x38c366=_0x38c366[_0x2dfc2c(0x218)])==null?void 0x0:_0x38c366[_0x1c1b80];if(!_0x1b5ab4)return null;let _0x80fc2c=[];for(let _0x4279dd=0x0;_0x4279dd<_0x1b5ab4[_0x2dfc2c(0x46c)];_0x4279dd++){var _0x48343b;if(!(_0x4279dd in _0x1b5ab4))continue;let _0x2d483e=(_0x48343b=_0x44a9e4[_0x2dfc2c(0x32c)])==null||(_0x48343b=_0x48343b[_0x2dfc2c(0x370)])==null?void 0x0:_0x48343b[_0x1b5ab4[_0x4279dd]];_0x2d483e&&_0x80fc2c[_0x2dfc2c(0x348)]({..._0x2d483e});}return _0x80fc2c;}function _0x56095f(_0x49bb20){const _0x1f9a8e=_0x4e3a72;if(_0x49bb20==null||_0x49bb20===''||_0x37ed42(_0x49bb20)&&!('id'in _0x49bb20)&&!(_0x1f9a8e(0x492)in _0x49bb20))return[];let _0x4c3a69=Array[_0x1f9a8e(0x35c)](_0x49bb20)?_0x49bb20:[_0x49bb20],_0x4ee7ef=[];for(let _0x54cd89=0x0;_0x54cd89<_0x4c3a69[_0x1f9a8e(0x46c)];_0x54cd89++){if(!(_0x54cd89 in _0x4c3a69))continue;let _0x2ee527=_0x4c3a69[_0x54cd89],_0x336026=_0x2ee527&&typeof _0x2ee527=='object'?{..._0x2ee527}:{'id':_0x1f9a8e(0x46d)+_0x54cd89,'name':String(_0x2ee527)};Object[_0x1f9a8e(0x458)](_0x336026)[_0x1f9a8e(0x46c)]>0x0&&_0x4ee7ef[_0x1f9a8e(0x348)](_0x336026);}return _0x4ee7ef;}function _0x54a851(_0x195387,_0x28008b){const _0x11dff9=_0x4e3a72;return(_0x28008b==null?void 0x0:_0x28008b[_0x11dff9(0x3a3)])===_0x2a4b8a[_0x11dff9(0x1f7)]['Attachment']?_0x56095f(_0x195387):_0xd3ce8a(_0x28008b)?_0x5f08a0(_0x195387):_0x195387;}function _0x44a386(_0x3f6b16,_0x5cc4ec,_0x32aaf2){const _0xf746e1=_0x4e3a72;return(_0x5cc4ec==null?void 0x0:_0x5cc4ec['type'])===_0x2a4b8a[_0xf746e1(0x1f7)][_0xf746e1(0x4a1)]?_0x3f6b16['v']!=='':_0xd3ce8a(_0x5cc4ec)?Array['isArray'](_0x32aaf2)&&(_0x3f6b16['v']==null||_0x3f6b16['v']===''):!0x1;}function _0xd3ce8a(_0x55fed6){const _0x20503b=_0x4e3a72;return(_0x55fed6==null?void 0x0:_0x55fed6[_0x20503b(0x3a3)])===_0x2a4b8a['BaseFieldType'][_0x20503b(0x336)]||(_0x55fed6==null?void 0x0:_0x55fed6[_0x20503b(0x3a3)])===_0x2a4b8a[_0x20503b(0x1f7)][_0x20503b(0x340)]||(_0x55fed6==null?void 0x0:_0x55fed6['type'])===_0x2a4b8a[_0x20503b(0x1f7)]['Group'];}function _0x5f08a0(_0x1bfd85){const _0x4086e8=_0x4e3a72;if(_0x1bfd85==null||_0x1bfd85==='')return[];let _0x41ce27=[];if(Array['isArray'](_0x1bfd85)){for(let _0x403087=0x0;_0x403087<_0x1bfd85[_0x4086e8(0x46c)];_0x403087++){if(!(_0x403087 in _0x1bfd85))continue;let _0x1365d8=_0x2ba772(_0x1bfd85[_0x403087]);_0x1365d8&&_0x41ce27['push'](_0x1365d8);}return _0x41ce27;}for(let _0x424ee5 of String(_0x1bfd85)['split'](',')){let _0x50d240=_0x424ee5['trim']();_0x50d240&&_0x41ce27[_0x4086e8(0x348)](_0x50d240);}return _0x41ce27;}function _0x2ba772(_0x3b470e){const _0x12a047=_0x4e3a72;if(_0x3b470e==null)return'';if(typeof _0x3b470e=='string'||typeof _0x3b470e==_0x12a047(0x23b)||typeof _0x3b470e=='boolean')return String(_0x3b470e);if(typeof _0x3b470e==_0x12a047(0x3e9)){let _0x49bb94=_0x3b470e;return String(_0x49bb94['id']??_0x49bb94[_0x12a047(0x492)]??_0x49bb94[_0x12a047(0x3ca)]??'');}return String(_0x3b470e);}function _0x2f8d94(_0x359b6d){const _0x4685da=_0x4e3a72;return _0x359b6d==null?null:typeof _0x359b6d==_0x4685da(0x23b)?_0x2a4b8a['CellValueType'][_0x4685da(0x29e)]:typeof _0x359b6d==_0x4685da(0x49b)?_0x2a4b8a[_0x4685da(0x1d3)]['BOOLEAN']:_0x2a4b8a[_0x4685da(0x1d3)]['STRING'];}function _0x588275(_0x410f3d){const _0x1fe67e=_0x4e3a72;_0x410f3d[_0x1fe67e(0x2da)]((_0x220316,_0x4ed281)=>_0x220316[_0x1fe67e(0x236)][_0x1fe67e(0x377)](_0x4ed281[_0x1fe67e(0x236)]));let _0x5a19ed=[];for(let _0x5f2acd of _0x410f3d)_0x5a19ed[_0x1fe67e(0x348)](_0x5f2acd['id']);return _0x5a19ed;}function _0x372ecb(_0x2fe9fc,_0x5a0963){const _0x17991f=_0x4e3a72;return _0x2fe9fc===_0x2a4b8a[_0x17991f(0x1d3)]['STRING']||_0x2fe9fc===_0x2a4b8a[_0x17991f(0x1d3)][_0x17991f(0x29e)]||_0x2fe9fc===_0x2a4b8a['CellValueType']['BOOLEAN']||_0x2fe9fc===_0x2a4b8a[_0x17991f(0x1d3)][_0x17991f(0x2ba)]||_0x2fe9fc==null?_0x2fe9fc:_0x2f8d94(_0x5a0963??null);}function _0xc44ded(_0x457c3d){const _0x1daede=_0x4e3a72;let _0x2d3e4d=null;for(let _0x1c0105 of _0x457c3d)_0x2d3e4d=_0x2d3e4d===null?_0x1c0105:_0x2a4b8a[_0x1daede(0x288)]['type'][_0x1daede(0x1e7)](_0x2d3e4d,_0x1c0105);return _0x2d3e4d;}var _0x5c1670=class _0x570d54{static['tryMaterializeSnapshot'](_0x204e39,_0x583aed){const _0x7e8cb1=_0x4e3a72;let _0x2885c2=[];for(let _0x33db47 of _0x583aed){let _0x17bcce=_0x306565(_0x33db47);if(!_0x17bcce||_0x17bcce['unitId']!==_0x204e39['id'])return null;_0x2885c2['push'](_0x17bcce['op']);}try{let _0x1ab55b=_0xc44ded(_0x2885c2);return _0x1ab55b===null?_0x204e39:new _0x570d54()[_0x7e8cb1(0x405)](_0x204e39,_0x1ab55b);}catch{return null;}}[_0x4e3a72(0x405)](_0x2f8d9c,_0x48814a){const _0x148b68=_0x4e3a72;let _0xb7fc87=this[_0x148b68(0x2ee)](_0x48814a),_0x8c4880=_0x26cddf(_0x148b68(0x294),()=>_0x1eeea5(_0x2f8d9c,_0x48814a),{'invalidations':_0xb7fc87['length']}),_0x4ad937=_0x26cddf('BaseJson1.json1Apply',()=>_0x2a4b8a[_0x148b68(0x288)][_0x148b68(0x3a3)]['apply'](_0x8c4880,_0x48814a),{'invalidations':_0xb7fc87[_0x148b68(0x46c)]});return _0x26cddf(_0x148b68(0x3b1),()=>_0x2eb63f(_0x4ad937,_0xb7fc87),{'invalidations':_0xb7fc87[_0x148b68(0x46c)]})||_0x26cddf('BaseJson1.normalizeTables',()=>{const _0x54d210=_0x148b68;this[_0x54d210(0x44d)](_0x4ad937,_0xb7fc87)[_0x54d210(0x3ad)](_0xb06aac=>{_0x236d4b(_0xb06aac);});},{'invalidations':_0xb7fc87[_0x148b68(0x46c)]}),_0x4ad937;}[_0x4e3a72(0x425)](_0x4c147b,_0x69710a){const _0xee41fc=_0x4e3a72;return _0x2a4b8a[_0xee41fc(0x288)][_0xee41fc(0x3a3)][_0xee41fc(0x1c9)](_0x69710a,_0x4c147b);}[_0x4e3a72(0x2ee)](_0x27d960){const _0x77f35b=_0x4e3a72;let _0x31ac8e=_0x5f4c42(_0x27d960);return _0x31ac8e['length']?_0x414be9(_0x31ac8e['flatMap'](_0x5be26c=>this[_0x77f35b(0x2ee)](_0x5be26c))):_0x52b78c(_0x27d960);}['_getTablesToNormalize'](_0x4174e9,_0x13225b){const _0x3a9e7f=_0x4e3a72;return _0x13225b['length']?_0x13225b[_0x3a9e7f(0x35a)](_0x44ed13=>!_0x44ed13[_0x3a9e7f(0x398)])?Object[_0x3a9e7f(0x462)](_0x4174e9['tables']??{}):Array[_0x3a9e7f(0x221)](new Set(_0x13225b[_0x3a9e7f(0x2ef)](_0x2c9cc3=>_0x2c9cc3[_0x3a9e7f(0x398)])))[_0x3a9e7f(0x467)](_0x4a53e5=>{const _0x5ec12b=_0x3a9e7f;var _0x587ceb;let _0x397273=(_0x587ceb=_0x4174e9[_0x5ec12b(0x46b)])==null?void 0x0:_0x587ceb[_0x4a53e5];return _0x397273?[_0x397273]:[];}):[];}};function _0x306565(_0x169b6f){const _0x51704c=_0x4e3a72;let _0x116292=_0x169b6f[_0x51704c(0x222)];return _0x169b6f['id']!==_0x51704c(0x413)||typeof _0x116292!=_0x51704c(0x3e9)||!_0x116292||!(_0x51704c(0x257)in _0x116292)||typeof _0x116292['unitId']!='string'||!('op'in _0x116292)||!Array[_0x51704c(0x35c)](_0x116292['op'])?null:{'unitId':_0x116292[_0x51704c(0x257)],'op':_0x116292['op']};}function _0x2eb63f(_0x5e6aaf,_0x4f09c3){const _0x4c71f6=_0x4e3a72;if(!_0x4f09c3[_0x4c71f6(0x46c)]||_0x4f09c3[_0x4c71f6(0x35a)](_0x56ed9c=>_0x56ed9c[_0x4c71f6(0x57e)]!=='cell'))return!0x1;let _0x35cb5d=new Map();for(let _0x4c5c91 of _0x4f09c3){if(!_0x4c5c91[_0x4c71f6(0x398)]||_0x4c5c91['row']==null||_0x4c5c91['column']==null)continue;let _0x4b94fa=_0x35cb5d[_0x4c71f6(0x295)](_0x4c5c91[_0x4c71f6(0x398)])??[];_0x4b94fa['push']({'row':_0x4c5c91['row'],'col':_0x4c5c91[_0x4c71f6(0x21b)]}),_0x35cb5d[_0x4c71f6(0x1b0)](_0x4c5c91[_0x4c71f6(0x398)],_0x4b94fa);}return _0x35cb5d[_0x4c71f6(0x3ad)]((_0x5db6ac,_0x29df1a)=>{const _0x4751e2=_0x4c71f6;var _0x296b50;let _0x2b54db=(_0x296b50=_0x5e6aaf[_0x4751e2(0x46b)])==null?void 0x0:_0x296b50[_0x29df1a];_0x2b54db&&_0x408198(_0x2b54db,_0x5db6ac);}),!0x0;}function _0x52b78c(_0x45f4d6){const _0x569a94=_0x4e3a72;if(!Array['isArray'](_0x45f4d6)||_0x45f4d6[_0x569a94(0x46c)]<0x2)return[{'tableId':'','reason':'unknown'}];let _0x741198=_0x45f4d6,_0x51a87e=_0x741198[_0x569a94(0x4f4)](_0x569a94(0x46b));return _0x51a87e===-0x1||typeof _0x741198[_0x51a87e+0x1]!=_0x569a94(0x4ad)?_0x741198[0x0]==='tableOrder'?[]:[{'tableId':'','reason':'unknown'}]:_0x2738e4(_0x741198,_0x51a87e,String(_0x741198[_0x51a87e+0x1]));}function _0x2738e4(_0x59d318,_0x3cfeb9,_0x13fdb4){const _0x21b703=_0x4e3a72;let _0x3e0ba8=_0x59d318[_0x3cfeb9+0x2];return _0x3e0ba8==='records'&&typeof _0x59d318[_0x3cfeb9+0x3]==_0x21b703(0x4ad)?_0x2f8e7d(_0x59d318,_0x3cfeb9,_0x13fdb4,String(_0x59d318[_0x3cfeb9+0x3])):_0x3e0ba8===_0x21b703(0x380)&&_0x59d318[_0x3cfeb9+0x3]!=null&&_0x59d318[_0x3cfeb9+0x4]!=null?[{'tableId':_0x13fdb4,'reason':_0x21b703(0x2f2),'row':Number(_0x59d318[_0x3cfeb9+0x3]),'column':Number(_0x59d318[_0x3cfeb9+0x4])}]:_0x3e0ba8===_0x21b703(0x3c4)&&typeof _0x59d318[_0x3cfeb9+0x3]=='string'?[{'tableId':_0x13fdb4,'reason':_0x21b703(0x344),'fieldId':String(_0x59d318[_0x3cfeb9+0x3])}]:_0x3e0ba8===_0x21b703(0x1b4)&&typeof _0x59d318[_0x3cfeb9+0x3]=='string'?[{'tableId':_0x13fdb4,'reason':_0x21b703(0x4b9),'viewId':String(_0x59d318[_0x3cfeb9+0x3])}]:[{'tableId':_0x13fdb4,'reason':_0x3e0ba8===void 0x0?_0x21b703(0x577):'unknown'}];}function _0x2f8e7d(_0x16d5c,_0x5e1ec2,_0x2cab8e,_0x1c80aa){const _0x53a2fa=_0x4e3a72;return _0x16d5c[_0x5e1ec2+0x4]===_0x53a2fa(0x462)&&typeof _0x16d5c[_0x5e1ec2+0x5]==_0x53a2fa(0x4ad)?[{'tableId':_0x2cab8e,'reason':_0x53a2fa(0x2f2),'recordId':_0x1c80aa,'fieldId':String(_0x16d5c[_0x5e1ec2+0x5])}]:_0x16d5c[_0x5e1ec2+0x4]===_0x53a2fa(0x44b)||_0x16d5c[_0x5e1ec2+0x4]===_0x53a2fa(0x314)?[]:[{'tableId':_0x2cab8e,'reason':_0x53a2fa(0x4c4),'recordId':_0x1c80aa}];}function _0x5f4c42(_0x2e5c49){const _0x380842=_0x4e3a72;if(!Array[_0x380842(0x35c)](_0x2e5c49))return[];let _0x22d34d=_0x2e5c49[_0x380842(0x500)](Array[_0x380842(0x35c)]);if(_0x22d34d['length']>0x1&&_0x22d34d[_0x380842(0x46c)]===_0x2e5c49['length'])return _0x22d34d;let _0x3b9c0f=_0x2e5c49[_0x380842(0x1d1)](Array[_0x380842(0x35c)]);if(_0x3b9c0f>0x0&&_0x2e5c49[_0x380842(0x39c)](_0x3b9c0f)['every'](Array['isArray'])){let _0x31919b=_0x2e5c49['slice'](0x0,_0x3b9c0f);return _0x2e5c49['slice'](_0x3b9c0f)[_0x380842(0x2ef)](_0x754180=>[..._0x31919b,..._0x754180]);}let _0x248636=_0x2e5c49[_0x380842(0x4f4)](_0x380842(0x46b));if(_0x248636===-0x1||typeof _0x2e5c49[_0x248636+0x1]!=_0x380842(0x4ad))return[];let _0x35fa09=String(_0x2e5c49[_0x248636+0x1]),_0xa846c7=_0x2e5c49[_0x380842(0x39c)](_0x248636+0x2)[_0x380842(0x500)](Array[_0x380842(0x35c)]);return _0xa846c7[_0x380842(0x46c)]<=0x1?[]:_0xa846c7[_0x380842(0x2ef)](_0xa5e5ac=>[_0x380842(0x46b),_0x35fa09,..._0xa5e5ac]);}function _0x414be9(_0x3e5aa8){const _0x1bcf47=_0x4e3a72;let _0x95285e=new Set();return _0x3e5aa8[_0x1bcf47(0x500)](_0x369117=>{const _0x3c863c=_0x1bcf47;let _0x3419cb=JSON[_0x3c863c(0x2b1)](_0x369117);return _0x95285e[_0x3c863c(0x537)](_0x3419cb)?!0x1:(_0x95285e[_0x3c863c(0x4a8)](_0x3419cb),!0x0);});}function _0x59cae5(_0x32ab66){return _0x2a4b8a['Tools']['deepClone'](_0x32ab66);}function _0x1eeea5(_0x2f5c70,_0x2cf81b){const _0x38ff8a=_0x4e3a72;let _0x10e516=_0x756d23(_0x2cf81b);if(!_0x10e516[_0x38ff8a(0x46c)])return _0x59cae5(_0x2f5c70);let _0x2f271c=_0x3f773f(_0x2f5c70),_0x2c18e1=new Set();for(let _0x2c6cfd of _0x10e516)_0x219d42(_0x2f271c,_0x2c6cfd,_0x2c18e1);return _0x2f271c;}function _0x756d23(_0x2fa323){let _0x5e21d3=[];return _0x54655a(_0x2fa323,[],_0x5e21d3),_0x5e21d3;}function _0x54655a(_0x508337,_0x30b15b,_0x4776ef){const _0x5f5721=_0x4e3a72;if(!Array['isArray'](_0x508337))return;let _0x410b82=[];for(let _0x21fef2 of _0x508337){if(Array['isArray'](_0x21fef2)){_0x54655a(_0x21fef2,[..._0x30b15b,..._0x410b82],_0x4776ef);continue;}if(_0x3ff50f(_0x21fef2)){_0x4776ef[_0x5f5721(0x348)]([..._0x30b15b,..._0x410b82]);continue;}(typeof _0x21fef2==_0x5f5721(0x4ad)||typeof _0x21fef2==_0x5f5721(0x23b))&&_0x410b82[_0x5f5721(0x348)](_0x21fef2);}}function _0x3ff50f(_0x18aff9){const _0x2bb1c1=_0x4e3a72;if(!_0x18aff9||typeof _0x18aff9!=_0x2bb1c1(0x3e9)||Array[_0x2bb1c1(0x35c)](_0x18aff9))return!0x1;let _0x22e4fb=_0x18aff9;return'i'in _0x22e4fb||'r'in _0x22e4fb||'p'in _0x22e4fb||'d'in _0x22e4fb||'es'in _0x22e4fb||_0x2bb1c1(0x2bb)in _0x22e4fb||'et'in _0x22e4fb;}function _0x219d42(_0x1b5e68,_0x1aec2b,_0x132778){const _0x2c48d1=_0x4e3a72;let _0x19a14a=_0x1b5e68,_0x3d2365=[];for(let _0x2b40a0=0x0;_0x2b40a0<_0x1aec2b[_0x2c48d1(0x46c)]-0x1;_0x2b40a0++){let _0x1d4cda=_0x1aec2b[_0x2b40a0];_0x3d2365['push'](_0x1d4cda);let _0x3f120e=_0x53d034(_0x19a14a,_0x1d4cda);if(!_0x1aa342(_0x3f120e))return;let _0x5ac592=JSON[_0x2c48d1(0x2b1)](_0x3d2365);_0x132778['has'](_0x5ac592)||(_0x4fff21(_0x19a14a,_0x1d4cda,_0x3f773f(_0x3f120e)),_0x132778[_0x2c48d1(0x4a8)](_0x5ac592));let _0x17611e=_0x53d034(_0x19a14a,_0x1d4cda);if(!_0x1aa342(_0x17611e))return;_0x19a14a=_0x17611e;}}function _0x53d034(_0x4f057a,_0xf19f45){const _0x233116=_0x4e3a72;return Array[_0x233116(0x35c)](_0x4f057a)?typeof _0xf19f45==_0x233116(0x23b)?_0x4f057a[_0xf19f45]:void 0x0:Reflect[_0x233116(0x295)](_0x4f057a,_0xf19f45);}function _0x4fff21(_0x4887cd,_0x54f6c9,_0x38852c){const _0x56ea1d=_0x4e3a72;if(Array[_0x56ea1d(0x35c)](_0x4887cd)){typeof _0x54f6c9==_0x56ea1d(0x23b)&&(_0x4887cd[_0x54f6c9]=_0x38852c);return;}Reflect[_0x56ea1d(0x1b0)](_0x4887cd,_0x54f6c9,_0x38852c);}function _0x1aa342(_0x3e0452){const _0x54db13=_0x4e3a72;return!!_0x3e0452&&typeof _0x3e0452==_0x54db13(0x3e9);}function _0x3f773f(_0x4a7291){const _0x473d9c=_0x4e3a72;return Array['isArray'](_0x4a7291)?_0x4a7291[_0x473d9c(0x39c)]():{..._0x4a7291};}let _0x19039a=0x5a0*0x3c*0x3e8,_0x5e3ddd=0x63e1,_0x496ca8=_0x4e3a72(0x2f0),_0x4947c1=/\s+hh:mm\s*$/i,_0x4a4cbe={'yyyy/mm/dd':_0x4e3a72(0x1b7),'yyyy-mm-dd':_0x4e3a72(0x561),'mm-dd':_0x4e3a72(0x4ce),'mm/dd/yyyy':'MM/DD/YYYY','dd/mm/yyyy':_0x4e3a72(0x457),'mmm\x20d,\x20yyyy':'MMM\x20D,\x20YYYY'};function _0xc1645c(_0x5b9530){const _0xedc3fa=_0x4e3a72;return(0x0,_0x2a4b8a[_0xedc3fa(0x435)])(_0x5b9530)['valueOf']()/_0x19039a+_0x5e3ddd;}function _0x394676(_0x3a3f97){const _0x198333=_0x4e3a72;return Math[_0x198333(0x311)]((_0x3a3f97-_0x5e3ddd)*_0x19039a);}function _0x4c0a04(_0x207600){const _0x40e454=_0x4e3a72;if(_0x207600==null||_0x207600==='')return null;if(_0x207600 instanceof Date)return _0xc1645c(_0x207600);if(typeof _0x207600==_0x40e454(0x23b))return Number[_0x40e454(0x25a)](_0x207600)?_0x207600>0xf4240?_0xc1645c(_0x207600):_0x207600:null;let _0x257335=Date[_0x40e454(0x31e)](String(_0x207600));return Number['isNaN'](_0x257335)?null:_0xc1645c(_0x257335);}function _0x15584e(_0x3360dd){let _0x546e6e=_0x4c0a04(_0x3360dd);return _0x546e6e==null?null:_0x394676(_0x546e6e);}function _0x5b455d(_0x541b83={}){const _0x34e321=_0x4e3a72;let _0xd09423=String(_0x541b83[_0x34e321(0x277)]??_0x541b83[_0x34e321(0x4df)]??_0x541b83['dateFormat']??_0x496ca8)['trim']()||_0x496ca8,_0x3f94e3=_0x4947c1['test'](_0xd09423);return{'pattern':_0xd09423['replace'](_0x4947c1,'')||_0x496ca8,'includeTime':typeof _0x541b83[_0x34e321(0x4c0)]==_0x34e321(0x49b)?_0x541b83[_0x34e321(0x4c0)]:_0x3f94e3,'hourCycle':_0x541b83['hourCycle']==='h12'?_0x34e321(0x1e1):_0x34e321(0x409)};}function _0x59266e(_0x26ea8e={}){let {format:_0x39c724,dateFormat:_0x2e9f6f,..._0x190420}=_0x26ea8e;return{..._0x190420,..._0x5b455d(_0x26ea8e)};}function _0x433b49(_0x5ea922,_0x7c3ee6={}){const _0x17e5d0=_0x4e3a72;let _0x1d8c84=_0x15584e(_0x5ea922);if(_0x1d8c84==null||!Number[_0x17e5d0(0x25a)](_0x1d8c84))return'';let _0x599543=_0x5b455d(_0x7c3ee6);return(0x0,_0x2a4b8a['dateKit'])(_0x1d8c84)[_0x17e5d0(0x4df)](_0x76a6ba(_0x599543));}function _0x76a6ba(_0x269cd8){const _0x59e50e=_0x4e3a72;let {pattern:_0x4ef2bd,includeTime:_0x5b0d2e,hourCycle:_0xe516fe}=_0x269cd8,_0x1ec006=_0x4a4cbe[_0x4ef2bd]??_0x4a4cbe[_0x496ca8];return _0x5b0d2e?_0x1ec006+'\x20'+(_0xe516fe==='h12'?_0x59e50e(0x36d):_0x59e50e(0x365)):_0x1ec006;}let _0x3cc6da={'editable':!0x0,'sortable':!0x0,'filterable':!0x0,'groupable':!0x1,'usableAsKanbanGroup':!0x1,'usableAsCalendarDate':!0x1,'usableAsGanttStart':!0x1,'usableAsGanttEnd':!0x1,'usableAsGanttProgress':!0x1,'usableAsCardCover':!0x1,'usableAsTitle':!0x1},_0x4a7303=new Set([_0x2a4b8a[_0x4e3a72(0x1f7)][_0x4e3a72(0x1c0)]]),_0x39b3e1=0x5a0*0x3c*0x3e8;function _0x1b2c82(_0x138e28){const _0x55c63e=_0x4e3a72;switch(_0x138e28){case _0x2a4b8a[_0x55c63e(0x1f7)][_0x55c63e(0x31f)]:case _0x2a4b8a[_0x55c63e(0x1f7)]['Currency']:case _0x2a4b8a[_0x55c63e(0x1f7)]['Progress']:case _0x2a4b8a[_0x55c63e(0x1f7)][_0x55c63e(0x2ac)]:return[_0x2a4b8a[_0x55c63e(0x42a)]['IS'],_0x2a4b8a[_0x55c63e(0x42a)]['IS_NOT'],_0x2a4b8a[_0x55c63e(0x42a)]['GREATER_THAN'],_0x2a4b8a[_0x55c63e(0x42a)][_0x55c63e(0x28b)],_0x2a4b8a[_0x55c63e(0x42a)]['IS_EMPTY'],_0x2a4b8a['BaseConditionalColorOperator'][_0x55c63e(0x43d)]];case _0x2a4b8a[_0x55c63e(0x1f7)][_0x55c63e(0x34c)]:case _0x2a4b8a[_0x55c63e(0x1f7)][_0x55c63e(0x444)]:case _0x2a4b8a['BaseFieldType'][_0x55c63e(0x584)]:return[_0x2a4b8a[_0x55c63e(0x42a)]['IS'],_0x2a4b8a[_0x55c63e(0x42a)][_0x55c63e(0x4d9)],_0x2a4b8a[_0x55c63e(0x42a)][_0x55c63e(0x591)],_0x2a4b8a[_0x55c63e(0x42a)][_0x55c63e(0x505)],_0x2a4b8a[_0x55c63e(0x42a)][_0x55c63e(0x4e9)],_0x2a4b8a[_0x55c63e(0x42a)][_0x55c63e(0x43d)]];case _0x2a4b8a[_0x55c63e(0x1f7)]['Checkbox']:return[_0x2a4b8a['BaseConditionalColorOperator']['IS'],_0x2a4b8a['BaseConditionalColorOperator'][_0x55c63e(0x4d9)]];default:return[_0x2a4b8a[_0x55c63e(0x42a)]['IS'],_0x2a4b8a[_0x55c63e(0x42a)][_0x55c63e(0x4d9)],_0x2a4b8a['BaseConditionalColorOperator'][_0x55c63e(0x46f)],_0x2a4b8a['BaseConditionalColorOperator'][_0x55c63e(0x488)],_0x2a4b8a['BaseConditionalColorOperator'][_0x55c63e(0x4e9)],_0x2a4b8a[_0x55c63e(0x42a)][_0x55c63e(0x43d)]];}}function _0x2ca4be(_0x1271c4){const _0x5e6f22=_0x4e3a72;return _0x1271c4===_0x2a4b8a[_0x5e6f22(0x1f7)][_0x5e6f22(0x34c)]||_0x1271c4===_0x2a4b8a[_0x5e6f22(0x1f7)][_0x5e6f22(0x444)]||_0x1271c4===_0x2a4b8a[_0x5e6f22(0x1f7)][_0x5e6f22(0x584)];}function _0x12c17d(_0x5e0d75,_0x30e465){const _0x3ec804=_0x4e3a72;return _0x5e0d75==null&&_0x30e465==null?0x0:_0x5e0d75==null?-0x1:_0x30e465==null?0x1:typeof _0x5e0d75==_0x3ec804(0x23b)&&typeof _0x30e465==_0x3ec804(0x23b)?_0x5e0d75-_0x30e465:String(_0x5e0d75)['localeCompare'](String(_0x30e465));}function _0x492d1e(_0x338756,_0x51fc49,_0x5375ed,_0x3b955f,_0x150524={}){const _0x349ae6=_0x4e3a72;if(_0x51fc49===_0x349ae6(0x4c6))return _0xe6b26(_0x338756);if(_0x51fc49===_0x349ae6(0x578))return!_0xe6b26(_0x338756);switch(_0x3b955f['type']){case _0x2a4b8a[_0x349ae6(0x1f7)][_0x349ae6(0x31f)]:case _0x2a4b8a[_0x349ae6(0x1f7)][_0x349ae6(0x53a)]:case _0x2a4b8a[_0x349ae6(0x1f7)]['Progress']:case _0x2a4b8a[_0x349ae6(0x1f7)][_0x349ae6(0x2ac)]:return _0x463261(_0x338756,_0x51fc49,_0x5375ed);case _0x2a4b8a[_0x349ae6(0x1f7)][_0x349ae6(0x34c)]:case _0x2a4b8a[_0x349ae6(0x1f7)][_0x349ae6(0x444)]:case _0x2a4b8a['BaseFieldType'][_0x349ae6(0x584)]:return _0x299b80(_0x338756,_0x51fc49,_0x5375ed,_0x150524);case _0x2a4b8a[_0x349ae6(0x1f7)][_0x349ae6(0x50b)]:return _0x5d53cf(_0x338756,_0x51fc49,_0x5375ed);case _0x2a4b8a[_0x349ae6(0x1f7)][_0x349ae6(0x22f)]:case _0x2a4b8a[_0x349ae6(0x1f7)]['MultiSelect']:case _0x2a4b8a[_0x349ae6(0x1f7)]['Person']:case _0x2a4b8a[_0x349ae6(0x1f7)][_0x349ae6(0x26e)]:return _0x3cf793(_0x338756,_0x51fc49,_0x5375ed,_0x3b955f);default:return _0x4e5978(_0x338756,_0x51fc49,_0x5375ed);}}function _0xe6b26(_0x366db4){const _0x20b82b=_0x4e3a72;return _0x366db4==null?!0x0:Array['isArray'](_0x366db4)?_0x366db4['length']===0x0:typeof _0x366db4==_0x20b82b(0x4ad)&&_0x366db4[_0x20b82b(0x571)]()==='';}function _0x463261(_0x595aab,_0x778c41,_0x2da6d7){const _0x3a89f8=_0x4e3a72;let _0x207444=_0x235917(_0x595aab),_0x43e3be=_0x235917(_0x2da6d7);if(_0x207444==null||_0x43e3be==null)return!0x1;switch(_0x778c41){case'is':return _0x207444===_0x43e3be;case'isNot':return _0x207444!==_0x43e3be;case _0x3a89f8(0x29d):return _0x207444>_0x43e3be;case'greaterThanOrEqual':return _0x207444>=_0x43e3be;case _0x3a89f8(0x427):return _0x207444<_0x43e3be;case _0x3a89f8(0x21d):return _0x207444<=_0x43e3be;default:return!0x1;}}function _0x235917(_0x2b76a1){const _0x37100d=_0x4e3a72;if(_0x2b76a1==null||_0x2b76a1==='')return null;let _0x7692a4=Number(_0x2b76a1);return Number[_0x37100d(0x25a)](_0x7692a4)?_0x7692a4:null;}function _0x299b80(_0x51ea5c,_0x484cd2,_0x398d3e,_0x200e4d){const _0x1c1cbe=_0x4e3a72;let _0x3a2b0d=_0x20b782(_0x51ea5c);if(_0x3a2b0d==null)return!0x1;let _0x3642fc=_0x4ff548(_0x200e4d[_0x1c1cbe(0x522)]??_0x1c1cbe(0x263),_0x398d3e,_0x200e4d['now']);if(!_0x3642fc)return!0x1;switch(_0x484cd2){case'is':return _0x3a2b0d>=_0x3642fc['start']&&_0x3a2b0d<=_0x3642fc[_0x1c1cbe(0x208)];case'isNot':return _0x3a2b0d<_0x3642fc['start']||_0x3a2b0d>_0x3642fc[_0x1c1cbe(0x208)];case'before':return _0x3a2b0d<_0x3642fc[_0x1c1cbe(0x408)];case _0x1c1cbe(0x240):return _0x3a2b0d>_0x3642fc[_0x1c1cbe(0x208)];default:return!0x1;}}function _0x4ff548(_0xbbbc30,_0x211372,_0x2d569f=Date[_0x4e3a72(0x45a)]()){const _0x5b56df=_0x4e3a72;let _0x334e13=_0x1694ca(_0x2d569f);switch(_0xbbbc30){case'exact':{let _0x3dfe07=_0x20b782(_0x211372);return _0x3dfe07==null?null:{'start':_0x3dfe07,'end':_0x3dfe07+_0x39b3e1-0x1};}case _0x5b56df(0x2ea):return{'start':_0x334e13,'end':_0x334e13+_0x39b3e1-0x1};case _0x5b56df(0x2eb):return{'start':_0x334e13+_0x39b3e1,'end':_0x334e13+_0x39b3e1*0x2-0x1};case _0x5b56df(0x438):return{'start':_0x334e13-_0x39b3e1,'end':_0x334e13-0x1};case'thisWeek':return _0x10bde6(_0x334e13,0x0);case _0x5b56df(0x3ea):return _0x10bde6(_0x334e13,-0x1);case _0x5b56df(0x341):return _0x30eff1(_0x334e13,0x0);case'lastMonth':return _0x30eff1(_0x334e13,-0x1);case _0x5b56df(0x1c8):return{'start':_0x334e13-_0x39b3e1*0x6,'end':_0x334e13+_0x39b3e1-0x1};case'next7':return{'start':_0x334e13,'end':_0x334e13+_0x39b3e1*0x7-0x1};case _0x5b56df(0x2cf):return{'start':_0x334e13-_0x39b3e1*0x1d,'end':_0x334e13+_0x39b3e1-0x1};case _0x5b56df(0x34d):return{'start':_0x334e13,'end':_0x334e13+_0x39b3e1*0x1e-0x1};}}function _0x20b782(_0x5de4e8){let _0x33e63b=_0x4c0a04(_0x5de4e8);return _0x33e63b==null?null:_0x1694ca(_0x394676(_0x33e63b));}function _0x1694ca(_0x142c01){const _0x365eac=_0x4e3a72;let _0x47072e=new Date(_0x142c01);return _0x47072e[_0x365eac(0x58d)](0x0,0x0,0x0,0x0),_0x47072e[_0x365eac(0x565)]();}function _0x10bde6(_0xd413e1,_0x154281){const _0x156f55=_0x4e3a72;let _0x20d431=_0xd413e1-(new Date(_0xd413e1)[_0x156f55(0x47b)]()+0x6)%0x7*_0x39b3e1+_0x154281*_0x39b3e1*0x7;return{'start':_0x20d431,'end':_0x20d431+_0x39b3e1*0x7-0x1};}function _0x30eff1(_0x5a29e6,_0x37fe45){const _0xeadc13=_0x4e3a72;let _0x3854cd=new Date(_0x5a29e6),_0x5113f5=new Date(_0x3854cd['getFullYear'](),_0x3854cd['getMonth']()+_0x37fe45,0x1),_0x2d1d0e=new Date(_0x3854cd[_0xeadc13(0x536)](),_0x3854cd['getMonth']()+_0x37fe45+0x1,0x1);return{'start':_0x5113f5[_0xeadc13(0x565)](),'end':_0x2d1d0e['getTime']()-0x1};}function _0x5d53cf(_0x1ce888,_0x1bf42b,_0x35b1ed){let _0x2208d8=_0x5536a2(_0x1ce888),_0x20b3d6=_0x5536a2(_0x35b1ed);switch(_0x1bf42b){case'is':return _0x2208d8===_0x20b3d6;case'isNot':return _0x2208d8!==_0x20b3d6;default:return!0x1;}}function _0x5536a2(_0x54ce23){const _0x2900da=_0x4e3a72;return _0x54ce23===!0x0||_0x54ce23===_0x2900da(0x2d8)||_0x54ce23===0x1||_0x54ce23==='1';}function _0x3cf793(_0x379b69,_0x22d545,_0x3a897,_0x717687){const _0x237100=_0x4e3a72;let _0x3bc9a3=_0x1e9784(_0x379b69,_0x717687),_0x251fe7=_0x1e9784(_0x3a897,_0x717687),_0x4387ec=_0x251fe7[_0x237100(0x46c)]>0x0&&_0x251fe7['some'](_0x3c34df=>_0x3bc9a3['includes'](_0x3c34df));switch(_0x22d545){case'is':case _0x237100(0x323):return _0x4387ec;case _0x237100(0x448):case _0x237100(0x57a):return!_0x4387ec;default:return!0x1;}}function _0x4e5978(_0x126895,_0xcea21a,_0x1f79d9){const _0x4a119a=_0x4e3a72;let _0x38b336=_0x2f150a(_0x126895),_0x120b0e=_0x2f150a(_0x1f79d9);switch(_0xcea21a){case'is':return _0x38b336===_0x120b0e;case'isNot':return _0x38b336!==_0x120b0e;case _0x4a119a(0x323):return _0x120b0e?_0x38b336['includes'](_0x120b0e):!0x1;case _0x4a119a(0x57a):return!_0x120b0e||!_0x38b336['includes'](_0x120b0e);default:return!0x1;}}function _0x2f150a(_0x41ff39){const _0x2cd474=_0x4e3a72;if(Array[_0x2cd474(0x35c)](_0x41ff39))return _0x41ff39[_0x2cd474(0x2ef)](_0x448b31=>_0x2f150a(_0x448b31))[_0x2cd474(0x2fe)]('\x0a');if(_0x41ff39&&typeof _0x41ff39==_0x2cd474(0x3e9)){let _0x192a4c=_0x41ff39;return String(_0x192a4c[_0x2cd474(0x492)]??_0x192a4c[_0x2cd474(0x2ce)]??_0x192a4c[_0x2cd474(0x3ca)]??_0x192a4c['value']??_0x192a4c['id']??'')[_0x2cd474(0x571)]()[_0x2cd474(0x494)]();}return String(_0x41ff39??'')[_0x2cd474(0x571)]()['toLowerCase']();}function _0x1e9784(_0x40a915,_0x5c6c8b){const _0x57b772=_0x4e3a72;let _0x226c39=_0x5c6032(_0x40a915),_0x24d6ed=_0x1929c2(_0x5c6c8b[_0x57b772(0x3e8)]??{});return _0x226c39[_0x57b772(0x467)](_0x136766=>_0x24d6ed[_0x57b772(0x295)](_0x136766)??[_0x136766])[_0x57b772(0x500)]((_0xc263a,_0x1234c1,_0x3d23c1)=>_0xc263a!==''&&_0x3d23c1[_0x57b772(0x4f4)](_0xc263a)===_0x1234c1);}function _0x5c6032(_0xb95797){const _0x580c26=_0x4e3a72;if(_0xb95797==null||_0xb95797==='')return[];if(Array[_0x580c26(0x35c)](_0xb95797))return _0xb95797['flatMap'](_0x51778c=>_0x5c6032(_0x51778c));if(_0xb95797&&typeof _0xb95797==_0x580c26(0x3e9)){let _0x1b02eb=_0xb95797;return['id',_0x580c26(0x492),_0x580c26(0x2ce),_0x580c26(0x32f),'text'][_0x580c26(0x467)](_0x284203=>_0x5c6032(_0x1b02eb[_0x284203]))[_0x580c26(0x500)]((_0x525f4c,_0x2eb9c9,_0x1e7135)=>_0x1e7135[_0x580c26(0x4f4)](_0x525f4c)===_0x2eb9c9);}return[_0x2f150a(_0xb95797)];}function _0x1929c2(_0x793ff6){const _0x56b392=_0x4e3a72;let _0x4b79eb=new Map();return(Array['isArray'](_0x793ff6[_0x56b392(0x22d)])?_0x793ff6['options']:[])[_0x56b392(0x3ad)](_0xdc4490=>{const _0x554764=_0x56b392;if(!_0xdc4490||typeof _0xdc4490!=_0x554764(0x3e9))return;let _0x56fe57=_0x5c6032(_0xdc4490),_0x132d0e=_0x56fe57[_0x554764(0x500)]((_0x1c8a84,_0xbf401c)=>_0x1c8a84!==''&&_0x56fe57[_0x554764(0x4f4)](_0x1c8a84)===_0xbf401c);_0x132d0e[_0x554764(0x3ad)](_0x3a90e0=>_0x4b79eb[_0x554764(0x1b0)](_0x3a90e0,_0x132d0e));}),_0x4b79eb;}function _0x34d478(_0x35c0f7,_0x3095df={},_0x3e8463=_0x5a6166=>_0x5a6166,_0x1f3f52={}){const _0x15349d=_0x4e3a72;let _0x2882b6=!_0x4a7303[_0x15349d(0x537)](_0x35c0f7),_0xb1da96=_0x3e8463??(_0x1eca41=>_0x1eca41);return{'type':_0x35c0f7,'i18nKey':_0x15349d(0x1bc)+_0x35c0f7,'enabled':_0x2882b6,'visibleInCreateMenu':_0x2882b6,'createDefaultConfig':_0x1f3f52[_0x15349d(0x42f)]??(()=>({})),'createDefaultValue':_0x1f3f52['createDefaultValue']??(_0x15608e=>_0x15608e['defaultValue']??null),'normalize':(_0x7ba516,_0x31429a)=>_0xb1da96(_0x7ba516,_0x31429a),'validate':(_0x49abff,_0x497b74)=>{const _0xd11fa3=_0x15349d;var _0x50cd87;return _0x2882b6?((_0x50cd87=_0x1f3f52['validate'])==null?void 0x0:_0x50cd87[_0xd11fa3(0x3ac)](_0x1f3f52,_0x49abff,_0x497b74))??{'valid':!0x0}:{'valid':!0x1};},'compare':(_0x5e5e1b,_0x5cb2d4)=>_0x12c17d(_0x5e5e1b,_0x5cb2d4),'filter':(_0x194d92,_0x145a0e,_0x3e16fd,_0x4693b1)=>_0x492d1e(_0x194d92,_0x145a0e,_0x3e16fd,_0x4693b1),'toPlainText':_0x1f3f52[_0x15349d(0x33c)]??(_0x243af7=>_0x243af7==null?'':String(_0x243af7)),'fromPlainText':_0x1f3f52['fromPlainText']??(_0x312d4b=>_0xb1da96(_0x312d4b,{'id':'','name':'','type':_0x35c0f7,'config':{}})),'getCapabilities':()=>({..._0x3cc6da,..._0x3095df,'editable':_0x2882b6&&(_0x3095df[_0x15349d(0x205)]??_0x3cc6da[_0x15349d(0x205)])})};}function _0x11ede0(){const _0x2ee3b3=_0x4e3a72;return[_0x34d478(_0x2a4b8a[_0x2ee3b3(0x1f7)][_0x2ee3b3(0x575)],{'groupable':!0x0,'usableAsTitle':!0x0},void 0x0,{'createDefaultConfig':()=>({'placeholder':_0x2ee3b3(0x24b)}),'createDefaultValue':_0x25856a=>_0x25856a[_0x2ee3b3(0x50a)]??''}),_0x34d478(_0x2a4b8a[_0x2ee3b3(0x1f7)]['SingleSelect'],{'groupable':!0x0,'usableAsKanbanGroup':!0x0,'supportsOptions':!0x0},_0x1a1928=>_0x1a1928==null||_0x1a1928===''?null:String(_0x1a1928),{'createDefaultConfig':()=>({'options':[],'optionSource':{'type':_0x2ee3b3(0x53d)}})}),_0x34d478(_0x2a4b8a[_0x2ee3b3(0x1f7)][_0x2ee3b3(0x336)],{'filterable':!0x0,'usableAsKanbanGroup':!0x0,'supportsOptions':!0x0,'supportsMultipleValues':!0x0},_0x577c70=>Array[_0x2ee3b3(0x35c)](_0x577c70)?_0x577c70['map'](String):_0x577c70==null?[]:[String(_0x577c70)],{'createDefaultConfig':()=>({'options':[],'optionSource':{'type':_0x2ee3b3(0x53d)}}),'createDefaultValue':_0x4f49da=>_0x4f49da[_0x2ee3b3(0x50a)]??[]}),_0x34d478(_0x2a4b8a[_0x2ee3b3(0x1f7)][_0x2ee3b3(0x340)],{'groupable':!0x0,'usableAsKanbanGroup':!0x0,'supportsMultipleValues':!0x0},_0x2c94c9,{'createDefaultConfig':()=>({'allowMultiple':!0x1,'provider':_0x2ee3b3(0x2e1)}),'validate':_0x3005fd}),_0x34d478(_0x2a4b8a[_0x2ee3b3(0x1f7)][_0x2ee3b3(0x26e)],{'groupable':!0x0,'usableAsKanbanGroup':!0x0,'supportsMultipleValues':!0x0},_0xfac5db,{'createDefaultConfig':()=>({'allowMultiple':!0x0,'provider':_0x2ee3b3(0x48a)}),'createDefaultValue':_0x342e47=>_0x342e47[_0x2ee3b3(0x50a)]??[],'validate':_0x3c306e}),_0x34d478(_0x2a4b8a['BaseFieldType'][_0x2ee3b3(0x34c)],{'groupable':!0x0,'usableAsCalendarDate':!0x0,'usableAsGanttStart':!0x0,'usableAsGanttEnd':!0x0},_0x1dffdd=>_0x4c0a04(_0x1dffdd),{'createDefaultConfig':()=>_0x1f7043(),'validate':_0x1913e9}),_0x34d478(_0x2a4b8a[_0x2ee3b3(0x1f7)][_0x2ee3b3(0x4a1)],{'usableAsCardCover':!0x0,'supportsMultipleValues':!0x0},_0x564daa=>_0x564daa==null?[]:Array[_0x2ee3b3(0x35c)](_0x564daa)?_0x564daa:[_0x564daa],{'createDefaultValue':_0x2c8282=>_0x2c8282[_0x2ee3b3(0x50a)]??[]}),_0x34d478(_0x2a4b8a[_0x2ee3b3(0x1f7)]['Number'],{},_0x1a67e0=>_0x1a67e0==null||_0x1a67e0===''?null:Number(_0x1a67e0),{'createDefaultConfig':()=>_0x3cc050(),'validate':_0x6b0e1e}),_0x34d478(_0x2a4b8a[_0x2ee3b3(0x1f7)][_0x2ee3b3(0x50b)],{'groupable':!0x0,'usableAsKanbanGroup':!0x0},_0x4b15e7=>_0x4b15e7===!0x0||_0x4b15e7===_0x2ee3b3(0x2d8)||_0x4b15e7===0x1||_0x4b15e7==='1',{'createDefaultConfig':()=>({'icon':_0x2ee3b3(0x3c8),'color':_0x2ee3b3(0x3ae)}),'createDefaultValue':_0x2e5ba6=>_0x2e5ba6[_0x2ee3b3(0x50a)]??!0x1,'validate':_0x3c37dd=>typeof _0x3c37dd==_0x2ee3b3(0x49b)?{'valid':!0x0}:{'valid':!0x1,'reason':'[BaseField]:\x20invalid\x20checkbox\x20value.'}}),_0x34d478(_0x2a4b8a[_0x2ee3b3(0x1f7)][_0x2ee3b3(0x276)],{'supportsRelation':!0x0},_0x5df26e,{'createDefaultConfig':()=>({'placeholder':_0x2ee3b3(0x3a1)}),'toPlainText':_0xb0e626=>_0x348cb3(_0xb0e626),'fromPlainText':_0x5e0af2=>_0x5df26e(_0x5e0af2)}),_0x34d478(_0x2a4b8a[_0x2ee3b3(0x1f7)][_0x2ee3b3(0x367)],{'editable':!0x1},void 0x0,{'createDefaultConfig':()=>({'formula':'','dependencies':[],'numfmt':{'type':'general','pattern':_0x2ee3b3(0x20c)}}),'createDefaultValue':()=>null}),_0x34d478(_0x2a4b8a['BaseFieldType'][_0x2ee3b3(0x55a)],{'editable':!0x1,'usableAsTitle':!0x0},void 0x0,{'createDefaultConfig':()=>({'mode':_0x2ee3b3(0x282)}),'createDefaultValue':()=>null}),_0x34d478(_0x2a4b8a[_0x2ee3b3(0x1f7)]['Phone'],{'usableAsTitle':!0x0},_0x113dfd=>_0x113dfd==null?null:String(_0x113dfd)[_0x2ee3b3(0x571)](),{'validate':_0x47656c=>_0x47656c==null||_0x47656c===''||/^\+?[0-9 ()-]{6,20}$/[_0x2ee3b3(0x432)](String(_0x47656c))?{'valid':!0x0}:{'valid':!0x1,'reason':_0x2ee3b3(0x479)}}),_0x34d478(_0x2a4b8a[_0x2ee3b3(0x1f7)][_0x2ee3b3(0x32e)],{'usableAsTitle':!0x0},_0x5f26a6=>_0x5f26a6==null?null:String(_0x5f26a6)[_0x2ee3b3(0x571)](),{'validate':_0x4ee5dd=>_0x4ee5dd==null||_0x4ee5dd===''||_0x379887(String(_0x4ee5dd))?{'valid':!0x0}:{'valid':!0x1,'reason':_0x2ee3b3(0x4fc)}}),_0x34d478(_0x2a4b8a[_0x2ee3b3(0x1f7)]['Progress'],{'usableAsGanttProgress':!0x0},_0x5d4e99=>_0x5d4e99==null||_0x5d4e99===''?null:Number(_0x5d4e99),{'createDefaultConfig':()=>({'format':_0x2ee3b3(0x41b),'decimalPlaces':0x0,'color':_0x2ee3b3(0x523),'customRange':!0x1,'start':0x0,'end':0x64}),'validate':(_0x5cf6b2,_0x4d6942)=>_0x5d2eca(_0x5cf6b2,_0x4d6942,_0x2ee3b3(0x227))}),_0x34d478(_0x2a4b8a['BaseFieldType'][_0x2ee3b3(0x53a)],{},_0x2c23d9=>_0x2c23d9==null||_0x2c23d9===''?null:Number(_0x2c23d9),{'createDefaultConfig':()=>({..._0x3cc050(),'currencySymbol':'$'}),'validate':_0x6b0e1e}),_0x34d478(_0x2a4b8a[_0x2ee3b3(0x1f7)]['Rating'],{'groupable':!0x0,'usableAsKanbanGroup':!0x0},_0x54f6a0=>_0x54f6a0==null||_0x54f6a0===''?null:Number(_0x54f6a0),{'createDefaultConfig':()=>({'icon':_0x2ee3b3(0x27d),'min':0x1,'max':0x5}),'createDefaultValue':()=>null,'validate':(_0x5681cb,_0x587ba9)=>_0x5d2eca(_0x5681cb,_0x587ba9,_0x2ee3b3(0x540))}),_0x34d478(_0x2a4b8a[_0x2ee3b3(0x1f7)][_0x2ee3b3(0x37c)],{'supportsRelation':!0x0,'supportsMultipleValues':!0x0},_0x42d756,{'createDefaultConfig':()=>({'targetTableId':'','multiple':!0x1}),'createDefaultValue':()=>'','validate':(_0x336833,_0x231318)=>_0x48cc92(_0x336833,_0x231318['config'][_0x2ee3b3(0x27b)]===!0x0)}),_0x34d478(_0x2a4b8a['BaseFieldType']['RecordId'],{'editable':!0x1,'sortable':!0x0,'filterable':!0x0,'usableAsTitle':!0x0}),_0x34d478(_0x2a4b8a['BaseFieldType']['CreatedBy'],{'editable':!0x1,'groupable':!0x0},_0x39aa77=>_0x39aa77==null?null:String(_0x39aa77),{'createDefaultConfig':()=>({'provider':_0x2ee3b3(0x30c)}),'createDefaultValue':()=>null}),_0x34d478(_0x2a4b8a[_0x2ee3b3(0x1f7)][_0x2ee3b3(0x1d2)],{'editable':!0x1,'groupable':!0x0},_0x304ebe=>_0x304ebe==null?null:String(_0x304ebe),{'createDefaultConfig':()=>({'provider':_0x2ee3b3(0x30c)}),'createDefaultValue':()=>null}),_0x34d478(_0x2a4b8a['BaseFieldType'][_0x2ee3b3(0x444)],{'editable':!0x1,'usableAsCalendarDate':!0x0,'usableAsGanttStart':!0x0,'usableAsGanttEnd':!0x0},_0x11a498=>_0x4c0a04(_0x11a498),{'createDefaultConfig':()=>_0x1f7043(),'createDefaultValue':()=>null,'validate':_0x1913e9}),_0x34d478(_0x2a4b8a[_0x2ee3b3(0x1f7)]['UpdatedAt'],{'editable':!0x1,'usableAsCalendarDate':!0x0,'usableAsGanttStart':!0x0,'usableAsGanttEnd':!0x0},_0x5c8e4b=>_0x4c0a04(_0x5c8e4b),{'createDefaultConfig':()=>_0x1f7043(),'createDefaultValue':()=>null,'validate':_0x1913e9})];}function _0x3cc050(){const _0x436acd=_0x4e3a72;return{'pattern':'#,##0.00','decimalPlaces':0x2,'separatorStyle':_0x436acd(0x317),'useThousands':!0x0,'abbreviation':'none','allowNegative':!0x0};}function _0x1f7043(){const _0x217e7e=_0x4e3a72;return{'locale':'en-US','pattern':_0x217e7e(0x2f0),'includeTime':!0x1,'hourCycle':_0x217e7e(0x409),'defaultMode':_0x217e7e(0x201)};}function _0xfac5db(_0xca5b8c){const _0x130629=_0x4e3a72;return _0xca5b8c==null||_0xca5b8c===''?[]:Array[_0x130629(0x35c)](_0xca5b8c)?_0xca5b8c[_0x130629(0x2ef)](String):[String(_0xca5b8c)];}function _0x42d756(_0x4b3c70){return typeof _0x4b3c70=='string'?_0x4b3c70:'';}function _0x2c94c9(_0x210c63,_0x2d9632){const _0x549d37=_0x4e3a72;return _0x210c63==null||_0x210c63===''?_0x2d9632[_0x549d37(0x3e8)]['allowMultiple']===!0x0?[]:null:_0x2d9632['config'][_0x549d37(0x2b2)]===!0x0?Array['isArray'](_0x210c63)?_0x210c63[_0x549d37(0x2ef)](String):[String(_0x210c63)]:Array[_0x549d37(0x35c)](_0x210c63)?String(_0x210c63[0x0]??'')||null:String(_0x210c63);}function _0x3005fd(_0x2637e7,_0x219d9c){const _0x2301f6=_0x4e3a72;return _0x219d9c['config'][_0x2301f6(0x2b2)]===!0x0?_0x3c306e(_0x2637e7):_0x2637e7==null||_0x2637e7===''||typeof _0x2637e7==_0x2301f6(0x4ad)?{'valid':!0x0}:{'valid':!0x1,'reason':_0x2301f6(0x28d)};}function _0x3c306e(_0x4c1186){const _0x302236=_0x4e3a72;return _0x4c1186==null||Array[_0x302236(0x35c)](_0x4c1186)&&_0x4c1186[_0x302236(0x4af)](_0x41ab01=>typeof _0x41ab01==_0x302236(0x4ad))?{'valid':!0x0}:{'valid':!0x1,'reason':_0x302236(0x223)};}function _0x1913e9(_0x2f3ab0){const _0x4ca162=_0x4e3a72;return _0x2f3ab0==null||typeof _0x2f3ab0==_0x4ca162(0x23b)&&Number[_0x4ca162(0x25a)](_0x2f3ab0)?{'valid':!0x0}:{'valid':!0x1,'reason':_0x4ca162(0x1fd)};}function _0x6b0e1e(_0x184a84,_0x14581c){const _0x2cc32d=_0x4e3a72;return _0x184a84==null||_0x184a84===''?{'valid':!0x0}:typeof _0x184a84!='number'||!Number[_0x2cc32d(0x25a)](_0x184a84)?{'valid':!0x1,'reason':_0x2cc32d(0x1f4)}:_0x14581c['config'][_0x2cc32d(0x3d1)]===!0x1&&_0x184a84<0x0?{'valid':!0x1,'reason':_0x2cc32d(0x512)}:{'valid':!0x0};}function _0x5d2eca(_0x4aaacc,_0x43c321,_0x390c43){const _0x5c6d48=_0x4e3a72;let _0x240564=_0x6b0e1e(_0x4aaacc,_0x43c321);if(!_0x240564['valid']||_0x4aaacc==null||_0x4aaacc==='')return _0x240564;let _0x2eb32d=Number(_0x43c321[_0x5c6d48(0x3e8)]['min']??_0x43c321['config'][_0x5c6d48(0x408)]??0x0),_0x1b9574=Number(_0x43c321[_0x5c6d48(0x3e8)]['max']??_0x43c321[_0x5c6d48(0x3e8)][_0x5c6d48(0x208)]??0x64),_0xc02967=Number(_0x4aaacc);return _0xc02967>=_0x2eb32d&&_0xc02967<=_0x1b9574?{'valid':!0x0}:{'valid':!0x1,'reason':_0x390c43};}function _0x5df26e(_0x11b3a9){const _0x557472=_0x4e3a72;if(_0x11b3a9==null||_0x11b3a9==='')return null;if(typeof _0x11b3a9==_0x557472(0x3e9)&&!Array[_0x557472(0x35c)](_0x11b3a9)){let _0x70f358=_0x11b3a9,_0xc34ec8=typeof _0x70f358[_0x557472(0x3ca)]==_0x557472(0x4ad)?_0x70f358['text'][_0x557472(0x571)]():'',_0x10e183=typeof _0x70f358[_0x557472(0x2c7)]==_0x557472(0x4ad)?_0x70f358['url'][_0x557472(0x571)]():'',_0x5e614c=_0x1ad119(_0x10e183||_0xc34ec8);return _0x5e614c?{'text':_0xc34ec8||_0x10e183||_0x5e614c,'url':_0x5e614c}:null;}let _0x107c66=String(_0x11b3a9)[_0x557472(0x571)](),_0x5c8475=_0x1ad119(_0x107c66);return _0x5c8475?{'text':_0x107c66,'url':_0x5c8475}:null;}function _0x348cb3(_0x5cdb9b){const _0x346124=_0x4e3a72;if(_0x5cdb9b==null)return'';if(typeof _0x5cdb9b==_0x346124(0x3e9)&&!Array[_0x346124(0x35c)](_0x5cdb9b)){let _0x34f876=_0x5cdb9b;return String(_0x34f876[_0x346124(0x3ca)]||_0x34f876[_0x346124(0x2c7)]||'');}return String(_0x5cdb9b);}function _0x1ad119(_0xa31cc5){const _0x4f8ee4=_0x4e3a72;let _0x5bab5b=_0xa31cc5[_0x4f8ee4(0x571)]();if(!_0x5bab5b)return'';let _0x40f665=/^[a-z][a-z\d+.-]*:/i[_0x4f8ee4(0x432)](_0x5bab5b)?_0x5bab5b:_0x5bab5b[_0x4f8ee4(0x420)]('//')?'https:'+_0x5bab5b:_0x4f8ee4(0x546)+_0x5bab5b;try{let _0x2ac50e=new URL(_0x40f665);return _0x2ac50e[_0x4f8ee4(0x2d4)]===_0x4f8ee4(0x231)||_0x2ac50e[_0x4f8ee4(0x2d4)]===_0x4f8ee4(0x262)?_0x2ac50e[_0x4f8ee4(0x279)]:'';}catch{return'';}}function _0x379887(_0x3a8412){const _0x319dd4=_0x4e3a72;let _0x28a300=_0x3a8412['indexOf']('@');if(_0x28a300<=0x0||_0x28a300!==_0x3a8412['lastIndexOf']('@'))return!0x1;let _0xbda43b=_0x3a8412[_0x319dd4(0x39c)](_0x28a300+0x1);return _0xbda43b[_0x319dd4(0x1a7)]('.')&&!_0x3a8412[_0x319dd4(0x1a7)]('\x20')&&!_0xbda43b[_0x319dd4(0x420)]('.')&&!_0xbda43b[_0x319dd4(0x3a7)]('.');}let _0x285d10={'table':_0x1417b0=>[_0x4e3a72(0x46b),_0x1417b0],'field':(_0x19131e,_0x4626f3)=>[_0x4e3a72(0x46b),_0x19131e,'fields',_0x4626f3],'fieldOrder':(_0x5a9475,_0x394d4d)=>['tables',_0x5a9475,'fieldOrder',_0x394d4d],'record':(_0x2c89da,_0x53f020)=>[_0x4e3a72(0x46b),_0x2c89da,_0x4e3a72(0x54e),_0x53f020],'cell':(_0x2f9382,_0x51990b,_0x54fda4)=>['tables',_0x2f9382,_0x4e3a72(0x54e),_0x51990b,_0x4e3a72(0x462),_0x54fda4],'cellData':(_0x593c37,_0x1b4fe5,_0x2c3518)=>[_0x4e3a72(0x46b),_0x593c37,_0x4e3a72(0x380),String(_0x1b4fe5),String(_0x2c3518)],'attachmentSet':(_0x4bc9f2,_0x32f6db)=>[_0x4e3a72(0x46b),_0x4bc9f2,_0x4e3a72(0x32c),'attachmentSets',_0x32f6db],'attachment':(_0x325112,_0x4db0b4)=>[_0x4e3a72(0x46b),_0x325112,'resources',_0x4e3a72(0x370),_0x4db0b4],'view':(_0x1dde70,_0x315c39)=>[_0x4e3a72(0x46b),_0x1dde70,_0x4e3a72(0x1b4),_0x315c39],'viewFieldHidden':(_0x250b38,_0x17441b,_0x36fc86)=>[_0x4e3a72(0x46b),_0x250b38,_0x4e3a72(0x1b4),_0x17441b,_0x4e3a72(0x1e2),_0x36fc86,'hidden']};var _0x5a8274=class{[_0x4e3a72(0x349)](_0x1edba6,_0xc25fd3){const _0x3fc4e6=_0x4e3a72;let _0x301438=this[_0x3fc4e6(0x567)](_0x1edba6,_0x1edba6[_0x3fc4e6(0x492)],_0xc25fd3);return _0xc44ded([this[_0x3fc4e6(0x3da)]([_0x3fc4e6(0x492)],_0x1edba6[_0x3fc4e6(0x492)],_0xc25fd3),..._0x301438?[_0x301438]:[]]);}[_0x4e3a72(0x567)](_0x352bed,_0x484aaa,_0x55cd13){const _0x183531=_0x4e3a72;let _0x2def19=Object[_0x183531(0x462)](_0x352bed['tables'])['flatMap'](_0x49d005=>Object[_0x183531(0x462)](_0x49d005[_0x183531(0x3c4)])[_0x183531(0x467)](_0x3a027f=>{const _0xe6a14a=_0x183531;var _0x1c4bc6,_0x2e7f43;if(_0x3a027f[_0xe6a14a(0x3a3)]!==_0x2a4b8a[_0xe6a14a(0x1f7)][_0xe6a14a(0x367)])return[];let _0x1c113c=String(((_0x1c4bc6=_0x3a027f['config'])==null?void 0x0:_0x1c4bc6[_0xe6a14a(0x484)])??''),_0x13bd7e=(0x0,_0x58b161[_0xe6a14a(0x3d7)])(_0x1c113c,_0x484aaa,_0x55cd13);return _0x13bd7e===_0x1c113c?[]:[this[_0xe6a14a(0x3da)]([..._0x285d10[_0xe6a14a(0x344)](_0x49d005['id'],_0x3a027f['id']),'config',_0xe6a14a(0x484)],(_0x2e7f43=_0x3a027f[_0xe6a14a(0x3e8)])==null?void 0x0:_0x2e7f43['formula'],_0x13bd7e)];}));return _0x2def19[_0x183531(0x46c)]>0x0?_0xc44ded(_0x2def19):void 0x0;}['createTable'](_0x4b068d,_0x157085,_0x212895=_0x4b068d['tableOrder'][_0x4e3a72(0x46c)]){const _0x32994d=_0x4e3a72;let _0x33b3ee=(0x0,_0x2a4b8a[_0x32994d(0x52a)])(_0x157085[_0x32994d(0x492)],(0x0,_0x2a4b8a[_0x32994d(0x1ed)])(_0x4b068d)[_0x32994d(0x462)](),_0x157085[_0x32994d(0x422)]),_0x3cd5fd=_0x157085[_0x32994d(0x422)]===_0x33b3ee?_0x157085:{..._0x157085,'formulaName':_0x33b3ee};return _0xc44ded([...this[_0x32994d(0x2f9)](_0x4b068d),_0x2a4b8a[_0x32994d(0x288)]['insertOp'](_0x285d10[_0x32994d(0x577)](_0x157085['id']),_0x3cd5fd),_0x2a4b8a[_0x32994d(0x288)]['insertOp']([_0x32994d(0x3a0),_0x212895],_0x157085['id'])]);}['renameTable'](_0x49073c,_0x5764d9,_0x2b2876){const _0x58dbfc=_0x4e3a72;let _0x501670=_0x49073c[_0x58dbfc(0x46b)][_0x5764d9];return _0xc44ded([...this[_0x58dbfc(0x2f9)](_0x49073c),_0x2a4b8a[_0x58dbfc(0x288)][_0x58dbfc(0x3d0)]([..._0x285d10[_0x58dbfc(0x577)](_0x5764d9),_0x58dbfc(0x492)],_0x501670[_0x58dbfc(0x492)],_0x2b2876)]);}[_0x4e3a72(0x1f9)](_0x405d4d,_0xaa03c5){const _0x303169=_0x4e3a72;let _0x578354=_0x405d4d[_0x303169(0x46b)][_0xaa03c5],_0x2112ec=_0x405d4d[_0x303169(0x3a0)][_0x303169(0x4f4)](_0xaa03c5);return _0xc44ded([...this[_0x303169(0x2f9)](_0x405d4d,new Set([_0xaa03c5])),_0x2a4b8a[_0x303169(0x288)][_0x303169(0x39e)](_0x285d10[_0x303169(0x577)](_0xaa03c5),_0x578354),_0x2a4b8a[_0x303169(0x288)][_0x303169(0x39e)](['tableOrder',_0x2112ec],_0xaa03c5)]);}[_0x4e3a72(0x477)](_0x3aece7,_0x4a939f,_0x13493a){const _0x4a096a=_0x4e3a72;return this[_0x4a096a(0x36a)](_0x3aece7,_0x4a939f,[_0x13493a]);}[_0x4e3a72(0x36a)](_0x2a26b7,_0x5a8887,_0x4aa314){const _0x17f786=_0x4e3a72;let _0x191f9c=_0x2a26b7[_0x17f786(0x46b)][_0x5a8887],_0x50384f=_0x4aa314[_0x17f786(0x500)](_0x221934=>_0x221934&&!_0x191f9c[_0x17f786(0x54e)][_0x221934['id']])[_0x17f786(0x2ef)](_0x58bf91=>({..._0x58bf91,'values':{..._0x58bf91[_0x17f786(0x462)],[_0x2a4b8a[_0x17f786(0x32a)]]:_0x58bf91['id']}}));if(!_0x50384f[_0x17f786(0x46c)])return _0x2a4b8a[_0x17f786(0x288)]['replaceOp']([..._0x285d10[_0x17f786(0x577)](_0x5a8887),_0x17f786(0x54e)],_0x191f9c['records'],_0x191f9c[_0x17f786(0x54e)]);let _0x5798e0=new _0x2a4b8a['JSON1'][(_0x17f786(0x226))](),_0x598b30=[..._0x50384f][_0x17f786(0x2da)]((_0x41a93d,_0xa1b7d3)=>_0x41a93d['id']<_0xa1b7d3['id']?-0x1:+(_0x41a93d['id']>_0xa1b7d3['id'])),_0x4635f0=[..._0x285d10[_0x17f786(0x577)](_0x5a8887),'records'];_0x5798e0[_0x17f786(0x322)](_0x4635f0);for(let _0x21b0ec of _0x598b30)_0x5798e0['descend'](_0x21b0ec['id']),_0x5798e0[_0x17f786(0x4f9)]('i',_0x21b0ec),_0x5798e0['ascend']();for(let _0x505fba=0x0;_0x505fba<_0x4635f0[_0x17f786(0x46c)];_0x505fba+=0x1)_0x5798e0[_0x17f786(0x38c)]();return _0xc44ded([_0x5798e0[_0x17f786(0x295)](),this[_0x17f786(0x34a)](_0x2a26b7,_0x5a8887,_0x50384f)]);}[_0x4e3a72(0x514)](_0xd884bc,_0x3ccb04,_0x1268a2){return this['deleteRecords'](_0xd884bc,_0x3ccb04,[_0x1268a2]);}[_0x4e3a72(0x35b)](_0x1bfbfb,_0x972212,_0x472c10){const _0x28ac6a=_0x4e3a72;let _0x1260bd=_0x1bfbfb[_0x28ac6a(0x46b)][_0x972212],_0x51e1ba=Array[_0x28ac6a(0x221)](new Set(_0x472c10))[_0x28ac6a(0x500)](_0x1936d1=>_0x1260bd[_0x28ac6a(0x54e)][_0x1936d1]);if(!_0x51e1ba[_0x28ac6a(0x46c)])return _0x2a4b8a[_0x28ac6a(0x288)][_0x28ac6a(0x3d0)]([..._0x285d10[_0x28ac6a(0x577)](_0x972212),_0x28ac6a(0x54e)],_0x1260bd['records'],_0x1260bd[_0x28ac6a(0x54e)]);let _0x2b8948=new Set(_0x51e1ba),_0x210260=_0x59b653(_0x1260bd,_0x51e1ba)[_0x28ac6a(0x2ef)](_0x2929e1=>this[_0x28ac6a(0x473)](_0x1bfbfb,_0x972212,_0x2929e1[_0x28ac6a(0x549)],_0x2929e1[_0x28ac6a(0x1b3)],'')),_0x4032fa=_0x51e1ba['map'](_0x1f9868=>{const _0x1ebcf7=_0x28ac6a;var _0x348f57;return{'recordId':_0x1f9868,'index':((_0x348f57=_0x1260bd[_0x1ebcf7(0x531)])==null?void 0x0:_0x348f57[_0x1ebcf7(0x4f4)](_0x1f9868))??-0x1};})[_0x28ac6a(0x500)](_0x1a21e6=>_0x1a21e6[_0x28ac6a(0x4a4)]>=0x0)['sort']((_0x415777,_0x2c32b9)=>_0x2c32b9[_0x28ac6a(0x4a4)]-_0x415777[_0x28ac6a(0x4a4)]);return _0xc44ded([..._0x51e1ba[_0x28ac6a(0x2ef)](_0x23e395=>_0x2a4b8a['JSON1'][_0x28ac6a(0x39e)](_0x285d10[_0x28ac6a(0x4c4)](_0x972212,_0x23e395),_0x1260bd[_0x28ac6a(0x54e)][_0x23e395])),..._0x4032fa[_0x28ac6a(0x2ef)](({recordId:_0x5d3378,index:_0x5c5e96})=>_0x2a4b8a[_0x28ac6a(0x288)]['removeOp']([_0x28ac6a(0x46b),_0x972212,_0x28ac6a(0x531),_0x5c5e96],_0x5d3378)),..._0x210260,...this[_0x28ac6a(0x42b)](_0x1260bd,_0x972212,_0x5d8f0a=>{const _0x1e4a39=_0x28ac6a;let _0x2c7f53=_0x5d8f0a[_0x1e4a39(0x39c)](_0x5d8f0a[_0x1e4a39(0x55e)]('\x1f')+0x1);return _0x2b8948[_0x1e4a39(0x537)](_0x2c7f53);})]);}[_0x4e3a72(0x583)](_0x254c7d,_0x495239,_0x5db15a,_0x280032){const _0x454e7d=_0x4e3a72;return this[_0x454e7d(0x477)](_0x254c7d,_0x495239,{..._0x280032,'values':{..._0x254c7d[_0x454e7d(0x46b)][_0x495239][_0x454e7d(0x54e)][_0x5db15a]['values'],..._0x280032[_0x454e7d(0x462)],[_0x2a4b8a[_0x454e7d(0x32a)]]:_0x280032['id']}});}[_0x4e3a72(0x1f3)](_0xb9a0c,_0x60cdb5,_0x7a3932,_0x97dbe9){const _0x2aa02a=_0x4e3a72;let _0xab01ba=_0xb9a0c[_0x2aa02a(0x46b)][_0x60cdb5],_0x22ef3b=[..._0x285d10[_0x2aa02a(0x4c4)](_0x60cdb5,_0x7a3932),'orderKey'],_0x263929=Object[_0x2aa02a(0x462)](_0xab01ba[_0x2aa02a(0x54e)])[_0x2aa02a(0x2ef)](_0x3a4331=>_0x3a4331['id']===_0x7a3932?{..._0x3a4331,'orderKey':_0x97dbe9}:_0x3a4331)['sort']((_0x47313a,_0x47d078)=>String(_0x47313a[_0x2aa02a(0x236)]??_0x47313a['id'])[_0x2aa02a(0x377)](String(_0x47d078['orderKey']??_0x47d078['id'])))[_0x2aa02a(0x2ef)](_0x2ebfa8=>_0x2ebfa8['id']),_0x2db2a0=[..._0x285d10['table'](_0x60cdb5),'recordOrder'];return _0xc44ded([this['_replaceOptional'](_0x22ef3b,_0xab01ba['records'][_0x7a3932][_0x2aa02a(0x236)],_0x97dbe9),_0xab01ba[_0x2aa02a(0x531)]?_0x2a4b8a[_0x2aa02a(0x288)]['replaceOp'](_0x2db2a0,_0xab01ba[_0x2aa02a(0x531)],_0x263929):_0x2a4b8a['JSON1'][_0x2aa02a(0x3ee)](_0x2db2a0,_0x263929)]);}[_0x4e3a72(0x473)](_0x7598df,_0x5702b6,_0x36e9b2,_0x540304,_0x185663){const _0x4c6145=_0x4e3a72;var _0x16ad9b,_0x16a0d7;let _0x3c174e=_0x7598df[_0x4c6145(0x46b)][_0x5702b6],_0x22258c=_0x4a15fb(_0x3c174e,_0x36e9b2,_0x540304)?_0x3c174e:_0x191958(_0x3c174e),_0x4fd15a=(_0x16ad9b=_0x22258c[_0x4c6145(0x385)])==null?void 0x0:_0x16ad9b[_0x36e9b2],_0x5ac1e2=(_0x16a0d7=_0x22258c['colIndex'])==null?void 0x0:_0x16a0d7[_0x540304];if(_0x4fd15a==null||_0x5ac1e2==null){var _0x5e8e0a;return this[_0x4c6145(0x3da)](_0x285d10[_0x4c6145(0x2f2)](_0x5702b6,_0x36e9b2,_0x540304),(_0x5e8e0a=_0x7598df['tables'][_0x5702b6])==null||(_0x5e8e0a=_0x5e8e0a[_0x4c6145(0x54e)][_0x36e9b2])==null?void 0x0:_0x5e8e0a[_0x4c6145(0x462)][_0x540304],_0x185663);}return this['setRangeValues'](_0x7598df,_0x5702b6,[{'row':_0x4fd15a,'col':_0x5ac1e2,'value':_0x185663}]);}[_0x4e3a72(0x551)](_0x5e19a4,_0x230bd2,_0x286c0a){const _0x571e7c=_0x4e3a72;let _0x43b0eb=_0x5e19a4['tables'][_0x230bd2],_0x36de97=_0x286c0a[_0x571e7c(0x4af)](_0x541c87=>Object[_0x571e7c(0x458)](_0x541c87[_0x571e7c(0x462)])[_0x571e7c(0x4af)](_0x56ecb7=>_0x4a15fb(_0x43b0eb,_0x541c87[_0x571e7c(0x549)],_0x56ecb7)))?_0x43b0eb:_0x191958(_0x43b0eb),_0x45cbc0=_0x286c0a[_0x571e7c(0x467)](_0x231880=>Object[_0x571e7c(0x2f1)](_0x231880[_0x571e7c(0x462)])[_0x571e7c(0x467)](([_0x42a7ad,_0x3a223e])=>{const _0x5c8351=_0x571e7c;var _0xfbdfbe,_0x17824a;let _0x44dd24=(_0xfbdfbe=_0x36de97[_0x5c8351(0x385)])==null?void 0x0:_0xfbdfbe[_0x231880[_0x5c8351(0x549)]],_0x39d25e=(_0x17824a=_0x36de97[_0x5c8351(0x285)])==null?void 0x0:_0x17824a[_0x42a7ad];return _0x44dd24==null||_0x39d25e==null?[]:[{'row':_0x44dd24,'col':_0x39d25e,'value':_0x3a223e}];})),_0x3d5f7a=_0x286c0a[_0x571e7c(0x467)](_0x3d8aa6=>Object['entries'](_0x3d8aa6['recordPatch']??{})[_0x571e7c(0x2ef)](([_0x26037c,_0x10cf4d])=>{const _0x2159c9=_0x571e7c;var _0x1204a3;let _0x1afb80=[..._0x285d10[_0x2159c9(0x4c4)](_0x230bd2,_0x3d8aa6['recordId']),_0x26037c],_0x253ba9=(_0x1204a3=_0x5e19a4[_0x2159c9(0x46b)][_0x230bd2])==null||(_0x1204a3=_0x1204a3[_0x2159c9(0x54e)][_0x3d8aa6['recordId']])==null?void 0x0:_0x1204a3[_0x26037c];return this[_0x2159c9(0x3da)](_0x1afb80,_0x253ba9,_0x10cf4d);}));return _0xc44ded([this['setRangeValues'](_0x5e19a4,_0x230bd2,_0x45cbc0),..._0x3d5f7a]);}[_0x4e3a72(0x2e4)](_0x39dbfb,_0x30ed67,_0xc52dfc){const _0x20a2d6=_0x4e3a72;let _0x2004cd=_0x39dbfb['tables'][_0x30ed67],_0x51691c=_0xc52dfc['every'](_0x1d2162=>_0x42eca3(_0x2004cd,_0x1d2162[_0x20a2d6(0x40d)],_0x1d2162[_0x20a2d6(0x1b1)]))?_0x2004cd:_0x191958(_0x2004cd),_0x183753=_0xc52dfc[_0x20a2d6(0x467)](_0x5b3233=>{const _0x5dcfc6=_0x20a2d6;var _0x29cad0,_0x25da4f,_0x4679d3,_0x266ed8;let _0x2e2afd=(_0x29cad0=_0x51691c['colId'])==null?void 0x0:_0x29cad0[_0x5b3233[_0x5dcfc6(0x1b1)]],_0x322d29=(_0x25da4f=_0x51691c[_0x5dcfc6(0x1df)])==null?void 0x0:_0x25da4f[_0x5b3233[_0x5dcfc6(0x40d)]],_0x27cada=_0x2e2afd?_0x51691c[_0x5dcfc6(0x3c4)][_0x2e2afd]:void 0x0;if(_0x2e2afd===_0x2a4b8a[_0x5dcfc6(0x32a)]||(_0x27cada==null?void 0x0:_0x27cada[_0x5dcfc6(0x3a3)])===_0x2a4b8a[_0x5dcfc6(0x1f7)][_0x5dcfc6(0x1c0)])throw Error(_0x5dcfc6(0x1ec));let _0x27fd3c=_0x52314c(_0x5b3233[_0x5dcfc6(0x32f)],_0x27cada),_0x86fa45=(_0x4679d3=_0x51691c[_0x5dcfc6(0x380)])==null||(_0x4679d3=_0x4679d3[_0x5b3233[_0x5dcfc6(0x40d)]])==null?void 0x0:_0x4679d3[_0x5b3233[_0x5dcfc6(0x1b1)]],_0x28afbe=this[_0x5dcfc6(0x3da)](_0x285d10[_0x5dcfc6(0x380)](_0x30ed67,_0x5b3233['row'],_0x5b3233[_0x5dcfc6(0x1b1)]),_0x86fa45,_0x27fd3c);if(!_0x2e2afd||!_0x322d29)return[_0x28afbe];let _0x2b0ea4=(_0x266ed8=_0x51691c['records'][_0x322d29])==null?void 0x0:_0x266ed8['values'][_0x2e2afd],_0x2f1331=(_0x27cada==null?void 0x0:_0x27cada[_0x5dcfc6(0x3a3)])===_0x2a4b8a[_0x5dcfc6(0x1f7)][_0x5dcfc6(0x4a1)]?_0x56095f(_0x5b3233[_0x5dcfc6(0x32f)]):_0x5935b1(_0x5b3233[_0x5dcfc6(0x32f)],_0x27fd3c,_0x27cada,_0x51691c,_0x322d29),_0x1bb17a=[_0x28afbe,this[_0x5dcfc6(0x3da)](_0x285d10[_0x5dcfc6(0x2f2)](_0x30ed67,_0x322d29,_0x2e2afd),_0x2b0ea4,_0x2f1331)];if((_0x27cada==null?void 0x0:_0x27cada['type'])!==_0x2a4b8a[_0x5dcfc6(0x1f7)][_0x5dcfc6(0x4a1)])return _0x1bb17a;let _0x4e43a9=this[_0x5dcfc6(0x2e2)](_0x51691c,_0x30ed67,_0x322d29,_0x2e2afd,_0x2f1331);return[..._0x1bb17a,..._0x4e43a9];});return _0x183753[_0x20a2d6(0x46c)]?_0xc44ded(_0x183753):_0x2a4b8a['JSON1'][_0x20a2d6(0x3d0)]([_0x20a2d6(0x46b),_0x30ed67,'cellData'],_0x51691c['cellData'],_0x51691c[_0x20a2d6(0x380)]);}[_0x4e3a72(0x390)](_0x3f8715,_0x1fb616,_0x55975d){const _0x2f0166=_0x4e3a72;let _0x51ca1a=_0x3f8715['tables'][_0x1fb616];if(_0x51ca1a['fields'][_0x55975d['field']['id']]||_0x51ca1a[_0x2f0166(0x541)]['includes'](_0x55975d[_0x2f0166(0x344)]['id']))return _0x2a4b8a[_0x2f0166(0x288)][_0x2f0166(0x3d0)]([_0x2f0166(0x46b),_0x1fb616,_0x2f0166(0x541)],_0x51ca1a[_0x2f0166(0x541)],_0x51ca1a[_0x2f0166(0x541)]);let _0x1378b7=Math[_0x2f0166(0x358)](0x1,_0x55975d[_0x2f0166(0x4a4)]??_0x51ca1a[_0x2f0166(0x541)][_0x2f0166(0x46c)]),_0x4c5258=Object[_0x2f0166(0x462)](_0x51ca1a[_0x2f0166(0x1b4)]??{})[_0x2f0166(0x467)](_0x3152bb=>{const _0x403c87=_0x2f0166;var _0x3830de;if(!_0x3152bb[_0x403c87(0x541)]||_0x3152bb['fieldOrder'][_0x403c87(0x1a7)](_0x55975d['field']['id']))return[];let _0x4c0836=_0x1061cf(((_0x3830de=_0x55975d[_0x403c87(0x2aa)])==null?void 0x0:_0x3830de[_0x3152bb['id']])??_0x1378b7,_0x3152bb['fieldOrder'][_0x403c87(0x46c)]);return[_0x2a4b8a[_0x403c87(0x288)]['insertOp']([..._0x285d10[_0x403c87(0x4b9)](_0x1fb616,_0x3152bb['id']),_0x403c87(0x541),_0x4c0836],_0x55975d['field']['id'])];});return _0xc44ded([..._0x55975d['field']['type']===_0x2a4b8a[_0x2f0166(0x1f7)]['Formula']?this['_materializeFormulaTableNames'](_0x3f8715):[],_0x2a4b8a[_0x2f0166(0x288)][_0x2f0166(0x3ee)](_0x285d10[_0x2f0166(0x344)](_0x1fb616,_0x55975d[_0x2f0166(0x344)]['id']),_0x55975d[_0x2f0166(0x344)]),_0x2a4b8a[_0x2f0166(0x288)][_0x2f0166(0x3ee)](_0x285d10[_0x2f0166(0x541)](_0x1fb616,_0x1378b7),_0x55975d[_0x2f0166(0x344)]['id']),..._0x4c5258]);}[_0x4e3a72(0x3af)](_0xfb2c0,_0x364c59,_0x4adfc3,_0x216169){const _0x537b88=_0x4e3a72;let _0x57fbe9=_0xfb2c0[_0x537b88(0x46b)][_0x364c59];if(!_0x57fbe9['fields'][_0x4adfc3]||_0x57fbe9[_0x537b88(0x3c4)][_0x216169[_0x537b88(0x344)]['id']]||_0x57fbe9[_0x537b88(0x541)]['includes'](_0x216169['field']['id']))return _0x2a4b8a[_0x537b88(0x288)]['replaceOp']([_0x537b88(0x46b),_0x364c59,_0x537b88(0x541)],_0x57fbe9[_0x537b88(0x541)],_0x57fbe9[_0x537b88(0x541)]);let _0x562e60=_0x216169[_0x537b88(0x4a4)]??_0x57fbe9['fieldOrder']['indexOf'](_0x4adfc3)+0x1,_0x13ea68=_0x57fbe9[_0x537b88(0x541)][_0x537b88(0x500)](_0x5a396f=>_0x5a396f!==_0x216169[_0x537b88(0x344)]['id']),_0x24da62=_0x389c35(_0x13ea68,_0x216169[_0x537b88(0x344)]['id'],_0x562e60),_0x4c2ddb=Object[_0x537b88(0x462)](_0x57fbe9[_0x537b88(0x1b4)]??{})[_0x537b88(0x467)](_0x318e33=>{const _0x4af325=_0x537b88;var _0x2737f9,_0x40440c,_0xf206d8,_0x46f71f;let _0x1264d1=(_0x2737f9=_0x318e33[_0x4af325(0x541)])!=null&&_0x2737f9[_0x4af325(0x46c)]?_0x318e33[_0x4af325(0x541)]:_0x13ea68;if(_0x1264d1[_0x4af325(0x1a7)](_0x216169['field']['id']))return[];let _0x1c3984=_0x389c35(_0x1264d1,_0x216169[_0x4af325(0x344)]['id'],((_0x40440c=_0x216169['viewIndexes'])==null?void 0x0:_0x40440c[_0x318e33['id']])??_0x562e60),_0x176a57=(_0xf206d8=_0x318e33[_0x4af325(0x1e2)])==null?void 0x0:_0xf206d8[_0x4adfc3];return[this[_0x4af325(0x3da)]([..._0x285d10[_0x4af325(0x4b9)](_0x364c59,_0x318e33['id']),_0x4af325(0x541)],_0x318e33[_0x4af325(0x541)],_0x1c3984),..._0x176a57?[this[_0x4af325(0x3da)]([..._0x285d10[_0x4af325(0x4b9)](_0x364c59,_0x318e33['id']),'fieldSettings',_0x216169[_0x4af325(0x344)]['id']],(_0x46f71f=_0x318e33['fieldSettings'])==null?void 0x0:_0x46f71f[_0x216169['field']['id']],_0x176a57)]:[]];}),_0x26224a=Object[_0x537b88(0x462)](_0x57fbe9[_0x537b88(0x54e)])[_0x537b88(0x500)](_0x14eabb=>Object[_0x537b88(0x586)][_0x537b88(0x33b)][_0x537b88(0x3ac)](_0x14eabb['values'],_0x4adfc3))['map'](_0x27da12=>this['_replaceOptional'](_0x285d10[_0x537b88(0x2f2)](_0x364c59,_0x27da12['id'],_0x216169['field']['id']),_0x27da12[_0x537b88(0x462)][_0x216169[_0x537b88(0x344)]['id']],_0x27da12[_0x537b88(0x462)][_0x4adfc3]));return _0xc44ded([..._0x216169[_0x537b88(0x344)][_0x537b88(0x3a3)]===_0x2a4b8a[_0x537b88(0x1f7)][_0x537b88(0x367)]?this['_materializeFormulaTableNames'](_0xfb2c0):[],_0x2a4b8a[_0x537b88(0x288)][_0x537b88(0x3ee)](_0x285d10['field'](_0x364c59,_0x216169[_0x537b88(0x344)]['id']),_0x216169[_0x537b88(0x344)]),_0x2a4b8a[_0x537b88(0x288)]['replaceOp']([_0x537b88(0x46b),_0x364c59,'fieldOrder'],_0x57fbe9[_0x537b88(0x541)],_0x24da62),..._0x4c2ddb,..._0x26224a]);}[_0x4e3a72(0x3dc)](_0x403a9f,_0xb883c0,_0x18a515,_0x5ca9da){const _0x41d5c5=_0x4e3a72;let _0x1662cb=_0x403a9f[_0x41d5c5(0x46b)][_0xb883c0][_0x41d5c5(0x3c4)][_0x18a515],_0x53d387={..._0x1662cb,..._0x5ca9da};Object[_0x41d5c5(0x458)](_0x5ca9da)[_0x41d5c5(0x3ad)](_0x2ad727=>{_0x5ca9da[_0x2ad727]===void 0x0&&delete _0x53d387[_0x2ad727];});let _0x18a727=_0x2a4b8a[_0x41d5c5(0x288)][_0x41d5c5(0x3d0)](_0x285d10[_0x41d5c5(0x344)](_0xb883c0,_0x18a515),_0x1662cb,_0x53d387);return _0x53d387[_0x41d5c5(0x3a3)]===_0x2a4b8a[_0x41d5c5(0x1f7)]['Formula']?_0xc44ded([...this[_0x41d5c5(0x2f9)](_0x403a9f),_0x18a727,...this['_setFormulaFieldCells'](_0x403a9f,_0xb883c0,_0x18a515,_0x53d387)]):_0x18a727;}['changeFieldType'](_0x5201b2,_0x4b0b14,_0x5620b,_0x26ebfb){const _0x45fed7=_0x4e3a72;return this[_0x45fed7(0x3dc)](_0x5201b2,_0x4b0b14,_0x5620b,_0x26ebfb);}[_0x4e3a72(0x45f)](_0x546465,_0x4d8b94,_0x2919b7){const _0x4f19bd=_0x4e3a72;let _0x38b545=_0x546465['tables'][_0x4d8b94];if(!(_0x38b545!=null&&_0x38b545[_0x4f19bd(0x3c4)][_0x2919b7])||_0x38b545[_0x4f19bd(0x21a)]===_0x2919b7||_0x2919b7===_0x2a4b8a[_0x4f19bd(0x32a)])return _0x2a4b8a[_0x4f19bd(0x288)][_0x4f19bd(0x3d0)]([_0x4f19bd(0x46b),_0x4d8b94,_0x4f19bd(0x541)],_0x38b545==null?void 0x0:_0x38b545['fieldOrder'],_0x38b545==null?void 0x0:_0x38b545[_0x4f19bd(0x541)]);let _0x332178=_0x38b545[_0x4f19bd(0x541)]['indexOf'](_0x2919b7),_0x275870=Object[_0x4f19bd(0x462)](_0x38b545['views'])['flatMap'](_0x53f09f=>{const _0x42930a=_0x4f19bd;var _0x2b0966,_0x42686d,_0x240824,_0x3d1100,_0x5af413,_0x3fff4a,_0x28a688;let _0x74dbbd=[],_0x3c8f30=((_0x2b0966=_0x53f09f['fieldOrder'])==null?void 0x0:_0x2b0966[_0x42930a(0x4f4)](_0x2919b7))??-0x1;_0x3c8f30>=0x0&&_0x74dbbd[_0x42930a(0x348)](_0x2a4b8a[_0x42930a(0x288)][_0x42930a(0x39e)]([..._0x285d10[_0x42930a(0x4b9)](_0x4d8b94,_0x53f09f['id']),_0x42930a(0x541),_0x3c8f30],_0x2919b7));let _0x5203d8=(_0x42686d=_0x53f09f[_0x42930a(0x1e2)])==null?void 0x0:_0x42686d[_0x2919b7];_0x5203d8!==void 0x0&&_0x74dbbd[_0x42930a(0x348)](_0x2a4b8a[_0x42930a(0x288)][_0x42930a(0x39e)]([..._0x285d10['view'](_0x4d8b94,_0x53f09f['id']),_0x42930a(0x1e2),_0x2919b7],_0x5203d8));let _0x32ac50=_0x53f09f[_0x42930a(0x500)]?{..._0x53f09f[_0x42930a(0x500)],'conditions':_0x53f09f[_0x42930a(0x500)]['conditions'][_0x42930a(0x500)](_0x29873a=>_0x29873a['fieldId']!==_0x2919b7)}:_0x53f09f[_0x42930a(0x500)];_0x32ac50&&_0x32ac50[_0x42930a(0x515)][_0x42930a(0x46c)]!==((_0x240824=_0x53f09f['filter'])==null?void 0x0:_0x240824[_0x42930a(0x515)][_0x42930a(0x46c)])&&_0x74dbbd[_0x42930a(0x348)](this[_0x42930a(0x3da)]([..._0x285d10[_0x42930a(0x4b9)](_0x4d8b94,_0x53f09f['id']),_0x42930a(0x500)],_0x53f09f[_0x42930a(0x500)],_0x32ac50));let _0x2980d0=(_0x3d1100=_0x53f09f[_0x42930a(0x2da)])==null?void 0x0:_0x3d1100[_0x42930a(0x500)](_0x15947a=>_0x15947a[_0x42930a(0x1b3)]!==_0x2919b7);_0x2980d0&&_0x2980d0[_0x42930a(0x46c)]!==((_0x5af413=_0x53f09f[_0x42930a(0x2da)])==null?void 0x0:_0x5af413[_0x42930a(0x46c)])&&_0x74dbbd['push'](this[_0x42930a(0x3da)]([..._0x285d10[_0x42930a(0x4b9)](_0x4d8b94,_0x53f09f['id']),'sort'],_0x53f09f['sort'],_0x2980d0));let _0x20bf3e=(_0x3fff4a=_0x53f09f[_0x42930a(0x48a)])==null?void 0x0:_0x3fff4a['filter'](_0x10604e=>_0x10604e['fieldId']!==_0x2919b7);_0x20bf3e&&_0x20bf3e[_0x42930a(0x46c)]!==((_0x28a688=_0x53f09f[_0x42930a(0x48a)])==null?void 0x0:_0x28a688[_0x42930a(0x46c)])&&_0x74dbbd[_0x42930a(0x348)](this['_replaceOptional']([..._0x285d10['view'](_0x4d8b94,_0x53f09f['id']),_0x42930a(0x48a)],_0x53f09f[_0x42930a(0x48a)],_0x20bf3e));let _0x451262=_0x188a03(_0x53f09f['config'],_0x2919b7);return JSON['stringify'](_0x451262)!==JSON[_0x42930a(0x2b1)](_0x53f09f[_0x42930a(0x3e8)])&&_0x74dbbd[_0x42930a(0x348)](_0x2a4b8a['JSON1'][_0x42930a(0x3d0)]([..._0x285d10[_0x42930a(0x4b9)](_0x4d8b94,_0x53f09f['id']),_0x42930a(0x3e8)],_0x53f09f[_0x42930a(0x3e8)],_0x451262)),_0x74dbbd;}),_0x5425b6=Object['values'](_0x38b545[_0x4f19bd(0x54e)])[_0x4f19bd(0x467)](_0x1e2f7e=>Object[_0x4f19bd(0x586)][_0x4f19bd(0x33b)]['call'](_0x1e2f7e['values'],_0x2919b7)?[_0x2a4b8a['JSON1']['removeOp'](_0x285d10[_0x4f19bd(0x2f2)](_0x4d8b94,_0x1e2f7e['id'],_0x2919b7),_0x1e2f7e['values'][_0x2919b7])]:[]);return _0xc44ded([_0x2a4b8a[_0x4f19bd(0x288)][_0x4f19bd(0x39e)](_0x285d10[_0x4f19bd(0x344)](_0x4d8b94,_0x2919b7),_0x38b545[_0x4f19bd(0x3c4)][_0x2919b7]),_0x2a4b8a[_0x4f19bd(0x288)][_0x4f19bd(0x39e)](_0x285d10[_0x4f19bd(0x541)](_0x4d8b94,_0x332178),_0x2919b7),..._0x275870,..._0x5425b6,...this[_0x4f19bd(0x42b)](_0x38b545,_0x4d8b94,_0xf2c6bd=>_0xf2c6bd['startsWith'](_0x2919b7+'\x1f'))]);}['moveField'](_0x173532,_0x39684e,_0x1fb73a,_0xb90036){const _0x31442b=_0x4e3a72;let _0x2d6ed6=_0x173532[_0x31442b(0x46b)][_0x39684e]['fieldOrder'];if(_0x1fb73a===_0x2a4b8a['BASE_RECORD_ID_FIELD_ID']||_0xb90036[_0x31442b(0x3d2)]===_0x2a4b8a[_0x31442b(0x32a)])throw Error(_0x31442b(0x2b6));let _0x4445f1=_0x3712bf(_0x2d6ed6,_0x1fb73a,_0xb90036);return _0x2a4b8a['JSON1']['replaceOp']([_0x31442b(0x46b),_0x39684e,_0x31442b(0x541)],_0x2d6ed6,_0x4445f1);}['createView'](_0x13bf0c,_0xa70bd0,_0xbf33a4,_0x342680=_0x13bf0c[_0x4e3a72(0x46b)][_0xa70bd0][_0x4e3a72(0x52e)]['length']){const _0x4b8407=_0x4e3a72;return _0xc44ded([_0x2a4b8a['JSON1']['insertOp'](_0x285d10[_0x4b8407(0x4b9)](_0xa70bd0,_0xbf33a4['id']),_0xbf33a4),_0x2a4b8a['JSON1']['insertOp']([_0x4b8407(0x46b),_0xa70bd0,_0x4b8407(0x52e),_0x342680],_0xbf33a4['id'])]);}[_0x4e3a72(0x3bb)](_0x46f26d,_0x9f9348,_0xa96349,_0x4cdd09){const _0x419781=_0x4e3a72;return _0x2a4b8a[_0x419781(0x288)][_0x419781(0x3d0)]([..._0x285d10[_0x419781(0x4b9)](_0x9f9348,_0xa96349),'name'],_0x46f26d['tables'][_0x9f9348][_0x419781(0x1b4)][_0xa96349][_0x419781(0x492)],_0x4cdd09);}[_0x4e3a72(0x471)](_0x316944,_0x4df840,_0x5837a9){const _0x41c62b=_0x4e3a72;let _0x5c275a=_0x316944[_0x41c62b(0x46b)][_0x4df840],_0xf439bd=_0x5c275a[_0x41c62b(0x1b4)][_0x5837a9],_0x5a86a2=_0x5c275a[_0x41c62b(0x52e)][_0x41c62b(0x4f4)](_0x5837a9);return _0xc44ded([_0x2a4b8a[_0x41c62b(0x288)][_0x41c62b(0x39e)](_0x285d10['view'](_0x4df840,_0x5837a9),_0xf439bd),_0x2a4b8a[_0x41c62b(0x288)][_0x41c62b(0x39e)]([_0x41c62b(0x46b),_0x4df840,_0x41c62b(0x52e),_0x5a86a2],_0x5837a9)]);}[_0x4e3a72(0x510)](_0x3cc6c8,_0x30f0dd,_0x55968d,_0x2895e0){const _0x26d574=_0x4e3a72;let _0x4d9c09=_0x3cc6c8[_0x26d574(0x46b)][_0x30f0dd][_0x26d574(0x52e)],_0x2905c1=_0x3712bf(_0x4d9c09,_0x55968d,{'beforeFieldId':_0x2895e0[_0x26d574(0x237)],'afterFieldId':_0x2895e0['afterViewId']});return _0x2a4b8a[_0x26d574(0x288)]['replaceOp']([_0x26d574(0x46b),_0x30f0dd,'viewOrder'],_0x4d9c09,_0x2905c1);}[_0x4e3a72(0x2ca)](_0x1b059d,_0x406214,_0x48a57d,_0x29e342){const _0x26e045=_0x4e3a72;let _0x429d14=_0x1b059d['tables'][_0x406214]['views'][_0x48a57d][_0x26e045(0x3e8)]??{},_0x1777a8={..._0x429d14,..._0x29e342};return Object['keys'](_0x29e342)[_0x26e045(0x3ad)](_0x32a48f=>{_0x29e342[_0x32a48f]===void 0x0&&delete _0x1777a8[_0x32a48f];}),_0x2a4b8a[_0x26e045(0x288)][_0x26e045(0x3d0)]([..._0x285d10[_0x26e045(0x4b9)](_0x406214,_0x48a57d),_0x26e045(0x3e8)],_0x429d14,_0x1777a8);}[_0x4e3a72(0x26a)](_0x25d857,_0x361b7d,_0x56c7d4,_0x2fed49){const _0x4ebe11=_0x4e3a72;return this[_0x4ebe11(0x3da)]([..._0x285d10[_0x4ebe11(0x4b9)](_0x361b7d,_0x56c7d4),'filter'],_0x25d857[_0x4ebe11(0x46b)][_0x361b7d][_0x4ebe11(0x1b4)][_0x56c7d4][_0x4ebe11(0x500)],_0x2fed49);}[_0x4e3a72(0x22a)](_0x371196,_0x55f51b,_0x475877,_0x196be6){const _0x5cbff8=_0x4e3a72;return this[_0x5cbff8(0x3da)]([..._0x285d10[_0x5cbff8(0x4b9)](_0x55f51b,_0x475877),_0x5cbff8(0x2da)],_0x371196[_0x5cbff8(0x46b)][_0x55f51b]['views'][_0x475877][_0x5cbff8(0x2da)],_0x196be6);}['setViewGroup'](_0x3671f9,_0x49d125,_0x30a345,_0x2702c2){const _0x27e6cf=_0x4e3a72;return this[_0x27e6cf(0x3da)]([..._0x285d10[_0x27e6cf(0x4b9)](_0x49d125,_0x30a345),'group'],_0x3671f9[_0x27e6cf(0x46b)][_0x49d125][_0x27e6cf(0x1b4)][_0x30a345][_0x27e6cf(0x48a)],_0x2702c2);}[_0x4e3a72(0x447)](_0x19d53a,_0x54b4ff,_0x59c4c4,_0x26b6bb,_0x4d5b81){return this['_setViewFieldSetting'](_0x19d53a,_0x54b4ff,_0x59c4c4,_0x26b6bb,{'hidden':!_0x4d5b81});}[_0x4e3a72(0x2d2)](_0x31709d,_0x5221dc,_0x18cff5,_0x2f4a45,_0x34fdc6){const _0x42de2e=_0x4e3a72;return this[_0x42de2e(0x543)](_0x31709d,_0x5221dc,_0x18cff5,_0x2f4a45,{'width':_0x34fdc6});}[_0x4e3a72(0x386)](_0x3d611b,_0xa29079,_0x15f627,_0x5b5e61,_0x48afdc){const _0x402532=_0x4e3a72;let _0x498e22=_0x3d611b['tables'][_0xa29079][_0x402532(0x1b4)][_0x15f627],_0x59244d=_0x3712bf(_0x498e22[_0x402532(0x541)]??_0x3d611b['tables'][_0xa29079][_0x402532(0x541)],_0x5b5e61,_0x48afdc);return this['_replaceOptional']([..._0x285d10[_0x402532(0x4b9)](_0xa29079,_0x15f627),_0x402532(0x541)],_0x498e22['fieldOrder'],_0x59244d);}[_0x4e3a72(0x543)](_0x467c88,_0xd10472,_0x27e080,_0x3deeff,_0x44bcbd){const _0x384aaf=_0x4e3a72;let _0x229571=_0x467c88[_0x384aaf(0x46b)][_0xd10472][_0x384aaf(0x1b4)][_0x27e080]['fieldSettings']??{},_0x1b7278={..._0x229571,[_0x3deeff]:{..._0x229571[_0x3deeff],..._0x44bcbd}};return this[_0x384aaf(0x3da)]([..._0x285d10['view'](_0xd10472,_0x27e080),_0x384aaf(0x1e2)],_0x467c88[_0x384aaf(0x46b)][_0xd10472][_0x384aaf(0x1b4)][_0x27e080][_0x384aaf(0x1e2)],_0x1b7278);}[_0x4e3a72(0x34a)](_0x3e794a,_0x38821d,_0x34d8d5){const _0x1339d8=_0x4e3a72;let _0x4afd25=_0x3e794a[_0x1339d8(0x46b)][_0x38821d],_0x49b924=new Set(_0x34d8d5[_0x1339d8(0x2ef)](_0x56e746=>_0x56e746['id'])),_0x1942d0=[...Object[_0x1339d8(0x462)](_0x4afd25[_0x1339d8(0x54e)])['filter'](_0xc9303b=>!_0x49b924[_0x1339d8(0x537)](_0xc9303b['id'])),..._0x34d8d5]['sort']((_0x29bcb9,_0xc0d539)=>String(_0x29bcb9['orderKey']??_0x29bcb9['id'])['localeCompare'](String(_0xc0d539[_0x1339d8(0x236)]??_0xc0d539['id'])))[_0x1339d8(0x2ef)](_0x249015=>_0x249015['id']),_0x30f547=[..._0x285d10[_0x1339d8(0x577)](_0x38821d),_0x1339d8(0x531)];return _0x4afd25[_0x1339d8(0x531)]?_0x2a4b8a[_0x1339d8(0x288)][_0x1339d8(0x3d0)](_0x30f547,_0x4afd25[_0x1339d8(0x531)],_0x1942d0):_0x2a4b8a['JSON1'][_0x1339d8(0x3ee)](_0x30f547,_0x1942d0);}[_0x4e3a72(0x2f9)](_0x22a03c,_0x5158ca=new Set()){const _0x28132c=_0x4e3a72;let _0x2d239e=(0x0,_0x2a4b8a[_0x28132c(0x1ed)])(_0x22a03c);return Object[_0x28132c(0x462)](_0x22a03c[_0x28132c(0x46b)])['filter'](_0x452ff6=>!_0x5158ca[_0x28132c(0x537)](_0x452ff6['id']))['sort']((_0xa8f24d,_0x3a6f72)=>_0xa8f24d['id'][_0x28132c(0x377)](_0x3a6f72['id']))[_0x28132c(0x467)](_0xc12b54=>{const _0x306cac=_0x28132c;let _0x564b9d=_0x2d239e['get'](_0xc12b54['id']);return!_0x564b9d||_0xc12b54[_0x306cac(0x422)]===_0x564b9d?[]:[this[_0x306cac(0x3da)]([..._0x285d10['table'](_0xc12b54['id']),_0x306cac(0x422)],_0xc12b54[_0x306cac(0x422)],_0x564b9d)];});}[_0x4e3a72(0x38e)](_0x5365f3,_0x5e0255,_0x3ad3a4,_0x5aebf4){const _0x6a5205=_0x4e3a72;var _0x290fdd,_0x508eac;let _0x32847a=_0x191958(_0x5365f3[_0x6a5205(0x46b)][_0x5e0255]),_0x14f5e1=String(((_0x290fdd=_0x5aebf4[_0x6a5205(0x3e8)])==null?void 0x0:_0x290fdd[_0x6a5205(0x484)])??'')[_0x6a5205(0x571)](),_0x4b0f02=(_0x508eac=_0x32847a['colIndex'])==null?void 0x0:_0x508eac[_0x3ad3a4];if(_0x4b0f02==null)return[];let _0x3073b3=_0x32847a[_0x6a5205(0x531)]??Object['keys'](_0x32847a[_0x6a5205(0x54e)]),_0x497e22=_0x3073b3[_0x6a5205(0x2ef)](_0x143d5f=>{const _0x45bd12=_0x6a5205;var _0x216fbd;return(_0x216fbd=_0x32847a[_0x45bd12(0x385)])==null?void 0x0:_0x216fbd[_0x143d5f];})[_0x6a5205(0x4c7)](_0x377696=>_0x377696!=null);return _0x3073b3[_0x6a5205(0x467)](_0x10268a=>{const _0x5b640f=_0x6a5205;var _0xfe3397,_0x1f9636;let _0x5023ea=(_0xfe3397=_0x32847a[_0x5b640f(0x385)])==null?void 0x0:_0xfe3397[_0x10268a];if(_0x5023ea==null)return[];let _0x50e277=(_0x1f9636=_0x32847a['cellData'])==null||(_0x1f9636=_0x1f9636[_0x5023ea])==null?void 0x0:_0x1f9636[_0x4b0f02],_0x14f660=_0x14f5e1?_0x5023ea===_0x497e22?{'f':_0x14f5e1,'si':_0x3ad3a4}:{'si':_0x3ad3a4}:{'v':null,'t':null};return[this['_replaceOptional'](_0x285d10[_0x5b640f(0x380)](_0x5e0255,_0x5023ea,_0x4b0f02),_0x50e277,_0x14f660)];});}['_setAttachmentResources'](_0x2e5ae5,_0x3623a1,_0x5b8fe2,_0x464b9d,_0x1be427){const _0x16e2b5=_0x4e3a72;var _0x1bfe93;let _0x2ba703=_0x3b2bbb(_0x464b9d,_0x5b8fe2),_0x2d68f9=_0x1be427['map']((_0x259f4f,_0x5d9fb7)=>String(_0x259f4f['id']??_0x2ba703+'\x1f'+_0x5d9fb7));return[this[_0x16e2b5(0x3da)](_0x285d10[_0x16e2b5(0x286)](_0x3623a1,_0x2ba703),(_0x1bfe93=_0x2e5ae5[_0x16e2b5(0x32c)])==null||(_0x1bfe93=_0x1bfe93[_0x16e2b5(0x218)])==null?void 0x0:_0x1bfe93[_0x2ba703],_0x2d68f9),..._0x1be427[_0x16e2b5(0x2ef)]((_0x3b09f5,_0x1a88f6)=>{const _0x457a39=_0x16e2b5;var _0x4f0552;let _0x3ee064=_0x2d68f9[_0x1a88f6];return this[_0x457a39(0x3da)](_0x285d10[_0x457a39(0x55d)](_0x3623a1,_0x3ee064),(_0x4f0552=_0x2e5ae5[_0x457a39(0x32c)])==null||(_0x4f0552=_0x4f0552['attachments'])==null?void 0x0:_0x4f0552[_0x3ee064],{..._0x3b09f5,'id':_0x3ee064});})];}[_0x4e3a72(0x42b)](_0x11dcef,_0xb9390e,_0x173cfa){const _0x4a1cb4=_0x4e3a72;var _0x9820ff;let _0x5ca160=((_0x9820ff=_0x11dcef[_0x4a1cb4(0x32c)])==null?void 0x0:_0x9820ff[_0x4a1cb4(0x218)])??{},_0x47bba2=Object[_0x4a1cb4(0x2f1)](_0x5ca160)['filter'](([_0x56285b])=>_0x173cfa(_0x56285b));if(!_0x47bba2[_0x4a1cb4(0x46c)])return[];let _0x4a1010=new Set(Object[_0x4a1cb4(0x2f1)](_0x5ca160)['filter'](([_0x1e271c])=>!_0x173cfa(_0x1e271c))[_0x4a1cb4(0x467)](([,_0x551ed8])=>_0x551ed8)),_0x2dbfa0=new Set(_0x47bba2['flatMap'](([,_0x4fcc3f])=>_0x4fcc3f));return[..._0x47bba2[_0x4a1cb4(0x2ef)](([_0x4cabf4,_0x2ab548])=>_0x2a4b8a[_0x4a1cb4(0x288)]['removeOp'](_0x285d10[_0x4a1cb4(0x286)](_0xb9390e,_0x4cabf4),_0x2ab548)),...Array['from'](_0x2dbfa0)[_0x4a1cb4(0x467)](_0x3cfc85=>{const _0x5a1dcf=_0x4a1cb4;var _0x367076;let _0x3ec1c2=(_0x367076=_0x11dcef[_0x5a1dcf(0x32c)])==null||(_0x367076=_0x367076[_0x5a1dcf(0x370)])==null?void 0x0:_0x367076[_0x3cfc85];return _0x3ec1c2!==void 0x0&&!_0x4a1010[_0x5a1dcf(0x537)](_0x3cfc85)?[_0x2a4b8a[_0x5a1dcf(0x288)][_0x5a1dcf(0x39e)](_0x285d10[_0x5a1dcf(0x55d)](_0xb9390e,_0x3cfc85),_0x3ec1c2)]:[];})];}['_replaceOptional'](_0x506b1f,_0x72dbff,_0x335779){const _0x83c759=_0x4e3a72;return _0x72dbff===void 0x0?_0x2a4b8a[_0x83c759(0x288)][_0x83c759(0x3ee)](_0x506b1f,_0x335779):_0x2a4b8a[_0x83c759(0x288)][_0x83c759(0x3d0)](_0x506b1f,_0x72dbff,_0x335779);}};function _0x4a15fb(_0x50d10a,_0x11080d,_0x2e4e9e){const _0x25d055=_0x4e3a72;var _0x4805ec,_0x425afc,_0x43607f,_0x586943;let _0xc7f5b9=(_0x4805ec=_0x50d10a[_0x25d055(0x385)])==null?void 0x0:_0x4805ec[_0x11080d],_0x27a108=(_0x425afc=_0x50d10a[_0x25d055(0x285)])==null?void 0x0:_0x425afc[_0x2e4e9e];return _0xc7f5b9!=null&&_0x27a108!=null&&((_0x43607f=_0x50d10a[_0x25d055(0x1df)])==null?void 0x0:_0x43607f[_0xc7f5b9])===_0x11080d&&((_0x586943=_0x50d10a[_0x25d055(0x3ec)])==null?void 0x0:_0x586943[_0x27a108])===_0x2e4e9e&&_0x50d10a[_0x25d055(0x380)]!=null;}function _0x42eca3(_0x2c98b8,_0x14eef4,_0x460806){const _0x2f2ce2=_0x4e3a72;var _0x18d835,_0x21a6bc;return((_0x18d835=_0x2c98b8['rowId'])==null?void 0x0:_0x18d835[_0x14eef4])!=null&&((_0x21a6bc=_0x2c98b8['colId'])==null?void 0x0:_0x21a6bc[_0x460806])!=null&&_0x2c98b8[_0x2f2ce2(0x380)]!=null;}function _0x3712bf(_0x2e79a0,_0x357d56,_0x37cb1f){const _0x907da8=_0x4e3a72;let _0x58f7b5=_0x2e79a0[_0x907da8(0x500)](_0x2abda6=>_0x2abda6!==_0x357d56),_0x20545c=_0x37cb1f['beforeFieldId']?_0x58f7b5[_0x907da8(0x4f4)](_0x37cb1f[_0x907da8(0x3d2)]):_0x37cb1f[_0x907da8(0x41a)]?_0x58f7b5['indexOf'](_0x37cb1f[_0x907da8(0x41a)])+0x1:_0x58f7b5[_0x907da8(0x46c)];return _0x58f7b5[_0x907da8(0x1a6)](_0x20545c<0x0?_0x58f7b5[_0x907da8(0x46c)]:_0x20545c,0x0,_0x357d56),_0x58f7b5;}function _0x389c35(_0x30ea73,_0x39b38c,_0x4cd874){const _0x40c4fb=_0x4e3a72;let _0x2882b7=_0x30ea73[_0x40c4fb(0x500)](_0x323567=>_0x323567!==_0x39b38c);return _0x2882b7['splice'](_0x1061cf(_0x4cd874,_0x2882b7[_0x40c4fb(0x46c)]),0x0,_0x39b38c),_0x2882b7;}function _0x188a03(_0x16ecc5,_0x22b386,_0xa7128d){const _0x3cf467=_0x4e3a72;if(Array[_0x3cf467(0x35c)](_0x16ecc5))return _0xa7128d==='fieldIds'?_0x16ecc5[_0x3cf467(0x500)](_0x41dae5=>_0x41dae5!==_0x22b386):_0x16ecc5[_0x3cf467(0x467)](_0x45304c=>{const _0x26a8bd=_0x3cf467;if(_0x45304c&&typeof _0x45304c==_0x26a8bd(0x3e9)&&!Array[_0x26a8bd(0x35c)](_0x45304c)&&_0x45304c['fieldId']===_0x22b386)return[];let _0x42e3e9=_0x188a03(_0x45304c,_0x22b386);return _0x42e3e9===void 0x0?[]:[_0x42e3e9];});if(!_0x16ecc5||typeof _0x16ecc5!='object')return _0xa7128d!=null&&_0xa7128d['endsWith'](_0x3cf467(0x572))&&_0x16ecc5===_0x22b386?void 0x0:_0x16ecc5;let _0x337843=_0x16ecc5;if(_0x337843[_0x3cf467(0x1b3)]!==_0x22b386)return Object[_0x3cf467(0x56d)](Object[_0x3cf467(0x2f1)](_0x337843)['flatMap'](([_0x35acf8,_0xbe9bc2])=>{if(_0x35acf8===_0x22b386&&_0xa7128d==='fieldSettings')return[];let _0x337ee7=_0x188a03(_0xbe9bc2,_0x22b386,_0x35acf8);return _0x337ee7===void 0x0?[]:[[_0x35acf8,_0x337ee7]];}));}function _0x1061cf(_0x1e3921,_0x1d7700){const _0xda9c74=_0x4e3a72;return Math[_0xda9c74(0x358)](0x0,Math[_0xda9c74(0x36f)](_0x1e3921,_0x1d7700));}function _0x2cf7dd(_0x1be229){'@babel/helpers - typeof';const _0x356d84=_0x4e3a72;return _0x2cf7dd=typeof Symbol==_0x356d84(0x1b2)&&typeof Symbol[_0x356d84(0x4e4)]=='symbol'?function(_0xcddccf){return typeof _0xcddccf;}:function(_0x4d5ca7){const _0x470428=_0x356d84;return _0x4d5ca7&&typeof Symbol==_0x470428(0x1b2)&&_0x4d5ca7[_0x470428(0x4f8)]===Symbol&&_0x4d5ca7!==Symbol[_0x470428(0x586)]?_0x470428(0x4c8):typeof _0x4d5ca7;},_0x2cf7dd(_0x1be229);}function _0x2d3f98(_0x30bd2f,_0x1dc2f6){const _0x2f4512=_0x4e3a72;if(_0x2cf7dd(_0x30bd2f)!=_0x2f4512(0x3e9)||!_0x30bd2f)return _0x30bd2f;var _0x3399c3=_0x30bd2f[Symbol[_0x2f4512(0x410)]];if(_0x3399c3!==void 0x0){var _0x323c2d=_0x3399c3['call'](_0x30bd2f,_0x1dc2f6||_0x2f4512(0x4b5));if(_0x2cf7dd(_0x323c2d)!='object')return _0x323c2d;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0x1dc2f6===_0x2f4512(0x4ad)?String:Number)(_0x30bd2f);}function _0x5a2db9(_0x55882e){const _0x4e988c=_0x4e3a72;var _0x46f8fc=_0x2d3f98(_0x55882e,_0x4e988c(0x4ad));return _0x2cf7dd(_0x46f8fc)==_0x4e988c(0x4c8)?_0x46f8fc:_0x46f8fc+'';}function _0x2fb75f(_0x4437ca,_0x5e1a92,_0x4442f3){const _0x232a89=_0x4e3a72;return(_0x5e1a92=_0x5a2db9(_0x5e1a92))in _0x4437ca?Object[_0x232a89(0x47f)](_0x4437ca,_0x5e1a92,{'value':_0x4442f3,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x4437ca[_0x5e1a92]=_0x4442f3,_0x4437ca;}let _0x10d9e8=(0x0,_0x2a4b8a[_0x4e3a72(0x520)])(_0x4e3a72(0x291));var _0x4c8057=class extends _0x2a4b8a[_0x4e3a72(0x2a7)]{constructor(..._0x30d1e3){const _0x2a22bb=_0x4e3a72;super(..._0x30d1e3),_0x2fb75f(this,_0x2a22bb(0x46a),new Map());}[_0x4e3a72(0x55f)](_0x443afb){const _0x2902f4=_0x4e3a72;return this[_0x2902f4(0x46a)][_0x2902f4(0x1b0)](_0x443afb[_0x2902f4(0x3a3)],_0x443afb),(0x0,_0x2a4b8a[_0x2902f4(0x28c)])(()=>this[_0x2902f4(0x46a)]['delete'](_0x443afb[_0x2902f4(0x3a3)]));}[_0x4e3a72(0x295)](_0x3cdb41){const _0x809c46=_0x4e3a72;let _0x34d237=this[_0x809c46(0x46a)][_0x809c46(0x295)](_0x3cdb41);if(!_0x34d237)throw Error(_0x809c46(0x486)+_0x3cdb41+'\x22\x20is\x20not\x20registered.');return _0x34d237;}['getTypePlugin'](_0x48be57){const _0x50541c=_0x4e3a72;return this[_0x50541c(0x46a)][_0x50541c(0x295)](_0x48be57);}['getAll'](){const _0x1576ae=_0x4e3a72;return Array['from'](this['_plugins'][_0x1576ae(0x462)]());}};let _0x258ce1=(0x0,_0x2a4b8a[_0x4e3a72(0x520)])(_0x4e3a72(0x56b));var _0x517006=class{constructor(){const _0x32b6c1=_0x4e3a72;_0x2fb75f(this,'_basePermissions',new Map()),_0x2fb75f(this,_0x32b6c1(0x431),new Map()),_0x2fb75f(this,_0x32b6c1(0x1d0),new Map()),_0x2fb75f(this,_0x32b6c1(0x56e),new Map());}[_0x4e3a72(0x469)](_0x14774f){const _0x496006=_0x4e3a72;var _0x9a8b5c;return((_0x9a8b5c=this[_0x496006(0x49f)][_0x496006(0x295)](_0x14774f))==null?void 0x0:_0x9a8b5c[_0x496006(0x1c3)])??!0x0;}[_0x4e3a72(0x44e)](_0x547526){const _0x1b3f39=_0x4e3a72;var _0xe0fa22;return((_0xe0fa22=this[_0x1b3f39(0x431)]['get'](_0x547526))==null?void 0x0:_0xe0fa22[_0x1b3f39(0x3ba)])??!0x0;}[_0x4e3a72(0x52d)](_0x460ab9){const _0x8fbdca=_0x4e3a72;var _0x34972d;return((_0x34972d=this['_tablePermissions'][_0x8fbdca(0x295)](_0x460ab9))==null?void 0x0:_0x34972d[_0x8fbdca(0x390)])??!0x0;}[_0x4e3a72(0x2b9)](_0x27516b,_0x4a596a){var _0x37aa7f;return((_0x37aa7f=this['_fieldPermissions']['get'](_0x3ec767(_0x27516b,_0x4a596a)))==null?void 0x0:_0x37aa7f['edit'])??!0x0;}[_0x4e3a72(0x1fe)](_0xce812e,_0x2f7b78){const _0x241997=_0x4e3a72;var _0x2aa30f;return((_0x2aa30f=this[_0x241997(0x1d0)]['get'](_0x3ec767(_0xce812e,_0x2f7b78)))==null?void 0x0:_0x2aa30f[_0x241997(0x3ba)])??!0x0;}[_0x4e3a72(0x440)](_0x3815ed){const _0x565f5f=_0x4e3a72;var _0x29661c;return((_0x29661c=this[_0x565f5f(0x431)]['get'](_0x3815ed))==null?void 0x0:_0x29661c['createRecord'])??!0x0;}[_0x4e3a72(0x400)](_0x48e41b,_0x5bb540){const _0x5bb2b3=_0x4e3a72;var _0x174a93;return((_0x174a93=this[_0x5bb2b3(0x56e)]['get'](_0x34c382(_0x48e41b,_0x5bb540)))==null?void 0x0:_0x174a93[_0x5bb2b3(0x3ba)])??!0x0;}['canEditCell'](_0x118835,_0x3c4431,_0x284a0f){const _0x48dd1e=_0x4e3a72;var _0x16813e;let _0x2815c9=this['_fieldPermissions'][_0x48dd1e(0x295)](_0x3ec767(_0x118835,_0x284a0f));return(((_0x16813e=this[_0x48dd1e(0x56e)][_0x48dd1e(0x295)](_0x34c382(_0x118835,_0x3c4431)))==null?void 0x0:_0x16813e['editCell'])??!0x0)&&((_0x2815c9==null?void 0x0:_0x2815c9[_0x48dd1e(0x3ce)])??!0x0)&&((_0x2815c9==null?void 0x0:_0x2815c9['editCell'])??!0x0);}[_0x4e3a72(0x58a)](_0x556ef4){const _0x2db895=_0x4e3a72;var _0x578fd2;return((_0x578fd2=this[_0x2db895(0x431)]['get'](_0x556ef4))==null?void 0x0:_0x578fd2[_0x2db895(0x30a)])??!0x0;}[_0x4e3a72(0x200)](_0x21dd6b,_0x1a34a6){const _0x2ce489=_0x4e3a72;this['_basePermissions'][_0x2ce489(0x1b0)](_0x21dd6b,{...this[_0x2ce489(0x49f)]['get'](_0x21dd6b),..._0x1a34a6});}[_0x4e3a72(0x544)](_0x556cee,_0x11f571){const _0xce2527=_0x4e3a72;this[_0xce2527(0x431)][_0xce2527(0x1b0)](_0x556cee,{...this[_0xce2527(0x431)][_0xce2527(0x295)](_0x556cee),..._0x11f571});}['setFieldPermission'](_0xea26b3,_0x422c9d,_0x6c6563){const _0x380feb=_0x4e3a72;let _0x3dcf85=_0x3ec767(_0xea26b3,_0x422c9d);this[_0x380feb(0x1d0)][_0x380feb(0x1b0)](_0x3dcf85,{...this[_0x380feb(0x1d0)][_0x380feb(0x295)](_0x3dcf85),..._0x6c6563});}[_0x4e3a72(0x2cb)](_0xfe1ff4,_0x7f5348,_0x13cc1a){const _0x545d85=_0x4e3a72;let _0x24af73=_0x34c382(_0xfe1ff4,_0x7f5348);this[_0x545d85(0x56e)][_0x545d85(0x1b0)](_0x24af73,{...this[_0x545d85(0x56e)][_0x545d85(0x295)](_0x24af73),..._0x13cc1a});}['clearBasePermission'](_0x56d53b){const _0x3697a9=_0x4e3a72;this[_0x3697a9(0x49f)][_0x3697a9(0x3ba)](_0x56d53b);}['clearTablePermission'](_0x3d14b3){const _0x32e0dc=_0x4e3a72;this[_0x32e0dc(0x431)]['delete'](_0x3d14b3);}['clearFieldPermission'](_0x438915,_0x4edf0e){const _0x54935b=_0x4e3a72;this[_0x54935b(0x1d0)][_0x54935b(0x3ba)](_0x3ec767(_0x438915,_0x4edf0e));}['clearRecordPermission'](_0x3cbe3d,_0x421b02){const _0x291f71=_0x4e3a72;this['_recordPermissions'][_0x291f71(0x3ba)](_0x34c382(_0x3cbe3d,_0x421b02));}['getSnapshot'](){const _0x1e04ad=_0x4e3a72;return{'bases':Object[_0x1e04ad(0x56d)](this[_0x1e04ad(0x49f)]),'tables':Object[_0x1e04ad(0x56d)](this[_0x1e04ad(0x431)]),'fields':Object['fromEntries'](this['_fieldPermissions']),'records':Object['fromEntries'](this[_0x1e04ad(0x56e)])};}};function _0x3ec767(_0x1dd5bf,_0x511247){return _0x1dd5bf+'\x1f'+_0x511247;}function _0x34c382(_0x529923,_0x582fb3){return _0x529923+'\x1f'+_0x582fb3;}function _0x1f3d22(_0x314127,_0x56d5bc){return function(_0x2094b5,_0x4383a0){_0x56d5bc(_0x2094b5,_0x4383a0,_0x314127);};}function _0x2b1d11(_0x45087d,_0x36f729,_0x58940c,_0x3049e0){const _0x1543d8=_0x4e3a72;var _0xf62015=arguments[_0x1543d8(0x46c)],_0x5e8500=_0xf62015<0x3?_0x36f729:_0x3049e0===null?_0x3049e0=Object[_0x1543d8(0x4c5)](_0x36f729,_0x58940c):_0x3049e0,_0x214253;if(typeof Reflect=='object'&&typeof Reflect[_0x1543d8(0x579)]==_0x1543d8(0x1b2))_0x5e8500=Reflect[_0x1543d8(0x579)](_0x45087d,_0x36f729,_0x58940c,_0x3049e0);else{for(var _0x54f2dc=_0x45087d[_0x1543d8(0x46c)]-0x1;_0x54f2dc>=0x0;_0x54f2dc--)(_0x214253=_0x45087d[_0x54f2dc])&&(_0x5e8500=(_0xf62015<0x3?_0x214253(_0x5e8500):_0xf62015>0x3?_0x214253(_0x36f729,_0x58940c,_0x5e8500):_0x214253(_0x36f729,_0x58940c))||_0x5e8500);}return _0xf62015>0x3&&_0x5e8500&&Object[_0x1543d8(0x47f)](_0x36f729,_0x58940c,_0x5e8500),_0x5e8500;}let _0xe37605=(0x0,_0x2a4b8a[_0x4e3a72(0x520)])('base.command.service'),_0x21ea3d=class{constructor(_0x10566a,_0x5e3403=_0x5b9ce1(),_0x45489a={}){const _0x4f40ab=_0x4e3a72;this[_0x4f40ab(0x42d)]=_0x10566a,this[_0x4f40ab(0x2f5)]=_0x5e3403,this[_0x4f40ab(0x1fc)]=_0x45489a,_0x2fb75f(this,'_factory',new _0x5a8274()),_0x2fb75f(this,_0x4f40ab(0x3f3),new _0x5c1670());}[_0x4e3a72(0x1c3)](_0x218a8b,_0x265aa5,_0x59f93d){const _0x35f7eb=_0x4e3a72;if(!this[_0x35f7eb(0x42d)][_0x35f7eb(0x469)](_0x218a8b[_0x35f7eb(0x3b7)]()))throw Error(_0x35f7eb(0x532));(0x0,_0x2a4b8a[_0x35f7eb(0x498)])(_0x265aa5),this[_0x35f7eb(0x38a)](_0x218a8b,this['_factory'][_0x35f7eb(0x1c3)](_0x218a8b['getSnapshot'](),_0x265aa5,_0x59f93d));}[_0x4e3a72(0x49e)](_0x1067db,_0x24bd2a,_0x410bff){const _0x268bd9=_0x4e3a72;this[_0x268bd9(0x38a)](_0x1067db,this[_0x268bd9(0x504)][_0x268bd9(0x49e)](_0x1067db[_0x268bd9(0x566)](),_0x24bd2a,_0x410bff));}[_0x4e3a72(0x1f9)](_0x84c9,_0x229bb8){const _0x5f5659=_0x4e3a72;if(!this[_0x5f5659(0x42d)][_0x5f5659(0x44e)](_0x229bb8))throw Error(_0x5f5659(0x1da));let _0xe4452d=_0x1cc5d4(_0x84c9['getSnapshot'](),_0x229bb8);if(_0xe4452d[_0x5f5659(0x46c)]>0x0)throw Error(_0x5f5659(0x391)+_0xe4452d[_0x5f5659(0x2ef)](_0x35ed00=>_0x35ed00[_0x5f5659(0x398)]+'.'+_0x35ed00[_0x5f5659(0x1b3)])[_0x5f5659(0x2fe)](',\x20')+').');this[_0x5f5659(0x38a)](_0x84c9,this['_factory'][_0x5f5659(0x1f9)](_0x84c9[_0x5f5659(0x566)](),_0x229bb8));}[_0x4e3a72(0x473)](_0x22d46e,_0x622208,_0x566984,_0x1494c1,_0x462cc7){const _0x3b4a3f=_0x4e3a72;this[_0x3b4a3f(0x38a)](_0x22d46e,this['createUpdateCellOp'](_0x22d46e,_0x622208,_0x566984,_0x1494c1,_0x462cc7));}['setRecordValues'](_0x2b0c81,_0x17617d,_0x563843){const _0x46bc00=_0x4e3a72;this[_0x46bc00(0x38a)](_0x2b0c81,this[_0x46bc00(0x202)](_0x2b0c81,_0x17617d,_0x563843));}[_0x4e3a72(0x477)](_0x687cb9,_0x471c0e,_0x150a1d){const _0x290066=_0x4e3a72;this[_0x290066(0x38a)](_0x687cb9,this['createCreateRecordOp'](_0x687cb9,_0x471c0e,_0x150a1d));}[_0x4e3a72(0x298)](_0x1bb11a,_0xa04b44,_0x2be165,_0x1dec7c,_0x22e6da){const _0x27dd6b=_0x4e3a72;let _0x55392c=_0x1bb11a[_0x27dd6b(0x566)](),_0x1748db=this['_normalizeCellValue'](_0x55392c,_0xa04b44,_0x2be165,_0x1dec7c,_0x22e6da),_0x6f5b5d=this[_0x27dd6b(0x30e)](_0x55392c,_0xa04b44,_0x2be165,{[_0x1dec7c]:_0x1748db});return this['_factory'][_0x27dd6b(0x551)](_0x55392c,_0xa04b44,[_0x6f5b5d]);}[_0x4e3a72(0x202)](_0x3282d6,_0x4e9158,_0x24835d){const _0x422d71=_0x4e3a72;let _0x1e7272=_0x3282d6[_0x422d71(0x566)](),_0x512955=_0x24835d[_0x422d71(0x2ef)](_0x623096=>this['_withModifiedSystemValues'](_0x1e7272,_0x4e9158,_0x623096[_0x422d71(0x549)],{...Object[_0x422d71(0x56d)](Object[_0x422d71(0x2f1)](_0x623096[_0x422d71(0x462)])['map'](([_0x3f9412,_0x5ae950])=>[_0x3f9412,this[_0x422d71(0x394)](_0x1e7272,_0x4e9158,_0x623096[_0x422d71(0x549)],_0x3f9412,_0x5ae950)]))}));return this[_0x422d71(0x504)][_0x422d71(0x551)](_0x1e7272,_0x4e9158,_0x512955);}[_0x4e3a72(0x312)](_0x4199fc,_0x446abf,_0x1ae349){const _0x4cbb48=_0x4e3a72;if(!this['_permissionService']['canCreateRecord'](_0x446abf))throw Error(_0x4cbb48(0x3a2));let _0x4eea8e=_0x4199fc[_0x4cbb48(0x566)](),_0x2e8bb0=this[_0x4cbb48(0x1e8)](_0x4eea8e[_0x4cbb48(0x46b)][_0x446abf]);return this[_0x4cbb48(0x504)][_0x4cbb48(0x477)](_0x4eea8e,_0x446abf,this[_0x4cbb48(0x305)](_0x4eea8e,_0x446abf,_0x1ae349,_0x2e8bb0));}['createBatchCreateRecordsOp'](_0x1df349,_0x272bd2,_0x222de2){const _0x31d1f7=_0x4e3a72;if(!this[_0x31d1f7(0x42d)][_0x31d1f7(0x440)](_0x272bd2))throw Error(_0x31d1f7(0x3a2));let _0x4aac7f=_0x1df349[_0x31d1f7(0x566)]();return _0x26cddf(_0x31d1f7(0x449),()=>{const _0xf65f35=_0x31d1f7;let _0x1013cf=this[_0xf65f35(0x1e8)](_0x4aac7f[_0xf65f35(0x46b)][_0x272bd2]);return this[_0xf65f35(0x504)]['createRecords'](_0x4aac7f,_0x272bd2,_0x222de2[_0xf65f35(0x2ef)](_0x51b85a=>this[_0xf65f35(0x305)](_0x4aac7f,_0x272bd2,_0x51b85a,_0x1013cf)));},{'existingRecords':Object[_0x31d1f7(0x458)](_0x4aac7f[_0x31d1f7(0x46b)][_0x272bd2][_0x31d1f7(0x54e)])[_0x31d1f7(0x46c)],'records':_0x222de2[_0x31d1f7(0x46c)]});}[_0x4e3a72(0x3df)](_0x3628b3,_0x3190b6,_0x3b690d,_0x2fb9cc,_0x3bb711){const _0x5bf5b1=_0x4e3a72;if(!this[_0x5bf5b1(0x42d)]['canCreateField'](_0x3190b6))throw Error(_0x5bf5b1(0x50f));let _0x3c6980=_0x3628b3['getSnapshot']();if(this[_0x5bf5b1(0x40e)](_0x3c6980,_0x3b690d),_0x2fb9cc===0x0)throw Error(_0x5bf5b1(0x2c6));let _0x1742c4=this[_0x5bf5b1(0x504)][_0x5bf5b1(0x390)](_0x3c6980,_0x3190b6,{'field':_0x3b690d,'index':_0x2fb9cc,'viewIndexes':_0x3bb711}),_0x590cc2=this[_0x5bf5b1(0x56a)](_0x3c6980,_0x3190b6,_0x3b690d);if(!_0x590cc2[_0x5bf5b1(0x46c)])return _0x1742c4;let _0x409731=this[_0x5bf5b1(0x3f3)][_0x5bf5b1(0x405)](_0x3c6980,_0x1742c4);return _0xc44ded([_0x1742c4,this[_0x5bf5b1(0x504)]['setRecordValues'](_0x409731,_0x3190b6,_0x590cc2)]);}[_0x4e3a72(0x514)](_0xb77eca,_0x3835f8,_0x1055ba){const _0x14a54e=_0x4e3a72;if(!this[_0x14a54e(0x42d)][_0x14a54e(0x400)](_0x3835f8,_0x1055ba))throw Error(_0x14a54e(0x3d5));this[_0x14a54e(0x38a)](_0xb77eca,this['_factory'][_0x14a54e(0x514)](_0xb77eca[_0x14a54e(0x566)](),_0x3835f8,_0x1055ba));}['duplicateRecord'](_0x1afe05,_0x316803,_0x467459,_0x2647ac){const _0x1e4842=_0x4e3a72;this[_0x1e4842(0x38a)](_0x1afe05,this[_0x1e4842(0x504)][_0x1e4842(0x583)](_0x1afe05[_0x1e4842(0x566)](),_0x316803,_0x467459,{..._0x2647ac,'values':{..._0x2647ac[_0x1e4842(0x462)],[_0x2a4b8a[_0x1e4842(0x32a)]]:_0x2647ac['id']}}));}[_0x4e3a72(0x1f3)](_0x34fff2,_0x4c5046,_0x3a3b32,_0x154d8a){const _0x2b7c20=_0x4e3a72;this[_0x2b7c20(0x38a)](_0x34fff2,this[_0x2b7c20(0x504)]['updateRecordOrder'](_0x34fff2[_0x2b7c20(0x566)](),_0x4c5046,_0x3a3b32,_0x154d8a));}['createField'](_0x4fded5,_0x50e0f3,_0x1c761f,_0x168a14,_0x310c48){const _0x20d661=_0x4e3a72;this[_0x20d661(0x38a)](_0x4fded5,this[_0x20d661(0x3df)](_0x4fded5,_0x50e0f3,_0x1c761f,_0x168a14,_0x310c48));}[_0x4e3a72(0x3dc)](_0x3fee05,_0x2bc1a8,_0x4ef005,_0x40de07){const _0x58052c=_0x4e3a72;var _0x38e4fa;if(!this[_0x58052c(0x42d)][_0x58052c(0x2b9)](_0x2bc1a8,_0x4ef005))throw Error(_0x58052c(0x4f2));let _0x5cae67=_0x3fee05[_0x58052c(0x566)](),_0x2df37a=(_0x38e4fa=_0x5cae67['tables'][_0x2bc1a8])==null?void 0x0:_0x38e4fa['fields'][_0x4ef005];if(!_0x2df37a||_0x4ef005===_0x2a4b8a[_0x58052c(0x32a)])throw Error(_0x58052c(0x3b0));this['_assertFieldDefinition'](_0x5cae67,{..._0x2df37a,..._0x40de07}),this['_apply'](_0x3fee05,this[_0x58052c(0x504)]['updateField'](_0x5cae67,_0x2bc1a8,_0x4ef005,_0x40de07));}[_0x4e3a72(0x3cd)](_0x24ce5f,_0x347b46,_0x2d9984,_0x14d2e6){const _0x3ebf0b=_0x4e3a72;var _0x8bd4d6;if(!this[_0x3ebf0b(0x42d)]['canEditField'](_0x347b46,_0x2d9984))throw Error('[BaseCommandService]:\x20cannot\x20edit\x20field.');let _0x5a59ba=_0x24ce5f['getSnapshot'](),_0xce0abe=(_0x8bd4d6=_0x5a59ba[_0x3ebf0b(0x46b)][_0x347b46])==null?void 0x0:_0x8bd4d6[_0x3ebf0b(0x3c4)][_0x2d9984];if(!_0xce0abe||_0x2d9984===_0x2a4b8a['BASE_RECORD_ID_FIELD_ID'])throw Error('[BaseCommandService]:\x20cannot\x20change\x20record-id\x20field\x20type.');this[_0x3ebf0b(0x40e)](_0x5a59ba,{..._0xce0abe,..._0x14d2e6}),this[_0x3ebf0b(0x38a)](_0x24ce5f,this[_0x3ebf0b(0x504)]['changeFieldType'](_0x5a59ba,_0x347b46,_0x2d9984,_0x14d2e6));}[_0x4e3a72(0x45f)](_0x56d462,_0x1aa0c2,_0x1829eb){const _0xe7682f=_0x4e3a72;var _0x489aea;if(((_0x489aea=_0x56d462[_0xe7682f(0x566)]()[_0xe7682f(0x46b)][_0x1aa0c2])==null?void 0x0:_0x489aea[_0xe7682f(0x21a)])===_0x1829eb||_0x1829eb===_0x2a4b8a[_0xe7682f(0x32a)])throw Error('[BaseCommandService]:\x20cannot\x20delete\x20primary\x20field.');if(!this['_permissionService'][_0xe7682f(0x1fe)](_0x1aa0c2,_0x1829eb))throw Error(_0xe7682f(0x407));this[_0xe7682f(0x38a)](_0x56d462,this['_factory'][_0xe7682f(0x45f)](_0x56d462[_0xe7682f(0x566)](),_0x1aa0c2,_0x1829eb));}[_0x4e3a72(0x2db)](_0x238c44,_0x466d2,_0x39021c,_0x100be2){const _0x277962=_0x4e3a72;if(!this[_0x277962(0x42d)]['canEditField'](_0x466d2,_0x39021c))throw Error('[BaseCommandService]:\x20cannot\x20edit\x20field.');if(_0x39021c===_0x2a4b8a[_0x277962(0x32a)]||_0x100be2['beforeFieldId']===_0x2a4b8a[_0x277962(0x32a)])throw Error(_0x277962(0x310));this[_0x277962(0x38a)](_0x238c44,this[_0x277962(0x504)][_0x277962(0x2db)](_0x238c44['getSnapshot'](),_0x466d2,_0x39021c,_0x100be2));}[_0x4e3a72(0x355)](_0x2d1088,_0xfc9441,_0x5c92be,_0x1b212c){const _0xf179b1=_0x4e3a72;this[_0xf179b1(0x38a)](_0x2d1088,this['_factory']['createView'](_0x2d1088[_0xf179b1(0x566)](),_0xfc9441,_0x5c92be,_0x1b212c));}[_0x4e3a72(0x3bb)](_0x23e615,_0x1df5d4,_0x2a7904,_0x56ac9a){const _0xab72dc=_0x4e3a72;if(!this[_0xab72dc(0x42d)]['canManageView'](_0x1df5d4,_0x2a7904))throw Error(_0xab72dc(0x25b));this[_0xab72dc(0x38a)](_0x23e615,this[_0xab72dc(0x504)][_0xab72dc(0x3bb)](_0x23e615[_0xab72dc(0x566)](),_0x1df5d4,_0x2a7904,_0x56ac9a));}[_0x4e3a72(0x471)](_0x4964dd,_0x452c50,_0x173f69){const _0x7c56af=_0x4e3a72;if(!this[_0x7c56af(0x42d)]['canManageView'](_0x452c50,_0x173f69))throw Error(_0x7c56af(0x25b));this[_0x7c56af(0x38a)](_0x4964dd,this[_0x7c56af(0x504)][_0x7c56af(0x471)](_0x4964dd[_0x7c56af(0x566)](),_0x452c50,_0x173f69));}[_0x4e3a72(0x510)](_0x77e77c,_0x542e5f,_0xffcf47,_0x1aeea2){const _0x161f3e=_0x4e3a72;if(!this[_0x161f3e(0x42d)][_0x161f3e(0x58a)](_0x542e5f,_0xffcf47))throw Error(_0x161f3e(0x25b));this[_0x161f3e(0x38a)](_0x77e77c,this[_0x161f3e(0x504)][_0x161f3e(0x510)](_0x77e77c[_0x161f3e(0x566)](),_0x542e5f,_0xffcf47,_0x1aeea2));}['updateViewConfig'](_0x5c9321,_0x206397,_0x58272a,_0x56bc33){const _0x26529e=_0x4e3a72;if(!this['_permissionService']['canManageView'](_0x206397,_0x58272a))throw Error(_0x26529e(0x25b));this[_0x26529e(0x38a)](_0x5c9321,this['_factory'][_0x26529e(0x2ca)](_0x5c9321[_0x26529e(0x566)](),_0x206397,_0x58272a,_0x56bc33));}[_0x4e3a72(0x26a)](_0x386a29,_0x52462f,_0x1d4616,_0x1f6edf){const _0x316094=_0x4e3a72;this[_0x316094(0x38a)](_0x386a29,this['_factory'][_0x316094(0x26a)](_0x386a29[_0x316094(0x566)](),_0x52462f,_0x1d4616,_0x1f6edf));}[_0x4e3a72(0x22a)](_0x275d50,_0x1b77fb,_0x4f9fde,_0x469c14){const _0x298e9a=_0x4e3a72;this['_apply'](_0x275d50,this[_0x298e9a(0x504)][_0x298e9a(0x22a)](_0x275d50[_0x298e9a(0x566)](),_0x1b77fb,_0x4f9fde,_0x469c14));}[_0x4e3a72(0x20b)](_0x4f07ea,_0x4e3d20,_0x115718,_0x24a6c2){const _0x72fdf3=_0x4e3a72;this['_apply'](_0x4f07ea,this[_0x72fdf3(0x504)][_0x72fdf3(0x20b)](_0x4f07ea['getSnapshot'](),_0x4e3d20,_0x115718,_0x24a6c2));}['setViewFieldVisible'](_0x1633d9,_0x4ec2fa,_0x2686d4,_0xddd4e7,_0x5982ee){const _0x6bf61d=_0x4e3a72;if(!this[_0x6bf61d(0x42d)][_0x6bf61d(0x58a)](_0x4ec2fa,_0x2686d4))throw Error(_0x6bf61d(0x25b));this[_0x6bf61d(0x38a)](_0x1633d9,this[_0x6bf61d(0x504)][_0x6bf61d(0x447)](_0x1633d9[_0x6bf61d(0x566)](),_0x4ec2fa,_0x2686d4,_0xddd4e7,_0x5982ee));}[_0x4e3a72(0x2d2)](_0x3f8c5d,_0x47b174,_0x44d136,_0x1835f6,_0x356cce){const _0x44b640=_0x4e3a72;this[_0x44b640(0x38a)](_0x3f8c5d,this[_0x44b640(0x504)][_0x44b640(0x2d2)](_0x3f8c5d[_0x44b640(0x566)](),_0x47b174,_0x44d136,_0x1835f6,_0x356cce));}['setViewFieldOrder'](_0x2ddaf6,_0x1779d1,_0x396ff7,_0x4d23ca,_0x1d3b66){const _0x47d462=_0x4e3a72;this[_0x47d462(0x38a)](_0x2ddaf6,this['_factory'][_0x47d462(0x386)](_0x2ddaf6[_0x47d462(0x566)](),_0x1779d1,_0x396ff7,_0x4d23ca,_0x1d3b66));}[_0x4e3a72(0x38a)](_0x153d72,_0x5f1c4e){const _0x4c28b4=_0x4e3a72;let _0x94d7b4=_0x153d72[_0x4c28b4(0x566)]();_0x153d72[_0x4c28b4(0x260)](this[_0x4c28b4(0x3f3)][_0x4c28b4(0x405)](_0x94d7b4,_0x5f1c4e));}[_0x4e3a72(0x305)](_0x18c658,_0x1547ee,_0x60bee,_0x4a80d7=this[_0x4e3a72(0x1e8)](_0x18c658['tables'][_0x1547ee])){const _0x23317c=_0x4e3a72;let _0x388727=_0x18c658[_0x23317c(0x46b)][_0x1547ee],_0x54dfaa=_0x60bee[_0x23317c(0x56f)]??_0x60bee[_0x23317c(0x314)]??this['_getCurrentUserId'](),_0x4dbdd4={..._0x60bee,'createdBy':_0x60bee[_0x23317c(0x56f)]??_0x54dfaa,'updatedBy':_0x60bee[_0x23317c(0x314)]??_0x54dfaa,'values':{..._0x60bee['values']}};return _0x4dbdd4[_0x23317c(0x462)][_0x2a4b8a[_0x23317c(0x32a)]]=_0x4dbdd4['id'],_0x388727[_0x23317c(0x541)][_0x23317c(0x3ad)](_0x596ee7=>{const _0x1873c8=_0x23317c;let _0x4c5381=_0x388727[_0x1873c8(0x3c4)][_0x596ee7];if(!(!_0x4c5381||_0x4dbdd4['values'][_0x596ee7]!==void 0x0))switch(_0x4c5381[_0x1873c8(0x3a3)]){case _0x2a4b8a[_0x1873c8(0x1f7)]['Numbering']:var _0x13385f;_0x4dbdd4[_0x1873c8(0x462)][_0x596ee7]=((_0x13385f=_0x4a80d7[_0x1873c8(0x295)](_0x596ee7))==null?void 0x0:_0x13385f())??this[_0x1873c8(0x592)](_0x388727,_0x596ee7)();break;case _0x2a4b8a[_0x1873c8(0x1f7)][_0x1873c8(0x42c)]:_0x4dbdd4[_0x1873c8(0x56f)]&&(_0x4dbdd4[_0x1873c8(0x462)][_0x596ee7]=_0x4dbdd4[_0x1873c8(0x56f)]);break;case _0x2a4b8a[_0x1873c8(0x1f7)][_0x1873c8(0x1d2)]:_0x4dbdd4[_0x1873c8(0x314)]&&(_0x4dbdd4['values'][_0x596ee7]=_0x4dbdd4[_0x1873c8(0x314)]);break;case _0x2a4b8a[_0x1873c8(0x1f7)]['CreatedAt']:_0x4dbdd4['values'][_0x596ee7]=_0xc1645c(_0x4dbdd4[_0x1873c8(0x2de)]);break;case _0x2a4b8a[_0x1873c8(0x1f7)][_0x1873c8(0x584)]:_0x4dbdd4[_0x1873c8(0x462)][_0x596ee7]=_0xc1645c(_0x4dbdd4[_0x1873c8(0x44b)]);break;default:{let _0x293740=_0x4c5381[_0x1873c8(0x50a)];_0x293740!=null&&_0x293740!==''&&!(Array['isArray'](_0x293740)&&_0x293740[_0x1873c8(0x46c)]===0x0)&&(_0x4dbdd4[_0x1873c8(0x462)][_0x596ee7]=_0x293740);}}}),_0x4dbdd4;}[_0x4e3a72(0x30e)](_0x189eee,_0x3e8f40,_0x5cdc10,_0x256832){const _0x3a2196=_0x4e3a72;var _0xa20b0b,_0x3a6c9b;let _0x3608f3=_0x189eee[_0x3a2196(0x46b)][_0x3e8f40],_0xc472e=((_0xa20b0b=(_0x3a6c9b=this[_0x3a2196(0x1fc)])['now'])==null?void 0x0:_0xa20b0b[_0x3a2196(0x3ac)](_0x3a6c9b))??Date['now'](),_0x9dbfd=this[_0x3a2196(0x40f)](),_0x11c815={..._0x256832};return _0x3608f3['fieldOrder']['forEach'](_0x2d941e=>{const _0x6631ab=_0x3a2196;let _0x15fa0b=_0x3608f3['fields'][_0x2d941e];_0x15fa0b&&(_0x15fa0b[_0x6631ab(0x3a3)]===_0x2a4b8a[_0x6631ab(0x1f7)]['UpdatedAt']&&(_0x11c815[_0x2d941e]=_0xc1645c(_0xc472e)),_0x15fa0b[_0x6631ab(0x3a3)]===_0x2a4b8a[_0x6631ab(0x1f7)][_0x6631ab(0x1d2)]&&_0x9dbfd&&(_0x11c815[_0x2d941e]=_0x9dbfd));}),{'recordId':_0x5cdc10,'values':_0x11c815,'recordPatch':{'updatedAt':_0xc472e,..._0x9dbfd?{'updatedBy':_0x9dbfd}:{}}};}[_0x4e3a72(0x56a)](_0x5a9208,_0x38f839,_0x4bfddd){const _0x3258bb=_0x4e3a72;let _0x9fddf8=_0x5a9208[_0x3258bb(0x46b)][_0x38f839];return!_0x9fddf8||!_0x1fa0d4(_0x4bfddd)?[]:_0x4bfddd[_0x3258bb(0x3a3)]===_0x2a4b8a[_0x3258bb(0x1f7)][_0x3258bb(0x55a)]?this[_0x3258bb(0x253)](_0x9fddf8,_0x4bfddd['id']):Object[_0x3258bb(0x462)](_0x9fddf8[_0x3258bb(0x54e)])[_0x3258bb(0x467)](_0x1f064d=>{let _0x3c2e09=this['_getSystemFieldValue'](_0x4bfddd,_0x1f064d);return _0x3c2e09===void 0x0?[]:[{'recordId':_0x1f064d['id'],'values':{[_0x4bfddd['id']]:_0x3c2e09}}];});}[_0x4e3a72(0x2ed)](_0x4a7979,_0x2dd352){const _0x258b26=_0x4e3a72;switch(_0x4a7979[_0x258b26(0x3a3)]){case _0x2a4b8a[_0x258b26(0x1f7)][_0x258b26(0x42c)]:return _0x2dd352[_0x258b26(0x56f)]??this[_0x258b26(0x40f)]();case _0x2a4b8a[_0x258b26(0x1f7)][_0x258b26(0x1d2)]:return _0x2dd352[_0x258b26(0x314)]??this[_0x258b26(0x40f)]();case _0x2a4b8a[_0x258b26(0x1f7)][_0x258b26(0x444)]:return _0xc1645c(_0x2dd352['createdAt']??Date[_0x258b26(0x45a)]());case _0x2a4b8a[_0x258b26(0x1f7)]['UpdatedAt']:return _0xc1645c(_0x2dd352[_0x258b26(0x44b)]??Date[_0x258b26(0x45a)]());default:return;}}[_0x4e3a72(0x1e8)](_0x9f179b){const _0x1e69a1=_0x4e3a72;let _0x206029=new Map();return _0x9f179b&&_0x9f179b[_0x1e69a1(0x541)][_0x1e69a1(0x3ad)](_0x4cb232=>{const _0x371c5e=_0x1e69a1;let _0x1e3ce5=_0x9f179b[_0x371c5e(0x3c4)][_0x4cb232];(_0x1e3ce5==null?void 0x0:_0x1e3ce5[_0x371c5e(0x3a3)])===_0x2a4b8a['BaseFieldType'][_0x371c5e(0x55a)]&&_0x206029['set'](_0x4cb232,this[_0x371c5e(0x592)](_0x9f179b,_0x4cb232));}),_0x206029;}[_0x4e3a72(0x592)](_0x2be800,_0x4e3ea0){const _0x4f77d6=_0x4e3a72;let _0x3fa3b8=Object[_0x4f77d6(0x462)](_0x2be800['records'])[_0x4f77d6(0x54b)]((_0x5739cd,_0x4521be)=>{const _0xdb1687=_0x4f77d6;let _0x9ebfe6=Number(_0x4521be[_0xdb1687(0x462)][_0x4e3ea0]);return Number['isFinite'](_0x9ebfe6)?Math['max'](_0x5739cd,_0x9ebfe6):_0x5739cd;},0x0);return()=>String(++_0x3fa3b8);}[_0x4e3a72(0x253)](_0x125d48,_0x17fb35){const _0xa8fb40=_0x4e3a72;let _0x2f0a50=this[_0xa8fb40(0x3f2)](_0x125d48),_0x115503=this[_0xa8fb40(0x592)](_0x125d48,_0x17fb35);return _0x2f0a50[_0xa8fb40(0x467)](_0x49e0ca=>this[_0xa8fb40(0x3cc)](_0x49e0ca[_0xa8fb40(0x462)][_0x17fb35])?[]:[{'recordId':_0x49e0ca['id'],'values':{[_0x17fb35]:_0x115503()}}]);}[_0x4e3a72(0x3f2)](_0x4c8bbb){const _0xd1d77=_0x4e3a72;var _0x39a8a3;let _0x452a53=Object[_0xd1d77(0x462)](_0x4c8bbb[_0xd1d77(0x54e)]),_0xc07154=new Map(_0x452a53['map'](_0x42254e=>[_0x42254e['id'],_0x42254e])),_0x275596=[],_0x52e819=new Set();(_0x39a8a3=_0x4c8bbb['recordOrder'])==null||_0x39a8a3[_0xd1d77(0x3ad)](_0x22a5d4=>{let _0x4230df=_0xc07154['get'](_0x22a5d4);_0x4230df&&(_0x275596['push'](_0x4230df),_0x52e819['add'](_0x22a5d4));});let _0x235235=_0x452a53[_0xd1d77(0x500)](_0x3442c9=>!_0x52e819[_0xd1d77(0x537)](_0x3442c9['id']))[_0xd1d77(0x2da)]((_0x25f785,_0x15e522)=>String(_0x25f785[_0xd1d77(0x236)]??_0x25f785['id'])[_0xd1d77(0x377)](String(_0x15e522[_0xd1d77(0x236)]??_0x15e522['id']))||_0x25f785['id']['localeCompare'](_0x15e522['id']));return[..._0x275596,..._0x235235];}['_isNonEmptyCellValue'](_0x23b311){const _0x410750=_0x4e3a72;return _0x23b311!=null&&_0x23b311!==''&&!(Array[_0x410750(0x35c)](_0x23b311)&&_0x23b311['length']===0x0);}['_getCurrentUserId'](){const _0x533c30=_0x4e3a72;var _0x3939d6,_0x5eeacf,_0x5632d3,_0x5856cf;return((_0x3939d6=(_0x5eeacf=this['_runtimeContext'])['getCurrentUserId'])==null?void 0x0:_0x3939d6[_0x533c30(0x3ac)](_0x5eeacf))??((_0x5632d3=(_0x5856cf=this['_runtimeContext'])[_0x533c30(0x38d)])==null||(_0x5632d3=_0x5632d3[_0x533c30(0x3ac)](_0x5856cf))==null?void 0x0:_0x5632d3[_0x533c30(0x1b9)])??void 0x0;}[_0x4e3a72(0x394)](_0x484a47,_0x218c31,_0x177905,_0x52884b,_0x292133){const _0x2442e2=_0x4e3a72;var _0x4ccb09;if(!this[_0x2442e2(0x42d)]['canEditCell'](_0x218c31,_0x177905,_0x52884b))throw Error('[BaseCommandService]:\x20cannot\x20edit\x20cell.');let _0x2cbe22=(_0x4ccb09=_0x484a47[_0x2442e2(0x46b)][_0x218c31])==null?void 0x0:_0x4ccb09[_0x2442e2(0x3c4)][_0x52884b];if(!_0x2cbe22)throw Error(_0x2442e2(0x4db)+_0x52884b+_0x2442e2(0x43e));let _0x16323e=this[_0x2442e2(0x2f5)][_0x2442e2(0x295)](_0x2cbe22[_0x2442e2(0x3a3)]);if(_0x2cbe22[_0x2442e2(0x403)]||_0x2cbe22[_0x2442e2(0x4d3)]||!_0x16323e['getCapabilities'](_0x2cbe22)[_0x2442e2(0x205)])throw Error('[BaseCommandService]:\x20cannot\x20edit\x20readonly\x20field.');let _0x4524a8=_0x16323e[_0x2442e2(0x371)](_0x292133,_0x2cbe22),_0x20009b=_0x16323e['validate'](_0x4524a8,_0x2cbe22);if(!_0x20009b[_0x2442e2(0x4fb)])throw Error(_0x20009b[_0x2442e2(0x57e)]??_0x2442e2(0x553));let _0x588fd3=_0x2cbe22[_0x2442e2(0x3a3)]===_0x2a4b8a['BaseFieldType'][_0x2442e2(0x37c)]?_0x150b96(_0x484a47,_0x2cbe22,_0x4524a8):{'valid':!0x0};if(!_0x588fd3[_0x2442e2(0x4fb)])throw Error(_0x588fd3[_0x2442e2(0x57e)]??_0x2442e2(0x4a2));return _0x4524a8;}[_0x4e3a72(0x40e)](_0x1f5f40,_0x39119c){const _0x3bb7ac=_0x4e3a72;if(_0x39119c['id']===_0x2a4b8a[_0x3bb7ac(0x32a)]||_0x39119c[_0x3bb7ac(0x3a3)]===_0x2a4b8a[_0x3bb7ac(0x1f7)][_0x3bb7ac(0x1c0)]||(0x0,_0x2a4b8a[_0x3bb7ac(0x482)])(_0x39119c[_0x3bb7ac(0x492)]))throw Error('[BaseCommandService]:\x20record-id\x20is\x20reserved.');let _0x4e1f89=_0x45d2b5(_0x1f5f40,_0x39119c);if(!_0x4e1f89[_0x3bb7ac(0x4fb)])throw Error(_0x4e1f89['reason']??_0x3bb7ac(0x1d9));}};_0x21ea3d=_0x2b1d11([_0x1f3d22(0x0,_0x258ce1),_0x1f3d22(0x1,_0x10d9e8)],_0x21ea3d);function _0x5b9ce1(){let _0x2bde42=new _0x4c8057();return _0x11ede0()['forEach'](_0x24d4bb=>_0x2bde42['register'](_0x24d4bb)),_0x2bde42;}function _0x1fa0d4(_0x4ec4c8){const _0x49ea4e=_0x4e3a72;return _0x4ec4c8['type']===_0x2a4b8a[_0x49ea4e(0x1f7)][_0x49ea4e(0x55a)]||_0x4ec4c8['type']===_0x2a4b8a[_0x49ea4e(0x1f7)][_0x49ea4e(0x42c)]||_0x4ec4c8['type']===_0x2a4b8a[_0x49ea4e(0x1f7)][_0x49ea4e(0x1d2)]||_0x4ec4c8[_0x49ea4e(0x3a3)]===_0x2a4b8a[_0x49ea4e(0x1f7)][_0x49ea4e(0x444)]||_0x4ec4c8[_0x49ea4e(0x3a3)]===_0x2a4b8a[_0x49ea4e(0x1f7)]['UpdatedAt'];}let _0x27ed5a=new Set([_0x2a4b8a['BaseFieldType']['Progress'],_0x2a4b8a[_0x4e3a72(0x1f7)][_0x4e3a72(0x2ac)],_0x2a4b8a[_0x4e3a72(0x1f7)][_0x4e3a72(0x50b)]]);function _0x3f5683(_0x49115b){const _0x3d6d59=_0x4e3a72;let _0x444729=_0x49115b[_0x3d6d59(0x3c4)][_0x49115b[_0x3d6d59(0x21a)]];if(!(_0x444729&&(_0x444729['system']===!0x0||_0x444729['id'][_0x3d6d59(0x494)]()==='id'||_0x444729['name'][_0x3d6d59(0x571)]()[_0x3d6d59(0x494)]()==='id'))&&_0x444729)return _0x444729['id'];for(let _0x42847a of _0x49115b[_0x3d6d59(0x541)]){let _0x473d47=_0x49115b[_0x3d6d59(0x3c4)][_0x42847a];if(_0x473d47&&_0x473d47['id']!==_0x49115b[_0x3d6d59(0x21a)]&&_0x473d47[_0x3d6d59(0x4d3)]!==!0x0&&_0x473d47[_0x3d6d59(0x3a3)]!==_0x2a4b8a['BaseFieldType']['RecordId'])return _0x473d47['id'];}return _0x49115b[_0x3d6d59(0x21a)];}function _0x15e8b3(_0x3cd372,_0x51bb79=[],_0x4ceefc=0x5){const _0x49e90a=_0x4e3a72;let _0x1b2940=new Set(_0x51bb79[_0x49e90a(0x500)](_0x462edb=>!!_0x462edb)),_0x2089b5=[],_0x508c07=[];for(let _0x27021e of _0x3cd372[_0x49e90a(0x541)]){let _0x293316=_0x3cd372[_0x49e90a(0x3c4)][_0x27021e];_0x293316&&_0x293316['system']!==!0x0&&_0x293316[_0x49e90a(0x3a3)]!==_0x2a4b8a['BaseFieldType']['RecordId']&&!_0x1b2940['has'](_0x293316['id'])&&(_0x27ed5a[_0x49e90a(0x537)](_0x293316[_0x49e90a(0x3a3)])?_0x2089b5:_0x508c07)[_0x49e90a(0x348)](_0x293316['id']);}return[..._0x2089b5,..._0x508c07]['slice'](0x0,_0x4ceefc);}function _0x488b5e(){const _0x410fca=_0x4e3a72;return[{'type':_0x2a4b8a[_0x410fca(0x4f3)][_0x410fca(0x37b)],'i18nKey':_0x410fca(0x1ca),'createDefaultConfig':()=>({}),'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{const _0x4f96f5=_0x410fca;throw Error(_0x4f96f5(0x489));}},{'type':_0x2a4b8a[_0x410fca(0x4f3)][_0x410fca(0x342)],'i18nKey':'base.viewType.kanban','createDefaultConfig':_0x522cbe=>{const _0x33adfa=_0x410fca;let _0x3a5550=_0x388f93(_0x522cbe);return{'groupFieldId':_0x3a5550,'coverFieldId':null,'cardLayout':_0x33adfa(0x20e),'showFieldNames':!0x0,'fieldSettings':{},'columnSettings':{},'card':{'titleFieldId':_0x522cbe[_0x33adfa(0x21a)],'fieldIds':_0x15e8b3(_0x522cbe,[_0x522cbe['primaryFieldId'],_0x3a5550])}};},'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{throw Error('Kanban\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.');}},{'type':_0x2a4b8a[_0x410fca(0x4f3)][_0x410fca(0x3e2)],'i18nKey':_0x410fca(0x3aa),'createDefaultConfig':_0xfc5439=>{const _0x2588bc=_0x410fca;let _0x2e1df9=_0xe2a630(_0xfc5439);return{'startDateFieldId':_0x2e1df9,'endDateFieldId':_0x22b426(_0xfc5439,_0x2e1df9),'titleFieldId':_0xfc5439[_0x2588bc(0x21a)],'mode':_0x2588bc(0x212),'timeslotSize':'medium','timeZone':_0x2588bc(0x317),'displayColor':{'type':'custom','color':_0x2588bc(0x242)},'fieldSettings':{}};},'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{const _0x5ee542=_0x410fca;throw Error(_0x5ee542(0x1d5));}},{'type':_0x2a4b8a[_0x410fca(0x4f3)][_0x410fca(0x29f)],'i18nKey':_0x410fca(0x2be),'createDefaultConfig':_0xcdbda6=>{const _0x3a8b3c=_0x410fca;let _0x10a1ad=_0xe2a630(_0xcdbda6);return{'startDateFieldId':_0x10a1ad,'endDateFieldId':_0x22b426(_0xcdbda6,_0x10a1ad)??_0x10a1ad,'titleFieldId':_0xcdbda6['primaryFieldId'],'scale':_0x3a8b3c(0x212),'showTodayLine':!0x0,'displayColor':{'type':_0x3a8b3c(0x4aa),'color':_0x3a8b3c(0x2af)},'fieldSettings':{},'workingDaysOnly':!0x1};},'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{throw Error('Gantt\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.');}},{'type':_0x2a4b8a[_0x410fca(0x4f3)][_0x410fca(0x26d)],'i18nKey':_0x410fca(0x3fd),'createDefaultConfig':_0x24a0d3=>{const _0x5cafa5=_0x410fca;let _0x5777bb=_0x3f5683(_0x24a0d3);return{'coverFieldId':null,'cardLayout':_0x5cafa5(0x20e),'showFieldNames':!0x0,'fieldSettings':{},'card':{'titleFieldId':_0x5777bb,'coverFieldId':null,'fieldIds':_0x15e8b3(_0x24a0d3,[_0x5777bb,_0x24a0d3['primaryFieldId']])},'cardSize':'medium'};},'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{const _0x337279=_0x410fca;throw Error(_0x337279(0x508));}}];}function _0x388f93(_0x53dd9d){const _0x1ea036=_0x4e3a72;var _0x838a41,_0x1476b6,_0x2b1652;let _0xe821b3=_0x53dd9d[_0x1ea036(0x541)][_0x1ea036(0x2ef)](_0x4866f3=>_0x53dd9d['fields'][_0x4866f3])[_0x1ea036(0x500)](_0x3818bf=>!!_0x3818bf);return((_0x838a41=_0xe821b3[_0x1ea036(0x4c7)](_0x4c94f5=>_0x4c94f5[_0x1ea036(0x3a3)]===_0x2a4b8a[_0x1ea036(0x1f7)]['SingleSelect']||_0x4c94f5[_0x1ea036(0x3a3)]===_0x2a4b8a[_0x1ea036(0x1f7)][_0x1ea036(0x336)]||_0x4c94f5[_0x1ea036(0x3a3)]===_0x2a4b8a['BaseFieldType']['Group']))==null?void 0x0:_0x838a41['id'])??((_0x1476b6=_0xe821b3[_0x1ea036(0x4c7)](_0x9081dc=>_0x9081dc['type']===_0x2a4b8a[_0x1ea036(0x1f7)][_0x1ea036(0x575)]))==null?void 0x0:_0x1476b6['id'])??((_0x2b1652=_0xe821b3[_0x1ea036(0x4c7)](_0x1728be=>_0x1728be[_0x1ea036(0x3a3)]===_0x2a4b8a[_0x1ea036(0x1f7)][_0x1ea036(0x34c)]||_0x1728be[_0x1ea036(0x3a3)]===_0x2a4b8a['BaseFieldType'][_0x1ea036(0x444)]||_0x1728be[_0x1ea036(0x3a3)]===_0x2a4b8a[_0x1ea036(0x1f7)]['UpdatedAt']))==null?void 0x0:_0x2b1652['id'])??_0x53dd9d['primaryFieldId'];}function _0xe2a630(_0x36b71d){const _0x5b5f1c=_0x4e3a72;var _0xe28942;return((_0xe28942=_0x36b71d['fieldOrder']['map'](_0x476aa8=>_0x36b71d[_0x5b5f1c(0x3c4)][_0x476aa8])['find'](_0x38c4a4))==null?void 0x0:_0xe28942['id'])??'';}function _0x22b426(_0x2e372a,_0x394092){const _0x435805=_0x4e3a72;var _0x33f86a;return(_0x33f86a=_0x2e372a['fieldOrder'][_0x435805(0x2ef)](_0x28e1d5=>_0x2e372a[_0x435805(0x3c4)][_0x28e1d5])[_0x435805(0x4c7)](_0x402601=>_0x38c4a4(_0x402601)&&_0x402601['id']!==_0x394092))==null?void 0x0:_0x33f86a['id'];}function _0x38c4a4(_0x396671){const _0x243fcd=_0x4e3a72;return!!_0x396671&&_0x396671[_0x243fcd(0x3a3)]===_0x2a4b8a[_0x243fcd(0x1f7)][_0x243fcd(0x34c)]&&_0x396671['readonly']!==!0x0&&_0x396671[_0x243fcd(0x4d3)]!==!0x0;}let _0xd124de=(0x0,_0x2a4b8a[_0x4e3a72(0x520)])(_0x4e3a72(0x556)),_0x17d016=new Set([_0x2a4b8a['BaseFieldType'][_0x4e3a72(0x31f)],_0x2a4b8a[_0x4e3a72(0x1f7)]['Currency'],_0x2a4b8a[_0x4e3a72(0x1f7)][_0x4e3a72(0x2f7)],_0x2a4b8a[_0x4e3a72(0x1f7)][_0x4e3a72(0x2ac)],_0x2a4b8a[_0x4e3a72(0x1f7)][_0x4e3a72(0x34c)],_0x2a4b8a['BaseFieldType'][_0x4e3a72(0x444)],_0x2a4b8a[_0x4e3a72(0x1f7)][_0x4e3a72(0x584)],_0x2a4b8a[_0x4e3a72(0x1f7)][_0x4e3a72(0x50b)]]),_0x5e3a87=class extends _0x2a4b8a[_0x4e3a72(0x2a7)]{constructor(_0x30a768){const _0x5c1950=_0x4e3a72;super(),this[_0x5c1950(0x2f5)]=_0x30a768,_0x2fb75f(this,_0x5c1950(0x38b),new Map()),_0x2fb75f(this,_0x5c1950(0x472),new WeakMap()),_0x2fb75f(this,_0x5c1950(0x55b),new Map()),_0x2fb75f(this,_0x5c1950(0x1fa),new Map()),_0x2fb75f(this,'_projectedGroupsCache',new Map()),_0x2fb75f(this,_0x5c1950(0x233),new Map()),_0x2fb75f(this,_0x5c1950(0x1c6),0x0),_0x2fb75f(this,_0x5c1950(0x43c),new Map()),_0x2fb75f(this,_0x5c1950(0x4d2),new Map()),_0x2fb75f(this,_0x5c1950(0x4b6),new Map()),_0x2fb75f(this,_0x5c1950(0x3dd),new Map());}['registerView'](_0x1af6c2){const _0x41af84=_0x4e3a72;return this['_views'][_0x41af84(0x1b0)](_0x1af6c2['type'],_0x1af6c2),(0x0,_0x2a4b8a['toDisposable'])(()=>this[_0x41af84(0x38b)]['delete'](_0x1af6c2[_0x41af84(0x3a3)]));}[_0x4e3a72(0x290)](_0x5c62fc,_0x48b545,_0x28f482){const _0x3d21b4=_0x4e3a72;var _0x55a48e,_0x505a4e,_0x1234e0;return _0x26cddf(_0x3d21b4(0x318),()=>{const _0x41ed57=_0x3d21b4;let _0x3ac1ec=this[_0x41ed57(0x37e)](_0x5c62fc,_0x48b545,_0x28f482);if(_0x3ac1ec)return _0x3ac1ec;let _0xcc39f9=_0x5c62fc[_0x41ed57(0x46b)][_0x48b545],_0x105d10=_0xcc39f9==null?void 0x0:_0xcc39f9[_0x41ed57(0x1b4)][_0x28f482];if(!_0xcc39f9||!_0x105d10)return this[_0x41ed57(0x2dd)](_0x5c62fc,_0x48b545,_0x28f482,{'type':'invalid','viewType':(_0x105d10==null?void 0x0:_0x105d10['type'])??_0x2a4b8a[_0x41ed57(0x4f3)][_0x41ed57(0x37b)],'reason':'missingField'});let _0x5212ba;switch(_0x105d10[_0x41ed57(0x3a3)]){case _0x2a4b8a[_0x41ed57(0x4f3)]['Grid']:_0x5212ba=this[_0x41ed57(0x321)](_0xcc39f9,_0x105d10);break;case _0x2a4b8a[_0x41ed57(0x4f3)]['Gantt']:_0x5212ba=this['_buildGantt'](_0xcc39f9,_0x105d10);break;case _0x2a4b8a[_0x41ed57(0x4f3)][_0x41ed57(0x342)]:_0x5212ba=this[_0x41ed57(0x1fb)](_0xcc39f9,_0x105d10);break;case _0x2a4b8a[_0x41ed57(0x4f3)][_0x41ed57(0x3e2)]:_0x5212ba=this[_0x41ed57(0x2e0)](_0xcc39f9,_0x105d10);break;case _0x2a4b8a[_0x41ed57(0x4f3)]['Gallery']:_0x5212ba=this[_0x41ed57(0x251)](_0xcc39f9,_0x105d10);break;default:_0x5212ba={'type':_0x41ed57(0x25f),'viewType':_0x105d10[_0x41ed57(0x3a3)],'reason':_0x41ed57(0x1af)};}return this['_setCachedProjection'](_0x5c62fc,_0x48b545,_0x28f482,_0x5212ba);},{'tableId':_0x48b545,'viewId':_0x28f482,'viewType':(_0x55a48e=_0x5c62fc['tables'][_0x48b545])==null||(_0x55a48e=_0x55a48e[_0x3d21b4(0x1b4)][_0x28f482])==null?void 0x0:_0x55a48e[_0x3d21b4(0x3a3)],'records':((_0x505a4e=_0x5c62fc['tables'][_0x48b545])==null||(_0x505a4e=_0x505a4e['recordOrder'])==null?void 0x0:_0x505a4e['length'])??Object[_0x3d21b4(0x458)](((_0x1234e0=_0x5c62fc[_0x3d21b4(0x46b)][_0x48b545])==null?void 0x0:_0x1234e0[_0x3d21b4(0x54e)])??{})[_0x3d21b4(0x46c)]});}[_0x4e3a72(0x48b)](_0x6661ef,_0xa6c00f,_0x19a2b2){const _0xccd910=_0x4e3a72;var _0x57d036,_0x23e955,_0x570854;let _0x99aada=_0x6661ef[_0xccd910(0x46b)][_0xa6c00f],_0x1e5a6b=_0x99aada==null?void 0x0:_0x99aada[_0xccd910(0x1b4)][_0x19a2b2];if(!_0x99aada||!_0x1e5a6b)throw Error(_0xccd910(0x2e3)+_0x19a2b2+'\x22.');let _0x6931e4=_0x105579=>!!_0x99aada['fields'][_0x105579],_0x423c5e={..._0x1e5a6b,'filter':_0x1e5a6b['filter']?{..._0x1e5a6b[_0xccd910(0x500)],'conditions':_0x1e5a6b[_0xccd910(0x500)][_0xccd910(0x515)][_0xccd910(0x500)](_0x8234ae=>_0x6931e4(_0x8234ae['fieldId']))}:_0x1e5a6b[_0xccd910(0x500)],'sort':(_0x57d036=_0x1e5a6b[_0xccd910(0x2da)])==null?void 0x0:_0x57d036[_0xccd910(0x500)](_0x52e5a0=>_0x6931e4(_0x52e5a0[_0xccd910(0x1b3)])),'group':(_0x23e955=_0x1e5a6b[_0xccd910(0x48a)])==null?void 0x0:_0x23e955[_0xccd910(0x500)](_0x440ab3=>_0x6931e4(_0x440ab3[_0xccd910(0x1b3)])),'fieldOrder':(_0x570854=_0x1e5a6b[_0xccd910(0x541)])==null?void 0x0:_0x570854[_0xccd910(0x500)](_0x6931e4),'fieldSettings':Object['fromEntries'](Object[_0xccd910(0x2f1)](_0x1e5a6b[_0xccd910(0x1e2)]??{})[_0xccd910(0x500)](([_0x23d321])=>_0x6931e4(_0x23d321)))};if(_0x423c5e[_0xccd910(0x3a3)]===_0xccd910(0x525)){var _0x3b5655;let _0x1c8f08=_0x423c5e[_0xccd910(0x3e8)]??{},_0x576619=this[_0xccd910(0x36e)](_0x99aada,_0x423c5e),_0x5e3713=this[_0xccd910(0x3e3)](_0x99aada,(_0x3b5655=_0x1c8f08[_0xccd910(0x49a)])==null?void 0x0:_0x3b5655[_0xccd910(0x50c)]);_0x423c5e[_0xccd910(0x3e8)]={..._0x1c8f08,'groupFieldId':_0x576619??_0x1c8f08[_0xccd910(0x596)],'coverFieldId':this['_resolveKanbanCoverFieldId'](_0x99aada,_0x1c8f08),'cardLayout':_0x1c8f08[_0xccd910(0x47a)]==='compose'?_0xccd910(0x1e7):_0xccd910(0x20e),'showFieldNames':_0x1c8f08[_0xccd910(0x36c)]!==!0x1,'fieldSettings':Object[_0xccd910(0x56d)](Object['entries'](_0x1c8f08['fieldSettings']??{})[_0xccd910(0x500)](([_0x298af7])=>_0x6931e4(_0x298af7))),'columnSettings':_0x1c8f08[_0xccd910(0x4c3)]??{},'card':{..._0x1c8f08[_0xccd910(0x49a)]??{},'titleFieldId':_0x5e3713,'fieldIds':this['_resolveKanbanCardFieldIds'](_0x99aada,_0x423c5e,_0x576619??'',_0x5e3713)}};}return{'repaired':JSON[_0xccd910(0x2b1)](_0x423c5e)!==JSON['stringify'](_0x1e5a6b),'view':_0x423c5e};}[_0x4e3a72(0x470)](){const _0x213720=_0x4e3a72;this[_0x213720(0x1c6)]++;}[_0x4e3a72(0x569)](_0x4c7e26,_0x272ac2,_0x578e44){const _0x2d617b=_0x4e3a72;let _0x33c2ef=this[_0x2d617b(0x48d)](_0x4c7e26)+0x1;this[_0x2d617b(0x4d2)][_0x2d617b(0x1b0)](_0x4c7e26,_0x33c2ef);let _0x599459=this[_0x2d617b(0x4b6)][_0x2d617b(0x295)](_0x4c7e26)??[];_0x599459[_0x2d617b(0x348)]({'revision':_0x33c2ef,'recordId':_0x272ac2,'fieldId':_0x578e44}),this[_0x2d617b(0x4b6)][_0x2d617b(0x1b0)](_0x4c7e26,_0x599459);}[_0x4e3a72(0x268)](_0x16435f,_0x3d376c){const _0x4b2dcb=_0x4e3a72;this[_0x4b2dcb(0x270)](_0x16435f);}['invalidateByView'](_0x55c112,_0x6e2fd7){const _0x53a591=_0x4e3a72;this['_viewRevisions'][_0x53a591(0x1b0)](this[_0x53a591(0x392)](_0x55c112,_0x6e2fd7),this['_getViewRevision'](_0x55c112,_0x6e2fd7)+0x1);}[_0x4e3a72(0x37e)](_0x354aa6,_0x37de43,_0x26b617){const _0x2ec5e3=_0x4e3a72;var _0x14f46c;let _0x4edde7=(_0x14f46c=this[_0x2ec5e3(0x472)][_0x2ec5e3(0x295)](_0x354aa6))==null?void 0x0:_0x14f46c[_0x2ec5e3(0x295)](this[_0x2ec5e3(0x230)](_0x37de43,_0x26b617));return _0x4edde7&&_0x4edde7['globalRevision']===this[_0x2ec5e3(0x1c6)]&&_0x4edde7[_0x2ec5e3(0x33d)]===this['_getTableRevision'](_0x37de43)&&_0x4edde7[_0x2ec5e3(0x57d)]===this[_0x2ec5e3(0x48d)](_0x37de43)&&_0x4edde7['viewRevision']===this[_0x2ec5e3(0x2c4)](_0x37de43,_0x26b617)?_0x4edde7[_0x2ec5e3(0x396)]:null;}[_0x4e3a72(0x2dd)](_0x37ac30,_0x36bf0e,_0x447994,_0x33d19c){const _0x81375c=_0x4e3a72;let _0xf1fe20=this[_0x81375c(0x472)][_0x81375c(0x295)](_0x37ac30);return _0xf1fe20||(_0xf1fe20=new Map(),this[_0x81375c(0x472)][_0x81375c(0x1b0)](_0x37ac30,_0xf1fe20)),_0xf1fe20[_0x81375c(0x1b0)](this['_cacheKey'](_0x36bf0e,_0x447994),{'projection':_0x33d19c,'globalRevision':this[_0x81375c(0x1c6)],'tableRevision':this[_0x81375c(0x3a5)](_0x36bf0e),'cellRevision':this[_0x81375c(0x48d)](_0x36bf0e),'viewRevision':this[_0x81375c(0x2c4)](_0x36bf0e,_0x447994)}),_0x33d19c;}[_0x4e3a72(0x270)](_0x56b5f6){const _0x558cdd=_0x4e3a72;this[_0x558cdd(0x43c)][_0x558cdd(0x1b0)](_0x56b5f6,this[_0x558cdd(0x3a5)](_0x56b5f6)+0x1);}['_getTableRevision'](_0x3b3560){const _0xd6d89e=_0x4e3a72;return this[_0xd6d89e(0x43c)]['get'](_0x3b3560)??0x0;}['_getCellRevision'](_0x5c47d4){const _0x577f66=_0x4e3a72;return this['_cellRevisions'][_0x577f66(0x295)](_0x5c47d4)??0x0;}['_getViewRevision'](_0x4946f9,_0x157d4c){const _0x28c3f2=_0x4e3a72;return this['_viewRevisions'][_0x28c3f2(0x295)](this['_viewRevisionKey'](_0x4946f9,_0x157d4c))??0x0;}[_0x4e3a72(0x230)](_0x503256,_0x2636b9){return _0x503256+'\x00'+_0x2636b9;}['_viewRowsCacheKey'](_0x75a23,_0x5b982b){return _0x75a23+'\x00'+this['_rowTransformCacheSegment'](_0x5b982b);}[_0x4e3a72(0x2f3)](_0x636809,_0x5c3fb6,_0x539808){const _0x25a396=_0x4e3a72;return _0x636809+'\x00'+this[_0x25a396(0x1e6)](_0x5c3fb6)+'\x00'+this[_0x25a396(0x327)](_0x539808);}[_0x4e3a72(0x1e6)](_0x3de099){const _0xb34da4=_0x4e3a72;return _0x3de099?_0x4e8643({'filter':_0x32241f(_0x3de099[_0xb34da4(0x500)]),'sort':_0x4d497d(_0x3de099[_0xb34da4(0x2da)])}):_0xb34da4(0x441);}[_0x4e3a72(0x327)](_0x156ab8){const _0x2c9af1=_0x4e3a72;return _0x4e8643(_0x156ab8[_0x2c9af1(0x2ef)](_0x5b894f=>({'fieldId':_0x5b894f['fieldId'],'direction':_0x5b894f[_0x2c9af1(0x39a)]??null})));}[_0x4e3a72(0x392)](_0x325e41,_0xbe86ce){return _0x325e41+'\x00'+_0xbe86ce;}[_0x4e3a72(0x321)](_0x34253f,_0xf378e0){const _0x3a52a9=_0x4e3a72;var _0x33d237;let _0x2d1127=_0x31787d(_0x34253f),_0x463c3b=this[_0x3a52a9(0x545)](_0x34253f,_0xf378e0),_0x1b3941=(_0x33d237=_0xf378e0[_0x3a52a9(0x500)])!=null&&_0x33d237[_0x3a52a9(0x515)][_0x3a52a9(0x46c)]?this[_0x3a52a9(0x545)](_0x34253f,{..._0xf378e0,'filter':null}):_0x463c3b,_0x335e95=_0x9d91f6(this[_0x3a52a9(0x3f5)](_0x34253f,_0x2d1127,_0xf378e0['id'],_0x1b3941[_0x3a52a9(0x2ef)](_0x46ae60=>_0x46ae60[_0x3a52a9(0x549)])),_0x1b3941,new Set(_0x463c3b[_0x3a52a9(0x2ef)](_0x7f8b08=>_0x7f8b08[_0x3a52a9(0x549)])));return{'type':_0x2a4b8a[_0x3a52a9(0x4f3)]['Grid'],'fields':this[_0x3a52a9(0x516)](_0x34253f,_0xf378e0),'rows':_0x335e95[_0x3a52a9(0x3e0)],'groups':this['_projectHierarchyGroups'](_0x34253f,_0xf378e0,_0x335e95[_0x3a52a9(0x3e0)],_0x335e95['hierarchy']),'hierarchy':_0x335e95[_0x3a52a9(0x411)],'frozenFieldCount':typeof _0xf378e0[_0x3a52a9(0x3e8)][_0x3a52a9(0x31c)]==_0x3a52a9(0x23b)?_0xf378e0[_0x3a52a9(0x3e8)][_0x3a52a9(0x31c)]:0x0};}['_getHierarchyIndex'](_0x53d9b6,_0x5205e3,_0x4c37d3,_0x73a959){const _0x1637b3=_0x4e3a72;let _0x128372=_0x53d9b6['id']+'\x00'+_0x5205e3+'\x00'+_0x4c37d3,_0x6f22b1=this[_0x1637b3(0x48d)](_0x53d9b6['id']),_0x270d23=this['_hierarchyIndexCache'][_0x1637b3(0x295)](_0x128372);if(_0x270d23&&_0x270d23[_0x1637b3(0x299)]===this[_0x1637b3(0x1c6)]&&_0x270d23[_0x1637b3(0x33d)]===this[_0x1637b3(0x3a5)](_0x53d9b6['id'])){if(_0x270d23[_0x1637b3(0x57d)]===_0x6f22b1&&_0x270d23[_0x1637b3(0x577)]===_0x53d9b6)return _0x270d23[_0x1637b3(0x4a4)];if(!this['_cellInvalidationsTouchFields'](_0x53d9b6['id'],_0x270d23[_0x1637b3(0x57d)],_0x6f22b1,new Set([_0x5205e3])))return this['_hierarchyIndexCache'][_0x1637b3(0x1b0)](_0x128372,{..._0x270d23,'table':_0x53d9b6,'cellRevision':_0x6f22b1}),_0x270d23[_0x1637b3(0x4a4)];}let _0xc98a8a=_0x10c7de(_0x53d9b6,_0x5205e3,_0x73a959);return this[_0x1637b3(0x233)][_0x1637b3(0x1b0)](_0x128372,{'table':_0x53d9b6,'index':_0xc98a8a,'globalRevision':this[_0x1637b3(0x1c6)],'tableRevision':this[_0x1637b3(0x3a5)](_0x53d9b6['id']),'cellRevision':_0x6f22b1}),_0xc98a8a;}[_0x4e3a72(0x2b0)](_0x2d3bc2,_0x2c8916,_0x341214,_0x14ddf4){const _0x16f9b0=_0x4e3a72;var _0xd1b8;if(!((_0xd1b8=_0x2c8916[_0x16f9b0(0x48a)])!=null&&_0xd1b8['length']))return[];let _0x30986d=new Map(_0x341214[_0x16f9b0(0x2ef)](_0x428dac=>[_0x428dac[_0x16f9b0(0x549)],_0x428dac])),_0x11f68f=_0x14ddf4[_0x16f9b0(0x3a9)]['flatMap'](_0x5be94f=>{const _0x524841=_0x16f9b0;let _0x3e701b=_0x30986d[_0x524841(0x295)](_0x5be94f);return _0x3e701b?[_0x3e701b]:[];}),_0x3f2e0d=this['_projectGroups'](_0x2d3bc2,_0x2c8916,_0x11f68f),_0x24c589=new Map(_0x14ddf4['orderedRecordIds'][_0x16f9b0(0x2ef)]((_0x156fd9,_0x5468d2)=>[_0x156fd9,_0x5468d2])),_0x30e881=_0x47cab2=>{const _0x2e5fa9=_0x16f9b0;let _0x10641c=_0x14ddf4[_0x2e5fa9(0x51f)][_0x47cab2],_0x30b6b8=_0x24c589[_0x2e5fa9(0x295)](_0x47cab2)??-0x1;return _0x30b6b8<0x0||!_0x10641c?[]:_0x14ddf4[_0x2e5fa9(0x23f)][_0x2e5fa9(0x39c)](_0x30b6b8,_0x10641c[_0x2e5fa9(0x37f)]+0x1);},_0x5a3232=_0x3b9b97=>{const _0x3c0ab4=_0x16f9b0;var _0x54fa4a,_0x1bbfc5;return{..._0x3b9b97,'recordIds':(_0x54fa4a=_0x3b9b97['children'])!=null&&_0x54fa4a[_0x3c0ab4(0x46c)]?_0x3b9b97[_0x3c0ab4(0x568)]:_0x3b9b97[_0x3c0ab4(0x568)][_0x3c0ab4(0x467)](_0x30e881),'children':(_0x1bbfc5=_0x3b9b97['children'])==null?void 0x0:_0x1bbfc5[_0x3c0ab4(0x2ef)](_0x5a3232)};};return _0x3f2e0d[_0x16f9b0(0x2ef)](_0x5a3232);}['_buildKanban'](_0x6eae1e,_0x1b6a84){const _0x55cd32=_0x4e3a72;var _0x4b56bb;let _0x40999a=this[_0x55cd32(0x36e)](_0x6eae1e,_0x1b6a84),_0x330966=_0x40999a?_0x6eae1e['fields'][_0x40999a]:void 0x0;if(!_0x330966)return{'type':_0x55cd32(0x25f),'viewType':_0x2a4b8a[_0x55cd32(0x4f3)]['Kanban'],'reason':_0x55cd32(0x31a),'fieldId':_0x1b6a84['config']['groupFieldId']};let _0x1ec83e=this[_0x55cd32(0x545)](_0x6eae1e,_0x1b6a84),_0x53d561=this['_projectFields'](_0x6eae1e,_0x1b6a84),_0x3511d7=_0x1b6a84[_0x55cd32(0x3e8)]??{},_0x358609=this[_0x55cd32(0x3e3)](_0x6eae1e,(_0x4b56bb=_0x3511d7[_0x55cd32(0x49a)])==null?void 0x0:_0x4b56bb[_0x55cd32(0x50c)]),_0x1bbdfc=this['_resolveKanbanCardFieldIds'](_0x6eae1e,_0x1b6a84,_0x330966['id'],_0x358609),_0x785d54=new Map();if(_0x5c7c42(_0x6eae1e,_0x330966['id'])){let _0xc6909f=this['_getHierarchyIndex'](_0x6eae1e,_0x330966['id'],_0x1b6a84['id'],_0x1ec83e['map'](_0x27e146=>_0x27e146[_0x55cd32(0x549)])),_0x469a6d=new Map();return _0x1ec83e[_0x55cd32(0x3ad)](_0x552f57=>{const _0x166a7d=_0x55cd32;let _0x4dd924=_0xc6909f[_0x166a7d(0x1ea)][_0x166a7d(0x295)](_0x552f57['recordId'])??null,_0x52e295=_0x4dd924??'',_0x12c5ae=_0x4dd924?_0x6eae1e['records'][_0x4dd924]:void 0x0,_0x2cd486=_0x469a6d[_0x166a7d(0x295)](_0x52e295)??{'key':_0x52e295,'title':_0x12c5ae?String(_0x1dd5a4(_0x6eae1e,_0x12c5ae['id'],_0x6eae1e[_0x166a7d(0x21a)])??_0x4dd924):this['_kanbanLaneTitle'](_0x330966,_0x52e295,_0x3511d7),'recordIds':[]};_0x2cd486['recordIds'][_0x166a7d(0x348)](_0x552f57[_0x166a7d(0x549)]),_0x469a6d['set'](_0x52e295,_0x2cd486);}),{'type':_0x2a4b8a[_0x55cd32(0x4f3)][_0x55cd32(0x342)],'fields':_0x53d561,'rows':_0x1ec83e,'groups':[],'groupFieldId':_0x330966['id'],'titleFieldId':_0x358609,'coverFieldId':this[_0x55cd32(0x4d1)](_0x6eae1e,_0x3511d7),'cardLayout':_0x3511d7[_0x55cd32(0x47a)]==='compose'?_0x55cd32(0x1e7):_0x55cd32(0x20e),'showFieldNames':_0x3511d7[_0x55cd32(0x36c)]!==!0x1,'visibleCardFieldIds':_0x1bbdfc,'lanes':['',..._0xc6909f[_0x55cd32(0x23f)]][_0x55cd32(0x467)](_0x38044f=>{const _0x15bed1=_0x55cd32;let _0x4a9175=_0x469a6d['get'](_0x38044f);return _0x4a9175!=null&&_0x4a9175[_0x15bed1(0x568)][_0x15bed1(0x46c)]?[_0x4a9175]:[];})};}return this[_0x55cd32(0x2d7)](_0x330966,_0x3511d7)[_0x55cd32(0x3ad)](_0x148534=>_0x785d54[_0x55cd32(0x1b0)](_0x148534[_0x55cd32(0x20f)],{..._0x148534,'recordIds':[]})),_0x1ec83e[_0x55cd32(0x3ad)](_0x30b8c4=>{const _0x1611bb=_0x55cd32;this[_0x1611bb(0x49c)](_0x330966,_0x30b8c4[_0x1611bb(0x462)][_0x330966['id']])[_0x1611bb(0x3ad)](_0x3bbad2=>{const _0x1c8787=_0x1611bb;let _0xdae0d5=_0x785d54[_0x1c8787(0x295)](_0x3bbad2)??{'key':_0x3bbad2,'title':this['_kanbanLaneTitle'](_0x330966,_0x3bbad2,_0x3511d7),'color':this[_0x1c8787(0x309)](_0x330966,_0x3bbad2,_0x3511d7),'recordIds':[]};_0xdae0d5[_0x1c8787(0x568)]['push'](_0x30b8c4[_0x1c8787(0x549)]),_0x785d54[_0x1c8787(0x1b0)](_0x3bbad2,_0xdae0d5);});}),{'type':_0x2a4b8a[_0x55cd32(0x4f3)][_0x55cd32(0x342)],'fields':_0x53d561,'rows':_0x1ec83e,'groups':this['_projectGroups'](_0x6eae1e,_0x1b6a84,_0x1ec83e),'groupFieldId':_0x330966['id'],'titleFieldId':_0x358609,'coverFieldId':this['_resolveKanbanCoverFieldId'](_0x6eae1e,_0x3511d7),'cardLayout':_0x3511d7['cardLayout']===_0x55cd32(0x1e7)?'compose':_0x55cd32(0x20e),'showFieldNames':_0x3511d7[_0x55cd32(0x36c)]!==!0x1,'visibleCardFieldIds':_0x1bbdfc,'lanes':Array[_0x55cd32(0x221)](_0x785d54[_0x55cd32(0x462)]())};}['_resolveKanbanGroupFieldId'](_0x5ddd56,_0x2099c4){const _0x117a8a=_0x4e3a72;var _0x4d8f67;let _0x40a0e9=(_0x4d8f67=_0x2099c4['config'])==null?void 0x0:_0x4d8f67['groupFieldId'];return _0x40a0e9&&this['_isKanbanGroupField'](_0x5ddd56,_0x40a0e9)?_0x40a0e9:this[_0x117a8a(0x493)](_0x5ddd56,_0x364e38=>this['_isAllowedKanbanGroupField'](_0x364e38));}[_0x4e3a72(0x493)](_0x22b784,_0x4f43f2){for(let _0x4f1a0c of _0x22b784['fieldOrder']){let _0x2ae2df=_0x22b784['fields'][_0x4f1a0c];if(_0x2ae2df&&_0x4f43f2(_0x2ae2df))return _0x2ae2df['id'];}return null;}[_0x4e3a72(0x1b8)](_0x29dec5,_0x2a6f8f){const _0x37d197=_0x4e3a72;let _0x2469b8=_0x29dec5[_0x37d197(0x3c4)][_0x2a6f8f];return this['_isAllowedKanbanGroupField'](_0x2469b8)||_0x5c7c42(_0x29dec5,_0x2a6f8f);}[_0x4e3a72(0x442)](_0x42e006){const _0x7c3d9c=_0x4e3a72;return!!_0x42e006&&(_0x42e006[_0x7c3d9c(0x3a3)]===_0x2a4b8a[_0x7c3d9c(0x1f7)][_0x7c3d9c(0x22f)]||_0x42e006[_0x7c3d9c(0x3a3)]===_0x2a4b8a[_0x7c3d9c(0x1f7)][_0x7c3d9c(0x336)]||_0x42e006[_0x7c3d9c(0x3a3)]===_0x2a4b8a[_0x7c3d9c(0x1f7)][_0x7c3d9c(0x2ac)]||_0x42e006[_0x7c3d9c(0x3a3)]===_0x2a4b8a[_0x7c3d9c(0x1f7)][_0x7c3d9c(0x340)]||_0x42e006[_0x7c3d9c(0x3a3)]===_0x2a4b8a[_0x7c3d9c(0x1f7)][_0x7c3d9c(0x26e)]||_0x42e006[_0x7c3d9c(0x3a3)]===_0x2a4b8a[_0x7c3d9c(0x1f7)][_0x7c3d9c(0x50b)]);}[_0x4e3a72(0x539)](_0x893af4){const _0x5ac8fe=_0x4e3a72;return _0x893af4[_0x5ac8fe(0x3a3)]===_0x2a4b8a[_0x5ac8fe(0x1f7)][_0x5ac8fe(0x22f)]||_0x893af4['type']===_0x2a4b8a[_0x5ac8fe(0x1f7)][_0x5ac8fe(0x336)];}[_0x4e3a72(0x4d1)](_0x3dc2ba,_0x25ac56){const _0x5e2249=_0x4e3a72;var _0x3dd116;let _0x34a46e=_0x25ac56[_0x5e2249(0x4ee)]??((_0x3dd116=_0x25ac56[_0x5e2249(0x49a)])==null?void 0x0:_0x3dd116[_0x5e2249(0x4ee)])??null;if(!_0x34a46e)return null;let _0x197e76=_0x3dc2ba[_0x5e2249(0x3c4)][_0x34a46e];return _0x197e76&&this['_capabilities'](_0x197e76)[_0x5e2249(0x3c6)]?_0x197e76['id']:null;}['_resolveKanbanCardFieldIds'](_0x52c6fb,_0x4d3937,_0x3d7946,_0x2dc0f8=this[_0x4e3a72(0x3e3)](_0x52c6fb,((()=>{const _0x17cde2=_0x4e3a72;var _0xd761dd;return(_0xd761dd=_0x4d3937[_0x17cde2(0x3e8)])==null||(_0xd761dd=_0xd761dd[_0x17cde2(0x49a)])==null?void 0x0:_0xd761dd['titleFieldId'];})()))){const _0x18434b=_0x4e3a72;var _0x152395;let _0x178f04=_0x4d3937[_0x18434b(0x3e8)]??{},_0x2f2585=(_0x152395=_0x178f04[_0x18434b(0x49a)])!=null&&(_0x152395=_0x152395['fieldIds'])!=null&&_0x152395[_0x18434b(0x46c)]?_0x178f04[_0x18434b(0x49a)][_0x18434b(0x1eb)]:_0x15e8b3(_0x52c6fb,[_0x2dc0f8,_0x52c6fb['primaryFieldId'],_0x3d7946]),_0x5f3de4=_0x178f04[_0x18434b(0x1e2)]??{};return _0x2f2585[_0x18434b(0x500)](_0x2e9a17=>{const _0x5e9e8a=_0x18434b;var _0x4cb4ea,_0x5e7790;let _0xdad5e0=_0x52c6fb[_0x5e9e8a(0x3c4)][_0x2e9a17];return!(!_0xdad5e0||_0xdad5e0[_0x5e9e8a(0x4d3)]===!0x0||_0xdad5e0[_0x5e9e8a(0x3a3)]===_0x2a4b8a['BaseFieldType'][_0x5e9e8a(0x1c0)]||_0xdad5e0['id']===_0x3d7946||_0xdad5e0['id']===_0x2dc0f8||(_0x4cb4ea=_0x4d3937['fieldSettings'])!=null&&(_0x4cb4ea=_0x4cb4ea[_0x2e9a17])!=null&&_0x4cb4ea[_0x5e9e8a(0x31b)]||(_0x5e7790=_0x5f3de4[_0x2e9a17])!=null&&_0x5e7790[_0x5e9e8a(0x31b)]);})['sort']((_0x40797c,_0x227e15)=>{const _0x5c880f=_0x18434b;var _0x8ff331,_0x25b2f3;return(((_0x8ff331=_0x5f3de4[_0x40797c])==null?void 0x0:_0x8ff331[_0x5c880f(0x4c9)])??_0x2f2585[_0x5c880f(0x4f4)](_0x40797c))-(((_0x25b2f3=_0x5f3de4[_0x227e15])==null?void 0x0:_0x25b2f3[_0x5c880f(0x4c9)])??_0x2f2585[_0x5c880f(0x4f4)](_0x227e15));});}[_0x4e3a72(0x2d7)](_0x399a56,_0x4466bd){const _0x3b96fa=_0x4e3a72;var _0x1c47cb;let _0x4ed81e=(Array[_0x3b96fa(0x35c)]((_0x1c47cb=_0x399a56[_0x3b96fa(0x3e8)])==null?void 0x0:_0x1c47cb[_0x3b96fa(0x22d)])?_0x399a56[_0x3b96fa(0x3e8)][_0x3b96fa(0x22d)]:[])[_0x3b96fa(0x467)]((_0x10a8a3,_0x3bf523)=>{const _0x2bb7ea=_0x3b96fa;if(_0x10a8a3==null)return[];let _0x14a46c=typeof _0x10a8a3==_0x2bb7ea(0x4ad)?{'id':_0x10a8a3,'name':_0x10a8a3,'color':void 0x0}:_0x10a8a3,_0x4edb05=String(_0x14a46c['id']??_0x14a46c[_0x2bb7ea(0x492)]??'option-'+(_0x3bf523+0x1));return[{'key':_0x4edb05,'title':String(_0x14a46c[_0x2bb7ea(0x492)]??_0x14a46c['id']??_0x4edb05),'color':this[_0x2bb7ea(0x309)](_0x399a56,_0x4edb05,_0x4466bd)}];});return Object[_0x3b96fa(0x2f1)](_0x4466bd[_0x3b96fa(0x4c3)]??{})['forEach'](([_0x12d90a,_0xd89f4a])=>{const _0x35ec34=_0x3b96fa;_0x4ed81e[_0x35ec34(0x35a)](_0x2cc090=>_0x2cc090[_0x35ec34(0x20f)]===_0x12d90a)||_0x4ed81e[_0x35ec34(0x348)]({'key':_0x12d90a,'title':this[_0x35ec34(0x539)](_0x399a56)?_0xd89f4a[_0x35ec34(0x58b)]??this[_0x35ec34(0x430)](_0x399a56,_0x12d90a,_0x4466bd):this['_kanbanLaneTitle'](_0x399a56,_0x12d90a,_0x4466bd),'color':this[_0x35ec34(0x309)](_0x399a56,_0x12d90a,_0x4466bd)});}),_0x4ed81e;}[_0x4e3a72(0x49c)](_0x188a84,_0x281f12){const _0x2b7293=_0x4e3a72;let _0x3bbf5e=_0x5bcc34=>{const _0x103a44=_0x56f7;var _0x1f0415;let _0xa65ea4=_0x5bcc34==null?'':String(_0x5bcc34);return!_0xa65ea4||!this[_0x103a44(0x539)](_0x188a84)?_0xa65ea4:((_0x1f0415=_0x16ae9e(_0x188a84,_0xa65ea4))==null?void 0x0:_0x1f0415['id'])??_0xa65ea4;};if(Array[_0x2b7293(0x35c)](_0x281f12)){let _0x44833b=_0x281f12[_0x2b7293(0x2ef)](_0x3bbf5e)['filter'](_0x38c59e=>_0x38c59e!=='');return _0x44833b[_0x2b7293(0x46c)]?_0x44833b:[''];}return[_0x3bbf5e(_0x281f12)];}[_0x4e3a72(0x430)](_0x59cc16,_0x3c8840,_0x32f203){const _0x5125fa=_0x4e3a72;if(!_0x3c8840)return _0x5125fa(0x45d);let _0x4050c3=_0x16ae9e(_0x59cc16,_0x3c8840);return(_0x4050c3==null?void 0x0:_0x4050c3[_0x5125fa(0x492)])??_0x3c8840;}[_0x4e3a72(0x309)](_0x40ef73,_0xecf06a,_0x37bf0d){const _0x49b401=_0x4e3a72;var _0x125fc1;if(this[_0x49b401(0x539)](_0x40ef73))return(_0x125fc1=_0x16ae9e(_0x40ef73,_0xecf06a))==null?void 0x0:_0x125fc1['color'];}[_0x4e3a72(0x2e0)](_0x29ace6,_0xfcc389){const _0x38b703=_0x4e3a72;let _0x7f54a4=this[_0x38b703(0x352)](_0x29ace6,_0xfcc389[_0x38b703(0x3e8)]??{}),_0x79ace6=_0x29ace6['fields'][_0x7f54a4[_0x38b703(0x455)]];if(!_0x79ace6||_0x79ace6[_0x38b703(0x3a3)]!==_0x2a4b8a[_0x38b703(0x1f7)]['Date']||_0x79ace6[_0x38b703(0x403)]===!0x0||_0x79ace6['system']===!0x0||!this[_0x38b703(0x2fb)](_0x79ace6)['usableAsCalendarDate'])return{'type':_0x38b703(0x25f),'viewType':_0x2a4b8a['BaseViewType']['Calendar'],'reason':_0x38b703(0x2a3),'fieldId':_0x7f54a4[_0x38b703(0x455)]};let _0x159761=_0x7f54a4[_0x38b703(0x529)]?_0x29ace6[_0x38b703(0x3c4)][_0x7f54a4[_0x38b703(0x529)]]:void 0x0,_0x1d2479=this[_0x38b703(0x545)](_0x29ace6,_0xfcc389);return{'type':_0x2a4b8a[_0x38b703(0x4f3)][_0x38b703(0x3e2)],'config':_0x7f54a4,'fields':this[_0x38b703(0x516)](_0x29ace6,_0xfcc389),'rows':_0x1d2479,'groups':this[_0x38b703(0x535)](_0x29ace6,_0xfcc389,_0x1d2479),'events':_0x1d2479[_0x38b703(0x467)](_0x104b18=>{const _0x566114=_0x38b703;let _0x275bc9=_0x15584e(_0x104b18['values'][_0x7f54a4[_0x566114(0x455)]]);if(!Number[_0x566114(0x25a)](_0x275bc9))return[];let _0x243a75=_0x104b18[_0x566114(0x462)][_0x7f54a4[_0x566114(0x455)]],_0x5dc638=_0x7f54a4[_0x566114(0x529)]==null?void 0x0:_0x104b18['values'][_0x7f54a4[_0x566114(0x529)]],_0x4f32af=_0x7f54a4[_0x566114(0x529)]==null?void 0x0:_0x15584e(_0x5dc638),_0x81fbba=Number[_0x566114(0x25a)](_0x4f32af)?_0x4f32af:void 0x0;return[{'recordId':_0x104b18[_0x566114(0x549)],'title':this[_0x566114(0x362)](_0x29ace6,_0x104b18,_0x7f54a4[_0x566114(0x50c)]),'start':_0x275bc9,'end':_0x81fbba,'color':this['_calendarEventColor'](_0x29ace6,_0x104b18,_0x7f54a4),'startMs':_0x275bc9,'endMs':_0x81fbba,'allDay':this[_0x566114(0x428)](_0x79ace6,_0x159761,_0x243a75,_0x5dc638),'fieldValues':_0x104b18['values']}];})};}[_0x4e3a72(0x352)](_0x408738,_0x3a0793){const _0x4cfadb=_0x4e3a72;let _0x25d1e6=this['_resolveCalendarDateFieldId'](_0x408738,_0x3a0793[_0x4cfadb(0x455)]),_0x462ecc=_0x3a0793[_0x4cfadb(0x529)]&&this[_0x4cfadb(0x499)](_0x408738,_0x3a0793[_0x4cfadb(0x529)])?_0x3a0793[_0x4cfadb(0x529)]:this['_findCalendarDateFieldId'](_0x408738,_0x25d1e6)??void 0x0,_0x524fd4=_0x3a0793[_0x4cfadb(0x50c)]?_0x408738[_0x4cfadb(0x3c4)][_0x3a0793[_0x4cfadb(0x50c)]]:void 0x0,_0x2df0b2=_0x524fd4&&_0x524fd4[_0x4cfadb(0x4d3)]!==!0x0&&_0x524fd4[_0x4cfadb(0x3a3)]!==_0x2a4b8a[_0x4cfadb(0x1f7)][_0x4cfadb(0x1c0)]?_0x3a0793[_0x4cfadb(0x50c)]:_0x408738[_0x4cfadb(0x21a)],_0x9cd28d=_0x3a0793[_0x4cfadb(0x203)]==='day'||_0x3a0793[_0x4cfadb(0x203)]===_0x4cfadb(0x2c5)?_0x3a0793[_0x4cfadb(0x203)]:_0x4cfadb(0x212),_0x10cbe0=_0x3a0793[_0x4cfadb(0x23a)]===_0x4cfadb(0x280)||_0x3a0793['timeslotSize']===_0x4cfadb(0x1f1)?_0x3a0793[_0x4cfadb(0x23a)]:_0x4cfadb(0x465),_0x470e28=typeof _0x3a0793['timeZone']=='string'&&_0x3a0793[_0x4cfadb(0x373)][_0x4cfadb(0x571)]()?_0x3a0793[_0x4cfadb(0x373)]:'local',_0x4e1c82=this[_0x4cfadb(0x27f)](_0x408738,_0x3a0793);return{..._0x3a0793,'startDateFieldId':_0x25d1e6,'endDateFieldId':_0x462ecc,'titleFieldId':_0x2df0b2,'mode':_0x9cd28d,'timeslotSize':_0x10cbe0,'timeZone':_0x470e28,'displayColor':_0x4e1c82,'fieldSettings':Object[_0x4cfadb(0x56d)](Object[_0x4cfadb(0x2f1)](_0x3a0793['fieldSettings']??{})[_0x4cfadb(0x500)](([_0x17127e])=>{const _0x4348bb=_0x4cfadb;let _0x2b78e8=_0x408738['fields'][_0x17127e];return!!(_0x2b78e8&&_0x2b78e8[_0x4348bb(0x4d3)]!==!0x0&&_0x2b78e8['type']!==_0x2a4b8a[_0x4348bb(0x1f7)]['RecordId']);}))};}[_0x4e3a72(0x415)](_0x399120,_0xf0c281){const _0xf92c54=_0x4e3a72;return _0xf0c281&&this[_0xf92c54(0x499)](_0x399120,_0xf0c281)?_0xf0c281:this[_0xf92c54(0x30b)](_0x399120)??_0xf0c281??'';}[_0x4e3a72(0x30b)](_0x5179fe,_0x53db27){const _0x6d6bc8=_0x4e3a72;for(let _0x47022d of _0x5179fe[_0x6d6bc8(0x541)])if(_0x47022d!==_0x53db27&&this[_0x6d6bc8(0x499)](_0x5179fe,_0x47022d))return _0x47022d;return null;}[_0x4e3a72(0x499)](_0x13503e,_0x345f3c){const _0x4b1b16=_0x4e3a72;let _0x54e37d=_0x13503e['fields'][_0x345f3c];return!!_0x54e37d&&_0x54e37d['type']===_0x2a4b8a[_0x4b1b16(0x1f7)][_0x4b1b16(0x34c)]&&_0x54e37d[_0x4b1b16(0x403)]!==!0x0&&_0x54e37d['system']!==!0x0&&this[_0x4b1b16(0x2fb)](_0x54e37d)[_0x4b1b16(0x433)];}['_normalizeCalendarDisplayColor'](_0x32c5df,_0x434f27){const _0x179705=_0x4e3a72;let _0x4dfce0=_0x434f27[_0x179705(0x313)];if((_0x4dfce0==null?void 0x0:_0x4dfce0[_0x179705(0x3a3)])==='selectField'){let _0xc4c6d7=_0x32c5df[_0x179705(0x3c4)][_0x4dfce0[_0x179705(0x1b3)]];if(_0xc4c6d7&&_0xc4c6d7['type']===_0x2a4b8a[_0x179705(0x1f7)][_0x179705(0x22f)])return _0x4dfce0;}if((_0x4dfce0==null?void 0x0:_0x4dfce0['type'])===_0x179705(0x4aa)&&typeof _0x4dfce0['color']==_0x179705(0x4ad)&&_0x4dfce0['color'][_0x179705(0x571)]())return{'type':'custom','color':_0x4dfce0[_0x179705(0x33a)]};if(_0x434f27[_0x179705(0x337)]){let _0x46fff5=_0x32c5df[_0x179705(0x3c4)][_0x434f27[_0x179705(0x337)]];if(_0x46fff5&&_0x46fff5[_0x179705(0x3a3)]===_0x2a4b8a[_0x179705(0x1f7)][_0x179705(0x22f)])return{'type':'selectField','fieldId':_0x434f27[_0x179705(0x337)]};}return{'type':_0x179705(0x4aa),'color':_0x179705(0x242)};}[_0x4e3a72(0x324)](_0x22a94d,_0x1cb06d,_0x2af97f){const _0x2948ab=_0x4e3a72;let _0x414d52=_0x2af97f[_0x2948ab(0x313)];if((_0x414d52==null?void 0x0:_0x414d52[_0x2948ab(0x3a3)])==='selectField'){var _0x6760f1;let _0x408a36=_0x22a94d[_0x2948ab(0x3c4)][_0x414d52[_0x2948ab(0x1b3)]];if(!_0x408a36)return;let _0x533957=_0x1cb06d[_0x2948ab(0x462)][_0x414d52[_0x2948ab(0x1b3)]],_0x16ba33=Array[_0x2948ab(0x35c)](_0x533957)?_0x533957[0x0]:_0x533957;return _0x16ba33==null||(_0x6760f1=_0x16ae9e(_0x408a36,String(_0x16ba33)))==null?void 0x0:_0x6760f1[_0x2948ab(0x33a)];}if((_0x414d52==null?void 0x0:_0x414d52[_0x2948ab(0x3a3)])===_0x2948ab(0x4aa))return _0x414d52[_0x2948ab(0x33a)];}[_0x4e3a72(0x428)](_0x1735ac,_0xfcb771,_0x15a513,_0x452a31){const _0x451a69=_0x4e3a72;var _0x2e942d,_0x31f83d;let _0x423556=((_0x2e942d=_0x1735ac[_0x451a69(0x3e8)])==null?void 0x0:_0x2e942d[_0x451a69(0x4c0)])===!0x0,_0x368f90=(_0xfcb771==null||(_0x31f83d=_0xfcb771[_0x451a69(0x3e8)])==null?void 0x0:_0x31f83d[_0x451a69(0x4c0)])===!0x0;return!_0x423556&&!_0x368f90;}['_isAllDayGanttDateRange'](_0x5c55b6,_0x4b8916){const _0x27cd56=_0x4e3a72;var _0x3fa01b,_0x11528b;let _0x5414b0=((_0x3fa01b=_0x5c55b6[_0x27cd56(0x3e8)])==null?void 0x0:_0x3fa01b[_0x27cd56(0x4c0)])===!0x0,_0x53c4b7=((_0x11528b=_0x4b8916[_0x27cd56(0x3e8)])==null?void 0x0:_0x11528b[_0x27cd56(0x4c0)])===!0x0;return!_0x5414b0&&!_0x53c4b7;}['_buildGantt'](_0x43e469,_0xcffd4){const _0x25533c=_0x4e3a72;let _0x8f6697=this[_0x25533c(0x1ee)](_0x43e469,_0xcffd4[_0x25533c(0x3e8)]),_0x287ed5=_0x43e469[_0x25533c(0x3c4)][_0x8f6697['startDateFieldId']];if(!_0x287ed5||_0x287ed5[_0x25533c(0x3a3)]!==_0x2a4b8a[_0x25533c(0x1f7)]['Date']||_0x287ed5[_0x25533c(0x403)]===!0x0||_0x287ed5[_0x25533c(0x4d3)]===!0x0||!this[_0x25533c(0x2fb)](_0x287ed5)[_0x25533c(0x464)])return{'type':'invalid','viewType':_0x2a4b8a['BaseViewType'][_0x25533c(0x29f)],'reason':_0x25533c(0x555),'fieldId':_0x8f6697['startDateFieldId']};let _0x301ae0=_0x43e469[_0x25533c(0x3c4)][_0x8f6697['endDateFieldId']];if(!_0x301ae0||_0x301ae0['type']!==_0x2a4b8a[_0x25533c(0x1f7)]['Date']||_0x301ae0[_0x25533c(0x403)]===!0x0||_0x301ae0[_0x25533c(0x4d3)]===!0x0||!this['_capabilities'](_0x301ae0)[_0x25533c(0x4a5)])return{'type':_0x25533c(0x25f),'viewType':_0x2a4b8a[_0x25533c(0x4f3)]['Gantt'],'reason':_0x25533c(0x2d6),'fieldId':_0x8f6697['endDateFieldId']};let _0x1c94a9=this['_isAllDayGanttDateRange'](_0x287ed5,_0x301ae0),_0x34d786=this[_0x25533c(0x545)](_0x43e469,_0xcffd4),_0x2028e3=_0x34d786[_0x25533c(0x467)](_0x7b6ec7=>{const _0x375b02=_0x25533c;let _0x14fa39=_0x15584e(_0x7b6ec7['values'][_0x8f6697[_0x375b02(0x455)]]),_0x4073e3=_0x15584e(_0x7b6ec7[_0x375b02(0x462)][_0x8f6697[_0x375b02(0x529)]]);if(!Number['isFinite'](_0x14fa39)||!Number[_0x375b02(0x25a)](_0x4073e3))return[];let _0x3aeadf=Math[_0x375b02(0x36f)](_0x14fa39,_0x4073e3),_0x5cafd0=Math[_0x375b02(0x358)](_0x14fa39,_0x4073e3),_0x464b87=_0x8f6697[_0x375b02(0x347)]==null?void 0x0:Number(_0x7b6ec7['values'][_0x8f6697[_0x375b02(0x347)]]);return[{'recordId':_0x7b6ec7[_0x375b02(0x549)],'title':this[_0x375b02(0x362)](_0x43e469,_0x7b6ec7,_0x8f6697[_0x375b02(0x50c)]),'start':_0x3aeadf,'end':_0x5cafd0,'color':this[_0x375b02(0x4b2)](_0x43e469,_0x7b6ec7,_0x8f6697),'progress':Number['isFinite'](_0x464b87)?_0x464b87:void 0x0,'workingDayCount':_0x8f6697[_0x375b02(0x41e)]?_0x255f70(_0x3aeadf,_0x5cafd0,_0x8f6697[_0x375b02(0x363)]):void 0x0,'dependencyRecordIds':this[_0x375b02(0x4ff)](_0x7b6ec7[_0x375b02(0x462)][_0x8f6697[_0x375b02(0x3a6)]??''])}];}),_0x373f92=_0x2028e3[_0x25533c(0x46c)]?_0x4369f1(Math['min'](..._0x2028e3[_0x25533c(0x2ef)](_0x21f9bc=>_0x21f9bc[_0x25533c(0x408)]))-0x5a*_0x141702):_0x4369f1(Date[_0x25533c(0x45a)]()-0x5a*_0x141702),_0x1db4fd=_0x2028e3[_0x25533c(0x46c)]?_0x4369f1(Math['max'](..._0x2028e3[_0x25533c(0x2ef)](_0x2e11cf=>_0x2e11cf[_0x25533c(0x208)]))+0x5b*_0x141702):_0x4369f1(Date[_0x25533c(0x45a)]()+0x5b*_0x141702),_0x5cee1b=_0x3ccb8d(_0x8f6697[_0x25533c(0x225)],_0x373f92,_0x1db4fd,_0x8f6697[_0x25533c(0x41e)]?_0x8f6697[_0x25533c(0x363)]:void 0x0);return{'type':_0x2a4b8a['BaseViewType']['Gantt'],'fields':this[_0x25533c(0x516)](_0x43e469,{..._0xcffd4,'config':_0x8f6697}),'rows':_0x34d786,'groups':this[_0x25533c(0x535)](_0x43e469,_0xcffd4,_0x34d786),'config':_0x8f6697,'dateRangeAllDay':_0x1c94a9,'timeline':{'scale':_0x8f6697[_0x25533c(0x225)],'start':_0x373f92,'end':_0x1db4fd,'unitWidth':_0x5cee1b[_0x25533c(0x24a)],'majorHeaders':_0x5cee1b[_0x25533c(0x2d3)],'columns':_0x5cee1b[_0x25533c(0x28a)]},'bars':_0x2028e3};}[_0x4e3a72(0x1ee)](_0x118a11,_0x25b6a3){const _0x4e4a4c=_0x4e3a72;let _0x131ec9=this[_0x4e4a4c(0x23c)](_0x118a11,_0x25b6a3[_0x4e4a4c(0x455)],_0x4e4a4c(0x408)),_0x281d4a=this[_0x4e4a4c(0x23c)](_0x118a11,_0x25b6a3[_0x4e4a4c(0x529)],_0x4e4a4c(0x208))||_0x131ec9,_0x1afef4=_0x25b6a3[_0x4e4a4c(0x50c)]?_0x118a11[_0x4e4a4c(0x3c4)][_0x25b6a3[_0x4e4a4c(0x50c)]]:void 0x0,_0x1d4fab=_0x1afef4&&_0x1afef4[_0x4e4a4c(0x4d3)]!==!0x0&&_0x1afef4['type']!==_0x2a4b8a['BaseFieldType']['RecordId']?_0x25b6a3[_0x4e4a4c(0x50c)]:_0x118a11['primaryFieldId'],_0x16ed05=_0x25b6a3[_0x4e4a4c(0x225)]===_0x4e4a4c(0x2c5)||_0x25b6a3[_0x4e4a4c(0x225)]===_0x4e4a4c(0x47e)||_0x25b6a3[_0x4e4a4c(0x225)]===_0x4e4a4c(0x353)?_0x25b6a3[_0x4e4a4c(0x225)]:_0x4e4a4c(0x212),_0xc3ed27=_0x268a87(_0x25b6a3[_0x4e4a4c(0x363)]);return{..._0x25b6a3,'startDateFieldId':_0x131ec9,'endDateFieldId':_0x281d4a,'titleFieldId':_0x1d4fab,'scale':_0x16ed05,'leftPaneWidth':typeof _0x25b6a3[_0x4e4a4c(0x1ba)]==_0x4e4a4c(0x23b)?_0x25b6a3[_0x4e4a4c(0x1ba)]:void 0x0,'leftPaneCollapsed':_0x25b6a3[_0x4e4a4c(0x1cd)]===!0x0,'showTodayLine':_0x25b6a3[_0x4e4a4c(0x57c)]!==!0x1,'displayColor':this[_0x4e4a4c(0x3bf)](_0x118a11,_0x25b6a3),'fieldSettings':Object['fromEntries'](Object['entries'](_0x25b6a3['fieldSettings']??{})[_0x4e4a4c(0x500)](([_0x4f7c4b])=>{const _0x35ba0c=_0x4e4a4c;let _0x1e74bf=_0x118a11['fields'][_0x4f7c4b];return!!(_0x1e74bf&&_0x1e74bf[_0x35ba0c(0x4d3)]!==!0x0&&_0x1e74bf[_0x35ba0c(0x3a3)]!==_0x2a4b8a[_0x35ba0c(0x1f7)][_0x35ba0c(0x1c0)]);})),'workingDaysOnly':_0x25b6a3[_0x4e4a4c(0x41e)]===!0x0,'workingDays':_0xc3ed27};}['_resolveGanttDateFieldId'](_0x146c01,_0xb180ac,_0x3fc7a1){const _0x2b5335=_0x4e3a72;if(_0xb180ac&&this['_isGanttDateField'](_0x146c01,_0xb180ac,_0x3fc7a1)||_0xb180ac)return _0xb180ac;for(let _0x3d0fc3 of _0x146c01[_0x2b5335(0x541)])if(this[_0x2b5335(0x2fd)](_0x146c01,_0x3d0fc3,_0x3fc7a1))return _0x3d0fc3;return _0xb180ac??'';}[_0x4e3a72(0x2fd)](_0x313c5b,_0x5331e0,_0x47d1d1){const _0x3ea052=_0x4e3a72;let _0x2a95e1=_0x313c5b[_0x3ea052(0x3c4)][_0x5331e0];if(!_0x2a95e1||_0x2a95e1[_0x3ea052(0x3a3)]!==_0x2a4b8a[_0x3ea052(0x1f7)][_0x3ea052(0x34c)]||_0x2a95e1[_0x3ea052(0x403)]===!0x0||_0x2a95e1['system']===!0x0)return!0x1;let _0x1f4b66=this[_0x3ea052(0x2fb)](_0x2a95e1);return _0x47d1d1==='start'?_0x1f4b66[_0x3ea052(0x464)]:_0x1f4b66[_0x3ea052(0x4a5)];}[_0x4e3a72(0x3bf)](_0x363324,_0x2e7724){const _0x2dbec5=_0x4e3a72;let _0x38f835=_0x2e7724[_0x2dbec5(0x313)];if((_0x38f835==null?void 0x0:_0x38f835[_0x2dbec5(0x3a3)])===_0x2dbec5(0x521)){let _0x2c414f=_0x363324[_0x2dbec5(0x3c4)][_0x38f835[_0x2dbec5(0x1b3)]];if(_0x2c414f&&_0x2c414f['type']===_0x2a4b8a[_0x2dbec5(0x1f7)][_0x2dbec5(0x22f)])return _0x38f835;}return(_0x38f835==null?void 0x0:_0x38f835['type'])==='conditional'&&Array[_0x2dbec5(0x35c)](_0x38f835[_0x2dbec5(0x533)])?{'type':_0x2dbec5(0x450),'rules':_0x38f835['rules'][_0x2dbec5(0x500)](_0x295000=>!!_0x363324[_0x2dbec5(0x3c4)][_0x295000[_0x2dbec5(0x1b3)]])}:(_0x38f835==null?void 0x0:_0x38f835[_0x2dbec5(0x3a3)])===_0x2dbec5(0x4aa)&&typeof _0x38f835[_0x2dbec5(0x33a)]==_0x2dbec5(0x4ad)&&_0x38f835['color'][_0x2dbec5(0x571)]()?{'type':_0x2dbec5(0x4aa),'color':_0x38f835[_0x2dbec5(0x33a)]}:{'type':_0x2dbec5(0x4aa),'color':_0x2dbec5(0x2af)};}['_ganttBarColor'](_0x5bb24c,_0x4b5243,_0xecf402){const _0xa7f8c6=_0x4e3a72;let _0x1d93ba=_0xecf402[_0xa7f8c6(0x313)];if((_0x1d93ba==null?void 0x0:_0x1d93ba[_0xa7f8c6(0x3a3)])===_0xa7f8c6(0x450)){let _0x4024ed=_0x1d93ba[_0xa7f8c6(0x533)][_0xa7f8c6(0x4c7)](_0x3566da=>this[_0xa7f8c6(0x2bf)](_0x5bb24c,_0x4b5243,_0x3566da));if(_0x4024ed)return _0x4024ed['color'];}if((_0x1d93ba==null?void 0x0:_0x1d93ba['type'])===_0xa7f8c6(0x521)){let _0x5385eb=_0x5bb24c['fields'][_0x1d93ba[_0xa7f8c6(0x1b3)]];if(_0x5385eb){var _0x5b2ed4;let _0x59ec88=_0x4b5243[_0xa7f8c6(0x462)][_0x1d93ba['fieldId']],_0xcba6fb=Array[_0xa7f8c6(0x35c)](_0x59ec88)?_0x59ec88[0x0]:_0x59ec88,_0x3a365f=_0xcba6fb==null||(_0x5b2ed4=_0x16ae9e(_0x5385eb,String(_0xcba6fb)))==null?void 0x0:_0x5b2ed4[_0xa7f8c6(0x33a)];if(_0x3a365f)return _0x3a365f;}}return(_0x1d93ba==null?void 0x0:_0x1d93ba[_0xa7f8c6(0x3a3)])===_0xa7f8c6(0x4aa)?_0x1d93ba['color']:_0xa7f8c6(0x2af);}['_matchesGanttColorRule'](_0x2cf8ef,_0xa44103,_0x8e21de){const _0x2d9865=_0x4e3a72;let _0x12e3da=_0x2cf8ef[_0x2d9865(0x3c4)][_0x8e21de[_0x2d9865(0x1b3)]];return _0x12e3da?_0x492d1e(_0xa44103['values'][_0x12e3da['id']],_0x8e21de[_0x2d9865(0x376)],_0x8e21de[_0x2d9865(0x21e)],_0x12e3da,{'dateMode':_0x8e21de['dateMode']}):!0x1;}[_0x4e3a72(0x251)](_0x2703a3,_0x53e688){const _0x417447=_0x4e3a72;let _0x52a5de=this[_0x417447(0x545)](_0x2703a3,_0x53e688),_0x58de7b=this[_0x417447(0x507)](_0x2703a3,_0x53e688[_0x417447(0x3e8)]??{}),_0x1471f1=this[_0x417447(0x516)](_0x2703a3,_0x53e688);return{'type':_0x2a4b8a[_0x417447(0x4f3)]['Gallery'],'fields':_0x1471f1,'rows':_0x52a5de,'groups':this['_projectGroups'](_0x2703a3,_0x53e688,_0x52a5de),'titleFieldId':_0x58de7b[_0x417447(0x49a)][_0x417447(0x50c)],'coverFieldId':_0x58de7b[_0x417447(0x4ee)],'cardLayout':_0x58de7b['cardLayout']??'normal','showFieldNames':_0x58de7b[_0x417447(0x36c)]!==!0x1,'visibleCardFieldIds':this['_resolveGalleryCardFieldIds'](_0x2703a3,_0x53e688,_0x58de7b),'cardSize':_0x58de7b[_0x417447(0x2bd)]??_0x417447(0x465),'cards':_0x52a5de[_0x417447(0x2ef)](_0x4b225f=>({'recordId':_0x4b225f[_0x417447(0x549)],'title':this[_0x417447(0x362)](_0x2703a3,_0x4b225f,_0x58de7b[_0x417447(0x49a)][_0x417447(0x50c)]),'values':_0x4b225f['values']}))};}['_normalizeGalleryConfig'](_0x6ee2fd,_0x284277){const _0x7183d=_0x4e3a72;let _0x1589a5=_0x284277[_0x7183d(0x49a)]??{'fieldIds':[]},_0x10d998=this[_0x7183d(0x3e3)](_0x6ee2fd,_0x1589a5[_0x7183d(0x50c)]),_0x53bd1a=this[_0x7183d(0x58e)](_0x6ee2fd,_0x284277),_0x3ecfca=_0x284277['cardSize']===_0x7183d(0x24f)||_0x284277['cardSize']===_0x7183d(0x452)?_0x284277[_0x7183d(0x2bd)]:_0x7183d(0x465);return{..._0x284277,'coverFieldId':_0x53bd1a,'cardLayout':_0x284277[_0x7183d(0x47a)]===_0x7183d(0x1e7)?'compose':_0x7183d(0x20e),'showFieldNames':_0x284277[_0x7183d(0x36c)]!==!0x1,'fieldSettings':Object[_0x7183d(0x56d)](Object[_0x7183d(0x2f1)](_0x284277[_0x7183d(0x1e2)]??{})[_0x7183d(0x500)](([_0x145106])=>{const _0x17df44=_0x7183d;let _0x6ea34e=_0x6ee2fd[_0x17df44(0x3c4)][_0x145106];return!!(_0x6ea34e&&_0x6ea34e[_0x17df44(0x4d3)]!==!0x0&&_0x6ea34e[_0x17df44(0x3a3)]!==_0x2a4b8a[_0x17df44(0x1f7)]['RecordId']);})),'card':{..._0x1589a5,'titleFieldId':_0x10d998,'coverFieldId':_0x53bd1a,'fieldIds':Array[_0x7183d(0x35c)](_0x1589a5['fieldIds'])?_0x1589a5['fieldIds']:[]},'cardSize':_0x3ecfca};}[_0x4e3a72(0x3e3)](_0x2ff0c4,_0x587eec){const _0x302b86=_0x4e3a72;let _0x39b984=_0x587eec?_0x2ff0c4[_0x302b86(0x3c4)][_0x587eec]:void 0x0;return _0x39b984&&_0x39b984[_0x302b86(0x4d3)]!==!0x0&&_0x39b984[_0x302b86(0x3a3)]!==_0x2a4b8a[_0x302b86(0x1f7)]['RecordId']?_0x39b984['id']:_0x3f5683(_0x2ff0c4);}[_0x4e3a72(0x58e)](_0x25ab97,_0x31dbb8){const _0x1082cc=_0x4e3a72;var _0x89f5b6;let _0x55ddb7=_0x31dbb8['coverFieldId']??((_0x89f5b6=_0x31dbb8['card'])==null?void 0x0:_0x89f5b6[_0x1082cc(0x4ee)])??null;if(!_0x55ddb7)return null;let _0x1257c5=_0x25ab97[_0x1082cc(0x3c4)][_0x55ddb7];return _0x1257c5&&this[_0x1082cc(0x2fb)](_0x1257c5)[_0x1082cc(0x3c6)]?_0x1257c5['id']:null;}[_0x4e3a72(0x329)](_0x34669b,_0x397f46,_0x5104f5){const _0x4ac79f=_0x4e3a72;var _0x28cedc,_0x1c0996,_0x4171fb;let _0x4fcf36=_0x5104f5[_0x4ac79f(0x1e2)]??{},_0x16476f=((_0x28cedc=_0x5104f5[_0x4ac79f(0x49a)])==null?void 0x0:_0x28cedc[_0x4ac79f(0x50c)])??_0x3f5683(_0x34669b),_0x1db506=_0x5104f5[_0x4ac79f(0x4ee)]??((_0x1c0996=_0x5104f5[_0x4ac79f(0x49a)])==null?void 0x0:_0x1c0996[_0x4ac79f(0x4ee)])??null,_0x202aed=(_0x4171fb=_0x5104f5[_0x4ac79f(0x49a)])!=null&&(_0x4171fb=_0x4171fb[_0x4ac79f(0x1eb)])!=null&&_0x4171fb[_0x4ac79f(0x46c)]?_0x5104f5[_0x4ac79f(0x49a)][_0x4ac79f(0x1eb)]:_0x15e8b3(_0x34669b,[_0x16476f,_0x1db506,_0x34669b[_0x4ac79f(0x21a)]]);return _0x202aed[_0x4ac79f(0x500)](_0x4089a5=>{const _0x2a1fe2=_0x4ac79f;var _0x326023,_0x39578a;let _0x11344b=_0x34669b['fields'][_0x4089a5];return!(!_0x11344b||_0x11344b[_0x2a1fe2(0x4d3)]===!0x0||_0x11344b[_0x2a1fe2(0x3a3)]===_0x2a4b8a[_0x2a1fe2(0x1f7)][_0x2a1fe2(0x1c0)]||_0x11344b['id']===_0x16476f||_0x11344b['id']===_0x1db506||(_0x326023=_0x397f46[_0x2a1fe2(0x1e2)])!=null&&(_0x326023=_0x326023[_0x4089a5])!=null&&_0x326023[_0x2a1fe2(0x31b)]||(_0x39578a=_0x4fcf36[_0x4089a5])!=null&&_0x39578a['hidden']);})[_0x4ac79f(0x2da)]((_0x32b429,_0x8ab746)=>{const _0x4a320e=_0x4ac79f;var _0x2265cb,_0x352a62;return(((_0x2265cb=_0x4fcf36[_0x32b429])==null?void 0x0:_0x2265cb['order'])??_0x202aed[_0x4a320e(0x4f4)](_0x32b429))-(((_0x352a62=_0x4fcf36[_0x8ab746])==null?void 0x0:_0x352a62['order'])??_0x202aed[_0x4a320e(0x4f4)](_0x8ab746));});}[_0x4e3a72(0x516)](_0x2d8cd2,_0x4406ca){const _0x175ed7=_0x4e3a72;var _0x261f89;return((_0x261f89=_0x4406ca[_0x175ed7(0x541)])!=null&&_0x261f89[_0x175ed7(0x46c)]?_0x4406ca[_0x175ed7(0x541)]:_0x2d8cd2[_0x175ed7(0x541)])[_0x175ed7(0x467)](_0x8f7c7b=>{const _0x541339=_0x175ed7;var _0x456c11;let _0x593156=_0x2d8cd2[_0x541339(0x3c4)][_0x8f7c7b],_0x58aa31=((_0x456c11=_0x4406ca[_0x541339(0x1e2)])==null?void 0x0:_0x456c11[_0x8f7c7b])??{};return!_0x593156||_0x593156[_0x541339(0x4d3)]===!0x0||_0x593156[_0x541339(0x3a3)]===_0x2a4b8a['BaseFieldType'][_0x541339(0x1c0)]||_0x58aa31[_0x541339(0x31b)]?[]:[{'id':_0x593156['id'],'name':_0x593156[_0x541339(0x492)],'description':_0x593156['description'],'type':_0x593156[_0x541339(0x3a3)],'config':_0x593156[_0x541339(0x3e8)],'width':_0x58aa31[_0x541339(0x2df)],'setting':_0x58aa31}];});}[_0x4e3a72(0x545)](_0x5b911,_0x3c0059){const _0x3a2890=_0x4e3a72;var _0x58e3dc;return _0x26cddf('BaseProjection.projectRows',()=>{const _0x4ff03d=_0x56f7;var _0x4b78b6,_0x4e0b53;let _0x178df2=this[_0x4ff03d(0x43b)](_0x5b911),_0x30104f=this[_0x4ff03d(0x3b3)](_0x5b911['id'],_0x3c0059),_0x1e2cce=this[_0x4ff03d(0x48d)](_0x5b911['id']),_0x4d09a7=this[_0x4ff03d(0x1fa)][_0x4ff03d(0x295)](_0x30104f);if(_0x4d09a7&&_0x4d09a7[_0x4ff03d(0x299)]===this[_0x4ff03d(0x1c6)]&&_0x4d09a7[_0x4ff03d(0x33d)]===this['_getTableRevision'](_0x5b911['id'])){if(_0x4d09a7['cellRevision']===_0x1e2cce&&_0x4d09a7[_0x4ff03d(0x446)]===_0x178df2)return _0x4d09a7[_0x4ff03d(0x3e0)];if(_0x4d09a7[_0x4ff03d(0x57d)]!==_0x1e2cce&&!this['_cellInvalidationsTouchFields'](_0x5b911['id'],_0x4d09a7[_0x4ff03d(0x57d)],_0x1e2cce,this[_0x4ff03d(0x4e0)](_0x3c0059))){let _0x40b8b6=_0x4d09a7[_0x4ff03d(0x3e0)]===_0x4d09a7[_0x4ff03d(0x446)]?_0x178df2:this['_patchCachedProjectedRows'](_0x4d09a7['rows'],_0x178df2);if(_0x40b8b6)return this['_projectedViewRowsCache'][_0x4ff03d(0x1b0)](_0x30104f,{..._0x4d09a7,'rows':_0x40b8b6,'baseRows':_0x178df2,'cellRevision':_0x1e2cce}),_0x40b8b6;}}let _0x19f28c=_0x26cddf('BaseProjection.filterAndSortRows',()=>this[_0x4ff03d(0x334)](_0x5b911,_0x3c0059,this[_0x4ff03d(0x3cb)](_0x5b911,_0x3c0059,_0x178df2)),{'tableId':_0x5b911['id'],'viewId':_0x3c0059==null?void 0x0:_0x3c0059['id'],'viewType':_0x3c0059==null?void 0x0:_0x3c0059[_0x4ff03d(0x3a3)],'rows':_0x178df2['length'],'filters':(_0x3c0059==null||(_0x4b78b6=_0x3c0059[_0x4ff03d(0x500)])==null?void 0x0:_0x4b78b6[_0x4ff03d(0x515)][_0x4ff03d(0x46c)])??0x0,'sorts':(_0x3c0059==null||(_0x4e0b53=_0x3c0059['sort'])==null?void 0x0:_0x4e0b53['length'])??0x0});return this['_projectedViewRowsCache'][_0x4ff03d(0x1b0)](_0x30104f,{'table':_0x5b911,'rows':_0x19f28c,'baseRows':_0x178df2,'globalRevision':this['_globalRevision'],'tableRevision':this[_0x4ff03d(0x3a5)](_0x5b911['id']),'cellRevision':_0x1e2cce}),_0x19f28c;},{'tableId':_0x5b911['id'],'viewId':_0x3c0059==null?void 0x0:_0x3c0059['id'],'viewType':_0x3c0059==null?void 0x0:_0x3c0059[_0x3a2890(0x3a3)],'records':((_0x58e3dc=_0x5b911[_0x3a2890(0x531)])==null?void 0x0:_0x58e3dc[_0x3a2890(0x46c)])??Object[_0x3a2890(0x458)](_0x5b911[_0x3a2890(0x54e)]??{})['length']});}['_projectTableRows'](_0x2decc9){const _0x161482=_0x4e3a72;var _0x736211;return _0x26cddf(_0x161482(0x506),()=>{const _0x18d09f=_0x161482;var _0x262db4;let _0x1cf0e8=this[_0x18d09f(0x48d)](_0x2decc9['id']),_0x5927eb=this['_projectedRowsCache'][_0x18d09f(0x295)](_0x2decc9['id']);if(_0x5927eb&&_0x5927eb['globalRevision']===this['_globalRevision']&&_0x5927eb['tableRevision']===this['_getTableRevision'](_0x2decc9['id'])){if(_0x5927eb[_0x18d09f(0x57d)]===_0x1cf0e8&&_0x5927eb[_0x18d09f(0x577)]===_0x2decc9)return _0x5927eb[_0x18d09f(0x3e0)];let _0x200141=this[_0x18d09f(0x4cb)](_0x2decc9,_0x5927eb,_0x1cf0e8);if(_0x200141)return _0x200141;}_0x1a1511(_0x2decc9)||_0x191958(_0x2decc9);let _0x2b2207=(_0x262db4=_0x2decc9[_0x18d09f(0x531)])!=null&&_0x262db4[_0x18d09f(0x46c)]?_0x2decc9[_0x18d09f(0x531)]:_0x46025f(_0x2decc9['records']),_0x5cbd15=_0x26cddf('BaseProjection.materializeTableRows',()=>{const _0x55bbbd=_0x18d09f;let _0x5c9c50=[];for(let _0x409415 of _0x2b2207){let _0x2f70d7=_0x2decc9[_0x55bbbd(0x54e)][_0x409415];if(!_0x2f70d7)continue;let _0x2a44f0={};for(let _0x276e67 of _0x2decc9['fieldOrder'])_0x2a44f0[_0x276e67]=_0x1dd5a4(_0x2decc9,_0x2f70d7['id'],_0x276e67);_0x5c9c50[_0x55bbbd(0x348)]({'recordId':_0x2f70d7['id'],'values':_0x2a44f0});}return _0x5c9c50;},{'tableId':_0x2decc9['id'],'records':_0x2b2207['length'],'fields':_0x2decc9[_0x18d09f(0x541)][_0x18d09f(0x46c)]});return this[_0x18d09f(0x55b)]['set'](_0x2decc9['id'],{'table':_0x2decc9,'rows':_0x5cbd15,'rowIndexById':_0x379fa0(_0x5cbd15),'globalRevision':this[_0x18d09f(0x1c6)],'tableRevision':this[_0x18d09f(0x3a5)](_0x2decc9['id']),'cellRevision':_0x1cf0e8}),_0x5cbd15;},{'tableId':_0x2decc9['id'],'records':((_0x736211=_0x2decc9['recordOrder'])==null?void 0x0:_0x736211[_0x161482(0x46c)])??Object[_0x161482(0x458)](_0x2decc9['records']??{})[_0x161482(0x46c)],'fields':_0x2decc9['fieldOrder'][_0x161482(0x46c)]});}['_patchProjectedRowsForCellInvalidations'](_0x5341e5,_0xd6cdbf,_0x22e870){const _0x512a66=_0x4e3a72;let _0x1faac2=(this[_0x512a66(0x4b6)][_0x512a66(0x295)](_0x5341e5['id'])??[])[_0x512a66(0x500)](_0xeff725=>_0xeff725['revision']>_0xd6cdbf['cellRevision']&&_0xeff725[_0x512a66(0x40a)]<=_0x22e870);if(!_0x1faac2[_0x512a66(0x46c)])return _0xd6cdbf[_0x512a66(0x577)]===_0x5341e5?_0xd6cdbf[_0x512a66(0x3e0)]:null;let _0x33332f=_0xd6cdbf[_0x512a66(0x3e0)],_0x2c0d09=new Map();for(let _0x509242 of _0x1faac2){let _0x112b1c=_0x2c0d09[_0x512a66(0x295)](_0x509242[_0x512a66(0x549)]);_0x112b1c||(_0x112b1c=new Set(),_0x2c0d09['set'](_0x509242[_0x512a66(0x549)],_0x112b1c)),_0x112b1c[_0x512a66(0x4a8)](_0x509242['fieldId']);}for(let [_0x245265,_0xd8df08]of _0x2c0d09){if(!_0x5341e5[_0x512a66(0x54e)][_0x245265])return null;let _0x5d6ce7=_0xd6cdbf[_0x512a66(0x36b)]['get'](_0x245265);if(_0x5d6ce7==null)return null;_0x33332f===_0xd6cdbf['rows']&&(_0x33332f=[..._0xd6cdbf['rows']]);let _0x51186e=_0x33332f[_0x5d6ce7],_0x5c61dc={..._0x51186e[_0x512a66(0x462)]};_0xd8df08[_0x512a66(0x3ad)](_0x5bfcc2=>{_0x5c61dc[_0x5bfcc2]=_0x1dd5a4(_0x5341e5,_0x245265,_0x5bfcc2);}),_0x33332f[_0x5d6ce7]={..._0x51186e,'values':_0x5c61dc};}let _0x1fb2c3={'table':_0x5341e5,'rows':_0x33332f,'rowIndexById':_0xd6cdbf[_0x512a66(0x36b)],'globalRevision':this[_0x512a66(0x1c6)],'tableRevision':this[_0x512a66(0x3a5)](_0x5341e5['id']),'cellRevision':_0x22e870};return this[_0x512a66(0x55b)][_0x512a66(0x1b0)](_0x5341e5['id'],_0x1fb2c3),this[_0x512a66(0x4b6)]['set'](_0x5341e5['id'],(this[_0x512a66(0x4b6)][_0x512a66(0x295)](_0x5341e5['id'])??[])['filter'](_0x4d3a46=>_0x4d3a46[_0x512a66(0x40a)]>Math[_0x512a66(0x358)](0x0,_0x22e870-0x100))),_0x33332f;}['_patchCachedProjectedRows'](_0x5bcce1,_0x346c7e){const _0x19c216=_0x4e3a72;let _0x223f57=new Map(_0x346c7e[_0x19c216(0x2ef)](_0x2cfa2d=>[_0x2cfa2d[_0x19c216(0x549)],_0x2cfa2d])),_0x5e632a=!0x1,_0x2ee78e=_0x5bcce1['map'](_0x29bf9f=>{const _0xd82d2d=_0x19c216;let _0x2558fb=_0x223f57[_0xd82d2d(0x295)](_0x29bf9f[_0xd82d2d(0x549)]);return _0x2558fb?_0x2558fb===_0x29bf9f?_0x29bf9f:(_0x5e632a=!0x0,_0x2558fb):_0x29bf9f;});return _0x5e632a?_0x2ee78e:_0x5bcce1;}[_0x4e3a72(0x3b8)](_0xd79fa7,_0x976f94,_0x5b3da4,_0x22c31c){const _0x1b47ec=_0x4e3a72;return!_0x22c31c[_0x1b47ec(0x335)]||_0x976f94===_0x5b3da4?!0x1:_0x5b3da4-_0x976f94>0x100||(this[_0x1b47ec(0x4b6)][_0x1b47ec(0x295)](_0xd79fa7)??[])['some'](_0x4d8156=>_0x4d8156[_0x1b47ec(0x40a)]>_0x976f94&&_0x4d8156['revision']<=_0x5b3da4&&_0x22c31c['has'](_0x4d8156['fieldId']));}[_0x4e3a72(0x4e0)](_0x5179bd){const _0x21d13e=_0x4e3a72;var _0x40a6a4,_0x34e73c;let _0x1d0c5f=new Set();return _0x5179bd==null||(_0x40a6a4=_0x5179bd['filter'])==null||_0x40a6a4['conditions'][_0x21d13e(0x3ad)](_0x33508d=>_0x1d0c5f[_0x21d13e(0x4a8)](_0x33508d[_0x21d13e(0x1b3)])),_0x5179bd==null||(_0x34e73c=_0x5179bd[_0x21d13e(0x2da)])==null||_0x34e73c[_0x21d13e(0x3ad)](_0x550562=>_0x1d0c5f['add'](_0x550562['fieldId'])),_0x1d0c5f;}[_0x4e3a72(0x210)](_0x47d6b2){const _0x2752e9=_0x4e3a72;var _0x34ce08;let _0x4a47c0=this['_filterSortFieldIds'](_0x47d6b2);return(_0x34ce08=_0x47d6b2[_0x2752e9(0x48a)])==null||_0x34ce08['forEach'](_0x1e0f8c=>_0x4a47c0[_0x2752e9(0x4a8)](_0x1e0f8c[_0x2752e9(0x1b3)])),_0x4a47c0;}[_0x4e3a72(0x3cb)](_0x3fbf9d,_0x3fe973,_0x4c3e2f){const _0x57d61d=_0x4e3a72;let _0x24a9d0=_0x3fe973==null?void 0x0:_0x3fe973[_0x57d61d(0x500)];if(!(_0x24a9d0!=null&&_0x24a9d0[_0x57d61d(0x515)]['length']))return _0x4c3e2f;let _0x2275e7=_0x24a9d0[_0x57d61d(0x515)][_0x57d61d(0x500)](_0x591754=>!_0x5e936c(_0x591754));return _0x2275e7[_0x57d61d(0x46c)]?_0x4c3e2f[_0x57d61d(0x500)](_0x38efdd=>{const _0x169076=_0x57d61d;if(_0x24a9d0[_0x169076(0x4f0)]===_0x2a4b8a[_0x169076(0x3c5)]['OR']){for(let _0x152e46 of _0x2275e7){let _0x3483a1=_0x3fbf9d['fields'][_0x152e46[_0x169076(0x1b3)]];if(!_0x3483a1||this[_0x169076(0x2f5)][_0x169076(0x295)](_0x3483a1[_0x169076(0x3a3)])['filter'](_0x38efdd['values'][_0x3483a1['id']],_0x152e46['operator'],_0x152e46[_0x169076(0x21e)],_0x3483a1))return!0x0;}return!0x1;}for(let _0xac8016 of _0x2275e7){let _0x203300=_0x3fbf9d['fields'][_0xac8016['fieldId']];if(_0x203300&&!this[_0x169076(0x2f5)][_0x169076(0x295)](_0x203300[_0x169076(0x3a3)])[_0x169076(0x500)](_0x38efdd[_0x169076(0x462)][_0x203300['id']],_0xac8016[_0x169076(0x376)],_0xac8016[_0x169076(0x21e)],_0x203300))return!0x1;}return!0x0;}):_0x4c3e2f;}['_sortRows'](_0x483799,_0x177680,_0x1f674b){const _0x4b4ba8=_0x4e3a72;let _0x430218=(_0x177680==null?void 0x0:_0x177680[_0x4b4ba8(0x2da)])??[];if(!_0x430218[_0x4b4ba8(0x46c)])return _0x1f674b;let _0x4ed8bb=_0x430218['flatMap'](_0x3277d6=>{const _0x595190=_0x4b4ba8;let _0x572268=_0x483799[_0x595190(0x3c4)][_0x3277d6[_0x595190(0x1b3)]];return _0x572268?[{..._0x3277d6,'field':_0x572268}]:[];});return _0x4ed8bb[_0x4b4ba8(0x46c)]?this[_0x4b4ba8(0x1a5)](_0x4ed8bb)?this[_0x4b4ba8(0x4b0)](_0x4ed8bb,_0x1f674b):[..._0x1f674b][_0x4b4ba8(0x2da)]((_0x5b8027,_0x30f472)=>{const _0x9c9cb0=_0x4b4ba8;for(let _0x1a9255 of _0x4ed8bb){let _0x25c488=_0x1a9255[_0x9c9cb0(0x344)],_0xe55de6=this[_0x9c9cb0(0x2f5)]['get'](_0x25c488[_0x9c9cb0(0x3a3)])[_0x9c9cb0(0x34b)](_0x5b8027[_0x9c9cb0(0x462)][_0x25c488['id']],_0x30f472[_0x9c9cb0(0x462)][_0x25c488['id']],_0x25c488);if(_0xe55de6!==0x0)return _0x1a9255[_0x9c9cb0(0x39a)]===_0x2a4b8a[_0x9c9cb0(0x4dc)][_0x9c9cb0(0x51e)]?-_0xe55de6:_0xe55de6;}return 0x0;}):_0x1f674b;}[_0x4e3a72(0x1a5)](_0x4ee13b){const _0x2b18a4=_0x4e3a72;return _0x4ee13b['every'](_0xa95056=>_0x17d016[_0x2b18a4(0x537)](_0xa95056[_0x2b18a4(0x344)][_0x2b18a4(0x3a3)]));}[_0x4e3a72(0x4b0)](_0x119f99,_0xc04d99){const _0x4849b8=_0x4e3a72;return _0xc04d99[_0x4849b8(0x2ef)]((_0x56b9bc,_0x2556c5)=>({'row':_0x56b9bc,'index':_0x2556c5,'keys':_0x119f99['map'](_0x56897f=>_0x56b9bc[_0x4849b8(0x462)][_0x56897f[_0x4849b8(0x1b3)]])}))[_0x4849b8(0x2da)]((_0x1dab20,_0x524e5e)=>{const _0x1c23e3=_0x4849b8;for(let _0x3eadb1=0x0;_0x3eadb1<_0x119f99[_0x1c23e3(0x46c)];_0x3eadb1++){let _0xd4cfef=_0x2308c7(_0x1dab20[_0x1c23e3(0x458)][_0x3eadb1],_0x524e5e[_0x1c23e3(0x458)][_0x3eadb1]);if(_0xd4cfef!==0x0)return _0x119f99[_0x3eadb1]['direction']===_0x2a4b8a[_0x1c23e3(0x4dc)][_0x1c23e3(0x51e)]?-_0xd4cfef:_0xd4cfef;}return _0x1dab20[_0x1c23e3(0x4a4)]-_0x524e5e[_0x1c23e3(0x4a4)];})[_0x4849b8(0x2ef)](_0x25263f=>_0x25263f[_0x4849b8(0x40d)]);}['_projectGroups'](_0x2cae4e,_0x50914b,_0x3b7422){const _0x3a3ed4=_0x4e3a72;var _0x43030c;return _0x26cddf(_0x3a3ed4(0x459),()=>{const _0x1edaf9=_0x3a3ed4;var _0x4d76f0;if(!((_0x4d76f0=_0x50914b[_0x1edaf9(0x48a)])!=null&&_0x4d76f0[_0x1edaf9(0x46c)]))return[];let _0x1d42cc=_0x50914b['group'][_0x1edaf9(0x500)](_0x1a32a4=>_0x2cae4e['fields'][_0x1a32a4[_0x1edaf9(0x1b3)]]);if(!_0x1d42cc['length'])return[];let _0x5cfa7b=this[_0x1edaf9(0x2f3)](_0x2cae4e['id'],_0x50914b,_0x1d42cc),_0xe27ac7=this['_getCellRevision'](_0x2cae4e['id']),_0x402088=this['_projectedGroupsCache'][_0x1edaf9(0x295)](_0x5cfa7b);if(_0x402088&&_0x402088[_0x1edaf9(0x299)]===this['_globalRevision']&&_0x402088[_0x1edaf9(0x33d)]===this[_0x1edaf9(0x3a5)](_0x2cae4e['id'])){if(_0x402088[_0x1edaf9(0x57d)]===_0xe27ac7&&_0x402088[_0x1edaf9(0x3e0)]===_0x3b7422)return _0x402088[_0x1edaf9(0x416)];if(_0x402088[_0x1edaf9(0x57d)]!==_0xe27ac7&&!this['_cellInvalidationsTouchFields'](_0x2cae4e['id'],_0x402088[_0x1edaf9(0x57d)],_0xe27ac7,this[_0x1edaf9(0x210)](_0x50914b)))return this['_projectedGroupsCache'][_0x1edaf9(0x1b0)](_0x5cfa7b,{..._0x402088,'rows':_0x3b7422,'cellRevision':_0xe27ac7}),_0x402088['groups'];}let _0x2f38f6=new Map();for(let _0x25f97d of _0x3b7422){let _0x4aa8d6=_0x2f38f6,_0x131bba='';for(let _0x120179=0x0;_0x120179<_0x1d42cc[_0x1edaf9(0x46c)];_0x120179++){let _0x2dc7a0=_0x1d42cc[_0x120179],_0x59da91=_0x25f97d[_0x1edaf9(0x462)][_0x2dc7a0[_0x1edaf9(0x1b3)]],_0x379d94=_0x1a96fa(_0x59da91),_0x3e86e6=_0x2dc7a0[_0x1edaf9(0x1b3)]+'\x00'+_0x379d94,_0x11b57a=_0x131bba+'/'+_0x2dc7a0[_0x1edaf9(0x1b3)]+':'+_0x379d94,_0x547d57=_0x4aa8d6[_0x1edaf9(0x295)](_0x3e86e6);_0x547d57||(_0x547d57={'key':_0x379d94,'value':_0x59da91,'path':_0x11b57a,'label':_0x379d94||'Empty','fieldId':_0x2dc7a0[_0x1edaf9(0x1b3)],'level':_0x120179,'recordIds':[],'children':new Map()},_0x4aa8d6[_0x1edaf9(0x1b0)](_0x3e86e6,_0x547d57)),_0x547d57[_0x1edaf9(0x568)][_0x1edaf9(0x348)](_0x25f97d[_0x1edaf9(0x549)]),_0x4aa8d6=_0x547d57['children'],_0x131bba=_0x11b57a;}}let _0x234f36=this['_materializeGroups'](_0x1d42cc,_0x2f38f6,0x0);return this[_0x1edaf9(0x2b8)][_0x1edaf9(0x1b0)](_0x5cfa7b,{'table':_0x2cae4e,'rows':_0x3b7422,'groups':_0x234f36,'globalRevision':this['_globalRevision'],'tableRevision':this[_0x1edaf9(0x3a5)](_0x2cae4e['id']),'cellRevision':_0xe27ac7}),_0x234f36;},{'tableId':_0x2cae4e['id'],'viewId':_0x50914b['id'],'viewType':_0x50914b[_0x3a3ed4(0x3a3)],'rows':_0x3b7422[_0x3a3ed4(0x46c)],'groupFields':((_0x43030c=_0x50914b[_0x3a3ed4(0x48a)])==null?void 0x0:_0x43030c['length'])??0x0});}[_0x4e3a72(0x209)](_0x2d571a,_0xd8bc3c,_0x1e9c8d){const _0x4a7a4d=_0x4e3a72;var _0x674afe;let _0x1e9a5e=Array[_0x4a7a4d(0x221)](_0xd8bc3c[_0x4a7a4d(0x462)]()),_0x1d0d9d=(_0x674afe=_0x2d571a[_0x1e9c8d])==null?void 0x0:_0x674afe[_0x4a7a4d(0x39a)];return _0x1d0d9d&&_0x1e9a5e[_0x4a7a4d(0x2da)]((_0x1e1c10,_0x32983d)=>{const _0x4deba3=_0x4a7a4d;let _0xf6968c=_0x1e1c10[_0x4deba3(0x20f)][_0x4deba3(0x377)](_0x32983d[_0x4deba3(0x20f)]);return _0x1d0d9d===_0x2a4b8a['BaseSortDirection'][_0x4deba3(0x51e)]?-_0xf6968c:_0xf6968c;}),_0x1e9a5e[_0x4a7a4d(0x2ef)](_0x394f1f=>({'key':_0x394f1f[_0x4a7a4d(0x20f)],'value':_0x394f1f[_0x4a7a4d(0x32f)],'path':_0x394f1f[_0x4a7a4d(0x28f)],'label':_0x394f1f['label'],'fieldId':_0x394f1f['fieldId'],'level':_0x394f1f['level'],'recordIds':_0x394f1f['recordIds'],'children':this['_materializeGroups'](_0x2d571a,_0x394f1f['children'],_0x1e9c8d+0x1)}));}[_0x4e3a72(0x362)](_0x5ba44b,_0x57a953,_0x446ecb){const _0x56a986=_0x4e3a72;let _0x5233aa=_0x446ecb??_0x5ba44b[_0x56a986(0x21a)],_0xb03f3a=_0x57a953[_0x56a986(0x462)][_0x5233aa];return _0xb03f3a==null?'':String(_0xb03f3a);}['_recordIds'](_0xd39476){const _0x2239b3=_0x4e3a72;if(Array[_0x2239b3(0x35c)](_0xd39476))return _0xd39476[_0x2239b3(0x2ef)](String);if(typeof _0xd39476=='string'&&_0xd39476)return[_0xd39476];}[_0x4e3a72(0x2fb)](_0x36659b){return this['_fieldRegistry']['get'](_0x36659b['type'])['getCapabilities'](_0x36659b);}};_0x5e3a87=_0x2b1d11([_0x1f3d22(0x0,(0x0,_0x2a4b8a[_0x4e3a72(0x1a9)])(_0x10d9e8))],_0x5e3a87);function _0x1a96fa(_0x1221a2){return _0x1221a2==null?'':String(_0x1221a2);}function _0x379fa0(_0x294871){const _0x45bd6f=_0x4e3a72;return new Map(_0x294871['map']((_0x57300c,_0x669406)=>[_0x57300c[_0x45bd6f(0x549)],_0x669406]));}function _0x1a1511(_0x42fe28){const _0x4415a0=_0x4e3a72;return!!(Array[_0x4415a0(0x35c)](_0x42fe28[_0x4415a0(0x531)])&&_0x42fe28[_0x4415a0(0x385)]&&_0x42fe28[_0x4415a0(0x1df)]&&_0x42fe28[_0x4415a0(0x285)]&&_0x42fe28[_0x4415a0(0x3ec)]&&_0x42fe28[_0x4415a0(0x380)]);}function _0x32241f(_0x5b5c1b){const _0x463ae8=_0x4e3a72;return _0x5b5c1b!=null&&_0x5b5c1b[_0x463ae8(0x515)][_0x463ae8(0x46c)]?{'conjunction':_0x5b5c1b[_0x463ae8(0x4f0)],'conditions':_0x5b5c1b['conditions'][_0x463ae8(0x2ef)](_0x4677a7=>({'fieldId':_0x4677a7['fieldId'],'operator':_0x4677a7['operator'],'operand':_0x4677a7[_0x463ae8(0x21e)]}))}:null;}function _0x4d497d(_0x370df5){const _0x464c9e=_0x4e3a72;return _0x370df5!=null&&_0x370df5[_0x464c9e(0x46c)]?_0x370df5[_0x464c9e(0x2ef)](_0x5ab600=>({'fieldId':_0x5ab600[_0x464c9e(0x1b3)],'direction':_0x5ab600[_0x464c9e(0x39a)]})):null;}function _0x4e8643(_0xb937be){const _0x314484=_0x4e3a72;if(typeof _0xb937be!='object'||!_0xb937be)return JSON[_0x314484(0x2b1)](_0xb937be)??_0x314484(0x4f7);if(Array[_0x314484(0x35c)](_0xb937be))return'['+_0xb937be[_0x314484(0x2ef)](_0x4e8643)[_0x314484(0x2fe)](',')+']';let _0x11cbfd=_0xb937be;return'{'+Object[_0x314484(0x458)](_0x11cbfd)[_0x314484(0x2da)]()['map'](_0x4578b0=>JSON[_0x314484(0x2b1)](_0x4578b0)+':'+_0x4e8643(_0x11cbfd[_0x4578b0]))[_0x314484(0x2fe)](',')+'}';}function _0x46025f(_0x20664e){const _0x179563=_0x4e3a72;let _0x37445e=Object[_0x179563(0x462)](_0x20664e)[_0x179563(0x2da)]((_0x3e729c,_0x55439f)=>_0x3e729c[_0x179563(0x236)][_0x179563(0x377)](_0x55439f[_0x179563(0x236)])),_0xd1961d=[];for(let _0x492186 of _0x37445e)_0xd1961d[_0x179563(0x348)](_0x492186['id']);return _0xd1961d;}let _0x141702=0x5a0*0x3c*0x3e8;function _0x268a87(_0x2a8588){const _0x2f64bf=_0x4e3a72;return{'weekdays':Array[_0x2f64bf(0x35c)](_0x2a8588==null?void 0x0:_0x2a8588[_0x2f64bf(0x224)])&&_0x2a8588[_0x2f64bf(0x224)][_0x2f64bf(0x46c)]?[...new Set(_0x2a8588[_0x2f64bf(0x224)][_0x2f64bf(0x500)](_0x398060=>Number[_0x2f64bf(0x356)](_0x398060)&&_0x398060>=0x1&&_0x398060<=0x7))]:[0x1,0x2,0x3,0x4,0x5],'exceptions':Array[_0x2f64bf(0x35c)](_0x2a8588==null?void 0x0:_0x2a8588[_0x2f64bf(0x1f5)])?_0x2a8588[_0x2f64bf(0x1f5)][_0x2f64bf(0x467)](_0x187241=>!_0x187241||!Number[_0x2f64bf(0x25a)](_0x187241[_0x2f64bf(0x316)])?[]:[{'id':String(_0x187241['id']||'exception-'+_0x187241[_0x2f64bf(0x316)]),'date':_0x4369f1(Number(_0x187241[_0x2f64bf(0x316)])),'name':String(_0x187241[_0x2f64bf(0x492)]||'Working\x20day'),'type':_0x187241[_0x2f64bf(0x3a3)]===_0x2f64bf(0x45b)?_0x2f64bf(0x45b):'off'}]):[]};}function _0x3ccb8d(_0x3aa3d0,_0x307751,_0x3d0e50,_0xf3b03d){let _0x4f6b56=_0xe1f89b(_0x3aa3d0,_0x307751),_0x2dd342=_0x10096a(_0x3aa3d0,_0x3d0e50),_0x426cb2=_0x1e7d84(_0x3aa3d0,_0x4f6b56,_0x2dd342,_0xf3b03d);return{'scale':_0x3aa3d0,'start':_0x4f6b56,'end':_0x2dd342,'unitWidth':_0x63fbdb(_0x3aa3d0),'majorHeaders':_0x272ca1(_0x3aa3d0,_0x4f6b56,_0x2dd342),'columns':_0x426cb2};}function _0x1e7d84(_0x5d1909,_0x1cb0b6,_0x129ab8,_0xdf20bb){const _0x574df=_0x4e3a72;let _0x1b1c46=[],_0x468d8a=_0x1cb0b6;for(;_0x468d8a<_0x129ab8;){let _0x259213=_0x5d1909==='quarter'?_0x430d0c(_0x468d8a,0x7):_0x5d1909===_0x574df(0x353)?_0x1b36a6(_0x468d8a,0x1):_0x430d0c(_0x468d8a,0x1);_0x1b1c46['push']({'id':_0x5d1909+'-'+_0x468d8a,'label':_0xbf5b7c(_0x5d1909,_0x468d8a,_0x259213),'majorLabel':_0x2ddf50(_0x5d1909,_0x468d8a),'start':_0x468d8a,'end':_0x259213,'nonWorking':_0x39f869(_0x468d8a,_0x259213,_0xdf20bb)}),_0x468d8a=_0x259213;}return _0x1b1c46;}function _0x272ca1(_0x56c7af,_0x25f31a,_0x1c291b){const _0x4578d7=_0x4e3a72;let _0x50760c=[],_0x47e505=_0x56c7af===_0x4578d7(0x353)?_0x10efdc(_0x25f31a):_0x2ea73f(_0x25f31a);for(;_0x47e505<_0x1c291b;){let _0x407393=_0x56c7af===_0x4578d7(0x353)?_0x5c5d51(_0x47e505,0x1):_0x1b36a6(_0x47e505,0x1);_0x50760c['push']({'id':_0x4578d7(0x57f)+_0x47e505,'label':_0x56c7af===_0x4578d7(0x353)?String(new Date(_0x47e505)[_0x4578d7(0x4d6)]()):_0x5b789b(_0x47e505),'start':_0x47e505,'end':_0x407393}),_0x47e505=_0x407393;}return _0x50760c;}function _0x63fbdb(_0x334aeb){const _0x338812=_0x4e3a72;switch(_0x334aeb){case _0x338812(0x2c5):return 0xac;case _0x338812(0x47e):return 0xac;case _0x338812(0x353):return 0x88;default:return 0x56;}}function _0xe1f89b(_0x114c66,_0x13605c){const _0x17f0b9=_0x4e3a72;return _0x114c66==='year'?_0x10efdc(_0x13605c):_0x114c66===_0x17f0b9(0x47e)?_0x3c6d01(_0x13605c):_0x4369f1(_0x13605c);}function _0x10096a(_0x478e55,_0x1f3175){const _0x233753=_0x4e3a72;return _0x478e55===_0x233753(0x353)?_0x5c5d51(_0x10efdc(_0x1f3175),0x1):_0x478e55===_0x233753(0x47e)?_0x430d0c(_0x3c6d01(_0x1f3175),0x7):_0x430d0c(_0x4369f1(_0x1f3175),0x1);}function _0xbf5b7c(_0x42c7c7,_0x14e304,_0x4cca3d){const _0x151ddb=_0x4e3a72;let _0x1d31d4=new Date(_0x14e304);return _0x42c7c7===_0x151ddb(0x47e)?_0x1d31d4[_0x151ddb(0x38f)]()+'-'+new Date(_0x4cca3d-_0x141702)['getUTCDate']():_0x42c7c7===_0x151ddb(0x353)?_0x1d31d4[_0x151ddb(0x51a)](_0x151ddb(0x26f),{'month':'short','timeZone':_0x151ddb(0x3ff)}):String(_0x1d31d4['getUTCDate']());}function _0x2ddf50(_0x142671,_0x3113a3){const _0x5eed69=_0x4e3a72;return _0x142671==='year'?String(new Date(_0x3113a3)[_0x5eed69(0x4d6)]()):_0x5b789b(_0x3113a3);}function _0x255f70(_0x213a13,_0x26e1ee,_0x3a43e6){let _0x23c01b=_0x268a87(_0x3a43e6),_0x11758d=0x0;for(let _0x561a15=_0x4369f1(_0x213a13);_0x561a15<=_0x4369f1(_0x26e1ee);_0x561a15=_0x430d0c(_0x561a15,0x1))_0x10fe83(_0x561a15,_0x23c01b)||_0x11758d++;return _0x11758d;}function _0x39f869(_0x50e848,_0x22a63f,_0x23e9b1){if(!_0x23e9b1)return!0x1;let _0x10be28=_0x268a87(_0x23e9b1);for(let _0x2b2a08=_0x4369f1(_0x50e848);_0x2b2a08<_0x22a63f;_0x2b2a08=_0x430d0c(_0x2b2a08,0x1))if(!_0x10fe83(_0x2b2a08,_0x10be28))return!0x1;return!0x0;}function _0x10fe83(_0x1719b5,_0x5cec8e){const _0x1016e7=_0x4e3a72;let _0x2b85c5=_0x4369f1(_0x1719b5),_0x1a7eb9=_0x5cec8e[_0x1016e7(0x1f5)][_0x1016e7(0x4c7)](_0x16ce65=>_0x4369f1(_0x16ce65['date'])===_0x2b85c5);if(_0x1a7eb9)return _0x1a7eb9['type']==='off';let _0x2f607a=new Date(_0x2b85c5)[_0x1016e7(0x404)](),_0x2d8daa=_0x2f607a===0x0?0x7:_0x2f607a;return!_0x5cec8e[_0x1016e7(0x224)][_0x1016e7(0x1a7)](_0x2d8daa);}function _0x4369f1(_0x576f3c){const _0x41ee28=_0x4e3a72;let _0x3fbc56=new Date(_0x576f3c);return Date[_0x41ee28(0x3ff)](_0x3fbc56[_0x41ee28(0x4d6)](),_0x3fbc56[_0x41ee28(0x1ab)](),_0x3fbc56[_0x41ee28(0x38f)]());}function _0x3c6d01(_0x8b21ab){const _0x54cdf3=_0x4e3a72;let _0x47a00a=_0x4369f1(_0x8b21ab),_0x933c05=new Date(_0x47a00a)[_0x54cdf3(0x404)]();return _0x430d0c(_0x47a00a,-(_0x933c05===0x0?0x6:_0x933c05-0x1));}function _0x2ea73f(_0x1ece03){const _0x2d8c7b=_0x4e3a72;let _0x28f3b9=new Date(_0x1ece03);return Date[_0x2d8c7b(0x3ff)](_0x28f3b9[_0x2d8c7b(0x4d6)](),_0x28f3b9['getUTCMonth'](),0x1);}function _0x10efdc(_0x31758d){const _0x50e655=_0x4e3a72;let _0x185982=new Date(_0x31758d);return Date[_0x50e655(0x3ff)](_0x185982[_0x50e655(0x4d6)](),0x0,0x1);}function _0x430d0c(_0x39899c,_0x291550){return _0x39899c+_0x291550*_0x141702;}function _0x1b36a6(_0x2d334f,_0x4ecce2){const _0x176462=_0x4e3a72;let _0x150dc6=new Date(_0x2d334f);return Date[_0x176462(0x3ff)](_0x150dc6['getUTCFullYear'](),_0x150dc6['getUTCMonth']()+_0x4ecce2,0x1);}function _0x5c5d51(_0x31f92a,_0x1b61a3){const _0x4f3d96=_0x4e3a72;let _0x49a091=new Date(_0x31f92a);return Date[_0x4f3d96(0x3ff)](_0x49a091[_0x4f3d96(0x4d6)]()+_0x1b61a3,0x0,0x1);}function _0x5b789b(_0x2e90db){const _0x3a0183=_0x4e3a72;let _0x1cb3fe=new Date(_0x2e90db);return _0x1cb3fe[_0x3a0183(0x51a)](_0x3a0183(0x26f),{'month':'short','timeZone':_0x3a0183(0x3ff)})+'\x20'+_0x1cb3fe['getUTCFullYear']();}function _0x2308c7(_0x15f3fe,_0x5062fb){const _0x309140=_0x4e3a72;if(_0x15f3fe==null&&_0x5062fb==null)return 0x0;if(_0x15f3fe==null)return-0x1;if(_0x5062fb==null)return 0x1;if(typeof _0x15f3fe=='boolean'||typeof _0x5062fb==_0x309140(0x49b))return Number(_0x15f3fe===!0x0)-Number(_0x5062fb===!0x0);let _0x57f189=Number(_0x15f3fe),_0x28c30e=Number(_0x5062fb),_0x57eb1a=Number[_0x309140(0x25a)](_0x57f189),_0x1fea81=Number[_0x309140(0x25a)](_0x28c30e);return _0x57eb1a&&_0x1fea81?_0x57f189-_0x28c30e:_0x57eb1a?0x1:_0x1fea81?-0x1:String(_0x15f3fe)[_0x309140(0x377)](String(_0x5062fb));}function _0x5e936c(_0x3d37f2){const _0x377294=_0x4e3a72;if(_0x3d37f2['operator']!=='is'&&_0x3d37f2[_0x377294(0x376)]!==_0x377294(0x448))return!0x1;let _0x5dc0d6=_0x3d37f2[_0x377294(0x21e)];return _0x5dc0d6==null?!0x0:typeof _0x5dc0d6==_0x377294(0x4ad)?_0x5dc0d6[_0x377294(0x571)]()==='':Array[_0x377294(0x35c)](_0x5dc0d6)?_0x5dc0d6[_0x377294(0x46c)]===0x0:!0x1;}function _0x16ae9e(_0x5149f7,_0x420e85){const _0x4b9db8=_0x4e3a72;var _0x313b15;let _0x34735e=Array[_0x4b9db8(0x35c)]((_0x313b15=_0x5149f7[_0x4b9db8(0x3e8)])==null?void 0x0:_0x313b15[_0x4b9db8(0x22d)])?_0x5149f7[_0x4b9db8(0x3e8)][_0x4b9db8(0x22d)]:[];for(let _0x4c2d7d of _0x34735e){if(_0x4c2d7d==null)continue;if(typeof _0x4c2d7d==_0x4b9db8(0x4ad)){if(_0x4c2d7d===_0x420e85)return{'id':_0x4c2d7d,'name':_0x4c2d7d};continue;}let _0x349f19=_0x4c2d7d,_0x2a71cc=String(_0x349f19['id']??_0x349f19[_0x4b9db8(0x492)]??''),_0x59d698=String(_0x349f19[_0x4b9db8(0x492)]??_0x349f19['id']??_0x2a71cc);if(_0x2a71cc===_0x420e85||_0x59d698===_0x420e85)return{'id':_0x2a71cc,'name':_0x59d698,'color':_0x349f19[_0x4b9db8(0x33a)]==null?void 0x0:String(_0x349f19['color'])};}return null;}let _0x456ed5={'id':'base.mutation.apply-base-json1','type':_0x2a4b8a[_0x4e3a72(0x29a)][_0x4e3a72(0x4d4)],'handler'(_0x4979b7,_0x442a5e){const _0x28ce4e=_0x4e3a72;let {unitId:_0x51b99c,op:_0x1c2d8b}=_0x442a5e,_0x6932eb=_0x4979b7['get'](_0x2a4b8a[_0x28ce4e(0x302)])[_0x28ce4e(0x460)](_0x51b99c,_0x2a4b8a['UniverInstanceType'][_0x28ce4e(0x2c2)]);if(!_0x6932eb)return!0x1;let _0x3eb199=_0x6932eb['getSnapshot'](),_0xa6d5e1=new _0x5c1670(),_0x195537=_0xa6d5e1[_0x28ce4e(0x2ee)](_0x1c2d8b),_0x428f12=_0xa6d5e1[_0x28ce4e(0x405)](_0x3eb199,_0x1c2d8b);return _0x6932eb['setSnapshot'](_0x428f12),_0x203f20(_0x428f12,_0x195537,_0x4979b7[_0x28ce4e(0x295)](_0xd124de)),!0x0;}};function _0x203f20(_0x199597,_0x38cf72,_0x2e7473){const _0x54c482=_0x4e3a72;let _0x20e0fc=new Set();for(let _0x15d416 of _0x38cf72){if(_0x15d416[_0x54c482(0x57e)]!=='cell'){_0x2e7473['invalidateByOp']();return;}let _0xc6b78f=_0x411477(_0x199597,_0x15d416);if(!_0xc6b78f){_0x2e7473['invalidateByOp']();return;}let _0x15830d=_0xc6b78f[_0x54c482(0x398)]+'\x00'+_0xc6b78f['recordId']+'\x00'+_0xc6b78f[_0x54c482(0x1b3)];_0x20e0fc[_0x54c482(0x537)](_0x15830d)||(_0x20e0fc['add'](_0x15830d),_0x2e7473[_0x54c482(0x569)](_0xc6b78f[_0x54c482(0x398)],_0xc6b78f['recordId'],_0xc6b78f[_0x54c482(0x1b3)]));}}function _0x411477(_0x14b06d,_0x159838){const _0x697453=_0x4e3a72;var _0x12d0ac,_0x4a18bf;if(!_0x159838[_0x697453(0x398)])return null;if(_0x159838['recordId']&&_0x159838[_0x697453(0x1b3)])return{'tableId':_0x159838[_0x697453(0x398)],'recordId':_0x159838[_0x697453(0x549)],'fieldId':_0x159838[_0x697453(0x1b3)]};if(_0x159838[_0x697453(0x40d)]==null||_0x159838['column']==null)return null;let _0x13a130=_0x14b06d[_0x697453(0x46b)][_0x159838['tableId']],_0x3c46ea=_0x13a130==null||(_0x12d0ac=_0x13a130['rowId'])==null?void 0x0:_0x12d0ac[_0x159838[_0x697453(0x40d)]],_0x84fcd9=_0x13a130==null||(_0x4a18bf=_0x13a130['colId'])==null?void 0x0:_0x4a18bf[_0x159838[_0x697453(0x21b)]];return!_0x3c46ea||!_0x84fcd9?null:{'tableId':_0x159838[_0x697453(0x398)],'recordId':_0x3c46ea,'fieldId':_0x84fcd9};}let _0x12d4aa=_0x2a4b8a[_0x4e3a72(0x1ac)][_0x4e3a72(0x46e)](String[_0x4e3a72(0x1ff)]`(?:^|\W)\$?[A-Z]{1,3}\$?\d+(?::\$?[A-Z]{1,3}\$?\d+)?(?:$|\W)`),_0x30e1ce=_0x2a4b8a['regexp']['createRegExpFromSafeFragment'](String[_0x4e3a72(0x1ff)]`(?:'\[[^\]]+\](?:[^']|'')+'|\[[^\]]+\][^\s'!]+)!\$?[A-Z]{1,3}\$?\d+(?::\$?[A-Z]{1,3}\$?\d+)?`,'gi'),_0x348227=/\{([^}]+)\}/g,_0x4e4445=_0x2a4b8a[_0x4e3a72(0x1ac)]['createRegExpFromSafeFragment'](String[_0x4e3a72(0x1ff)]`\b([A-Z_][\w.]*)\[\[\s*#(This Row|Data)\s*\],\s*\[([^\]]+)\]\]`,'gi'),_0x441fdd=_0x2a4b8a[_0x4e3a72(0x1ac)]['createRegExpFromSafeFragment'](String[_0x4e3a72(0x1ff)]`\b([A-Z_][\w.]*)\[@\[([^\]]+)\]\]`,'gi'),_0x50717f=_0x2a4b8a[_0x4e3a72(0x1ac)]['createRegExpFromSafeFragment'](String[_0x4e3a72(0x1ff)]`\b([A-Z_][\w.]*)\[([^\[\]#]+)\]`,'gi'),_0x4f52da=_0x2a4b8a[_0x4e3a72(0x1ac)][_0x4e3a72(0x46e)](String['raw']`(^|[^\w\[])\[\[\s*#(This Row|Data)\s*\],\s*\[([^\]]+)\]\]`,'gi'),_0x7ecccb=_0x2a4b8a[_0x4e3a72(0x1ac)][_0x4e3a72(0x46e)](String[_0x4e3a72(0x1ff)]`(^|[^\w\[])\[@\[([^\]]+)\]\](?!\])`,'g'),_0x41b81b=_0x2a4b8a[_0x4e3a72(0x1ac)][_0x4e3a72(0x46e)](String[_0x4e3a72(0x1ff)]`(^|[^\w\[])\[@?([^\[\]#]+)\](?!\])`,'g');var _0x2a5bc1=class{[_0x4e3a72(0x300)](_0x3d2a83,_0x12862c=_0x3d2a83['id']){const _0x477390=_0x4e3a72;var _0x3bcb07;let _0x46aa8c=((_0x3bcb07=_0x3d2a83[_0x477390(0x531)])==null?void 0x0:_0x3bcb07[_0x477390(0x46c)])??Object[_0x477390(0x462)](_0x3d2a83[_0x477390(0x54e)])[_0x477390(0x46c)];return{'sheetId':_0x12862c,'titleMap':new Map(_0x3d2a83[_0x477390(0x541)][_0x477390(0x2ef)]((_0x44b652,_0x269e70)=>{const _0x46b2d8=_0x477390;var _0x1051de;return[((_0x1051de=_0x3d2a83[_0x46b2d8(0x3c4)][_0x44b652])==null?void 0x0:_0x1051de[_0x46b2d8(0x492)])??_0x44b652,_0x269e70];})),'range':{'startRow':0x0,'endRow':Math[_0x477390(0x358)](0x0,_0x46aa8c-0x1),'startColumn':0x0,'endColumn':Math['max'](0x0,_0x3d2a83[_0x477390(0x541)][_0x477390(0x46c)]-0x1)},'showHeader':!0x1};}[_0x4e3a72(0x372)](_0x3e8114,_0x42cf05){const _0x36895e=_0x4e3a72;let _0x68bbc6=[],_0x53a89a=_0x42cf05?new Set(_0x42cf05):null,_0x2a454a=(0x0,_0x2a4b8a[_0x36895e(0x1ed)])(_0x3e8114);return Object['values'](_0x3e8114['tables'])[_0x36895e(0x500)](_0x4de6ff=>!_0x53a89a||_0x53a89a[_0x36895e(0x537)](_0x4de6ff['id']))[_0x36895e(0x3ad)](_0x440ef7=>{const _0x5c24ea=_0x36895e;let _0x503245=this[_0x5c24ea(0x300)](_0x440ef7,_0x440ef7['id']);_0x68bbc6['push']({'tableId':_0x440ef7['id'],'tableName':_0x2a454a[_0x5c24ea(0x295)](_0x440ef7['id']),'reference':_0x503245});}),_0x68bbc6;}[_0x4e3a72(0x1b6)](_0x30f3ff,_0x20370f,_0x16bbf1={}){const _0x128c65=_0x4e3a72;let _0x8f1b00=_0x30f3ff['trim']();if(!_0x8f1b00)return{'valid':!0x0};if(_0x58d925(_0x8f1b00))return{'valid':!0x1,'reason':'[BaseFormula]:\x20A1\x20references\x20and\x20ranges\x20are\x20not\x20supported\x20in\x20Base\x20formulas.'};let _0x4583c5=_0x16bbf1[_0x128c65(0x480)]?(0x0,_0x2a4b8a[_0x128c65(0x1ed)])(_0x16bbf1[_0x128c65(0x480)]):void 0x0;for(let _0x32442b of _0x33ca51(_0x8f1b00)){let _0x103dd9=_0x20110e(_0x32442b,_0x20370f,_0x16bbf1[_0x128c65(0x480)],_0x4583c5);if(!_0x103dd9[_0x128c65(0x577)])return{'valid':!0x1,'reason':_0x128c65(0x3b4)+_0x32442b['tableName']+_0x128c65(0x412)};if(!_0x103dd9[_0x128c65(0x344)])return{'valid':!0x1,'reason':_0x128c65(0x4d5)+_0x32442b[_0x128c65(0x47d)]+_0x128c65(0x43e)};}return{'valid':!0x0};}[_0x4e3a72(0x2a4)](_0x42c68b,_0x342969,_0x41c3a2={}){const _0x2ab38e=_0x4e3a72;let _0x5291b5=new Set();for(let _0x27e412 of this[_0x2ab38e(0x32d)](_0x42c68b,_0x342969,_0x41c3a2))_0x27e412[_0x2ab38e(0x398)]===_0x342969['id']&&_0x5291b5['add'](_0x27e412['fieldId']);return Array[_0x2ab38e(0x221)](_0x5291b5);}[_0x4e3a72(0x32d)](_0x2f6e10,_0x178f9e,_0x102092={}){const _0x2fa668=_0x4e3a72;let _0x49fce2=new Map(),_0x177483=_0x102092['snapshot']?(0x0,_0x2a4b8a[_0x2fa668(0x1ed)])(_0x102092[_0x2fa668(0x480)]):void 0x0;for(let _0x3a480b of _0x33ca51(_0x2f6e10)){let _0x4d5003=_0x20110e(_0x3a480b,_0x178f9e,_0x102092[_0x2fa668(0x480)],_0x177483);if(!_0x4d5003['table']||!_0x4d5003[_0x2fa668(0x344)])continue;let _0x893c04=_0x4d5003[_0x2fa668(0x577)]['id']+'\x1f'+_0x4d5003[_0x2fa668(0x344)]['id'];_0x49fce2[_0x2fa668(0x1b0)](_0x893c04,{'tableId':_0x4d5003[_0x2fa668(0x577)]['id'],'fieldId':_0x4d5003['field']['id']});}return Array[_0x2fa668(0x221)](_0x49fce2[_0x2fa668(0x462)]());}};function _0x338164(_0x220990,_0x42f3cf){const _0x2992b1=_0x4e3a72;var _0x5584a0;let _0x5e1fbb=[],_0x4fed0b=(_0x5584a0=_0x42f3cf[_0x2992b1(0x2f4)])==null?void 0x0:_0x5584a0[_0x220990['id']];return _0x4fed0b&&Object[_0x2992b1(0x2f1)](_0x4fed0b)[_0x2992b1(0x3ad)](([_0x84e3a5,_0x5e92b1])=>{const _0x17c9b0=_0x2992b1;let _0x3f70bd=_0x220990[_0x17c9b0(0x46b)][_0x84e3a5];if(!_0x3f70bd||!_0x5e92b1)return;let _0x3054e2=_0x191958(_0x3f70bd),_0x2875a3=[];new _0x2a4b8a[(_0x17c9b0(0x4e3))](_0x5e92b1)['forValue']((_0xbb205d,_0xf49167,_0x27f9ba)=>{const _0x281802=_0x17c9b0;let _0x300e23=_0x577f69(_0x3054e2,_0xbb205d,_0xf49167,_0x27f9ba);_0x300e23&&_0x2875a3[_0x281802(0x348)](_0x300e23);}),_0x2875a3['length']&&_0x5e1fbb['push']({'unitId':_0x220990['id'],'tableId':_0x84e3a5,'patches':_0x2875a3});}),_0x5e1fbb;}function _0x577f69(_0x5085f4,_0x1a47e2,_0x305f75,_0x59a7e1){const _0x890355=_0x4e3a72;var _0x64f3ca,_0x25b25b,_0x1dc877;let _0x436cbf=(_0x64f3ca=_0x5085f4['rowId'])==null?void 0x0:_0x64f3ca[_0x1a47e2],_0x35b2a4=(_0x25b25b=_0x5085f4[_0x890355(0x3ec)])==null?void 0x0:_0x25b25b[_0x305f75];if(!_0x436cbf||!_0x5085f4['records'][_0x436cbf]||!_0x35b2a4)return null;let _0x4af94d=_0x5085f4['fields'][_0x35b2a4];if(!_0x4af94d||_0x4af94d[_0x890355(0x3a3)]!=='formula')return null;let _0x41cd5d=String(((_0x1dc877=_0x4af94d[_0x890355(0x3e8)])==null?void 0x0:_0x1dc877[_0x890355(0x484)])??'')[_0x890355(0x571)](),_0x330848=(_0x59a7e1==null?void 0x0:_0x59a7e1['v'])??null,_0x2474bb={'v':_0x330848,'t':_0x3d89c6(_0x330848),..._0x1a47e2===0x0&&_0x41cd5d?{'f':_0x41cd5d}:{},'si':_0x4af94d['id']};return _0x393d9b(_0x56b05c(_0x5085f4,_0x436cbf,_0x35b2a4),_0x2474bb)?null:{'row':_0x1a47e2,'col':_0x305f75,'value':_0x2474bb};}function _0x393d9b(_0x4b4c00,_0x5bac3b){return _0x4b4c00!=null&&Object['is'](_0x4b4c00['v']??null,_0x5bac3b['v']??null)&&_0x4b4c00['t']===_0x5bac3b['t']&&_0x4b4c00['f']===_0x5bac3b['f']&&_0x4b4c00['si']===_0x5bac3b['si'];}function _0x3d89c6(_0x498fab){const _0x1580af=_0x4e3a72;return typeof _0x498fab==_0x1580af(0x23b)?_0x2a4b8a[_0x1580af(0x1d3)][_0x1580af(0x29e)]:typeof _0x498fab=='boolean'?_0x2a4b8a['CellValueType'][_0x1580af(0x4ed)]:typeof _0x498fab==_0x1580af(0x4ad)?_0x2a4b8a[_0x1580af(0x1d3)][_0x1580af(0x2b4)]:null;}function _0x33ca51(_0x398ec3){const _0xfa1ae2=_0x4e3a72;let _0x34d501=_0x42e2ab(_0x398ec3,()=>''),_0x3c829a=new Map(),_0x2df772=_0x1e761f=>{const _0x372267=_0x56f7;_0x3c829a[_0x372267(0x1b0)]((_0x1e761f[_0x372267(0x34e)]??'')+'\x1f'+_0x1e761f['fieldName'],_0x1e761f);};for(let _0x313a91 of _0x34d501[_0xfa1ae2(0x41d)](_0x348227))_0x2df772({'fieldName':_0x313a91[0x1],'scope':_0xfa1ae2(0x3f0)});_0x34d501=_0x34d501['replace'](_0x4e4445,(_0x18e51c,_0x12a2e3,_0x2b430b,_0x57ba0e)=>(_0x2df772({'tableName':_0x12a2e3,'fieldName':_0x57ba0e,'scope':_0x2b430b[_0xfa1ae2(0x494)]()==='data'?_0xfa1ae2(0x33e):_0xfa1ae2(0x3f0)}),'\x20')),_0x34d501=_0x34d501['replace'](_0x441fdd,(_0x70d1ee,_0x3e0bbd,_0x3c5ea8)=>(_0x2df772({'tableName':_0x3e0bbd,'fieldName':_0x3c5ea8,'scope':_0xfa1ae2(0x3f0)}),'\x20')),_0x34d501=_0x34d501['replace'](_0x4f52da,(_0x126fe1,_0x5c4a31,_0x357579,_0x2fcb40)=>(_0x2df772({'fieldName':_0x2fcb40,'scope':_0x357579[_0xfa1ae2(0x494)]()===_0xfa1ae2(0x33e)?_0xfa1ae2(0x33e):_0xfa1ae2(0x3f0)}),_0x5c4a31+'\x20')),_0x34d501=_0x34d501[_0xfa1ae2(0x2f6)](_0x7ecccb,(_0x55dfa8,_0x3579b6,_0x120fd2)=>(_0x2df772({'fieldName':_0x120fd2,'scope':_0xfa1ae2(0x3f0)}),_0x3579b6+'\x20'));for(let _0x67b492 of _0x34d501[_0xfa1ae2(0x41d)](_0x50717f))_0x2df772({'tableName':_0x67b492[0x1],'fieldName':_0x67b492[0x2]});for(let _0xa82400 of _0x34d501['matchAll'](_0x41b81b))_0x2df772({'fieldName':_0xa82400[0x2],'scope':'this-row'});return Array[_0xfa1ae2(0x221)](_0x3c829a['values']());}function _0x58d925(_0x21dbe4){const _0x2897dc=_0x4e3a72;let _0x523e78=_0x42e2ab(_0x21dbe4,()=>'\x20')[_0x2897dc(0x2f6)](_0x348227,'\x20')[_0x2897dc(0x2f6)](_0x4e4445,'\x20')[_0x2897dc(0x2f6)](_0x441fdd,'\x20')[_0x2897dc(0x2f6)](_0x4f52da,'$1\x20')[_0x2897dc(0x2f6)](_0x7ecccb,_0x2897dc(0x502))[_0x2897dc(0x2f6)](_0x50717f,'\x20')[_0x2897dc(0x2f6)](_0x41b81b,'$1\x20');return _0x12d4aa[_0x2897dc(0x432)](_0x523e78);}function _0x367406(_0x1c3598,_0x28031a){return _0x27b0bc(_0x32057f(_0x1c3598,_0x28031a),_0x28031a);}function _0x42e2ab(_0x153262,_0x2df9ff){return _0x25903e(_0x367406(_0x153262,_0x2df9ff),_0x2df9ff);}function _0x25903e(_0x3ce84f,_0x3798d4){const _0x2d40e8=_0x4e3a72;return _0x3ce84f[_0x2d40e8(0x2f6)](/"(?:""|[^"])*"/g,_0x3798d4);}function _0x32057f(_0x575884,_0x331d38){const _0x2836d1=_0x4e3a72;return _0x30e1ce[_0x2836d1(0x497)]=0x0,_0x575884[_0x2836d1(0x2f6)](_0x30e1ce,(_0x7eaef2,_0x3a607f)=>_0x12de88(_0x575884,_0x3a607f)?_0x7eaef2:_0x331d38(_0x7eaef2));}let _0x405b09=/(?:'((?:[^']|'')+)'|\[[^\]]+\]|[A-Za-z0-9_.-]+)![^\s!\[\]]+\[/g;function _0x27b0bc(_0x45597d,_0xd621e2){const _0x2c4517=_0x4e3a72;let _0x7a938c=[];for(_0x405b09[_0x2c4517(0x497)]=0x0;;){let _0x476bd1=_0x405b09[_0x2c4517(0x4da)](_0x45597d);if(_0x476bd1==null)break;if(_0x12de88(_0x45597d,_0x476bd1[_0x2c4517(0x4a4)]))continue;let _0x5982ec=_0x405b09[_0x2c4517(0x497)]-0x1,_0x1e324=0x0;for(let _0x3a42c9=_0x5982ec;_0x3a42c9<_0x45597d[_0x2c4517(0x46c)];_0x3a42c9++)if(_0x45597d[_0x3a42c9]==='['&&_0x1e324++,_0x45597d[_0x3a42c9]===']'&&(_0x1e324--,_0x1e324===0x0)){_0x7a938c[_0x2c4517(0x348)]({'start':_0x476bd1[_0x2c4517(0x4a4)],'end':_0x3a42c9+0x1}),_0x405b09[_0x2c4517(0x497)]=_0x3a42c9+0x1;break;}}if(_0x7a938c[_0x2c4517(0x46c)]===0x0)return _0x45597d;let _0x3ae881='',_0x5bcd60=0x0;for(let _0x57b433 of _0x7a938c)_0x3ae881+=_0x45597d[_0x2c4517(0x39c)](_0x5bcd60,_0x57b433[_0x2c4517(0x408)]),_0x3ae881+=_0xd621e2(_0x45597d['slice'](_0x57b433[_0x2c4517(0x408)],_0x57b433[_0x2c4517(0x208)])),_0x5bcd60=_0x57b433[_0x2c4517(0x208)];return _0x3ae881+_0x45597d['slice'](_0x5bcd60);}function _0x12de88(_0x5cbc8b,_0x2f74bd){let _0x3ff978=!0x1;for(let _0x25660a=0x0;_0x25660a<_0x2f74bd;_0x25660a++)if(_0x5cbc8b[_0x25660a]==='\x22'){if(_0x3ff978&&_0x5cbc8b[_0x25660a+0x1]==='\x22'){_0x25660a++;continue;}_0x3ff978=!_0x3ff978;}return _0x3ff978;}function _0x20110e(_0x8d576c,_0x561f82,_0x13813a,_0x353f5e){const _0x1993a3=_0x4e3a72;let _0x11970d=_0x210f73(_0x8d576c[_0x1993a3(0x34e)],_0x561f82,_0x13813a,_0x353f5e);return{'table':_0x11970d,'field':_0x11970d?Object[_0x1993a3(0x462)](_0x11970d[_0x1993a3(0x3c4)])[_0x1993a3(0x4c7)](_0x2e2920=>_0x2e2920[_0x1993a3(0x492)]===_0x8d576c['fieldName']):void 0x0};}function _0x210f73(_0x59546b,_0x15a9ed,_0x1fa98c,_0x236ac4){const _0x4e87e2=_0x4e3a72;if(!_0x59546b)return _0x15a9ed;if(!_0x1fa98c){var _0x4da812;let _0x8951f7=_0x59546b[_0x4e87e2(0x494)]();return _0x8951f7===_0x15a9ed['id']['toLowerCase']()||_0x8951f7===_0x15a9ed[_0x4e87e2(0x492)]['toLowerCase']()||_0x8951f7===((_0x4da812=_0x15a9ed[_0x4e87e2(0x422)])==null?void 0x0:_0x4da812['toLowerCase']())?_0x15a9ed:void 0x0;}let _0xb499d4=_0x59546b[_0x4e87e2(0x494)](),_0x557286=_0x236ac4??(0x0,_0x2a4b8a[_0x4e87e2(0x1ed)])(_0x1fa98c),_0x239077=Object['values'](_0x1fa98c[_0x4e87e2(0x46b)])[_0x4e87e2(0x500)](_0x327950=>{const _0x564ba7=_0x4e87e2;var _0x550fb9;return _0x327950['id'][_0x564ba7(0x494)]()===_0xb499d4||_0x327950[_0x564ba7(0x492)]['toLowerCase']()===_0xb499d4||((_0x550fb9=_0x557286['get'](_0x327950['id']))==null?void 0x0:_0x550fb9[_0x564ba7(0x494)]())===_0xb499d4||_0x2cca02(_0x327950['id'])['toLowerCase']()===_0xb499d4;});return _0x239077[_0x4e87e2(0x46c)]===0x1?_0x239077[0x0]:void 0x0;}function _0x2cca02(_0x16c7f4){const _0x4025aa=_0x4e3a72;return _0x4025aa(0x292)+Array[_0x4025aa(0x221)](_0x16c7f4,_0x2438d5=>{const _0x34fdbb=_0x4025aa;var _0x39c44f;return/[A-Za-z0-9]/['test'](_0x2438d5)?_0x2438d5:'_x'+(((_0x39c44f=_0x2438d5[_0x34fdbb(0x1db)](0x0))==null?void 0x0:_0x39c44f[_0x34fdbb(0x4a3)](0x10))??'0')+'_';})['join']('');}let _0xf4a05c=new _0x2a5bc1();function _0x2d59c8(_0xc4743,_0x14f38b,_0x4230e3){const _0x2a5a08=_0x4e3a72;var _0xdef5f2;if(_0x4230e3[_0x2a5a08(0x3a3)]!==_0x2a4b8a[_0x2a5a08(0x1f7)]['Formula'])return!0x0;let _0x298095=String(((_0xdef5f2=_0x4230e3['config'])==null?void 0x0:_0xdef5f2[_0x2a5a08(0x484)])??''),_0xbe7c2e=_0xc4743[_0x2a5a08(0x566)]();return _0xf4a05c[_0x2a5a08(0x1b6)](_0x298095,_0xbe7c2e['tables'][_0x14f38b],{'snapshot':_0xbe7c2e})[_0x2a5a08(0x4fb)];}function _0x588c09(_0x5910fe,_0x28dd6b,_0x248ee8){const _0xb87171=_0x4e3a72;let _0x5a24aa=_0x5910fe['getSnapshot']()['tables'][_0x28dd6b];if(!_0x5a24aa)return!0x1;let {viewIds:_0x2bbc0e,fieldIds:_0x506c9f,recordIds:_0x13e05c}=_0x248ee8||{};if(_0x2bbc0e){for(let _0x1865af of _0x2bbc0e)if(!_0x5a24aa[_0xb87171(0x1b4)][_0x1865af])return!0x1;}if(_0x506c9f){for(let _0x93e855 of _0x506c9f)if(!_0x5a24aa['fields'][_0x93e855])return!0x1;}if(_0x13e05c){for(let _0x2c7480 of _0x13e05c)if(!_0x5a24aa[_0xb87171(0x54e)][_0x2c7480])return!0x1;}return!0x0;}function _0x25482d(_0x4cb59a,_0x27724a,_0xf4d913){const _0x47536c=_0x4e3a72;if(_0xf4d913['id']===_0x2a4b8a[_0x47536c(0x32a)]||_0xf4d913[_0x47536c(0x3a3)]===_0x2a4b8a[_0x47536c(0x1f7)][_0x47536c(0x1c0)]||(0x0,_0x2a4b8a['isBaseRecordIdFieldName'])(_0xf4d913[_0x47536c(0x492)])||!_0x2d59c8(_0x4cb59a,_0x27724a,_0xf4d913))return!0x1;let _0xe765b0=_0x4cb59a[_0x47536c(0x566)]();if(!_0x45d2b5(_0xe765b0,_0xf4d913)['valid'])return!0x1;if(_0xf4d913[_0x47536c(0x3a3)]!==_0x2a4b8a['BaseFieldType'][_0x47536c(0x37c)])return!0x0;let _0x5b0414=_0x116c46(_0xf4d913);if(!_0x5b0414)return!0x1;if(_0x5b0414['relationRole']===void 0x0)return!0x0;if(_0x5b0414['relationRole']!==_0x2a4b8a['BaseRecordLinkRole']['Parent']||_0x5b0414[_0x47536c(0x445)]!==_0x27724a||_0x5b0414['multiple']!==!0x1)return!0x1;let _0x5d3888=_0xe765b0['tables'][_0x27724a];return!Object[_0x47536c(0x462)](_0x5d3888[_0x47536c(0x3c4)])[_0x47536c(0x35a)](_0x4d39ff=>{const _0x4bc986=_0x47536c;var _0x4e401a;return _0x4d39ff['id']!==_0xf4d913['id']&&_0x4d39ff[_0x4bc986(0x3a3)]===_0x2a4b8a[_0x4bc986(0x1f7)][_0x4bc986(0x37c)]&&((_0x4e401a=_0x116c46(_0x4d39ff))==null?void 0x0:_0x4e401a[_0x4bc986(0x4bc)])===_0x2a4b8a[_0x4bc986(0x39d)]['Parent'];});}function _0x4ce062(_0x3ff93d,_0x486c6b,_0x4a3478,_0x26287a){const _0x2471d4=_0x4e3a72;var _0x422cda;let _0x5171e0=_0x3ff93d['getSnapshot'](),_0x4da31a=(_0x422cda=_0x5171e0[_0x2471d4(0x46b)][_0x486c6b])==null?void 0x0:_0x422cda[_0x2471d4(0x3c4)][_0x4a3478];return!_0x4da31a||_0x4da31a['id']===_0x2a4b8a[_0x2471d4(0x32a)]||_0x4da31a[_0x2471d4(0x3a3)]===_0x2a4b8a[_0x2471d4(0x1f7)][_0x2471d4(0x1c0)]?!0x1:_0x4da31a[_0x2471d4(0x3a3)]!==_0x2a4b8a['BaseFieldType'][_0x2471d4(0x37c)]||_0x150b96(_0x5171e0,_0x4da31a,_0x498c59(_0x26287a))[_0x2471d4(0x4fb)];}function _0x53cb15(_0x4d3f65,_0x5ec104,_0x3ff8e7){const _0x5c620d=_0x4e3a72;let _0x1ea438=_0x4d3f65[_0x5c620d(0x566)]()[_0x5c620d(0x46b)][_0x5ec104];return!_0x1ea438||!(0x0,_0x2a4b8a['isValidBaseRecordId'])(_0x3ff8e7['id'])||_0x1ea438[_0x5c620d(0x54e)][_0x3ff8e7['id']]||Object['prototype'][_0x5c620d(0x33b)][_0x5c620d(0x3ac)](_0x3ff8e7[_0x5c620d(0x462)],_0x2a4b8a[_0x5c620d(0x32a)])&&_0x3ff8e7[_0x5c620d(0x462)][_0x2a4b8a[_0x5c620d(0x32a)]]!==_0x3ff8e7['id']?!0x1:Object[_0x5c620d(0x2f1)](_0x3ff8e7[_0x5c620d(0x462)])['every'](([_0x3ec9c7,_0x399c66])=>_0x3ec9c7===_0x2a4b8a['BASE_RECORD_ID_FIELD_ID']||_0x4ce062(_0x4d3f65,_0x5ec104,_0x3ec9c7,_0x399c66));}function _0x4db5e2(_0x182d79){const _0x4d5147=_0x4e3a72;return{..._0x182d79,'values':{..._0x182d79['values'],[_0x2a4b8a[_0x4d5147(0x32a)]]:_0x182d79['id']}};}function _0x498c59(_0x3415d1){const _0x5884bf=_0x4e3a72;if(_0x3415d1&&typeof _0x3415d1==_0x5884bf(0x3e9)&&!Array[_0x5884bf(0x35c)](_0x3415d1)&&'v'in _0x3415d1){let _0x41cd00=_0x3415d1['v'];return _0x41cd00===void 0x0?null:_0x41cd00;}return _0x3415d1;}function _0x4aa2a8(_0x569787,_0x464c57,_0x4c1342,_0x311d5f){const _0x40d88b=_0x4e3a72;let _0x116f4d=_0x569787[_0x40d88b(0x566)]()['tables'][_0x464c57];if(!_0x116f4d)return null;let _0x5a41e7=_0x5efb78(_0x116f4d),_0x1bf04c=_0x5a41e7??_0x31787d(_0x116f4d),_0x4ec073=_0x4c1342['some'](_0x1745ac=>Object[_0x40d88b(0x586)][_0x40d88b(0x33b)][_0x40d88b(0x3ac)](_0x1745ac[_0x40d88b(0x462)],_0x1bf04c)),_0x4b5cc8=_0x5a41e7?_0x116f4d[_0x40d88b(0x3c4)][_0x5a41e7]:_0x4ec073?_0x2d9193(_0x116f4d,_0x1bf04c,_0x311d5f):null,_0x1140d8=[];for(let _0x1983be of _0x4c1342){let _0x54367a=_0x1983be[_0x40d88b(0x462)][_0x1bf04c],_0x9de41a=_0x4b5cc8!==null&&Object['prototype'][_0x40d88b(0x33b)][_0x40d88b(0x3ac)](_0x1983be[_0x40d88b(0x462)],_0x1bf04c),_0x429c0a=_0x498c59(_0x54367a),_0x5782e2=null;if(_0x9de41a){if(typeof _0x429c0a!='string'||!_0x48cc92(_0x429c0a,!0x1)[_0x40d88b(0x4fb)])return null;_0x5782e2=_0x429c0a;}let _0x512afe={};if(Object[_0x40d88b(0x2f1)](_0x1983be[_0x40d88b(0x462)])[_0x40d88b(0x3ad)](([_0x2647bc,_0x35cc01])=>{(!_0x9de41a||_0x2647bc!==_0x1bf04c)&&(_0x512afe[_0x2647bc]=_0x35cc01);}),!_0x53cb15(_0x569787,_0x464c57,{..._0x1983be,'values':_0x512afe}))return null;let _0x1ca23b={..._0x1983be[_0x40d88b(0x462)]};_0x5782e2!==null&&(_0x1ca23b[_0x1bf04c]=_0x5782e2),_0x1140d8['push'](_0x4db5e2({..._0x1983be,'values':_0x1ca23b}));}return{'records':_0x1140d8,'hierarchyFieldToMaterialize':_0x5a41e7?null:_0x4b5cc8,'hierarchyChanges':_0x15892b(_0x116f4d,_0x1140d8)};}let _0xdd678d={'id':_0x4e3a72(0x303),'type':_0x2a4b8a[_0x4e3a72(0x29a)][_0x4e3a72(0x1dd)],'handler'(_0x5df6a1,_0xb7b956){const _0x589381=_0x4e3a72;if(!_0xb7b956)return!0x1;let _0x49e244=_0x5df6a1[_0x589381(0x295)](_0x2a4b8a[_0x589381(0x302)]),{unitId:_0x47b607,tableId:_0x1bfdf8,records:_0x48344a}=_0xb7b956,_0x1acaf0=_0x49e244[_0x589381(0x460)](_0x47b607,_0x2a4b8a[_0x589381(0x22c)][_0x589381(0x2c2)]),_0x3cbebf=_0x48344a[_0x589381(0x2ef)](_0x47a7aa=>_0x47a7aa['id']);if(!_0x1acaf0||!_0x588c09(_0x1acaf0,_0x1bfdf8)||new Set(_0x3cbebf)[_0x589381(0x335)]!==_0x3cbebf[_0x589381(0x46c)])return!0x1;let _0x587df4=_0x5df6a1[_0x589381(0x295)](_0x2a4b8a['ICommandService']),_0x29a8c2=_0x5df6a1['get'](_0x2a4b8a[_0x589381(0x44a)]),_0x23c879=_0x5df6a1[_0x589381(0x295)](_0xe37605),_0x2d99c7=_0x1acaf0[_0x589381(0x566)](),_0x46c022=_0x4aa2a8(_0x1acaf0,_0x1bfdf8,_0x48344a);if(!_0x46c022)return!0x1;let {records:_0x5de9b3,hierarchyChanges:_0x4ff0b3,hierarchyFieldToMaterialize:_0x33fdd0}=_0x46c022,_0xbd66df=_0x33fdd0?_0x23c879[_0x589381(0x3df)](_0x1acaf0,_0x1bfdf8,_0x33fdd0,_0x2d99c7[_0x589381(0x46b)][_0x1bfdf8][_0x589381(0x541)][_0x589381(0x46c)]):null,_0x1f113f=_0x23c879[_0x589381(0x216)](_0x1acaf0,_0x1bfdf8,_0x5de9b3),_0x4b3547=_0xc44ded([..._0xbd66df?[_0xbd66df]:[],_0x1f113f]),_0x479a96=new _0x5c1670()['invertOp'](_0x2d99c7,_0x4b3547),_0x5f22cc={'unitId':_0x47b607,'op':_0x4b3547,'hierarchyChanges':_0x4ff0b3[_0x589381(0x46c)]?_0x4ff0b3:void 0x0,'source':_0x4ff0b3[_0x589381(0x46c)]?_0xb7b956[_0x589381(0x332)]??'ui':void 0x0},_0x589a4c={..._0x5f22cc,'source':_0x4ff0b3[_0x589381(0x46c)]?'redo':void 0x0},_0x4e0ba1={'unitId':_0x47b607,'op':_0x479a96,'hierarchyChanges':_0x4ff0b3[_0x589381(0x46c)]?_0x4ff0b3[_0x589381(0x2ef)](_0x3f5a11=>({..._0x3f5a11,'oldParentRecordId':_0x3f5a11[_0x589381(0x3fe)],'parentRecordId':null})):void 0x0,'source':_0x4ff0b3[_0x589381(0x46c)]?_0x589381(0x54f):void 0x0};return _0x587df4[_0x589381(0x25d)](_0x456ed5['id'],_0x5f22cc)?(_0x49e244['focusUnit'](_0x47b607),_0x29a8c2[_0x589381(0x3fa)]({'unitID':_0x47b607,'undoMutations':[{'id':_0x456ed5['id'],'params':_0x4e0ba1}],'redoMutations':[{'id':_0x456ed5['id'],'params':_0x589a4c}]}),!0x0):!0x1;}},_0x51e90d={'id':_0x4e3a72(0x2ff),'type':_0x2a4b8a[_0x4e3a72(0x29a)][_0x4e3a72(0x1dd)],'handler':(_0x16776e,_0x432592)=>{const _0x488d69=_0x4e3a72;if(!_0x432592)return!0x1;let _0x4ac403=_0x16776e['get'](_0x2a4b8a[_0x488d69(0x302)]),{unitId:_0x4bfbed,tableId:_0x3958a9,recordIds:_0x24c175}=_0x432592,_0x3fa8dd=_0x4ac403[_0x488d69(0x460)](_0x4bfbed,_0x2a4b8a['UniverInstanceType'][_0x488d69(0x2c2)]);if(!_0x3fa8dd||!_0x588c09(_0x3fa8dd,_0x3958a9,{'recordIds':_0x24c175}))return!0x1;let _0x1a2a0a=_0x16776e[_0x488d69(0x295)](_0x2a4b8a['ICommandService']),_0x4069dd=_0x16776e['get'](_0x2a4b8a['IUndoRedoService']),_0x2a8c10=_0x3fa8dd[_0x488d69(0x566)](),_0x533201=_0x59b653(_0x2a8c10[_0x488d69(0x46b)][_0x3958a9],_0x24c175),_0x2b595d=new _0x5a8274()[_0x488d69(0x35b)](_0x2a8c10,_0x3958a9,_0x24c175),_0x524a04=new _0x5c1670()['invertOp'](_0x2a8c10,_0x2b595d),_0x1a5feb={'unitId':_0x4bfbed,'op':_0x2b595d,'hierarchyChanges':_0x533201,'source':_0x432592[_0x488d69(0x332)]??'ui'},_0x2c3f48={..._0x1a5feb,'source':'redo'},_0x37d23f={'unitId':_0x4bfbed,'op':_0x524a04,'hierarchyChanges':_0x533201[_0x488d69(0x2ef)](_0x3e378f=>({..._0x3e378f,'oldParentRecordId':_0x3e378f[_0x488d69(0x3fe)],'parentRecordId':_0x3e378f[_0x488d69(0x234)]})),'source':_0x488d69(0x54f)};return _0x1a2a0a[_0x488d69(0x25d)](_0x456ed5['id'],_0x1a5feb)?(_0x4ac403[_0x488d69(0x576)](_0x4bfbed),_0x4069dd[_0x488d69(0x3fa)]({'unitID':_0x4bfbed,'undoMutations':[{'id':_0x456ed5['id'],'params':_0x37d23f}],'redoMutations':[{'id':_0x456ed5['id'],'params':_0x2c3f48}]}),!0x0):!0x1;}},_0x123383={'id':_0x4e3a72(0x2ab),'type':_0x2a4b8a[_0x4e3a72(0x29a)][_0x4e3a72(0x1dd)],'handler':(_0x47a46d,_0x3c8e91)=>{const _0xeadcc8=_0x4e3a72;if(!_0x3c8e91)return!0x1;let _0x5ef5fa=_0x47a46d['get'](_0x2a4b8a[_0xeadcc8(0x302)]),{unitId:_0x4f8adb,tableId:_0x4d5f0d,fieldId:_0x2541a5,input:_0x56699f}=_0x3c8e91,_0x40b3b1=_0x5ef5fa['getUnit'](_0x4f8adb,_0x2a4b8a[_0xeadcc8(0x22c)][_0xeadcc8(0x2c2)]);if(!_0x40b3b1||_0x2541a5===_0x2a4b8a[_0xeadcc8(0x32a)]||!_0x588c09(_0x40b3b1,_0x4d5f0d,{'fieldIds':[_0x2541a5]}))return!0x1;let _0x160ad2=_0x47a46d[_0xeadcc8(0x295)](_0x2a4b8a[_0xeadcc8(0x39b)]),_0x2bcfae=_0x47a46d[_0xeadcc8(0x295)](_0x2a4b8a[_0xeadcc8(0x44a)]),_0x3c1d08=_0x40b3b1[_0xeadcc8(0x566)]();if(!_0x25482d(_0x40b3b1,_0x4d5f0d,{..._0x3c1d08[_0xeadcc8(0x46b)][_0x4d5f0d]['fields'][_0x2541a5],..._0x56699f}))return!0x1;let _0x54e0b2=new _0x5a8274()[_0xeadcc8(0x3cd)](_0x3c1d08,_0x4d5f0d,_0x2541a5,_0x56699f),_0xeaeb28=new _0x5c1670()[_0xeadcc8(0x425)](_0x3c1d08,_0x54e0b2),_0x3dba86={'unitId':_0x4f8adb,'op':_0x54e0b2},_0x56da45={'unitId':_0x4f8adb,'op':_0xeaeb28};return _0x160ad2['syncExecuteCommand'](_0x456ed5['id'],_0x3dba86)?(_0x5ef5fa[_0xeadcc8(0x576)](_0x4f8adb),_0x2bcfae[_0xeadcc8(0x3fa)]({'unitID':_0x4f8adb,'undoMutations':[{'id':_0x456ed5['id'],'params':_0x56da45}],'redoMutations':[{'id':_0x456ed5['id'],'params':_0x3dba86}]}),!0x0):!0x1;}},_0xe8a90={'id':_0x4e3a72(0x3eb),'type':_0x2a4b8a[_0x4e3a72(0x29a)][_0x4e3a72(0x1dd)],'handler'(_0x471432,_0x19ad35){const _0x5099de=_0x4e3a72;var _0x26da00;if(!_0x19ad35)return!0x1;let {unitId:_0x401225,tableId:_0x15d964,parentRecordId:_0x42e266}=_0x19ad35,_0x5b4506=_0x471432['get'](_0x2a4b8a['IUniverInstanceService']),_0x17e2d3=_0x5b4506['getUnit'](_0x401225,_0x2a4b8a[_0x5099de(0x22c)]['UNIVER_BASE']);if(!_0x17e2d3||!_0x588c09(_0x17e2d3,_0x15d964,{'recordIds':[_0x42e266]}))throw new _0x3f0ef5('missingRecord');let _0x323926=_0x17e2d3['getSnapshot'](),_0x524598=_0x323926['tables'][_0x15d964],_0x27e8b1=_0x5efb78(_0x524598),_0x1fb567=_0x27e8b1??_0x19ad35['fieldId']??_0x31787d(_0x524598);if(_0x27e8b1&&_0x19ad35['fieldId']&&_0x19ad35['fieldId']!==_0x27e8b1||_0x524598[_0x5099de(0x3c4)][_0x1fb567]&&!_0x5c7c42(_0x524598,_0x1fb567))throw new _0x3f0ef5(_0x5099de(0x1b5));if((_0x10c7de(_0x524598,_0x1fb567)[_0x5099de(0x301)][_0x5099de(0x295)](_0x42e266)??0x0)+0x1>=0x5)throw new _0x3f0ef5(_0x5099de(0x524));if(!_0x53cb15(_0x17e2d3,_0x15d964,_0x19ad35[_0x5099de(0x4c4)]))return!0x1;let _0x5cdddc=_0x4db5e2({..._0x19ad35[_0x5099de(0x4c4)],'values':{..._0x19ad35['record']['values'],[_0x1fb567]:_0x4dad93([_0x42e266])}}),_0x2482bd=_0x471432[_0x5099de(0x295)](_0xe37605),_0x26be75=new _0x5a8274(),_0x2dc6a5=_0x524598[_0x5099de(0x3c4)][_0x1fb567],_0x45898=_0x2dc6a5?((_0x26da00=_0x116c46(_0x2dc6a5))==null?void 0x0:_0x26da00[_0x5099de(0x4bc)])===_0x2a4b8a[_0x5099de(0x39d)][_0x5099de(0x278)]?null:_0x26be75[_0x5099de(0x3dc)](_0x323926,_0x15d964,_0x1fb567,{'config':{..._0x2dc6a5['config'],'relationRole':_0x2a4b8a['BaseRecordLinkRole'][_0x5099de(0x278)]}}):_0x2482bd[_0x5099de(0x3df)](_0x17e2d3,_0x15d964,_0x2d9193(_0x524598,_0x1fb567,_0x19ad35[_0x5099de(0x2d5)]),_0x524598[_0x5099de(0x541)][_0x5099de(0x46c)]),_0x1cc626=_0x2482bd[_0x5099de(0x312)](_0x17e2d3,_0x15d964,_0x5cdddc),_0x2b8d1e=_0xc44ded([..._0x45898?[_0x45898]:[],_0x1cc626]),_0x2d861c=new _0x5c1670()[_0x5099de(0x425)](_0x323926,_0x2b8d1e),_0x5c3879={'tableId':_0x15d964,'fieldId':_0x1fb567,'recordId':_0x5cdddc['id'],'oldParentRecordId':null,'parentRecordId':_0x42e266},_0x1167b3={'unitId':_0x401225,'op':_0x2b8d1e,'trigger':_0xe8a90['id'],'hierarchyChanges':[_0x5c3879],'source':_0x19ad35[_0x5099de(0x332)]??'ui'},_0x3755a9={..._0x1167b3,'source':_0x5099de(0x1be)},_0x336e9a={'unitId':_0x401225,'op':_0x2d861c,'trigger':_0xe8a90['id'],'hierarchyChanges':[{..._0x5c3879,'oldParentRecordId':_0x42e266,'parentRecordId':null}],'source':_0x5099de(0x54f)};return _0x471432[_0x5099de(0x295)](_0x2a4b8a[_0x5099de(0x39b)])[_0x5099de(0x25d)](_0x456ed5['id'],_0x1167b3)?(_0x5b4506[_0x5099de(0x576)](_0x401225),_0x471432['get'](_0x2a4b8a[_0x5099de(0x44a)])['pushUndoRedo']({'unitID':_0x401225,'undoMutations':[{'id':_0x456ed5['id'],'params':_0x336e9a}],'redoMutations':[{'id':_0x456ed5['id'],'params':_0x3755a9}]}),!0x0):!0x1;}},_0x2554c4={'id':_0x4e3a72(0x426),'type':_0x2a4b8a[_0x4e3a72(0x29a)][_0x4e3a72(0x1dd)],'handler'(_0x1f3442,_0x57e4db){const _0x1be244=_0x4e3a72;if(!_0x57e4db)return!0x1;let _0x2107b8=_0x1f3442[_0x1be244(0x295)](_0x2a4b8a['IUniverInstanceService']),{unitId:_0x4d57f3,tableId:_0x4f83e5,field:_0x399313,index:_0x7f5e18,viewIndexes:_0x51bf2d}=_0x57e4db,_0x6956af=_0x2107b8[_0x1be244(0x460)](_0x4d57f3,_0x2a4b8a['UniverInstanceType']['UNIVER_BASE']);if(!_0x6956af||!_0x588c09(_0x6956af,_0x4f83e5)||_0x6956af['getSnapshot']()['tables'][_0x4f83e5][_0x1be244(0x3c4)][_0x399313['id']]||_0x7f5e18===0x0||!_0x25482d(_0x6956af,_0x4f83e5,_0x399313))return!0x1;let _0x50c845=_0x1f3442[_0x1be244(0x295)](_0x2a4b8a[_0x1be244(0x39b)]),_0x4825ef=_0x1f3442[_0x1be244(0x295)](_0x2a4b8a[_0x1be244(0x44a)]),_0x47e205=_0x1f3442['get'](_0xe37605)[_0x1be244(0x3df)](_0x6956af,_0x4f83e5,_0x399313,_0x7f5e18,_0x51bf2d),_0x42eaeb=new _0x5c1670()['invertOp'](_0x6956af['getSnapshot'](),_0x47e205),_0x292fbb={'unitId':_0x4d57f3,'op':_0x47e205},_0x15fe88={'unitId':_0x4d57f3,'op':_0x42eaeb};return _0x50c845[_0x1be244(0x25d)](_0x456ed5['id'],_0x292fbb)?(_0x2107b8[_0x1be244(0x576)](_0x4d57f3),_0x4825ef[_0x1be244(0x3fa)]({'unitID':_0x4d57f3,'undoMutations':[{'id':_0x456ed5['id'],'params':_0x15fe88}],'redoMutations':[{'id':_0x456ed5['id'],'params':_0x292fbb}]}),!0x0):!0x1;}},_0x5e8b5d={'id':_0x4e3a72(0x570),'type':_0x2a4b8a[_0x4e3a72(0x29a)][_0x4e3a72(0x1dd)],'handler'(_0x181bf8,_0x541932){const _0x254d89=_0x4e3a72;if(!_0x541932)return!0x1;let _0xee0a28=_0x181bf8['get'](_0x2a4b8a[_0x254d89(0x302)]),{unitId:_0x34e790,tableId:_0x5cc06b,record:_0x5337e9}=_0x541932,_0x244a72=_0xee0a28[_0x254d89(0x460)](_0x34e790,_0x2a4b8a['UniverInstanceType']['UNIVER_BASE']);if(!_0x244a72||!_0x588c09(_0x244a72,_0x5cc06b))return!0x1;let _0x5e8a72=_0x181bf8[_0x254d89(0x295)](_0x2a4b8a[_0x254d89(0x39b)]),_0x3341cc=_0x181bf8[_0x254d89(0x295)](_0x2a4b8a[_0x254d89(0x44a)]),_0x3e75c8=_0x181bf8[_0x254d89(0x295)](_0xe37605),_0x22b32f=_0x244a72[_0x254d89(0x566)](),_0x4078c5=_0x4aa2a8(_0x244a72,_0x5cc06b,[_0x5337e9]);if(!_0x4078c5)return!0x1;let [_0x2ae45]=_0x4078c5[_0x254d89(0x54e)],{hierarchyChanges:_0x11f0c9,hierarchyFieldToMaterialize:_0x4f11dc}=_0x4078c5,_0x347958=_0x4f11dc?_0x3e75c8[_0x254d89(0x3df)](_0x244a72,_0x5cc06b,_0x4f11dc,_0x22b32f[_0x254d89(0x46b)][_0x5cc06b][_0x254d89(0x541)][_0x254d89(0x46c)]):null,_0x14a5fb=_0x3e75c8[_0x254d89(0x312)](_0x244a72,_0x5cc06b,_0x2ae45),_0x5976b2=_0xc44ded([..._0x347958?[_0x347958]:[],_0x14a5fb]),_0x918e15=new _0x5c1670()[_0x254d89(0x425)](_0x22b32f,_0x5976b2),_0x30194e={'unitId':_0x34e790,'op':_0x5976b2,'hierarchyChanges':_0x11f0c9['length']?_0x11f0c9:void 0x0,'source':_0x11f0c9[_0x254d89(0x46c)]?_0x541932[_0x254d89(0x332)]??'ui':void 0x0},_0x377f56={..._0x30194e,'source':_0x11f0c9[_0x254d89(0x46c)]?_0x254d89(0x1be):void 0x0},_0x482266={'unitId':_0x34e790,'op':_0x918e15,'hierarchyChanges':_0x11f0c9['length']?_0x11f0c9[_0x254d89(0x2ef)](_0x499759=>({..._0x499759,'oldParentRecordId':_0x499759['parentRecordId'],'parentRecordId':null})):void 0x0,'source':_0x11f0c9[_0x254d89(0x46c)]?_0x254d89(0x54f):void 0x0};return _0x5e8a72['syncExecuteCommand'](_0x456ed5['id'],_0x30194e)?(_0xee0a28['focusUnit'](_0x34e790),_0x3341cc[_0x254d89(0x3fa)]({'unitID':_0x34e790,'undoMutations':[{'id':_0x456ed5['id'],'params':_0x482266}],'redoMutations':[{'id':_0x456ed5['id'],'params':_0x377f56}]}),!0x0):!0x1;}};function _0x615c2f(_0x12704a,_0x12944a,_0x4b72ad){const _0x433be3=_0x4e3a72;if(!_0x12944a[_0x433be3(0x571)]())return{'valid':!0x1,'reason':_0x433be3(0x2a9),'error':'required'};if(_0x12944a[_0x433be3(0x46c)]>0x1f)return{'valid':!0x1,'reason':_0x433be3(0x4fa),'error':_0x433be3(0x366)};if(_0x12944a[_0x433be3(0x420)]('\x27')||_0x12944a[_0x433be3(0x3a7)]('\x27'))return{'valid':!0x1,'reason':_0x433be3(0x49d),'error':_0x433be3(0x3c3)};if(/[:\\/?*\[\]]/[_0x433be3(0x432)](_0x12944a))return{'valid':!0x1,'reason':_0x433be3(0x1cf),'error':'invalid-characters'};if(!(0x0,_0x2a4b8a['nameCharacterCheck'])(_0x12944a))return{'valid':!0x1,'reason':'Choose\x20another\x20name.','error':_0x433be3(0x25f)};let _0xec17da=_0x12944a[_0x433be3(0x494)]();return Object['values'](_0x12704a[_0x433be3(0x46b)])[_0x433be3(0x35a)](_0x595203=>_0x595203['id']!==_0x4b72ad&&_0x595203[_0x433be3(0x492)][_0x433be3(0x494)]()===_0xec17da)?{'valid':!0x1,'reason':_0x433be3(0x1f6),'error':'duplicate'}:{'valid':!0x0};}function _0xb37f53(_0x42559a,_0x147371){const _0x27c492=_0x4e3a72;let _0x59d7da=_0x147371['replace'](/[:\\/?*\[\]]/g,'\x20')[_0x27c492(0x2f6)](/^'+|'+$/g,'')[_0x27c492(0x571)]()||_0x27c492(0x2a6),_0x5ca615=0x1;for(;;){let _0x48ded3=_0x5ca615===0x1?'':'\x20'+_0x5ca615,_0x3463d2=''+_0x59d7da[_0x27c492(0x39c)](0x0,0x1f-_0x48ded3[_0x27c492(0x46c)])+_0x48ded3;if(_0x615c2f(_0x42559a,_0x3463d2)[_0x27c492(0x4fb)])return _0x3463d2;_0x5ca615++;}}let _0x3f80b7={'id':_0x4e3a72(0x50e),'type':_0x2a4b8a[_0x4e3a72(0x29a)]['COMMAND'],'handler':(_0x5c9687,_0x1da9bd)=>{const _0x44cf63=_0x4e3a72;if(!_0x1da9bd)return!0x1;let _0x543063=_0x5c9687[_0x44cf63(0x295)](_0x2a4b8a['IUniverInstanceService']),{unitId:_0x45ec10,table:_0x42bf3e,index:_0x33169d}=_0x1da9bd,_0x1bb9c0=_0x543063[_0x44cf63(0x460)](_0x45ec10,_0x2a4b8a[_0x44cf63(0x22c)]['UNIVER_BASE']);if(!_0x1bb9c0||_0x1bb9c0[_0x44cf63(0x566)]()[_0x44cf63(0x46b)][_0x42bf3e['id']]||!_0x615c2f(_0x1bb9c0[_0x44cf63(0x566)](),_0x42bf3e[_0x44cf63(0x492)])[_0x44cf63(0x4fb)])return!0x1;try{(0x0,_0x2a4b8a['assertBaseTableRecordIdentity'])(_0x42bf3e);}catch{return!0x1;}let _0x576749=_0x5c9687[_0x44cf63(0x295)](_0x2a4b8a['ICommandService']),_0x47fc64=_0x5c9687[_0x44cf63(0x295)](_0x2a4b8a[_0x44cf63(0x44a)]),_0x1806a0=_0x1bb9c0[_0x44cf63(0x566)](),_0x1f3c16=new _0x5a8274()[_0x44cf63(0x1c3)](_0x1806a0,_0x42bf3e,_0x33169d),_0x4deb0f=new _0x5c1670()[_0x44cf63(0x425)](_0x1806a0,_0x1f3c16),_0x165c2c={'unitId':_0x45ec10,'op':_0x1f3c16},_0xb321da={'unitId':_0x45ec10,'op':_0x4deb0f};return _0x576749[_0x44cf63(0x25d)](_0x456ed5['id'],_0x165c2c)?(_0x543063['focusUnit'](_0x45ec10),_0x47fc64['pushUndoRedo']({'unitID':_0x45ec10,'undoMutations':[{'id':_0x456ed5['id'],'params':_0xb321da}],'redoMutations':[{'id':_0x456ed5['id'],'params':_0x165c2c}]}),!0x0):!0x1;}};function _0x19760c(_0x495c1b,_0x1b99ae,_0x48dbde=[]){const _0x4b055a=_0x4e3a72;let _0x235ee4=new Set([...Object[_0x4b055a(0x462)](_0x495c1b[_0x4b055a(0x3c4)])[_0x4b055a(0x500)](_0x56aa6c=>_0x56aa6c)[_0x4b055a(0x2ef)](_0x51d5c1=>_0x51d5c1[_0x4b055a(0x492)]),..._0x48dbde[_0x4b055a(0x2ef)](_0x2304a6=>_0x2304a6[_0x4b055a(0x492)])]);if(!_0x235ee4[_0x4b055a(0x537)](_0x1b99ae))return _0x1b99ae;let _0x31f4af=0x2;for(;_0x235ee4[_0x4b055a(0x537)](_0x1b99ae+'\x20'+_0x31f4af);)_0x31f4af++;return _0x1b99ae+'\x20'+_0x31f4af;}function _0x49af94(_0x2e8047,_0x509da7){const _0x2f2964=_0x4e3a72;if(!_0x2e8047||!_0x509da7[_0x2f2964(0x46c)])return;let _0x3d4e74=[..._0x2e8047];return _0x509da7['forEach'](_0x1abc77=>{_0x3d4e74['includes'](_0x1abc77)||_0x3d4e74['push'](_0x1abc77);}),_0x3d4e74;}let _0x38b93a={'options':[{'id':_0x4e3a72(0x406),'name':_0x4e3a72(0x552),'color':_0x4e3a72(0x4d7)},{'id':_0x4e3a72(0x4a7),'name':_0x4e3a72(0x58c),'color':_0x4e3a72(0x214)},{'id':_0x4e3a72(0x481),'name':_0x4e3a72(0x4de),'color':_0x4e3a72(0x1c2)}]},_0x3c9349={'locale':'en-US','pattern':_0x4e3a72(0x2f0),'includeTime':!0x1,'hourCycle':_0x4e3a72(0x409),'defaultMode':_0x4e3a72(0x201)};function _0x21b1bf(_0x5a119b,_0x23d5cd,_0xbe5985,_0xb4842c){const _0x39ad07=_0x4e3a72;var _0x46811d;let _0x578e80=new _0x5a8274(),_0x2c501c=_0x5a119b[_0x39ad07(0x46b)][_0x23d5cd],_0x349fe7=_0x2c501c?{..._0xbe5985,'fieldOrder':[_0x2a4b8a[_0x39ad07(0x32a)],...(_0xbe5985[_0x39ad07(0x541)]??_0x2c501c['fieldOrder'])['filter'](_0x210d67=>_0x210d67!==_0x2a4b8a[_0x39ad07(0x32a)])],'fieldSettings':{..._0xbe5985[_0x39ad07(0x1e2)],[_0x2a4b8a[_0x39ad07(0x32a)]]:{...(_0x46811d=_0xbe5985[_0x39ad07(0x1e2)])==null?void 0x0:_0x46811d[_0x2a4b8a['BASE_RECORD_ID_FIELD_ID']],'hidden':!0x0}}}:_0xbe5985;if(_0x2c501c&&_0x349fe7['type']===_0x39ad07(0x525)){let _0x20adb4=_0xaf99c9(_0x2c501c,_0x349fe7),_0x217879=_0x20adb4[_0x39ad07(0x3ef)]?{..._0x349fe7,'config':_0x20adb4['config'],'fieldOrder':_0x20adb4[_0x39ad07(0x541)]??_0x349fe7[_0x39ad07(0x541)]}:_0x349fe7;return _0xc44ded([..._0x20adb4[_0x39ad07(0x3c4)][_0x39ad07(0x2ef)](_0x45fd2c=>_0x578e80[_0x39ad07(0x390)](_0x5a119b,_0x23d5cd,{'field':_0x45fd2c})),_0x578e80[_0x39ad07(0x355)](_0x5a119b,_0x23d5cd,_0x217879,_0xb4842c)]);}if(!_0x2c501c||_0x349fe7[_0x39ad07(0x3a3)]!=='calendar'&&_0x349fe7['type']!==_0x39ad07(0x454))return _0x578e80[_0x39ad07(0x355)](_0x5a119b,_0x23d5cd,_0x349fe7,_0xb4842c);let _0x547654=_0x387b55(_0x2c501c,_0x349fe7),_0x18e234=_0x547654['changed']?{..._0x349fe7,'config':_0x547654[_0x39ad07(0x3e8)],'fieldOrder':_0x547654['fieldOrder']??_0x349fe7['fieldOrder']}:_0x349fe7;return _0x349fe7[_0x39ad07(0x3a3)]===_0x39ad07(0x454)&&_0x48569b(_0x349fe7)&&(_0x18e234=_0x51495c(_0x2c501c,_0x18e234,_0x547654[_0x39ad07(0x3c4)])),_0xc44ded([..._0x547654[_0x39ad07(0x3c4)][_0x39ad07(0x2ef)](_0x49f45f=>_0x578e80[_0x39ad07(0x390)](_0x5a119b,_0x23d5cd,{'field':_0x49f45f})),_0x578e80[_0x39ad07(0x355)](_0x5a119b,_0x23d5cd,_0x18e234,_0xb4842c)]);}function _0x387b55(_0xeb5b92,_0x59e87e,_0x20b0c6=!0x1){const _0x273915=_0x4e3a72;var _0x5c4256,_0x1cf358;let _0x586a69=_0xeb5b92[_0x273915(0x541)][_0x273915(0x500)](_0x279104=>_0x1c4ce8(_0xeb5b92,_0x279104)),_0x39ddf1=[],_0x1e5610={..._0x59e87e[_0x273915(0x3e8)]??{}},_0x2987c5=typeof _0x1e5610[_0x273915(0x455)]==_0x273915(0x4ad)&&_0x1c4ce8(_0xeb5b92,_0x1e5610['startDateFieldId'])?_0x1e5610[_0x273915(0x455)]:_0x586a69[0x0],_0x26a8ea=typeof _0x1e5610[_0x273915(0x529)]==_0x273915(0x4ad)&&_0x1c4ce8(_0xeb5b92,_0x1e5610[_0x273915(0x529)])&&_0x1e5610[_0x273915(0x529)]!==_0x2987c5?_0x1e5610[_0x273915(0x529)]:_0x586a69[_0x273915(0x4c7)](_0x3e33fc=>_0x3e33fc!==_0x2987c5);if(!_0x2987c5){let _0x871b4d=_0x44ac31(_0xeb5b92,_0x39ddf1,_0x59e87e[_0x273915(0x3a3)]===_0x273915(0x454)?_0x273915(0x3c0):_0x273915(0x34c));_0x39ddf1[_0x273915(0x348)](_0x871b4d),_0x2987c5=_0x871b4d['id'];}if((_0x59e87e['type']==='gantt'||_0x20b0c6)&&!_0x26a8ea){let _0xd71584=_0x44ac31(_0xeb5b92,_0x39ddf1,_0x273915(0x4ae));_0x39ddf1[_0x273915(0x348)](_0xd71584),_0x26a8ea=_0xd71584['id'];}_0x59e87e['type']===_0x273915(0x207)&&!_0x26a8ea&&delete _0x1e5610[_0x273915(0x529)],_0x1e5610['startDateFieldId']=_0x2987c5,_0x59e87e[_0x273915(0x3a3)]===_0x273915(0x207)&&_0x26a8ea&&(_0x1e5610[_0x273915(0x529)]=_0x26a8ea),_0x59e87e['type']===_0x273915(0x454)&&(_0x1e5610[_0x273915(0x529)]=_0x26a8ea??_0x2987c5);let _0x588200=_0x49af94(_0x59e87e[_0x273915(0x541)],_0x39ddf1[_0x273915(0x2ef)](_0x5897ee=>_0x5897ee['id']));return{'changed':_0x39ddf1[_0x273915(0x46c)]>0x0||_0x1e5610['startDateFieldId']!==((_0x5c4256=_0x59e87e[_0x273915(0x3e8)])==null?void 0x0:_0x5c4256[_0x273915(0x455)])||_0x1e5610[_0x273915(0x529)]!==((_0x1cf358=_0x59e87e[_0x273915(0x3e8)])==null?void 0x0:_0x1cf358[_0x273915(0x529)])||!!(_0x588200&&!_0x2a4b8a[_0x273915(0x265)][_0x273915(0x528)](_0x588200,_0x59e87e[_0x273915(0x541)]??[])),'fields':_0x39ddf1,'config':_0x1e5610,'fieldOrder':_0x588200};}function _0xaf99c9(_0x2c3e71,_0x41d364){const _0x2bf7b3=_0x4e3a72;var _0x279fc4;let _0x21a9cc=[],_0x502f08={..._0x41d364[_0x2bf7b3(0x3e8)]??{}},_0x2bd43e=typeof _0x502f08[_0x2bf7b3(0x596)]==_0x2bf7b3(0x4ad)&&_0x97da62(_0x2c3e71,_0x502f08[_0x2bf7b3(0x596)])?_0x502f08['groupFieldId']:_0x2c3e71[_0x2bf7b3(0x541)][_0x2bf7b3(0x4c7)](_0x20d5e1=>_0x97da62(_0x2c3e71,_0x20d5e1));if(!_0x2bd43e){let _0x91ca94=_0x4ab914(_0x2c3e71,_0x21a9cc);_0x21a9cc[_0x2bf7b3(0x348)](_0x91ca94),_0x2bd43e=_0x91ca94['id'];}_0x502f08[_0x2bf7b3(0x596)]=_0x2bd43e;let _0x485f25=_0x49af94(_0x41d364[_0x2bf7b3(0x541)],_0x21a9cc['map'](_0x3cb4c3=>_0x3cb4c3['id']));return{'changed':_0x21a9cc[_0x2bf7b3(0x46c)]>0x0||_0x502f08[_0x2bf7b3(0x596)]!==((_0x279fc4=_0x41d364['config'])==null?void 0x0:_0x279fc4[_0x2bf7b3(0x596)])||!!(_0x485f25&&!_0x2a4b8a[_0x2bf7b3(0x265)][_0x2bf7b3(0x528)](_0x485f25,_0x41d364['fieldOrder']??[])),'fields':_0x21a9cc,'config':_0x502f08,'fieldOrder':_0x485f25};}function _0x97da62(_0x8bf5a0,_0x57fefe){const _0x2b3fae=_0x4e3a72;let _0x1ea658=_0x57fefe?_0x8bf5a0[_0x2b3fae(0x3c4)][_0x57fefe]:null;return _0x1ea658?[_0x2a4b8a['BaseFieldType'][_0x2b3fae(0x22f)],_0x2a4b8a[_0x2b3fae(0x1f7)][_0x2b3fae(0x336)],_0x2a4b8a[_0x2b3fae(0x1f7)][_0x2b3fae(0x2ac)],_0x2a4b8a[_0x2b3fae(0x1f7)][_0x2b3fae(0x340)],_0x2a4b8a[_0x2b3fae(0x1f7)][_0x2b3fae(0x26e)],_0x2a4b8a[_0x2b3fae(0x1f7)][_0x2b3fae(0x50b)]]['includes'](_0x1ea658[_0x2b3fae(0x3a3)]):!0x1;}function _0x4ab914(_0x22c323,_0x339c3b){const _0x54c511=_0x4e3a72;return{'id':_0x54c511(0x1e9)+(0x0,_0x2a4b8a[_0x54c511(0x437)])(0x8),'name':_0x19760c(_0x22c323,'Status',_0x339c3b),'type':_0x2a4b8a[_0x54c511(0x1f7)][_0x54c511(0x22f)],'config':_0x2a4b8a[_0x54c511(0x265)]['deepClone'](_0x38b93a)};}function _0x48569b(_0x60c2b5){const _0x450427=_0x4e3a72;return Object[_0x450427(0x458)](_0x60c2b5[_0x450427(0x3e8)]??{})[_0x450427(0x46c)]===0x0&&Object[_0x450427(0x458)](_0x60c2b5[_0x450427(0x1e2)]??{})[_0x450427(0x46c)]===0x0;}function _0x51495c(_0x26793d,_0x45d084,_0xdf7adb){const _0x22a152=_0x4e3a72;let _0x368182={..._0x45d084[_0x22a152(0x3e8)]??{}},_0x6b050e=_0xdf7adb['map'](_0x2422cd=>_0x2422cd['id']),_0x327ec8=[..._0x26793d[_0x22a152(0x541)],..._0x6b050e],_0xff4ebb=typeof _0x368182[_0x22a152(0x50c)]==_0x22a152(0x4ad)&&_0x3108a6(_0x26793d,_0xdf7adb,_0x368182[_0x22a152(0x50c)])?_0x368182['titleFieldId']:_0x26793d[_0x22a152(0x21a)],_0x41cf2b=typeof _0x368182[_0x22a152(0x455)]=='string'?_0x368182['startDateFieldId']:'',_0x510913=typeof _0x368182[_0x22a152(0x529)]==_0x22a152(0x4ad)?_0x368182[_0x22a152(0x529)]:_0x41cf2b,_0x516fbc=new Set([_0xff4ebb,_0x41cf2b,_0x510913][_0x22a152(0x500)](_0x2534ea=>_0x2534ea&&_0x3108a6(_0x26793d,_0xdf7adb,_0x2534ea))),_0x508a08=Object['fromEntries'](_0x327ec8[_0x22a152(0x467)](_0x3180ab=>_0x516fbc[_0x22a152(0x537)](_0x3180ab)||!_0x3108a6(_0x26793d,_0xdf7adb,_0x3180ab)?[]:[[_0x3180ab,{'hidden':!0x0}]]));return{..._0x45d084,'config':{..._0x368182,'titleFieldId':_0xff4ebb},'fieldSettings':_0x508a08};}function _0x3108a6(_0x5af18c,_0x33091c,_0x374a4c){const _0x107670=_0x4e3a72;return!!(_0x5af18c['fields'][_0x374a4c]??_0x33091c[_0x107670(0x4c7)](_0x43c024=>_0x43c024['id']===_0x374a4c))&&!0x0;}function _0x1c4ce8(_0x113dbc,_0xb1abe5){const _0x3380b3=_0x4e3a72;let _0x226eec=_0xb1abe5?_0x113dbc['fields'][_0xb1abe5]:null;return!!_0x226eec&&_0x226eec[_0x3380b3(0x3a3)]===_0x2a4b8a['BaseFieldType'][_0x3380b3(0x34c)]&&_0x226eec[_0x3380b3(0x403)]!==!0x0&&_0x226eec[_0x3380b3(0x4d3)]!==!0x0;}function _0x44ac31(_0x2bf5be,_0x253332,_0x154ecf){const _0x1d59ff=_0x4e3a72;let _0x2e53a0=new Set([...Object[_0x1d59ff(0x458)](_0x2bf5be[_0x1d59ff(0x3c4)]),..._0x253332['map'](_0x42e984=>_0x42e984['id'])]),_0x119bee=_0x1d59ff(0x1e9)+(0x0,_0x2a4b8a['generateRandomId'])(0x8);for(;_0x2e53a0[_0x1d59ff(0x537)](_0x119bee);)_0x119bee=_0x1d59ff(0x1e9)+(0x0,_0x2a4b8a[_0x1d59ff(0x437)])(0x8);return{'id':_0x119bee,'name':_0x19760c(_0x2bf5be,_0x154ecf,_0x253332),'type':_0x2a4b8a[_0x1d59ff(0x1f7)][_0x1d59ff(0x34c)],'config':{..._0x3c9349}};}let _0x3eabf3={'id':_0x4e3a72(0x1c1),'type':_0x2a4b8a[_0x4e3a72(0x29a)][_0x4e3a72(0x1dd)],'handler':(_0x1fd51b,_0x3b0769)=>{const _0x35dbeb=_0x4e3a72;if(!_0x3b0769)return!0x1;let _0x493227=_0x1fd51b['get'](_0x2a4b8a['IUniverInstanceService']),{unitId:_0x4b3710,tableId:_0x3cb5f8,view:_0x2ed2c0,index:_0x528312}=_0x3b0769,_0x45fdeb=_0x493227['getUnit'](_0x4b3710,_0x2a4b8a['UniverInstanceType'][_0x35dbeb(0x2c2)]);if(!_0x45fdeb||!_0x588c09(_0x45fdeb,_0x3cb5f8)||_0x45fdeb[_0x35dbeb(0x566)]()['tables'][_0x3cb5f8][_0x35dbeb(0x1b4)][_0x2ed2c0['id']])return!0x1;let _0x1c7a3b=_0x1fd51b[_0x35dbeb(0x295)](_0x2a4b8a[_0x35dbeb(0x39b)]),_0x2bb1ce=_0x1fd51b[_0x35dbeb(0x295)](_0x2a4b8a[_0x35dbeb(0x44a)]),_0x427546=_0x45fdeb[_0x35dbeb(0x566)](),_0x1cbf23=_0x21b1bf(_0x427546,_0x3cb5f8,_0x2ed2c0,_0x528312),_0x10a96c=new _0x5c1670()[_0x35dbeb(0x425)](_0x427546,_0x1cbf23),_0x4d8135={'unitId':_0x4b3710,'op':_0x1cbf23},_0xed6eb3={'unitId':_0x4b3710,'op':_0x10a96c};return _0x1c7a3b[_0x35dbeb(0x25d)](_0x456ed5['id'],_0x4d8135)?(_0x493227['focusUnit'](_0x4b3710),_0x2bb1ce[_0x35dbeb(0x3fa)]({'unitID':_0x4b3710,'undoMutations':[{'id':_0x456ed5['id'],'params':_0xed6eb3}],'redoMutations':[{'id':_0x456ed5['id'],'params':_0x4d8135}]}),!0x0):!0x1;}},_0x5dfdc7={'id':'base.command.delete-base-field','type':_0x2a4b8a[_0x4e3a72(0x29a)][_0x4e3a72(0x1dd)],'handler'(_0x462714,_0x50cbe7){const _0x1dfcba=_0x4e3a72;if(!_0x50cbe7)return!0x1;let _0x19cc52=_0x462714[_0x1dfcba(0x295)](_0x2a4b8a[_0x1dfcba(0x302)]),{unitId:_0x1cd936,tableId:_0x5b5610,fieldId:_0xb0b1b8}=_0x50cbe7,_0x3cae39=_0x19cc52[_0x1dfcba(0x460)](_0x1cd936,_0x2a4b8a[_0x1dfcba(0x22c)][_0x1dfcba(0x2c2)]);if(!_0x3cae39)return!0x1;let _0x20eedc=_0x3cae39[_0x1dfcba(0x566)](),_0x252cc5=_0x20eedc[_0x1dfcba(0x46b)][_0x5b5610];if(!_0x588c09(_0x3cae39,_0x5b5610,{'fieldIds':[_0xb0b1b8]})||_0x252cc5[_0x1dfcba(0x21a)]===_0xb0b1b8||_0xb0b1b8===_0x2a4b8a[_0x1dfcba(0x32a)])return!0x1;let _0x2e61c5=_0x462714[_0x1dfcba(0x295)](_0x2a4b8a['ICommandService']),_0x45daca=_0x462714['get'](_0x2a4b8a[_0x1dfcba(0x44a)]),_0x481a01=new _0x5a8274()[_0x1dfcba(0x45f)](_0x20eedc,_0x5b5610,_0xb0b1b8),_0x2c0ce2=new _0x5c1670()[_0x1dfcba(0x425)](_0x20eedc,_0x481a01),_0x5350b4={'unitId':_0x1cd936,'op':_0x481a01},_0x434f82={'unitId':_0x1cd936,'op':_0x2c0ce2};return _0x2e61c5[_0x1dfcba(0x25d)](_0x456ed5['id'],_0x5350b4)?(_0x19cc52[_0x1dfcba(0x576)](_0x1cd936),_0x45daca[_0x1dfcba(0x3fa)]({'unitID':_0x1cd936,'undoMutations':[{'id':_0x456ed5['id'],'params':_0x434f82}],'redoMutations':[{'id':_0x456ed5['id'],'params':_0x5350b4}]}),!0x0):!0x1;}},_0x2142c9={'id':_0x4e3a72(0x259),'type':_0x2a4b8a['CommandType'][_0x4e3a72(0x1dd)],'handler':(_0x5f0c01,_0xbdd130)=>{const _0x476083=_0x4e3a72;if(!_0xbdd130)return!0x1;let _0x113c83=_0x5f0c01[_0x476083(0x295)](_0x2a4b8a[_0x476083(0x302)]),{unitId:_0x1356ad,tableId:_0x23e45e,recordId:_0x4dcbbe}=_0xbdd130,_0x24b2ce=_0x113c83[_0x476083(0x460)](_0x1356ad,_0x2a4b8a[_0x476083(0x22c)][_0x476083(0x2c2)]);if(!_0x24b2ce||!_0x588c09(_0x24b2ce,_0x23e45e,{'recordIds':[_0x4dcbbe]}))return!0x1;let _0x2e7215=_0x5f0c01[_0x476083(0x295)](_0x2a4b8a['ICommandService']),_0x2f0173=_0x5f0c01[_0x476083(0x295)](_0x2a4b8a[_0x476083(0x44a)]),_0x5dde0f=_0x24b2ce[_0x476083(0x566)](),_0x514885=_0x59b653(_0x5dde0f[_0x476083(0x46b)][_0x23e45e],[_0x4dcbbe]),_0x373ed5=new _0x5a8274()[_0x476083(0x514)](_0x5dde0f,_0x23e45e,_0x4dcbbe),_0x41caf1=new _0x5c1670()[_0x476083(0x425)](_0x5dde0f,_0x373ed5),_0x4e5909={'unitId':_0x1356ad,'op':_0x373ed5,'hierarchyChanges':_0x514885,'source':_0xbdd130[_0x476083(0x332)]??'ui'},_0x380d78={..._0x4e5909,'source':_0x476083(0x1be)},_0x230730={'unitId':_0x1356ad,'op':_0x41caf1,'hierarchyChanges':_0x514885[_0x476083(0x2ef)](_0xbf03df=>({..._0xbf03df,'oldParentRecordId':_0xbf03df[_0x476083(0x3fe)],'parentRecordId':_0xbf03df[_0x476083(0x234)]})),'source':_0x476083(0x54f)};return _0x2e7215['syncExecuteCommand'](_0x456ed5['id'],_0x4e5909)?(_0x113c83['focusUnit'](_0x1356ad),_0x2f0173['pushUndoRedo']({'unitID':_0x1356ad,'undoMutations':[{'id':_0x456ed5['id'],'params':_0x230730}],'redoMutations':[{'id':_0x456ed5['id'],'params':_0x380d78}]}),!0x0):!0x1;}},_0x3c52fc={'id':_0x4e3a72(0x3b6),'type':_0x2a4b8a[_0x4e3a72(0x29a)]['COMMAND'],'handler':(_0x19996e,_0x2f04c1)=>{const _0x299d3f=_0x4e3a72;if(!_0x2f04c1)return!0x1;let _0x179a31=_0x19996e['get'](_0x2a4b8a[_0x299d3f(0x302)]),{unitId:_0x1550e3,tableId:_0x2df66b}=_0x2f04c1,_0x1999f5=_0x179a31[_0x299d3f(0x460)](_0x1550e3,_0x2a4b8a[_0x299d3f(0x22c)]['UNIVER_BASE']);if(!_0x1999f5||!_0x588c09(_0x1999f5,_0x2df66b))return!0x1;let _0x54e013=_0x19996e[_0x299d3f(0x295)](_0x2a4b8a[_0x299d3f(0x39b)]),_0x488b1c=_0x19996e['get'](_0x2a4b8a[_0x299d3f(0x44a)]),_0xf0e9ae=_0x1999f5[_0x299d3f(0x566)](),_0x49ffc0=_0x1cc5d4(_0xf0e9ae,_0x2df66b);if(_0x49ffc0['length']>0x0)return console['error'](_0x299d3f(0x307)+_0x2df66b+'\x22\x20is\x20referenced\x20by\x20'+_0x49ffc0[_0x299d3f(0x2ef)](_0x2fca44=>_0x2fca44['tableId']+'.'+_0x2fca44['fieldId'])[_0x299d3f(0x2fe)](',\x20')+'.'),!0x1;let _0x412a54=new _0x5a8274()[_0x299d3f(0x1f9)](_0xf0e9ae,_0x2df66b),_0x44447a=new _0x5c1670()[_0x299d3f(0x425)](_0xf0e9ae,_0x412a54),_0x178b53={'unitId':_0x1550e3,'op':_0x412a54},_0x286b2a={'unitId':_0x1550e3,'op':_0x44447a};return _0x54e013[_0x299d3f(0x25d)](_0x456ed5['id'],_0x178b53)?(_0x179a31[_0x299d3f(0x576)](_0x1550e3),_0x488b1c['pushUndoRedo']({'unitID':_0x1550e3,'undoMutations':[{'id':_0x456ed5['id'],'params':_0x286b2a}],'redoMutations':[{'id':_0x456ed5['id'],'params':_0x178b53}]}),!0x0):!0x1;}},_0x6647ed={'id':'base.command.delete-base-view','type':_0x2a4b8a['CommandType'][_0x4e3a72(0x1dd)],'handler':(_0x518d42,_0x426cd6)=>{const _0x19da66=_0x4e3a72;if(!_0x426cd6)return!0x1;let _0x53f1d2=_0x518d42[_0x19da66(0x295)](_0x2a4b8a[_0x19da66(0x302)]),{unitId:_0x4e55d2,tableId:_0x34307e,viewId:_0x5bfc71}=_0x426cd6,_0x18ae1f=_0x53f1d2[_0x19da66(0x460)](_0x4e55d2,_0x2a4b8a[_0x19da66(0x22c)]['UNIVER_BASE']);if(!_0x18ae1f||!_0x588c09(_0x18ae1f,_0x34307e,{'viewIds':[_0x5bfc71]}))return!0x1;let _0x1a596b=_0x518d42['get'](_0x2a4b8a[_0x19da66(0x39b)]),_0x32130f=_0x518d42[_0x19da66(0x295)](_0x2a4b8a['IUndoRedoService']),_0x389836=_0x18ae1f[_0x19da66(0x566)](),_0xd80074=new _0x5a8274()[_0x19da66(0x471)](_0x389836,_0x34307e,_0x5bfc71),_0x381362=new _0x5c1670()[_0x19da66(0x425)](_0x389836,_0xd80074),_0x521911={'unitId':_0x4e55d2,'op':_0xd80074},_0x240fe0={'unitId':_0x4e55d2,'op':_0x381362};return _0x1a596b[_0x19da66(0x25d)](_0x456ed5['id'],_0x521911)?(_0x53f1d2[_0x19da66(0x576)](_0x4e55d2),_0x32130f[_0x19da66(0x3fa)]({'unitID':_0x4e55d2,'undoMutations':[{'id':_0x456ed5['id'],'params':_0x240fe0}],'redoMutations':[{'id':_0x456ed5['id'],'params':_0x521911}]}),!0x0):!0x1;}},_0x4abfb7={'id':'base.command.duplicate-base-field','type':_0x2a4b8a[_0x4e3a72(0x29a)][_0x4e3a72(0x1dd)],'handler':(_0x46c16b,_0x3ffc99)=>{const _0x336a09=_0x4e3a72;if(!_0x3ffc99)return!0x1;let _0xb58a3c=_0x46c16b[_0x336a09(0x295)](_0x2a4b8a[_0x336a09(0x302)]),{unitId:_0x5400a2,tableId:_0x61e76c,sourceFieldId:_0x938fdd,field:_0x442309,index:_0x3b228c,viewIndexes:_0x137413}=_0x3ffc99,_0x232920=_0xb58a3c[_0x336a09(0x460)](_0x5400a2,_0x2a4b8a[_0x336a09(0x22c)][_0x336a09(0x2c2)]);if(!_0x232920||!_0x588c09(_0x232920,_0x61e76c,{'fieldIds':[_0x938fdd]})||_0x938fdd===_0x2a4b8a[_0x336a09(0x32a)]||_0x232920[_0x336a09(0x566)]()[_0x336a09(0x46b)][_0x61e76c]['fields'][_0x442309['id']]||_0x3b228c===0x0||!_0x25482d(_0x232920,_0x61e76c,_0x442309))return!0x1;let _0x5c7eeb=_0x46c16b[_0x336a09(0x295)](_0x2a4b8a['ICommandService']),_0x13aca3=_0x46c16b[_0x336a09(0x295)](_0x2a4b8a['IUndoRedoService']),_0x45bd60=_0x232920[_0x336a09(0x566)](),_0xadaf8d=new _0x5a8274()[_0x336a09(0x3af)](_0x45bd60,_0x61e76c,_0x938fdd,{'field':_0x442309,'index':_0x3b228c,'viewIndexes':_0x137413}),_0x4b0e35=new _0x5c1670()[_0x336a09(0x425)](_0x45bd60,_0xadaf8d),_0x55d814={'unitId':_0x5400a2,'op':_0xadaf8d},_0x5c74c9={'unitId':_0x5400a2,'op':_0x4b0e35};return _0x5c7eeb[_0x336a09(0x25d)](_0x456ed5['id'],_0x55d814)?(_0xb58a3c[_0x336a09(0x576)](_0x5400a2),_0x13aca3[_0x336a09(0x3fa)]({'unitID':_0x5400a2,'undoMutations':[{'id':_0x456ed5['id'],'params':_0x5c74c9}],'redoMutations':[{'id':_0x456ed5['id'],'params':_0x55d814}]}),!0x0):!0x1;}},_0x1c61f1={'id':'base.command.duplicate-base-record','type':_0x2a4b8a[_0x4e3a72(0x29a)][_0x4e3a72(0x1dd)],'handler':(_0x4ab961,_0xcb7cba)=>{const _0x2fb7e7=_0x4e3a72;if(!_0xcb7cba)return!0x1;let _0x5d86cf=_0x4ab961[_0x2fb7e7(0x295)](_0x2a4b8a['IUniverInstanceService']),{unitId:_0x2bf497,tableId:_0x1e3ad0,sourceRecordId:_0x511588,record:_0x229e4f}=_0xcb7cba,_0x3caded=_0x5d86cf[_0x2fb7e7(0x460)](_0x2bf497,_0x2a4b8a[_0x2fb7e7(0x22c)][_0x2fb7e7(0x2c2)]);if(!_0x3caded||!_0x588c09(_0x3caded,_0x1e3ad0,{'recordIds':[_0x511588]})||!_0x53cb15(_0x3caded,_0x1e3ad0,_0x229e4f))return!0x1;let _0x249bc6=_0x4ab961['get'](_0x2a4b8a[_0x2fb7e7(0x39b)]),_0x2b20ef=_0x4ab961[_0x2fb7e7(0x295)](_0x2a4b8a[_0x2fb7e7(0x44a)]),_0x448416=_0x3caded[_0x2fb7e7(0x566)](),_0x19ccde=_0x4db5e2(_0x229e4f),_0x21a126=_0x15892b(_0x448416[_0x2fb7e7(0x46b)][_0x1e3ad0],[_0x19ccde]),_0x3835bb=new _0x5a8274()[_0x2fb7e7(0x583)](_0x448416,_0x1e3ad0,_0x511588,_0x19ccde),_0x4a2416=new _0x5c1670()[_0x2fb7e7(0x425)](_0x448416,_0x3835bb),_0x1e1c25={'unitId':_0x2bf497,'op':_0x3835bb,'hierarchyChanges':_0x21a126['length']?_0x21a126:void 0x0,'source':_0x21a126[_0x2fb7e7(0x46c)]?_0xcb7cba[_0x2fb7e7(0x332)]??'ui':void 0x0},_0x597e85={..._0x1e1c25,'source':_0x21a126['length']?_0x2fb7e7(0x1be):void 0x0},_0x20aadf={'unitId':_0x2bf497,'op':_0x4a2416,'hierarchyChanges':_0x21a126[_0x2fb7e7(0x46c)]?_0x21a126['map'](_0x321d36=>({..._0x321d36,'oldParentRecordId':_0x321d36[_0x2fb7e7(0x3fe)],'parentRecordId':null})):void 0x0,'source':_0x21a126[_0x2fb7e7(0x46c)]?_0x2fb7e7(0x54f):void 0x0};return _0x249bc6[_0x2fb7e7(0x25d)](_0x456ed5['id'],_0x1e1c25)?(_0x5d86cf['focusUnit'](_0x2bf497),_0x2b20ef['pushUndoRedo']({'unitID':_0x2bf497,'undoMutations':[{'id':_0x456ed5['id'],'params':_0x20aadf}],'redoMutations':[{'id':_0x456ed5['id'],'params':_0x597e85}]}),!0x0):!0x1;}},_0x1da397={'id':_0x4e3a72(0x588),'type':_0x2a4b8a[_0x4e3a72(0x29a)][_0x4e3a72(0x1dd)],'handler'(_0x28ac58,_0x30022e){const _0x5d7dcb=_0x4e3a72;if(!_0x30022e)return!0x1;let _0x4643e6=_0x28ac58[_0x5d7dcb(0x295)](_0x2a4b8a[_0x5d7dcb(0x302)]),{unitId:_0xe88d06,tableId:_0x22cbdb,viewId:_0x2a7387,ensureEndDateField:_0x1dd5fd}=_0x30022e,_0x16e7af=_0x4643e6['getUnit'](_0xe88d06,_0x2a4b8a['UniverInstanceType']['UNIVER_BASE']);if(!_0x16e7af||!_0x588c09(_0x16e7af,_0x22cbdb,{'viewIds':[_0x2a7387]}))return!0x1;let _0x50b303=_0x16e7af[_0x5d7dcb(0x566)](),_0xd1fc60=_0x50b303[_0x5d7dcb(0x46b)][_0x22cbdb],_0x1e5926=_0xd1fc60==null?void 0x0:_0xd1fc60['views'][_0x2a7387];if(!_0xd1fc60||!_0x1e5926||_0x1e5926[_0x5d7dcb(0x3a3)]!==_0x5d7dcb(0x207)&&_0x1e5926[_0x5d7dcb(0x3a3)]!=='gantt')return!0x1;let _0x28f693=_0x387b55(_0xd1fc60,_0x1e5926,_0x1dd5fd===!0x0);if(!_0x28f693[_0x5d7dcb(0x3ef)])return!0x1;let _0x4d19a5=_0x28ac58[_0x5d7dcb(0x295)](_0x2a4b8a[_0x5d7dcb(0x39b)]),_0x2cfbb3=_0x28ac58[_0x5d7dcb(0x295)](_0x2a4b8a[_0x5d7dcb(0x44a)]),_0x537150=new _0x5a8274(),_0x5e3d0b=[..._0x28f693['fields'][_0x5d7dcb(0x2ef)](_0x1c79d6=>_0x537150['createField'](_0x50b303,_0x30022e['tableId'],{'field':_0x1c79d6})),_0x3c854b([..._0x59ac57(_0x30022e['tableId'],_0x30022e['viewId']),_0x5d7dcb(0x3e8)],_0x1e5926[_0x5d7dcb(0x3e8)],_0x28f693[_0x5d7dcb(0x3e8)])];_0x28f693[_0x5d7dcb(0x541)]&&_0x5e3d0b['push'](_0x3c854b([..._0x59ac57(_0x30022e[_0x5d7dcb(0x398)],_0x30022e[_0x5d7dcb(0x4cd)]),_0x5d7dcb(0x541)],_0x1e5926[_0x5d7dcb(0x541)],_0x28f693[_0x5d7dcb(0x541)]));let _0x2dda4f=_0xc44ded(_0x5e3d0b),_0x2daec9=new _0x5c1670()['invertOp'](_0x50b303,_0x2dda4f),_0x3ea2ae={'unitId':_0xe88d06,'op':_0x2dda4f},_0x3a9498={'unitId':_0xe88d06,'op':_0x2daec9};return _0x4d19a5['syncExecuteCommand'](_0x456ed5['id'],_0x3ea2ae)?(_0x4643e6[_0x5d7dcb(0x576)](_0xe88d06),_0x2cfbb3[_0x5d7dcb(0x3fa)]({'unitID':_0xe88d06,'undoMutations':[{'id':_0x456ed5['id'],'params':_0x3a9498}],'redoMutations':[{'id':_0x456ed5['id'],'params':_0x3ea2ae}]}),!0x0):!0x1;}};function _0x3c854b(_0x58ade7,_0x3779c6,_0x18d65d){const _0x51b71c=_0x4e3a72;return _0x3779c6===void 0x0?_0x2a4b8a['JSON1']['insertOp'](_0x58ade7,_0x18d65d):_0x2a4b8a[_0x51b71c(0x288)][_0x51b71c(0x3d0)](_0x58ade7,_0x3779c6,_0x18d65d);}function _0x59ac57(_0x556352,_0x1ac668){const _0x3fe1da=_0x4e3a72;return[_0x3fe1da(0x46b),_0x556352,_0x3fe1da(0x1b4),_0x1ac668];}let _0x1e9ec1={'id':'base.command.move-base-field','type':_0x2a4b8a[_0x4e3a72(0x29a)][_0x4e3a72(0x1dd)],'handler':(_0x199ec7,_0x27244e)=>{const _0x4118eb=_0x4e3a72;if(!_0x27244e)return!0x1;let _0x3d2d1d=_0x199ec7[_0x4118eb(0x295)](_0x2a4b8a['IUniverInstanceService']),{unitId:_0x28bba1,tableId:_0x285492,fieldId:_0x24e0b1,target:_0x1563d9}=_0x27244e,_0x5ae8b8=_0x3d2d1d[_0x4118eb(0x460)](_0x28bba1,_0x2a4b8a[_0x4118eb(0x22c)][_0x4118eb(0x2c2)]),_0x501093=_0x1563d9[_0x4118eb(0x3d2)]??_0x1563d9[_0x4118eb(0x41a)];if(!_0x5ae8b8||!!_0x1563d9[_0x4118eb(0x3d2)]==!!_0x1563d9['afterFieldId']||!_0x501093||_0x501093===_0x24e0b1||_0x24e0b1===_0x2a4b8a[_0x4118eb(0x32a)]||_0x1563d9[_0x4118eb(0x3d2)]===_0x2a4b8a[_0x4118eb(0x32a)]||!_0x588c09(_0x5ae8b8,_0x285492,{'fieldIds':[_0x24e0b1,_0x501093]}))return!0x1;let _0x5c7874=_0x199ec7['get'](_0x2a4b8a[_0x4118eb(0x39b)]),_0x43d00f=_0x199ec7['get'](_0x2a4b8a[_0x4118eb(0x44a)]),_0x1fb9bd=_0x5ae8b8[_0x4118eb(0x566)](),_0x27b5ca=new _0x5a8274()[_0x4118eb(0x2db)](_0x1fb9bd,_0x285492,_0x24e0b1,_0x1563d9),_0x2c9a4f=new _0x5c1670()[_0x4118eb(0x425)](_0x1fb9bd,_0x27b5ca),_0x520ebb={'unitId':_0x28bba1,'op':_0x27b5ca},_0x45c86f={'unitId':_0x28bba1,'op':_0x2c9a4f};return _0x5c7874['syncExecuteCommand'](_0x456ed5['id'],_0x520ebb)?(_0x3d2d1d['focusUnit'](_0x28bba1),_0x43d00f[_0x4118eb(0x3fa)]({'unitID':_0x28bba1,'undoMutations':[{'id':_0x456ed5['id'],'params':_0x45c86f}],'redoMutations':[{'id':_0x456ed5['id'],'params':_0x520ebb}]}),!0x0):!0x1;}},_0x5d8b99={'id':_0x4e3a72(0x3b9),'type':_0x2a4b8a['CommandType'][_0x4e3a72(0x1dd)],'handler':(_0x4f2abb,_0xbcb677)=>{const _0xa99899=_0x4e3a72;var _0x1712e5;if(!_0xbcb677)return!0x1;let {unitId:_0x64a6dc,tableId:_0xfb421d,recordId:_0x5155a6,parentRecordId:_0x16d9bd,orderKey:_0x15426e}=_0xbcb677,_0xf56aa8=_0x4f2abb[_0xa99899(0x295)](_0x2a4b8a['IUniverInstanceService']),_0x347f99=_0xf56aa8['getUnit'](_0x64a6dc,_0x2a4b8a[_0xa99899(0x22c)][_0xa99899(0x2c2)]);if(!_0x347f99||!_0x588c09(_0x347f99,_0xfb421d,{'recordIds':[_0x5155a6,..._0x16d9bd?[_0x16d9bd]:[]]}))throw new _0x3f0ef5(_0xa99899(0x254));let _0x2c9378=_0x347f99[_0xa99899(0x566)](),_0xd8b88a=_0x2c9378[_0xa99899(0x46b)][_0xfb421d],_0x2b5921=_0x5efb78(_0xd8b88a),_0x242e1a=_0x2b5921??_0xbcb677['fieldId']??_0x31787d(_0xd8b88a);if(_0x2b5921&&_0xbcb677[_0xa99899(0x1b3)]&&_0xbcb677[_0xa99899(0x1b3)]!==_0x2b5921||_0xd8b88a[_0xa99899(0x3c4)][_0x242e1a]&&!_0x5c7c42(_0xd8b88a,_0x242e1a))throw new _0x3f0ef5(_0xa99899(0x1b5));let _0x577c03=_0x10c7de(_0xd8b88a,_0x242e1a),_0x3a0c48=_0x449e66(_0x577c03,_0x5155a6,_0x16d9bd);if(!_0x3a0c48[_0xa99899(0x4fb)])throw new _0x3f0ef5(_0x3a0c48[_0xa99899(0x57e)]===_0x2a4b8a[_0xa99899(0x23d)][_0xa99899(0x1aa)]?_0xa99899(0x351):_0x3a0c48[_0xa99899(0x57e)]===_0x2a4b8a[_0xa99899(0x23d)][_0xa99899(0x2c8)]?_0xa99899(0x388):_0xa99899(0x524));let _0x37cd87=_0x577c03[_0xa99899(0x1ea)][_0xa99899(0x295)](_0x5155a6)??null,_0x4c04cd=_0xd8b88a[_0xa99899(0x54e)][_0x5155a6][_0xa99899(0x236)];if(_0x37cd87===_0x16d9bd&&(_0x15426e===void 0x0||_0x15426e===_0x4c04cd))return!0x0;let _0x24007f=_0x37cd87!==_0x16d9bd,_0xcadd24=_0x15426e!==void 0x0&&_0x15426e!==_0x4c04cd,_0x4f10cf=new _0x5a8274(),_0x1fe3d2=[],_0x2ddbcf=_0xd8b88a[_0xa99899(0x3c4)][_0x242e1a],_0x59b5b7=_0x24007f&&(!_0x2ddbcf||((_0x1712e5=_0x116c46(_0x2ddbcf))==null?void 0x0:_0x1712e5['relationRole'])!==_0x2a4b8a[_0xa99899(0x39d)][_0xa99899(0x278)])?_0x2ddbcf?_0x4f10cf[_0xa99899(0x3dc)](_0x2c9378,_0xfb421d,_0x242e1a,{'config':{..._0x2ddbcf[_0xa99899(0x3e8)],'relationRole':_0x2a4b8a[_0xa99899(0x39d)][_0xa99899(0x278)]}}):_0x4f2abb[_0xa99899(0x295)](_0xe37605)[_0xa99899(0x3df)](_0x347f99,_0xfb421d,_0x2d9193(_0xd8b88a,_0x242e1a,_0xbcb677[_0xa99899(0x2d5)]),_0xd8b88a[_0xa99899(0x541)][_0xa99899(0x46c)]):null;_0x59b5b7&&_0x1fe3d2[_0xa99899(0x348)](_0x59b5b7),_0x24007f&&_0x1fe3d2[_0xa99899(0x348)](_0x4f10cf['updateCell'](_0x2c9378,_0xfb421d,_0x5155a6,_0x242e1a,_0x16d9bd?_0x4dad93([_0x16d9bd]):'')),_0xcadd24&&_0x1fe3d2[_0xa99899(0x348)](_0x4f10cf[_0xa99899(0x1f3)](_0x2c9378,_0xfb421d,_0x5155a6,_0x15426e));let _0x48073f=_0xc44ded(_0x1fe3d2),_0x41bb82={'tableId':_0xfb421d,'fieldId':_0x242e1a,'recordId':_0x5155a6,'oldParentRecordId':_0x37cd87,'parentRecordId':_0x16d9bd},_0x2ed494={'unitId':_0x64a6dc,'op':_0x48073f,'trigger':_0x5d8b99['id'],'hierarchyChanges':[_0x41bb82],'source':_0xbcb677[_0xa99899(0x332)]??'ui'},_0x248b31={..._0x2ed494,'source':_0xa99899(0x1be)};if(!_0x4f2abb['get'](_0x2a4b8a[_0xa99899(0x39b)])[_0xa99899(0x25d)](_0x456ed5['id'],_0x2ed494))return!0x1;let _0x495e9e=_0x347f99[_0xa99899(0x566)](),_0x2fa29a=[];_0x24007f&&_0x2fa29a['push'](_0x126a64(_0x495e9e,_0x2c9378,_0xfb421d,_0x5155a6,_0x242e1a)),_0xcadd24&&_0x2fa29a[_0xa99899(0x348)](_0x46fa69(_0x495e9e,_0x2c9378,_0xfb421d,_0x5155a6)),_0x59b5b7&&_0x2fa29a[_0xa99899(0x348)](new _0x5c1670()[_0xa99899(0x425)](_0x2c9378,_0x59b5b7));let _0x219967={'unitId':_0x64a6dc,'op':_0xc44ded(_0x2fa29a),'trigger':_0x5d8b99['id'],'hierarchyChanges':[{..._0x41bb82,'oldParentRecordId':_0x16d9bd,'parentRecordId':_0x37cd87}],'source':_0xa99899(0x54f)};return _0xf56aa8[_0xa99899(0x576)](_0x64a6dc),_0x4f2abb['get'](_0x2a4b8a[_0xa99899(0x44a)])[_0xa99899(0x3fa)]({'unitID':_0x64a6dc,'undoMutations':[{'id':_0x456ed5['id'],'params':_0x219967}],'redoMutations':[{'id':_0x456ed5['id'],'params':_0x248b31}]}),!0x0;}};function _0x126a64(_0x2f065c,_0xe164ec,_0x2a1e6d,_0x3143e6,_0x2a6c54){const _0x1bbbdb=_0x4e3a72;var _0x2308e3,_0x13ab1c,_0x5c3464,_0x4b2e40,_0x33009e,_0x1c886f,_0x2156d2,_0x3243ef;let _0x21109b=_0x2f065c[_0x1bbbdb(0x46b)][_0x2a1e6d],_0x396de1=_0xe164ec[_0x1bbbdb(0x46b)][_0x2a1e6d],_0x5ba486=(_0x2308e3=_0x21109b['rowIndex'])==null?void 0x0:_0x2308e3[_0x3143e6],_0x272f42=(_0x13ab1c=_0x21109b[_0x1bbbdb(0x285)])==null?void 0x0:_0x13ab1c[_0x2a6c54],_0x1fa83b=(_0x5c3464=_0x396de1['rowIndex'])==null?void 0x0:_0x5c3464[_0x3143e6],_0x1be4e0=(_0x4b2e40=_0x396de1[_0x1bbbdb(0x285)])==null?void 0x0:_0x4b2e40[_0x2a6c54],_0x431c3f=_0x5ba486==null||_0x272f42==null||(_0x33009e=_0x21109b[_0x1bbbdb(0x380)])==null||(_0x33009e=_0x33009e[_0x5ba486])==null?void 0x0:_0x33009e[_0x272f42],_0x1d8c86=_0x1fa83b==null||_0x1be4e0==null||(_0x1c886f=_0x396de1['cellData'])==null||(_0x1c886f=_0x1c886f[_0x1fa83b])==null?void 0x0:_0x1c886f[_0x1be4e0],_0x323248=(_0x2156d2=_0x21109b[_0x1bbbdb(0x54e)][_0x3143e6])==null?void 0x0:_0x2156d2[_0x1bbbdb(0x462)][_0x2a6c54],_0x186ef1=(_0x3243ef=_0x396de1[_0x1bbbdb(0x54e)][_0x3143e6])==null?void 0x0:_0x3243ef['values'][_0x2a6c54],_0x55dcf3=[],_0x240d7d=_0x4a5ac5(_0x5ba486==null||_0x272f42==null?null:_0x285d10['cellData'](_0x2a1e6d,_0x5ba486,_0x272f42),_0x431c3f,_0x1d8c86);_0x240d7d&&_0x55dcf3['push'](_0x240d7d);let _0x5d7f04=_0x4a5ac5(_0x285d10[_0x1bbbdb(0x2f2)](_0x2a1e6d,_0x3143e6,_0x2a6c54),_0x323248,_0x186ef1);return _0x5d7f04&&_0x55dcf3[_0x1bbbdb(0x348)](_0x5d7f04),_0xc44ded(_0x55dcf3);}function _0x46fa69(_0x11ac96,_0x5a4bb1,_0x2483aa,_0x520051){const _0x23565a=_0x4e3a72;var _0x2a5e82,_0x54d9bf;let _0x346952=_0x11ac96['tables'][_0x2483aa],_0x3cc75a=_0x5a4bb1[_0x23565a(0x46b)][_0x2483aa];return _0xc44ded([_0x4a5ac5([..._0x285d10[_0x23565a(0x4c4)](_0x2483aa,_0x520051),_0x23565a(0x236)],(_0x2a5e82=_0x346952[_0x23565a(0x54e)][_0x520051])==null?void 0x0:_0x2a5e82[_0x23565a(0x236)],(_0x54d9bf=_0x3cc75a[_0x23565a(0x54e)][_0x520051])==null?void 0x0:_0x54d9bf['orderKey']),_0x4a5ac5([..._0x285d10[_0x23565a(0x577)](_0x2483aa),_0x23565a(0x531)],_0x346952[_0x23565a(0x531)],_0x3cc75a[_0x23565a(0x531)])][_0x23565a(0x500)](_0x799ecb=>!!_0x799ecb));}function _0x4a5ac5(_0x5e7527,_0x180ccd,_0x1d241e){const _0x199f42=_0x4e3a72;if(!_0x5e7527||_0x180ccd===void 0x0&&_0x1d241e===void 0x0)return null;let _0x584783=_0x2a4b8a['JSONX'][_0x199f42(0x229)]();return _0x1d241e===void 0x0?_0x584783[_0x199f42(0x39e)](_0x5e7527,_0x180ccd):_0x180ccd===void 0x0?_0x584783[_0x199f42(0x3ee)](_0x5e7527,_0x1d241e):_0x584783[_0x199f42(0x3d0)](_0x5e7527,_0x180ccd,_0x1d241e);}let _0xb76e24={'id':'base.command.move-base-view','type':_0x2a4b8a['CommandType'][_0x4e3a72(0x1dd)],'handler':(_0x2d6fbe,_0x4bbe50)=>{const _0xa3cd3b=_0x4e3a72;if(!_0x4bbe50)return!0x1;let _0x20b367=_0x2d6fbe['get'](_0x2a4b8a['IUniverInstanceService']),{unitId:_0xe2ab09,tableId:_0x51f435,viewId:_0x12f8f1,target:_0x3b0ecc}=_0x4bbe50,_0x48fd26=_0x20b367[_0xa3cd3b(0x460)](_0xe2ab09,_0x2a4b8a[_0xa3cd3b(0x22c)][_0xa3cd3b(0x2c2)]),_0x53a741=_0x3b0ecc[_0xa3cd3b(0x237)]??_0x3b0ecc[_0xa3cd3b(0x264)];if(!_0x48fd26||!_0x53a741||_0x53a741===_0x12f8f1||!_0x588c09(_0x48fd26,_0x51f435,{'viewIds':[_0x12f8f1,_0x53a741]}))return!0x1;let _0xa09386=_0x2d6fbe[_0xa3cd3b(0x295)](_0x2a4b8a[_0xa3cd3b(0x39b)]),_0x1b8aec=_0x2d6fbe['get'](_0x2a4b8a[_0xa3cd3b(0x44a)]),_0x171771=_0x48fd26[_0xa3cd3b(0x566)](),_0x144062=new _0x5a8274()[_0xa3cd3b(0x510)](_0x171771,_0x51f435,_0x12f8f1,_0x3b0ecc),_0x29d52f=new _0x5c1670()[_0xa3cd3b(0x425)](_0x171771,_0x144062),_0x18073d={'unitId':_0xe2ab09,'op':_0x144062},_0x5e6b82={'unitId':_0xe2ab09,'op':_0x29d52f};return _0xa09386[_0xa3cd3b(0x25d)](_0x456ed5['id'],_0x18073d)?(_0x20b367[_0xa3cd3b(0x576)](_0xe2ab09),_0x1b8aec[_0xa3cd3b(0x3fa)]({'unitID':_0xe2ab09,'undoMutations':[{'id':_0x456ed5['id'],'params':_0x5e6b82}],'redoMutations':[{'id':_0x456ed5['id'],'params':_0x18073d}]}),!0x0):!0x1;}},_0x338bc8={'id':_0x4e3a72(0x228),'type':_0x2a4b8a[_0x4e3a72(0x29a)][_0x4e3a72(0x1dd)],'handler':(_0x50cb23,_0x340faa)=>{const _0x492852=_0x4e3a72;if(!_0x340faa)return!0x1;let _0x58da52=_0x50cb23['get'](_0x2a4b8a[_0x492852(0x302)]),{unitId:_0x1ad003,tableId:_0x1941fe,name:_0x4e0d68}=_0x340faa,_0x316d4d=_0x58da52[_0x492852(0x460)](_0x1ad003,_0x2a4b8a[_0x492852(0x22c)][_0x492852(0x2c2)]);if(!_0x316d4d||!_0x588c09(_0x316d4d,_0x1941fe)||!_0x615c2f(_0x316d4d[_0x492852(0x566)](),_0x4e0d68,_0x1941fe)[_0x492852(0x4fb)])return!0x1;let _0xa34970=_0x50cb23['get'](_0x2a4b8a[_0x492852(0x39b)]),_0x30790c=_0x50cb23['get'](_0x2a4b8a['IUndoRedoService']),_0x3ae584=_0x316d4d[_0x492852(0x566)](),_0x4ab35f=new _0x5a8274()[_0x492852(0x49e)](_0x3ae584,_0x1941fe,_0x4e0d68),_0x17b929=new _0x5c1670()[_0x492852(0x425)](_0x3ae584,_0x4ab35f),_0x33de49={'unitId':_0x1ad003,'op':_0x4ab35f},_0x453add={'unitId':_0x1ad003,'op':_0x17b929};return _0xa34970[_0x492852(0x25d)](_0x456ed5['id'],_0x33de49)?(_0x58da52[_0x492852(0x576)](_0x1ad003),_0x30790c[_0x492852(0x3fa)]({'unitID':_0x1ad003,'undoMutations':[{'id':_0x456ed5['id'],'params':_0x453add}],'redoMutations':[{'id':_0x456ed5['id'],'params':_0x33de49}]}),!0x0):!0x1;}},_0x57e5df={'id':_0x4e3a72(0x4e2),'type':_0x2a4b8a[_0x4e3a72(0x29a)][_0x4e3a72(0x1dd)],'handler':(_0x9a21c7,_0x23333c)=>{const _0x3b5e5d=_0x4e3a72;if(!_0x23333c)return!0x1;let _0x4c1c46=_0x9a21c7[_0x3b5e5d(0x295)](_0x2a4b8a[_0x3b5e5d(0x302)]),{unitId:_0x498915,tableId:_0x4614e1,viewId:_0x533b96,name:_0x822048}=_0x23333c,_0x4278bb=_0x4c1c46['getUnit'](_0x498915,_0x2a4b8a[_0x3b5e5d(0x22c)]['UNIVER_BASE']);if(!_0x4278bb||!_0x588c09(_0x4278bb,_0x4614e1,{'viewIds':[_0x533b96]}))return!0x1;let _0x250a9e=_0x9a21c7[_0x3b5e5d(0x295)](_0x2a4b8a['ICommandService']),_0x7a974c=_0x9a21c7[_0x3b5e5d(0x295)](_0x2a4b8a[_0x3b5e5d(0x44a)]),_0xd5e797=_0x4278bb[_0x3b5e5d(0x566)](),_0x2be93e=new _0x5a8274()[_0x3b5e5d(0x3bb)](_0xd5e797,_0x4614e1,_0x533b96,_0x822048),_0x47f7d9=new _0x5c1670()[_0x3b5e5d(0x425)](_0xd5e797,_0x2be93e),_0x5d566c={'unitId':_0x498915,'op':_0x2be93e},_0x1081eb={'unitId':_0x498915,'op':_0x47f7d9};return _0x250a9e[_0x3b5e5d(0x25d)](_0x456ed5['id'],_0x5d566c)?(_0x4c1c46[_0x3b5e5d(0x576)](_0x498915),_0x7a974c[_0x3b5e5d(0x3fa)]({'unitID':_0x498915,'undoMutations':[{'id':_0x456ed5['id'],'params':_0x1081eb}],'redoMutations':[{'id':_0x456ed5['id'],'params':_0x5d566c}]}),!0x0):!0x1;}},_0x321ab3={'id':_0x4e3a72(0x2e5),'type':_0x2a4b8a[_0x4e3a72(0x29a)]['COMMAND'],'handler':(_0x1e3a81,_0x383c63)=>{const _0x2987a3=_0x4e3a72;if(!_0x383c63)return!0x1;let _0x13c2eb=_0x1e3a81['get'](_0x2a4b8a['IUniverInstanceService']),{unitId:_0x420775,tableId:_0x440b2b,viewId:_0x4f3c94,fieldId:_0x4a71ce}=_0x383c63,_0xa366e7=_0x13c2eb['getUnit'](_0x420775,_0x2a4b8a[_0x2987a3(0x22c)][_0x2987a3(0x2c2)]);if(!_0xa366e7||!_0x588c09(_0xa366e7,_0x440b2b,{'viewIds':[_0x4f3c94],'fieldIds':[_0x4a71ce]}))return!0x1;let _0x5bc4f2=_0x1e3a81[_0x2987a3(0x295)](_0x2a4b8a[_0x2987a3(0x39b)]),_0x4525fa=_0x1e3a81[_0x2987a3(0x295)](_0x2a4b8a[_0x2987a3(0x44a)]),_0x3b2f46=_0xa366e7[_0x2987a3(0x566)](),_0x2ccc77=new _0x5a8274()[_0x2987a3(0x2ca)](_0x3b2f46,_0x440b2b,_0x4f3c94,{'groupFieldId':_0x4a71ce}),_0x4ca226=new _0x5c1670()[_0x2987a3(0x425)](_0x3b2f46,_0x2ccc77),_0x5300ac={'unitId':_0x420775,'op':_0x2ccc77},_0x3e4e34={'unitId':_0x420775,'op':_0x4ca226};return _0x5bc4f2[_0x2987a3(0x25d)](_0x456ed5['id'],_0x5300ac)?(_0x13c2eb[_0x2987a3(0x576)](_0x420775),_0x4525fa[_0x2987a3(0x3fa)]({'unitID':_0x420775,'undoMutations':[{'id':_0x456ed5['id'],'params':_0x3e4e34}],'redoMutations':[{'id':_0x456ed5['id'],'params':_0x5300ac}]}),!0x0):!0x1;}},_0x1ec33d={'id':_0x4e3a72(0x28e),'type':_0x2a4b8a['CommandType'][_0x4e3a72(0x1dd)],'handler':(_0x39591a,_0x5a6ae0)=>{const _0x419c0c=_0x4e3a72;if(!_0x5a6ae0)return!0x1;let _0x3e45b2=_0x39591a['get'](_0x2a4b8a[_0x419c0c(0x302)]),_0x5f43be=_0x3e45b2[_0x419c0c(0x460)](_0x5a6ae0[_0x419c0c(0x257)],_0x2a4b8a['UniverInstanceType'][_0x419c0c(0x2c2)]);if(!_0x5f43be)return!0x1;let _0xdc0a4b=_0x5f43be[_0x419c0c(0x566)]()[_0x419c0c(0x492)];if(_0xdc0a4b===_0x5a6ae0[_0x419c0c(0x492)])return!0x0;let _0x5ea984=new _0x5a8274(),_0x423875=new _0x5c1670(),_0x55055d=[],_0xebaaee=[],_0x209e4d=[_0x5f43be,..._0x3e45b2[_0x419c0c(0x30d)](_0x2a4b8a[_0x419c0c(0x22c)]['UNIVER_BASE'])[_0x419c0c(0x500)](_0x5443f3=>_0x5443f3[_0x419c0c(0x3b7)]()!==_0x5a6ae0[_0x419c0c(0x257)])];for(let _0x5bab2a of _0x209e4d){let _0x26ea3c=_0x5bab2a[_0x419c0c(0x566)](),_0xc4509f=_0x5bab2a===_0x5f43be?_0x5ea984[_0x419c0c(0x349)](_0x26ea3c,_0x5a6ae0['name']):_0x5ea984[_0x419c0c(0x567)](_0x26ea3c,_0xdc0a4b,_0x5a6ae0[_0x419c0c(0x492)]);_0xc4509f&&(_0x55055d[_0x419c0c(0x348)]({'id':_0x456ed5['id'],'params':{'unitId':_0x5bab2a[_0x419c0c(0x3b7)](),'op':_0xc4509f,'trigger':_0x1ec33d['id']}}),_0xebaaee[_0x419c0c(0x4a9)]({'id':_0x456ed5['id'],'params':{'unitId':_0x5bab2a['getUnitId'](),'op':_0x423875[_0x419c0c(0x425)](_0x26ea3c,_0xc4509f),'trigger':_0x1ec33d['id']}}));}let _0x426b63=_0x39591a['get'](_0x2a4b8a[_0x419c0c(0x39b)]),_0x4bac8b=_0x39591a['get'](_0x2a4b8a[_0x419c0c(0x44a)]),_0x4a5136=_0x4bac8b[_0x419c0c(0x53e)](_0x5a6ae0[_0x419c0c(0x257)]);try{return(0x0,_0x2a4b8a[_0x419c0c(0x41c)])(_0x55055d,_0x426b63)[_0x419c0c(0x519)]?(_0x3e45b2['focusUnit'](_0x5a6ae0[_0x419c0c(0x257)]),_0x4bac8b[_0x419c0c(0x3fa)]({'unitID':_0x5a6ae0[_0x419c0c(0x257)],'undoMutations':_0xebaaee,'redoMutations':_0x55055d}),!0x0):!0x1;}finally{_0x4a5136[_0x419c0c(0x37d)]();}}};function _0x4b106c(_0x59e9d5,_0xea1e96){const _0x2345aa=_0x4e3a72;let _0x58b173=_0x191958(_0x2a4b8a['Tools'][_0x2345aa(0x2ae)](_0x59e9d5)),_0x4e8157=new Map();return _0xea1e96['forEach'](_0x523106=>{const _0x4cc607=_0x2345aa;var _0x1f2bd3,_0xe781da;let _0x3c6bb5=_0x4cc607(0x549)in _0x523106?_0x523106[_0x4cc607(0x549)]:(_0x1f2bd3=_0x58b173[_0x4cc607(0x1df)])==null?void 0x0:_0x1f2bd3[_0x523106['row']],_0x51f0bb='fieldId'in _0x523106?_0x523106[_0x4cc607(0x1b3)]:(_0xe781da=_0x58b173[_0x4cc607(0x3ec)])==null?void 0x0:_0xe781da[_0x523106[_0x4cc607(0x1b1)]],_0x378cc6=_0x51f0bb?_0x58b173['fields'][_0x51f0bb]:void 0x0;if(!_0x3c6bb5||!_0x51f0bb||!_0x378cc6||!_0x58b173[_0x4cc607(0x54e)][_0x3c6bb5])return;let _0x2c31ab=_0x52314c(_0x523106[_0x4cc607(0x32f)],_0x378cc6),_0x27f6bc=_0x5935b1(_0x523106['value'],_0x2c31ab,_0x378cc6,_0x58b173,_0x3c6bb5),_0x31fb4b=_0x4e8157[_0x4cc607(0x295)](_0x3c6bb5)??{};_0x31fb4b[_0x51f0bb]=_0x27f6bc,_0x4e8157[_0x4cc607(0x1b0)](_0x3c6bb5,_0x31fb4b);}),[..._0x4e8157][_0x2345aa(0x2ef)](([_0xbffff,_0x73594f])=>({'recordId':_0xbffff,'values':_0x73594f}));}let _0x4bfc27={'id':_0x4e3a72(0x238),'type':_0x2a4b8a['CommandType'][_0x4e3a72(0x1dd)],'handler'(_0xaa5644,_0x75227f){const _0x5ee9b2=_0x4e3a72;if(!_0x75227f)return!0x1;let _0x1ac2bd=_0xaa5644[_0x5ee9b2(0x295)](_0x2a4b8a[_0x5ee9b2(0x302)]),{unitId:_0x4c0374,tableId:_0x27a278,patches:_0xa9ddec}=_0x75227f,_0x31861a=_0x1ac2bd[_0x5ee9b2(0x460)](_0x4c0374,_0x2a4b8a[_0x5ee9b2(0x22c)]['UNIVER_BASE']);if(!_0x31861a||!_0x588c09(_0x31861a,_0x27a278))return!0x1;let _0x45744f=_0xaa5644[_0x5ee9b2(0x295)](_0x2a4b8a[_0x5ee9b2(0x39b)]),_0x43c937=_0xaa5644[_0x5ee9b2(0x295)](_0x2a4b8a[_0x5ee9b2(0x44a)]),_0x958146=_0x31861a[_0x5ee9b2(0x566)](),_0x3aeb3e=_0x191958(_0x958146[_0x5ee9b2(0x46b)][_0x27a278]),_0x5eb281=_0xa9ddec['map'](_0x4a9f63=>{const _0x11342a=_0x5ee9b2;var _0x510c28;return _0x11342a(0x549)in _0x4a9f63?_0x4a9f63[_0x11342a(0x549)]:(_0x510c28=_0x3aeb3e[_0x11342a(0x1df)])==null?void 0x0:_0x510c28[_0x4a9f63['row']];})[_0x5ee9b2(0x500)](_0x473b98=>_0x473b98!=null),_0x458b44=_0xa9ddec[_0x5ee9b2(0x2ef)](_0x4523fc=>{const _0x48d324=_0x5ee9b2;var _0x474b55;return _0x48d324(0x1b3)in _0x4523fc?_0x4523fc[_0x48d324(0x1b3)]:(_0x474b55=_0x3aeb3e[_0x48d324(0x3ec)])==null?void 0x0:_0x474b55[_0x4523fc[_0x48d324(0x1b1)]];})[_0x5ee9b2(0x500)](_0x146506=>_0x146506!=null);if(_0x5eb281[_0x5ee9b2(0x46c)]!==_0xa9ddec[_0x5ee9b2(0x46c)]||_0x458b44[_0x5ee9b2(0x46c)]!==_0xa9ddec[_0x5ee9b2(0x46c)]||!_0x588c09(_0x31861a,_0x27a278,{'recordIds':_0x5eb281,'fieldIds':_0x458b44})||_0xa9ddec[_0x5ee9b2(0x35a)]((_0xd42275,_0x57eab5)=>!_0x4ce062(_0x31861a,_0x27a278,_0x458b44[_0x57eab5],_0xd42275[_0x5ee9b2(0x32f)])))return!0x1;let _0x1739b9=_0x31b303(_0x3aeb3e,_0x4b106c(_0x3aeb3e,_0xa9ddec)),_0x5669bc=_0xa9ddec['flatMap'](_0x2f1336=>{const _0x3f754d=_0x5ee9b2;var _0x238093,_0x109890;if(_0x3f754d(0x40d)in _0x2f1336)return[_0x2f1336];let _0xe4843d=(_0x238093=_0x3aeb3e[_0x3f754d(0x385)])==null?void 0x0:_0x238093[_0x2f1336[_0x3f754d(0x549)]],_0x5d43e5=(_0x109890=_0x3aeb3e[_0x3f754d(0x285)])==null?void 0x0:_0x109890[_0x2f1336[_0x3f754d(0x1b3)]];return _0xe4843d==null||_0x5d43e5==null?[]:[{'row':_0xe4843d,'col':_0x5d43e5,'value':_0x2f1336['value']}];}),_0x32d683=new _0x5a8274()[_0x5ee9b2(0x2e4)](_0x958146,_0x27a278,_0x5669bc),_0x364dbb=new _0x5c1670()['invertOp'](_0x958146,_0x32d683),_0x3e8302={'unitId':_0x4c0374,'op':_0x32d683,'trigger':_0x1739b9[_0x5ee9b2(0x46c)]?_0x4bfc27['id']:void 0x0,'hierarchyChanges':_0x1739b9[_0x5ee9b2(0x46c)]?_0x1739b9:void 0x0,'source':_0x1739b9['length']?_0x5ee9b2(0x1be):void 0x0},_0x560ca7={'unitId':_0x4c0374,'op':_0x364dbb,'trigger':_0x1739b9[_0x5ee9b2(0x46c)]?_0x4bfc27['id']:void 0x0,'hierarchyChanges':_0x1739b9['length']?_0x1739b9[_0x5ee9b2(0x2ef)](_0x71c90b=>({..._0x71c90b,'oldParentRecordId':_0x71c90b['parentRecordId'],'parentRecordId':_0x71c90b[_0x5ee9b2(0x234)]})):void 0x0,'source':_0x1739b9[_0x5ee9b2(0x46c)]?_0x5ee9b2(0x54f):void 0x0},_0x1a2e64={..._0x3e8302,'source':_0x1739b9[_0x5ee9b2(0x46c)]?_0x75227f[_0x5ee9b2(0x332)]??'ui':void 0x0};return _0x45744f[_0x5ee9b2(0x25d)](_0x456ed5['id'],_0x1a2e64)?(_0x1ac2bd['focusUnit'](_0x4c0374),_0x43c937[_0x5ee9b2(0x3fa)]({'unitID':_0x4c0374,'undoMutations':[{'id':_0x456ed5['id'],'params':_0x560ca7}],'redoMutations':[{'id':_0x456ed5['id'],'params':_0x3e8302}]}),!0x0):!0x1;}},_0xba7180={'id':_0x4e3a72(0x368),'type':_0x2a4b8a['CommandType'][_0x4e3a72(0x1dd)],'handler'(_0x46b2ff,_0x17c332){const _0x2e86ea=_0x4e3a72;if(!_0x17c332)return!0x1;let _0x4f2bc9=_0x46b2ff[_0x2e86ea(0x295)](_0x2a4b8a[_0x2e86ea(0x302)]),{unitId:_0xd46855,tableId:_0x4372f1,patches:_0x479d73}=_0x17c332,_0x24285c=_0x4f2bc9['getUnit'](_0xd46855,_0x2a4b8a[_0x2e86ea(0x22c)][_0x2e86ea(0x2c2)]),_0x1357a1=_0x479d73['map'](_0x38f5ca=>_0x38f5ca[_0x2e86ea(0x549)]),_0x1f82ac=_0x479d73['flatMap'](_0x27fad0=>Object[_0x2e86ea(0x458)](_0x27fad0[_0x2e86ea(0x462)]));if(!_0x24285c||!_0x588c09(_0x24285c,_0x4372f1,{'recordIds':_0x1357a1,'fieldIds':_0x1f82ac})||_0x479d73['some'](_0xe1c271=>Object[_0x2e86ea(0x2f1)](_0xe1c271[_0x2e86ea(0x462)])[_0x2e86ea(0x35a)](([_0x588f71,_0x487de5])=>!_0x4ce062(_0x24285c,_0x4372f1,_0x588f71,_0x487de5))))return!0x1;let _0x5e4b2b=_0x31b303(_0x24285c['getSnapshot']()['tables'][_0x4372f1],_0x479d73),_0xa8846a=_0x46b2ff[_0x2e86ea(0x295)](_0x2a4b8a[_0x2e86ea(0x39b)]),_0x45cdca=_0x46b2ff[_0x2e86ea(0x295)](_0x2a4b8a[_0x2e86ea(0x44a)]),_0x510a9b=_0x46b2ff[_0x2e86ea(0x295)](_0xe37605)[_0x2e86ea(0x202)](_0x24285c,_0x4372f1,_0x479d73),_0x47f363=new _0x5c1670()[_0x2e86ea(0x425)](_0x24285c[_0x2e86ea(0x566)](),_0x510a9b),_0x21dc63={'unitId':_0xd46855,'op':_0x510a9b,'trigger':_0x5e4b2b[_0x2e86ea(0x46c)]?_0xba7180['id']:void 0x0,'hierarchyChanges':_0x5e4b2b['length']?_0x5e4b2b:void 0x0,'source':_0x5e4b2b['length']?_0x17c332['source']??'ui':void 0x0},_0x557288={..._0x21dc63,'source':_0x5e4b2b[_0x2e86ea(0x46c)]?'redo':void 0x0},_0x3d2010={'unitId':_0xd46855,'op':_0x47f363,'trigger':_0x5e4b2b[_0x2e86ea(0x46c)]?_0xba7180['id']:void 0x0,'hierarchyChanges':_0x5e4b2b['length']?_0x5e4b2b[_0x2e86ea(0x2ef)](_0x1c4464=>({..._0x1c4464,'oldParentRecordId':_0x1c4464[_0x2e86ea(0x3fe)],'parentRecordId':_0x1c4464[_0x2e86ea(0x234)]})):void 0x0,'source':_0x5e4b2b['length']?'undo':void 0x0};return _0xa8846a[_0x2e86ea(0x25d)](_0x456ed5['id'],_0x21dc63)?(_0x4f2bc9[_0x2e86ea(0x576)](_0xd46855),_0x45cdca['pushUndoRedo']({'unitID':_0xd46855,'undoMutations':[{'id':_0x456ed5['id'],'params':_0x3d2010}],'redoMutations':[{'id':_0x456ed5['id'],'params':_0x557288}]}),!0x0):!0x1;}},_0x31c27a={'id':_0x4e3a72(0x50d),'type':_0x2a4b8a['CommandType']['COMMAND'],'handler':(_0x1467c9,_0x2c653e)=>{const _0x2aebb1=_0x4e3a72;if(!_0x2c653e)return!0x1;let {unitId:_0x2ca9c8,tableId:_0x5caa02,fieldId:_0x257e6d}=_0x2c653e,_0x260969=_0x1467c9[_0x2aebb1(0x295)](_0x2a4b8a['IUniverInstanceService']),_0x222c0f=_0x260969['getUnit'](_0x2ca9c8,_0x2a4b8a[_0x2aebb1(0x22c)][_0x2aebb1(0x2c2)]);if(!_0x222c0f||!_0x588c09(_0x222c0f,_0x5caa02))return!0x1;let _0x16a16e=_0x222c0f['getSnapshot'](),_0x418d4f=_0x16a16e[_0x2aebb1(0x46b)][_0x5caa02];if(_0x257e6d!==null&&!_0x5c7c42(_0x418d4f,_0x257e6d))throw new _0x3f0ef5('invalidField');if(_0x5efb78(_0x418d4f)===_0x257e6d)return!0x0;let _0xab1600=new _0x5a8274(),_0x25f826=_0xc44ded(Object[_0x2aebb1(0x462)](_0x418d4f[_0x2aebb1(0x3c4)])[_0x2aebb1(0x467)](_0x1a2517=>{const _0x5dbcf3=_0x2aebb1;if(!_0x5c7c42(_0x418d4f,_0x1a2517['id']))return[];let _0x5bbfca=_0x116c46(_0x1a2517);if(!_0x5bbfca)return[];let _0x406b75=_0x1a2517['id']===_0x257e6d;if(_0x5bbfca['relationRole']===_0x2a4b8a['BaseRecordLinkRole'][_0x5dbcf3(0x278)]===_0x406b75)return[];let _0x5f092e={..._0x1a2517[_0x5dbcf3(0x3e8)],'targetTableId':_0x5bbfca[_0x5dbcf3(0x445)],'multiple':_0x5bbfca['multiple']};return _0x406b75?_0x5f092e[_0x5dbcf3(0x4bc)]=_0x2a4b8a[_0x5dbcf3(0x39d)]['Parent']:delete _0x5f092e[_0x5dbcf3(0x4bc)],[_0xab1600[_0x5dbcf3(0x3dc)](_0x16a16e,_0x5caa02,_0x1a2517['id'],{'config':_0x5f092e})];})),_0x54409b=new _0x5c1670()[_0x2aebb1(0x425)](_0x16a16e,_0x25f826),_0x170437={'unitId':_0x2ca9c8,'op':_0x25f826},_0x54bed0={'unitId':_0x2ca9c8,'op':_0x54409b};return _0x1467c9[_0x2aebb1(0x295)](_0x2a4b8a['ICommandService'])[_0x2aebb1(0x25d)](_0x456ed5['id'],_0x170437)?(_0x260969[_0x2aebb1(0x576)](_0x2ca9c8),_0x1467c9[_0x2aebb1(0x295)](_0x2a4b8a[_0x2aebb1(0x44a)])['pushUndoRedo']({'unitID':_0x2ca9c8,'undoMutations':[{'id':_0x456ed5['id'],'params':_0x54bed0}],'redoMutations':[{'id':_0x456ed5['id'],'params':_0x170437}]}),!0x0):!0x1;}},_0x3479da={'id':'base.command.set-base-view-field-order','type':_0x2a4b8a['CommandType']['COMMAND'],'handler':(_0x9baac8,_0x1036fc)=>{const _0x304989=_0x4e3a72;if(!_0x1036fc)return!0x1;let _0x30e0ab=_0x9baac8[_0x304989(0x295)](_0x2a4b8a['IUniverInstanceService']),{unitId:_0x38b391,tableId:_0x2e3fad,viewId:_0x15690c,fieldId:_0x284edd,target:_0x10d217}=_0x1036fc,_0x3ba414=_0x30e0ab[_0x304989(0x460)](_0x38b391,_0x2a4b8a[_0x304989(0x22c)][_0x304989(0x2c2)]),_0x3abeb6=_0x10d217[_0x304989(0x3d2)]??_0x10d217[_0x304989(0x41a)];if(!_0x3ba414||!_0x3abeb6||_0x3abeb6===_0x284edd||!_0x588c09(_0x3ba414,_0x2e3fad,{'viewIds':[_0x15690c],'fieldIds':[_0x284edd,_0x3abeb6]}))return!0x1;let _0x558898=_0x3ba414[_0x304989(0x566)]()['tables'][_0x2e3fad],_0x5da331=_0x558898[_0x304989(0x3c4)][_0x284edd],_0x31a8d8=_0x558898[_0x304989(0x3c4)][_0x3abeb6];if(_0x5da331[_0x304989(0x4d3)]===!0x0||_0x5da331[_0x304989(0x3a3)]===_0x2a4b8a[_0x304989(0x1f7)][_0x304989(0x1c0)]||_0x31a8d8[_0x304989(0x4d3)]===!0x0||_0x31a8d8[_0x304989(0x3a3)]===_0x2a4b8a[_0x304989(0x1f7)][_0x304989(0x1c0)])return!0x1;let _0x126181=_0x9baac8[_0x304989(0x295)](_0x2a4b8a['ICommandService']),_0x49ae86=_0x9baac8['get'](_0x2a4b8a[_0x304989(0x44a)]),_0x451002=_0x3ba414[_0x304989(0x566)](),_0x42fbb8=new _0x5a8274()[_0x304989(0x386)](_0x451002,_0x2e3fad,_0x15690c,_0x284edd,_0x10d217),_0x15ec94=new _0x5c1670()[_0x304989(0x425)](_0x451002,_0x42fbb8),_0x1fb062={'unitId':_0x38b391,'op':_0x42fbb8},_0x999bf3={'unitId':_0x38b391,'op':_0x15ec94};return _0x126181['syncExecuteCommand'](_0x456ed5['id'],_0x1fb062)?(_0x30e0ab[_0x304989(0x576)](_0x38b391),_0x49ae86[_0x304989(0x3fa)]({'unitID':_0x38b391,'undoMutations':[{'id':_0x456ed5['id'],'params':_0x999bf3}],'redoMutations':[{'id':_0x456ed5['id'],'params':_0x1fb062}]}),!0x0):!0x1;}},_0x5a38b6={'id':_0x4e3a72(0x1c4),'type':_0x2a4b8a[_0x4e3a72(0x29a)]['COMMAND'],'handler'(_0x1488c1,_0x5cf834){const _0x5c913d=_0x4e3a72;if(!_0x5cf834)return!0x1;let _0x2b16a1=_0x1488c1['get'](_0x2a4b8a[_0x5c913d(0x302)]),{unitId:_0x32c3d5,tableId:_0x3be7e7,viewId:_0x191649,fieldId:_0x1f601e,visible:_0x142b81}=_0x5cf834,_0x577eeb=_0x2b16a1['getUnit'](_0x32c3d5,_0x2a4b8a[_0x5c913d(0x22c)]['UNIVER_BASE']);if(!_0x577eeb||!_0x588c09(_0x577eeb,_0x3be7e7,{'viewIds':[_0x191649],'fieldIds':[_0x1f601e]}))return!0x1;let _0x2adb5d=_0x577eeb[_0x5c913d(0x566)]()[_0x5c913d(0x46b)][_0x3be7e7]['fields'][_0x1f601e];if(_0x2adb5d[_0x5c913d(0x4d3)]===!0x0||_0x2adb5d['type']===_0x2a4b8a[_0x5c913d(0x1f7)][_0x5c913d(0x1c0)])return!0x1;let _0x9f862a=_0x1488c1['get'](_0x2a4b8a[_0x5c913d(0x39b)]),_0x1d9c4b=_0x1488c1[_0x5c913d(0x295)](_0x2a4b8a[_0x5c913d(0x44a)]),_0x48d05a=_0x577eeb[_0x5c913d(0x566)](),_0x10bcda=new _0x5a8274()[_0x5c913d(0x447)](_0x48d05a,_0x3be7e7,_0x191649,_0x1f601e,_0x142b81),_0x3937ab=new _0x5c1670()['invertOp'](_0x48d05a,_0x10bcda),_0x2d7522={'unitId':_0x32c3d5,'op':_0x10bcda},_0x5085b0={'unitId':_0x32c3d5,'op':_0x3937ab};return _0x9f862a[_0x5c913d(0x25d)](_0x456ed5['id'],_0x2d7522)?(_0x2b16a1[_0x5c913d(0x576)](_0x32c3d5),_0x1d9c4b[_0x5c913d(0x3fa)]({'unitID':_0x32c3d5,'undoMutations':[{'id':_0x456ed5['id'],'params':_0x5085b0}],'redoMutations':[{'id':_0x456ed5['id'],'params':_0x2d7522}]}),!0x0):!0x1;}},_0x30bd98={'id':_0x4e3a72(0x3d9),'type':_0x2a4b8a[_0x4e3a72(0x29a)]['COMMAND'],'handler':(_0x16ce05,_0x29d04c)=>{const _0x3a9032=_0x4e3a72;if(!_0x29d04c)return!0x1;let _0x663e23=_0x16ce05[_0x3a9032(0x295)](_0x2a4b8a[_0x3a9032(0x302)]),{unitId:_0x30fa27,tableId:_0x27d64c,viewId:_0x33ca61,fieldId:_0x2ed101,width:_0x27cb25}=_0x29d04c,_0x448678=_0x663e23['getUnit'](_0x30fa27,_0x2a4b8a[_0x3a9032(0x22c)]['UNIVER_BASE']);if(!_0x448678||!_0x588c09(_0x448678,_0x27d64c,{'viewIds':[_0x33ca61],'fieldIds':[_0x2ed101]}))return!0x1;let _0x38df4f=_0x448678[_0x3a9032(0x566)]()[_0x3a9032(0x46b)][_0x27d64c][_0x3a9032(0x3c4)][_0x2ed101];if(_0x38df4f[_0x3a9032(0x4d3)]===!0x0||_0x38df4f['type']===_0x2a4b8a[_0x3a9032(0x1f7)][_0x3a9032(0x1c0)])return!0x1;let _0x5302f5=_0x16ce05[_0x3a9032(0x295)](_0x2a4b8a['ICommandService']),_0x334dfb=_0x16ce05[_0x3a9032(0x295)](_0x2a4b8a[_0x3a9032(0x44a)]),_0x211ab6=_0x448678[_0x3a9032(0x566)](),_0x104c92=new _0x5a8274()['setViewFieldWidth'](_0x211ab6,_0x27d64c,_0x33ca61,_0x2ed101,_0x27cb25),_0x55ee12=new _0x5c1670()[_0x3a9032(0x425)](_0x211ab6,_0x104c92),_0x1d93c1={'unitId':_0x30fa27,'op':_0x104c92},_0x3480ea={'unitId':_0x30fa27,'op':_0x55ee12};return _0x5302f5['syncExecuteCommand'](_0x456ed5['id'],_0x1d93c1)?(_0x663e23['focusUnit'](_0x30fa27),_0x334dfb['pushUndoRedo']({'unitID':_0x30fa27,'undoMutations':[{'id':_0x456ed5['id'],'params':_0x3480ea}],'redoMutations':[{'id':_0x456ed5['id'],'params':_0x1d93c1}]}),!0x0):!0x1;}},_0x542172={'id':_0x4e3a72(0x2c3),'type':_0x2a4b8a[_0x4e3a72(0x29a)][_0x4e3a72(0x1dd)],'handler':(_0x8de9db,_0x1c8fe6)=>{const _0x3ddb3d=_0x4e3a72;if(!_0x1c8fe6)return!0x1;let _0x4562ba=_0x8de9db[_0x3ddb3d(0x295)](_0x2a4b8a[_0x3ddb3d(0x302)]),{unitId:_0x156cbd,tableId:_0x5d1dd5,viewId:_0x45f05a,filter:_0x4001d6}=_0x1c8fe6,_0x5ac127=_0x4562ba[_0x3ddb3d(0x460)](_0x156cbd,_0x2a4b8a[_0x3ddb3d(0x22c)][_0x3ddb3d(0x2c2)]),_0x2abfbe=(_0x4001d6==null?void 0x0:_0x4001d6[_0x3ddb3d(0x515)][_0x3ddb3d(0x2ef)](_0x5f521f=>_0x5f521f[_0x3ddb3d(0x1b3)]))??[];if(!_0x5ac127||!_0x588c09(_0x5ac127,_0x5d1dd5,{'viewIds':[_0x45f05a],'fieldIds':_0x2abfbe}))return!0x1;let _0x5b5a1b=_0x8de9db[_0x3ddb3d(0x295)](_0x2a4b8a[_0x3ddb3d(0x39b)]),_0x1878f9=_0x8de9db[_0x3ddb3d(0x295)](_0x2a4b8a[_0x3ddb3d(0x44a)]),_0x5dcd85=_0x5ac127[_0x3ddb3d(0x566)](),_0x1ac1c4=new _0x5a8274()['setViewFilter'](_0x5dcd85,_0x5d1dd5,_0x45f05a,_0x4001d6),_0x80c050=new _0x5c1670()[_0x3ddb3d(0x425)](_0x5dcd85,_0x1ac1c4),_0x3444ae={'unitId':_0x156cbd,'op':_0x1ac1c4},_0x4739ce={'unitId':_0x156cbd,'op':_0x80c050};return _0x5b5a1b[_0x3ddb3d(0x25d)](_0x456ed5['id'],_0x3444ae)?(_0x4562ba[_0x3ddb3d(0x576)](_0x156cbd),_0x1878f9[_0x3ddb3d(0x3fa)]({'unitID':_0x156cbd,'undoMutations':[{'id':_0x456ed5['id'],'params':_0x4739ce}],'redoMutations':[{'id':_0x456ed5['id'],'params':_0x3444ae}]}),!0x0):!0x1;}},_0x56ebe9={'id':_0x4e3a72(0x4b7),'type':_0x2a4b8a[_0x4e3a72(0x29a)][_0x4e3a72(0x1dd)],'handler':(_0x307a73,_0x33b47a)=>{const _0x2ee2ae=_0x4e3a72;if(!_0x33b47a)return!0x1;let _0xa16144=_0x307a73['get'](_0x2a4b8a[_0x2ee2ae(0x302)]),{unitId:_0x160a99,tableId:_0xab85be,viewId:_0x16b01a,group:_0x290044}=_0x33b47a,_0x58d60c=_0xa16144[_0x2ee2ae(0x460)](_0x160a99,_0x2a4b8a[_0x2ee2ae(0x22c)]['UNIVER_BASE']);if(!_0x58d60c||!_0x588c09(_0x58d60c,_0xab85be,{'viewIds':[_0x16b01a],'fieldIds':_0x290044['map'](_0x44bd48=>_0x44bd48[_0x2ee2ae(0x1b3)])}))return!0x1;let _0x1f2916=_0x307a73['get'](_0x2a4b8a[_0x2ee2ae(0x39b)]),_0x4cdcea=_0x307a73[_0x2ee2ae(0x295)](_0x2a4b8a[_0x2ee2ae(0x44a)]),_0x5b3acc=_0x58d60c['getSnapshot'](),_0x3e5ab1=new _0x5a8274()['setViewGroup'](_0x5b3acc,_0xab85be,_0x16b01a,_0x290044),_0x1ebec5=new _0x5c1670()[_0x2ee2ae(0x425)](_0x5b3acc,_0x3e5ab1),_0x934a76={'unitId':_0x160a99,'op':_0x3e5ab1},_0x480b2f={'unitId':_0x160a99,'op':_0x1ebec5};return _0x1f2916[_0x2ee2ae(0x25d)](_0x456ed5['id'],_0x934a76)?(_0xa16144[_0x2ee2ae(0x576)](_0x160a99),_0x4cdcea[_0x2ee2ae(0x3fa)]({'unitID':_0x160a99,'undoMutations':[{'id':_0x456ed5['id'],'params':_0x480b2f}],'redoMutations':[{'id':_0x456ed5['id'],'params':_0x934a76}]}),!0x0):!0x1;}},_0x57ac4c={'id':_0x4e3a72(0x3d6),'type':_0x2a4b8a['CommandType'][_0x4e3a72(0x1dd)],'handler':(_0x5b612c,_0x487479)=>{const _0x35e75b=_0x4e3a72;if(!_0x487479)return!0x1;let _0x17ad0e=_0x5b612c[_0x35e75b(0x295)](_0x2a4b8a[_0x35e75b(0x302)]),{unitId:_0x158650,tableId:_0x400f76,viewId:_0xf9d5af,sort:_0x53c5f0}=_0x487479,_0x489b41=_0x17ad0e[_0x35e75b(0x460)](_0x158650,_0x2a4b8a[_0x35e75b(0x22c)][_0x35e75b(0x2c2)]);if(!_0x489b41||!_0x588c09(_0x489b41,_0x400f76,{'viewIds':[_0xf9d5af],'fieldIds':_0x53c5f0[_0x35e75b(0x2ef)](_0x1b4dcb=>_0x1b4dcb[_0x35e75b(0x1b3)])}))return!0x1;let _0x1cac3d=_0x5b612c[_0x35e75b(0x295)](_0x2a4b8a[_0x35e75b(0x39b)]),_0x21c70c=_0x5b612c[_0x35e75b(0x295)](_0x2a4b8a[_0x35e75b(0x44a)]),_0x5c0d84=_0x489b41['getSnapshot'](),_0x12d836=new _0x5a8274()[_0x35e75b(0x22a)](_0x5c0d84,_0x400f76,_0xf9d5af,_0x53c5f0),_0x334360=new _0x5c1670()[_0x35e75b(0x425)](_0x5c0d84,_0x12d836),_0x11d898={'unitId':_0x158650,'op':_0x12d836},_0x29a050={'unitId':_0x158650,'op':_0x334360};return _0x1cac3d[_0x35e75b(0x25d)](_0x456ed5['id'],_0x11d898)?(_0x17ad0e[_0x35e75b(0x576)](_0x158650),_0x21c70c[_0x35e75b(0x3fa)]({'unitID':_0x158650,'undoMutations':[{'id':_0x456ed5['id'],'params':_0x29a050}],'redoMutations':[{'id':_0x456ed5['id'],'params':_0x11d898}]}),!0x0):!0x1;}},_0x14872a={'id':_0x4e3a72(0x375),'type':_0x2a4b8a[_0x4e3a72(0x29a)][_0x4e3a72(0x1dd)],'handler'(_0x391a12,_0x22653c){const _0x3b263e=_0x4e3a72;if(!_0x22653c)return!0x1;let _0x2d5b91=_0x391a12[_0x3b263e(0x295)](_0x2a4b8a[_0x3b263e(0x302)]),{unitId:_0x15e147,tableId:_0x4ecbf4,recordId:_0x520b10,fieldId:_0x3cec16,value:_0x404dea}=_0x22653c,_0x32b638=_0x2d5b91[_0x3b263e(0x460)](_0x15e147,_0x2a4b8a['UniverInstanceType'][_0x3b263e(0x2c2)]);if(!_0x32b638||!_0x588c09(_0x32b638,_0x4ecbf4,{'recordIds':[_0x520b10],'fieldIds':[_0x3cec16]})||!_0x4ce062(_0x32b638,_0x4ecbf4,_0x3cec16,_0x404dea))return!0x1;let _0x317e15=_0x32b638[_0x3b263e(0x566)]()[_0x3b263e(0x46b)][_0x4ecbf4],_0x10e1a6=_0x5c7c42(_0x317e15,_0x3cec16)&&_0x471d88(_0x317e15)['includes'](_0x3cec16),_0x14ea45=_0x10e1a6?_0x10c7de(_0x317e15,_0x3cec16):null,_0x57b134=(_0x14ea45==null?void 0x0:_0x14ea45['parentByRecordId'][_0x3b263e(0x295)](_0x520b10))??null,_0xef9988=_0x10e1a6?_0x380ec4(_0x404dea)[0x0]??null:null;if(_0x14ea45){if(_0xef9988&&!_0x317e15[_0x3b263e(0x54e)][_0xef9988])throw new _0x3f0ef5(_0x3b263e(0x254));let _0x3e6fb8=_0x449e66(_0x14ea45,_0x520b10,_0xef9988);if(!_0x3e6fb8[_0x3b263e(0x4fb)])throw new _0x3f0ef5(_0x3e6fb8['reason']===_0x2a4b8a['BaseHierarchyInvalidReason'][_0x3b263e(0x1aa)]?_0x3b263e(0x351):_0x3e6fb8[_0x3b263e(0x57e)]===_0x2a4b8a[_0x3b263e(0x23d)][_0x3b263e(0x2c8)]?_0x3b263e(0x388):'maxDepth');}let _0x2522c9=_0x391a12[_0x3b263e(0x295)](_0x2a4b8a[_0x3b263e(0x39b)]),_0x23df2d=_0x391a12[_0x3b263e(0x295)](_0x2a4b8a[_0x3b263e(0x44a)]),_0x3d5de7=_0x391a12[_0x3b263e(0x295)](_0xe37605),_0x4b1525;try{_0x4b1525=_0x3d5de7[_0x3b263e(0x298)](_0x32b638,_0x4ecbf4,_0x520b10,_0x3cec16,_0x404dea);}catch(_0x27aecb){return console['error']('Failed\x20to\x20create\x20update\x20cell\x20operation:',_0x27aecb),!0x1;}let _0xa97d1c=new _0x5c1670()['invertOp'](_0x32b638[_0x3b263e(0x566)](),_0x4b1525),_0x377742=_0x10e1a6&&_0x57b134!==_0xef9988?[{'tableId':_0x4ecbf4,'fieldId':_0x3cec16,'recordId':_0x520b10,'oldParentRecordId':_0x57b134,'parentRecordId':_0xef9988}]:void 0x0,_0x2e02da={'unitId':_0x15e147,'op':_0x4b1525,'trigger':_0x377742?_0x14872a['id']:void 0x0,'hierarchyChanges':_0x377742,'source':_0x377742?_0x22653c[_0x3b263e(0x332)]??'ui':void 0x0},_0x5e2e39={..._0x2e02da,'source':_0x377742?_0x3b263e(0x1be):void 0x0},_0x525266={'unitId':_0x15e147,'op':_0xa97d1c,'trigger':_0x377742?_0x14872a['id']:void 0x0,'hierarchyChanges':_0x377742==null?void 0x0:_0x377742[_0x3b263e(0x2ef)](_0x250d03=>({..._0x250d03,'oldParentRecordId':_0x250d03[_0x3b263e(0x3fe)],'parentRecordId':_0x250d03[_0x3b263e(0x234)]})),'source':_0x377742?_0x3b263e(0x54f):void 0x0};return _0x2522c9[_0x3b263e(0x25d)](_0x456ed5['id'],_0x2e02da)?(_0x2d5b91[_0x3b263e(0x576)](_0x15e147),_0x23df2d[_0x3b263e(0x3fa)]({'unitID':_0x15e147,'undoMutations':[{'id':_0x456ed5['id'],'params':_0x525266}],'redoMutations':[{'id':_0x456ed5['id'],'params':_0x5e2e39}]}),!0x0):!0x1;}},_0x2bf169={'id':_0x4e3a72(0x261),'type':_0x2a4b8a[_0x4e3a72(0x29a)]['COMMAND'],'handler'(_0x262cea,_0x1f2319){const _0x32b5ae=_0x4e3a72;if(!_0x1f2319)return!0x1;let _0x22d8eb=_0x262cea[_0x32b5ae(0x295)](_0x2a4b8a['IUniverInstanceService']),{unitId:_0xfc435d,tableId:_0x4106dd,fieldId:_0x59b288}=_0x1f2319,_0x5d10eb=_0x22d8eb[_0x32b5ae(0x460)](_0xfc435d,_0x2a4b8a[_0x32b5ae(0x22c)][_0x32b5ae(0x2c2)]);if(!_0x5d10eb||!_0x588c09(_0x5d10eb,_0x4106dd,{'fieldIds':[_0x59b288]}))return!0x1;let _0x4cc728=_0x262cea['get'](_0x2a4b8a[_0x32b5ae(0x39b)]),_0x5c960e=_0x262cea[_0x32b5ae(0x295)](_0x2a4b8a[_0x32b5ae(0x44a)]),_0x42dd92=_0x5d10eb['getSnapshot'](),_0x277225=_0x1f2319[_0x32b5ae(0x501)][_0x32b5ae(0x571)](),_0x2a6964=new _0x5a8274()[_0x32b5ae(0x3dc)](_0x42dd92,_0x4106dd,_0x59b288,{'description':_0x277225}),_0xd6aadc=new _0x5c1670()['invertOp'](_0x5d10eb[_0x32b5ae(0x566)](),_0x2a6964),_0x123fe0={'unitId':_0xfc435d,'op':_0x2a6964},_0x3533cc={'unitId':_0xfc435d,'op':_0xd6aadc};return _0x4cc728[_0x32b5ae(0x25d)](_0x456ed5['id'],_0x123fe0)?(_0x22d8eb[_0x32b5ae(0x576)](_0xfc435d),_0x5c960e[_0x32b5ae(0x3fa)]({'unitID':_0xfc435d,'undoMutations':[{'id':_0x456ed5['id'],'params':_0x3533cc}],'redoMutations':[{'id':_0x456ed5['id'],'params':_0x123fe0}]}),!0x0):!0x1;}},_0x12bf81={'id':'base.command.update-base-field','type':_0x2a4b8a['CommandType'][_0x4e3a72(0x1dd)],'handler':(_0xc442ee,_0x22790d)=>{const _0x474c4c=_0x4e3a72;if(!_0x22790d)return!0x1;let _0x29ee2d=_0xc442ee[_0x474c4c(0x295)](_0x2a4b8a[_0x474c4c(0x302)]),{unitId:_0x4caca6,tableId:_0x1909d0,fieldId:_0xb470f4,patch:_0xef6609}=_0x22790d,_0x1492a8=_0x29ee2d[_0x474c4c(0x460)](_0x4caca6,_0x2a4b8a['UniverInstanceType'][_0x474c4c(0x2c2)]);if(!_0x1492a8||_0xb470f4===_0x2a4b8a[_0x474c4c(0x32a)]||!_0x588c09(_0x1492a8,_0x1909d0,{'fieldIds':[_0xb470f4]}))return!0x1;let _0x119ac4=_0xc442ee[_0x474c4c(0x295)](_0x2a4b8a[_0x474c4c(0x39b)]),_0x3a44da=_0xc442ee[_0x474c4c(0x295)](_0x2a4b8a[_0x474c4c(0x44a)]),_0x1e82a2=_0x1492a8[_0x474c4c(0x566)]();if(!_0x25482d(_0x1492a8,_0x1909d0,{..._0x1e82a2[_0x474c4c(0x46b)][_0x1909d0][_0x474c4c(0x3c4)][_0xb470f4],..._0xef6609}))return!0x1;let _0x86b4e3=new _0x5a8274()[_0x474c4c(0x3dc)](_0x1e82a2,_0x1909d0,_0xb470f4,_0xef6609),_0x583be1=new _0x5c1670()['invertOp'](_0x1e82a2,_0x86b4e3),_0x24a6a1={'unitId':_0x4caca6,'op':_0x86b4e3},_0x555488={'unitId':_0x4caca6,'op':_0x583be1};return _0x119ac4[_0x474c4c(0x25d)](_0x456ed5['id'],_0x24a6a1)?(_0x29ee2d['focusUnit'](_0x4caca6),_0x3a44da[_0x474c4c(0x3fa)]({'unitID':_0x4caca6,'undoMutations':[{'id':_0x456ed5['id'],'params':_0x555488}],'redoMutations':[{'id':_0x456ed5['id'],'params':_0x24a6a1}]}),!0x0):!0x1;}},_0x3b4d5a={'id':_0x4e3a72(0x3fc),'type':_0x2a4b8a[_0x4e3a72(0x29a)][_0x4e3a72(0x1dd)],'handler':(_0x3e170d,_0x40bf67)=>{const _0x4758d6=_0x4e3a72;if(!_0x40bf67)return!0x1;let _0x589327=_0x3e170d[_0x4758d6(0x295)](_0x2a4b8a['IUniverInstanceService']),{unitId:_0x13c5eb,tableId:_0x1801d7,viewId:_0x105af3,patch:_0x1a8345}=_0x40bf67,_0x5a332e=_0x589327['getUnit'](_0x13c5eb,_0x2a4b8a[_0x4758d6(0x22c)][_0x4758d6(0x2c2)]);if(!_0x5a332e||!_0x588c09(_0x5a332e,_0x1801d7,{'viewIds':[_0x105af3]}))return!0x1;let _0x5a3266=_0x3e170d[_0x4758d6(0x295)](_0x2a4b8a[_0x4758d6(0x39b)]),_0x543d0b=_0x3e170d['get'](_0x2a4b8a[_0x4758d6(0x44a)]),_0x3ea111=_0x5a332e[_0x4758d6(0x566)](),_0x2efe3d=new _0x5a8274()['updateViewConfig'](_0x3ea111,_0x1801d7,_0x105af3,_0x1a8345),_0x1ddea0=new _0x5c1670()[_0x4758d6(0x425)](_0x3ea111,_0x2efe3d),_0x1ad157={'unitId':_0x13c5eb,'op':_0x2efe3d},_0x4c7617={'unitId':_0x13c5eb,'op':_0x1ddea0};return _0x5a3266[_0x4758d6(0x25d)](_0x456ed5['id'],_0x1ad157)?(_0x589327[_0x4758d6(0x576)](_0x13c5eb),_0x543d0b[_0x4758d6(0x3fa)]({'unitID':_0x13c5eb,'undoMutations':[{'id':_0x456ed5['id'],'params':_0x4c7617}],'redoMutations':[{'id':_0x456ed5['id'],'params':_0x1ad157}]}),!0x0):!0x1;}},_0x21f5ae={'id':_0x4e3a72(0x53c),'type':_0x2a4b8a[_0x4e3a72(0x29a)]['COMMAND'],'handler':(_0x47c32a,_0x50edde)=>{const _0x4b5a50=_0x4e3a72;if(!_0x50edde)return!0x1;let _0x3829aa=_0x47c32a['get'](_0x2a4b8a[_0x4b5a50(0x302)]),{unitId:_0x559a90,tableId:_0x4168d9,recordId:_0x1c172c,orderKey:_0x3671db}=_0x50edde,_0x7cc544=_0x3829aa[_0x4b5a50(0x460)](_0x559a90,_0x2a4b8a[_0x4b5a50(0x22c)]['UNIVER_BASE']);if(!_0x7cc544||!_0x588c09(_0x7cc544,_0x4168d9,{'recordIds':[_0x1c172c]}))return!0x1;let _0x386e19=_0x47c32a['get'](_0x2a4b8a[_0x4b5a50(0x39b)]),_0x6bc418=_0x47c32a[_0x4b5a50(0x295)](_0x2a4b8a[_0x4b5a50(0x44a)]),_0x37feaa=_0x7cc544['getSnapshot'](),_0x5b17eb=new _0x5a8274()[_0x4b5a50(0x1f3)](_0x37feaa,_0x4168d9,_0x1c172c,_0x3671db),_0xfc51fa=new _0x5c1670()['invertOp'](_0x37feaa,_0x5b17eb),_0xb0d314={'unitId':_0x559a90,'op':_0x5b17eb},_0x417e84={'unitId':_0x559a90,'op':_0xfc51fa};return _0x386e19['syncExecuteCommand'](_0x456ed5['id'],_0xb0d314)?(_0x3829aa[_0x4b5a50(0x576)](_0x559a90),_0x6bc418[_0x4b5a50(0x3fa)]({'unitID':_0x559a90,'undoMutations':[{'id':_0x456ed5['id'],'params':_0x417e84}],'redoMutations':[{'id':_0x456ed5['id'],'params':_0xb0d314}]}),!0x0):!0x1;}},_0xf8e1b7=function(_0x899d8){const _0x2bb9a2=_0x4e3a72;return _0x899d8[_0x2bb9a2(0x267)]=_0x2bb9a2(0x1b0),_0x899d8[_0x2bb9a2(0x1e3)]=_0x2bb9a2(0x4a8),_0x899d8[_0x2bb9a2(0x41f)]=_0x2bb9a2(0x3ba),_0x899d8[_0x2bb9a2(0x3e7)]=_0x2bb9a2(0x401),_0x899d8;}({}),_0x55d00c={'id':_0x4e3a72(0x511),'type':_0x2a4b8a['CommandType'][_0x4e3a72(0x1dd)],'handler':(_0x5d319a,_0xf5bf2f)=>{const _0x4d67ff=_0x4e3a72;var _0x4ca1b9;if(!_0xf5bf2f)return!0x1;let _0x461e6d=_0x5d319a[_0x4d67ff(0x295)](_0x2a4b8a[_0x4d67ff(0x302)]),_0x2dedf2=_0x461e6d[_0x4d67ff(0x460)](_0xf5bf2f['unitId'],_0x2a4b8a[_0x4d67ff(0x22c)][_0x4d67ff(0x2c2)]);if(!_0x2dedf2||!_0x588c09(_0x2dedf2,_0xf5bf2f[_0x4d67ff(0x398)],{'viewIds':[_0xf5bf2f[_0x4d67ff(0x4cd)]]}))return!0x1;let _0x21bb9b=_0x2dedf2[_0x4d67ff(0x566)](),_0x13cee6=_0x21bb9b['tables'][_0xf5bf2f[_0x4d67ff(0x398)]],_0x8083f5=_0x5e7965(((_0x4ca1b9=_0x13cee6[_0x4d67ff(0x1b4)][_0xf5bf2f[_0x4d67ff(0x4cd)]][_0x4d67ff(0x3e8)][_0x4d67ff(0x509)])==null?void 0x0:_0x4ca1b9[_0x4d67ff(0x533)])??[],_0xf5bf2f);if(!_0x8083f5)return!0x1;_0x21f5af(_0x13cee6,_0x8083f5);let _0x27c934=new _0x5a8274()['updateViewConfig'](_0x21bb9b,_0xf5bf2f['tableId'],_0xf5bf2f[_0x4d67ff(0x4cd)],{'conditionalColoring':_0x8083f5[_0x4d67ff(0x46c)]?{'rules':_0x8083f5}:null}),_0x9bd835=new _0x5c1670()[_0x4d67ff(0x425)](_0x21bb9b,_0x27c934),_0x367272={'unitId':_0xf5bf2f[_0x4d67ff(0x257)],'op':_0x27c934},_0x4133e9={'unitId':_0xf5bf2f[_0x4d67ff(0x257)],'op':_0x9bd835};return _0x5d319a['get'](_0x2a4b8a[_0x4d67ff(0x39b)])[_0x4d67ff(0x25d)](_0x456ed5['id'],_0x367272)?(_0x461e6d[_0x4d67ff(0x576)](_0xf5bf2f[_0x4d67ff(0x257)]),_0x5d319a[_0x4d67ff(0x295)](_0x2a4b8a[_0x4d67ff(0x44a)])[_0x4d67ff(0x3fa)]({'unitID':_0xf5bf2f[_0x4d67ff(0x257)],'undoMutations':[{'id':_0x456ed5['id'],'params':_0x4133e9}],'redoMutations':[{'id':_0x456ed5['id'],'params':_0x367272}]}),!0x0):!0x1;}};function _0x5e7965(_0x6eea39,_0x440a18){const _0x51ff51=_0x4e3a72;switch(_0x440a18['type']){case'set':return _0x2a4b8a[_0x51ff51(0x265)][_0x51ff51(0x2ae)](_0x440a18['rules']);case _0x51ff51(0x4a8):return[..._0x2a4b8a[_0x51ff51(0x265)][_0x51ff51(0x2ae)](_0x6eea39),_0x2a4b8a['Tools'][_0x51ff51(0x2ae)](_0x440a18[_0x51ff51(0x580)])];case _0x51ff51(0x3ba):{let _0x23f3ad=_0x6eea39['filter'](_0x2aaafb=>_0x2aaafb['id']!==_0x440a18['ruleId']);return _0x23f3ad[_0x51ff51(0x46c)]===_0x6eea39['length']?null:_0x2a4b8a[_0x51ff51(0x265)]['deepClone'](_0x23f3ad);}case _0x51ff51(0x401):return _0x6eea39[_0x51ff51(0x46c)]?[]:null;}}function _0x21f5af(_0x2a25e4,_0x417b5c){const _0x1e5653=_0x4e3a72;if(!Array[_0x1e5653(0x35c)](_0x417b5c))throw TypeError(_0x1e5653(0x483));let _0x4a79c8=new Set();for(let [_0x17b79f,_0x356f5c]of _0x417b5c[_0x1e5653(0x2f1)]())_0xe7c4d(_0x2a25e4,_0x356f5c,_0x56db25(_0x356f5c,_0x17b79f,_0x4a79c8));}function _0x56db25(_0x222450,_0x2d00f6,_0x590122){const _0x185c3e=_0x4e3a72;if(!_0x222450||typeof _0x222450!='object')throw TypeError('[UpdateBaseViewConditionalColorRulesCommand]:\x20rule\x20at\x20index\x20'+_0x2d00f6+_0x185c3e(0x3c1));let _0x29e207=typeof _0x222450['id']==_0x185c3e(0x4ad)&&_0x222450['id']['trim']()?'\x22'+_0x222450['id']+'\x22':_0x185c3e(0x423)+_0x2d00f6;if(typeof _0x222450['id']!=_0x185c3e(0x4ad)||!_0x222450['id'][_0x185c3e(0x571)]())throw Error('[UpdateBaseViewConditionalColorRulesCommand]:\x20rule\x20'+_0x29e207+_0x185c3e(0x57b));if(_0x590122[_0x185c3e(0x537)](_0x222450['id']))throw Error(_0x185c3e(0x24c)+_0x222450['id']+'\x22.');_0x590122[_0x185c3e(0x4a8)](_0x222450['id']);let _0x353302=typeof _0x222450['color']==_0x185c3e(0x4ad)&&_0x222450['color'][_0x185c3e(0x571)]()?new _0x2a4b8a[(_0x185c3e(0x589))](_0x222450[_0x185c3e(0x33a)]):null;if(!(_0x353302!=null&&_0x353302['isValid']))throw Error(_0x185c3e(0x23e)+_0x29e207+_0x185c3e(0x1bd));return _0x29e207;}function _0xe7c4d(_0x1c3a6f,_0x2ce799,_0x4ee90e){const _0x46a4a2=_0x4e3a72;let _0x16b0f7=new Set(Object[_0x46a4a2(0x462)](_0x2a4b8a[_0x46a4a2(0x219)])),_0x74b7e5=new Set(Object['values'](_0x2a4b8a['BaseConditionalColorOperator'])),_0x31c6a9=new Set(Object['values'](_0x2a4b8a[_0x46a4a2(0x1ae)]));if(!_0x16b0f7[_0x46a4a2(0x537)](_0x2ce799[_0x46a4a2(0x326)]))throw Error(_0x46a4a2(0x23e)+_0x4ee90e+_0x46a4a2(0x54d)+String(_0x2ce799[_0x46a4a2(0x326)])+'\x22.');let _0x484291=typeof _0x2ce799[_0x46a4a2(0x1b3)]=='string'?_0x1c3a6f[_0x46a4a2(0x3c4)][_0x2ce799[_0x46a4a2(0x1b3)]]:void 0x0;if(!_0x484291||_0x484291[_0x46a4a2(0x4d3)]===!0x0||_0x484291[_0x46a4a2(0x3a3)]===_0x2a4b8a[_0x46a4a2(0x1f7)][_0x46a4a2(0x1c0)])throw Error(_0x46a4a2(0x23e)+_0x4ee90e+'\x20references\x20missing\x20or\x20non-public\x20field\x20\x22'+String(_0x2ce799[_0x46a4a2(0x1b3)])+'\x22.');if(!_0x74b7e5[_0x46a4a2(0x537)](_0x2ce799[_0x46a4a2(0x376)]))throw Error(_0x46a4a2(0x23e)+_0x4ee90e+_0x46a4a2(0x2e9)+String(_0x2ce799['operator'])+'\x22.');if(_0x2ce799[_0x46a4a2(0x522)]!==void 0x0&&!_0x31c6a9[_0x46a4a2(0x537)](_0x2ce799['dateMode']))throw Error(_0x46a4a2(0x23e)+_0x4ee90e+_0x46a4a2(0x443)+String(_0x2ce799[_0x46a4a2(0x522)])+'\x22.');if(_0x2ce799['target']===_0x2a4b8a[_0x46a4a2(0x219)][_0x46a4a2(0x54a)])return;let _0x4c813d=_0x1b2c82(_0x484291[_0x46a4a2(0x3a3)]);if(!_0x4c813d[_0x46a4a2(0x1a7)](_0x2ce799[_0x46a4a2(0x376)]))throw Error(_0x46a4a2(0x23e)+_0x4ee90e+_0x46a4a2(0x3e4)+_0x2ce799[_0x46a4a2(0x376)]+_0x46a4a2(0x32b)+_0x484291[_0x46a4a2(0x3a3)]+_0x46a4a2(0x503)+_0x4c813d[_0x46a4a2(0x2fe)](',\x20')+'.');if(_0x2ce799[_0x46a4a2(0x522)]!==void 0x0&&!_0x2ca4be(_0x484291['type']))throw Error('[UpdateBaseViewConditionalColorRulesCommand]:\x20rule\x20'+_0x4ee90e+_0x46a4a2(0x3bc));}let _0x3ff764={'id':_0x4e3a72(0x245),'type':_0x2a4b8a[_0x4e3a72(0x29a)]['COMMAND'],'handler':(_0x34262c,_0x3a45be)=>{const _0x324881=_0x4e3a72;if(!_0x3a45be)return!0x1;let _0x2835e0=_0x34262c[_0x324881(0x295)](_0x2a4b8a[_0x324881(0x302)]),{unitId:_0x44ce81,tableId:_0x1458d0,viewId:_0x5daec7,patch:_0x73a42c}=_0x3a45be,_0x44fb70=_0x2835e0[_0x324881(0x460)](_0x44ce81,_0x2a4b8a[_0x324881(0x22c)][_0x324881(0x2c2)]);if(!_0x44fb70||!_0x588c09(_0x44fb70,_0x1458d0,{'viewIds':[_0x5daec7]}))return!0x1;let _0x275052=_0x34262c[_0x324881(0x295)](_0x2a4b8a[_0x324881(0x39b)]),_0x545d66=_0x34262c[_0x324881(0x295)](_0x2a4b8a[_0x324881(0x44a)]),_0x26fa23=_0x44fb70[_0x324881(0x566)](),_0x2819fc=new _0x5a8274()[_0x324881(0x2ca)](_0x26fa23,_0x1458d0,_0x5daec7,_0x73a42c),_0x597486=new _0x5c1670()[_0x324881(0x425)](_0x26fa23,_0x2819fc),_0x35653d={'unitId':_0x44ce81,'op':_0x2819fc},_0x37bb30={'unitId':_0x44ce81,'op':_0x597486};return _0x275052[_0x324881(0x25d)](_0x456ed5['id'],_0x35653d)?(_0x2835e0['focusUnit'](_0x44ce81),_0x545d66[_0x324881(0x3fa)]({'unitID':_0x44ce81,'undoMutations':[{'id':_0x456ed5['id'],'params':_0x37bb30}],'redoMutations':[{'id':_0x456ed5['id'],'params':_0x35653d}]}),!0x0):!0x1;}},_0x4616ab={'id':_0x4e3a72(0x383),'type':_0x2a4b8a[_0x4e3a72(0x29a)][_0x4e3a72(0x1dd)],'handler'(_0xbade18,_0x109e96){const _0x6960a3=_0x4e3a72;if(!_0x109e96)return{'valid':!0x1,'reason':_0x6960a3(0x35e)};let _0x2e3f67=_0xbade18['get'](_0x2a4b8a[_0x6960a3(0x302)])[_0x6960a3(0x460)](_0x109e96[_0x6960a3(0x257)],_0x2a4b8a[_0x6960a3(0x22c)][_0x6960a3(0x2c2)]),_0x89809e=_0x2e3f67==null?void 0x0:_0x2e3f67['getSnapshot'](),_0x204a21=_0x89809e==null?void 0x0:_0x89809e[_0x6960a3(0x46b)][_0x109e96[_0x6960a3(0x398)]];return!_0x89809e||!_0x204a21?{'valid':!0x1,'reason':_0x6960a3(0x2a8)}:new _0x2a5bc1()['validateFormula'](_0x109e96['formula'],_0x204a21,{'snapshot':_0x89809e});}};function _0x3891c7(_0x40b60f){const _0x14fbd9=_0x4e3a72;let _0x5bac0d=_0x40b60f['now']??Date['now'](),_0x1e0b13=_0x40b60f[_0x14fbd9(0x21a)]??_0x40b60f['id']+_0x14fbd9(0x56c),_0x3a0491=_0x40b60f[_0x14fbd9(0x44c)]??_0x40b60f['id']+_0x14fbd9(0x22e),_0x420433=_0x40b60f[_0x14fbd9(0x2ec)]??0x0,_0x57e922=(0x0,_0x2a4b8a[_0x14fbd9(0x1d8)])(),_0x167345={'id':_0x1e0b13,'name':_0x40b60f[_0x14fbd9(0x374)]??_0x14fbd9(0x1de),'type':_0x2a4b8a[_0x14fbd9(0x1f7)][_0x14fbd9(0x575)],'config':{'placeholder':_0x14fbd9(0x24b)}},_0x1ed710={},_0x368dce=[],_0x44eed7={},_0x3b6b28={},_0x57b2f7={};for(let _0x43d0fb=0x0;_0x43d0fb<_0x420433;_0x43d0fb++){let _0x456794=_0x40b60f['id']+_0x14fbd9(0x325)+(_0x43d0fb+0x1);_0x1ed710[_0x456794]={'id':_0x456794,'values':{[_0x2a4b8a['BASE_RECORD_ID_FIELD_ID']]:_0x456794,..._0x40b60f[_0x14fbd9(0x274)]?{[_0x1e0b13]:_0x40b60f[_0x14fbd9(0x274)]+'\x20'+(_0x43d0fb+0x1)}:{}},'orderKey':String(_0x43d0fb+0x1)[_0x14fbd9(0x3e6)](0x4,'0'),'createdAt':_0x5bac0d,'updatedAt':_0x5bac0d},_0x368dce['push'](_0x456794),_0x44eed7[_0x456794]=_0x43d0fb,_0x3b6b28[_0x43d0fb]=_0x456794,_0x57b2f7[_0x43d0fb]={0x0:{'v':_0x456794,'t':_0x2a4b8a['CellValueType'][_0x14fbd9(0x2b4)]}},_0x40b60f[_0x14fbd9(0x274)]&&(_0x57b2f7[_0x43d0fb][0x1]={'v':_0x40b60f['recordNamePrefix']+'\x20'+(_0x43d0fb+0x1),'t':_0x2a4b8a[_0x14fbd9(0x1d3)][_0x14fbd9(0x2b4)]});}let _0x186883={'id':_0x3a0491,'tableId':_0x40b60f['id'],'name':_0x14fbd9(0x37b),'type':_0x2a4b8a['BaseViewType'][_0x14fbd9(0x37b)],'fieldOrder':[_0x2a4b8a['BASE_RECORD_ID_FIELD_ID'],_0x1e0b13],'fieldSettings':{[_0x2a4b8a[_0x14fbd9(0x32a)]]:{'hidden':!0x0}},'config':{'frozenFieldCount':0x1}};return{'id':_0x40b60f['id'],'name':_0x40b60f['name'],'primaryFieldId':_0x1e0b13,'fieldOrder':[_0x2a4b8a[_0x14fbd9(0x32a)],_0x1e0b13],'fields':{[_0x2a4b8a[_0x14fbd9(0x32a)]]:_0x57e922,[_0x1e0b13]:_0x167345},'records':_0x1ed710,'recordOrder':_0x368dce,'rowIndex':_0x44eed7,'rowId':_0x3b6b28,'colIndex':{[_0x2a4b8a['BASE_RECORD_ID_FIELD_ID']]:0x0,[_0x1e0b13]:0x1},'colId':{0x0:_0x2a4b8a[_0x14fbd9(0x32a)],0x1:_0x1e0b13},'cellData':_0x57b2f7,'views':{[_0x3a0491]:_0x186883},'viewOrder':[_0x3a0491]};}let _0xf35432=_0x4e3a72(0x3d8);function _0x36a1a6(_0x2c68ea){const _0x507545=_0x4e3a72;let _0x5e8734=_0x3891c7({'id':_0x2c68ea[_0x507545(0x399)],'name':_0x2c68ea[_0x507545(0x492)]??_0x2c68ea[_0x507545(0x58f)],'recordCount':0x0});return{..._0x5e8734,'resources':{..._0x5e8734[_0x507545(0x32c)]??{},[_0xf35432]:_0x880537(_0x2c68ea)}};}function _0x48af69(_0xd0faa6){const _0x11b282=_0x4e3a72;return{'id':_0x456ed5['id'],'params':{'unitId':_0xd0faa6[_0x11b282(0x257)],'op':_0x2a4b8a[_0x11b282(0x288)][_0x11b282(0x3a3)][_0x11b282(0x1e7)](_0x2a4b8a[_0x11b282(0x288)][_0x11b282(0x3ee)]([_0x11b282(0x46b),_0xd0faa6[_0x11b282(0x577)]['id']],_0xd0faa6['table']),_0x2a4b8a[_0x11b282(0x288)][_0x11b282(0x3ee)]([_0x11b282(0x3a0),_0xd0faa6[_0x11b282(0x4a4)]??_0xd0faa6['snapshot']['tableOrder'][_0x11b282(0x46c)]],_0xd0faa6[_0x11b282(0x577)]['id'])),'trigger':_0x11b282(0x478)}};}function _0xf875a0(_0x3ec5a6){const _0x5f2e83=_0x4e3a72;let _0x284d97=_0x3ec5a6['snapshot'][_0x5f2e83(0x3a0)]['indexOf'](_0x3ec5a6[_0x5f2e83(0x398)]);if(!(!_0x3ec5a6[_0x5f2e83(0x480)][_0x5f2e83(0x46b)][_0x3ec5a6[_0x5f2e83(0x398)]]||_0x284d97<0x0))return{'id':_0x456ed5['id'],'params':{'unitId':_0x3ec5a6[_0x5f2e83(0x257)],'op':_0x2a4b8a[_0x5f2e83(0x288)]['type'][_0x5f2e83(0x1e7)](_0x2a4b8a['JSON1'][_0x5f2e83(0x39e)](['tables',_0x3ec5a6[_0x5f2e83(0x398)]],_0x3ec5a6[_0x5f2e83(0x480)][_0x5f2e83(0x46b)][_0x3ec5a6[_0x5f2e83(0x398)]]),_0x2a4b8a['JSON1'][_0x5f2e83(0x39e)]([_0x5f2e83(0x3a0),_0x284d97],_0x3ec5a6[_0x5f2e83(0x398)])),'trigger':_0x5f2e83(0x478)}};}function _0x880537(_0xf590c5){const _0x42c3ea=_0x4e3a72;return{'version':0x1,'embedId':_0xf590c5[_0x42c3ea(0x58f)],'hostAnchorId':_0xf590c5[_0x42c3ea(0x399)],'childUnitId':_0xf590c5[_0x42c3ea(0x357)],'childType':_0xf590c5[_0x42c3ea(0x3f9)]};}function _0x5c78b5(_0x23decb){const _0x507720=_0x4e3a72;let _0x5eaa6a=Math[_0x507720(0x358)](0x0,Number(_0x23decb['decimalPlaces']??0x0)),_0x88acdd=_0x23decb['useThousands']===!0x1?'0':'#,##0',_0x553003=_0x5eaa6a?'.'+'0'[_0x507720(0x1e4)](_0x5eaa6a):'',_0x4954b1=_0x19b445(_0x23decb['abbreviation']);return''+(_0x23decb[_0x507720(0x239)]?_0x286fdb(_0x23decb[_0x507720(0x239)]):'')+_0x88acdd+_0x553003+_0x4954b1;}function _0x4fd340(_0xfe879b,_0x2c6efb){const _0x50ac05=_0x4e3a72;let _0x2d986f=_0x5c78b5(_0x2c6efb),_0x5f0d75=_0x2a4b8a[_0x50ac05(0x547)][_0x50ac05(0x4df)](_0x2d986f,_0xfe879b,{'throws':!0x1});return _0x59c23d(String(_0x5f0d75),_0x2c6efb[_0x50ac05(0x3f7)],_0x2c6efb[_0x50ac05(0x21f)]);}function _0x19b445(_0x1d3fd5){const _0x4666e7=_0x4e3a72;return _0x1d3fd5==='K'?',\x22K\x22':_0x1d3fd5==='M'?_0x4666e7(0x550):_0x1d3fd5==='B'?_0x4666e7(0x3f8):'';}function _0x286fdb(_0x4a4a72){const _0x4ddb2b=_0x4e3a72;return/^[A-Z]+$/i[_0x4ddb2b(0x432)](_0x4a4a72)?'\x22'+_0x4a4a72+'\x22':_0x4a4a72;}function _0x59c23d(_0x1b0d86,_0x1d9fc1,_0x1dd967){const _0x395f19=_0x4e3a72;let _0x50ab11=_0x1d9fc1===_0x395f19(0x317)?_0x296a1f(_0x1dd967):_0x1d9fc1;return _0x50ab11===_0x395f19(0x1bf)?_0x1b0d86[_0x395f19(0x2f6)](/,/g,'\x00')[_0x395f19(0x2f6)](/\./g,',')[_0x395f19(0x2f6)](/\0/g,'.'):_0x50ab11===_0x395f19(0x3bd)?_0x1b0d86[_0x395f19(0x2f6)](/,/g,'\x20')[_0x395f19(0x2f6)](/\./g,','):_0x50ab11===_0x395f19(0x1cc)?_0x1b0d86[_0x395f19(0x2f6)](/,/g,'\x20'):_0x1b0d86;}function _0x296a1f(_0x1b0cd7){const _0x2a2efa=_0x4e3a72;var _0x324a53,_0x14bc86;let _0x367977=_0x1b0cd7||new Intl['NumberFormat']()[_0x2a2efa(0x248)]()[_0x2a2efa(0x21f)],_0x52362c;try{_0x52362c=new Intl[(_0x2a2efa(0x581))](_0x367977,{'minimumFractionDigits':0x2,'maximumFractionDigits':0x2,'useGrouping':!0x0})[_0x2a2efa(0x304)](0xf4240);}catch{return _0x2a2efa(0x204);}let _0xd45d05=(_0x324a53=_0x52362c['find'](_0x54e3a5=>_0x54e3a5[_0x2a2efa(0x3a3)]===_0x2a2efa(0x48a)))==null?void 0x0:_0x324a53['value'],_0x23749b=(_0x14bc86=_0x52362c[_0x2a2efa(0x4c7)](_0xc984f1=>_0xc984f1['type']===_0x2a2efa(0x33f)))==null?void 0x0:_0x14bc86[_0x2a2efa(0x32f)],_0x15b768=_0xd45d05==='\u00a0'||_0xd45d05==='\u202f'?'\x20':_0xd45d05;return _0x15b768==='.'&&_0x23749b===','?_0x2a2efa(0x1bf):_0x15b768==='\x20'&&_0x23749b===','?_0x2a2efa(0x3bd):_0x15b768==='\x20'&&_0x23749b==='.'?'spacePeriod':_0x2a2efa(0x204);}function _0x342d9c(_0xf3b97b,_0x9e07c8){const _0x1dbd67=_0x4e3a72;let _0x3d87ce=_0x9e07c8&&typeof _0x9e07c8==_0x1dbd67(0x3e9)&&!Array[_0x1dbd67(0x35c)](_0x9e07c8)?_0x9e07c8:{},_0x5078e1=_0x5432f3(_0x3d87ce[_0x1dbd67(0x281)],0x0,0x2,0x0),_0x10c1fd=_0xf3b97b[_0x1dbd67(0x2c1)](_0x5078e1);return _0x3d87ce[_0x1dbd67(0x4df)]==='number'?_0x10c1fd:_0x10c1fd+'%';}function _0x5432f3(_0x2eafc1,_0x44126b,_0x4aa1a4,_0x2cb5fd){const _0xb5ad5b=_0x4e3a72;if(_0x2eafc1==null||_0x2eafc1==='')return _0x2cb5fd;let _0x539352=typeof _0x2eafc1==_0xb5ad5b(0x23b)?_0x2eafc1:Number(_0x2eafc1);return Number[_0xb5ad5b(0x25a)](_0x539352)?Math[_0xb5ad5b(0x358)](_0x44126b,Math[_0xb5ad5b(0x36f)](_0x4aa1a4,Math[_0xb5ad5b(0x311)](_0x539352))):_0x2cb5fd;}let _0x1ab133=['count',_0x4e3a72(0x1d7),'empty','unique',_0x4e3a72(0x562),_0x4e3a72(0x587),_0x4e3a72(0x36f),_0x4e3a72(0x358)],_0x39a805=[_0x4e3a72(0x527),'filled',_0x4e3a72(0x53b),_0x4e3a72(0x39f)],_0x3e0a80=[_0x4e3a72(0x562),_0x4e3a72(0x587),'min','max'],_0x547a0a=['min','max'],_0x48847d=new Set([_0x2a4b8a[_0x4e3a72(0x1f7)][_0x4e3a72(0x31f)],_0x2a4b8a['BaseFieldType'][_0x4e3a72(0x53a)],_0x2a4b8a[_0x4e3a72(0x1f7)]['Progress'],_0x2a4b8a['BaseFieldType']['Rating']]),_0x5ab491=new Set([_0x2a4b8a[_0x4e3a72(0x1f7)]['MultiSelect'],_0x2a4b8a[_0x4e3a72(0x1f7)][_0x4e3a72(0x340)],_0x2a4b8a[_0x4e3a72(0x1f7)][_0x4e3a72(0x26e)]]),_0x13ae84=_0x4e3a72(0x20c);function _0x10b501(_0x41c402){const _0x54a111=_0x4e3a72;return typeof _0x41c402==_0x54a111(0x4ad)&&_0x1ab133[_0x54a111(0x1a7)](_0x41c402);}function _0xc7e09d(_0x4f29b6){const _0x32001a=_0x4e3a72;return!_0x4f29b6||typeof _0x4f29b6!='object'?{}:Object[_0x32001a(0x56d)](Object[_0x32001a(0x2f1)](_0x4f29b6)[_0x32001a(0x500)](_0x33b597=>_0x10b501(_0x33b597[0x1])));}function _0x5514aa(_0x524754){const _0x48b75f=_0x4e3a72;return _0x48847d[_0x48b75f(0x537)](_0x524754['type'])?[..._0x39a805,..._0x3e0a80]:_0x524754[_0x48b75f(0x3a3)]===_0x2a4b8a[_0x48b75f(0x1f7)][_0x48b75f(0x367)]?[..._0x39a805,..._0x21efc6(_0x524754)===_0x48b75f(0x316)?_0x547a0a:_0x3e0a80]:_0x39a805;}function _0xeff9c4(_0x37c2a0,_0x481662){const _0x30d8bb=_0x4e3a72;return _0x5514aa(_0x37c2a0)[_0x30d8bb(0x1a7)](_0x481662);}function _0x5de69f(_0x4baa87,_0x2c04f5,_0x14c364){const _0x37db06=_0x4e3a72;if(!_0xeff9c4(_0x4baa87,_0x14c364))return null;let _0x16ec00=_0x2c04f5[_0x37db06(0x500)](_0x4cfa65=>!_0x4b1881(_0x4baa87,_0x4cfa65));switch(_0x14c364){case _0x37db06(0x527):return _0x2c04f5[_0x37db06(0x46c)];case _0x37db06(0x1d7):return _0x16ec00[_0x37db06(0x46c)];case'empty':return _0x2c04f5[_0x37db06(0x46c)]-_0x16ec00[_0x37db06(0x46c)];case _0x37db06(0x39f):return new Set(_0x16ec00[_0x37db06(0x2ef)](_0x20f1c7=>_0x57d0eb(_0x4baa87,_0x20f1c7)))[_0x37db06(0x335)];case _0x37db06(0x562):{let _0x451c2e=_0x13e3e5(_0x4baa87,_0x16ec00);return _0x451c2e[_0x37db06(0x46c)]?_0x39e6e8(_0x451c2e):null;}case _0x37db06(0x587):{let _0x34991d=_0x13e3e5(_0x4baa87,_0x16ec00);return _0x34991d[_0x37db06(0x46c)]?_0x39e6e8(_0x34991d)/_0x34991d[_0x37db06(0x46c)]:null;}case'min':{let _0x1b5f64=_0x13e3e5(_0x4baa87,_0x16ec00);return _0x1b5f64[_0x37db06(0x46c)]?Math[_0x37db06(0x36f)](..._0x1b5f64):null;}case _0x37db06(0x358):{let _0x3de9f3=_0x13e3e5(_0x4baa87,_0x16ec00);return _0x3de9f3[_0x37db06(0x46c)]?Math[_0x37db06(0x358)](..._0x3de9f3):null;}}}function _0x2ab434(_0x3f9799,_0x2e69a4,_0x5b507f){const _0x55b051=_0x4e3a72;if(_0x5b507f==null||!Number[_0x55b051(0x25a)](_0x5b507f))return'-';if(_0x39a805[_0x55b051(0x1a7)](_0x2e69a4))return String(_0x5b507f);switch(_0x3f9799[_0x55b051(0x3a3)]){case _0x2a4b8a[_0x55b051(0x1f7)][_0x55b051(0x31f)]:return _0x4fd340(_0x5b507f,_0x10770f(_0x3f9799));case _0x2a4b8a[_0x55b051(0x1f7)]['Currency']:return _0x4fd340(_0x5b507f,_0x38fe8d(_0x3f9799));case _0x2a4b8a['BaseFieldType'][_0x55b051(0x2f7)]:return _0x342d9c(_0x5b507f,_0x3f9799[_0x55b051(0x3e8)]);case _0x2a4b8a[_0x55b051(0x1f7)][_0x55b051(0x367)]:return _0xd09968(_0x5b507f,_0x3f9799);default:return _0x5a780e(_0x5b507f);}}function _0x4b1881(_0x4a043a,_0x5b1ea9){const _0x3761f4=_0x4e3a72;if(_0x5b1ea9==null)return!0x0;if(typeof _0x5b1ea9==_0x3761f4(0x4ad))return _0x5b1ea9[_0x3761f4(0x571)]()==='';if(Array[_0x3761f4(0x35c)](_0x5b1ea9))return _0x4a043a[_0x3761f4(0x3a3)]===_0x2a4b8a[_0x3761f4(0x1f7)][_0x3761f4(0x4a1)]?!_0x5b1ea9['some'](_0x32e13b):_0x5b1ea9[_0x3761f4(0x46c)]===0x0;if(_0x4a043a[_0x3761f4(0x3a3)]===_0x2a4b8a[_0x3761f4(0x1f7)][_0x3761f4(0x276)]&&typeof _0x5b1ea9==_0x3761f4(0x3e9)){let _0x16c713=_0x5b1ea9;return[_0x16c713['text'],_0x16c713[_0x3761f4(0x2c7)]][_0x3761f4(0x4af)](_0xa85ce6=>_0xa85ce6==null||String(_0xa85ce6)[_0x3761f4(0x571)]()==='');}return!0x1;}function _0x13e3e5(_0x3f2ded,_0x4af637){let _0x5a0391=[];for(let _0x2ffb9e of _0x4af637){let _0x9f535f=_0x57ed5d(_0x3f2ded,_0x2ffb9e);_0x9f535f!=null&&_0x5a0391['push'](_0x9f535f);}return _0x5a0391;}function _0x57ed5d(_0x1a2e15,_0x47e980){const _0x4d425c=_0x4e3a72;if(typeof _0x47e980==_0x4d425c(0x23b))return Number[_0x4d425c(0x25a)](_0x47e980)?_0x47e980:null;if(_0x1a2e15['type']!==_0x2a4b8a[_0x4d425c(0x1f7)]['Formula']&&typeof _0x47e980==_0x4d425c(0x4ad)&&_0x47e980[_0x4d425c(0x571)]()!==''){let _0x1a6ea1=Number(_0x47e980);return Number[_0x4d425c(0x25a)](_0x1a6ea1)?_0x1a6ea1:null;}return null;}function _0x39e6e8(_0x2ccb98){const _0x72b07=_0x4e3a72;let _0x11019b=0x0,_0x1493df=0x0;for(let _0x2d187e of _0x2ccb98){let _0x37a6cd=_0x11019b+_0x2d187e;_0x1493df+=Math[_0x72b07(0x4ea)](_0x11019b)>=Math[_0x72b07(0x4ea)](_0x2d187e)?_0x11019b-_0x37a6cd+_0x2d187e:_0x2d187e-_0x37a6cd+_0x11019b,_0x11019b=_0x37a6cd;}return _0x11019b+_0x1493df;}function _0x57d0eb(_0x20f5c9,_0x3adafc){const _0x1752e0=_0x4e3a72;return _0x5ab491[_0x1752e0(0x537)](_0x20f5c9[_0x1752e0(0x3a3)])&&Array[_0x1752e0(0x35c)](_0x3adafc)?_0x31883b([...new Set(_0x3adafc[_0x1752e0(0x2ef)](_0x440d58=>_0x31883b(_0x30e0ca(_0x440d58))))][_0x1752e0(0x2da)]()):_0x31883b(_0x30e0ca(_0x3adafc));}function _0x30e0ca(_0x256b13){const _0x46e01a=_0x4e3a72;return Array[_0x46e01a(0x35c)](_0x256b13)?_0x256b13[_0x46e01a(0x2ef)](_0x30e0ca):_0x256b13&&typeof _0x256b13=='object'?Object[_0x46e01a(0x56d)](Object[_0x46e01a(0x2f1)](_0x256b13)[_0x46e01a(0x2da)](([_0x5912f3],[_0x725d91])=>_0x5912f3[_0x46e01a(0x377)](_0x725d91))[_0x46e01a(0x2ef)](([_0x5be205,_0x21c133])=>[_0x5be205,_0x30e0ca(_0x21c133)])):_0x256b13;}function _0x31883b(_0x5a7765){const _0x1ffbd0=_0x4e3a72;return JSON['stringify'](_0x5a7765)??_0x1ffbd0(0x4f7);}function _0x32e13b(_0x40a8b3){const _0x3f092a=_0x4e3a72;if(typeof _0x40a8b3=='string')return _0x40a8b3[_0x3f092a(0x571)]()!=='';if(!_0x40a8b3||typeof _0x40a8b3!='object')return!0x1;let _0x219095=_0x40a8b3;return[_0x219095['id'],_0x219095['name'],_0x219095[_0x3f092a(0x332)],_0x219095[_0x3f092a(0x2c7)],_0x219095[_0x3f092a(0x2a2)]][_0x3f092a(0x35a)](_0x5329f6=>_0x5329f6!=null&&String(_0x5329f6)[_0x3f092a(0x571)]()!=='');}function _0x10770f(_0x1f5528){const _0x4956bf=_0x4e3a72;let _0x3e4f34=_0x2407e1(_0x1f5528[_0x4956bf(0x3e8)]);return{'decimalPlaces':_0x1c6754(_0x3e4f34[_0x4956bf(0x281)]??_0x3e4f34[_0x4956bf(0x40c)],0x0,0x14,0x2),'separatorStyle':typeof _0x3e4f34[_0x4956bf(0x3f7)]==_0x4956bf(0x4ad)?_0x3e4f34['separatorStyle']:_0x4956bf(0x317),'locale':typeof _0x3e4f34['locale']=='string'?_0x3e4f34[_0x4956bf(0x21f)]:void 0x0,'useThousands':_0x3e4f34[_0x4956bf(0x37a)]!==!0x1,'abbreviation':typeof _0x3e4f34['abbreviation']==_0x4956bf(0x4ad)?_0x3e4f34[_0x4956bf(0x361)]:_0x4956bf(0x201)};}function _0x38fe8d(_0x2aca86){const _0x50bdf0=_0x4e3a72;let _0x505aee=_0x2407e1(_0x2aca86[_0x50bdf0(0x3e8)]);return{..._0x10770f(_0x2aca86),'currencySymbol':String(_0x505aee[_0x50bdf0(0x239)]??_0x505aee[_0x50bdf0(0x4c8)]??'$')};}function _0xd09968(_0x8dfbd9,_0x540295){const _0x224cb2=_0x4e3a72;let _0x3a410e=_0x3bd20e(_0x540295);if(_0x3a410e===_0x13ae84)return _0x5a780e(_0x8dfbd9);try{return String(_0x2a4b8a[_0x224cb2(0x547)][_0x224cb2(0x4df)](_0x3a410e,_0x8dfbd9,{'throws':!0x1}));}catch{return _0x5a780e(_0x8dfbd9);}}function _0x21efc6(_0xa0c8b6){const _0x128b86=_0x4e3a72;let _0x1c4f88=_0x2407e1(_0x2407e1(_0xa0c8b6['config'])[_0x128b86(0x547)]);return typeof _0x1c4f88[_0x128b86(0x3a3)]==_0x128b86(0x4ad)?_0x1c4f88[_0x128b86(0x3a3)]:_0x128b86(0x284);}function _0x3bd20e(_0x1bb7fb){const _0x2f2fce=_0x4e3a72;let _0x15e758=_0x2407e1(_0x2407e1(_0x1bb7fb[_0x2f2fce(0x3e8)])[_0x2f2fce(0x547)]);return String(_0x15e758[_0x2f2fce(0x277)]??_0x13ae84)['trim']()||_0x13ae84;}function _0x5a780e(_0x53c073){const _0x31b4d1=_0x4e3a72;return String(Number[_0x31b4d1(0x356)](_0x53c073)?_0x53c073:Math[_0x31b4d1(0x311)]((_0x53c073+0x2**-0x34)*0x64)/0x64);}function _0x2407e1(_0x3c7e85){const _0x32fd66=_0x4e3a72;return _0x3c7e85&&typeof _0x3c7e85==_0x32fd66(0x3e9)&&!Array['isArray'](_0x3c7e85)?_0x3c7e85:{};}function _0x378a5b(_0xd611ee){const _0x146be9=_0x4e3a72;if(_0xd611ee==null||_0xd611ee==='')return null;let _0x4244ae=typeof _0xd611ee==_0x146be9(0x23b)?_0xd611ee:Number(_0xd611ee);return Number[_0x146be9(0x25a)](_0x4244ae)?_0x4244ae:null;}function _0x1c6754(_0x2b0c90,_0x733c8d,_0x2dd3c0,_0x125765){const _0x71ee87=_0x4e3a72;let _0x4b24e8=_0x378a5b(_0x2b0c90);return _0x4b24e8==null?_0x125765:Math[_0x71ee87(0x358)](_0x733c8d,Math[_0x71ee87(0x36f)](_0x2dd3c0,Math[_0x71ee87(0x311)](_0x4b24e8)));}function _0x11c303(_0x5878a4,_0x2b93d8){const _0x167fd1=_0x4e3a72;let _0x31d10a=_0x2a4b8a['Tools'][_0x167fd1(0x2ae)](_0x5878a4),_0x5c0e67=_0x2b93d8[_0x167fd1(0x52f)]===!0x0,_0x105c13=new Map(),_0x1e0062=_0x2b93d8[_0x167fd1(0x4ba)]??(()=>'view-'+(0x0,_0x2a4b8a[_0x167fd1(0x437)])(0x8)),_0x2caea8=_0x31d10a[_0x167fd1(0x52e)];return _0x2b93d8['regenerateViewIds']&&(_0x2caea8=_0x31d10a['viewOrder'][_0x167fd1(0x2ef)](_0x5ac456=>{const _0x2b1dce=_0x167fd1;let _0x176c5e=_0x1e0062();return _0x105c13[_0x2b1dce(0x1b0)](_0x5ac456,_0x176c5e),_0x176c5e;})),{..._0x31d10a,'id':_0x2b93d8['id'],'name':_0x2b93d8[_0x167fd1(0x492)],'records':_0x5c0e67?_0x31d10a[_0x167fd1(0x54e)]:{},'recordOrder':_0x5c0e67?_0x31d10a['recordOrder']:[],'rowIndex':_0x5c0e67?_0x31d10a['rowIndex']:{},'rowId':_0x5c0e67?_0x31d10a[_0x167fd1(0x1df)]:{},'cellData':_0x5c0e67?_0x31d10a[_0x167fd1(0x380)]:{},'resources':_0x5c0e67?_0x31d10a['resources']:{},'viewOrder':_0x2caea8,'views':Object['fromEntries'](Object[_0x167fd1(0x2f1)](_0x31d10a[_0x167fd1(0x1b4)]??{})[_0x167fd1(0x2ef)](([_0x1a8705,_0x12fdcf])=>{const _0x10e458=_0x167fd1;let _0x4eadf2=_0x105c13[_0x10e458(0x295)](_0x1a8705)??(_0x2b93d8['regenerateViewIds']?_0x1e0062():_0x1a8705);return[_0x4eadf2,{..._0x12fdcf,'id':_0x4eadf2,'tableId':_0x2b93d8['id']}];}))};}var _0x4b60cc=_0x4e3a72(0x574),_0x419e49=_0x4e3a72(0x542);let _0x2d9d2f={},_0x24f69f={};function _0x203025(_0x39d980){const _0x2e35cd=_0x4e3a72;return new _0x5c1670()[_0x2e35cd(0x2ee)](_0x39d980);}function _0x47c342(_0x5dfba8){const _0x511dc=_0x4e3a72;return _0x5dfba8['patches']['map'](_0x4ea27e=>({'unitId':_0x5dfba8[_0x511dc(0x257)],'sheetId':_0x5dfba8[_0x511dc(0x398)],'range':{'startRow':_0x4ea27e[_0x511dc(0x40d)],'endRow':_0x4ea27e[_0x511dc(0x40d)],'startColumn':_0x4ea27e[_0x511dc(0x1b1)],'endColumn':_0x4ea27e['col']}}));}function _0x4a7953(_0xc1c7c1,_0x3cacaa){const _0x982028=_0x4e3a72;return{[_0xc1c7c1]:Object[_0x982028(0x56d)](_0x3cacaa[_0x982028(0x2ef)](_0x31062a=>[_0x31062a,'1']))};}let _0x4f2870=class extends _0x2a4b8a[_0x4e3a72(0x2a7)]{constructor(_0x2d3aa2,_0x4b9e31){const _0xd84c8c=_0x4e3a72;super(),this[_0xd84c8c(0x346)]=_0x2d3aa2,this['_univerInstanceService']=_0x4b9e31,this[_0xd84c8c(0x328)]();}[_0x4e3a72(0x328)](){const _0x17aceb=_0x4e3a72;this[_0x17aceb(0x346)][_0x17aceb(0x55f)](_0x456ed5['id'],{'commandId':_0x456ed5['id'],'getDirtyData':_0x172b35=>this[_0x17aceb(0x4fe)](_0x172b35[_0x17aceb(0x222)])}),this[_0x17aceb(0x2b7)]((0x0,_0x2a4b8a[_0x17aceb(0x28c)])(()=>{const _0x180fde=_0x17aceb;this['_activeDirtyManagerService'][_0x180fde(0x4be)](_0x456ed5['id']);}));}[_0x4e3a72(0x24e)](_0x521237,_0x554650){const _0x125f9e=_0x4e3a72;let _0x376ca6=this[_0x125f9e(0x3be)][_0x125f9e(0x460)](_0x521237,_0x2a4b8a[_0x125f9e(0x22c)][_0x125f9e(0x2c2)]);return(_0x376ca6==null?void 0x0:_0x376ca6[_0x125f9e(0x566)]()[_0x125f9e(0x46b)][_0x554650])??null;}['_getJson1DirtyData'](_0x264e1b){const _0x110842=_0x4e3a72;if(_0x264e1b['trigger']===_0x110842(0x417))return{};if(!_0x264e1b[_0x110842(0x257)]||!_0x264e1b['op'])return{'clearDependencyTreeCache':this[_0x110842(0x4e5)](),'forceCalculation':!0x0};let _0x25afbf=_0x203025(_0x264e1b['op']),_0x9bd74c=this[_0x110842(0x1bb)](_0x264e1b[_0x110842(0x257)],_0x25afbf);if(_0x9bd74c['length'])return{'clearDependencyTreeCache':_0x4a7953(_0x264e1b[_0x110842(0x257)],_0x9bd74c),'forceCalculation':!0x0};let _0x22ccfd=Object[_0x110842(0x2f1)](this[_0x110842(0x206)](_0x264e1b[_0x110842(0x257)],_0x25afbf))[_0x110842(0x467)](([_0x5eadb7,_0x5c62c6])=>_0x47c342({'unitId':_0x264e1b[_0x110842(0x257)],'tableId':_0x5eadb7,'patches':_0x5c62c6}));return _0x22ccfd[_0x110842(0x46c)]?{'dirtyRanges':_0x22ccfd}:{};}[_0x4e3a72(0x1bb)](_0x4eb3fc,_0x2ba669){const _0x2fadf3=_0x4e3a72;let _0x38f01e=_0x2ba669[_0x2fadf3(0x500)](_0xa0e0ce=>_0xa0e0ce[_0x2fadf3(0x57e)]!==_0x2fadf3(0x2f2))[_0x2fadf3(0x467)](_0xa3a70e=>_0xa3a70e[_0x2fadf3(0x398)]?[_0xa3a70e[_0x2fadf3(0x398)]]:this[_0x2fadf3(0x29b)](_0x4eb3fc));return Array[_0x2fadf3(0x221)](new Set(_0x38f01e));}[_0x4e3a72(0x206)](_0x1aa601,_0x3638ba){let _0x4f48b2=new Set();return _0x3638ba['reduce']((_0x548a37,_0x7abd80)=>{const _0x37b40b=_0x56f7;let _0x40fe7b=this[_0x37b40b(0x296)](_0x1aa601,_0x7abd80);if(!_0x40fe7b)return _0x548a37;let _0x429dd7=_0x7abd80[_0x37b40b(0x398)]+':'+_0x40fe7b[_0x37b40b(0x40d)]+':'+_0x40fe7b[_0x37b40b(0x1b1)];return _0x4f48b2[_0x37b40b(0x537)](_0x429dd7)?_0x548a37:(_0x4f48b2[_0x37b40b(0x4a8)](_0x429dd7),_0x548a37[_0x7abd80[_0x37b40b(0x398)]]=_0x548a37[_0x7abd80[_0x37b40b(0x398)]]??[],_0x548a37[_0x7abd80[_0x37b40b(0x398)]][_0x37b40b(0x348)](_0x40fe7b),_0x548a37);},{});}['_toDirtyRangePatch'](_0x24ac00,_0x5a36f9){const _0x1b3b45=_0x4e3a72;if(_0x5a36f9[_0x1b3b45(0x57e)]!==_0x1b3b45(0x2f2))return null;if(_0x5a36f9['row']!=null&&_0x5a36f9[_0x1b3b45(0x21b)]!=null)return{'row':_0x5a36f9[_0x1b3b45(0x40d)],'col':_0x5a36f9[_0x1b3b45(0x21b)],'value':null};if(!_0x5a36f9['recordId']||!_0x5a36f9[_0x1b3b45(0x1b3)])return null;let _0x248b40=this[_0x1b3b45(0x24e)](_0x24ac00,_0x5a36f9['tableId']);if(!_0x248b40)return null;let _0x599816=_0x340cd0(_0x248b40,_0x5a36f9['recordId'],_0x5a36f9[_0x1b3b45(0x1b3)]);return _0x599816?{'row':_0x599816['row'],'col':_0x599816['col'],'value':null}:null;}[_0x4e3a72(0x29b)](_0x53ae97){const _0x4ea07c=_0x4e3a72;let _0x26ffc8=this[_0x4ea07c(0x3be)][_0x4ea07c(0x460)](_0x53ae97,_0x2a4b8a['UniverInstanceType'][_0x4ea07c(0x2c2)]);return Object[_0x4ea07c(0x462)]((_0x26ffc8==null?void 0x0:_0x26ffc8['getSnapshot']()[_0x4ea07c(0x46b)])??{})[_0x4ea07c(0x2ef)](_0x3c4901=>_0x3c4901['id']);}[_0x4e3a72(0x4e5)](){const _0x46e030=_0x4e3a72;let _0x19fd46=this[_0x46e030(0x3be)][_0x46e030(0x30d)](_0x2a4b8a[_0x46e030(0x22c)][_0x46e030(0x2c2)])[_0x46e030(0x2ef)](_0x1a5a29=>_0x4a7953(_0x1a5a29[_0x46e030(0x3b7)](),Object[_0x46e030(0x458)](_0x1a5a29[_0x46e030(0x566)]()['tables'])));return Object[_0x46e030(0x434)]({},..._0x19fd46);}};_0x4f2870=_0x2b1d11([_0x1f3d22(0x0,_0x58b161['IActiveDirtyManagerService']),_0x1f3d22(0x1,_0x2a4b8a[_0x4e3a72(0x302)])],_0x4f2870);let _0x9320de=class extends _0x2a4b8a[_0x4e3a72(0x2a7)]{constructor(_0x37b718,_0x281d96,_0x1f1a43,_0x45c4d7){const _0x47d593=_0x4e3a72;super(),this[_0x47d593(0x461)]=_0x37b718,this[_0x47d593(0x3be)]=_0x281d96,this[_0x47d593(0x3db)]=_0x1f1a43,this[_0x47d593(0x26b)]=_0x45c4d7,_0x2fb75f(this,'_formulaService',new _0x2a5bc1()),_0x2fb75f(this,_0x47d593(0x266),new Map()),_0x2fb75f(this,_0x47d593(0x360),new Set()),_0x2fb75f(this,_0x47d593(0x47c),Promise[_0x47d593(0x397)]()),_0x2fb75f(this,_0x47d593(0x249),!0x1),this['_initialize']();}['_initialize'](){const _0x52bfb2=_0x4e3a72;this[_0x52bfb2(0x3be)]['getAllUnitsForType'](_0x2a4b8a[_0x52bfb2(0x22c)][_0x52bfb2(0x2c2)])['forEach'](_0x4f87f4=>{const _0x4e0e99=_0x52bfb2;this[_0x4e0e99(0x421)](_0x4f87f4);}),this[_0x52bfb2(0x2b7)](this['_univerInstanceService'][_0x52bfb2(0x258)](_0x2a4b8a[_0x52bfb2(0x22c)]['UNIVER_BASE'])['subscribe'](({unit:_0x4a7c6b})=>{this['_scheduleSuperTableSync'](_0x4a7c6b);})),this['disposeWithMe'](this['_univerInstanceService'][_0x52bfb2(0x593)](_0x2a4b8a[_0x52bfb2(0x22c)][_0x52bfb2(0x2c2)])['subscribe'](_0x1cd48c=>{const _0x4c80ed=_0x52bfb2;this[_0x4c80ed(0x554)](()=>this[_0x4c80ed(0x2cd)](_0x1cd48c['getUnitId']()));})),this[_0x52bfb2(0x2b7)](this['_commandService'][_0x52bfb2(0x2d1)](_0x27f6b2=>this[_0x52bfb2(0x594)](_0x27f6b2)));}['_onCommandExecuted'](_0x3a3dd6){const _0x25baad=_0x4e3a72;if(_0x3a3dd6['id']===_0x58b161[_0x25baad(0x3ed)]['id']){_0x1fa2ad(_0x3a3dd6[_0x25baad(0x222)])&&this[_0x25baad(0x1c7)](_0x3a3dd6[_0x25baad(0x222)]);return;}if(this[_0x25baad(0x249)]||_0x3a3dd6['id']!==_0x456ed5['id'])return;let _0x32316b=_0x2e3b60(_0x3a3dd6['params'])?_0x3a3dd6[_0x25baad(0x222)]:void 0x0,_0x2e19ee=_0x32316b!=null&&_0x32316b[_0x25baad(0x257)]?[this[_0x25baad(0x3be)][_0x25baad(0x460)](_0x32316b[_0x25baad(0x257)],_0x2a4b8a[_0x25baad(0x22c)]['UNIVER_BASE'])][_0x25baad(0x500)](_0x14c6a1=>!!_0x14c6a1):this['_univerInstanceService'][_0x25baad(0x30d)](_0x2a4b8a[_0x25baad(0x22c)]['UNIVER_BASE']),_0x1313a2=_0x32316b==null?void 0x0:_0x32316b['op'];_0x2e19ee[_0x25baad(0x3ad)](_0xe13fe3=>{const _0x4c7cf8=_0x25baad;let _0x448292=_0x1313a2?_0x203025(_0x1313a2):[];(!_0x1313a2||_0x448292[_0x4c7cf8(0x35a)](_0x2e6e0c=>_0x2e6e0c['reason']!==_0x4c7cf8(0x2f2)))&&this[_0x4c7cf8(0x421)](_0xe13fe3);});}[_0x4e3a72(0x421)](_0x48c316){const _0x2abf3c=_0x4e3a72;let _0x529100=_0x48c316[_0x2abf3c(0x3b7)]();this[_0x2abf3c(0x360)]['has'](_0x529100)||(this[_0x2abf3c(0x360)][_0x2abf3c(0x4a8)](_0x529100),this[_0x2abf3c(0x554)](async()=>{const _0x5e2cfb=_0x2abf3c;this[_0x5e2cfb(0x360)][_0x5e2cfb(0x3ba)](_0x529100),await this[_0x5e2cfb(0x419)](_0x48c316);}));}async[_0x4e3a72(0x419)](_0x54a7ea){const _0x6f586d=_0x4e3a72;let _0x21ed99=_0x54a7ea['getUnitId'](),_0x1a71c6=this[_0x6f586d(0x40b)][_0x6f586d(0x372)](_0x54a7ea[_0x6f586d(0x566)]()),_0x12017f=new Set(_0x1a71c6[_0x6f586d(0x2ef)](({tableName:_0x469dd7})=>_0x469dd7)),_0x3f0e9f=this[_0x6f586d(0x266)]['get'](_0x21ed99)??new Set();for(let _0x58c52a of _0x3f0e9f)if(!_0x12017f[_0x6f586d(0x537)](_0x58c52a)&&!await this[_0x6f586d(0x4bd)](_0x58b161[_0x6f586d(0x4e1)]['id'],{'unitId':_0x21ed99,'tableName':_0x58c52a}))return;for(let {tableName:_0x15742e,reference:_0x5ab647}of _0x1a71c6)if(!await this[_0x6f586d(0x4bd)](_0x58b161[_0x6f586d(0x3ab)]['id'],{'unitId':_0x21ed99,'tableName':_0x15742e,'reference':_0x5ab647}))return;this['_registeredSuperTableNames'][_0x6f586d(0x1b0)](_0x21ed99,_0x12017f);}async[_0x4e3a72(0x2cd)](_0x4e9bb4){const _0xefd356=_0x4e3a72;let _0xafaec7=this[_0xefd356(0x266)]['get'](_0x4e9bb4)??new Set();for(let _0x141bc0 of _0xafaec7)if(!await this[_0xefd356(0x4bd)](_0x58b161[_0xefd356(0x4e1)]['id'],{'unitId':_0x4e9bb4,'tableName':_0x141bc0}))return;this['_registeredSuperTableNames'][_0xefd356(0x3ba)](_0x4e9bb4);}async[_0x4e3a72(0x4bd)](_0x5b13e2,_0x2c4e9f){const _0x55fc34=_0x4e3a72;return!this[_0x55fc34(0x1dc)]&&await this[_0x55fc34(0x461)][_0x55fc34(0x2a1)](_0x5b13e2,_0x2c4e9f,{'onlyLocal':!0x0})&&!this[_0x55fc34(0x1dc)];}['_enqueueFormulaSync'](_0x1f4b2d){const _0x1ccfeb=_0x4e3a72;this[_0x1ccfeb(0x47c)]=this['_formulaSyncQueue'][_0x1ccfeb(0x439)](_0x1f4b2d,_0x1f4b2d)['catch'](()=>void 0x0);}[_0x4e3a72(0x1c7)](_0x5cdda5){const _0x3a3cde=_0x4e3a72;let _0x228722=this[_0x3a3cde(0x3be)][_0x3a3cde(0x30d)](_0x2a4b8a['UniverInstanceType'][_0x3a3cde(0x2c2)]);if(!_0x228722[_0x3a3cde(0x35a)](_0x509996=>{const _0x427138=_0x3a3cde;var _0x294e3d;return((_0x294e3d=_0x5cdda5[_0x427138(0x2f4)])==null?void 0x0:_0x294e3d[_0x509996['getUnitId']()])!=null;}))return;let _0x36277b=_0x228722['flatMap'](_0x339347=>_0x338164(_0x339347[_0x3a3cde(0x566)](),_0x5cdda5));if(!_0x36277b[_0x3a3cde(0x46c)]){this[_0x3a3cde(0x26b)][_0x3a3cde(0x22b)](_0x35d3da['FormulaResultApplicationType'][_0x3a3cde(0x45e)],_0x5cdda5);return;}let _0x42fd6a=new _0x5a8274(),_0x5ae8ad=_0x36277b[_0x3a3cde(0x467)](_0x2a6f10=>_0x47c342({'unitId':_0x2a6f10['unitId'],'tableId':_0x2a6f10['tableId'],'patches':_0x2a6f10['patches']}));this[_0x3a3cde(0x249)]=!0x0,(async()=>{const _0x410b03=_0x3a3cde;for(let _0x1f44aa of _0x36277b){let _0x2c1772=this[_0x410b03(0x3be)][_0x410b03(0x460)](_0x1f44aa['unitId'],_0x2a4b8a[_0x410b03(0x22c)]['UNIVER_BASE']);_0x2c1772&&await this[_0x410b03(0x461)]['executeCommand'](_0x456ed5['id'],{'unitId':_0x1f44aa[_0x410b03(0x257)],'op':_0x42fd6a[_0x410b03(0x2e4)](_0x2c1772[_0x410b03(0x566)](),_0x1f44aa[_0x410b03(0x398)],_0x1f44aa[_0x410b03(0x246)]),'trigger':_0x58b161['SetFormulaCalculationResultMutation']['id']},{'onlyLocal':!0x0});}await this[_0x410b03(0x461)][_0x410b03(0x2a1)](_0x58b161['SetTriggerFormulaCalculationStartMutation']['id'],{'dirtyRanges':_0x5ae8ad},{'onlyLocal':!0x0});})()['finally'](()=>{const _0x23992c=_0x3a3cde;this['_applyingFormulaResults']=!0x1,this[_0x23992c(0x26b)][_0x23992c(0x22b)](_0x35d3da[_0x23992c(0x2d0)][_0x23992c(0x45e)],_0x5cdda5);});}};_0x9320de=_0x2b1d11([_0x1f3d22(0x0,_0x2a4b8a['ICommandService']),_0x1f3d22(0x1,_0x2a4b8a['IUniverInstanceService']),_0x1f3d22(0x2,(0x0,_0x2a4b8a[_0x4e3a72(0x1a9)])(_0x58b161[_0x4e3a72(0x2e7)])),_0x1f3d22(0x3,(0x0,_0x2a4b8a[_0x4e3a72(0x1a9)])(_0x35d3da[_0x4e3a72(0x256)]))],_0x9320de);function _0x2e3b60(_0x373fc8){const _0x56bf5e=_0x4e3a72;return typeof _0x373fc8==_0x56bf5e(0x3e9)&&!!_0x373fc8&&_0x56bf5e(0x257)in _0x373fc8&&typeof _0x373fc8[_0x56bf5e(0x257)]=='string'&&'op'in _0x373fc8&&Array[_0x56bf5e(0x35c)](_0x373fc8['op']);}function _0x1fa2ad(_0x38183d){const _0x1cc9ba=_0x4e3a72;return typeof _0x38183d==_0x1cc9ba(0x3e9)&&!!_0x38183d&&_0x1cc9ba(0x2f4)in _0x38183d&&_0x1cc9ba(0x333)in _0x38183d;}let _0x7145f7=(0x0,_0x2a4b8a[_0x4e3a72(0x520)])(_0x4e3a72(0x393)),_0x331d17=class{constructor(_0x555f39){const _0x5082ab=_0x4e3a72;this[_0x5082ab(0x3be)]=_0x555f39;}['getBase'](_0x3af0c7){const _0xc70b93=_0x4e3a72;return this[_0xc70b93(0x3be)][_0xc70b93(0x460)](_0x3af0c7,_0x2a4b8a[_0xc70b93(0x22c)][_0xc70b93(0x2c2)])??null;}['getAllBases'](){const _0x58a136=_0x4e3a72;return this['_univerInstanceService']['getAllUnitsForType'](_0x2a4b8a[_0x58a136(0x22c)]['UNIVER_BASE']);}[_0x4e3a72(0x27c)](_0x12060d){const _0x5ad944=_0x4e3a72;return this[_0x5ad944(0x3be)][_0x5ad944(0x597)](_0x2a4b8a['UniverInstanceType'][_0x5ad944(0x2c2)],_0x12060d);}};_0x331d17=_0x2b1d11([_0x1f3d22(0x0,_0x2a4b8a['IUniverInstanceService'])],_0x331d17);let _0x35d5bf=(0x0,_0x2a4b8a[_0x4e3a72(0x520)])(_0x4e3a72(0x378));var _0x15cb51=class extends _0x2a4b8a[_0x4e3a72(0x2a7)]{constructor(..._0x245d76){const _0x595d44=_0x4e3a72;super(..._0x245d76),_0x2fb75f(this,_0x595d44(0x46a),new Map());}[_0x4e3a72(0x55f)](_0x35b283){const _0x3e9eac=_0x4e3a72;return this[_0x3e9eac(0x46a)][_0x3e9eac(0x1b0)](_0x35b283[_0x3e9eac(0x3a3)],_0x35b283),(0x0,_0x2a4b8a['toDisposable'])(()=>this[_0x3e9eac(0x46a)][_0x3e9eac(0x3ba)](_0x35b283['type']));}[_0x4e3a72(0x295)](_0x406a57){const _0x4ee5bb=_0x4e3a72;let _0x1b2df7=this[_0x4ee5bb(0x46a)][_0x4ee5bb(0x295)](_0x406a57);if(!_0x1b2df7)throw Error('[BaseViewRegistryService]:\x20view\x20type\x20\x22'+_0x406a57+_0x4ee5bb(0x3f4));return _0x1b2df7;}[_0x4e3a72(0x456)](){const _0x557123=_0x4e3a72;return Array['from'](this[_0x557123(0x46a)][_0x557123(0x462)]());}};let _0x1279ea=[_0x456ed5],_0x4a1da9=class extends _0x2a4b8a[_0x4e3a72(0x4b8)]{constructor(_0xeca268=_0x2d9d2f,_0x248a87,_0x4be63c,_0x4a253c,_0x5ebb0c,_0x787a6d){const _0x40984d=_0x4e3a72;super(),this['_config']=_0xeca268,this[_0x40984d(0x1ef)]=_0x248a87,this[_0x40984d(0x461)]=_0x4be63c,this[_0x40984d(0x3be)]=_0x4a253c,this[_0x40984d(0x518)]=_0x5ebb0c,this[_0x40984d(0x359)]=_0x787a6d,_0x2fb75f(this,_0x40984d(0x387),new Map());let {..._0x14da06}=(0x0,_0x2a4b8a[_0x40984d(0x3b5)])({},_0x2d9d2f,this['_config']);this[_0x40984d(0x518)]['setConfig'](_0x40984d(0x2e8),_0x14da06),this[_0x40984d(0x3be)]['registerCtorForType'](_0x2a4b8a[_0x40984d(0x22c)][_0x40984d(0x2c2)],_0x2a4b8a[_0x40984d(0x382)]),this['_initDependencies'](),this[_0x40984d(0x3c2)](),this[_0x40984d(0x250)](),this['_initDataSync']();}[_0x4e3a72(0x21c)](){const _0x1715a2=_0x4e3a72;(0x0,_0x2a4b8a[_0x1715a2(0x418)])(this['_injector'],[[_0x331d17],[_0x21ea3d],[_0x4f2870]]),this['_univerInstanceService'][_0x1715a2(0x30d)](_0x2a4b8a['UniverInstanceType'][_0x1715a2(0x2c2)])[_0x1715a2(0x3ad)](_0x1a4ae5=>this[_0x1715a2(0x4ef)](_0x1a4ae5[_0x1715a2(0x3b7)]())),(0x0,_0x2a4b8a[_0x1715a2(0x418)])(this[_0x1715a2(0x1ef)],[[_0x9320de]]);}[_0x4e3a72(0x1d4)](){const _0x13b2fd=_0x4e3a72;[[_0x10d9e8,{'useClass':_0x4c8057}],[_0x35d5bf,{'useClass':_0x15cb51}],[_0xd124de,{'useClass':_0x5e3a87}],[_0x7145f7,{'useClass':_0x331d17}],[_0x258ce1,{'useClass':_0x517006}],[_0xe37605,{'useClass':_0x21ea3d}],[_0x4f2870],[_0x9320de]][_0x13b2fd(0x3ad)](_0x4d7179=>this[_0x13b2fd(0x1ef)]['add'](_0x4d7179));}[_0x4e3a72(0x3c2)](){const _0x3d8a35=_0x4e3a72;[_0x3f80b7,_0x338bc8,_0x3c52fc,_0x14872a,_0xba7180,_0x4bfc27,_0x5e8b5d,_0xe8a90,_0xdd678d,_0x2142c9,_0x51e90d,_0x1c61f1,_0x21f5ae,_0x5d8b99,_0x2554c4,_0x4abfb7,_0x12bf81,_0x2bf169,_0x123383,_0x5dfdc7,_0x1e9ec1,_0x4616ab,_0x3eabf3,_0x1da397,_0x57e5df,_0x1ec33d,_0x6647ed,_0xb76e24,_0x3ff764,_0x55d00c,_0x321ab3,_0x3b4d5a,_0x542172,_0x57ac4c,_0x56ebe9,_0x31c27a,_0x5a38b6,_0x30bd98,_0x3479da,..._0x1279ea][_0x3d8a35(0x3ad)](_0x409a2e=>this[_0x3d8a35(0x2b7)](this['_commandService'][_0x3d8a35(0x585)](_0x409a2e))),_0x1279ea[_0x3d8a35(0x3ad)](_0x53eb7d=>{const _0x4659c8=_0x3d8a35;var _0x116bd5;return(_0x116bd5=this[_0x4659c8(0x359)])==null?void 0x0:_0x116bd5['registerSyncingMutations'](_0x53eb7d);});}[_0x4e3a72(0x475)](){const _0x33d26b=_0x4e3a72;this[_0x33d26b(0x359)]&&(this[_0x33d26b(0x2b7)](this[_0x33d26b(0x3be)][_0x33d26b(0x258)](_0x2a4b8a[_0x33d26b(0x22c)]['UNIVER_BASE'])['subscribe'](({unit:_0x329ca8})=>{const _0x45814a=_0x33d26b;this[_0x45814a(0x4ef)](_0x329ca8['getUnitId']());})),this[_0x33d26b(0x2b7)](this[_0x33d26b(0x3be)]['getTypeOfUnitDisposed$'](_0x2a4b8a[_0x33d26b(0x22c)][_0x33d26b(0x2c2)])['subscribe'](_0xf6a7f9=>{const _0x27e8d6=_0x33d26b;var _0x703ca5;(_0x703ca5=this[_0x27e8d6(0x387)]['get'](_0xf6a7f9[_0x27e8d6(0x3b7)]()))==null||_0x703ca5[_0x27e8d6(0x37d)](),this[_0x27e8d6(0x387)][_0x27e8d6(0x3ba)](_0xf6a7f9[_0x27e8d6(0x3b7)]());})));}[_0x4e3a72(0x4ef)](_0x4d4271){const _0x2136e7=_0x4e3a72;!this[_0x2136e7(0x359)]||this[_0x2136e7(0x387)][_0x2136e7(0x537)](_0x4d4271)||this[_0x2136e7(0x387)][_0x2136e7(0x1b0)](_0x4d4271,this[_0x2136e7(0x359)][_0x2136e7(0x215)](_0x4d4271));}['_initRegistries'](){const _0x28747e=_0x4e3a72;let _0x65f16d=this[_0x28747e(0x1ef)][_0x28747e(0x295)](_0x10d9e8);_0x11ede0()[_0x28747e(0x3ad)](_0x1b5bca=>_0x65f16d[_0x28747e(0x55f)](_0x1b5bca));let _0x21466c=this[_0x28747e(0x1ef)]['get'](_0x35d5bf),_0x1fef69=this[_0x28747e(0x1ef)][_0x28747e(0x295)](_0xd124de);_0x488b5e()['forEach'](_0x5708d0=>{const _0x487b2a=_0x28747e;_0x21466c[_0x487b2a(0x55f)](_0x5708d0),_0x1fef69[_0x487b2a(0x564)](_0x5708d0);});}};_0x2fb75f(_0x4a1da9,_0x4e3a72(0x20d),_0x4e3a72(0x548)),_0x2fb75f(_0x4a1da9,_0x4e3a72(0x2a5),_0x4b60cc),_0x2fb75f(_0x4a1da9,_0x4e3a72(0x1e0),_0x419e49),_0x2fb75f(_0x4a1da9,_0x4e3a72(0x3a3),_0x2a4b8a['UniverInstanceType'][_0x4e3a72(0x2c2)]),_0x4a1da9=_0x2b1d11([(0x0,_0x2a4b8a[_0x4e3a72(0x51b)])(_0x287c54[_0x4e3a72(0x468)],_0x58b161[_0x4e3a72(0x241)]),_0x1f3d22(0x1,(0x0,_0x2a4b8a[_0x4e3a72(0x1a9)])(_0x2a4b8a[_0x4e3a72(0x4d8)])),_0x1f3d22(0x2,_0x2a4b8a[_0x4e3a72(0x39b)]),_0x1f3d22(0x3,_0x2a4b8a['IUniverInstanceService']),_0x1f3d22(0x4,_0x2a4b8a[_0x4e3a72(0x1c5)]),_0x1f3d22(0x5,(0x0,_0x2a4b8a[_0x4e3a72(0x48f)])(_0xe03786[_0x4e3a72(0x52b)]))],_0x4a1da9);let _0x509044=class extends _0x2a4b8a['Plugin']{constructor(_0x4b4bab=_0x24f69f,_0x5387cd,_0x638966,_0x193cb9,_0x5a3280){const _0x7a36a4=_0x4e3a72;super(),this[_0x7a36a4(0x20a)]=_0x4b4bab,this[_0x7a36a4(0x1ef)]=_0x5387cd,this[_0x7a36a4(0x461)]=_0x638966,this['_configService']=_0x193cb9,this[_0x7a36a4(0x3be)]=_0x5a3280;let {..._0x2f9b8b}=(0x0,_0x2a4b8a['merge'])({},_0x24f69f,this[_0x7a36a4(0x20a)]);this[_0x7a36a4(0x518)]['setConfig'](_0x7a36a4(0x271),_0x2f9b8b),this[_0x7a36a4(0x3be)]['registerCtorForType'](_0x2a4b8a[_0x7a36a4(0x22c)][_0x7a36a4(0x2c2)],_0x2a4b8a[_0x7a36a4(0x382)]),[[_0x10d9e8,{'useClass':_0x4c8057}],[_0xd124de,{'useClass':_0x5e3a87}]][_0x7a36a4(0x3ad)](_0x2fac2e=>this[_0x7a36a4(0x1ef)][_0x7a36a4(0x4a8)](_0x2fac2e)),_0x1279ea['forEach'](_0x58c11c=>this[_0x7a36a4(0x2b7)](this['_commandService'][_0x7a36a4(0x585)](_0x58c11c)));}};_0x2fb75f(_0x509044,_0x4e3a72(0x20d),_0x4e3a72(0x4d0)),_0x2fb75f(_0x509044,_0x4e3a72(0x2a5),_0x4b60cc),_0x2fb75f(_0x509044,_0x4e3a72(0x1e0),_0x419e49),_0x2fb75f(_0x509044,_0x4e3a72(0x3a3),_0x2a4b8a[_0x4e3a72(0x22c)][_0x4e3a72(0x2c2)]),_0x509044=_0x2b1d11([(0x0,_0x2a4b8a['DependentOn'])(_0x287c54[_0x4e3a72(0x468)],_0x58b161[_0x4e3a72(0x241)]),_0x1f3d22(0x1,(0x0,_0x2a4b8a[_0x4e3a72(0x1a9)])(_0x2a4b8a[_0x4e3a72(0x4d8)])),_0x1f3d22(0x2,_0x2a4b8a['ICommandService']),_0x1f3d22(0x3,_0x2a4b8a[_0x4e3a72(0x1c5)]),_0x1f3d22(0x4,_0x2a4b8a[_0x4e3a72(0x302)])],_0x509044);function _0x30bae5(_0x428f31){const _0x2ca2e4=_0x4e3a72;let _0x23060c=_0x5bbaf5(_0x428f31[_0x2ca2e4(0x4c1)]);if(!_0x23060c)return{'query':'','total':0x0,'matches':[]};let _0x2d7418=[],_0x32725c=[];for(let _0x5703b0=0x0;_0x5703b0<_0x428f31['fieldIds']['length'];_0x5703b0++){if(!(_0x5703b0 in _0x428f31[_0x2ca2e4(0x1eb)]))continue;let _0x4dbf20=_0x428f31[_0x2ca2e4(0x577)]['fields'][_0x428f31[_0x2ca2e4(0x1eb)][_0x5703b0]];_0x4dbf20&&_0x32725c[_0x2ca2e4(0x348)]({'field':_0x4dbf20,'fieldIndex':_0x5703b0});}_0x428f31[_0x2ca2e4(0x3e0)][_0x2ca2e4(0x3ad)]((_0x563a8e,_0x2634fb)=>{const _0x3abc25=_0x2ca2e4;_0x32725c[_0x3abc25(0x3ad)](({field:_0x3f054d,fieldIndex:_0x132f5f})=>{const _0x4c4af6=_0x3abc25;let _0x5c3615=_0x2946a1(_0x563a8e[_0x4c4af6(0x462)][_0x3f054d['id']],_0x3f054d);if(!_0x5c3615)return;let _0x4b701d=_0x12b3fb(_0x23060c,_0x5c3615[_0x4c4af6(0x42e)]);_0x4b701d<=0x0||_0x2d7418[_0x4c4af6(0x348)]({'recordId':_0x563a8e[_0x4c4af6(0x549)],'fieldId':_0x3f054d['id'],'fieldType':_0x3f054d['type'],'text':_0x5c3615[_0x4c4af6(0x55c)],'score':_0x4b701d,'rowIndex':_0x2634fb,'fieldIndex':_0x132f5f});});}),_0x2d7418[_0x2ca2e4(0x2da)]((_0xfafdb1,_0x6e78d2)=>_0x6e78d2[_0x2ca2e4(0x389)]-_0xfafdb1[_0x2ca2e4(0x389)]||_0xfafdb1[_0x2ca2e4(0x385)]-_0x6e78d2['rowIndex']||_0xfafdb1['fieldIndex']-_0x6e78d2[_0x2ca2e4(0x320)]);let _0x12fd35=_0x428f31[_0x2ca2e4(0x51d)]==null?_0x2d7418:_0x2d7418[_0x2ca2e4(0x39c)](0x0,Math[_0x2ca2e4(0x358)](0x0,_0x428f31[_0x2ca2e4(0x51d)]));return{'query':_0x23060c,'total':_0x2d7418[_0x2ca2e4(0x46c)],'matches':_0x4c7c8a(_0x12fd35)};}function _0x2946a1(_0x5f4c2f,_0x2bddfa){const _0x2a587a=_0x4e3a72;let _0x41f0e5=[];for(let _0x29e63e of _0x4f7990(_0x5f4c2f,_0x2bddfa)){let _0x2d5d2a=_0x5bbaf5(_0x29e63e);_0x2d5d2a&&_0x41f0e5[_0x2a587a(0x348)](_0x2d5d2a);}return _0x41f0e5[_0x2a587a(0x46c)]?{'displayText':_0x3d8f9e(_0x5f4c2f,_0x2bddfa),'searchTexts':_0x57f3cc(_0x41f0e5)}:null;}function _0x3d8f9e(_0xa66906,_0x451665){const _0x403438=_0x4e3a72;switch(_0x451665['type']){case _0x2a4b8a[_0x403438(0x1f7)]['SingleSelect']:case _0x2a4b8a[_0x403438(0x1f7)][_0x403438(0x336)]:case _0x2a4b8a[_0x403438(0x1f7)][_0x403438(0x26e)]:return _0x511909(_0xa66906,_0x451665)[_0x403438(0x2fe)](',\x20');case _0x2a4b8a[_0x403438(0x1f7)][_0x403438(0x276)]:return _0x6e7b9b(_0xa66906);case _0x2a4b8a[_0x403438(0x1f7)][_0x403438(0x34c)]:case _0x2a4b8a[_0x403438(0x1f7)][_0x403438(0x444)]:case _0x2a4b8a['BaseFieldType'][_0x403438(0x584)]:return _0x4f1acd(_0xa66906,_0x451665);case _0x2a4b8a[_0x403438(0x1f7)]['Number']:case _0x2a4b8a[_0x403438(0x1f7)]['Currency']:return _0xf445c6(_0xa66906,_0x451665);case _0x2a4b8a[_0x403438(0x1f7)][_0x403438(0x2f7)]:return _0x1223ce(_0xa66906,_0x451665);case _0x2a4b8a[_0x403438(0x1f7)][_0x403438(0x50b)]:return _0xa66906?'Checked':'Unchecked';case _0x2a4b8a[_0x403438(0x1f7)][_0x403438(0x4a1)]:return _0x3b1d16(_0xa66906)[_0x403438(0x2fe)](',\x20');default:return _0xc98af5(_0xa66906);}}function _0x4f7990(_0x405477,_0x101325){const _0x55a5b9=_0x4e3a72;switch(_0x101325[_0x55a5b9(0x3a3)]){case _0x2a4b8a[_0x55a5b9(0x1f7)][_0x55a5b9(0x22f)]:case _0x2a4b8a[_0x55a5b9(0x1f7)][_0x55a5b9(0x336)]:case _0x2a4b8a[_0x55a5b9(0x1f7)]['Group']:{let _0x4ea089=_0x511909(_0x405477,_0x101325);if(Array[_0x55a5b9(0x35c)](_0x405477)){let _0x366499=[..._0x4ea089];for(let _0x3ab7ba=0x0;_0x3ab7ba<_0x405477[_0x55a5b9(0x46c)];_0x3ab7ba++)_0x3ab7ba in _0x405477&&_0x366499[_0x55a5b9(0x348)](String(_0x405477[_0x3ab7ba]));return _0x366499;}return _0x405477==null?_0x4ea089:[..._0x4ea089,String(_0x405477)];}case _0x2a4b8a[_0x55a5b9(0x1f7)][_0x55a5b9(0x276)]:{let _0x37dcec=_0x192d86(_0x405477);return[_0x37dcec['text'],_0x37dcec[_0x55a5b9(0x2c7)]];}case _0x2a4b8a[_0x55a5b9(0x1f7)]['Date']:case _0x2a4b8a['BaseFieldType']['CreatedAt']:case _0x2a4b8a[_0x55a5b9(0x1f7)][_0x55a5b9(0x584)]:return[_0x4f1acd(_0x405477,_0x101325),_0xc98af5(_0x405477)];case _0x2a4b8a[_0x55a5b9(0x1f7)]['Number']:case _0x2a4b8a['BaseFieldType']['Currency']:return[_0xf445c6(_0x405477,_0x101325),_0xc98af5(_0x405477)];case _0x2a4b8a[_0x55a5b9(0x1f7)][_0x55a5b9(0x2f7)]:return[_0x1223ce(_0x405477,_0x101325),_0xc98af5(_0x405477)];case _0x2a4b8a['BaseFieldType'][_0x55a5b9(0x50b)]:return _0x405477?[_0x55a5b9(0x4b1),'Yes',_0x55a5b9(0x2cc)]:[_0x55a5b9(0x364),'No','False'];case _0x2a4b8a[_0x55a5b9(0x1f7)][_0x55a5b9(0x4a1)]:return _0x3b1d16(_0x405477);default:return[_0xc98af5(_0x405477)];}}function _0x511909(_0x11cd32,_0x15bd3d){const _0x58e217=_0x4e3a72;var _0x4b035b;let _0x4bb842=Array[_0x58e217(0x35c)]((_0x4b035b=_0x15bd3d[_0x58e217(0x3e8)])==null?void 0x0:_0x4b035b[_0x58e217(0x22d)])?_0x15bd3d['config']['options']:[],_0x32358c=[];if(Array[_0x58e217(0x35c)](_0x11cd32)){for(let _0x88157b=0x0;_0x88157b<_0x11cd32['length'];_0x88157b++){if(!(_0x88157b in _0x11cd32))continue;let _0x227013=String(_0x11cd32[_0x88157b]);_0x227013&&_0x32358c[_0x58e217(0x348)](_0x12c23c(_0x4bb842,_0x227013));}return _0x32358c;}if(_0x11cd32!=null){let _0x1b512b=String(_0x11cd32);_0x1b512b&&_0x32358c[_0x58e217(0x348)](_0x12c23c(_0x4bb842,_0x1b512b));}return _0x32358c;}function _0x12c23c(_0xa2ad1c,_0x59b0f5){const _0xe9d1d6=_0x4e3a72;for(let _0x16379a of _0xa2ad1c){if(typeof _0x16379a==_0xe9d1d6(0x4ad)&&_0x16379a===_0x59b0f5)return _0x16379a;if(_0x16379a&&typeof _0x16379a==_0xe9d1d6(0x3e9)){let _0x24c3c0=_0x16379a;if(String(_0x24c3c0['id']??_0x24c3c0[_0xe9d1d6(0x492)]??'')===_0x59b0f5||String(_0x24c3c0['name']??'')===_0x59b0f5)return String(_0x24c3c0['name']??_0x24c3c0['id']??_0x59b0f5);}}return _0x59b0f5;}function _0x192d86(_0x86b628){const _0x175bf0=_0x4e3a72;if(_0x86b628&&typeof _0x86b628=='object'&&!Array['isArray'](_0x86b628)){let _0x5d8b40=_0x86b628;return{'text':String(_0x5d8b40[_0x175bf0(0x3ca)]??_0x5d8b40['url']??''),'url':String(_0x5d8b40[_0x175bf0(0x2c7)]??'')};}return{'text':_0xc98af5(_0x86b628),'url':_0xc98af5(_0x86b628)};}function _0x6e7b9b(_0x29adc9){const _0x584fb3=_0x4e3a72;let _0x4bc108=_0x192d86(_0x29adc9);return _0x4bc108[_0x584fb3(0x3ca)]||_0x4bc108[_0x584fb3(0x2c7)];}function _0x4f1acd(_0x5c27f2,_0x35c431){const _0x4a9aca=_0x4e3a72;return typeof _0x5c27f2!=_0x4a9aca(0x23b)||!Number[_0x4a9aca(0x25a)](_0x5c27f2)?'':_0x433b49(_0x5c27f2,_0x35c431['config']);}function _0xf445c6(_0xd4088a,_0x543634){const _0x18f455=_0x4e3a72;let _0x4badb4=typeof _0xd4088a==_0x18f455(0x23b)?_0xd4088a:Number(_0xd4088a);return Number[_0x18f455(0x25a)](_0x4badb4)?_0x4fd340(_0x4badb4,_0x543634[_0x18f455(0x3e8)]):'';}function _0x1223ce(_0xa2359e,_0x4b2ab3){const _0x51012c=_0x4e3a72;let _0x558c58=typeof _0xa2359e==_0x51012c(0x23b)?_0xa2359e:Number(_0xa2359e);return Number['isFinite'](_0x558c58)?_0x342d9c(_0x558c58,_0x4b2ab3['config']):'';}function _0x3b1d16(_0x5ebd4f){const _0x7c586d=_0x4e3a72;return Array[_0x7c586d(0x35c)](_0x5ebd4f)?_0x5ebd4f[_0x7c586d(0x467)](_0x3b6025=>{const _0x9942f8=_0x7c586d;if(!_0x3b6025||typeof _0x3b6025!=_0x9942f8(0x3e9))return[];let _0x27c4ca=_0x3b6025,_0x30e0d2=String(_0x27c4ca[_0x9942f8(0x492)]??_0x27c4ca['url']??'')[_0x9942f8(0x571)]();return _0x30e0d2?[_0x30e0d2]:[];}):[];}function _0xc98af5(_0x35596a){const _0x1f3556=_0x4e3a72;if(_0x35596a==null)return'';if(typeof _0x35596a==_0x1f3556(0x49b))return _0x35596a?_0x1f3556(0x2d8):_0x1f3556(0x2ad);if(typeof _0x35596a==_0x1f3556(0x23b))return String(_0x35596a);if(Array[_0x1f3556(0x35c)](_0x35596a)){let _0x3f7448=[];for(let _0x1f4cb4=0x0;_0x1f4cb4<_0x35596a['length'];_0x1f4cb4++){if(!(_0x1f4cb4 in _0x35596a))continue;let _0x237a21=_0xc98af5(_0x35596a[_0x1f4cb4]);_0x237a21&&_0x3f7448[_0x1f3556(0x348)](_0x237a21);}return _0x3f7448[_0x1f3556(0x2fe)](',\x20');}if(typeof _0x35596a=='object'){let _0x5688b0=_0x35596a;return String(_0x5688b0['title']??_0x5688b0[_0x1f3556(0x492)]??_0x5688b0[_0x1f3556(0x3ca)]??_0x5688b0['url']??'')[_0x1f3556(0x571)]();}return String(_0x35596a);}function _0x12b3fb(_0x144e52,_0x59d31b){const _0x4ba20b=_0x4e3a72;let _0xdd05f6=0x0;for(let _0x1f41a5 of _0x59d31b)if(_0x1f41a5){if(_0x1f41a5===_0x144e52){_0xdd05f6=Math['max'](_0xdd05f6,0x12c);continue;}if(_0x1f41a5[_0x4ba20b(0x420)](_0x144e52)){_0xdd05f6=Math[_0x4ba20b(0x358)](_0xdd05f6,0xfa);continue;}_0x1f41a5[_0x4ba20b(0x1a7)](_0x144e52)&&(_0xdd05f6=Math[_0x4ba20b(0x358)](_0xdd05f6,0xc8));}return _0xdd05f6;}function _0x5bbaf5(_0xd8c758){const _0x5eaa14=_0x4e3a72;return _0xd8c758['trim']()[_0x5eaa14(0x2f6)](/\s+/g,'\x20')[_0x5eaa14(0x494)]();}function _0x57f3cc(_0x9ef0f3){const _0x57bc4c=_0x4e3a72;return Array[_0x57bc4c(0x221)](new Set(_0x9ef0f3));}function _0x4c7c8a(_0x5c1d9f){const _0x59a9fb=_0x4e3a72;let _0xc5251=[];for(let {rowIndex:_0x37d3f4,fieldIndex:_0xddf72a,..._0xc62829}of _0x5c1d9f)_0xc5251[_0x59a9fb(0x348)](_0xc62829);return _0xc5251;}_0x107cb6['ApplyBaseJson1Mutation']=_0x456ed5,_0x107cb6[_0x4e3a72(0x4f6)]=_0x1ab133,_0x107cb6['BASE_HIERARCHY_MAX_LEVELS']=0x5,_0x107cb6[_0x4e3a72(0x3d4)]=_0x6f9c7b,_0x107cb6[_0x4e3a72(0x429)]=_0x4e3a72(0x1f8),_0x107cb6[_0x4e3a72(0x4f1)]=_0xf8e1b7,_0x107cb6['BaseEventSource']=_0xab00e8,_0x107cb6['BaseFormulaService']=_0x2a5bc1,_0x107cb6[_0x4e3a72(0x25c)]=_0x3f0ef5,_0x107cb6[_0x4e3a72(0x517)]=_0x3bc720,_0x107cb6[_0x4e3a72(0x395)]=_0x5c1670,_0x107cb6['BaseJson1OpFactory']=_0x5a8274,_0x107cb6[_0x4e3a72(0x582)]=_0xdd678d,_0x107cb6['BatchDeleteBaseRecordsCommand']=_0x51e90d,_0x107cb6['ChangeBaseFieldTypeCommand']=_0x123383,_0x107cb6[_0x4e3a72(0x381)]=_0xe8a90,_0x107cb6[_0x4e3a72(0x3e5)]=_0x2554c4,_0x107cb6[_0x4e3a72(0x3f6)]=_0x5e8b5d,_0x107cb6[_0x4e3a72(0x4b4)]=_0x3f80b7,_0x107cb6[_0x4e3a72(0x343)]=_0x3eabf3,_0x107cb6[_0x4e3a72(0x339)]=_0x5dfdc7,_0x107cb6['DeleteBaseRecordCommand']=_0x2142c9,_0x107cb6[_0x4e3a72(0x331)]=_0x3c52fc,_0x107cb6['DeleteBaseViewCommand']=_0x6647ed,_0x107cb6[_0x4e3a72(0x538)]=_0x4abfb7,_0x107cb6[_0x4e3a72(0x2f8)]=_0x1c61f1,_0x107cb6[_0x4e3a72(0x24d)]=_0xf35432,_0x107cb6[_0x4e3a72(0x491)]=_0x1da397,_0x107cb6[_0x4e3a72(0x4dd)]=_0xe37605,_0x107cb6[_0x4e3a72(0x490)]=_0x258ce1,_0x107cb6[_0x4e3a72(0x4ec)]=_0xd124de,_0x107cb6['IBaseViewRegistryService']=_0x35d5bf,_0x107cb6[_0x4e3a72(0x30f)]=_0x1e9ec1,_0x107cb6[_0x4e3a72(0x338)]=_0x5d8b99,_0x107cb6[_0x4e3a72(0x2a0)]=_0xb76e24,_0x107cb6[_0x4e3a72(0x2fa)]=_0x338bc8,_0x107cb6[_0x4e3a72(0x436)]=_0x57e5df,_0x107cb6[_0x4e3a72(0x1e5)]=_0x321ab3,_0x107cb6['SetBaseNameCommand']=_0x1ec33d,_0x107cb6[_0x4e3a72(0x3a8)]=_0x4bfc27,_0x107cb6[_0x4e3a72(0x4ac)]=_0xba7180,_0x107cb6['SetBaseTableHierarchyFieldCommand']=_0x31c27a,_0x107cb6[_0x4e3a72(0x4ab)]=_0x3479da,_0x107cb6[_0x4e3a72(0x48c)]=_0x5a38b6,_0x107cb6['SetBaseViewFieldWidthCommand']=_0x30bd98,_0x107cb6[_0x4e3a72(0x2dc)]=_0x542172,_0x107cb6['SetBaseViewGroupCommand']=_0x56ebe9,_0x107cb6[_0x4e3a72(0x1a8)]=_0x57ac4c,Object[_0x4e3a72(0x47f)](_0x107cb6,_0x4e3a72(0x4ca),{'enumerable':!0x0,'get':function(){return _0x4a1da9;}}),Object[_0x4e3a72(0x47f)](_0x107cb6,_0x4e3a72(0x530),{'enumerable':!0x0,'get':function(){return _0x509044;}}),_0x107cb6['UpdateBaseCellCommand']=_0x14872a,_0x107cb6['UpdateBaseFieldCommand']=_0x12bf81,_0x107cb6['UpdateBaseFieldDescriptionCommand']=_0x2bf169,_0x107cb6[_0x4e3a72(0x35d)]=_0x3b4d5a,_0x107cb6[_0x4e3a72(0x273)]=_0x21f5ae,_0x107cb6[_0x4e3a72(0x52c)]=_0x55d00c,_0x107cb6['UpdateBaseViewConfigCommand']=_0x3ff764,_0x107cb6[_0x4e3a72(0x590)]=_0x4616ab,_0x107cb6[_0x4e3a72(0x275)]=_0x15584e,_0x107cb6[_0x4e3a72(0x424)]=_0x10c7de,_0x107cb6[_0x4e3a72(0x243)]=_0x5de69f,_0x107cb6[_0x4e3a72(0x293)]=_0x11c303,_0x107cb6[_0x4e3a72(0x255)]=_0x2d9193,_0x107cb6['createDefaultBaseTableSnapshot']=_0x3891c7,_0x107cb6[_0x4e3a72(0x526)]=_0x36a1a6,_0x107cb6['createEmbedBasesTableAddMutation']=_0x48af69,_0x107cb6['createEmbedBasesTableRemoveMutation']=_0xf875a0,_0x107cb6['createUniqueBaseTableName']=_0xb37f53,_0x107cb6['dateToExcelSerial']=_0xc1645c,_0x107cb6[_0x4e3a72(0x557)]=_0x191958,_0x107cb6[_0x4e3a72(0x558)]=_0x1cc5d4,_0x107cb6['formatBaseDateValue']=_0x433b49,_0x107cb6[_0x4e3a72(0x4b3)]=_0x2ab434,_0x107cb6[_0x4e3a72(0x4cf)]=_0x4fd340,_0x107cb6[_0x4e3a72(0x51c)]=_0x342d9c,_0x107cb6[_0x4e3a72(0x25e)]=_0x471d88,_0x107cb6[_0x4e3a72(0x595)]=_0x5c8d7c,_0x107cb6[_0x4e3a72(0x213)]=_0x1dd5a4,_0x107cb6[_0x4e3a72(0x43f)]=_0x1b2c82,Object[_0x4e3a72(0x47f)](_0x107cb6,'getBaseFormulaTableName',{'enumerable':!0x0,'get':function(){const _0x40e983=_0x4e3a72;return _0x2a4b8a[_0x40e983(0x463)];}}),_0x107cb6[_0x4e3a72(0x1ce)]=_0x59b653,_0x107cb6[_0x4e3a72(0x474)]=_0x5efb78,_0x107cb6['getRecordLinkFieldConfig']=_0x116c46,_0x107cb6[_0x4e3a72(0x45c)]=_0x5514aa,_0x107cb6[_0x4e3a72(0x297)]=_0x1569f2,_0x107cb6[_0x4e3a72(0x220)]=_0x296a1f,_0x107cb6[_0x4e3a72(0x247)]=_0x2ca4be,_0x107cb6[_0x4e3a72(0x53f)]=_0x4b1881,_0x107cb6[_0x4e3a72(0x4c2)]=_0xeff9c4,_0x107cb6[_0x4e3a72(0x272)]=_0x10b501,_0x107cb6[_0x4e3a72(0x283)]=_0x5c7c42,_0x107cb6[_0x4e3a72(0x1ad)]=_0x492d1e,_0x107cb6[_0x4e3a72(0x3fb)]=_0x59266e,_0x107cb6[_0x4e3a72(0x402)]=_0x4c0a04,_0x107cb6['normalizeBaseFieldStatsConfig']=_0xc7e09d,_0x107cb6[_0x4e3a72(0x560)]=_0x380ec4,_0x107cb6[_0x4e3a72(0x2d9)]=_0x9d91f6,_0x107cb6[_0x4e3a72(0x4a6)]=_0x5b455d,_0x107cb6['resolveBaseHierarchyFieldId']=_0x31787d,_0x107cb6[_0x4e3a72(0x289)]=_0x4b106c,_0x107cb6['searchBaseTable']=_0x30bae5,_0x107cb6[_0x4e3a72(0x345)]=_0x4dad93,_0x107cb6[_0x4e3a72(0x308)]=_0x26cddf,_0x107cb6[_0x4e3a72(0x35f)]=_0x19760c,_0x107cb6[_0x4e3a72(0x2c0)]=_0x449e66,_0x107cb6[_0x4e3a72(0x34f)]=_0x15892b,_0x107cb6[_0x4e3a72(0x451)]=_0x31b303,_0x107cb6[_0x4e3a72(0x384)]=_0x615c2f,_0x107cb6[_0x4e3a72(0x232)]=_0x48cc92,_0x107cb6[_0x4e3a72(0x4bf)]=_0x45d2b5,_0x107cb6[_0x4e3a72(0x354)]=_0x150b96;}));function _0x56f7(_0x7d0a4b,_0x14b6ef){_0x7d0a4b=_0x7d0a4b-0x1a5;const _0xad70b2=_0xad70();let _0x56f7bd=_0xad70b2[_0x7d0a4b];return _0x56f7bd;}function _0xad70(){const _0x5057d6=['Start\x20date','\x20must\x20be\x20an\x20object.','_initCommands','apostrophe','fields','BaseFilterConjunction','usableAsCardCover','allowDangling','check','__base_hierarchy_parent__','text','_filterRows','_isNonEmptyCellValue','changeFieldType','edit','Import','replaceOp','allowNegative','beforeFieldId','@univerjs/rpc','BASE_HIERARCHY_PARENT_FIELD_ID','[BaseCommandService]:\x20cannot\x20delete\x20record.','base.command.set-base-view-sort','refactorFormulaUnitQualifier','UNIVER_EMBED_BASES_TABLE','base.command.set-base-view-field-width','_replaceOptional','_formulaCalculationTriggerService','updateField','_viewRevisions','base-perf','createCreateFieldOp','rows','UniverProBases','Calendar','_resolveCardTitleFieldId','\x20cannot\x20use\x20operator\x20\x22','CreateBaseFieldCommand','padStart','Clear','config','object','lastWeek','base.command.create-base-child-record','colId','SetFormulaCalculationResultMutation','insertOp','changed','this-row','222586nqNtWk','_getOrderedRecords','_applier','\x22\x20is\x20not\x20registered.','_getHierarchyIndex','CreateBaseRecordCommand','separatorStyle',',,,\x22B\x22','childType','pushUndoRedo','normalizeBaseDateFieldConfig','base.command.update-base-kanban-config','base.viewType.gallery','parentRecordId','UTC','canDeleteRecord','clear','normalizeBaseDateSerial','readonly','getUTCDay','applyOp','todo','[BaseCommandService]:\x20cannot\x20delete\x20field.','start','h24','revision','_formulaService','precision','row','_assertFieldDefinition','_getCurrentUserId','toPrimitive','hierarchy','\x22\x20does\x20not\x20exist.\x20Use\x20FBaseTable.getFormulaName()\x20or\x20getSchema().formulaName\x20for\x20structured\x20references.','base.mutation.apply-base-json1','InvalidField','_resolveCalendarDateFieldId','groups','formula.mutation.set-formula-calculation-result','touchDependencies','_syncSuperTables','afterFieldId','percent','sequenceExecute','matchAll','workingDaysOnly','Delete','startsWith','_scheduleSuperTableSync','formulaName','at\x20index\x20','buildBaseHierarchyIndex','invertOp','base.command.create-base-field','lessThan','_isAllDayCalendarEvent','BASE_TABLE_NAME_REQUIREMENTS','BaseConditionalColorOperator','_deleteAttachmentResources','CreatedBy','_permissionService','searchTexts','createDefaultConfig','_kanbanLaneTitle','_tablePermissions','test','usableAsCalendarDate','assign','dateKit','RenameBaseViewCommand','generateRandomId','yesterday','then','662781jFRXJs','_projectTableRows','_tableRevisions','IS_NOT_EMPTY','\x22\x20does\x20not\x20exist.','getBaseConditionalColorOperators','canCreateRecord','__all__','_isAllowedKanbanGroupField','\x20has\x20unsupported\x20date\x20mode\x20\x22','CreatedAt','targetTableId','baseRows','setViewFieldVisible','isNot','BaseCommand.createBatchCreateRecordsOp','IUndoRedoService','updatedAt','gridViewId','_getTablesToNormalize','canDeleteTable','pickerFieldIds','conditional','validateBaseHierarchyRecordPatches','large','split','gantt','startDateFieldId','getAll','DD/MM/YYYY','keys','BaseProjection.projectGroups','now','working','getSupportedBaseFieldStatTypes','Uncategorized','BASE','deleteField','getUnit','_commandService','values','getBaseFormulaTableName','usableAsGanttStart','medium','Remote','flatMap','UniverLicensePlugin','canCreateTable','_plugins','tables','length','attachment-','createRegExpFromSafeFragment','CONTAINS','invalidateByOp','deleteView','_projectionCache','updateCell','getBaseHierarchyFieldId','_initDataSync',':start','createRecord','embed-ui','[BaseField]:\x20invalid\x20phone\x20value.','cardLayout','getDay','_formulaSyncQueue','fieldName','quarter','defineProperty','snapshot','done','isBaseRecordIdFieldName','[UpdateBaseViewConditionalColorRulesCommand]:\x20rules\x20must\x20be\x20an\x20array.','formula','86455PdHYiX','[BaseFieldRegistryService]:\x20field\x20type\x20\x22','Undo','NOT_CONTAINS','Grid\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.','group','repairViewConfig','SetBaseViewFieldVisibleCommand','_getCellRevision','[BaseHierarchy]:\x20field\x20\x22','Optional','IBasePermissionService','EnsureBaseTemporalViewDateFieldsCommand','name','_findKanbanGroupField','toLowerCase','@univerjs-pro/license','depth','lastIndex','assertBaseTableRecordIdentity','_isCalendarDateField','card','boolean','_kanbanGroupKeys','A\x20table\x20name\x20cannot\x20start\x20or\x20end\x20with\x20an\x20apostrophe.','renameTable','_basePermissions','sortedView','Attachment','[BaseCommandService]:\x20invalid\x20RecordLink\x20value.','toString','index','usableAsGanttEnd','resolveBaseDateFieldConfig','doing','add','unshift','custom','SetBaseViewFieldOrderCommand','SetBaseRecordValuesCommand','string','End\x20date','every','_fastSortRows','Checked','_ganttBarColor','formatBaseFieldStatValue','CreateBaseTableCommand','default','_cellInvalidations','base.command.set-base-view-group','Plugin','view','createViewId','1795512bAmpcK','relationRole','_executeSuperTableMutationWhileActive','remove','validateRecordLinkField','includeTime','query','isBaseFieldStatSupported','columnSettings','record','getOwnPropertyDescriptor','isEmpty','find','symbol','order','UniverBasesPlugin','_patchProjectedRowsForCellInvalidations','78rBFQOc','viewId','MM-DD','formatBaseNumberValue','REMOTE_BASES_PLUGIN','_resolveKanbanCoverFieldId','_cellRevisions','system','MUTATION','[BaseFormula]:\x20field\x20\x22','getUTCFullYear','#BFDBFE','Injector','IS_NOT','exec','[BaseCommandService]:\x20field\x20\x22','BaseSortDirection','IBaseCommandService','Done','format','_filterSortFieldIds','RemoveSuperTableMutation','base.command.rename-base-view','ObjectMatrix','iterator','_getAllBaseDependencyTreeCacheMap','[RecordLink]:\x20display\x20field\x20\x22','[RecordLink]:\x20value\x20is\x20not\x20a\x20canonical\x20record\x20id\x20list.','UniverCore','IS_EMPTY','abs','UniverRpc','IBaseProjectionService','BOOLEAN','coverFieldId','_syncBaseUnit','conjunction','BaseConditionalColorRuleUpdateType','[BaseCommandService]:\x20cannot\x20edit\x20field.','BaseViewType','indexOf','[BasePerf]\x20','BASE_FIELD_STAT_TYPES','undefined','constructor','write','Use\x2031\x20characters\x20or\x20fewer.','valid','[BaseField]:\x20invalid\x20email\x20value.','IBaseCellData.ensureTableCellLayout','_getJson1DirtyData','_recordIds','filter','description','$1\x20','\x22.\x20Allowed\x20operators:\x20','_factory','AFTER','BaseProjection.projectTableRows','_normalizeGalleryConfig','Gallery\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.','conditionalColoring','defaultValue','Checkbox','titleFieldId','base.command.set-base-table-hierarchy-field','base.command.create-base-table','[BaseCommandService]:\x20cannot\x20create\x20field.','moveView','base.command.update-base-view-conditional-color-rules','[BaseField]:\x20negative\x20numbers\x20are\x20disabled.','measure','deleteRecord','conditions','_projectFields','BaseHierarchyErrorCode','_configService','result','toLocaleString','DependentOn','formatBaseProgressValue','limit','DESC','nodes','createIdentifier','selectField','dateMode','blue','maxDepth','kanban','createEmbedBasesTable','count','diffValue','endDateFieldId','allocateBaseFormulaTableName','DataSyncPrimaryController','UpdateBaseViewConditionalColorRulesCommand','canCreateField','viewOrder','includeRecords','UniverRemoteBasesPlugin','recordOrder','[BaseCommandService]:\x20cannot\x20create\x20table.','rules','__UNIVER_BASE_PERF__','_projectGroups','getFullYear','has','DuplicateBaseFieldCommand','_isColorfulKanbanGroupField','Currency','empty','base.command.update-base-record-order','manual','__tempBatchingUndoRedo','isBaseFieldStatEmptyValue','[BaseField]:\x20invalid\x20rating\x20value.','fieldOrder','1.0.0-beta.2','_setViewFieldSetting','setTablePermission','_projectRows','https://','numfmt','BASES_PLUGIN','recordId','COLUMN','reduce','code','\x20has\x20unsupported\x20target\x20\x22','records','undo',',,\x22M\x22','setRecordValues','Todo','[BaseCommandService]:\x20invalid\x20cell\x20value.','_enqueueFormulaSync','invalidGanttStartField','base.projection.service','ensureBaseTableCellLayout','findRecordLinkReferences','MissingRecord','Numbering','_projectedRowsCache','displayText','attachment','lastIndexOf','register','parseRecordLinkIds','YYYY-MM-DD','sum','[BaseHierarchy]:\x20','registerView','getTime','getSnapshot','renameFormulaUnitReferences','recordIds','invalidateByCell','_createSystemFieldValuePatches','base.permission.service','-field-name','fromEntries','_recordPermissions','createdBy','base.command.create-base-record','trim','FieldId','@univerjs-pro/engine-formula','@univerjs-pro/bases','Text','focusUnit','table','isNotEmpty','decorate','notContains','\x20must\x20have\x20a\x20non-empty\x20id.','showTodayLine','cellRevision','reason','major-','rule','NumberFormat','BatchCreateBaseRecordsCommand','duplicateRecord','UpdatedAt','registerCommand','prototype','average','base.command.ensure-base-temporal-view-date-fields','ColorKit','canManageView','title','Doing','setHours','_resolveGalleryCoverFieldId','embedId','ValidateBaseFormulaCommand','BEFORE','_createNumberingAllocator','getTypeOfUnitDisposed$','_onCommandExecuted','getBaseCellFormulaValue','groupFieldId','createUnit','_canUseFastSort','splice','includes','SetBaseViewSortCommand','Inject','SelfParent','getUTCMonth','regexp','matchesBaseCondition','BaseConditionalDateMode','missingField','set','col','function','fieldId','views','invalidField','validateFormula','YYYY/MM/DD','_isKanbanGroupField','userID','leftPaneWidth','_getStructureDirtyTableIds','base.fieldType.','\x20must\x20have\x20a\x20valid\x20CSS\x20color.','redo','periodComma','RecordId','base.command.create-base-view','#BBF7D0','createTable','base.command.set-base-view-field-visible','IConfigService','_globalRevision','_applyFormulaResult','past7','invertWithDoc','base.viewType.grid','Facade','spacePeriod','leftPaneCollapsed','getBaseHierarchyDeletePromotions','A\x20table\x20name\x20cannot\x20contain\x20:\x20\x5c\x20/\x20?\x20*\x20[\x20].','_fieldPermissions','findIndex','UpdatedBy','CellValueType','_initDependencies','Calendar\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.',':end','filled','createBaseRecordIdField','[BaseCommandService]:\x20invalid\x20field\x20definition.','[BaseCommandService]:\x20cannot\x20delete\x20table.','codePointAt','_disposed','COMMAND','Name','rowId','version','h12','fieldSettings','Add','repeat','SetBaseKanbanGroupFieldCommand','_rowTransformCacheSegment','compose','_createNumberingAllocators','fld-','parentByRecordId','fieldIds','[BaseJson1OpFactory]:\x20cannot\x20write\x20record-id.','createBaseFormulaTableNameMap','_normalizeGanttConfig','_injector','Redo','long','375687ZKhmNT','updateRecordOrder','[BaseField]:\x20invalid\x20number\x20value.','exceptions','A\x20table\x20with\x20this\x20name\x20already\x20exists.','BaseFieldType','Base\x20table\x20names\x20are\x20exported\x20as\x20Excel\x20worksheet\x20names\x20and\x20must\x20contain\x201-31\x20characters,\x20not\x20start\x20or\x20end\x20with\x20an\x20apostrophe,\x20not\x20contain\x20:\x20\x5c\x20/\x20?\x20*\x20[\x20],\x20and\x20be\x20unique\x20(case-insensitive).','deleteTable','_projectedViewRowsCache','_buildKanban','_runtimeContext','[BaseField]:\x20invalid\x20date\x20value.','canDeleteField','raw','setBasePermission','none','createSetRecordValuesOp','mode','commaPeriod','editable','_groupCellInvalidations','calendar','end','_materializeGroups','_config','setViewGroup','General','pluginName','normal','key','_groupProjectionFieldIds','UniverEngineFormula','month','getBaseCellValue','#FDE68A','syncUnit','createBatchCreateRecordsOp','mark','attachmentSets','BaseConditionalColorTarget','primaryFieldId','column','onReady','lessThanOrEqual','operand','locale','inferBaseSeparatorStyle','from','params','[BaseField]:\x20invalid\x20multi-value\x20reference.','weekdays','scale','WriteCursor','[BaseField]:\x20invalid\x20progress\x20value.','base.command.rename-base-table','getInstance','setViewSort','markResultApplied','UniverInstanceType','options','-view-grid','SingleSelect','_cacheKey','http:','validateCanonicalRecordLinkValue','_hierarchyIndexCache','oldParentRecordId','remote','orderKey','beforeViewId','base.command.set-base-range-values','currencySymbol','timeslotSize','number','_resolveGanttDateFieldId','BaseHierarchyInvalidReason','[UpdateBaseViewConditionalColorRulesCommand]:\x20rule\x20','orderedRecordIds','after','UniverProFormulaEnginePlugin','#3b82f6','calculateBaseFieldStat','MaxDepth','base.command.update-base-view-config','patches','isBaseConditionalColorDateField','resolvedOptions','_applyingFormulaResults','unitWidth','bases.fieldConfig.textPlaceholder','[UpdateBaseViewConditionalColorRulesCommand]:\x20duplicate\x20rule\x20id\x20\x22','EMBED_BASES_TABLE_RESOURCE_KEY','_getTable','small','_initRegistries','_buildGallery','SortedView','_createNumberingFieldValuePatches','missingRecord','createBaseHierarchyParentField','FormulaCalculationSessionService','unitId','getTypeOfUnitAdded$','base.command.delete-base-record','isFinite','[BaseCommandService]:\x20cannot\x20manage\x20view.','BaseHierarchyError','syncExecuteCommand','getActiveBaseHierarchyFieldIds','invalid','setSnapshot','base.command.update-base-field-description','https:','exact','afterViewId','Tools','_registeredSuperTableNames','Set','invalidateByField','1VNobZt','setViewFilter','_formulaCalculationSessionService','displayFieldId','Gallery','Group','en-US','_bumpTableRevision','bases.remote.config','isBaseFieldStatType','UpdateBaseRecordOrderCommand','recordNamePrefix','baseDateSerialToDateMs','Link','pattern','Parent','href','\x22\x20must\x20be\x20a\x20non-system\x20field\x20in\x20the\x20target\x20table.','multiple','createBase','star','search','_normalizeCalendarDisplayColor','short','decimalPlaces','autoIncrement','isBaseHierarchyField','general','colIndex','attachmentSet','pop','JSON1','resolveBaseRangeHierarchyPatches','columns','LESS_THAN','toDisposable','[BaseField]:\x20invalid\x20person\x20value.','base.command.set-base-name','path','getProjection','base.field-registry.service','_T_','copyBaseTableSnapshot','BaseJson1.cloneForOp','get','_toDirtyRangePatch','getVisibleBaseHierarchyRows','createUpdateCellOp','globalRevision','CommandType','_getAllTableIds','[RecordLink]:\x20target\x20table\x20does\x20not\x20exist\x20in\x20this\x20Base.','greaterThan','NUMBER','Gantt','MoveBaseViewCommand','executeCommand','thumbnail','invalidDateField','getDependencies','packageName','Table','Disposable','[BaseFormula]:\x20table\x20does\x20not\x20exist.','Table\x20name\x20is\x20required.','viewIndexes','base.command.change-base-field-type','Rating','false','deepClone','#14b8a6','_projectHierarchyGroups','stringify','allowMultiple','MissingParent','STRING','toStringTag','[BaseJson1OpFactory]:\x20cannot\x20move\x20a\x20field\x20before\x20record-id.','disposeWithMe','_projectedGroupsCache','canEditField','FORCE_STRING','ena','50FzuXox','cardSize','base.viewType.gantt','_matchesGanttColorRule','validateBaseHierarchyMove','toFixed','UNIVER_BASE','base.command.set-base-view-filter','_getViewRevision','week','[BaseCommandService]:\x20cannot\x20insert\x20a\x20field\x20before\x20record-id.','url','Cycle','359382xYoGzN','updateViewConfig','setRecordPermission','True','_removeSuperTables','label','past30','FormulaResultApplicationType','onCommandExecuted','setViewFieldWidth','majorHeaders','protocol','parentFieldName','invalidGanttEndField','_getKanbanConfiguredLanes','true','projectBaseHierarchy','sort','moveField','SetBaseViewFilterCommand','_setCachedProjection','createdAt','width','_buildCalendar','person','_setAttachmentResources','[BaseProjectionService]:\x20missing\x20view\x20\x22','setRangeValues','base.command.set-base-kanban-group-field','\x22\x20must\x20be\x20a\x20same-table,\x20single-value\x20RecordLink.','FormulaCalculationTriggerService','bases.config','\x20has\x20unsupported\x20operator\x20\x22','today','tomorrow','recordCount','_getSystemFieldValue','getAffectedRanges','map','yyyy/mm/dd','entries','cell','_groupsCacheKey','unitData','_fieldRegistry','replace','Progress','DuplicateBaseRecordCommand','_materializeFormulaTableNames','RenameBaseTableCommand','_capabilities','@univerjs/core','_isGanttDateField','join','base.command.batch-delete-base-records','createSuperTableReference','depthByRecordId','IUniverInstanceService','base.command.batch-create-base-records','formatToParts','_createRecordWithDefaults','subtreeHeightByRecordId','[DeleteBaseTableCommand]:\x20table\x20\x22','traceBasePerformance','_kanbanLaneColor','manageView','_findCalendarDateFieldId','user','getAllUnitsForType','_withModifiedSystemValues','MoveBaseFieldCommand','[BaseCommandService]:\x20cannot\x20move\x20a\x20field\x20before\x20record-id.','round','createCreateRecordOp','displayColor','updatedBy','[RecordLink]:\x20target\x20record\x20\x22','date','local','BaseProjection.getProjection','invalidReasonByRecordId','invalidGroupField','hidden','frozenFieldCount','univer.basePerf','parse','Number','fieldIndex','_buildGrid','descendPath','contains','_calendarEventColor','-record-','target','_groupConfigCacheSegment','_initialize','_resolveGalleryCardFieldIds','BASE_RECORD_ID_FIELD_ID','\x22\x20with\x20field\x20type\x20\x22','resources','getStructuredDependencies','Email','value','amd','DeleteBaseTableCommand','source','unitOtherData','_sortRows','size','MultiSelect','colorFieldId','MoveBaseHierarchyRecordCommand','DeleteBaseFieldCommand','color','hasOwnProperty','toPlainText','tableRevision','data','decimal','Person','thisMonth','Kanban','CreateBaseViewCommand','field','serializeRecordLinkIds','_activeDirtyManagerService','progressFieldId','push','setBaseName','_createRecordOrderOp','compare','Date','next30','tableName','validateBaseHierarchyRecordCreations','isValidBaseRecordId','selfParent','_normalizeCalendarConfig','year','validateRecordLinkValue','createView','isInteger','childUnitId','max','_dataSyncPrimaryController','some','deleteRecords','isArray','UpdateBaseKanbanConfigCommand','[BaseFormula]:\x20validation\x20parameters\x20are\x20required.','uniqueFieldName','_scheduledSuperTableSyncs','abbreviation','_title','workingDays','Unchecked','HH:mm','too-long','Formula','base.command.set-base-record-values','childrenByParentId','createRecords','rowIndexById','showFieldNames','h:mm\x20a','_resolveKanbanGroupFieldId','min','attachments','normalize','getSuperTableRegistrations','timeZone','primaryFieldName','base.command.update-base-cell','operator','localeCompare','base.view-registry.service','import','useThousands','Grid','RecordLink','dispose','_getCachedProjection','subtreeEndIndex','cellData','CreateBaseChildRecordCommand','BaseDataModel','base.command.validate-formula','validateBaseTableName','rowIndex','setViewFieldOrder','_baseSyncDisposables','cycle','score','_apply','_views','ascend','getCurrentUser','_setFormulaFieldCells','getUTCDate','createField','[BaseCommandService]:\x20cannot\x20delete\x20a\x20RecordLink\x20target\x20table\x20(','_viewRevisionKey','base.resource.service','_normalizeCellValue','BaseJson1OpApplier','projection','resolve','tableId','hostAnchorId','direction','ICommandService','slice','BaseRecordLinkRole','removeOp','unique','tableOrder','bases.fieldConfig.linkPlaceholder','[BaseCommandService]:\x20cannot\x20create\x20record.','type','info','_getTableRevision','dependencyFieldId','endsWith','SetBaseRangeValuesCommand','rootRecordIds','base.viewType.calendar','SetSuperTableMutation','call','forEach','#16a34a','duplicateField','[BaseCommandService]:\x20cannot\x20edit\x20record-id.','BaseJson1.syncCellInvalidations','813796ILBzJL','_viewRowsCacheKey','[BaseFormula]:\x20table\x20\x22','merge','base.command.delete-base-table','getUnitId','_cellInvalidationsTouchFields','base.command.move-base-hierarchy-record','delete','renameView','\x20can\x20use\x20dateMode\x20only\x20with\x20Date,\x20CreatedAt,\x20or\x20UpdatedAt\x20fields.','spaceComma','_univerInstanceService','_normalizeGanttDisplayColor'];_0xad70=function(){return _0x5057d6;};return _0xad70();}
|