{#if $isLoading}
{:else if $zoom < Constants.minZoomLevelToAddNewPoint}
{:else if selectedPreset === undefined} {selectedPreset = event.detail}}> {:else if !$layerIsDisplayed}
{:else if $layerHasFilters}
{:else if !confirmedCategory }

{#if selectedPreset.preset.description} {/if} {#if selectedPreset.preset.exampleImages}

{#if selectedPreset.preset.exampleImages.length === 1} {:else} {/if}

{#each selectedPreset.preset.exampleImages as src} {/each} {/if} t.presetInfo.Subs({tags})} {state} tags={new And(selectedPreset.preset.tags)}>
selectedPreset = undefined} clss="w-full"> confirmedCategory = true} clss="primary w-full">
{:else if _globalFilter?.length > 0 && _globalFilter?.length > checkedOfGlobalFilters} {checkedOfGlobalFilters = checkedOfGlobalFilters + 1}}> {globalFilter.setData([]); abort()}}> {:else if !creating}
state.guistate.backgroundLayerSelectionIsOpened.setData(true)}>
selectedPreset = undefined} clss="w-full">
{:else} Creating point... {/if}