var __create = Object.create;
var __defProp = Object.defineProperty;
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
var __getOwnPropNames = Object.getOwnPropertyNames;
var __getProtoOf = Object.getPrototypeOf;
var __hasOwnProp = Object.prototype.hasOwnProperty;
var __export = (target, all) => {
  for (var name in all)
    __defProp(target, name, { get: all[name], enumerable: true });
};
var __copyProps = (to, from, except, desc) => {
  if (from && typeof from === "object" || typeof from === "function") {
    for (let key of __getOwnPropNames(from))
      if (!__hasOwnProp.call(to, key) && key !== except)
        __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
  }
  return to;
};
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
  // If the importer is in node compatibility mode or this is not an ESM
  // file that has been converted to a CommonJS file using a Babel-
  // compatible transform (i.e. "__esModule" has not been set), then set
  // "default" to the CommonJS "module.exports" for node compatibility.
  isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
  mod
));
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);

// src/components/pisellFloorMapLayout/index.tsx
var pisellFloorMapLayout_exports = {};
__export(pisellFloorMapLayout_exports, {
  EMPTY_FLOOR_MAP_LAYOUT_CONTEXT: () => import_FloorMapLayoutContext.EMPTY_FLOOR_MAP_LAYOUT_CONTEXT,
  FLOOR_MAP_BUILTIN_SHAPES: () => import_floorMapBuiltinShapes.FLOOR_MAP_BUILTIN_SHAPES,
  FLOOR_MAP_BUILTIN_SHAPE_ELEMENT_KIND: () => import_types.FLOOR_MAP_BUILTIN_SHAPE_ELEMENT_KIND,
  FLOOR_MAP_IMAGE_ELEMENT_KIND: () => import_types.FLOOR_MAP_IMAGE_ELEMENT_KIND,
  FLOOR_MAP_STAGE_ELEMENT_KIND: () => import_types.FLOOR_MAP_STAGE_ELEMENT_KIND,
  FLOOR_MAP_ZONE_ELEMENT_KIND: () => import_types.FLOOR_MAP_ZONE_ELEMENT_KIND,
  FloorMapBuiltinShapeElement: () => import_FloorMapBuiltinShapeElement.FloorMapBuiltinShapeElement,
  FloorMapImageElement: () => import_FloorMapImageElement.FloorMapImageElement,
  FloorMapLayoutProvider: () => import_FloorMapLayoutContext.FloorMapLayoutProvider,
  FloorMapZoneElement: () => import_FloorMapZoneElement.FloorMapZoneElement,
  NAME_AS_TITLE_EXT_KEY: () => import_floorMapElementNameAsTitle.NAME_AS_TITLE_EXT_KEY,
  PisellFloorMapLayout: () => import_PisellFloorMapLayout.PisellFloorMapLayout,
  SHOP_FLOOR_PLAN_DUPLICATE_CODE: () => import_shopFloorPlanClient.SHOP_FLOOR_PLAN_DUPLICATE_CODE,
  buildFloorPlanPutBody: () => import_shopFloorPlanPure.buildFloorPlanPutBody,
  buildNameAsTitleExtensionsPatch: () => import_floorMapElementNameAsTitle.buildNameAsTitleExtensionsPatch,
  createShopFloorPlanClient: () => import_shopFloorPlanClient.createShopFloorPlanClient,
  findFloorMapRowByDataBinding: () => import_floorMapDataBindingUtils.findFloorMapRowByDataBinding,
  floorMapLayoutLocales: () => import_locales.default,
  floorMapResourcePickerRecordSearchText: () => import_floorMapResourcePickerDisplay.floorMapResourcePickerRecordSearchText,
  floorMapSavedConfigToRemotePatch: () => import_shopFloorPlanPure.floorMapSavedConfigToRemotePatch,
  getFigmaTableCardFromMerged: () => import_FigmaTableCard.getFigmaTableCardFromMerged,
  getFloorMapBindingPlaceholderReason: () => import_floorMapDataBindingUtils.getFloorMapBindingPlaceholderReason,
  getFloorMapBuiltinShapeDef: () => import_floorMapBuiltinShapes.getFloorMapBuiltinShapeDef,
  getFloorMapCardPickerCategoryConfig: () => import_floorMapResourcePickerDisplay.getFloorMapCardPickerCategoryConfig,
  getFloorMapResourcePickerCardMeta: () => import_floorMapResourcePickerDisplay.getFloorMapResourcePickerCardMeta,
  getFloorMapResourcePickerCategoryPath: () => import_floorMapResourcePickerDisplay.getFloorMapResourcePickerCategoryPath,
  getRenderItemByKindRoundTable: () => import_FigmaTableCard.getRenderItemByKindRoundTable,
  getRenderItemByKindTable: () => import_FigmaTableCard.getRenderItemByKindTable,
  inferCanvasSizeFromScene: () => import_shopFloorPlanPure.inferCanvasSizeFromScene,
  initFloorMapLayoutLocales: () => import_floorMapCanvasDisplay.initFloorMapLayoutLocales,
  isElementNameAsTitleEnabled: () => import_floorMapElementNameAsTitle.isElementNameAsTitleEnabled,
  isFloorMapBuiltinShapeElementKind: () => import_floorMapElementKindUtils.isFloorMapBuiltinShapeElementKind,
  isFloorMapImageElementKind: () => import_floorMapElementKindUtils.isFloorMapImageElementKind,
  isFloorPlanDuplicateCodeError: () => import_shopFloorPlanPure.isFloorPlanDuplicateCodeError,
  isHttpNotFoundError: () => import_shopFloorPlanPure.isHttpNotFoundError,
  isShopFloorPlanNotFoundResponse: () => import_shopFloorPlanPure.isShopFloorPlanNotFoundResponse,
  mergeFloorMapLayoutPropsFromContext: () => import_mergeFloorMapLayoutContext.mergeFloorMapLayoutPropsFromContext,
  mergeFloorPlanViewRemote: () => import_shopFloorPlanPure.mergeFloorPlanViewRemote,
  parseLayoutFieldToViewConfigPatch: () => import_shopFloorPlanPure.parseLayoutFieldToViewConfigPatch,
  parseNestedPathSegments: () => import_floorMapResourcePickerTypes.parseNestedPathSegments,
  pickFloorPlanDetail: () => import_shopFloorPlanPure.pickFloorPlanDetail,
  renderFigmaStyleRoundTableCard: () => import_FigmaTableCard.renderFigmaStyleRoundTableCard,
  renderFigmaStyleTableCard: () => import_FigmaTableCard.renderFigmaStyleTableCard,
  renderFloorMapFallbackPlaceholder: () => import_floorMapFallbackRender.renderFloorMapFallbackPlaceholder,
  resolveSceneElementDisplayTitle: () => import_floorMapElementNameAsTitle.resolveSceneElementDisplayTitle,
  sceneElementsToShopLayout: () => import_shopFloorPlanMapping.sceneElementsToShopLayout,
  shopLayoutToSceneElements: () => import_shopFloorPlanMapping.shopLayoutToSceneElements,
  useFloorMapLayoutContext: () => import_FloorMapLayoutContext.useFloorMapLayoutContext,
  useShopFloorPlanSubscription: () => import_useShopFloorPlanSubscription.useShopFloorPlanSubscription,
  viewConfigToLayoutPayload: () => import_shopFloorPlanPure.viewConfigToLayoutPayload,
  wrapFloorMapOnSaveWithRemotePersist: () => import_floorMapRemotePersist.wrapFloorMapOnSaveWithRemotePersist
});
module.exports = __toCommonJS(pisellFloorMapLayout_exports);
var import_PisellFloorMapLayout = require("./PisellFloorMapLayout");
var import_types = require("./types");
var import_floorMapFallbackRender = require("./utils/floorMapFallbackRender");
var import_floorMapElementKindUtils = require("./utils/floorMapElementKindUtils");
var import_floorMapBuiltinShapes = require("./utils/floorMapBuiltinShapes");
var import_floorMapElementNameAsTitle = require("./utils/floorMapElementNameAsTitle");
var import_floorMapDataBindingUtils = require("./utils/floorMapDataBindingUtils");
var import_shopFloorPlanClient = require("./shopFloorPlan/shopFloorPlanClient");
var import_shopFloorPlanPure = require("./shopFloorPlan/shopFloorPlanPure");
var import_shopFloorPlanMapping = require("./shopFloorPlan/shopFloorPlanMapping");
var import_useShopFloorPlanSubscription = require("./hooks/useShopFloorPlanSubscription");
var import_floorMapRemotePersist = require("./utils/floorMapRemotePersist");
var import_FloorMapLayoutContext = require("./context/FloorMapLayoutContext");
var import_mergeFloorMapLayoutContext = require("./context/mergeFloorMapLayoutContext");
var import_floorMapResourcePickerTypes = require("./utils/floorMapResourcePickerTypes");
var import_floorMapResourcePickerDisplay = require("./utils/floorMapResourcePickerDisplay");
var import_floorMapCanvasDisplay = require("./utils/floorMapCanvasDisplay");
var import_locales = __toESM(require("./locales"));
var import_FloorMapImageElement = require("./components/FloorMapImageElement");
var import_FloorMapBuiltinShapeElement = require("./components/FloorMapBuiltinShapeElement");
var import_FloorMapZoneElement = require("./components/FloorMapZoneElement");
var import_FigmaTableCard = require("./components/FigmaTableCard");
// Annotate the CommonJS export names for ESM import in node:
0 && (module.exports = {
  EMPTY_FLOOR_MAP_LAYOUT_CONTEXT,
  FLOOR_MAP_BUILTIN_SHAPES,
  FLOOR_MAP_BUILTIN_SHAPE_ELEMENT_KIND,
  FLOOR_MAP_IMAGE_ELEMENT_KIND,
  FLOOR_MAP_STAGE_ELEMENT_KIND,
  FLOOR_MAP_ZONE_ELEMENT_KIND,
  FloorMapBuiltinShapeElement,
  FloorMapImageElement,
  FloorMapLayoutProvider,
  FloorMapZoneElement,
  NAME_AS_TITLE_EXT_KEY,
  PisellFloorMapLayout,
  SHOP_FLOOR_PLAN_DUPLICATE_CODE,
  buildFloorPlanPutBody,
  buildNameAsTitleExtensionsPatch,
  createShopFloorPlanClient,
  findFloorMapRowByDataBinding,
  floorMapLayoutLocales,
  floorMapResourcePickerRecordSearchText,
  floorMapSavedConfigToRemotePatch,
  getFigmaTableCardFromMerged,
  getFloorMapBindingPlaceholderReason,
  getFloorMapBuiltinShapeDef,
  getFloorMapCardPickerCategoryConfig,
  getFloorMapResourcePickerCardMeta,
  getFloorMapResourcePickerCategoryPath,
  getRenderItemByKindRoundTable,
  getRenderItemByKindTable,
  inferCanvasSizeFromScene,
  initFloorMapLayoutLocales,
  isElementNameAsTitleEnabled,
  isFloorMapBuiltinShapeElementKind,
  isFloorMapImageElementKind,
  isFloorPlanDuplicateCodeError,
  isHttpNotFoundError,
  isShopFloorPlanNotFoundResponse,
  mergeFloorMapLayoutPropsFromContext,
  mergeFloorPlanViewRemote,
  parseLayoutFieldToViewConfigPatch,
  parseNestedPathSegments,
  pickFloorPlanDetail,
  renderFigmaStyleRoundTableCard,
  renderFigmaStyleTableCard,
  renderFloorMapFallbackPlaceholder,
  resolveSceneElementDisplayTitle,
  sceneElementsToShopLayout,
  shopLayoutToSceneElements,
  useFloorMapLayoutContext,
  useShopFloorPlanSubscription,
  viewConfigToLayoutPayload,
  wrapFloorMapOnSaveWithRemotePersist
});
