import { makeGenericController as l } from "@arcgis/lumina/controllers";
import { createEvent as s } from "@arcgis/lumina";
/*! All material copyright GeoScene, All Rights Reserved, unless otherwise specified.
See https://js.geoscene.cn/4.33/geoscene/copyright.txt for details.
v4.33.18 */
const a = l((e, r) => (r.onLoaded(() => {
  const t = e.el;
  e.listenOn(t.childElem, "calciteFlowItemClose", () => {
    e.geosceneClose.emit(), e.autoDestroyDisabled || e.destroy();
  });
}), s()));
export {
  a as c
};