wasvg 1.0.7 → 1.0.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,9 +1,9 @@
1
1
  import { SvgSize } from '../util';
2
2
  interface InterestSvgProps {
3
- interestSeq: number;
3
+ seq: number;
4
4
  categorySeq: number;
5
5
  size?: SvgSize;
6
6
  className?: string;
7
7
  }
8
- declare function InterestSvg({ interestSeq, categorySeq, size, className }: InterestSvgProps): import("react/jsx-runtime").JSX.Element;
8
+ declare function InterestSvg({ seq, categorySeq, size, className }: InterestSvgProps): import("react/jsx-runtime").JSX.Element;
9
9
  export default InterestSvg;
package/dist/wasvg.cjs.js CHANGED
@@ -98,7 +98,7 @@ c-15.864,0-27.191-2.822-32.575-5.256c5.38-2.435,16.703-5.259,32.575-5.259C101.54
98
98
  c-2.344-5.231-5.634-10.049-9.805-14.223c-4.16-4.151-8.964-7.426-14.181-9.76L353.647,92.256l19.152,19.175L248.66,240.392z
99
99
  M450.041,48.204l-6.391,6.391c-0.007,0.007-0.014,0.012-0.02,0.018c-0.007,0.007-0.012,0.014-0.018,0.02l-18.554,18.554
100
100
  c-0.007,0.007-0.014,0.012-0.02,0.018c-0.007,0.007-0.012,0.014-0.018,0.02l-17.73,17.73l-22.502,11.251l-21.913-21.938
101
- l11.254-22.508l42.729-42.729c4.118-0.302,14.189,0.116,23.625,9.553C449.943,34.045,450.341,44.143,450.041,48.204z`})]})})}function r0({className:e="",size:t=c.md}){return r.jsxs("svg",{height:t,width:t,className:n1("stroke-2 text-gray-600",e),viewBox:"0 -5 512.00242 512",xmlns:"http://www.w3.org/2000/svg",children:[r.jsx("path",{d:"m287.832031 219.1875c-3.9375-3.9375-10.320312-3.941406-14.261719-.003906l-49.390624 49.367187c-3.9375 3.9375-3.941407 10.324219-.003907 14.265625 1.96875 1.96875 4.550781 2.953125 7.132813 2.953125 2.578125 0 5.160156-.984375 7.128906-2.953125l49.390625-49.367187c3.941406-3.9375 3.941406-10.324219.003906-14.261719zm0 0"}),r.jsx("path",{d:"m473.394531 298.691406c-16.042969-11.1875-35.847656-17.867187-52.984375-17.867187-5.570312 0-10.085937 4.515625-10.085937 10.085937v108.027344c-9.933594-7.394531-22.773438-11.871094-36.785157-11.871094-31.421874 0-56.984374 22.425782-56.984374 49.992188s25.5625 49.992187 56.984374 49.992187c31.402344 0 56.953126-22.425781 56.953126-49.992187v-135.101563c24.5 4.476563 51.695312 23.855469 51.695312 43.617188v38.601562c0 5.570313 4.515625 10.085938 10.082031 10.085938 5.570313 0 10.085938-4.515625 10.085938-10.085938v-38.601562c0-17.207031-10.285157-33.859375-28.960938-46.882813zm-99.855469 168.191406c-20.296874 0-36.8125-13.378906-36.8125-29.824218 0-16.445313 16.515626-29.824219 36.8125-29.824219 20.285157 0 36.785157 13.378906 36.785157 29.824219 0 16.445312-16.5 29.824218-36.785157 29.824218zm0 0"}),r.jsx("path",{d:"m44.941406 225.824219c24.109375 0 43.722656-17.367188 43.722656-38.71875 0-.59375-.023437-1.183594-.054687-1.773438.035156-.328125.054687-.664062.054687-1.003906v-84.902344c.964844-.109375 1.9375-.285156 2.90625-.546875l109.199219-29.054687v34.632812c-6.800781-3.867187-14.882812-6.121093-23.550781-6.121093-24.109375 0-43.71875 17.359374-43.71875 38.691406 0 21.351562 19.609375 38.722656 43.71875 38.722656s43.71875-17.371094 43.71875-38.722656v-118.21875c0-6.15625-2.597656-11.6875-7.132812-15.171875-4.441407-3.40625-10.265626-4.480469-15.96875-2.960938l-111.449219 29.625c-.003907.003907-.007813.003907-.011719.003907-10.195312 2.726562-17.882812 12.90625-17.882812 23.679687v100.523437c-6.804688-3.867187-14.882813-6.125-23.550782-6.125-24.109375 0-43.722656 17.371094-43.722656 38.722657 0 21.351562 19.613281 38.71875 43.722656 38.71875zm132.277344-70.246094c-12.984375 0-23.550781-8.320313-23.550781-18.546875 0-10.214844 10.566406-18.523438 23.550781-18.523438 12.988281 0 23.550781 8.308594 23.550781 18.523438 0 10.226562-10.5625 18.546875-23.550781 18.546875zm-88.558594-101.59375c0-1.6875 1.691406-3.859375 2.914063-4.191406l109.195312-29.023438v24.804688c0 1.628906-1.730469 3.839843-2.9375 4.160156l-109.171875 29.046875zm-43.71875 114.570313c12.765625 0 23.550782 8.496093 23.550782 18.550781 0 10.054687-10.785157 18.550781-23.550782 18.550781s-23.550781-8.496094-23.550781-18.550781c0-10.054688 10.785156-18.550781 23.550781-18.550781zm0 0"}),r.jsx("path",{d:"m382.570312 233.960938c3.988282.410156 7.984376.613281 11.972657.613281 20.511719 0 40.792969-5.382813 58.535156-15.570313 3.554687 1.195313 7.261719 1.800782 10.972656 1.800782 8.757813 0 17.511719-3.328126 24.175781-9.988282 6.441407-6.417968 9.992188-14.992187 10-24.140625.003907-3.796875-.613281-7.492187-1.785156-10.980469 12.167969-21.191406 17.46875-46.003906 14.949219-70.488281-2.75-26.695312-14.734375-51.867187-33.753906-70.875-19.023438-19-44.199219-30.972656-70.894531-33.714843-24.488282-2.519532-49.324219 2.785156-70.53125 14.953124-11.925782-4.007812-25.636719-1.277343-35.117188 8.199219-6.445312 6.4375-9.992188 15.023438-9.992188 24.171875 0 3.777344.617188 7.460938 1.78125 10.9375-12.171874 21.1875-17.476562 46-14.953124 70.488282.367187 3.558593.910156 7.089843 1.597656 10.585937l-222.347656 234c-14.992188 15.792969-14.917969 40.011719.1875 55.144531l8.800781 8.789063c-10.433594 41.769531-54.425781 43.882812-56.410157 43.957031-5.550781.179688-9.914062 4.816406-9.75390575 10.371094.16015575 5.46875 4.64062475 9.792968 10.07421875 9.792968.101563 0 .199219 0 .300781-.003906.671875-.019531 16.675782-.574218 33.957032-8.753906 13.15625-6.230469 29.109374-17.910156 37.824218-39.394531l.554688.554687c7.585937 7.601563 17.472656 11.40625 27.4375 11.40625 9.882812 0 19.839844-3.738281 27.714844-11.226562l85.976562-81.855469c4.03125-3.839844 4.191406-10.222656.347656-14.257813-3.839844-4.035156-10.222656-4.191406-14.257812-.351562l-85.96875 81.851562c-7.816406 7.429688-19.664063 7.507813-26.988282.171876l-25.347656-25.308594c-7.316406-7.332032-7.238281-19.191406.171875-26.996094l214.460938-225.695312c5.867187 14.144531 14.472656 27.144531 25.429687 38.09375 10.9375 10.933593 23.929688 19.527343 38.070313 25.386718l-61.6875 58.5625c-.058594.054688-.113281.109375-.171875.164063l-12.097656 12.039062c-3.949219 3.925781-3.964844 10.3125-.039063 14.261719 1.972656 1.980469 4.5625 2.972656 7.152344 2.972656 2.570312 0 5.144531-.976562 7.113281-2.9375l12.011719-11.953125 69.925781-66.378906c3.5.691406 7.035156 1.234375 10.601562 1.601563zm80.808594-185.363282c28.71875 28.703125 36.136719 72.589844 19.785156 108.800782l-128.644531-128.554688c36.226563-16.34375 80.132813-8.933594 108.859375 19.753906zm-148.027344-10.5625c2.734376-2.734375 6.324219-4.097656 9.914063-4.097656 3.59375 0 7.183594 1.363281 9.917969 4.097656l138.796875 138.699219c2.632812 2.632813 4.082031 6.15625 4.078125 9.925781-.003906 3.753906-1.449219 7.257813-4.082032 9.878906-5.472656 5.472657-14.382812 5.472657-19.859374 0l-138.765626-138.695312c-2.632812-2.632812-4.082031-6.148438-4.082031-9.90625s1.449219-7.273438 4.082031-9.902344zm-9.191406 39.136719 128.621094 128.5625c-36.21875 16.355469-80.113281 8.945313-108.832031-19.757813-28.734375-28.71875-36.152344-72.601562-19.789063-108.804687zm0 0"}),r.jsx("path",{d:"m256.359375 326.582031c-4.277344-3.5625-10.636719-2.988281-14.203125 1.292969l-.140625.167969c-3.566406 4.28125-2.988281 10.640625 1.289063 14.203125 1.886718 1.574218 4.175781 2.339844 6.453124 2.339844 2.886719 0 5.757813-1.238282 7.75-3.628907l.144532-.171875c3.5625-4.277344 2.984375-10.636718-1.292969-14.203125zm0 0"})]})}const J0=[t0,r0];function o0({seq:e,className:t,size:o}){const s=J0[e-1];return r.jsx(s,{className:t,size:o})}const X0=[X1,e0,o0];function Q0({interestSeq:e,categorySeq:t,size:o=c.sm,className:s=""}){const a=X0[t-1];return r.jsx(a,{seq:e,size:o,className:s})}function K0({className:e="fill-blue-500",size:t=c.xl}){return r.jsx("svg",{className:e,version:"1.0",xmlns:"http://www.w3.org/2000/svg",width:t,height:t,viewBox:"0 0 1271.000000 1280.000000",preserveAspectRatio:"xMidYMid meet",children:r.jsx("g",{transform:"translate(0.000000,1280.000000) scale(0.100000,-0.100000)",stroke:"none",children:r.jsx("path",{d:`M2735 9065 c-95 -17 -242 -58 -345 -95 -115 -42 -232 -91 -247 -102
101
+ l11.254-22.508l42.729-42.729c4.118-0.302,14.189,0.116,23.625,9.553C449.943,34.045,450.341,44.143,450.041,48.204z`})]})})}function r0({className:e="",size:t=c.md}){return r.jsxs("svg",{height:t,width:t,className:n1("stroke-2 text-gray-600",e),viewBox:"0 -5 512.00242 512",xmlns:"http://www.w3.org/2000/svg",children:[r.jsx("path",{d:"m287.832031 219.1875c-3.9375-3.9375-10.320312-3.941406-14.261719-.003906l-49.390624 49.367187c-3.9375 3.9375-3.941407 10.324219-.003907 14.265625 1.96875 1.96875 4.550781 2.953125 7.132813 2.953125 2.578125 0 5.160156-.984375 7.128906-2.953125l49.390625-49.367187c3.941406-3.9375 3.941406-10.324219.003906-14.261719zm0 0"}),r.jsx("path",{d:"m473.394531 298.691406c-16.042969-11.1875-35.847656-17.867187-52.984375-17.867187-5.570312 0-10.085937 4.515625-10.085937 10.085937v108.027344c-9.933594-7.394531-22.773438-11.871094-36.785157-11.871094-31.421874 0-56.984374 22.425782-56.984374 49.992188s25.5625 49.992187 56.984374 49.992187c31.402344 0 56.953126-22.425781 56.953126-49.992187v-135.101563c24.5 4.476563 51.695312 23.855469 51.695312 43.617188v38.601562c0 5.570313 4.515625 10.085938 10.082031 10.085938 5.570313 0 10.085938-4.515625 10.085938-10.085938v-38.601562c0-17.207031-10.285157-33.859375-28.960938-46.882813zm-99.855469 168.191406c-20.296874 0-36.8125-13.378906-36.8125-29.824218 0-16.445313 16.515626-29.824219 36.8125-29.824219 20.285157 0 36.785157 13.378906 36.785157 29.824219 0 16.445312-16.5 29.824218-36.785157 29.824218zm0 0"}),r.jsx("path",{d:"m44.941406 225.824219c24.109375 0 43.722656-17.367188 43.722656-38.71875 0-.59375-.023437-1.183594-.054687-1.773438.035156-.328125.054687-.664062.054687-1.003906v-84.902344c.964844-.109375 1.9375-.285156 2.90625-.546875l109.199219-29.054687v34.632812c-6.800781-3.867187-14.882812-6.121093-23.550781-6.121093-24.109375 0-43.71875 17.359374-43.71875 38.691406 0 21.351562 19.609375 38.722656 43.71875 38.722656s43.71875-17.371094 43.71875-38.722656v-118.21875c0-6.15625-2.597656-11.6875-7.132812-15.171875-4.441407-3.40625-10.265626-4.480469-15.96875-2.960938l-111.449219 29.625c-.003907.003907-.007813.003907-.011719.003907-10.195312 2.726562-17.882812 12.90625-17.882812 23.679687v100.523437c-6.804688-3.867187-14.882813-6.125-23.550782-6.125-24.109375 0-43.722656 17.371094-43.722656 38.722657 0 21.351562 19.613281 38.71875 43.722656 38.71875zm132.277344-70.246094c-12.984375 0-23.550781-8.320313-23.550781-18.546875 0-10.214844 10.566406-18.523438 23.550781-18.523438 12.988281 0 23.550781 8.308594 23.550781 18.523438 0 10.226562-10.5625 18.546875-23.550781 18.546875zm-88.558594-101.59375c0-1.6875 1.691406-3.859375 2.914063-4.191406l109.195312-29.023438v24.804688c0 1.628906-1.730469 3.839843-2.9375 4.160156l-109.171875 29.046875zm-43.71875 114.570313c12.765625 0 23.550782 8.496093 23.550782 18.550781 0 10.054687-10.785157 18.550781-23.550782 18.550781s-23.550781-8.496094-23.550781-18.550781c0-10.054688 10.785156-18.550781 23.550781-18.550781zm0 0"}),r.jsx("path",{d:"m382.570312 233.960938c3.988282.410156 7.984376.613281 11.972657.613281 20.511719 0 40.792969-5.382813 58.535156-15.570313 3.554687 1.195313 7.261719 1.800782 10.972656 1.800782 8.757813 0 17.511719-3.328126 24.175781-9.988282 6.441407-6.417968 9.992188-14.992187 10-24.140625.003907-3.796875-.613281-7.492187-1.785156-10.980469 12.167969-21.191406 17.46875-46.003906 14.949219-70.488281-2.75-26.695312-14.734375-51.867187-33.753906-70.875-19.023438-19-44.199219-30.972656-70.894531-33.714843-24.488282-2.519532-49.324219 2.785156-70.53125 14.953124-11.925782-4.007812-25.636719-1.277343-35.117188 8.199219-6.445312 6.4375-9.992188 15.023438-9.992188 24.171875 0 3.777344.617188 7.460938 1.78125 10.9375-12.171874 21.1875-17.476562 46-14.953124 70.488282.367187 3.558593.910156 7.089843 1.597656 10.585937l-222.347656 234c-14.992188 15.792969-14.917969 40.011719.1875 55.144531l8.800781 8.789063c-10.433594 41.769531-54.425781 43.882812-56.410157 43.957031-5.550781.179688-9.914062 4.816406-9.75390575 10.371094.16015575 5.46875 4.64062475 9.792968 10.07421875 9.792968.101563 0 .199219 0 .300781-.003906.671875-.019531 16.675782-.574218 33.957032-8.753906 13.15625-6.230469 29.109374-17.910156 37.824218-39.394531l.554688.554687c7.585937 7.601563 17.472656 11.40625 27.4375 11.40625 9.882812 0 19.839844-3.738281 27.714844-11.226562l85.976562-81.855469c4.03125-3.839844 4.191406-10.222656.347656-14.257813-3.839844-4.035156-10.222656-4.191406-14.257812-.351562l-85.96875 81.851562c-7.816406 7.429688-19.664063 7.507813-26.988282.171876l-25.347656-25.308594c-7.316406-7.332032-7.238281-19.191406.171875-26.996094l214.460938-225.695312c5.867187 14.144531 14.472656 27.144531 25.429687 38.09375 10.9375 10.933593 23.929688 19.527343 38.070313 25.386718l-61.6875 58.5625c-.058594.054688-.113281.109375-.171875.164063l-12.097656 12.039062c-3.949219 3.925781-3.964844 10.3125-.039063 14.261719 1.972656 1.980469 4.5625 2.972656 7.152344 2.972656 2.570312 0 5.144531-.976562 7.113281-2.9375l12.011719-11.953125 69.925781-66.378906c3.5.691406 7.035156 1.234375 10.601562 1.601563zm80.808594-185.363282c28.71875 28.703125 36.136719 72.589844 19.785156 108.800782l-128.644531-128.554688c36.226563-16.34375 80.132813-8.933594 108.859375 19.753906zm-148.027344-10.5625c2.734376-2.734375 6.324219-4.097656 9.914063-4.097656 3.59375 0 7.183594 1.363281 9.917969 4.097656l138.796875 138.699219c2.632812 2.632813 4.082031 6.15625 4.078125 9.925781-.003906 3.753906-1.449219 7.257813-4.082032 9.878906-5.472656 5.472657-14.382812 5.472657-19.859374 0l-138.765626-138.695312c-2.632812-2.632812-4.082031-6.148438-4.082031-9.90625s1.449219-7.273438 4.082031-9.902344zm-9.191406 39.136719 128.621094 128.5625c-36.21875 16.355469-80.113281 8.945313-108.832031-19.757813-28.734375-28.71875-36.152344-72.601562-19.789063-108.804687zm0 0"}),r.jsx("path",{d:"m256.359375 326.582031c-4.277344-3.5625-10.636719-2.988281-14.203125 1.292969l-.140625.167969c-3.566406 4.28125-2.988281 10.640625 1.289063 14.203125 1.886718 1.574218 4.175781 2.339844 6.453124 2.339844 2.886719 0 5.757813-1.238282 7.75-3.628907l.144532-.171875c3.5625-4.277344 2.984375-10.636718-1.292969-14.203125zm0 0"})]})}const J0=[t0,r0];function o0({seq:e,className:t,size:o}){const s=J0[e-1];return r.jsx(s,{className:t,size:o})}const X0=[X1,e0,o0];function Q0({seq:e,categorySeq:t,size:o=c.sm,className:s=""}){const a=X0[t-1];return r.jsx(a,{seq:e,size:o,className:s})}function K0({className:e="fill-blue-500",size:t=c.xl}){return r.jsx("svg",{className:e,version:"1.0",xmlns:"http://www.w3.org/2000/svg",width:t,height:t,viewBox:"0 0 1271.000000 1280.000000",preserveAspectRatio:"xMidYMid meet",children:r.jsx("g",{transform:"translate(0.000000,1280.000000) scale(0.100000,-0.100000)",stroke:"none",children:r.jsx("path",{d:`M2735 9065 c-95 -17 -242 -58 -345 -95 -115 -42 -232 -91 -247 -102
102
102
  -9 -7 1 -26 37 -71 28 -34 48 -67 46 -73 -3 -7 16 -36 41 -65 175 -204 392
103
103
  -650 554 -1139 307 -927 500 -2012 550 -3085 15 -317 6 -892 -15 -1065 -25
104
104
  -197 -66 -410 -102 -532 -5 -16 2 -18 49 -18 29 0 56 -3 59 -6 3 -3 -1 -30 -8
package/dist/wasvg.es.js CHANGED
@@ -15,18 +15,18 @@ function I1() {
15
15
  if (T1) return l1;
16
16
  T1 = 1;
17
17
  var e = Symbol.for("react.transitional.element"), t = Symbol.for("react.fragment");
18
- function o(s, a, d) {
18
+ function o(a, s, d) {
19
19
  var u = null;
20
- if (d !== void 0 && (u = "" + d), a.key !== void 0 && (u = "" + a.key), "key" in a) {
20
+ if (d !== void 0 && (u = "" + d), s.key !== void 0 && (u = "" + s.key), "key" in s) {
21
21
  d = {};
22
- for (var x in a)
23
- x !== "key" && (d[x] = a[x]);
24
- } else d = a;
25
- return a = d.ref, {
22
+ for (var x in s)
23
+ x !== "key" && (d[x] = s[x]);
24
+ } else d = s;
25
+ return s = d.ref, {
26
26
  $$typeof: e,
27
- type: s,
27
+ type: a,
28
28
  key: u,
29
- ref: a !== void 0 ? a : null,
29
+ ref: s !== void 0 ? s : null,
30
30
  props: d
31
31
  };
32
32
  }
@@ -108,7 +108,7 @@ function $1() {
108
108
  ), t(n);
109
109
  }
110
110
  }
111
- function s(n) {
111
+ function a(n) {
112
112
  if (n === Z) return "<>";
113
113
  if (typeof n == "object" && n !== null && n.$$typeof === h)
114
114
  return "<...>";
@@ -119,7 +119,7 @@ function $1() {
119
119
  return "<...>";
120
120
  }
121
121
  }
122
- function a() {
122
+ function s() {
123
123
  var n = K.A;
124
124
  return n === null ? null : n.getOwner();
125
125
  }
@@ -198,10 +198,10 @@ function $1() {
198
198
  else R(T);
199
199
  if (U.call(v, "key")) {
200
200
  T = e(n);
201
- var S = Object.keys(v).filter(function(a1) {
202
- return a1 !== "key";
201
+ var S = Object.keys(v).filter(function(s1) {
202
+ return s1 !== "key";
203
203
  });
204
- f = 0 < S.length ? "{key: someKey, " + S.join(": ..., ") + ": ...}" : "{key: someKey}", s1[T + f] || (S = 0 < S.length ? "{" + S.join(": ..., ") + ": ...}" : "{}", console.error(
204
+ f = 0 < S.length ? "{key: someKey, " + S.join(": ..., ") + ": ...}" : "{key: someKey}", a1[T + f] || (S = 0 < S.length ? "{" + S.join(": ..., ") + ": ...}" : "{}", console.error(
205
205
  `A props object containing a "key" prop is being spread into JSX:
206
206
  let props = %s;
207
207
  <%s {...props} />
@@ -212,7 +212,7 @@ React keys must be passed directly to JSX without using spread:
212
212
  T,
213
213
  S,
214
214
  T
215
- ), s1[T + f] = !0);
215
+ ), a1[T + f] = !0);
216
216
  }
217
217
  if (T = null, w !== void 0 && (o(w), T = "" + w), u(v) && (o(v.key), T = "" + v.key), "key" in v) {
218
218
  w = {};
@@ -227,7 +227,7 @@ React keys must be passed directly to JSX without using spread:
227
227
  T,
228
228
  C,
229
229
  b,
230
- a(),
230
+ s(),
231
231
  w,
232
232
  e1,
233
233
  q
@@ -249,7 +249,7 @@ React keys must be passed directly to JSX without using spread:
249
249
  var O, z = {}, A = L["react-stack-bottom-frame"].bind(
250
250
  L,
251
251
  d
252
- )(), m = V(s(d)), s1 = {};
252
+ )(), m = V(a(d)), a1 = {};
253
253
  i1.Fragment = Z, i1.jsx = function(n, v, w, f, b) {
254
254
  var C = 1e4 > K.recentlyCreatedOwnerStacks++;
255
255
  return y(
@@ -260,7 +260,7 @@ React keys must be passed directly to JSX without using spread:
260
260
  f,
261
261
  b,
262
262
  C ? Error("react-stack-top-frame") : A,
263
- C ? V(s(n)) : m
263
+ C ? V(a(n)) : m
264
264
  );
265
265
  }, i1.jsxs = function(n, v, w, f, b) {
266
266
  var C = 1e4 > K.recentlyCreatedOwnerStacks++;
@@ -272,7 +272,7 @@ React keys must be passed directly to JSX without using spread:
272
272
  f,
273
273
  b,
274
274
  C ? Error("react-stack-top-frame") : A,
275
- C ? V(s(n)) : m
275
+ C ? V(a(n)) : m
276
276
  );
277
277
  };
278
278
  }()), i1;
@@ -532,23 +532,23 @@ var e0 = Object.defineProperty, t0 = (e, t, o) => t in e ? e0(e, t, { enumerable
532
532
  const q1 = "-", r0 = (e) => {
533
533
  const t = n0(e), {
534
534
  conflictingClassGroups: o,
535
- conflictingClassGroupModifiers: s
535
+ conflictingClassGroupModifiers: a
536
536
  } = e;
537
537
  return {
538
- getClassGroupId: (a) => {
539
- const d = a.split(q1);
540
- return d[0] === "" && d.length !== 1 && d.shift(), z1(d, t) || o0(a);
538
+ getClassGroupId: (s) => {
539
+ const d = s.split(q1);
540
+ return d[0] === "" && d.length !== 1 && d.shift(), z1(d, t) || o0(s);
541
541
  },
542
- getConflictingClassGroupIds: (a, d) => {
543
- const u = o[a] || [];
544
- return d && s[a] ? [...u, ...s[a]] : u;
542
+ getConflictingClassGroupIds: (s, d) => {
543
+ const u = o[s] || [];
544
+ return d && a[s] ? [...u, ...a[s]] : u;
545
545
  }
546
546
  };
547
547
  }, z1 = (e, t) => {
548
548
  var o;
549
549
  if (e.length === 0)
550
550
  return t.classGroupId;
551
- const s = e[0], a = t.nextPart.get(s), d = a ? z1(e.slice(1), a) : void 0;
551
+ const a = e[0], s = t.nextPart.get(a), d = s ? z1(e.slice(1), s) : void 0;
552
552
  if (d)
553
553
  return d;
554
554
  if (t.validators.length === 0)
@@ -567,44 +567,44 @@ const q1 = "-", r0 = (e) => {
567
567
  const {
568
568
  theme: t,
569
569
  classGroups: o
570
- } = e, s = {
570
+ } = e, a = {
571
571
  nextPart: /* @__PURE__ */ new Map(),
572
572
  validators: []
573
573
  };
574
- for (const a in o)
575
- w1(o[a], s, a, t);
576
- return s;
577
- }, w1 = (e, t, o, s) => {
578
- e.forEach((a) => {
579
- if (typeof a == "string") {
580
- const d = a === "" ? t : Z1(t, a);
574
+ for (const s in o)
575
+ w1(o[s], a, s, t);
576
+ return a;
577
+ }, w1 = (e, t, o, a) => {
578
+ e.forEach((s) => {
579
+ if (typeof s == "string") {
580
+ const d = s === "" ? t : Z1(t, s);
581
581
  d.classGroupId = o;
582
582
  return;
583
583
  }
584
- if (typeof a == "function") {
585
- if (s0(a)) {
586
- w1(a(s), t, o, s);
584
+ if (typeof s == "function") {
585
+ if (a0(s)) {
586
+ w1(s(a), t, o, a);
587
587
  return;
588
588
  }
589
589
  t.validators.push({
590
- validator: a,
590
+ validator: s,
591
591
  classGroupId: o
592
592
  });
593
593
  return;
594
594
  }
595
- Object.entries(a).forEach(([d, u]) => {
596
- w1(u, Z1(t, d), o, s);
595
+ Object.entries(s).forEach(([d, u]) => {
596
+ w1(u, Z1(t, d), o, a);
597
597
  });
598
598
  });
599
599
  }, Z1 = (e, t) => {
600
600
  let o = e;
601
- return t.split(q1).forEach((s) => {
602
- o.nextPart.has(s) || o.nextPart.set(s, {
601
+ return t.split(q1).forEach((a) => {
602
+ o.nextPart.has(a) || o.nextPart.set(a, {
603
603
  nextPart: /* @__PURE__ */ new Map(),
604
604
  validators: []
605
- }), o = o.nextPart.get(s);
605
+ }), o = o.nextPart.get(a);
606
606
  }), o;
607
- }, s0 = (e) => e.isThemeGetter, a0 = (e) => {
607
+ }, a0 = (e) => e.isThemeGetter, s0 = (e) => {
608
608
  if (e < 1)
609
609
  return {
610
610
  get: () => {
@@ -612,20 +612,20 @@ const q1 = "-", r0 = (e) => {
612
612
  set: () => {
613
613
  }
614
614
  };
615
- let t = 0, o = /* @__PURE__ */ new Map(), s = /* @__PURE__ */ new Map();
616
- const a = (d, u) => {
617
- o.set(d, u), t++, t > e && (t = 0, s = o, o = /* @__PURE__ */ new Map());
615
+ let t = 0, o = /* @__PURE__ */ new Map(), a = /* @__PURE__ */ new Map();
616
+ const s = (d, u) => {
617
+ o.set(d, u), t++, t > e && (t = 0, a = o, o = /* @__PURE__ */ new Map());
618
618
  };
619
619
  return {
620
620
  get(d) {
621
621
  let u = o.get(d);
622
622
  if (u !== void 0)
623
623
  return u;
624
- if ((u = s.get(d)) !== void 0)
625
- return a(d, u), u;
624
+ if ((u = a.get(d)) !== void 0)
625
+ return s(d, u), u;
626
626
  },
627
627
  set(d, u) {
628
- o.has(d) ? o.set(d, u) : a(d, u);
628
+ o.has(d) ? o.set(d, u) : s(d, u);
629
629
  }
630
630
  };
631
631
  }, x1 = "!", b1 = ":", l0 = b1.length, i0 = (e) => {
@@ -633,14 +633,14 @@ const q1 = "-", r0 = (e) => {
633
633
  prefix: t,
634
634
  experimentalParseClassName: o
635
635
  } = e;
636
- let s = (a) => {
636
+ let a = (s) => {
637
637
  const d = [];
638
638
  let u = 0, x = 0, p = 0, j;
639
- for (let M = 0; M < a.length; M++) {
640
- let Z = a[M];
639
+ for (let M = 0; M < s.length; M++) {
640
+ let Z = s[M];
641
641
  if (u === 0 && x === 0) {
642
642
  if (Z === b1) {
643
- d.push(a.slice(p, M)), p = M + l0;
643
+ d.push(s.slice(p, M)), p = M + l0;
644
644
  continue;
645
645
  }
646
646
  if (Z === "/") {
@@ -650,7 +650,7 @@ const q1 = "-", r0 = (e) => {
650
650
  }
651
651
  Z === "[" ? u++ : Z === "]" ? u-- : Z === "(" ? x++ : Z === ")" && x--;
652
652
  }
653
- const y = d.length === 0 ? a : a.substring(p), R = c0(y), L = R !== y, N = j && j > p ? j - p : void 0;
653
+ const y = d.length === 0 ? s : s.substring(p), R = c0(y), L = R !== y, N = j && j > p ? j - p : void 0;
654
654
  return {
655
655
  modifiers: d,
656
656
  hasImportantModifier: L,
@@ -659,8 +659,8 @@ const q1 = "-", r0 = (e) => {
659
659
  };
660
660
  };
661
661
  if (t) {
662
- const a = t + b1, d = s;
663
- s = (u) => u.startsWith(a) ? d(u.substring(a.length)) : {
662
+ const s = t + b1, d = a;
663
+ a = (u) => u.startsWith(s) ? d(u.substring(s.length)) : {
664
664
  isExternal: !0,
665
665
  modifiers: [],
666
666
  hasImportantModifier: !1,
@@ -669,34 +669,34 @@ const q1 = "-", r0 = (e) => {
669
669
  };
670
670
  }
671
671
  if (o) {
672
- const a = s;
673
- s = (d) => o({
672
+ const s = a;
673
+ a = (d) => o({
674
674
  className: d,
675
- parseClassName: a
675
+ parseClassName: s
676
676
  });
677
677
  }
678
- return s;
678
+ return a;
679
679
  }, c0 = (e) => e.endsWith(x1) ? e.substring(0, e.length - 1) : e.startsWith(x1) ? e.substring(1) : e, d0 = (e) => {
680
680
  const t = Object.fromEntries(e.orderSensitiveModifiers.map((o) => [o, !0]));
681
681
  return (o) => {
682
682
  if (o.length <= 1)
683
683
  return o;
684
- const s = [];
685
- let a = [];
684
+ const a = [];
685
+ let s = [];
686
686
  return o.forEach((d) => {
687
- d[0] === "[" || t[d] ? (s.push(...a.sort(), d), a = []) : a.push(d);
688
- }), s.push(...a.sort()), s;
687
+ d[0] === "[" || t[d] ? (a.push(...s.sort(), d), s = []) : s.push(d);
688
+ }), a.push(...s.sort()), a;
689
689
  };
690
690
  }, m0 = (e) => ({
691
- cache: a0(e.cacheSize),
691
+ cache: s0(e.cacheSize),
692
692
  parseClassName: i0(e),
693
693
  sortModifiers: d0(e),
694
694
  ...r0(e)
695
695
  }), h0 = /\s+/, v0 = (e, t) => {
696
696
  const {
697
697
  parseClassName: o,
698
- getClassGroupId: s,
699
- getConflictingClassGroupIds: a,
698
+ getClassGroupId: a,
699
+ getConflictingClassGroupIds: s,
700
700
  sortModifiers: d
701
701
  } = t, u = [], x = e.trim().split(h0);
702
702
  let p = "";
@@ -712,13 +712,13 @@ const q1 = "-", r0 = (e) => {
712
712
  p = y + (p.length > 0 ? " " + p : p);
713
713
  continue;
714
714
  }
715
- let I = !!Z, P = s(I ? M.substring(0, Z) : M);
715
+ let I = !!Z, P = a(I ? M.substring(0, Z) : M);
716
716
  if (!P) {
717
717
  if (!I) {
718
718
  p = y + (p.length > 0 ? " " + p : p);
719
719
  continue;
720
720
  }
721
- if (P = s(M), !P) {
721
+ if (P = a(M), !P) {
722
722
  p = y + (p.length > 0 ? " " + p : p);
723
723
  continue;
724
724
  }
@@ -728,7 +728,7 @@ const q1 = "-", r0 = (e) => {
728
728
  if (u.includes($))
729
729
  continue;
730
730
  u.push($);
731
- const G = a(P, I);
731
+ const G = s(P, I);
732
732
  for (let _ = 0; _ < G.length; ++_) {
733
733
  const W = G[_];
734
734
  u.push(F + W);
@@ -738,31 +738,31 @@ const q1 = "-", r0 = (e) => {
738
738
  return p;
739
739
  };
740
740
  function u0() {
741
- let e = 0, t, o, s = "";
741
+ let e = 0, t, o, a = "";
742
742
  for (; e < arguments.length; )
743
- (t = arguments[e++]) && (o = E1(t)) && (s && (s += " "), s += o);
744
- return s;
743
+ (t = arguments[e++]) && (o = E1(t)) && (a && (a += " "), a += o);
744
+ return a;
745
745
  }
746
746
  const E1 = (e) => {
747
747
  if (typeof e == "string")
748
748
  return e;
749
749
  let t, o = "";
750
- for (let s = 0; s < e.length; s++)
751
- e[s] && (t = E1(e[s])) && (o && (o += " "), o += t);
750
+ for (let a = 0; a < e.length; a++)
751
+ e[a] && (t = E1(e[a])) && (o && (o += " "), o += t);
752
752
  return o;
753
753
  };
754
754
  function g0(e, ...t) {
755
- let o, s, a, d = u;
755
+ let o, a, s, d = u;
756
756
  function u(p) {
757
757
  const j = t.reduce((y, R) => R(y), e());
758
- return o = m0(j), s = o.cache.get, a = o.cache.set, d = x, x(p);
758
+ return o = m0(j), a = o.cache.get, s = o.cache.set, d = x, x(p);
759
759
  }
760
760
  function x(p) {
761
- const j = s(p);
761
+ const j = a(p);
762
762
  if (j)
763
763
  return j;
764
764
  const y = v0(p, o);
765
- return a(p, y), y;
765
+ return s(p, y), y;
766
766
  }
767
767
  return function() {
768
768
  return d(u0.apply(null, arguments));
@@ -777,13 +777,13 @@ const k = (e) => {
777
777
  // I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
778
778
  w0.test(e) && !x0.test(e)
779
779
  ), S1 = () => !1, y0 = (e) => b0.test(e), j0 = (e) => q0.test(e), Z0 = (e) => !l(e) && !i(e), C0 = (e) => r1(e, P1, S1), l = (e) => R1.test(e), X = (e) => r1(e, _1, k0), f1 = (e) => r1(e, H0, g), C1 = (e) => r1(e, L1, S1), M0 = (e) => r1(e, A1, j0), u1 = (e) => r1(e, O1, y0), i = (e) => H1.test(e), c1 = (e) => o1(e, _1), z0 = (e) => o1(e, S0), M1 = (e) => o1(e, L1), E0 = (e) => o1(e, P1), R0 = (e) => o1(e, A1), g1 = (e) => o1(e, O1, !0), r1 = (e, t, o) => {
780
- const s = R1.exec(e);
781
- return s ? s[1] ? t(s[1]) : o(s[2]) : !1;
780
+ const a = R1.exec(e);
781
+ return a ? a[1] ? t(a[1]) : o(a[2]) : !1;
782
782
  }, o1 = (e, t, o = !1) => {
783
- const s = H1.exec(e);
784
- return s ? s[1] ? t(s[1]) : o : !1;
783
+ const a = H1.exec(e);
784
+ return a ? a[1] ? t(a[1]) : o : !1;
785
785
  }, L1 = (e) => e === "position" || e === "percentage", A1 = (e) => e === "image" || e === "url", P1 = (e) => e === "length" || e === "size" || e === "bg-size", _1 = (e) => e === "length", H0 = (e) => e === "number", S0 = (e) => e === "family-name", O1 = (e) => e === "shadow", L0 = () => {
786
- const e = k("color"), t = k("font"), o = k("text"), s = k("font-weight"), a = k("tracking"), d = k("leading"), u = k("breakpoint"), x = k("container"), p = k("spacing"), j = k("radius"), y = k("shadow"), R = k("inset-shadow"), L = k("text-shadow"), N = k("drop-shadow"), M = k("blur"), Z = k("perspective"), I = k("aspect"), P = k("ease"), Q = k("animate"), F = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], $ = () => [
786
+ const e = k("color"), t = k("font"), o = k("text"), a = k("font-weight"), s = k("tracking"), d = k("leading"), u = k("breakpoint"), x = k("container"), p = k("spacing"), j = k("radius"), y = k("shadow"), R = k("inset-shadow"), L = k("text-shadow"), N = k("drop-shadow"), M = k("blur"), Z = k("perspective"), I = k("aspect"), P = k("ease"), Q = k("animate"), F = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], $ = () => [
787
787
  "center",
788
788
  "top",
789
789
  "bottom",
@@ -803,7 +803,7 @@ const k = (e) => {
803
803
  "left-bottom"
804
804
  ], G = () => [...$(), i, l], _ = () => ["auto", "hidden", "clip", "visible", "scroll"], W = () => ["auto", "contain", "none"], h = () => [i, l, p], H = () => [t1, "full", "auto", ...h()], m1 = () => [Y, "none", "subgrid", i, l], K = () => ["auto", {
805
805
  span: ["full", Y, i, l]
806
- }, Y, i, l], U = () => [Y, "auto", i, l], h1 = () => ["auto", "min", "max", "fr", i, l], V = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], O = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], z = () => ["auto", ...h()], A = () => [t1, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...h()], m = () => [e, i, l], s1 = () => [...$(), M1, C1, {
806
+ }, Y, i, l], U = () => [Y, "auto", i, l], h1 = () => ["auto", "min", "max", "fr", i, l], V = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], O = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], z = () => ["auto", ...h()], A = () => [t1, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...h()], m = () => [e, i, l], a1 = () => [...$(), M1, C1, {
807
807
  position: [i, l]
808
808
  }], n = () => ["no-repeat", {
809
809
  repeat: ["", "x", "y", "space", "round"]
@@ -824,7 +824,7 @@ const k = (e) => {
824
824
  M,
825
825
  i,
826
826
  l
827
- ], S = () => ["none", g, i, l], D = () => ["none", g, i, l], a1 = () => [g, i, l], v1 = () => [t1, "full", ...h()];
827
+ ], S = () => ["none", g, i, l], D = () => ["none", g, i, l], s1 = () => [g, i, l], v1 = () => [t1, "full", ...h()];
828
828
  return {
829
829
  cacheSize: 500,
830
830
  theme: {
@@ -1534,7 +1534,7 @@ const k = (e) => {
1534
1534
  * @see https://tailwindcss.com/docs/font-weight
1535
1535
  */
1536
1536
  "font-weight": [{
1537
- font: [s, i, f1]
1537
+ font: [a, i, f1]
1538
1538
  }],
1539
1539
  /**
1540
1540
  * Font Stretch
@@ -1585,7 +1585,7 @@ const k = (e) => {
1585
1585
  * @see https://tailwindcss.com/docs/letter-spacing
1586
1586
  */
1587
1587
  tracking: [{
1588
- tracking: [a, i, l]
1588
+ tracking: [s, i, l]
1589
1589
  }],
1590
1590
  /**
1591
1591
  * Line Clamp
@@ -1776,7 +1776,7 @@ const k = (e) => {
1776
1776
  * @see https://tailwindcss.com/docs/background-position
1777
1777
  */
1778
1778
  "bg-position": [{
1779
- bg: s1()
1779
+ bg: a1()
1780
1780
  }],
1781
1781
  /**
1782
1782
  * Background Repeat
@@ -2453,7 +2453,7 @@ const k = (e) => {
2453
2453
  * @see https://tailwindcss.com/docs/mask-position
2454
2454
  */
2455
2455
  "mask-position": [{
2456
- mask: s1()
2456
+ mask: a1()
2457
2457
  }],
2458
2458
  /**
2459
2459
  * Mask Repeat
@@ -2832,21 +2832,21 @@ const k = (e) => {
2832
2832
  * @see https://tailwindcss.com/docs/skew
2833
2833
  */
2834
2834
  skew: [{
2835
- skew: a1()
2835
+ skew: s1()
2836
2836
  }],
2837
2837
  /**
2838
2838
  * Skew X
2839
2839
  * @see https://tailwindcss.com/docs/skew
2840
2840
  */
2841
2841
  "skew-x": [{
2842
- "skew-x": a1()
2842
+ "skew-x": s1()
2843
2843
  }],
2844
2844
  /**
2845
2845
  * Skew Y
2846
2846
  * @see https://tailwindcss.com/docs/skew
2847
2847
  */
2848
2848
  "skew-y": [{
2849
- "skew-y": a1()
2849
+ "skew-y": s1()
2850
2850
  }],
2851
2851
  /**
2852
2852
  * Transform
@@ -3254,17 +3254,17 @@ const k = (e) => {
3254
3254
  };
3255
3255
  }, A0 = /* @__PURE__ */ g0(L0);
3256
3256
  function B1(e) {
3257
- var t, o, s = "";
3258
- if (typeof e == "string" || typeof e == "number") s += e;
3257
+ var t, o, a = "";
3258
+ if (typeof e == "string" || typeof e == "number") a += e;
3259
3259
  else if (typeof e == "object") if (Array.isArray(e)) {
3260
- var a = e.length;
3261
- for (t = 0; t < a; t++) e[t] && (o = B1(e[t])) && (s && (s += " "), s += o);
3262
- } else for (o in e) e[o] && (s && (s += " "), s += o);
3263
- return s;
3260
+ var s = e.length;
3261
+ for (t = 0; t < s; t++) e[t] && (o = B1(e[t])) && (a && (a += " "), a += o);
3262
+ } else for (o in e) e[o] && (a && (a += " "), a += o);
3263
+ return a;
3264
3264
  }
3265
3265
  function P0() {
3266
- for (var e, t, o = 0, s = "", a = arguments.length; o < a; o++) (e = arguments[o]) && (t = B1(e)) && (s && (s += " "), s += t);
3267
- return s;
3266
+ for (var e, t, o = 0, a = "", s = arguments.length; o < s; o++) (e = arguments[o]) && (t = B1(e)) && (a && (a += " "), a += t);
3267
+ return a;
3268
3268
  }
3269
3269
  function n1(...e) {
3270
3270
  const t = e.filter((o) => o && o.trim() !== "");
@@ -3277,8 +3277,8 @@ J(E, "IsZeroArray", (e) => _0(e)), J(E, "RemoveItem", (e, t) => E.IsZeroArray(e)
3277
3277
  )), J(E, "RemoveItemByID", (e, t) => E.IsZeroArray(e) ? [] : e.filter(
3278
3278
  (o) => o.id !== t
3279
3279
  )), J(E, "UpdateItem", (e, t) => E.IsZeroArray(e) ? [] : (e.forEach(
3280
- (o, s) => {
3281
- o.id === t.id && (e[s] = t);
3280
+ (o, a) => {
3281
+ o.id === t.id && (e[a] = t);
3282
3282
  }
3283
3283
  ), e)), J(E, "PrependItem", (e, t) => E.IsZeroArray(e) ? [t] : [t, ...e]), J(E, "AppendArray", (e, t) => E.IsZeroArray(e) ? t : [...e, ...t]), J(E, "Union", (e, t) => e.concat(t.filter((o) => e.indexOf(o) < 0)));
3284
3284
  function O0({
@@ -3315,9 +3315,9 @@ function N0({
3315
3315
  className: t,
3316
3316
  size: o
3317
3317
  }) {
3318
- const s = B0[e - 1];
3318
+ const a = B0[e - 1];
3319
3319
  return /* @__PURE__ */ r.jsx(
3320
- s,
3320
+ a,
3321
3321
  {
3322
3322
  className: t,
3323
3323
  size: o
@@ -3373,9 +3373,9 @@ function D0({
3373
3373
  className: t,
3374
3374
  size: o
3375
3375
  }) {
3376
- const s = G0[e - 1];
3376
+ const a = G0[e - 1];
3377
3377
  return /* @__PURE__ */ r.jsx(
3378
- s,
3378
+ a,
3379
3379
  {
3380
3380
  className: t,
3381
3381
  size: o
@@ -3462,9 +3462,9 @@ function U0({
3462
3462
  className: t,
3463
3463
  size: o
3464
3464
  }) {
3465
- const s = W0[e - 1];
3465
+ const a = W0[e - 1];
3466
3466
  return /* @__PURE__ */ r.jsx(
3467
- s,
3467
+ a,
3468
3468
  {
3469
3469
  className: t,
3470
3470
  size: o
@@ -3472,19 +3472,19 @@ function U0({
3472
3472
  );
3473
3473
  }
3474
3474
  const V0 = [N0, D0, U0];
3475
- function a2({
3476
- interestSeq: e,
3475
+ function s2({
3476
+ seq: e,
3477
3477
  categorySeq: t,
3478
3478
  size: o = c.sm,
3479
- className: s = ""
3479
+ className: a = ""
3480
3480
  }) {
3481
- const a = V0[t - 1];
3481
+ const s = V0[t - 1];
3482
3482
  return /* @__PURE__ */ r.jsx(
3483
- a,
3483
+ s,
3484
3484
  {
3485
3485
  seq: e,
3486
3486
  size: o,
3487
- className: s
3487
+ className: a
3488
3488
  }
3489
3489
  );
3490
3490
  }
@@ -4186,9 +4186,9 @@ function G2({
4186
4186
  size: t = c.md,
4187
4187
  className: o = ""
4188
4188
  }) {
4189
- const s = Q0[e - 1];
4189
+ const a = Q0[e - 1];
4190
4190
  return /* @__PURE__ */ r.jsx(
4191
- s,
4191
+ a,
4192
4192
  {
4193
4193
  size: t,
4194
4194
  className: o
@@ -4226,7 +4226,7 @@ export {
4226
4226
  Q1 as Hockey,
4227
4227
  i2 as HomeSvg,
4228
4228
  S2 as ImageSvg,
4229
- a2 as InterestSvg,
4229
+ s2 as InterestSvg,
4230
4230
  M2 as LeftArrowSvg,
4231
4231
  B2 as LogoutSvg,
4232
4232
  c2 as MapSvg,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wasvg",
3
- "version": "1.0.7",
3
+ "version": "1.0.9",
4
4
  "main": "dist/wasvg.cjs.js",
5
5
  "module": "dist/wasvg.es.js",
6
6
  "types": "dist/index.d.ts",