<scriptlang="ts">import tree from'./tree.svg?raw';import autoAnimate from'@formkit/auto-animate';import ChristmasPresent from'./ChristmasPresent.svelte';exportletpresents: string[];</script><divclass="container"on:dropon:dragover|preventDefaulton:dragenter|preventDefault>{@html tree}<divclass="presents"use:autoAnimate>{#eachpresents asp (p)}<ChristmasPresentname={p}/>{/each}</div></div><style>.container{position: relative;display: flex;justify-content: center;}.container > :global(svg){width: 16rem;}.presents{display: flex;align-items: flex-end;position: absolute;bottom: -2rem;gap: -2rem;}/* Styles the middle present slightly in front of the other two */.presents > :global(div):nth-of-type(2){margin-left: -2rem;margin-right: -2rem;z-index:var(--layer-2);margin-bottom: -1rem;}</style>