import * as vue from "vue";
import { defineComponent, mergeProps, unref, useSSRContext } from "vue";
import { ssrRenderAttrs, ssrRenderSlot, ssrInterpolate } from "vue/server-renderer";
import "../mount.js";
import "path-browserify";
import "deepmerge";
import "fast-safe-stringify";
import "spark-md5";
import "is-plain-object";
import "js-cookie";
import "events";
import "http";
import "@medv/finder";
import "front-matter";
import "markdown-it";
import "markdown-it-anchor";
import "markdown-it-implicit-figures";
import "markdown-it-link-attributes";
import "markdown-it-video";
import "remove-markdown";
import "./index.b92a68c6.js";
import "body-parser";
import "dotenv";
import "compression";
import "serve-favicon";
import "serve-static";
import "html-minifier";
import "vite";
import "@vue/server-renderer";
import "fs";
import "enquirer";
import "semver";
import "glob";
import "minimist";
import "handlebars";
import "execa";
import "multer";
import "sharp";
import "@vitejs/plugin-vue";
import "express";
import "axios";
import "knex";
import "dompurify";
import "dayjs";
import "chalk";
import "dayjs/plugin/relativeTime.js";
import "dayjs/plugin/utc.js";
import "dayjs/plugin/timezone.js";
import "dayjs/plugin/updateLocale.js";
import "dayjs/plugin/weekOfYear.js";
import "nanoid";
import "prettyoutput";
import "consola";
import "validator";
import "@vueuse/head";
import "node-fetch";
import "vue-router";
import "jsonwebtoken";
import "fs-extra";
import "bcrypt";
import "knex-stringcase";
import "@sinclair/typebox";
import "nodemailer";
import "nodemailer-html-to-text";
import "@tailwindcss/forms";
import "unocss/vite";
import "@unocss/preset-icons";
import "nodemon";
import "gravatar-url";
const __default__ = {
  inheritAttrs: false
};
const _sfc_main = /* @__PURE__ */ defineComponent({
  ...__default__,
  __name: "InputCheckbox",
  __ssrInlineRender: true,
  props: {
    modelValue: { type: Boolean, default: false },
    text: { type: String, default: "" }
  },
  emits: ["update:modelValue"],
  setup(__props, { emit }) {
    const attrs = vue.useAttrs();
    const slots = vue.useSlots();
    const classes = [
      "form-checkbox",
      "cursor-pointer",
      "mt-0.5",
      "mr-4",
      "h-5",
      "w-5",
      "appearance-none",
      "rounded-md",
      "border",
      "focus:outline-none",
      "focus:ring-0",
      "border-theme-300",
      "text-theme-500",
      "bg-theme-100",
      "text-theme-700",
      "hover:theme-200"
    ];
    return (_ctx, _push, _parent, _attrs) => {
      _push(`<label${ssrRenderAttrs(mergeProps({ class: "inline-flex cursor-pointer items-center" }, _attrs))}><input${ssrRenderAttrs(mergeProps(unref(attrs), {
        type: "checkbox",
        class: classes,
        checked: __props.modelValue
      }))}><span class="checkbox-label text-input-size text-theme-700 hover:text-theme-500">`);
      if (unref(slots).default) {
        ssrRenderSlot(_ctx.$slots, "default", {}, null, _push, _parent);
      } else {
        _push(`<!--[-->${ssrInterpolate(__props.text)}<!--]-->`);
      }
      _push(`</span></label>`);
    };
  }
});
const _sfc_setup = _sfc_main.setup;
_sfc_main.setup = (props, ctx) => {
  const ssrContext = useSSRContext();
  (ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("../ui/InputCheckbox.vue");
  return _sfc_setup ? _sfc_setup(props, ctx) : void 0;
};
export {
  _sfc_main as default
};
