uikit/dist/vite.js
Mohamadzadeh 96a434129a
All checks were successful
Build and Deploy Next.js + Nginx Docker Image / build-and-deploy (push) Successful in 1m1s
Build and Deploy Next.js + Nginx Docker Image / deploy (push) Successful in 7s
uikit-v1.3.0-vite-swr-biimage
2026-10-27 13:55:26 +03:30

38 lines
1.3 KiB
JavaScript

"use client";
import { jsx as n } from "react/jsx-runtime";
import "react";
import { BrowserRouter as m } from "react-router-dom";
import * as s from "use-query-params";
import * as c from "use-query-params/adapters/react-router-6";
import { d as p } from "./chunks/feature-registry-B2iuEiEx.js";
import { r as d } from "./chunks/resolve-query-param-provider-Dg43MKRn.js";
function l(r) {
const o = /* @__PURE__ */ new Set();
let e = r;
for (let a = 0; a < 6 && e != null && !o.has(e); a += 1) {
if (typeof e == "function") return e;
if (typeof e != "object") break;
o.add(e);
const t = e.ReactRouter6Adapter;
if (typeof t == "function" || t && t.$$typeof) return t;
e = e.default;
}
throw new Error("uikit: Unable to resolve ReactRouter6Adapter from use-query-params/adapters/react-router-6.");
}
const f = d(s), R = l(c);
function y({
children: r,
router: o = !0,
queryParams: e = !0,
basename: a,
routerProps: t,
adapter: i = R,
options: u = {}
}) {
return !o && e ? /* @__PURE__ */ n(f, { adapter: i, options: { enableBatching: !0, ...u }, children: r }) : o ? /* @__PURE__ */ n(m, { ...t, basename: a ?? (t == null ? void 0 : t.basename), children: e ? /* @__PURE__ */ n(f, { adapter: i, options: { enableBatching: !0, ...u }, children: r }) : r }) : r;
}
const B = p("Vite", 30, y);
export {
B as Vite
};