UNPKG

@repomadness/dammi-falastini

Version:

Dammi Falastini Project - a library of phantom limb components

808 lines 200 kB
import Or, { useState as Ir, useEffect as fe, createContext as Vt, useRef as ne, useLayoutEffect as Fr, useContext as W, useId as Br, useCallback as ti, useMemo as de, useInsertionEffect as Nr, forwardRef as _r, Fragment as ei, createElement as Ur, Component as $r } from "react"; var Jt = { exports: {} }, Rt = {}; /** * @license React * react-jsx-runtime.production.js * * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ var In; function Wr() { if (In) return Rt; In = 1; var t = Symbol.for("react.transitional.element"), e = Symbol.for("react.fragment"); function n(s, i, o) { var r = null; if (o !== void 0 && (r = "" + o), i.key !== void 0 && (r = "" + i.key), "key" in i) { o = {}; for (var a in i) a !== "key" && (o[a] = i[a]); } else o = i; return i = o.ref, { $$typeof: t, type: s, key: r, ref: i !== void 0 ? i : null, props: o }; } return Rt.Fragment = e, Rt.jsx = n, Rt.jsxs = n, Rt; } var jt = {}; /** * @license React * react-jsx-runtime.development.js * * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ var Fn; function Kr() { return Fn || (Fn = 1, process.env.NODE_ENV !== "production" && function() { function t(p) { if (p == null) return null; if (typeof p == "function") return p.$$typeof === $ ? null : p.displayName || p.name || null; if (typeof p == "string") return p; switch (p) { case x: return "Fragment"; case y: return "Profiler"; case T: return "StrictMode"; case b: return "Suspense"; case V: return "SuspenseList"; case F: return "Activity"; } if (typeof p == "object") switch (typeof p.tag == "number" && console.error( "Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue." ), p.$$typeof) { case g: return "Portal"; case v: return (p.displayName || "Context") + ".Provider"; case C: return (p._context.displayName || "Context") + ".Consumer"; case L: var P = p.render; return p = p.displayName, p || (p = P.displayName || P.name || "", p = p !== "" ? "ForwardRef(" + p + ")" : "ForwardRef"), p; case k: return P = p.displayName || null, P !== null ? P : t(p.type) || "Memo"; case S: P = p._payload, p = p._init; try { return t(p(P)); } catch { } } return null; } function e(p) { return "" + p; } function n(p) { try { e(p); var P = !1; } catch { P = !0; } if (P) { P = console; var M = P.error, B = typeof Symbol == "function" && Symbol.toStringTag && p[Symbol.toStringTag] || p.constructor.name || "Object"; return M.call( P, "The provided key is an unsupported type %s. This value must be coerced to a string before using it here.", B ), e(p); } } function s(p) { if (p === x) return "<>"; if (typeof p == "object" && p !== null && p.$$typeof === S) return "<...>"; try { var P = t(p); return P ? "<" + P + ">" : "<...>"; } catch { return "<...>"; } } function i() { var p = q.A; return p === null ? null : p.getOwner(); } function o() { return Error("react-stack-top-frame"); } function r(p) { if (kt.call(p, "key")) { var P = Object.getOwnPropertyDescriptor(p, "key").get; if (P && P.isReactWarning) return !1; } return p.key !== void 0; } function a(p, P) { function M() { ve || (ve = !0, console.error( "%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)", P )); } M.isReactWarning = !0, Object.defineProperty(p, "key", { get: M, configurable: !0 }); } function l() { var p = t(this.type); return xe[p] || (xe[p] = !0, console.error( "Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release." )), p = this.props.ref, p !== void 0 ? p : null; } function u(p, P, M, B, it, J, Te, Ce) { return M = J.ref, p = { $$typeof: m, type: p, key: P, props: J, _owner: it }, (M !== void 0 ? M : null) !== null ? Object.defineProperty(p, "ref", { enumerable: !1, get: l }) : Object.defineProperty(p, "ref", { enumerable: !1, value: null }), p._store = {}, Object.defineProperty(p._store, "validated", { configurable: !1, enumerable: !1, writable: !0, value: 0 }), Object.defineProperty(p, "_debugInfo", { configurable: !1, enumerable: !1, writable: !0, value: null }), Object.defineProperty(p, "_debugStack", { configurable: !1, enumerable: !1, writable: !0, value: Te }), Object.defineProperty(p, "_debugTask", { configurable: !1, enumerable: !1, writable: !0, value: Ce }), Object.freeze && (Object.freeze(p.props), Object.freeze(p)), p; } function c(p, P, M, B, it, J, Te, Ce) { var N = P.children; if (N !== void 0) if (B) if (ye(N)) { for (B = 0; B < N.length; B++) h(N[B]); Object.freeze && Object.freeze(N); } else console.error( "React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead." ); else h(N); if (kt.call(P, "key")) { N = t(p); var vt = Object.keys(P).filter(function(jr) { return jr !== "key"; }); B = 0 < vt.length ? "{key: someKey, " + vt.join(": ..., ") + ": ...}" : "{key: someKey}", yt[N + B] || (vt = 0 < vt.length ? "{" + vt.join(": ..., ") + ": ...}" : "{}", console.error( `A props object containing a "key" prop is being spread into JSX: let props = %s; <%s {...props} /> React keys must be passed directly to JSX without using spread: let props = %s; <%s key={someKey} {...props} />`, B, N, vt, N ), yt[N + B] = !0); } if (N = null, M !== void 0 && (n(M), N = "" + M), r(P) && (n(P.key), N = "" + P.key), "key" in P) { M = {}; for (var be in P) be !== "key" && (M[be] = P[be]); } else M = P; return N && a( M, typeof p == "function" ? p.displayName || p.name || "Unknown" : p ), u( p, N, J, it, i(), M, Te, Ce ); } function h(p) { typeof p == "object" && p !== null && p.$$typeof === m && p._store && (p._store.validated = 1); } var f = Or, m = Symbol.for("react.transitional.element"), g = Symbol.for("react.portal"), x = Symbol.for("react.fragment"), T = Symbol.for("react.strict_mode"), y = Symbol.for("react.profiler"), C = Symbol.for("react.consumer"), v = Symbol.for("react.context"), L = Symbol.for("react.forward_ref"), b = Symbol.for("react.suspense"), V = Symbol.for("react.suspense_list"), k = Symbol.for("react.memo"), S = Symbol.for("react.lazy"), F = Symbol.for("react.activity"), $ = Symbol.for("react.client.reference"), q = f.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, kt = Object.prototype.hasOwnProperty, ye = Array.isArray, gt = console.createTask ? console.createTask : function() { return null; }; f = { "react-stack-bottom-frame": function(p) { return p(); } }; var ve, xe = {}, O = f["react-stack-bottom-frame"].bind( f, o )(), Z = gt(s(o)), yt = {}; jt.Fragment = x, jt.jsx = function(p, P, M, B, it) { var J = 1e4 > q.recentlyCreatedOwnerStacks++; return c( p, P, M, !1, B, it, J ? Error("react-stack-top-frame") : O, J ? gt(s(p)) : Z ); }, jt.jsxs = function(p, P, M, B, it) { var J = 1e4 > q.recentlyCreatedOwnerStacks++; return c( p, P, M, !0, B, it, J ? Error("react-stack-top-frame") : O, J ? gt(s(p)) : Z ); }; }()), jt; } var Bn; function Zr() { return Bn || (Bn = 1, process.env.NODE_ENV === "production" ? Jt.exports = Wr() : Jt.exports = Kr()), Jt.exports; } var d = Zr(); const zr = ({ style: t, designColor: e = "black", backgroundColor: n = "white" }) => /* @__PURE__ */ d.jsxs("svg", { width: "534", height: "542", viewBox: "0 0 534 542", fill: "none", xmlns: "http://www.w3.org/2000/svg", style: t, children: [ /* @__PURE__ */ d.jsx("mask", { id: "mask0_198_2229", style: { maskType: "alpha" }, maskUnits: "userSpaceOnUse", x: "0", y: "0", width: "498", height: "498", children: /* @__PURE__ */ d.jsx("rect", { y: "498", width: "498", height: "498", transform: "rotate(-90 0 498)", fill: n }) }), /* @__PURE__ */ d.jsx("g", { mask: "url(#mask0_198_2229)", children: /* @__PURE__ */ d.jsx("rect", { x: "609.551", y: "-109.104", width: "1014.92", height: "494.016", transform: "rotate(135 609.551 -109.104)", fill: n }) }), /* @__PURE__ */ d.jsx("mask", { id: "mask1_198_2229", style: { maskType: "alpha" }, maskUnits: "userSpaceOnUse", x: "0", y: "0", width: "500", height: "500", children: /* @__PURE__ */ d.jsx("rect", { y: "-7.62939e-06", width: "500", height: "500", fill: "#D9D9D9" }) }), /* @__PURE__ */ d.jsxs("g", { mask: "url(#mask1_198_2229)", children: [ /* @__PURE__ */ d.jsx("path", { d: "M433.772 -16.5572C429.56 -24.8246 419.444 -28.1128 411.177 -23.9015L379.367 -7.69799V-7.69799C383.578 0.569423 393.694 3.85756 401.962 -0.353729L433.772 -16.5572V-16.5572Z", fill: e }), /* @__PURE__ */ d.jsx("path", { d: "M370.511 46.9018C362.23 42.7164 358.911 32.6107 363.096 24.3302L379.2 -7.53039V-7.53039C387.48 -3.34497 390.8 6.7607 386.615 15.0413L370.511 46.9018V46.9018Z", fill: e }), /* @__PURE__ */ d.jsx("path", { d: "M370.668 47.0485C366.457 38.7811 356.341 35.493 348.073 39.7043L316.263 55.9078V55.9078C320.475 64.1752 330.591 67.4633 338.858 63.2521L370.668 47.0485V47.0485Z", fill: e }), /* @__PURE__ */ d.jsx("path", { d: "M181.237 237.76C172.957 233.575 169.637 223.469 173.822 215.189L189.926 183.328V183.328C198.207 187.514 201.527 197.619 197.341 205.9L181.237 237.76V237.76Z", fill: e }), /* @__PURE__ */ d.jsx("path", { d: "M181.395 237.908C177.183 229.641 167.067 226.353 158.8 230.564L126.99 246.768V246.768C131.201 255.035 141.317 258.323 149.585 254.112L181.395 237.908V237.908Z", fill: e }), /* @__PURE__ */ d.jsx("path", { d: "M118.132 301.368C109.851 297.182 106.532 287.076 110.717 278.796L126.821 246.935V246.935C135.101 251.121 138.421 261.226 134.236 269.507L118.132 301.368V301.368Z", fill: e }), /* @__PURE__ */ d.jsx("path", { d: "M117.987 301.211C113.775 292.943 103.659 289.655 95.3918 293.866L63.5818 310.07V310.07C67.7931 318.337 77.9091 321.625 86.1766 317.414L117.987 301.211V301.211Z", fill: e }), /* @__PURE__ */ d.jsx("path", { d: "M54.7237 364.67C46.4432 360.484 43.1234 350.379 47.3088 342.098L63.4127 310.238V310.238C71.6932 314.423 75.013 324.529 70.8276 332.809L54.7237 364.67V364.67Z", fill: e }), /* @__PURE__ */ d.jsx("path", { d: "M54.8811 364.816C50.6698 356.549 40.5538 353.261 32.2864 357.472L0.476348 373.676V373.676C4.68766 381.943 14.8037 385.231 23.0711 381.02L54.8811 364.816V364.816Z", fill: e }), /* @__PURE__ */ d.jsx("path", { d: "M-8.37978 428.276C-16.6603 424.09 -19.9801 413.984 -15.7947 405.704L0.309182 373.843V373.843C8.58973 378.029 11.9095 388.134 7.72411 396.415L-8.37978 428.276V428.276Z", fill: e }), /* @__PURE__ */ d.jsx("path", { d: "M307.257 110.356C298.976 106.17 295.657 96.0647 299.842 87.7841L315.946 55.9236V55.9236C324.226 60.109 327.546 70.2147 323.361 78.4952L307.257 110.356V110.356Z", fill: e }), /* @__PURE__ */ d.jsx("path", { d: "M307.41 110.505C303.199 102.238 293.083 98.9496 284.816 103.161L253.006 119.364V119.364C257.217 127.632 267.333 130.92 275.6 126.709L307.41 110.505V110.505Z", fill: e }), /* @__PURE__ */ d.jsx("path", { d: "M244.15 173.964C235.869 169.779 232.549 159.673 236.735 151.392L252.838 119.532V119.532C261.119 123.717 264.439 133.823 260.253 142.104L244.15 173.964V173.964Z", fill: e }), /* @__PURE__ */ d.jsx("path", { d: "M244.307 174.111C240.096 165.844 229.98 162.555 221.712 166.767L189.902 182.97V182.97C194.113 191.238 204.229 194.526 212.497 190.314L244.307 174.111V174.111Z", fill: e }), /* @__PURE__ */ d.jsx("path", { d: "M457.407 7.01726C449.127 2.83184 445.807 -7.27384 449.992 -15.5544L466.096 -47.415V-47.415C474.377 -43.2295 477.697 -33.1239 473.511 -24.8433L457.407 7.01726V7.01726Z", fill: e }), /* @__PURE__ */ d.jsx("path", { d: "M457.567 7.16408C453.355 -1.10333 443.239 -4.39147 434.972 -0.180183L403.162 16.0233V16.0233C407.373 24.2907 417.489 27.5789 425.757 23.3676L457.567 7.16408V7.16408Z", fill: e }), /* @__PURE__ */ d.jsx("path", { d: "M394.306 70.6231C386.025 66.4377 382.705 56.332 386.891 48.0515L402.995 16.1909V16.1909C411.275 20.3763 414.595 30.482 410.41 38.7626L394.306 70.6231V70.6231Z", fill: e }), /* @__PURE__ */ d.jsx("path", { d: "M394.463 70.7699C390.252 62.5025 380.136 59.2143 371.868 63.4256L340.058 79.6291V79.6291C344.27 87.8966 354.386 91.1847 362.653 86.9734L394.463 70.7699V70.7699Z", fill: e }), /* @__PURE__ */ d.jsx("path", { d: "M205.032 261.482C196.752 257.296 193.432 247.191 197.617 238.91L213.721 207.05V207.05C222.002 211.235 225.322 221.341 221.136 229.621L205.032 261.482V261.482Z", fill: e }), /* @__PURE__ */ d.jsx("path", { d: "M205.19 261.63C200.978 253.362 190.862 250.074 182.595 254.285L150.785 270.489V270.489C154.996 278.756 165.112 282.045 173.38 277.833L205.19 261.63V261.63Z", fill: e }), /* @__PURE__ */ d.jsx("path", { d: "M141.927 325.089C133.646 320.903 130.327 310.798 134.512 302.517L150.616 270.657V270.657C158.896 274.842 162.216 284.948 158.031 293.228L141.927 325.089V325.089Z", fill: e }), /* @__PURE__ */ d.jsx("path", { d: "M141.782 324.932C137.57 316.664 127.454 313.376 119.187 317.588L87.3767 333.791V333.791C91.588 342.059 101.704 345.347 109.971 341.135L141.782 324.932V324.932Z", fill: e }), /* @__PURE__ */ d.jsx("path", { d: "M78.5187 388.391C70.2381 384.206 66.9183 374.1 71.1037 365.819L87.2076 333.959V333.959C95.4882 338.144 98.8079 348.25 94.6225 356.53L78.5187 388.391V388.391Z", fill: e }), /* @__PURE__ */ d.jsx("path", { d: "M78.676 388.538C74.4647 380.27 64.3487 376.982 56.0813 381.193L24.2713 397.397V397.397C28.4826 405.664 38.5986 408.953 46.866 404.741L78.676 388.538V388.538Z", fill: e }), /* @__PURE__ */ d.jsx("path", { d: "M15.4171 451.997C7.13654 447.811 3.81677 437.706 8.00217 429.425L24.1061 397.565V397.565C32.3866 401.75 35.7064 411.856 31.521 420.136L15.4171 451.997V451.997Z", fill: e }), /* @__PURE__ */ d.jsx("path", { d: "M15.2698 451.841C11.0585 443.574 0.942461 440.286 -7.32496 444.497L-39.135 460.7V460.7C-34.9237 468.968 -24.8077 472.256 -16.5402 468.045L15.2698 451.841V451.841Z", fill: e }), /* @__PURE__ */ d.jsx("path", { d: "M331.05 134.077C322.769 129.892 319.45 119.786 323.635 111.505L339.739 79.6449V79.6449C348.019 83.8303 351.339 93.936 347.154 102.217L331.05 134.077V134.077Z", fill: e }), /* @__PURE__ */ d.jsx("path", { d: "M331.205 134.226C326.994 125.959 316.878 122.671 308.611 126.882L276.801 143.086V143.086C281.012 151.353 291.128 154.641 299.395 150.43L331.205 134.226V134.226Z", fill: e }), /* @__PURE__ */ d.jsx("path", { d: "M267.946 197.685C259.666 193.5 256.346 183.394 260.531 175.114L276.635 143.253V143.253C284.916 147.439 288.236 157.544 284.05 165.825L267.946 197.685V197.685Z", fill: e }), /* @__PURE__ */ d.jsx("path", { d: "M268.102 197.832C263.891 189.565 253.774 186.276 245.507 190.488L213.697 206.691V206.691C217.908 214.959 228.024 218.247 236.292 214.036L268.102 197.832V197.832Z", fill: e }), /* @__PURE__ */ d.jsx("ellipse", { cx: "9.44981", cy: "16.4497", rx: "9.44981", ry: "16.4497", transform: "matrix(0.999856 0.0169724 -0.0169683 0.999856 7.00781 -1.92603)", fill: e }), /* @__PURE__ */ d.jsx("ellipse", { cx: "9.44981", cy: "16.4497", rx: "9.44981", ry: "16.4497", transform: "matrix(0.999856 0.0169724 -0.0169683 0.999856 57.498 48.6133)", fill: e }), /* @__PURE__ */ d.jsx("ellipse", { cx: "9.44981", cy: "16.4497", rx: "9.44981", ry: "16.4497", transform: "matrix(0.999856 0.0169724 -0.0169683 0.999856 108.088 99.0482)", fill: e }), /* @__PURE__ */ d.jsx("ellipse", { cx: "9.44981", cy: "16.4497", rx: "9.44981", ry: "16.4497", transform: "matrix(0.999856 0.0169724 -0.0169683 0.999856 134.357 -28.9557)", fill: e }), /* @__PURE__ */ d.jsx("ellipse", { cx: "9.44981", cy: "16.4497", rx: "9.44981", ry: "16.4497", transform: "matrix(0.999856 0.0169724 -0.0169683 0.999856 184.947 21.479)", fill: e }), /* @__PURE__ */ d.jsx("ellipse", { cx: "9.44981", cy: "16.4497", rx: "9.44981", ry: "16.4497", transform: "matrix(0.020101 0.999798 0.999798 -0.0200969 62.9512 -7.89846)", fill: e }), /* @__PURE__ */ d.jsx("ellipse", { cx: "9.44981", cy: "16.4497", rx: "9.44981", ry: "16.4497", transform: "matrix(0.020101 0.999798 0.999798 -0.0200969 113.65 42.4318)", fill: e }), /* @__PURE__ */ d.jsx("ellipse", { cx: "9.44981", cy: "16.4497", rx: "9.44981", ry: "16.4497", transform: "matrix(0.020101 0.999798 0.999798 -0.0200969 -14.0371 69.3337)", fill: e }), /* @__PURE__ */ d.jsx("ellipse", { cx: "9.44981", cy: "16.4497", rx: "9.44981", ry: "16.4497", transform: "matrix(0.020101 0.999798 0.999798 -0.0200969 36.6641 119.664)", fill: e }), /* @__PURE__ */ d.jsx("path", { d: "M132.305 51.8708L193.909 39.6479", stroke: e, "stroke-width": "3" }), /* @__PURE__ */ d.jsx("path", { d: "M80.5 2.20757L142.104 -10.0153", stroke: e, "stroke-width": "3" }), /* @__PURE__ */ d.jsx("path", { d: "M143.838 -11.7506L205.442 -23.9735", stroke: e, "stroke-width": "3" }), /* @__PURE__ */ d.jsx("path", { d: "M58.9219 125.983L120.526 113.76", stroke: e, "stroke-width": "3" }), /* @__PURE__ */ d.jsx("path", { d: "M19.6387 12.697L81.2427 0.474062", stroke: e, "stroke-width": "3" }), /* @__PURE__ */ d.jsx("path", { d: "M64.2676 66.0838L125.872 53.8609", stroke: e, "stroke-width": "3" }), /* @__PURE__ */ d.jsx("path", { d: "M2.41797 78.5546L64.022 66.3317", stroke: e, "stroke-width": "3" }), /* @__PURE__ */ d.jsx("path", { d: "M-46.1699 27.1538L15.4341 14.9309", stroke: e, "stroke-width": "3" }), /* @__PURE__ */ d.jsx("path", { d: "M129.83 51.8748L117.8 113.517", stroke: e, "stroke-width": "3" }), /* @__PURE__ */ d.jsx("path", { d: "M80.7461 -0.0201477L68.716 61.6219", stroke: e, "stroke-width": "3" }), /* @__PURE__ */ d.jsx("path", { d: "M17.4102 13.9379L5.38008 75.5799", stroke: e, "stroke-width": "3" }), /* @__PURE__ */ d.jsx("path", { d: "M68.4746 64.8398L56.4445 126.482", stroke: e, "stroke-width": "3" }), /* @__PURE__ */ d.jsx("path", { d: "M142.598 -12.491L130.568 49.151", stroke: e, "stroke-width": "3" }), /* @__PURE__ */ d.jsx("path", { d: "M209.396 -25.9595L197.366 35.6825", stroke: e, "stroke-width": "3" }), /* @__PURE__ */ d.jsx("path", { d: "M28.2012 -48.445L16.1711 13.197", stroke: e, "stroke-width": "3" }), /* @__PURE__ */ d.jsx("ellipse", { cx: "9.44981", cy: "16.4497", rx: "9.44981", ry: "16.4497", transform: "matrix(0.999856 0.0169724 -0.0169683 0.999856 29.8672 175.059)", fill: e }), /* @__PURE__ */ d.jsx("path", { d: "M-22.7734 205.451L38.8306 193.228", stroke: e, "stroke-width": "3" }), /* @__PURE__ */ d.jsx("path", { d: "M-62.4043 91.0301L-0.800235 78.8072", stroke: e, "stroke-width": "3" }), /* @__PURE__ */ d.jsx("path", { d: "M-11.3477 140.942L50.2564 128.719", stroke: e, "stroke-width": "3" }), /* @__PURE__ */ d.jsx("path", { d: "M2.16992 77.8125L-9.86016 139.455", stroke: e, "stroke-width": "3" }), /* @__PURE__ */ d.jsx("path", { d: "M53.7285 132.179L41.6984 193.821", stroke: e, "stroke-width": "3" }), /* @__PURE__ */ d.jsx("path", { d: "M-12.4766 141.089L-24.5066 202.731", stroke: e, "stroke-width": "3" }), /* @__PURE__ */ d.jsx("path", { d: "M-25.3477 206.547L-37.3777 268.189", stroke: e, "stroke-width": "3" }), /* @__PURE__ */ d.jsx("rect", { x: "-123.332", y: "384.147", width: "719.588", height: "10.4999", transform: "rotate(-45.0896 -123.332 384.147)", fill: e }), /* @__PURE__ */ d.jsx("rect", { x: "-84.6758", y: "422.683", width: "719.588", height: "10.4999", transform: "rotate(-45.0896 -84.6758 422.683)", fill: e }), /* @__PURE__ */ d.jsx("rect", { x: "-111.248", y: "396.192", width: "719.505", height: "28.1425", transform: "rotate(-45.0896 -111.248 396.192)", fill: e }), /* @__PURE__ */ d.jsx("rect", { x: "-9.85156", y: "497.27", width: "719.588", height: "10.4999", transform: "rotate(-45.0896 -9.85156 497.27)", fill: e }) ] }), /* @__PURE__ */ d.jsx("path", { d: "M208.597 289.716C211.688 286.559 218.192 287.916 223.125 292.746C226.69 296.237 228.456 300.587 227.995 303.923L248.767 311.01C249.812 311.366 250.37 312.502 250.014 313.548C249.657 314.593 248.52 315.151 247.475 314.795L229.188 308.554L245.969 325.804C246.739 326.596 246.721 327.863 245.93 328.634C245.138 329.403 243.872 329.386 243.102 328.594L238.346 323.705L243.859 332.263C244.458 333.192 244.19 334.43 243.262 335.028C242.333 335.626 241.095 335.358 240.497 334.429L224.254 309.218L223.751 308.701C220.372 309.522 215.694 307.863 211.931 304.178C206.998 299.347 205.505 292.872 208.597 289.716Z", fill: e }), /* @__PURE__ */ d.jsx("path", { d: "M237.597 259.716C240.688 256.559 247.192 257.916 252.125 262.746C255.831 266.375 257.595 270.932 256.932 274.313L278.005 286.858C278.954 287.423 279.265 288.651 278.7 289.6C278.135 290.549 276.908 290.86 275.959 290.296L259.698 280.615L276.773 300.037C277.503 300.866 277.422 302.13 276.593 302.859C275.763 303.588 274.499 303.508 273.769 302.678L266.54 294.455L272.859 304.263C273.458 305.192 273.19 306.43 272.262 307.028C271.333 307.626 270.095 307.358 269.497 306.429L251.743 278.872C248.481 279.186 244.332 277.508 240.931 274.178C235.998 269.347 234.505 262.872 237.597 259.716Z", fill: e }), /* @__PURE__ */ d.jsx("path", { d: "M265.597 230.716C268.688 227.559 275.192 228.916 280.125 233.746C283.776 237.321 285.54 241.797 284.957 245.162L310.162 261.988C311.081 262.601 311.328 263.843 310.715 264.762C310.102 265.68 308.86 265.928 307.941 265.315L286.168 250.78L303.091 266.511C303.9 267.263 303.945 268.528 303.193 269.337C302.441 270.146 301.176 270.192 300.367 269.44L292.073 261.73L298.859 272.263C299.458 273.192 299.19 274.43 298.262 275.028C297.333 275.626 296.095 275.358 295.497 274.429L280.213 250.705L279.346 249.899C276.149 250.047 272.195 248.374 268.931 245.178C263.998 240.348 262.505 233.872 265.597 230.716Z", fill: e }), /* @__PURE__ */ d.jsx("path", { d: "M292.597 202.716C295.688 199.559 302.192 200.916 307.125 205.746C310.464 209.015 312.223 213.038 312.055 216.275L331.173 235.581C331.95 236.366 331.944 237.632 331.159 238.409C330.374 239.186 329.107 239.18 328.33 238.395L314.438 224.366L324.234 235.949C324.948 236.792 324.842 238.055 323.999 238.768C323.156 239.482 321.893 239.375 321.18 238.532L315.717 232.073L324.859 246.263C325.457 247.192 325.19 248.43 324.262 249.028C323.333 249.626 322.095 249.358 321.497 248.429L304.319 221.767C301.574 221.306 298.533 219.726 295.931 217.178C290.998 212.348 289.505 205.872 292.597 202.716Z", fill: e }), /* @__PURE__ */ d.jsx("path", { d: "M321.597 173.716C324.688 170.559 331.192 171.916 336.125 176.746C340.278 180.813 341.992 186.045 340.585 189.481L355.699 202.742C356.529 203.47 356.612 204.734 355.884 205.564C355.155 206.395 353.892 206.477 353.061 205.749L339.978 194.27L352.859 214.263C353.458 215.192 353.19 216.43 352.262 217.028C351.333 217.626 350.095 217.358 349.497 216.429L344.438 208.578L346.884 215.808C347.237 216.855 346.676 217.99 345.63 218.344C344.584 218.697 343.449 218.136 343.095 217.09L335.551 194.782L334.331 192.888C331.339 192.686 327.858 191.044 324.931 188.178C319.998 183.348 318.505 176.872 321.597 173.716Z", fill: e }), /* @__PURE__ */ d.jsx("path", { d: "M350.597 144.716C353.688 141.559 360.192 142.916 365.125 147.746C368.692 151.239 370.458 155.592 369.994 158.929L389.538 173.45C390.425 174.109 390.609 175.362 389.95 176.249C389.291 177.135 388.039 177.32 387.152 176.661L379.207 170.757L388.187 180.627C388.931 181.444 388.871 182.709 388.054 183.452C387.237 184.195 385.972 184.135 385.228 183.318L372.379 169.198L380.204 181.02C380.814 181.941 380.561 183.183 379.64 183.793C378.719 184.402 377.478 184.149 376.868 183.228L364.08 163.906C360.932 163.953 357.106 162.286 353.931 159.178C348.998 154.348 347.505 147.872 350.597 144.716Z", fill: e }), /* @__PURE__ */ d.jsx("path", { d: "M379.597 115.716C382.688 112.559 389.192 113.916 394.125 118.746C396.531 121.102 398.116 123.85 398.752 126.413L426.062 136.828C427.094 137.222 427.611 138.378 427.218 139.41C426.824 140.442 425.669 140.959 424.637 140.565L401.091 131.586L416.062 144.258C416.906 144.971 417.01 146.234 416.297 147.077C415.583 147.92 414.321 148.025 413.478 147.311L399.33 135.337L414.493 156.048C415.146 156.939 414.952 158.19 414.06 158.843C413.169 159.495 411.918 159.302 411.266 158.411L394.01 134.84C390.71 135.275 386.426 133.6 382.931 130.178C377.998 125.348 376.505 118.872 379.597 115.716Z", fill: e }), /* @__PURE__ */ d.jsx("path", { d: "M408.597 86.7156C411.688 83.5589 418.192 84.9159 423.125 89.7459C426.573 93.1224 428.337 97.302 428.032 100.591L450.125 119.173C450.97 119.884 451.08 121.145 450.369 121.99C449.658 122.835 448.396 122.944 447.551 122.233L428.831 106.488L439.679 123.326C440.277 124.254 440.009 125.492 439.081 126.091C438.152 126.689 436.915 126.421 436.316 125.492L433.737 121.489L437.72 130.61C438.162 131.622 437.699 132.801 436.687 133.243C435.675 133.685 434.496 133.223 434.054 132.211L422.8 106.433C422.721 106.252 422.672 106.066 422.648 105.88C419.401 106.153 415.299 104.476 411.931 101.178C406.998 96.3475 405.505 89.8724 408.597 86.7156Z", fill: e }), /* @__PURE__ */ d.jsx("path", { d: "M437.597 57.7156C440.688 54.5589 447.192 55.9159 452.125 60.7459C455.747 64.2923 457.511 68.7245 456.971 72.0799L477.752 84.8758C478.692 85.4549 478.985 86.6862 478.406 87.6267C477.827 88.5673 476.595 88.8602 475.654 88.281L459.451 78.3035L474.232 96.3435C474.932 97.1979 474.807 98.4589 473.953 99.159C473.099 99.8587 471.839 99.7337 471.139 98.8797L457.346 82.0457L460.093 97.7605C460.283 98.8485 459.556 99.8846 458.468 100.075C457.38 100.265 456.344 99.5378 456.153 98.45L452.365 76.784C449.022 77.3948 444.553 75.7242 440.931 72.1775C435.998 67.3475 434.505 60.8724 437.597 57.7156Z", fill: e }), /* @__PURE__ */ d.jsx("path", { d: "M466.597 28.7156C469.688 25.5589 476.192 26.9159 481.125 31.7459C484.486 35.0367 486.246 39.0905 486.052 42.3387L505.945 62.8299C506.714 63.6223 506.696 64.8886 505.904 65.658C505.112 66.4272 503.846 66.4091 503.076 65.617L489.028 51.1463L499.052 65.0008C499.699 65.8957 499.498 67.1463 498.603 67.7937C497.709 68.441 496.458 68.2403 495.81 67.3455L485.388 52.9383L492.106 75.5037C492.421 76.5622 491.818 77.6759 490.76 77.991C489.701 78.306 488.588 77.7029 488.272 76.6443L479.715 47.9051C476.639 47.8236 472.984 46.1672 469.931 43.1775C464.998 38.3475 463.505 31.8724 466.597 28.7156Z", fill: e }), /* @__PURE__ */ d.jsx("path", { d: "M494.597 2.71562C497.688 -0.44114 504.192 0.915899 509.125 5.74589C513.384 9.91659 515.076 15.3118 513.469 18.74L533.418 38.6473C534.2 39.4275 534.201 40.6945 533.421 41.4764C532.641 42.258 531.375 42.2592 530.593 41.4793L522.708 33.6121L530.859 46.2635C531.458 47.192 531.19 48.4299 530.262 49.0281C529.333 49.6262 528.095 49.358 527.497 48.4295L515.504 29.8142L520.511 44.3572C520.87 45.4016 520.315 46.5407 519.27 46.9002C518.226 47.2595 517.088 46.7041 516.728 45.66L508.65 22.1932C508.615 22.0911 508.591 21.9876 508.573 21.8846C505.338 22.1255 501.273 20.4508 497.931 17.1775C492.998 12.3475 491.505 5.87241 494.597 2.71562Z", fill: e }), /* @__PURE__ */ d.jsx("path", { d: "M5.59663 491.716C8.68787 488.559 15.1924 489.916 20.125 494.746C23.8721 498.415 25.6311 503.033 24.9062 506.425L38.5585 528.3C39.1433 529.237 38.8579 530.47 37.9208 531.054C36.9838 531.639 35.7508 531.354 35.166 530.417L23.9375 512.428L30.4042 538.978C30.6653 540.051 30.0075 541.133 28.9345 541.394C27.8614 541.656 26.779 540.998 26.5175 539.925L20.0195 513.245L22.7802 537.645C22.9042 538.743 22.115 539.733 21.0175 539.857C19.9201 539.981 18.9298 539.192 18.8056 538.094L15.6679 510.364C13.3931 509.644 11.0202 508.224 8.93062 506.178C3.9982 501.347 2.50544 494.872 5.59663 491.716Z", fill: e }), /* @__PURE__ */ d.jsx("path", { d: "M34.5966 463.716C37.6879 460.559 44.1924 461.916 49.125 466.746C52.5482 470.098 54.3119 474.242 54.039 477.519L72.1025 494.483C72.9075 495.239 72.9472 496.505 72.1914 497.31C71.4352 498.115 70.1694 498.155 69.3642 497.399L52.4941 481.555L63.6816 497.811C64.3075 498.721 64.0777 499.966 63.1679 500.593C62.2581 501.219 61.0129 500.988 60.3867 500.079L52.5468 488.687L60.7666 511.943C61.1344 512.985 60.5882 514.127 59.5468 514.495C58.5055 514.863 57.3633 514.317 56.9951 513.276L46.205 482.746C43.4898 482.26 40.497 480.691 37.9306 478.178C32.9982 473.347 31.5054 466.872 34.5966 463.716Z", fill: e }), /* @__PURE__ */ d.jsx("path", { d: "M63.5966 434.716C66.6879 431.559 73.1924 432.916 78.125 437.746C81.5261 441.076 83.2898 445.188 83.0449 448.456L88.4023 454.539L105.717 466.761C106.619 467.398 106.834 468.646 106.197 469.549C105.56 470.451 104.312 470.666 103.41 470.029L99.8037 467.483L103.796 472.015C104.526 472.844 104.445 474.109 103.616 474.839C102.787 475.568 101.524 475.489 100.794 474.66L85.7109 457.535L84.6806 456.807L96.3164 474.867C96.9146 475.796 96.6463 477.033 95.7177 477.632C94.7892 478.23 93.5513 477.962 92.9531 477.034L78.0107 453.84C74.7106 454.275 70.4259 452.6 66.9306 449.178C61.9982 444.347 60.5054 437.872 63.5966 434.716Z", fill: e }), /* @__PURE__ */ d.jsx("path", { d: "M92.5966 405.716C95.6879 402.559 102.192 403.916 107.125 408.746C110.497 412.048 112.26 416.119 112.051 419.373L137.461 433.372C138.428 433.905 138.781 435.121 138.248 436.089C137.715 437.056 136.499 437.409 135.531 436.876L117.92 427.173L129.254 439.558C130 440.373 129.944 441.638 129.129 442.384C128.314 443.129 127.049 443.073 126.304 442.259L112.4 427.066L124.583 449.701C125.106 450.674 124.742 451.886 123.769 452.41C122.797 452.933 121.584 452.569 121.061 451.596L106.681 424.878C103.429 425.164 99.3104 423.487 95.9306 420.178C90.9982 415.347 89.5054 408.872 92.5966 405.716Z", fill: e }), /* @__PURE__ */ d.jsx("path", { d: "M121.597 376.716C124.688 373.559 131.192 374.916 136.125 379.746C138.932 382.494 140.623 385.775 140.991 388.675L163.551 400.934C164.521 401.462 164.881 402.676 164.353 403.646C163.826 404.617 162.611 404.976 161.641 404.449L147.308 396.66L161.696 411.475C162.466 412.268 162.447 413.534 161.654 414.303C160.862 415.073 159.596 415.055 158.826 414.262L141.493 396.414L156.859 420.263C157.458 421.192 157.19 422.43 156.262 423.028C155.333 423.626 154.095 423.358 153.497 422.429L136.334 395.789C132.994 396.384 128.541 394.713 124.931 391.178C119.998 386.347 118.505 379.872 121.597 376.716Z", fill: e }), /* @__PURE__ */ d.jsx("path", { d: "M150.597 347.716C153.688 344.559 160.192 345.916 165.125 350.746C168.782 354.327 170.546 358.811 169.955 362.178C170.033 362.231 170.11 362.29 170.182 362.356L195.176 385.406C195.988 386.155 196.039 387.42 195.29 388.232C194.541 389.044 193.276 389.095 192.464 388.346L171.177 368.716L171.813 371.119L182.859 388.263C183.458 389.192 183.19 390.43 182.262 391.028C181.333 391.626 180.095 391.358 179.497 390.429L175.14 383.667L178.091 394.798C178.374 395.865 177.738 396.961 176.67 397.244C175.602 397.527 174.508 396.891 174.225 395.823L168.109 372.754L164.338 366.9C161.143 367.045 157.193 365.372 153.931 362.178C148.998 357.347 147.505 350.872 150.597 347.716Z", fill: e }), /* @__PURE__ */ d.jsx("path", { d: "M179.597 318.716C182.688 315.559 189.192 316.916 194.125 321.746C197.373 324.926 199.128 328.819 199.066 332.009L225.109 351.742C225.989 352.409 226.162 353.663 225.495 354.544C224.828 355.424 223.574 355.596 222.693 354.929L198.788 336.816L213.989 360.173C214.592 361.098 214.329 362.338 213.403 362.94C212.478 363.543 211.239 363.281 210.637 362.355L197.828 342.675L201.41 362.895C201.602 363.983 200.877 365.02 199.79 365.213C198.702 365.405 197.664 364.68 197.472 363.593L192.922 337.907C189.804 337.897 186.053 336.235 182.931 333.178C177.998 328.347 176.505 321.872 179.597 318.716Z", fill: e }) ] }), ct = { mobileSmall: 320, mobileLarge: 414, tabletSmall: 768, tablet: 834, desktopSmall: 1024, desktopMedium: 1280, desktopStandard: 1440 }, nn = (t = 1) => { const [e, n] = Ir("desktopStandard"); return fe(() => { const s = () => { const i = window.innerWidth / t; i <= ct.mobileSmall ? n("mobileSmall") : i <= ct.mobileLarge ? n("mobileLarge") : i <= ct.tabletSmall ? n("tabletSmall") : i <= ct.tablet ? n("tablet") : i <= ct.desktopSmall ? n("desktopSmall") : i <= ct.desktopMedium ? n("desktopMedium") : i <= ct.desktopStandard ? n("desktopStandard") : n("desktopHD"); }; return s(), window.addEventListener("resize", s), () => window.removeEventListener("resize", s); }, [t]), e; }, Yr = (t) => { switch (t) { case "mobileSmall": return 100; case "mobileLarge": return 150; case "tabletSmall": return 200; case "tablet": return 225; case "desktopSmall": return 250; case "desktopMedium": return 275; case "desktopStandard": return 300; case "desktopHD": return 350; default: return 300; } }, ju = ({ scale: t = 1, transparent: e = !1, designColor: n = "black", backgroundColor: s = "white" }) => { const i = nn(), o = `${Yr(i) * t}px`; return /* @__PURE__ */ d.jsx("div", { className: "keffiyeh-container", style: { display: "flex", position: "absolute", top: 0, left: 0, justifyContent: "flex-start", alignItems: "flex-start", width: "100%", height: "auto" }, children: /* @__PURE__ */ d.jsx(zr, { style: { maxWidth: "100%", height: "auto", width: o }, designColor: n, backgroundColor: e ? "transparent" : s }) }); }, Gr = "data:image/svg+xml,%3csvg%20width='300'%20height='559'%20viewBox='0%200%20300%20559'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3crect%20x='300'%20y='59'%20width='500'%20height='100'%20transform='rotate(90%20300%2059)'%20fill='black'/%3e%3crect%20x='200'%20y='59'%20width='500'%20height='100'%20transform='rotate(90%20200%2059)'%20fill='white'/%3e%3crect%20x='100'%20y='59'%20width='500'%20height='100'%20transform='rotate(90%20100%2059)'%20fill='%23009639'/%3e%3cpath%20d='M225%200C266.422%201.69126e-05%20300%2027.808%20300%2062.1108C300%2080.1189%20290.745%2096.336%20275.96%20107.681L150.754%20223L22.7313%20106.471C8.70381%2095.1981%203.77722e-05%2079.488%200%2062.1108C0%2027.808%2033.9146%200%2075.7502%200C113.946%202.22456e-06%20145.537%2023.1799%20150.746%2053.319C155.902%2023.1797%20187.183%200%20225%200Z'%20fill='%23ED2E38'/%3e%3c/svg%3e", ni = Vt({}); function Hr(t) { const e = ne(null); return e.current === null && (e.current = t()), e.current; } const sn = typeof window < "u", Xr = sn ? Fr : fe, rn = /* @__PURE__ */ Vt(null); function on(t, e) { t.indexOf(e) === -1 && t.push(e); } function an(t, e) { const n = t.indexOf(e); n > -1 && t.splice(n, 1); } const et = (t, e, n) => n > e ? e : n < t ? t : n; let At = () => { }, nt = () => { }; if (process.env.NODE_ENV !== "production") { const t = (e, n) => n ? `${e}. For more information and steps for solving, visit https://motion.dev/troubleshooting/${n}` : e; At = (e, n, s) => { !e && typeof console < "u" && console.warn(t(n, s)); }, nt = (e, n, s) => { if (!e) throw new Error(t(n, s)); }; } const st = {}, si = (t) => /^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(t); function ii(t) { return typeof t == "object" && t !== null; } const ri = (t) => /^0[^.\s]+$/u.test(t); // @__NO_SIDE_EFFECTS__ function ln(t) { let e; return () => (e === void 0 && (e = t()), e); } const G = /* @__NO_SIDE_EFFECTS__ */ (t) => t, qr = (t, e) => (n) => e(t(n)), Gt = (...t) => t.reduce(qr), Ut = /* @__NO_SIDE_EFFECTS__ */ (t, e, n) => { const s = e - t; return s === 0 ? 1 : (n - t) / s; }; class cn { constructor() { this.subscriptions = []; } add(e) { return on(this.subscriptions, e), () => an(this.subscriptions, e); } notify(e, n, s) { const i = this.subscriptions.length; if (i) if (i === 1) this.subscriptions[0](e, n, s); else for (let o = 0; o < i; o++) { const r = this.subscriptions[o]; r && r(e, n, s); } } getSize() { return this.subscriptions.length; } clear() { this.subscriptions.length = 0; } } const X = /* @__NO_SIDE_EFFECTS__ */ (t) => t * 1e3, Q = /* @__NO_SIDE_EFFECTS__ */ (t) => t / 1e3; function oi(t, e) { return e ? t * (1e3 / e) : 0; } const Nn = /* @__PURE__ */ new Set(); function un(t, e, n) { t || Nn.has(e) || (console.warn(e), Nn.add(e)); } const ai = (t, e, n) => (((1 - 3 * n + 3 * e) * t + (3 * n - 6 * e)) * t + 3 * e) * t, Jr = 1e-7, Qr = 12; function to(t, e, n, s, i) { let o, r, a = 0; do r = e + (n - e) / 2, o = ai(r, s, i) - t, o > 0 ? n = r : e = r; while (Math.abs(o) > Jr && ++a < Qr); return r; } function Ht(t, e, n, s) { if (t === e && n === s) return G; const i = (o) => to(o, 0, 1, t, n); return (o) => o === 0 || o === 1 ? o : ai(i(o), e, s); } const li = (t) => (e) => e <= 0.5 ? t(2 * e) / 2 : (2 - t(2 * (1 - e))) / 2, ci = (t) => (e) => 1 - t(1 - e), ui = /* @__PURE__ */ Ht(0.33, 1.53, 0.69, 0.99), hn = /* @__PURE__ */ ci(ui), hi = /* @__PURE__ */ li(hn), fi = (t) => (t *= 2) < 1 ? 0.5 * hn(t) : 0.5 * (2 - Math.pow(2, -10 * (t - 1))), fn = (t) => 1 - Math.sin(Math.acos(t)), di = ci(fn), mi = li(fn), eo = /* @__PURE__ */ Ht(0.42, 0, 1, 1), no = /* @__PURE__ */ Ht(0, 0, 0.58, 1), pi = /* @__PURE__ */ Ht(0.42, 0, 0.58, 1), so = (t) => Array.isArray(t) && typeof t[0] != "number", gi = (t) => Array.isArray(t) && typeof t[0] == "number", _n = { linear: G, easeIn: eo, easeInOut: pi, easeOut: no, circIn: fn, circInOut: mi, circOut: di, backIn: hn, backInOut: hi, backOut: ui, anticipate: fi }, io = (t) => typeof t == "string", Un = (t) => { if (gi(t)) { nt(t.length === 4, "Cubic bezier arrays must contain four numerical values.", "cubic-bezier-length"); const [e, n, s, i] = t; return Ht(e, n, s, i); } else if (io(t)) return nt(_n[t] !== void 0, `Invalid easing type '${t}'`, "invalid-easing-type"), _n[t]; return t; }, Qt = [ "setup", // Compute "read", // Read "resolveKeyframes", // Write/Read/Write/Read "preUpdate", // Compute "update", // Compute "preRender", // Compute "render", // Write "postRender" // Compute ], $n = { value: null }; function ro(t, e) { let n = /* @__PURE__ */ new Set(), s = /* @__PURE__ */ new Set(), i = !1, o = !1; const r = /* @__PURE__ */ new WeakSet(); let a = { delta: 0, timestamp: 0, isProcessing: !1 }, l = 0; function u(h) { r.has(h) && (c.schedule(h), t()), l++, h(a); } const c = { /** * Schedule a process to run on the next frame. */ schedule: (h, f = !1, m = !1) => { const x = m && i ? n : s; return f && r.add(h), x.has(h) || x.add(h), h; }, /** * Cancel the provided callback from running on the next frame. */ cancel: (h) => { s.delete(h), r.delete(h); }, /** * Execute all schedule callbacks. */ process: (h) => { if (a = h, i) { o = !0; return; } i = !0, [n, s] = [s, n], n.forEach(u), e && $n.value && $n.value.frameloop[e].push(l), l = 0, n.clear(), i = !1, o && (o = !1, c.process(h)); } }; return c; } const oo = 40; function yi(t, e) { let n = !1, s = !0; const i = { delta: 0, timestamp: 0, isProcessing: !1 }, o = () => n = !0, r = Qt.reduce((v, L) => (v[L] = ro(o, e ? L : void 0), v), {}), { setup: a, read: l, resolveKeyframes: u, preUpdate: c, update: h, preRender: f, render: m, postRender: g } = r, x = () => { const v = st.useManualTiming ? i.timestamp : performance.now(); n = !1, st.useManualTiming || (i.delta = s ? 1e3 / 60 : Math.max(Math.min(v - i.timestamp, oo), 1)), i.timestamp = v, i.isProcessing = !0, a.process(i), l.process(i), u.process(i), c.process(i), h.process(i), f.process(i), m.process(i), g.process(i), i.isProcessing = !1, n && e && (s = !1, t(x)); }, T = () => { n = !0, s = !0, i.isProcessing || t(x); }; return { schedule: Qt.reduce((v, L) => { const b = r[L]; return v[L] = (V, k = !1, S = !1) => (n || T(), b.schedule(V, k, S)), v; }, {}), cancel: (v) => { for (let L = 0; L < Qt.length; L++) r[Qt[L]].cancel(v); }, state: i, steps: r }; } const { schedule: A, cancel: ot, state: I, steps: we } = /* @__PURE__ */ yi(typeof requestAnimationFrame < "u" ? requestAnimationFrame : G, !0); let se; function ao() { se = void 0; } const K = { now: () => (se === void 0 && K.set(I.isProcessing || st.useManualTiming ? I.timestamp : performance.now()), se), set: (t) => { se = t, queueMicrotask(ao); } }, vi = (t) => (e) => typeof e == "string" && e.startsWith(t), dn = /* @__PURE__ */ vi("--"), lo = /* @__PURE__ */ vi("var(--"), mn = (t) => lo(t) ? co.test(t.split("/*")[0].trim()) : !1, co = /var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu, Mt = { test: (t) => typeof t == "number", parse: parseFloat, transform: (t) => t }, $t = { ...Mt, transform: (t) => et(0, 1, t) }, te = { ...Mt, default: 1 }, Ft = (t) => Math.round(t * 1e5) / 1e5, pn = /-?(?:\d+(?:\.\d+)?|\.\d+)/gu; function uo(t) { return t == null; } const ho = /^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu, gn = (t, e) => (n) => !!(typeof n == "string" && ho.test(n) && n.startsWith(t) || e && !uo(n) && Object.prototype.hasOwnProperty.call(n, e)), xi = (t, e, n) => (s) => { if (typeof s != "string") return s; const [i, o, r, a] = s.match(pn); return { [t]: parseFloat(i), [e]: parseFloat(o), [n]: parseFloat(r), alpha: a !== void 0 ? parseFloat(a) : 1 }; }, fo = (t) => et(0, 255, t), Se = { ...Mt, transform: (t) => Math.round(fo(t)) }, ft = { test: /* @__PURE__ */ gn("rgb", "red"), parse: /* @__PURE__ */ xi("red", "green", "blue"), transform: ({ red: t, green: e, blue: n, alpha: s = 1 }) => "rgba(" + Se.transform(t) + ", " + Se.transform(e) + ", " + Se.transform(n) + ", " + Ft($t.transform(s)) + ")" }; function mo(t) { let e = "", n = "", s = "", i = ""; return t.length > 5 ? (e = t.substring(1, 3), n = t.substring(3, 5), s = t.substring(5, 7), i = t.substring(7, 9)) : (e = t.substring(1, 2), n = t.substring(2, 3), s = t.substring(3, 4), i = t.substring(4, 5), e += e, n += n, s += s, i += i), { red: parseInt(e, 16), green: parseInt(n, 16), blue: parseInt(s, 16), alpha: i ? parseInt(i, 16) / 255 : 1 }; } const Ie = { test: /* @__PURE__ */ gn("#"), parse: mo, transform: ft.transform }, Xt = /* @__NO_SIDE_EFFECTS__ */ (t) => ({ test: (e) => typeof e == "string" && e.endsWith(t) && e.split(" ").length === 1, parse: parseFloat, transform: (e) => `${e}${t}` }), rt = /* @__PURE__ */ Xt("deg"), tt = /* @__PURE__ */ Xt("%"), w = /* @__PURE__ */ Xt("px"), po = /* @__PURE__ */ Xt("vh"), go = /* @__PURE__ */ Xt("vw"), Wn = { ...tt, parse: (t) => tt.parse(t) / 100, transform: (t) => tt.transform(t * 100) }, xt = { test: /* @__PURE__ */ gn("hsl", "hue"), parse: /* @__PURE__ */ xi("hue", "saturation", "lightness"), transform: ({ hue: t, saturation: e, lightness: n, alpha: s = 1 }) => "hsla(" + Math.round(t) + ", " + tt.transform(Ft(e)) + ", " + tt.transform(Ft(n)) + ", " + Ft($t.transform(s)) + ")" }, j = { test: (t) => ft.test(t) || Ie.test(t) || xt.test(t), parse: (t) => ft.test(t) ? ft.parse(t) : xt.test(t) ? xt.parse(t) : Ie.parse(t), transform: (t) => typeof t == "string" ? t : t.hasOwnProperty("red") ? ft.transform(t) : xt.transform(t), getAnimatableNone: (t) => { const e = j.parse(t); return e.alpha = 0, j.transform(e); } }, yo = /(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu; function vo(t) { return isNaN(t) && typeof t == "string" && (t.match(pn)?.length || 0) + (t.match(yo)?.length || 0) > 0; } const Ti = "number", Ci = "color", xo = "var", To = "var(", Kn = "${}", Co = /var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu; function Wt(t) { const e = t.toString(), n = [], s = { color: [], number: [], var: [] }, i = []; let o = 0; const a = e.replace(Co, (l) => (j.test(l) ? (s.color.push(o), i.push(Ci), n.push(j.parse(l))) : l.startsWith(To) ? (s.var.push(o), i.push(xo), n.push(l)) : (s.number.push(o), i.push(Ti), n.push(parseFloat(l))), ++o, Kn)).split(Kn); return { values: n, split: a, indexes: s, types: i }; } function bi(t) { return Wt(t).values; } function wi(t) { const { split: e, types: n } = Wt(t), s = e.length; return (i) => { let o = ""; for (let r = 0; r < s; r++) if (o += e[r], i[r] !== void 0) { const a = n[r]; a === Ti ? o += Ft(i[r]) : a === Ci ? o += j.transform(i[r]) : o += i[r]; } return o; }; } const bo = (t) => typeof t == "number" ? 0 : j.test(t) ? j.getAnimatableNone(t) : t; function wo(t) { const e = bi(t); return wi(t)(e.map(bo)); } const at = { test: vo, parse: bi, createTransformer: wi, getAnimatableNone: wo }; function Pe(t, e, n) { return n < 0 && (n += 1), n > 1 && (n -= 1), n < 1 / 6 ? t + (e - t) * 6 * n : n < 1 / 2 ? e : n < 2 / 3 ? t + (e - t) * (2 / 3 - n) * 6 : t; } function So({ hue: t, saturation: e, lightness: n, alpha: s }) { t /= 360, e /= 100, n /= 100; let i = 0, o = 0, r = 0; if (!e) i = o = r = n; else { const a = n < 0.5 ? n * (1 + e) : n + e - n * e, l = 2 * n - a; i = Pe(l, a, t + 1 / 3), o = Pe(l, a, t), r = Pe(l, a, t - 1 / 3); } return { red: Math.round(i * 255), green: Math.round(o * 255), blue: Math.round(r * 255), alpha: s }; } function ae(t, e) { return (n) => n > 0 ? e : t; } const D = (t, e, n) => t + (e - t) * n, Le = (t, e, n) => { const s = t * t, i = n * (e * e - s) + s; return i < 0 ? 0 : Math.sqrt(i); }, Po = [Ie, ft, xt], Lo = (t) => Po.find((e) => e.test(t)); function Zn(t) { const e = Lo(t); if (At(!!e, `'${t}' is not an animatable color. Use the equivalent color code instead.`, "color-not-animatable"), !e) return !1; let n = e.parse(t); return e === xt && (n = So(n)), n; } const zn = (t, e) => { const n = Zn(t), s = Zn(e); if (!n || !s) return ae(t, e); const i = { ...n }; return (o) => (i.red = Le(n.red, s.red, o), i.green = Le(n.green, s.green, o), i.blue = Le(n.blue, s.blue, o), i.alpha = D(n.alpha, s.alpha, o), ft.transform(i)); }, Fe = /* @__PURE__ */ new Set(["none", "hidden"]); function Vo(t, e) { return Fe.has(t) ? (n) => n <= 0 ? t : e : (n) => n >= 1 ? e : t; } function Ao(t, e) { return (n) => D(t, e, n); } function yn(t) { return typeof t == "number" ? Ao : typeof t == "string" ? mn(t) ? ae : j.test(t) ? zn : Do : Array.isArray(t) ? Si : typeof t == "object" ? j.test(t) ? zn : Mo : ae; } function Si(t, e) { const n = [...t], s = n.length, i = t.map((o, r) => yn(o)(o, e[r])); return (o) => { for (let r = 0; r < s; r++) n[r] = i[r](o); return n; }; } function Mo(t, e) { const n = { ...t, ...e }, s = {}; for (const i in n) t[i] !== void 0 && e[i] !== void 0 && (s[i] = yn(t[i])(t[i], e[i])); return (i) => { for (const o in s) n[o] = s[o](i); return n; }; } function Eo(t, e) { const n = [], s = { color: 0, var: 0, number: 0 }; for (let i = 0; i < e.values.length; i++) { const o = e.types[i], r = t.indexes[o][s[o]], a = t.values[r] ?? 0; n[i] = a, s[o]++; } return n; } const Do = (t, e) => { const n = at.createTransformer(e), s = Wt(t), i = Wt(e); return s.indexes.var.length === i.indexes.var.length && s.indexes.color.length === i.indexes.color.length && s.indexes.number.length >= i.indexes.number.length ? Fe.has(t) && !i.values.length || Fe.has(e) && !s.values.length ? Vo(t, e) : Gt(Si(Eo(s, i), i.values), n) : (At(!0, `Complex values '${t}' and '${e}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`, "complex-values-different"), ae(t, e)); }; function Pi(t, e, n) { return typeof t == "number" && typeof e == "number" && typeof n == "n