@univerjs-pro/bases 1.0.0-beta.0 → 1.0.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ar-SA.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/de-DE.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/id-ID.js +1 -1
- package/lib/cjs/locale/it-IT.js +1 -1
- package/lib/cjs/locale/ja-JP.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/pl-PL.js +1 -1
- package/lib/cjs/locale/pt-BR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/sk-SK.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-HK.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ar-SA.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/de-DE.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/id-ID.js +1 -1
- package/lib/es/locale/it-IT.js +1 -1
- package/lib/es/locale/ja-JP.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/pl-PL.js +1 -1
- package/lib/es/locale/pt-BR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/sk-SK.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-HK.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/ar-SA.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/de-DE.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/id-ID.js +1 -1
- package/lib/locale/it-IT.js +1 -1
- package/lib/locale/ja-JP.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/pl-PL.js +1 -1
- package/lib/locale/pt-BR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/sk-SK.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-HK.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/types/commands/commands/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 +7 -7
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 _0x2760(_0x4b39db,_0x37a58e){_0x4b39db=_0x4b39db-0x7b;const _0x54e0c8=_0x54e0();let _0x276054=_0x54e0c8[_0x4b39db];return _0x276054;}function _0x54e0(){const _0x254316=['Empty','NUMBER','_projectedViewRowsCache','setRangeValues','showTodayLine','sequenceExecute','BEFORE','hostAnchorId','duplicate','BASES_PLUGIN','setFieldPermission','syncUnit','getBaseCellValue','Attachment','YYYY/MM/DD','base.command.delete-base-field','unique','ascend','Checkbox','pop','Optional','constructor','localeCompare','SetBaseTableHierarchyFieldCommand','DuplicateBaseFieldCommand','isValidBaseRecordId','filled','#,##0','target','IUniverInstanceService','DependentOn','blue','sum','_commandService','DuplicateBaseRecordCommand','RecordLink','calendar','lessThanOrEqual','\x20can\x20use\x20dateMode\x20only\x20with\x20Date,\x20CreatedAt,\x20or\x20UpdatedAt\x20fields.','Date','descendPath','ICommandService','base.command.set-base-kanban-group-field','BOOLEAN','SetBaseViewFilterCommand','duplicateField','_isGanttDateField','tables','_buildGantt','createTable','isBaseFieldStatSupported','hidden','undefined','markResultApplied','path','_capabilities','stringify','_replaceOptional','fieldOrder','_getCurrentUserId','CONTAINS','canDeleteField','matchesBaseCondition','applyOp','edit','version','REMOTE_BASES_PLUGIN','BaseRecordLinkRole','getDay','exceptions','DeleteBaseFieldCommand','groups','bases.config','_projectGroups','Number','findRecordLinkReferences','getBaseFormulaTableName','base.command.rename-base-table','titleFieldId','[BaseViewRegistryService]:\x20view\x20type\x20\x22','Cycle','CreateBaseChildRecordCommand','rowId','createEmbedBasesTable','base.command.move-base-field','toLowerCase','validateFormula','[UpdateBaseViewConditionalColorRulesCommand]:\x20rule\x20at\x20index\x20','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','end','Gantt','CreateBaseRecordCommand','tableName','Parent\x20Items','UniverProLicense','pluginName','view','oldParentRecordId','symbol','createBaseRecordIdField','MoveBaseHierarchyRecordCommand','card','BASE_RECORD_ID_FIELD_ID','_hierarchyIndexCache','formula.mutation.set-formula-calculation-result','Grid','1364612EDlUEn','recordOrder','BaseConditionalDateMode','operator','_isAllDayGanttDateRange','registerSyncingMutations','conditionalColoring','base.command.set-base-name','BaseConditionalColorOperator','Calendar\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.','clear','base.command.create-base-table','columnSettings','dispose','[BaseCommandService]:\x20cannot\x20delete\x20table.','data','BaseFormulaService','parentRecordId','_resolveGalleryCardFieldIds','measure','unknown','apostrophe','_scheduleSuperTableSync','invertOp','_config','renameView','_cellInvalidations','getOwnPropertyDescriptor','[BaseCommandService]:\x20cannot\x20create\x20table.','_setFormulaFieldCells','pickerFieldIds','exec','field','tomorrow','recordIds','LESS_THAN','createBatchCreateRecordsOp','Module','[RecordLink]:\x20field\x20config\x20is\x20invalid.','fieldIndex','diffValue','trigger','touchDependencies','canCreateRecord','decimalPlaces','_globalRevision','config','executeCommand','table','_tableRevisions','add','_buildKanban','http:','thisWeek','_formulaCalculationSessionService','createRecord','AFTER','onReady','base.command.create-base-field','https:','createUniqueBaseTableName','unitOtherData','_recordIds','url','string','createRecords','_resolveKanbanCardFieldIds','values','deleteField','DD/MM/YYYY','greaterThanOrEqual','find','IUndoRedoService','getMonth','ChangeBaseFieldTypeCommand','base.command.set-base-view-field-visible','sort','label','setViewSort','IBaseProjectionService','base.command.set-base-view-sort','_matchesGanttColorRule','createDefaultConfig','_getHierarchyIndex','[BaseCommandService]:\x20invalid\x20field\x20definition.','yyyy/mm/dd','_filterRows','invalidReasonByRecordId','exports','_isCalendarDateField','1.0.0-beta.1','usableAsCalendarDate','start','forEach','en-US','progressFieldId','editable','IS_EMPTY','hasOwnProperty','false','UNIVER_EMBED_BASES_TABLE','_getAllTableIds','[BaseFormula]:\x20A1\x20references\x20and\x20ranges\x20are\x20not\x20supported\x20in\x20Base\x20formulas.','min','keys','SortedView','options','_disposed','rowIndex','createDefaultValue','base.field-registry.service','SetBaseViewFieldOrderCommand','Rating','setViewFieldOrder','format','syncExecuteCommand','source','@univerjs-pro/license','regenerateViewIds','EnsureBaseTemporalViewDateFieldsCommand','_canUseFastSort','max','globalRevision','recordNamePrefix','[RecordLink]:\x20target\x20record\x20\x22','deleteRecords','next30','[BaseField]:\x20invalid\x20rating\x20value.','split','__base_hierarchy_parent__','\x20has\x20unsupported\x20operator\x20\x22','info','_normalizeCellValue','setRecordValues','small','href','formatBaseNumberValue','validateBaseHierarchyRecordCreations','_registeredSuperTableNames','key','kanban','slice','_setAttachmentResources','usableAsGanttStart','includes','9152632dxteWa','resolveBaseDateFieldConfig','childType','invalidateByOp','mark','_createSystemFieldValuePatches','Calendar','isValid','lastIndex','relationRole','redo','getAllBases','today','_normalizeGanttDisplayColor','Status','SetBaseRangeValuesCommand','BaseProjection.projectRows','deleteRecord','COMMAND','Clear','toPlainText','Parent','FieldId','codePointAt','validateBaseTableName','BaseFieldType','getActiveBaseHierarchyFieldIds','_isAllowedKanbanGroupField','Group','A\x20table\x20name\x20cannot\x20contain\x20:\x20\x5c\x20/\x20?\x20*\x20[\x20].','beforeViewId','_projectFields','views','getVisibleBaseHierarchyRows','398830SiwcEN','_applyingFormulaResults','fieldId','filter','[UpdateBaseViewConditionalColorRulesCommand]:\x20duplicate\x20rule\x20id\x20\x22','setHours','_kanbanLaneColor','createView','h12','[BaseCommandService]:\x20cannot\x20change\x20record-id\x20field\x20type.','_projectTableRows','canCreateField','BASE','unshift','_patchProjectedRowsForCellInvalidations','_groupConfigCacheSegment','parentFieldName','colorFieldId','allocateBaseFormulaTableName','_buildGallery','__UNIVER_BASE_PERF__','base.command.set-base-table-hierarchy-field','empty','unitWidth','system','getAffectedRanges','percent','todo','SetBaseKanbanGroupFieldCommand','getUTCMonth','base.command.create-base-record','level','cardSize','BatchDeleteBaseRecordsCommand','locale','test','call','registerCtorForType','[BaseHierarchy]:\x20','isBaseRecordIdFieldName','prototype','usableAsCardCover','unitId','\x20references\x20missing\x20or\x20non-public\x20field\x20\x22','reason','BaseHierarchyInvalidReason','_isKanbanGroupField','_scheduledSuperTableSyncs','SetBaseViewFieldVisibleCommand','_resolveCalendarDateFieldId','groupFieldId','primaryFieldId','getBaseHierarchyDeletePromotions','_getCellRevision','endsWith','updateViewConfig','_groupProjectionFieldIds','createUpdateCellOp','fieldName','entries','removeOp','replaceOp','_recordPermissions','[BaseCommandService]:\x20cannot\x20edit\x20readonly\x20field.','base.command.create-base-view','record','projectBaseHierarchy','cycle','type','average','createField','normalizeBaseDateSerial','count','toStringTag','_createRecordWithDefaults','orderKey','isArray','column','_projectRows','changed','parse','maxDepth','this-row','base.command.duplicate-base-field','renameFormulaUnitReferences','major-','_getAllBaseDependencyTreeCacheMap','https://','_patchCachedProjectedRows','error','base.command.move-base-view','greaterThan','moveField','sortedView','Link','catch','Text','fromEntries','dependencyFieldId','raw','changeFieldType','_executeSuperTableMutationWhileActive','_initialize','afterViewId','allowMultiple','rows','formula','Person','base.command.delete-base-view','getCapabilities','title','UniverProFormulaEnginePlugin','setBaseName','createDefaultBaseTableSnapshot','Grid\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.','CreatedBy','getUTCDay','viewOrder','Delete','function','get','JSON1','_cacheKey','recordPatch','[RecordLink]:\x20value\x20must\x20be\x20a\x20canonical\x20string.','getSupportedBaseFieldStatTypes','MissingRecord','8341929GbtKAz','_dataSyncPrimaryController','_ganttBarColor','[BaseCommandService]:\x20cannot\x20edit\x20cell.','_buildCalendar','[BaseCommandService]:\x20cannot\x20delete\x20field.','CommandType','Choose\x20another\x20name.','searchTexts','_getCachedProjection','_baseSyncDisposables','onCommandExecuted','_univerInstanceService','decorate','_materializeFormulaTableNames','amd','_initDataSync','tableRevision','userID','none','[BaseCommandService]:\x20cannot\x20move\x20a\x20field\x20before\x20record-id.','_normalizeGanttConfig','getUnitId','baseRows','ColorKit','remove',',,\x22M\x22','baseDateSerialToDateMs','timeslotSize','beforeFieldId','_buildGrid','_normalizeGalleryConfig','getUTCDate','_runtimeContext','clearTablePermission','WriteCursor','UniverInstanceType','base.command.update-base-cell','disposeWithMe','_rowTransformCacheSegment','DeleteBaseRecordCommand','tryMaterializeSnapshot','_activeDirtyManagerService','matchAll','UniverCore','BaseViewType','setTablePermission','_removeSuperTables','[RecordLink]:\x20display\x20field\x20\x22','missingRecord','basePerf','map','@univerjs/engine-formula','isBaseConditionalColorDateField','_findCalendarDateFieldId','_kanbanLaneTitle','BaseDataModel','isBaseFieldStatType','limit','[UpdateBaseViewConditionalColorRulesCommand]:\x20rule\x20','user','_toDirtyRangePatch','code','too-long','base.view-registry.service','[BaseCommandService]:\x20invalid\x20RecordLink\x20value.','useThousands','DeleteBaseViewCommand','findIndex','IActiveDirtyManagerService','_getTableRevision','pattern','deepClone','repeat','spacePeriod','canCreateTable','getUTCFullYear','UpdateBaseCellCommand','attachmentSets','_getSystemFieldValue','toDisposable','fld-','nodes','UniverRemoteBasesPlugin','separatorStyle','base.viewType.grid','attachmentSet','invalidGanttStartField','iterator','setViewFieldWidth','revision','UNIVER_BASE','_initDependencies','columns','Unchecked','required','regexp','score','BatchCreateBaseRecordsCommand','viewIndexes','IS_NOT','view-','tableId','getBaseConditionalColorOperators','tableOrder','BaseProjection.filterAndSortRows','invalid','startDateFieldId','push','\x22\x20does\x20not\x20exist.','lastIndexOf','base.command.set-base-range-values','[BaseFormula]:\x20field\x20\x22','lastMonth','colIndex','$1\x20','abbreviation','option-','formulaName','trim','manual','createEmbedBasesTableRemoveMutation','General','getAll','_filterSortFieldIds','viewRevision','readonly','getTypePlugin','_views','-record-','UniverLicensePlugin','fields','clearRecordPermission','large','set','UniverProBases','value','insertOp','invalid-characters','dateKit','done','params','Disposable','setViewGroup','depthByRecordId','base.command.update-base-view-conditional-color-rules','toString','MissingParent','[BaseCommandService]:\x20cannot\x20create\x20record.','JSONX','createSuperTableReference','[BaseFieldRegistryService]:\x20field\x20type\x20\x22','UTC','getCurrentUserId','date','Gallery','NumberFormat','base.command.update-base-record-order','check','createEmbedBasesTableAddMutation','text','_projectedGroupsCache','leftPaneWidth','base.viewType.calendar','7gOQEaj','buildBaseHierarchyIndex','records','createUnit','apply','_fastSortRows','createSetRecordValuesOp','yesterday','FORCE_STRING','_createRecordOrderOp','base.resource.service','isBaseHierarchyField','targetTableId','_formulaSyncQueue','setViewFilter','Table\x20name\x20is\x20required.','setSnapshot','SetBaseViewGroupCommand','#3b82f6','displayColor','_resolveCardTitleFieldId','general','patches','group','Remote','updatedBy','base.projection.service','base-perf-','deleteView','_formulaService','[DeleteBaseTableCommand]:\x20table\x20\x22','\x22\x20is\x20not\x20registered.','[BaseCommandService]:\x20invalid\x20cell\x20value.','duplicateRecord','base.command.set-base-view-filter','_basePermissions','missingField','_projectHierarchyGroups','bases.remote.config','resources','selfParent','_isColorfulKanbanGroupField','normalizeBaseDateFieldConfig','projection','month','\x22\x20must\x20be\x20a\x20non-system\x20field\x20in\x20the\x20target\x20table.','every','commaPeriod','dateFormat','cellData','createBaseFormulaTableNameMap','[BaseCommandService]:\x20cannot\x20delete\x20record.','base.command.validate-formula','uniqueFieldName','formatToParts','Kanban\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.',',,,\x22B\x22','FormulaResultApplicationType','FormulaCalculationTriggerService','_applyFormulaResult','UpdatedBy','createCreateRecordOp','\x20must\x20be\x20an\x20object.','pushUndoRedo','invalidateByField','refactorFormulaUnitQualifier','cellRevision','merge','protocol','_projectionCache','validateRecordLinkField','SingleSelect','End\x20date','afterFieldId','DeleteBaseTableCommand','_normalizeCalendarDisplayColor','base-perf','ruleId','createdAt','quarter','toLocaleString','#16a34a','now','base.command.batch-create-base-records','SelfParent','registerCommand','CreatedAt','\x20has\x20unsupported\x20target\x20\x22','[BaseCommandService]:\x20field\x20\x22','editCell','toFixed','_apply','BaseJson1.cloneForOp','MultiSelect','h:mm\x20a','replace','validate','_syncBaseUnit','base.command.update-base-field','_kanbanGroupKeys','IBaseCellData.ensureTableCellLayout','currencySymbol','\x20must\x20have\x20a\x20non-empty\x20id.','invalidGroupField','_bumpTableRevision','row','createIdentifier','Done','fromPlainText','finally','moveView','local','_injector','base.command.create-base-child-record','updateRecordOrder','YYYY-MM-DD','parentByRecordId','off','_plugins','precision','focusUnit','unitData','getProjection','isFinite','IBaseCommandService','MaxDepth','BaseProjection.projectGroups','BaseConditionalColorTarget','getBase','SetBaseViewSortCommand','GREATER_THAN','createCreateFieldOp','base.command.set-base-record-values','SetFormulaCalculationResultMutation','@univerjs/rpc','endDateFieldId','result','gantt','_T_','valid','BASE_HIERARCHY_PARENT_FIELD_ID','getItem','Progress','base.command.update-base-view-config','forValue','_resolveKanbanCoverFieldId','_createNumberingFieldValuePatches','True','embed-ui','valueOf','coverFieldId','UpdateBaseFieldDescriptionCommand','_enqueueFormulaSync','base.permission.service','mode','_getViewRevision','compose','_resolveKanbanGroupFieldId','_syncSuperTables','scale','Tools','has','getTypeOfUnitAdded$','_projectedRowsCache','color','join','defaultValue','timeZone','_setViewFieldSetting','_viewRowsCacheKey','hourCycle','base.command.duplicate-base-record','colId','invalidateByCell','canDeleteRecord','rules',',\x22K\x22','[BaseField]:\x20invalid\x20phone\x20value.','lessThan','_fieldPermissions','Currency','DESC','Use\x2031\x20characters\x20or\x20fewer.','setViewFieldVisible','dateMode','_initRegistries','invertWithDoc','delete','UniverRpc','base.command.update-base-field-description','name','exception-','Plugin','[BaseJson1OpFactory]:\x20cannot\x20write\x20record-id.','canEditField','Gantt\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.','_deleteAttachmentResources','traceBasePerformance','base.command.delete-base-table','indexOf','[BaseFormula]:\x20table\x20\x22','SetSuperTableMutation','SetTriggerFormulaCalculationStartMutation','past7','generateRandomId','boolean','star','473MJfIjx','frozenFieldCount','createdBy','Formula','workingDays','invalidField','MoveBaseViewCommand','size','_permissionService','true','Failed\x20to\x20create\x20update\x20cell\x20operation:','_viewRevisionKey','IBasePermissionService','DataSyncPrimaryController','attachment','dateToExcelSerial','getDependencies','_getJson1DirtyData','[BaseCommandService]:\x20cannot\x20manage\x20view.','subscribe','toPrimitive','base.command.rename-base-view','BaseConditionalColorRuleUpdateType','undo','year','searchBaseTable','_getTable','BaseJson1OpApplier',':start','UpdateBaseViewConditionalColorRulesCommand','\x22\x20does\x20not\x20exist.\x20Use\x20FBaseTable.getFormulaName()\x20or\x20getSchema().formulaName\x20for\x20structured\x20references.','Email','spaceComma','showFieldNames','hierarchy','copyBaseTableSnapshot','recordId','[BaseProjectionService]:\x20missing\x20view\x20\x22','#,##0.00','[BaseField]:\x20invalid\x20email\x20value.','__tempBatchingUndoRedo','defineProperty','setConfig','long','order','BASE_HIERARCHY_MAX_LEVELS','resolvedOptions','attachment-','abs','weekdays','startsWith','embedId','attachments','BaseEventSource','viewId','_fieldRegistry','_initCommands','canDeleteTable','getSuperTableRegistrations','validateCanonicalRecordLinkValue','_cellRevisions','some','_isNonEmptyCellValue','search','resolveBaseHierarchyFieldId','setBasePermission','Gallery\x20projection\x20is\x20implemented\x20by\x20BaseProjectionService.','working','[RecordLink]:\x20target\x20table\x20does\x20not\x20exist\x20in\x20this\x20Base.','IConfigService','children','splice','normal','h24','getAllUnitsForType','BaseProjection.projectTableRows','getInstance','RecordId','isNotEmpty','414620Pamrxs','orderedRecordIds','_withModifiedSystemValues','9YXXSbp','Kanban','STRING','getFullYear','_applier','isInteger','BaseSortDirection','[BaseCommandService]:\x20cannot\x20insert\x20a\x20field\x20before\x20record-id.','_factory','canManageView','fieldIds','_viewRevisions','recordCount','length','Numbering','short','week','direction','getUnit','usableAsGanttEnd','getTime','rootRecordIds','SetBaseViewFieldWidthCommand','col','BASE_TABLE_NAME_REQUIREMENTS','query','after','\x20must\x20have\x20a\x20valid\x20CSS\x20color.','conjunction','bases.fieldConfig.textPlaceholder','Todo','BaseHierarchyError','formatBaseFieldStatValue','medium','BaseCommand.createBatchCreateRecordsOp','70HrrmCJ','getStructuredDependencies','includeTime','operand','_resolveGalleryCoverFieldId','index','isNot','_getStructureDirtyTableIds','_getOrderedRecords','object','\x22\x20must\x20be\x20a\x20same-table,\x20single-value\x20RecordLink.','then','rule','HH:mm','deleteTable','[BaseField]:\x20invalid\x20checkbox\x20value.','_findKanbanGroupField','BaseJson1OpFactory','base.viewType.gantt',':end','numfmt','817516bgOzyB','[BaseCommandService]:\x20record-id\x20is\x20reserved.','updateCell','resolve','_calendarEventColor','cardLayout','@univerjs-pro/engine-formula','workingDaysOnly','Inject','canEditCell','[BaseField]:\x20negative\x20numbers\x20are\x20disabled.','NOT_CONTAINS','register','updatedAt','multiple','thisMonth','_resolveGanttDateFieldId','\x22.\x20Allowed\x20operators:\x20','_setCachedProjection','base.mutation.apply-base-json1','_getKanbanConfiguredLanes','flatMap','_createNumberingAllocators','from','EMBED_BASES_TABLE_RESOURCE_KEY','subtreeEndIndex','_onCommandExecuted','displayFieldId','updateField','_configService','number','past30','assertBaseTableRecordIdentity','custom','lastWeek','[BaseField]:\x20invalid\x20number\x20value.','_formulaCalculationTriggerService','invalidDateField','decimal','_title','cell','registerView','[BaseCommandService]:\x20cannot\x20create\x20field.','_isAllDayCalendarEvent','_createNumberingAllocator','depth','UniverBasesPlugin','Add','CreateBaseViewCommand','MUTATION','COLUMN','padStart','selectField','_tablePermissions','reduce','clearBasePermission','-field-name','getTypeOfUnitDisposed$','ApplyBaseJson1Mutation','getSnapshot','IS_NOT_EMPTY','nameCharacterCheck','resolveBaseRangeHierarchyPatches','exact','round','before','parseRecordLinkIds','createRegExpFromSafeFragment','UpdatedAt','#14b8a6','snapshot','561606tCNURN','renameTable','Name','gridViewId','conditions','RemoveSuperTableMutation','[BaseCommandService]:\x20cannot\x20edit\x20field.','_groupsCacheKey','CellValueType','ensureBaseTableCellLayout','packageName','-view-grid','[BaseFormula]:\x20validation\x20parameters\x20are\x20required.','contains','Injector','_cellInvalidationsTouchFields','[BaseCommandService]:\x20cannot\x20delete\x20a\x20RecordLink\x20target\x20table\x20(','validateRecordLinkValue','[BaseJson1OpFactory]:\x20cannot\x20move\x20a\x20field\x20before\x20record-id.','fieldSettings','[RecordLink]:\x20a\x20single\x20link\x20accepts\x20only\x20one\x20record\x20id.','_assertFieldDefinition','Import','Checked','base.command.set-base-view-group','day','childrenByParentId'];_0x54e0=function(){return _0x254316;};return _0x54e0();}(function(_0x2dd620,_0x188317){const _0x2a9593=_0x2760,_0x261ec2=_0x2dd620();while(!![]){try{const _0x380d6e=parseInt(_0x2a9593(0x36f))/0x1+-parseInt(_0x2a9593(0x422))/0x2+-parseInt(_0x2a9593(0x26b))/0x3*(-parseInt(_0x2a9593(0x2a3))/0x4)+-parseInt(_0x2a9593(0x28e))/0x5*(parseInt(_0x2a9593(0x2ea))/0x6)+-parseInt(_0x2a9593(0x14a))/0x7*(-parseInt(_0x2a9593(0x400))/0x8)+parseInt(_0x2a9593(0xa6))/0x9+-parseInt(_0x2a9593(0x268))/0xa*(parseInt(_0x2a9593(0x219))/0xb);if(_0x380d6e===_0x188317)break;else _0x261ec2['push'](_0x261ec2['shift']());}catch(_0x3158fd){_0x261ec2['push'](_0x261ec2['shift']());}}}(_0x54e0,0xb892e),function(_0x3d5b30,_0x131864){const _0x40b04d=_0x2760;typeof exports==_0x40b04d(0x297)&&typeof module<'u'?_0x131864(exports,require('@univerjs/core'),require('@univerjs-pro/engine-formula'),require('@univerjs-pro/license'),require('@univerjs/rpc'),require('@univerjs/engine-formula')):typeof define==_0x40b04d(0x9e)&&define[_0x40b04d(0xb5)]?define([_0x40b04d(0x3c7),'@univerjs/core',_0x40b04d(0x2a9),_0x40b04d(0x3e4),_0x40b04d(0x1d0),_0x40b04d(0xda)],_0x131864):(_0x3d5b30=typeof globalThis<'u'?globalThis:_0x3d5b30||self,_0x131864(_0x3d5b30[_0x40b04d(0x12d)]={},_0x3d5b30[_0x40b04d(0xd2)],_0x3d5b30['UniverProEngineFormula'],_0x3d5b30[_0x40b04d(0x363)],_0x3d5b30[_0x40b04d(0x206)],_0x3d5b30['UniverEngineFormula']));}(this,function(_0x9c1748,_0x4d7b12,_0x21a938,_0x2837f2,_0x39f057,_0x38bc67){const _0x17666d=_0x2760;Object[_0x17666d(0x242)](_0x9c1748,Symbol[_0x17666d(0x46b)],{'value':_0x17666d(0x394)});function _0x2c9bfd(_0x13d7d5){const _0x52e7c3=_0x17666d;let _0x4f3ee0=_0x13d7d5[_0x52e7c3(0x39d)]['targetTableId'],_0x5f4a06=_0x13d7d5[_0x52e7c3(0x39d)]['multiple'],_0x96715=_0x13d7d5['config'][_0x52e7c3(0x2be)],_0x13b158=_0x13d7d5[_0x52e7c3(0x39d)][_0x52e7c3(0x38d)],_0x468299=_0x13d7d5[_0x52e7c3(0x39d)][_0x52e7c3(0x409)];return typeof _0x4f3ee0!=_0x52e7c3(0x3af)||!_0x4f3ee0||typeof _0x5f4a06!=_0x52e7c3(0x217)||_0x96715!==void 0x0&&(typeof _0x96715!=_0x52e7c3(0x3af)||!_0x96715)||_0x468299!==void 0x0&&_0x468299!==_0x4d7b12[_0x52e7c3(0x348)][_0x52e7c3(0x415)]||_0x13b158!==void 0x0&&(!Array['isArray'](_0x13b158)||_0x13b158[_0x52e7c3(0x256)](_0x412820=>typeof _0x412820!=_0x52e7c3(0x3af)||!_0x412820)||new Set(_0x13b158)[_0x52e7c3(0x220)]!==_0x13b158['length'])?null:{'targetTableId':_0x4f3ee0,'multiple':_0x5f4a06,..._0x96715?{'displayFieldId':_0x96715}:{},..._0x13b158?{'pickerFieldIds':[..._0x13b158]}:{},..._0x468299?{'relationRole':_0x468299}:{}};}function _0x474d19(_0x5cee91){const _0x34cae0=_0x17666d;return typeof _0x5cee91!=_0x34cae0(0x3af)||_0x5cee91===''?[]:_0x5cee91[_0x34cae0(0x3ef)](',');}function _0x5a2c52(_0x8bf4e7){const _0x44ee15=_0x17666d;return Array['from'](new Set(_0x8bf4e7))[_0x44ee15(0x1ef)](',');}function _0x2eeb56(_0x52ec18,_0x1033dc){const _0x1665c1=_0x17666d;if(typeof _0x52ec18!=_0x1665c1(0x3af))return{'valid':!0x1,'reason':_0x1665c1(0xa3)};if(_0x52ec18==='')return{'valid':!0x0};let _0x10e734=_0x52ec18[_0x1665c1(0x3ef)](',');return!_0x1033dc&&_0x10e734[_0x1665c1(0x278)]>0x1?{'valid':!0x1,'reason':_0x1665c1(0x2fe)}:_0x10e734[_0x1665c1(0x256)](_0x1d01cd=>!(0x0,_0x4d7b12[_0x1665c1(0x31e)])(_0x1d01cd))||new Set(_0x10e734)[_0x1665c1(0x220)]!==_0x10e734[_0x1665c1(0x278)]||_0x5a2c52(_0x10e734)!==_0x52ec18?{'valid':!0x1,'reason':'[RecordLink]:\x20value\x20is\x20not\x20a\x20canonical\x20record\x20id\x20list.'}:{'valid':!0x0};}function _0x2bb568(_0x3015ff,_0x2d8078){const _0x28fc3a=_0x17666d;if(_0x2d8078[_0x28fc3a(0x466)]!==_0x4d7b12[_0x28fc3a(0x419)]['RecordLink'])return{'valid':!0x0};let _0x3edfcd=_0x2c9bfd(_0x2d8078),_0xfd05ff=_0x3edfcd?_0x3015ff[_0x28fc3a(0x334)][_0x3edfcd[_0x28fc3a(0x156)]]:void 0x0;if(!_0x3edfcd||!_0xfd05ff)return{'valid':!0x1,'reason':'[RecordLink]:\x20target\x20table\x20does\x20not\x20exist\x20in\x20this\x20Base.'};let _0x5080a0=[..._0x3edfcd[_0x28fc3a(0x2be)]?[_0x3edfcd[_0x28fc3a(0x2be)]]:[],..._0x3edfcd['pickerFieldIds']??[]]['find'](_0x6d1e63=>{const _0x28df90=_0x28fc3a;let _0x9e9fe1=_0xfd05ff['fields'][_0x6d1e63];return!_0x9e9fe1||_0x9e9fe1[_0x28df90(0x43a)]===!0x0||_0x9e9fe1[_0x28df90(0x466)]===_0x4d7b12[_0x28df90(0x419)][_0x28df90(0x266)];});return _0x5080a0?{'valid':!0x1,'reason':_0x28fc3a(0xd6)+_0x5080a0+_0x28fc3a(0x177)}:{'valid':!0x0};}function _0x475374(_0x19b807,_0x185379,_0x588b33,_0x33f77d={}){const _0x327c4d=_0x17666d;let _0x3a2bab=_0x2c9bfd(_0x185379);if(_0x185379[_0x327c4d(0x466)]!==_0x4d7b12['BaseFieldType'][_0x327c4d(0x328)]||!_0x3a2bab)return{'valid':!0x1,'reason':_0x327c4d(0x395)};let _0x57c117=_0x2eeb56(_0x588b33,_0x3a2bab[_0x327c4d(0x2b1)]);if(!_0x57c117[_0x327c4d(0x1d5)]||_0x33f77d['allowDangling'])return _0x57c117;let _0x57013a=_0x19b807[_0x327c4d(0x334)][_0x3a2bab[_0x327c4d(0x156)]];if(!_0x57013a)return{'valid':!0x1,'reason':_0x327c4d(0x25d)};let _0x43710d=_0x474d19(_0x588b33)[_0x327c4d(0x3b6)](_0x1604d4=>!_0x57013a[_0x327c4d(0x14c)][_0x1604d4]);return _0x43710d?{'valid':!0x1,'reason':_0x327c4d(0x3eb)+_0x43710d+'\x22\x20does\x20not\x20exist.'}:{'valid':!0x0};}function _0x26c103(_0x450de0,_0x40e16a){const _0x5c1b94=_0x17666d;return Object[_0x5c1b94(0x3b2)](_0x450de0[_0x5c1b94(0x334)])[_0x5c1b94(0x2b8)](_0x3e30a3=>Object['values'](_0x3e30a3[_0x5c1b94(0x129)])[_0x5c1b94(0x2b8)](_0x1bce6d=>{const _0x5a28e6=_0x5c1b94;let _0x4fbc84=_0x1bce6d[_0x5a28e6(0x466)]===_0x4d7b12[_0x5a28e6(0x419)][_0x5a28e6(0x328)]?_0x2c9bfd(_0x1bce6d):null;return(_0x4fbc84==null?void 0x0:_0x4fbc84[_0x5a28e6(0x156)])===_0x40e16a?[{'tableId':_0x3e30a3['id'],'fieldId':_0x1bce6d['id']}]:[];}));}let _0x2e101c=_0x17666d(0x3f0),_0x18b9d3=function(_0x494062){const _0x26cc7c=_0x17666d;return _0x494062['InvalidField']=_0x26cc7c(0x21e),_0x494062[_0x26cc7c(0xa5)]=_0x26cc7c(0xd7),_0x494062[_0x26cc7c(0x19e)]=_0x26cc7c(0x172),_0x494062['Cycle']=_0x26cc7c(0x465),_0x494062[_0x26cc7c(0x1c7)]=_0x26cc7c(0x473),_0x494062[_0x26cc7c(0x3d8)]=_0x26cc7c(0x84),_0x494062;}({});var _0x2f9e6c=class extends Error{constructor(_0x56d104,_0x51747a=_0x17666d(0x448)+_0x56d104){const _0x236d24=_0x17666d;super(_0x51747a),this[_0x236d24(0xe4)]=_0x56d104,this[_0x236d24(0x208)]=_0x236d24(0x28a);}};let _0x5693c1=function(_0x189cad){const _0x1e4ec8=_0x17666d;return _0x189cad['UI']='ui',_0x189cad['Facade']='facade',_0x189cad[_0x1e4ec8(0x162)]='remote',_0x189cad['Undo']=_0x1e4ec8(0x230),_0x189cad['Redo']=_0x1e4ec8(0x40a),_0x189cad[_0x1e4ec8(0x300)]='import',_0x189cad;}({});function _0x216ae2(_0x3888ec,_0x467db1){const _0x2a32f8=_0x17666d;if(!_0x467db1)return!0x1;let _0x30812a=_0x3888ec[_0x2a32f8(0x129)][_0x467db1];if(!_0x30812a||_0x30812a[_0x2a32f8(0x466)]!==_0x4d7b12[_0x2a32f8(0x419)][_0x2a32f8(0x328)])return!0x1;let _0x38da21=_0x2c9bfd(_0x30812a);return _0x38da21?_0x38da21[_0x2a32f8(0x156)]===_0x3888ec['id']&&_0x38da21[_0x2a32f8(0x2b1)]===!0x1:!0x1;}function _0x571551(_0x1f20a0){const _0x39a3e6=_0x17666d;return[..._0x1f20a0[_0x39a3e6(0x33f)],...Object['keys'](_0x1f20a0[_0x39a3e6(0x129)])['filter'](_0x136e37=>!_0x1f20a0[_0x39a3e6(0x33f)][_0x39a3e6(0x3ff)](_0x136e37))[_0x39a3e6(0x3bb)]()][_0x39a3e6(0x3b6)](_0x8c1b43=>{const _0x3e1c88=_0x39a3e6;var _0x15c435;return _0x216ae2(_0x1f20a0,_0x8c1b43)?((_0x15c435=_0x2c9bfd(_0x1f20a0[_0x3e1c88(0x129)][_0x8c1b43]))==null?void 0x0:_0x15c435['relationRole'])===_0x4d7b12[_0x3e1c88(0x348)]['Parent']:!0x1;})??null;}function _0x2a161a(_0x7bad85){const _0xaa78aa=_0x17666d;let _0x32f536=_0x571551(_0x7bad85);if(_0x32f536)return _0x32f536;let _0x46fe5b=_0x2e101c,_0x416396=0x2;for(;_0x7bad85[_0xaa78aa(0x129)][_0x46fe5b];)_0x46fe5b=_0x2e101c+'_'+_0x416396++;return _0x46fe5b;}function _0x523965(_0x4ebefd,_0x369010=_0x2a161a(_0x4ebefd),_0x54e8ca=_0x17666d(0x362)){const _0x446e57=_0x17666d;return{'id':_0x369010,'name':_0x54e8ca,'type':_0x4d7b12[_0x446e57(0x419)][_0x446e57(0x328)],'config':{'targetTableId':_0x4ebefd['id'],'multiple':!0x1,'displayFieldId':_0x4ebefd[_0x446e57(0x455)],'pickerFieldIds':[_0x4ebefd[_0x446e57(0x455)]],'relationRole':_0x4d7b12[_0x446e57(0x348)][_0x446e57(0x415)]}};}function _0x4619c5(_0x1cb695){let _0x5d8d20=_0x571551(_0x1cb695);return _0x5d8d20?[_0x5d8d20]:[];}function _0x4d5504(_0x40aa56,_0x5101a0){const _0x51d72b=_0x17666d;let _0x22828e=[..._0x4619c5(_0x40aa56)][_0x51d72b(0x425)](_0xd12fc9=>_0x5101a0[_0x51d72b(0x256)](_0x30ab1c=>Object[_0x51d72b(0x44a)]['hasOwnProperty'][_0x51d72b(0x446)](_0x30ab1c[_0x51d72b(0x3b2)],_0xd12fc9)));if(!_0x22828e[_0x51d72b(0x278)])return[];let _0x339549={..._0x40aa56[_0x51d72b(0x14c)]};_0x5101a0[_0x51d72b(0x3cc)](_0x500d68=>{const _0x261c9f=_0x51d72b;let _0x11b9ab=_0x339549[_0x500d68[_0x261c9f(0x23d)]];_0x11b9ab&&(_0x339549[_0x500d68['recordId']]={..._0x11b9ab,'values':{..._0x11b9ab['values'],..._0x500d68[_0x261c9f(0x3b2)]}});});let _0x6e4fdc={..._0x40aa56,'records':_0x339549},_0x22bd5c=[];return _0x22828e[_0x51d72b(0x3cc)](_0x490c59=>{const _0x2ce880=_0x51d72b;let _0x5f4660=_0x19fe79(_0x40aa56,_0x490c59),_0x68ef4c=_0x19fe79(_0x6e4fdc,_0x490c59);for(let [_0x513048,_0x282c92]of _0x68ef4c[_0x2ce880(0x3c6)]){let _0x31dfb1=_0x5101a0['some'](_0x52190f=>_0x52190f[_0x2ce880(0x23d)]===_0x513048&&Object['prototype'][_0x2ce880(0x3d1)][_0x2ce880(0x446)](_0x52190f['values'],_0x490c59));if(_0x5f4660[_0x2ce880(0x3c6)][_0x2ce880(0x9f)](_0x513048)!==_0x282c92||_0x31dfb1)throw new _0x2f9e6c(_0x322966(_0x282c92));}_0x5101a0[_0x2ce880(0x3cc)](_0x5d9d37=>{const _0x4bbb19=_0x2ce880;if(!Object[_0x4bbb19(0x44a)]['hasOwnProperty'][_0x4bbb19(0x446)](_0x5d9d37[_0x4bbb19(0x3b2)],_0x490c59))return;let _0x4f5b63=_0x5f4660['parentByRecordId'][_0x4bbb19(0x9f)](_0x5d9d37[_0x4bbb19(0x23d)])??null,_0x59dbf8=_0x68ef4c['parentByRecordId'][_0x4bbb19(0x9f)](_0x5d9d37[_0x4bbb19(0x23d)])??null;_0x4f5b63!==_0x59dbf8&&_0x22bd5c[_0x4bbb19(0x112)]({'tableId':_0x40aa56['id'],'fieldId':_0x490c59,'recordId':_0x5d9d37[_0x4bbb19(0x23d)],'oldParentRecordId':_0x4f5b63,'parentRecordId':_0x59dbf8});});}),_0x22bd5c;}function _0x30fd91(_0x23261e,_0x283837){const _0x2b5681=_0x17666d;let _0x3df5f0=_0x283837[_0x2b5681(0xd9)](_0x46d796=>_0x46d796['id']);if(new Set(_0x3df5f0)[_0x2b5681(0x220)]!==_0x3df5f0[_0x2b5681(0x278)]||_0x3df5f0['some'](_0x11fd01=>_0x23261e[_0x2b5681(0x14c)][_0x11fd01]))return[];let _0x47b597=_0x4619c5(_0x23261e),_0xe29d48=_0x47b597[_0x2b5681(0x278)]?null:_0x2a161a(_0x23261e),_0x2fdbcf=[..._0x47b597,..._0xe29d48&&_0x283837[_0x2b5681(0x256)](_0x5ae9eb=>Object['prototype'][_0x2b5681(0x3d1)][_0x2b5681(0x446)](_0x5ae9eb[_0x2b5681(0x3b2)],_0xe29d48))?[_0xe29d48]:[]][_0x2b5681(0x425)](_0x12e2eb=>_0x283837[_0x2b5681(0x256)](_0x33c5de=>Object[_0x2b5681(0x44a)]['hasOwnProperty'][_0x2b5681(0x446)](_0x33c5de[_0x2b5681(0x3b2)],_0x12e2eb)));if(!_0x2fdbcf[_0x2b5681(0x278)])return[];let _0x1b2072={..._0x23261e,'records':{..._0x23261e[_0x2b5681(0x14c)],...Object[_0x2b5681(0x88)](_0x283837[_0x2b5681(0xd9)](_0x20e46f=>[_0x20e46f['id'],_0x20e46f]))},'recordOrder':[..._0x23261e['recordOrder']??[],..._0x283837[_0x2b5681(0xd9)](_0x37e5f4=>_0x37e5f4['id'])]},_0x2c3574=[];return _0x2fdbcf[_0x2b5681(0x3cc)](_0x2db086=>{const _0x23caf9=_0x2b5681;let _0x55f73f=_0x19fe79(_0x1b2072,_0x2db086);_0x283837[_0x23caf9(0x3cc)](_0x54bcc2=>{const _0xc837f5=_0x23caf9;let _0xb53f6e=_0x55f73f[_0xc837f5(0x3c6)]['get'](_0x54bcc2['id']);if(_0xb53f6e)throw new _0x2f9e6c(_0x322966(_0xb53f6e));let _0x4238f4=_0x55f73f[_0xc837f5(0x1be)][_0xc837f5(0x9f)](_0x54bcc2['id'])??null;_0x4238f4&&_0x2c3574['push']({'tableId':_0x23261e['id'],'fieldId':_0x2db086,'recordId':_0x54bcc2['id'],'oldParentRecordId':null,'parentRecordId':_0x4238f4});});}),_0x2c3574;}function _0x322966(_0x4563a9){const _0x65da7=_0x17666d;switch(_0x4563a9){case _0x4d7b12[_0x65da7(0x44f)][_0x65da7(0x139)]:return _0x65da7(0xd7);case _0x4d7b12['BaseHierarchyInvalidReason'][_0x65da7(0x19e)]:return _0x65da7(0x172);case _0x4d7b12['BaseHierarchyInvalidReason'][_0x65da7(0x355)]:return _0x65da7(0x465);case _0x4d7b12[_0x65da7(0x44f)][_0x65da7(0x1c7)]:return _0x65da7(0x473);}}function _0x593e95(_0x18ec95,_0x13f02c){const _0x5c6194=_0x17666d;let _0x1786cf=new Set(_0x13f02c),_0x5317ef=_0x4619c5(_0x18ec95);return Object[_0x5c6194(0x3b2)](_0x18ec95[_0x5c6194(0x14c)])[_0x5c6194(0x2b8)](_0x14848c=>_0x1786cf[_0x5c6194(0x1eb)](_0x14848c['id'])?[]:Array[_0x5c6194(0x2ba)](_0x5317ef)[_0x5c6194(0x2b8)](_0x5317c8=>{const _0x3ea1da=_0x5c6194;let _0x2ddf13=_0x474d19(_0x14848c['values'][_0x5317c8])[0x0]??null;return _0x2ddf13&&_0x1786cf[_0x3ea1da(0x1eb)](_0x2ddf13)?[{'tableId':_0x18ec95['id'],'fieldId':_0x5317c8,'recordId':_0x14848c['id'],'oldParentRecordId':_0x2ddf13,'parentRecordId':null}]:[];}));}function _0x19fe79(_0x5f303d,_0x338a2f,_0x14f5dc=_0x5f303d['recordOrder']??Object[_0x17666d(0x3d7)](_0x5f303d['records'])){const _0x441d18=_0x17666d;if(!(!_0x5f303d[_0x441d18(0x129)][_0x338a2f]&&_0x338a2f===_0x2a161a(_0x5f303d))&&!_0x216ae2(_0x5f303d,_0x338a2f))throw Error('[BaseHierarchy]:\x20field\x20\x22'+_0x338a2f+_0x441d18(0x298));let _0x5537d6=_0x19b861(_0x5f303d,_0x14f5dc),_0x2f3c69=new Map(),_0x596871=new Map();for(let _0x29cd2b of _0x5537d6){var _0x159f31;let _0x2164b2=_0x474d19((_0x159f31=_0x5f303d['records'][_0x29cd2b])==null?void 0x0:_0x159f31['values'][_0x338a2f])[0x0]??null;_0x2164b2?_0x2164b2===_0x29cd2b?(_0x2f3c69[_0x441d18(0x12c)](_0x29cd2b,null),_0x596871[_0x441d18(0x12c)](_0x29cd2b,_0x4d7b12['BaseHierarchyInvalidReason'][_0x441d18(0x19e)])):_0x5f303d[_0x441d18(0x14c)][_0x2164b2]?_0x2f3c69[_0x441d18(0x12c)](_0x29cd2b,_0x2164b2):(_0x2f3c69[_0x441d18(0x12c)](_0x29cd2b,null),_0x596871[_0x441d18(0x12c)](_0x29cd2b,_0x4d7b12['BaseHierarchyInvalidReason'][_0x441d18(0x139)])):_0x2f3c69['set'](_0x29cd2b,null);}_0x226008(_0x2f3c69,_0x596871,_0x5537d6),_0x554598(_0x2f3c69,_0x596871,_0x5537d6);let _0x59c422=new Map(_0x5537d6['map']((_0x35f56f,_0x4f2219)=>[_0x35f56f,_0x4f2219])),_0x393213=new Map();for(let _0x926935 of _0x5537d6){let _0x522c19=_0x2f3c69['get'](_0x926935)??null,_0x31e20e=_0x393213[_0x441d18(0x9f)](_0x522c19)??[];_0x31e20e[_0x441d18(0x112)](_0x926935),_0x393213[_0x441d18(0x12c)](_0x522c19,_0x31e20e);}_0x393213[_0x441d18(0x3cc)](_0x3acf46=>_0x3acf46[_0x441d18(0x3bb)]((_0x432e1a,_0x4c7ec2)=>(_0x59c422['get'](_0x432e1a)??0x0)-(_0x59c422[_0x441d18(0x9f)](_0x4c7ec2)??0x0)));let _0x5d3cfa=_0x393213['get'](null)??[],_0x10ed26=new Map(),_0x2e603e=new Map(),_0x15a71c=[],_0x2f57f0=(_0x4ffce0,_0x115a5b)=>{const _0x5df2d2=_0x441d18;_0x10ed26['set'](_0x4ffce0,_0x115a5b),_0x15a71c[_0x5df2d2(0x112)](_0x4ffce0);let _0x2cf043=0x0;for(let _0x63fd9d of _0x393213[_0x5df2d2(0x9f)](_0x4ffce0)??[])_0x2cf043=Math[_0x5df2d2(0x3e8)](_0x2cf043,0x1+_0x2f57f0(_0x63fd9d,_0x115a5b+0x1));return _0x2e603e[_0x5df2d2(0x12c)](_0x4ffce0,_0x2cf043),_0x2cf043;};return _0x5d3cfa[_0x441d18(0x3cc)](_0x496d21=>_0x2f57f0(_0x496d21,0x0)),{'fieldId':_0x338a2f,'parentByRecordId':_0x2f3c69,'childrenByParentId':_0x393213,'depthByRecordId':_0x10ed26,'subtreeHeightByRecordId':_0x2e603e,'invalidReasonByRecordId':_0x596871,'rootRecordIds':_0x5d3cfa,'orderedRecordIds':_0x15a71c};}function _0xaacbb4(_0x1de2d0,_0x58e8ec,_0x486b4c=new Set(_0x58e8ec[_0x17666d(0xd9)](_0x430409=>_0x430409[_0x17666d(0x23d)]))){const _0x58c46b=_0x17666d;let _0x4e1ede=new Set(_0x486b4c);for(let _0x381802 of _0x486b4c){let _0x458a6c=_0x1de2d0['parentByRecordId'][_0x58c46b(0x9f)](_0x381802)??null;for(;_0x458a6c;)_0x4e1ede[_0x58c46b(0x3a1)](_0x458a6c),_0x458a6c=_0x1de2d0['parentByRecordId'][_0x58c46b(0x9f)](_0x458a6c)??null;}let _0x3addb5=new Map(_0x58e8ec[_0x58c46b(0xd9)](_0x1d8283=>[_0x1d8283[_0x58c46b(0x23d)],_0x1d8283])),_0xad4537=_0x1de2d0[_0x58c46b(0x269)][_0x58c46b(0x425)](_0x2801d2=>_0x4e1ede[_0x58c46b(0x1eb)](_0x2801d2)),_0x503024=_0xad4537[_0x58c46b(0x2b8)](_0x2aa825=>{const _0x53e0f9=_0x58c46b;let _0x5c5085=_0x3addb5[_0x53e0f9(0x9f)](_0x2aa825);return _0x5c5085?[_0x5c5085]:[];}),_0x1e8804={};for(let _0x423ff8=0x0;_0x423ff8<_0xad4537[_0x58c46b(0x278)];_0x423ff8++){let _0x2b2864=_0xad4537[_0x423ff8];_0x1e8804[_0x2b2864]={'recordId':_0x2b2864,'parentRecordId':_0x1de2d0[_0x58c46b(0x1be)][_0x58c46b(0x9f)](_0x2b2864)??null,'depth':_0x1de2d0[_0x58c46b(0x136)][_0x58c46b(0x9f)](_0x2b2864)??0x0,'directChildCount':(_0x1de2d0[_0x58c46b(0x304)]['get'](_0x2b2864)??[])['length'],'subtreeHeight':_0x1de2d0['subtreeHeightByRecordId'][_0x58c46b(0x9f)](_0x2b2864)??0x0,'subtreeEndIndex':_0x423ff8,'invalidReason':_0x1de2d0['invalidReasonByRecordId'][_0x58c46b(0x9f)](_0x2b2864)};}let _0x2677fa=[];for(let _0x529890=0x0;_0x529890<_0xad4537[_0x58c46b(0x278)];_0x529890++){let _0x12e0d7=_0xad4537[_0x529890],_0x223dc7=_0x1e8804[_0x12e0d7][_0x58c46b(0x2d0)];for(;_0x2677fa['length']&&_0x2677fa[_0x2677fa[_0x58c46b(0x278)]-0x1]['depth']>=_0x223dc7;){let _0x41385c=_0x2677fa[_0x58c46b(0x318)]();_0x1e8804[_0x41385c['recordId']][_0x58c46b(0x2bc)]=_0x529890-0x1;}_0x2677fa['push']({'recordId':_0x12e0d7,'depth':_0x223dc7});}return _0x2677fa['forEach'](({recordId:_0x2ad0bd})=>{const _0x184921=_0x58c46b;_0x1e8804[_0x2ad0bd][_0x184921(0x2bc)]=_0xad4537['length']-0x1;}),{'rows':_0x503024,'hierarchy':{'fieldId':_0x1de2d0[_0x58c46b(0x424)],'rootRecordIds':_0x1de2d0[_0x58c46b(0x280)]['filter'](_0x15e7fd=>_0x4e1ede[_0x58c46b(0x1eb)](_0x15e7fd)),'orderedRecordIds':_0xad4537,'nodes':_0x1e8804}};}function _0x757508(_0x3a68fe,_0x27dfd3){const _0x225022=_0x17666d;if(!_0x3a68fe['hierarchy']||!(_0x27dfd3!=null&&_0x27dfd3['size']))return _0x3a68fe[_0x225022(0x90)];let _0x2f70a7=[],_0x39215e=0x0;for(;_0x39215e<_0x3a68fe[_0x225022(0x90)]['length'];){let _0x4604e2=_0x3a68fe['rows'][_0x39215e];_0x2f70a7[_0x225022(0x112)](_0x4604e2);let _0x3774a4=_0x3a68fe[_0x225022(0x23b)][_0x225022(0xf8)][_0x4604e2[_0x225022(0x23d)]];_0x39215e=_0x27dfd3[_0x225022(0x1eb)](_0x4604e2[_0x225022(0x23d)])&&_0x3774a4?_0x3774a4['subtreeEndIndex']+0x1:_0x39215e+0x1;}return _0x2f70a7;}function _0x370f2f(_0x1844f5,_0x12c220,_0xf1d9f){const _0x24a7c7=_0x17666d;if(!_0xf1d9f)return{'valid':!0x0};if(_0x12c220===_0xf1d9f)return{'valid':!0x1,'reason':_0x4d7b12[_0x24a7c7(0x44f)][_0x24a7c7(0x19e)]};let _0x416c12=_0xf1d9f;for(;_0x416c12;){if(_0x416c12===_0x12c220)return{'valid':!0x1,'reason':_0x4d7b12[_0x24a7c7(0x44f)][_0x24a7c7(0x355)]};_0x416c12=_0x1844f5['parentByRecordId'][_0x24a7c7(0x9f)](_0x416c12)??null;}return(_0x1844f5[_0x24a7c7(0x136)]['get'](_0xf1d9f)??0x0)+0x1+(_0x1844f5['subtreeHeightByRecordId'][_0x24a7c7(0x9f)](_0x12c220)??0x0)>=0x5?{'valid':!0x1,'reason':_0x4d7b12[_0x24a7c7(0x44f)][_0x24a7c7(0x1c7)]}:{'valid':!0x0};}function _0x19b861(_0x2d925f,_0x5bbf8e){const _0xf942a0=_0x17666d;let _0x46bf64=new Set(),_0x82ac9c=[];for(let _0x1bfc51 of _0x5bbf8e)_0x2d925f['records'][_0x1bfc51]&&!_0x46bf64[_0xf942a0(0x1eb)](_0x1bfc51)&&(_0x46bf64[_0xf942a0(0x3a1)](_0x1bfc51),_0x82ac9c['push'](_0x1bfc51));return Object[_0xf942a0(0x3d7)](_0x2d925f['records'])[_0xf942a0(0x3bb)]()[_0xf942a0(0x3cc)](_0x4e7389=>{const _0x21d07b=_0xf942a0;_0x46bf64[_0x21d07b(0x1eb)](_0x4e7389)||_0x82ac9c[_0x21d07b(0x112)](_0x4e7389);}),_0x82ac9c;}function _0x226008(_0x30aed6,_0x25d9ef,_0x287860){const _0x2da138=_0x17666d;let _0x467c54=new Set();for(let _0x2fff7a of _0x287860){if(_0x467c54[_0x2da138(0x1eb)](_0x2fff7a))continue;let _0x3e4acb=[],_0xad4348=new Map(),_0xd94ff3=_0x2fff7a;for(;_0xd94ff3&&!_0x467c54[_0x2da138(0x1eb)](_0xd94ff3);){let _0x561b19=_0xad4348[_0x2da138(0x9f)](_0xd94ff3);if(_0x561b19!=null){let _0xe0e6af=[..._0x3e4acb['slice'](_0x561b19)]['sort']()[_0x2da138(0x318)]();_0x30aed6[_0x2da138(0x12c)](_0xe0e6af,null),_0x25d9ef[_0x2da138(0x12c)](_0xe0e6af,_0x4d7b12[_0x2da138(0x44f)][_0x2da138(0x355)]);break;}_0xad4348['set'](_0xd94ff3,_0x3e4acb[_0x2da138(0x278)]),_0x3e4acb['push'](_0xd94ff3),_0xd94ff3=_0x30aed6['get'](_0xd94ff3)??null;}_0x3e4acb[_0x2da138(0x3cc)](_0x3595c7=>_0x467c54[_0x2da138(0x3a1)](_0x3595c7));}}function _0x554598(_0x2a8fc7,_0x440f0a,_0x43abc3){let _0x480621=new Map(),_0x2d9234=_0x2f9ff7=>{const _0x4cc0c1=_0x2760;let _0x6cddf9=_0x480621[_0x4cc0c1(0x9f)](_0x2f9ff7);if(_0x6cddf9!=null)return _0x6cddf9;let _0x1c1828=_0x2a8fc7['get'](_0x2f9ff7)??null;if(!_0x1c1828)return _0x480621[_0x4cc0c1(0x12c)](_0x2f9ff7,0x0),0x0;let _0x2037b9=_0x2d9234(_0x1c1828)+0x1;return _0x2037b9>=0x5?(_0x2a8fc7[_0x4cc0c1(0x12c)](_0x2f9ff7,null),_0x440f0a[_0x4cc0c1(0x12c)](_0x2f9ff7,_0x4d7b12[_0x4cc0c1(0x44f)][_0x4cc0c1(0x1c7)]),_0x480621[_0x4cc0c1(0x12c)](_0x2f9ff7,0x0),0x0):(_0x480621['set'](_0x2f9ff7,_0x2037b9),_0x2037b9);};_0x43abc3['forEach'](_0x2d9234);}let _0x2cbae9=0x0;function _0x51de20(){const _0x5369c3=_0x17666d;if(globalThis[_0x5369c3(0x436)]===!0x0)return!0x0;try{let _0x5cac22=typeof location>'u'?'':location[_0x5369c3(0x258)],_0x55c675=new URLSearchParams(_0x5cac22);if(_0x55c675[_0x5369c3(0x9f)]('basePerf')==='1'||_0x55c675[_0x5369c3(0x9f)](_0x5369c3(0xd8))==='true'||_0x55c675[_0x5369c3(0x9f)](_0x5369c3(0x196))==='1')return!0x0;}catch{}try{let _0x4f879c=typeof localStorage>'u'?null:localStorage[_0x5369c3(0x1d7)]('univer.basePerf');return _0x4f879c==='1'||_0x4f879c===_0x5369c3(0x222);}catch{return!0x1;}}function _0x1b2201(_0x4b0abf,_0x318c25,_0x4e83d2){const _0xea04f1=_0x17666d;if(!_0x51de20())return _0x318c25();let _0x1d46ef=_0x3b29e1(),_0x7681ad=_0xea04f1(0x165)+_0x2cbae9++;_0x321216(_0x7681ad+_0xea04f1(0x235));try{return _0x318c25();}finally{let _0x4918e7=_0x3b29e1()-_0x1d46ef;_0x321216(_0x7681ad+_0xea04f1(0x2a1)),_0x2c7bc1(_0x4b0abf,_0x7681ad+_0xea04f1(0x235),_0x7681ad+_0xea04f1(0x2a1)),_0x26ce8a(_0x4b0abf,_0x4918e7,_0x4e83d2);}}function _0x26ce8a(_0xc2a184,_0x47b898,_0xb9447f){const _0x348b63=_0x17666d;if(!_0x51de20())return;let _0x81c509=Math[_0x348b63(0x2e3)](_0x47b898*0x64)/0x64,_0x41fbef=_0xb9447f&&Object['keys'](_0xb9447f)[_0x348b63(0x278)]?'\x20'+JSON[_0x348b63(0x33d)](_0xb9447f):'';console[_0x348b63(0x3f2)]('[BasePerf]\x20'+_0xc2a184+':\x20'+_0x81c509+'ms'+_0x41fbef);}function _0x3b29e1(){const _0x2ee255=_0x17666d;return typeof performance<'u'&&typeof performance[_0x2ee255(0x19c)]==_0x2ee255(0x9e)?performance[_0x2ee255(0x19c)]():Date[_0x2ee255(0x19c)]();}function _0x321216(_0x53c959){const _0x2d9585=_0x17666d;try{if(typeof performance<'u'){var _0x54a04c,_0x1b5739;(_0x54a04c=(_0x1b5739=performance)[_0x2d9585(0x404)])==null||_0x54a04c[_0x2d9585(0x446)](_0x1b5739,_0x53c959);}}catch{}}function _0x2c7bc1(_0x460983,_0x2f6086,_0x4db228){const _0x5b1124=_0x17666d;try{if(typeof performance<'u'){var _0x33bc32,_0x14b40d;(_0x33bc32=(_0x14b40d=performance)[_0x5b1124(0x382)])==null||_0x33bc32[_0x5b1124(0x446)](_0x14b40d,'[BasePerf]\x20'+_0x460983,_0x2f6086,_0x4db228);}}catch{}}function _0x4cff78(_0x438705){const _0x4ce317=_0x17666d;var _0x285fde;return _0x51de20()?_0x1b2201(_0x4ce317(0x1ae),()=>_0x53e38c(_0x438705),{'tableId':_0x438705['id'],'records':Object[_0x4ce317(0x3d7)](_0x438705['records']??{})[_0x4ce317(0x278)],'fields':_0x438705['fieldOrder'][_0x4ce317(0x278)],'hasRecordOrder':!!((_0x285fde=_0x438705['recordOrder'])!=null&&_0x285fde[_0x4ce317(0x278)])}):_0x53e38c(_0x438705);}function _0x53e38c(_0x4670c9){const _0x2e60fa=_0x17666d;var _0x53bdfb;let _0x2fd0e0=_0x4670c9[_0x2e60fa(0x14c)]??{},_0x9f84bb=_0x4670c9[_0x2e60fa(0x129)]??{},_0x3e417a=((_0x53bdfb=_0x4670c9[_0x2e60fa(0x370)])==null?void 0x0:_0x53bdfb[_0x2e60fa(0x425)](_0x5e275f=>_0x2fd0e0[_0x5e275f]))??[],_0x55370c=new Set(_0x3e417a),_0x549c98=[];for(let _0x9d5d0b of Object[_0x2e60fa(0x3b2)](_0x2fd0e0))_0x55370c[_0x2e60fa(0x1eb)](_0x9d5d0b['id'])||_0x549c98[_0x2e60fa(0x112)](_0x9d5d0b);let _0x22f540=_0x549c98[_0x2e60fa(0x278)]?[..._0x3e417a,..._0x5913e0(_0x549c98)]:_0x3e417a,_0x40033f=_0x4670c9['fieldOrder']['filter'](_0x5731ae=>_0x9f84bb[_0x5731ae]),_0x2d943e={..._0x4670c9[_0x2e60fa(0x357)]??{}},_0x314714={..._0x4670c9[_0x2e60fa(0x1f6)]??{}},_0x1baf03={..._0x4670c9[_0x2e60fa(0x17b)]??{}};_0x4670c9[_0x2e60fa(0x370)]=_0x22f540,_0x4670c9[_0x2e60fa(0x3db)]={},_0x4670c9['rowId']={},_0x4670c9['colIndex']={},_0x4670c9['colId']={},_0x4670c9[_0x2e60fa(0x17b)]={},_0x4670c9[_0x2e60fa(0x171)]={..._0x4670c9[_0x2e60fa(0x171)]??{}},_0x4670c9['resources'][_0x2e60fa(0xf4)]={..._0x4670c9[_0x2e60fa(0x171)][_0x2e60fa(0xf4)]??{}},_0x4670c9['resources'][_0x2e60fa(0x24d)]={..._0x4670c9[_0x2e60fa(0x171)]['attachments']??{}};let _0x4a1429=_0x4670c9[_0x2e60fa(0x3db)],_0x450e7b=_0x4670c9[_0x2e60fa(0x357)],_0x5b761a=_0x4670c9[_0x2e60fa(0x118)],_0x386553=_0x4670c9[_0x2e60fa(0x1f6)],_0x4c2ec7=_0x4670c9['cellData'];return _0x22f540[_0x2e60fa(0x3cc)]((_0x1b8248,_0x58c00b)=>{_0x4a1429[_0x1b8248]=_0x58c00b,_0x450e7b[_0x58c00b]=_0x1b8248;}),_0x40033f[_0x2e60fa(0x3cc)]((_0xda9cc1,_0x500724)=>{_0x5b761a[_0xda9cc1]=_0x500724,_0x386553[_0x500724]=_0xda9cc1;}),Object['entries'](_0x1baf03)[_0x2e60fa(0x3cc)](([_0x3eb7ec,_0x4b22f2])=>{const _0x2a9ca9=_0x2e60fa;let _0x4d169e=Number(_0x3eb7ec),_0xe0575d=_0x2d943e[_0x4d169e]??_0x22f540[_0x4d169e],_0xa8d395=_0xe0575d?_0x4a1429[_0xe0575d]:void 0x0;_0xa8d395!=null&&(_0x4c2ec7[_0xa8d395]={..._0x4c2ec7[_0xa8d395]??{}},Object['entries'](_0x4b22f2??{})[_0x2a9ca9(0x3cc)](([_0x3e993a,_0x586909])=>{let _0x312afb=Number(_0x3e993a),_0x4b0f28=_0x314714[_0x312afb]??_0x40033f[_0x312afb],_0x558828=_0x4b0f28?_0x5b761a[_0x4b0f28]:void 0x0;_0x558828!=null&&(_0x4c2ec7[_0xa8d395][_0x558828]=_0x1b50e0(_0x586909));}));}),Object[_0x2e60fa(0x3b2)](_0x2fd0e0)[_0x2e60fa(0x3cc)](_0x5b5e44=>{const _0x372534=_0x2e60fa;let _0x1bb612=_0x4a1429[_0x5b5e44['id']];_0x1bb612!=null&&(_0x5b5e44['values']={..._0x5b5e44['values']??{},[_0x4d7b12[_0x372534(0x36b)]]:_0x5b5e44['id']},_0x4c2ec7[_0x1bb612]={..._0x4c2ec7[_0x1bb612]??{},0x0:{'v':_0x5b5e44['id'],'t':_0x4d7b12['CellValueType'][_0x372534(0x26d)]}},Object['entries'](_0x5b5e44[_0x372534(0x3b2)]??{})[_0x372534(0x3cc)](([_0x153f45,_0x1b31cb])=>{const _0x45ca4a=_0x372534;let _0x2cb0f8=_0x9f84bb[_0x153f45];(_0x2cb0f8==null?void 0x0:_0x2cb0f8[_0x45ca4a(0x466)])===_0x4d7b12[_0x45ca4a(0x419)][_0x45ca4a(0x312)]&&_0x65b0f0(_0x4670c9,_0x5b5e44['id'],_0x153f45,_0x1b31cb);let _0x5eec29=_0x5b761a[_0x153f45];if(_0x5eec29==null)return;let _0x68a482=_0x4c2ec7[_0x1bb612][_0x5eec29];if(_0x68a482!=null){_0x3f12bb(_0x68a482,_0x2cb0f8,_0x1b31cb)&&(_0x4c2ec7[_0x1bb612][_0x5eec29]=_0x445436(_0x1b31cb,_0x2cb0f8));return;}_0x4c2ec7[_0x1bb612][_0x5eec29]=_0x445436(_0x1b31cb,_0x2cb0f8);}));}),_0x4670c9;}function _0x55f164(_0x23a447){const _0x1cf300=_0x17666d;return _0x4cff78(_0x23a447),Object['entries'](_0x23a447[_0x1cf300(0x357)]??{})[_0x1cf300(0x3cc)](([_0x5232e8,_0x59a47e])=>{const _0x14483f=_0x1cf300;var _0x144941;let _0x4e5ce4=Number(_0x5232e8),_0x1ede6f=_0x23a447[_0x14483f(0x14c)][_0x59a47e];_0x1ede6f&&(_0x1ede6f['values']={..._0x1ede6f[_0x14483f(0x3b2)]??{}},Object['entries'](((_0x144941=_0x23a447[_0x14483f(0x17b)])==null?void 0x0:_0x144941[_0x4e5ce4])??{})[_0x14483f(0x3cc)](([_0x1346e3,_0x576583])=>{const _0x45bd5c=_0x14483f;var _0xac7806;let _0x2a0c4f=(_0xac7806=_0x23a447[_0x45bd5c(0x1f6)])==null?void 0x0:_0xac7806[Number(_0x1346e3)];_0x2a0c4f===_0x4d7b12[_0x45bd5c(0x36b)]?_0x1ede6f['values'][_0x4d7b12['BASE_RECORD_ID_FIELD_ID']]=_0x1ede6f['id']:_0x2a0c4f&&(_0x1ede6f[_0x45bd5c(0x3b2)][_0x2a0c4f]=_0xca1f9d(_0x576583,_0x23a447['fields'][_0x2a0c4f],_0x23a447,_0x59a47e));}));}),_0x23a447;}function _0x3aaed2(_0x138612,_0x373894){const _0x516796=_0x17666d;for(let {row:_0x35f3f1,col:_0x291fca}of _0x373894){var _0x29166c,_0x2c6379,_0x5e1434;let _0x3512c4=(_0x29166c=_0x138612[_0x516796(0x357)])==null?void 0x0:_0x29166c[_0x35f3f1],_0x4b7382=(_0x2c6379=_0x138612[_0x516796(0x1f6)])==null?void 0x0:_0x2c6379[_0x291fca],_0x2d5211=_0x3512c4?_0x138612['records'][_0x3512c4]:void 0x0;if(!_0x2d5211||!_0x4b7382)continue;if(_0x4b7382===_0x4d7b12[_0x516796(0x36b)]){_0x2d5211['values'][_0x4d7b12[_0x516796(0x36b)]]=_0x2d5211['id'];continue;}let _0x3d3ce8=(_0x5e1434=_0x138612[_0x516796(0x17b)])==null||(_0x5e1434=_0x5e1434[_0x35f3f1])==null?void 0x0:_0x5e1434[_0x291fca];_0x3d3ce8==null&&!Object[_0x516796(0x44a)]['hasOwnProperty'][_0x516796(0x446)](_0x2d5211[_0x516796(0x3b2)]??{},_0x4b7382)||(_0x2d5211['values']={..._0x2d5211[_0x516796(0x3b2)]??{}},_0x2d5211[_0x516796(0x3b2)][_0x4b7382]=_0xca1f9d(_0x3d3ce8,_0x138612[_0x516796(0x129)][_0x4b7382],_0x138612,_0x3512c4));}return _0x138612;}function _0x29a076(_0x502981,_0x3037c4,_0xda2f55){const _0x4570cf=_0x17666d;var _0x45d5a3,_0x4a4405,_0x50bbe7,_0x4ee0e7,_0x5cb1ea,_0x438319;let _0x54673e=(_0x45d5a3=_0x502981[_0x4570cf(0x3db)])==null?void 0x0:_0x45d5a3[_0x3037c4],_0xb36255=(_0x4a4405=_0x502981['colIndex'])==null?void 0x0:_0x4a4405[_0xda2f55];if(_0x54673e!=null&&_0xb36255!=null&&((_0x50bbe7=_0x502981[_0x4570cf(0x357)])==null?void 0x0:_0x50bbe7[_0x54673e])===_0x3037c4&&((_0x4ee0e7=_0x502981[_0x4570cf(0x1f6)])==null?void 0x0:_0x4ee0e7[_0xb36255])===_0xda2f55)return{'row':_0x54673e,'col':_0xb36255};let _0x2f4a7b=_0x4cff78(_0x502981),_0x2b7976=(_0x5cb1ea=_0x2f4a7b[_0x4570cf(0x3db)])==null?void 0x0:_0x5cb1ea[_0x3037c4],_0x452866=(_0x438319=_0x2f4a7b['colIndex'])==null?void 0x0:_0x438319[_0xda2f55];return _0x2b7976==null||_0x452866==null?null:{'row':_0x2b7976,'col':_0x452866};}function _0x19f477(_0x11b36e,_0x32fc06,_0x5837e0){const _0x262a2d=_0x17666d;var _0x1127a3;let _0x22b364=_0x29a076(_0x11b36e,_0x32fc06,_0x5837e0);if(_0x22b364)return(_0x1127a3=_0x11b36e['cellData'])==null||(_0x1127a3=_0x1127a3[_0x22b364[_0x262a2d(0x1b3)]])==null?void 0x0:_0x1127a3[_0x22b364[_0x262a2d(0x282)]];}function _0x5d14af(_0x20ba82,_0x4cd95e,_0x5dc9d4){const _0x2110aa=_0x17666d;var _0x10e59d;let _0xf2d16d=_0x19f477(_0x20ba82,_0x4cd95e,_0x5dc9d4),_0x5bfd91=_0x20ba82[_0x2110aa(0x129)][_0x5dc9d4];if((_0x5bfd91==null?void 0x0:_0x5bfd91[_0x2110aa(0x466)])===_0x4d7b12[_0x2110aa(0x419)]['Attachment']){var _0x4a5013;return _0x1d1a91(_0x20ba82,_0x4cd95e,_0x5dc9d4)??_0x395d05((_0x4a5013=_0x20ba82[_0x2110aa(0x14c)][_0x4cd95e])==null||(_0x4a5013=_0x4a5013[_0x2110aa(0x3b2)])==null?void 0x0:_0x4a5013[_0x5dc9d4]);}if(_0x1168a4(_0x5bfd91)||(_0x5bfd91==null?void 0x0:_0x5bfd91[_0x2110aa(0x466)])===_0x4d7b12[_0x2110aa(0x419)][_0x2110aa(0x85)]){var _0x256d09;let _0x2b6d9f=(_0x256d09=_0x20ba82[_0x2110aa(0x14c)][_0x4cd95e])==null||(_0x256d09=_0x256d09[_0x2110aa(0x3b2)])==null?void 0x0:_0x256d09[_0x5dc9d4];return _0x2b6d9f!=null&&_0x2b6d9f!==''?_0x4c3807(_0x2b6d9f,_0x5bfd91):_0xca1f9d(_0xf2d16d,_0x5bfd91,_0x20ba82,_0x4cd95e);}return _0xf2d16d&&Object[_0x2110aa(0x44a)][_0x2110aa(0x3d1)][_0x2110aa(0x446)](_0xf2d16d,'v')?_0xf2d16d['v']??null:((_0x10e59d=_0x20ba82[_0x2110aa(0x14c)][_0x4cd95e])==null||(_0x10e59d=_0x10e59d[_0x2110aa(0x3b2)])==null?void 0x0:_0x10e59d[_0x5dc9d4])??null;}function _0x2d5426(_0x4a1e92,_0x53f437,_0x2d0894){const _0x56b718=_0x17666d;var _0x3a486e;let _0x49558f=_0x19f477(_0x4a1e92,_0x53f437,_0x2d0894);if(_0x49558f&&Object[_0x56b718(0x44a)]['hasOwnProperty'][_0x56b718(0x446)](_0x49558f,'v'))return _0x49558f['v']??null;let _0x23dafc=_0x4a1e92['fields'][_0x2d0894];return _0x445436(((_0x3a486e=_0x4a1e92[_0x56b718(0x14c)][_0x53f437])==null||(_0x3a486e=_0x3a486e[_0x56b718(0x3b2)])==null?void 0x0:_0x3a486e[_0x2d0894])??null,_0x23dafc)['v']??null;}function _0x445436(_0x2ec3da,_0xe8f823){const _0x230fe1=_0x17666d;if(_0x5b114f(_0x2ec3da))return(_0xe8f823==null?void 0x0:_0xe8f823['type'])===_0x4d7b12[_0x230fe1(0x419)][_0x230fe1(0x312)]?{..._0x2ec3da,'v':'','t':_0x4d7b12[_0x230fe1(0x2f2)][_0x230fe1(0x26d)]}:_0x1b50e0(_0x2ec3da);if((_0xe8f823==null?void 0x0:_0xe8f823[_0x230fe1(0x466)])===_0x4d7b12[_0x230fe1(0x419)]['Attachment'])return{'v':'','t':_0x4d7b12[_0x230fe1(0x2f2)][_0x230fe1(0x26d)]};if(_0x1168a4(_0xe8f823))return{'v':_0x5791fb(_0x2ec3da)[_0x230fe1(0x1ef)](',\x20'),'t':_0x4d7b12[_0x230fe1(0x2f2)][_0x230fe1(0x26d)]};if((_0xe8f823==null?void 0x0:_0xe8f823['type'])===_0x4d7b12[_0x230fe1(0x419)]['Link']&&_0x2ec3da&&typeof _0x2ec3da==_0x230fe1(0x297)&&!Array[_0x230fe1(0x46e)](_0x2ec3da)){let _0x43fb35=_0x2ec3da;return{'v':String(_0x43fb35[_0x230fe1(0x146)]??_0x43fb35['url']??''),'t':_0x4d7b12[_0x230fe1(0x2f2)][_0x230fe1(0x26d)]};}return _0x2ec3da===null||typeof _0x2ec3da==_0x230fe1(0x3af)||typeof _0x2ec3da==_0x230fe1(0x2c1)||typeof _0x2ec3da==_0x230fe1(0x217)?{'v':_0x2ec3da,'t':_0x5edf18(_0x2ec3da)}:{'v':null,'t':null};}function _0x1b50e0(_0x56e5a5){let _0x50d345=_0x294e25(_0x56e5a5['t'],_0x56e5a5['v']);if(_0x50d345===void 0x0){let {t:_0x46bdd8,..._0x11c258}=_0x56e5a5;return _0x11c258;}return{..._0x56e5a5,'t':_0x50d345};}function _0xca1f9d(_0x6344f8,_0x420318,_0x5317c6,_0x34456e){const _0x3964e1=_0x17666d;if(!_0x6344f8)return null;if((_0x420318==null?void 0x0:_0x420318[_0x3964e1(0x466)])===_0x4d7b12[_0x3964e1(0x419)]['Attachment'])return _0x5317c6&&_0x34456e?_0x1d1a91(_0x5317c6,_0x34456e,_0x420318['id'])??[]:[];if(_0x1168a4(_0x420318))return _0x5791fb(_0x6344f8['v']);if((_0x420318==null?void 0x0:_0x420318[_0x3964e1(0x466)])===_0x4d7b12[_0x3964e1(0x419)][_0x3964e1(0x85)]&&_0x5317c6&&_0x34456e){var _0x2d8202;let _0x341465=(_0x2d8202=_0x5317c6[_0x3964e1(0x14c)][_0x34456e])==null||(_0x2d8202=_0x2d8202[_0x3964e1(0x3b2)])==null?void 0x0:_0x2d8202[_0x420318['id']];if(_0x341465&&typeof _0x341465==_0x3964e1(0x297)&&!Array['isArray'](_0x341465))return _0x341465;}return Object['prototype'][_0x3964e1(0x3d1)][_0x3964e1(0x446)](_0x6344f8,'v')?_0x6344f8['v']??null:null;}function _0x1f5abe(_0x18b4fa,_0x103219,_0x54b1b4,_0x58f12b,_0x426a8b){const _0x1b20f7=_0x17666d;return(_0x54b1b4==null?void 0x0:_0x54b1b4[_0x1b20f7(0x466)])===_0x4d7b12[_0x1b20f7(0x419)][_0x1b20f7(0x312)]?_0x395d05(_0x18b4fa):_0x1168a4(_0x54b1b4)?_0x5791fb(_0x18b4fa):(_0x54b1b4==null?void 0x0:_0x54b1b4[_0x1b20f7(0x466)])===_0x4d7b12[_0x1b20f7(0x419)]['Link']&&_0x18b4fa&&typeof _0x18b4fa=='object'&&!Array[_0x1b20f7(0x46e)](_0x18b4fa)&&!_0x5b114f(_0x18b4fa)?_0x18b4fa:_0xca1f9d(_0x103219,_0x54b1b4,_0x58f12b,_0x426a8b);}function _0x5b114f(_0x5dc8e4){const _0x4701ff=_0x17666d;return!!_0x5dc8e4&&typeof _0x5dc8e4==_0x4701ff(0x297)&&(Object['prototype']['hasOwnProperty'][_0x4701ff(0x446)](_0x5dc8e4,'v')||Object[_0x4701ff(0x44a)]['hasOwnProperty'][_0x4701ff(0x446)](_0x5dc8e4,'t')||Object[_0x4701ff(0x44a)][_0x4701ff(0x3d1)][_0x4701ff(0x446)](_0x5dc8e4,'p')||Object['prototype'][_0x4701ff(0x3d1)]['call'](_0x5dc8e4,'f')||Object[_0x4701ff(0x44a)]['hasOwnProperty'][_0x4701ff(0x446)](_0x5dc8e4,'si'));}function _0x30d8b3(_0x2fa800,_0x24aea0){return _0x2fa800+'\x1f'+_0x24aea0;}function _0x65b0f0(_0x27112e,_0x3196fb,_0x3f4b40,_0x374e2e){const _0x216ac6=_0x17666d;let _0x2d3099=_0x395d05(_0x374e2e);_0x27112e[_0x216ac6(0x171)]={..._0x27112e[_0x216ac6(0x171)]??{}},_0x27112e[_0x216ac6(0x171)][_0x216ac6(0xf4)]={..._0x27112e[_0x216ac6(0x171)][_0x216ac6(0xf4)]??{}},_0x27112e[_0x216ac6(0x171)][_0x216ac6(0x24d)]={..._0x27112e[_0x216ac6(0x171)][_0x216ac6(0x24d)]??{}};let _0x1255f3=_0x30d8b3(_0x3f4b40,_0x3196fb),_0x2ec6b7=[];for(let _0x8ca5ca=0x0;_0x8ca5ca<_0x2d3099[_0x216ac6(0x278)];_0x8ca5ca++){if(!(_0x8ca5ca in _0x2d3099))continue;let _0x1292e8=_0x2d3099[_0x8ca5ca],_0xc3c685=String(_0x1292e8['id']??_0x1255f3+'\x1f'+_0x8ca5ca),_0x2b8a8f={..._0x1292e8,'id':_0xc3c685};_0x27112e[_0x216ac6(0x171)]['attachments'][_0xc3c685]=_0x2b8a8f,_0x2ec6b7[_0x216ac6(0x112)](_0xc3c685);}_0x27112e[_0x216ac6(0x171)][_0x216ac6(0xf4)][_0x1255f3]=_0x2ec6b7;}function _0x1d1a91(_0xdbf4f7,_0x4b8b01,_0x5c8bf0){const _0x5eccef=_0x17666d;var _0x1842b4;let _0x30ce65=_0x30d8b3(_0x5c8bf0,_0x4b8b01),_0x2b9422=(_0x1842b4=_0xdbf4f7[_0x5eccef(0x171)])==null||(_0x1842b4=_0x1842b4[_0x5eccef(0xf4)])==null?void 0x0:_0x1842b4[_0x30ce65];if(!_0x2b9422)return null;let _0x1a64c2=[];for(let _0x42dab3=0x0;_0x42dab3<_0x2b9422['length'];_0x42dab3++){var _0x7d6d77;if(!(_0x42dab3 in _0x2b9422))continue;let _0x474532=(_0x7d6d77=_0xdbf4f7[_0x5eccef(0x171)])==null||(_0x7d6d77=_0x7d6d77[_0x5eccef(0x24d)])==null?void 0x0:_0x7d6d77[_0x2b9422[_0x42dab3]];_0x474532&&_0x1a64c2[_0x5eccef(0x112)]({..._0x474532});}return _0x1a64c2;}function _0x395d05(_0x5c8787){const _0xee33f5=_0x17666d;if(_0x5c8787==null||_0x5c8787===''||_0x5b114f(_0x5c8787)&&!('id'in _0x5c8787)&&!(_0xee33f5(0x208)in _0x5c8787))return[];let _0x222396=Array[_0xee33f5(0x46e)](_0x5c8787)?_0x5c8787:[_0x5c8787],_0x22824d=[];for(let _0x5ac1f5=0x0;_0x5ac1f5<_0x222396[_0xee33f5(0x278)];_0x5ac1f5++){if(!(_0x5ac1f5 in _0x222396))continue;let _0x3f027f=_0x222396[_0x5ac1f5],_0x3108e9=_0x3f027f&&typeof _0x3f027f==_0xee33f5(0x297)?{..._0x3f027f}:{'id':_0xee33f5(0x248)+_0x5ac1f5,'name':String(_0x3f027f)};Object[_0xee33f5(0x3d7)](_0x3108e9)['length']>0x0&&_0x22824d[_0xee33f5(0x112)](_0x3108e9);}return _0x22824d;}function _0x4c3807(_0x21cd98,_0x1b2188){const _0x3cea07=_0x17666d;return(_0x1b2188==null?void 0x0:_0x1b2188[_0x3cea07(0x466)])===_0x4d7b12[_0x3cea07(0x419)][_0x3cea07(0x312)]?_0x395d05(_0x21cd98):_0x1168a4(_0x1b2188)?_0x5791fb(_0x21cd98):_0x21cd98;}function _0x3f12bb(_0x19a79b,_0xf905b9,_0x4ef38b){const _0x7a5c3a=_0x17666d;return(_0xf905b9==null?void 0x0:_0xf905b9[_0x7a5c3a(0x466)])===_0x4d7b12[_0x7a5c3a(0x419)]['Attachment']?_0x19a79b['v']!=='':_0x1168a4(_0xf905b9)?Array['isArray'](_0x4ef38b)&&(_0x19a79b['v']==null||_0x19a79b['v']===''):!0x1;}function _0x1168a4(_0x5df2be){const _0x2d95c9=_0x17666d;return(_0x5df2be==null?void 0x0:_0x5df2be[_0x2d95c9(0x466)])===_0x4d7b12[_0x2d95c9(0x419)]['MultiSelect']||(_0x5df2be==null?void 0x0:_0x5df2be[_0x2d95c9(0x466)])===_0x4d7b12[_0x2d95c9(0x419)][_0x2d95c9(0x92)]||(_0x5df2be==null?void 0x0:_0x5df2be[_0x2d95c9(0x466)])===_0x4d7b12[_0x2d95c9(0x419)][_0x2d95c9(0x41c)];}function _0x5791fb(_0x171506){const _0x3e6aaf=_0x17666d;if(_0x171506==null||_0x171506==='')return[];let _0x57b872=[];if(Array[_0x3e6aaf(0x46e)](_0x171506)){for(let _0x37eca5=0x0;_0x37eca5<_0x171506[_0x3e6aaf(0x278)];_0x37eca5++){if(!(_0x37eca5 in _0x171506))continue;let _0x707dcb=_0x1b5d81(_0x171506[_0x37eca5]);_0x707dcb&&_0x57b872['push'](_0x707dcb);}return _0x57b872;}for(let _0x848354 of String(_0x171506)['split'](',')){let _0x2a763d=_0x848354[_0x3e6aaf(0x11d)]();_0x2a763d&&_0x57b872[_0x3e6aaf(0x112)](_0x2a763d);}return _0x57b872;}function _0x1b5d81(_0x5b2c45){const _0x37574a=_0x17666d;if(_0x5b2c45==null)return'';if(typeof _0x5b2c45=='string'||typeof _0x5b2c45==_0x37574a(0x2c1)||typeof _0x5b2c45==_0x37574a(0x217))return String(_0x5b2c45);if(typeof _0x5b2c45==_0x37574a(0x297)){let _0x33003d=_0x5b2c45;return String(_0x33003d['id']??_0x33003d['name']??_0x33003d[_0x37574a(0x146)]??'');}return String(_0x5b2c45);}function _0x5edf18(_0x3d94c7){const _0x56e48c=_0x17666d;return _0x3d94c7==null?null:typeof _0x3d94c7==_0x56e48c(0x2c1)?_0x4d7b12[_0x56e48c(0x2f2)][_0x56e48c(0x306)]:typeof _0x3d94c7==_0x56e48c(0x217)?_0x4d7b12[_0x56e48c(0x2f2)]['BOOLEAN']:_0x4d7b12[_0x56e48c(0x2f2)][_0x56e48c(0x26d)];}function _0x5913e0(_0x587499){const _0x1d61ad=_0x17666d;_0x587499[_0x1d61ad(0x3bb)]((_0x98e1a8,_0x3acefe)=>_0x98e1a8['orderKey'][_0x1d61ad(0x31b)](_0x3acefe['orderKey']));let _0x53d455=[];for(let _0x1a5b5c of _0x587499)_0x53d455[_0x1d61ad(0x112)](_0x1a5b5c['id']);return _0x53d455;}function _0x294e25(_0x1a5555,_0x292939){const _0x2d3878=_0x17666d;return _0x1a5555===_0x4d7b12[_0x2d3878(0x2f2)][_0x2d3878(0x26d)]||_0x1a5555===_0x4d7b12[_0x2d3878(0x2f2)]['NUMBER']||_0x1a5555===_0x4d7b12['CellValueType']['BOOLEAN']||_0x1a5555===_0x4d7b12[_0x2d3878(0x2f2)][_0x2d3878(0x152)]||_0x1a5555==null?_0x1a5555:_0x5edf18(_0x292939??null);}function _0x2c91fd(_0xcbc9b8){const _0x3cfefe=_0x17666d;let _0x517bb3=null;for(let _0xeb7ad7 of _0xcbc9b8)_0x517bb3=_0x517bb3===null?_0xeb7ad7:_0x4d7b12[_0x3cfefe(0xa0)][_0x3cfefe(0x466)][_0x3cfefe(0x1e6)](_0x517bb3,_0xeb7ad7);return _0x517bb3;}var _0x51bfae=class _0x2ae4d5{static[_0x17666d(0xcf)](_0x57aa03,_0x18b70b){const _0x5a3b6d=_0x17666d;let _0x2cd36d=[];for(let _0x3ed16e of _0x18b70b){let _0x46107e=_0x3b665c(_0x3ed16e);if(!_0x46107e||_0x46107e[_0x5a3b6d(0x44c)]!==_0x57aa03['id'])return null;_0x2cd36d[_0x5a3b6d(0x112)](_0x46107e['op']);}try{let _0x3dd628=_0x2c91fd(_0x2cd36d);return _0x3dd628===null?_0x57aa03:new _0x2ae4d5()[_0x5a3b6d(0x344)](_0x57aa03,_0x3dd628);}catch{return null;}}[_0x17666d(0x344)](_0xb535be,_0x204352){const _0x116373=_0x17666d;let _0x1c3217=this[_0x116373(0x43b)](_0x204352),_0x3f0fe2=_0x1b2201(_0x116373(0x1a6),()=>_0x1d7edf(_0xb535be,_0x204352),{'invalidations':_0x1c3217[_0x116373(0x278)]}),_0x3678b1=_0x1b2201('BaseJson1.json1Apply',()=>_0x4d7b12[_0x116373(0xa0)][_0x116373(0x466)][_0x116373(0x14e)](_0x3f0fe2,_0x204352),{'invalidations':_0x1c3217[_0x116373(0x278)]});return _0x1b2201('BaseJson1.syncCellInvalidations',()=>_0x45717a(_0x3678b1,_0x1c3217),{'invalidations':_0x1c3217['length']})||_0x1b2201('BaseJson1.normalizeTables',()=>{const _0x454edc=_0x116373;this['_getTablesToNormalize'](_0x3678b1,_0x1c3217)[_0x454edc(0x3cc)](_0x402867=>{_0x55f164(_0x402867);});},{'invalidations':_0x1c3217[_0x116373(0x278)]}),_0x3678b1;}[_0x17666d(0x386)](_0xf5bc2d,_0x3ad2ad){const _0x468bbe=_0x17666d;return _0x4d7b12[_0x468bbe(0xa0)][_0x468bbe(0x466)][_0x468bbe(0x204)](_0x3ad2ad,_0xf5bc2d);}['getAffectedRanges'](_0x2c3360){const _0x355429=_0x17666d;let _0x2391ff=_0x42f5ae(_0x2c3360);return _0x2391ff[_0x355429(0x278)]?_0x4054b7(_0x2391ff[_0x355429(0x2b8)](_0x394625=>this[_0x355429(0x43b)](_0x394625))):_0x470bbe(_0x2c3360);}['_getTablesToNormalize'](_0x46cd15,_0x1f5259){const _0x15f1ac=_0x17666d;return _0x1f5259['length']?_0x1f5259['some'](_0x55d809=>!_0x55d809['tableId'])?Object['values'](_0x46cd15['tables']??{}):Array['from'](new Set(_0x1f5259[_0x15f1ac(0xd9)](_0x4c8bc9=>_0x4c8bc9[_0x15f1ac(0x10c)])))['flatMap'](_0x3d6484=>{const _0x48c04b=_0x15f1ac;var _0x107dbb;let _0x2dd11b=(_0x107dbb=_0x46cd15[_0x48c04b(0x334)])==null?void 0x0:_0x107dbb[_0x3d6484];return _0x2dd11b?[_0x2dd11b]:[];}):[];}};function _0x3b665c(_0x372a13){const _0xd19efe=_0x17666d;let _0x293046=_0x372a13[_0xd19efe(0x133)];return _0x372a13['id']!==_0xd19efe(0x2b6)||typeof _0x293046!=_0xd19efe(0x297)||!_0x293046||!(_0xd19efe(0x44c)in _0x293046)||typeof _0x293046[_0xd19efe(0x44c)]!=_0xd19efe(0x3af)||!('op'in _0x293046)||!Array[_0xd19efe(0x46e)](_0x293046['op'])?null:{'unitId':_0x293046[_0xd19efe(0x44c)],'op':_0x293046['op']};}function _0x45717a(_0x45cec9,_0x2ebd26){const _0x3c6fb7=_0x17666d;if(!_0x2ebd26['length']||_0x2ebd26['some'](_0x46c718=>_0x46c718[_0x3c6fb7(0x44e)]!==_0x3c6fb7(0x2cb)))return!0x1;let _0x5375d6=new Map();for(let _0x3e7d67 of _0x2ebd26){if(!_0x3e7d67[_0x3c6fb7(0x10c)]||_0x3e7d67[_0x3c6fb7(0x1b3)]==null||_0x3e7d67[_0x3c6fb7(0x46f)]==null)continue;let _0x39a4a6=_0x5375d6[_0x3c6fb7(0x9f)](_0x3e7d67['tableId'])??[];_0x39a4a6['push']({'row':_0x3e7d67['row'],'col':_0x3e7d67[_0x3c6fb7(0x46f)]}),_0x5375d6[_0x3c6fb7(0x12c)](_0x3e7d67[_0x3c6fb7(0x10c)],_0x39a4a6);}return _0x5375d6[_0x3c6fb7(0x3cc)]((_0x2e7830,_0x2dd7ef)=>{const _0x5223bf=_0x3c6fb7;var _0x3e23c0;let _0x1f6dc1=(_0x3e23c0=_0x45cec9[_0x5223bf(0x334)])==null?void 0x0:_0x3e23c0[_0x2dd7ef];_0x1f6dc1&&_0x3aaed2(_0x1f6dc1,_0x2e7830);}),!0x0;}function _0x470bbe(_0x341bc0){const _0x50000f=_0x17666d;if(!Array[_0x50000f(0x46e)](_0x341bc0)||_0x341bc0[_0x50000f(0x278)]<0x2)return[{'tableId':'','reason':_0x50000f(0x383)}];let _0x4d231c=_0x341bc0,_0x1f2e1f=_0x4d231c[_0x50000f(0x211)](_0x50000f(0x334));return _0x1f2e1f===-0x1||typeof _0x4d231c[_0x1f2e1f+0x1]!=_0x50000f(0x3af)?_0x4d231c[0x0]==='tableOrder'?[]:[{'tableId':'','reason':_0x50000f(0x383)}]:_0x3aa656(_0x4d231c,_0x1f2e1f,String(_0x4d231c[_0x1f2e1f+0x1]));}function _0x3aa656(_0x5adecc,_0x4552bf,_0x3cde69){const _0x13a985=_0x17666d;let _0x5c74d7=_0x5adecc[_0x4552bf+0x2];return _0x5c74d7===_0x13a985(0x14c)&&typeof _0x5adecc[_0x4552bf+0x3]==_0x13a985(0x3af)?_0x28f3ec(_0x5adecc,_0x4552bf,_0x3cde69,String(_0x5adecc[_0x4552bf+0x3])):_0x5c74d7==='cellData'&&_0x5adecc[_0x4552bf+0x3]!=null&&_0x5adecc[_0x4552bf+0x4]!=null?[{'tableId':_0x3cde69,'reason':_0x13a985(0x2cb),'row':Number(_0x5adecc[_0x4552bf+0x3]),'column':Number(_0x5adecc[_0x4552bf+0x4])}]:_0x5c74d7===_0x13a985(0x129)&&typeof _0x5adecc[_0x4552bf+0x3]=='string'?[{'tableId':_0x3cde69,'reason':_0x13a985(0x38f),'fieldId':String(_0x5adecc[_0x4552bf+0x3])}]:_0x5c74d7==='views'&&typeof _0x5adecc[_0x4552bf+0x3]==_0x13a985(0x3af)?[{'tableId':_0x3cde69,'reason':_0x13a985(0x365),'viewId':String(_0x5adecc[_0x4552bf+0x3])}]:[{'tableId':_0x3cde69,'reason':_0x5c74d7===void 0x0?_0x13a985(0x39f):'unknown'}];}function _0x28f3ec(_0x414379,_0x25f29e,_0x5339db,_0x21f217){const _0x4c292b=_0x17666d;return _0x414379[_0x25f29e+0x4]===_0x4c292b(0x3b2)&&typeof _0x414379[_0x25f29e+0x5]=='string'?[{'tableId':_0x5339db,'reason':_0x4c292b(0x2cb),'recordId':_0x21f217,'fieldId':String(_0x414379[_0x25f29e+0x5])}]:_0x414379[_0x25f29e+0x4]===_0x4c292b(0x2b0)||_0x414379[_0x25f29e+0x4]===_0x4c292b(0x163)?[]:[{'tableId':_0x5339db,'reason':_0x4c292b(0x463),'recordId':_0x21f217}];}function _0x42f5ae(_0x35c28e){const _0x1d10e0=_0x17666d;if(!Array[_0x1d10e0(0x46e)](_0x35c28e))return[];let _0x90c6e8=_0x35c28e[_0x1d10e0(0x425)](Array['isArray']);if(_0x90c6e8[_0x1d10e0(0x278)]>0x1&&_0x90c6e8[_0x1d10e0(0x278)]===_0x35c28e[_0x1d10e0(0x278)])return _0x90c6e8;let _0x3e4aef=_0x35c28e[_0x1d10e0(0xea)](Array[_0x1d10e0(0x46e)]);if(_0x3e4aef>0x0&&_0x35c28e[_0x1d10e0(0x3fc)](_0x3e4aef)[_0x1d10e0(0x178)](Array[_0x1d10e0(0x46e)])){let _0x449d95=_0x35c28e[_0x1d10e0(0x3fc)](0x0,_0x3e4aef);return _0x35c28e['slice'](_0x3e4aef)[_0x1d10e0(0xd9)](_0x2398e8=>[..._0x449d95,..._0x2398e8]);}let _0x209fe5=_0x35c28e['indexOf'](_0x1d10e0(0x334));if(_0x209fe5===-0x1||typeof _0x35c28e[_0x209fe5+0x1]!=_0x1d10e0(0x3af))return[];let _0x483564=String(_0x35c28e[_0x209fe5+0x1]),_0x558abe=_0x35c28e[_0x1d10e0(0x3fc)](_0x209fe5+0x2)[_0x1d10e0(0x425)](Array['isArray']);return _0x558abe['length']<=0x1?[]:_0x558abe[_0x1d10e0(0xd9)](_0x292461=>[_0x1d10e0(0x334),_0x483564,..._0x292461]);}function _0x4054b7(_0x293a9f){const _0x1fe249=_0x17666d;let _0x2729b4=new Set();return _0x293a9f[_0x1fe249(0x425)](_0x2e2b23=>{const _0x52b1a9=_0x1fe249;let _0x1fb76b=JSON[_0x52b1a9(0x33d)](_0x2e2b23);return _0x2729b4[_0x52b1a9(0x1eb)](_0x1fb76b)?!0x1:(_0x2729b4[_0x52b1a9(0x3a1)](_0x1fb76b),!0x0);});}function _0x5830c4(_0x7893e9){const _0x21ce9d=_0x17666d;return _0x4d7b12[_0x21ce9d(0x1ea)]['deepClone'](_0x7893e9);}function _0x1d7edf(_0x404203,_0x487bac){const _0x5e8ce5=_0x17666d;let _0x127f4f=_0x3bea31(_0x487bac);if(!_0x127f4f[_0x5e8ce5(0x278)])return _0x5830c4(_0x404203);let _0x67ad81=_0x175d43(_0x404203),_0x5c1bc9=new Set();for(let _0x44b4f5 of _0x127f4f)_0x5e7d30(_0x67ad81,_0x44b4f5,_0x5c1bc9);return _0x67ad81;}function _0x3bea31(_0x4e5b6f){let _0x52f21a=[];return _0x55daec(_0x4e5b6f,[],_0x52f21a),_0x52f21a;}function _0x55daec(_0x3a490e,_0x360552,_0x16ff24){const _0x99be66=_0x17666d;if(!Array[_0x99be66(0x46e)](_0x3a490e))return;let _0x5d899d=[];for(let _0x311e07 of _0x3a490e){if(Array[_0x99be66(0x46e)](_0x311e07)){_0x55daec(_0x311e07,[..._0x360552,..._0x5d899d],_0x16ff24);continue;}if(_0x13a76d(_0x311e07)){_0x16ff24[_0x99be66(0x112)]([..._0x360552,..._0x5d899d]);continue;}(typeof _0x311e07==_0x99be66(0x3af)||typeof _0x311e07==_0x99be66(0x2c1))&&_0x5d899d[_0x99be66(0x112)](_0x311e07);}}function _0x13a76d(_0xe92114){const _0x1eeaab=_0x17666d;if(!_0xe92114||typeof _0xe92114!=_0x1eeaab(0x297)||Array[_0x1eeaab(0x46e)](_0xe92114))return!0x1;let _0x40612f=_0xe92114;return'i'in _0x40612f||'r'in _0x40612f||'p'in _0x40612f||'d'in _0x40612f||'es'in _0x40612f||'ena'in _0x40612f||'et'in _0x40612f;}function _0x5e7d30(_0x1b95a0,_0x4798c9,_0x352a65){const _0x36b4e1=_0x17666d;let _0x7b7b6=_0x1b95a0,_0x2c1202=[];for(let _0x23b55c=0x0;_0x23b55c<_0x4798c9[_0x36b4e1(0x278)]-0x1;_0x23b55c++){let _0x5ef285=_0x4798c9[_0x23b55c];_0x2c1202[_0x36b4e1(0x112)](_0x5ef285);let _0x2b81f0=_0x99efbc(_0x7b7b6,_0x5ef285);if(!_0xae2227(_0x2b81f0))return;let _0x406c5f=JSON['stringify'](_0x2c1202);_0x352a65['has'](_0x406c5f)||(_0x56d42d(_0x7b7b6,_0x5ef285,_0x175d43(_0x2b81f0)),_0x352a65['add'](_0x406c5f));let _0xffcc7=_0x99efbc(_0x7b7b6,_0x5ef285);if(!_0xae2227(_0xffcc7))return;_0x7b7b6=_0xffcc7;}}function _0x99efbc(_0x3d60a2,_0x3cb0d6){const _0x228de2=_0x17666d;return Array[_0x228de2(0x46e)](_0x3d60a2)?typeof _0x3cb0d6==_0x228de2(0x2c1)?_0x3d60a2[_0x3cb0d6]:void 0x0:Reflect[_0x228de2(0x9f)](_0x3d60a2,_0x3cb0d6);}function _0x56d42d(_0x46f153,_0x475ee3,_0x40ae6b){const _0x596003=_0x17666d;if(Array[_0x596003(0x46e)](_0x46f153)){typeof _0x475ee3==_0x596003(0x2c1)&&(_0x46f153[_0x475ee3]=_0x40ae6b);return;}Reflect[_0x596003(0x12c)](_0x46f153,_0x475ee3,_0x40ae6b);}function _0xae2227(_0x21d04a){return!!_0x21d04a&&typeof _0x21d04a=='object';}function _0x175d43(_0x15cffb){const _0x1613d6=_0x17666d;return Array[_0x1613d6(0x46e)](_0x15cffb)?_0x15cffb[_0x1613d6(0x3fc)]():{..._0x15cffb};}let _0x1f4680=0x5a0*0x3c*0x3e8,_0x429d7e=0x63e1,_0x2629a2=_0x17666d(0x3c4),_0x3fa188=/\s+hh:mm\s*$/i,_0x4ce874={'yyyy/mm/dd':_0x17666d(0x313),'yyyy-mm-dd':_0x17666d(0x1bd),'mm-dd':'MM-DD','mm/dd/yyyy':'MM/DD/YYYY','dd/mm/yyyy':_0x17666d(0x3b4),'mmm\x20d,\x20yyyy':'MMM\x20D,\x20YYYY'};function _0x42237b(_0x59832e){const _0x89921f=_0x17666d;return(0x0,_0x4d7b12['dateKit'])(_0x59832e)[_0x89921f(0x1df)]()/_0x1f4680+_0x429d7e;}function _0xf603d9(_0x3874fc){const _0x1bb8a4=_0x17666d;return Math[_0x1bb8a4(0x2e3)]((_0x3874fc-_0x429d7e)*_0x1f4680);}function _0x2a15b4(_0x3f0673){const _0x1cbc9a=_0x17666d;if(_0x3f0673==null||_0x3f0673==='')return null;if(_0x3f0673 instanceof Date)return _0x42237b(_0x3f0673);if(typeof _0x3f0673==_0x1cbc9a(0x2c1))return Number[_0x1cbc9a(0x1c5)](_0x3f0673)?_0x3f0673>0xf4240?_0x42237b(_0x3f0673):_0x3f0673:null;let _0x1a27bb=Date[_0x1cbc9a(0x472)](String(_0x3f0673));return Number['isNaN'](_0x1a27bb)?null:_0x42237b(_0x1a27bb);}function _0x23458d(_0x5c1899){let _0x332379=_0x2a15b4(_0x5c1899);return _0x332379==null?null:_0xf603d9(_0x332379);}function _0x13037a(_0xc204f4={}){const _0x451cd2=_0x17666d;let _0xc930de=String(_0xc204f4['pattern']??_0xc204f4[_0x451cd2(0x3e1)]??_0xc204f4[_0x451cd2(0x17a)]??_0x2629a2)[_0x451cd2(0x11d)]()||_0x2629a2,_0x56358a=_0x3fa188[_0x451cd2(0x445)](_0xc930de);return{'pattern':_0xc930de['replace'](_0x3fa188,'')||_0x2629a2,'includeTime':typeof _0xc204f4['includeTime']==_0x451cd2(0x217)?_0xc204f4[_0x451cd2(0x290)]:_0x56358a,'hourCycle':_0xc204f4[_0x451cd2(0x1f4)]===_0x451cd2(0x42a)?_0x451cd2(0x42a):_0x451cd2(0x262)};}function _0x453924(_0xc5f70a={}){let {format:_0x4586eb,dateFormat:_0x143920,..._0x3c420}=_0xc5f70a;return{..._0x3c420,..._0x13037a(_0xc5f70a)};}function _0x2e1927(_0x5372fd,_0x2a3150={}){const _0x371d14=_0x17666d;let _0x1fc786=_0x23458d(_0x5372fd);if(_0x1fc786==null||!Number['isFinite'](_0x1fc786))return'';let _0xe4d5db=_0x13037a(_0x2a3150);return(0x0,_0x4d7b12[_0x371d14(0x131)])(_0x1fc786)['format'](_0x2c5681(_0xe4d5db));}function _0x2c5681(_0x2a09c3){const _0x29fed9=_0x17666d;let {pattern:_0x5f37ed,includeTime:_0x56e58a,hourCycle:_0xf9eba8}=_0x2a09c3,_0x574295=_0x4ce874[_0x5f37ed]??_0x4ce874[_0x2629a2];return _0x56e58a?_0x574295+'\x20'+(_0xf9eba8==='h12'?_0x29fed9(0x1a8):_0x29fed9(0x29b)):_0x574295;}let _0x513155={'editable':!0x0,'sortable':!0x0,'filterable':!0x0,'groupable':!0x1,'usableAsKanbanGroup':!0x1,'usableAsCalendarDate':!0x1,'usableAsGanttStart':!0x1,'usableAsGanttEnd':!0x1,'usableAsGanttProgress':!0x1,'usableAsCardCover':!0x1,'usableAsTitle':!0x1},_0x150e1c=new Set([_0x4d7b12[_0x17666d(0x419)][_0x17666d(0x266)]]),_0x331616=0x5a0*0x3c*0x3e8;function _0x74742f(_0x32647e){const _0x4fd8ac=_0x17666d;switch(_0x32647e){case _0x4d7b12[_0x4fd8ac(0x419)][_0x4fd8ac(0x34f)]:case _0x4d7b12[_0x4fd8ac(0x419)][_0x4fd8ac(0x1fe)]:case _0x4d7b12['BaseFieldType'][_0x4fd8ac(0x1d8)]:case _0x4d7b12['BaseFieldType']['Rating']:return[_0x4d7b12[_0x4fd8ac(0x377)]['IS'],_0x4d7b12[_0x4fd8ac(0x377)][_0x4fd8ac(0x10a)],_0x4d7b12[_0x4fd8ac(0x377)][_0x4fd8ac(0x1cc)],_0x4d7b12[_0x4fd8ac(0x377)][_0x4fd8ac(0x392)],_0x4d7b12[_0x4fd8ac(0x377)][_0x4fd8ac(0x3d0)],_0x4d7b12[_0x4fd8ac(0x377)][_0x4fd8ac(0x2df)]];case _0x4d7b12[_0x4fd8ac(0x419)]['Date']:case _0x4d7b12[_0x4fd8ac(0x419)][_0x4fd8ac(0x1a0)]:case _0x4d7b12[_0x4fd8ac(0x419)][_0x4fd8ac(0x2e7)]:return[_0x4d7b12[_0x4fd8ac(0x377)]['IS'],_0x4d7b12[_0x4fd8ac(0x377)][_0x4fd8ac(0x10a)],_0x4d7b12[_0x4fd8ac(0x377)][_0x4fd8ac(0x30b)],_0x4d7b12[_0x4fd8ac(0x377)][_0x4fd8ac(0x3a7)],_0x4d7b12['BaseConditionalColorOperator']['IS_EMPTY'],_0x4d7b12['BaseConditionalColorOperator'][_0x4fd8ac(0x2df)]];case _0x4d7b12['BaseFieldType'][_0x4fd8ac(0x317)]:return[_0x4d7b12[_0x4fd8ac(0x377)]['IS'],_0x4d7b12[_0x4fd8ac(0x377)]['IS_NOT']];default:return[_0x4d7b12['BaseConditionalColorOperator']['IS'],_0x4d7b12[_0x4fd8ac(0x377)][_0x4fd8ac(0x10a)],_0x4d7b12[_0x4fd8ac(0x377)][_0x4fd8ac(0x341)],_0x4d7b12[_0x4fd8ac(0x377)][_0x4fd8ac(0x2ae)],_0x4d7b12['BaseConditionalColorOperator'][_0x4fd8ac(0x3d0)],_0x4d7b12[_0x4fd8ac(0x377)][_0x4fd8ac(0x2df)]];}}function _0x351a01(_0x3929c0){const _0xf0e07f=_0x17666d;return _0x3929c0===_0x4d7b12[_0xf0e07f(0x419)][_0xf0e07f(0x32c)]||_0x3929c0===_0x4d7b12['BaseFieldType']['CreatedAt']||_0x3929c0===_0x4d7b12[_0xf0e07f(0x419)][_0xf0e07f(0x2e7)];}function _0x5e54a0(_0x20a0b8,_0x56a67a){const _0x24c5d3=_0x17666d;return _0x20a0b8==null&&_0x56a67a==null?0x0:_0x20a0b8==null?-0x1:_0x56a67a==null?0x1:typeof _0x20a0b8==_0x24c5d3(0x2c1)&&typeof _0x56a67a=='number'?_0x20a0b8-_0x56a67a:String(_0x20a0b8)[_0x24c5d3(0x31b)](String(_0x56a67a));}function _0x1b2953(_0x3251b0,_0xd0bceb,_0xeb194d,_0x6e96db,_0x1284a8={}){const _0x143da2=_0x17666d;if(_0xd0bceb==='isEmpty')return _0x1f0261(_0x3251b0);if(_0xd0bceb===_0x143da2(0x267))return!_0x1f0261(_0x3251b0);switch(_0x6e96db['type']){case _0x4d7b12['BaseFieldType'][_0x143da2(0x34f)]:case _0x4d7b12['BaseFieldType'][_0x143da2(0x1fe)]:case _0x4d7b12[_0x143da2(0x419)][_0x143da2(0x1d8)]:case _0x4d7b12[_0x143da2(0x419)][_0x143da2(0x3df)]:return _0x22e2eb(_0x3251b0,_0xd0bceb,_0xeb194d);case _0x4d7b12[_0x143da2(0x419)][_0x143da2(0x32c)]:case _0x4d7b12[_0x143da2(0x419)][_0x143da2(0x1a0)]:case _0x4d7b12[_0x143da2(0x419)][_0x143da2(0x2e7)]:return _0x36ca26(_0x3251b0,_0xd0bceb,_0xeb194d,_0x1284a8);case _0x4d7b12[_0x143da2(0x419)]['Checkbox']:return _0x415bcc(_0x3251b0,_0xd0bceb,_0xeb194d);case _0x4d7b12[_0x143da2(0x419)][_0x143da2(0x191)]:case _0x4d7b12[_0x143da2(0x419)][_0x143da2(0x1a7)]:case _0x4d7b12[_0x143da2(0x419)][_0x143da2(0x92)]:case _0x4d7b12['BaseFieldType']['Group']:return _0x310539(_0x3251b0,_0xd0bceb,_0xeb194d,_0x6e96db);default:return _0x568999(_0x3251b0,_0xd0bceb,_0xeb194d);}}function _0x1f0261(_0x3a8073){const _0xe5cc9f=_0x17666d;return _0x3a8073==null?!0x0:Array[_0xe5cc9f(0x46e)](_0x3a8073)?_0x3a8073[_0xe5cc9f(0x278)]===0x0:typeof _0x3a8073==_0xe5cc9f(0x3af)&&_0x3a8073[_0xe5cc9f(0x11d)]()==='';}function _0x22e2eb(_0x671817,_0x983c7d,_0x5c3a7d){const _0x6aaa55=_0x17666d;let _0x589c6a=_0x6af3c(_0x671817),_0x15cd8d=_0x6af3c(_0x5c3a7d);if(_0x589c6a==null||_0x15cd8d==null)return!0x1;switch(_0x983c7d){case'is':return _0x589c6a===_0x15cd8d;case _0x6aaa55(0x294):return _0x589c6a!==_0x15cd8d;case _0x6aaa55(0x82):return _0x589c6a>_0x15cd8d;case _0x6aaa55(0x3b5):return _0x589c6a>=_0x15cd8d;case _0x6aaa55(0x1fc):return _0x589c6a<_0x15cd8d;case _0x6aaa55(0x32a):return _0x589c6a<=_0x15cd8d;default:return!0x1;}}function _0x6af3c(_0x2b6787){const _0x40bc1c=_0x17666d;if(_0x2b6787==null||_0x2b6787==='')return null;let _0x37531e=Number(_0x2b6787);return Number[_0x40bc1c(0x1c5)](_0x37531e)?_0x37531e:null;}function _0x36ca26(_0x513484,_0x1f82f4,_0x202f3b,_0x293fb4){const _0x36cc72=_0x17666d;let _0x3b06bb=_0x512295(_0x513484);if(_0x3b06bb==null)return!0x1;let _0x2ed240=_0x2824dd(_0x293fb4[_0x36cc72(0x202)]??_0x36cc72(0x2e2),_0x202f3b,_0x293fb4[_0x36cc72(0x19c)]);if(!_0x2ed240)return!0x1;switch(_0x1f82f4){case'is':return _0x3b06bb>=_0x2ed240[_0x36cc72(0x3cb)]&&_0x3b06bb<=_0x2ed240[_0x36cc72(0x35e)];case _0x36cc72(0x294):return _0x3b06bb<_0x2ed240[_0x36cc72(0x3cb)]||_0x3b06bb>_0x2ed240[_0x36cc72(0x35e)];case _0x36cc72(0x2e4):return _0x3b06bb<_0x2ed240[_0x36cc72(0x3cb)];case _0x36cc72(0x285):return _0x3b06bb>_0x2ed240[_0x36cc72(0x35e)];default:return!0x1;}}function _0x2824dd(_0x4fa818,_0x35b8b7,_0x530c53=Date[_0x17666d(0x19c)]()){const _0xfecb8=_0x17666d;let _0x449ea8=_0x569389(_0x530c53);switch(_0x4fa818){case'exact':{let _0x3d5699=_0x512295(_0x35b8b7);return _0x3d5699==null?null:{'start':_0x3d5699,'end':_0x3d5699+_0x331616-0x1};}case _0xfecb8(0x40c):return{'start':_0x449ea8,'end':_0x449ea8+_0x331616-0x1};case _0xfecb8(0x390):return{'start':_0x449ea8+_0x331616,'end':_0x449ea8+_0x331616*0x2-0x1};case _0xfecb8(0x151):return{'start':_0x449ea8-_0x331616,'end':_0x449ea8-0x1};case _0xfecb8(0x3a4):return _0x1dff08(_0x449ea8,0x0);case _0xfecb8(0x2c5):return _0x1dff08(_0x449ea8,-0x1);case _0xfecb8(0x2b2):return _0xa60099(_0x449ea8,0x0);case _0xfecb8(0x117):return _0xa60099(_0x449ea8,-0x1);case _0xfecb8(0x215):return{'start':_0x449ea8-_0x331616*0x6,'end':_0x449ea8+_0x331616-0x1};case'next7':return{'start':_0x449ea8,'end':_0x449ea8+_0x331616*0x7-0x1};case _0xfecb8(0x2c2):return{'start':_0x449ea8-_0x331616*0x1d,'end':_0x449ea8+_0x331616-0x1};case _0xfecb8(0x3ed):return{'start':_0x449ea8,'end':_0x449ea8+_0x331616*0x1e-0x1};}}function _0x512295(_0x50a5c6){let _0x3e3e89=_0x2a15b4(_0x50a5c6);return _0x3e3e89==null?null:_0x569389(_0xf603d9(_0x3e3e89));}function _0x569389(_0x40dc74){const _0x9dde0c=_0x17666d;let _0x24fb52=new Date(_0x40dc74);return _0x24fb52[_0x9dde0c(0x427)](0x0,0x0,0x0,0x0),_0x24fb52[_0x9dde0c(0x27f)]();}function _0x1dff08(_0x1f0f41,_0x30d1ec){const _0x9fa9d=_0x17666d;let _0x39f921=_0x1f0f41-(new Date(_0x1f0f41)[_0x9fa9d(0x349)]()+0x6)%0x7*_0x331616+_0x30d1ec*_0x331616*0x7;return{'start':_0x39f921,'end':_0x39f921+_0x331616*0x7-0x1};}function _0xa60099(_0x12a359,_0x5d6059){const _0x6cec90=_0x17666d;let _0x7bbf1e=new Date(_0x12a359),_0x2c3726=new Date(_0x7bbf1e['getFullYear'](),_0x7bbf1e[_0x6cec90(0x3b8)]()+_0x5d6059,0x1),_0x5121b6=new Date(_0x7bbf1e[_0x6cec90(0x26e)](),_0x7bbf1e[_0x6cec90(0x3b8)]()+_0x5d6059+0x1,0x1);return{'start':_0x2c3726[_0x6cec90(0x27f)](),'end':_0x5121b6[_0x6cec90(0x27f)]()-0x1};}function _0x415bcc(_0x31da83,_0x321a66,_0x1ef350){const _0x28f4c3=_0x17666d;let _0x478931=_0x1d08a3(_0x31da83),_0x55e9f7=_0x1d08a3(_0x1ef350);switch(_0x321a66){case'is':return _0x478931===_0x55e9f7;case _0x28f4c3(0x294):return _0x478931!==_0x55e9f7;default:return!0x1;}}function _0x1d08a3(_0x3e510d){return _0x3e510d===!0x0||_0x3e510d==='true'||_0x3e510d===0x1||_0x3e510d==='1';}function _0x310539(_0x58dc2b,_0x5d6e44,_0x508a6f,_0x33c3a9){const _0x9a70a9=_0x17666d;let _0x392ea4=_0x1e4822(_0x58dc2b,_0x33c3a9),_0x4e89c8=_0x1e4822(_0x508a6f,_0x33c3a9),_0x1f53ad=_0x4e89c8['length']>0x0&&_0x4e89c8[_0x9a70a9(0x256)](_0x4c96cb=>_0x392ea4[_0x9a70a9(0x3ff)](_0x4c96cb));switch(_0x5d6e44){case'is':case _0x9a70a9(0x2f7):return _0x1f53ad;case _0x9a70a9(0x294):case'notContains':return!_0x1f53ad;default:return!0x1;}}function _0x568999(_0x77792e,_0x350051,_0xa9039e){const _0x202d65=_0x17666d;let _0xb2274e=_0xbc8208(_0x77792e),_0x5544f3=_0xbc8208(_0xa9039e);switch(_0x350051){case'is':return _0xb2274e===_0x5544f3;case _0x202d65(0x294):return _0xb2274e!==_0x5544f3;case _0x202d65(0x2f7):return _0x5544f3?_0xb2274e[_0x202d65(0x3ff)](_0x5544f3):!0x1;case'notContains':return!_0x5544f3||!_0xb2274e[_0x202d65(0x3ff)](_0x5544f3);default:return!0x1;}}function _0xbc8208(_0xb4e47a){const _0x315a01=_0x17666d;if(Array[_0x315a01(0x46e)](_0xb4e47a))return _0xb4e47a[_0x315a01(0xd9)](_0x3ddce1=>_0xbc8208(_0x3ddce1))['join']('\x0a');if(_0xb4e47a&&typeof _0xb4e47a==_0x315a01(0x297)){let _0x101fc4=_0xb4e47a;return String(_0x101fc4[_0x315a01(0x208)]??_0x101fc4[_0x315a01(0x3bc)]??_0x101fc4[_0x315a01(0x146)]??_0x101fc4[_0x315a01(0x12e)]??_0x101fc4['id']??'')['trim']()[_0x315a01(0x35a)]();}return String(_0xb4e47a??'')[_0x315a01(0x11d)]()[_0x315a01(0x35a)]();}function _0x1e4822(_0x15f862,_0x3554ff){const _0x58da3d=_0x17666d;let _0x192be4=_0x580a1f(_0x15f862),_0x5b971b=_0x12ecc1(_0x3554ff[_0x58da3d(0x39d)]??{});return _0x192be4['flatMap'](_0x4ed19c=>_0x5b971b[_0x58da3d(0x9f)](_0x4ed19c)??[_0x4ed19c])[_0x58da3d(0x425)]((_0x12ec06,_0x2691d0,_0x1a8322)=>_0x12ec06!==''&&_0x1a8322['indexOf'](_0x12ec06)===_0x2691d0);}function _0x580a1f(_0x4cfe70){const _0x1d5c54=_0x17666d;if(_0x4cfe70==null||_0x4cfe70==='')return[];if(Array[_0x1d5c54(0x46e)](_0x4cfe70))return _0x4cfe70[_0x1d5c54(0x2b8)](_0x330792=>_0x580a1f(_0x330792));if(_0x4cfe70&&typeof _0x4cfe70==_0x1d5c54(0x297)){let _0x160adf=_0x4cfe70;return['id','name',_0x1d5c54(0x3bc),'value','text'][_0x1d5c54(0x2b8)](_0x4fd913=>_0x580a1f(_0x160adf[_0x4fd913]))[_0x1d5c54(0x425)]((_0x18f274,_0x221823,_0x1c32a4)=>_0x1c32a4['indexOf'](_0x18f274)===_0x221823);}return[_0xbc8208(_0x4cfe70)];}function _0x12ecc1(_0x581d4c){const _0x432a32=_0x17666d;let _0x112038=new Map();return(Array[_0x432a32(0x46e)](_0x581d4c[_0x432a32(0x3d9)])?_0x581d4c[_0x432a32(0x3d9)]:[])[_0x432a32(0x3cc)](_0x2ce248=>{const _0x170f69=_0x432a32;if(!_0x2ce248||typeof _0x2ce248!=_0x170f69(0x297))return;let _0x1df9f9=_0x580a1f(_0x2ce248),_0x2de6e1=_0x1df9f9[_0x170f69(0x425)]((_0x1eb6a7,_0x5214ca)=>_0x1eb6a7!==''&&_0x1df9f9['indexOf'](_0x1eb6a7)===_0x5214ca);_0x2de6e1[_0x170f69(0x3cc)](_0x3f755a=>_0x112038[_0x170f69(0x12c)](_0x3f755a,_0x2de6e1));}),_0x112038;}function _0x2dfff7(_0x1ec466,_0x1111df={},_0x1f6d9d=_0x189378=>_0x189378,_0x49a825={}){const _0x520f25=_0x17666d;let _0x1ba36d=!_0x150e1c[_0x520f25(0x1eb)](_0x1ec466),_0x483a3d=_0x1f6d9d??(_0x16a384=>_0x16a384);return{'type':_0x1ec466,'i18nKey':'base.fieldType.'+_0x1ec466,'enabled':_0x1ba36d,'visibleInCreateMenu':_0x1ba36d,'createDefaultConfig':_0x49a825[_0x520f25(0x3c1)]??(()=>({})),'createDefaultValue':_0x49a825[_0x520f25(0x3dc)]??(_0x43148b=>_0x43148b[_0x520f25(0x1f0)]??null),'normalize':(_0x43cac5,_0x42210e)=>_0x483a3d(_0x43cac5,_0x42210e),'validate':(_0x35f7f4,_0x42c14d)=>{const _0x3e41ab=_0x520f25;var _0x21fd6c;return _0x1ba36d?((_0x21fd6c=_0x49a825[_0x3e41ab(0x1aa)])==null?void 0x0:_0x21fd6c[_0x3e41ab(0x446)](_0x49a825,_0x35f7f4,_0x42c14d))??{'valid':!0x0}:{'valid':!0x1};},'compare':(_0x1ecada,_0x31aafd)=>_0x5e54a0(_0x1ecada,_0x31aafd),'filter':(_0x17596c,_0x474507,_0x2a9d1c,_0x50e8e4)=>_0x1b2953(_0x17596c,_0x474507,_0x2a9d1c,_0x50e8e4),'toPlainText':_0x49a825[_0x520f25(0x414)]??(_0xee3979=>_0xee3979==null?'':String(_0xee3979)),'fromPlainText':_0x49a825[_0x520f25(0x1b6)]??(_0x234917=>_0x483a3d(_0x234917,{'id':'','name':'','type':_0x1ec466,'config':{}})),'getCapabilities':()=>({..._0x513155,..._0x1111df,'editable':_0x1ba36d&&(_0x1111df[_0x520f25(0x3cf)]??_0x513155[_0x520f25(0x3cf)])})};}function _0x5d1e9d(){const _0x37d8a4=_0x17666d;return[_0x2dfff7(_0x4d7b12[_0x37d8a4(0x419)][_0x37d8a4(0x87)],{'groupable':!0x0,'usableAsTitle':!0x0},void 0x0,{'createDefaultConfig':()=>({'placeholder':_0x37d8a4(0x288)}),'createDefaultValue':_0x4420f7=>_0x4420f7[_0x37d8a4(0x1f0)]??''}),_0x2dfff7(_0x4d7b12[_0x37d8a4(0x419)]['SingleSelect'],{'groupable':!0x0,'usableAsKanbanGroup':!0x0,'supportsOptions':!0x0},_0x58cda2=>_0x58cda2==null||_0x58cda2===''?null:String(_0x58cda2),{'createDefaultConfig':()=>({'options':[],'optionSource':{'type':_0x37d8a4(0x11e)}})}),_0x2dfff7(_0x4d7b12[_0x37d8a4(0x419)][_0x37d8a4(0x1a7)],{'filterable':!0x0,'usableAsKanbanGroup':!0x0,'supportsOptions':!0x0,'supportsMultipleValues':!0x0},_0x85e9e9=>Array[_0x37d8a4(0x46e)](_0x85e9e9)?_0x85e9e9[_0x37d8a4(0xd9)](String):_0x85e9e9==null?[]:[String(_0x85e9e9)],{'createDefaultConfig':()=>({'options':[],'optionSource':{'type':_0x37d8a4(0x11e)}}),'createDefaultValue':_0x2d9ca2=>_0x2d9ca2['defaultValue']??[]}),_0x2dfff7(_0x4d7b12[_0x37d8a4(0x419)][_0x37d8a4(0x92)],{'groupable':!0x0,'usableAsKanbanGroup':!0x0,'supportsMultipleValues':!0x0},_0x384bd6,{'createDefaultConfig':()=>({'allowMultiple':!0x1,'provider':'person'}),'validate':_0x184b20}),_0x2dfff7(_0x4d7b12[_0x37d8a4(0x419)][_0x37d8a4(0x41c)],{'groupable':!0x0,'usableAsKanbanGroup':!0x0,'supportsMultipleValues':!0x0},_0x3974b2,{'createDefaultConfig':()=>({'allowMultiple':!0x0,'provider':_0x37d8a4(0x161)}),'createDefaultValue':_0x508cee=>_0x508cee[_0x37d8a4(0x1f0)]??[],'validate':_0x81a4d4}),_0x2dfff7(_0x4d7b12[_0x37d8a4(0x419)][_0x37d8a4(0x32c)],{'groupable':!0x0,'usableAsCalendarDate':!0x0,'usableAsGanttStart':!0x0,'usableAsGanttEnd':!0x0},_0x354c70=>_0x2a15b4(_0x354c70),{'createDefaultConfig':()=>_0x1df402(),'validate':_0x5e59fd}),_0x2dfff7(_0x4d7b12[_0x37d8a4(0x419)][_0x37d8a4(0x312)],{'usableAsCardCover':!0x0,'supportsMultipleValues':!0x0},_0x250100=>_0x250100==null?[]:Array['isArray'](_0x250100)?_0x250100:[_0x250100],{'createDefaultValue':_0x4cd995=>_0x4cd995[_0x37d8a4(0x1f0)]??[]}),_0x2dfff7(_0x4d7b12[_0x37d8a4(0x419)]['Number'],{},_0x45f950=>_0x45f950==null||_0x45f950===''?null:Number(_0x45f950),{'createDefaultConfig':()=>_0xe84ff4(),'validate':_0x8894ab}),_0x2dfff7(_0x4d7b12['BaseFieldType'][_0x37d8a4(0x317)],{'groupable':!0x0,'usableAsKanbanGroup':!0x0},_0x2bce4a=>_0x2bce4a===!0x0||_0x2bce4a===_0x37d8a4(0x222)||_0x2bce4a===0x1||_0x2bce4a==='1',{'createDefaultConfig':()=>({'icon':_0x37d8a4(0x144),'color':_0x37d8a4(0x19b)}),'createDefaultValue':_0x4b0224=>_0x4b0224[_0x37d8a4(0x1f0)]??!0x1,'validate':_0x1fba53=>typeof _0x1fba53==_0x37d8a4(0x217)?{'valid':!0x0}:{'valid':!0x1,'reason':_0x37d8a4(0x29d)}}),_0x2dfff7(_0x4d7b12[_0x37d8a4(0x419)][_0x37d8a4(0x85)],{'supportsRelation':!0x0},_0x40579b,{'createDefaultConfig':()=>({'placeholder':'bases.fieldConfig.linkPlaceholder'}),'toPlainText':_0x32d5e1=>_0x356ea0(_0x32d5e1),'fromPlainText':_0x1c2c2e=>_0x40579b(_0x1c2c2e)}),_0x2dfff7(_0x4d7b12[_0x37d8a4(0x419)][_0x37d8a4(0x21c)],{'editable':!0x1},void 0x0,{'createDefaultConfig':()=>({'formula':'','dependencies':[],'numfmt':{'type':'general','pattern':_0x37d8a4(0x120)}}),'createDefaultValue':()=>null}),_0x2dfff7(_0x4d7b12[_0x37d8a4(0x419)][_0x37d8a4(0x279)],{'editable':!0x1,'usableAsTitle':!0x0},void 0x0,{'createDefaultConfig':()=>({'mode':'autoIncrement'}),'createDefaultValue':()=>null}),_0x2dfff7(_0x4d7b12[_0x37d8a4(0x419)]['Phone'],{'usableAsTitle':!0x0},_0x346acd=>_0x346acd==null?null:String(_0x346acd)['trim'](),{'validate':_0x5bfd27=>_0x5bfd27==null||_0x5bfd27===''||/^\+?[0-9 ()-]{6,20}$/[_0x37d8a4(0x445)](String(_0x5bfd27))?{'valid':!0x0}:{'valid':!0x1,'reason':_0x37d8a4(0x1fb)}}),_0x2dfff7(_0x4d7b12[_0x37d8a4(0x419)][_0x37d8a4(0x238)],{'usableAsTitle':!0x0},_0x2383e7=>_0x2383e7==null?null:String(_0x2383e7)['trim'](),{'validate':_0x146dbd=>_0x146dbd==null||_0x146dbd===''||_0x1fbff4(String(_0x146dbd))?{'valid':!0x0}:{'valid':!0x1,'reason':_0x37d8a4(0x240)}}),_0x2dfff7(_0x4d7b12[_0x37d8a4(0x419)][_0x37d8a4(0x1d8)],{'usableAsGanttProgress':!0x0},_0x16dee3=>_0x16dee3==null||_0x16dee3===''?null:Number(_0x16dee3),{'createDefaultConfig':()=>({'format':_0x37d8a4(0x43c),'decimalPlaces':0x0,'color':_0x37d8a4(0x324),'customRange':!0x1,'start':0x0,'end':0x64}),'validate':(_0x4db6e6,_0xfbf1d7)=>_0x254b32(_0x4db6e6,_0xfbf1d7,'[BaseField]:\x20invalid\x20progress\x20value.')}),_0x2dfff7(_0x4d7b12[_0x37d8a4(0x419)][_0x37d8a4(0x1fe)],{},_0x50db8e=>_0x50db8e==null||_0x50db8e===''?null:Number(_0x50db8e),{'createDefaultConfig':()=>({..._0xe84ff4(),'currencySymbol':'$'}),'validate':_0x8894ab}),_0x2dfff7(_0x4d7b12[_0x37d8a4(0x419)]['Rating'],{'groupable':!0x0,'usableAsKanbanGroup':!0x0},_0xb4482f=>_0xb4482f==null||_0xb4482f===''?null:Number(_0xb4482f),{'createDefaultConfig':()=>({'icon':_0x37d8a4(0x218),'min':0x1,'max':0x5}),'createDefaultValue':()=>null,'validate':(_0x483a01,_0x1e2198)=>_0x254b32(_0x483a01,_0x1e2198,_0x37d8a4(0x3ee))}),_0x2dfff7(_0x4d7b12[_0x37d8a4(0x419)][_0x37d8a4(0x328)],{'supportsRelation':!0x0,'supportsMultipleValues':!0x0},_0x487bda,{'createDefaultConfig':()=>({'targetTableId':'','multiple':!0x1}),'createDefaultValue':()=>'','validate':(_0x4429cd,_0x328111)=>_0x2eeb56(_0x4429cd,_0x328111['config'][_0x37d8a4(0x2b1)]===!0x0)}),_0x2dfff7(_0x4d7b12['BaseFieldType'][_0x37d8a4(0x266)],{'editable':!0x1,'sortable':!0x0,'filterable':!0x0,'usableAsTitle':!0x0}),_0x2dfff7(_0x4d7b12[_0x37d8a4(0x419)][_0x37d8a4(0x9a)],{'editable':!0x1,'groupable':!0x0},_0x3146f1=>_0x3146f1==null?null:String(_0x3146f1),{'createDefaultConfig':()=>({'provider':_0x37d8a4(0xe2)}),'createDefaultValue':()=>null}),_0x2dfff7(_0x4d7b12[_0x37d8a4(0x419)][_0x37d8a4(0x186)],{'editable':!0x1,'groupable':!0x0},_0x3567e4=>_0x3567e4==null?null:String(_0x3567e4),{'createDefaultConfig':()=>({'provider':'user'}),'createDefaultValue':()=>null}),_0x2dfff7(_0x4d7b12[_0x37d8a4(0x419)][_0x37d8a4(0x1a0)],{'editable':!0x1,'usableAsCalendarDate':!0x0,'usableAsGanttStart':!0x0,'usableAsGanttEnd':!0x0},_0x25fe44=>_0x2a15b4(_0x25fe44),{'createDefaultConfig':()=>_0x1df402(),'createDefaultValue':()=>null,'validate':_0x5e59fd}),_0x2dfff7(_0x4d7b12[_0x37d8a4(0x419)][_0x37d8a4(0x2e7)],{'editable':!0x1,'usableAsCalendarDate':!0x0,'usableAsGanttStart':!0x0,'usableAsGanttEnd':!0x0},_0x1402fc=>_0x2a15b4(_0x1402fc),{'createDefaultConfig':()=>_0x1df402(),'createDefaultValue':()=>null,'validate':_0x5e59fd})];}function _0xe84ff4(){const _0x27561c=_0x17666d;return{'pattern':_0x27561c(0x23f),'decimalPlaces':0x2,'separatorStyle':_0x27561c(0x1b9),'useThousands':!0x0,'abbreviation':_0x27561c(0xb9),'allowNegative':!0x0};}function _0x1df402(){const _0x46b8cb=_0x17666d;return{'locale':_0x46b8cb(0x3cd),'pattern':_0x46b8cb(0x3c4),'includeTime':!0x1,'hourCycle':'h24','defaultMode':_0x46b8cb(0xb9)};}function _0x3974b2(_0x124e3a){return _0x124e3a==null||_0x124e3a===''?[]:Array['isArray'](_0x124e3a)?_0x124e3a['map'](String):[String(_0x124e3a)];}function _0x487bda(_0xdb50ae){const _0xb788a8=_0x17666d;return typeof _0xdb50ae==_0xb788a8(0x3af)?_0xdb50ae:'';}function _0x384bd6(_0x3bcc49,_0x18b5fe){const _0x54257a=_0x17666d;return _0x3bcc49==null||_0x3bcc49===''?_0x18b5fe[_0x54257a(0x39d)][_0x54257a(0x8f)]===!0x0?[]:null:_0x18b5fe['config'][_0x54257a(0x8f)]===!0x0?Array['isArray'](_0x3bcc49)?_0x3bcc49['map'](String):[String(_0x3bcc49)]:Array[_0x54257a(0x46e)](_0x3bcc49)?String(_0x3bcc49[0x0]??'')||null:String(_0x3bcc49);}function _0x184b20(_0x4de528,_0x3b1d5e){const _0x1bc40e=_0x17666d;return _0x3b1d5e[_0x1bc40e(0x39d)][_0x1bc40e(0x8f)]===!0x0?_0x81a4d4(_0x4de528):_0x4de528==null||_0x4de528===''||typeof _0x4de528=='string'?{'valid':!0x0}:{'valid':!0x1,'reason':'[BaseField]:\x20invalid\x20person\x20value.'};}function _0x81a4d4(_0x4060d6){const _0x145fb2=_0x17666d;return _0x4060d6==null||Array[_0x145fb2(0x46e)](_0x4060d6)&&_0x4060d6[_0x145fb2(0x178)](_0x3b58a3=>typeof _0x3b58a3==_0x145fb2(0x3af))?{'valid':!0x0}:{'valid':!0x1,'reason':'[BaseField]:\x20invalid\x20multi-value\x20reference.'};}function _0x5e59fd(_0x5af3b7){const _0x59d804=_0x17666d;return _0x5af3b7==null||typeof _0x5af3b7==_0x59d804(0x2c1)&&Number[_0x59d804(0x1c5)](_0x5af3b7)?{'valid':!0x0}:{'valid':!0x1,'reason':'[BaseField]:\x20invalid\x20date\x20value.'};}function _0x8894ab(_0x273e87,_0x356c21){const _0x39adcd=_0x17666d;return _0x273e87==null||_0x273e87===''?{'valid':!0x0}:typeof _0x273e87!=_0x39adcd(0x2c1)||!Number[_0x39adcd(0x1c5)](_0x273e87)?{'valid':!0x1,'reason':_0x39adcd(0x2c6)}:_0x356c21[_0x39adcd(0x39d)]['allowNegative']===!0x1&&_0x273e87<0x0?{'valid':!0x1,'reason':_0x39adcd(0x2ad)}:{'valid':!0x0};}function _0x254b32(_0x35b531,_0x3dd2b0,_0x24ec42){const _0x3b3f3a=_0x17666d;let _0x3a078e=_0x8894ab(_0x35b531,_0x3dd2b0);if(!_0x3a078e['valid']||_0x35b531==null||_0x35b531==='')return _0x3a078e;let _0x11a672=Number(_0x3dd2b0['config'][_0x3b3f3a(0x3d6)]??_0x3dd2b0[_0x3b3f3a(0x39d)][_0x3b3f3a(0x3cb)]??0x0),_0x223672=Number(_0x3dd2b0[_0x3b3f3a(0x39d)][_0x3b3f3a(0x3e8)]??_0x3dd2b0[_0x3b3f3a(0x39d)]['end']??0x64),_0x23a525=Number(_0x35b531);return _0x23a525>=_0x11a672&&_0x23a525<=_0x223672?{'valid':!0x0}:{'valid':!0x1,'reason':_0x24ec42};}function _0x40579b(_0x26683b){const _0x153f10=_0x17666d;if(_0x26683b==null||_0x26683b==='')return null;if(typeof _0x26683b==_0x153f10(0x297)&&!Array['isArray'](_0x26683b)){let _0x21b555=_0x26683b,_0x4f9c7e=typeof _0x21b555[_0x153f10(0x146)]==_0x153f10(0x3af)?_0x21b555['text'][_0x153f10(0x11d)]():'',_0x415a7b=typeof _0x21b555[_0x153f10(0x3ae)]=='string'?_0x21b555[_0x153f10(0x3ae)]['trim']():'',_0xcb6e19=_0x3afda0(_0x415a7b||_0x4f9c7e);return _0xcb6e19?{'text':_0x4f9c7e||_0x415a7b||_0xcb6e19,'url':_0xcb6e19}:null;}let _0x5ba9ca=String(_0x26683b)['trim'](),_0x1f83c8=_0x3afda0(_0x5ba9ca);return _0x1f83c8?{'text':_0x5ba9ca,'url':_0x1f83c8}:null;}function _0x356ea0(_0x2f5c5c){const _0x585e43=_0x17666d;if(_0x2f5c5c==null)return'';if(typeof _0x2f5c5c==_0x585e43(0x297)&&!Array[_0x585e43(0x46e)](_0x2f5c5c)){let _0x1f6f70=_0x2f5c5c;return String(_0x1f6f70[_0x585e43(0x146)]||_0x1f6f70['url']||'');}return String(_0x2f5c5c);}function _0x3afda0(_0xb98ada){const _0x1665ee=_0x17666d;let _0x8eca4f=_0xb98ada['trim']();if(!_0x8eca4f)return'';let _0x45aafa=/^[a-z][a-z\d+.-]*:/i['test'](_0x8eca4f)?_0x8eca4f:_0x8eca4f[_0x1665ee(0x24b)]('//')?_0x1665ee(0x3aa)+_0x8eca4f:_0x1665ee(0x7e)+_0x8eca4f;try{let _0xdd0430=new URL(_0x45aafa);return _0xdd0430[_0x1665ee(0x18e)]===_0x1665ee(0x3a3)||_0xdd0430['protocol']===_0x1665ee(0x3aa)?_0xdd0430[_0x1665ee(0x3f6)]:'';}catch{return'';}}function _0x1fbff4(_0x579b4d){const _0x240830=_0x17666d;let _0x532ecb=_0x579b4d[_0x240830(0x211)]('@');if(_0x532ecb<=0x0||_0x532ecb!==_0x579b4d['lastIndexOf']('@'))return!0x1;let _0x6b9cf8=_0x579b4d[_0x240830(0x3fc)](_0x532ecb+0x1);return _0x6b9cf8['includes']('.')&&!_0x579b4d['includes']('\x20')&&!_0x6b9cf8[_0x240830(0x24b)]('.')&&!_0x6b9cf8['endsWith']('.');}let _0x550af4={'table':_0x33e11c=>[_0x17666d(0x334),_0x33e11c],'field':(_0x357412,_0x4b3b7f)=>['tables',_0x357412,_0x17666d(0x129),_0x4b3b7f],'fieldOrder':(_0x2ef6df,_0x3d16ba)=>['tables',_0x2ef6df,_0x17666d(0x33f),_0x3d16ba],'record':(_0x1d5921,_0x4e877a)=>[_0x17666d(0x334),_0x1d5921,'records',_0x4e877a],'cell':(_0x521ca4,_0x5c9b15,_0x3049cb)=>[_0x17666d(0x334),_0x521ca4,_0x17666d(0x14c),_0x5c9b15,_0x17666d(0x3b2),_0x3049cb],'cellData':(_0x1b51b2,_0xe4bdb4,_0x578afe)=>[_0x17666d(0x334),_0x1b51b2,_0x17666d(0x17b),String(_0xe4bdb4),String(_0x578afe)],'attachmentSet':(_0x1b5f7c,_0x37b33e)=>[_0x17666d(0x334),_0x1b5f7c,_0x17666d(0x171),'attachmentSets',_0x37b33e],'attachment':(_0x55dafb,_0x52b43d)=>[_0x17666d(0x334),_0x55dafb,'resources',_0x17666d(0x24d),_0x52b43d],'view':(_0x16ebd7,_0x33a022)=>[_0x17666d(0x334),_0x16ebd7,_0x17666d(0x420),_0x33a022],'viewFieldHidden':(_0x13e4fd,_0x43ce67,_0x5bf8e7)=>['tables',_0x13e4fd,_0x17666d(0x420),_0x43ce67,_0x17666d(0x2fd),_0x5bf8e7,_0x17666d(0x338)]};var _0x7bf11a=class{[_0x17666d(0x97)](_0x59abf2,_0x4a7db2){const _0x9acc96=_0x17666d;let _0x226e6f=this[_0x9acc96(0x7b)](_0x59abf2,_0x59abf2['name'],_0x4a7db2);return _0x2c91fd([this[_0x9acc96(0x33e)]([_0x9acc96(0x208)],_0x59abf2[_0x9acc96(0x208)],_0x4a7db2),..._0x226e6f?[_0x226e6f]:[]]);}[_0x17666d(0x7b)](_0x279286,_0x5c8618,_0x1d3f6c){const _0x5494b4=_0x17666d;let _0x51d583=Object[_0x5494b4(0x3b2)](_0x279286[_0x5494b4(0x334)])['flatMap'](_0x203e40=>Object[_0x5494b4(0x3b2)](_0x203e40[_0x5494b4(0x129)])['flatMap'](_0x4b7940=>{const _0xb6ef86=_0x5494b4;var _0x2c127b,_0x309234;if(_0x4b7940[_0xb6ef86(0x466)]!==_0x4d7b12[_0xb6ef86(0x419)][_0xb6ef86(0x21c)])return[];let _0x5e3e1e=String(((_0x2c127b=_0x4b7940[_0xb6ef86(0x39d)])==null?void 0x0:_0x2c127b[_0xb6ef86(0x91)])??''),_0x8af2dc=(0x0,_0x21a938[_0xb6ef86(0x18b)])(_0x5e3e1e,_0x5c8618,_0x1d3f6c);return _0x8af2dc===_0x5e3e1e?[]:[this['_replaceOptional']([..._0x550af4[_0xb6ef86(0x38f)](_0x203e40['id'],_0x4b7940['id']),_0xb6ef86(0x39d),_0xb6ef86(0x91)],(_0x309234=_0x4b7940[_0xb6ef86(0x39d)])==null?void 0x0:_0x309234[_0xb6ef86(0x91)],_0x8af2dc)];}));return _0x51d583[_0x5494b4(0x278)]>0x0?_0x2c91fd(_0x51d583):void 0x0;}[_0x17666d(0x336)](_0x7f7c6f,_0x276780,_0x349cc2=_0x7f7c6f['tableOrder'][_0x17666d(0x278)]){const _0x53b484=_0x17666d;let _0xda5a85=(0x0,_0x4d7b12[_0x53b484(0x434)])(_0x276780[_0x53b484(0x208)],(0x0,_0x4d7b12[_0x53b484(0x17c)])(_0x7f7c6f)[_0x53b484(0x3b2)](),_0x276780[_0x53b484(0x11c)]),_0x249aca=_0x276780[_0x53b484(0x11c)]===_0xda5a85?_0x276780:{..._0x276780,'formulaName':_0xda5a85};return _0x2c91fd([...this['_materializeFormulaTableNames'](_0x7f7c6f),_0x4d7b12['JSON1'][_0x53b484(0x12f)](_0x550af4[_0x53b484(0x39f)](_0x276780['id']),_0x249aca),_0x4d7b12[_0x53b484(0xa0)][_0x53b484(0x12f)]([_0x53b484(0x10e),_0x349cc2],_0x276780['id'])]);}[_0x17666d(0x2eb)](_0x5cee39,_0x1f7889,_0x2ee2ad){const _0x47ff40=_0x17666d;let _0xbc728=_0x5cee39[_0x47ff40(0x334)][_0x1f7889];return _0x2c91fd([...this[_0x47ff40(0xb4)](_0x5cee39),_0x4d7b12['JSON1'][_0x47ff40(0x45f)]([..._0x550af4[_0x47ff40(0x39f)](_0x1f7889),_0x47ff40(0x208)],_0xbc728[_0x47ff40(0x208)],_0x2ee2ad)]);}[_0x17666d(0x29c)](_0x1573d5,_0x2743a2){const _0x36cd48=_0x17666d;let _0x24d40a=_0x1573d5['tables'][_0x2743a2],_0x132d60=_0x1573d5['tableOrder']['indexOf'](_0x2743a2);return _0x2c91fd([...this[_0x36cd48(0xb4)](_0x1573d5,new Set([_0x2743a2])),_0x4d7b12[_0x36cd48(0xa0)][_0x36cd48(0x45e)](_0x550af4['table'](_0x2743a2),_0x24d40a),_0x4d7b12['JSON1'][_0x36cd48(0x45e)]([_0x36cd48(0x10e),_0x132d60],_0x2743a2)]);}[_0x17666d(0x3a6)](_0x1eab05,_0x239e42,_0x78c5d6){const _0x28d696=_0x17666d;return this[_0x28d696(0x3b0)](_0x1eab05,_0x239e42,[_0x78c5d6]);}['createRecords'](_0x3020a0,_0x3bcf87,_0x512936){const _0x55b68c=_0x17666d;let _0x13e7c1=_0x3020a0[_0x55b68c(0x334)][_0x3bcf87],_0x42a066=_0x512936['filter'](_0x1c5ac1=>_0x1c5ac1&&!_0x13e7c1[_0x55b68c(0x14c)][_0x1c5ac1['id']])['map'](_0x303f1c=>({..._0x303f1c,'values':{..._0x303f1c[_0x55b68c(0x3b2)],[_0x4d7b12['BASE_RECORD_ID_FIELD_ID']]:_0x303f1c['id']}}));if(!_0x42a066[_0x55b68c(0x278)])return _0x4d7b12[_0x55b68c(0xa0)][_0x55b68c(0x45f)]([..._0x550af4['table'](_0x3bcf87),'records'],_0x13e7c1['records'],_0x13e7c1[_0x55b68c(0x14c)]);let _0x22130e=new _0x4d7b12[(_0x55b68c(0xa0))][(_0x55b68c(0xc9))](),_0x1b5dbf=[..._0x42a066][_0x55b68c(0x3bb)]((_0x34e46b,_0x5f4d41)=>_0x34e46b['id']<_0x5f4d41['id']?-0x1:+(_0x34e46b['id']>_0x5f4d41['id'])),_0x4fbf64=[..._0x550af4[_0x55b68c(0x39f)](_0x3bcf87),_0x55b68c(0x14c)];_0x22130e[_0x55b68c(0x32d)](_0x4fbf64);for(let _0x4dc112 of _0x1b5dbf)_0x22130e['descend'](_0x4dc112['id']),_0x22130e['write']('i',_0x4dc112),_0x22130e[_0x55b68c(0x316)]();for(let _0x287a2c=0x0;_0x287a2c<_0x4fbf64[_0x55b68c(0x278)];_0x287a2c+=0x1)_0x22130e[_0x55b68c(0x316)]();return _0x2c91fd([_0x22130e['get'](),this[_0x55b68c(0x153)](_0x3020a0,_0x3bcf87,_0x42a066)]);}[_0x17666d(0x411)](_0x3e9940,_0x44b94d,_0x5dc8ea){const _0x2c89a9=_0x17666d;return this[_0x2c89a9(0x3ec)](_0x3e9940,_0x44b94d,[_0x5dc8ea]);}[_0x17666d(0x3ec)](_0x2b672f,_0xa70bc8,_0x2ed5d4){const _0x5ceaaa=_0x17666d;let _0x246b49=_0x2b672f[_0x5ceaaa(0x334)][_0xa70bc8],_0x31f982=Array['from'](new Set(_0x2ed5d4))[_0x5ceaaa(0x425)](_0x1e2c73=>_0x246b49[_0x5ceaaa(0x14c)][_0x1e2c73]);if(!_0x31f982[_0x5ceaaa(0x278)])return _0x4d7b12[_0x5ceaaa(0xa0)]['replaceOp']([..._0x550af4[_0x5ceaaa(0x39f)](_0xa70bc8),'records'],_0x246b49[_0x5ceaaa(0x14c)],_0x246b49[_0x5ceaaa(0x14c)]);let _0x38e129=new Set(_0x31f982),_0x595ba1=_0x593e95(_0x246b49,_0x31f982)[_0x5ceaaa(0xd9)](_0x2bcda9=>this[_0x5ceaaa(0x2a5)](_0x2b672f,_0xa70bc8,_0x2bcda9[_0x5ceaaa(0x23d)],_0x2bcda9[_0x5ceaaa(0x424)],'')),_0x3de0b1=_0x31f982['map'](_0x24ac80=>{const _0x473684=_0x5ceaaa;var _0x545332;return{'recordId':_0x24ac80,'index':((_0x545332=_0x246b49[_0x473684(0x370)])==null?void 0x0:_0x545332[_0x473684(0x211)](_0x24ac80))??-0x1};})['filter'](_0x2ec3c0=>_0x2ec3c0[_0x5ceaaa(0x293)]>=0x0)[_0x5ceaaa(0x3bb)]((_0x21afa7,_0xc8ee58)=>_0xc8ee58[_0x5ceaaa(0x293)]-_0x21afa7[_0x5ceaaa(0x293)]);return _0x2c91fd([..._0x31f982[_0x5ceaaa(0xd9)](_0x145144=>_0x4d7b12[_0x5ceaaa(0xa0)]['removeOp'](_0x550af4[_0x5ceaaa(0x463)](_0xa70bc8,_0x145144),_0x246b49[_0x5ceaaa(0x14c)][_0x145144])),..._0x3de0b1[_0x5ceaaa(0xd9)](({recordId:_0x3bd2fd,index:_0x3a08f9})=>_0x4d7b12[_0x5ceaaa(0xa0)][_0x5ceaaa(0x45e)](['tables',_0xa70bc8,_0x5ceaaa(0x370),_0x3a08f9],_0x3bd2fd)),..._0x595ba1,...this[_0x5ceaaa(0x20e)](_0x246b49,_0xa70bc8,_0xf1a3e9=>{const _0x30f580=_0x5ceaaa;let _0xdac7e0=_0xf1a3e9[_0x30f580(0x3fc)](_0xf1a3e9[_0x30f580(0x114)]('\x1f')+0x1);return _0x38e129['has'](_0xdac7e0);})]);}[_0x17666d(0x16b)](_0x2c9fb2,_0xccee30,_0x197e68,_0x26c507){const _0x1a5e97=_0x17666d;return this['createRecord'](_0x2c9fb2,_0xccee30,{..._0x26c507,'values':{..._0x2c9fb2[_0x1a5e97(0x334)][_0xccee30][_0x1a5e97(0x14c)][_0x197e68][_0x1a5e97(0x3b2)],..._0x26c507[_0x1a5e97(0x3b2)],[_0x4d7b12[_0x1a5e97(0x36b)]]:_0x26c507['id']}});}['updateRecordOrder'](_0x46fb0a,_0x54a47c,_0x2cd325,_0x2d05a0){const _0x519418=_0x17666d;let _0x2ce759=_0x46fb0a['tables'][_0x54a47c],_0x53a11d=[..._0x550af4['record'](_0x54a47c,_0x2cd325),_0x519418(0x46d)],_0x5826e1=Object[_0x519418(0x3b2)](_0x2ce759[_0x519418(0x14c)])[_0x519418(0xd9)](_0x34615b=>_0x34615b['id']===_0x2cd325?{..._0x34615b,'orderKey':_0x2d05a0}:_0x34615b)['sort']((_0x11cd36,_0x5aa5bd)=>String(_0x11cd36[_0x519418(0x46d)]??_0x11cd36['id'])[_0x519418(0x31b)](String(_0x5aa5bd[_0x519418(0x46d)]??_0x5aa5bd['id'])))[_0x519418(0xd9)](_0x2a528a=>_0x2a528a['id']),_0x5e7880=[..._0x550af4[_0x519418(0x39f)](_0x54a47c),_0x519418(0x370)];return _0x2c91fd([this[_0x519418(0x33e)](_0x53a11d,_0x2ce759[_0x519418(0x14c)][_0x2cd325][_0x519418(0x46d)],_0x2d05a0),_0x2ce759[_0x519418(0x370)]?_0x4d7b12[_0x519418(0xa0)][_0x519418(0x45f)](_0x5e7880,_0x2ce759[_0x519418(0x370)],_0x5826e1):_0x4d7b12[_0x519418(0xa0)]['insertOp'](_0x5e7880,_0x5826e1)]);}['updateCell'](_0x4c5a97,_0x3647be,_0x3b4d0c,_0x3f4f94,_0x5e10cc){const _0x5c0be0=_0x17666d;var _0x2ae672,_0x1c4395;let _0x3d6e12=_0x4c5a97['tables'][_0x3647be],_0x57dbb3=_0x2245b0(_0x3d6e12,_0x3b4d0c,_0x3f4f94)?_0x3d6e12:_0x4cff78(_0x3d6e12),_0x2cda40=(_0x2ae672=_0x57dbb3['rowIndex'])==null?void 0x0:_0x2ae672[_0x3b4d0c],_0x331ab5=(_0x1c4395=_0x57dbb3[_0x5c0be0(0x118)])==null?void 0x0:_0x1c4395[_0x3f4f94];if(_0x2cda40==null||_0x331ab5==null){var _0x2b2aea;return this[_0x5c0be0(0x33e)](_0x550af4[_0x5c0be0(0x2cb)](_0x3647be,_0x3b4d0c,_0x3f4f94),(_0x2b2aea=_0x4c5a97[_0x5c0be0(0x334)][_0x3647be])==null||(_0x2b2aea=_0x2b2aea[_0x5c0be0(0x14c)][_0x3b4d0c])==null?void 0x0:_0x2b2aea[_0x5c0be0(0x3b2)][_0x3f4f94],_0x5e10cc);}return this[_0x5c0be0(0x308)](_0x4c5a97,_0x3647be,[{'row':_0x2cda40,'col':_0x331ab5,'value':_0x5e10cc}]);}[_0x17666d(0x3f4)](_0x37be50,_0xd3f56e,_0x4eda7f){const _0x5652bd=_0x17666d;let _0x3d59c9=_0x37be50[_0x5652bd(0x334)][_0xd3f56e],_0x2f850e=_0x4eda7f[_0x5652bd(0x178)](_0x591765=>Object[_0x5652bd(0x3d7)](_0x591765[_0x5652bd(0x3b2)])['every'](_0x222de9=>_0x2245b0(_0x3d59c9,_0x591765[_0x5652bd(0x23d)],_0x222de9)))?_0x3d59c9:_0x4cff78(_0x3d59c9),_0x28ab3a=_0x4eda7f[_0x5652bd(0x2b8)](_0x51ac2b=>Object[_0x5652bd(0x45d)](_0x51ac2b[_0x5652bd(0x3b2)])[_0x5652bd(0x2b8)](([_0x5e1cfd,_0x51d433])=>{const _0x14c59a=_0x5652bd;var _0x11cc3b,_0x117e1e;let _0x281206=(_0x11cc3b=_0x2f850e[_0x14c59a(0x3db)])==null?void 0x0:_0x11cc3b[_0x51ac2b[_0x14c59a(0x23d)]],_0x557a9c=(_0x117e1e=_0x2f850e[_0x14c59a(0x118)])==null?void 0x0:_0x117e1e[_0x5e1cfd];return _0x281206==null||_0x557a9c==null?[]:[{'row':_0x281206,'col':_0x557a9c,'value':_0x51d433}];})),_0x5da9cd=_0x4eda7f[_0x5652bd(0x2b8)](_0x531dd5=>Object[_0x5652bd(0x45d)](_0x531dd5[_0x5652bd(0xa2)]??{})[_0x5652bd(0xd9)](([_0x5b38a1,_0x22e378])=>{const _0x29fb9d=_0x5652bd;var _0x9ea36a;let _0x4a46fd=[..._0x550af4[_0x29fb9d(0x463)](_0xd3f56e,_0x531dd5['recordId']),_0x5b38a1],_0x5adb1b=(_0x9ea36a=_0x37be50['tables'][_0xd3f56e])==null||(_0x9ea36a=_0x9ea36a['records'][_0x531dd5['recordId']])==null?void 0x0:_0x9ea36a[_0x5b38a1];return this[_0x29fb9d(0x33e)](_0x4a46fd,_0x5adb1b,_0x22e378);}));return _0x2c91fd([this['setRangeValues'](_0x37be50,_0xd3f56e,_0x28ab3a),..._0x5da9cd]);}[_0x17666d(0x308)](_0x2c7c30,_0x322214,_0x1aca0a){const _0x318a20=_0x17666d;let _0x1dc205=_0x2c7c30[_0x318a20(0x334)][_0x322214],_0xb8bbda=_0x1aca0a[_0x318a20(0x178)](_0xd66a77=>_0x4ba440(_0x1dc205,_0xd66a77[_0x318a20(0x1b3)],_0xd66a77[_0x318a20(0x282)]))?_0x1dc205:_0x4cff78(_0x1dc205),_0x1e38b6=_0x1aca0a[_0x318a20(0x2b8)](_0x51429d=>{const _0x3c9375=_0x318a20;var _0x2f462b,_0xb01569,_0x161630,_0x6fd364;let _0x4d7530=(_0x2f462b=_0xb8bbda[_0x3c9375(0x1f6)])==null?void 0x0:_0x2f462b[_0x51429d[_0x3c9375(0x282)]],_0x45daa0=(_0xb01569=_0xb8bbda[_0x3c9375(0x357)])==null?void 0x0:_0xb01569[_0x51429d['row']],_0x7f8294=_0x4d7530?_0xb8bbda[_0x3c9375(0x129)][_0x4d7530]:void 0x0;if(_0x4d7530===_0x4d7b12['BASE_RECORD_ID_FIELD_ID']||(_0x7f8294==null?void 0x0:_0x7f8294[_0x3c9375(0x466)])===_0x4d7b12[_0x3c9375(0x419)][_0x3c9375(0x266)])throw Error(_0x3c9375(0x20b));let _0x481d73=_0x445436(_0x51429d[_0x3c9375(0x12e)],_0x7f8294),_0x3a0fc6=(_0x161630=_0xb8bbda[_0x3c9375(0x17b)])==null||(_0x161630=_0x161630[_0x51429d['row']])==null?void 0x0:_0x161630[_0x51429d[_0x3c9375(0x282)]],_0x5a7178=this[_0x3c9375(0x33e)](_0x550af4[_0x3c9375(0x17b)](_0x322214,_0x51429d[_0x3c9375(0x1b3)],_0x51429d[_0x3c9375(0x282)]),_0x3a0fc6,_0x481d73);if(!_0x4d7530||!_0x45daa0)return[_0x5a7178];let _0x2f2c37=(_0x6fd364=_0xb8bbda['records'][_0x45daa0])==null?void 0x0:_0x6fd364['values'][_0x4d7530],_0x558024=(_0x7f8294==null?void 0x0:_0x7f8294[_0x3c9375(0x466)])===_0x4d7b12[_0x3c9375(0x419)][_0x3c9375(0x312)]?_0x395d05(_0x51429d[_0x3c9375(0x12e)]):_0x1f5abe(_0x51429d[_0x3c9375(0x12e)],_0x481d73,_0x7f8294,_0xb8bbda,_0x45daa0),_0x1221a1=[_0x5a7178,this[_0x3c9375(0x33e)](_0x550af4[_0x3c9375(0x2cb)](_0x322214,_0x45daa0,_0x4d7530),_0x2f2c37,_0x558024)];if((_0x7f8294==null?void 0x0:_0x7f8294[_0x3c9375(0x466)])!==_0x4d7b12[_0x3c9375(0x419)][_0x3c9375(0x312)])return _0x1221a1;let _0x549823=this[_0x3c9375(0x3fd)](_0xb8bbda,_0x322214,_0x45daa0,_0x4d7530,_0x558024);return[..._0x1221a1,..._0x549823];});return _0x1e38b6['length']?_0x2c91fd(_0x1e38b6):_0x4d7b12[_0x318a20(0xa0)][_0x318a20(0x45f)]([_0x318a20(0x334),_0x322214,_0x318a20(0x17b)],_0xb8bbda[_0x318a20(0x17b)],_0xb8bbda[_0x318a20(0x17b)]);}[_0x17666d(0x468)](_0x154d5a,_0x222233,_0xc0effa){const _0x597243=_0x17666d;let _0x4e0b1a=_0x154d5a[_0x597243(0x334)][_0x222233];if(_0x4e0b1a['fields'][_0xc0effa[_0x597243(0x38f)]['id']]||_0x4e0b1a[_0x597243(0x33f)]['includes'](_0xc0effa[_0x597243(0x38f)]['id']))return _0x4d7b12['JSON1'][_0x597243(0x45f)]([_0x597243(0x334),_0x222233,_0x597243(0x33f)],_0x4e0b1a[_0x597243(0x33f)],_0x4e0b1a[_0x597243(0x33f)]);let _0x3d6fb8=Math[_0x597243(0x3e8)](0x1,_0xc0effa[_0x597243(0x293)]??_0x4e0b1a[_0x597243(0x33f)]['length']),_0x5471fc=Object[_0x597243(0x3b2)](_0x4e0b1a[_0x597243(0x420)]??{})[_0x597243(0x2b8)](_0x317d9a=>{const _0x129618=_0x597243;var _0x6d0615;if(!_0x317d9a['fieldOrder']||_0x317d9a[_0x129618(0x33f)][_0x129618(0x3ff)](_0xc0effa['field']['id']))return[];let _0x2ceaae=_0x5e857c(((_0x6d0615=_0xc0effa['viewIndexes'])==null?void 0x0:_0x6d0615[_0x317d9a['id']])??_0x3d6fb8,_0x317d9a['fieldOrder'][_0x129618(0x278)]);return[_0x4d7b12[_0x129618(0xa0)][_0x129618(0x12f)]([..._0x550af4['view'](_0x222233,_0x317d9a['id']),_0x129618(0x33f),_0x2ceaae],_0xc0effa[_0x129618(0x38f)]['id'])];});return _0x2c91fd([..._0xc0effa[_0x597243(0x38f)][_0x597243(0x466)]===_0x4d7b12['BaseFieldType'][_0x597243(0x21c)]?this['_materializeFormulaTableNames'](_0x154d5a):[],_0x4d7b12[_0x597243(0xa0)][_0x597243(0x12f)](_0x550af4[_0x597243(0x38f)](_0x222233,_0xc0effa[_0x597243(0x38f)]['id']),_0xc0effa[_0x597243(0x38f)]),_0x4d7b12[_0x597243(0xa0)][_0x597243(0x12f)](_0x550af4[_0x597243(0x33f)](_0x222233,_0x3d6fb8),_0xc0effa['field']['id']),..._0x5471fc]);}[_0x17666d(0x332)](_0x4ab4df,_0x540e2a,_0x3a647a,_0x4a4a58){const _0xeed8e=_0x17666d;let _0xdee4f=_0x4ab4df['tables'][_0x540e2a];if(!_0xdee4f[_0xeed8e(0x129)][_0x3a647a]||_0xdee4f[_0xeed8e(0x129)][_0x4a4a58[_0xeed8e(0x38f)]['id']]||_0xdee4f[_0xeed8e(0x33f)][_0xeed8e(0x3ff)](_0x4a4a58[_0xeed8e(0x38f)]['id']))return _0x4d7b12[_0xeed8e(0xa0)][_0xeed8e(0x45f)]([_0xeed8e(0x334),_0x540e2a,_0xeed8e(0x33f)],_0xdee4f[_0xeed8e(0x33f)],_0xdee4f[_0xeed8e(0x33f)]);let _0x6b41f=_0x4a4a58[_0xeed8e(0x293)]??_0xdee4f['fieldOrder'][_0xeed8e(0x211)](_0x3a647a)+0x1,_0x43a7f2=_0xdee4f[_0xeed8e(0x33f)][_0xeed8e(0x425)](_0x5c5e64=>_0x5c5e64!==_0x4a4a58[_0xeed8e(0x38f)]['id']),_0xa40876=_0x8efe07(_0x43a7f2,_0x4a4a58[_0xeed8e(0x38f)]['id'],_0x6b41f),_0x40e848=Object[_0xeed8e(0x3b2)](_0xdee4f[_0xeed8e(0x420)]??{})[_0xeed8e(0x2b8)](_0x149cbc=>{const _0x94229a=_0xeed8e;var _0x50b49f,_0x3f720a,_0x55a559,_0x35b3cf;let _0x3554d3=(_0x50b49f=_0x149cbc[_0x94229a(0x33f)])!=null&&_0x50b49f[_0x94229a(0x278)]?_0x149cbc['fieldOrder']:_0x43a7f2;if(_0x3554d3[_0x94229a(0x3ff)](_0x4a4a58[_0x94229a(0x38f)]['id']))return[];let _0x34fd2b=_0x8efe07(_0x3554d3,_0x4a4a58['field']['id'],((_0x3f720a=_0x4a4a58[_0x94229a(0x109)])==null?void 0x0:_0x3f720a[_0x149cbc['id']])??_0x6b41f),_0x38dbf3=(_0x55a559=_0x149cbc[_0x94229a(0x2fd)])==null?void 0x0:_0x55a559[_0x3a647a];return[this[_0x94229a(0x33e)]([..._0x550af4['view'](_0x540e2a,_0x149cbc['id']),_0x94229a(0x33f)],_0x149cbc[_0x94229a(0x33f)],_0x34fd2b),..._0x38dbf3?[this[_0x94229a(0x33e)]([..._0x550af4[_0x94229a(0x365)](_0x540e2a,_0x149cbc['id']),'fieldSettings',_0x4a4a58[_0x94229a(0x38f)]['id']],(_0x35b3cf=_0x149cbc[_0x94229a(0x2fd)])==null?void 0x0:_0x35b3cf[_0x4a4a58[_0x94229a(0x38f)]['id']],_0x38dbf3)]:[]];}),_0x15f332=Object[_0xeed8e(0x3b2)](_0xdee4f[_0xeed8e(0x14c)])[_0xeed8e(0x425)](_0x749730=>Object[_0xeed8e(0x44a)][_0xeed8e(0x3d1)][_0xeed8e(0x446)](_0x749730[_0xeed8e(0x3b2)],_0x3a647a))[_0xeed8e(0xd9)](_0x4dbf18=>this[_0xeed8e(0x33e)](_0x550af4[_0xeed8e(0x2cb)](_0x540e2a,_0x4dbf18['id'],_0x4a4a58[_0xeed8e(0x38f)]['id']),_0x4dbf18['values'][_0x4a4a58[_0xeed8e(0x38f)]['id']],_0x4dbf18[_0xeed8e(0x3b2)][_0x3a647a]));return _0x2c91fd([..._0x4a4a58[_0xeed8e(0x38f)][_0xeed8e(0x466)]===_0x4d7b12['BaseFieldType'][_0xeed8e(0x21c)]?this[_0xeed8e(0xb4)](_0x4ab4df):[],_0x4d7b12['JSON1'][_0xeed8e(0x12f)](_0x550af4[_0xeed8e(0x38f)](_0x540e2a,_0x4a4a58[_0xeed8e(0x38f)]['id']),_0x4a4a58[_0xeed8e(0x38f)]),_0x4d7b12['JSON1'][_0xeed8e(0x45f)]([_0xeed8e(0x334),_0x540e2a,_0xeed8e(0x33f)],_0xdee4f[_0xeed8e(0x33f)],_0xa40876),..._0x40e848,..._0x15f332]);}[_0x17666d(0x2bf)](_0x4f097c,_0x11cfef,_0x5b1a65,_0x18a943){const _0x2c142b=_0x17666d;let _0x1827f6=_0x4f097c[_0x2c142b(0x334)][_0x11cfef][_0x2c142b(0x129)][_0x5b1a65],_0x5317b9={..._0x1827f6,..._0x18a943};Object[_0x2c142b(0x3d7)](_0x18a943)[_0x2c142b(0x3cc)](_0x54c111=>{_0x18a943[_0x54c111]===void 0x0&&delete _0x5317b9[_0x54c111];});let _0x160d64=_0x4d7b12[_0x2c142b(0xa0)][_0x2c142b(0x45f)](_0x550af4[_0x2c142b(0x38f)](_0x11cfef,_0x5b1a65),_0x1827f6,_0x5317b9);return _0x5317b9[_0x2c142b(0x466)]===_0x4d7b12['BaseFieldType'][_0x2c142b(0x21c)]?_0x2c91fd([...this['_materializeFormulaTableNames'](_0x4f097c),_0x160d64,...this[_0x2c142b(0x38c)](_0x4f097c,_0x11cfef,_0x5b1a65,_0x5317b9)]):_0x160d64;}['changeFieldType'](_0x2bf570,_0x445c52,_0x40c047,_0x2f66b0){const _0xd5e4e5=_0x17666d;return this[_0xd5e4e5(0x2bf)](_0x2bf570,_0x445c52,_0x40c047,_0x2f66b0);}[_0x17666d(0x3b3)](_0x171685,_0x205f24,_0x100f88){const _0x58bfe2=_0x17666d;let _0x6b82e=_0x171685[_0x58bfe2(0x334)][_0x205f24];if(!(_0x6b82e!=null&&_0x6b82e[_0x58bfe2(0x129)][_0x100f88])||_0x6b82e['primaryFieldId']===_0x100f88||_0x100f88===_0x4d7b12[_0x58bfe2(0x36b)])return _0x4d7b12[_0x58bfe2(0xa0)][_0x58bfe2(0x45f)]([_0x58bfe2(0x334),_0x205f24,_0x58bfe2(0x33f)],_0x6b82e==null?void 0x0:_0x6b82e[_0x58bfe2(0x33f)],_0x6b82e==null?void 0x0:_0x6b82e['fieldOrder']);let _0x4e4d64=_0x6b82e[_0x58bfe2(0x33f)]['indexOf'](_0x100f88),_0xbd94c7=Object['values'](_0x6b82e[_0x58bfe2(0x420)])[_0x58bfe2(0x2b8)](_0x1978e6=>{const _0x2f7d32=_0x58bfe2;var _0x40ed16,_0x22eb0a,_0x4f4820,_0x1854eb,_0x5c8285,_0x46fcf0,_0x2234f5;let _0x41209c=[],_0x2e7467=((_0x40ed16=_0x1978e6[_0x2f7d32(0x33f)])==null?void 0x0:_0x40ed16['indexOf'](_0x100f88))??-0x1;_0x2e7467>=0x0&&_0x41209c[_0x2f7d32(0x112)](_0x4d7b12[_0x2f7d32(0xa0)][_0x2f7d32(0x45e)]([..._0x550af4['view'](_0x205f24,_0x1978e6['id']),_0x2f7d32(0x33f),_0x2e7467],_0x100f88));let _0x562885=(_0x22eb0a=_0x1978e6[_0x2f7d32(0x2fd)])==null?void 0x0:_0x22eb0a[_0x100f88];_0x562885!==void 0x0&&_0x41209c['push'](_0x4d7b12['JSON1'][_0x2f7d32(0x45e)]([..._0x550af4[_0x2f7d32(0x365)](_0x205f24,_0x1978e6['id']),_0x2f7d32(0x2fd),_0x100f88],_0x562885));let _0x37c89b=_0x1978e6[_0x2f7d32(0x425)]?{..._0x1978e6[_0x2f7d32(0x425)],'conditions':_0x1978e6[_0x2f7d32(0x425)][_0x2f7d32(0x2ee)]['filter'](_0x1e0c87=>_0x1e0c87['fieldId']!==_0x100f88)}:_0x1978e6[_0x2f7d32(0x425)];_0x37c89b&&_0x37c89b[_0x2f7d32(0x2ee)][_0x2f7d32(0x278)]!==((_0x4f4820=_0x1978e6['filter'])==null?void 0x0:_0x4f4820[_0x2f7d32(0x2ee)][_0x2f7d32(0x278)])&&_0x41209c[_0x2f7d32(0x112)](this['_replaceOptional']([..._0x550af4[_0x2f7d32(0x365)](_0x205f24,_0x1978e6['id']),_0x2f7d32(0x425)],_0x1978e6[_0x2f7d32(0x425)],_0x37c89b));let _0x17a288=(_0x1854eb=_0x1978e6[_0x2f7d32(0x3bb)])==null?void 0x0:_0x1854eb['filter'](_0x44bf6c=>_0x44bf6c[_0x2f7d32(0x424)]!==_0x100f88);_0x17a288&&_0x17a288['length']!==((_0x5c8285=_0x1978e6['sort'])==null?void 0x0:_0x5c8285[_0x2f7d32(0x278)])&&_0x41209c['push'](this[_0x2f7d32(0x33e)]([..._0x550af4['view'](_0x205f24,_0x1978e6['id']),_0x2f7d32(0x3bb)],_0x1978e6[_0x2f7d32(0x3bb)],_0x17a288));let _0x458442=(_0x46fcf0=_0x1978e6[_0x2f7d32(0x161)])==null?void 0x0:_0x46fcf0[_0x2f7d32(0x425)](_0x482b6b=>_0x482b6b[_0x2f7d32(0x424)]!==_0x100f88);_0x458442&&_0x458442[_0x2f7d32(0x278)]!==((_0x2234f5=_0x1978e6[_0x2f7d32(0x161)])==null?void 0x0:_0x2234f5[_0x2f7d32(0x278)])&&_0x41209c[_0x2f7d32(0x112)](this[_0x2f7d32(0x33e)]([..._0x550af4[_0x2f7d32(0x365)](_0x205f24,_0x1978e6['id']),'group'],_0x1978e6[_0x2f7d32(0x161)],_0x458442));let _0x355a5c=_0x1967ac(_0x1978e6[_0x2f7d32(0x39d)],_0x100f88);return JSON['stringify'](_0x355a5c)!==JSON[_0x2f7d32(0x33d)](_0x1978e6[_0x2f7d32(0x39d)])&&_0x41209c[_0x2f7d32(0x112)](_0x4d7b12[_0x2f7d32(0xa0)][_0x2f7d32(0x45f)]([..._0x550af4[_0x2f7d32(0x365)](_0x205f24,_0x1978e6['id']),_0x2f7d32(0x39d)],_0x1978e6[_0x2f7d32(0x39d)],_0x355a5c)),_0x41209c;}),_0x78dd3c=Object[_0x58bfe2(0x3b2)](_0x6b82e['records'])[_0x58bfe2(0x2b8)](_0x385ad3=>Object[_0x58bfe2(0x44a)]['hasOwnProperty'][_0x58bfe2(0x446)](_0x385ad3['values'],_0x100f88)?[_0x4d7b12[_0x58bfe2(0xa0)]['removeOp'](_0x550af4[_0x58bfe2(0x2cb)](_0x205f24,_0x385ad3['id'],_0x100f88),_0x385ad3[_0x58bfe2(0x3b2)][_0x100f88])]:[]);return _0x2c91fd([_0x4d7b12[_0x58bfe2(0xa0)][_0x58bfe2(0x45e)](_0x550af4[_0x58bfe2(0x38f)](_0x205f24,_0x100f88),_0x6b82e['fields'][_0x100f88]),_0x4d7b12[_0x58bfe2(0xa0)][_0x58bfe2(0x45e)](_0x550af4[_0x58bfe2(0x33f)](_0x205f24,_0x4e4d64),_0x100f88),..._0xbd94c7,..._0x78dd3c,...this[_0x58bfe2(0x20e)](_0x6b82e,_0x205f24,_0x1da5e8=>_0x1da5e8[_0x58bfe2(0x24b)](_0x100f88+'\x1f'))]);}['moveField'](_0x3ba206,_0x384b05,_0x4e69bf,_0x5d5e4c){const _0x485263=_0x17666d;let _0x57ff61=_0x3ba206['tables'][_0x384b05][_0x485263(0x33f)];if(_0x4e69bf===_0x4d7b12[_0x485263(0x36b)]||_0x5d5e4c[_0x485263(0xc3)]===_0x4d7b12['BASE_RECORD_ID_FIELD_ID'])throw Error(_0x485263(0x2fc));let _0x469400=_0x3639af(_0x57ff61,_0x4e69bf,_0x5d5e4c);return _0x4d7b12[_0x485263(0xa0)][_0x485263(0x45f)]([_0x485263(0x334),_0x384b05,_0x485263(0x33f)],_0x57ff61,_0x469400);}['createView'](_0x284c4f,_0x4b8aad,_0x20651e,_0x494a38=_0x284c4f['tables'][_0x4b8aad][_0x17666d(0x9c)][_0x17666d(0x278)]){const _0x4c30c8=_0x17666d;return _0x2c91fd([_0x4d7b12[_0x4c30c8(0xa0)][_0x4c30c8(0x12f)](_0x550af4[_0x4c30c8(0x365)](_0x4b8aad,_0x20651e['id']),_0x20651e),_0x4d7b12['JSON1'][_0x4c30c8(0x12f)]([_0x4c30c8(0x334),_0x4b8aad,_0x4c30c8(0x9c),_0x494a38],_0x20651e['id'])]);}[_0x17666d(0x388)](_0x3d7a34,_0xedc1f6,_0x2ef5c1,_0x42cbcf){const _0x2a61d6=_0x17666d;return _0x4d7b12[_0x2a61d6(0xa0)][_0x2a61d6(0x45f)]([..._0x550af4['view'](_0xedc1f6,_0x2ef5c1),_0x2a61d6(0x208)],_0x3d7a34[_0x2a61d6(0x334)][_0xedc1f6][_0x2a61d6(0x420)][_0x2ef5c1][_0x2a61d6(0x208)],_0x42cbcf);}[_0x17666d(0x166)](_0x4a7614,_0x33ef8e,_0x48ad28){const _0xb5c9a6=_0x17666d;let _0x686e52=_0x4a7614[_0xb5c9a6(0x334)][_0x33ef8e],_0x1180c1=_0x686e52[_0xb5c9a6(0x420)][_0x48ad28],_0x1a8a45=_0x686e52[_0xb5c9a6(0x9c)][_0xb5c9a6(0x211)](_0x48ad28);return _0x2c91fd([_0x4d7b12['JSON1'][_0xb5c9a6(0x45e)](_0x550af4[_0xb5c9a6(0x365)](_0x33ef8e,_0x48ad28),_0x1180c1),_0x4d7b12[_0xb5c9a6(0xa0)][_0xb5c9a6(0x45e)]([_0xb5c9a6(0x334),_0x33ef8e,'viewOrder',_0x1a8a45],_0x48ad28)]);}[_0x17666d(0x1b8)](_0x205911,_0x226160,_0x587558,_0x52f606){const _0x267b9a=_0x17666d;let _0x254192=_0x205911[_0x267b9a(0x334)][_0x226160]['viewOrder'],_0x294895=_0x3639af(_0x254192,_0x587558,{'beforeFieldId':_0x52f606[_0x267b9a(0x41e)],'afterFieldId':_0x52f606[_0x267b9a(0x8e)]});return _0x4d7b12['JSON1'][_0x267b9a(0x45f)](['tables',_0x226160,'viewOrder'],_0x254192,_0x294895);}[_0x17666d(0x459)](_0x473df3,_0x3263c7,_0x491f45,_0x51e8f4){const _0x3b2e87=_0x17666d;let _0x1d28a1=_0x473df3[_0x3b2e87(0x334)][_0x3263c7][_0x3b2e87(0x420)][_0x491f45][_0x3b2e87(0x39d)]??{},_0x86e2c5={..._0x1d28a1,..._0x51e8f4};return Object[_0x3b2e87(0x3d7)](_0x51e8f4)[_0x3b2e87(0x3cc)](_0x5975fe=>{_0x51e8f4[_0x5975fe]===void 0x0&&delete _0x86e2c5[_0x5975fe];}),_0x4d7b12[_0x3b2e87(0xa0)][_0x3b2e87(0x45f)]([..._0x550af4[_0x3b2e87(0x365)](_0x3263c7,_0x491f45),_0x3b2e87(0x39d)],_0x1d28a1,_0x86e2c5);}[_0x17666d(0x158)](_0x35d821,_0x49ded6,_0x9bff6d,_0x2b311f){const _0x7e7692=_0x17666d;return this[_0x7e7692(0x33e)]([..._0x550af4['view'](_0x49ded6,_0x9bff6d),_0x7e7692(0x425)],_0x35d821[_0x7e7692(0x334)][_0x49ded6][_0x7e7692(0x420)][_0x9bff6d][_0x7e7692(0x425)],_0x2b311f);}[_0x17666d(0x3bd)](_0x2cf068,_0x358c5c,_0xc4ecad,_0x283880){const _0x328054=_0x17666d;return this[_0x328054(0x33e)]([..._0x550af4[_0x328054(0x365)](_0x358c5c,_0xc4ecad),'sort'],_0x2cf068[_0x328054(0x334)][_0x358c5c][_0x328054(0x420)][_0xc4ecad][_0x328054(0x3bb)],_0x283880);}[_0x17666d(0x135)](_0x48eaaf,_0x48592a,_0x3d0f14,_0x5dfadb){const _0x289410=_0x17666d;return this[_0x289410(0x33e)]([..._0x550af4[_0x289410(0x365)](_0x48592a,_0x3d0f14),_0x289410(0x161)],_0x48eaaf[_0x289410(0x334)][_0x48592a][_0x289410(0x420)][_0x3d0f14][_0x289410(0x161)],_0x5dfadb);}['setViewFieldVisible'](_0x323d30,_0x5dcc36,_0x2cc8b9,_0x28eb2e,_0xce9bf2){const _0x3f150c=_0x17666d;return this[_0x3f150c(0x1f2)](_0x323d30,_0x5dcc36,_0x2cc8b9,_0x28eb2e,{'hidden':!_0xce9bf2});}['setViewFieldWidth'](_0x4eb2da,_0x5521ea,_0x23cf0f,_0x5422f3,_0x3857df){const _0x22f04d=_0x17666d;return this[_0x22f04d(0x1f2)](_0x4eb2da,_0x5521ea,_0x23cf0f,_0x5422f3,{'width':_0x3857df});}['setViewFieldOrder'](_0x285fcf,_0x3e2305,_0x4e7a38,_0xf64b8e,_0x3e8953){const _0x1824fd=_0x17666d;let _0x4f85ef=_0x285fcf[_0x1824fd(0x334)][_0x3e2305][_0x1824fd(0x420)][_0x4e7a38],_0x4b8b04=_0x3639af(_0x4f85ef['fieldOrder']??_0x285fcf[_0x1824fd(0x334)][_0x3e2305][_0x1824fd(0x33f)],_0xf64b8e,_0x3e8953);return this[_0x1824fd(0x33e)]([..._0x550af4[_0x1824fd(0x365)](_0x3e2305,_0x4e7a38),'fieldOrder'],_0x4f85ef[_0x1824fd(0x33f)],_0x4b8b04);}[_0x17666d(0x1f2)](_0x27df9c,_0x290627,_0x1af7ff,_0x1aed9c,_0x50af0b){const _0x5cb3ce=_0x17666d;let _0x32e5ec=_0x27df9c['tables'][_0x290627][_0x5cb3ce(0x420)][_0x1af7ff][_0x5cb3ce(0x2fd)]??{},_0x59c5b1={..._0x32e5ec,[_0x1aed9c]:{..._0x32e5ec[_0x1aed9c],..._0x50af0b}};return this[_0x5cb3ce(0x33e)]([..._0x550af4[_0x5cb3ce(0x365)](_0x290627,_0x1af7ff),_0x5cb3ce(0x2fd)],_0x27df9c[_0x5cb3ce(0x334)][_0x290627][_0x5cb3ce(0x420)][_0x1af7ff][_0x5cb3ce(0x2fd)],_0x59c5b1);}[_0x17666d(0x153)](_0x1ea754,_0x1d1fb8,_0x12405b){const _0x552a90=_0x17666d;let _0x5b8106=_0x1ea754['tables'][_0x1d1fb8],_0x31a367=new Set(_0x12405b['map'](_0x499153=>_0x499153['id'])),_0x2ce45c=[...Object['values'](_0x5b8106[_0x552a90(0x14c)])['filter'](_0x5743ee=>!_0x31a367[_0x552a90(0x1eb)](_0x5743ee['id'])),..._0x12405b][_0x552a90(0x3bb)]((_0xaf237f,_0x5af003)=>String(_0xaf237f[_0x552a90(0x46d)]??_0xaf237f['id'])[_0x552a90(0x31b)](String(_0x5af003[_0x552a90(0x46d)]??_0x5af003['id'])))[_0x552a90(0xd9)](_0x3269df=>_0x3269df['id']),_0x5bdf21=[..._0x550af4[_0x552a90(0x39f)](_0x1d1fb8),'recordOrder'];return _0x5b8106[_0x552a90(0x370)]?_0x4d7b12['JSON1']['replaceOp'](_0x5bdf21,_0x5b8106[_0x552a90(0x370)],_0x2ce45c):_0x4d7b12['JSON1'][_0x552a90(0x12f)](_0x5bdf21,_0x2ce45c);}[_0x17666d(0xb4)](_0x1a34b3,_0x2261ad=new Set()){const _0x5d68bf=_0x17666d;let _0x1adb11=(0x0,_0x4d7b12[_0x5d68bf(0x17c)])(_0x1a34b3);return Object['values'](_0x1a34b3[_0x5d68bf(0x334)])['filter'](_0x16ba01=>!_0x2261ad[_0x5d68bf(0x1eb)](_0x16ba01['id']))[_0x5d68bf(0x3bb)]((_0x2ef599,_0x23c4ee)=>_0x2ef599['id'][_0x5d68bf(0x31b)](_0x23c4ee['id']))[_0x5d68bf(0x2b8)](_0x4fe5fa=>{const _0x160202=_0x5d68bf;let _0x4b0a6a=_0x1adb11[_0x160202(0x9f)](_0x4fe5fa['id']);return!_0x4b0a6a||_0x4fe5fa[_0x160202(0x11c)]===_0x4b0a6a?[]:[this[_0x160202(0x33e)]([..._0x550af4['table'](_0x4fe5fa['id']),_0x160202(0x11c)],_0x4fe5fa[_0x160202(0x11c)],_0x4b0a6a)];});}[_0x17666d(0x38c)](_0x187f58,_0x4e31ea,_0x4be34b,_0x10092d){const _0x522fde=_0x17666d;var _0x5c58dd,_0x1c862f;let _0x348a50=_0x4cff78(_0x187f58[_0x522fde(0x334)][_0x4e31ea]),_0x5a3f87=String(((_0x5c58dd=_0x10092d[_0x522fde(0x39d)])==null?void 0x0:_0x5c58dd['formula'])??'')[_0x522fde(0x11d)](),_0x3fd0bb=(_0x1c862f=_0x348a50[_0x522fde(0x118)])==null?void 0x0:_0x1c862f[_0x4be34b];if(_0x3fd0bb==null)return[];let _0xddc86d=_0x348a50[_0x522fde(0x370)]??Object[_0x522fde(0x3d7)](_0x348a50['records']),_0x30b0c0=_0xddc86d['map'](_0x39c032=>{const _0x4dc560=_0x522fde;var _0x3efc30;return(_0x3efc30=_0x348a50[_0x4dc560(0x3db)])==null?void 0x0:_0x3efc30[_0x39c032];})[_0x522fde(0x3b6)](_0x3d01d4=>_0x3d01d4!=null);return _0xddc86d[_0x522fde(0x2b8)](_0xa12aad=>{const _0x44b463=_0x522fde;var _0x47e01c,_0x43fcb9;let _0x1dffc3=(_0x47e01c=_0x348a50[_0x44b463(0x3db)])==null?void 0x0:_0x47e01c[_0xa12aad];if(_0x1dffc3==null)return[];let _0x4f439f=(_0x43fcb9=_0x348a50[_0x44b463(0x17b)])==null||(_0x43fcb9=_0x43fcb9[_0x1dffc3])==null?void 0x0:_0x43fcb9[_0x3fd0bb],_0x45fc12=_0x5a3f87?_0x1dffc3===_0x30b0c0?{'f':_0x5a3f87,'si':_0x4be34b}:{'si':_0x4be34b}:{'v':null,'t':null};return[this[_0x44b463(0x33e)](_0x550af4[_0x44b463(0x17b)](_0x4e31ea,_0x1dffc3,_0x3fd0bb),_0x4f439f,_0x45fc12)];});}[_0x17666d(0x3fd)](_0x4278a6,_0x1afabc,_0x20571d,_0x27475b,_0xb5b62c){const _0x125952=_0x17666d;var _0x4282d3;let _0x13eab1=_0x30d8b3(_0x27475b,_0x20571d),_0x2dbb30=_0xb5b62c['map']((_0x1c9c84,_0x4ff122)=>String(_0x1c9c84['id']??_0x13eab1+'\x1f'+_0x4ff122));return[this[_0x125952(0x33e)](_0x550af4[_0x125952(0xfc)](_0x1afabc,_0x13eab1),(_0x4282d3=_0x4278a6[_0x125952(0x171)])==null||(_0x4282d3=_0x4282d3[_0x125952(0xf4)])==null?void 0x0:_0x4282d3[_0x13eab1],_0x2dbb30),..._0xb5b62c[_0x125952(0xd9)]((_0x60facc,_0x36ea3e)=>{const _0x5cf320=_0x125952;var _0x1cd6bc;let _0xec7684=_0x2dbb30[_0x36ea3e];return this[_0x5cf320(0x33e)](_0x550af4[_0x5cf320(0x227)](_0x1afabc,_0xec7684),(_0x1cd6bc=_0x4278a6[_0x5cf320(0x171)])==null||(_0x1cd6bc=_0x1cd6bc[_0x5cf320(0x24d)])==null?void 0x0:_0x1cd6bc[_0xec7684],{..._0x60facc,'id':_0xec7684});})];}[_0x17666d(0x20e)](_0x20faf9,_0x4ce5a3,_0x12e940){const _0x5c3f03=_0x17666d;var _0x53de56;let _0x21007b=((_0x53de56=_0x20faf9['resources'])==null?void 0x0:_0x53de56[_0x5c3f03(0xf4)])??{},_0x543477=Object[_0x5c3f03(0x45d)](_0x21007b)['filter'](([_0x11f46d])=>_0x12e940(_0x11f46d));if(!_0x543477[_0x5c3f03(0x278)])return[];let _0x53f0ad=new Set(Object['entries'](_0x21007b)[_0x5c3f03(0x425)](([_0x183449])=>!_0x12e940(_0x183449))[_0x5c3f03(0x2b8)](([,_0x3ba11e])=>_0x3ba11e)),_0xb74934=new Set(_0x543477[_0x5c3f03(0x2b8)](([,_0x5f1d5e])=>_0x5f1d5e));return[..._0x543477[_0x5c3f03(0xd9)](([_0x39731f,_0x1bc4df])=>_0x4d7b12['JSON1'][_0x5c3f03(0x45e)](_0x550af4[_0x5c3f03(0xfc)](_0x4ce5a3,_0x39731f),_0x1bc4df)),...Array[_0x5c3f03(0x2ba)](_0xb74934)['flatMap'](_0x10bda3=>{const _0x417faa=_0x5c3f03;var _0x3ce854;let _0x171fd5=(_0x3ce854=_0x20faf9[_0x417faa(0x171)])==null||(_0x3ce854=_0x3ce854['attachments'])==null?void 0x0:_0x3ce854[_0x10bda3];return _0x171fd5!==void 0x0&&!_0x53f0ad[_0x417faa(0x1eb)](_0x10bda3)?[_0x4d7b12[_0x417faa(0xa0)]['removeOp'](_0x550af4[_0x417faa(0x227)](_0x4ce5a3,_0x10bda3),_0x171fd5)]:[];})];}[_0x17666d(0x33e)](_0x5916f1,_0x5cbe4b,_0x2e5100){const _0x420233=_0x17666d;return _0x5cbe4b===void 0x0?_0x4d7b12['JSON1'][_0x420233(0x12f)](_0x5916f1,_0x2e5100):_0x4d7b12[_0x420233(0xa0)][_0x420233(0x45f)](_0x5916f1,_0x5cbe4b,_0x2e5100);}};function _0x2245b0(_0x4b61d5,_0x206e4e,_0x3b9a6f){const _0x560cf1=_0x17666d;var _0x5535c0,_0x3f37cf,_0x4c08bd,_0x3bd084;let _0x2b1506=(_0x5535c0=_0x4b61d5[_0x560cf1(0x3db)])==null?void 0x0:_0x5535c0[_0x206e4e],_0x4cc28f=(_0x3f37cf=_0x4b61d5[_0x560cf1(0x118)])==null?void 0x0:_0x3f37cf[_0x3b9a6f];return _0x2b1506!=null&&_0x4cc28f!=null&&((_0x4c08bd=_0x4b61d5[_0x560cf1(0x357)])==null?void 0x0:_0x4c08bd[_0x2b1506])===_0x206e4e&&((_0x3bd084=_0x4b61d5[_0x560cf1(0x1f6)])==null?void 0x0:_0x3bd084[_0x4cc28f])===_0x3b9a6f&&_0x4b61d5['cellData']!=null;}function _0x4ba440(_0x41249f,_0x25d5c1,_0x24d5c3){const _0x50cee8=_0x17666d;var _0x11527e,_0x56886a;return((_0x11527e=_0x41249f[_0x50cee8(0x357)])==null?void 0x0:_0x11527e[_0x25d5c1])!=null&&((_0x56886a=_0x41249f[_0x50cee8(0x1f6)])==null?void 0x0:_0x56886a[_0x24d5c3])!=null&&_0x41249f['cellData']!=null;}function _0x3639af(_0x16ea8e,_0x3f9656,_0x5b7d0e){const _0x53fb62=_0x17666d;let _0x1242ef=_0x16ea8e[_0x53fb62(0x425)](_0x228cad=>_0x228cad!==_0x3f9656),_0x4b4512=_0x5b7d0e[_0x53fb62(0xc3)]?_0x1242ef['indexOf'](_0x5b7d0e[_0x53fb62(0xc3)]):_0x5b7d0e[_0x53fb62(0x193)]?_0x1242ef[_0x53fb62(0x211)](_0x5b7d0e[_0x53fb62(0x193)])+0x1:_0x1242ef[_0x53fb62(0x278)];return _0x1242ef['splice'](_0x4b4512<0x0?_0x1242ef[_0x53fb62(0x278)]:_0x4b4512,0x0,_0x3f9656),_0x1242ef;}function _0x8efe07(_0x56ad0b,_0x141335,_0x22a7aa){const _0xb6c3b0=_0x17666d;let _0x5c55be=_0x56ad0b[_0xb6c3b0(0x425)](_0x1a6b17=>_0x1a6b17!==_0x141335);return _0x5c55be[_0xb6c3b0(0x260)](_0x5e857c(_0x22a7aa,_0x5c55be[_0xb6c3b0(0x278)]),0x0,_0x141335),_0x5c55be;}function _0x1967ac(_0x3ac3ec,_0x104e1b,_0x466caa){const _0x320d60=_0x17666d;if(Array[_0x320d60(0x46e)](_0x3ac3ec))return _0x466caa===_0x320d60(0x275)?_0x3ac3ec['filter'](_0x3f510e=>_0x3f510e!==_0x104e1b):_0x3ac3ec[_0x320d60(0x2b8)](_0xa6a983=>{const _0x43bbe4=_0x320d60;if(_0xa6a983&&typeof _0xa6a983==_0x43bbe4(0x297)&&!Array[_0x43bbe4(0x46e)](_0xa6a983)&&_0xa6a983[_0x43bbe4(0x424)]===_0x104e1b)return[];let _0x538406=_0x1967ac(_0xa6a983,_0x104e1b);return _0x538406===void 0x0?[]:[_0x538406];});if(!_0x3ac3ec||typeof _0x3ac3ec!=_0x320d60(0x297))return _0x466caa!=null&&_0x466caa[_0x320d60(0x458)](_0x320d60(0x416))&&_0x3ac3ec===_0x104e1b?void 0x0:_0x3ac3ec;let _0xd24190=_0x3ac3ec;if(_0xd24190[_0x320d60(0x424)]!==_0x104e1b)return Object[_0x320d60(0x88)](Object['entries'](_0xd24190)[_0x320d60(0x2b8)](([_0x4a9a87,_0xd02502])=>{if(_0x4a9a87===_0x104e1b&&_0x466caa==='fieldSettings')return[];let _0x1971d7=_0x1967ac(_0xd02502,_0x104e1b,_0x4a9a87);return _0x1971d7===void 0x0?[]:[[_0x4a9a87,_0x1971d7]];}));}function _0x5e857c(_0x24e3bf,_0x3af980){const _0x15e72e=_0x17666d;return Math['max'](0x0,Math[_0x15e72e(0x3d6)](_0x24e3bf,_0x3af980));}function _0xae8c7f(_0x2a1626){'@babel/helpers - typeof';const _0x458e5d=_0x17666d;return _0xae8c7f=typeof Symbol==_0x458e5d(0x9e)&&typeof Symbol[_0x458e5d(0xfe)]==_0x458e5d(0x367)?function(_0x4bffbd){return typeof _0x4bffbd;}:function(_0x4aa33a){const _0x1a266a=_0x458e5d;return _0x4aa33a&&typeof Symbol==_0x1a266a(0x9e)&&_0x4aa33a[_0x1a266a(0x31a)]===Symbol&&_0x4aa33a!==Symbol[_0x1a266a(0x44a)]?_0x1a266a(0x367):typeof _0x4aa33a;},_0xae8c7f(_0x2a1626);}function _0x559b60(_0xe8fc27,_0x214999){const _0x31af86=_0x17666d;if(_0xae8c7f(_0xe8fc27)!=_0x31af86(0x297)||!_0xe8fc27)return _0xe8fc27;var _0x10cb9a=_0xe8fc27[Symbol[_0x31af86(0x22d)]];if(_0x10cb9a!==void 0x0){var _0x4bae46=_0x10cb9a[_0x31af86(0x446)](_0xe8fc27,_0x214999||'default');if(_0xae8c7f(_0x4bae46)!='object')return _0x4bae46;throw TypeError(_0x31af86(0x35d));}return(_0x214999===_0x31af86(0x3af)?String:Number)(_0xe8fc27);}function _0x41df6e(_0x45ae09){const _0x1f8bcd=_0x17666d;var _0x4b2b8b=_0x559b60(_0x45ae09,_0x1f8bcd(0x3af));return _0xae8c7f(_0x4b2b8b)==_0x1f8bcd(0x367)?_0x4b2b8b:_0x4b2b8b+'';}function _0x4aa85f(_0x173f21,_0x2d7de4,_0xdf27be){return(_0x2d7de4=_0x41df6e(_0x2d7de4))in _0x173f21?Object['defineProperty'](_0x173f21,_0x2d7de4,{'value':_0xdf27be,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x173f21[_0x2d7de4]=_0xdf27be,_0x173f21;}let _0x336523=(0x0,_0x4d7b12[_0x17666d(0x1b4)])(_0x17666d(0x3dd));var _0x21739f=class extends _0x4d7b12[_0x17666d(0x134)]{constructor(..._0x44e923){const _0x38cd69=_0x17666d;super(..._0x44e923),_0x4aa85f(this,_0x38cd69(0x1c0),new Map());}[_0x17666d(0x2af)](_0x41d719){const _0x2839cf=_0x17666d;return this[_0x2839cf(0x1c0)][_0x2839cf(0x12c)](_0x41d719[_0x2839cf(0x466)],_0x41d719),(0x0,_0x4d7b12[_0x2839cf(0xf6)])(()=>this[_0x2839cf(0x1c0)][_0x2839cf(0x205)](_0x41d719['type']));}['get'](_0x4c694b){const _0xd1aa9a=_0x17666d;let _0x5e13a9=this[_0xd1aa9a(0x1c0)][_0xd1aa9a(0x9f)](_0x4c694b);if(!_0x5e13a9)throw Error(_0xd1aa9a(0x13d)+_0x4c694b+_0xd1aa9a(0x169));return _0x5e13a9;}[_0x17666d(0x125)](_0x97fa99){return this['_plugins']['get'](_0x97fa99);}[_0x17666d(0x121)](){const _0x44e9e7=_0x17666d;return Array[_0x44e9e7(0x2ba)](this['_plugins'][_0x44e9e7(0x3b2)]());}};let _0x2403d4=(0x0,_0x4d7b12[_0x17666d(0x1b4)])(_0x17666d(0x1e3));var _0x521723=class{constructor(){const _0x5a3548=_0x17666d;_0x4aa85f(this,_0x5a3548(0x16d),new Map()),_0x4aa85f(this,_0x5a3548(0x2d8),new Map()),_0x4aa85f(this,'_fieldPermissions',new Map()),_0x4aa85f(this,_0x5a3548(0x460),new Map());}[_0x17666d(0xf1)](_0x6e3fb5){const _0x57b378=_0x17666d;var _0x5686f1;return((_0x5686f1=this['_basePermissions'][_0x57b378(0x9f)](_0x6e3fb5))==null?void 0x0:_0x5686f1[_0x57b378(0x336)])??!0x0;}['canDeleteTable'](_0x4d646c){const _0xbe8453=_0x17666d;var _0x1d54df;return((_0x1d54df=this[_0xbe8453(0x2d8)]['get'](_0x4d646c))==null?void 0x0:_0x1d54df[_0xbe8453(0x205)])??!0x0;}[_0x17666d(0x42d)](_0x3795bc){const _0x36c559=_0x17666d;var _0x1fed7e;return((_0x1fed7e=this[_0x36c559(0x2d8)]['get'](_0x3795bc))==null?void 0x0:_0x1fed7e['createField'])??!0x0;}[_0x17666d(0x20c)](_0x1835ec,_0x4b2466){const _0x396512=_0x17666d;var _0x32acdd;return((_0x32acdd=this[_0x396512(0x1fd)][_0x396512(0x9f)](_0x23d815(_0x1835ec,_0x4b2466)))==null?void 0x0:_0x32acdd[_0x396512(0x345)])??!0x0;}[_0x17666d(0x342)](_0x4ac487,_0x28dd9c){const _0x1a5f2d=_0x17666d;var _0x106a9d;return((_0x106a9d=this[_0x1a5f2d(0x1fd)]['get'](_0x23d815(_0x4ac487,_0x28dd9c)))==null?void 0x0:_0x106a9d[_0x1a5f2d(0x205)])??!0x0;}[_0x17666d(0x39a)](_0x4e3d80){const _0x5269ae=_0x17666d;var _0x2f6a62;return((_0x2f6a62=this[_0x5269ae(0x2d8)][_0x5269ae(0x9f)](_0x4e3d80))==null?void 0x0:_0x2f6a62[_0x5269ae(0x3a6)])??!0x0;}[_0x17666d(0x1f8)](_0x327be4,_0x3ea0af){const _0x4998cc=_0x17666d;var _0x3e4b2f;return((_0x3e4b2f=this[_0x4998cc(0x460)][_0x4998cc(0x9f)](_0x892be(_0x327be4,_0x3ea0af)))==null?void 0x0:_0x3e4b2f['delete'])??!0x0;}[_0x17666d(0x2ac)](_0x4b3036,_0x26be54,_0x2a3657){const _0x1a42cd=_0x17666d;var _0x1295c8;let _0x247f7d=this[_0x1a42cd(0x1fd)][_0x1a42cd(0x9f)](_0x23d815(_0x4b3036,_0x2a3657));return(((_0x1295c8=this[_0x1a42cd(0x460)][_0x1a42cd(0x9f)](_0x892be(_0x4b3036,_0x26be54)))==null?void 0x0:_0x1295c8[_0x1a42cd(0x1a3)])??!0x0)&&((_0x247f7d==null?void 0x0:_0x247f7d[_0x1a42cd(0x345)])??!0x0)&&((_0x247f7d==null?void 0x0:_0x247f7d[_0x1a42cd(0x1a3)])??!0x0);}[_0x17666d(0x274)](_0x24083e){const _0x187383=_0x17666d;var _0x173566;return((_0x173566=this['_tablePermissions'][_0x187383(0x9f)](_0x24083e))==null?void 0x0:_0x173566['manageView'])??!0x0;}[_0x17666d(0x25a)](_0x54bf9f,_0x3d36a1){const _0x589979=_0x17666d;this[_0x589979(0x16d)][_0x589979(0x12c)](_0x54bf9f,{...this[_0x589979(0x16d)][_0x589979(0x9f)](_0x54bf9f),..._0x3d36a1});}[_0x17666d(0xd4)](_0x4fdc99,_0x1fe39d){const _0x463cca=_0x17666d;this[_0x463cca(0x2d8)][_0x463cca(0x12c)](_0x4fdc99,{...this[_0x463cca(0x2d8)][_0x463cca(0x9f)](_0x4fdc99),..._0x1fe39d});}[_0x17666d(0x30f)](_0x190ffc,_0x383d3e,_0x420b72){const _0x13a288=_0x17666d;let _0x32c66a=_0x23d815(_0x190ffc,_0x383d3e);this[_0x13a288(0x1fd)]['set'](_0x32c66a,{...this[_0x13a288(0x1fd)][_0x13a288(0x9f)](_0x32c66a),..._0x420b72});}['setRecordPermission'](_0x2e0c31,_0x4131f6,_0x1ee0d6){const _0x211f7=_0x17666d;let _0x181ed2=_0x892be(_0x2e0c31,_0x4131f6);this[_0x211f7(0x460)][_0x211f7(0x12c)](_0x181ed2,{...this[_0x211f7(0x460)][_0x211f7(0x9f)](_0x181ed2),..._0x1ee0d6});}[_0x17666d(0x2da)](_0x1da613){const _0x3599f5=_0x17666d;this['_basePermissions'][_0x3599f5(0x205)](_0x1da613);}[_0x17666d(0xc8)](_0x2927ef){const _0x581698=_0x17666d;this[_0x581698(0x2d8)]['delete'](_0x2927ef);}['clearFieldPermission'](_0x1d6963,_0x403b77){const _0x41d5d7=_0x17666d;this[_0x41d5d7(0x1fd)]['delete'](_0x23d815(_0x1d6963,_0x403b77));}[_0x17666d(0x12a)](_0x5b078e,_0x5da29f){const _0x237dcd=_0x17666d;this[_0x237dcd(0x460)][_0x237dcd(0x205)](_0x892be(_0x5b078e,_0x5da29f));}[_0x17666d(0x2de)](){const _0x378fdb=_0x17666d;return{'bases':Object['fromEntries'](this[_0x378fdb(0x16d)]),'tables':Object[_0x378fdb(0x88)](this[_0x378fdb(0x2d8)]),'fields':Object['fromEntries'](this[_0x378fdb(0x1fd)]),'records':Object[_0x378fdb(0x88)](this['_recordPermissions'])};}};function _0x23d815(_0x241779,_0x36d8b3){return _0x241779+'\x1f'+_0x36d8b3;}function _0x892be(_0x1329a3,_0x3eff79){return _0x1329a3+'\x1f'+_0x3eff79;}function _0x2661c4(_0x24e0e8,_0x3ef2a4){return function(_0x259049,_0x501ce6){_0x3ef2a4(_0x259049,_0x501ce6,_0x24e0e8);};}function _0x505956(_0x7792c5,_0x5be58d,_0x189ef0,_0x4cb05c){const _0x348bf1=_0x17666d;var _0x33d0b8=arguments[_0x348bf1(0x278)],_0x360d49=_0x33d0b8<0x3?_0x5be58d:_0x4cb05c===null?_0x4cb05c=Object[_0x348bf1(0x38a)](_0x5be58d,_0x189ef0):_0x4cb05c,_0x42c371;if(typeof Reflect==_0x348bf1(0x297)&&typeof Reflect[_0x348bf1(0xb3)]=='function')_0x360d49=Reflect[_0x348bf1(0xb3)](_0x7792c5,_0x5be58d,_0x189ef0,_0x4cb05c);else{for(var _0x2cf816=_0x7792c5['length']-0x1;_0x2cf816>=0x0;_0x2cf816--)(_0x42c371=_0x7792c5[_0x2cf816])&&(_0x360d49=(_0x33d0b8<0x3?_0x42c371(_0x360d49):_0x33d0b8>0x3?_0x42c371(_0x5be58d,_0x189ef0,_0x360d49):_0x42c371(_0x5be58d,_0x189ef0))||_0x360d49);}return _0x33d0b8>0x3&&_0x360d49&&Object[_0x348bf1(0x242)](_0x5be58d,_0x189ef0,_0x360d49),_0x360d49;}let _0x401e28=(0x0,_0x4d7b12['createIdentifier'])('base.command.service'),_0x17807c=class{constructor(_0x41144a,_0x2ff565=_0x590b82(),_0x17c2ed={}){const _0x4f539d=_0x17666d;this[_0x4f539d(0x221)]=_0x41144a,this[_0x4f539d(0x250)]=_0x2ff565,this[_0x4f539d(0xc7)]=_0x17c2ed,_0x4aa85f(this,_0x4f539d(0x273),new _0x7bf11a()),_0x4aa85f(this,_0x4f539d(0x26f),new _0x51bfae());}[_0x17666d(0x336)](_0x286f11,_0x2c468f,_0x5297c4){const _0x560ef5=_0x17666d;if(!this[_0x560ef5(0x221)][_0x560ef5(0xf1)](_0x286f11['getUnitId']()))throw Error(_0x560ef5(0x38b));(0x0,_0x4d7b12[_0x560ef5(0x2c3)])(_0x2c468f),this['_apply'](_0x286f11,this['_factory'][_0x560ef5(0x336)](_0x286f11[_0x560ef5(0x2de)](),_0x2c468f,_0x5297c4));}['renameTable'](_0xbc18,_0x52eca5,_0x466cde){const _0x373d8f=_0x17666d;this[_0x373d8f(0x1a5)](_0xbc18,this[_0x373d8f(0x273)][_0x373d8f(0x2eb)](_0xbc18[_0x373d8f(0x2de)](),_0x52eca5,_0x466cde));}[_0x17666d(0x29c)](_0x54e52c,_0x4d2ece){const _0x25c580=_0x17666d;if(!this[_0x25c580(0x221)][_0x25c580(0x252)](_0x4d2ece))throw Error(_0x25c580(0x37d));let _0x3df524=_0x26c103(_0x54e52c[_0x25c580(0x2de)](),_0x4d2ece);if(_0x3df524[_0x25c580(0x278)]>0x0)throw Error(_0x25c580(0x2fa)+_0x3df524[_0x25c580(0xd9)](_0x5870ad=>_0x5870ad[_0x25c580(0x10c)]+'.'+_0x5870ad[_0x25c580(0x424)])[_0x25c580(0x1ef)](',\x20')+').');this['_apply'](_0x54e52c,this[_0x25c580(0x273)]['deleteTable'](_0x54e52c[_0x25c580(0x2de)](),_0x4d2ece));}[_0x17666d(0x2a5)](_0x2c5769,_0x35f638,_0xe5b06,_0x34dafe,_0x1c16a0){const _0x367e18=_0x17666d;this[_0x367e18(0x1a5)](_0x2c5769,this[_0x367e18(0x45b)](_0x2c5769,_0x35f638,_0xe5b06,_0x34dafe,_0x1c16a0));}['setRecordValues'](_0x3c419a,_0x12d2cc,_0x3c3dcf){const _0xc89fc3=_0x17666d;this[_0xc89fc3(0x1a5)](_0x3c419a,this[_0xc89fc3(0x150)](_0x3c419a,_0x12d2cc,_0x3c3dcf));}[_0x17666d(0x3a6)](_0x5d83f7,_0x444c70,_0x1ca5d7){const _0x2f1e8e=_0x17666d;this[_0x2f1e8e(0x1a5)](_0x5d83f7,this[_0x2f1e8e(0x187)](_0x5d83f7,_0x444c70,_0x1ca5d7));}[_0x17666d(0x45b)](_0x25c8a1,_0x280a0e,_0x2cff6d,_0x2136e9,_0x4ed331){const _0x3930ff=_0x17666d;let _0x54f69e=_0x25c8a1['getSnapshot'](),_0x2262e8=this[_0x3930ff(0x3f3)](_0x54f69e,_0x280a0e,_0x2cff6d,_0x2136e9,_0x4ed331),_0x4ca5cc=this[_0x3930ff(0x26a)](_0x54f69e,_0x280a0e,_0x2cff6d,{[_0x2136e9]:_0x2262e8});return this[_0x3930ff(0x273)][_0x3930ff(0x3f4)](_0x54f69e,_0x280a0e,[_0x4ca5cc]);}[_0x17666d(0x150)](_0x2c82b9,_0x4adee6,_0x46d20a){const _0x4583cb=_0x17666d;let _0x279713=_0x2c82b9[_0x4583cb(0x2de)](),_0x28f8ba=_0x46d20a['map'](_0x59bd2f=>this[_0x4583cb(0x26a)](_0x279713,_0x4adee6,_0x59bd2f[_0x4583cb(0x23d)],{...Object[_0x4583cb(0x88)](Object[_0x4583cb(0x45d)](_0x59bd2f[_0x4583cb(0x3b2)])[_0x4583cb(0xd9)](([_0xdd6151,_0x184c91])=>[_0xdd6151,this[_0x4583cb(0x3f3)](_0x279713,_0x4adee6,_0x59bd2f[_0x4583cb(0x23d)],_0xdd6151,_0x184c91)]))}));return this[_0x4583cb(0x273)]['setRecordValues'](_0x279713,_0x4adee6,_0x28f8ba);}[_0x17666d(0x187)](_0x4175b5,_0x406298,_0x5f49c3){const _0x4219db=_0x17666d;if(!this[_0x4219db(0x221)][_0x4219db(0x39a)](_0x406298))throw Error('[BaseCommandService]:\x20cannot\x20create\x20record.');let _0xb3d34b=_0x4175b5[_0x4219db(0x2de)](),_0x23ad9f=this[_0x4219db(0x2b9)](_0xb3d34b[_0x4219db(0x334)][_0x406298]);return this[_0x4219db(0x273)][_0x4219db(0x3a6)](_0xb3d34b,_0x406298,this[_0x4219db(0x46c)](_0xb3d34b,_0x406298,_0x5f49c3,_0x23ad9f));}[_0x17666d(0x393)](_0x2d2db2,_0x5ec686,_0x1416e6){const _0x159f77=_0x17666d;if(!this[_0x159f77(0x221)][_0x159f77(0x39a)](_0x5ec686))throw Error(_0x159f77(0x13a));let _0x1524cd=_0x2d2db2[_0x159f77(0x2de)]();return _0x1b2201(_0x159f77(0x28d),()=>{const _0x5716bb=_0x159f77;let _0xb8089b=this['_createNumberingAllocators'](_0x1524cd['tables'][_0x5ec686]);return this['_factory'][_0x5716bb(0x3b0)](_0x1524cd,_0x5ec686,_0x1416e6[_0x5716bb(0xd9)](_0x1bde7a=>this[_0x5716bb(0x46c)](_0x1524cd,_0x5ec686,_0x1bde7a,_0xb8089b)));},{'existingRecords':Object['keys'](_0x1524cd[_0x159f77(0x334)][_0x5ec686]['records'])[_0x159f77(0x278)],'records':_0x1416e6['length']});}[_0x17666d(0x1cd)](_0x4b8a1b,_0x379258,_0x46bafd,_0xe16ca1,_0x4851ad){const _0x5c4456=_0x17666d;if(!this[_0x5c4456(0x221)]['canCreateField'](_0x379258))throw Error(_0x5c4456(0x2cd));let _0x346940=_0x4b8a1b[_0x5c4456(0x2de)]();if(this[_0x5c4456(0x2ff)](_0x346940,_0x46bafd),_0xe16ca1===0x0)throw Error(_0x5c4456(0x272));let _0x19ac2b=this[_0x5c4456(0x273)]['createField'](_0x346940,_0x379258,{'field':_0x46bafd,'index':_0xe16ca1,'viewIndexes':_0x4851ad}),_0x2064b4=this[_0x5c4456(0x405)](_0x346940,_0x379258,_0x46bafd);if(!_0x2064b4['length'])return _0x19ac2b;let _0x569363=this[_0x5c4456(0x26f)][_0x5c4456(0x344)](_0x346940,_0x19ac2b);return _0x2c91fd([_0x19ac2b,this[_0x5c4456(0x273)]['setRecordValues'](_0x569363,_0x379258,_0x2064b4)]);}[_0x17666d(0x411)](_0x13934a,_0x2fea61,_0x2d862e){const _0x23c83d=_0x17666d;if(!this['_permissionService'][_0x23c83d(0x1f8)](_0x2fea61,_0x2d862e))throw Error(_0x23c83d(0x17d));this['_apply'](_0x13934a,this[_0x23c83d(0x273)][_0x23c83d(0x411)](_0x13934a[_0x23c83d(0x2de)](),_0x2fea61,_0x2d862e));}['duplicateRecord'](_0x30282e,_0x9f6d7a,_0x136732,_0x394e0e){const _0x456b58=_0x17666d;this[_0x456b58(0x1a5)](_0x30282e,this['_factory'][_0x456b58(0x16b)](_0x30282e[_0x456b58(0x2de)](),_0x9f6d7a,_0x136732,{..._0x394e0e,'values':{..._0x394e0e['values'],[_0x4d7b12['BASE_RECORD_ID_FIELD_ID']]:_0x394e0e['id']}}));}[_0x17666d(0x1bc)](_0x1a5670,_0x36e035,_0x2c86ce,_0x1173e3){const _0x4fd8e6=_0x17666d;this['_apply'](_0x1a5670,this[_0x4fd8e6(0x273)][_0x4fd8e6(0x1bc)](_0x1a5670[_0x4fd8e6(0x2de)](),_0x36e035,_0x2c86ce,_0x1173e3));}[_0x17666d(0x468)](_0x361ac1,_0x506868,_0x5be98b,_0x3dfe1f,_0x7cd038){const _0x2e0546=_0x17666d;this['_apply'](_0x361ac1,this[_0x2e0546(0x1cd)](_0x361ac1,_0x506868,_0x5be98b,_0x3dfe1f,_0x7cd038));}[_0x17666d(0x2bf)](_0x105410,_0x64df19,_0xd2c1e5,_0x3ecbf2){const _0x5040e0=_0x17666d;var _0x2313e0;if(!this[_0x5040e0(0x221)][_0x5040e0(0x20c)](_0x64df19,_0xd2c1e5))throw Error(_0x5040e0(0x2f0));let _0x109a96=_0x105410[_0x5040e0(0x2de)](),_0x1e4bcf=(_0x2313e0=_0x109a96['tables'][_0x64df19])==null?void 0x0:_0x2313e0[_0x5040e0(0x129)][_0xd2c1e5];if(!_0x1e4bcf||_0xd2c1e5===_0x4d7b12[_0x5040e0(0x36b)])throw Error('[BaseCommandService]:\x20cannot\x20edit\x20record-id.');this[_0x5040e0(0x2ff)](_0x109a96,{..._0x1e4bcf,..._0x3ecbf2}),this[_0x5040e0(0x1a5)](_0x105410,this[_0x5040e0(0x273)][_0x5040e0(0x2bf)](_0x109a96,_0x64df19,_0xd2c1e5,_0x3ecbf2));}[_0x17666d(0x8b)](_0x4ed522,_0x263a95,_0x217971,_0x199238){const _0x265a7e=_0x17666d;var _0x446ecb;if(!this[_0x265a7e(0x221)][_0x265a7e(0x20c)](_0x263a95,_0x217971))throw Error(_0x265a7e(0x2f0));let _0x22f7ef=_0x4ed522[_0x265a7e(0x2de)](),_0x581e33=(_0x446ecb=_0x22f7ef[_0x265a7e(0x334)][_0x263a95])==null?void 0x0:_0x446ecb[_0x265a7e(0x129)][_0x217971];if(!_0x581e33||_0x217971===_0x4d7b12[_0x265a7e(0x36b)])throw Error(_0x265a7e(0x42b));this['_assertFieldDefinition'](_0x22f7ef,{..._0x581e33,..._0x199238}),this[_0x265a7e(0x1a5)](_0x4ed522,this[_0x265a7e(0x273)][_0x265a7e(0x8b)](_0x22f7ef,_0x263a95,_0x217971,_0x199238));}['deleteField'](_0x4ddb60,_0xbdb502,_0x2e6e51){const _0x3b7c60=_0x17666d;var _0x2f40c7;if(((_0x2f40c7=_0x4ddb60[_0x3b7c60(0x2de)]()[_0x3b7c60(0x334)][_0xbdb502])==null?void 0x0:_0x2f40c7[_0x3b7c60(0x455)])===_0x2e6e51||_0x2e6e51===_0x4d7b12[_0x3b7c60(0x36b)])throw Error('[BaseCommandService]:\x20cannot\x20delete\x20primary\x20field.');if(!this[_0x3b7c60(0x221)][_0x3b7c60(0x342)](_0xbdb502,_0x2e6e51))throw Error(_0x3b7c60(0xab));this[_0x3b7c60(0x1a5)](_0x4ddb60,this[_0x3b7c60(0x273)][_0x3b7c60(0x3b3)](_0x4ddb60['getSnapshot'](),_0xbdb502,_0x2e6e51));}[_0x17666d(0x83)](_0x4d0676,_0x264654,_0x7242a8,_0x590e59){const _0x4f3f8d=_0x17666d;if(!this[_0x4f3f8d(0x221)][_0x4f3f8d(0x20c)](_0x264654,_0x7242a8))throw Error(_0x4f3f8d(0x2f0));if(_0x7242a8===_0x4d7b12[_0x4f3f8d(0x36b)]||_0x590e59[_0x4f3f8d(0xc3)]===_0x4d7b12[_0x4f3f8d(0x36b)])throw Error(_0x4f3f8d(0xba));this[_0x4f3f8d(0x1a5)](_0x4d0676,this['_factory'][_0x4f3f8d(0x83)](_0x4d0676[_0x4f3f8d(0x2de)](),_0x264654,_0x7242a8,_0x590e59));}[_0x17666d(0x429)](_0x219663,_0x373dac,_0x58305f,_0x5b82ce){const _0x2eedca=_0x17666d;this[_0x2eedca(0x1a5)](_0x219663,this['_factory']['createView'](_0x219663[_0x2eedca(0x2de)](),_0x373dac,_0x58305f,_0x5b82ce));}[_0x17666d(0x388)](_0x533226,_0x1b1764,_0x44003f,_0x3b3652){const _0x43acc9=_0x17666d;if(!this[_0x43acc9(0x221)][_0x43acc9(0x274)](_0x1b1764,_0x44003f))throw Error(_0x43acc9(0x22b));this[_0x43acc9(0x1a5)](_0x533226,this[_0x43acc9(0x273)][_0x43acc9(0x388)](_0x533226['getSnapshot'](),_0x1b1764,_0x44003f,_0x3b3652));}[_0x17666d(0x166)](_0xaf79a6,_0x2025ba,_0x91e26d){const _0x58b0fb=_0x17666d;if(!this['_permissionService']['canManageView'](_0x2025ba,_0x91e26d))throw Error(_0x58b0fb(0x22b));this[_0x58b0fb(0x1a5)](_0xaf79a6,this[_0x58b0fb(0x273)][_0x58b0fb(0x166)](_0xaf79a6[_0x58b0fb(0x2de)](),_0x2025ba,_0x91e26d));}[_0x17666d(0x1b8)](_0x237319,_0xb88b31,_0x50a9dd,_0xdb404f){const _0x2ee8ff=_0x17666d;if(!this[_0x2ee8ff(0x221)][_0x2ee8ff(0x274)](_0xb88b31,_0x50a9dd))throw Error('[BaseCommandService]:\x20cannot\x20manage\x20view.');this[_0x2ee8ff(0x1a5)](_0x237319,this[_0x2ee8ff(0x273)][_0x2ee8ff(0x1b8)](_0x237319[_0x2ee8ff(0x2de)](),_0xb88b31,_0x50a9dd,_0xdb404f));}[_0x17666d(0x459)](_0x4550f0,_0x29b790,_0x52c7fe,_0xa933b3){const _0x2255d0=_0x17666d;if(!this['_permissionService']['canManageView'](_0x29b790,_0x52c7fe))throw Error(_0x2255d0(0x22b));this['_apply'](_0x4550f0,this[_0x2255d0(0x273)][_0x2255d0(0x459)](_0x4550f0[_0x2255d0(0x2de)](),_0x29b790,_0x52c7fe,_0xa933b3));}[_0x17666d(0x158)](_0xdc1b71,_0x148bc7,_0x16141f,_0x5b45f8){const _0xf19fb8=_0x17666d;this[_0xf19fb8(0x1a5)](_0xdc1b71,this['_factory'][_0xf19fb8(0x158)](_0xdc1b71['getSnapshot'](),_0x148bc7,_0x16141f,_0x5b45f8));}['setViewSort'](_0x1ffc86,_0x4f04ce,_0x5f3b89,_0x147d54){const _0x1e4762=_0x17666d;this[_0x1e4762(0x1a5)](_0x1ffc86,this['_factory'][_0x1e4762(0x3bd)](_0x1ffc86[_0x1e4762(0x2de)](),_0x4f04ce,_0x5f3b89,_0x147d54));}[_0x17666d(0x135)](_0xb0ac2a,_0x5c2883,_0x26cb09,_0x5e8789){const _0x597b4d=_0x17666d;this['_apply'](_0xb0ac2a,this['_factory'][_0x597b4d(0x135)](_0xb0ac2a['getSnapshot'](),_0x5c2883,_0x26cb09,_0x5e8789));}[_0x17666d(0x201)](_0x2287e9,_0x438e4e,_0x35041f,_0x2fe2ff,_0x5229e2){const _0x4413b1=_0x17666d;if(!this[_0x4413b1(0x221)]['canManageView'](_0x438e4e,_0x35041f))throw Error('[BaseCommandService]:\x20cannot\x20manage\x20view.');this[_0x4413b1(0x1a5)](_0x2287e9,this[_0x4413b1(0x273)][_0x4413b1(0x201)](_0x2287e9[_0x4413b1(0x2de)](),_0x438e4e,_0x35041f,_0x2fe2ff,_0x5229e2));}[_0x17666d(0xff)](_0x5eacf5,_0x355ad1,_0x4ec9de,_0x2234c8,_0x5c36c3){const _0x6e56b0=_0x17666d;this[_0x6e56b0(0x1a5)](_0x5eacf5,this[_0x6e56b0(0x273)][_0x6e56b0(0xff)](_0x5eacf5['getSnapshot'](),_0x355ad1,_0x4ec9de,_0x2234c8,_0x5c36c3));}['setViewFieldOrder'](_0x3332ad,_0x5e7679,_0x51d46a,_0x491d3c,_0x177003){const _0x3f33a6=_0x17666d;this['_apply'](_0x3332ad,this[_0x3f33a6(0x273)][_0x3f33a6(0x3e0)](_0x3332ad[_0x3f33a6(0x2de)](),_0x5e7679,_0x51d46a,_0x491d3c,_0x177003));}['_apply'](_0xbfb279,_0x2e4fd0){const _0x2aceb6=_0x17666d;let _0x1d3ade=_0xbfb279[_0x2aceb6(0x2de)]();_0xbfb279[_0x2aceb6(0x15a)](this['_applier'][_0x2aceb6(0x344)](_0x1d3ade,_0x2e4fd0));}['_createRecordWithDefaults'](_0xfcaa29,_0x34758f,_0x5dfe3a,_0x48504b=this[_0x17666d(0x2b9)](_0xfcaa29['tables'][_0x34758f])){const _0x24a371=_0x17666d;let _0x4f3203=_0xfcaa29[_0x24a371(0x334)][_0x34758f],_0x2be7c5=_0x5dfe3a[_0x24a371(0x21b)]??_0x5dfe3a[_0x24a371(0x163)]??this[_0x24a371(0x340)](),_0x176464={..._0x5dfe3a,'createdBy':_0x5dfe3a[_0x24a371(0x21b)]??_0x2be7c5,'updatedBy':_0x5dfe3a[_0x24a371(0x163)]??_0x2be7c5,'values':{..._0x5dfe3a[_0x24a371(0x3b2)]}};return _0x176464[_0x24a371(0x3b2)][_0x4d7b12[_0x24a371(0x36b)]]=_0x176464['id'],_0x4f3203[_0x24a371(0x33f)]['forEach'](_0x28efab=>{const _0x1c482e=_0x24a371;let _0x5d98cb=_0x4f3203[_0x1c482e(0x129)][_0x28efab];if(!(!_0x5d98cb||_0x176464[_0x1c482e(0x3b2)][_0x28efab]!==void 0x0))switch(_0x5d98cb['type']){case _0x4d7b12['BaseFieldType'][_0x1c482e(0x279)]:var _0x16fe11;_0x176464[_0x1c482e(0x3b2)][_0x28efab]=((_0x16fe11=_0x48504b[_0x1c482e(0x9f)](_0x28efab))==null?void 0x0:_0x16fe11())??this[_0x1c482e(0x2cf)](_0x4f3203,_0x28efab)();break;case _0x4d7b12[_0x1c482e(0x419)]['CreatedBy']:_0x176464[_0x1c482e(0x21b)]&&(_0x176464[_0x1c482e(0x3b2)][_0x28efab]=_0x176464['createdBy']);break;case _0x4d7b12[_0x1c482e(0x419)][_0x1c482e(0x186)]:_0x176464[_0x1c482e(0x163)]&&(_0x176464[_0x1c482e(0x3b2)][_0x28efab]=_0x176464[_0x1c482e(0x163)]);break;case _0x4d7b12[_0x1c482e(0x419)]['CreatedAt']:_0x176464['values'][_0x28efab]=_0x42237b(_0x176464[_0x1c482e(0x198)]);break;case _0x4d7b12[_0x1c482e(0x419)][_0x1c482e(0x2e7)]:_0x176464[_0x1c482e(0x3b2)][_0x28efab]=_0x42237b(_0x176464[_0x1c482e(0x2b0)]);break;default:{let _0x263eca=_0x5d98cb[_0x1c482e(0x1f0)];_0x263eca!=null&&_0x263eca!==''&&!(Array[_0x1c482e(0x46e)](_0x263eca)&&_0x263eca[_0x1c482e(0x278)]===0x0)&&(_0x176464[_0x1c482e(0x3b2)][_0x28efab]=_0x263eca);}}}),_0x176464;}[_0x17666d(0x26a)](_0x2a0de8,_0x24d3e6,_0x33afc0,_0x5a5b1f){const _0x77d308=_0x17666d;var _0x49b07b,_0x447195;let _0x12046e=_0x2a0de8[_0x77d308(0x334)][_0x24d3e6],_0x82a335=((_0x49b07b=(_0x447195=this[_0x77d308(0xc7)])[_0x77d308(0x19c)])==null?void 0x0:_0x49b07b[_0x77d308(0x446)](_0x447195))??Date['now'](),_0x580e88=this[_0x77d308(0x340)](),_0x217b0b={..._0x5a5b1f};return _0x12046e['fieldOrder'][_0x77d308(0x3cc)](_0xbca1d0=>{const _0x4a2c58=_0x77d308;let _0x22d826=_0x12046e[_0x4a2c58(0x129)][_0xbca1d0];_0x22d826&&(_0x22d826[_0x4a2c58(0x466)]===_0x4d7b12['BaseFieldType'][_0x4a2c58(0x2e7)]&&(_0x217b0b[_0xbca1d0]=_0x42237b(_0x82a335)),_0x22d826[_0x4a2c58(0x466)]===_0x4d7b12['BaseFieldType'][_0x4a2c58(0x186)]&&_0x580e88&&(_0x217b0b[_0xbca1d0]=_0x580e88));}),{'recordId':_0x33afc0,'values':_0x217b0b,'recordPatch':{'updatedAt':_0x82a335,..._0x580e88?{'updatedBy':_0x580e88}:{}}};}['_createSystemFieldValuePatches'](_0xcdc3a1,_0x479138,_0xf9d755){const _0x545efb=_0x17666d;let _0x376aa4=_0xcdc3a1[_0x545efb(0x334)][_0x479138];return!_0x376aa4||!_0x29376d(_0xf9d755)?[]:_0xf9d755['type']===_0x4d7b12[_0x545efb(0x419)][_0x545efb(0x279)]?this['_createNumberingFieldValuePatches'](_0x376aa4,_0xf9d755['id']):Object[_0x545efb(0x3b2)](_0x376aa4[_0x545efb(0x14c)])[_0x545efb(0x2b8)](_0x3fdd32=>{const _0x2f884d=_0x545efb;let _0x33af5a=this[_0x2f884d(0xf5)](_0xf9d755,_0x3fdd32);return _0x33af5a===void 0x0?[]:[{'recordId':_0x3fdd32['id'],'values':{[_0xf9d755['id']]:_0x33af5a}}];});}[_0x17666d(0xf5)](_0xc63d9,_0xf264c5){const _0x38c156=_0x17666d;switch(_0xc63d9['type']){case _0x4d7b12[_0x38c156(0x419)]['CreatedBy']:return _0xf264c5[_0x38c156(0x21b)]??this[_0x38c156(0x340)]();case _0x4d7b12[_0x38c156(0x419)]['UpdatedBy']:return _0xf264c5[_0x38c156(0x163)]??this[_0x38c156(0x340)]();case _0x4d7b12[_0x38c156(0x419)][_0x38c156(0x1a0)]:return _0x42237b(_0xf264c5[_0x38c156(0x198)]??Date[_0x38c156(0x19c)]());case _0x4d7b12[_0x38c156(0x419)]['UpdatedAt']:return _0x42237b(_0xf264c5[_0x38c156(0x2b0)]??Date[_0x38c156(0x19c)]());default:return;}}[_0x17666d(0x2b9)](_0x51fcf5){const _0x119113=_0x17666d;let _0x7ba07=new Map();return _0x51fcf5&&_0x51fcf5[_0x119113(0x33f)][_0x119113(0x3cc)](_0x375f57=>{const _0xdb3323=_0x119113;let _0x44cc2=_0x51fcf5[_0xdb3323(0x129)][_0x375f57];(_0x44cc2==null?void 0x0:_0x44cc2['type'])===_0x4d7b12[_0xdb3323(0x419)][_0xdb3323(0x279)]&&_0x7ba07['set'](_0x375f57,this[_0xdb3323(0x2cf)](_0x51fcf5,_0x375f57));}),_0x7ba07;}[_0x17666d(0x2cf)](_0x59450b,_0x2ef2a8){const _0x2550bd=_0x17666d;let _0x352310=Object['values'](_0x59450b[_0x2550bd(0x14c)])[_0x2550bd(0x2d9)]((_0x107fe2,_0x4c5c16)=>{const _0x1623a0=_0x2550bd;let _0x174b51=Number(_0x4c5c16[_0x1623a0(0x3b2)][_0x2ef2a8]);return Number[_0x1623a0(0x1c5)](_0x174b51)?Math['max'](_0x107fe2,_0x174b51):_0x107fe2;},0x0);return()=>String(++_0x352310);}[_0x17666d(0x1dc)](_0x3f21d2,_0x55aa36){const _0x43ce2a=_0x17666d;let _0x41bd59=this[_0x43ce2a(0x296)](_0x3f21d2),_0x1a6de4=this['_createNumberingAllocator'](_0x3f21d2,_0x55aa36);return _0x41bd59[_0x43ce2a(0x2b8)](_0x2a1549=>this[_0x43ce2a(0x257)](_0x2a1549[_0x43ce2a(0x3b2)][_0x55aa36])?[]:[{'recordId':_0x2a1549['id'],'values':{[_0x55aa36]:_0x1a6de4()}}]);}[_0x17666d(0x296)](_0x4afa64){const _0x89ac0f=_0x17666d;var _0x796e15;let _0x44c555=Object[_0x89ac0f(0x3b2)](_0x4afa64[_0x89ac0f(0x14c)]),_0x1aa94a=new Map(_0x44c555['map'](_0x1b74e3=>[_0x1b74e3['id'],_0x1b74e3])),_0x3dcd6b=[],_0x19b61a=new Set();(_0x796e15=_0x4afa64[_0x89ac0f(0x370)])==null||_0x796e15['forEach'](_0x434eb0=>{const _0x46a282=_0x89ac0f;let _0x236f32=_0x1aa94a[_0x46a282(0x9f)](_0x434eb0);_0x236f32&&(_0x3dcd6b[_0x46a282(0x112)](_0x236f32),_0x19b61a[_0x46a282(0x3a1)](_0x434eb0));});let _0x597764=_0x44c555['filter'](_0x2bd1b2=>!_0x19b61a['has'](_0x2bd1b2['id']))[_0x89ac0f(0x3bb)]((_0x580814,_0x6aad22)=>String(_0x580814['orderKey']??_0x580814['id'])['localeCompare'](String(_0x6aad22[_0x89ac0f(0x46d)]??_0x6aad22['id']))||_0x580814['id']['localeCompare'](_0x6aad22['id']));return[..._0x3dcd6b,..._0x597764];}['_isNonEmptyCellValue'](_0x61d621){const _0x5ad1d8=_0x17666d;return _0x61d621!=null&&_0x61d621!==''&&!(Array[_0x5ad1d8(0x46e)](_0x61d621)&&_0x61d621[_0x5ad1d8(0x278)]===0x0);}[_0x17666d(0x340)](){const _0x4e1e92=_0x17666d;var _0x555ace,_0x5a74f5,_0x328904,_0xb1caf4;return((_0x555ace=(_0x5a74f5=this[_0x4e1e92(0xc7)])[_0x4e1e92(0x13f)])==null?void 0x0:_0x555ace['call'](_0x5a74f5))??((_0x328904=(_0xb1caf4=this[_0x4e1e92(0xc7)])['getCurrentUser'])==null||(_0x328904=_0x328904['call'](_0xb1caf4))==null?void 0x0:_0x328904[_0x4e1e92(0xb8)])??void 0x0;}['_normalizeCellValue'](_0x29b11f,_0x3d0976,_0x1a334f,_0x27b7dd,_0x2fcf2a){const _0x972923=_0x17666d;var _0xc8f9ef;if(!this['_permissionService'][_0x972923(0x2ac)](_0x3d0976,_0x1a334f,_0x27b7dd))throw Error(_0x972923(0xa9));let _0x2a3d39=(_0xc8f9ef=_0x29b11f['tables'][_0x3d0976])==null?void 0x0:_0xc8f9ef[_0x972923(0x129)][_0x27b7dd];if(!_0x2a3d39)throw Error(_0x972923(0x1a2)+_0x27b7dd+_0x972923(0x113));let _0x5a2c9e=this[_0x972923(0x250)][_0x972923(0x9f)](_0x2a3d39[_0x972923(0x466)]);if(_0x2a3d39[_0x972923(0x124)]||_0x2a3d39[_0x972923(0x43a)]||!_0x5a2c9e[_0x972923(0x94)](_0x2a3d39)['editable'])throw Error(_0x972923(0x461));let _0x554089=_0x5a2c9e['normalize'](_0x2fcf2a,_0x2a3d39),_0x5cac0c=_0x5a2c9e[_0x972923(0x1aa)](_0x554089,_0x2a3d39);if(!_0x5cac0c[_0x972923(0x1d5)])throw Error(_0x5cac0c['reason']??_0x972923(0x16a));let _0x2aab3c=_0x2a3d39['type']===_0x4d7b12[_0x972923(0x419)]['RecordLink']?_0x475374(_0x29b11f,_0x2a3d39,_0x554089):{'valid':!0x0};if(!_0x2aab3c[_0x972923(0x1d5)])throw Error(_0x2aab3c[_0x972923(0x44e)]??_0x972923(0xe7));return _0x554089;}['_assertFieldDefinition'](_0x150bb6,_0x57ebc0){const _0x32c52b=_0x17666d;if(_0x57ebc0['id']===_0x4d7b12[_0x32c52b(0x36b)]||_0x57ebc0[_0x32c52b(0x466)]===_0x4d7b12[_0x32c52b(0x419)][_0x32c52b(0x266)]||(0x0,_0x4d7b12[_0x32c52b(0x449)])(_0x57ebc0['name']))throw Error(_0x32c52b(0x2a4));let _0xc647fc=_0x2bb568(_0x150bb6,_0x57ebc0);if(!_0xc647fc[_0x32c52b(0x1d5)])throw Error(_0xc647fc['reason']??_0x32c52b(0x3c3));}};_0x17807c=_0x505956([_0x2661c4(0x0,_0x2403d4),_0x2661c4(0x1,_0x336523)],_0x17807c);function _0x590b82(){const _0x199846=_0x17666d;let _0x1ee150=new _0x21739f();return _0x5d1e9d()[_0x199846(0x3cc)](_0x486eef=>_0x1ee150[_0x199846(0x2af)](_0x486eef)),_0x1ee150;}function _0x29376d(_0xc8ca32){const _0x3b48c9=_0x17666d;return _0xc8ca32[_0x3b48c9(0x466)]===_0x4d7b12[_0x3b48c9(0x419)]['Numbering']||_0xc8ca32[_0x3b48c9(0x466)]===_0x4d7b12[_0x3b48c9(0x419)][_0x3b48c9(0x9a)]||_0xc8ca32['type']===_0x4d7b12[_0x3b48c9(0x419)][_0x3b48c9(0x186)]||_0xc8ca32[_0x3b48c9(0x466)]===_0x4d7b12[_0x3b48c9(0x419)][_0x3b48c9(0x1a0)]||_0xc8ca32[_0x3b48c9(0x466)]===_0x4d7b12['BaseFieldType']['UpdatedAt'];}let _0x496952=new Set([_0x4d7b12[_0x17666d(0x419)][_0x17666d(0x1d8)],_0x4d7b12[_0x17666d(0x419)][_0x17666d(0x3df)],_0x4d7b12['BaseFieldType'][_0x17666d(0x317)]]);function _0x1eb725(_0x5f456a){const _0x5ef13b=_0x17666d;let _0x2250c9=_0x5f456a[_0x5ef13b(0x129)][_0x5f456a[_0x5ef13b(0x455)]];if(!(_0x2250c9&&(_0x2250c9[_0x5ef13b(0x43a)]===!0x0||_0x2250c9['id']['toLowerCase']()==='id'||_0x2250c9[_0x5ef13b(0x208)][_0x5ef13b(0x11d)]()['toLowerCase']()==='id'))&&_0x2250c9)return _0x2250c9['id'];for(let _0x431b9f of _0x5f456a[_0x5ef13b(0x33f)]){let _0x469839=_0x5f456a['fields'][_0x431b9f];if(_0x469839&&_0x469839['id']!==_0x5f456a[_0x5ef13b(0x455)]&&_0x469839['system']!==!0x0&&_0x469839[_0x5ef13b(0x466)]!==_0x4d7b12[_0x5ef13b(0x419)][_0x5ef13b(0x266)])return _0x469839['id'];}return _0x5f456a[_0x5ef13b(0x455)];}function _0x22db8a(_0x1195b1,_0x3087a2=[],_0x3236e5=0x5){const _0x2fddfa=_0x17666d;let _0x130aec=new Set(_0x3087a2['filter'](_0xbc3c47=>!!_0xbc3c47)),_0x13e0e9=[],_0x1a6b94=[];for(let _0x2bb657 of _0x1195b1[_0x2fddfa(0x33f)]){let _0x4261bf=_0x1195b1[_0x2fddfa(0x129)][_0x2bb657];_0x4261bf&&_0x4261bf[_0x2fddfa(0x43a)]!==!0x0&&_0x4261bf[_0x2fddfa(0x466)]!==_0x4d7b12['BaseFieldType']['RecordId']&&!_0x130aec[_0x2fddfa(0x1eb)](_0x4261bf['id'])&&(_0x496952[_0x2fddfa(0x1eb)](_0x4261bf[_0x2fddfa(0x466)])?_0x13e0e9:_0x1a6b94)[_0x2fddfa(0x112)](_0x4261bf['id']);}return[..._0x13e0e9,..._0x1a6b94]['slice'](0x0,_0x3236e5);}function _0x2efe7c(){const _0x2ec992=_0x17666d;return[{'type':_0x4d7b12[_0x2ec992(0xd3)][_0x2ec992(0x36e)],'i18nKey':_0x2ec992(0xfb),'createDefaultConfig':()=>({}),'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{const _0xe31aa5=_0x2ec992;throw Error(_0xe31aa5(0x99));}},{'type':_0x4d7b12[_0x2ec992(0xd3)][_0x2ec992(0x26c)],'i18nKey':'base.viewType.kanban','createDefaultConfig':_0x52d98b=>{const _0x13551b=_0x2ec992;let _0x293114=_0x37f27e(_0x52d98b);return{'groupFieldId':_0x293114,'coverFieldId':null,'cardLayout':_0x13551b(0x261),'showFieldNames':!0x0,'fieldSettings':{},'columnSettings':{},'card':{'titleFieldId':_0x52d98b[_0x13551b(0x455)],'fieldIds':_0x22db8a(_0x52d98b,[_0x52d98b[_0x13551b(0x455)],_0x293114])}};},'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{const _0x1381e8=_0x2ec992;throw Error(_0x1381e8(0x181));}},{'type':_0x4d7b12['BaseViewType'][_0x2ec992(0x406)],'i18nKey':_0x2ec992(0x149),'createDefaultConfig':_0x1ec320=>{const _0x9e8f71=_0x2ec992;let _0x5b09d7=_0x255c65(_0x1ec320);return{'startDateFieldId':_0x5b09d7,'endDateFieldId':_0x428172(_0x1ec320,_0x5b09d7),'titleFieldId':_0x1ec320[_0x9e8f71(0x455)],'mode':_0x9e8f71(0x176),'timeslotSize':_0x9e8f71(0x28c),'timeZone':_0x9e8f71(0x1b9),'displayColor':{'type':_0x9e8f71(0x2c4),'color':_0x9e8f71(0x15c)},'fieldSettings':{}};},'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{const _0x359844=_0x2ec992;throw Error(_0x359844(0x378));}},{'type':_0x4d7b12[_0x2ec992(0xd3)][_0x2ec992(0x35f)],'i18nKey':_0x2ec992(0x2a0),'createDefaultConfig':_0x505bc6=>{const _0x5c37c8=_0x2ec992;let _0x581c6f=_0x255c65(_0x505bc6);return{'startDateFieldId':_0x581c6f,'endDateFieldId':_0x428172(_0x505bc6,_0x581c6f)??_0x581c6f,'titleFieldId':_0x505bc6[_0x5c37c8(0x455)],'scale':_0x5c37c8(0x176),'showTodayLine':!0x0,'displayColor':{'type':_0x5c37c8(0x2c4),'color':'#14b8a6'},'fieldSettings':{},'workingDaysOnly':!0x1};},'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{const _0x47b387=_0x2ec992;throw Error(_0x47b387(0x20d));}},{'type':_0x4d7b12[_0x2ec992(0xd3)]['Gallery'],'i18nKey':'base.viewType.gallery','createDefaultConfig':_0x3c5647=>{const _0x261835=_0x2ec992;let _0x593684=_0x1eb725(_0x3c5647);return{'coverFieldId':null,'cardLayout':'normal','showFieldNames':!0x0,'fieldSettings':{},'card':{'titleFieldId':_0x593684,'coverFieldId':null,'fieldIds':_0x22db8a(_0x3c5647,[_0x593684,_0x3c5647[_0x261835(0x455)]])},'cardSize':_0x261835(0x28c)};},'validateConfig':()=>({'valid':!0x0}),'buildProjection':()=>{const _0x545fbf=_0x2ec992;throw Error(_0x545fbf(0x25b));}}];}function _0x37f27e(_0x535cfd){const _0x4141e9=_0x17666d;var _0x27d18d,_0x3c795a,_0x51d97b;let _0x269716=_0x535cfd[_0x4141e9(0x33f)][_0x4141e9(0xd9)](_0x5cad4c=>_0x535cfd[_0x4141e9(0x129)][_0x5cad4c])[_0x4141e9(0x425)](_0x4defcf=>!!_0x4defcf);return((_0x27d18d=_0x269716[_0x4141e9(0x3b6)](_0x4bb8f4=>_0x4bb8f4['type']===_0x4d7b12[_0x4141e9(0x419)][_0x4141e9(0x191)]||_0x4bb8f4[_0x4141e9(0x466)]===_0x4d7b12[_0x4141e9(0x419)]['MultiSelect']||_0x4bb8f4[_0x4141e9(0x466)]===_0x4d7b12[_0x4141e9(0x419)]['Group']))==null?void 0x0:_0x27d18d['id'])??((_0x3c795a=_0x269716[_0x4141e9(0x3b6)](_0x26a71f=>_0x26a71f['type']===_0x4d7b12[_0x4141e9(0x419)][_0x4141e9(0x87)]))==null?void 0x0:_0x3c795a['id'])??((_0x51d97b=_0x269716['find'](_0x41dfbc=>_0x41dfbc[_0x4141e9(0x466)]===_0x4d7b12[_0x4141e9(0x419)][_0x4141e9(0x32c)]||_0x41dfbc['type']===_0x4d7b12[_0x4141e9(0x419)][_0x4141e9(0x1a0)]||_0x41dfbc[_0x4141e9(0x466)]===_0x4d7b12['BaseFieldType'][_0x4141e9(0x2e7)]))==null?void 0x0:_0x51d97b['id'])??_0x535cfd[_0x4141e9(0x455)];}function _0x255c65(_0x293e04){const _0xd75493=_0x17666d;var _0x42cf70;return((_0x42cf70=_0x293e04['fieldOrder'][_0xd75493(0xd9)](_0x332f81=>_0x293e04[_0xd75493(0x129)][_0x332f81])[_0xd75493(0x3b6)](_0x452fb3))==null?void 0x0:_0x42cf70['id'])??'';}function _0x428172(_0x3b04f8,_0x11bec4){const _0x319e5b=_0x17666d;var _0x3457c0;return(_0x3457c0=_0x3b04f8['fieldOrder'][_0x319e5b(0xd9)](_0x3ddc6d=>_0x3b04f8[_0x319e5b(0x129)][_0x3ddc6d])[_0x319e5b(0x3b6)](_0x4d5b67=>_0x452fb3(_0x4d5b67)&&_0x4d5b67['id']!==_0x11bec4))==null?void 0x0:_0x3457c0['id'];}function _0x452fb3(_0x1e5dff){const _0x177050=_0x17666d;return!!_0x1e5dff&&_0x1e5dff['type']===_0x4d7b12[_0x177050(0x419)][_0x177050(0x32c)]&&_0x1e5dff[_0x177050(0x124)]!==!0x0&&_0x1e5dff[_0x177050(0x43a)]!==!0x0;}let _0x465d1d=(0x0,_0x4d7b12['createIdentifier'])(_0x17666d(0x164)),_0x3f7da6=new Set([_0x4d7b12[_0x17666d(0x419)][_0x17666d(0x34f)],_0x4d7b12[_0x17666d(0x419)][_0x17666d(0x1fe)],_0x4d7b12['BaseFieldType'][_0x17666d(0x1d8)],_0x4d7b12[_0x17666d(0x419)]['Rating'],_0x4d7b12['BaseFieldType'][_0x17666d(0x32c)],_0x4d7b12[_0x17666d(0x419)][_0x17666d(0x1a0)],_0x4d7b12[_0x17666d(0x419)]['UpdatedAt'],_0x4d7b12['BaseFieldType']['Checkbox']]),_0x2f3355=class extends _0x4d7b12[_0x17666d(0x134)]{constructor(_0x156dc8){const _0x549a24=_0x17666d;super(),this[_0x549a24(0x250)]=_0x156dc8,_0x4aa85f(this,_0x549a24(0x126),new Map()),_0x4aa85f(this,_0x549a24(0x18f),new WeakMap()),_0x4aa85f(this,_0x549a24(0x1ed),new Map()),_0x4aa85f(this,_0x549a24(0x307),new Map()),_0x4aa85f(this,_0x549a24(0x147),new Map()),_0x4aa85f(this,_0x549a24(0x36c),new Map()),_0x4aa85f(this,'_globalRevision',0x0),_0x4aa85f(this,_0x549a24(0x3a0),new Map()),_0x4aa85f(this,'_cellRevisions',new Map()),_0x4aa85f(this,_0x549a24(0x389),new Map()),_0x4aa85f(this,_0x549a24(0x276),new Map());}[_0x17666d(0x2cc)](_0x291334){const _0x3e507f=_0x17666d;return this[_0x3e507f(0x126)]['set'](_0x291334[_0x3e507f(0x466)],_0x291334),(0x0,_0x4d7b12['toDisposable'])(()=>this[_0x3e507f(0x126)][_0x3e507f(0x205)](_0x291334['type']));}[_0x17666d(0x1c4)](_0xdc08fe,_0x5bb1e0,_0x2235cd){const _0x5b23d1=_0x17666d;var _0x2ab1a4,_0x24cd04,_0x45d24b;return _0x1b2201('BaseProjection.getProjection',()=>{const _0x5e3f39=_0x2760;let _0x3c03bb=this[_0x5e3f39(0xaf)](_0xdc08fe,_0x5bb1e0,_0x2235cd);if(_0x3c03bb)return _0x3c03bb;let _0x4c0bcb=_0xdc08fe[_0x5e3f39(0x334)][_0x5bb1e0],_0x4f04e6=_0x4c0bcb==null?void 0x0:_0x4c0bcb['views'][_0x2235cd];if(!_0x4c0bcb||!_0x4f04e6)return this[_0x5e3f39(0x2b5)](_0xdc08fe,_0x5bb1e0,_0x2235cd,{'type':_0x5e3f39(0x110),'viewType':(_0x4f04e6==null?void 0x0:_0x4f04e6['type'])??_0x4d7b12['BaseViewType'][_0x5e3f39(0x36e)],'reason':'missingField'});let _0x457d00;switch(_0x4f04e6[_0x5e3f39(0x466)]){case _0x4d7b12[_0x5e3f39(0xd3)][_0x5e3f39(0x36e)]:_0x457d00=this[_0x5e3f39(0xc4)](_0x4c0bcb,_0x4f04e6);break;case _0x4d7b12[_0x5e3f39(0xd3)]['Gantt']:_0x457d00=this['_buildGantt'](_0x4c0bcb,_0x4f04e6);break;case _0x4d7b12[_0x5e3f39(0xd3)]['Kanban']:_0x457d00=this[_0x5e3f39(0x3a2)](_0x4c0bcb,_0x4f04e6);break;case _0x4d7b12[_0x5e3f39(0xd3)][_0x5e3f39(0x406)]:_0x457d00=this[_0x5e3f39(0xaa)](_0x4c0bcb,_0x4f04e6);break;case _0x4d7b12[_0x5e3f39(0xd3)][_0x5e3f39(0x141)]:_0x457d00=this[_0x5e3f39(0x435)](_0x4c0bcb,_0x4f04e6);break;default:_0x457d00={'type':_0x5e3f39(0x110),'viewType':_0x4f04e6[_0x5e3f39(0x466)],'reason':_0x5e3f39(0x16e)};}return this['_setCachedProjection'](_0xdc08fe,_0x5bb1e0,_0x2235cd,_0x457d00);},{'tableId':_0x5bb1e0,'viewId':_0x2235cd,'viewType':(_0x2ab1a4=_0xdc08fe[_0x5b23d1(0x334)][_0x5bb1e0])==null||(_0x2ab1a4=_0x2ab1a4[_0x5b23d1(0x420)][_0x2235cd])==null?void 0x0:_0x2ab1a4[_0x5b23d1(0x466)],'records':((_0x24cd04=_0xdc08fe[_0x5b23d1(0x334)][_0x5bb1e0])==null||(_0x24cd04=_0x24cd04[_0x5b23d1(0x370)])==null?void 0x0:_0x24cd04['length'])??Object[_0x5b23d1(0x3d7)](((_0x45d24b=_0xdc08fe['tables'][_0x5bb1e0])==null?void 0x0:_0x45d24b[_0x5b23d1(0x14c)])??{})['length']});}['repairViewConfig'](_0x675896,_0x4278b5,_0x40a894){const _0x52aa65=_0x17666d;var _0x30298b,_0x3f8935,_0x54fce5;let _0x283469=_0x675896[_0x52aa65(0x334)][_0x4278b5],_0x41a919=_0x283469==null?void 0x0:_0x283469['views'][_0x40a894];if(!_0x283469||!_0x41a919)throw Error(_0x52aa65(0x23e)+_0x40a894+'\x22.');let _0x45c510=_0x220c06=>!!_0x283469[_0x52aa65(0x129)][_0x220c06],_0x38fd7a={..._0x41a919,'filter':_0x41a919[_0x52aa65(0x425)]?{..._0x41a919['filter'],'conditions':_0x41a919['filter']['conditions'][_0x52aa65(0x425)](_0x28a28f=>_0x45c510(_0x28a28f[_0x52aa65(0x424)]))}:_0x41a919[_0x52aa65(0x425)],'sort':(_0x30298b=_0x41a919['sort'])==null?void 0x0:_0x30298b['filter'](_0x584c78=>_0x45c510(_0x584c78['fieldId'])),'group':(_0x3f8935=_0x41a919[_0x52aa65(0x161)])==null?void 0x0:_0x3f8935[_0x52aa65(0x425)](_0x8058f1=>_0x45c510(_0x8058f1[_0x52aa65(0x424)])),'fieldOrder':(_0x54fce5=_0x41a919[_0x52aa65(0x33f)])==null?void 0x0:_0x54fce5['filter'](_0x45c510),'fieldSettings':Object[_0x52aa65(0x88)](Object[_0x52aa65(0x45d)](_0x41a919[_0x52aa65(0x2fd)]??{})[_0x52aa65(0x425)](([_0x46cd6c])=>_0x45c510(_0x46cd6c)))};if(_0x38fd7a[_0x52aa65(0x466)]===_0x52aa65(0x3fb)){var _0x2f0c50;let _0x39c4e6=_0x38fd7a[_0x52aa65(0x39d)]??{},_0x3f540f=this[_0x52aa65(0x1e7)](_0x283469,_0x38fd7a),_0xd0d21b=this[_0x52aa65(0x15e)](_0x283469,(_0x2f0c50=_0x39c4e6[_0x52aa65(0x36a)])==null?void 0x0:_0x2f0c50[_0x52aa65(0x353)]);_0x38fd7a[_0x52aa65(0x39d)]={..._0x39c4e6,'groupFieldId':_0x3f540f??_0x39c4e6[_0x52aa65(0x454)],'coverFieldId':this[_0x52aa65(0x1db)](_0x283469,_0x39c4e6),'cardLayout':_0x39c4e6[_0x52aa65(0x2a8)]===_0x52aa65(0x1e6)?_0x52aa65(0x1e6):_0x52aa65(0x261),'showFieldNames':_0x39c4e6[_0x52aa65(0x23a)]!==!0x1,'fieldSettings':Object[_0x52aa65(0x88)](Object['entries'](_0x39c4e6[_0x52aa65(0x2fd)]??{})[_0x52aa65(0x425)](([_0x5707fe])=>_0x45c510(_0x5707fe))),'columnSettings':_0x39c4e6[_0x52aa65(0x37b)]??{},'card':{..._0x39c4e6[_0x52aa65(0x36a)]??{},'titleFieldId':_0xd0d21b,'fieldIds':this[_0x52aa65(0x3b1)](_0x283469,_0x38fd7a,_0x3f540f??'',_0xd0d21b)}};}return{'repaired':JSON[_0x52aa65(0x33d)](_0x38fd7a)!==JSON[_0x52aa65(0x33d)](_0x41a919),'view':_0x38fd7a};}[_0x17666d(0x403)](){const _0x21520e=_0x17666d;this[_0x21520e(0x39c)]++;}[_0x17666d(0x1f7)](_0x32edb8,_0x30d42b,_0x12d55d){const _0x16885b=_0x17666d;let _0x3d05e0=this[_0x16885b(0x457)](_0x32edb8)+0x1;this[_0x16885b(0x255)][_0x16885b(0x12c)](_0x32edb8,_0x3d05e0);let _0x2b7610=this[_0x16885b(0x389)][_0x16885b(0x9f)](_0x32edb8)??[];_0x2b7610[_0x16885b(0x112)]({'revision':_0x3d05e0,'recordId':_0x30d42b,'fieldId':_0x12d55d}),this[_0x16885b(0x389)][_0x16885b(0x12c)](_0x32edb8,_0x2b7610);}[_0x17666d(0x18a)](_0x2c4842,_0x982291){const _0x21d51d=_0x17666d;this[_0x21d51d(0x1b2)](_0x2c4842);}['invalidateByView'](_0x5eb3e8,_0x5a9324){const _0xe1b2c9=_0x17666d;this['_viewRevisions'][_0xe1b2c9(0x12c)](this['_viewRevisionKey'](_0x5eb3e8,_0x5a9324),this[_0xe1b2c9(0x1e5)](_0x5eb3e8,_0x5a9324)+0x1);}['_getCachedProjection'](_0x3ffb80,_0x3ab9ad,_0x35e139){const _0xb2dc9c=_0x17666d;var _0xbec2b6;let _0x38a4f9=(_0xbec2b6=this[_0xb2dc9c(0x18f)][_0xb2dc9c(0x9f)](_0x3ffb80))==null?void 0x0:_0xbec2b6[_0xb2dc9c(0x9f)](this[_0xb2dc9c(0xa1)](_0x3ab9ad,_0x35e139));return _0x38a4f9&&_0x38a4f9[_0xb2dc9c(0x3e9)]===this[_0xb2dc9c(0x39c)]&&_0x38a4f9['tableRevision']===this[_0xb2dc9c(0xec)](_0x3ab9ad)&&_0x38a4f9[_0xb2dc9c(0x18c)]===this[_0xb2dc9c(0x457)](_0x3ab9ad)&&_0x38a4f9[_0xb2dc9c(0x123)]===this[_0xb2dc9c(0x1e5)](_0x3ab9ad,_0x35e139)?_0x38a4f9[_0xb2dc9c(0x175)]:null;}[_0x17666d(0x2b5)](_0x2db568,_0x4edba3,_0x41c9d9,_0xf91919){const _0x252b0d=_0x17666d;let _0x22c74e=this[_0x252b0d(0x18f)][_0x252b0d(0x9f)](_0x2db568);return _0x22c74e||(_0x22c74e=new Map(),this[_0x252b0d(0x18f)]['set'](_0x2db568,_0x22c74e)),_0x22c74e[_0x252b0d(0x12c)](this[_0x252b0d(0xa1)](_0x4edba3,_0x41c9d9),{'projection':_0xf91919,'globalRevision':this[_0x252b0d(0x39c)],'tableRevision':this[_0x252b0d(0xec)](_0x4edba3),'cellRevision':this[_0x252b0d(0x457)](_0x4edba3),'viewRevision':this[_0x252b0d(0x1e5)](_0x4edba3,_0x41c9d9)}),_0xf91919;}[_0x17666d(0x1b2)](_0x375c7f){const _0x865d1c=_0x17666d;this[_0x865d1c(0x3a0)][_0x865d1c(0x12c)](_0x375c7f,this[_0x865d1c(0xec)](_0x375c7f)+0x1);}['_getTableRevision'](_0x579bc6){const _0x50963c=_0x17666d;return this['_tableRevisions'][_0x50963c(0x9f)](_0x579bc6)??0x0;}[_0x17666d(0x457)](_0x9e6b8){const _0x3e7ba0=_0x17666d;return this['_cellRevisions'][_0x3e7ba0(0x9f)](_0x9e6b8)??0x0;}[_0x17666d(0x1e5)](_0x5b96aa,_0x13ee21){const _0x4c0335=_0x17666d;return this[_0x4c0335(0x276)][_0x4c0335(0x9f)](this[_0x4c0335(0x224)](_0x5b96aa,_0x13ee21))??0x0;}[_0x17666d(0xa1)](_0x68fa3a,_0x333e18){return _0x68fa3a+'\x00'+_0x333e18;}[_0x17666d(0x1f3)](_0x36829e,_0x2c2f1a){const _0x4e01cd=_0x17666d;return _0x36829e+'\x00'+this[_0x4e01cd(0xcd)](_0x2c2f1a);}[_0x17666d(0x2f1)](_0x1c79db,_0x3e5712,_0x2e76d6){return _0x1c79db+'\x00'+this['_rowTransformCacheSegment'](_0x3e5712)+'\x00'+this['_groupConfigCacheSegment'](_0x2e76d6);}[_0x17666d(0xcd)](_0x3c0303){const _0x443fb8=_0x17666d;return _0x3c0303?_0x50acc0({'filter':_0x3efe58(_0x3c0303[_0x443fb8(0x425)]),'sort':_0xc32512(_0x3c0303[_0x443fb8(0x3bb)])}):'__all__';}[_0x17666d(0x431)](_0x5e749a){const _0x45060e=_0x17666d;return _0x50acc0(_0x5e749a[_0x45060e(0xd9)](_0x2c12f2=>({'fieldId':_0x2c12f2[_0x45060e(0x424)],'direction':_0x2c12f2[_0x45060e(0x27c)]??null})));}['_viewRevisionKey'](_0x1f8134,_0x5c9b14){return _0x1f8134+'\x00'+_0x5c9b14;}[_0x17666d(0xc4)](_0x26fc27,_0xfe5eea){const _0x2ec70d=_0x17666d;var _0x838abf;let _0x186994=_0x2a161a(_0x26fc27),_0x4254e5=this[_0x2ec70d(0x470)](_0x26fc27,_0xfe5eea),_0x14364b=(_0x838abf=_0xfe5eea['filter'])!=null&&_0x838abf[_0x2ec70d(0x2ee)][_0x2ec70d(0x278)]?this[_0x2ec70d(0x470)](_0x26fc27,{..._0xfe5eea,'filter':null}):_0x4254e5,_0x57a31d=_0xaacbb4(this[_0x2ec70d(0x3c2)](_0x26fc27,_0x186994,_0xfe5eea['id'],_0x14364b[_0x2ec70d(0xd9)](_0x476675=>_0x476675[_0x2ec70d(0x23d)])),_0x14364b,new Set(_0x4254e5['map'](_0x2edca6=>_0x2edca6[_0x2ec70d(0x23d)])));return{'type':_0x4d7b12['BaseViewType'][_0x2ec70d(0x36e)],'fields':this['_projectFields'](_0x26fc27,_0xfe5eea),'rows':_0x57a31d[_0x2ec70d(0x90)],'groups':this[_0x2ec70d(0x16f)](_0x26fc27,_0xfe5eea,_0x57a31d[_0x2ec70d(0x90)],_0x57a31d[_0x2ec70d(0x23b)]),'hierarchy':_0x57a31d[_0x2ec70d(0x23b)],'frozenFieldCount':typeof _0xfe5eea[_0x2ec70d(0x39d)][_0x2ec70d(0x21a)]==_0x2ec70d(0x2c1)?_0xfe5eea[_0x2ec70d(0x39d)][_0x2ec70d(0x21a)]:0x0};}['_getHierarchyIndex'](_0x50d0d2,_0x3bf1c2,_0x384685,_0x4da7c5){const _0x2cdc29=_0x17666d;let _0x49eed0=_0x50d0d2['id']+'\x00'+_0x3bf1c2+'\x00'+_0x384685,_0x178b2f=this[_0x2cdc29(0x457)](_0x50d0d2['id']),_0x39bb49=this[_0x2cdc29(0x36c)][_0x2cdc29(0x9f)](_0x49eed0);if(_0x39bb49&&_0x39bb49[_0x2cdc29(0x3e9)]===this['_globalRevision']&&_0x39bb49['tableRevision']===this[_0x2cdc29(0xec)](_0x50d0d2['id'])){if(_0x39bb49['cellRevision']===_0x178b2f&&_0x39bb49[_0x2cdc29(0x39f)]===_0x50d0d2)return _0x39bb49[_0x2cdc29(0x293)];if(!this[_0x2cdc29(0x2f9)](_0x50d0d2['id'],_0x39bb49[_0x2cdc29(0x18c)],_0x178b2f,new Set([_0x3bf1c2])))return this[_0x2cdc29(0x36c)][_0x2cdc29(0x12c)](_0x49eed0,{..._0x39bb49,'table':_0x50d0d2,'cellRevision':_0x178b2f}),_0x39bb49['index'];}let _0x4a5cfd=_0x19fe79(_0x50d0d2,_0x3bf1c2,_0x4da7c5);return this[_0x2cdc29(0x36c)][_0x2cdc29(0x12c)](_0x49eed0,{'table':_0x50d0d2,'index':_0x4a5cfd,'globalRevision':this[_0x2cdc29(0x39c)],'tableRevision':this[_0x2cdc29(0xec)](_0x50d0d2['id']),'cellRevision':_0x178b2f}),_0x4a5cfd;}[_0x17666d(0x16f)](_0x4996e4,_0x5e476e,_0x6b63e3,_0x3772a8){const _0xe8980a=_0x17666d;var _0x502c25;if(!((_0x502c25=_0x5e476e['group'])!=null&&_0x502c25[_0xe8980a(0x278)]))return[];let _0x2363e1=new Map(_0x6b63e3[_0xe8980a(0xd9)](_0x5789f4=>[_0x5789f4['recordId'],_0x5789f4])),_0x118dbd=_0x3772a8[_0xe8980a(0x280)][_0xe8980a(0x2b8)](_0x308b43=>{const _0x557bff=_0xe8980a;let _0x4b9a18=_0x2363e1[_0x557bff(0x9f)](_0x308b43);return _0x4b9a18?[_0x4b9a18]:[];}),_0x15b2f0=this['_projectGroups'](_0x4996e4,_0x5e476e,_0x118dbd),_0x52cb0f=new Map(_0x3772a8[_0xe8980a(0x269)][_0xe8980a(0xd9)]((_0x97e570,_0x15b4f1)=>[_0x97e570,_0x15b4f1])),_0x2cae7b=_0x28f678=>{const _0x6fb9c4=_0xe8980a;let _0x541929=_0x3772a8['nodes'][_0x28f678],_0x228d37=_0x52cb0f[_0x6fb9c4(0x9f)](_0x28f678)??-0x1;return _0x228d37<0x0||!_0x541929?[]:_0x3772a8[_0x6fb9c4(0x269)]['slice'](_0x228d37,_0x541929[_0x6fb9c4(0x2bc)]+0x1);},_0x28f58c=_0x2b386c=>{const _0x3c1508=_0xe8980a;var _0x5dad97,_0x5d1ca4;return{..._0x2b386c,'recordIds':(_0x5dad97=_0x2b386c[_0x3c1508(0x25f)])!=null&&_0x5dad97[_0x3c1508(0x278)]?_0x2b386c['recordIds']:_0x2b386c[_0x3c1508(0x391)][_0x3c1508(0x2b8)](_0x2cae7b),'children':(_0x5d1ca4=_0x2b386c[_0x3c1508(0x25f)])==null?void 0x0:_0x5d1ca4[_0x3c1508(0xd9)](_0x28f58c)};};return _0x15b2f0[_0xe8980a(0xd9)](_0x28f58c);}[_0x17666d(0x3a2)](_0x55c5b7,_0x5ed036){const _0xa739f8=_0x17666d;var _0x250418;let _0x35bfab=this[_0xa739f8(0x1e7)](_0x55c5b7,_0x5ed036),_0x107b8e=_0x35bfab?_0x55c5b7[_0xa739f8(0x129)][_0x35bfab]:void 0x0;if(!_0x107b8e)return{'type':_0xa739f8(0x110),'viewType':_0x4d7b12[_0xa739f8(0xd3)][_0xa739f8(0x26c)],'reason':_0xa739f8(0x1b1),'fieldId':_0x5ed036[_0xa739f8(0x39d)][_0xa739f8(0x454)]};let _0x440e81=this[_0xa739f8(0x470)](_0x55c5b7,_0x5ed036),_0x2021f1=this[_0xa739f8(0x41f)](_0x55c5b7,_0x5ed036),_0x1a94d3=_0x5ed036[_0xa739f8(0x39d)]??{},_0x1a2c9f=this['_resolveCardTitleFieldId'](_0x55c5b7,(_0x250418=_0x1a94d3['card'])==null?void 0x0:_0x250418['titleFieldId']),_0x2e1c7f=this[_0xa739f8(0x3b1)](_0x55c5b7,_0x5ed036,_0x107b8e['id'],_0x1a2c9f),_0x16cc00=new Map();if(_0x216ae2(_0x55c5b7,_0x107b8e['id'])){let _0x4f6554=this[_0xa739f8(0x3c2)](_0x55c5b7,_0x107b8e['id'],_0x5ed036['id'],_0x440e81[_0xa739f8(0xd9)](_0x23b67a=>_0x23b67a[_0xa739f8(0x23d)])),_0x57ca69=new Map();return _0x440e81['forEach'](_0x33fe6b=>{const _0x166471=_0xa739f8;let _0x19321d=_0x4f6554['parentByRecordId'][_0x166471(0x9f)](_0x33fe6b['recordId'])??null,_0x125a50=_0x19321d??'',_0x4615cc=_0x19321d?_0x55c5b7[_0x166471(0x14c)][_0x19321d]:void 0x0,_0xaa0c82=_0x57ca69[_0x166471(0x9f)](_0x125a50)??{'key':_0x125a50,'title':_0x4615cc?String(_0x5d14af(_0x55c5b7,_0x4615cc['id'],_0x55c5b7['primaryFieldId'])??_0x19321d):this[_0x166471(0xdd)](_0x107b8e,_0x125a50,_0x1a94d3),'recordIds':[]};_0xaa0c82[_0x166471(0x391)][_0x166471(0x112)](_0x33fe6b[_0x166471(0x23d)]),_0x57ca69[_0x166471(0x12c)](_0x125a50,_0xaa0c82);}),{'type':_0x4d7b12[_0xa739f8(0xd3)][_0xa739f8(0x26c)],'fields':_0x2021f1,'rows':_0x440e81,'groups':[],'groupFieldId':_0x107b8e['id'],'titleFieldId':_0x1a2c9f,'coverFieldId':this[_0xa739f8(0x1db)](_0x55c5b7,_0x1a94d3),'cardLayout':_0x1a94d3['cardLayout']===_0xa739f8(0x1e6)?_0xa739f8(0x1e6):_0xa739f8(0x261),'showFieldNames':_0x1a94d3[_0xa739f8(0x23a)]!==!0x1,'visibleCardFieldIds':_0x2e1c7f,'lanes':['',..._0x4f6554[_0xa739f8(0x269)]][_0xa739f8(0x2b8)](_0x2ebf51=>{const _0x339338=_0xa739f8;let _0x2545cc=_0x57ca69[_0x339338(0x9f)](_0x2ebf51);return _0x2545cc!=null&&_0x2545cc[_0x339338(0x391)][_0x339338(0x278)]?[_0x2545cc]:[];})};}return this[_0xa739f8(0x2b7)](_0x107b8e,_0x1a94d3)[_0xa739f8(0x3cc)](_0x3ff6da=>_0x16cc00[_0xa739f8(0x12c)](_0x3ff6da[_0xa739f8(0x3fa)],{..._0x3ff6da,'recordIds':[]})),_0x440e81[_0xa739f8(0x3cc)](_0xb3a7c1=>{const _0xd22c69=_0xa739f8;this[_0xd22c69(0x1ad)](_0x107b8e,_0xb3a7c1[_0xd22c69(0x3b2)][_0x107b8e['id']])['forEach'](_0x3fd2a4=>{const _0x33b787=_0xd22c69;let _0x5d4d5a=_0x16cc00['get'](_0x3fd2a4)??{'key':_0x3fd2a4,'title':this[_0x33b787(0xdd)](_0x107b8e,_0x3fd2a4,_0x1a94d3),'color':this['_kanbanLaneColor'](_0x107b8e,_0x3fd2a4,_0x1a94d3),'recordIds':[]};_0x5d4d5a[_0x33b787(0x391)][_0x33b787(0x112)](_0xb3a7c1[_0x33b787(0x23d)]),_0x16cc00[_0x33b787(0x12c)](_0x3fd2a4,_0x5d4d5a);});}),{'type':_0x4d7b12['BaseViewType'][_0xa739f8(0x26c)],'fields':_0x2021f1,'rows':_0x440e81,'groups':this[_0xa739f8(0x34e)](_0x55c5b7,_0x5ed036,_0x440e81),'groupFieldId':_0x107b8e['id'],'titleFieldId':_0x1a2c9f,'coverFieldId':this['_resolveKanbanCoverFieldId'](_0x55c5b7,_0x1a94d3),'cardLayout':_0x1a94d3[_0xa739f8(0x2a8)]===_0xa739f8(0x1e6)?_0xa739f8(0x1e6):'normal','showFieldNames':_0x1a94d3[_0xa739f8(0x23a)]!==!0x1,'visibleCardFieldIds':_0x2e1c7f,'lanes':Array[_0xa739f8(0x2ba)](_0x16cc00['values']())};}[_0x17666d(0x1e7)](_0x673b30,_0x11e828){const _0x5b7e21=_0x17666d;var _0x53ee40;let _0x33f0b1=(_0x53ee40=_0x11e828[_0x5b7e21(0x39d)])==null?void 0x0:_0x53ee40[_0x5b7e21(0x454)];return _0x33f0b1&&this[_0x5b7e21(0x450)](_0x673b30,_0x33f0b1)?_0x33f0b1:this['_findKanbanGroupField'](_0x673b30,_0x2853b6=>this['_isAllowedKanbanGroupField'](_0x2853b6));}[_0x17666d(0x29e)](_0x522fea,_0x2be1d6){const _0x4b8494=_0x17666d;for(let _0x3f4738 of _0x522fea[_0x4b8494(0x33f)]){let _0x2dea58=_0x522fea[_0x4b8494(0x129)][_0x3f4738];if(_0x2dea58&&_0x2be1d6(_0x2dea58))return _0x2dea58['id'];}return null;}['_isKanbanGroupField'](_0x3c2499,_0x3ab879){const _0x48dced=_0x17666d;let _0x392d46=_0x3c2499[_0x48dced(0x129)][_0x3ab879];return this[_0x48dced(0x41b)](_0x392d46)||_0x216ae2(_0x3c2499,_0x3ab879);}[_0x17666d(0x41b)](_0x3c67eb){const _0x454b8b=_0x17666d;return!!_0x3c67eb&&(_0x3c67eb[_0x454b8b(0x466)]===_0x4d7b12[_0x454b8b(0x419)]['SingleSelect']||_0x3c67eb[_0x454b8b(0x466)]===_0x4d7b12[_0x454b8b(0x419)]['MultiSelect']||_0x3c67eb[_0x454b8b(0x466)]===_0x4d7b12[_0x454b8b(0x419)][_0x454b8b(0x3df)]||_0x3c67eb[_0x454b8b(0x466)]===_0x4d7b12[_0x454b8b(0x419)]['Person']||_0x3c67eb[_0x454b8b(0x466)]===_0x4d7b12[_0x454b8b(0x419)][_0x454b8b(0x41c)]||_0x3c67eb[_0x454b8b(0x466)]===_0x4d7b12[_0x454b8b(0x419)][_0x454b8b(0x317)]);}['_isColorfulKanbanGroupField'](_0x5f2c8e){const _0x417b7e=_0x17666d;return _0x5f2c8e['type']===_0x4d7b12['BaseFieldType']['SingleSelect']||_0x5f2c8e[_0x417b7e(0x466)]===_0x4d7b12[_0x417b7e(0x419)]['MultiSelect'];}[_0x17666d(0x1db)](_0x47f1c0,_0x540131){const _0x192299=_0x17666d;var _0x45e3be;let _0x3ae32d=_0x540131['coverFieldId']??((_0x45e3be=_0x540131[_0x192299(0x36a)])==null?void 0x0:_0x45e3be[_0x192299(0x1e0)])??null;if(!_0x3ae32d)return null;let _0x9d412b=_0x47f1c0[_0x192299(0x129)][_0x3ae32d];return _0x9d412b&&this[_0x192299(0x33c)](_0x9d412b)[_0x192299(0x44b)]?_0x9d412b['id']:null;}[_0x17666d(0x3b1)](_0x3989fb,_0x269585,_0x394d7f,_0x3a24ba=this[_0x17666d(0x15e)](_0x3989fb,((()=>{const _0x521397=_0x17666d;var _0x2ed573;return(_0x2ed573=_0x269585[_0x521397(0x39d)])==null||(_0x2ed573=_0x2ed573[_0x521397(0x36a)])==null?void 0x0:_0x2ed573[_0x521397(0x353)];})()))){const _0x3628cc=_0x17666d;var _0x1ca878;let _0x4c6e65=_0x269585[_0x3628cc(0x39d)]??{},_0x23bcd6=(_0x1ca878=_0x4c6e65[_0x3628cc(0x36a)])!=null&&(_0x1ca878=_0x1ca878['fieldIds'])!=null&&_0x1ca878[_0x3628cc(0x278)]?_0x4c6e65[_0x3628cc(0x36a)][_0x3628cc(0x275)]:_0x22db8a(_0x3989fb,[_0x3a24ba,_0x3989fb['primaryFieldId'],_0x394d7f]),_0x5ee80f=_0x4c6e65[_0x3628cc(0x2fd)]??{};return _0x23bcd6['filter'](_0x7df98c=>{const _0x3ae750=_0x3628cc;var _0x2c5aec,_0x588f23;let _0x14b106=_0x3989fb[_0x3ae750(0x129)][_0x7df98c];return!(!_0x14b106||_0x14b106['system']===!0x0||_0x14b106[_0x3ae750(0x466)]===_0x4d7b12[_0x3ae750(0x419)][_0x3ae750(0x266)]||_0x14b106['id']===_0x394d7f||_0x14b106['id']===_0x3a24ba||(_0x2c5aec=_0x269585[_0x3ae750(0x2fd)])!=null&&(_0x2c5aec=_0x2c5aec[_0x7df98c])!=null&&_0x2c5aec['hidden']||(_0x588f23=_0x5ee80f[_0x7df98c])!=null&&_0x588f23[_0x3ae750(0x338)]);})[_0x3628cc(0x3bb)]((_0x5499ac,_0x4e8e55)=>{const _0x103c5b=_0x3628cc;var _0x7cb4b0,_0x201728;return(((_0x7cb4b0=_0x5ee80f[_0x5499ac])==null?void 0x0:_0x7cb4b0[_0x103c5b(0x245)])??_0x23bcd6['indexOf'](_0x5499ac))-(((_0x201728=_0x5ee80f[_0x4e8e55])==null?void 0x0:_0x201728[_0x103c5b(0x245)])??_0x23bcd6[_0x103c5b(0x211)](_0x4e8e55));});}[_0x17666d(0x2b7)](_0x7d0d3b,_0x170159){const _0x454ef3=_0x17666d;var _0x579afe;let _0x36ff95=(Array['isArray']((_0x579afe=_0x7d0d3b[_0x454ef3(0x39d)])==null?void 0x0:_0x579afe[_0x454ef3(0x3d9)])?_0x7d0d3b[_0x454ef3(0x39d)][_0x454ef3(0x3d9)]:[])[_0x454ef3(0x2b8)]((_0xfa4aa2,_0x30d9e9)=>{const _0x542bda=_0x454ef3;if(_0xfa4aa2==null)return[];let _0x3fc05c=typeof _0xfa4aa2=='string'?{'id':_0xfa4aa2,'name':_0xfa4aa2,'color':void 0x0}:_0xfa4aa2,_0x3c55e3=String(_0x3fc05c['id']??_0x3fc05c['name']??_0x542bda(0x11b)+(_0x30d9e9+0x1));return[{'key':_0x3c55e3,'title':String(_0x3fc05c['name']??_0x3fc05c['id']??_0x3c55e3),'color':this[_0x542bda(0x428)](_0x7d0d3b,_0x3c55e3,_0x170159)}];});return Object[_0x454ef3(0x45d)](_0x170159[_0x454ef3(0x37b)]??{})['forEach'](([_0x465275,_0x1b016e])=>{const _0x3e7b95=_0x454ef3;_0x36ff95[_0x3e7b95(0x256)](_0xf7bc07=>_0xf7bc07['key']===_0x465275)||_0x36ff95['push']({'key':_0x465275,'title':this[_0x3e7b95(0x173)](_0x7d0d3b)?_0x1b016e[_0x3e7b95(0x95)]??this[_0x3e7b95(0xdd)](_0x7d0d3b,_0x465275,_0x170159):this[_0x3e7b95(0xdd)](_0x7d0d3b,_0x465275,_0x170159),'color':this[_0x3e7b95(0x428)](_0x7d0d3b,_0x465275,_0x170159)});}),_0x36ff95;}[_0x17666d(0x1ad)](_0x46a579,_0x5c6147){const _0x43727b=_0x17666d;let _0x44f400=_0x337418=>{var _0x29c2f1;let _0x14d6b3=_0x337418==null?'':String(_0x337418);return!_0x14d6b3||!this['_isColorfulKanbanGroupField'](_0x46a579)?_0x14d6b3:((_0x29c2f1=_0x2f4b46(_0x46a579,_0x14d6b3))==null?void 0x0:_0x29c2f1['id'])??_0x14d6b3;};if(Array[_0x43727b(0x46e)](_0x5c6147)){let _0x548799=_0x5c6147['map'](_0x44f400)[_0x43727b(0x425)](_0x4dcd0e=>_0x4dcd0e!=='');return _0x548799[_0x43727b(0x278)]?_0x548799:[''];}return[_0x44f400(_0x5c6147)];}[_0x17666d(0xdd)](_0x368bde,_0x505674,_0x560d4f){const _0x352b48=_0x17666d;if(!_0x505674)return'Uncategorized';let _0x3292eb=_0x2f4b46(_0x368bde,_0x505674);return(_0x3292eb==null?void 0x0:_0x3292eb[_0x352b48(0x208)])??_0x505674;}[_0x17666d(0x428)](_0x3b3a75,_0x20e0bd,_0x5c3709){const _0x39e664=_0x17666d;var _0x2d2ffe;if(this[_0x39e664(0x173)](_0x3b3a75))return(_0x2d2ffe=_0x2f4b46(_0x3b3a75,_0x20e0bd))==null?void 0x0:_0x2d2ffe[_0x39e664(0x1ee)];}[_0x17666d(0xaa)](_0x379573,_0x2c1b56){const _0x1e3747=_0x17666d;let _0xa20ada=this['_normalizeCalendarConfig'](_0x379573,_0x2c1b56[_0x1e3747(0x39d)]??{}),_0x1a4045=_0x379573['fields'][_0xa20ada[_0x1e3747(0x111)]];if(!_0x1a4045||_0x1a4045[_0x1e3747(0x466)]!==_0x4d7b12[_0x1e3747(0x419)][_0x1e3747(0x32c)]||_0x1a4045[_0x1e3747(0x124)]===!0x0||_0x1a4045[_0x1e3747(0x43a)]===!0x0||!this['_capabilities'](_0x1a4045)[_0x1e3747(0x3ca)])return{'type':'invalid','viewType':_0x4d7b12[_0x1e3747(0xd3)][_0x1e3747(0x406)],'reason':_0x1e3747(0x2c8),'fieldId':_0xa20ada[_0x1e3747(0x111)]};let _0x19e74d=_0xa20ada[_0x1e3747(0x1d1)]?_0x379573[_0x1e3747(0x129)][_0xa20ada[_0x1e3747(0x1d1)]]:void 0x0,_0xe0434e=this['_projectRows'](_0x379573,_0x2c1b56);return{'type':_0x4d7b12['BaseViewType'][_0x1e3747(0x406)],'config':_0xa20ada,'fields':this['_projectFields'](_0x379573,_0x2c1b56),'rows':_0xe0434e,'groups':this['_projectGroups'](_0x379573,_0x2c1b56,_0xe0434e),'events':_0xe0434e['flatMap'](_0x2a930f=>{const _0x14c966=_0x1e3747;let _0x470435=_0x23458d(_0x2a930f['values'][_0xa20ada[_0x14c966(0x111)]]);if(!Number[_0x14c966(0x1c5)](_0x470435))return[];let _0x50713d=_0x2a930f[_0x14c966(0x3b2)][_0xa20ada[_0x14c966(0x111)]],_0x484c7d=_0xa20ada[_0x14c966(0x1d1)]==null?void 0x0:_0x2a930f[_0x14c966(0x3b2)][_0xa20ada[_0x14c966(0x1d1)]],_0x2bc6ae=_0xa20ada[_0x14c966(0x1d1)]==null?void 0x0:_0x23458d(_0x484c7d),_0x4f69e1=Number[_0x14c966(0x1c5)](_0x2bc6ae)?_0x2bc6ae:void 0x0;return[{'recordId':_0x2a930f[_0x14c966(0x23d)],'title':this[_0x14c966(0x2ca)](_0x379573,_0x2a930f,_0xa20ada[_0x14c966(0x353)]),'start':_0x470435,'end':_0x4f69e1,'color':this[_0x14c966(0x2a7)](_0x379573,_0x2a930f,_0xa20ada),'startMs':_0x470435,'endMs':_0x4f69e1,'allDay':this[_0x14c966(0x2ce)](_0x1a4045,_0x19e74d,_0x50713d,_0x484c7d),'fieldValues':_0x2a930f[_0x14c966(0x3b2)]}];})};}['_normalizeCalendarConfig'](_0x2b195f,_0x584e8f){const _0x19cc96=_0x17666d;let _0x3ee8e5=this[_0x19cc96(0x453)](_0x2b195f,_0x584e8f[_0x19cc96(0x111)]),_0xdc79fe=_0x584e8f[_0x19cc96(0x1d1)]&&this[_0x19cc96(0x3c8)](_0x2b195f,_0x584e8f['endDateFieldId'])?_0x584e8f['endDateFieldId']:this[_0x19cc96(0xdc)](_0x2b195f,_0x3ee8e5)??void 0x0,_0x181115=_0x584e8f[_0x19cc96(0x353)]?_0x2b195f[_0x19cc96(0x129)][_0x584e8f['titleFieldId']]:void 0x0,_0x42d662=_0x181115&&_0x181115[_0x19cc96(0x43a)]!==!0x0&&_0x181115['type']!==_0x4d7b12[_0x19cc96(0x419)][_0x19cc96(0x266)]?_0x584e8f[_0x19cc96(0x353)]:_0x2b195f['primaryFieldId'],_0x4e5365=_0x584e8f['mode']===_0x19cc96(0x303)||_0x584e8f[_0x19cc96(0x1e4)]===_0x19cc96(0x27b)?_0x584e8f[_0x19cc96(0x1e4)]:_0x19cc96(0x176),_0xeb7ed9=_0x584e8f[_0x19cc96(0xc2)]===_0x19cc96(0x27a)||_0x584e8f[_0x19cc96(0xc2)]===_0x19cc96(0x244)?_0x584e8f[_0x19cc96(0xc2)]:_0x19cc96(0x28c),_0x5b9e99=typeof _0x584e8f[_0x19cc96(0x1f1)]==_0x19cc96(0x3af)&&_0x584e8f[_0x19cc96(0x1f1)][_0x19cc96(0x11d)]()?_0x584e8f['timeZone']:'local',_0x20450c=this[_0x19cc96(0x195)](_0x2b195f,_0x584e8f);return{..._0x584e8f,'startDateFieldId':_0x3ee8e5,'endDateFieldId':_0xdc79fe,'titleFieldId':_0x42d662,'mode':_0x4e5365,'timeslotSize':_0xeb7ed9,'timeZone':_0x5b9e99,'displayColor':_0x20450c,'fieldSettings':Object[_0x19cc96(0x88)](Object[_0x19cc96(0x45d)](_0x584e8f[_0x19cc96(0x2fd)]??{})[_0x19cc96(0x425)](([_0x5978e0])=>{const _0x346860=_0x19cc96;let _0x4862e9=_0x2b195f[_0x346860(0x129)][_0x5978e0];return!!(_0x4862e9&&_0x4862e9[_0x346860(0x43a)]!==!0x0&&_0x4862e9[_0x346860(0x466)]!==_0x4d7b12['BaseFieldType'][_0x346860(0x266)]);}))};}[_0x17666d(0x453)](_0x29e891,_0x5a4af2){const _0x4ef497=_0x17666d;return _0x5a4af2&&this[_0x4ef497(0x3c8)](_0x29e891,_0x5a4af2)?_0x5a4af2:this['_findCalendarDateFieldId'](_0x29e891)??_0x5a4af2??'';}[_0x17666d(0xdc)](_0x1fbccb,_0x559700){const _0x84f8=_0x17666d;for(let _0x3b832c of _0x1fbccb[_0x84f8(0x33f)])if(_0x3b832c!==_0x559700&&this[_0x84f8(0x3c8)](_0x1fbccb,_0x3b832c))return _0x3b832c;return null;}[_0x17666d(0x3c8)](_0x418de0,_0x3abd71){const _0x56cfc0=_0x17666d;let _0x1471b8=_0x418de0['fields'][_0x3abd71];return!!_0x1471b8&&_0x1471b8['type']===_0x4d7b12[_0x56cfc0(0x419)][_0x56cfc0(0x32c)]&&_0x1471b8[_0x56cfc0(0x124)]!==!0x0&&_0x1471b8[_0x56cfc0(0x43a)]!==!0x0&&this['_capabilities'](_0x1471b8)[_0x56cfc0(0x3ca)];}[_0x17666d(0x195)](_0x2ee3eb,_0x264ea1){const _0x36fe21=_0x17666d;let _0x4d9b18=_0x264ea1[_0x36fe21(0x15d)];if((_0x4d9b18==null?void 0x0:_0x4d9b18[_0x36fe21(0x466)])===_0x36fe21(0x2d7)){let _0x512656=_0x2ee3eb['fields'][_0x4d9b18[_0x36fe21(0x424)]];if(_0x512656&&_0x512656[_0x36fe21(0x466)]===_0x4d7b12[_0x36fe21(0x419)][_0x36fe21(0x191)])return _0x4d9b18;}if((_0x4d9b18==null?void 0x0:_0x4d9b18[_0x36fe21(0x466)])==='custom'&&typeof _0x4d9b18[_0x36fe21(0x1ee)]==_0x36fe21(0x3af)&&_0x4d9b18[_0x36fe21(0x1ee)][_0x36fe21(0x11d)]())return{'type':_0x36fe21(0x2c4),'color':_0x4d9b18[_0x36fe21(0x1ee)]};if(_0x264ea1[_0x36fe21(0x433)]){let _0x315219=_0x2ee3eb[_0x36fe21(0x129)][_0x264ea1[_0x36fe21(0x433)]];if(_0x315219&&_0x315219[_0x36fe21(0x466)]===_0x4d7b12['BaseFieldType'][_0x36fe21(0x191)])return{'type':_0x36fe21(0x2d7),'fieldId':_0x264ea1[_0x36fe21(0x433)]};}return{'type':_0x36fe21(0x2c4),'color':_0x36fe21(0x15c)};}[_0x17666d(0x2a7)](_0x5cd5c8,_0x2ffde3,_0x2044cf){const _0x570734=_0x17666d;let _0x1c4021=_0x2044cf[_0x570734(0x15d)];if((_0x1c4021==null?void 0x0:_0x1c4021[_0x570734(0x466)])===_0x570734(0x2d7)){var _0x1f8008;let _0x20d494=_0x5cd5c8['fields'][_0x1c4021[_0x570734(0x424)]];if(!_0x20d494)return;let _0x324a15=_0x2ffde3[_0x570734(0x3b2)][_0x1c4021['fieldId']],_0x361bd5=Array['isArray'](_0x324a15)?_0x324a15[0x0]:_0x324a15;return _0x361bd5==null||(_0x1f8008=_0x2f4b46(_0x20d494,String(_0x361bd5)))==null?void 0x0:_0x1f8008[_0x570734(0x1ee)];}if((_0x1c4021==null?void 0x0:_0x1c4021[_0x570734(0x466)])===_0x570734(0x2c4))return _0x1c4021[_0x570734(0x1ee)];}['_isAllDayCalendarEvent'](_0x5d9c53,_0x5f53ee,_0x1c62e9,_0x297294){const _0x323304=_0x17666d;var _0x2e5095,_0x1c2fce;let _0x55363d=((_0x2e5095=_0x5d9c53[_0x323304(0x39d)])==null?void 0x0:_0x2e5095['includeTime'])===!0x0,_0x5f457a=(_0x5f53ee==null||(_0x1c2fce=_0x5f53ee[_0x323304(0x39d)])==null?void 0x0:_0x1c2fce[_0x323304(0x290)])===!0x0;return!_0x55363d&&!_0x5f457a;}[_0x17666d(0x373)](_0x11350d,_0x3c18ea){const _0x4f2f90=_0x17666d;var _0x5e27d8,_0xa306d2;let _0x1aead9=((_0x5e27d8=_0x11350d[_0x4f2f90(0x39d)])==null?void 0x0:_0x5e27d8[_0x4f2f90(0x290)])===!0x0,_0x4d8a4e=((_0xa306d2=_0x3c18ea['config'])==null?void 0x0:_0xa306d2[_0x4f2f90(0x290)])===!0x0;return!_0x1aead9&&!_0x4d8a4e;}[_0x17666d(0x335)](_0x62b05f,_0x5851fe){const _0x4e7f5f=_0x17666d;let _0x570a4f=this[_0x4e7f5f(0xbb)](_0x62b05f,_0x5851fe[_0x4e7f5f(0x39d)]),_0x3a7682=_0x62b05f[_0x4e7f5f(0x129)][_0x570a4f[_0x4e7f5f(0x111)]];if(!_0x3a7682||_0x3a7682['type']!==_0x4d7b12['BaseFieldType'][_0x4e7f5f(0x32c)]||_0x3a7682['readonly']===!0x0||_0x3a7682[_0x4e7f5f(0x43a)]===!0x0||!this['_capabilities'](_0x3a7682)[_0x4e7f5f(0x3fe)])return{'type':_0x4e7f5f(0x110),'viewType':_0x4d7b12[_0x4e7f5f(0xd3)]['Gantt'],'reason':_0x4e7f5f(0xfd),'fieldId':_0x570a4f[_0x4e7f5f(0x111)]};let _0x2037d3=_0x62b05f[_0x4e7f5f(0x129)][_0x570a4f['endDateFieldId']];if(!_0x2037d3||_0x2037d3[_0x4e7f5f(0x466)]!==_0x4d7b12[_0x4e7f5f(0x419)][_0x4e7f5f(0x32c)]||_0x2037d3[_0x4e7f5f(0x124)]===!0x0||_0x2037d3[_0x4e7f5f(0x43a)]===!0x0||!this[_0x4e7f5f(0x33c)](_0x2037d3)['usableAsGanttEnd'])return{'type':_0x4e7f5f(0x110),'viewType':_0x4d7b12['BaseViewType'][_0x4e7f5f(0x35f)],'reason':'invalidGanttEndField','fieldId':_0x570a4f['endDateFieldId']};let _0x1fe8cb=this[_0x4e7f5f(0x373)](_0x3a7682,_0x2037d3),_0xb403fc=this[_0x4e7f5f(0x470)](_0x62b05f,_0x5851fe),_0x4ded03=_0xb403fc[_0x4e7f5f(0x2b8)](_0x500fd6=>{const _0x510a30=_0x4e7f5f;let _0x2c9151=_0x23458d(_0x500fd6[_0x510a30(0x3b2)][_0x570a4f['startDateFieldId']]),_0x52fb97=_0x23458d(_0x500fd6[_0x510a30(0x3b2)][_0x570a4f[_0x510a30(0x1d1)]]);if(!Number['isFinite'](_0x2c9151)||!Number[_0x510a30(0x1c5)](_0x52fb97))return[];let _0x516899=Math['min'](_0x2c9151,_0x52fb97),_0x102b15=Math[_0x510a30(0x3e8)](_0x2c9151,_0x52fb97),_0x41b50b=_0x570a4f[_0x510a30(0x3ce)]==null?void 0x0:Number(_0x500fd6[_0x510a30(0x3b2)][_0x570a4f['progressFieldId']]);return[{'recordId':_0x500fd6[_0x510a30(0x23d)],'title':this[_0x510a30(0x2ca)](_0x62b05f,_0x500fd6,_0x570a4f[_0x510a30(0x353)]),'start':_0x516899,'end':_0x102b15,'color':this['_ganttBarColor'](_0x62b05f,_0x500fd6,_0x570a4f),'progress':Number[_0x510a30(0x1c5)](_0x41b50b)?_0x41b50b:void 0x0,'workingDayCount':_0x570a4f[_0x510a30(0x2aa)]?_0x5c472b(_0x516899,_0x102b15,_0x570a4f[_0x510a30(0x21d)]):void 0x0,'dependencyRecordIds':this[_0x510a30(0x3ad)](_0x500fd6[_0x510a30(0x3b2)][_0x570a4f[_0x510a30(0x89)]??''])}];}),_0x4f9860=_0x4ded03[_0x4e7f5f(0x278)]?_0x28c21d(Math[_0x4e7f5f(0x3d6)](..._0x4ded03['map'](_0x4ef264=>_0x4ef264[_0x4e7f5f(0x3cb)]))-0x5a*_0x2ea79f):_0x28c21d(Date[_0x4e7f5f(0x19c)]()-0x5a*_0x2ea79f),_0x5c1b85=_0x4ded03[_0x4e7f5f(0x278)]?_0x28c21d(Math[_0x4e7f5f(0x3e8)](..._0x4ded03[_0x4e7f5f(0xd9)](_0x76e294=>_0x76e294[_0x4e7f5f(0x35e)]))+0x5b*_0x2ea79f):_0x28c21d(Date[_0x4e7f5f(0x19c)]()+0x5b*_0x2ea79f),_0x43ff7f=_0x1ac163(_0x570a4f[_0x4e7f5f(0x1e9)],_0x4f9860,_0x5c1b85,_0x570a4f[_0x4e7f5f(0x2aa)]?_0x570a4f['workingDays']:void 0x0);return{'type':_0x4d7b12['BaseViewType']['Gantt'],'fields':this[_0x4e7f5f(0x41f)](_0x62b05f,{..._0x5851fe,'config':_0x570a4f}),'rows':_0xb403fc,'groups':this[_0x4e7f5f(0x34e)](_0x62b05f,_0x5851fe,_0xb403fc),'config':_0x570a4f,'dateRangeAllDay':_0x1fe8cb,'timeline':{'scale':_0x570a4f[_0x4e7f5f(0x1e9)],'start':_0x4f9860,'end':_0x5c1b85,'unitWidth':_0x43ff7f[_0x4e7f5f(0x439)],'majorHeaders':_0x43ff7f['majorHeaders'],'columns':_0x43ff7f[_0x4e7f5f(0x103)]},'bars':_0x4ded03};}[_0x17666d(0xbb)](_0x234ca1,_0x431eb2){const _0x3e0d54=_0x17666d;let _0x330cc6=this[_0x3e0d54(0x2b3)](_0x234ca1,_0x431eb2[_0x3e0d54(0x111)],_0x3e0d54(0x3cb)),_0x251004=this[_0x3e0d54(0x2b3)](_0x234ca1,_0x431eb2['endDateFieldId'],_0x3e0d54(0x35e))||_0x330cc6,_0x3467cc=_0x431eb2['titleFieldId']?_0x234ca1[_0x3e0d54(0x129)][_0x431eb2[_0x3e0d54(0x353)]]:void 0x0,_0x5d2edc=_0x3467cc&&_0x3467cc['system']!==!0x0&&_0x3467cc[_0x3e0d54(0x466)]!==_0x4d7b12[_0x3e0d54(0x419)][_0x3e0d54(0x266)]?_0x431eb2[_0x3e0d54(0x353)]:_0x234ca1[_0x3e0d54(0x455)],_0x33ef4b=_0x431eb2[_0x3e0d54(0x1e9)]===_0x3e0d54(0x27b)||_0x431eb2[_0x3e0d54(0x1e9)]==='quarter'||_0x431eb2[_0x3e0d54(0x1e9)]==='year'?_0x431eb2[_0x3e0d54(0x1e9)]:_0x3e0d54(0x176),_0x5bae88=_0x54206c(_0x431eb2['workingDays']);return{..._0x431eb2,'startDateFieldId':_0x330cc6,'endDateFieldId':_0x251004,'titleFieldId':_0x5d2edc,'scale':_0x33ef4b,'leftPaneWidth':typeof _0x431eb2[_0x3e0d54(0x148)]==_0x3e0d54(0x2c1)?_0x431eb2[_0x3e0d54(0x148)]:void 0x0,'leftPaneCollapsed':_0x431eb2['leftPaneCollapsed']===!0x0,'showTodayLine':_0x431eb2[_0x3e0d54(0x309)]!==!0x1,'displayColor':this[_0x3e0d54(0x40d)](_0x234ca1,_0x431eb2),'fieldSettings':Object[_0x3e0d54(0x88)](Object[_0x3e0d54(0x45d)](_0x431eb2[_0x3e0d54(0x2fd)]??{})['filter'](([_0x495b6f])=>{const _0x45eede=_0x3e0d54;let _0x3fb3a3=_0x234ca1['fields'][_0x495b6f];return!!(_0x3fb3a3&&_0x3fb3a3['system']!==!0x0&&_0x3fb3a3[_0x45eede(0x466)]!==_0x4d7b12[_0x45eede(0x419)]['RecordId']);})),'workingDaysOnly':_0x431eb2[_0x3e0d54(0x2aa)]===!0x0,'workingDays':_0x5bae88};}[_0x17666d(0x2b3)](_0x9d7655,_0x30b184,_0x3b2b51){if(_0x30b184&&this['_isGanttDateField'](_0x9d7655,_0x30b184,_0x3b2b51)||_0x30b184)return _0x30b184;for(let _0x3cf5c2 of _0x9d7655['fieldOrder'])if(this['_isGanttDateField'](_0x9d7655,_0x3cf5c2,_0x3b2b51))return _0x3cf5c2;return _0x30b184??'';}[_0x17666d(0x333)](_0x5b4ce1,_0x1d90ed,_0x463d50){const _0x3a17aa=_0x17666d;let _0x4e5e3c=_0x5b4ce1[_0x3a17aa(0x129)][_0x1d90ed];if(!_0x4e5e3c||_0x4e5e3c[_0x3a17aa(0x466)]!==_0x4d7b12[_0x3a17aa(0x419)][_0x3a17aa(0x32c)]||_0x4e5e3c[_0x3a17aa(0x124)]===!0x0||_0x4e5e3c['system']===!0x0)return!0x1;let _0x595851=this[_0x3a17aa(0x33c)](_0x4e5e3c);return _0x463d50===_0x3a17aa(0x3cb)?_0x595851[_0x3a17aa(0x3fe)]:_0x595851[_0x3a17aa(0x27e)];}['_normalizeGanttDisplayColor'](_0x291fae,_0x5db999){const _0x562361=_0x17666d;let _0x3729c2=_0x5db999[_0x562361(0x15d)];if((_0x3729c2==null?void 0x0:_0x3729c2[_0x562361(0x466)])===_0x562361(0x2d7)){let _0x3f2bd1=_0x291fae[_0x562361(0x129)][_0x3729c2[_0x562361(0x424)]];if(_0x3f2bd1&&_0x3f2bd1['type']===_0x4d7b12['BaseFieldType'][_0x562361(0x191)])return _0x3729c2;}return(_0x3729c2==null?void 0x0:_0x3729c2[_0x562361(0x466)])==='conditional'&&Array[_0x562361(0x46e)](_0x3729c2[_0x562361(0x1f9)])?{'type':'conditional','rules':_0x3729c2['rules'][_0x562361(0x425)](_0x3d38e6=>!!_0x291fae[_0x562361(0x129)][_0x3d38e6['fieldId']])}:(_0x3729c2==null?void 0x0:_0x3729c2[_0x562361(0x466)])==='custom'&&typeof _0x3729c2[_0x562361(0x1ee)]==_0x562361(0x3af)&&_0x3729c2[_0x562361(0x1ee)]['trim']()?{'type':_0x562361(0x2c4),'color':_0x3729c2['color']}:{'type':_0x562361(0x2c4),'color':_0x562361(0x2e8)};}[_0x17666d(0xa8)](_0x503407,_0x2e513e,_0x23c79e){const _0x3fc97b=_0x17666d;let _0x2abdb1=_0x23c79e[_0x3fc97b(0x15d)];if((_0x2abdb1==null?void 0x0:_0x2abdb1[_0x3fc97b(0x466)])==='conditional'){let _0x1dfd48=_0x2abdb1[_0x3fc97b(0x1f9)][_0x3fc97b(0x3b6)](_0x22ca1f=>this[_0x3fc97b(0x3c0)](_0x503407,_0x2e513e,_0x22ca1f));if(_0x1dfd48)return _0x1dfd48[_0x3fc97b(0x1ee)];}if((_0x2abdb1==null?void 0x0:_0x2abdb1[_0x3fc97b(0x466)])===_0x3fc97b(0x2d7)){let _0x4fb357=_0x503407[_0x3fc97b(0x129)][_0x2abdb1['fieldId']];if(_0x4fb357){var _0x53a3a9;let _0x1438a4=_0x2e513e[_0x3fc97b(0x3b2)][_0x2abdb1[_0x3fc97b(0x424)]],_0x17955a=Array['isArray'](_0x1438a4)?_0x1438a4[0x0]:_0x1438a4,_0x2eed01=_0x17955a==null||(_0x53a3a9=_0x2f4b46(_0x4fb357,String(_0x17955a)))==null?void 0x0:_0x53a3a9[_0x3fc97b(0x1ee)];if(_0x2eed01)return _0x2eed01;}}return(_0x2abdb1==null?void 0x0:_0x2abdb1[_0x3fc97b(0x466)])===_0x3fc97b(0x2c4)?_0x2abdb1[_0x3fc97b(0x1ee)]:_0x3fc97b(0x2e8);}[_0x17666d(0x3c0)](_0x1040b5,_0x533fd1,_0x4bfad7){const _0x87d37b=_0x17666d;let _0x398fd1=_0x1040b5['fields'][_0x4bfad7[_0x87d37b(0x424)]];return _0x398fd1?_0x1b2953(_0x533fd1[_0x87d37b(0x3b2)][_0x398fd1['id']],_0x4bfad7['operator'],_0x4bfad7[_0x87d37b(0x291)],_0x398fd1,{'dateMode':_0x4bfad7[_0x87d37b(0x202)]}):!0x1;}[_0x17666d(0x435)](_0x2bd8b0,_0xe486f4){const _0x13f1d6=_0x17666d;let _0x13e60d=this[_0x13f1d6(0x470)](_0x2bd8b0,_0xe486f4),_0x1da2c3=this[_0x13f1d6(0xc5)](_0x2bd8b0,_0xe486f4[_0x13f1d6(0x39d)]??{}),_0x598183=this[_0x13f1d6(0x41f)](_0x2bd8b0,_0xe486f4);return{'type':_0x4d7b12[_0x13f1d6(0xd3)][_0x13f1d6(0x141)],'fields':_0x598183,'rows':_0x13e60d,'groups':this['_projectGroups'](_0x2bd8b0,_0xe486f4,_0x13e60d),'titleFieldId':_0x1da2c3[_0x13f1d6(0x36a)][_0x13f1d6(0x353)],'coverFieldId':_0x1da2c3[_0x13f1d6(0x1e0)],'cardLayout':_0x1da2c3['cardLayout']??_0x13f1d6(0x261),'showFieldNames':_0x1da2c3[_0x13f1d6(0x23a)]!==!0x1,'visibleCardFieldIds':this[_0x13f1d6(0x381)](_0x2bd8b0,_0xe486f4,_0x1da2c3),'cardSize':_0x1da2c3[_0x13f1d6(0x442)]??_0x13f1d6(0x28c),'cards':_0x13e60d[_0x13f1d6(0xd9)](_0x462cc0=>({'recordId':_0x462cc0[_0x13f1d6(0x23d)],'title':this[_0x13f1d6(0x2ca)](_0x2bd8b0,_0x462cc0,_0x1da2c3[_0x13f1d6(0x36a)][_0x13f1d6(0x353)]),'values':_0x462cc0[_0x13f1d6(0x3b2)]}))};}[_0x17666d(0xc5)](_0xa595bf,_0x934b7e){const _0x4ff70b=_0x17666d;let _0x152dac=_0x934b7e[_0x4ff70b(0x36a)]??{'fieldIds':[]},_0x9a186e=this['_resolveCardTitleFieldId'](_0xa595bf,_0x152dac[_0x4ff70b(0x353)]),_0xc0be74=this[_0x4ff70b(0x292)](_0xa595bf,_0x934b7e),_0x3197f9=_0x934b7e[_0x4ff70b(0x442)]===_0x4ff70b(0x3f5)||_0x934b7e[_0x4ff70b(0x442)]===_0x4ff70b(0x12b)?_0x934b7e[_0x4ff70b(0x442)]:_0x4ff70b(0x28c);return{..._0x934b7e,'coverFieldId':_0xc0be74,'cardLayout':_0x934b7e[_0x4ff70b(0x2a8)]===_0x4ff70b(0x1e6)?_0x4ff70b(0x1e6):_0x4ff70b(0x261),'showFieldNames':_0x934b7e[_0x4ff70b(0x23a)]!==!0x1,'fieldSettings':Object['fromEntries'](Object[_0x4ff70b(0x45d)](_0x934b7e[_0x4ff70b(0x2fd)]??{})[_0x4ff70b(0x425)](([_0x51e783])=>{const _0x7cc362=_0x4ff70b;let _0x41f1f8=_0xa595bf['fields'][_0x51e783];return!!(_0x41f1f8&&_0x41f1f8[_0x7cc362(0x43a)]!==!0x0&&_0x41f1f8[_0x7cc362(0x466)]!==_0x4d7b12[_0x7cc362(0x419)]['RecordId']);})),'card':{..._0x152dac,'titleFieldId':_0x9a186e,'coverFieldId':_0xc0be74,'fieldIds':Array[_0x4ff70b(0x46e)](_0x152dac['fieldIds'])?_0x152dac[_0x4ff70b(0x275)]:[]},'cardSize':_0x3197f9};}[_0x17666d(0x15e)](_0x5a6566,_0x33647a){const _0x21bbf5=_0x17666d;let _0x290857=_0x33647a?_0x5a6566[_0x21bbf5(0x129)][_0x33647a]:void 0x0;return _0x290857&&_0x290857['system']!==!0x0&&_0x290857[_0x21bbf5(0x466)]!==_0x4d7b12[_0x21bbf5(0x419)][_0x21bbf5(0x266)]?_0x290857['id']:_0x1eb725(_0x5a6566);}[_0x17666d(0x292)](_0x292c24,_0x4d22e6){const _0x3f9180=_0x17666d;var _0x41d258;let _0x24db55=_0x4d22e6[_0x3f9180(0x1e0)]??((_0x41d258=_0x4d22e6[_0x3f9180(0x36a)])==null?void 0x0:_0x41d258[_0x3f9180(0x1e0)])??null;if(!_0x24db55)return null;let _0x5e31d2=_0x292c24[_0x3f9180(0x129)][_0x24db55];return _0x5e31d2&&this[_0x3f9180(0x33c)](_0x5e31d2)[_0x3f9180(0x44b)]?_0x5e31d2['id']:null;}[_0x17666d(0x381)](_0x5e579f,_0x429823,_0x47dbbd){const _0x2c30f7=_0x17666d;var _0x747530,_0x2a2ee5,_0x189e7c;let _0x27b44b=_0x47dbbd[_0x2c30f7(0x2fd)]??{},_0x355bf6=((_0x747530=_0x47dbbd[_0x2c30f7(0x36a)])==null?void 0x0:_0x747530[_0x2c30f7(0x353)])??_0x1eb725(_0x5e579f),_0x4ae421=_0x47dbbd[_0x2c30f7(0x1e0)]??((_0x2a2ee5=_0x47dbbd[_0x2c30f7(0x36a)])==null?void 0x0:_0x2a2ee5[_0x2c30f7(0x1e0)])??null,_0x27ce06=(_0x189e7c=_0x47dbbd[_0x2c30f7(0x36a)])!=null&&(_0x189e7c=_0x189e7c[_0x2c30f7(0x275)])!=null&&_0x189e7c['length']?_0x47dbbd[_0x2c30f7(0x36a)][_0x2c30f7(0x275)]:_0x22db8a(_0x5e579f,[_0x355bf6,_0x4ae421,_0x5e579f[_0x2c30f7(0x455)]]);return _0x27ce06[_0x2c30f7(0x425)](_0x1997f8=>{const _0x27341e=_0x2c30f7;var _0x2fd0ca,_0x415c6a;let _0x59bfe1=_0x5e579f[_0x27341e(0x129)][_0x1997f8];return!(!_0x59bfe1||_0x59bfe1[_0x27341e(0x43a)]===!0x0||_0x59bfe1[_0x27341e(0x466)]===_0x4d7b12[_0x27341e(0x419)][_0x27341e(0x266)]||_0x59bfe1['id']===_0x355bf6||_0x59bfe1['id']===_0x4ae421||(_0x2fd0ca=_0x429823['fieldSettings'])!=null&&(_0x2fd0ca=_0x2fd0ca[_0x1997f8])!=null&&_0x2fd0ca[_0x27341e(0x338)]||(_0x415c6a=_0x27b44b[_0x1997f8])!=null&&_0x415c6a[_0x27341e(0x338)]);})[_0x2c30f7(0x3bb)]((_0x17ad0f,_0x143b31)=>{const _0x2c13ea=_0x2c30f7;var _0xb1d194,_0x376859;return(((_0xb1d194=_0x27b44b[_0x17ad0f])==null?void 0x0:_0xb1d194['order'])??_0x27ce06[_0x2c13ea(0x211)](_0x17ad0f))-(((_0x376859=_0x27b44b[_0x143b31])==null?void 0x0:_0x376859[_0x2c13ea(0x245)])??_0x27ce06[_0x2c13ea(0x211)](_0x143b31));});}[_0x17666d(0x41f)](_0x29cd9e,_0x492866){const _0x4d616d=_0x17666d;var _0x56b22f;return((_0x56b22f=_0x492866[_0x4d616d(0x33f)])!=null&&_0x56b22f[_0x4d616d(0x278)]?_0x492866[_0x4d616d(0x33f)]:_0x29cd9e[_0x4d616d(0x33f)])[_0x4d616d(0x2b8)](_0x50dcc4=>{const _0x49548d=_0x4d616d;var _0x1f8649;let _0x217ed7=_0x29cd9e[_0x49548d(0x129)][_0x50dcc4],_0x1167ed=((_0x1f8649=_0x492866[_0x49548d(0x2fd)])==null?void 0x0:_0x1f8649[_0x50dcc4])??{};return!_0x217ed7||_0x217ed7['system']===!0x0||_0x217ed7[_0x49548d(0x466)]===_0x4d7b12[_0x49548d(0x419)][_0x49548d(0x266)]||_0x1167ed[_0x49548d(0x338)]?[]:[{'id':_0x217ed7['id'],'name':_0x217ed7[_0x49548d(0x208)],'description':_0x217ed7['description'],'type':_0x217ed7[_0x49548d(0x466)],'config':_0x217ed7['config'],'width':_0x1167ed['width'],'setting':_0x1167ed}];});}[_0x17666d(0x470)](_0x927e38,_0x2df54c){const _0x8d1f24=_0x17666d;var _0x20938e;return _0x1b2201(_0x8d1f24(0x410),()=>{const _0x3df885=_0x8d1f24;var _0x20b4a8,_0x326b57;let _0x5ddd97=this[_0x3df885(0x42c)](_0x927e38),_0x136456=this[_0x3df885(0x1f3)](_0x927e38['id'],_0x2df54c),_0x488c7f=this[_0x3df885(0x457)](_0x927e38['id']),_0x426b2b=this[_0x3df885(0x307)]['get'](_0x136456);if(_0x426b2b&&_0x426b2b[_0x3df885(0x3e9)]===this[_0x3df885(0x39c)]&&_0x426b2b[_0x3df885(0xb7)]===this['_getTableRevision'](_0x927e38['id'])){if(_0x426b2b[_0x3df885(0x18c)]===_0x488c7f&&_0x426b2b['baseRows']===_0x5ddd97)return _0x426b2b[_0x3df885(0x90)];if(_0x426b2b['cellRevision']!==_0x488c7f&&!this[_0x3df885(0x2f9)](_0x927e38['id'],_0x426b2b[_0x3df885(0x18c)],_0x488c7f,this[_0x3df885(0x122)](_0x2df54c))){let _0x4787a1=_0x426b2b[_0x3df885(0x90)]===_0x426b2b[_0x3df885(0xbd)]?_0x5ddd97:this['_patchCachedProjectedRows'](_0x426b2b[_0x3df885(0x90)],_0x5ddd97);if(_0x4787a1)return this[_0x3df885(0x307)][_0x3df885(0x12c)](_0x136456,{..._0x426b2b,'rows':_0x4787a1,'baseRows':_0x5ddd97,'cellRevision':_0x488c7f}),_0x4787a1;}}let _0x27a9fd=_0x1b2201(_0x3df885(0x10f),()=>this['_sortRows'](_0x927e38,_0x2df54c,this[_0x3df885(0x3c5)](_0x927e38,_0x2df54c,_0x5ddd97)),{'tableId':_0x927e38['id'],'viewId':_0x2df54c==null?void 0x0:_0x2df54c['id'],'viewType':_0x2df54c==null?void 0x0:_0x2df54c['type'],'rows':_0x5ddd97[_0x3df885(0x278)],'filters':(_0x2df54c==null||(_0x20b4a8=_0x2df54c[_0x3df885(0x425)])==null?void 0x0:_0x20b4a8[_0x3df885(0x2ee)][_0x3df885(0x278)])??0x0,'sorts':(_0x2df54c==null||(_0x326b57=_0x2df54c[_0x3df885(0x3bb)])==null?void 0x0:_0x326b57[_0x3df885(0x278)])??0x0});return this[_0x3df885(0x307)][_0x3df885(0x12c)](_0x136456,{'table':_0x927e38,'rows':_0x27a9fd,'baseRows':_0x5ddd97,'globalRevision':this['_globalRevision'],'tableRevision':this[_0x3df885(0xec)](_0x927e38['id']),'cellRevision':_0x488c7f}),_0x27a9fd;},{'tableId':_0x927e38['id'],'viewId':_0x2df54c==null?void 0x0:_0x2df54c['id'],'viewType':_0x2df54c==null?void 0x0:_0x2df54c[_0x8d1f24(0x466)],'records':((_0x20938e=_0x927e38['recordOrder'])==null?void 0x0:_0x20938e[_0x8d1f24(0x278)])??Object[_0x8d1f24(0x3d7)](_0x927e38[_0x8d1f24(0x14c)]??{})[_0x8d1f24(0x278)]});}[_0x17666d(0x42c)](_0x4812ab){const _0x8fb4d=_0x17666d;var _0x3c71ba;return _0x1b2201(_0x8fb4d(0x264),()=>{const _0xd5aec1=_0x8fb4d;var _0x22d574;let _0x32f699=this[_0xd5aec1(0x457)](_0x4812ab['id']),_0x38e4da=this[_0xd5aec1(0x1ed)][_0xd5aec1(0x9f)](_0x4812ab['id']);if(_0x38e4da&&_0x38e4da[_0xd5aec1(0x3e9)]===this[_0xd5aec1(0x39c)]&&_0x38e4da[_0xd5aec1(0xb7)]===this[_0xd5aec1(0xec)](_0x4812ab['id'])){if(_0x38e4da[_0xd5aec1(0x18c)]===_0x32f699&&_0x38e4da[_0xd5aec1(0x39f)]===_0x4812ab)return _0x38e4da[_0xd5aec1(0x90)];let _0x51fc84=this[_0xd5aec1(0x430)](_0x4812ab,_0x38e4da,_0x32f699);if(_0x51fc84)return _0x51fc84;}_0x229f46(_0x4812ab)||_0x4cff78(_0x4812ab);let _0x3debff=(_0x22d574=_0x4812ab[_0xd5aec1(0x370)])!=null&&_0x22d574['length']?_0x4812ab['recordOrder']:_0x503418(_0x4812ab['records']),_0x36fb88=_0x1b2201('BaseProjection.materializeTableRows',()=>{const _0xf19f70=_0xd5aec1;let _0x4a9152=[];for(let _0x3a9612 of _0x3debff){let _0x44d17c=_0x4812ab[_0xf19f70(0x14c)][_0x3a9612];if(!_0x44d17c)continue;let _0x3c2e2d={};for(let _0x4faabc of _0x4812ab['fieldOrder'])_0x3c2e2d[_0x4faabc]=_0x5d14af(_0x4812ab,_0x44d17c['id'],_0x4faabc);_0x4a9152[_0xf19f70(0x112)]({'recordId':_0x44d17c['id'],'values':_0x3c2e2d});}return _0x4a9152;},{'tableId':_0x4812ab['id'],'records':_0x3debff[_0xd5aec1(0x278)],'fields':_0x4812ab[_0xd5aec1(0x33f)][_0xd5aec1(0x278)]});return this[_0xd5aec1(0x1ed)][_0xd5aec1(0x12c)](_0x4812ab['id'],{'table':_0x4812ab,'rows':_0x36fb88,'rowIndexById':_0x149975(_0x36fb88),'globalRevision':this['_globalRevision'],'tableRevision':this[_0xd5aec1(0xec)](_0x4812ab['id']),'cellRevision':_0x32f699}),_0x36fb88;},{'tableId':_0x4812ab['id'],'records':((_0x3c71ba=_0x4812ab[_0x8fb4d(0x370)])==null?void 0x0:_0x3c71ba['length'])??Object['keys'](_0x4812ab[_0x8fb4d(0x14c)]??{})[_0x8fb4d(0x278)],'fields':_0x4812ab[_0x8fb4d(0x33f)][_0x8fb4d(0x278)]});}[_0x17666d(0x430)](_0xa88ab0,_0x32ee9c,_0x183631){const _0x344434=_0x17666d;let _0x5688b4=(this[_0x344434(0x389)][_0x344434(0x9f)](_0xa88ab0['id'])??[])[_0x344434(0x425)](_0x26ad69=>_0x26ad69[_0x344434(0x100)]>_0x32ee9c[_0x344434(0x18c)]&&_0x26ad69[_0x344434(0x100)]<=_0x183631);if(!_0x5688b4['length'])return _0x32ee9c[_0x344434(0x39f)]===_0xa88ab0?_0x32ee9c['rows']:null;let _0x3ac5bd=_0x32ee9c[_0x344434(0x90)],_0x485eb1=new Map();for(let _0x37d4e2 of _0x5688b4){let _0x36f5ae=_0x485eb1[_0x344434(0x9f)](_0x37d4e2['recordId']);_0x36f5ae||(_0x36f5ae=new Set(),_0x485eb1[_0x344434(0x12c)](_0x37d4e2[_0x344434(0x23d)],_0x36f5ae)),_0x36f5ae[_0x344434(0x3a1)](_0x37d4e2[_0x344434(0x424)]);}for(let [_0x58dcb6,_0xd6cd78]of _0x485eb1){if(!_0xa88ab0[_0x344434(0x14c)][_0x58dcb6])return null;let _0x537261=_0x32ee9c['rowIndexById'][_0x344434(0x9f)](_0x58dcb6);if(_0x537261==null)return null;_0x3ac5bd===_0x32ee9c[_0x344434(0x90)]&&(_0x3ac5bd=[..._0x32ee9c['rows']]);let _0x262e2b=_0x3ac5bd[_0x537261],_0x39fb07={..._0x262e2b[_0x344434(0x3b2)]};_0xd6cd78['forEach'](_0x327906=>{_0x39fb07[_0x327906]=_0x5d14af(_0xa88ab0,_0x58dcb6,_0x327906);}),_0x3ac5bd[_0x537261]={..._0x262e2b,'values':_0x39fb07};}let _0x410e01={'table':_0xa88ab0,'rows':_0x3ac5bd,'rowIndexById':_0x32ee9c['rowIndexById'],'globalRevision':this[_0x344434(0x39c)],'tableRevision':this[_0x344434(0xec)](_0xa88ab0['id']),'cellRevision':_0x183631};return this['_projectedRowsCache'][_0x344434(0x12c)](_0xa88ab0['id'],_0x410e01),this[_0x344434(0x389)][_0x344434(0x12c)](_0xa88ab0['id'],(this[_0x344434(0x389)][_0x344434(0x9f)](_0xa88ab0['id'])??[])[_0x344434(0x425)](_0x49f32a=>_0x49f32a[_0x344434(0x100)]>Math[_0x344434(0x3e8)](0x0,_0x183631-0x100))),_0x3ac5bd;}[_0x17666d(0x7f)](_0x1022dd,_0x1d23b9){const _0x4db0eb=_0x17666d;let _0x515ee3=new Map(_0x1d23b9[_0x4db0eb(0xd9)](_0x1ca9ab=>[_0x1ca9ab[_0x4db0eb(0x23d)],_0x1ca9ab])),_0x1ca47a=!0x1,_0x5aff4e=_0x1022dd[_0x4db0eb(0xd9)](_0x1847c5=>{const _0x50b212=_0x4db0eb;let _0x130498=_0x515ee3[_0x50b212(0x9f)](_0x1847c5[_0x50b212(0x23d)]);return _0x130498?_0x130498===_0x1847c5?_0x1847c5:(_0x1ca47a=!0x0,_0x130498):_0x1847c5;});return _0x1ca47a?_0x5aff4e:_0x1022dd;}['_cellInvalidationsTouchFields'](_0x24d818,_0x3ec7b3,_0x42badf,_0x2f66ac){const _0x262021=_0x17666d;return!_0x2f66ac[_0x262021(0x220)]||_0x3ec7b3===_0x42badf?!0x1:_0x42badf-_0x3ec7b3>0x100||(this['_cellInvalidations'][_0x262021(0x9f)](_0x24d818)??[])[_0x262021(0x256)](_0x2779af=>_0x2779af[_0x262021(0x100)]>_0x3ec7b3&&_0x2779af[_0x262021(0x100)]<=_0x42badf&&_0x2f66ac[_0x262021(0x1eb)](_0x2779af[_0x262021(0x424)]));}[_0x17666d(0x122)](_0x54e78a){const _0x5f437b=_0x17666d;var _0x5a2198,_0x12ad5e;let _0x106bf5=new Set();return _0x54e78a==null||(_0x5a2198=_0x54e78a[_0x5f437b(0x425)])==null||_0x5a2198[_0x5f437b(0x2ee)][_0x5f437b(0x3cc)](_0x4a82ac=>_0x106bf5[_0x5f437b(0x3a1)](_0x4a82ac[_0x5f437b(0x424)])),_0x54e78a==null||(_0x12ad5e=_0x54e78a['sort'])==null||_0x12ad5e[_0x5f437b(0x3cc)](_0x45f772=>_0x106bf5[_0x5f437b(0x3a1)](_0x45f772[_0x5f437b(0x424)])),_0x106bf5;}[_0x17666d(0x45a)](_0x46e1b5){const _0x2c21f4=_0x17666d;var _0x4e4a1a;let _0x2b4aa3=this[_0x2c21f4(0x122)](_0x46e1b5);return(_0x4e4a1a=_0x46e1b5[_0x2c21f4(0x161)])==null||_0x4e4a1a[_0x2c21f4(0x3cc)](_0x2da783=>_0x2b4aa3[_0x2c21f4(0x3a1)](_0x2da783['fieldId'])),_0x2b4aa3;}[_0x17666d(0x3c5)](_0x2a1759,_0x481950,_0x4b22b6){const _0xce17c5=_0x17666d;let _0x3ac2cb=_0x481950==null?void 0x0:_0x481950[_0xce17c5(0x425)];if(!(_0x3ac2cb!=null&&_0x3ac2cb['conditions']['length']))return _0x4b22b6;let _0xff51c0=_0x3ac2cb[_0xce17c5(0x2ee)][_0xce17c5(0x425)](_0x831818=>!_0x331044(_0x831818));return _0xff51c0[_0xce17c5(0x278)]?_0x4b22b6[_0xce17c5(0x425)](_0x99d953=>{const _0x19fbf2=_0xce17c5;if(_0x3ac2cb[_0x19fbf2(0x287)]===_0x4d7b12['BaseFilterConjunction']['OR']){for(let _0x300198 of _0xff51c0){let _0x33c02d=_0x2a1759['fields'][_0x300198[_0x19fbf2(0x424)]];if(!_0x33c02d||this['_fieldRegistry'][_0x19fbf2(0x9f)](_0x33c02d['type'])[_0x19fbf2(0x425)](_0x99d953[_0x19fbf2(0x3b2)][_0x33c02d['id']],_0x300198[_0x19fbf2(0x372)],_0x300198[_0x19fbf2(0x291)],_0x33c02d))return!0x0;}return!0x1;}for(let _0xdcf98f of _0xff51c0){let _0xd65e84=_0x2a1759[_0x19fbf2(0x129)][_0xdcf98f[_0x19fbf2(0x424)]];if(_0xd65e84&&!this['_fieldRegistry'][_0x19fbf2(0x9f)](_0xd65e84[_0x19fbf2(0x466)])[_0x19fbf2(0x425)](_0x99d953['values'][_0xd65e84['id']],_0xdcf98f[_0x19fbf2(0x372)],_0xdcf98f['operand'],_0xd65e84))return!0x1;}return!0x0;}):_0x4b22b6;}['_sortRows'](_0xbba810,_0x4dad22,_0x583e19){const _0x46dc75=_0x17666d;let _0x17639c=(_0x4dad22==null?void 0x0:_0x4dad22['sort'])??[];if(!_0x17639c['length'])return _0x583e19;let _0x16ed46=_0x17639c['flatMap'](_0x3524aa=>{const _0x210b5d=_0x2760;let _0x490236=_0xbba810[_0x210b5d(0x129)][_0x3524aa[_0x210b5d(0x424)]];return _0x490236?[{..._0x3524aa,'field':_0x490236}]:[];});return _0x16ed46[_0x46dc75(0x278)]?this[_0x46dc75(0x3e7)](_0x16ed46)?this[_0x46dc75(0x14f)](_0x16ed46,_0x583e19):[..._0x583e19][_0x46dc75(0x3bb)]((_0x43ed32,_0x436e32)=>{const _0x2a3f10=_0x46dc75;for(let _0x563bbf of _0x16ed46){let _0x359aed=_0x563bbf['field'],_0x4d32f0=this['_fieldRegistry']['get'](_0x359aed['type'])['compare'](_0x43ed32['values'][_0x359aed['id']],_0x436e32['values'][_0x359aed['id']],_0x359aed);if(_0x4d32f0!==0x0)return _0x563bbf[_0x2a3f10(0x27c)]===_0x4d7b12['BaseSortDirection'][_0x2a3f10(0x1ff)]?-_0x4d32f0:_0x4d32f0;}return 0x0;}):_0x583e19;}[_0x17666d(0x3e7)](_0x58b56d){const _0x51e12b=_0x17666d;return _0x58b56d['every'](_0x365d15=>_0x3f7da6[_0x51e12b(0x1eb)](_0x365d15[_0x51e12b(0x38f)]['type']));}[_0x17666d(0x14f)](_0x240b10,_0x2bce62){const _0x226b6b=_0x17666d;return _0x2bce62[_0x226b6b(0xd9)]((_0x2a62c0,_0x22baba)=>({'row':_0x2a62c0,'index':_0x22baba,'keys':_0x240b10[_0x226b6b(0xd9)](_0x148b0a=>_0x2a62c0[_0x226b6b(0x3b2)][_0x148b0a[_0x226b6b(0x424)]])}))['sort']((_0x57c73c,_0x19b93d)=>{const _0x98ae00=_0x226b6b;for(let _0x5488da=0x0;_0x5488da<_0x240b10['length'];_0x5488da++){let _0x576562=_0x3f21aa(_0x57c73c[_0x98ae00(0x3d7)][_0x5488da],_0x19b93d[_0x98ae00(0x3d7)][_0x5488da]);if(_0x576562!==0x0)return _0x240b10[_0x5488da]['direction']===_0x4d7b12[_0x98ae00(0x271)][_0x98ae00(0x1ff)]?-_0x576562:_0x576562;}return _0x57c73c['index']-_0x19b93d[_0x98ae00(0x293)];})[_0x226b6b(0xd9)](_0x21d830=>_0x21d830[_0x226b6b(0x1b3)]);}['_projectGroups'](_0x2097eb,_0x43ea1f,_0x3eaf7f){const _0x3386c7=_0x17666d;var _0x211ac1;return _0x1b2201(_0x3386c7(0x1c8),()=>{const _0x8a9c0b=_0x3386c7;var _0x3b6677;if(!((_0x3b6677=_0x43ea1f['group'])!=null&&_0x3b6677[_0x8a9c0b(0x278)]))return[];let _0x2afac8=_0x43ea1f[_0x8a9c0b(0x161)]['filter'](_0x171415=>_0x2097eb['fields'][_0x171415[_0x8a9c0b(0x424)]]);if(!_0x2afac8[_0x8a9c0b(0x278)])return[];let _0x4e3639=this[_0x8a9c0b(0x2f1)](_0x2097eb['id'],_0x43ea1f,_0x2afac8),_0x3fe558=this[_0x8a9c0b(0x457)](_0x2097eb['id']),_0x5553bb=this['_projectedGroupsCache'][_0x8a9c0b(0x9f)](_0x4e3639);if(_0x5553bb&&_0x5553bb[_0x8a9c0b(0x3e9)]===this[_0x8a9c0b(0x39c)]&&_0x5553bb[_0x8a9c0b(0xb7)]===this[_0x8a9c0b(0xec)](_0x2097eb['id'])){if(_0x5553bb[_0x8a9c0b(0x18c)]===_0x3fe558&&_0x5553bb[_0x8a9c0b(0x90)]===_0x3eaf7f)return _0x5553bb[_0x8a9c0b(0x34c)];if(_0x5553bb[_0x8a9c0b(0x18c)]!==_0x3fe558&&!this['_cellInvalidationsTouchFields'](_0x2097eb['id'],_0x5553bb[_0x8a9c0b(0x18c)],_0x3fe558,this['_groupProjectionFieldIds'](_0x43ea1f)))return this[_0x8a9c0b(0x147)][_0x8a9c0b(0x12c)](_0x4e3639,{..._0x5553bb,'rows':_0x3eaf7f,'cellRevision':_0x3fe558}),_0x5553bb[_0x8a9c0b(0x34c)];}let _0x3787e4=new Map();for(let _0x20c54e of _0x3eaf7f){let _0x489d45=_0x3787e4,_0x2f1c3b='';for(let _0x17a8c9=0x0;_0x17a8c9<_0x2afac8[_0x8a9c0b(0x278)];_0x17a8c9++){let _0x5d787a=_0x2afac8[_0x17a8c9],_0x5231d3=_0x20c54e[_0x8a9c0b(0x3b2)][_0x5d787a['fieldId']],_0x312906=_0x1eef89(_0x5231d3),_0x399ee5=_0x5d787a[_0x8a9c0b(0x424)]+'\x00'+_0x312906,_0x256f8a=_0x2f1c3b+'/'+_0x5d787a[_0x8a9c0b(0x424)]+':'+_0x312906,_0x39bd87=_0x489d45[_0x8a9c0b(0x9f)](_0x399ee5);_0x39bd87||(_0x39bd87={'key':_0x312906,'value':_0x5231d3,'path':_0x256f8a,'label':_0x312906||_0x8a9c0b(0x305),'fieldId':_0x5d787a[_0x8a9c0b(0x424)],'level':_0x17a8c9,'recordIds':[],'children':new Map()},_0x489d45['set'](_0x399ee5,_0x39bd87)),_0x39bd87['recordIds'][_0x8a9c0b(0x112)](_0x20c54e['recordId']),_0x489d45=_0x39bd87[_0x8a9c0b(0x25f)],_0x2f1c3b=_0x256f8a;}}let _0x167dd5=this['_materializeGroups'](_0x2afac8,_0x3787e4,0x0);return this[_0x8a9c0b(0x147)][_0x8a9c0b(0x12c)](_0x4e3639,{'table':_0x2097eb,'rows':_0x3eaf7f,'groups':_0x167dd5,'globalRevision':this[_0x8a9c0b(0x39c)],'tableRevision':this[_0x8a9c0b(0xec)](_0x2097eb['id']),'cellRevision':_0x3fe558}),_0x167dd5;},{'tableId':_0x2097eb['id'],'viewId':_0x43ea1f['id'],'viewType':_0x43ea1f[_0x3386c7(0x466)],'rows':_0x3eaf7f[_0x3386c7(0x278)],'groupFields':((_0x211ac1=_0x43ea1f[_0x3386c7(0x161)])==null?void 0x0:_0x211ac1[_0x3386c7(0x278)])??0x0});}['_materializeGroups'](_0x405b77,_0x118620,_0x2e32ca){const _0x32eebb=_0x17666d;var _0x9e1a25;let _0x23e56c=Array['from'](_0x118620[_0x32eebb(0x3b2)]()),_0x25d11e=(_0x9e1a25=_0x405b77[_0x2e32ca])==null?void 0x0:_0x9e1a25['direction'];return _0x25d11e&&_0x23e56c[_0x32eebb(0x3bb)]((_0x580de4,_0x3b12cd)=>{const _0x413a91=_0x32eebb;let _0x4e3278=_0x580de4['key'][_0x413a91(0x31b)](_0x3b12cd[_0x413a91(0x3fa)]);return _0x25d11e===_0x4d7b12[_0x413a91(0x271)][_0x413a91(0x1ff)]?-_0x4e3278:_0x4e3278;}),_0x23e56c[_0x32eebb(0xd9)](_0x174c07=>({'key':_0x174c07['key'],'value':_0x174c07[_0x32eebb(0x12e)],'path':_0x174c07[_0x32eebb(0x33b)],'label':_0x174c07[_0x32eebb(0x3bc)],'fieldId':_0x174c07[_0x32eebb(0x424)],'level':_0x174c07[_0x32eebb(0x441)],'recordIds':_0x174c07[_0x32eebb(0x391)],'children':this['_materializeGroups'](_0x405b77,_0x174c07[_0x32eebb(0x25f)],_0x2e32ca+0x1)}));}[_0x17666d(0x2ca)](_0x53f0c9,_0x341c09,_0x3a3bb1){const _0x2ea842=_0x17666d;let _0x19aac5=_0x3a3bb1??_0x53f0c9['primaryFieldId'],_0x1df2d6=_0x341c09[_0x2ea842(0x3b2)][_0x19aac5];return _0x1df2d6==null?'':String(_0x1df2d6);}[_0x17666d(0x3ad)](_0x31ed4d){const _0x3209c0=_0x17666d;if(Array[_0x3209c0(0x46e)](_0x31ed4d))return _0x31ed4d[_0x3209c0(0xd9)](String);if(typeof _0x31ed4d=='string'&&_0x31ed4d)return[_0x31ed4d];}[_0x17666d(0x33c)](_0x3fbde5){const _0x16de22=_0x17666d;return this[_0x16de22(0x250)][_0x16de22(0x9f)](_0x3fbde5[_0x16de22(0x466)])[_0x16de22(0x94)](_0x3fbde5);}};_0x2f3355=_0x505956([_0x2661c4(0x0,(0x0,_0x4d7b12[_0x17666d(0x2ab)])(_0x336523))],_0x2f3355);function _0x1eef89(_0xa00f43){return _0xa00f43==null?'':String(_0xa00f43);}function _0x149975(_0x57e21a){const _0x3fdbfe=_0x17666d;return new Map(_0x57e21a[_0x3fdbfe(0xd9)]((_0x7513f7,_0x5aaaee)=>[_0x7513f7['recordId'],_0x5aaaee]));}function _0x229f46(_0x227f3a){const _0x3d7a99=_0x17666d;return!!(Array[_0x3d7a99(0x46e)](_0x227f3a[_0x3d7a99(0x370)])&&_0x227f3a[_0x3d7a99(0x3db)]&&_0x227f3a[_0x3d7a99(0x357)]&&_0x227f3a[_0x3d7a99(0x118)]&&_0x227f3a[_0x3d7a99(0x1f6)]&&_0x227f3a[_0x3d7a99(0x17b)]);}function _0x3efe58(_0x4b0cdc){const _0x338b56=_0x17666d;return _0x4b0cdc!=null&&_0x4b0cdc[_0x338b56(0x2ee)][_0x338b56(0x278)]?{'conjunction':_0x4b0cdc['conjunction'],'conditions':_0x4b0cdc[_0x338b56(0x2ee)][_0x338b56(0xd9)](_0x5bddfa=>({'fieldId':_0x5bddfa[_0x338b56(0x424)],'operator':_0x5bddfa[_0x338b56(0x372)],'operand':_0x5bddfa[_0x338b56(0x291)]}))}:null;}function _0xc32512(_0x3980cb){const _0x126c29=_0x17666d;return _0x3980cb!=null&&_0x3980cb['length']?_0x3980cb[_0x126c29(0xd9)](_0xcd1672=>({'fieldId':_0xcd1672['fieldId'],'direction':_0xcd1672[_0x126c29(0x27c)]})):null;}function _0x50acc0(_0x4e04ca){const _0x1c8d28=_0x17666d;if(typeof _0x4e04ca!=_0x1c8d28(0x297)||!_0x4e04ca)return JSON[_0x1c8d28(0x33d)](_0x4e04ca)??_0x1c8d28(0x339);if(Array['isArray'](_0x4e04ca))return'['+_0x4e04ca['map'](_0x50acc0)[_0x1c8d28(0x1ef)](',')+']';let _0x22151e=_0x4e04ca;return'{'+Object['keys'](_0x22151e)['sort']()[_0x1c8d28(0xd9)](_0x66a5c=>JSON[_0x1c8d28(0x33d)](_0x66a5c)+':'+_0x50acc0(_0x22151e[_0x66a5c]))[_0x1c8d28(0x1ef)](',')+'}';}function _0x503418(_0x4ec207){const _0x427dfa=_0x17666d;let _0x2d5122=Object[_0x427dfa(0x3b2)](_0x4ec207)[_0x427dfa(0x3bb)]((_0x2504e0,_0x2ae75f)=>_0x2504e0[_0x427dfa(0x46d)]['localeCompare'](_0x2ae75f[_0x427dfa(0x46d)])),_0x5d5224=[];for(let _0x519219 of _0x2d5122)_0x5d5224[_0x427dfa(0x112)](_0x519219['id']);return _0x5d5224;}let _0x2ea79f=0x5a0*0x3c*0x3e8;function _0x54206c(_0x25bf0b){const _0xce3396=_0x17666d;return{'weekdays':Array[_0xce3396(0x46e)](_0x25bf0b==null?void 0x0:_0x25bf0b['weekdays'])&&_0x25bf0b[_0xce3396(0x24a)][_0xce3396(0x278)]?[...new Set(_0x25bf0b[_0xce3396(0x24a)][_0xce3396(0x425)](_0xcb58b3=>Number[_0xce3396(0x270)](_0xcb58b3)&&_0xcb58b3>=0x1&&_0xcb58b3<=0x7))]:[0x1,0x2,0x3,0x4,0x5],'exceptions':Array[_0xce3396(0x46e)](_0x25bf0b==null?void 0x0:_0x25bf0b[_0xce3396(0x34a)])?_0x25bf0b[_0xce3396(0x34a)]['flatMap'](_0x325fb1=>!_0x325fb1||!Number[_0xce3396(0x1c5)](_0x325fb1[_0xce3396(0x140)])?[]:[{'id':String(_0x325fb1['id']||_0xce3396(0x209)+_0x325fb1[_0xce3396(0x140)]),'date':_0x28c21d(Number(_0x325fb1[_0xce3396(0x140)])),'name':String(_0x325fb1[_0xce3396(0x208)]||'Working\x20day'),'type':_0x325fb1[_0xce3396(0x466)]==='working'?_0xce3396(0x25c):'off'}]):[]};}function _0x1ac163(_0x207c91,_0x34692c,_0x41ee22,_0x152fae){let _0x58644a=_0x452811(_0x207c91,_0x34692c),_0x215927=_0x58e661(_0x207c91,_0x41ee22),_0x37196d=_0x380c5b(_0x207c91,_0x58644a,_0x215927,_0x152fae);return{'scale':_0x207c91,'start':_0x58644a,'end':_0x215927,'unitWidth':_0x2f0512(_0x207c91),'majorHeaders':_0x35337b(_0x207c91,_0x58644a,_0x215927),'columns':_0x37196d};}function _0x380c5b(_0x507359,_0x3be41f,_0x582204,_0x5a58db){const _0x3bd0e0=_0x17666d;let _0x1ebbe6=[],_0x3041ac=_0x3be41f;for(;_0x3041ac<_0x582204;){let _0x31f426=_0x507359===_0x3bd0e0(0x199)?_0xd119a3(_0x3041ac,0x7):_0x507359===_0x3bd0e0(0x231)?_0x67e527(_0x3041ac,0x1):_0xd119a3(_0x3041ac,0x1);_0x1ebbe6[_0x3bd0e0(0x112)]({'id':_0x507359+'-'+_0x3041ac,'label':_0x2d3384(_0x507359,_0x3041ac,_0x31f426),'majorLabel':_0xf8fd02(_0x507359,_0x3041ac),'start':_0x3041ac,'end':_0x31f426,'nonWorking':_0x29eda6(_0x3041ac,_0x31f426,_0x5a58db)}),_0x3041ac=_0x31f426;}return _0x1ebbe6;}function _0x35337b(_0x352797,_0x2bdc30,_0x2d9504){const _0x1a7ae4=_0x17666d;let _0x24f860=[],_0x101646=_0x352797===_0x1a7ae4(0x231)?_0x239f6e(_0x2bdc30):_0x108d15(_0x2bdc30);for(;_0x101646<_0x2d9504;){let _0x1416b2=_0x352797===_0x1a7ae4(0x231)?_0x5db147(_0x101646,0x1):_0x67e527(_0x101646,0x1);_0x24f860[_0x1a7ae4(0x112)]({'id':_0x1a7ae4(0x7c)+_0x101646,'label':_0x352797===_0x1a7ae4(0x231)?String(new Date(_0x101646)[_0x1a7ae4(0xf2)]()):_0x4ca9f6(_0x101646),'start':_0x101646,'end':_0x1416b2}),_0x101646=_0x1416b2;}return _0x24f860;}function _0x2f0512(_0x1cd12c){const _0x4f0d44=_0x17666d;switch(_0x1cd12c){case _0x4f0d44(0x27b):return 0xac;case'quarter':return 0xac;case _0x4f0d44(0x231):return 0x88;default:return 0x56;}}function _0x452811(_0x21593f,_0x61b686){const _0x1a08de=_0x17666d;return _0x21593f==='year'?_0x239f6e(_0x61b686):_0x21593f===_0x1a08de(0x199)?_0x514396(_0x61b686):_0x28c21d(_0x61b686);}function _0x58e661(_0x26a926,_0x861eee){const _0x445b8c=_0x17666d;return _0x26a926===_0x445b8c(0x231)?_0x5db147(_0x239f6e(_0x861eee),0x1):_0x26a926===_0x445b8c(0x199)?_0xd119a3(_0x514396(_0x861eee),0x7):_0xd119a3(_0x28c21d(_0x861eee),0x1);}function _0x2d3384(_0x562475,_0x4f8cdc,_0x442130){const _0x17dc0a=_0x17666d;let _0x5e7535=new Date(_0x4f8cdc);return _0x562475===_0x17dc0a(0x199)?_0x5e7535['getUTCDate']()+'-'+new Date(_0x442130-_0x2ea79f)[_0x17dc0a(0xc6)]():_0x562475===_0x17dc0a(0x231)?_0x5e7535[_0x17dc0a(0x19a)](_0x17dc0a(0x3cd),{'month':_0x17dc0a(0x27a),'timeZone':_0x17dc0a(0x13e)}):String(_0x5e7535['getUTCDate']());}function _0xf8fd02(_0x21263f,_0x353c76){const _0x10e72a=_0x17666d;return _0x21263f==='year'?String(new Date(_0x353c76)[_0x10e72a(0xf2)]()):_0x4ca9f6(_0x353c76);}function _0x5c472b(_0x84ee7b,_0x335696,_0x6d1cd1){let _0xdeb646=_0x54206c(_0x6d1cd1),_0x1a7a4e=0x0;for(let _0x57f326=_0x28c21d(_0x84ee7b);_0x57f326<=_0x28c21d(_0x335696);_0x57f326=_0xd119a3(_0x57f326,0x1))_0x1a32be(_0x57f326,_0xdeb646)||_0x1a7a4e++;return _0x1a7a4e;}function _0x29eda6(_0x34f09c,_0x1e9e3e,_0x386612){if(!_0x386612)return!0x1;let _0x50f3c9=_0x54206c(_0x386612);for(let _0x1eeaa2=_0x28c21d(_0x34f09c);_0x1eeaa2<_0x1e9e3e;_0x1eeaa2=_0xd119a3(_0x1eeaa2,0x1))if(!_0x1a32be(_0x1eeaa2,_0x50f3c9))return!0x1;return!0x0;}function _0x1a32be(_0x8f1a55,_0xadb811){const _0x12dc8c=_0x17666d;let _0x4ba75d=_0x28c21d(_0x8f1a55),_0x319e5a=_0xadb811[_0x12dc8c(0x34a)][_0x12dc8c(0x3b6)](_0x341c7b=>_0x28c21d(_0x341c7b[_0x12dc8c(0x140)])===_0x4ba75d);if(_0x319e5a)return _0x319e5a[_0x12dc8c(0x466)]===_0x12dc8c(0x1bf);let _0x26c1c3=new Date(_0x4ba75d)[_0x12dc8c(0x9b)](),_0x575cea=_0x26c1c3===0x0?0x7:_0x26c1c3;return!_0xadb811[_0x12dc8c(0x24a)]['includes'](_0x575cea);}function _0x28c21d(_0x43b4fe){const _0x399994=_0x17666d;let _0x1a282a=new Date(_0x43b4fe);return Date[_0x399994(0x13e)](_0x1a282a['getUTCFullYear'](),_0x1a282a[_0x399994(0x43f)](),_0x1a282a['getUTCDate']());}function _0x514396(_0x59e095){const _0x2b0332=_0x17666d;let _0x573082=_0x28c21d(_0x59e095),_0x1da91a=new Date(_0x573082)[_0x2b0332(0x9b)]();return _0xd119a3(_0x573082,-(_0x1da91a===0x0?0x6:_0x1da91a-0x1));}function _0x108d15(_0x7369e){const _0x4880a8=_0x17666d;let _0x50be79=new Date(_0x7369e);return Date[_0x4880a8(0x13e)](_0x50be79['getUTCFullYear'](),_0x50be79[_0x4880a8(0x43f)](),0x1);}function _0x239f6e(_0x5b3600){const _0x151bfa=_0x17666d;let _0x512b0c=new Date(_0x5b3600);return Date[_0x151bfa(0x13e)](_0x512b0c[_0x151bfa(0xf2)](),0x0,0x1);}function _0xd119a3(_0x583a9a,_0x20f724){return _0x583a9a+_0x20f724*_0x2ea79f;}function _0x67e527(_0x34ce42,_0x630a0f){const _0x15c73b=_0x17666d;let _0x17f092=new Date(_0x34ce42);return Date[_0x15c73b(0x13e)](_0x17f092[_0x15c73b(0xf2)](),_0x17f092[_0x15c73b(0x43f)]()+_0x630a0f,0x1);}function _0x5db147(_0x400016,_0x47a79c){let _0x3aea46=new Date(_0x400016);return Date['UTC'](_0x3aea46['getUTCFullYear']()+_0x47a79c,0x0,0x1);}function _0x4ca9f6(_0x6dc73d){const _0x115573=_0x17666d;let _0x14fb25=new Date(_0x6dc73d);return _0x14fb25[_0x115573(0x19a)](_0x115573(0x3cd),{'month':_0x115573(0x27a),'timeZone':_0x115573(0x13e)})+'\x20'+_0x14fb25['getUTCFullYear']();}function _0x3f21aa(_0x9fd97a,_0x4f25cf){const _0x3bf982=_0x17666d;if(_0x9fd97a==null&&_0x4f25cf==null)return 0x0;if(_0x9fd97a==null)return-0x1;if(_0x4f25cf==null)return 0x1;if(typeof _0x9fd97a==_0x3bf982(0x217)||typeof _0x4f25cf==_0x3bf982(0x217))return Number(_0x9fd97a===!0x0)-Number(_0x4f25cf===!0x0);let _0x2e3747=Number(_0x9fd97a),_0x1864bf=Number(_0x4f25cf),_0x55f62f=Number[_0x3bf982(0x1c5)](_0x2e3747),_0x324ac1=Number[_0x3bf982(0x1c5)](_0x1864bf);return _0x55f62f&&_0x324ac1?_0x2e3747-_0x1864bf:_0x55f62f?0x1:_0x324ac1?-0x1:String(_0x9fd97a)[_0x3bf982(0x31b)](String(_0x4f25cf));}function _0x331044(_0xc32d78){const _0x67bb5f=_0x17666d;if(_0xc32d78[_0x67bb5f(0x372)]!=='is'&&_0xc32d78['operator']!==_0x67bb5f(0x294))return!0x1;let _0x566eff=_0xc32d78[_0x67bb5f(0x291)];return _0x566eff==null?!0x0:typeof _0x566eff==_0x67bb5f(0x3af)?_0x566eff['trim']()==='':Array[_0x67bb5f(0x46e)](_0x566eff)?_0x566eff[_0x67bb5f(0x278)]===0x0:!0x1;}function _0x2f4b46(_0x4f97df,_0x45c24d){const _0x233356=_0x17666d;var _0x3b6417;let _0x5f1a1f=Array[_0x233356(0x46e)]((_0x3b6417=_0x4f97df['config'])==null?void 0x0:_0x3b6417['options'])?_0x4f97df['config'][_0x233356(0x3d9)]:[];for(let _0x104beb of _0x5f1a1f){if(_0x104beb==null)continue;if(typeof _0x104beb=='string'){if(_0x104beb===_0x45c24d)return{'id':_0x104beb,'name':_0x104beb};continue;}let _0x3ad8d5=_0x104beb,_0x25e3ae=String(_0x3ad8d5['id']??_0x3ad8d5[_0x233356(0x208)]??''),_0x7aa53c=String(_0x3ad8d5[_0x233356(0x208)]??_0x3ad8d5['id']??_0x25e3ae);if(_0x25e3ae===_0x45c24d||_0x7aa53c===_0x45c24d)return{'id':_0x25e3ae,'name':_0x7aa53c,'color':_0x3ad8d5[_0x233356(0x1ee)]==null?void 0x0:String(_0x3ad8d5[_0x233356(0x1ee)])};}return null;}let _0x36dd63={'id':_0x17666d(0x2b6),'type':_0x4d7b12[_0x17666d(0xac)][_0x17666d(0x2d4)],'handler'(_0x3da286,_0x363f4d){const _0x271190=_0x17666d;let {unitId:_0xf4f8b1,op:_0x15a97f}=_0x363f4d,_0x388613=_0x3da286['get'](_0x4d7b12[_0x271190(0x322)])['getUnit'](_0xf4f8b1,_0x4d7b12[_0x271190(0xca)][_0x271190(0x101)]);if(!_0x388613)return!0x1;let _0x3da881=_0x388613[_0x271190(0x2de)](),_0x16713e=new _0x51bfae(),_0x36813e=_0x16713e[_0x271190(0x43b)](_0x15a97f),_0x5f56de=_0x16713e[_0x271190(0x344)](_0x3da881,_0x15a97f);return _0x388613['setSnapshot'](_0x5f56de),_0x23bf9c(_0x5f56de,_0x36813e,_0x3da286['get'](_0x465d1d)),!0x0;}};function _0x23bf9c(_0x2d923f,_0x1ac441,_0x188c74){const _0xbc1d72=_0x17666d;let _0xfc950f=new Set();for(let _0x1d491d of _0x1ac441){if(_0x1d491d['reason']!==_0xbc1d72(0x2cb)){_0x188c74[_0xbc1d72(0x403)]();return;}let _0x40726f=_0x160f94(_0x2d923f,_0x1d491d);if(!_0x40726f){_0x188c74[_0xbc1d72(0x403)]();return;}let _0x4acb49=_0x40726f['tableId']+'\x00'+_0x40726f['recordId']+'\x00'+_0x40726f['fieldId'];_0xfc950f[_0xbc1d72(0x1eb)](_0x4acb49)||(_0xfc950f[_0xbc1d72(0x3a1)](_0x4acb49),_0x188c74['invalidateByCell'](_0x40726f[_0xbc1d72(0x10c)],_0x40726f[_0xbc1d72(0x23d)],_0x40726f['fieldId']));}}function _0x160f94(_0x2cdc66,_0x4da71e){const _0x1111d1=_0x17666d;var _0x20b1be,_0x2b6a2a;if(!_0x4da71e[_0x1111d1(0x10c)])return null;if(_0x4da71e[_0x1111d1(0x23d)]&&_0x4da71e[_0x1111d1(0x424)])return{'tableId':_0x4da71e['tableId'],'recordId':_0x4da71e[_0x1111d1(0x23d)],'fieldId':_0x4da71e[_0x1111d1(0x424)]};if(_0x4da71e[_0x1111d1(0x1b3)]==null||_0x4da71e[_0x1111d1(0x46f)]==null)return null;let _0x29a177=_0x2cdc66['tables'][_0x4da71e['tableId']],_0x358381=_0x29a177==null||(_0x20b1be=_0x29a177[_0x1111d1(0x357)])==null?void 0x0:_0x20b1be[_0x4da71e[_0x1111d1(0x1b3)]],_0x49d1ee=_0x29a177==null||(_0x2b6a2a=_0x29a177[_0x1111d1(0x1f6)])==null?void 0x0:_0x2b6a2a[_0x4da71e[_0x1111d1(0x46f)]];return!_0x358381||!_0x49d1ee?null:{'tableId':_0x4da71e[_0x1111d1(0x10c)],'recordId':_0x358381,'fieldId':_0x49d1ee};}let _0x2025c8=_0x4d7b12[_0x17666d(0x106)]['createRegExpFromSafeFragment'](String[_0x17666d(0x8a)]`(?:^|\W)\$?[A-Z]{1,3}\$?\d+(?::\$?[A-Z]{1,3}\$?\d+)?(?:$|\W)`),_0x2a549c=_0x4d7b12[_0x17666d(0x106)][_0x17666d(0x2e6)](String[_0x17666d(0x8a)]`(?:'\[[^\]]+\](?:[^']|'')+'|\[[^\]]+\][^\s'!]+)!\$?[A-Z]{1,3}\$?\d+(?::\$?[A-Z]{1,3}\$?\d+)?`,'gi'),_0x30e87d=/\{([^}]+)\}/g,_0x3486e6=_0x4d7b12[_0x17666d(0x106)]['createRegExpFromSafeFragment'](String[_0x17666d(0x8a)]`\b([A-Z_][\w.]*)\[\[\s*#(This Row|Data)\s*\],\s*\[([^\]]+)\]\]`,'gi'),_0xc9164d=_0x4d7b12[_0x17666d(0x106)][_0x17666d(0x2e6)](String['raw']`\b([A-Z_][\w.]*)\[@\[([^\]]+)\]\]`,'gi'),_0x259950=_0x4d7b12[_0x17666d(0x106)][_0x17666d(0x2e6)](String[_0x17666d(0x8a)]`\b([A-Z_][\w.]*)\[([^\[\]#]+)\]`,'gi'),_0x3bc4d7=_0x4d7b12[_0x17666d(0x106)][_0x17666d(0x2e6)](String[_0x17666d(0x8a)]`(^|[^\w\[])\[\[\s*#(This Row|Data)\s*\],\s*\[([^\]]+)\]\]`,'gi'),_0x155e83=_0x4d7b12['regexp']['createRegExpFromSafeFragment'](String[_0x17666d(0x8a)]`(^|[^\w\[])\[@\[([^\]]+)\]\](?!\])`,'g'),_0x3276c1=_0x4d7b12['regexp'][_0x17666d(0x2e6)](String[_0x17666d(0x8a)]`(^|[^\w\[])\[@?([^\[\]#]+)\](?!\])`,'g');var _0x199153=class{[_0x17666d(0x13c)](_0x5a78a9,_0x50b971=_0x5a78a9['id']){const _0x3dd6f7=_0x17666d;var _0x346132;let _0x483d03=((_0x346132=_0x5a78a9[_0x3dd6f7(0x370)])==null?void 0x0:_0x346132['length'])??Object[_0x3dd6f7(0x3b2)](_0x5a78a9[_0x3dd6f7(0x14c)])['length'];return{'sheetId':_0x50b971,'titleMap':new Map(_0x5a78a9['fieldOrder'][_0x3dd6f7(0xd9)]((_0x60d210,_0x3e79c8)=>{const _0x522c88=_0x3dd6f7;var _0x57b133;return[((_0x57b133=_0x5a78a9[_0x522c88(0x129)][_0x60d210])==null?void 0x0:_0x57b133[_0x522c88(0x208)])??_0x60d210,_0x3e79c8];})),'range':{'startRow':0x0,'endRow':Math[_0x3dd6f7(0x3e8)](0x0,_0x483d03-0x1),'startColumn':0x0,'endColumn':Math['max'](0x0,_0x5a78a9['fieldOrder']['length']-0x1)},'showHeader':!0x1};}[_0x17666d(0x253)](_0x167329,_0x43f5ed){const _0x28692e=_0x17666d;let _0x5971cd=[],_0xa23cb4=_0x43f5ed?new Set(_0x43f5ed):null,_0x30ad18=(0x0,_0x4d7b12[_0x28692e(0x17c)])(_0x167329);return Object['values'](_0x167329[_0x28692e(0x334)])[_0x28692e(0x425)](_0x13d835=>!_0xa23cb4||_0xa23cb4[_0x28692e(0x1eb)](_0x13d835['id']))[_0x28692e(0x3cc)](_0x3ff556=>{const _0x4c71e9=_0x28692e;let _0x2e2f92=this['createSuperTableReference'](_0x3ff556,_0x3ff556['id']);_0x5971cd[_0x4c71e9(0x112)]({'tableId':_0x3ff556['id'],'tableName':_0x30ad18['get'](_0x3ff556['id']),'reference':_0x2e2f92});}),_0x5971cd;}[_0x17666d(0x35b)](_0x3dc3a2,_0x25c114,_0x3348c5={}){const _0xe515a5=_0x17666d;let _0x207d1f=_0x3dc3a2['trim']();if(!_0x207d1f)return{'valid':!0x0};if(_0x47b503(_0x207d1f))return{'valid':!0x1,'reason':_0xe515a5(0x3d5)};let _0x33f1bd=_0x3348c5[_0xe515a5(0x2e9)]?(0x0,_0x4d7b12[_0xe515a5(0x17c)])(_0x3348c5[_0xe515a5(0x2e9)]):void 0x0;for(let _0x3253f9 of _0x261274(_0x207d1f)){let _0x4e7a0a=_0x41368e(_0x3253f9,_0x25c114,_0x3348c5['snapshot'],_0x33f1bd);if(!_0x4e7a0a[_0xe515a5(0x39f)])return{'valid':!0x1,'reason':_0xe515a5(0x212)+_0x3253f9['tableName']+_0xe515a5(0x237)};if(!_0x4e7a0a[_0xe515a5(0x38f)])return{'valid':!0x1,'reason':_0xe515a5(0x116)+_0x3253f9[_0xe515a5(0x45c)]+_0xe515a5(0x113)};}return{'valid':!0x0};}[_0x17666d(0x229)](_0x26a99e,_0x2651d4,_0x43d302={}){const _0x3d8f1c=_0x17666d;let _0x5d1a5e=new Set();for(let _0x23e00b of this[_0x3d8f1c(0x28f)](_0x26a99e,_0x2651d4,_0x43d302))_0x23e00b[_0x3d8f1c(0x10c)]===_0x2651d4['id']&&_0x5d1a5e[_0x3d8f1c(0x3a1)](_0x23e00b[_0x3d8f1c(0x424)]);return Array[_0x3d8f1c(0x2ba)](_0x5d1a5e);}[_0x17666d(0x28f)](_0x22664e,_0x512262,_0x40375b={}){const _0x2fd405=_0x17666d;let _0x36e898=new Map(),_0x5b5da3=_0x40375b[_0x2fd405(0x2e9)]?(0x0,_0x4d7b12[_0x2fd405(0x17c)])(_0x40375b[_0x2fd405(0x2e9)]):void 0x0;for(let _0x4906b2 of _0x261274(_0x22664e)){let _0x280b0=_0x41368e(_0x4906b2,_0x512262,_0x40375b[_0x2fd405(0x2e9)],_0x5b5da3);if(!_0x280b0[_0x2fd405(0x39f)]||!_0x280b0[_0x2fd405(0x38f)])continue;let _0x289038=_0x280b0[_0x2fd405(0x39f)]['id']+'\x1f'+_0x280b0[_0x2fd405(0x38f)]['id'];_0x36e898[_0x2fd405(0x12c)](_0x289038,{'tableId':_0x280b0[_0x2fd405(0x39f)]['id'],'fieldId':_0x280b0[_0x2fd405(0x38f)]['id']});}return Array['from'](_0x36e898[_0x2fd405(0x3b2)]());}};function _0x233b6f(_0x164e8a,_0x3ca568){const _0x66463a=_0x17666d;var _0x1ec18f;let _0x3d3138=[],_0x523757=(_0x1ec18f=_0x3ca568[_0x66463a(0x1c3)])==null?void 0x0:_0x1ec18f[_0x164e8a['id']];return _0x523757&&Object[_0x66463a(0x45d)](_0x523757)['forEach'](([_0x48d472,_0x26f6ae])=>{const _0x4dc0d6=_0x66463a;let _0x83c6a5=_0x164e8a[_0x4dc0d6(0x334)][_0x48d472];if(!_0x83c6a5||!_0x26f6ae)return;let _0x45dcc0=_0x4cff78(_0x83c6a5),_0xa830fe=[];new _0x4d7b12['ObjectMatrix'](_0x26f6ae)[_0x4dc0d6(0x1da)]((_0x385dc3,_0x481d4e,_0x426f16)=>{let _0x305a57=_0x1d7327(_0x45dcc0,_0x385dc3,_0x481d4e,_0x426f16);_0x305a57&&_0xa830fe['push'](_0x305a57);}),_0xa830fe[_0x4dc0d6(0x278)]&&_0x3d3138[_0x4dc0d6(0x112)]({'unitId':_0x164e8a['id'],'tableId':_0x48d472,'patches':_0xa830fe});}),_0x3d3138;}function _0x1d7327(_0x59dcdc,_0x37bfb6,_0xeeb34,_0x3f2850){const _0x1c5692=_0x17666d;var _0x46da95,_0x5390a2,_0x99f5d9;let _0x480d66=(_0x46da95=_0x59dcdc[_0x1c5692(0x357)])==null?void 0x0:_0x46da95[_0x37bfb6],_0xfd5bb1=(_0x5390a2=_0x59dcdc['colId'])==null?void 0x0:_0x5390a2[_0xeeb34];if(!_0x480d66||!_0x59dcdc[_0x1c5692(0x14c)][_0x480d66]||!_0xfd5bb1)return null;let _0x48fcc1=_0x59dcdc['fields'][_0xfd5bb1];if(!_0x48fcc1||_0x48fcc1[_0x1c5692(0x466)]!==_0x1c5692(0x91))return null;let _0x29bcd9=String(((_0x99f5d9=_0x48fcc1[_0x1c5692(0x39d)])==null?void 0x0:_0x99f5d9[_0x1c5692(0x91)])??'')[_0x1c5692(0x11d)](),_0xfd9b69=(_0x3f2850==null?void 0x0:_0x3f2850['v'])??null,_0x648658={'v':_0xfd9b69,'t':_0x19425a(_0xfd9b69),..._0x37bfb6===0x0&&_0x29bcd9?{'f':_0x29bcd9}:{},'si':_0x48fcc1['id']};return _0x5377f3(_0x19f477(_0x59dcdc,_0x480d66,_0xfd5bb1),_0x648658)?null:{'row':_0x37bfb6,'col':_0xeeb34,'value':_0x648658};}function _0x5377f3(_0x4b2a2b,_0x441de8){return _0x4b2a2b!=null&&Object['is'](_0x4b2a2b['v']??null,_0x441de8['v']??null)&&_0x4b2a2b['t']===_0x441de8['t']&&_0x4b2a2b['f']===_0x441de8['f']&&_0x4b2a2b['si']===_0x441de8['si'];}function _0x19425a(_0x349d6a){const _0x97507c=_0x17666d;return typeof _0x349d6a==_0x97507c(0x2c1)?_0x4d7b12['CellValueType'][_0x97507c(0x306)]:typeof _0x349d6a==_0x97507c(0x217)?_0x4d7b12[_0x97507c(0x2f2)][_0x97507c(0x330)]:typeof _0x349d6a==_0x97507c(0x3af)?_0x4d7b12[_0x97507c(0x2f2)][_0x97507c(0x26d)]:null;}function _0x261274(_0x5c64be){const _0x21f915=_0x17666d;let _0x4afd3a=_0x2ec0c8(_0x5c64be,()=>''),_0xa6179a=new Map(),_0x4f2fab=_0x50186c=>{const _0x17f11b=_0x2760;_0xa6179a['set']((_0x50186c[_0x17f11b(0x361)]??'')+'\x1f'+_0x50186c[_0x17f11b(0x45c)],_0x50186c);};for(let _0x43ecbf of _0x4afd3a['matchAll'](_0x30e87d))_0x4f2fab({'fieldName':_0x43ecbf[0x1],'scope':_0x21f915(0x474)});_0x4afd3a=_0x4afd3a['replace'](_0x3486e6,(_0x6d1319,_0x139f47,_0x3ace1c,_0xd981ae)=>(_0x4f2fab({'tableName':_0x139f47,'fieldName':_0xd981ae,'scope':_0x3ace1c[_0x21f915(0x35a)]()==='data'?_0x21f915(0x37e):_0x21f915(0x474)}),'\x20')),_0x4afd3a=_0x4afd3a[_0x21f915(0x1a9)](_0xc9164d,(_0x366b37,_0x105833,_0x518e3c)=>(_0x4f2fab({'tableName':_0x105833,'fieldName':_0x518e3c,'scope':_0x21f915(0x474)}),'\x20')),_0x4afd3a=_0x4afd3a[_0x21f915(0x1a9)](_0x3bc4d7,(_0x1ef47e,_0x34987d,_0x483a1e,_0x5a412b)=>(_0x4f2fab({'fieldName':_0x5a412b,'scope':_0x483a1e['toLowerCase']()===_0x21f915(0x37e)?_0x21f915(0x37e):_0x21f915(0x474)}),_0x34987d+'\x20')),_0x4afd3a=_0x4afd3a[_0x21f915(0x1a9)](_0x155e83,(_0x28f6b5,_0x35b064,_0x295496)=>(_0x4f2fab({'fieldName':_0x295496,'scope':_0x21f915(0x474)}),_0x35b064+'\x20'));for(let _0x3c4a00 of _0x4afd3a[_0x21f915(0xd1)](_0x259950))_0x4f2fab({'tableName':_0x3c4a00[0x1],'fieldName':_0x3c4a00[0x2]});for(let _0x52306d of _0x4afd3a['matchAll'](_0x3276c1))_0x4f2fab({'fieldName':_0x52306d[0x2],'scope':_0x21f915(0x474)});return Array['from'](_0xa6179a[_0x21f915(0x3b2)]());}function _0x47b503(_0x4c6802){const _0x1141fe=_0x17666d;let _0x311c95=_0x2ec0c8(_0x4c6802,()=>'\x20')[_0x1141fe(0x1a9)](_0x30e87d,'\x20')['replace'](_0x3486e6,'\x20')[_0x1141fe(0x1a9)](_0xc9164d,'\x20')[_0x1141fe(0x1a9)](_0x3bc4d7,_0x1141fe(0x119))[_0x1141fe(0x1a9)](_0x155e83,'$1\x20')[_0x1141fe(0x1a9)](_0x259950,'\x20')[_0x1141fe(0x1a9)](_0x3276c1,_0x1141fe(0x119));return _0x2025c8['test'](_0x311c95);}function _0x3b9223(_0x2a84a2,_0x5d5655){return _0x5ecc9d(_0x2fbf3e(_0x2a84a2,_0x5d5655),_0x5d5655);}function _0x2ec0c8(_0x1a4025,_0xc3c494){return _0x4b86fc(_0x3b9223(_0x1a4025,_0xc3c494),_0xc3c494);}function _0x4b86fc(_0x3d5751,_0x47ca6b){const _0xa63365=_0x17666d;return _0x3d5751[_0xa63365(0x1a9)](/"(?:""|[^"])*"/g,_0x47ca6b);}function _0x2fbf3e(_0x3f7c57,_0x493e8f){const _0xb804e7=_0x17666d;return _0x2a549c[_0xb804e7(0x408)]=0x0,_0x3f7c57[_0xb804e7(0x1a9)](_0x2a549c,(_0x4ab2a8,_0x5c69d3)=>_0x165a67(_0x3f7c57,_0x5c69d3)?_0x4ab2a8:_0x493e8f(_0x4ab2a8));}let _0x58198f=/(?:'((?:[^']|'')+)'|\[[^\]]+\]|[A-Za-z0-9_.-]+)![^\s!\[\]]+\[/g;function _0x5ecc9d(_0x43ed69,_0x3c7ef7){const _0x52af1a=_0x17666d;let _0x529f93=[];for(_0x58198f[_0x52af1a(0x408)]=0x0;;){let _0x24acdb=_0x58198f[_0x52af1a(0x38e)](_0x43ed69);if(_0x24acdb==null)break;if(_0x165a67(_0x43ed69,_0x24acdb[_0x52af1a(0x293)]))continue;let _0x1e6507=_0x58198f['lastIndex']-0x1,_0x5aedfb=0x0;for(let _0x2b1b08=_0x1e6507;_0x2b1b08<_0x43ed69[_0x52af1a(0x278)];_0x2b1b08++)if(_0x43ed69[_0x2b1b08]==='['&&_0x5aedfb++,_0x43ed69[_0x2b1b08]===']'&&(_0x5aedfb--,_0x5aedfb===0x0)){_0x529f93['push']({'start':_0x24acdb[_0x52af1a(0x293)],'end':_0x2b1b08+0x1}),_0x58198f['lastIndex']=_0x2b1b08+0x1;break;}}if(_0x529f93[_0x52af1a(0x278)]===0x0)return _0x43ed69;let _0x233684='',_0x409bab=0x0;for(let _0x15cbb0 of _0x529f93)_0x233684+=_0x43ed69[_0x52af1a(0x3fc)](_0x409bab,_0x15cbb0[_0x52af1a(0x3cb)]),_0x233684+=_0x3c7ef7(_0x43ed69[_0x52af1a(0x3fc)](_0x15cbb0[_0x52af1a(0x3cb)],_0x15cbb0[_0x52af1a(0x35e)])),_0x409bab=_0x15cbb0[_0x52af1a(0x35e)];return _0x233684+_0x43ed69[_0x52af1a(0x3fc)](_0x409bab);}function _0x165a67(_0x47a025,_0x26e538){let _0x549bc2=!0x1;for(let _0x287dff=0x0;_0x287dff<_0x26e538;_0x287dff++)if(_0x47a025[_0x287dff]==='\x22'){if(_0x549bc2&&_0x47a025[_0x287dff+0x1]==='\x22'){_0x287dff++;continue;}_0x549bc2=!_0x549bc2;}return _0x549bc2;}function _0x41368e(_0x39fe93,_0x225eec,_0x189a62,_0x91c5f){const _0x10e9df=_0x17666d;let _0x57e6dd=_0x4470cb(_0x39fe93[_0x10e9df(0x361)],_0x225eec,_0x189a62,_0x91c5f);return{'table':_0x57e6dd,'field':_0x57e6dd?Object['values'](_0x57e6dd[_0x10e9df(0x129)])['find'](_0x252616=>_0x252616[_0x10e9df(0x208)]===_0x39fe93[_0x10e9df(0x45c)]):void 0x0};}function _0x4470cb(_0x50e6ba,_0xee71c6,_0x1d2d90,_0x25cf25){const _0x590a58=_0x17666d;if(!_0x50e6ba)return _0xee71c6;if(!_0x1d2d90){var _0x3d87fb;let _0x46d302=_0x50e6ba[_0x590a58(0x35a)]();return _0x46d302===_0xee71c6['id'][_0x590a58(0x35a)]()||_0x46d302===_0xee71c6[_0x590a58(0x208)][_0x590a58(0x35a)]()||_0x46d302===((_0x3d87fb=_0xee71c6[_0x590a58(0x11c)])==null?void 0x0:_0x3d87fb[_0x590a58(0x35a)]())?_0xee71c6:void 0x0;}let _0x10e14c=_0x50e6ba['toLowerCase'](),_0x29d14d=_0x25cf25??(0x0,_0x4d7b12[_0x590a58(0x17c)])(_0x1d2d90),_0x5d089d=Object['values'](_0x1d2d90[_0x590a58(0x334)])[_0x590a58(0x425)](_0x4b3b1b=>{const _0x491b94=_0x590a58;var _0xd9641c;return _0x4b3b1b['id'][_0x491b94(0x35a)]()===_0x10e14c||_0x4b3b1b[_0x491b94(0x208)][_0x491b94(0x35a)]()===_0x10e14c||((_0xd9641c=_0x29d14d[_0x491b94(0x9f)](_0x4b3b1b['id']))==null?void 0x0:_0xd9641c[_0x491b94(0x35a)]())===_0x10e14c||_0x2c9ecb(_0x4b3b1b['id'])[_0x491b94(0x35a)]()===_0x10e14c;});return _0x5d089d[_0x590a58(0x278)]===0x1?_0x5d089d[0x0]:void 0x0;}function _0x2c9ecb(_0x42f5a6){const _0xec3973=_0x17666d;return _0xec3973(0x1d4)+Array[_0xec3973(0x2ba)](_0x42f5a6,_0x2ffe91=>{const _0x1f8e23=_0xec3973;var _0x384f60;return/[A-Za-z0-9]/[_0x1f8e23(0x445)](_0x2ffe91)?_0x2ffe91:'_x'+(((_0x384f60=_0x2ffe91[_0x1f8e23(0x417)](0x0))==null?void 0x0:_0x384f60[_0x1f8e23(0x138)](0x10))??'0')+'_';})[_0xec3973(0x1ef)]('');}let _0x18f87b=new _0x199153();function _0x5c5f0e(_0x1bd07f,_0x28f1b8,_0x38da3b){const _0x2d1e0a=_0x17666d;var _0x2a9687;if(_0x38da3b[_0x2d1e0a(0x466)]!==_0x4d7b12[_0x2d1e0a(0x419)][_0x2d1e0a(0x21c)])return!0x0;let _0x4bf63f=String(((_0x2a9687=_0x38da3b[_0x2d1e0a(0x39d)])==null?void 0x0:_0x2a9687[_0x2d1e0a(0x91)])??''),_0x2f16df=_0x1bd07f[_0x2d1e0a(0x2de)]();return _0x18f87b[_0x2d1e0a(0x35b)](_0x4bf63f,_0x2f16df[_0x2d1e0a(0x334)][_0x28f1b8],{'snapshot':_0x2f16df})[_0x2d1e0a(0x1d5)];}function _0x5c30c8(_0x10d997,_0x2a5cdf,_0xf56081){const _0x1a12bd=_0x17666d;let _0x126888=_0x10d997['getSnapshot']()[_0x1a12bd(0x334)][_0x2a5cdf];if(!_0x126888)return!0x1;let {viewIds:_0x19f5e6,fieldIds:_0x3d919d,recordIds:_0x4cc341}=_0xf56081||{};if(_0x19f5e6){for(let _0xf6ce15 of _0x19f5e6)if(!_0x126888[_0x1a12bd(0x420)][_0xf6ce15])return!0x1;}if(_0x3d919d){for(let _0x2f2af5 of _0x3d919d)if(!_0x126888['fields'][_0x2f2af5])return!0x1;}if(_0x4cc341){for(let _0xfae46e of _0x4cc341)if(!_0x126888[_0x1a12bd(0x14c)][_0xfae46e])return!0x1;}return!0x0;}function _0x52914c(_0x3918a4,_0x184df6,_0x9c432c){const _0x4f31cf=_0x17666d;if(_0x9c432c['id']===_0x4d7b12[_0x4f31cf(0x36b)]||_0x9c432c[_0x4f31cf(0x466)]===_0x4d7b12['BaseFieldType'][_0x4f31cf(0x266)]||(0x0,_0x4d7b12['isBaseRecordIdFieldName'])(_0x9c432c['name'])||!_0x5c5f0e(_0x3918a4,_0x184df6,_0x9c432c))return!0x1;let _0x14a9ac=_0x3918a4[_0x4f31cf(0x2de)]();if(!_0x2bb568(_0x14a9ac,_0x9c432c)[_0x4f31cf(0x1d5)])return!0x1;if(_0x9c432c[_0x4f31cf(0x466)]!==_0x4d7b12['BaseFieldType'][_0x4f31cf(0x328)])return!0x0;let _0x53abbd=_0x2c9bfd(_0x9c432c);if(!_0x53abbd)return!0x1;if(_0x53abbd[_0x4f31cf(0x409)]===void 0x0)return!0x0;if(_0x53abbd[_0x4f31cf(0x409)]!==_0x4d7b12['BaseRecordLinkRole']['Parent']||_0x53abbd['targetTableId']!==_0x184df6||_0x53abbd[_0x4f31cf(0x2b1)]!==!0x1)return!0x1;let _0x5799ff=_0x14a9ac[_0x4f31cf(0x334)][_0x184df6];return!Object[_0x4f31cf(0x3b2)](_0x5799ff[_0x4f31cf(0x129)])[_0x4f31cf(0x256)](_0x2655b5=>{const _0x20fd17=_0x4f31cf;var _0x4e6671;return _0x2655b5['id']!==_0x9c432c['id']&&_0x2655b5['type']===_0x4d7b12['BaseFieldType'][_0x20fd17(0x328)]&&((_0x4e6671=_0x2c9bfd(_0x2655b5))==null?void 0x0:_0x4e6671[_0x20fd17(0x409)])===_0x4d7b12[_0x20fd17(0x348)]['Parent'];});}function _0x5ba17e(_0x139f6e,_0x47fe67,_0x24a4b5,_0x5e0338){const _0x52aaed=_0x17666d;var _0x4ffbbf;let _0x481852=_0x139f6e[_0x52aaed(0x2de)](),_0x38f0fe=(_0x4ffbbf=_0x481852['tables'][_0x47fe67])==null?void 0x0:_0x4ffbbf[_0x52aaed(0x129)][_0x24a4b5];return!_0x38f0fe||_0x38f0fe['id']===_0x4d7b12[_0x52aaed(0x36b)]||_0x38f0fe[_0x52aaed(0x466)]===_0x4d7b12[_0x52aaed(0x419)][_0x52aaed(0x266)]?!0x1:_0x38f0fe[_0x52aaed(0x466)]!==_0x4d7b12[_0x52aaed(0x419)][_0x52aaed(0x328)]||_0x475374(_0x481852,_0x38f0fe,_0x44c5dc(_0x5e0338))['valid'];}function _0x2790bf(_0x13b893,_0x49979e,_0xb61292){const _0x3be5dd=_0x17666d;let _0x1d7e14=_0x13b893[_0x3be5dd(0x2de)]()[_0x3be5dd(0x334)][_0x49979e];return!_0x1d7e14||!(0x0,_0x4d7b12[_0x3be5dd(0x31e)])(_0xb61292['id'])||_0x1d7e14[_0x3be5dd(0x14c)][_0xb61292['id']]||Object[_0x3be5dd(0x44a)]['hasOwnProperty'][_0x3be5dd(0x446)](_0xb61292[_0x3be5dd(0x3b2)],_0x4d7b12[_0x3be5dd(0x36b)])&&_0xb61292[_0x3be5dd(0x3b2)][_0x4d7b12['BASE_RECORD_ID_FIELD_ID']]!==_0xb61292['id']?!0x1:Object[_0x3be5dd(0x45d)](_0xb61292[_0x3be5dd(0x3b2)])[_0x3be5dd(0x178)](([_0x1f628e,_0x212c93])=>_0x1f628e===_0x4d7b12[_0x3be5dd(0x36b)]||_0x5ba17e(_0x13b893,_0x49979e,_0x1f628e,_0x212c93));}function _0x4d3e8b(_0x382faf){const _0xdd144b=_0x17666d;return{..._0x382faf,'values':{..._0x382faf[_0xdd144b(0x3b2)],[_0x4d7b12[_0xdd144b(0x36b)]]:_0x382faf['id']}};}function _0x44c5dc(_0x23dae7){const _0x1d4c02=_0x17666d;if(_0x23dae7&&typeof _0x23dae7==_0x1d4c02(0x297)&&!Array[_0x1d4c02(0x46e)](_0x23dae7)&&'v'in _0x23dae7){let _0x2ce9c3=_0x23dae7['v'];return _0x2ce9c3===void 0x0?null:_0x2ce9c3;}return _0x23dae7;}function _0x83af6a(_0xc0e568,_0x30332b,_0xbf0d6e,_0x552f03){const _0x24b5e6=_0x17666d;let _0x56e0b5=_0xc0e568[_0x24b5e6(0x2de)]()['tables'][_0x30332b];if(!_0x56e0b5)return null;let _0xfaf6bf=_0x571551(_0x56e0b5),_0x162def=_0xfaf6bf??_0x2a161a(_0x56e0b5),_0x40086d=_0xbf0d6e[_0x24b5e6(0x256)](_0x3c99f9=>Object['prototype']['hasOwnProperty']['call'](_0x3c99f9[_0x24b5e6(0x3b2)],_0x162def)),_0x2015df=_0xfaf6bf?_0x56e0b5[_0x24b5e6(0x129)][_0xfaf6bf]:_0x40086d?_0x523965(_0x56e0b5,_0x162def,_0x552f03):null,_0x4f0f15=[];for(let _0x583ade of _0xbf0d6e){let _0x43a546=_0x583ade[_0x24b5e6(0x3b2)][_0x162def],_0x4503b7=_0x2015df!==null&&Object[_0x24b5e6(0x44a)][_0x24b5e6(0x3d1)][_0x24b5e6(0x446)](_0x583ade['values'],_0x162def),_0x3d19a6=_0x44c5dc(_0x43a546),_0x1b121a=null;if(_0x4503b7){if(typeof _0x3d19a6!=_0x24b5e6(0x3af)||!_0x2eeb56(_0x3d19a6,!0x1)[_0x24b5e6(0x1d5)])return null;_0x1b121a=_0x3d19a6;}let _0xb74afc={};if(Object[_0x24b5e6(0x45d)](_0x583ade['values'])[_0x24b5e6(0x3cc)](([_0x12589d,_0x66c8a6])=>{(!_0x4503b7||_0x12589d!==_0x162def)&&(_0xb74afc[_0x12589d]=_0x66c8a6);}),!_0x2790bf(_0xc0e568,_0x30332b,{..._0x583ade,'values':_0xb74afc}))return null;let _0x1bbbff={..._0x583ade[_0x24b5e6(0x3b2)]};_0x1b121a!==null&&(_0x1bbbff[_0x162def]=_0x1b121a),_0x4f0f15[_0x24b5e6(0x112)](_0x4d3e8b({..._0x583ade,'values':_0x1bbbff}));}return{'records':_0x4f0f15,'hierarchyFieldToMaterialize':_0xfaf6bf?null:_0x2015df,'hierarchyChanges':_0x30fd91(_0x56e0b5,_0x4f0f15)};}let _0x77177={'id':_0x17666d(0x19d),'type':_0x4d7b12[_0x17666d(0xac)][_0x17666d(0x412)],'handler'(_0x30578b,_0x477fa8){const _0x5b2162=_0x17666d;if(!_0x477fa8)return!0x1;let _0x3f4295=_0x30578b[_0x5b2162(0x9f)](_0x4d7b12['IUniverInstanceService']),{unitId:_0x400dbc,tableId:_0x36eb75,records:_0x1bfc36}=_0x477fa8,_0x4d32ce=_0x3f4295[_0x5b2162(0x27d)](_0x400dbc,_0x4d7b12[_0x5b2162(0xca)][_0x5b2162(0x101)]),_0x1f2219=_0x1bfc36[_0x5b2162(0xd9)](_0x37afe7=>_0x37afe7['id']);if(!_0x4d32ce||!_0x5c30c8(_0x4d32ce,_0x36eb75)||new Set(_0x1f2219)[_0x5b2162(0x220)]!==_0x1f2219[_0x5b2162(0x278)])return!0x1;let _0x4f2a4a=_0x30578b[_0x5b2162(0x9f)](_0x4d7b12['ICommandService']),_0x57ec1e=_0x30578b['get'](_0x4d7b12['IUndoRedoService']),_0xe1bb3a=_0x30578b[_0x5b2162(0x9f)](_0x401e28),_0x535d3d=_0x4d32ce[_0x5b2162(0x2de)](),_0x1c0b4a=_0x83af6a(_0x4d32ce,_0x36eb75,_0x1bfc36);if(!_0x1c0b4a)return!0x1;let {records:_0x5f633,hierarchyChanges:_0x4a33c1,hierarchyFieldToMaterialize:_0x58356b}=_0x1c0b4a,_0x204087=_0x58356b?_0xe1bb3a[_0x5b2162(0x1cd)](_0x4d32ce,_0x36eb75,_0x58356b,_0x535d3d['tables'][_0x36eb75][_0x5b2162(0x33f)][_0x5b2162(0x278)]):null,_0xe3f931=_0xe1bb3a[_0x5b2162(0x393)](_0x4d32ce,_0x36eb75,_0x5f633),_0x7b8a78=_0x2c91fd([..._0x204087?[_0x204087]:[],_0xe3f931]),_0x1c4152=new _0x51bfae()[_0x5b2162(0x386)](_0x535d3d,_0x7b8a78),_0x2d6c2d={'unitId':_0x400dbc,'op':_0x7b8a78,'hierarchyChanges':_0x4a33c1[_0x5b2162(0x278)]?_0x4a33c1:void 0x0,'source':_0x4a33c1['length']?_0x477fa8[_0x5b2162(0x3e3)]??'ui':void 0x0},_0x3c98ad={..._0x2d6c2d,'source':_0x4a33c1[_0x5b2162(0x278)]?_0x5b2162(0x40a):void 0x0},_0x19549a={'unitId':_0x400dbc,'op':_0x1c4152,'hierarchyChanges':_0x4a33c1[_0x5b2162(0x278)]?_0x4a33c1[_0x5b2162(0xd9)](_0x5e0d97=>({..._0x5e0d97,'oldParentRecordId':_0x5e0d97[_0x5b2162(0x380)],'parentRecordId':null})):void 0x0,'source':_0x4a33c1[_0x5b2162(0x278)]?'undo':void 0x0};return _0x4f2a4a[_0x5b2162(0x3e2)](_0x36dd63['id'],_0x2d6c2d)?(_0x3f4295[_0x5b2162(0x1c2)](_0x400dbc),_0x57ec1e['pushUndoRedo']({'unitID':_0x400dbc,'undoMutations':[{'id':_0x36dd63['id'],'params':_0x19549a}],'redoMutations':[{'id':_0x36dd63['id'],'params':_0x3c98ad}]}),!0x0):!0x1;}},_0x3b3459={'id':'base.command.batch-delete-base-records','type':_0x4d7b12[_0x17666d(0xac)]['COMMAND'],'handler':(_0xcebe3a,_0xe1441a)=>{const _0x3b8ab1=_0x17666d;if(!_0xe1441a)return!0x1;let _0x4b3b6d=_0xcebe3a['get'](_0x4d7b12[_0x3b8ab1(0x322)]),{unitId:_0x269c8c,tableId:_0x6bf0b2,recordIds:_0xf5b1b2}=_0xe1441a,_0x4391ac=_0x4b3b6d[_0x3b8ab1(0x27d)](_0x269c8c,_0x4d7b12[_0x3b8ab1(0xca)][_0x3b8ab1(0x101)]);if(!_0x4391ac||!_0x5c30c8(_0x4391ac,_0x6bf0b2,{'recordIds':_0xf5b1b2}))return!0x1;let _0x3e1e32=_0xcebe3a[_0x3b8ab1(0x9f)](_0x4d7b12[_0x3b8ab1(0x32e)]),_0x14f63e=_0xcebe3a[_0x3b8ab1(0x9f)](_0x4d7b12[_0x3b8ab1(0x3b7)]),_0x17020a=_0x4391ac['getSnapshot'](),_0x2bb348=_0x593e95(_0x17020a['tables'][_0x6bf0b2],_0xf5b1b2),_0x2fbe8d=new _0x7bf11a()[_0x3b8ab1(0x3ec)](_0x17020a,_0x6bf0b2,_0xf5b1b2),_0x5d9403=new _0x51bfae()[_0x3b8ab1(0x386)](_0x17020a,_0x2fbe8d),_0x38f7fc={'unitId':_0x269c8c,'op':_0x2fbe8d,'hierarchyChanges':_0x2bb348,'source':_0xe1441a[_0x3b8ab1(0x3e3)]??'ui'},_0x10e102={..._0x38f7fc,'source':_0x3b8ab1(0x40a)},_0x1b777a={'unitId':_0x269c8c,'op':_0x5d9403,'hierarchyChanges':_0x2bb348[_0x3b8ab1(0xd9)](_0x10a411=>({..._0x10a411,'oldParentRecordId':_0x10a411[_0x3b8ab1(0x380)],'parentRecordId':_0x10a411[_0x3b8ab1(0x366)]})),'source':_0x3b8ab1(0x230)};return _0x3e1e32[_0x3b8ab1(0x3e2)](_0x36dd63['id'],_0x38f7fc)?(_0x4b3b6d[_0x3b8ab1(0x1c2)](_0x269c8c),_0x14f63e[_0x3b8ab1(0x189)]({'unitID':_0x269c8c,'undoMutations':[{'id':_0x36dd63['id'],'params':_0x1b777a}],'redoMutations':[{'id':_0x36dd63['id'],'params':_0x10e102}]}),!0x0):!0x1;}},_0x36097={'id':'base.command.change-base-field-type','type':_0x4d7b12[_0x17666d(0xac)][_0x17666d(0x412)],'handler':(_0x50a00a,_0x4ede4d)=>{const _0x561fa0=_0x17666d;if(!_0x4ede4d)return!0x1;let _0x48c8d5=_0x50a00a[_0x561fa0(0x9f)](_0x4d7b12[_0x561fa0(0x322)]),{unitId:_0x19a3fb,tableId:_0x301544,fieldId:_0x4961ba,input:_0x4e2851}=_0x4ede4d,_0x1be16e=_0x48c8d5[_0x561fa0(0x27d)](_0x19a3fb,_0x4d7b12[_0x561fa0(0xca)][_0x561fa0(0x101)]);if(!_0x1be16e||_0x4961ba===_0x4d7b12['BASE_RECORD_ID_FIELD_ID']||!_0x5c30c8(_0x1be16e,_0x301544,{'fieldIds':[_0x4961ba]}))return!0x1;let _0x38f8bb=_0x50a00a[_0x561fa0(0x9f)](_0x4d7b12[_0x561fa0(0x32e)]),_0x4d9d80=_0x50a00a[_0x561fa0(0x9f)](_0x4d7b12[_0x561fa0(0x3b7)]),_0x21b425=_0x1be16e[_0x561fa0(0x2de)]();if(!_0x52914c(_0x1be16e,_0x301544,{..._0x21b425['tables'][_0x301544][_0x561fa0(0x129)][_0x4961ba],..._0x4e2851}))return!0x1;let _0x58c444=new _0x7bf11a()['changeFieldType'](_0x21b425,_0x301544,_0x4961ba,_0x4e2851),_0x45e1fe=new _0x51bfae()['invertOp'](_0x21b425,_0x58c444),_0x395e03={'unitId':_0x19a3fb,'op':_0x58c444},_0x3f0164={'unitId':_0x19a3fb,'op':_0x45e1fe};return _0x38f8bb[_0x561fa0(0x3e2)](_0x36dd63['id'],_0x395e03)?(_0x48c8d5[_0x561fa0(0x1c2)](_0x19a3fb),_0x4d9d80['pushUndoRedo']({'unitID':_0x19a3fb,'undoMutations':[{'id':_0x36dd63['id'],'params':_0x3f0164}],'redoMutations':[{'id':_0x36dd63['id'],'params':_0x395e03}]}),!0x0):!0x1;}},_0x15cba5={'id':_0x17666d(0x1bb),'type':_0x4d7b12[_0x17666d(0xac)][_0x17666d(0x412)],'handler'(_0x394781,_0x13dc41){const _0x582498=_0x17666d;var _0x369a33;if(!_0x13dc41)return!0x1;let {unitId:_0x3ed6a5,tableId:_0x2181db,parentRecordId:_0x3ef8e9}=_0x13dc41,_0x280f61=_0x394781[_0x582498(0x9f)](_0x4d7b12[_0x582498(0x322)]),_0x1bc0fb=_0x280f61[_0x582498(0x27d)](_0x3ed6a5,_0x4d7b12['UniverInstanceType']['UNIVER_BASE']);if(!_0x1bc0fb||!_0x5c30c8(_0x1bc0fb,_0x2181db,{'recordIds':[_0x3ef8e9]}))throw new _0x2f9e6c(_0x582498(0xd7));let _0xcf4c1e=_0x1bc0fb[_0x582498(0x2de)](),_0x2524a9=_0xcf4c1e['tables'][_0x2181db],_0x411e86=_0x571551(_0x2524a9),_0x4a11df=_0x411e86??_0x13dc41[_0x582498(0x424)]??_0x2a161a(_0x2524a9);if(_0x411e86&&_0x13dc41[_0x582498(0x424)]&&_0x13dc41[_0x582498(0x424)]!==_0x411e86||_0x2524a9[_0x582498(0x129)][_0x4a11df]&&!_0x216ae2(_0x2524a9,_0x4a11df))throw new _0x2f9e6c('invalidField');if((_0x19fe79(_0x2524a9,_0x4a11df)['depthByRecordId'][_0x582498(0x9f)](_0x3ef8e9)??0x0)+0x1>=0x5)throw new _0x2f9e6c(_0x582498(0x473));if(!_0x2790bf(_0x1bc0fb,_0x2181db,_0x13dc41['record']))return!0x1;let _0xd92d5=_0x4d3e8b({..._0x13dc41[_0x582498(0x463)],'values':{..._0x13dc41['record']['values'],[_0x4a11df]:_0x5a2c52([_0x3ef8e9])}}),_0x271001=_0x394781['get'](_0x401e28),_0xb18dba=new _0x7bf11a(),_0x589967=_0x2524a9[_0x582498(0x129)][_0x4a11df],_0x5ea18b=_0x589967?((_0x369a33=_0x2c9bfd(_0x589967))==null?void 0x0:_0x369a33[_0x582498(0x409)])===_0x4d7b12['BaseRecordLinkRole']['Parent']?null:_0xb18dba[_0x582498(0x2bf)](_0xcf4c1e,_0x2181db,_0x4a11df,{'config':{..._0x589967[_0x582498(0x39d)],'relationRole':_0x4d7b12['BaseRecordLinkRole']['Parent']}}):_0x271001['createCreateFieldOp'](_0x1bc0fb,_0x2181db,_0x523965(_0x2524a9,_0x4a11df,_0x13dc41['parentFieldName']),_0x2524a9[_0x582498(0x33f)][_0x582498(0x278)]),_0x46f379=_0x271001[_0x582498(0x187)](_0x1bc0fb,_0x2181db,_0xd92d5),_0x38094a=_0x2c91fd([..._0x5ea18b?[_0x5ea18b]:[],_0x46f379]),_0xd62dec=new _0x51bfae()[_0x582498(0x386)](_0xcf4c1e,_0x38094a),_0x181231={'tableId':_0x2181db,'fieldId':_0x4a11df,'recordId':_0xd92d5['id'],'oldParentRecordId':null,'parentRecordId':_0x3ef8e9},_0x41b498={'unitId':_0x3ed6a5,'op':_0x38094a,'trigger':_0x15cba5['id'],'hierarchyChanges':[_0x181231],'source':_0x13dc41[_0x582498(0x3e3)]??'ui'},_0xf22104={..._0x41b498,'source':_0x582498(0x40a)},_0x4fbdb6={'unitId':_0x3ed6a5,'op':_0xd62dec,'trigger':_0x15cba5['id'],'hierarchyChanges':[{..._0x181231,'oldParentRecordId':_0x3ef8e9,'parentRecordId':null}],'source':_0x582498(0x230)};return _0x394781[_0x582498(0x9f)](_0x4d7b12['ICommandService'])[_0x582498(0x3e2)](_0x36dd63['id'],_0x41b498)?(_0x280f61[_0x582498(0x1c2)](_0x3ed6a5),_0x394781['get'](_0x4d7b12[_0x582498(0x3b7)])[_0x582498(0x189)]({'unitID':_0x3ed6a5,'undoMutations':[{'id':_0x36dd63['id'],'params':_0x4fbdb6}],'redoMutations':[{'id':_0x36dd63['id'],'params':_0xf22104}]}),!0x0):!0x1;}},_0x2dcccf={'id':_0x17666d(0x3a9),'type':_0x4d7b12[_0x17666d(0xac)][_0x17666d(0x412)],'handler'(_0x396358,_0x57a276){const _0x4e6ec7=_0x17666d;if(!_0x57a276)return!0x1;let _0x4bf5fd=_0x396358[_0x4e6ec7(0x9f)](_0x4d7b12[_0x4e6ec7(0x322)]),{unitId:_0x3525b7,tableId:_0x25d38e,field:_0x76f975,index:_0x20ed63,viewIndexes:_0x4d0185}=_0x57a276,_0x5dcb0d=_0x4bf5fd[_0x4e6ec7(0x27d)](_0x3525b7,_0x4d7b12[_0x4e6ec7(0xca)][_0x4e6ec7(0x101)]);if(!_0x5dcb0d||!_0x5c30c8(_0x5dcb0d,_0x25d38e)||_0x5dcb0d[_0x4e6ec7(0x2de)]()[_0x4e6ec7(0x334)][_0x25d38e][_0x4e6ec7(0x129)][_0x76f975['id']]||_0x20ed63===0x0||!_0x52914c(_0x5dcb0d,_0x25d38e,_0x76f975))return!0x1;let _0x12c3b2=_0x396358[_0x4e6ec7(0x9f)](_0x4d7b12[_0x4e6ec7(0x32e)]),_0x28d489=_0x396358['get'](_0x4d7b12[_0x4e6ec7(0x3b7)]),_0x4cc29e=_0x396358[_0x4e6ec7(0x9f)](_0x401e28)[_0x4e6ec7(0x1cd)](_0x5dcb0d,_0x25d38e,_0x76f975,_0x20ed63,_0x4d0185),_0x4a267a=new _0x51bfae()['invertOp'](_0x5dcb0d[_0x4e6ec7(0x2de)](),_0x4cc29e),_0x1ccfbb={'unitId':_0x3525b7,'op':_0x4cc29e},_0x51c9c4={'unitId':_0x3525b7,'op':_0x4a267a};return _0x12c3b2[_0x4e6ec7(0x3e2)](_0x36dd63['id'],_0x1ccfbb)?(_0x4bf5fd['focusUnit'](_0x3525b7),_0x28d489[_0x4e6ec7(0x189)]({'unitID':_0x3525b7,'undoMutations':[{'id':_0x36dd63['id'],'params':_0x51c9c4}],'redoMutations':[{'id':_0x36dd63['id'],'params':_0x1ccfbb}]}),!0x0):!0x1;}},_0x35ff7e={'id':_0x17666d(0x440),'type':_0x4d7b12['CommandType']['COMMAND'],'handler'(_0xcde502,_0x35e3ad){const _0x2a348d=_0x17666d;if(!_0x35e3ad)return!0x1;let _0x3d3b23=_0xcde502[_0x2a348d(0x9f)](_0x4d7b12[_0x2a348d(0x322)]),{unitId:_0x1a64f2,tableId:_0x193ff4,record:_0x17430d}=_0x35e3ad,_0x5e0a9d=_0x3d3b23[_0x2a348d(0x27d)](_0x1a64f2,_0x4d7b12[_0x2a348d(0xca)][_0x2a348d(0x101)]);if(!_0x5e0a9d||!_0x5c30c8(_0x5e0a9d,_0x193ff4))return!0x1;let _0x482164=_0xcde502['get'](_0x4d7b12[_0x2a348d(0x32e)]),_0x1ea905=_0xcde502['get'](_0x4d7b12[_0x2a348d(0x3b7)]),_0x59707e=_0xcde502[_0x2a348d(0x9f)](_0x401e28),_0x5d90e7=_0x5e0a9d[_0x2a348d(0x2de)](),_0xd71209=_0x83af6a(_0x5e0a9d,_0x193ff4,[_0x17430d]);if(!_0xd71209)return!0x1;let [_0x5b616f]=_0xd71209[_0x2a348d(0x14c)],{hierarchyChanges:_0x367f9a,hierarchyFieldToMaterialize:_0x993e86}=_0xd71209,_0x80bef0=_0x993e86?_0x59707e[_0x2a348d(0x1cd)](_0x5e0a9d,_0x193ff4,_0x993e86,_0x5d90e7[_0x2a348d(0x334)][_0x193ff4][_0x2a348d(0x33f)][_0x2a348d(0x278)]):null,_0x3b746b=_0x59707e[_0x2a348d(0x187)](_0x5e0a9d,_0x193ff4,_0x5b616f),_0x424673=_0x2c91fd([..._0x80bef0?[_0x80bef0]:[],_0x3b746b]),_0x576030=new _0x51bfae()[_0x2a348d(0x386)](_0x5d90e7,_0x424673),_0x1766b5={'unitId':_0x1a64f2,'op':_0x424673,'hierarchyChanges':_0x367f9a[_0x2a348d(0x278)]?_0x367f9a:void 0x0,'source':_0x367f9a[_0x2a348d(0x278)]?_0x35e3ad['source']??'ui':void 0x0},_0x310d39={..._0x1766b5,'source':_0x367f9a['length']?_0x2a348d(0x40a):void 0x0},_0x3419ff={'unitId':_0x1a64f2,'op':_0x576030,'hierarchyChanges':_0x367f9a[_0x2a348d(0x278)]?_0x367f9a['map'](_0x248cd5=>({..._0x248cd5,'oldParentRecordId':_0x248cd5['parentRecordId'],'parentRecordId':null})):void 0x0,'source':_0x367f9a[_0x2a348d(0x278)]?_0x2a348d(0x230):void 0x0};return _0x482164[_0x2a348d(0x3e2)](_0x36dd63['id'],_0x1766b5)?(_0x3d3b23[_0x2a348d(0x1c2)](_0x1a64f2),_0x1ea905[_0x2a348d(0x189)]({'unitID':_0x1a64f2,'undoMutations':[{'id':_0x36dd63['id'],'params':_0x3419ff}],'redoMutations':[{'id':_0x36dd63['id'],'params':_0x310d39}]}),!0x0):!0x1;}};function _0x57d6ff(_0x43d705,_0x379cd5,_0x535719){const _0x3a6191=_0x17666d;if(!_0x379cd5[_0x3a6191(0x11d)]())return{'valid':!0x1,'reason':_0x3a6191(0x159),'error':_0x3a6191(0x105)};if(_0x379cd5['length']>0x1f)return{'valid':!0x1,'reason':_0x3a6191(0x200),'error':_0x3a6191(0xe5)};if(_0x379cd5['startsWith']('\x27')||_0x379cd5[_0x3a6191(0x458)]('\x27'))return{'valid':!0x1,'reason':'A\x20table\x20name\x20cannot\x20start\x20or\x20end\x20with\x20an\x20apostrophe.','error':_0x3a6191(0x384)};if(/[:\\/?*\[\]]/[_0x3a6191(0x445)](_0x379cd5))return{'valid':!0x1,'reason':_0x3a6191(0x41d),'error':_0x3a6191(0x130)};if(!(0x0,_0x4d7b12[_0x3a6191(0x2e0)])(_0x379cd5))return{'valid':!0x1,'reason':_0x3a6191(0xad),'error':_0x3a6191(0x110)};let _0xc3c06c=_0x379cd5[_0x3a6191(0x35a)]();return Object[_0x3a6191(0x3b2)](_0x43d705[_0x3a6191(0x334)])[_0x3a6191(0x256)](_0x3f6e94=>_0x3f6e94['id']!==_0x535719&&_0x3f6e94[_0x3a6191(0x208)][_0x3a6191(0x35a)]()===_0xc3c06c)?{'valid':!0x1,'reason':'A\x20table\x20with\x20this\x20name\x20already\x20exists.','error':_0x3a6191(0x30d)}:{'valid':!0x0};}function _0x164355(_0x43cbf5,_0x2b9c6c){const _0x2985a1=_0x17666d;let _0x1b259f=_0x2b9c6c[_0x2985a1(0x1a9)](/[:\\/?*\[\]]/g,'\x20')[_0x2985a1(0x1a9)](/^'+|'+$/g,'')[_0x2985a1(0x11d)]()||'Table',_0x27bd8a=0x1;for(;;){let _0x430109=_0x27bd8a===0x1?'':'\x20'+_0x27bd8a,_0x2961e9=''+_0x1b259f[_0x2985a1(0x3fc)](0x0,0x1f-_0x430109[_0x2985a1(0x278)])+_0x430109;if(_0x57d6ff(_0x43cbf5,_0x2961e9)[_0x2985a1(0x1d5)])return _0x2961e9;_0x27bd8a++;}}let _0x4ba48d={'id':_0x17666d(0x37a),'type':_0x4d7b12[_0x17666d(0xac)][_0x17666d(0x412)],'handler':(_0x33cfbf,_0x10d12a)=>{const _0x590a44=_0x17666d;if(!_0x10d12a)return!0x1;let _0x5f5886=_0x33cfbf[_0x590a44(0x9f)](_0x4d7b12['IUniverInstanceService']),{unitId:_0x4b0f08,table:_0x2ba4f5,index:_0x47d218}=_0x10d12a,_0x393691=_0x5f5886[_0x590a44(0x27d)](_0x4b0f08,_0x4d7b12[_0x590a44(0xca)][_0x590a44(0x101)]);if(!_0x393691||_0x393691['getSnapshot']()[_0x590a44(0x334)][_0x2ba4f5['id']]||!_0x57d6ff(_0x393691[_0x590a44(0x2de)](),_0x2ba4f5['name'])['valid'])return!0x1;try{(0x0,_0x4d7b12[_0x590a44(0x2c3)])(_0x2ba4f5);}catch{return!0x1;}let _0x5a3ef9=_0x33cfbf[_0x590a44(0x9f)](_0x4d7b12[_0x590a44(0x32e)]),_0x522c2a=_0x33cfbf[_0x590a44(0x9f)](_0x4d7b12[_0x590a44(0x3b7)]),_0x59d849=_0x393691[_0x590a44(0x2de)](),_0x50122f=new _0x7bf11a()[_0x590a44(0x336)](_0x59d849,_0x2ba4f5,_0x47d218),_0x3c1ea5=new _0x51bfae()[_0x590a44(0x386)](_0x59d849,_0x50122f),_0x3a508e={'unitId':_0x4b0f08,'op':_0x50122f},_0x257020={'unitId':_0x4b0f08,'op':_0x3c1ea5};return _0x5a3ef9[_0x590a44(0x3e2)](_0x36dd63['id'],_0x3a508e)?(_0x5f5886['focusUnit'](_0x4b0f08),_0x522c2a[_0x590a44(0x189)]({'unitID':_0x4b0f08,'undoMutations':[{'id':_0x36dd63['id'],'params':_0x257020}],'redoMutations':[{'id':_0x36dd63['id'],'params':_0x3a508e}]}),!0x0):!0x1;}};function _0x42dc2d(_0x4f78b1,_0x14f50b,_0x46b938=[]){const _0xaa97a1=_0x17666d;let _0x4ca1e4=new Set([...Object['values'](_0x4f78b1[_0xaa97a1(0x129)])[_0xaa97a1(0x425)](_0xc9b598=>_0xc9b598)[_0xaa97a1(0xd9)](_0xe78793=>_0xe78793[_0xaa97a1(0x208)]),..._0x46b938['map'](_0x224581=>_0x224581[_0xaa97a1(0x208)])]);if(!_0x4ca1e4[_0xaa97a1(0x1eb)](_0x14f50b))return _0x14f50b;let _0x440e27=0x2;for(;_0x4ca1e4['has'](_0x14f50b+'\x20'+_0x440e27);)_0x440e27++;return _0x14f50b+'\x20'+_0x440e27;}function _0x1c8c5c(_0x50a975,_0x18e547){if(!_0x50a975||!_0x18e547['length'])return;let _0x3d5f52=[..._0x50a975];return _0x18e547['forEach'](_0x1c86ab=>{const _0x287c93=_0x2760;_0x3d5f52[_0x287c93(0x3ff)](_0x1c86ab)||_0x3d5f52['push'](_0x1c86ab);}),_0x3d5f52;}let _0x3f139c={'options':[{'id':_0x17666d(0x43d),'name':_0x17666d(0x289),'color':'#BFDBFE'},{'id':'doing','name':'Doing','color':'#FDE68A'},{'id':_0x17666d(0x132),'name':_0x17666d(0x1b5),'color':'#BBF7D0'}]},_0x5c57de={'locale':_0x17666d(0x3cd),'pattern':_0x17666d(0x3c4),'includeTime':!0x1,'hourCycle':_0x17666d(0x262),'defaultMode':_0x17666d(0xb9)};function _0x4784df(_0x21a2ec,_0x522e8f,_0x53efae,_0x4451ee){const _0x309528=_0x17666d;var _0x327a5f;let _0x28d96a=new _0x7bf11a(),_0xffee01=_0x21a2ec['tables'][_0x522e8f],_0x2c195a=_0xffee01?{..._0x53efae,'fieldOrder':[_0x4d7b12[_0x309528(0x36b)],...(_0x53efae[_0x309528(0x33f)]??_0xffee01[_0x309528(0x33f)])['filter'](_0x480280=>_0x480280!==_0x4d7b12[_0x309528(0x36b)])],'fieldSettings':{..._0x53efae[_0x309528(0x2fd)],[_0x4d7b12['BASE_RECORD_ID_FIELD_ID']]:{...(_0x327a5f=_0x53efae[_0x309528(0x2fd)])==null?void 0x0:_0x327a5f[_0x4d7b12[_0x309528(0x36b)]],'hidden':!0x0}}}:_0x53efae;if(_0xffee01&&_0x2c195a[_0x309528(0x466)]===_0x309528(0x3fb)){let _0x59ff34=_0x4876ab(_0xffee01,_0x2c195a),_0x2265d3=_0x59ff34[_0x309528(0x471)]?{..._0x2c195a,'config':_0x59ff34[_0x309528(0x39d)],'fieldOrder':_0x59ff34['fieldOrder']??_0x2c195a[_0x309528(0x33f)]}:_0x2c195a;return _0x2c91fd([..._0x59ff34['fields']['map'](_0x1b8201=>_0x28d96a['createField'](_0x21a2ec,_0x522e8f,{'field':_0x1b8201})),_0x28d96a[_0x309528(0x429)](_0x21a2ec,_0x522e8f,_0x2265d3,_0x4451ee)]);}if(!_0xffee01||_0x2c195a[_0x309528(0x466)]!=='calendar'&&_0x2c195a['type']!==_0x309528(0x1d3))return _0x28d96a[_0x309528(0x429)](_0x21a2ec,_0x522e8f,_0x2c195a,_0x4451ee);let _0x1b06c7=_0x1efbf5(_0xffee01,_0x2c195a),_0x339008=_0x1b06c7['changed']?{..._0x2c195a,'config':_0x1b06c7['config'],'fieldOrder':_0x1b06c7['fieldOrder']??_0x2c195a[_0x309528(0x33f)]}:_0x2c195a;return _0x2c195a[_0x309528(0x466)]===_0x309528(0x1d3)&&_0x2dc1b6(_0x2c195a)&&(_0x339008=_0x4e1132(_0xffee01,_0x339008,_0x1b06c7[_0x309528(0x129)])),_0x2c91fd([..._0x1b06c7[_0x309528(0x129)][_0x309528(0xd9)](_0x43db58=>_0x28d96a[_0x309528(0x468)](_0x21a2ec,_0x522e8f,{'field':_0x43db58})),_0x28d96a[_0x309528(0x429)](_0x21a2ec,_0x522e8f,_0x339008,_0x4451ee)]);}function _0x1efbf5(_0x4b604,_0x34cee7,_0x514404=!0x1){const _0x4ba024=_0x17666d;var _0xd835aa,_0x2c489c;let _0x171d40=_0x4b604[_0x4ba024(0x33f)][_0x4ba024(0x425)](_0xa8c36=>_0xd32b98(_0x4b604,_0xa8c36)),_0x225cee=[],_0x2706e4={..._0x34cee7[_0x4ba024(0x39d)]??{}},_0x57d17a=typeof _0x2706e4[_0x4ba024(0x111)]==_0x4ba024(0x3af)&&_0xd32b98(_0x4b604,_0x2706e4[_0x4ba024(0x111)])?_0x2706e4[_0x4ba024(0x111)]:_0x171d40[0x0],_0x345e11=typeof _0x2706e4[_0x4ba024(0x1d1)]==_0x4ba024(0x3af)&&_0xd32b98(_0x4b604,_0x2706e4['endDateFieldId'])&&_0x2706e4[_0x4ba024(0x1d1)]!==_0x57d17a?_0x2706e4[_0x4ba024(0x1d1)]:_0x171d40['find'](_0x51f4c7=>_0x51f4c7!==_0x57d17a);if(!_0x57d17a){let _0x33f480=_0x38bc11(_0x4b604,_0x225cee,_0x34cee7[_0x4ba024(0x466)]===_0x4ba024(0x1d3)?'Start\x20date':_0x4ba024(0x32c));_0x225cee['push'](_0x33f480),_0x57d17a=_0x33f480['id'];}if((_0x34cee7['type']==='gantt'||_0x514404)&&!_0x345e11){let _0x39c331=_0x38bc11(_0x4b604,_0x225cee,_0x4ba024(0x192));_0x225cee[_0x4ba024(0x112)](_0x39c331),_0x345e11=_0x39c331['id'];}_0x34cee7[_0x4ba024(0x466)]===_0x4ba024(0x329)&&!_0x345e11&&delete _0x2706e4['endDateFieldId'],_0x2706e4[_0x4ba024(0x111)]=_0x57d17a,_0x34cee7[_0x4ba024(0x466)]==='calendar'&&_0x345e11&&(_0x2706e4[_0x4ba024(0x1d1)]=_0x345e11),_0x34cee7[_0x4ba024(0x466)]===_0x4ba024(0x1d3)&&(_0x2706e4[_0x4ba024(0x1d1)]=_0x345e11??_0x57d17a);let _0x4c6fa5=_0x1c8c5c(_0x34cee7[_0x4ba024(0x33f)],_0x225cee[_0x4ba024(0xd9)](_0x3b6b10=>_0x3b6b10['id']));return{'changed':_0x225cee[_0x4ba024(0x278)]>0x0||_0x2706e4[_0x4ba024(0x111)]!==((_0xd835aa=_0x34cee7[_0x4ba024(0x39d)])==null?void 0x0:_0xd835aa['startDateFieldId'])||_0x2706e4[_0x4ba024(0x1d1)]!==((_0x2c489c=_0x34cee7[_0x4ba024(0x39d)])==null?void 0x0:_0x2c489c[_0x4ba024(0x1d1)])||!!(_0x4c6fa5&&!_0x4d7b12[_0x4ba024(0x1ea)]['diffValue'](_0x4c6fa5,_0x34cee7[_0x4ba024(0x33f)]??[])),'fields':_0x225cee,'config':_0x2706e4,'fieldOrder':_0x4c6fa5};}function _0x4876ab(_0x4b5572,_0x329d74){const _0x5a8a41=_0x17666d;var _0x1412c6;let _0x32beb0=[],_0x3b77eb={..._0x329d74[_0x5a8a41(0x39d)]??{}},_0x5afbb5=typeof _0x3b77eb[_0x5a8a41(0x454)]==_0x5a8a41(0x3af)&&_0x5b6ee7(_0x4b5572,_0x3b77eb[_0x5a8a41(0x454)])?_0x3b77eb[_0x5a8a41(0x454)]:_0x4b5572[_0x5a8a41(0x33f)][_0x5a8a41(0x3b6)](_0x3398a2=>_0x5b6ee7(_0x4b5572,_0x3398a2));if(!_0x5afbb5){let _0x1af578=_0x8656fe(_0x4b5572,_0x32beb0);_0x32beb0['push'](_0x1af578),_0x5afbb5=_0x1af578['id'];}_0x3b77eb['groupFieldId']=_0x5afbb5;let _0x384ed8=_0x1c8c5c(_0x329d74[_0x5a8a41(0x33f)],_0x32beb0[_0x5a8a41(0xd9)](_0x50575b=>_0x50575b['id']));return{'changed':_0x32beb0['length']>0x0||_0x3b77eb[_0x5a8a41(0x454)]!==((_0x1412c6=_0x329d74['config'])==null?void 0x0:_0x1412c6[_0x5a8a41(0x454)])||!!(_0x384ed8&&!_0x4d7b12[_0x5a8a41(0x1ea)][_0x5a8a41(0x397)](_0x384ed8,_0x329d74[_0x5a8a41(0x33f)]??[])),'fields':_0x32beb0,'config':_0x3b77eb,'fieldOrder':_0x384ed8};}function _0x5b6ee7(_0x386488,_0x455a2a){const _0x1adbc6=_0x17666d;let _0x559248=_0x455a2a?_0x386488[_0x1adbc6(0x129)][_0x455a2a]:null;return _0x559248?[_0x4d7b12[_0x1adbc6(0x419)][_0x1adbc6(0x191)],_0x4d7b12[_0x1adbc6(0x419)][_0x1adbc6(0x1a7)],_0x4d7b12[_0x1adbc6(0x419)][_0x1adbc6(0x3df)],_0x4d7b12['BaseFieldType'][_0x1adbc6(0x92)],_0x4d7b12[_0x1adbc6(0x419)]['Group'],_0x4d7b12[_0x1adbc6(0x419)][_0x1adbc6(0x317)]][_0x1adbc6(0x3ff)](_0x559248[_0x1adbc6(0x466)]):!0x1;}function _0x8656fe(_0xe7943c,_0x3e6f3f){const _0x16b82a=_0x17666d;return{'id':_0x16b82a(0xf7)+(0x0,_0x4d7b12['generateRandomId'])(0x8),'name':_0x42dc2d(_0xe7943c,_0x16b82a(0x40e),_0x3e6f3f),'type':_0x4d7b12[_0x16b82a(0x419)][_0x16b82a(0x191)],'config':_0x4d7b12[_0x16b82a(0x1ea)][_0x16b82a(0xee)](_0x3f139c)};}function _0x2dc1b6(_0xe87d86){const _0xd0e1ff=_0x17666d;return Object['keys'](_0xe87d86[_0xd0e1ff(0x39d)]??{})[_0xd0e1ff(0x278)]===0x0&&Object[_0xd0e1ff(0x3d7)](_0xe87d86['fieldSettings']??{})[_0xd0e1ff(0x278)]===0x0;}function _0x4e1132(_0x10f862,_0x31db6e,_0x43127f){const _0x46fa20=_0x17666d;let _0x5e8224={..._0x31db6e['config']??{}},_0x3e1056=_0x43127f[_0x46fa20(0xd9)](_0x474cbd=>_0x474cbd['id']),_0x4f8635=[..._0x10f862[_0x46fa20(0x33f)],..._0x3e1056],_0x5f2d44=typeof _0x5e8224['titleFieldId']==_0x46fa20(0x3af)&&_0x12be49(_0x10f862,_0x43127f,_0x5e8224[_0x46fa20(0x353)])?_0x5e8224['titleFieldId']:_0x10f862['primaryFieldId'],_0x714161=typeof _0x5e8224[_0x46fa20(0x111)]==_0x46fa20(0x3af)?_0x5e8224[_0x46fa20(0x111)]:'',_0x12890c=typeof _0x5e8224[_0x46fa20(0x1d1)]=='string'?_0x5e8224['endDateFieldId']:_0x714161,_0x1a6076=new Set([_0x5f2d44,_0x714161,_0x12890c]['filter'](_0x39c0b3=>_0x39c0b3&&_0x12be49(_0x10f862,_0x43127f,_0x39c0b3))),_0x23db58=Object[_0x46fa20(0x88)](_0x4f8635[_0x46fa20(0x2b8)](_0x2f1a7a=>_0x1a6076[_0x46fa20(0x1eb)](_0x2f1a7a)||!_0x12be49(_0x10f862,_0x43127f,_0x2f1a7a)?[]:[[_0x2f1a7a,{'hidden':!0x0}]]));return{..._0x31db6e,'config':{..._0x5e8224,'titleFieldId':_0x5f2d44},'fieldSettings':_0x23db58};}function _0x12be49(_0x51bf63,_0x378008,_0x4fbcdf){const _0x551582=_0x17666d;return!!(_0x51bf63[_0x551582(0x129)][_0x4fbcdf]??_0x378008[_0x551582(0x3b6)](_0x33d938=>_0x33d938['id']===_0x4fbcdf))&&!0x0;}function _0xd32b98(_0x8f16b1,_0x10f507){const _0x143959=_0x17666d;let _0x305601=_0x10f507?_0x8f16b1[_0x143959(0x129)][_0x10f507]:null;return!!_0x305601&&_0x305601[_0x143959(0x466)]===_0x4d7b12['BaseFieldType']['Date']&&_0x305601[_0x143959(0x124)]!==!0x0&&_0x305601[_0x143959(0x43a)]!==!0x0;}function _0x38bc11(_0x35eabf,_0x44508e,_0x1374c6){const _0x247c6b=_0x17666d;let _0x495737=new Set([...Object[_0x247c6b(0x3d7)](_0x35eabf['fields']),..._0x44508e[_0x247c6b(0xd9)](_0x104097=>_0x104097['id'])]),_0x446599=_0x247c6b(0xf7)+(0x0,_0x4d7b12[_0x247c6b(0x216)])(0x8);for(;_0x495737['has'](_0x446599);)_0x446599=_0x247c6b(0xf7)+(0x0,_0x4d7b12[_0x247c6b(0x216)])(0x8);return{'id':_0x446599,'name':_0x42dc2d(_0x35eabf,_0x1374c6,_0x44508e),'type':_0x4d7b12['BaseFieldType']['Date'],'config':{..._0x5c57de}};}let _0x2a9a84={'id':_0x17666d(0x462),'type':_0x4d7b12[_0x17666d(0xac)][_0x17666d(0x412)],'handler':(_0x2146b9,_0x285845)=>{const _0x3132c9=_0x17666d;if(!_0x285845)return!0x1;let _0x1de374=_0x2146b9[_0x3132c9(0x9f)](_0x4d7b12[_0x3132c9(0x322)]),{unitId:_0x5ba5e2,tableId:_0x85563a,view:_0x1469ec,index:_0x3ce0e9}=_0x285845,_0x4997b3=_0x1de374['getUnit'](_0x5ba5e2,_0x4d7b12['UniverInstanceType'][_0x3132c9(0x101)]);if(!_0x4997b3||!_0x5c30c8(_0x4997b3,_0x85563a)||_0x4997b3[_0x3132c9(0x2de)]()[_0x3132c9(0x334)][_0x85563a][_0x3132c9(0x420)][_0x1469ec['id']])return!0x1;let _0x7d85bd=_0x2146b9['get'](_0x4d7b12[_0x3132c9(0x32e)]),_0x9de20b=_0x2146b9[_0x3132c9(0x9f)](_0x4d7b12[_0x3132c9(0x3b7)]),_0x59a825=_0x4997b3[_0x3132c9(0x2de)](),_0xe2d63c=_0x4784df(_0x59a825,_0x85563a,_0x1469ec,_0x3ce0e9),_0x2eaf38=new _0x51bfae()[_0x3132c9(0x386)](_0x59a825,_0xe2d63c),_0x1ecb41={'unitId':_0x5ba5e2,'op':_0xe2d63c},_0x59a98c={'unitId':_0x5ba5e2,'op':_0x2eaf38};return _0x7d85bd[_0x3132c9(0x3e2)](_0x36dd63['id'],_0x1ecb41)?(_0x1de374[_0x3132c9(0x1c2)](_0x5ba5e2),_0x9de20b[_0x3132c9(0x189)]({'unitID':_0x5ba5e2,'undoMutations':[{'id':_0x36dd63['id'],'params':_0x59a98c}],'redoMutations':[{'id':_0x36dd63['id'],'params':_0x1ecb41}]}),!0x0):!0x1;}},_0x2ddfa7={'id':_0x17666d(0x314),'type':_0x4d7b12[_0x17666d(0xac)]['COMMAND'],'handler'(_0x5bfb67,_0x37718d){const _0x533df3=_0x17666d;if(!_0x37718d)return!0x1;let _0x1c7803=_0x5bfb67[_0x533df3(0x9f)](_0x4d7b12[_0x533df3(0x322)]),{unitId:_0x1a39a0,tableId:_0x510dee,fieldId:_0x380a74}=_0x37718d,_0x4e3320=_0x1c7803[_0x533df3(0x27d)](_0x1a39a0,_0x4d7b12[_0x533df3(0xca)]['UNIVER_BASE']);if(!_0x4e3320)return!0x1;let _0x2e716f=_0x4e3320[_0x533df3(0x2de)](),_0x5c4127=_0x2e716f[_0x533df3(0x334)][_0x510dee];if(!_0x5c30c8(_0x4e3320,_0x510dee,{'fieldIds':[_0x380a74]})||_0x5c4127[_0x533df3(0x455)]===_0x380a74||_0x380a74===_0x4d7b12[_0x533df3(0x36b)])return!0x1;let _0x3d8b09=_0x5bfb67[_0x533df3(0x9f)](_0x4d7b12[_0x533df3(0x32e)]),_0x561035=_0x5bfb67[_0x533df3(0x9f)](_0x4d7b12[_0x533df3(0x3b7)]),_0x592ee0=new _0x7bf11a()[_0x533df3(0x3b3)](_0x2e716f,_0x510dee,_0x380a74),_0xf60567=new _0x51bfae()[_0x533df3(0x386)](_0x2e716f,_0x592ee0),_0x546549={'unitId':_0x1a39a0,'op':_0x592ee0},_0x93b73c={'unitId':_0x1a39a0,'op':_0xf60567};return _0x3d8b09['syncExecuteCommand'](_0x36dd63['id'],_0x546549)?(_0x1c7803[_0x533df3(0x1c2)](_0x1a39a0),_0x561035[_0x533df3(0x189)]({'unitID':_0x1a39a0,'undoMutations':[{'id':_0x36dd63['id'],'params':_0x93b73c}],'redoMutations':[{'id':_0x36dd63['id'],'params':_0x546549}]}),!0x0):!0x1;}},_0x51198c={'id':'base.command.delete-base-record','type':_0x4d7b12[_0x17666d(0xac)][_0x17666d(0x412)],'handler':(_0x4d20e9,_0x397fdd)=>{const _0x5dc679=_0x17666d;if(!_0x397fdd)return!0x1;let _0x476313=_0x4d20e9['get'](_0x4d7b12[_0x5dc679(0x322)]),{unitId:_0xa77af5,tableId:_0x41ca48,recordId:_0xfd8704}=_0x397fdd,_0x4a8100=_0x476313[_0x5dc679(0x27d)](_0xa77af5,_0x4d7b12[_0x5dc679(0xca)]['UNIVER_BASE']);if(!_0x4a8100||!_0x5c30c8(_0x4a8100,_0x41ca48,{'recordIds':[_0xfd8704]}))return!0x1;let _0x3c6ebc=_0x4d20e9['get'](_0x4d7b12[_0x5dc679(0x32e)]),_0x351360=_0x4d20e9[_0x5dc679(0x9f)](_0x4d7b12[_0x5dc679(0x3b7)]),_0x494e93=_0x4a8100[_0x5dc679(0x2de)](),_0x19153b=_0x593e95(_0x494e93[_0x5dc679(0x334)][_0x41ca48],[_0xfd8704]),_0x257ef2=new _0x7bf11a()[_0x5dc679(0x411)](_0x494e93,_0x41ca48,_0xfd8704),_0x2564db=new _0x51bfae()['invertOp'](_0x494e93,_0x257ef2),_0x3564e0={'unitId':_0xa77af5,'op':_0x257ef2,'hierarchyChanges':_0x19153b,'source':_0x397fdd[_0x5dc679(0x3e3)]??'ui'},_0xd26b59={..._0x3564e0,'source':_0x5dc679(0x40a)},_0x2d2018={'unitId':_0xa77af5,'op':_0x2564db,'hierarchyChanges':_0x19153b[_0x5dc679(0xd9)](_0x345e5f=>({..._0x345e5f,'oldParentRecordId':_0x345e5f[_0x5dc679(0x380)],'parentRecordId':_0x345e5f['oldParentRecordId']})),'source':_0x5dc679(0x230)};return _0x3c6ebc['syncExecuteCommand'](_0x36dd63['id'],_0x3564e0)?(_0x476313[_0x5dc679(0x1c2)](_0xa77af5),_0x351360['pushUndoRedo']({'unitID':_0xa77af5,'undoMutations':[{'id':_0x36dd63['id'],'params':_0x2d2018}],'redoMutations':[{'id':_0x36dd63['id'],'params':_0xd26b59}]}),!0x0):!0x1;}},_0x5c4563={'id':_0x17666d(0x210),'type':_0x4d7b12['CommandType'][_0x17666d(0x412)],'handler':(_0x84afc6,_0x3e0c22)=>{const _0x19a677=_0x17666d;if(!_0x3e0c22)return!0x1;let _0x45e502=_0x84afc6[_0x19a677(0x9f)](_0x4d7b12['IUniverInstanceService']),{unitId:_0x24ac29,tableId:_0x81a72a}=_0x3e0c22,_0x2dfd67=_0x45e502[_0x19a677(0x27d)](_0x24ac29,_0x4d7b12['UniverInstanceType']['UNIVER_BASE']);if(!_0x2dfd67||!_0x5c30c8(_0x2dfd67,_0x81a72a))return!0x1;let _0x5dcebf=_0x84afc6[_0x19a677(0x9f)](_0x4d7b12['ICommandService']),_0xcc74ea=_0x84afc6[_0x19a677(0x9f)](_0x4d7b12[_0x19a677(0x3b7)]),_0x1a48b3=_0x2dfd67[_0x19a677(0x2de)](),_0x5f7471=_0x26c103(_0x1a48b3,_0x81a72a);if(_0x5f7471[_0x19a677(0x278)]>0x0)return console[_0x19a677(0x80)](_0x19a677(0x168)+_0x81a72a+'\x22\x20is\x20referenced\x20by\x20'+_0x5f7471['map'](_0x38caf7=>_0x38caf7[_0x19a677(0x10c)]+'.'+_0x38caf7['fieldId'])[_0x19a677(0x1ef)](',\x20')+'.'),!0x1;let _0x3ccbb7=new _0x7bf11a()[_0x19a677(0x29c)](_0x1a48b3,_0x81a72a),_0x1df8cd=new _0x51bfae()['invertOp'](_0x1a48b3,_0x3ccbb7),_0x27b14e={'unitId':_0x24ac29,'op':_0x3ccbb7},_0x3f0384={'unitId':_0x24ac29,'op':_0x1df8cd};return _0x5dcebf[_0x19a677(0x3e2)](_0x36dd63['id'],_0x27b14e)?(_0x45e502[_0x19a677(0x1c2)](_0x24ac29),_0xcc74ea[_0x19a677(0x189)]({'unitID':_0x24ac29,'undoMutations':[{'id':_0x36dd63['id'],'params':_0x3f0384}],'redoMutations':[{'id':_0x36dd63['id'],'params':_0x27b14e}]}),!0x0):!0x1;}},_0x273fa1={'id':_0x17666d(0x93),'type':_0x4d7b12[_0x17666d(0xac)]['COMMAND'],'handler':(_0x2ddfa8,_0x5c789c)=>{const _0x55a8bb=_0x17666d;if(!_0x5c789c)return!0x1;let _0x3f1c18=_0x2ddfa8[_0x55a8bb(0x9f)](_0x4d7b12[_0x55a8bb(0x322)]),{unitId:_0x1824ec,tableId:_0x517a8f,viewId:_0x205451}=_0x5c789c,_0x16c789=_0x3f1c18[_0x55a8bb(0x27d)](_0x1824ec,_0x4d7b12[_0x55a8bb(0xca)][_0x55a8bb(0x101)]);if(!_0x16c789||!_0x5c30c8(_0x16c789,_0x517a8f,{'viewIds':[_0x205451]}))return!0x1;let _0x16fceb=_0x2ddfa8[_0x55a8bb(0x9f)](_0x4d7b12[_0x55a8bb(0x32e)]),_0x4ce54b=_0x2ddfa8[_0x55a8bb(0x9f)](_0x4d7b12[_0x55a8bb(0x3b7)]),_0x2da737=_0x16c789[_0x55a8bb(0x2de)](),_0x97177d=new _0x7bf11a()[_0x55a8bb(0x166)](_0x2da737,_0x517a8f,_0x205451),_0x46b014=new _0x51bfae()[_0x55a8bb(0x386)](_0x2da737,_0x97177d),_0x589108={'unitId':_0x1824ec,'op':_0x97177d},_0x1e7f2c={'unitId':_0x1824ec,'op':_0x46b014};return _0x16fceb[_0x55a8bb(0x3e2)](_0x36dd63['id'],_0x589108)?(_0x3f1c18[_0x55a8bb(0x1c2)](_0x1824ec),_0x4ce54b[_0x55a8bb(0x189)]({'unitID':_0x1824ec,'undoMutations':[{'id':_0x36dd63['id'],'params':_0x1e7f2c}],'redoMutations':[{'id':_0x36dd63['id'],'params':_0x589108}]}),!0x0):!0x1;}},_0x3e1911={'id':_0x17666d(0x475),'type':_0x4d7b12[_0x17666d(0xac)][_0x17666d(0x412)],'handler':(_0x538358,_0x3f367e)=>{const _0x4edef3=_0x17666d;if(!_0x3f367e)return!0x1;let _0x35bca8=_0x538358[_0x4edef3(0x9f)](_0x4d7b12[_0x4edef3(0x322)]),{unitId:_0x5145b8,tableId:_0x3d4d70,sourceFieldId:_0x5105de,field:_0x2460bc,index:_0x342aa9,viewIndexes:_0x3835c4}=_0x3f367e,_0x44ba9c=_0x35bca8[_0x4edef3(0x27d)](_0x5145b8,_0x4d7b12[_0x4edef3(0xca)][_0x4edef3(0x101)]);if(!_0x44ba9c||!_0x5c30c8(_0x44ba9c,_0x3d4d70,{'fieldIds':[_0x5105de]})||_0x5105de===_0x4d7b12[_0x4edef3(0x36b)]||_0x44ba9c[_0x4edef3(0x2de)]()[_0x4edef3(0x334)][_0x3d4d70][_0x4edef3(0x129)][_0x2460bc['id']]||_0x342aa9===0x0||!_0x52914c(_0x44ba9c,_0x3d4d70,_0x2460bc))return!0x1;let _0x5baafe=_0x538358[_0x4edef3(0x9f)](_0x4d7b12[_0x4edef3(0x32e)]),_0x10b0bb=_0x538358[_0x4edef3(0x9f)](_0x4d7b12[_0x4edef3(0x3b7)]),_0x217ff6=_0x44ba9c[_0x4edef3(0x2de)](),_0xe3bbc2=new _0x7bf11a()[_0x4edef3(0x332)](_0x217ff6,_0x3d4d70,_0x5105de,{'field':_0x2460bc,'index':_0x342aa9,'viewIndexes':_0x3835c4}),_0x4da4ba=new _0x51bfae()[_0x4edef3(0x386)](_0x217ff6,_0xe3bbc2),_0x298d0e={'unitId':_0x5145b8,'op':_0xe3bbc2},_0x1d5e25={'unitId':_0x5145b8,'op':_0x4da4ba};return _0x5baafe[_0x4edef3(0x3e2)](_0x36dd63['id'],_0x298d0e)?(_0x35bca8[_0x4edef3(0x1c2)](_0x5145b8),_0x10b0bb[_0x4edef3(0x189)]({'unitID':_0x5145b8,'undoMutations':[{'id':_0x36dd63['id'],'params':_0x1d5e25}],'redoMutations':[{'id':_0x36dd63['id'],'params':_0x298d0e}]}),!0x0):!0x1;}},_0x20f735={'id':_0x17666d(0x1f5),'type':_0x4d7b12['CommandType']['COMMAND'],'handler':(_0x2cf871,_0xadaba9)=>{const _0x2f145c=_0x17666d;if(!_0xadaba9)return!0x1;let _0x461f73=_0x2cf871[_0x2f145c(0x9f)](_0x4d7b12['IUniverInstanceService']),{unitId:_0x2cb2c6,tableId:_0x3808df,sourceRecordId:_0x34608b,record:_0x25040f}=_0xadaba9,_0x42e24e=_0x461f73[_0x2f145c(0x27d)](_0x2cb2c6,_0x4d7b12[_0x2f145c(0xca)][_0x2f145c(0x101)]);if(!_0x42e24e||!_0x5c30c8(_0x42e24e,_0x3808df,{'recordIds':[_0x34608b]})||!_0x2790bf(_0x42e24e,_0x3808df,_0x25040f))return!0x1;let _0x41fa69=_0x2cf871[_0x2f145c(0x9f)](_0x4d7b12[_0x2f145c(0x32e)]),_0xf8a3ca=_0x2cf871[_0x2f145c(0x9f)](_0x4d7b12[_0x2f145c(0x3b7)]),_0x39dad8=_0x42e24e[_0x2f145c(0x2de)](),_0x5051d7=_0x4d3e8b(_0x25040f),_0x1ae21c=_0x30fd91(_0x39dad8['tables'][_0x3808df],[_0x5051d7]),_0x29b3cd=new _0x7bf11a()['duplicateRecord'](_0x39dad8,_0x3808df,_0x34608b,_0x5051d7),_0x51c7bf=new _0x51bfae()[_0x2f145c(0x386)](_0x39dad8,_0x29b3cd),_0x3c40e9={'unitId':_0x2cb2c6,'op':_0x29b3cd,'hierarchyChanges':_0x1ae21c[_0x2f145c(0x278)]?_0x1ae21c:void 0x0,'source':_0x1ae21c[_0x2f145c(0x278)]?_0xadaba9[_0x2f145c(0x3e3)]??'ui':void 0x0},_0x49cad0={..._0x3c40e9,'source':_0x1ae21c[_0x2f145c(0x278)]?_0x2f145c(0x40a):void 0x0},_0x2898f5={'unitId':_0x2cb2c6,'op':_0x51c7bf,'hierarchyChanges':_0x1ae21c['length']?_0x1ae21c['map'](_0x5bdacb=>({..._0x5bdacb,'oldParentRecordId':_0x5bdacb[_0x2f145c(0x380)],'parentRecordId':null})):void 0x0,'source':_0x1ae21c[_0x2f145c(0x278)]?_0x2f145c(0x230):void 0x0};return _0x41fa69[_0x2f145c(0x3e2)](_0x36dd63['id'],_0x3c40e9)?(_0x461f73[_0x2f145c(0x1c2)](_0x2cb2c6),_0xf8a3ca[_0x2f145c(0x189)]({'unitID':_0x2cb2c6,'undoMutations':[{'id':_0x36dd63['id'],'params':_0x2898f5}],'redoMutations':[{'id':_0x36dd63['id'],'params':_0x49cad0}]}),!0x0):!0x1;}},_0x186600={'id':'base.command.ensure-base-temporal-view-date-fields','type':_0x4d7b12[_0x17666d(0xac)][_0x17666d(0x412)],'handler'(_0x154eb6,_0x38ba17){const _0x56e7d8=_0x17666d;if(!_0x38ba17)return!0x1;let _0xef2ce7=_0x154eb6[_0x56e7d8(0x9f)](_0x4d7b12['IUniverInstanceService']),{unitId:_0x41b4bf,tableId:_0x1f48ba,viewId:_0x248029,ensureEndDateField:_0x53325a}=_0x38ba17,_0x32076c=_0xef2ce7[_0x56e7d8(0x27d)](_0x41b4bf,_0x4d7b12[_0x56e7d8(0xca)]['UNIVER_BASE']);if(!_0x32076c||!_0x5c30c8(_0x32076c,_0x1f48ba,{'viewIds':[_0x248029]}))return!0x1;let _0x4ed1ab=_0x32076c['getSnapshot'](),_0x405b2a=_0x4ed1ab[_0x56e7d8(0x334)][_0x1f48ba],_0x1d13dd=_0x405b2a==null?void 0x0:_0x405b2a[_0x56e7d8(0x420)][_0x248029];if(!_0x405b2a||!_0x1d13dd||_0x1d13dd[_0x56e7d8(0x466)]!=='calendar'&&_0x1d13dd['type']!==_0x56e7d8(0x1d3))return!0x1;let _0x4ec121=_0x1efbf5(_0x405b2a,_0x1d13dd,_0x53325a===!0x0);if(!_0x4ec121[_0x56e7d8(0x471)])return!0x1;let _0x5aab38=_0x154eb6['get'](_0x4d7b12[_0x56e7d8(0x32e)]),_0x26927a=_0x154eb6[_0x56e7d8(0x9f)](_0x4d7b12[_0x56e7d8(0x3b7)]),_0x397e39=new _0x7bf11a(),_0x53c411=[..._0x4ec121['fields'][_0x56e7d8(0xd9)](_0x3ca29a=>_0x397e39[_0x56e7d8(0x468)](_0x4ed1ab,_0x38ba17['tableId'],{'field':_0x3ca29a})),_0xf214ca([..._0x3dd0ea(_0x38ba17[_0x56e7d8(0x10c)],_0x38ba17[_0x56e7d8(0x24f)]),_0x56e7d8(0x39d)],_0x1d13dd[_0x56e7d8(0x39d)],_0x4ec121[_0x56e7d8(0x39d)])];_0x4ec121[_0x56e7d8(0x33f)]&&_0x53c411[_0x56e7d8(0x112)](_0xf214ca([..._0x3dd0ea(_0x38ba17[_0x56e7d8(0x10c)],_0x38ba17[_0x56e7d8(0x24f)]),_0x56e7d8(0x33f)],_0x1d13dd[_0x56e7d8(0x33f)],_0x4ec121['fieldOrder']));let _0x3a3981=_0x2c91fd(_0x53c411),_0x50d790=new _0x51bfae()[_0x56e7d8(0x386)](_0x4ed1ab,_0x3a3981),_0xb052c5={'unitId':_0x41b4bf,'op':_0x3a3981},_0x2b7ed9={'unitId':_0x41b4bf,'op':_0x50d790};return _0x5aab38[_0x56e7d8(0x3e2)](_0x36dd63['id'],_0xb052c5)?(_0xef2ce7[_0x56e7d8(0x1c2)](_0x41b4bf),_0x26927a[_0x56e7d8(0x189)]({'unitID':_0x41b4bf,'undoMutations':[{'id':_0x36dd63['id'],'params':_0x2b7ed9}],'redoMutations':[{'id':_0x36dd63['id'],'params':_0xb052c5}]}),!0x0):!0x1;}};function _0xf214ca(_0x5e6e8a,_0x114542,_0x472c50){const _0x56928a=_0x17666d;return _0x114542===void 0x0?_0x4d7b12[_0x56928a(0xa0)][_0x56928a(0x12f)](_0x5e6e8a,_0x472c50):_0x4d7b12[_0x56928a(0xa0)][_0x56928a(0x45f)](_0x5e6e8a,_0x114542,_0x472c50);}function _0x3dd0ea(_0x3c76c8,_0xe748bd){const _0x42304e=_0x17666d;return[_0x42304e(0x334),_0x3c76c8,_0x42304e(0x420),_0xe748bd];}let _0x17969b={'id':_0x17666d(0x359),'type':_0x4d7b12[_0x17666d(0xac)][_0x17666d(0x412)],'handler':(_0x2f0815,_0x3dad73)=>{const _0x5d90e1=_0x17666d;if(!_0x3dad73)return!0x1;let _0x3af1aa=_0x2f0815[_0x5d90e1(0x9f)](_0x4d7b12[_0x5d90e1(0x322)]),{unitId:_0x2e695e,tableId:_0x57d362,fieldId:_0x19442e,target:_0x15d467}=_0x3dad73,_0x37c95c=_0x3af1aa[_0x5d90e1(0x27d)](_0x2e695e,_0x4d7b12[_0x5d90e1(0xca)][_0x5d90e1(0x101)]),_0x456f5d=_0x15d467[_0x5d90e1(0xc3)]??_0x15d467[_0x5d90e1(0x193)];if(!_0x37c95c||!!_0x15d467[_0x5d90e1(0xc3)]==!!_0x15d467['afterFieldId']||!_0x456f5d||_0x456f5d===_0x19442e||_0x19442e===_0x4d7b12['BASE_RECORD_ID_FIELD_ID']||_0x15d467['beforeFieldId']===_0x4d7b12[_0x5d90e1(0x36b)]||!_0x5c30c8(_0x37c95c,_0x57d362,{'fieldIds':[_0x19442e,_0x456f5d]}))return!0x1;let _0x129e3a=_0x2f0815['get'](_0x4d7b12[_0x5d90e1(0x32e)]),_0x337dca=_0x2f0815[_0x5d90e1(0x9f)](_0x4d7b12[_0x5d90e1(0x3b7)]),_0x328115=_0x37c95c[_0x5d90e1(0x2de)](),_0x3d3e2a=new _0x7bf11a()[_0x5d90e1(0x83)](_0x328115,_0x57d362,_0x19442e,_0x15d467),_0x3bf14b=new _0x51bfae()[_0x5d90e1(0x386)](_0x328115,_0x3d3e2a),_0x3bfc3f={'unitId':_0x2e695e,'op':_0x3d3e2a},_0x2682d0={'unitId':_0x2e695e,'op':_0x3bf14b};return _0x129e3a[_0x5d90e1(0x3e2)](_0x36dd63['id'],_0x3bfc3f)?(_0x3af1aa[_0x5d90e1(0x1c2)](_0x2e695e),_0x337dca[_0x5d90e1(0x189)]({'unitID':_0x2e695e,'undoMutations':[{'id':_0x36dd63['id'],'params':_0x2682d0}],'redoMutations':[{'id':_0x36dd63['id'],'params':_0x3bfc3f}]}),!0x0):!0x1;}},_0x4aecf2={'id':'base.command.move-base-hierarchy-record','type':_0x4d7b12[_0x17666d(0xac)][_0x17666d(0x412)],'handler':(_0x260fbc,_0x38794a)=>{const _0x5b22f0=_0x17666d;var _0x235325;if(!_0x38794a)return!0x1;let {unitId:_0x5260e9,tableId:_0x48e237,recordId:_0x3bd8c8,parentRecordId:_0xe4f21,orderKey:_0x104c27}=_0x38794a,_0x53024e=_0x260fbc[_0x5b22f0(0x9f)](_0x4d7b12[_0x5b22f0(0x322)]),_0x358537=_0x53024e['getUnit'](_0x5260e9,_0x4d7b12[_0x5b22f0(0xca)][_0x5b22f0(0x101)]);if(!_0x358537||!_0x5c30c8(_0x358537,_0x48e237,{'recordIds':[_0x3bd8c8,..._0xe4f21?[_0xe4f21]:[]]}))throw new _0x2f9e6c(_0x5b22f0(0xd7));let _0x108c61=_0x358537['getSnapshot'](),_0x885b18=_0x108c61[_0x5b22f0(0x334)][_0x48e237],_0x1d84f9=_0x571551(_0x885b18),_0x2c815c=_0x1d84f9??_0x38794a['fieldId']??_0x2a161a(_0x885b18);if(_0x1d84f9&&_0x38794a[_0x5b22f0(0x424)]&&_0x38794a[_0x5b22f0(0x424)]!==_0x1d84f9||_0x885b18[_0x5b22f0(0x129)][_0x2c815c]&&!_0x216ae2(_0x885b18,_0x2c815c))throw new _0x2f9e6c(_0x5b22f0(0x21e));let _0x28dc20=_0x19fe79(_0x885b18,_0x2c815c),_0x29fcc8=_0x370f2f(_0x28dc20,_0x3bd8c8,_0xe4f21);if(!_0x29fcc8[_0x5b22f0(0x1d5)])throw new _0x2f9e6c(_0x29fcc8[_0x5b22f0(0x44e)]===_0x4d7b12[_0x5b22f0(0x44f)]['SelfParent']?'selfParent':_0x29fcc8['reason']===_0x4d7b12[_0x5b22f0(0x44f)][_0x5b22f0(0x355)]?'cycle':_0x5b22f0(0x473));let _0x39b8a2=_0x28dc20[_0x5b22f0(0x1be)][_0x5b22f0(0x9f)](_0x3bd8c8)??null,_0x3153c4=_0x885b18['records'][_0x3bd8c8][_0x5b22f0(0x46d)];if(_0x39b8a2===_0xe4f21&&(_0x104c27===void 0x0||_0x104c27===_0x3153c4))return!0x0;let _0xdcdb49=_0x39b8a2!==_0xe4f21,_0xdb91d5=_0x104c27!==void 0x0&&_0x104c27!==_0x3153c4,_0x3dfd6c=new _0x7bf11a(),_0x4830ad=[],_0x2577a1=_0x885b18[_0x5b22f0(0x129)][_0x2c815c],_0x5c1b86=_0xdcdb49&&(!_0x2577a1||((_0x235325=_0x2c9bfd(_0x2577a1))==null?void 0x0:_0x235325[_0x5b22f0(0x409)])!==_0x4d7b12[_0x5b22f0(0x348)][_0x5b22f0(0x415)])?_0x2577a1?_0x3dfd6c[_0x5b22f0(0x2bf)](_0x108c61,_0x48e237,_0x2c815c,{'config':{..._0x2577a1[_0x5b22f0(0x39d)],'relationRole':_0x4d7b12[_0x5b22f0(0x348)][_0x5b22f0(0x415)]}}):_0x260fbc[_0x5b22f0(0x9f)](_0x401e28)[_0x5b22f0(0x1cd)](_0x358537,_0x48e237,_0x523965(_0x885b18,_0x2c815c,_0x38794a[_0x5b22f0(0x432)]),_0x885b18[_0x5b22f0(0x33f)]['length']):null;_0x5c1b86&&_0x4830ad[_0x5b22f0(0x112)](_0x5c1b86),_0xdcdb49&&_0x4830ad[_0x5b22f0(0x112)](_0x3dfd6c['updateCell'](_0x108c61,_0x48e237,_0x3bd8c8,_0x2c815c,_0xe4f21?_0x5a2c52([_0xe4f21]):'')),_0xdb91d5&&_0x4830ad[_0x5b22f0(0x112)](_0x3dfd6c[_0x5b22f0(0x1bc)](_0x108c61,_0x48e237,_0x3bd8c8,_0x104c27));let _0x2206e2=_0x2c91fd(_0x4830ad),_0xa025a4={'tableId':_0x48e237,'fieldId':_0x2c815c,'recordId':_0x3bd8c8,'oldParentRecordId':_0x39b8a2,'parentRecordId':_0xe4f21},_0x24fbab={'unitId':_0x5260e9,'op':_0x2206e2,'trigger':_0x4aecf2['id'],'hierarchyChanges':[_0xa025a4],'source':_0x38794a[_0x5b22f0(0x3e3)]??'ui'},_0x11e98c={..._0x24fbab,'source':'redo'};if(!_0x260fbc[_0x5b22f0(0x9f)](_0x4d7b12[_0x5b22f0(0x32e)])[_0x5b22f0(0x3e2)](_0x36dd63['id'],_0x24fbab))return!0x1;let _0x1e03c6=_0x358537[_0x5b22f0(0x2de)](),_0x3acd7d=[];_0xdcdb49&&_0x3acd7d['push'](_0x8f037e(_0x1e03c6,_0x108c61,_0x48e237,_0x3bd8c8,_0x2c815c)),_0xdb91d5&&_0x3acd7d[_0x5b22f0(0x112)](_0x54b3f6(_0x1e03c6,_0x108c61,_0x48e237,_0x3bd8c8)),_0x5c1b86&&_0x3acd7d[_0x5b22f0(0x112)](new _0x51bfae()[_0x5b22f0(0x386)](_0x108c61,_0x5c1b86));let _0x4adaa3={'unitId':_0x5260e9,'op':_0x2c91fd(_0x3acd7d),'trigger':_0x4aecf2['id'],'hierarchyChanges':[{..._0xa025a4,'oldParentRecordId':_0xe4f21,'parentRecordId':_0x39b8a2}],'source':_0x5b22f0(0x230)};return _0x53024e['focusUnit'](_0x5260e9),_0x260fbc[_0x5b22f0(0x9f)](_0x4d7b12[_0x5b22f0(0x3b7)])['pushUndoRedo']({'unitID':_0x5260e9,'undoMutations':[{'id':_0x36dd63['id'],'params':_0x4adaa3}],'redoMutations':[{'id':_0x36dd63['id'],'params':_0x11e98c}]}),!0x0;}};function _0x8f037e(_0x2809ec,_0x21c63f,_0x4f9d4b,_0x10e661,_0x1d2516){const _0x264ea6=_0x17666d;var _0x4ff5a9,_0xab135b,_0x5d79fa,_0xf6b2f9,_0x595519,_0x25b1fd,_0x299728,_0x2ebec3;let _0x45e0ff=_0x2809ec['tables'][_0x4f9d4b],_0x4d7de9=_0x21c63f[_0x264ea6(0x334)][_0x4f9d4b],_0xc6807f=(_0x4ff5a9=_0x45e0ff['rowIndex'])==null?void 0x0:_0x4ff5a9[_0x10e661],_0x2cb795=(_0xab135b=_0x45e0ff[_0x264ea6(0x118)])==null?void 0x0:_0xab135b[_0x1d2516],_0x227627=(_0x5d79fa=_0x4d7de9[_0x264ea6(0x3db)])==null?void 0x0:_0x5d79fa[_0x10e661],_0x156912=(_0xf6b2f9=_0x4d7de9[_0x264ea6(0x118)])==null?void 0x0:_0xf6b2f9[_0x1d2516],_0x8c3d8a=_0xc6807f==null||_0x2cb795==null||(_0x595519=_0x45e0ff[_0x264ea6(0x17b)])==null||(_0x595519=_0x595519[_0xc6807f])==null?void 0x0:_0x595519[_0x2cb795],_0x14ed3e=_0x227627==null||_0x156912==null||(_0x25b1fd=_0x4d7de9[_0x264ea6(0x17b)])==null||(_0x25b1fd=_0x25b1fd[_0x227627])==null?void 0x0:_0x25b1fd[_0x156912],_0x1a75ae=(_0x299728=_0x45e0ff[_0x264ea6(0x14c)][_0x10e661])==null?void 0x0:_0x299728[_0x264ea6(0x3b2)][_0x1d2516],_0x15e351=(_0x2ebec3=_0x4d7de9['records'][_0x10e661])==null?void 0x0:_0x2ebec3[_0x264ea6(0x3b2)][_0x1d2516],_0x1f358d=[],_0x420625=_0x868cda(_0xc6807f==null||_0x2cb795==null?null:_0x550af4[_0x264ea6(0x17b)](_0x4f9d4b,_0xc6807f,_0x2cb795),_0x8c3d8a,_0x14ed3e);_0x420625&&_0x1f358d[_0x264ea6(0x112)](_0x420625);let _0x44f661=_0x868cda(_0x550af4[_0x264ea6(0x2cb)](_0x4f9d4b,_0x10e661,_0x1d2516),_0x1a75ae,_0x15e351);return _0x44f661&&_0x1f358d[_0x264ea6(0x112)](_0x44f661),_0x2c91fd(_0x1f358d);}function _0x54b3f6(_0x462032,_0x5a8e22,_0x3ed55c,_0x5da689){const _0x230948=_0x17666d;var _0x4d7925,_0x6d30aa;let _0x1ff996=_0x462032[_0x230948(0x334)][_0x3ed55c],_0x4e8cf7=_0x5a8e22['tables'][_0x3ed55c];return _0x2c91fd([_0x868cda([..._0x550af4[_0x230948(0x463)](_0x3ed55c,_0x5da689),_0x230948(0x46d)],(_0x4d7925=_0x1ff996[_0x230948(0x14c)][_0x5da689])==null?void 0x0:_0x4d7925[_0x230948(0x46d)],(_0x6d30aa=_0x4e8cf7[_0x230948(0x14c)][_0x5da689])==null?void 0x0:_0x6d30aa[_0x230948(0x46d)]),_0x868cda([..._0x550af4[_0x230948(0x39f)](_0x3ed55c),_0x230948(0x370)],_0x1ff996[_0x230948(0x370)],_0x4e8cf7[_0x230948(0x370)])][_0x230948(0x425)](_0x16f00b=>!!_0x16f00b));}function _0x868cda(_0x1b40aa,_0x1a7159,_0x362878){const _0x509e72=_0x17666d;if(!_0x1b40aa||_0x1a7159===void 0x0&&_0x362878===void 0x0)return null;let _0xc8b404=_0x4d7b12[_0x509e72(0x13b)][_0x509e72(0x265)]();return _0x362878===void 0x0?_0xc8b404['removeOp'](_0x1b40aa,_0x1a7159):_0x1a7159===void 0x0?_0xc8b404[_0x509e72(0x12f)](_0x1b40aa,_0x362878):_0xc8b404[_0x509e72(0x45f)](_0x1b40aa,_0x1a7159,_0x362878);}let _0x670e18={'id':_0x17666d(0x81),'type':_0x4d7b12[_0x17666d(0xac)]['COMMAND'],'handler':(_0x3566c8,_0x219b58)=>{const _0x154168=_0x17666d;if(!_0x219b58)return!0x1;let _0x3cba8d=_0x3566c8[_0x154168(0x9f)](_0x4d7b12['IUniverInstanceService']),{unitId:_0x37a719,tableId:_0xc6ec8c,viewId:_0x2133f9,target:_0x137c76}=_0x219b58,_0x47b581=_0x3cba8d['getUnit'](_0x37a719,_0x4d7b12[_0x154168(0xca)][_0x154168(0x101)]),_0x3fcac0=_0x137c76[_0x154168(0x41e)]??_0x137c76['afterViewId'];if(!_0x47b581||!_0x3fcac0||_0x3fcac0===_0x2133f9||!_0x5c30c8(_0x47b581,_0xc6ec8c,{'viewIds':[_0x2133f9,_0x3fcac0]}))return!0x1;let _0x21a6df=_0x3566c8[_0x154168(0x9f)](_0x4d7b12[_0x154168(0x32e)]),_0x49d098=_0x3566c8['get'](_0x4d7b12['IUndoRedoService']),_0x551357=_0x47b581[_0x154168(0x2de)](),_0x3cf673=new _0x7bf11a()[_0x154168(0x1b8)](_0x551357,_0xc6ec8c,_0x2133f9,_0x137c76),_0x233940=new _0x51bfae()[_0x154168(0x386)](_0x551357,_0x3cf673),_0x504cc2={'unitId':_0x37a719,'op':_0x3cf673},_0x5d1eba={'unitId':_0x37a719,'op':_0x233940};return _0x21a6df[_0x154168(0x3e2)](_0x36dd63['id'],_0x504cc2)?(_0x3cba8d[_0x154168(0x1c2)](_0x37a719),_0x49d098[_0x154168(0x189)]({'unitID':_0x37a719,'undoMutations':[{'id':_0x36dd63['id'],'params':_0x5d1eba}],'redoMutations':[{'id':_0x36dd63['id'],'params':_0x504cc2}]}),!0x0):!0x1;}},_0xd3d58b={'id':_0x17666d(0x352),'type':_0x4d7b12[_0x17666d(0xac)]['COMMAND'],'handler':(_0xe4145,_0x3d1370)=>{const _0x44f5cb=_0x17666d;if(!_0x3d1370)return!0x1;let _0x6c833e=_0xe4145['get'](_0x4d7b12['IUniverInstanceService']),{unitId:_0x24369b,tableId:_0x26a058,name:_0x178dcc}=_0x3d1370,_0x2660ad=_0x6c833e[_0x44f5cb(0x27d)](_0x24369b,_0x4d7b12[_0x44f5cb(0xca)][_0x44f5cb(0x101)]);if(!_0x2660ad||!_0x5c30c8(_0x2660ad,_0x26a058)||!_0x57d6ff(_0x2660ad[_0x44f5cb(0x2de)](),_0x178dcc,_0x26a058)['valid'])return!0x1;let _0x2cd4cc=_0xe4145[_0x44f5cb(0x9f)](_0x4d7b12['ICommandService']),_0x577a3b=_0xe4145[_0x44f5cb(0x9f)](_0x4d7b12[_0x44f5cb(0x3b7)]),_0x54f054=_0x2660ad[_0x44f5cb(0x2de)](),_0x2b2f5f=new _0x7bf11a()[_0x44f5cb(0x2eb)](_0x54f054,_0x26a058,_0x178dcc),_0x25be4b=new _0x51bfae()['invertOp'](_0x54f054,_0x2b2f5f),_0x1e6e87={'unitId':_0x24369b,'op':_0x2b2f5f},_0x16927c={'unitId':_0x24369b,'op':_0x25be4b};return _0x2cd4cc[_0x44f5cb(0x3e2)](_0x36dd63['id'],_0x1e6e87)?(_0x6c833e['focusUnit'](_0x24369b),_0x577a3b[_0x44f5cb(0x189)]({'unitID':_0x24369b,'undoMutations':[{'id':_0x36dd63['id'],'params':_0x16927c}],'redoMutations':[{'id':_0x36dd63['id'],'params':_0x1e6e87}]}),!0x0):!0x1;}},_0xbd2d19={'id':_0x17666d(0x22e),'type':_0x4d7b12[_0x17666d(0xac)][_0x17666d(0x412)],'handler':(_0x7c63de,_0x43e1d1)=>{const _0x3bf6f0=_0x17666d;if(!_0x43e1d1)return!0x1;let _0x5de4e5=_0x7c63de[_0x3bf6f0(0x9f)](_0x4d7b12[_0x3bf6f0(0x322)]),{unitId:_0x57da4c,tableId:_0x2c4543,viewId:_0x113ed8,name:_0x222a1d}=_0x43e1d1,_0x348728=_0x5de4e5[_0x3bf6f0(0x27d)](_0x57da4c,_0x4d7b12[_0x3bf6f0(0xca)]['UNIVER_BASE']);if(!_0x348728||!_0x5c30c8(_0x348728,_0x2c4543,{'viewIds':[_0x113ed8]}))return!0x1;let _0xcbc8d1=_0x7c63de[_0x3bf6f0(0x9f)](_0x4d7b12[_0x3bf6f0(0x32e)]),_0x3ab715=_0x7c63de[_0x3bf6f0(0x9f)](_0x4d7b12[_0x3bf6f0(0x3b7)]),_0x49b921=_0x348728['getSnapshot'](),_0x188306=new _0x7bf11a()[_0x3bf6f0(0x388)](_0x49b921,_0x2c4543,_0x113ed8,_0x222a1d),_0x574fd0=new _0x51bfae()[_0x3bf6f0(0x386)](_0x49b921,_0x188306),_0x29da92={'unitId':_0x57da4c,'op':_0x188306},_0x5937fd={'unitId':_0x57da4c,'op':_0x574fd0};return _0xcbc8d1[_0x3bf6f0(0x3e2)](_0x36dd63['id'],_0x29da92)?(_0x5de4e5[_0x3bf6f0(0x1c2)](_0x57da4c),_0x3ab715[_0x3bf6f0(0x189)]({'unitID':_0x57da4c,'undoMutations':[{'id':_0x36dd63['id'],'params':_0x5937fd}],'redoMutations':[{'id':_0x36dd63['id'],'params':_0x29da92}]}),!0x0):!0x1;}},_0x55eaee={'id':_0x17666d(0x32f),'type':_0x4d7b12[_0x17666d(0xac)][_0x17666d(0x412)],'handler':(_0x2f60dd,_0x38f01c)=>{const _0x4fec7a=_0x17666d;if(!_0x38f01c)return!0x1;let _0x33efa2=_0x2f60dd['get'](_0x4d7b12[_0x4fec7a(0x322)]),{unitId:_0x4c4101,tableId:_0x3c2c41,viewId:_0x12c738,fieldId:_0x45709b}=_0x38f01c,_0xac8ad6=_0x33efa2[_0x4fec7a(0x27d)](_0x4c4101,_0x4d7b12['UniverInstanceType'][_0x4fec7a(0x101)]);if(!_0xac8ad6||!_0x5c30c8(_0xac8ad6,_0x3c2c41,{'viewIds':[_0x12c738],'fieldIds':[_0x45709b]}))return!0x1;let _0x4e0c4e=_0x2f60dd[_0x4fec7a(0x9f)](_0x4d7b12[_0x4fec7a(0x32e)]),_0x44758e=_0x2f60dd[_0x4fec7a(0x9f)](_0x4d7b12[_0x4fec7a(0x3b7)]),_0x3e7da5=_0xac8ad6[_0x4fec7a(0x2de)](),_0x340fd5=new _0x7bf11a()['updateViewConfig'](_0x3e7da5,_0x3c2c41,_0x12c738,{'groupFieldId':_0x45709b}),_0x4b9314=new _0x51bfae()[_0x4fec7a(0x386)](_0x3e7da5,_0x340fd5),_0x3d9dc8={'unitId':_0x4c4101,'op':_0x340fd5},_0x155125={'unitId':_0x4c4101,'op':_0x4b9314};return _0x4e0c4e[_0x4fec7a(0x3e2)](_0x36dd63['id'],_0x3d9dc8)?(_0x33efa2[_0x4fec7a(0x1c2)](_0x4c4101),_0x44758e[_0x4fec7a(0x189)]({'unitID':_0x4c4101,'undoMutations':[{'id':_0x36dd63['id'],'params':_0x155125}],'redoMutations':[{'id':_0x36dd63['id'],'params':_0x3d9dc8}]}),!0x0):!0x1;}},_0x48f4a9={'id':_0x17666d(0x376),'type':_0x4d7b12[_0x17666d(0xac)]['COMMAND'],'handler':(_0x180536,_0x522994)=>{const _0x2fed1b=_0x17666d;if(!_0x522994)return!0x1;let _0x39fc14=_0x180536[_0x2fed1b(0x9f)](_0x4d7b12[_0x2fed1b(0x322)]),_0x34ccb5=_0x39fc14[_0x2fed1b(0x27d)](_0x522994[_0x2fed1b(0x44c)],_0x4d7b12[_0x2fed1b(0xca)][_0x2fed1b(0x101)]);if(!_0x34ccb5)return!0x1;let _0x481e1d=_0x34ccb5[_0x2fed1b(0x2de)]()[_0x2fed1b(0x208)];if(_0x481e1d===_0x522994[_0x2fed1b(0x208)])return!0x0;let _0xb2209b=new _0x7bf11a(),_0x3f4325=new _0x51bfae(),_0x52ca97=[],_0x5d25f4=[],_0x5157d9=[_0x34ccb5,..._0x39fc14['getAllUnitsForType'](_0x4d7b12[_0x2fed1b(0xca)][_0x2fed1b(0x101)])[_0x2fed1b(0x425)](_0x14dd31=>_0x14dd31[_0x2fed1b(0xbc)]()!==_0x522994['unitId'])];for(let _0xb24ee9 of _0x5157d9){let _0x5bacef=_0xb24ee9['getSnapshot'](),_0x3e9606=_0xb24ee9===_0x34ccb5?_0xb2209b[_0x2fed1b(0x97)](_0x5bacef,_0x522994['name']):_0xb2209b[_0x2fed1b(0x7b)](_0x5bacef,_0x481e1d,_0x522994[_0x2fed1b(0x208)]);_0x3e9606&&(_0x52ca97[_0x2fed1b(0x112)]({'id':_0x36dd63['id'],'params':{'unitId':_0xb24ee9[_0x2fed1b(0xbc)](),'op':_0x3e9606,'trigger':_0x48f4a9['id']}}),_0x5d25f4[_0x2fed1b(0x42f)]({'id':_0x36dd63['id'],'params':{'unitId':_0xb24ee9['getUnitId'](),'op':_0x3f4325[_0x2fed1b(0x386)](_0x5bacef,_0x3e9606),'trigger':_0x48f4a9['id']}}));}let _0x41cb75=_0x180536[_0x2fed1b(0x9f)](_0x4d7b12[_0x2fed1b(0x32e)]),_0x34fe4c=_0x180536[_0x2fed1b(0x9f)](_0x4d7b12[_0x2fed1b(0x3b7)]),_0x153516=_0x34fe4c[_0x2fed1b(0x241)](_0x522994[_0x2fed1b(0x44c)]);try{return(0x0,_0x4d7b12[_0x2fed1b(0x30a)])(_0x52ca97,_0x41cb75)[_0x2fed1b(0x1d2)]?(_0x39fc14[_0x2fed1b(0x1c2)](_0x522994[_0x2fed1b(0x44c)]),_0x34fe4c[_0x2fed1b(0x189)]({'unitID':_0x522994[_0x2fed1b(0x44c)],'undoMutations':_0x5d25f4,'redoMutations':_0x52ca97}),!0x0):!0x1;}finally{_0x153516['dispose']();}}};function _0x29e314(_0x2a6ef0,_0x292ff1){const _0x2ee844=_0x17666d;let _0x4c4a5f=_0x4cff78(_0x4d7b12[_0x2ee844(0x1ea)][_0x2ee844(0xee)](_0x2a6ef0)),_0x2e782f=new Map();return _0x292ff1[_0x2ee844(0x3cc)](_0x37df86=>{const _0x13672a=_0x2ee844;var _0x33e13d,_0xcb453a;let _0x3a4599='recordId'in _0x37df86?_0x37df86[_0x13672a(0x23d)]:(_0x33e13d=_0x4c4a5f[_0x13672a(0x357)])==null?void 0x0:_0x33e13d[_0x37df86[_0x13672a(0x1b3)]],_0x5d0283=_0x13672a(0x424)in _0x37df86?_0x37df86[_0x13672a(0x424)]:(_0xcb453a=_0x4c4a5f[_0x13672a(0x1f6)])==null?void 0x0:_0xcb453a[_0x37df86[_0x13672a(0x282)]],_0x3c2f05=_0x5d0283?_0x4c4a5f[_0x13672a(0x129)][_0x5d0283]:void 0x0;if(!_0x3a4599||!_0x5d0283||!_0x3c2f05||!_0x4c4a5f[_0x13672a(0x14c)][_0x3a4599])return;let _0xa0cc48=_0x445436(_0x37df86[_0x13672a(0x12e)],_0x3c2f05),_0x3fb567=_0x1f5abe(_0x37df86['value'],_0xa0cc48,_0x3c2f05,_0x4c4a5f,_0x3a4599),_0xcb7d31=_0x2e782f[_0x13672a(0x9f)](_0x3a4599)??{};_0xcb7d31[_0x5d0283]=_0x3fb567,_0x2e782f['set'](_0x3a4599,_0xcb7d31);}),[..._0x2e782f][_0x2ee844(0xd9)](([_0x4441e5,_0x978bc4])=>({'recordId':_0x4441e5,'values':_0x978bc4}));}let _0x3dfb10={'id':_0x17666d(0x115),'type':_0x4d7b12[_0x17666d(0xac)][_0x17666d(0x412)],'handler'(_0x4acb67,_0x386751){const _0x26ecde=_0x17666d;if(!_0x386751)return!0x1;let _0x2c0de8=_0x4acb67[_0x26ecde(0x9f)](_0x4d7b12['IUniverInstanceService']),{unitId:_0x54c61a,tableId:_0x18cc0f,patches:_0xc98d9e}=_0x386751,_0x42142f=_0x2c0de8['getUnit'](_0x54c61a,_0x4d7b12[_0x26ecde(0xca)][_0x26ecde(0x101)]);if(!_0x42142f||!_0x5c30c8(_0x42142f,_0x18cc0f))return!0x1;let _0xc3dd7e=_0x4acb67[_0x26ecde(0x9f)](_0x4d7b12['ICommandService']),_0x30fedd=_0x4acb67[_0x26ecde(0x9f)](_0x4d7b12['IUndoRedoService']),_0xcfc4f4=_0x42142f['getSnapshot'](),_0x2ccf11=_0x4cff78(_0xcfc4f4[_0x26ecde(0x334)][_0x18cc0f]),_0x2b7c7b=_0xc98d9e['map'](_0x42f6b8=>{const _0x3600cc=_0x26ecde;var _0x32e451;return'recordId'in _0x42f6b8?_0x42f6b8[_0x3600cc(0x23d)]:(_0x32e451=_0x2ccf11[_0x3600cc(0x357)])==null?void 0x0:_0x32e451[_0x42f6b8[_0x3600cc(0x1b3)]];})['filter'](_0xa16fc=>_0xa16fc!=null),_0x3a3238=_0xc98d9e[_0x26ecde(0xd9)](_0x44f5b1=>{const _0x36d47c=_0x26ecde;var _0x4ee420;return'fieldId'in _0x44f5b1?_0x44f5b1[_0x36d47c(0x424)]:(_0x4ee420=_0x2ccf11[_0x36d47c(0x1f6)])==null?void 0x0:_0x4ee420[_0x44f5b1[_0x36d47c(0x282)]];})['filter'](_0x346cae=>_0x346cae!=null);if(_0x2b7c7b[_0x26ecde(0x278)]!==_0xc98d9e[_0x26ecde(0x278)]||_0x3a3238[_0x26ecde(0x278)]!==_0xc98d9e['length']||!_0x5c30c8(_0x42142f,_0x18cc0f,{'recordIds':_0x2b7c7b,'fieldIds':_0x3a3238})||_0xc98d9e[_0x26ecde(0x256)]((_0x50d295,_0x612294)=>!_0x5ba17e(_0x42142f,_0x18cc0f,_0x3a3238[_0x612294],_0x50d295[_0x26ecde(0x12e)])))return!0x1;let _0x9b26e1=_0x4d5504(_0x2ccf11,_0x29e314(_0x2ccf11,_0xc98d9e)),_0x467515=_0xc98d9e[_0x26ecde(0x2b8)](_0x356d94=>{const _0xe5b7f1=_0x26ecde;var _0x59e18b,_0x5f4ae7;if('row'in _0x356d94)return[_0x356d94];let _0x31bb96=(_0x59e18b=_0x2ccf11[_0xe5b7f1(0x3db)])==null?void 0x0:_0x59e18b[_0x356d94[_0xe5b7f1(0x23d)]],_0x4b87f0=(_0x5f4ae7=_0x2ccf11['colIndex'])==null?void 0x0:_0x5f4ae7[_0x356d94[_0xe5b7f1(0x424)]];return _0x31bb96==null||_0x4b87f0==null?[]:[{'row':_0x31bb96,'col':_0x4b87f0,'value':_0x356d94['value']}];}),_0x21118a=new _0x7bf11a()['setRangeValues'](_0xcfc4f4,_0x18cc0f,_0x467515),_0x332b7f=new _0x51bfae()['invertOp'](_0xcfc4f4,_0x21118a),_0x328c49={'unitId':_0x54c61a,'op':_0x21118a,'trigger':_0x9b26e1[_0x26ecde(0x278)]?_0x3dfb10['id']:void 0x0,'hierarchyChanges':_0x9b26e1[_0x26ecde(0x278)]?_0x9b26e1:void 0x0,'source':_0x9b26e1['length']?_0x26ecde(0x40a):void 0x0},_0x5efff4={'unitId':_0x54c61a,'op':_0x332b7f,'trigger':_0x9b26e1[_0x26ecde(0x278)]?_0x3dfb10['id']:void 0x0,'hierarchyChanges':_0x9b26e1[_0x26ecde(0x278)]?_0x9b26e1[_0x26ecde(0xd9)](_0x311d7b=>({..._0x311d7b,'oldParentRecordId':_0x311d7b['parentRecordId'],'parentRecordId':_0x311d7b['oldParentRecordId']})):void 0x0,'source':_0x9b26e1[_0x26ecde(0x278)]?_0x26ecde(0x230):void 0x0},_0x4c4955={..._0x328c49,'source':_0x9b26e1[_0x26ecde(0x278)]?_0x386751[_0x26ecde(0x3e3)]??'ui':void 0x0};return _0xc3dd7e[_0x26ecde(0x3e2)](_0x36dd63['id'],_0x4c4955)?(_0x2c0de8[_0x26ecde(0x1c2)](_0x54c61a),_0x30fedd[_0x26ecde(0x189)]({'unitID':_0x54c61a,'undoMutations':[{'id':_0x36dd63['id'],'params':_0x5efff4}],'redoMutations':[{'id':_0x36dd63['id'],'params':_0x328c49}]}),!0x0):!0x1;}},_0xeed559={'id':_0x17666d(0x1ce),'type':_0x4d7b12['CommandType'][_0x17666d(0x412)],'handler'(_0x108c26,_0x161a46){const _0x31bd2e=_0x17666d;if(!_0x161a46)return!0x1;let _0x3294d5=_0x108c26[_0x31bd2e(0x9f)](_0x4d7b12[_0x31bd2e(0x322)]),{unitId:_0x3efbf5,tableId:_0x39988b,patches:_0xf85c80}=_0x161a46,_0x1d7491=_0x3294d5[_0x31bd2e(0x27d)](_0x3efbf5,_0x4d7b12[_0x31bd2e(0xca)][_0x31bd2e(0x101)]),_0x42bbdd=_0xf85c80[_0x31bd2e(0xd9)](_0x5d7917=>_0x5d7917[_0x31bd2e(0x23d)]),_0x3983dd=_0xf85c80[_0x31bd2e(0x2b8)](_0xb36b7c=>Object[_0x31bd2e(0x3d7)](_0xb36b7c[_0x31bd2e(0x3b2)]));if(!_0x1d7491||!_0x5c30c8(_0x1d7491,_0x39988b,{'recordIds':_0x42bbdd,'fieldIds':_0x3983dd})||_0xf85c80[_0x31bd2e(0x256)](_0x12e5ad=>Object[_0x31bd2e(0x45d)](_0x12e5ad['values'])[_0x31bd2e(0x256)](([_0x2e69a4,_0x58ae00])=>!_0x5ba17e(_0x1d7491,_0x39988b,_0x2e69a4,_0x58ae00))))return!0x1;let _0x28f101=_0x4d5504(_0x1d7491[_0x31bd2e(0x2de)]()[_0x31bd2e(0x334)][_0x39988b],_0xf85c80),_0x192f75=_0x108c26[_0x31bd2e(0x9f)](_0x4d7b12['ICommandService']),_0x43841f=_0x108c26[_0x31bd2e(0x9f)](_0x4d7b12[_0x31bd2e(0x3b7)]),_0x322850=_0x108c26[_0x31bd2e(0x9f)](_0x401e28)[_0x31bd2e(0x150)](_0x1d7491,_0x39988b,_0xf85c80),_0xa23f98=new _0x51bfae()['invertOp'](_0x1d7491[_0x31bd2e(0x2de)](),_0x322850),_0x19533a={'unitId':_0x3efbf5,'op':_0x322850,'trigger':_0x28f101[_0x31bd2e(0x278)]?_0xeed559['id']:void 0x0,'hierarchyChanges':_0x28f101[_0x31bd2e(0x278)]?_0x28f101:void 0x0,'source':_0x28f101['length']?_0x161a46[_0x31bd2e(0x3e3)]??'ui':void 0x0},_0x5891ff={..._0x19533a,'source':_0x28f101[_0x31bd2e(0x278)]?_0x31bd2e(0x40a):void 0x0},_0x5f1660={'unitId':_0x3efbf5,'op':_0xa23f98,'trigger':_0x28f101[_0x31bd2e(0x278)]?_0xeed559['id']:void 0x0,'hierarchyChanges':_0x28f101[_0x31bd2e(0x278)]?_0x28f101[_0x31bd2e(0xd9)](_0x3c7f74=>({..._0x3c7f74,'oldParentRecordId':_0x3c7f74[_0x31bd2e(0x380)],'parentRecordId':_0x3c7f74[_0x31bd2e(0x366)]})):void 0x0,'source':_0x28f101[_0x31bd2e(0x278)]?_0x31bd2e(0x230):void 0x0};return _0x192f75['syncExecuteCommand'](_0x36dd63['id'],_0x19533a)?(_0x3294d5[_0x31bd2e(0x1c2)](_0x3efbf5),_0x43841f[_0x31bd2e(0x189)]({'unitID':_0x3efbf5,'undoMutations':[{'id':_0x36dd63['id'],'params':_0x5f1660}],'redoMutations':[{'id':_0x36dd63['id'],'params':_0x5891ff}]}),!0x0):!0x1;}},_0x309fb7={'id':_0x17666d(0x437),'type':_0x4d7b12['CommandType'][_0x17666d(0x412)],'handler':(_0x188560,_0x12bdf1)=>{const _0x120d70=_0x17666d;if(!_0x12bdf1)return!0x1;let {unitId:_0x6dfa49,tableId:_0x41ffe0,fieldId:_0x1ee5c6}=_0x12bdf1,_0x28ae8f=_0x188560[_0x120d70(0x9f)](_0x4d7b12[_0x120d70(0x322)]),_0xccdb8d=_0x28ae8f[_0x120d70(0x27d)](_0x6dfa49,_0x4d7b12[_0x120d70(0xca)][_0x120d70(0x101)]);if(!_0xccdb8d||!_0x5c30c8(_0xccdb8d,_0x41ffe0))return!0x1;let _0x291fc2=_0xccdb8d['getSnapshot'](),_0x253338=_0x291fc2[_0x120d70(0x334)][_0x41ffe0];if(_0x1ee5c6!==null&&!_0x216ae2(_0x253338,_0x1ee5c6))throw new _0x2f9e6c('invalidField');if(_0x571551(_0x253338)===_0x1ee5c6)return!0x0;let _0x466a46=new _0x7bf11a(),_0xddea28=_0x2c91fd(Object[_0x120d70(0x3b2)](_0x253338[_0x120d70(0x129)])[_0x120d70(0x2b8)](_0x387c85=>{const _0x53ba85=_0x120d70;if(!_0x216ae2(_0x253338,_0x387c85['id']))return[];let _0x319661=_0x2c9bfd(_0x387c85);if(!_0x319661)return[];let _0x269e2b=_0x387c85['id']===_0x1ee5c6;if(_0x319661[_0x53ba85(0x409)]===_0x4d7b12[_0x53ba85(0x348)]['Parent']===_0x269e2b)return[];let _0x4269c4={..._0x387c85['config'],'targetTableId':_0x319661[_0x53ba85(0x156)],'multiple':_0x319661['multiple']};return _0x269e2b?_0x4269c4[_0x53ba85(0x409)]=_0x4d7b12[_0x53ba85(0x348)][_0x53ba85(0x415)]:delete _0x4269c4[_0x53ba85(0x409)],[_0x466a46[_0x53ba85(0x2bf)](_0x291fc2,_0x41ffe0,_0x387c85['id'],{'config':_0x4269c4})];})),_0x17f00f=new _0x51bfae()[_0x120d70(0x386)](_0x291fc2,_0xddea28),_0x3b8db={'unitId':_0x6dfa49,'op':_0xddea28},_0x124ffe={'unitId':_0x6dfa49,'op':_0x17f00f};return _0x188560['get'](_0x4d7b12[_0x120d70(0x32e)])[_0x120d70(0x3e2)](_0x36dd63['id'],_0x3b8db)?(_0x28ae8f[_0x120d70(0x1c2)](_0x6dfa49),_0x188560['get'](_0x4d7b12[_0x120d70(0x3b7)])[_0x120d70(0x189)]({'unitID':_0x6dfa49,'undoMutations':[{'id':_0x36dd63['id'],'params':_0x124ffe}],'redoMutations':[{'id':_0x36dd63['id'],'params':_0x3b8db}]}),!0x0):!0x1;}},_0x475f5d={'id':'base.command.set-base-view-field-order','type':_0x4d7b12[_0x17666d(0xac)][_0x17666d(0x412)],'handler':(_0x4874f6,_0x338a44)=>{const _0x302693=_0x17666d;if(!_0x338a44)return!0x1;let _0x578c29=_0x4874f6[_0x302693(0x9f)](_0x4d7b12[_0x302693(0x322)]),{unitId:_0x27e56e,tableId:_0x329147,viewId:_0xcd0157,fieldId:_0x5bbbec,target:_0x3a4cf0}=_0x338a44,_0xe4794c=_0x578c29[_0x302693(0x27d)](_0x27e56e,_0x4d7b12['UniverInstanceType'][_0x302693(0x101)]),_0x52b0ca=_0x3a4cf0[_0x302693(0xc3)]??_0x3a4cf0[_0x302693(0x193)];if(!_0xe4794c||!_0x52b0ca||_0x52b0ca===_0x5bbbec||!_0x5c30c8(_0xe4794c,_0x329147,{'viewIds':[_0xcd0157],'fieldIds':[_0x5bbbec,_0x52b0ca]}))return!0x1;let _0x11f49c=_0xe4794c[_0x302693(0x2de)]()[_0x302693(0x334)][_0x329147],_0x13e467=_0x11f49c['fields'][_0x5bbbec],_0x3cfcf7=_0x11f49c[_0x302693(0x129)][_0x52b0ca];if(_0x13e467[_0x302693(0x43a)]===!0x0||_0x13e467[_0x302693(0x466)]===_0x4d7b12[_0x302693(0x419)][_0x302693(0x266)]||_0x3cfcf7[_0x302693(0x43a)]===!0x0||_0x3cfcf7[_0x302693(0x466)]===_0x4d7b12[_0x302693(0x419)][_0x302693(0x266)])return!0x1;let _0x2057db=_0x4874f6[_0x302693(0x9f)](_0x4d7b12[_0x302693(0x32e)]),_0x477893=_0x4874f6['get'](_0x4d7b12[_0x302693(0x3b7)]),_0x36e4d0=_0xe4794c[_0x302693(0x2de)](),_0x5464b=new _0x7bf11a()[_0x302693(0x3e0)](_0x36e4d0,_0x329147,_0xcd0157,_0x5bbbec,_0x3a4cf0),_0xc0bf78=new _0x51bfae()[_0x302693(0x386)](_0x36e4d0,_0x5464b),_0x5e1e10={'unitId':_0x27e56e,'op':_0x5464b},_0x5649c9={'unitId':_0x27e56e,'op':_0xc0bf78};return _0x2057db[_0x302693(0x3e2)](_0x36dd63['id'],_0x5e1e10)?(_0x578c29['focusUnit'](_0x27e56e),_0x477893[_0x302693(0x189)]({'unitID':_0x27e56e,'undoMutations':[{'id':_0x36dd63['id'],'params':_0x5649c9}],'redoMutations':[{'id':_0x36dd63['id'],'params':_0x5e1e10}]}),!0x0):!0x1;}},_0xdd5a2={'id':_0x17666d(0x3ba),'type':_0x4d7b12['CommandType'][_0x17666d(0x412)],'handler'(_0x994588,_0x8fedc8){const _0x3b6c32=_0x17666d;if(!_0x8fedc8)return!0x1;let _0x680568=_0x994588[_0x3b6c32(0x9f)](_0x4d7b12[_0x3b6c32(0x322)]),{unitId:_0x5c182a,tableId:_0x11cd29,viewId:_0x38a5de,fieldId:_0x140c71,visible:_0x2c1a8d}=_0x8fedc8,_0x316533=_0x680568[_0x3b6c32(0x27d)](_0x5c182a,_0x4d7b12[_0x3b6c32(0xca)][_0x3b6c32(0x101)]);if(!_0x316533||!_0x5c30c8(_0x316533,_0x11cd29,{'viewIds':[_0x38a5de],'fieldIds':[_0x140c71]}))return!0x1;let _0x3abbbf=_0x316533[_0x3b6c32(0x2de)]()[_0x3b6c32(0x334)][_0x11cd29][_0x3b6c32(0x129)][_0x140c71];if(_0x3abbbf['system']===!0x0||_0x3abbbf[_0x3b6c32(0x466)]===_0x4d7b12[_0x3b6c32(0x419)][_0x3b6c32(0x266)])return!0x1;let _0x67390e=_0x994588[_0x3b6c32(0x9f)](_0x4d7b12['ICommandService']),_0x31c279=_0x994588['get'](_0x4d7b12[_0x3b6c32(0x3b7)]),_0x2dba06=_0x316533['getSnapshot'](),_0xeb7e48=new _0x7bf11a()[_0x3b6c32(0x201)](_0x2dba06,_0x11cd29,_0x38a5de,_0x140c71,_0x2c1a8d),_0x25bf8d=new _0x51bfae()[_0x3b6c32(0x386)](_0x2dba06,_0xeb7e48),_0x228770={'unitId':_0x5c182a,'op':_0xeb7e48},_0x57b252={'unitId':_0x5c182a,'op':_0x25bf8d};return _0x67390e['syncExecuteCommand'](_0x36dd63['id'],_0x228770)?(_0x680568[_0x3b6c32(0x1c2)](_0x5c182a),_0x31c279[_0x3b6c32(0x189)]({'unitID':_0x5c182a,'undoMutations':[{'id':_0x36dd63['id'],'params':_0x57b252}],'redoMutations':[{'id':_0x36dd63['id'],'params':_0x228770}]}),!0x0):!0x1;}},_0xe8fa1f={'id':'base.command.set-base-view-field-width','type':_0x4d7b12[_0x17666d(0xac)]['COMMAND'],'handler':(_0x35e40e,_0x3f0ec9)=>{const _0x296b19=_0x17666d;if(!_0x3f0ec9)return!0x1;let _0x232d63=_0x35e40e['get'](_0x4d7b12[_0x296b19(0x322)]),{unitId:_0x5c4946,tableId:_0x16c37c,viewId:_0x3248c7,fieldId:_0x2228b2,width:_0x5b54b0}=_0x3f0ec9,_0x51eaca=_0x232d63['getUnit'](_0x5c4946,_0x4d7b12[_0x296b19(0xca)][_0x296b19(0x101)]);if(!_0x51eaca||!_0x5c30c8(_0x51eaca,_0x16c37c,{'viewIds':[_0x3248c7],'fieldIds':[_0x2228b2]}))return!0x1;let _0x577d6a=_0x51eaca[_0x296b19(0x2de)]()[_0x296b19(0x334)][_0x16c37c][_0x296b19(0x129)][_0x2228b2];if(_0x577d6a[_0x296b19(0x43a)]===!0x0||_0x577d6a[_0x296b19(0x466)]===_0x4d7b12[_0x296b19(0x419)][_0x296b19(0x266)])return!0x1;let _0x415d64=_0x35e40e[_0x296b19(0x9f)](_0x4d7b12[_0x296b19(0x32e)]),_0x2138a0=_0x35e40e[_0x296b19(0x9f)](_0x4d7b12['IUndoRedoService']),_0x9aefcd=_0x51eaca[_0x296b19(0x2de)](),_0xcdc566=new _0x7bf11a()['setViewFieldWidth'](_0x9aefcd,_0x16c37c,_0x3248c7,_0x2228b2,_0x5b54b0),_0x2b3022=new _0x51bfae()[_0x296b19(0x386)](_0x9aefcd,_0xcdc566),_0x4d323d={'unitId':_0x5c4946,'op':_0xcdc566},_0x544959={'unitId':_0x5c4946,'op':_0x2b3022};return _0x415d64[_0x296b19(0x3e2)](_0x36dd63['id'],_0x4d323d)?(_0x232d63[_0x296b19(0x1c2)](_0x5c4946),_0x2138a0[_0x296b19(0x189)]({'unitID':_0x5c4946,'undoMutations':[{'id':_0x36dd63['id'],'params':_0x544959}],'redoMutations':[{'id':_0x36dd63['id'],'params':_0x4d323d}]}),!0x0):!0x1;}},_0x2b3c19={'id':_0x17666d(0x16c),'type':_0x4d7b12['CommandType']['COMMAND'],'handler':(_0x1015fe,_0x4817ad)=>{const _0x5f58df=_0x17666d;if(!_0x4817ad)return!0x1;let _0x54c17e=_0x1015fe[_0x5f58df(0x9f)](_0x4d7b12[_0x5f58df(0x322)]),{unitId:_0x504e4d,tableId:_0x576c4f,viewId:_0x498ebc,filter:_0x3cc403}=_0x4817ad,_0x2c9ccb=_0x54c17e[_0x5f58df(0x27d)](_0x504e4d,_0x4d7b12[_0x5f58df(0xca)][_0x5f58df(0x101)]),_0x1d2316=(_0x3cc403==null?void 0x0:_0x3cc403['conditions'][_0x5f58df(0xd9)](_0x5499e7=>_0x5499e7[_0x5f58df(0x424)]))??[];if(!_0x2c9ccb||!_0x5c30c8(_0x2c9ccb,_0x576c4f,{'viewIds':[_0x498ebc],'fieldIds':_0x1d2316}))return!0x1;let _0x2b1171=_0x1015fe[_0x5f58df(0x9f)](_0x4d7b12[_0x5f58df(0x32e)]),_0x415b37=_0x1015fe['get'](_0x4d7b12[_0x5f58df(0x3b7)]),_0xa55ae1=_0x2c9ccb['getSnapshot'](),_0x38f656=new _0x7bf11a()[_0x5f58df(0x158)](_0xa55ae1,_0x576c4f,_0x498ebc,_0x3cc403),_0x341868=new _0x51bfae()[_0x5f58df(0x386)](_0xa55ae1,_0x38f656),_0x45f86e={'unitId':_0x504e4d,'op':_0x38f656},_0x5c70e3={'unitId':_0x504e4d,'op':_0x341868};return _0x2b1171[_0x5f58df(0x3e2)](_0x36dd63['id'],_0x45f86e)?(_0x54c17e[_0x5f58df(0x1c2)](_0x504e4d),_0x415b37[_0x5f58df(0x189)]({'unitID':_0x504e4d,'undoMutations':[{'id':_0x36dd63['id'],'params':_0x5c70e3}],'redoMutations':[{'id':_0x36dd63['id'],'params':_0x45f86e}]}),!0x0):!0x1;}},_0x1b69b9={'id':_0x17666d(0x302),'type':_0x4d7b12[_0x17666d(0xac)]['COMMAND'],'handler':(_0x4005f2,_0x27cd1b)=>{const _0x23e1ab=_0x17666d;if(!_0x27cd1b)return!0x1;let _0x2efc23=_0x4005f2[_0x23e1ab(0x9f)](_0x4d7b12[_0x23e1ab(0x322)]),{unitId:_0x3e2389,tableId:_0x390f76,viewId:_0x246828,group:_0x5a2719}=_0x27cd1b,_0x26b041=_0x2efc23[_0x23e1ab(0x27d)](_0x3e2389,_0x4d7b12[_0x23e1ab(0xca)][_0x23e1ab(0x101)]);if(!_0x26b041||!_0x5c30c8(_0x26b041,_0x390f76,{'viewIds':[_0x246828],'fieldIds':_0x5a2719[_0x23e1ab(0xd9)](_0xfe9a12=>_0xfe9a12[_0x23e1ab(0x424)])}))return!0x1;let _0xb9bb63=_0x4005f2['get'](_0x4d7b12[_0x23e1ab(0x32e)]),_0x5aca40=_0x4005f2['get'](_0x4d7b12[_0x23e1ab(0x3b7)]),_0x3f3d7b=_0x26b041[_0x23e1ab(0x2de)](),_0x253607=new _0x7bf11a()[_0x23e1ab(0x135)](_0x3f3d7b,_0x390f76,_0x246828,_0x5a2719),_0x401e35=new _0x51bfae()['invertOp'](_0x3f3d7b,_0x253607),_0x49a457={'unitId':_0x3e2389,'op':_0x253607},_0x29e3bb={'unitId':_0x3e2389,'op':_0x401e35};return _0xb9bb63['syncExecuteCommand'](_0x36dd63['id'],_0x49a457)?(_0x2efc23['focusUnit'](_0x3e2389),_0x5aca40[_0x23e1ab(0x189)]({'unitID':_0x3e2389,'undoMutations':[{'id':_0x36dd63['id'],'params':_0x29e3bb}],'redoMutations':[{'id':_0x36dd63['id'],'params':_0x49a457}]}),!0x0):!0x1;}},_0x4df541={'id':_0x17666d(0x3bf),'type':_0x4d7b12[_0x17666d(0xac)][_0x17666d(0x412)],'handler':(_0x68af3d,_0x15714c)=>{const _0xdab156=_0x17666d;if(!_0x15714c)return!0x1;let _0xe4d77d=_0x68af3d[_0xdab156(0x9f)](_0x4d7b12[_0xdab156(0x322)]),{unitId:_0x404d1d,tableId:_0x2e07a9,viewId:_0x3b5e41,sort:_0x17a058}=_0x15714c,_0x495d3d=_0xe4d77d['getUnit'](_0x404d1d,_0x4d7b12[_0xdab156(0xca)][_0xdab156(0x101)]);if(!_0x495d3d||!_0x5c30c8(_0x495d3d,_0x2e07a9,{'viewIds':[_0x3b5e41],'fieldIds':_0x17a058['map'](_0x312eb0=>_0x312eb0[_0xdab156(0x424)])}))return!0x1;let _0x3efb11=_0x68af3d[_0xdab156(0x9f)](_0x4d7b12[_0xdab156(0x32e)]),_0x34f8a0=_0x68af3d[_0xdab156(0x9f)](_0x4d7b12[_0xdab156(0x3b7)]),_0x146816=_0x495d3d[_0xdab156(0x2de)](),_0x14316a=new _0x7bf11a()[_0xdab156(0x3bd)](_0x146816,_0x2e07a9,_0x3b5e41,_0x17a058),_0xacd489=new _0x51bfae()[_0xdab156(0x386)](_0x146816,_0x14316a),_0x28b121={'unitId':_0x404d1d,'op':_0x14316a},_0x5eaf7e={'unitId':_0x404d1d,'op':_0xacd489};return _0x3efb11[_0xdab156(0x3e2)](_0x36dd63['id'],_0x28b121)?(_0xe4d77d[_0xdab156(0x1c2)](_0x404d1d),_0x34f8a0[_0xdab156(0x189)]({'unitID':_0x404d1d,'undoMutations':[{'id':_0x36dd63['id'],'params':_0x5eaf7e}],'redoMutations':[{'id':_0x36dd63['id'],'params':_0x28b121}]}),!0x0):!0x1;}},_0x8a17eb={'id':_0x17666d(0xcb),'type':_0x4d7b12[_0x17666d(0xac)][_0x17666d(0x412)],'handler'(_0x59e475,_0x2ff869){const _0x30bdee=_0x17666d;if(!_0x2ff869)return!0x1;let _0x5748e8=_0x59e475[_0x30bdee(0x9f)](_0x4d7b12['IUniverInstanceService']),{unitId:_0xc84ce9,tableId:_0xd5c286,recordId:_0x1172ac,fieldId:_0x17292e,value:_0x29e140}=_0x2ff869,_0x5e65fc=_0x5748e8[_0x30bdee(0x27d)](_0xc84ce9,_0x4d7b12[_0x30bdee(0xca)][_0x30bdee(0x101)]);if(!_0x5e65fc||!_0x5c30c8(_0x5e65fc,_0xd5c286,{'recordIds':[_0x1172ac],'fieldIds':[_0x17292e]})||!_0x5ba17e(_0x5e65fc,_0xd5c286,_0x17292e,_0x29e140))return!0x1;let _0x572d9c=_0x5e65fc[_0x30bdee(0x2de)]()[_0x30bdee(0x334)][_0xd5c286],_0x21f383=_0x216ae2(_0x572d9c,_0x17292e)&&_0x4619c5(_0x572d9c)['includes'](_0x17292e),_0x18ba75=_0x21f383?_0x19fe79(_0x572d9c,_0x17292e):null,_0x3d460e=(_0x18ba75==null?void 0x0:_0x18ba75['parentByRecordId']['get'](_0x1172ac))??null,_0x54ff1c=_0x21f383?_0x474d19(_0x29e140)[0x0]??null:null;if(_0x18ba75){if(_0x54ff1c&&!_0x572d9c['records'][_0x54ff1c])throw new _0x2f9e6c(_0x30bdee(0xd7));let _0x2b4614=_0x370f2f(_0x18ba75,_0x1172ac,_0x54ff1c);if(!_0x2b4614[_0x30bdee(0x1d5)])throw new _0x2f9e6c(_0x2b4614[_0x30bdee(0x44e)]===_0x4d7b12[_0x30bdee(0x44f)][_0x30bdee(0x19e)]?_0x30bdee(0x172):_0x2b4614['reason']===_0x4d7b12['BaseHierarchyInvalidReason'][_0x30bdee(0x355)]?_0x30bdee(0x465):_0x30bdee(0x473));}let _0x5c12b9=_0x59e475[_0x30bdee(0x9f)](_0x4d7b12['ICommandService']),_0x3b8739=_0x59e475[_0x30bdee(0x9f)](_0x4d7b12[_0x30bdee(0x3b7)]),_0x5aa1a3=_0x59e475[_0x30bdee(0x9f)](_0x401e28),_0x563ecb;try{_0x563ecb=_0x5aa1a3[_0x30bdee(0x45b)](_0x5e65fc,_0xd5c286,_0x1172ac,_0x17292e,_0x29e140);}catch(_0x112f67){return console[_0x30bdee(0x80)](_0x30bdee(0x223),_0x112f67),!0x1;}let _0x321996=new _0x51bfae()[_0x30bdee(0x386)](_0x5e65fc[_0x30bdee(0x2de)](),_0x563ecb),_0x4cd23a=_0x21f383&&_0x3d460e!==_0x54ff1c?[{'tableId':_0xd5c286,'fieldId':_0x17292e,'recordId':_0x1172ac,'oldParentRecordId':_0x3d460e,'parentRecordId':_0x54ff1c}]:void 0x0,_0x4104ac={'unitId':_0xc84ce9,'op':_0x563ecb,'trigger':_0x4cd23a?_0x8a17eb['id']:void 0x0,'hierarchyChanges':_0x4cd23a,'source':_0x4cd23a?_0x2ff869[_0x30bdee(0x3e3)]??'ui':void 0x0},_0x1522c2={..._0x4104ac,'source':_0x4cd23a?_0x30bdee(0x40a):void 0x0},_0x17cad6={'unitId':_0xc84ce9,'op':_0x321996,'trigger':_0x4cd23a?_0x8a17eb['id']:void 0x0,'hierarchyChanges':_0x4cd23a==null?void 0x0:_0x4cd23a[_0x30bdee(0xd9)](_0x1cd940=>({..._0x1cd940,'oldParentRecordId':_0x1cd940[_0x30bdee(0x380)],'parentRecordId':_0x1cd940['oldParentRecordId']})),'source':_0x4cd23a?_0x30bdee(0x230):void 0x0};return _0x5c12b9[_0x30bdee(0x3e2)](_0x36dd63['id'],_0x4104ac)?(_0x5748e8[_0x30bdee(0x1c2)](_0xc84ce9),_0x3b8739[_0x30bdee(0x189)]({'unitID':_0xc84ce9,'undoMutations':[{'id':_0x36dd63['id'],'params':_0x17cad6}],'redoMutations':[{'id':_0x36dd63['id'],'params':_0x1522c2}]}),!0x0):!0x1;}},_0x3c356d={'id':_0x17666d(0x207),'type':_0x4d7b12[_0x17666d(0xac)][_0x17666d(0x412)],'handler'(_0x324eae,_0x237f63){const _0x4eb9d0=_0x17666d;if(!_0x237f63)return!0x1;let _0x96815f=_0x324eae[_0x4eb9d0(0x9f)](_0x4d7b12[_0x4eb9d0(0x322)]),{unitId:_0x21a2c5,tableId:_0xf86bc0,fieldId:_0x47effa}=_0x237f63,_0x4d4126=_0x96815f[_0x4eb9d0(0x27d)](_0x21a2c5,_0x4d7b12[_0x4eb9d0(0xca)][_0x4eb9d0(0x101)]);if(!_0x4d4126||!_0x5c30c8(_0x4d4126,_0xf86bc0,{'fieldIds':[_0x47effa]}))return!0x1;let _0x2446ad=_0x324eae[_0x4eb9d0(0x9f)](_0x4d7b12[_0x4eb9d0(0x32e)]),_0x484ef2=_0x324eae[_0x4eb9d0(0x9f)](_0x4d7b12['IUndoRedoService']),_0x3d0c43=_0x4d4126['getSnapshot'](),_0x5a1391=_0x237f63['description']['trim'](),_0x4c72e8=new _0x7bf11a()[_0x4eb9d0(0x2bf)](_0x3d0c43,_0xf86bc0,_0x47effa,{'description':_0x5a1391}),_0x48c86c=new _0x51bfae()['invertOp'](_0x4d4126[_0x4eb9d0(0x2de)](),_0x4c72e8),_0x5efc60={'unitId':_0x21a2c5,'op':_0x4c72e8},_0x566b46={'unitId':_0x21a2c5,'op':_0x48c86c};return _0x2446ad['syncExecuteCommand'](_0x36dd63['id'],_0x5efc60)?(_0x96815f['focusUnit'](_0x21a2c5),_0x484ef2[_0x4eb9d0(0x189)]({'unitID':_0x21a2c5,'undoMutations':[{'id':_0x36dd63['id'],'params':_0x566b46}],'redoMutations':[{'id':_0x36dd63['id'],'params':_0x5efc60}]}),!0x0):!0x1;}},_0x1ffb91={'id':_0x17666d(0x1ac),'type':_0x4d7b12[_0x17666d(0xac)]['COMMAND'],'handler':(_0x479f95,_0x182227)=>{const _0x3cca6a=_0x17666d;if(!_0x182227)return!0x1;let _0x27a05a=_0x479f95[_0x3cca6a(0x9f)](_0x4d7b12['IUniverInstanceService']),{unitId:_0x6e5ae,tableId:_0xeeefa0,fieldId:_0x390002,patch:_0x3c29ba}=_0x182227,_0x4a3db1=_0x27a05a[_0x3cca6a(0x27d)](_0x6e5ae,_0x4d7b12[_0x3cca6a(0xca)][_0x3cca6a(0x101)]);if(!_0x4a3db1||_0x390002===_0x4d7b12[_0x3cca6a(0x36b)]||!_0x5c30c8(_0x4a3db1,_0xeeefa0,{'fieldIds':[_0x390002]}))return!0x1;let _0x39d0c1=_0x479f95[_0x3cca6a(0x9f)](_0x4d7b12[_0x3cca6a(0x32e)]),_0x1eb4ad=_0x479f95[_0x3cca6a(0x9f)](_0x4d7b12[_0x3cca6a(0x3b7)]),_0x2e13b2=_0x4a3db1[_0x3cca6a(0x2de)]();if(!_0x52914c(_0x4a3db1,_0xeeefa0,{..._0x2e13b2[_0x3cca6a(0x334)][_0xeeefa0][_0x3cca6a(0x129)][_0x390002],..._0x3c29ba}))return!0x1;let _0xd91821=new _0x7bf11a()[_0x3cca6a(0x2bf)](_0x2e13b2,_0xeeefa0,_0x390002,_0x3c29ba),_0x1ecc66=new _0x51bfae()[_0x3cca6a(0x386)](_0x2e13b2,_0xd91821),_0x5746f0={'unitId':_0x6e5ae,'op':_0xd91821},_0x271fa5={'unitId':_0x6e5ae,'op':_0x1ecc66};return _0x39d0c1[_0x3cca6a(0x3e2)](_0x36dd63['id'],_0x5746f0)?(_0x27a05a['focusUnit'](_0x6e5ae),_0x1eb4ad[_0x3cca6a(0x189)]({'unitID':_0x6e5ae,'undoMutations':[{'id':_0x36dd63['id'],'params':_0x271fa5}],'redoMutations':[{'id':_0x36dd63['id'],'params':_0x5746f0}]}),!0x0):!0x1;}},_0x8475ae={'id':'base.command.update-base-kanban-config','type':_0x4d7b12['CommandType'][_0x17666d(0x412)],'handler':(_0x114b5a,_0x282006)=>{const _0x4b7166=_0x17666d;if(!_0x282006)return!0x1;let _0x565d11=_0x114b5a['get'](_0x4d7b12[_0x4b7166(0x322)]),{unitId:_0xd27668,tableId:_0x898fe9,viewId:_0x4719af,patch:_0xe69fa7}=_0x282006,_0x1d9960=_0x565d11['getUnit'](_0xd27668,_0x4d7b12['UniverInstanceType'][_0x4b7166(0x101)]);if(!_0x1d9960||!_0x5c30c8(_0x1d9960,_0x898fe9,{'viewIds':[_0x4719af]}))return!0x1;let _0x22f041=_0x114b5a[_0x4b7166(0x9f)](_0x4d7b12[_0x4b7166(0x32e)]),_0x47152a=_0x114b5a[_0x4b7166(0x9f)](_0x4d7b12[_0x4b7166(0x3b7)]),_0x22157b=_0x1d9960['getSnapshot'](),_0x3a94a1=new _0x7bf11a()['updateViewConfig'](_0x22157b,_0x898fe9,_0x4719af,_0xe69fa7),_0xb3eaf6=new _0x51bfae()[_0x4b7166(0x386)](_0x22157b,_0x3a94a1),_0xd2a937={'unitId':_0xd27668,'op':_0x3a94a1},_0x13b4d3={'unitId':_0xd27668,'op':_0xb3eaf6};return _0x22f041[_0x4b7166(0x3e2)](_0x36dd63['id'],_0xd2a937)?(_0x565d11['focusUnit'](_0xd27668),_0x47152a[_0x4b7166(0x189)]({'unitID':_0xd27668,'undoMutations':[{'id':_0x36dd63['id'],'params':_0x13b4d3}],'redoMutations':[{'id':_0x36dd63['id'],'params':_0xd2a937}]}),!0x0):!0x1;}},_0x4cc408={'id':_0x17666d(0x143),'type':_0x4d7b12[_0x17666d(0xac)][_0x17666d(0x412)],'handler':(_0x25cee2,_0x21f49a)=>{const _0xc7c9b0=_0x17666d;if(!_0x21f49a)return!0x1;let _0xd2d231=_0x25cee2['get'](_0x4d7b12[_0xc7c9b0(0x322)]),{unitId:_0x4f03ef,tableId:_0x59e74a,recordId:_0x2a19d1,orderKey:_0x1b2b20}=_0x21f49a,_0x5e9d84=_0xd2d231[_0xc7c9b0(0x27d)](_0x4f03ef,_0x4d7b12[_0xc7c9b0(0xca)][_0xc7c9b0(0x101)]);if(!_0x5e9d84||!_0x5c30c8(_0x5e9d84,_0x59e74a,{'recordIds':[_0x2a19d1]}))return!0x1;let _0x3f331f=_0x25cee2['get'](_0x4d7b12[_0xc7c9b0(0x32e)]),_0x10c258=_0x25cee2[_0xc7c9b0(0x9f)](_0x4d7b12[_0xc7c9b0(0x3b7)]),_0x17ecf2=_0x5e9d84['getSnapshot'](),_0xb5420a=new _0x7bf11a()[_0xc7c9b0(0x1bc)](_0x17ecf2,_0x59e74a,_0x2a19d1,_0x1b2b20),_0x465938=new _0x51bfae()[_0xc7c9b0(0x386)](_0x17ecf2,_0xb5420a),_0x35579b={'unitId':_0x4f03ef,'op':_0xb5420a},_0x1ae6bf={'unitId':_0x4f03ef,'op':_0x465938};return _0x3f331f[_0xc7c9b0(0x3e2)](_0x36dd63['id'],_0x35579b)?(_0xd2d231[_0xc7c9b0(0x1c2)](_0x4f03ef),_0x10c258[_0xc7c9b0(0x189)]({'unitID':_0x4f03ef,'undoMutations':[{'id':_0x36dd63['id'],'params':_0x1ae6bf}],'redoMutations':[{'id':_0x36dd63['id'],'params':_0x35579b}]}),!0x0):!0x1;}},_0x55eef0=function(_0xb1afc1){const _0x2d9c7a=_0x17666d;return _0xb1afc1['Set']='set',_0xb1afc1[_0x2d9c7a(0x2d2)]=_0x2d9c7a(0x3a1),_0xb1afc1[_0x2d9c7a(0x9d)]=_0x2d9c7a(0x205),_0xb1afc1[_0x2d9c7a(0x413)]=_0x2d9c7a(0x379),_0xb1afc1;}({}),_0x1e5bc4={'id':_0x17666d(0x137),'type':_0x4d7b12[_0x17666d(0xac)][_0x17666d(0x412)],'handler':(_0x5d0352,_0x35b41c)=>{const _0x133c75=_0x17666d;var _0x3056f0;if(!_0x35b41c)return!0x1;let _0x2efdd2=_0x5d0352[_0x133c75(0x9f)](_0x4d7b12[_0x133c75(0x322)]),_0x26d10f=_0x2efdd2['getUnit'](_0x35b41c[_0x133c75(0x44c)],_0x4d7b12[_0x133c75(0xca)][_0x133c75(0x101)]);if(!_0x26d10f||!_0x5c30c8(_0x26d10f,_0x35b41c['tableId'],{'viewIds':[_0x35b41c[_0x133c75(0x24f)]]}))return!0x1;let _0x983c8e=_0x26d10f[_0x133c75(0x2de)](),_0x3a0518=_0x983c8e[_0x133c75(0x334)][_0x35b41c[_0x133c75(0x10c)]],_0x1ac3e0=_0x54b452(((_0x3056f0=_0x3a0518[_0x133c75(0x420)][_0x35b41c[_0x133c75(0x24f)]][_0x133c75(0x39d)][_0x133c75(0x375)])==null?void 0x0:_0x3056f0[_0x133c75(0x1f9)])??[],_0x35b41c);if(!_0x1ac3e0)return!0x1;_0x2bd8bc(_0x3a0518,_0x1ac3e0);let _0x3301b2=new _0x7bf11a()[_0x133c75(0x459)](_0x983c8e,_0x35b41c['tableId'],_0x35b41c[_0x133c75(0x24f)],{'conditionalColoring':_0x1ac3e0['length']?{'rules':_0x1ac3e0}:null}),_0x399115=new _0x51bfae()[_0x133c75(0x386)](_0x983c8e,_0x3301b2),_0x1779eb={'unitId':_0x35b41c['unitId'],'op':_0x3301b2},_0x574444={'unitId':_0x35b41c['unitId'],'op':_0x399115};return _0x5d0352[_0x133c75(0x9f)](_0x4d7b12[_0x133c75(0x32e)])[_0x133c75(0x3e2)](_0x36dd63['id'],_0x1779eb)?(_0x2efdd2[_0x133c75(0x1c2)](_0x35b41c[_0x133c75(0x44c)]),_0x5d0352[_0x133c75(0x9f)](_0x4d7b12[_0x133c75(0x3b7)])[_0x133c75(0x189)]({'unitID':_0x35b41c[_0x133c75(0x44c)],'undoMutations':[{'id':_0x36dd63['id'],'params':_0x574444}],'redoMutations':[{'id':_0x36dd63['id'],'params':_0x1779eb}]}),!0x0):!0x1;}};function _0x54b452(_0x264e3a,_0x2ac5ba){const _0x37ee43=_0x17666d;switch(_0x2ac5ba['type']){case'set':return _0x4d7b12[_0x37ee43(0x1ea)][_0x37ee43(0xee)](_0x2ac5ba[_0x37ee43(0x1f9)]);case _0x37ee43(0x3a1):return[..._0x4d7b12['Tools'][_0x37ee43(0xee)](_0x264e3a),_0x4d7b12[_0x37ee43(0x1ea)][_0x37ee43(0xee)](_0x2ac5ba[_0x37ee43(0x29a)])];case'delete':{let _0xd8be4b=_0x264e3a[_0x37ee43(0x425)](_0x479ead=>_0x479ead['id']!==_0x2ac5ba[_0x37ee43(0x197)]);return _0xd8be4b['length']===_0x264e3a['length']?null:_0x4d7b12['Tools'][_0x37ee43(0xee)](_0xd8be4b);}case _0x37ee43(0x379):return _0x264e3a['length']?[]:null;}}function _0x2bd8bc(_0x159b7b,_0xd74481){const _0x4851aa=_0x17666d;if(!Array[_0x4851aa(0x46e)](_0xd74481))throw TypeError('[UpdateBaseViewConditionalColorRulesCommand]:\x20rules\x20must\x20be\x20an\x20array.');let _0x5a5631=new Set();for(let [_0x4b559b,_0x143b9b]of _0xd74481[_0x4851aa(0x45d)]())_0x19e007(_0x159b7b,_0x143b9b,_0x43b9d5(_0x143b9b,_0x4b559b,_0x5a5631));}function _0x43b9d5(_0x3a31c9,_0x594642,_0x435328){const _0x37427a=_0x17666d;if(!_0x3a31c9||typeof _0x3a31c9!=_0x37427a(0x297))throw TypeError(_0x37427a(0x35c)+_0x594642+_0x37427a(0x188));let _0xedb579=typeof _0x3a31c9['id']=='string'&&_0x3a31c9['id'][_0x37427a(0x11d)]()?'\x22'+_0x3a31c9['id']+'\x22':'at\x20index\x20'+_0x594642;if(typeof _0x3a31c9['id']!=_0x37427a(0x3af)||!_0x3a31c9['id'][_0x37427a(0x11d)]())throw Error(_0x37427a(0xe1)+_0xedb579+_0x37427a(0x1b0));if(_0x435328[_0x37427a(0x1eb)](_0x3a31c9['id']))throw Error(_0x37427a(0x426)+_0x3a31c9['id']+'\x22.');_0x435328['add'](_0x3a31c9['id']);let _0x2b6ae8=typeof _0x3a31c9[_0x37427a(0x1ee)]==_0x37427a(0x3af)&&_0x3a31c9[_0x37427a(0x1ee)][_0x37427a(0x11d)]()?new _0x4d7b12[(_0x37427a(0xbe))](_0x3a31c9['color']):null;if(!(_0x2b6ae8!=null&&_0x2b6ae8[_0x37427a(0x407)]))throw Error(_0x37427a(0xe1)+_0xedb579+_0x37427a(0x286));return _0xedb579;}function _0x19e007(_0x4789bb,_0x4b4b8a,_0x4f2ed9){const _0x3a7d26=_0x17666d;let _0x4edd64=new Set(Object[_0x3a7d26(0x3b2)](_0x4d7b12[_0x3a7d26(0x1c9)])),_0x5a81c3=new Set(Object[_0x3a7d26(0x3b2)](_0x4d7b12[_0x3a7d26(0x377)])),_0x876e9e=new Set(Object['values'](_0x4d7b12[_0x3a7d26(0x371)]));if(!_0x4edd64[_0x3a7d26(0x1eb)](_0x4b4b8a['target']))throw Error('[UpdateBaseViewConditionalColorRulesCommand]:\x20rule\x20'+_0x4f2ed9+_0x3a7d26(0x1a1)+String(_0x4b4b8a[_0x3a7d26(0x321)])+'\x22.');let _0xe2b3bf=typeof _0x4b4b8a[_0x3a7d26(0x424)]=='string'?_0x4789bb['fields'][_0x4b4b8a[_0x3a7d26(0x424)]]:void 0x0;if(!_0xe2b3bf||_0xe2b3bf[_0x3a7d26(0x43a)]===!0x0||_0xe2b3bf[_0x3a7d26(0x466)]===_0x4d7b12[_0x3a7d26(0x419)][_0x3a7d26(0x266)])throw Error(_0x3a7d26(0xe1)+_0x4f2ed9+_0x3a7d26(0x44d)+String(_0x4b4b8a['fieldId'])+'\x22.');if(!_0x5a81c3[_0x3a7d26(0x1eb)](_0x4b4b8a[_0x3a7d26(0x372)]))throw Error(_0x3a7d26(0xe1)+_0x4f2ed9+_0x3a7d26(0x3f1)+String(_0x4b4b8a['operator'])+'\x22.');if(_0x4b4b8a[_0x3a7d26(0x202)]!==void 0x0&&!_0x876e9e['has'](_0x4b4b8a[_0x3a7d26(0x202)]))throw Error('[UpdateBaseViewConditionalColorRulesCommand]:\x20rule\x20'+_0x4f2ed9+'\x20has\x20unsupported\x20date\x20mode\x20\x22'+String(_0x4b4b8a['dateMode'])+'\x22.');if(_0x4b4b8a[_0x3a7d26(0x321)]===_0x4d7b12[_0x3a7d26(0x1c9)][_0x3a7d26(0x2d5)])return;let _0x4b2904=_0x74742f(_0xe2b3bf['type']);if(!_0x4b2904[_0x3a7d26(0x3ff)](_0x4b4b8a['operator']))throw Error(_0x3a7d26(0xe1)+_0x4f2ed9+'\x20cannot\x20use\x20operator\x20\x22'+_0x4b4b8a[_0x3a7d26(0x372)]+'\x22\x20with\x20field\x20type\x20\x22'+_0xe2b3bf[_0x3a7d26(0x466)]+_0x3a7d26(0x2b4)+_0x4b2904[_0x3a7d26(0x1ef)](',\x20')+'.');if(_0x4b4b8a[_0x3a7d26(0x202)]!==void 0x0&&!_0x351a01(_0xe2b3bf['type']))throw Error(_0x3a7d26(0xe1)+_0x4f2ed9+_0x3a7d26(0x32b));}let _0x1f183c={'id':_0x17666d(0x1d9),'type':_0x4d7b12[_0x17666d(0xac)][_0x17666d(0x412)],'handler':(_0x581022,_0x4b8959)=>{const _0x5206d7=_0x17666d;if(!_0x4b8959)return!0x1;let _0x1c6a3b=_0x581022['get'](_0x4d7b12[_0x5206d7(0x322)]),{unitId:_0x2267f1,tableId:_0x211521,viewId:_0x22bfcc,patch:_0x286621}=_0x4b8959,_0x11570f=_0x1c6a3b['getUnit'](_0x2267f1,_0x4d7b12['UniverInstanceType']['UNIVER_BASE']);if(!_0x11570f||!_0x5c30c8(_0x11570f,_0x211521,{'viewIds':[_0x22bfcc]}))return!0x1;let _0x57a9dd=_0x581022[_0x5206d7(0x9f)](_0x4d7b12[_0x5206d7(0x32e)]),_0xb442c4=_0x581022[_0x5206d7(0x9f)](_0x4d7b12['IUndoRedoService']),_0x1d8e0c=_0x11570f[_0x5206d7(0x2de)](),_0x20124c=new _0x7bf11a()[_0x5206d7(0x459)](_0x1d8e0c,_0x211521,_0x22bfcc,_0x286621),_0x2b5e86=new _0x51bfae()['invertOp'](_0x1d8e0c,_0x20124c),_0x447e85={'unitId':_0x2267f1,'op':_0x20124c},_0x304969={'unitId':_0x2267f1,'op':_0x2b5e86};return _0x57a9dd['syncExecuteCommand'](_0x36dd63['id'],_0x447e85)?(_0x1c6a3b[_0x5206d7(0x1c2)](_0x2267f1),_0xb442c4['pushUndoRedo']({'unitID':_0x2267f1,'undoMutations':[{'id':_0x36dd63['id'],'params':_0x304969}],'redoMutations':[{'id':_0x36dd63['id'],'params':_0x447e85}]}),!0x0):!0x1;}},_0x306611={'id':_0x17666d(0x17e),'type':_0x4d7b12[_0x17666d(0xac)]['COMMAND'],'handler'(_0x51eb5a,_0x16d974){const _0x1a742c=_0x17666d;if(!_0x16d974)return{'valid':!0x1,'reason':_0x1a742c(0x2f6)};let _0x1d73b2=_0x51eb5a['get'](_0x4d7b12[_0x1a742c(0x322)])[_0x1a742c(0x27d)](_0x16d974[_0x1a742c(0x44c)],_0x4d7b12['UniverInstanceType'][_0x1a742c(0x101)]),_0x55881f=_0x1d73b2==null?void 0x0:_0x1d73b2[_0x1a742c(0x2de)](),_0x527d85=_0x55881f==null?void 0x0:_0x55881f[_0x1a742c(0x334)][_0x16d974[_0x1a742c(0x10c)]];return!_0x55881f||!_0x527d85?{'valid':!0x1,'reason':'[BaseFormula]:\x20table\x20does\x20not\x20exist.'}:new _0x199153()[_0x1a742c(0x35b)](_0x16d974[_0x1a742c(0x91)],_0x527d85,{'snapshot':_0x55881f});}};function _0x40dc6c(_0x12202d){const _0xeaaf7a=_0x17666d;let _0x1b540b=_0x12202d[_0xeaaf7a(0x19c)]??Date['now'](),_0x33f513=_0x12202d[_0xeaaf7a(0x455)]??_0x12202d['id']+_0xeaaf7a(0x2db),_0x31f35f=_0x12202d[_0xeaaf7a(0x2ed)]??_0x12202d['id']+_0xeaaf7a(0x2f5),_0x25cf9b=_0x12202d[_0xeaaf7a(0x277)]??0x0,_0x4acc2b=(0x0,_0x4d7b12[_0xeaaf7a(0x368)])(),_0x5244d3={'id':_0x33f513,'name':_0x12202d['primaryFieldName']??_0xeaaf7a(0x2ec),'type':_0x4d7b12[_0xeaaf7a(0x419)]['Text'],'config':{'placeholder':_0xeaaf7a(0x288)}},_0x3746c1={},_0x2435e0=[],_0x10ef9a={},_0x529a4c={},_0x4f0ef6={};for(let _0x949386=0x0;_0x949386<_0x25cf9b;_0x949386++){let _0x2b5feb=_0x12202d['id']+_0xeaaf7a(0x127)+(_0x949386+0x1);_0x3746c1[_0x2b5feb]={'id':_0x2b5feb,'values':{[_0x4d7b12[_0xeaaf7a(0x36b)]]:_0x2b5feb,..._0x12202d[_0xeaaf7a(0x3ea)]?{[_0x33f513]:_0x12202d[_0xeaaf7a(0x3ea)]+'\x20'+(_0x949386+0x1)}:{}},'orderKey':String(_0x949386+0x1)[_0xeaaf7a(0x2d6)](0x4,'0'),'createdAt':_0x1b540b,'updatedAt':_0x1b540b},_0x2435e0['push'](_0x2b5feb),_0x10ef9a[_0x2b5feb]=_0x949386,_0x529a4c[_0x949386]=_0x2b5feb,_0x4f0ef6[_0x949386]={0x0:{'v':_0x2b5feb,'t':_0x4d7b12[_0xeaaf7a(0x2f2)][_0xeaaf7a(0x26d)]}},_0x12202d[_0xeaaf7a(0x3ea)]&&(_0x4f0ef6[_0x949386][0x1]={'v':_0x12202d['recordNamePrefix']+'\x20'+(_0x949386+0x1),'t':_0x4d7b12[_0xeaaf7a(0x2f2)]['STRING']});}let _0x396f60={'id':_0x31f35f,'tableId':_0x12202d['id'],'name':_0xeaaf7a(0x36e),'type':_0x4d7b12[_0xeaaf7a(0xd3)][_0xeaaf7a(0x36e)],'fieldOrder':[_0x4d7b12['BASE_RECORD_ID_FIELD_ID'],_0x33f513],'fieldSettings':{[_0x4d7b12[_0xeaaf7a(0x36b)]]:{'hidden':!0x0}},'config':{'frozenFieldCount':0x1}};return{'id':_0x12202d['id'],'name':_0x12202d[_0xeaaf7a(0x208)],'primaryFieldId':_0x33f513,'fieldOrder':[_0x4d7b12[_0xeaaf7a(0x36b)],_0x33f513],'fields':{[_0x4d7b12[_0xeaaf7a(0x36b)]]:_0x4acc2b,[_0x33f513]:_0x5244d3},'records':_0x3746c1,'recordOrder':_0x2435e0,'rowIndex':_0x10ef9a,'rowId':_0x529a4c,'colIndex':{[_0x4d7b12[_0xeaaf7a(0x36b)]]:0x0,[_0x33f513]:0x1},'colId':{0x0:_0x4d7b12[_0xeaaf7a(0x36b)],0x1:_0x33f513},'cellData':_0x4f0ef6,'views':{[_0x31f35f]:_0x396f60},'viewOrder':[_0x31f35f]};}let _0x43821e=_0x17666d(0x3d3);function _0x143180(_0x2b7627){const _0x121bf8=_0x17666d;let _0x5c45fc=_0x40dc6c({'id':_0x2b7627[_0x121bf8(0x30c)],'name':_0x2b7627[_0x121bf8(0x208)]??_0x2b7627['embedId'],'recordCount':0x0});return{..._0x5c45fc,'resources':{..._0x5c45fc[_0x121bf8(0x171)]??{},[_0x43821e]:_0x5cea59(_0x2b7627)}};}function _0x2343f0(_0x21461a){const _0x5c3546=_0x17666d;return{'id':_0x36dd63['id'],'params':{'unitId':_0x21461a[_0x5c3546(0x44c)],'op':new _0x7bf11a()['createTable'](_0x21461a[_0x5c3546(0x2e9)],_0x21461a[_0x5c3546(0x39f)],_0x21461a['index']),'trigger':_0x5c3546(0x1de)}};}function _0x5aa3be(_0x20f74b){const _0x2083e7=_0x17666d;let _0xc8332c=_0x20f74b[_0x2083e7(0x2e9)][_0x2083e7(0x10e)]['indexOf'](_0x20f74b[_0x2083e7(0x10c)]);if(!(!_0x20f74b[_0x2083e7(0x2e9)]['tables'][_0x20f74b[_0x2083e7(0x10c)]]||_0xc8332c<0x0))return{'id':_0x36dd63['id'],'params':{'unitId':_0x20f74b[_0x2083e7(0x44c)],'op':new _0x7bf11a()[_0x2083e7(0x29c)](_0x20f74b[_0x2083e7(0x2e9)],_0x20f74b[_0x2083e7(0x10c)]),'trigger':_0x2083e7(0x1de)}};}function _0x5cea59(_0x79f933){const _0x2e85aa=_0x17666d;return{'version':0x1,'embedId':_0x79f933[_0x2e85aa(0x24c)],'hostAnchorId':_0x79f933['hostAnchorId'],'childUnitId':_0x79f933['childUnitId'],'childType':_0x79f933[_0x2e85aa(0x402)]};}function _0x16d031(_0x4506c7){const _0x5bfa18=_0x17666d;let _0x4eda60=Math[_0x5bfa18(0x3e8)](0x0,Number(_0x4506c7[_0x5bfa18(0x39b)]??0x0)),_0x7419e1=_0x4506c7[_0x5bfa18(0xe8)]===!0x1?'0':_0x5bfa18(0x320),_0x59923b=_0x4eda60?'.'+'0'[_0x5bfa18(0xef)](_0x4eda60):'',_0xa34b40=_0x1d7866(_0x4506c7[_0x5bfa18(0x11a)]);return''+(_0x4506c7['currencySymbol']?_0x117e96(_0x4506c7['currencySymbol']):'')+_0x7419e1+_0x59923b+_0xa34b40;}function _0x3e1d38(_0x2327c8,_0xdd926c){const _0x1399b5=_0x17666d;let _0x1e61f2=_0x16d031(_0xdd926c),_0x304a19=_0x4d7b12[_0x1399b5(0x2a2)][_0x1399b5(0x3e1)](_0x1e61f2,_0x2327c8,{'throws':!0x1});return _0x3424d3(String(_0x304a19),_0xdd926c['separatorStyle'],_0xdd926c[_0x1399b5(0x444)]);}function _0x1d7866(_0x257370){const _0x1984b0=_0x17666d;return _0x257370==='K'?_0x1984b0(0x1fa):_0x257370==='M'?_0x1984b0(0xc0):_0x257370==='B'?_0x1984b0(0x182):'';}function _0x117e96(_0x34b049){const _0x5bd17d=_0x17666d;return/^[A-Z]+$/i[_0x5bd17d(0x445)](_0x34b049)?'\x22'+_0x34b049+'\x22':_0x34b049;}function _0x3424d3(_0xa97e3f,_0x21656e,_0x5774f3){const _0x52eb5d=_0x17666d;let _0x15229d=_0x21656e==='local'?_0x9060cc(_0x5774f3):_0x21656e;return _0x15229d==='periodComma'?_0xa97e3f[_0x52eb5d(0x1a9)](/,/g,'\x00')[_0x52eb5d(0x1a9)](/\./g,',')['replace'](/\0/g,'.'):_0x15229d===_0x52eb5d(0x239)?_0xa97e3f[_0x52eb5d(0x1a9)](/,/g,'\x20')[_0x52eb5d(0x1a9)](/\./g,','):_0x15229d===_0x52eb5d(0xf0)?_0xa97e3f[_0x52eb5d(0x1a9)](/,/g,'\x20'):_0xa97e3f;}function _0x9060cc(_0x2006f7){const _0x34dcc8=_0x17666d;var _0x582a2b,_0x412c9f;let _0x18abaa=_0x2006f7||new Intl[(_0x34dcc8(0x142))]()[_0x34dcc8(0x247)]()[_0x34dcc8(0x444)],_0x4271f8;try{_0x4271f8=new Intl[(_0x34dcc8(0x142))](_0x18abaa,{'minimumFractionDigits':0x2,'maximumFractionDigits':0x2,'useGrouping':!0x0})[_0x34dcc8(0x180)](0xf4240);}catch{return _0x34dcc8(0x179);}let _0x423fb9=(_0x582a2b=_0x4271f8[_0x34dcc8(0x3b6)](_0x55d723=>_0x55d723[_0x34dcc8(0x466)]==='group'))==null?void 0x0:_0x582a2b[_0x34dcc8(0x12e)],_0x46160a=(_0x412c9f=_0x4271f8[_0x34dcc8(0x3b6)](_0x53610f=>_0x53610f['type']===_0x34dcc8(0x2c9)))==null?void 0x0:_0x412c9f[_0x34dcc8(0x12e)],_0x4d9d31=_0x423fb9==='\u00a0'||_0x423fb9==='\u202f'?'\x20':_0x423fb9;return _0x4d9d31==='.'&&_0x46160a===','?'periodComma':_0x4d9d31==='\x20'&&_0x46160a===','?_0x34dcc8(0x239):_0x4d9d31==='\x20'&&_0x46160a==='.'?_0x34dcc8(0xf0):_0x34dcc8(0x179);}function _0x125962(_0x140994,_0x4ea218){const _0x113e6d=_0x17666d;let _0x26aace=_0x4ea218&&typeof _0x4ea218=='object'&&!Array[_0x113e6d(0x46e)](_0x4ea218)?_0x4ea218:{},_0x209fdf=_0x115fb6(_0x26aace['decimalPlaces'],0x0,0x2,0x0),_0x3fcfe9=_0x140994[_0x113e6d(0x1a4)](_0x209fdf);return _0x26aace['format']===_0x113e6d(0x2c1)?_0x3fcfe9:_0x3fcfe9+'%';}function _0x115fb6(_0x402433,_0x1d60a2,_0x16195,_0x131a52){const _0x10abfd=_0x17666d;if(_0x402433==null||_0x402433==='')return _0x131a52;let _0x10d402=typeof _0x402433==_0x10abfd(0x2c1)?_0x402433:Number(_0x402433);return Number[_0x10abfd(0x1c5)](_0x10d402)?Math[_0x10abfd(0x3e8)](_0x1d60a2,Math[_0x10abfd(0x3d6)](_0x16195,Math[_0x10abfd(0x2e3)](_0x10d402))):_0x131a52;}let _0x5c1b52=[_0x17666d(0x46a),_0x17666d(0x31f),_0x17666d(0x438),'unique',_0x17666d(0x325),'average',_0x17666d(0x3d6),_0x17666d(0x3e8)],_0x3b3825=[_0x17666d(0x46a),_0x17666d(0x31f),_0x17666d(0x438),'unique'],_0xc3f590=[_0x17666d(0x325),'average','min',_0x17666d(0x3e8)],_0x2e0cf3=[_0x17666d(0x3d6),_0x17666d(0x3e8)],_0x172f68=new Set([_0x4d7b12[_0x17666d(0x419)][_0x17666d(0x34f)],_0x4d7b12['BaseFieldType'][_0x17666d(0x1fe)],_0x4d7b12[_0x17666d(0x419)][_0x17666d(0x1d8)],_0x4d7b12[_0x17666d(0x419)][_0x17666d(0x3df)]]),_0x3336cb=new Set([_0x4d7b12['BaseFieldType'][_0x17666d(0x1a7)],_0x4d7b12[_0x17666d(0x419)][_0x17666d(0x92)],_0x4d7b12[_0x17666d(0x419)][_0x17666d(0x41c)]]),_0x3c6592='General';function _0x310b1a(_0x5f4434){const _0x4a26b3=_0x17666d;return typeof _0x5f4434==_0x4a26b3(0x3af)&&_0x5c1b52[_0x4a26b3(0x3ff)](_0x5f4434);}function _0x4a41fb(_0x5e3c43){const _0x247834=_0x17666d;return!_0x5e3c43||typeof _0x5e3c43!=_0x247834(0x297)?{}:Object['fromEntries'](Object[_0x247834(0x45d)](_0x5e3c43)[_0x247834(0x425)](_0x229df1=>_0x310b1a(_0x229df1[0x1])));}function _0x28a1e6(_0x1cde74){const _0x4a32c2=_0x17666d;return _0x172f68[_0x4a32c2(0x1eb)](_0x1cde74['type'])?[..._0x3b3825,..._0xc3f590]:_0x1cde74['type']===_0x4d7b12[_0x4a32c2(0x419)][_0x4a32c2(0x21c)]?[..._0x3b3825,..._0x5e6984(_0x1cde74)===_0x4a32c2(0x140)?_0x2e0cf3:_0xc3f590]:_0x3b3825;}function _0x2c6562(_0x3a60dd,_0x383b52){const _0x373ef5=_0x17666d;return _0x28a1e6(_0x3a60dd)[_0x373ef5(0x3ff)](_0x383b52);}function _0x594382(_0x34a8a3,_0xb1fbeb,_0x5527ae){const _0x597d6d=_0x17666d;if(!_0x2c6562(_0x34a8a3,_0x5527ae))return null;let _0x57349d=_0xb1fbeb['filter'](_0x476fec=>!_0x22c0e7(_0x34a8a3,_0x476fec));switch(_0x5527ae){case'count':return _0xb1fbeb[_0x597d6d(0x278)];case _0x597d6d(0x31f):return _0x57349d[_0x597d6d(0x278)];case _0x597d6d(0x438):return _0xb1fbeb['length']-_0x57349d['length'];case _0x597d6d(0x315):return new Set(_0x57349d[_0x597d6d(0xd9)](_0x1bfd07=>_0xa30bb1(_0x34a8a3,_0x1bfd07)))[_0x597d6d(0x220)];case _0x597d6d(0x325):{let _0x13ac8f=_0x1549cb(_0x34a8a3,_0x57349d);return _0x13ac8f['length']?_0x19d090(_0x13ac8f):null;}case _0x597d6d(0x467):{let _0xde689a=_0x1549cb(_0x34a8a3,_0x57349d);return _0xde689a[_0x597d6d(0x278)]?_0x19d090(_0xde689a)/_0xde689a[_0x597d6d(0x278)]:null;}case _0x597d6d(0x3d6):{let _0x44aea8=_0x1549cb(_0x34a8a3,_0x57349d);return _0x44aea8[_0x597d6d(0x278)]?Math[_0x597d6d(0x3d6)](..._0x44aea8):null;}case'max':{let _0x96aa58=_0x1549cb(_0x34a8a3,_0x57349d);return _0x96aa58[_0x597d6d(0x278)]?Math['max'](..._0x96aa58):null;}}}function _0x3b904c(_0x70e7f8,_0x5cf1fb,_0x370bc9){const _0x203c36=_0x17666d;if(_0x370bc9==null||!Number[_0x203c36(0x1c5)](_0x370bc9))return'-';if(_0x3b3825['includes'](_0x5cf1fb))return String(_0x370bc9);switch(_0x70e7f8[_0x203c36(0x466)]){case _0x4d7b12[_0x203c36(0x419)][_0x203c36(0x34f)]:return _0x3e1d38(_0x370bc9,_0x107e89(_0x70e7f8));case _0x4d7b12[_0x203c36(0x419)][_0x203c36(0x1fe)]:return _0x3e1d38(_0x370bc9,_0xfc3e44(_0x70e7f8));case _0x4d7b12[_0x203c36(0x419)][_0x203c36(0x1d8)]:return _0x125962(_0x370bc9,_0x70e7f8[_0x203c36(0x39d)]);case _0x4d7b12[_0x203c36(0x419)]['Formula']:return _0x841ec2(_0x370bc9,_0x70e7f8);default:return _0x2f8bf7(_0x370bc9);}}function _0x22c0e7(_0x4c6a12,_0xeadb00){const _0x26e585=_0x17666d;if(_0xeadb00==null)return!0x0;if(typeof _0xeadb00==_0x26e585(0x3af))return _0xeadb00[_0x26e585(0x11d)]()==='';if(Array[_0x26e585(0x46e)](_0xeadb00))return _0x4c6a12[_0x26e585(0x466)]===_0x4d7b12[_0x26e585(0x419)][_0x26e585(0x312)]?!_0xeadb00[_0x26e585(0x256)](_0x50b396):_0xeadb00[_0x26e585(0x278)]===0x0;if(_0x4c6a12[_0x26e585(0x466)]===_0x4d7b12[_0x26e585(0x419)]['Link']&&typeof _0xeadb00==_0x26e585(0x297)){let _0x3457ed=_0xeadb00;return[_0x3457ed[_0x26e585(0x146)],_0x3457ed[_0x26e585(0x3ae)]][_0x26e585(0x178)](_0x3de092=>_0x3de092==null||String(_0x3de092)['trim']()==='');}return!0x1;}function _0x1549cb(_0x29e2fa,_0x53a6f5){const _0x5e0824=_0x17666d;let _0x124c45=[];for(let _0x4075fc of _0x53a6f5){let _0x47ce58=_0x487140(_0x29e2fa,_0x4075fc);_0x47ce58!=null&&_0x124c45[_0x5e0824(0x112)](_0x47ce58);}return _0x124c45;}function _0x487140(_0x48e2c7,_0x4a34e7){const _0xa2b21d=_0x17666d;if(typeof _0x4a34e7==_0xa2b21d(0x2c1))return Number[_0xa2b21d(0x1c5)](_0x4a34e7)?_0x4a34e7:null;if(_0x48e2c7[_0xa2b21d(0x466)]!==_0x4d7b12[_0xa2b21d(0x419)][_0xa2b21d(0x21c)]&&typeof _0x4a34e7==_0xa2b21d(0x3af)&&_0x4a34e7[_0xa2b21d(0x11d)]()!==''){let _0x3ab8e3=Number(_0x4a34e7);return Number[_0xa2b21d(0x1c5)](_0x3ab8e3)?_0x3ab8e3:null;}return null;}function _0x19d090(_0x448479){const _0x16c17a=_0x17666d;let _0x2c5209=0x0,_0x3974b8=0x0;for(let _0x58353c of _0x448479){let _0x27e859=_0x2c5209+_0x58353c;_0x3974b8+=Math[_0x16c17a(0x249)](_0x2c5209)>=Math[_0x16c17a(0x249)](_0x58353c)?_0x2c5209-_0x27e859+_0x58353c:_0x58353c-_0x27e859+_0x2c5209,_0x2c5209=_0x27e859;}return _0x2c5209+_0x3974b8;}function _0xa30bb1(_0xbfde74,_0x1e38ee){const _0x339a9e=_0x17666d;return _0x3336cb['has'](_0xbfde74[_0x339a9e(0x466)])&&Array[_0x339a9e(0x46e)](_0x1e38ee)?_0xd6a2be([...new Set(_0x1e38ee[_0x339a9e(0xd9)](_0x596440=>_0xd6a2be(_0x2b0d78(_0x596440))))][_0x339a9e(0x3bb)]()):_0xd6a2be(_0x2b0d78(_0x1e38ee));}function _0x2b0d78(_0x48396f){const _0x4111ea=_0x17666d;return Array['isArray'](_0x48396f)?_0x48396f['map'](_0x2b0d78):_0x48396f&&typeof _0x48396f==_0x4111ea(0x297)?Object[_0x4111ea(0x88)](Object[_0x4111ea(0x45d)](_0x48396f)[_0x4111ea(0x3bb)](([_0x509ffb],[_0x118a48])=>_0x509ffb[_0x4111ea(0x31b)](_0x118a48))['map'](([_0x2a3091,_0x25ec9a])=>[_0x2a3091,_0x2b0d78(_0x25ec9a)])):_0x48396f;}function _0xd6a2be(_0x1d9c56){const _0x40b6c4=_0x17666d;return JSON['stringify'](_0x1d9c56)??_0x40b6c4(0x339);}function _0x50b396(_0x32d7a9){const _0x34e70e=_0x17666d;if(typeof _0x32d7a9==_0x34e70e(0x3af))return _0x32d7a9[_0x34e70e(0x11d)]()!=='';if(!_0x32d7a9||typeof _0x32d7a9!=_0x34e70e(0x297))return!0x1;let _0x456eb0=_0x32d7a9;return[_0x456eb0['id'],_0x456eb0[_0x34e70e(0x208)],_0x456eb0[_0x34e70e(0x3e3)],_0x456eb0[_0x34e70e(0x3ae)],_0x456eb0['thumbnail']]['some'](_0x2c2ce8=>_0x2c2ce8!=null&&String(_0x2c2ce8)['trim']()!=='');}function _0x107e89(_0x5629e2){const _0x474e01=_0x17666d;let _0x3368f3=_0x4d9e6c(_0x5629e2[_0x474e01(0x39d)]);return{'decimalPlaces':_0x1ca59b(_0x3368f3[_0x474e01(0x39b)]??_0x3368f3[_0x474e01(0x1c1)],0x0,0x14,0x2),'separatorStyle':typeof _0x3368f3[_0x474e01(0xfa)]==_0x474e01(0x3af)?_0x3368f3['separatorStyle']:_0x474e01(0x1b9),'locale':typeof _0x3368f3[_0x474e01(0x444)]==_0x474e01(0x3af)?_0x3368f3[_0x474e01(0x444)]:void 0x0,'useThousands':_0x3368f3[_0x474e01(0xe8)]!==!0x1,'abbreviation':typeof _0x3368f3['abbreviation']=='string'?_0x3368f3[_0x474e01(0x11a)]:_0x474e01(0xb9)};}function _0xfc3e44(_0x344a5c){const _0x538287=_0x17666d;let _0x16e357=_0x4d9e6c(_0x344a5c[_0x538287(0x39d)]);return{..._0x107e89(_0x344a5c),'currencySymbol':String(_0x16e357[_0x538287(0x1af)]??_0x16e357[_0x538287(0x367)]??'$')};}function _0x841ec2(_0x4ec54c,_0x2208b0){const _0x263bca=_0x17666d;let _0x1d29d9=_0x3a227a(_0x2208b0);if(_0x1d29d9===_0x3c6592)return _0x2f8bf7(_0x4ec54c);try{return String(_0x4d7b12[_0x263bca(0x2a2)]['format'](_0x1d29d9,_0x4ec54c,{'throws':!0x1}));}catch{return _0x2f8bf7(_0x4ec54c);}}function _0x5e6984(_0x497394){const _0x2c95c0=_0x17666d;let _0x10d5d6=_0x4d9e6c(_0x4d9e6c(_0x497394['config'])[_0x2c95c0(0x2a2)]);return typeof _0x10d5d6['type']==_0x2c95c0(0x3af)?_0x10d5d6['type']:_0x2c95c0(0x15f);}function _0x3a227a(_0x2e9607){const _0xe74d4e=_0x17666d;let _0x4f7d51=_0x4d9e6c(_0x4d9e6c(_0x2e9607[_0xe74d4e(0x39d)])[_0xe74d4e(0x2a2)]);return String(_0x4f7d51[_0xe74d4e(0xed)]??_0x3c6592)[_0xe74d4e(0x11d)]()||_0x3c6592;}function _0x2f8bf7(_0x54574f){const _0x4da6cb=_0x17666d;return String(Number[_0x4da6cb(0x270)](_0x54574f)?_0x54574f:Math[_0x4da6cb(0x2e3)]((_0x54574f+0x2**-0x34)*0x64)/0x64);}function _0x4d9e6c(_0x4de381){const _0x34fae8=_0x17666d;return _0x4de381&&typeof _0x4de381==_0x34fae8(0x297)&&!Array[_0x34fae8(0x46e)](_0x4de381)?_0x4de381:{};}function _0x4a4d0a(_0x47749c){const _0x25bdd7=_0x17666d;if(_0x47749c==null||_0x47749c==='')return null;let _0xba9de4=typeof _0x47749c==_0x25bdd7(0x2c1)?_0x47749c:Number(_0x47749c);return Number['isFinite'](_0xba9de4)?_0xba9de4:null;}function _0x1ca59b(_0x1d838c,_0x57771a,_0x5b641a,_0x4dc9b8){const _0x275346=_0x17666d;let _0x53f4dc=_0x4a4d0a(_0x1d838c);return _0x53f4dc==null?_0x4dc9b8:Math[_0x275346(0x3e8)](_0x57771a,Math[_0x275346(0x3d6)](_0x5b641a,Math[_0x275346(0x2e3)](_0x53f4dc)));}function _0x50a233(_0x1829cb,_0x24f053){const _0x3721e8=_0x17666d;let _0x4af5d5=_0x4d7b12[_0x3721e8(0x1ea)][_0x3721e8(0xee)](_0x1829cb),_0xd692e5=_0x24f053['includeRecords']===!0x0,_0x40eb09=new Map(),_0x2847bc=_0x24f053['createViewId']??(()=>_0x3721e8(0x10b)+(0x0,_0x4d7b12[_0x3721e8(0x216)])(0x8)),_0xf779d3=_0x4af5d5['viewOrder'];return _0x24f053[_0x3721e8(0x3e5)]&&(_0xf779d3=_0x4af5d5[_0x3721e8(0x9c)][_0x3721e8(0xd9)](_0x1bd7cb=>{const _0x4ec1fa=_0x3721e8;let _0x317b63=_0x2847bc();return _0x40eb09[_0x4ec1fa(0x12c)](_0x1bd7cb,_0x317b63),_0x317b63;})),{..._0x4af5d5,'id':_0x24f053['id'],'name':_0x24f053[_0x3721e8(0x208)],'records':_0xd692e5?_0x4af5d5[_0x3721e8(0x14c)]:{},'recordOrder':_0xd692e5?_0x4af5d5[_0x3721e8(0x370)]:[],'rowIndex':_0xd692e5?_0x4af5d5[_0x3721e8(0x3db)]:{},'rowId':_0xd692e5?_0x4af5d5[_0x3721e8(0x357)]:{},'cellData':_0xd692e5?_0x4af5d5[_0x3721e8(0x17b)]:{},'resources':_0xd692e5?_0x4af5d5[_0x3721e8(0x171)]:{},'viewOrder':_0xf779d3,'views':Object[_0x3721e8(0x88)](Object['entries'](_0x4af5d5[_0x3721e8(0x420)]??{})[_0x3721e8(0xd9)](([_0x47da55,_0x29c368])=>{const _0x328604=_0x3721e8;let _0x47d5f2=_0x40eb09[_0x328604(0x9f)](_0x47da55)??(_0x24f053[_0x328604(0x3e5)]?_0x2847bc():_0x47da55);return[_0x47d5f2,{..._0x29c368,'id':_0x47d5f2,'tableId':_0x24f053['id']}];}))};}var _0x25590d='@univerjs-pro/bases',_0x58487f=_0x17666d(0x3c9);let _0x48d3f7={},_0x65144c={};function _0x45025f(_0x4f4a22){const _0x22a37b=_0x17666d;return new _0x51bfae()[_0x22a37b(0x43b)](_0x4f4a22);}function _0x267721(_0x20948c){const _0x38acff=_0x17666d;return _0x20948c[_0x38acff(0x160)][_0x38acff(0xd9)](_0x3dcf40=>({'unitId':_0x20948c[_0x38acff(0x44c)],'sheetId':_0x20948c['tableId'],'range':{'startRow':_0x3dcf40[_0x38acff(0x1b3)],'endRow':_0x3dcf40[_0x38acff(0x1b3)],'startColumn':_0x3dcf40[_0x38acff(0x282)],'endColumn':_0x3dcf40[_0x38acff(0x282)]}}));}function _0x49f9c9(_0x1467f4,_0x27a243){const _0x2e1b8=_0x17666d;return{[_0x1467f4]:Object['fromEntries'](_0x27a243[_0x2e1b8(0xd9)](_0xad5c24=>[_0xad5c24,'1']))};}let _0x2b17b=class extends _0x4d7b12[_0x17666d(0x134)]{constructor(_0x14d045,_0x2a8524){const _0x46439b=_0x17666d;super(),this[_0x46439b(0xd0)]=_0x14d045,this['_univerInstanceService']=_0x2a8524,this[_0x46439b(0x8d)]();}['_initialize'](){const _0x44bc73=_0x17666d;this[_0x44bc73(0xd0)][_0x44bc73(0x2af)](_0x36dd63['id'],{'commandId':_0x36dd63['id'],'getDirtyData':_0x2ca7d0=>this[_0x44bc73(0x22a)](_0x2ca7d0[_0x44bc73(0x133)])}),this[_0x44bc73(0xcc)]((0x0,_0x4d7b12['toDisposable'])(()=>{const _0x3fe155=_0x44bc73;this['_activeDirtyManagerService'][_0x3fe155(0xbf)](_0x36dd63['id']);}));}[_0x17666d(0x233)](_0x38be72,_0x5679e8){const _0x27cc6e=_0x17666d;let _0x1a36ff=this[_0x27cc6e(0xb2)][_0x27cc6e(0x27d)](_0x38be72,_0x4d7b12[_0x27cc6e(0xca)][_0x27cc6e(0x101)]);return(_0x1a36ff==null?void 0x0:_0x1a36ff[_0x27cc6e(0x2de)]()[_0x27cc6e(0x334)][_0x5679e8])??null;}[_0x17666d(0x22a)](_0x50fdd){const _0x1735ea=_0x17666d;if(_0x50fdd[_0x1735ea(0x398)]===_0x1735ea(0x36d))return{};if(!_0x50fdd[_0x1735ea(0x44c)]||!_0x50fdd['op'])return{'clearDependencyTreeCache':this['_getAllBaseDependencyTreeCacheMap'](),'forceCalculation':!0x0};let _0x1f7d0e=_0x45025f(_0x50fdd['op']),_0x2c10ca=this[_0x1735ea(0x295)](_0x50fdd['unitId'],_0x1f7d0e);if(_0x2c10ca[_0x1735ea(0x278)])return{'clearDependencyTreeCache':_0x49f9c9(_0x50fdd[_0x1735ea(0x44c)],_0x2c10ca),'forceCalculation':!0x0};let _0x17949c=Object[_0x1735ea(0x45d)](this['_groupCellInvalidations'](_0x50fdd['unitId'],_0x1f7d0e))[_0x1735ea(0x2b8)](([_0x3aed46,_0x24eeea])=>_0x267721({'unitId':_0x50fdd[_0x1735ea(0x44c)],'tableId':_0x3aed46,'patches':_0x24eeea}));return _0x17949c['length']?{'dirtyRanges':_0x17949c}:{};}[_0x17666d(0x295)](_0x2b9072,_0x59c026){const _0x533dfb=_0x17666d;let _0x1e03d8=_0x59c026[_0x533dfb(0x425)](_0x293fb0=>_0x293fb0['reason']!=='cell')['flatMap'](_0xcda1f7=>_0xcda1f7['tableId']?[_0xcda1f7['tableId']]:this[_0x533dfb(0x3d4)](_0x2b9072));return Array[_0x533dfb(0x2ba)](new Set(_0x1e03d8));}['_groupCellInvalidations'](_0x47cdbe,_0x36e8cc){const _0x1a79e3=_0x17666d;let _0x1dc69b=new Set();return _0x36e8cc[_0x1a79e3(0x2d9)]((_0x19a9fb,_0x2cd285)=>{const _0x214780=_0x1a79e3;let _0x16bf4=this[_0x214780(0xe3)](_0x47cdbe,_0x2cd285);if(!_0x16bf4)return _0x19a9fb;let _0x203df3=_0x2cd285[_0x214780(0x10c)]+':'+_0x16bf4['row']+':'+_0x16bf4[_0x214780(0x282)];return _0x1dc69b[_0x214780(0x1eb)](_0x203df3)?_0x19a9fb:(_0x1dc69b[_0x214780(0x3a1)](_0x203df3),_0x19a9fb[_0x2cd285[_0x214780(0x10c)]]=_0x19a9fb[_0x2cd285[_0x214780(0x10c)]]??[],_0x19a9fb[_0x2cd285[_0x214780(0x10c)]][_0x214780(0x112)](_0x16bf4),_0x19a9fb);},{});}[_0x17666d(0xe3)](_0x2c60c4,_0x18d124){const _0x5010ef=_0x17666d;if(_0x18d124[_0x5010ef(0x44e)]!=='cell')return null;if(_0x18d124['row']!=null&&_0x18d124[_0x5010ef(0x46f)]!=null)return{'row':_0x18d124['row'],'col':_0x18d124[_0x5010ef(0x46f)],'value':null};if(!_0x18d124[_0x5010ef(0x23d)]||!_0x18d124[_0x5010ef(0x424)])return null;let _0x56b2a4=this[_0x5010ef(0x233)](_0x2c60c4,_0x18d124[_0x5010ef(0x10c)]);if(!_0x56b2a4)return null;let _0x13e72f=_0x29a076(_0x56b2a4,_0x18d124[_0x5010ef(0x23d)],_0x18d124[_0x5010ef(0x424)]);return _0x13e72f?{'row':_0x13e72f[_0x5010ef(0x1b3)],'col':_0x13e72f[_0x5010ef(0x282)],'value':null}:null;}[_0x17666d(0x3d4)](_0x320831){const _0x2a871a=_0x17666d;let _0x2a98fe=this[_0x2a871a(0xb2)][_0x2a871a(0x27d)](_0x320831,_0x4d7b12[_0x2a871a(0xca)][_0x2a871a(0x101)]);return Object[_0x2a871a(0x3b2)]((_0x2a98fe==null?void 0x0:_0x2a98fe[_0x2a871a(0x2de)]()[_0x2a871a(0x334)])??{})[_0x2a871a(0xd9)](_0x144bcb=>_0x144bcb['id']);}[_0x17666d(0x7d)](){const _0x16af78=_0x17666d;let _0x434688=this[_0x16af78(0xb2)][_0x16af78(0x263)](_0x4d7b12['UniverInstanceType'][_0x16af78(0x101)])['map'](_0x4ac0b3=>_0x49f9c9(_0x4ac0b3['getUnitId'](),Object['keys'](_0x4ac0b3[_0x16af78(0x2de)]()[_0x16af78(0x334)])));return Object['assign']({},..._0x434688);}};_0x2b17b=_0x505956([_0x2661c4(0x0,_0x21a938[_0x17666d(0xeb)]),_0x2661c4(0x1,_0x4d7b12[_0x17666d(0x322)])],_0x2b17b);let _0x5c8ef8=class extends _0x4d7b12[_0x17666d(0x134)]{constructor(_0x48758,_0x13ed6d,_0x4a02fb,_0x4b4593){const _0x4cac8b=_0x17666d;super(),this[_0x4cac8b(0x326)]=_0x48758,this['_univerInstanceService']=_0x13ed6d,this[_0x4cac8b(0x2c7)]=_0x4a02fb,this[_0x4cac8b(0x3a5)]=_0x4b4593,_0x4aa85f(this,_0x4cac8b(0x167),new _0x199153()),_0x4aa85f(this,_0x4cac8b(0x3f9),new Map()),_0x4aa85f(this,_0x4cac8b(0x451),new Set()),_0x4aa85f(this,_0x4cac8b(0x157),Promise[_0x4cac8b(0x2a6)]()),_0x4aa85f(this,_0x4cac8b(0x423),!0x1),this[_0x4cac8b(0x8d)]();}[_0x17666d(0x8d)](){const _0x55a45e=_0x17666d;this[_0x55a45e(0xb2)][_0x55a45e(0x263)](_0x4d7b12[_0x55a45e(0xca)][_0x55a45e(0x101)])[_0x55a45e(0x3cc)](_0x76f498=>{const _0x3900bf=_0x55a45e;this[_0x3900bf(0x385)](_0x76f498);}),this[_0x55a45e(0xcc)](this[_0x55a45e(0xb2)][_0x55a45e(0x1ec)](_0x4d7b12[_0x55a45e(0xca)][_0x55a45e(0x101)])[_0x55a45e(0x22c)](({unit:_0x50c9bc})=>{const _0x279a35=_0x55a45e;this[_0x279a35(0x385)](_0x50c9bc);})),this[_0x55a45e(0xcc)](this['_univerInstanceService'][_0x55a45e(0x2dc)](_0x4d7b12['UniverInstanceType'][_0x55a45e(0x101)])['subscribe'](_0x2c7336=>{const _0x2e74e4=_0x55a45e;this[_0x2e74e4(0x1e2)](()=>this[_0x2e74e4(0xd5)](_0x2c7336[_0x2e74e4(0xbc)]()));})),this['disposeWithMe'](this[_0x55a45e(0x326)][_0x55a45e(0xb1)](_0x381e54=>this['_onCommandExecuted'](_0x381e54)));}[_0x17666d(0x2bd)](_0x1f6592){const _0x59664d=_0x17666d;if(_0x1f6592['id']===_0x21a938[_0x59664d(0x1cf)]['id']){_0x4096c9(_0x1f6592[_0x59664d(0x133)])&&this[_0x59664d(0x185)](_0x1f6592['params']);return;}if(this['_applyingFormulaResults']||_0x1f6592['id']!==_0x36dd63['id'])return;let _0x39538c=_0x5aef7f(_0x1f6592[_0x59664d(0x133)])?_0x1f6592[_0x59664d(0x133)]:void 0x0,_0x511391=_0x39538c!=null&&_0x39538c[_0x59664d(0x44c)]?[this[_0x59664d(0xb2)]['getUnit'](_0x39538c[_0x59664d(0x44c)],_0x4d7b12[_0x59664d(0xca)][_0x59664d(0x101)])][_0x59664d(0x425)](_0x16d88f=>!!_0x16d88f):this['_univerInstanceService'][_0x59664d(0x263)](_0x4d7b12[_0x59664d(0xca)][_0x59664d(0x101)]),_0x2a22fc=_0x39538c==null?void 0x0:_0x39538c['op'];_0x511391[_0x59664d(0x3cc)](_0x110aa0=>{const _0x565e6f=_0x59664d;let _0x1d64ca=_0x2a22fc?_0x45025f(_0x2a22fc):[];(!_0x2a22fc||_0x1d64ca[_0x565e6f(0x256)](_0x526b9e=>_0x526b9e['reason']!=='cell'))&&this['_scheduleSuperTableSync'](_0x110aa0);});}['_scheduleSuperTableSync'](_0xb9faa9){const _0xdf539d=_0x17666d;let _0x205dea=_0xb9faa9[_0xdf539d(0xbc)]();this['_scheduledSuperTableSyncs'][_0xdf539d(0x1eb)](_0x205dea)||(this[_0xdf539d(0x451)][_0xdf539d(0x3a1)](_0x205dea),this[_0xdf539d(0x1e2)](async()=>{const _0x1587c2=_0xdf539d;this['_scheduledSuperTableSyncs'][_0x1587c2(0x205)](_0x205dea),await this['_syncSuperTables'](_0xb9faa9);}));}async[_0x17666d(0x1e8)](_0x5017a6){const _0xb5b2d4=_0x17666d;let _0x157b35=_0x5017a6[_0xb5b2d4(0xbc)](),_0x3d601b=this[_0xb5b2d4(0x167)][_0xb5b2d4(0x253)](_0x5017a6[_0xb5b2d4(0x2de)]()),_0x5001be=new Set(_0x3d601b[_0xb5b2d4(0xd9)](({tableName:_0x5eb214})=>_0x5eb214)),_0x1cc091=this['_registeredSuperTableNames'][_0xb5b2d4(0x9f)](_0x157b35)??new Set();for(let _0x55fb64 of _0x1cc091)if(!_0x5001be[_0xb5b2d4(0x1eb)](_0x55fb64)&&!await this[_0xb5b2d4(0x8c)](_0x21a938[_0xb5b2d4(0x2ef)]['id'],{'unitId':_0x157b35,'tableName':_0x55fb64}))return;for(let {tableName:_0x4c211f,reference:_0x1e19ee}of _0x3d601b)if(!await this[_0xb5b2d4(0x8c)](_0x21a938[_0xb5b2d4(0x213)]['id'],{'unitId':_0x157b35,'tableName':_0x4c211f,'reference':_0x1e19ee}))return;this[_0xb5b2d4(0x3f9)]['set'](_0x157b35,_0x5001be);}async[_0x17666d(0xd5)](_0x4eed77){const _0x105792=_0x17666d;let _0x495371=this[_0x105792(0x3f9)][_0x105792(0x9f)](_0x4eed77)??new Set();for(let _0xeffb03 of _0x495371)if(!await this[_0x105792(0x8c)](_0x21a938[_0x105792(0x2ef)]['id'],{'unitId':_0x4eed77,'tableName':_0xeffb03}))return;this[_0x105792(0x3f9)]['delete'](_0x4eed77);}async[_0x17666d(0x8c)](_0x1c3385,_0x5d3357){const _0x2a500e=_0x17666d;return!this['_disposed']&&await this['_commandService'][_0x2a500e(0x39e)](_0x1c3385,_0x5d3357,{'onlyLocal':!0x0})&&!this[_0x2a500e(0x3da)];}[_0x17666d(0x1e2)](_0x5b6051){const _0x3832b6=_0x17666d;this[_0x3832b6(0x157)]=this[_0x3832b6(0x157)][_0x3832b6(0x299)](_0x5b6051,_0x5b6051)[_0x3832b6(0x86)](()=>void 0x0);}[_0x17666d(0x185)](_0x258606){const _0x1862f2=_0x17666d;let _0x3bbfa3=this[_0x1862f2(0xb2)]['getAllUnitsForType'](_0x4d7b12[_0x1862f2(0xca)][_0x1862f2(0x101)]);if(!_0x3bbfa3[_0x1862f2(0x256)](_0xef1b8a=>{const _0x3094bb=_0x1862f2;var _0x518bce;return((_0x518bce=_0x258606[_0x3094bb(0x1c3)])==null?void 0x0:_0x518bce[_0xef1b8a[_0x3094bb(0xbc)]()])!=null;}))return;let _0x114e4e=_0x3bbfa3['flatMap'](_0x5941e0=>_0x233b6f(_0x5941e0[_0x1862f2(0x2de)](),_0x258606));if(!_0x114e4e[_0x1862f2(0x278)]){this['_formulaCalculationSessionService'][_0x1862f2(0x33a)](_0x38bc67[_0x1862f2(0x183)][_0x1862f2(0x42e)],_0x258606);return;}let _0xf95d92=new _0x7bf11a(),_0x27d673=_0x114e4e[_0x1862f2(0x2b8)](_0x5062ff=>_0x267721({'unitId':_0x5062ff['unitId'],'tableId':_0x5062ff[_0x1862f2(0x10c)],'patches':_0x5062ff['patches']}));this[_0x1862f2(0x423)]=!0x0,(async()=>{const _0x5ceb18=_0x1862f2;for(let _0x504789 of _0x114e4e){let _0x1adf8c=this[_0x5ceb18(0xb2)][_0x5ceb18(0x27d)](_0x504789['unitId'],_0x4d7b12[_0x5ceb18(0xca)][_0x5ceb18(0x101)]);_0x1adf8c&&await this['_commandService'][_0x5ceb18(0x39e)](_0x36dd63['id'],{'unitId':_0x504789[_0x5ceb18(0x44c)],'op':_0xf95d92['setRangeValues'](_0x1adf8c['getSnapshot'](),_0x504789[_0x5ceb18(0x10c)],_0x504789[_0x5ceb18(0x160)]),'trigger':_0x21a938[_0x5ceb18(0x1cf)]['id']},{'onlyLocal':!0x0});}await this[_0x5ceb18(0x326)][_0x5ceb18(0x39e)](_0x21a938[_0x5ceb18(0x214)]['id'],{'dirtyRanges':_0x27d673},{'onlyLocal':!0x0});})()[_0x1862f2(0x1b7)](()=>{const _0x295f2f=_0x1862f2;this[_0x295f2f(0x423)]=!0x1,this[_0x295f2f(0x3a5)]['markResultApplied'](_0x38bc67[_0x295f2f(0x183)][_0x295f2f(0x42e)],_0x258606);});}};_0x5c8ef8=_0x505956([_0x2661c4(0x0,_0x4d7b12['ICommandService']),_0x2661c4(0x1,_0x4d7b12[_0x17666d(0x322)]),_0x2661c4(0x2,(0x0,_0x4d7b12[_0x17666d(0x2ab)])(_0x21a938[_0x17666d(0x184)])),_0x2661c4(0x3,(0x0,_0x4d7b12[_0x17666d(0x2ab)])(_0x38bc67['FormulaCalculationSessionService']))],_0x5c8ef8);function _0x5aef7f(_0x43debe){const _0x14e3d6=_0x17666d;return typeof _0x43debe=='object'&&!!_0x43debe&&'unitId'in _0x43debe&&typeof _0x43debe['unitId']=='string'&&'op'in _0x43debe&&Array[_0x14e3d6(0x46e)](_0x43debe['op']);}function _0x4096c9(_0x56cd56){const _0x1a278a=_0x17666d;return typeof _0x56cd56==_0x1a278a(0x297)&&!!_0x56cd56&&'unitData'in _0x56cd56&&_0x1a278a(0x3ac)in _0x56cd56;}let _0x3e100c=(0x0,_0x4d7b12[_0x17666d(0x1b4)])(_0x17666d(0x154)),_0x58d31d=class{constructor(_0x2cd501){const _0x2b60dc=_0x17666d;this[_0x2b60dc(0xb2)]=_0x2cd501;}[_0x17666d(0x1ca)](_0x5c47bf){const _0x265121=_0x17666d;return this['_univerInstanceService'][_0x265121(0x27d)](_0x5c47bf,_0x4d7b12['UniverInstanceType'][_0x265121(0x101)])??null;}[_0x17666d(0x40b)](){const _0x3026ec=_0x17666d;return this['_univerInstanceService'][_0x3026ec(0x263)](_0x4d7b12['UniverInstanceType'][_0x3026ec(0x101)]);}['createBase'](_0x49c774){const _0x453f84=_0x17666d;return this[_0x453f84(0xb2)][_0x453f84(0x14d)](_0x4d7b12[_0x453f84(0xca)][_0x453f84(0x101)],_0x49c774);}};_0x58d31d=_0x505956([_0x2661c4(0x0,_0x4d7b12[_0x17666d(0x322)])],_0x58d31d);let _0x461ab0=(0x0,_0x4d7b12[_0x17666d(0x1b4)])(_0x17666d(0xe6));var _0xfe6dd6=class extends _0x4d7b12['Disposable']{constructor(..._0x3de6c1){const _0x127beb=_0x17666d;super(..._0x3de6c1),_0x4aa85f(this,_0x127beb(0x1c0),new Map());}['register'](_0x1ef6e6){const _0x69b02d=_0x17666d;return this[_0x69b02d(0x1c0)][_0x69b02d(0x12c)](_0x1ef6e6[_0x69b02d(0x466)],_0x1ef6e6),(0x0,_0x4d7b12[_0x69b02d(0xf6)])(()=>this['_plugins'][_0x69b02d(0x205)](_0x1ef6e6[_0x69b02d(0x466)]));}['get'](_0x1bf35a){const _0xdc4b6a=_0x17666d;let _0x479406=this[_0xdc4b6a(0x1c0)][_0xdc4b6a(0x9f)](_0x1bf35a);if(!_0x479406)throw Error(_0xdc4b6a(0x354)+_0x1bf35a+_0xdc4b6a(0x169));return _0x479406;}[_0x17666d(0x121)](){const _0x123ea0=_0x17666d;return Array['from'](this[_0x123ea0(0x1c0)][_0x123ea0(0x3b2)]());}};let _0x492853=[_0x36dd63],_0x3aa71f=class extends _0x4d7b12[_0x17666d(0x20a)]{constructor(_0x54793b=_0x48d3f7,_0x102bb7,_0x35a7b0,_0x21a04d,_0x5b29b7,_0x2c2a08){const _0x4555e7=_0x17666d;super(),this[_0x4555e7(0x387)]=_0x54793b,this[_0x4555e7(0x1ba)]=_0x102bb7,this[_0x4555e7(0x326)]=_0x35a7b0,this['_univerInstanceService']=_0x21a04d,this[_0x4555e7(0x2c0)]=_0x5b29b7,this[_0x4555e7(0xa7)]=_0x2c2a08,_0x4aa85f(this,_0x4555e7(0xb0),new Map());let {..._0x109777}=(0x0,_0x4d7b12[_0x4555e7(0x18d)])({},_0x48d3f7,this[_0x4555e7(0x387)]);this['_configService'][_0x4555e7(0x243)](_0x4555e7(0x34d),_0x109777),this[_0x4555e7(0xb2)][_0x4555e7(0x447)](_0x4d7b12[_0x4555e7(0xca)][_0x4555e7(0x101)],_0x4d7b12[_0x4555e7(0xde)]),this[_0x4555e7(0x102)](),this[_0x4555e7(0x251)](),this[_0x4555e7(0x203)](),this[_0x4555e7(0xb6)]();}[_0x17666d(0x3a8)](){const _0x5f555c=_0x17666d;(0x0,_0x4d7b12[_0x5f555c(0x399)])(this['_injector'],[[_0x58d31d],[_0x17807c],[_0x2b17b]]),this[_0x5f555c(0xb2)][_0x5f555c(0x263)](_0x4d7b12[_0x5f555c(0xca)][_0x5f555c(0x101)])['forEach'](_0x383996=>this['_syncBaseUnit'](_0x383996[_0x5f555c(0xbc)]())),(0x0,_0x4d7b12['touchDependencies'])(this[_0x5f555c(0x1ba)],[[_0x5c8ef8]]);}[_0x17666d(0x102)](){const _0x516abd=_0x17666d;[[_0x336523,{'useClass':_0x21739f}],[_0x461ab0,{'useClass':_0xfe6dd6}],[_0x465d1d,{'useClass':_0x2f3355}],[_0x3e100c,{'useClass':_0x58d31d}],[_0x2403d4,{'useClass':_0x521723}],[_0x401e28,{'useClass':_0x17807c}],[_0x2b17b],[_0x5c8ef8]][_0x516abd(0x3cc)](_0x225c1f=>this['_injector'][_0x516abd(0x3a1)](_0x225c1f));}[_0x17666d(0x251)](){const _0x122827=_0x17666d;[_0x4ba48d,_0xd3d58b,_0x5c4563,_0x8a17eb,_0xeed559,_0x3dfb10,_0x35ff7e,_0x15cba5,_0x77177,_0x51198c,_0x3b3459,_0x20f735,_0x4cc408,_0x4aecf2,_0x2dcccf,_0x3e1911,_0x1ffb91,_0x3c356d,_0x36097,_0x2ddfa7,_0x17969b,_0x306611,_0x2a9a84,_0x186600,_0xbd2d19,_0x48f4a9,_0x273fa1,_0x670e18,_0x1f183c,_0x1e5bc4,_0x55eaee,_0x8475ae,_0x2b3c19,_0x4df541,_0x1b69b9,_0x309fb7,_0xdd5a2,_0xe8fa1f,_0x475f5d,..._0x492853][_0x122827(0x3cc)](_0xd5bf04=>this[_0x122827(0xcc)](this['_commandService'][_0x122827(0x19f)](_0xd5bf04))),_0x492853[_0x122827(0x3cc)](_0x3d0f04=>{const _0x4d857e=_0x122827;var _0x25558f;return(_0x25558f=this['_dataSyncPrimaryController'])==null?void 0x0:_0x25558f[_0x4d857e(0x374)](_0x3d0f04);});}['_initDataSync'](){const _0x3ed962=_0x17666d;this[_0x3ed962(0xa7)]&&(this[_0x3ed962(0xcc)](this['_univerInstanceService'][_0x3ed962(0x1ec)](_0x4d7b12[_0x3ed962(0xca)][_0x3ed962(0x101)])[_0x3ed962(0x22c)](({unit:_0x3e9383})=>{const _0x214f86=_0x3ed962;this['_syncBaseUnit'](_0x3e9383[_0x214f86(0xbc)]());})),this[_0x3ed962(0xcc)](this[_0x3ed962(0xb2)]['getTypeOfUnitDisposed$'](_0x4d7b12[_0x3ed962(0xca)][_0x3ed962(0x101)])[_0x3ed962(0x22c)](_0x45ed09=>{const _0xbdc8b=_0x3ed962;var _0x187c23;(_0x187c23=this['_baseSyncDisposables'][_0xbdc8b(0x9f)](_0x45ed09['getUnitId']()))==null||_0x187c23[_0xbdc8b(0x37c)](),this['_baseSyncDisposables'][_0xbdc8b(0x205)](_0x45ed09['getUnitId']());})));}[_0x17666d(0x1ab)](_0x2ce481){const _0x2c11c6=_0x17666d;!this[_0x2c11c6(0xa7)]||this[_0x2c11c6(0xb0)][_0x2c11c6(0x1eb)](_0x2ce481)||this[_0x2c11c6(0xb0)][_0x2c11c6(0x12c)](_0x2ce481,this[_0x2c11c6(0xa7)][_0x2c11c6(0x310)](_0x2ce481));}[_0x17666d(0x203)](){const _0x1b7977=_0x17666d;let _0x4b72af=this[_0x1b7977(0x1ba)][_0x1b7977(0x9f)](_0x336523);_0x5d1e9d()[_0x1b7977(0x3cc)](_0x12fcb3=>_0x4b72af[_0x1b7977(0x2af)](_0x12fcb3));let _0x3e9f27=this[_0x1b7977(0x1ba)]['get'](_0x461ab0),_0x1cce50=this[_0x1b7977(0x1ba)][_0x1b7977(0x9f)](_0x465d1d);_0x2efe7c()['forEach'](_0x296897=>{const _0x30330a=_0x1b7977;_0x3e9f27[_0x30330a(0x2af)](_0x296897),_0x1cce50[_0x30330a(0x2cc)](_0x296897);});}};_0x4aa85f(_0x3aa71f,_0x17666d(0x364),_0x17666d(0x30e)),_0x4aa85f(_0x3aa71f,'packageName',_0x25590d),_0x4aa85f(_0x3aa71f,_0x17666d(0x346),_0x58487f),_0x4aa85f(_0x3aa71f,_0x17666d(0x466),_0x4d7b12['UniverInstanceType'][_0x17666d(0x101)]),_0x3aa71f=_0x505956([(0x0,_0x4d7b12['DependentOn'])(_0x2837f2[_0x17666d(0x128)],_0x21a938[_0x17666d(0x96)]),_0x2661c4(0x1,(0x0,_0x4d7b12[_0x17666d(0x2ab)])(_0x4d7b12[_0x17666d(0x2f8)])),_0x2661c4(0x2,_0x4d7b12['ICommandService']),_0x2661c4(0x3,_0x4d7b12[_0x17666d(0x322)]),_0x2661c4(0x4,_0x4d7b12[_0x17666d(0x25e)]),_0x2661c4(0x5,(0x0,_0x4d7b12[_0x17666d(0x319)])(_0x39f057[_0x17666d(0x226)]))],_0x3aa71f);let _0x20df28=class extends _0x4d7b12['Plugin']{constructor(_0xac90c=_0x65144c,_0xe2acd9,_0x44dd9d,_0x46fb17,_0xef212a){const _0x43b7be=_0x17666d;super(),this[_0x43b7be(0x387)]=_0xac90c,this['_injector']=_0xe2acd9,this[_0x43b7be(0x326)]=_0x44dd9d,this[_0x43b7be(0x2c0)]=_0x46fb17,this[_0x43b7be(0xb2)]=_0xef212a;let {..._0x4d433d}=(0x0,_0x4d7b12['merge'])({},_0x65144c,this['_config']);this[_0x43b7be(0x2c0)][_0x43b7be(0x243)](_0x43b7be(0x170),_0x4d433d),this[_0x43b7be(0xb2)][_0x43b7be(0x447)](_0x4d7b12[_0x43b7be(0xca)][_0x43b7be(0x101)],_0x4d7b12['BaseDataModel']),[[_0x336523,{'useClass':_0x21739f}],[_0x465d1d,{'useClass':_0x2f3355}]][_0x43b7be(0x3cc)](_0x2732bf=>this[_0x43b7be(0x1ba)][_0x43b7be(0x3a1)](_0x2732bf)),_0x492853['forEach'](_0x8baa4c=>this[_0x43b7be(0xcc)](this[_0x43b7be(0x326)][_0x43b7be(0x19f)](_0x8baa4c)));}};_0x4aa85f(_0x20df28,_0x17666d(0x364),_0x17666d(0x347)),_0x4aa85f(_0x20df28,_0x17666d(0x2f4),_0x25590d),_0x4aa85f(_0x20df28,_0x17666d(0x346),_0x58487f),_0x4aa85f(_0x20df28,_0x17666d(0x466),_0x4d7b12[_0x17666d(0xca)][_0x17666d(0x101)]),_0x20df28=_0x505956([(0x0,_0x4d7b12[_0x17666d(0x323)])(_0x2837f2['UniverLicensePlugin'],_0x21a938[_0x17666d(0x96)]),_0x2661c4(0x1,(0x0,_0x4d7b12[_0x17666d(0x2ab)])(_0x4d7b12[_0x17666d(0x2f8)])),_0x2661c4(0x2,_0x4d7b12[_0x17666d(0x32e)]),_0x2661c4(0x3,_0x4d7b12[_0x17666d(0x25e)]),_0x2661c4(0x4,_0x4d7b12[_0x17666d(0x322)])],_0x20df28);function _0x1ab613(_0x3628fc){const _0x507c95=_0x17666d;let _0x1c8350=_0x18fdfc(_0x3628fc[_0x507c95(0x284)]);if(!_0x1c8350)return{'query':'','total':0x0,'matches':[]};let _0x355cec=[],_0x29a79c=[];for(let _0x469223=0x0;_0x469223<_0x3628fc[_0x507c95(0x275)][_0x507c95(0x278)];_0x469223++){if(!(_0x469223 in _0x3628fc[_0x507c95(0x275)]))continue;let _0x1d6896=_0x3628fc[_0x507c95(0x39f)][_0x507c95(0x129)][_0x3628fc[_0x507c95(0x275)][_0x469223]];_0x1d6896&&_0x29a79c[_0x507c95(0x112)]({'field':_0x1d6896,'fieldIndex':_0x469223});}_0x3628fc[_0x507c95(0x90)][_0x507c95(0x3cc)]((_0x1ce758,_0x40062d)=>{const _0x194100=_0x507c95;_0x29a79c[_0x194100(0x3cc)](({field:_0x2380da,fieldIndex:_0x17e82e})=>{const _0x59d29f=_0x194100;let _0x2ea8c5=_0x35df6f(_0x1ce758[_0x59d29f(0x3b2)][_0x2380da['id']],_0x2380da);if(!_0x2ea8c5)return;let _0x5807d1=_0x5abf1e(_0x1c8350,_0x2ea8c5[_0x59d29f(0xae)]);_0x5807d1<=0x0||_0x355cec['push']({'recordId':_0x1ce758[_0x59d29f(0x23d)],'fieldId':_0x2380da['id'],'fieldType':_0x2380da[_0x59d29f(0x466)],'text':_0x2ea8c5['displayText'],'score':_0x5807d1,'rowIndex':_0x40062d,'fieldIndex':_0x17e82e});});}),_0x355cec[_0x507c95(0x3bb)]((_0x25374a,_0x14c433)=>_0x14c433['score']-_0x25374a[_0x507c95(0x107)]||_0x25374a[_0x507c95(0x3db)]-_0x14c433[_0x507c95(0x3db)]||_0x25374a[_0x507c95(0x396)]-_0x14c433[_0x507c95(0x396)]);let _0x1b274b=_0x3628fc[_0x507c95(0xe0)]==null?_0x355cec:_0x355cec[_0x507c95(0x3fc)](0x0,Math[_0x507c95(0x3e8)](0x0,_0x3628fc[_0x507c95(0xe0)]));return{'query':_0x1c8350,'total':_0x355cec[_0x507c95(0x278)],'matches':_0x4d4a24(_0x1b274b)};}function _0x35df6f(_0x3a2225,_0x48b95c){const _0xc70304=_0x17666d;let _0x3ceec0=[];for(let _0x4ccb41 of _0x2bb6fa(_0x3a2225,_0x48b95c)){let _0xc62ab3=_0x18fdfc(_0x4ccb41);_0xc62ab3&&_0x3ceec0[_0xc70304(0x112)](_0xc62ab3);}return _0x3ceec0[_0xc70304(0x278)]?{'displayText':_0x3b3273(_0x3a2225,_0x48b95c),'searchTexts':_0x3ec300(_0x3ceec0)}:null;}function _0x3b3273(_0x4bea95,_0x41f2c8){const _0x37fada=_0x17666d;switch(_0x41f2c8[_0x37fada(0x466)]){case _0x4d7b12[_0x37fada(0x419)]['SingleSelect']:case _0x4d7b12[_0x37fada(0x419)][_0x37fada(0x1a7)]:case _0x4d7b12['BaseFieldType']['Group']:return _0x39e586(_0x4bea95,_0x41f2c8)[_0x37fada(0x1ef)](',\x20');case _0x4d7b12[_0x37fada(0x419)]['Link']:return _0x1381f5(_0x4bea95);case _0x4d7b12[_0x37fada(0x419)]['Date']:case _0x4d7b12['BaseFieldType'][_0x37fada(0x1a0)]:case _0x4d7b12['BaseFieldType'][_0x37fada(0x2e7)]:return _0x3bc937(_0x4bea95,_0x41f2c8);case _0x4d7b12[_0x37fada(0x419)][_0x37fada(0x34f)]:case _0x4d7b12[_0x37fada(0x419)][_0x37fada(0x1fe)]:return _0x5ec162(_0x4bea95,_0x41f2c8);case _0x4d7b12['BaseFieldType'][_0x37fada(0x1d8)]:return _0x20a50f(_0x4bea95,_0x41f2c8);case _0x4d7b12[_0x37fada(0x419)]['Checkbox']:return _0x4bea95?_0x37fada(0x301):_0x37fada(0x104);case _0x4d7b12[_0x37fada(0x419)]['Attachment']:return _0x2338af(_0x4bea95)['join'](',\x20');default:return _0x105cc1(_0x4bea95);}}function _0x2bb6fa(_0xdfc576,_0x5b16cd){const _0x1be0cc=_0x17666d;switch(_0x5b16cd[_0x1be0cc(0x466)]){case _0x4d7b12[_0x1be0cc(0x419)][_0x1be0cc(0x191)]:case _0x4d7b12[_0x1be0cc(0x419)][_0x1be0cc(0x1a7)]:case _0x4d7b12[_0x1be0cc(0x419)]['Group']:{let _0x507441=_0x39e586(_0xdfc576,_0x5b16cd);if(Array[_0x1be0cc(0x46e)](_0xdfc576)){let _0x51b8ff=[..._0x507441];for(let _0x3eea81=0x0;_0x3eea81<_0xdfc576[_0x1be0cc(0x278)];_0x3eea81++)_0x3eea81 in _0xdfc576&&_0x51b8ff[_0x1be0cc(0x112)](String(_0xdfc576[_0x3eea81]));return _0x51b8ff;}return _0xdfc576==null?_0x507441:[..._0x507441,String(_0xdfc576)];}case _0x4d7b12[_0x1be0cc(0x419)][_0x1be0cc(0x85)]:{let _0xb5e76a=_0x72d39c(_0xdfc576);return[_0xb5e76a[_0x1be0cc(0x146)],_0xb5e76a[_0x1be0cc(0x3ae)]];}case _0x4d7b12[_0x1be0cc(0x419)][_0x1be0cc(0x32c)]:case _0x4d7b12[_0x1be0cc(0x419)][_0x1be0cc(0x1a0)]:case _0x4d7b12[_0x1be0cc(0x419)][_0x1be0cc(0x2e7)]:return[_0x3bc937(_0xdfc576,_0x5b16cd),_0x105cc1(_0xdfc576)];case _0x4d7b12[_0x1be0cc(0x419)][_0x1be0cc(0x34f)]:case _0x4d7b12[_0x1be0cc(0x419)]['Currency']:return[_0x5ec162(_0xdfc576,_0x5b16cd),_0x105cc1(_0xdfc576)];case _0x4d7b12[_0x1be0cc(0x419)]['Progress']:return[_0x20a50f(_0xdfc576,_0x5b16cd),_0x105cc1(_0xdfc576)];case _0x4d7b12[_0x1be0cc(0x419)][_0x1be0cc(0x317)]:return _0xdfc576?[_0x1be0cc(0x301),'Yes',_0x1be0cc(0x1dd)]:[_0x1be0cc(0x104),'No','False'];case _0x4d7b12[_0x1be0cc(0x419)][_0x1be0cc(0x312)]:return _0x2338af(_0xdfc576);default:return[_0x105cc1(_0xdfc576)];}}function _0x39e586(_0x1496ff,_0x4c0016){const _0x5a117e=_0x17666d;var _0x3c2784;let _0x19bf7a=Array[_0x5a117e(0x46e)]((_0x3c2784=_0x4c0016['config'])==null?void 0x0:_0x3c2784['options'])?_0x4c0016['config'][_0x5a117e(0x3d9)]:[],_0x33abec=[];if(Array[_0x5a117e(0x46e)](_0x1496ff)){for(let _0x590129=0x0;_0x590129<_0x1496ff['length'];_0x590129++){if(!(_0x590129 in _0x1496ff))continue;let _0x5be82b=String(_0x1496ff[_0x590129]);_0x5be82b&&_0x33abec[_0x5a117e(0x112)](_0x4e8265(_0x19bf7a,_0x5be82b));}return _0x33abec;}if(_0x1496ff!=null){let _0x1a1007=String(_0x1496ff);_0x1a1007&&_0x33abec[_0x5a117e(0x112)](_0x4e8265(_0x19bf7a,_0x1a1007));}return _0x33abec;}function _0x4e8265(_0x386e68,_0x341dca){const _0x1fce2c=_0x17666d;for(let _0xc36459 of _0x386e68){if(typeof _0xc36459==_0x1fce2c(0x3af)&&_0xc36459===_0x341dca)return _0xc36459;if(_0xc36459&&typeof _0xc36459=='object'){let _0xaf4041=_0xc36459;if(String(_0xaf4041['id']??_0xaf4041['name']??'')===_0x341dca||String(_0xaf4041[_0x1fce2c(0x208)]??'')===_0x341dca)return String(_0xaf4041['name']??_0xaf4041['id']??_0x341dca);}}return _0x341dca;}function _0x72d39c(_0x498ccb){const _0x5649dc=_0x17666d;if(_0x498ccb&&typeof _0x498ccb=='object'&&!Array['isArray'](_0x498ccb)){let _0x20b367=_0x498ccb;return{'text':String(_0x20b367[_0x5649dc(0x146)]??_0x20b367[_0x5649dc(0x3ae)]??''),'url':String(_0x20b367[_0x5649dc(0x3ae)]??'')};}return{'text':_0x105cc1(_0x498ccb),'url':_0x105cc1(_0x498ccb)};}function _0x1381f5(_0x61f232){const _0x24edbd=_0x17666d;let _0x4f494e=_0x72d39c(_0x61f232);return _0x4f494e[_0x24edbd(0x146)]||_0x4f494e['url'];}function _0x3bc937(_0xf72f19,_0x4a8289){const _0x170418=_0x17666d;return typeof _0xf72f19!=_0x170418(0x2c1)||!Number[_0x170418(0x1c5)](_0xf72f19)?'':_0x2e1927(_0xf72f19,_0x4a8289[_0x170418(0x39d)]);}function _0x5ec162(_0x491793,_0x21796f){const _0x4e51e0=_0x17666d;let _0x28c1f8=typeof _0x491793=='number'?_0x491793:Number(_0x491793);return Number[_0x4e51e0(0x1c5)](_0x28c1f8)?_0x3e1d38(_0x28c1f8,_0x21796f[_0x4e51e0(0x39d)]):'';}function _0x20a50f(_0x55ac22,_0x3e5f78){const _0x1d9d33=_0x17666d;let _0x1d07f8=typeof _0x55ac22=='number'?_0x55ac22:Number(_0x55ac22);return Number[_0x1d9d33(0x1c5)](_0x1d07f8)?_0x125962(_0x1d07f8,_0x3e5f78[_0x1d9d33(0x39d)]):'';}function _0x2338af(_0x159fb1){const _0xc79853=_0x17666d;return Array[_0xc79853(0x46e)](_0x159fb1)?_0x159fb1['flatMap'](_0x5f5a37=>{const _0x4ac9b3=_0xc79853;if(!_0x5f5a37||typeof _0x5f5a37!='object')return[];let _0x4436f7=_0x5f5a37,_0x584269=String(_0x4436f7[_0x4ac9b3(0x208)]??_0x4436f7[_0x4ac9b3(0x3ae)]??'')[_0x4ac9b3(0x11d)]();return _0x584269?[_0x584269]:[];}):[];}function _0x105cc1(_0xf0c3a0){const _0x1e0037=_0x17666d;if(_0xf0c3a0==null)return'';if(typeof _0xf0c3a0==_0x1e0037(0x217))return _0xf0c3a0?_0x1e0037(0x222):_0x1e0037(0x3d2);if(typeof _0xf0c3a0==_0x1e0037(0x2c1))return String(_0xf0c3a0);if(Array[_0x1e0037(0x46e)](_0xf0c3a0)){let _0x1a03b9=[];for(let _0x452303=0x0;_0x452303<_0xf0c3a0[_0x1e0037(0x278)];_0x452303++){if(!(_0x452303 in _0xf0c3a0))continue;let _0x54f20f=_0x105cc1(_0xf0c3a0[_0x452303]);_0x54f20f&&_0x1a03b9['push'](_0x54f20f);}return _0x1a03b9[_0x1e0037(0x1ef)](',\x20');}if(typeof _0xf0c3a0==_0x1e0037(0x297)){let _0x2cf70c=_0xf0c3a0;return String(_0x2cf70c[_0x1e0037(0x95)]??_0x2cf70c['name']??_0x2cf70c[_0x1e0037(0x146)]??_0x2cf70c[_0x1e0037(0x3ae)]??'')['trim']();}return String(_0xf0c3a0);}function _0x5abf1e(_0x1e8112,_0x49e856){const _0x46050b=_0x17666d;let _0x106383=0x0;for(let _0x58c5b1 of _0x49e856)if(_0x58c5b1){if(_0x58c5b1===_0x1e8112){_0x106383=Math[_0x46050b(0x3e8)](_0x106383,0x12c);continue;}if(_0x58c5b1['startsWith'](_0x1e8112)){_0x106383=Math['max'](_0x106383,0xfa);continue;}_0x58c5b1[_0x46050b(0x3ff)](_0x1e8112)&&(_0x106383=Math[_0x46050b(0x3e8)](_0x106383,0xc8));}return _0x106383;}function _0x18fdfc(_0x329efc){const _0x41c04d=_0x17666d;return _0x329efc[_0x41c04d(0x11d)]()[_0x41c04d(0x1a9)](/\s+/g,'\x20')[_0x41c04d(0x35a)]();}function _0x3ec300(_0x2cd265){const _0x518353=_0x17666d;return Array[_0x518353(0x2ba)](new Set(_0x2cd265));}function _0x4d4a24(_0x1c66c6){const _0x1fbd84=_0x17666d;let _0x25271b=[];for(let {rowIndex:_0x522617,fieldIndex:_0x2b8df8,..._0x5ead32}of _0x1c66c6)_0x25271b[_0x1fbd84(0x112)](_0x5ead32);return _0x25271b;}_0x9c1748[_0x17666d(0x2dd)]=_0x36dd63,_0x9c1748['BASE_FIELD_STAT_TYPES']=_0x5c1b52,_0x9c1748[_0x17666d(0x246)]=0x5,_0x9c1748[_0x17666d(0x1d6)]=_0x2e101c,_0x9c1748[_0x17666d(0x283)]='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).',_0x9c1748[_0x17666d(0x22f)]=_0x55eef0,_0x9c1748[_0x17666d(0x24e)]=_0x5693c1,_0x9c1748[_0x17666d(0x37f)]=_0x199153,_0x9c1748['BaseHierarchyError']=_0x2f9e6c,_0x9c1748['BaseHierarchyErrorCode']=_0x18b9d3,_0x9c1748[_0x17666d(0x234)]=_0x51bfae,_0x9c1748[_0x17666d(0x29f)]=_0x7bf11a,_0x9c1748[_0x17666d(0x108)]=_0x77177,_0x9c1748[_0x17666d(0x443)]=_0x3b3459,_0x9c1748[_0x17666d(0x3b9)]=_0x36097,_0x9c1748[_0x17666d(0x356)]=_0x15cba5,_0x9c1748['CreateBaseFieldCommand']=_0x2dcccf,_0x9c1748[_0x17666d(0x360)]=_0x35ff7e,_0x9c1748['CreateBaseTableCommand']=_0x4ba48d,_0x9c1748[_0x17666d(0x2d3)]=_0x2a9a84,_0x9c1748[_0x17666d(0x34b)]=_0x2ddfa7,_0x9c1748[_0x17666d(0xce)]=_0x51198c,_0x9c1748[_0x17666d(0x194)]=_0x5c4563,_0x9c1748[_0x17666d(0xe9)]=_0x273fa1,_0x9c1748[_0x17666d(0x31d)]=_0x3e1911,_0x9c1748[_0x17666d(0x327)]=_0x20f735,_0x9c1748[_0x17666d(0x2bb)]=_0x43821e,_0x9c1748[_0x17666d(0x3e6)]=_0x186600,_0x9c1748[_0x17666d(0x1c6)]=_0x401e28,_0x9c1748[_0x17666d(0x225)]=_0x2403d4,_0x9c1748[_0x17666d(0x3be)]=_0x465d1d,_0x9c1748['IBaseViewRegistryService']=_0x461ab0,_0x9c1748['MoveBaseFieldCommand']=_0x17969b,_0x9c1748[_0x17666d(0x369)]=_0x4aecf2,_0x9c1748[_0x17666d(0x21f)]=_0x670e18,_0x9c1748['RenameBaseTableCommand']=_0xd3d58b,_0x9c1748['RenameBaseViewCommand']=_0xbd2d19,_0x9c1748[_0x17666d(0x43e)]=_0x55eaee,_0x9c1748['SetBaseNameCommand']=_0x48f4a9,_0x9c1748[_0x17666d(0x40f)]=_0x3dfb10,_0x9c1748['SetBaseRecordValuesCommand']=_0xeed559,_0x9c1748[_0x17666d(0x31c)]=_0x309fb7,_0x9c1748[_0x17666d(0x3de)]=_0x475f5d,_0x9c1748[_0x17666d(0x452)]=_0xdd5a2,_0x9c1748[_0x17666d(0x281)]=_0xe8fa1f,_0x9c1748[_0x17666d(0x331)]=_0x2b3c19,_0x9c1748[_0x17666d(0x15b)]=_0x1b69b9,_0x9c1748[_0x17666d(0x1cb)]=_0x4df541,Object[_0x17666d(0x242)](_0x9c1748,_0x17666d(0x2d1),{'enumerable':!0x0,'get':function(){return _0x3aa71f;}}),Object[_0x17666d(0x242)](_0x9c1748,_0x17666d(0xf9),{'enumerable':!0x0,'get':function(){return _0x20df28;}}),_0x9c1748[_0x17666d(0xf3)]=_0x8a17eb,_0x9c1748['UpdateBaseFieldCommand']=_0x1ffb91,_0x9c1748[_0x17666d(0x1e1)]=_0x3c356d,_0x9c1748['UpdateBaseKanbanConfigCommand']=_0x8475ae,_0x9c1748['UpdateBaseRecordOrderCommand']=_0x4cc408,_0x9c1748[_0x17666d(0x236)]=_0x1e5bc4,_0x9c1748['UpdateBaseViewConfigCommand']=_0x1f183c,_0x9c1748['ValidateBaseFormulaCommand']=_0x306611,_0x9c1748[_0x17666d(0xc1)]=_0x23458d,_0x9c1748[_0x17666d(0x14b)]=_0x19fe79,_0x9c1748['calculateBaseFieldStat']=_0x594382,_0x9c1748[_0x17666d(0x23c)]=_0x50a233,_0x9c1748['createBaseHierarchyParentField']=_0x523965,_0x9c1748[_0x17666d(0x98)]=_0x40dc6c,_0x9c1748[_0x17666d(0x358)]=_0x143180,_0x9c1748[_0x17666d(0x145)]=_0x2343f0,_0x9c1748[_0x17666d(0x11f)]=_0x5aa3be,_0x9c1748[_0x17666d(0x3ab)]=_0x164355,_0x9c1748[_0x17666d(0x228)]=_0x42237b,_0x9c1748[_0x17666d(0x2f3)]=_0x4cff78,_0x9c1748[_0x17666d(0x350)]=_0x26c103,_0x9c1748['formatBaseDateValue']=_0x2e1927,_0x9c1748[_0x17666d(0x28b)]=_0x3b904c,_0x9c1748[_0x17666d(0x3f7)]=_0x3e1d38,_0x9c1748['formatBaseProgressValue']=_0x125962,_0x9c1748[_0x17666d(0x41a)]=_0x4619c5,_0x9c1748['getBaseCellFormulaValue']=_0x2d5426,_0x9c1748[_0x17666d(0x311)]=_0x5d14af,_0x9c1748[_0x17666d(0x10d)]=_0x74742f,Object[_0x17666d(0x242)](_0x9c1748,_0x17666d(0x351),{'enumerable':!0x0,'get':function(){const _0x359307=_0x17666d;return _0x4d7b12[_0x359307(0x351)];}}),_0x9c1748[_0x17666d(0x456)]=_0x593e95,_0x9c1748['getBaseHierarchyFieldId']=_0x571551,_0x9c1748['getRecordLinkFieldConfig']=_0x2c9bfd,_0x9c1748[_0x17666d(0xa4)]=_0x28a1e6,_0x9c1748[_0x17666d(0x421)]=_0x757508,_0x9c1748['inferBaseSeparatorStyle']=_0x9060cc,_0x9c1748[_0x17666d(0xdb)]=_0x351a01,_0x9c1748['isBaseFieldStatEmptyValue']=_0x22c0e7,_0x9c1748[_0x17666d(0x337)]=_0x2c6562,_0x9c1748[_0x17666d(0xdf)]=_0x310b1a,_0x9c1748[_0x17666d(0x155)]=_0x216ae2,_0x9c1748[_0x17666d(0x343)]=_0x1b2953,_0x9c1748[_0x17666d(0x174)]=_0x453924,_0x9c1748[_0x17666d(0x469)]=_0x2a15b4,_0x9c1748['normalizeBaseFieldStatsConfig']=_0x4a41fb,_0x9c1748[_0x17666d(0x2e5)]=_0x474d19,_0x9c1748[_0x17666d(0x464)]=_0xaacbb4,_0x9c1748[_0x17666d(0x401)]=_0x13037a,_0x9c1748[_0x17666d(0x259)]=_0x2a161a,_0x9c1748[_0x17666d(0x2e1)]=_0x29e314,_0x9c1748[_0x17666d(0x232)]=_0x1ab613,_0x9c1748['serializeRecordLinkIds']=_0x5a2c52,_0x9c1748[_0x17666d(0x20f)]=_0x1b2201,_0x9c1748[_0x17666d(0x17f)]=_0x42dc2d,_0x9c1748['validateBaseHierarchyMove']=_0x370f2f,_0x9c1748[_0x17666d(0x3f8)]=_0x30fd91,_0x9c1748['validateBaseHierarchyRecordPatches']=_0x4d5504,_0x9c1748[_0x17666d(0x418)]=_0x57d6ff,_0x9c1748[_0x17666d(0x254)]=_0x2eeb56,_0x9c1748[_0x17666d(0x190)]=_0x2bb568,_0x9c1748[_0x17666d(0x2fb)]=_0x475374;}));
|