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/plus/salesSdk/adjustTime/components/AdjustTimeTabs.tsx
var AdjustTimeTabs_exports = {};
__export(AdjustTimeTabs_exports, {
  AdjustTimeTabs: () => AdjustTimeTabs
});
module.exports = __toCommonJS(AdjustTimeTabs_exports);
var import_react = __toESM(require("react"));
var import_materials = require("@pisell/materials");
var import_XClose = __toESM(require("@pisell/icon/es/XClose"));
var import_i18n = require("../i18n");
var AdjustTimeTabs = ({
  showBack,
  onBack,
  onClose
}) => {
  return /* @__PURE__ */ import_react.default.createElement("header", { className: "pisell-adjust-time__head" }, showBack ? /* @__PURE__ */ import_react.default.createElement(
    "button",
    {
      type: "button",
      className: "pisell-adjust-time__head-action pisell-adjust-time__head-action--back",
      onClick: onBack
    },
    /* @__PURE__ */ import_react.default.createElement(import_materials.Icon, { type: "pisell2-arrow-left", size: 24 })
  ) : null, /* @__PURE__ */ import_react.default.createElement(
    "button",
    {
      type: "button",
      className: "pisell-adjust-time__tab pisell-adjust-time__tab--active"
    },
    "◷ ",
    (0, import_i18n.t)("pisell2.adjust-time.tab")
  ), /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-adjust-time__head-spacer" }), /* @__PURE__ */ import_react.default.createElement(
    "button",
    {
      type: "button",
      className: "pisell-adjust-time__head-action pisell-adjust-time__head-action--close",
      "aria-label": "Close",
      onClick: onClose
    },
    /* @__PURE__ */ import_react.default.createElement(import_XClose.default, { size: 20, style: { fontSize: "24px" } })
  ));
};
// Annotate the CommonJS export names for ESM import in node:
0 && (module.exports = {
  AdjustTimeTabs
});
