1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[40,333],{41996:function(e,t,a){"use strict";a.r(t),a.d(t,{Explore2:function(){return Explore2},Phase2AttributeNames:function(){return r}});var o,r,l=a(85893),s=a(67294),n=a(8810),i=a(95868),m=a(28267),E=a(47150),_=a(51807),c=a(83747),T=a(17388),A=a(63212),N=a(62774),S=a.n(N);(o=r||(r={})).AtlasName="AtlasName",o.organType="organType",o.SEX="SEX",o.RACE="RACE",o.ETHNIC_GROUP="ETHNIC_GROUP",o.PRIMARY_DIAGNOSIS_NCI_THESAURUS_NAME="PRIMARY_DIAGNOSIS_NCI_THESAURUS_NAME",o.TISSUE_OR_ORGAN_OF_ORIGIN_UBERON_NAME="TISSUE_OR_ORGAN_OF_ORIGIN_UBERON_NAME",o.TREATMENT_TYPE="TREATMENT_TYPE",o.assayName="assayName",o.level="level",o.FILE_FORMAT="FILE_FORMAT";let I=Object.fromEntries(Object.entries(A).map(e=>{let[t,a]=e;return[t.toLowerCase(),(null==a?void 0:a.title)||""]})),R={AtlasName:{path:"atlas_name",displayName:"Atlas"},organType:{path:"organType",displayName:"Organ"},TISSUE_OR_ORGAN_OF_ORIGIN_UBERON_NAME:{path:"TISSUE_OR_ORGAN_OF_ORIGIN_UBERON_NAME",displayName:"Organ Detailed"},PRIMARY_DIAGNOSIS_NCI_THESAURUS_NAME:{path:"PRIMARY_DIAGNOSIS_NCI_THESAURUS_NAME",displayName:"Disease"},SEX:{path:"SEX",displayName:"Sex"},RACE:{path:"RACE",displayName:"Race"},ETHNIC_GROUP:{path:"ETHNIC_GROUP",displayName:"Ethnicity"},TREATMENT_TYPE:{path:"TREATMENT_TYPE",displayName:"Treatment"},assayName:{path:"assayName",displayName:"Assay"},level:{path:"level",displayName:"Level"},FILE_FORMAT:{path:"FILE_FORMAT",displayName:"File Format"}};function formatValue(e){return Array.isArray(e)?e.join(", "):null==e?"":String(e)}function formatOrganNames(e){let t=Array.isArray(e)?e:e?[e]:[],a=Array.from(new Set(t.map(e=>String(e)).filter(Boolean)));return a.join(", ")}function getOrganDisplayNames(e){var t;return formatOrganNames((null===(t=e.organType)||void 0===t?void 0:t.length)?e.organType:e.TISSUE_OR_ORGAN_OF_ORIGIN_UBERON_NAME)}function formatAtlasName(e){return String(e||"").replace("HTAN2_","").replace(" - "," ")}function FileNameCell(e){let{row:t}=e,a=String(t.FILENAME||""),o=(0,_.TF)(a),r=t.synapseId;return a?(0,l.jsx)(i.Z,{overlay:(0,l.jsx)("span",{children:a}),children:(0,l.jsx)("a",{target:"_blank",rel:"noopener noreferrer",href:r?"https://www.synapse.org/#!Synapse:".concat(r):"#",onClick:e=>{r||e.preventDefault()},children:o})}):(0,l.jsx)("span",{})}let O=[{name:"File Name",selector:"FILENAME",cell:e=>(0,l.jsx)(FileNameCell,{row:e}),sortable:!0},{name:"Atlas Name",selector:e=>formatAtlasName(e.atlas_name),getSearchValue:e=>formatAtlasName(e.atlas_name),sortable:!0},{name:"Biospecimen",selector:e=>formatValue(e.biospecimenIds),getSearchValue:e=>formatValue(e.biospecimenIds),sortable:!0},{name:"Assay",selector:"assayName",sortable:!0},{name:"Level",selector:"level",sortable:!0},{name:"Organ",selector:e=>getOrganDisplayNames(e),getSearchValue:e=>getOrganDisplayNames(e),cell:T.truncatedTableCell,wrap:!0,sortable:!0},{name:"File Format",selector:"FILE_FORMAT",sortable:!0},{name:"Data File ID",selector:"HTAN_DATA_FILE_ID",sortable:!0,omit:!0},{name:"Synapse ID",selector:"synapseId",sortable:!0,omit:!0},{name:"Primary Diagnosis",selector:e=>formatValue(e.PRIMARY_DIAGNOSIS_NCI_THESAURUS_NAME),getSearchValue:e=>formatValue(e.PRIMARY_DIAGNOSIS_NCI_THESAURUS_NAME),cell:T.truncatedTableCell,wrap:!0,sortable:!0},{name:"Parent ID",selector:e=>{var t;return null!==(t=e.HTAN_PARENT_ID)&&void 0!==t?t:e.HTAN_PARENT_DATA_FILE_ID},getSearchValue:e=>{var t;return formatValue(null!==(t=e.HTAN_PARENT_ID)&&void 0!==t?t:e.HTAN_PARENT_DATA_FILE_ID)},sortable:!0,omit:!0},{name:"Sex",selector:e=>formatValue(e.SEX),getSearchValue:e=>formatValue(e.SEX),sortable:!0},{name:"Ethnic Group",selector:e=>formatValue(e.ETHNIC_GROUP),getSearchValue:e=>formatValue(e.ETHNIC_GROUP),sortable:!0},{name:"Race",selector:e=>formatValue(e.RACE),getSearchValue:e=>formatValue(e.RACE),sortable:!0},{name:"Vital Status",selector:e=>formatValue(e.VITAL_STATUS),getSearchValue:e=>formatValue(e.VITAL_STATUS),sortable:!0},{name:"Treatment Type",selector:e=>formatValue(e.TREATMENT_TYPE),getSearchValue:e=>formatValue(e.TREATMENT_TYPE),cell:e=>formatValue(e.TREATMENT_TYPE),sortable:!0,omit:!0},{name:"Organ Type",selector:e=>formatOrganNames(e.TISSUE_OR_ORGAN_OF_ORIGIN_UBERON_NAME),getSearchValue:e=>formatOrganNames(e.TISSUE_OR_ORGAN_OF_ORIGIN_UBERON_NAME),cell:T.truncatedTableCell,wrap:!0,sortable:!0,omit:!0},{name:"Workflow Type",selector:"SCRNASEQ_WORKFLOW_TYPE",sortable:!0,omit:!0},{name:"Workflow Parameters Description",selector:"SCRNASEQ_WORKFLOW_PARAMETERS_DESCRIPTION",sortable:!0,omit:!0},{name:"Workflow Version",selector:"WORKFLOW_VERSION",sortable:!0,omit:!0},{name:"Workflow Link",selector:"WORKFLOW_LINK",sortable:!0,omit:!0},{name:"Diagnosis IDs",selector:"diagnosisIds",sortable:!0,omit:!0},{name:"Demographics IDs",selector:"demographicsIds",sortable:!0,omit:!0},{name:"Therapy IDs",selector:"therapyIds",sortable:!0,omit:!0},{name:"Raw Sequencing",selector:"isRawSequencing",sortable:!0,omit:!0},{name:"Atlas ID",selector:"atlasid",sortable:!0,omit:!0},{name:"BQ Hash ID",selector:"BQ_Hash_ID",sortable:!0,omit:!0},{name:"File Name (Registry)",selector:"File_Name",sortable:!0,omit:!0},{name:"Created By",selector:"Created_By",sortable:!0,omit:!0},{name:"Created On",selector:"Created_On",sortable:!0,omit:!0},{name:"Modified On",selector:"modifiedOn",sortable:!0,omit:!0},{name:"Modified By",selector:"modifiedBy",sortable:!0,omit:!0},{name:"Description",selector:"Description",sortable:!0,omit:!0},{name:"Etag",selector:"Etag",sortable:!0,omit:!0},{name:"Path",selector:"Path",sortable:!0,omit:!0},{name:"Entity Type",selector:"Entity_Type",sortable:!0,omit:!0},{name:"Current Version",selector:"Current_Version",sortable:!0,omit:!0},{name:"Parent Entity ID",selector:"Parent_EntityId",sortable:!0,omit:!0},{name:"Benefactor Entity ID",selector:"Benefactor_EntityId",sortable:!0,omit:!0},{name:"Project Entity ID",selector:"Project_EntityId",sortable:!0,omit:!0},{name:"Folder Entity ID",selector:"Folder_EntityId",sortable:!0,omit:!0},{name:"Status Folder Name",selector:"Status_Folder_Name",sortable:!0,omit:!0},{name:"File Handle ID",selector:"File_Handle_Id",sortable:!0,omit:!0},{name:"File Handle Type",selector:"File_Handle_Type",sortable:!0,omit:!0},{name:"Data File Name",selector:"dataFileName",sortable:!0,omit:!0},{name:"File Size (Bytes)",selector:"File_Size_Bytes",sortable:!0,omit:!0},{name:"File MD5",selector:"File_MD5",sortable:!0,omit:!0},{name:"S3 Bucket",selector:"S3_Bucket",sortable:!0,omit:!0},{name:"S3 Key",selector:"S3_Key",sortable:!0,omit:!0},{name:"Checksum",selector:"CHECKSUM",sortable:!0,omit:!0},{name:"Protocol Link",selector:"PROTOCOL_LINK",sortable:!0,omit:!0},{name:"Sequencing Platform",selector:"SEQUENCING_PLATFORM",sortable:!0,omit:!0},{name:"Sequencing Batch ID",selector:"SEQUENCING_BATCH_ID",sortable:!0,omit:!0},{name:"Library Layout",selector:"LIBRARY_LAYOUT",sortable:!0,omit:!0},{name:"Library Preparation Days From Index",selector:"LIBRARY_PREPARATION_DAYS_FROM_INDEX",sortable:!0,omit:!0},{name:"Technical Replicate Group",selector:"TECHNICAL_REPLICATE_GROUP",sortable:!0,omit:!0},{name:"Genomic Reference",selector:"GENOMIC_REFERENCE",sortable:!0,omit:!0},{name:"Genomic Reference URL",selector:"GENOMIC_REFERENCE_URL",
1sortable:!0,omit:!0},{name:"Genome Annotation URL",selector:"GENOME_ANNOTATION_URL",sortable:!0,omit:!0},{name:"Lane Number",selector:"LANE_NUMBER",sortable:!0,omit:!0},{name:"Read Length",selector:"READ_LENGTH",sortable:!0,omit:!0},{name:"Adapter Name",selector:"ADAPTER_NAME",sortable:!0,omit:!0},{name:"Target Depth",selector:"TARGET_DEPTH",sortable:!0,omit:!0},{name:"Read Indicator",selector:"READ_INDICATOR",sortable:!0,omit:!0},{name:"Adapter Sequence",selector:"ADAPTER_SEQUENCE",sortable:!0,omit:!0},{name:"Base Caller Name",selector:"BASE_CALLER_NAME",sortable:!0,omit:!0},{name:"Base Caller Version",selector:"BASE_CALLER_VERSION",sortable:!0,omit:!0},{name:"Flow Cell Barcode",selector:"FLOW_CELL_BARCODE",sortable:!0,omit:!0},{name:"Multiplex Barcode",selector:"MULTIPLEX_BARCODE",sortable:!0,omit:!0},{name:"Target Capture Kit",selector:"TARGET_CAPTURE_KIT",sortable:!0,omit:!0},{name:"Fragment Mean Length",selector:"FRAGMENT_MEAN_LENGTH",sortable:!0,omit:!0},{name:"Fragment Maximum Length",selector:"FRAGMENT_MAXIMUM_LENGTH",sortable:!0,omit:!0},{name:"Fragment Minimum Length",selector:"FRAGMENT_MINIMUM_LENGTH",sortable:!0,omit:!0},{name:"Fragment Std Dev Length",selector:"FRAGMENT_STANDARD_DEVIATION_LENGTH",sortable:!0,omit:!0},{name:"Size Selection Range",selector:"SIZE_SELECTION_RANGE",sortable:!0,omit:!0},{name:"Library Selection Method",selector:"LIBRARY_SELECTION_METHOD",sortable:!0,omit:!0},{name:"Library Preparation Kit Name",selector:"LIBRARY_PREPARATION_KIT_NAME",sortable:!0,omit:!0},{name:"Library Preparation Kit Vendor",selector:"LIBRARY_PREPARATION_KIT_VENDOR",sortable:!0,omit:!0},{name:"Library Preparation Kit Version",selector:"LIBRARY_PREPARATION_KIT_VERSION",sortable:!0,omit:!0},{name:"To Trim Adapter Sequence",selector:"TO_TRIM_ADAPTER_SEQUENCE",sortable:!0,omit:!0},{name:"Alignment Workflow Type",selector:"ALIGNMENT_WORKFLOW_TYPE",sortable:!0,omit:!0},{name:"QC Workflow Type",selector:"QC_WORKFLOW_TYPE",sortable:!0,omit:!0},{name:"QC Workflow Version",selector:"QC_WORKFLOW_VERSION",sortable:!0,omit:!0},{name:"QC Workflow Link",selector:"QC_WORKFLOW_LINK",sortable:!0,omit:!0},{name:"Short Reads",selector:"SHORT_READS",sortable:!0,omit:!0},{name:"Total Reads",selector:"TOTAL_READS",sortable:!0,omit:!0},{name:"Total Uniquely Mapped",selector:"TOTAL_UNIQUELY_MAPPED",sortable:!0,omit:!0},{name:"Total Unmapped Reads",selector:"TOTAL_UNMAPPED_READS",sortable:!0,omit:!0},{name:"Mean Coverage",selector:"MEAN_COVERAGE",sortable:!0,omit:!0},{name:"Average Read Length",selector:"AVERAGE_READ_LENGTH",sortable:!0,omit:!0},{name:"Average Insert Size",selector:"AVERAGE_INSERT_SIZE",sortable:!0,omit:!0},{name:"Average Base Quality",selector:"AVERAGE_BASE_QUALITY",sortable:!0,omit:!0},{name:"Percent GC Content",selector:"PERCENT_GC_CONTENT",sortable:!0,omit:!0},{name:"Contamination",selector:"CONTAMINATION",sortable:!0,omit:!0},{name:"Contamination Error",selector:"CONTAMINATION_ERROR",sortable:!0,omit:!0},{name:"Pairs on Different Chr",selector:"PAIRS_ON_DIFF_CHR",sortable:!0,omit:!0},{name:"Proportion Reads Mapped",selector:"PROPORTION_READS_MAPPED",sortable:!0,omit:!0},{name:"Proportion Reads Duplicated",selector:"PROPORTION_READS_DUPLICATED",sortable:!0,omit:!0},{name:"Proportion Base Mismatch",selector:"PROPORTION_BASE_MISMATCH",sortable:!0,omit:!0},{name:"Proportion Coverage 10X",selector:"PROPORTION_COVERAGE_10X",sortable:!0,omit:!0},{name:"Proportion Coverage 30X",selector:"PROPORTION_COVERAGE_30X",sortable:!0,omit:!0},{name:"Proportion Targets No Coverage",selector:"PROPORTION_TARGETS_NO_COVERAGE",sortable:!0,omit:!0},{name:"Adapter Content",selector:"ADAPTER_CONTENT",sortable:!0,omit:!0},{name:"Basic Statistics",selector:"BASIC_STATISTICS",sortable:!0,omit:!0},{name:"Index File Name",selector:"INDEX_FILE_NAME",sortable:!0,omit:!0},{name:"Is Lowest Level",selector:"IS_LOWEST_LEVEL",sortable:!0,omit:!0},{name:"Encoding",selector:"ENCODING",sortable:!0,omit:!0},{name:"Overrepresented Sequences",selector:"OVERREPRESENTED_SEQUENCES",sortable:!0,omit:!0},{name:"Per Base N Content",selector:"PER_BASE_N_CONTENT",sortable:!0,omit:!0},{name:"Per Base Sequence Content",selector:"PER_BASE_SEQUENCE_CONTENT",sortable:!0,omit:!0},{name:"Per Base Sequence Quality",selector:"PER_BASE_SEQUENCE_QUALITY",sortable:!0,omit:!0},{name:"Per Tile Sequence Quality",selector:"PER_TILE_SEQUENCE_QUALITY",sortable:!0,omit:!0},{name:"Per Sequence GC Content",selector:"PER_SEQUENCE_GC_CONTENT",sortable:!0,omit:!0},{name:"Per Sequence Quality Score",selector:"PER_SEQUENCE_QUALITY_SCORE",sortable:!0,omit:!0},{name:"Sequence Duplication Levels",selector:"SEQUENCE_DUPLICATION_LEVELS",sortable:!0,omit:!0},{name:"Sequence Length Distribution",selector:"SEQUENCE_LENGTH_DISTRIBUTION",sortable:!0,omit:!0},{name:"MSI Score",selector:"MSI_SCORE",sortable:!0,omit:!0},{name:"MSI Status",selector:"MSI_STATUS",sortable:!0,omit:!0},{name:"MSI Workflow Link",selector:"MSI_WORKFLOW_LINK",sortable:!0,omit:!0},{name:"Somatic Variants Sample Type",selector:"SOMATIC_VARIANTS_SAMPLE_TYPE",sortable:!0,omit:!0},{name:"Somatic Variants Workflow Type",selector:"SOMATIC_VARIANTS_WORKFLOW_TYPE",sortable:!0,omit:!0}
1,{name:"Somatic Variants Workflow URL",selector:"SOMATIC_VARIANTS_WORKFLOW_URL",sortable:!0,omit:!0},{name:"Germline Variants Workflow Type",selector:"GERMLINE_VARIANTS_WORKFLOW_TYPE",sortable:!0,omit:!0},{name:"Germline Variants Workflow URL",selector:"GERMLINE_VARIANTS_WORKFLOW_URL",sortable:!0,omit:!0},{name:"Structural Variant Workflow Type",selector:"STRUCTURAL_VARIANT_WORKFLOW_TYPE",sortable:!0,omit:!0},{name:"Structural Variant Workflow URL",selector:"STRUCTURAL_VARIANT_WORKFLOW_URL",sortable:!0,omit:!0},{name:"Spike In",selector:"SPIKE_IN",sortable:!0,omit:!0},{name:"Dissociation Method",selector:"DISSOCIATION_METHOD",sortable:!0,omit:!0},{name:"Nucleic Acid Source",selector:"NUCLEIC_ACID_SOURCE",sortable:!0,omit:!0},{name:"Library Construction Method",selector:"LIBRARY_CONSTRUCTION_METHOD",sortable:!0,omit:!0},{name:"Reverse Transcription Primer",selector:"REVERSE_TRANSCRIPTION_PRIMER",sortable:!0,omit:!0},{name:"Single Cell Isolation Method",selector:"SINGLE_CELL_ISOLATION_METHOD",sortable:!0,omit:!0},{name:"Cryopreserved Cells in Sample",selector:"CRYOPRESERVED_CELLS_IN_SAMPLE",sortable:!0,omit:!0},{name:"UMI Tag",selector:"UMI_TAG",sortable:!0,omit:!0},{name:"Cell Barcode Tag",selector:"CELL_BARCODE_TAG",sortable:!0,omit:!0},{name:"Whitelist Cell Barcode File Link",selector:"WHITELIST_CELL_BARCODE_FILE_LINK",sortable:!0,omit:!0},{name:"Cell Total",selector:"CELL_TOTAL",sortable:!0,omit:!0},{name:"Cell Median Number of Genes",selector:"CELL_MEDIAN_NUMBER_GENES",sortable:!0,omit:!0},{name:"Cell Median Number of Reads",selector:"CELL_MEDIAN_NUMBER_READS",sortable:!0,omit:!0},{name:"Matrix Type",selector:"MATRIX_TYPE",sortable:!0,omit:!0},{name:"Data Category",selector:"DATA_CATEGORY",sortable:!0,omit:!0},{name:"Linked Matrices",selector:"LINKED_MATRICES",sortable:!0,omit:!0},{name:"AnnData Schema Version",selector:"ANNDATA_SCHEMA_VERSION",sortable:!0,omit:!0},{name:"AnnData Structure Validated",selector:"ANNDATA_STRUCTURE_VALIDATED",sortable:!0,omit:!0},{name:"License",selector:"LICENSE",sortable:!0,omit:!0},{name:"Species",selector:"SPECIES",sortable:!0,omit:!0},{name:"Image Modality",selector:"IMAGE_MODALITY",sortable:!0,omit:!0},{name:"Staining Method",selector:"STAINING_METHOD",sortable:!0,omit:!0},{name:"Imaging Protocol",selector:"IMAGING_PROTOCOL",sortable:!0,omit:!0},{name:"Imaging Software",selector:"IMAGING_SOFTWARE",sortable:!0,omit:!0},{name:"Imaging Equipment Model",selector:"IMAGING_EQUIPMENT_MODEL",sortable:!0,omit:!0},{name:"Imaging Equipment Manufacturer",selector:"IMAGING_EQUIPMENT_MANUFACTURER",sortable:!0,omit:!0},{name:"Nominal Magnification",selector:"NOMINAL_MAGNIFICATION",sortable:!0,omit:!0},{name:"Lens Numerical Aperture",selector:"LENS_NUMERICAL_APERTURE",sortable:!0,omit:!0},{name:"Objective",selector:"OBJECTIVE",sortable:!0,omit:!0},{name:"Immersion",selector:"IMMERSION",sortable:!0,omit:!0},{name:"Passed QC",selector:"PASSED_QC",sortable:!0,omit:!0},{name:"QC Comment",selector:"QC_COMMENT",sortable:!0,omit:!0},{name:"De-Identified",selector:"DE_IDENTIFIED",sortable:!0,omit:!0},{name:"Has Slide Label",selector:"HAS_SLIDE_LABEL",sortable:!0,omit:!0},{name:"Slide Label Redacted",selector:"SLIDE_LABEL_REDACTED",sortable:!0,omit:!0},{name:"Citation or DOI",selector:"CITATION_OR_DOI",sortable:!0,omit:!0},{name:"Has Annotations",selector:"HAS_ANNOTATIONS",sortable:!0,omit:!0},{name:"Annotation Type",selector:"ANNOTATION_TYPE",sortable:!0,omit:!0},{name:"Experimental Strategy and Data Subtypes",selector:"EXPERIMENTAL_STRATEGY_AND_DATA_SUBTYPES",sortable:!0,omit:!0},{name:"De-Identification Software",selector:"DE_IDENTIFICATION_SOFTWARE",sortable:!0,omit:!0},{name:"De-Identification Method Type",selector:"DE_IDENTIFICATION_METHOD_TYPE",sortable:!0,omit:!0},{name:"De-Identification Method Description",selector:"DE_IDENTIFICATION_METHOD_DESCRIPTION",sortable:!0,omit:!0},{name:"HTAN Panel ID",selector:"HTAN_PANEL_ID",sortable:!0,omit:!0},{name:"Imaging Assay Type",selector:"IMAGING_ASSAY_TYPE",sortable:!0,omit:!0},{name:"Size C",selector:"SIZE_C",sortable:!0,omit:!0},{name:"Size T",selector:"SIZE_T",sortable:!0,omit:!0},{name:"Size X",selector:"SIZE_X",sortable:!0,omit:!0},{name:"Size Y",selector:"SIZE_Y",sortable:!0,omit:!0},{name:"Size Z",selector:"SIZE_Z",sortable:!0,omit:!0},{name:"Physical Size X",selector:"PHYSICAL_SIZE_X",sortable:!0,omit:!0},{name:"Physical Size Y",selector:"PHYSICAL_SIZE_Y",sortable:!0,omit:!0},{name:"Physical Size Z",selector:"PHYSICAL_SIZE_Z",sortable:!0,omit:!0},{name:"Pyramid",selector:"PYRAMID",sortable:!0,omit:!0},{name:"Working Distance",selector:"WORKING_DISTANCE",sortable:!0,omit:!0},{name:"Segmentation Method",selector:"SEGMENTATION_METHOD",sortable:!0,omit:!0},{name:"Segmentation Parameters",selector:"SEGMENTATION_PARAMETERS",sortable:!0,omit:!0},{name:"Segmentation Workflow Type",selector:"SEGMENTATION_WORKFLOW_TYPE",sortable:!0,omit:!0}
1,{name:"Segmentation Workflow URL",selector:"SEGMENTATION_WORKFLOW_URL",sortable:!0,omit:!0},{name:"Segmentation Workflow Version",selector:"SEGMENTATION_WORKFLOW_VERSION",sortable:!0,omit:!0},{name:"Segmentation Annotation Type",selector:"SEGMENTATION_ANNOTATION_TYPE",sortable:!0,omit:!0},{name:"Number of Objects",selector:"NUMBER_OF_OBJECTS",sortable:!0,omit:!0},{name:"Number of Features",selector:"NUMBER_OF_FEATURES",sortable:!0,omit:!0},{name:"Feature Extraction Method",selector:"FEATURE_EXTRACTION_METHOD",sortable:!0,omit:!0},{name:"Feature Extraction Parameters",selector:"FEATURE_EXTRACTION_PARAMETERS",sortable:!0,omit:!0},{name:"Feature Extraction Workflow Type",selector:"FEATURE_EXTRACTION_WORKFLOW_TYPE",sortable:!0,omit:!0},{name:"Feature Extraction Workflow URL",selector:"FEATURE_EXTRACTION_WORKFLOW_URL",sortable:!0,omit:!0},{name:"Feature Extraction Workflow Version",selector:"FEATURE_EXTRACTION_WORKFLOW_VERSION",sortable:!0,omit:!0},{name:"Platform",selector:"PLATFORM",sortable:!0,omit:!0},{name:"Assay Type",selector:"ASSAY_TYPE",sortable:!0,omit:!0},{name:"Has Images",selector:"HAS_IMAGES",sortable:!0,omit:!0},{name:"Image Types",selector:"IMAGE_TYPES",sortable:!0,omit:!0},{name:"Has Probe Set",selector:"HAS_PROBE_SET",sortable:!0,omit:!0},{name:"Has Sequencing",selector:"HAS_SEQUENCING",sortable:!0,omit:!0},{name:"Bundle Contents",selector:"BUNDLE_CONTENTS",sortable:!0,omit:!0},{name:"Sequencing File Type",selector:"SEQUENCING_FILE_TYPE",sortable:!0,omit:!0},{name:"Has Registration Files",selector:"HAS_REGISTRATION_FILES",sortable:!0,omit:!0},{name:"Run ID",selector:"RUN_ID",sortable:!0,omit:!0},{name:"Panel Name",selector:"PANEL_NAME",sortable:!0,omit:!0},{name:"Panel Size Total Targets",selector:"PANEL_SIZE_TOTAL_TARGETS",sortable:!0,omit:!0},{name:"Spatial Assay Type",selector:"SPATIAL_ASSAY_TYPE",sortable:!0,omit:!0},{name:"Region Area",selector:"REGION_AREA",sortable:!0,omit:!0},{name:"Capture Area",selector:"CAPTURE_AREA",sortable:!0,omit:!0},{name:"RNA Measured",selector:"RNA_MEASURED",sortable:!0,omit:!0},{name:"Protein Measured",selector:"PROTEIN_MEASURED",sortable:!0,omit:!0},{name:"CytAssist Used",selector:"CYTASSIST_USED",sortable:!0,omit:!0},{name:"Has Clustering",selector:"HAS_CLUSTERING",sortable:!0,omit:!0},{name:"Clustering Method",selector:"CLUSTERING_METHOD",sortable:!0,omit:!0},{name:"Number of Clusters",selector:"NUMBER_OF_CLUSTERS",sortable:!0,omit:!0},{name:"Transcriptome Type",selector:"TRANSCRIPTOME_TYPE",sortable:!0,omit:!0},{name:"Sequencing Depth",selector:"SEQUENCING_DEPTH",sortable:!0,omit:!0},{name:"Sequencing Instrument",selector:"SEQUENCING_INSTRUMENT",sortable:!0,omit:!0},{name:"Sequencing Configuration",selector:"SEQUENCING_CONFIGURATION",sortable:!0,omit:!0},{name:"Assay Chemistry Version",selector:"ASSAY_CHEMISTRY_VERSION",sortable:!0,omit:!0},{name:"Software and Version",selector:"SOFTWARE_AND_VERSION",sortable:!0,omit:!0},{name:"Slide Serial Number",selector:"SLIDE_SERIAL_NUMBER",sortable:!0,omit:!0},{name:"Has Cell Segmentation",selector:"HAS_CELL_SEGMENTATION",sortable:!0,omit:!0},{name:"Cell Segmentation Method",selector:"CELL_SEGMENTATION_METHOD",sortable:!0,omit:!0},{name:"Number of Segmented Cells",selector:"NUMBER_OF_SEGMENTED_CELLS",sortable:!0,omit:!0},{name:"Cell Segmented Object Type",selector:"CELL_SEGMENTED_OBJECT_TYPE",sortable:!0,omit:!0},{name:"Has Dimensionality Reduction",selector:"HAS_DIMENSIONALITY_REDUCTION",sortable:!0,omit:!0},{name:"Dimensionality Reduction Method",selector:"DIMENSIONALITY_REDUCTION_METHOD",sortable:!0,omit:!0},{name:"Portal Preview File",selector:"PORTAL_PREVIEW_FILE",sortable:!0,omit:!0},{name:"QC Feature Number",selector:"QC_FEATURE_NUMBER",sortable:!0,omit:!0},{name:"QC Total Genes Detected",selector:"QC_TOTAL_GENES_DETECTED",sortable:!0,omit:!0},{name:"QC Total Number of Reads",selector:"QC_TOTAL_NUMBER_OF_READS",sortable:!0,omit:!0},{name:"QC Mean Reads per Feature",selector:"QC_MEAN_READS_PER_FEATURE",sortable:!0,omit:!0},{name:"QC Spatial Unit",selector:"QC_SPATIAL_UNIT",sortable:!0,omit:!0},{name:"Same Section Imaging ID",selector:"SAME_SECTION_IMAGING_ID",sortable:!0,omit:!0},{name:"Same Section Imaging Channels",selector:"SAME_SECTION_IMAGING_CHANNELS",sortable:!0,omit:!0},{name:"Same Section Imaging Modality",selector:"SAME_SECTION_IMAGING_MODA
1LITY",sortable:!0,omit:!0},{name:"Has Image",selector:"HAS_IMAGE",sortable:!0,omit:!0},{name:"Image Type",selector:"IMAGE_TYPE",sortable:!0,omit:!0},{name:"Cell Types",selector:"CELL_TYPES",sortable:!0,omit:!0},{name:"Has Raw Array",selector:"HAS_RAW_ARRAY",sortable:!0,omit:!0},{name:"Has Normalised Array",selector:"HAS_NORMALISED_ARRAY",sortable:!0,omit:!0},{name:"Normalisation Method",selector:"NORMALISATION_METHOD",sortable:!0,omit:!0},{name:"Has Cell Type Calling",selector:"HAS_CELL_TYPE_CALLING",sortable:!0,omit:!0},{name:"Cell Type Calling Method",selector:"CELL_TYPE_CALLING_METHOD",sortable:!0,omit:!0},{name:"Tool Compatibility",selector:"TOOL_COMPATIBILITY",sortable:!0,omit:!0}],b=[{name:"HTAN Participant ID",selector:"HTAN_PARTICIPANT_ID",sortable:!0},{name:"Atlas Name",selector:e=>formatAtlasName(e.atlas_name),getSearchValue:e=>formatAtlasName(e.atlas_name),sortable:!0},{name:"Age in Days at Diagnosis (Years)",selector:e=>{let t=Number(e.AGE_IN_DAYS_AT_DIAGNOSIS);return Number.isFinite(t)&&t>0?Math.floor(t/365.25):""},sortable:!0},{name:"Primary Diagnosis",selector:"PRIMARY_DIAGNOSIS_NCI_THESAURUS_NAME",sortable:!0},{name:"Organ Type",selector:e=>formatOrganNames(e.TISSUE_OR_ORGAN_OF_ORIGIN_UBERON_NAME),getSearchValue:e=>formatOrganNames(e.TISSUE_OR_ORGAN_OF_ORIGIN_UBERON_NAME),sortable:!0},{name:"Sex",selector:"SEX",sortable:!0},{name:"Ethnic Group",selector:"ETHNIC_GROUP",sortable:!0},{name:"Race",selector:"RACE",sortable:!0},{name:"Vital Status",selector:"VITAL_STATUS",sortable:!0},{name:"Tumor Grade",selector:"TUMOR_GRADE",sortable:!0},{name:"Last Known Disease Status",selector:"LAST_KNOWN_DISEASE_STATUS",sortable:!0,omit:!0},{name:"Age in Days at Last Known Disease Status",selector:"AGE_IN_DAYS_AT_LAST_KNOWN_DISEASE_STATUS",sortable:!0,omit:!0},{name:"Treatment Type",selector:e=>formatValue(e.TREATMENT_TYPE),getSearchValue:e=>formatValue(e.TREATMENT_TYPE),cell:e=>formatValue(e.TREATMENT_TYPE),sortable:!0,omit:!0},{name:"Gender Identity",selector:"GENDER_IDENTITY",sortable:!0,omit:!0},{name:"Cause of Death",selector:"CAUSE_OF_DEATH",sortable:!0,omit:!0},{name:"Cause of Death Source",selector:"CAUSE_OF_DEATH_SOURCE",sortable:!0,omit:!0},{name:"Age in Days at Death (Years)",selector:e=>{let t=Number(e.AGE_IN_DAYS_AT_DEATH);return Number.isFinite(t)&&t>0?Math.floor(t/365.25):""},sortable:!0,omit:!0},{name:"Age in Days at Last Known Survival Status (Years)",selector:e=>{let t=Number(e.AGE_IN_DAYS_AT_LAST_KNOWN_SURVIVAL_STATUS);return Number.isFinite(t)&&t>0?Math.floor(t/365.25):""},sortable:!0,omit:!0},{name:"Method of Diagnosis",selector:"METHOD_OF_DIAGNOSIS",sortable:!0,omit:!0},{name:"Metastasis at Diagnosis",selector:"METASTASIS_AT_DIAGNOSIS",sortable:!0,omit:!0},{name:"Tumor Classification Category",selector:"TUMOR_CLASSIFICATION_CATEGORY",sortable:!0,omit:!0},{name:"Gleason Grade Group",selector:"GLEASON_GRADE_GROUP",sortable:!0,omit:!0},{name:"Clinical T Stage",selector:"CLINICAL_T_STAGE",sortable:!0,omit:!0},{name:"Clinical N Stage",selector:"CLINICAL_N_STAGE",sortable:!0,omit:!0},{name:"Clinical M Stage",selector:"CLINICAL_M_STAGE",sortable:!0,omit:!0},{name:"Tumor Staged",selector:"TUMOR_STAGED",sortable:!0,omit:!0},{name:"AJCC Staging System Edition",selector:"AJCC_STAGING_SYSTEM_EDITION",sortable:!0,omit:!0},{name:"Molecular Analysis Method",selector:"MOLECULAR_ANALYSIS_METHOD",sortable:!0,omit:!0},{name:"Gene Symbol",selector:"GENE_SYMBOL",sortable:!0,omit:!0},{name:"Test Result",selector:"TEST_RESULT",sortable:!0,omit:!0},{name:"Synapse ID",selector:"synapseId",sortable:!0,omit:!0},{name:"Atlas ID",selector:"atlasid",sortable:!0,omit:!0}],C=[{name:"HTAN Biospecimen ID",selector:"HTAN_BIOSPECIMEN_ID",sortable:!0},{name:"Atlas Name",selector:e=>formatAtlasName(e.atlas_name),getSearchValue:e=>formatAtlasName(e.atlas_name),sortable:!0},{name:"HTAN Parent ID",selector:"HTAN_PARENT_ID",getSearchValue:e=>formatValue(e.HTAN_PARENT_ID),sortable:!0},{name:"Timepoint",selector:"TIMEPOINT",sortable:!0,omit:!0},{name:"HTAN Participant ID",selector:"HTAN_PARTICIPANT_ID",sortable:!0,omit:!0},{name:"Source HTAN Biospecimen ID",selector:"SOURCE_HTAN_BIOSPECIMEN_ID",sortable:!0,omit:!0},{name:"Adjacent Biospecimen IDs",selector:"ADJACENT_BIOSPECIMEN_IDS",sortable:!0,omit:!0},{name:"Biospecimen Type",selector:"BIOSPECIMEN_TYPE",getSearchValue:e=>formatValue(e.BIOSPECIMEN_TYPE),sortable:!0},{name:"Acquisition Method Type",selector:"ACQUISITION_METHOD_TYPE",getSearchValue:e=>formatValue(e.ACQUISITION_METHOD_TYPE),sortable:!0},{name:"Storage Method",selector:"STORAGE_METHOD",getSearchValue:e=>formatValue(e.STORAGE_METHOD),sortable:!0},{name:"Preservation Method",selector:e=>e.PRESERVATION_METHOD,getSearchValue:e=>formatValue(e.PRESERVATION_METHOD),sortable:!0,omit:!0},{name:"Site Data Source",selector:"SITE_DATA_SOURCE",sortable:!0,omit:!0},{name:"Processing Location",selector:"PROCESSING_LOCATION",sortable:!0,omit:!0},{name:"Degree of Dysplasia",selector:"DEGREE_OF_DYSPLASIA",sortable:!0,omit:!0},{name:"Percent Necrosis",selector:"PERCENT_NECROSIS",sortable:!0,omit:!0},{name:"Percent Normal Cells",selector:"PERCENT_NORMAL_CELLS",sortable:!0,omit:!0},{name:"Percent Tumor Cells",selector:"PERCENT_TUMOR_CELLS",sortable:!0,omit:!0},{name:"Percent Tumor Nuclei",selector:"PERCENT_TUMOR_NUCLEI",sortable:!0,omit:!0},{name:"Slicing Method",selector:"SLICING_METHOD",sortable:!0,omit:!0},{name:"Method of Nucleic Acid Isolation",selector:"METHOD_OF_NUCLEIC_ACID_ISOLATION",sortable:!0,omit:!0},{name:"Analyte Type",selector:"ANALYTE_TYPE",sortable:!0,omit:!0},{name:"Fixation Duration",selector:"FIXATION_DURATION_IN_MINUTES",sortable:!0,omit:!0},{name:"Histologic Morphology Code",selector:"ICD_O_3_TISSUE_MORPHOLOGY",sortable:!0,omit:!0},{name:"Section Thickness Value",selector:"SECTION_THICKNESS_VALUE",sortable:!0,omit:!0},{name:"Age in Days at Sectioning",selector:"AGE_IN_DAYS_AT_SECTIONING",sortable:!0,omit:!0},{name:"Shipping Condition Type",selector:"SHIPPING_CONDITION_TYPE",sortable:!0,omit:!0},{name:"Slide Charge Type",selector:"SLIDE_CHARGE_TYPE",sortable:!0,omit:!0},{name:"Specimen Laterality",selector:"SPECIMEN_LATERALITY",sortable:!0,omit:!0},{name:"Tumor Classification",selector:"TUMOR_CLASSIFICATION",sortable:!0,omit:!0},{name:"Age in Days at Specimen Collection",selector:"AGE_IN_DAYS_AT_SPECIMEN_COLLECTION",sortable:!0,omit:!0},{name:"Age in Days at Specimen Processing",selector:"AGE_IN_DAYS_AT_SPECIMEN_PROCESSING",sortable:!0,omit:!0},{name:"Longest Dimension",selector:"LONGEST_DIMENSION",sortable:!0,omit:!0},{name:"Shortest Dimension",selector:"SHORTEST_DIMENSION",sortable:!0,omit:!0},{name:"Section Number in Sequence",selector:"SECTION_NUMBER_IN_SEQUENCE",sortable:!0,omit:!0},{name:"Is Tissue Section",selector:"IS_TISSUE_SECTION",sortable:!0,omit:!0},{name:"ICD-10 Disease Code",selector:"ICD_10_DISEASE_CODE",sortable:!0,omit:!0},{name:"Site of Resection or Biopsy",selector:"SITE_OF_RESECTION_OR_BIOPSY",sortable:!0,omit:!0},{name:"Specimen Cellular Architecture",selector:"SPECIMEN_CELLULAR_ARCHITECTURE",sortable:!0,omit:!0},{name:"Preservation Method Temperature",selector:"PRESERVATION_METHOD_TEMPERATURE",
1sortable:!0,omit:!0},{name:"Synapse ID",selector:"synapseId",sortable:!0,omit:!0},{name:"Atlas ID",selector:"atlasid",sortable:!0,omit:!0}],u=[{name:"Atlas Name",selector:e=>formatAtlasName(e.atlas_name),sortable:!0},{name:"Atlas Description",selector:"atlas_description",sortable:!0,cell:e=>(0,l.jsx)(m.m9,{atlasMeta:{htan_id:e.atlasid},atlasName:e.atlas_description})},{name:"Cases",selector:"caseCount",sortable:!0,right:!0},{name:"Biospecimens",selector:"biospecimenCount",sortable:!0,right:!0},{name:"Files",selector:"fileCount",sortable:!0,right:!0}];function Phase2Table(e){let{data:t,columns:a,defaultSortField:o}=e;return(0,l.jsx)(c.Nz,{columns:a,data:t,defaultSortField:o,striped:!0,dense:!1,noHeader:!0,pagination:!0,paginationPerPage:25,paginationRowsPerPageOptions:[10,25,50,100],customStyles:(0,c.Ek)()})}function AtlasSummaryTable(e){let{data:t,selectedAtlasNames:a,onAtlasSelectionChange:o}=e;return(0,l.jsx)(c.Nz,{columns:u,data:t,defaultSortField:"atlas_name",striped:!0,dense:!1,noHeader:!0,pagination:!0,paginationPerPage:25,paginationRowsPerPageOptions:[10,25,50,100],selectableRows:!0,selectableRowSelected:e=>a.includes(e.atlas_name),onSelectedRowsChange:e=>o(e.selectedRows.map(e=>e.atlas_name)),customStyles:(0,c.Ek)()})}function Phase2FilterControls(e){let{selectedFilters:t,selectedFiltersByGroupName:a,groupsByProperty:o,setFilter:r}=e,s={countHeader:"Files",attributeMap:R,attributeNames:["AtlasName","organType","TISSUE_OR_ORGAN_OF_ORIGIN_UBERON_NAME","PRIMARY_DIAGNOSIS_NCI_THESAURUS_NAME","SEX","RACE","ETHNIC_GROUP","TREATMENT_TYPE","assayName","level","FILE_FORMAT"],entities:[],setFilter:r,selectedFiltersByGroupName:a,selectedFilters:t,groupsByProperty:o,optionMapper:e=>({value:e.val,label:e.val,count:parseInt(e.count)})},n=(0,E._M)(s),i=(0,E.uU)(s,n);return(0,l.jsxs)(E.rz,{...s,children:[(0,l.jsx)(E.ML,{...i,placeholder:"Atlas",attributes:["AtlasName"],className:S().filterCheckboxListContainer}),(0,l.jsx)(E.ML,{...i,placeholder:"Organ",attributes:["organType","TISSUE_OR_ORGAN_OF_ORIGIN_UBERON_NAME"],className:S().filterCheckboxListContainer,width:100}),(0,l.jsx)(E.ML,{...i,placeholder:"Disease",attributes:["PRIMARY_DIAGNOSIS_NCI_THESAURUS_NAME"],className:S().filterCheckboxListContainer,width:120}),(0,l.jsx)(E.ML,{...i,placeholder:"Demographics",attributes:["SEX","RACE","ETHNIC_GROUP"],className:S().filterCheckboxListContainer,width:164}),(0,l.jsx)(E.ML,{...i,placeholder:"Treatment",attributes:["TREATMENT_TYPE"],className:S().filterCheckboxListContainer,width:120}),(0,l.jsx)(E.ML,{...i,placeholder:"Assay",attributes:["assayName"],className:S().filterCheckboxListContainer}),(0,l.jsx)(E.ML,{...i,placeholder:"File",attributes:["level","FILE_FORMAT"],className:S().filterCheckboxListContainer,width:80})]})}let Explore2=e=>{var t,a;let o=(null===(t=e.getTab)||void 0===t?void 0:t.call(e))||T.ExploreTab.ATLAS,[r,i]=(0,s.useState)(o),[_,c]=(0,s.useState)([]),[A,N]=(0,s.useState)([]),[S,u]=(0,s.useState)([]),[M,L]=(0,s.useState)([]),[d,D]=(0,s.useState)([]),[p,P]=(0,s.useState)([]),[g,y]=(0,s.useState)([]),[U,F]=(0,s.use
1State)(!0),[G,f]=(0,s.useState)(),[h,H]=(0,s.useState)((null===(a=e.getSelectedFilters)||void 0===a?void 0:a.call(e))||[]);(0,s.useEffect)(()=>{i(o)},[o]);let handleSetFilter=t=>{var a;let o=(0,E.CW)(h,t);H(o),null===(a=e.onFilterChange)||void 0===a||a.call(e,o)},Y=(0,s.useMemo)(()=>h.filter(e=>"AtlasName"===e.group).map(e=>e.value),[h]),V=JSON.stringify(h);(0,s.useEffect)(()=>{let e=!0;return async function(){F(!0),f(void 0);try{let t=(0,m.vx)(),a=await (0,m.Rf)((0,m.sp)(m.WS),t);if(!e)return;let o=(0,m.qq)(h,a),fs=e=>(0,m.qq)(h.filter(t=>t.group!==e),a),r=fs("AtlasName"),l=""===o?Promise.resolve(a):(0,m.Rf)((0,m.sp)({genderFilterString:fs("SEX"),raceFilterString:fs("RACE"),primaryDiagnosisFilterString:fs("PRIMARY_DIAGNOSIS_NCI_THESAURUS_NAME"),ethnicityFilterString:fs("ETHNIC_GROUP"),tissueOrOrganOfOriginFilterString:fs("TISSUE_OR_ORGAN_OF_ORIGIN_UBERON_NAME"),organTypeFilterString:fs("organType"),levelFilterString:fs("level"),assayNameFilterString:fs("assayName"),treatmentTypeFilterString:fs("TREATMENT_TYPE"),fileFormatFilterString:fs("FILE_FORMAT"),atlasNameFilterString:r}),t),[s,n,i,E,_,T,A]=await Promise.all([l,(0,m.Rf)(m.UN+o,t),(0,m.Rf)((0,m.$I)({filterString:o}),t),(0,m.Rf)((0,m.lY)({filterString:o}),t),(0,m.Rf)(m.UN+r,t),(0,m.Rf)((0,m.$I)({filterString:r}),t),(0,m.Rf)((0,m.lY)({filterString:r}),t)]);if(!e)return;let S=new Map(s.map(e=>["".concat(e.val,"__").concat(e.type),e])),I=a.map(e=>{let t="".concat(e.val,"__").concat(e.type);return S.has(t)?S.get(t):{...e,count:0}});c(I),N(n),u(i),L(E),D(_),P(T),y(A)}catch(t){if(!e)return;f(t instanceof Error?t.message:"Failed to load Phase 2 data.")}finally{e&&F(!1)}}(),()=>{e=!1}},[V]);let v=(0,s.useMemo)(()=>_.reduce((e,t)=>(e[t.type]||(e[t.type]=[]),e[t.type].push(t),e),{}),[_]),B=(0,s.useMemo)(()=>(0,E.MZ)(h),[h]),x=(0,s.useMemo)(()=>{let e=new Map,increment=(t,a)=>{let o=String(t.atlas_name||""),r=String(t.atlasid||""),l=o||"Unknown",s=e.get(l)||{atlasid:"",caseCount:0,biospecimenCount:0,fileCount:0};!s.atlasid&&r&&(s.atlasid=r),s[a]+=1,e.set(l,s)};return p.forEach(e=>increment(e,"caseCount")),g.forEach(e=>increment(e,"biospecimenCount")),d.forEach(e=>increment(e,"fileCount")),Array.from(e.entries()).map(e=>{let[t,a]=e;return{atlas_name:t,atlas_description:I[a.atlasid.trim().toLowerCase()]||"",...a}}).sort((e,t)=>e.atlas_name.localeCompare(t.atlas_name))},[p,g,d]),W=(0,s.useMemo)(()=>{var e,t,a,o,r,l,s,n;let i=null!==(r=null===(e=v.AtlasName)||void 0===e?void 0:e.length)&&void 0!==r?r:0,m=null!==(l=null===(t=v.organType)||void 0===t?void 0:t.length)&&void 0!==l?l:0,E=null!==(s=null===(a=v.PRIMARY_DIAGNOSIS_NCI_THESAURUS_NAME)||void 0===a?void 0:a.length)&&void 0!==s?s:0,_=null!==(n=null===(o=v.assayName)||void 0===o?void 0:o.length)&&void 0!==n?n:0;return[{displayName:"Atlas",values:Array(i).fill(null)},{displayName:"Organ",values:Array(m).fill(null)},{displayName:"Cancer Type",values:Array(E).fill(null)},{displayName:"Case",values:S},{displayName:"Biospecimen",values:M},{displayName:"Assay",values:Array(_).fill(null)},{displayName:"File",values:A}]},[v,S,M,A]);return(0,l.jsxs)("div",{style:{padding:20},children:[(0,l.jsx)(Phase2FilterControls,{selectedFilters:h,selectedFiltersByGroupName:B,groupsByProperty:v,setFilter:handleSetFilter}),(0,l.jsx)(E.wn,{setFilter:handleSetFilter,selectedFiltersByGroupName:B,getFilterDisplayName:e=>{var t,a;return null!==(a=null===(t=R[e])||void 0===t?void 0:t.displayName)&&void 0!==a?a:e}}),(0,l.jsx)(T.ExploreSummary,{summaryData:W}),U&&(0,l.jsx)("div",{style:{textAlign:"center",padding:40},children:(0,l.jsx)(n.Z,{})}),G&&(0,l.jsx)("div",{className:"alert alert-danger",children:G}),!U&&!G&&(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("div",{className:"subnav",children:(0,l.jsxs)("ul",{className:"nav nav-tabs",children:[(0,l.jsx)("li",{className:"nav-item",children:(0,l.jsx)("a",{onClick:()=>i(T.ExploreTab.ATLAS),className:"nav-link ".concat(r===T.ExploreTab.ATLAS?"active":""),style:{cursor:"pointer"},children:"Atlases"})}),(0,l.jsx)("li",{className:"nav-item",children:(0,l.jsx)("a",{onClick:()=>i(T.ExploreTab.CASES),className:"nav-link ".concat(r===T.ExploreTab.CASES?"active":""),style:{cursor:"pointer"},children:"Cases"})}),(0,l.jsx)("li",{className:"nav-item",children:(0,l.jsx)("a",{onClick:()=>i(T.ExploreTab.BIOSPECIMEN),className:"nav-link ".concat(r===T.ExploreTab.BIOSPECIMEN?"active":""),style:{cursor:"pointer"},children:"Biospecimens"})}),(0,l.jsx)("li",{className:"nav-item",children:(0,l.jsx)("a",{onClick:()=>i(T.ExploreTab.FILE),className:"nav-link ".concat(r===T.ExploreTab.FILE?"active":""),style:{cursor:"pointer"},children:"Files"})})]})}),r===T.ExploreTab.ATLAS&&(0,l.jsx)("div",{className:"tab-content atlasTab",children:(0,l.jsx)(AtlasSummaryTable,{data:x,selectedAtlasNames:Y,onAtlasSelectionChange:t=>{var a;let o=h.filter(e=>"AtlasName"!==e.group),r=t.map(e=>({group:"AtlasName",value:e})),l=[...o,...r];H(l),null===(a=e.onFilterChange)||void 0===a||a.call(e,l)}})}),r===T.ExploreTab.CASES&&(0,l.jsx)("div",{className:"tab-content cases",children:(0,l.jsx)(Phase2Table,{columns:b,data:S,defaultSortField:"HTAN_PARTICIPANT_ID"})}
1),r===T.ExploreTab.BIOSPECIMEN&&(0,l.jsx)("div",{className:"tab-content biospecimen",children:(0,l.jsx)(Phase2Table,{columns:C,data:M,defaultSortField:"HTAN_BIOSPECIMEN_ID"})}),r===T.ExploreTab.FILE&&(0,l.jsx)("div",{className:"tab-content fileTab",children:(0,l.jsx)(Phase2Table,{columns:O,data:A,defaultSortField:"FILENAME"})})]})]})};t.default=Explore2},62774:function(e){e.exports={filterCheckboxListContainer:"explore2_filterCheckboxListContainer__ngI25"}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.