'use strict';
import { c } from 'react/compiler-runtime';
import { jsx } from 'react/jsx-runtime';
import { useDroppable } from '@dnd-kit/core';

var __defProp = Object.defineProperty;
var __name = (target, value) => __defProp(target, "name", {
  value,
  configurable: true
});
function Droppable(t0) {
  const $ = c(5);
  const {
    droppableId,
    children
  } = t0;
  let t1;
  if ($[0] !== droppableId) {
    t1 = {
      id: droppableId
    };
    $[0] = droppableId;
    $[1] = t1;
  } else {
    t1 = $[1];
  }
  const {
    setNodeRef
  } = useDroppable(t1);
  let t2;
  if ($[2] !== children || $[3] !== setNodeRef) {
    t2 = jsx("div", {
      ref: setNodeRef,
      children
    });
    $[2] = children;
    $[3] = setNodeRef;
    $[4] = t2;
  } else {
    t2 = $[4];
  }
  return t2;
}
__name(Droppable, "Droppable");

export { Droppable as default };
