@retrivora-ai/rag-engine 1.8.5 → 1.8.7

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.
package/dist/index.css CHANGED
@@ -1801,6 +1801,20 @@
1801
1801
  }
1802
1802
  }
1803
1803
  }
1804
+ .group-hover\:animate-\[gradientMove_3\.5s_ease-in-out_infinite_alternate\] {
1805
+ &:is(:where(.group):hover *) {
1806
+ @media (hover: hover) {
1807
+ animation: gradientMove 3.5s ease-in-out infinite alternate;
1808
+ }
1809
+ }
1810
+ }
1811
+ .group-hover\:animate-\[shapeshift_5s_ease-in-out_infinite_forwards\] {
1812
+ &:is(:where(.group):hover *) {
1813
+ @media (hover: hover) {
1814
+ animation: shapeshift 5s ease-in-out infinite forwards;
1815
+ }
1816
+ }
1817
+ }
1804
1818
  .group-hover\:rounded-none {
1805
1819
  &:is(:where(.group):hover *) {
1806
1820
  @media (hover: hover) {
@@ -2818,6 +2832,128 @@
2818
2832
  }
2819
2833
  }
2820
2834
  }
2835
+ @layer base {
2836
+ :root {
2837
+ --star: shape(evenodd from 50% 24.787%,
2838
+ curve by 7.143% 18.016% with 0% 0% / 2.9725% 13.814%,
2839
+ curve by 17.882% 7.197% with 4.171% 4.2025% / 17.882% 7.197%,
2840
+ curve by -17.882% 8.6765% with 0% 0% / -13.711% 4.474%,
2841
+ curve by -7.143% 16.5365% with -4.1705% 4.202% / -7.143% 16.5365%,
2842
+ curve by -8.6115% -16.5365% with 0% 0% / -4.441% -12.3345%,
2843
+ curve by -16.4135% -8.6765% with -4.171% -4.2025% / -16.4135% -8.6765%,
2844
+ curve by 16.4135% -7.197% with 0% 0% / 12.2425% -2.9945%,
2845
+ curve by 8.6115% -18.016% with 4.1705% -4.202% / 8.6115% -18.016%,
2846
+ close);
2847
+ --flower: shape(evenodd from 17.9665% 82.0335%,
2848
+ curve by -12.349% -32.0335% with -13.239% -5.129% / -18.021% -15.402%,
2849
+ curve by -0.0275% -22.203% with -3.1825% -9.331% / -3.074% -16.6605%,
2850
+ curve by 12.3765% -9.8305% with 2.3835% -4.3365% / 6.565% -7.579%,
2851
+ curve by 32.0335% -12.349% with 5.129% -13.239% / 15.402% -18.021%,
2852
+ curve by 20.4535% -0.8665% with 8.3805% -2.858% / 15.1465% -3.062%,
2853
+ curve by 11.58% 13.2155% with 5.225% 2.161% / 9.0355% 6.6475%,
2854
+ curve by 12.349% 32.0335% with 13.239% 5.129% / 18.021% 15.402%,
2855
+ curve by 0.5715% 21.1275% with 2.9805% 8.7395% / 3.0745% 15.723%,
2856
+ curve by -12.9205% 10.906% with -2.26% 4.88% / -6.638% 8.472%,
2857
+ curve by -32.0335% 12.349% with -5.129% 13.239% / -15.402% 18.021%,
2858
+ curve by -21.1215% 0.5745% with -8.736% 2.9795% / -15.718% 3.0745%,
2859
+ curve by -10.912% -12.9235% with -4.883% -2.2595% / -8.477% -6.6385%,
2860
+ close);
2861
+ --hexagon: shape(evenodd from 6.47% 67.001%,
2862
+ curve by 0% -34.002% with -1.1735% -7.7% / -1.1735% -26.302%,
2863
+ curve by 7.0415% -12.1965% with 0.7075% -4.641% / 3.3765% -9.2635%,
2864
+ curve by 29.447% -17.001% with 6.0815% -4.8665% / 22.192% -14.1675%,
2865
+ curve by 14.083% 0% with 4.3725% -1.708% / 9.7105% -1.708%,
2866
+ curve by 29.447% 17.001% with 7.255% 2.8335% / 23.3655% 12.1345%,
2867
+ curve by 7.0415% 12.1965% with 3.665% 2.933% / 6.334% 7.5555%,
2868
+ curve by 0% 34.002% with 1.1735% 7.7% / 1.1735% 26.302%,
2869
+ curve by -7.0415% 12.1965% with -0.7075% 4.641% / -3.3765% 9.2635%,
2870
+ curve by -29.447% 17.001% with -6.0815% 4.8665% / -22.192% 14.1675%,
2871
+ curve by -14.083% 0% with -4.3725% 1.708% / -9.7105% 1.708%,
2872
+ curve by -29.447% -17.001% with -7.255% -2.8335% / -23.3655% -12.1345%,
2873
+ curve by -7.0415% -12.1965% with -3.665% -2.933% / -6.334% -7.5555%,
2874
+ close);
2875
+ --cylinder: shape(evenodd from 10.5845% 59.7305%,
2876
+ curve by 0% -19.461% with -0.113% -1.7525% / -0.11% -18.14%,
2877
+ curve by 10.098% -26.213% with 0.837% -10.0375% / 3.821% -19.2625%,
2878
+ curve by 29.3175% -13.0215% with 7.2175% -7.992% / 17.682% -13.0215%,
2879
+ curve by 19.5845% 5.185% with 7.1265% 0% / 13.8135% 1.887%,
2880
+ curve by 9.8595% 7.9775% with 3.7065% 2.1185% / 7.035% 4.8195%,
2881
+ curve by 9.9715% 26.072% with 6.2015% 6.933% / 9.4345% 16.082%,
2882
+ curve by 0% 19.461% with 0.074% 1.384% / 0.0745% 17.7715%,
2883
+ curve by -13.0065% 29.1155% with -0.511% 11.5345% / -5.021% 21.933%,
2884
+ curve by -26.409% 10.119% with -6.991% 6.288% / -16.254% 10.119%,
2885
+ curve by -20.945% -5.9995% with -7.6935% 0% / -14.8755% -2.199%,
2886
+ curve by -8.713% -7.404% with -3.255% -2.0385% / -6.1905% -4.537%,
2887
+ curve by -9.7575% -25.831% with -6.074% -6.9035% / -9.1205% -15.963%,
2888
+ close);
2889
+ --circle: shape(evenodd from 13.482% 79.505%,
2890
+ curve by -7.1945% -12.47% with -1.4985% -1.8575% / -6.328% -10.225%,
2891
+ curve by 0.0985% -33.8965% with -4.1645% -10.7945% / -4.1685% -23.0235%,
2892
+ curve by 6.9955% -12.101% with 1.72% -4.3825% / 4.0845% -8.458%,
2893
+ curve by 30.125% -17.119% with 7.339% -9.1825% / 18.4775% -15.5135%,
2894
+ curve by 13.4165% 0.095% with 4.432% -0.6105% / 8.9505% -0.5855%,
2895
+ curve by 29.364% 16.9% with 11.6215% 1.77% / 22.102% 7.9015%,
2896
+ curve by 7.176% 12.4145% with 3.002% 3.7195% / 5.453% 7.968%,
2897
+ curve by -0.0475% 33.8925% with 4.168% 10.756% / 4.2305% 22.942%,
2898
+ curve by -7.1135% 12.2825% with -1.74% 4.4535% / -4.1455% 8.592%,
2899
+ curve by -29.404% 16.9075% with -7.202% 8.954% / -18.019% 15.137%,
2900
+ curve by -14.19% -0.018% with -4.6635% 0.7255% / -9.4575% 0.7205%,
2901
+ curve by -29.226% -16.8875% with -11.573% -1.8065% / -21.9955% -7.9235%,
2902
+ close);
2903
+ --heart: shape(evenodd from 51.311% 83.603%,
2904
+ curve by -8.333% -20.508% with -14.104% -4.287% / -16.406% -16.185%,
2905
+ curve by -4.271% -37.41% with -5.419% -9.658% / -6.815% -22.733%,
2906
+ curve by 13.589% -33.586% with 3.982% -7.448% / 8.411% -15.994%,
2907
+ curve by 28.187% -21.985% with 4.029% -4.29% / 4.029% -4.29%,
2908
+ curve by 33.835% 0.721% with 9.618% 4.647% / 22.541% 9.618%,
2909
+ curve by 37.596% 21.304% with 3.306% 13.266% / 7.589% 24.251%,
2910
+ curve by 21.985% 43.613% with -4.208% 3.982% / -15.994% 8.411%,
2911
+ curve by 0.721% 37.596% with -7.448% 4.029% / -15.994% 8.411%,
2912
+ curve by -16.185% 28.187% with -9.658% 5.419% / -22.733% 6.815%,
2913
+ curve by -37.41% 4.271% with -4.29% 4.029% / -4.29% 4.029%,
2914
+ curve by -33.586% -13.589% with -7.448% 3.982% / -15.994% 8.411%,
2915
+ curve by -28.187% -32.094% with -4.029% 4.029% / -4.029% 4.029%,
2916
+ close);
2917
+ --spiral: shape(evenodd from 13.347% 30.885%,
2918
+ curve by 5.502% 18.447% with 11.052% 5.562% / 19.995% 9.169%,
2919
+ curve by -20.309% 16.907% with -7.146% -1.332% / -9.016% -2.812%,
2920
+ curve by -25.848% -13.087% with -7.017% -7.46% / -9.941% -15.041%,
2921
+ curve by 10.154% -25.731% with 2.473% -6.063% / 7.163% -10.656%,
2922
+ curve by 31.473% -7.963% with 8.814% 2.403% / 13.84% 8.748%,
2923
+ curve by 16.526% 20.487% with -4.058% 1.502% / -9.51% 3.304%,
2924
+ curve by 5.502% 18.447% with 11.052% 5.562% / 19.995% 9.169%,
2925
+ close);
2926
+ --sun: shape(evenodd from 12.758% 22.039%,
2927
+ curve by 2.2585% 27.561% with 4.517% 18.961% / 2.2585% 27.561%,
2928
+ curve by 3.187% -11.541% with 2.2585% -8.483% / 4.7615% -12.541%,
2929
+ curve by 31.034% 31.034% with 31.034% 31.034% / 31.034% 31.034%,
2930
+ curve by 33.825% -14.163% with 8.961% -7.455% / 13.585% -11.059%,
2931
+ curve by 19.814% -34.731% with 4.7615% -12.541% / 2.2585% -27.561%,
2932
+ curve by 33.825% -14.163% with 2.2585% -8.483% / 4.517% -18.961%,
2933
+ curve by 19.814% -34.731% with 0% 0% / -3.187% 11.541%,
2934
+ curve by 33.825% -14.163% with 8.961% -7.455% / 13.585% -11.059%,
2935
+ curve by 31.034% 31.034% with 31.034% 31.034% / 31.034% 31.034%,
2936
+ curve by 19.814% -34.731% with 4.7615% -12.541% / 2.2585% -27.561%,
2937
+ curve by 33.825% -14.163% with 2.2585% -8.483% / 4.517% -18.961%,
2938
+ close);
2939
+ --star2: shape(open from 28.947% 47.744%,
2940
+ curve by 24.042% -2.139% with 0% 0% / -24.042% 2.139%,
2941
+ curve by 4.208% -25.165% with 4.208% -25.165% / 4.208% -25.165%,
2942
+ curve by 2.341% -18.447% with 0% 0% / 1.888% -1.438%,
2943
+ curve by 32.355% 1.085% with 0% 0% / 25.984% 1.085%,
2944
+ curve by -4.655% 25.165% with 0% 0% / -4.655% 25.165%,
2945
+ curve by -4.208% -25.165% with -4.208% -25.165% / -4.208% -25.165%,
2946
+ curve by 2.566% -4.208% with 0% 0% / 2.072% -1.639%,
2947
+ curve by 30.069% 1.085% with 0% 0% / 24.156% 1.085%,
2948
+ curve by -2.791% 25.165% with 0% 0% / -2.791% 25.165%,
2949
+ curve by -4.208% -25.165% with -4.208% -25.165% / -4.208% -25.165%,
2950
+ curve by 2.116% -4.208% with 0% 0% / 1.659% -1.557%,
2951
+ close);
2952
+ --tri-star: shape(open from 25% 25%,
2953
+ curve by 25% 25% with 0% 0% / 25% 25%,
2954
+ close);
2955
+ }
2956
+ }
2821
2957
  @property --tw-translate-x {
2822
2958
  syntax: "*";
2823
2959
  inherits: false;
@@ -3118,6 +3254,46 @@
3118
3254
  animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
3119
3255
  }
3120
3256
  }
3257
+ @keyframes shapeshift {
3258
+ 0% {
3259
+ clip-path: var(--circle);
3260
+ rotate: 0turn;
3261
+ }
3262
+ 25% {
3263
+ clip-path: var(--flower);
3264
+ }
3265
+ 50% {
3266
+ clip-path: var(--cylinder);
3267
+ }
3268
+ 75% {
3269
+ clip-path: var(--hexagon);
3270
+ }
3271
+ 100% {
3272
+ clip-path: var(--circle);
3273
+ rotate: 1turn;
3274
+ }
3275
+ 120% {
3276
+ clip-path: var(--flower);
3277
+ }
3278
+ 140% {
3279
+ clip-path: var(--cylinder);
3280
+ }
3281
+ 160% {
3282
+ clip-path: var(--hexagon);
3283
+ }
3284
+ 180% {
3285
+ clip-path: var(--circle);
3286
+ rotate: 1turn;
3287
+ }
3288
+ }
3289
+ @keyframes gradientMove {
3290
+ 0% {
3291
+ translate: 0 0;
3292
+ }
3293
+ 100% {
3294
+ translate: -75% -75%;
3295
+ }
3296
+ }
3121
3297
  @layer properties {
3122
3298
  @supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {
3123
3299
  *, ::before, ::after, ::backdrop {
package/dist/index.js CHANGED
@@ -2881,6 +2881,43 @@ function ChatWindow({
2881
2881
  // src/components/ChatWidget.tsx
2882
2882
  var import_jsx_runtime14 = require("react/jsx-runtime");
2883
2883
  var DEFAULT_DIMENSIONS = { width: 380, height: 600 };
2884
+ var GEMINI_STYLES = `
2885
+ @keyframes shapeshift {
2886
+ 0% { clip-path: var(--circle); rotate: 0turn; }
2887
+ 25% { clip-path: var(--flower); }
2888
+ 50% { clip-path: var(--cylinder); }
2889
+ 75% { clip-path: var(--hexagon); }
2890
+ 100% { clip-path: var(--circle); rotate: 1turn; }
2891
+ 200% { clip-path: var(--flower); rotate: 2turn; }
2892
+
2893
+ 220% {
2894
+ clip-path: var(--cylinder);
2895
+ }
2896
+
2897
+ 240% {
2898
+ clip-path: var(--hexagon);
2899
+ }
2900
+
2901
+ 260% { clip-path: var(--circle); rotate: 1turn; }
2902
+ }
2903
+
2904
+ @keyframes gradientMove {
2905
+ 0% { translate: 0 0; }
2906
+ 100% { translate: -75% -75%; }
2907
+ }
2908
+
2909
+ @keyframes gradientMove {
2910
+ 0% { translate: 0 0; }
2911
+ 100% { translate: -75% -75%; }
2912
+ }
2913
+
2914
+ :root {
2915
+ --flower: shape(evenodd from 17.9665% 82.0335%, curve by -12.349% -32.0335% with -13.239% -5.129% / -18.021% -15.402%, curve by -0.0275% -22.203% with -3.1825% -9.331% / -3.074% -16.6605%, curve by 12.3765% -9.8305% with 2.3835% -4.3365% / 6.565% -7.579%, curve by 32.0335% -12.349% with 5.129% -13.239% / 15.402% -18.021%, curve by 20.4535% -0.8665% with 8.3805% -2.858% / 15.1465% -3.062%, curve by 11.58% 13.2155% with 5.225% 2.161% / 9.0355% 6.6475%, curve by 12.349% 32.0335% with 13.239% 5.129% / 18.021% 15.402%, curve by 0.5715% 21.1275% with 2.9805% 8.7395% / 3.0745% 15.723%, curve by -12.9205% 10.906% with -2.26% 4.88% / -6.638% 8.472%, curve by -32.0335% 12.349% with -5.129% 13.239% / -15.402% 18.021%, curve by -21.1215% 0.5745% with -8.736% 2.9795% / -15.718% 3.0745%, curve by -10.912% -12.9235% with -4.883% -2.2595% / -8.477% -6.6385%, close);
2916
+ --hexagon: shape(evenodd from 6.47% 67.001%, curve by 0% -34.002% with -1.1735% -7.7% / -1.1735% -26.302%, curve by 7.0415% -12.1965% with 0.7075% -4.641% / 3.3765% -9.2635%, curve by 29.447% -17.001% with 6.0815% -4.8665% / 22.192% -14.1675%, curve by 14.083% 0% with 4.3725% -1.708% / 9.7105% -1.708%, curve by 29.447% 17.001% with 7.255% 2.8335% / 23.3655% 12.1345%, curve by 7.0415% 12.1965% with 3.665% 2.933% / 6.334% 7.5555%, curve by 0% 34.002% with 1.1735% 7.7% / 1.1735% 26.302%, curve by -7.0415% 12.1965% with -0.7075% 4.641% / -3.3765% 9.2635%, curve by -29.447% 17.001% with -6.0815% 4.8665% / -22.192% 14.1675%, curve by -14.083% 0% with -4.3725% 1.708% / -9.7105% 1.708%, curve by -29.447% -17.001% with -7.255% -2.8335% / -23.3655% -12.1345%, curve by -7.0415% -12.1965% with -3.665% -2.933% / -6.334% -7.5555%, close);
2917
+ --cylinder: shape(evenodd from 10.5845% 59.7305%, curve by 0% -19.461% with -0.113% -1.7525% / -0.11% -18.14%, curve by 10.098% -26.213% with 0.837% -10.0375% / 3.821% -19.2625%, curve by 29.3175% -13.0215% with 7.2175% -7.992% / 17.682% -13.0215%, curve by 19.5845% 5.185% with 7.1265% 0% / 13.8135% 1.887%, curve by 9.8595% 7.9775% with 3.7065% 2.1185% / 7.035% 4.8195%, curve by 9.9715% 26.072% with 6.2015% 6.933% / 9.4345% 16.082%, curve by 0% 19.461% with 0.074% 1.384% / 0.0745% 17.7715%, curve by -13.0065% 29.1155% with -0.511% 11.5345% / -5.021% 21.933%, curve by -26.409% 10.119% with -6.991% 6.288% / -16.254% 10.119%, curve by -20.945% -5.9995% with -7.6935% 0% / -14.8755% -2.199%, curve by -8.713% -7.404% with -3.255% -2.0385% / -6.1905% -4.537%, curve by -9.7575% -25.831% with -6.074% -6.9035% / -9.1205% -15.963%, close);
2918
+ --circle: shape(evenodd from 13.482% 79.505%, curve by -7.1945% -12.47% with -1.4985% -1.8575% / -6.328% -10.225%, curve by 0.0985% -33.8965% with -4.1645% -10.7945% / -4.1685% -23.0235%, curve by 6.9955% -12.101% with 1.72% -4.3825% / 4.0845% -8.458%, curve by 30.125% -17.119% with 7.339% -9.1825% / 18.4775% -15.5135%, curve by 13.4165% 0.095% with 4.432% -0.6105% / 8.9505% -0.5855%, curve by 29.364% 16.9% with 11.6215% 1.77% / 22.102% 7.9015%, curve by 7.176% 12.4145% with 3.002% 3.7195% / 5.453% 7.968%, curve by -0.0475% 33.8925% with 4.168% 10.756% / 4.2305% 22.942%, curve by -7.1135% 12.2825% with -1.74% 4.4535% / -4.1455% 8.592%, curve by -29.404% 16.9075% with -7.202% 8.954% / -18.019% 15.137%, curve by -14.19% -0.018% with -4.6635% 0.7255% / -9.4575% 0.7205%, curve by -29.226% -16.8875% with -11.573% -1.8065% / -21.9955% -7.9235%, close);
2919
+ }
2920
+ `;
2884
2921
  function ChatWidget({ position = "bottom-right", onAddToCart }) {
2885
2922
  const { ui } = useConfig();
2886
2923
  const [isOpen, setIsOpen] = (0, import_react12.useState)(false);
@@ -2938,6 +2975,7 @@ function ChatWidget({ position = "bottom-right", onAddToCart }) {
2938
2975
  };
2939
2976
  const isResized = dimensions.width !== DEFAULT_DIMENSIONS.width || dimensions.height !== DEFAULT_DIMENSIONS.height;
2940
2977
  return /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)(import_jsx_runtime14.Fragment, { children: [
2978
+ /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("style", { dangerouslySetInnerHTML: { __html: GEMINI_STYLES } }),
2941
2979
  /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)(
2942
2980
  "div",
2943
2981
  {
@@ -2981,11 +3019,11 @@ function ChatWidget({ position = "bottom-right", onAddToCart }) {
2981
3019
  /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
2982
3020
  "div",
2983
3021
  {
2984
- className: `absolute inset-0 transition-all duration-300 overflow-hidden ${ui.borderRadius === "full" ? "rounded-full" : "rounded-2xl"} group-hover:rounded-none group-hover:animate-shapeshift`,
3022
+ className: "absolute inset-0 transition-all duration-300 overflow-hidden rounded-full group-hover:rounded-none group-hover:animate-[shapeshift_5s_ease-in-out_infinite_forwards]",
2985
3023
  children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
2986
3024
  "div",
2987
3025
  {
2988
- className: "absolute top-0 left-0 w-[400%] h-[400%] transition-transform duration-300 group-hover:animate-gradientMove",
3026
+ className: "absolute top-0 left-0 w-[400%] h-[400%] transition-transform duration-300 group-hover:animate-[gradientMove_3.5s_ease-in-out_infinite_alternate]",
2989
3027
  style: {
2990
3028
  background: `linear-gradient(135deg, ${ui.primaryColor}, ${ui.accentColor}, ${ui.primaryColor}, ${ui.accentColor})`
2991
3029
  }
package/dist/index.mjs CHANGED
@@ -2896,6 +2896,43 @@ function ChatWindow({
2896
2896
  // src/components/ChatWidget.tsx
2897
2897
  import { Fragment as Fragment4, jsx as jsx14, jsxs as jsxs13 } from "react/jsx-runtime";
2898
2898
  var DEFAULT_DIMENSIONS = { width: 380, height: 600 };
2899
+ var GEMINI_STYLES = `
2900
+ @keyframes shapeshift {
2901
+ 0% { clip-path: var(--circle); rotate: 0turn; }
2902
+ 25% { clip-path: var(--flower); }
2903
+ 50% { clip-path: var(--cylinder); }
2904
+ 75% { clip-path: var(--hexagon); }
2905
+ 100% { clip-path: var(--circle); rotate: 1turn; }
2906
+ 200% { clip-path: var(--flower); rotate: 2turn; }
2907
+
2908
+ 220% {
2909
+ clip-path: var(--cylinder);
2910
+ }
2911
+
2912
+ 240% {
2913
+ clip-path: var(--hexagon);
2914
+ }
2915
+
2916
+ 260% { clip-path: var(--circle); rotate: 1turn; }
2917
+ }
2918
+
2919
+ @keyframes gradientMove {
2920
+ 0% { translate: 0 0; }
2921
+ 100% { translate: -75% -75%; }
2922
+ }
2923
+
2924
+ @keyframes gradientMove {
2925
+ 0% { translate: 0 0; }
2926
+ 100% { translate: -75% -75%; }
2927
+ }
2928
+
2929
+ :root {
2930
+ --flower: shape(evenodd from 17.9665% 82.0335%, curve by -12.349% -32.0335% with -13.239% -5.129% / -18.021% -15.402%, curve by -0.0275% -22.203% with -3.1825% -9.331% / -3.074% -16.6605%, curve by 12.3765% -9.8305% with 2.3835% -4.3365% / 6.565% -7.579%, curve by 32.0335% -12.349% with 5.129% -13.239% / 15.402% -18.021%, curve by 20.4535% -0.8665% with 8.3805% -2.858% / 15.1465% -3.062%, curve by 11.58% 13.2155% with 5.225% 2.161% / 9.0355% 6.6475%, curve by 12.349% 32.0335% with 13.239% 5.129% / 18.021% 15.402%, curve by 0.5715% 21.1275% with 2.9805% 8.7395% / 3.0745% 15.723%, curve by -12.9205% 10.906% with -2.26% 4.88% / -6.638% 8.472%, curve by -32.0335% 12.349% with -5.129% 13.239% / -15.402% 18.021%, curve by -21.1215% 0.5745% with -8.736% 2.9795% / -15.718% 3.0745%, curve by -10.912% -12.9235% with -4.883% -2.2595% / -8.477% -6.6385%, close);
2931
+ --hexagon: shape(evenodd from 6.47% 67.001%, curve by 0% -34.002% with -1.1735% -7.7% / -1.1735% -26.302%, curve by 7.0415% -12.1965% with 0.7075% -4.641% / 3.3765% -9.2635%, curve by 29.447% -17.001% with 6.0815% -4.8665% / 22.192% -14.1675%, curve by 14.083% 0% with 4.3725% -1.708% / 9.7105% -1.708%, curve by 29.447% 17.001% with 7.255% 2.8335% / 23.3655% 12.1345%, curve by 7.0415% 12.1965% with 3.665% 2.933% / 6.334% 7.5555%, curve by 0% 34.002% with 1.1735% 7.7% / 1.1735% 26.302%, curve by -7.0415% 12.1965% with -0.7075% 4.641% / -3.3765% 9.2635%, curve by -29.447% 17.001% with -6.0815% 4.8665% / -22.192% 14.1675%, curve by -14.083% 0% with -4.3725% 1.708% / -9.7105% 1.708%, curve by -29.447% -17.001% with -7.255% -2.8335% / -23.3655% -12.1345%, curve by -7.0415% -12.1965% with -3.665% -2.933% / -6.334% -7.5555%, close);
2932
+ --cylinder: shape(evenodd from 10.5845% 59.7305%, curve by 0% -19.461% with -0.113% -1.7525% / -0.11% -18.14%, curve by 10.098% -26.213% with 0.837% -10.0375% / 3.821% -19.2625%, curve by 29.3175% -13.0215% with 7.2175% -7.992% / 17.682% -13.0215%, curve by 19.5845% 5.185% with 7.1265% 0% / 13.8135% 1.887%, curve by 9.8595% 7.9775% with 3.7065% 2.1185% / 7.035% 4.8195%, curve by 9.9715% 26.072% with 6.2015% 6.933% / 9.4345% 16.082%, curve by 0% 19.461% with 0.074% 1.384% / 0.0745% 17.7715%, curve by -13.0065% 29.1155% with -0.511% 11.5345% / -5.021% 21.933%, curve by -26.409% 10.119% with -6.991% 6.288% / -16.254% 10.119%, curve by -20.945% -5.9995% with -7.6935% 0% / -14.8755% -2.199%, curve by -8.713% -7.404% with -3.255% -2.0385% / -6.1905% -4.537%, curve by -9.7575% -25.831% with -6.074% -6.9035% / -9.1205% -15.963%, close);
2933
+ --circle: shape(evenodd from 13.482% 79.505%, curve by -7.1945% -12.47% with -1.4985% -1.8575% / -6.328% -10.225%, curve by 0.0985% -33.8965% with -4.1645% -10.7945% / -4.1685% -23.0235%, curve by 6.9955% -12.101% with 1.72% -4.3825% / 4.0845% -8.458%, curve by 30.125% -17.119% with 7.339% -9.1825% / 18.4775% -15.5135%, curve by 13.4165% 0.095% with 4.432% -0.6105% / 8.9505% -0.5855%, curve by 29.364% 16.9% with 11.6215% 1.77% / 22.102% 7.9015%, curve by 7.176% 12.4145% with 3.002% 3.7195% / 5.453% 7.968%, curve by -0.0475% 33.8925% with 4.168% 10.756% / 4.2305% 22.942%, curve by -7.1135% 12.2825% with -1.74% 4.4535% / -4.1455% 8.592%, curve by -29.404% 16.9075% with -7.202% 8.954% / -18.019% 15.137%, curve by -14.19% -0.018% with -4.6635% 0.7255% / -9.4575% 0.7205%, curve by -29.226% -16.8875% with -11.573% -1.8065% / -21.9955% -7.9235%, close);
2934
+ }
2935
+ `;
2899
2936
  function ChatWidget({ position = "bottom-right", onAddToCart }) {
2900
2937
  const { ui } = useConfig();
2901
2938
  const [isOpen, setIsOpen] = useState6(false);
@@ -2953,6 +2990,7 @@ function ChatWidget({ position = "bottom-right", onAddToCart }) {
2953
2990
  };
2954
2991
  const isResized = dimensions.width !== DEFAULT_DIMENSIONS.width || dimensions.height !== DEFAULT_DIMENSIONS.height;
2955
2992
  return /* @__PURE__ */ jsxs13(Fragment4, { children: [
2993
+ /* @__PURE__ */ jsx14("style", { dangerouslySetInnerHTML: { __html: GEMINI_STYLES } }),
2956
2994
  /* @__PURE__ */ jsxs13(
2957
2995
  "div",
2958
2996
  {
@@ -2996,11 +3034,11 @@ function ChatWidget({ position = "bottom-right", onAddToCart }) {
2996
3034
  /* @__PURE__ */ jsx14(
2997
3035
  "div",
2998
3036
  {
2999
- className: `absolute inset-0 transition-all duration-300 overflow-hidden ${ui.borderRadius === "full" ? "rounded-full" : "rounded-2xl"} group-hover:rounded-none group-hover:animate-shapeshift`,
3037
+ className: "absolute inset-0 transition-all duration-300 overflow-hidden rounded-full group-hover:rounded-none group-hover:animate-[shapeshift_5s_ease-in-out_infinite_forwards]",
3000
3038
  children: /* @__PURE__ */ jsx14(
3001
3039
  "div",
3002
3040
  {
3003
- className: "absolute top-0 left-0 w-[400%] h-[400%] transition-transform duration-300 group-hover:animate-gradientMove",
3041
+ className: "absolute top-0 left-0 w-[400%] h-[400%] transition-transform duration-300 group-hover:animate-[gradientMove_3.5s_ease-in-out_infinite_alternate]",
3004
3042
  style: {
3005
3043
  background: `linear-gradient(135deg, ${ui.primaryColor}, ${ui.accentColor}, ${ui.primaryColor}, ${ui.accentColor})`
3006
3044
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@retrivora-ai/rag-engine",
3
- "version": "1.8.5",
3
+ "version": "1.8.7",
4
4
  "description": "Retrivora AI is a plug-and-play AI engine for RAG chat experiences — generic vector DB + LLM provider, embeddable or standalone.",
5
5
  "author": "Abhinav Alkuchi",
6
6
  "license": "MIT",
@@ -5,99 +5,206 @@
5
5
  @theme {
6
6
  --animate-shapeshift: shapeshift 5s ease-in-out infinite forwards;
7
7
  --animate-gradientMove: gradientMove 3.5s ease-in-out infinite alternate;
8
-
8
+
9
9
  @keyframes shapeshift {
10
- 0% { clip-path: var(--circle); rotate: 0turn; }
11
- 25% { clip-path: var(--flower); }
12
- 50% { clip-path: var(--cylinder); }
13
- 75% { clip-path: var(--hexagon); }
14
- 100% { clip-path: var(--circle); rotate: 1turn; }
10
+ 0% {
11
+ clip-path: var(--circle);
12
+ rotate: 0turn;
13
+ }
14
+
15
+ 25% {
16
+ clip-path: var(--flower);
17
+ }
18
+
19
+ 50% {
20
+ clip-path: var(--cylinder);
21
+ }
22
+
23
+ 75% {
24
+ clip-path: var(--hexagon);
25
+ }
26
+
27
+ 100% {
28
+ clip-path: var(--circle);
29
+ rotate: 1turn;
30
+ }
31
+
32
+ 120% {
33
+ clip-path: var(--flower);
34
+ }
35
+
36
+ 140% {
37
+ clip-path: var(--cylinder);
38
+ }
39
+
40
+ 160% {
41
+ clip-path: var(--hexagon);
42
+ }
43
+
44
+ 180% {
45
+ clip-path: var(--circle);
46
+ rotate: 1turn;
47
+ }
15
48
  }
16
49
 
17
50
  @keyframes gradientMove {
18
- 0% { translate: 0 0; }
19
- 100% { translate: -75% -75%; }
51
+ 0% {
52
+ translate: 0 0;
53
+ }
54
+
55
+ 100% {
56
+ translate: -75% -75%;
57
+ }
20
58
  }
21
59
  }
22
60
 
23
61
  @layer base {
24
62
  :root {
25
- --star: shape(
26
- evenodd from 50% 24.787%,
27
- curve by 7.143% 18.016% with 0% 0% / 2.9725% 13.814%,
28
- curve by 17.882% 7.197% with 4.171% 4.2025% / 17.882% 7.197%,
29
- curve by -17.882% 8.6765% with 0% 0% / -13.711% 4.474%,
30
- curve by -7.143% 16.5365% with -4.1705% 4.202% / -7.143% 16.5365%,
31
- curve by -8.6115% -16.5365% with 0% 0% / -4.441% -12.3345%,
32
- curve by -16.4135% -8.6765% with -4.171% -4.2025% / -16.4135% -8.6765%,
33
- curve by 16.4135% -7.197% with 0% 0% / 12.2425% -2.9945%,
34
- curve by 8.6115% -18.016% with 4.1705% -4.202% / 8.6115% -18.016%,
35
- close
36
- );
37
- --flower: shape(
38
- evenodd from 17.9665% 82.0335%,
39
- curve by -12.349% -32.0335% with -13.239% -5.129% / -18.021% -15.402%,
40
- curve by -0.0275% -22.203% with -3.1825% -9.331% / -3.074% -16.6605%,
41
- curve by 12.3765% -9.8305% with 2.3835% -4.3365% / 6.565% -7.579%,
42
- curve by 32.0335% -12.349% with 5.129% -13.239% / 15.402% -18.021%,
43
- curve by 20.4535% -0.8665% with 8.3805% -2.858% / 15.1465% -3.062%,
44
- curve by 11.58% 13.2155% with 5.225% 2.161% / 9.0355% 6.6475%,
45
- curve by 12.349% 32.0335% with 13.239% 5.129% / 18.021% 15.402%,
46
- curve by 0.5715% 21.1275% with 2.9805% 8.7395% / 3.0745% 15.723%,
47
- curve by -12.9205% 10.906% with -2.26% 4.88% / -6.638% 8.472%,
48
- curve by -32.0335% 12.349% with -5.129% 13.239% / -15.402% 18.021%,
49
- curve by -21.1215% 0.5745% with -8.736% 2.9795% / -15.718% 3.0745%,
50
- curve by -10.912% -12.9235% with -4.883% -2.2595% / -8.477% -6.6385%,
51
- close
52
- );
53
- --hexagon: shape(
54
- evenodd from 6.47% 67.001%,
55
- curve by 0% -34.002% with -1.1735% -7.7% / -1.1735% -26.302%,
56
- curve by 7.0415% -12.1965% with 0.7075% -4.641% / 3.3765% -9.2635%,
57
- curve by 29.447% -17.001% with 6.0815% -4.8665% / 22.192% -14.1675%,
58
- curve by 14.083% 0% with 4.3725% -1.708% / 9.7105% -1.708%,
59
- curve by 29.447% 17.001% with 7.255% 2.8335% / 23.3655% 12.1345%,
60
- curve by 7.0415% 12.1965% with 3.665% 2.933% / 6.334% 7.5555%,
61
- curve by 0% 34.002% with 1.1735% 7.7% / 1.1735% 26.302%,
62
- curve by -7.0415% 12.1965% with -0.7075% 4.641% / -3.3765% 9.2635%,
63
- curve by -29.447% 17.001% with -6.0815% 4.8665% / -22.192% 14.1675%,
64
- curve by -14.083% 0% with -4.3725% 1.708% / -9.7105% 1.708%,
65
- curve by -29.447% -17.001% with -7.255% -2.8335% / -23.3655% -12.1345%,
66
- curve by -7.0415% -12.1965% with -3.665% -2.933% / -6.334% -7.5555%,
67
- close
68
- );
69
- --cylinder: shape(
70
- evenodd from 10.5845% 59.7305%,
71
- curve by 0% -19.461% with -0.113% -1.7525% / -0.11% -18.14%,
72
- curve by 10.098% -26.213% with 0.837% -10.0375% / 3.821% -19.2625%,
73
- curve by 29.3175% -13.0215% with 7.2175% -7.992% / 17.682% -13.0215%,
74
- curve by 19.5845% 5.185% with 7.1265% 0% / 13.8135% 1.887%,
75
- curve by 9.8595% 7.9775% with 3.7065% 2.1185% / 7.035% 4.8195%,
76
- curve by 9.9715% 26.072% with 6.2015% 6.933% / 9.4345% 16.082%,
77
- curve by 0% 19.461% with 0.074% 1.384% / 0.0745% 17.7715%,
78
- curve by -13.0065% 29.1155% with -0.511% 11.5345% / -5.021% 21.933%,
79
- curve by -26.409% 10.119% with -6.991% 6.288% / -16.254% 10.119%,
80
- curve by -20.945% -5.9995% with -7.6935% 0% / -14.8755% -2.199%,
81
- curve by -8.713% -7.404% with -3.255% -2.0385% / -6.1905% -4.537%,
82
- curve by -9.7575% -25.831% with -6.074% -6.9035% / -9.1205% -15.963%,
83
- close
84
- );
85
- --circle: shape(
86
- evenodd from 13.482% 79.505%,
87
- curve by -7.1945% -12.47% with -1.4985% -1.8575% / -6.328% -10.225%,
88
- curve by 0.0985% -33.8965% with -4.1645% -10.7945% / -4.1685% -23.0235%,
89
- curve by 6.9955% -12.101% with 1.72% -4.3825% / 4.0845% -8.458%,
90
- curve by 30.125% -17.119% with 7.339% -9.1825% / 18.4775% -15.5135%,
91
- curve by 13.4165% 0.095% with 4.432% -0.6105% / 8.9505% -0.5855%,
92
- curve by 29.364% 16.9% with 11.6215% 1.77% / 22.102% 7.9015%,
93
- curve by 7.176% 12.4145% with 3.002% 3.7195% / 5.453% 7.968%,
94
- curve by -0.0475% 33.8925% with 4.168% 10.756% / 4.2305% 22.942%,
95
- curve by -7.1135% 12.2825% with -1.74% 4.4535% / -4.1455% 8.592%,
96
- curve by -29.404% 16.9075% with -7.202% 8.954% / -18.019% 15.137%,
97
- curve by -14.19% -0.018% with -4.6635% 0.7255% / -9.4575% 0.7205%,
98
- curve by -29.226% -16.8875% with -11.573% -1.8065% / -21.9955% -7.9235%,
99
- close
100
- );
63
+ --star: shape(evenodd from 50% 24.787%,
64
+ curve by 7.143% 18.016% with 0% 0% / 2.9725% 13.814%,
65
+ curve by 17.882% 7.197% with 4.171% 4.2025% / 17.882% 7.197%,
66
+ curve by -17.882% 8.6765% with 0% 0% / -13.711% 4.474%,
67
+ curve by -7.143% 16.5365% with -4.1705% 4.202% / -7.143% 16.5365%,
68
+ curve by -8.6115% -16.5365% with 0% 0% / -4.441% -12.3345%,
69
+ curve by -16.4135% -8.6765% with -4.171% -4.2025% / -16.4135% -8.6765%,
70
+ curve by 16.4135% -7.197% with 0% 0% / 12.2425% -2.9945%,
71
+ curve by 8.6115% -18.016% with 4.1705% -4.202% / 8.6115% -18.016%,
72
+ close);
73
+ --flower: shape(evenodd from 17.9665% 82.0335%,
74
+ curve by -12.349% -32.0335% with -13.239% -5.129% / -18.021% -15.402%,
75
+ curve by -0.0275% -22.203% with -3.1825% -9.331% / -3.074% -16.6605%,
76
+ curve by 12.3765% -9.8305% with 2.3835% -4.3365% / 6.565% -7.579%,
77
+ curve by 32.0335% -12.349% with 5.129% -13.239% / 15.402% -18.021%,
78
+ curve by 20.4535% -0.8665% with 8.3805% -2.858% / 15.1465% -3.062%,
79
+ curve by 11.58% 13.2155% with 5.225% 2.161% / 9.0355% 6.6475%,
80
+ curve by 12.349% 32.0335% with 13.239% 5.129% / 18.021% 15.402%,
81
+ curve by 0.5715% 21.1275% with 2.9805% 8.7395% / 3.0745% 15.723%,
82
+ curve by -12.9205% 10.906% with -2.26% 4.88% / -6.638% 8.472%,
83
+ curve by -32.0335% 12.349% with -5.129% 13.239% / -15.402% 18.021%,
84
+ curve by -21.1215% 0.5745% with -8.736% 2.9795% / -15.718% 3.0745%,
85
+ curve by -10.912% -12.9235% with -4.883% -2.2595% / -8.477% -6.6385%,
86
+ close);
87
+ --hexagon: shape(evenodd from 6.47% 67.001%,
88
+ curve by 0% -34.002% with -1.1735% -7.7% / -1.1735% -26.302%,
89
+ curve by 7.0415% -12.1965% with 0.7075% -4.641% / 3.3765% -9.2635%,
90
+ curve by 29.447% -17.001% with 6.0815% -4.8665% / 22.192% -14.1675%,
91
+ curve by 14.083% 0% with 4.3725% -1.708% / 9.7105% -1.708%,
92
+ curve by 29.447% 17.001% with 7.255% 2.8335% / 23.3655% 12.1345%,
93
+ curve by 7.0415% 12.1965% with 3.665% 2.933% / 6.334% 7.5555%,
94
+ curve by 0% 34.002% with 1.1735% 7.7% / 1.1735% 26.302%,
95
+ curve by -7.0415% 12.1965% with -0.7075% 4.641% / -3.3765% 9.2635%,
96
+ curve by -29.447% 17.001% with -6.0815% 4.8665% / -22.192% 14.1675%,
97
+ curve by -14.083% 0% with -4.3725% 1.708% / -9.7105% 1.708%,
98
+ curve by -29.447% -17.001% with -7.255% -2.8335% / -23.3655% -12.1345%,
99
+ curve by -7.0415% -12.1965% with -3.665% -2.933% / -6.334% -7.5555%,
100
+ close);
101
+ --cylinder: shape(evenodd from 10.5845% 59.7305%,
102
+ curve by 0% -19.461% with -0.113% -1.7525% / -0.11% -18.14%,
103
+ curve by 10.098% -26.213% with 0.837% -10.0375% / 3.821% -19.2625%,
104
+ curve by 29.3175% -13.0215% with 7.2175% -7.992% / 17.682% -13.0215%,
105
+ curve by 19.5845% 5.185% with 7.1265% 0% / 13.8135% 1.887%,
106
+ curve by 9.8595% 7.9775% with 3.7065% 2.1185% / 7.035% 4.8195%,
107
+ curve by 9.9715% 26.072% with 6.2015% 6.933% / 9.4345% 16.082%,
108
+ curve by 0% 19.461% with 0.074% 1.384% / 0.0745% 17.7715%,
109
+ curve by -13.0065% 29.1155% with -0.511% 11.5345% / -5.021% 21.933%,
110
+ curve by -26.409% 10.119% with -6.991% 6.288% / -16.254% 10.119%,
111
+ curve by -20.945% -5.9995% with -7.6935% 0% / -14.8755% -2.199%,
112
+ curve by -8.713% -7.404% with -3.255% -2.0385% / -6.1905% -4.537%,
113
+ curve by -9.7575% -25.831% with -6.074% -6.9035% / -9.1205% -15.963%,
114
+ close);
115
+ --circle: shape(evenodd from 13.482% 79.505%,
116
+ curve by -7.1945% -12.47% with -1.4985% -1.8575% / -6.328% -10.225%,
117
+ curve by 0.0985% -33.8965% with -4.1645% -10.7945% / -4.1685% -23.0235%,
118
+ curve by 6.9955% -12.101% with 1.72% -4.3825% / 4.0845% -8.458%,
119
+ curve by 30.125% -17.119% with 7.339% -9.1825% / 18.4775% -15.5135%,
120
+ curve by 13.4165% 0.095% with 4.432% -0.6105% / 8.9505% -0.5855%,
121
+ curve by 29.364% 16.9% with 11.6215% 1.77% / 22.102% 7.9015%,
122
+ curve by 7.176% 12.4145% with 3.002% 3.7195% / 5.453% 7.968%,
123
+ curve by -0.0475% 33.8925% with 4.168% 10.756% / 4.2305% 22.942%,
124
+ curve by -7.1135% 12.2825% with -1.74% 4.4535% / -4.1455% 8.592%,
125
+ curve by -29.404% 16.9075% with -7.202% 8.954% / -18.019% 15.137%,
126
+ curve by -14.19% -0.018% with -4.6635% 0.7255% / -9.4575% 0.7205%,
127
+ curve by -29.226% -16.8875% with -11.573% -1.8065% / -21.9955% -7.9235%,
128
+ close);
129
+ --circle: shape(evenodd from 13.482% 79.505%,
130
+ curve by -7.1945% -12.47% with -1.4985% -1.8575% / -6.328% -10.225%,
131
+ curve by 0.0985% -33.8965% with -4.1645% -10.7945% / -4.1685% -23.0235%,
132
+ curve by 6.9955% -12.101% with 1.72% -4.3825% / 4.0845% -8.458%,
133
+ curve by 30.125% -17.119% with 7.339% -9.1825% / 18.4775% -15.5135%,
134
+ curve by 13.4165% 0.095% with 4.432% -0.6105% / 8.9505% -0.5855%,
135
+ curve by 29.364% 16.9% with 11.6215% 1.77% / 22.102% 7.9015%,
136
+ curve by 7.176% 12.4145% with 3.002% 3.7195% / 5.453% 7.968%,
137
+ curve by -0.0475% 33.8925% with 4.168% 10.756% / 4.2305% 22.942%,
138
+ curve by -7.1135% 12.2825% with -1.74% 4.4535% / -4.1455% 8.592%,
139
+ curve by -29.404% 16.9075% with -7.202% 8.954% / -18.019% 15.137%,
140
+ curve by -14.19% -0.018% with -4.6635% 0.7255% / -9.4575% 0.7205%,
141
+ curve by -29.226% -16.8875% with -11.573% -1.8065% / -21.9955% -7.9235%,
142
+ close);
143
+ --heart: shape(evenodd from 51.311% 83.603%,
144
+ curve by -8.333% -20.508% with -14.104% -4.287% / -16.406% -16.185%,
145
+ curve by -4.271% -37.41% with -5.419% -9.658% / -6.815% -22.733%,
146
+ curve by 13.589% -33.586% with 3.982% -7.448% / 8.411% -15.994%,
147
+ curve by 28.187% -21.985% with 4.029% -4.29% / 4.029% -4.29%,
148
+ curve by 33.835% 0.721% with 9.618% 4.647% / 22.541% 9.618%,
149
+ curve by 37.596% 21.304% with 3.306% 13.266% / 7.589% 24.251%,
150
+ curve by 21.985% 43.613% with -4.208% 3.982% / -15.994% 8.411%,
151
+ curve by 0.721% 37.596% with -7.448% 4.029% / -15.994% 8.411%,
152
+ curve by -16.185% 28.187% with -9.658% 5.419% / -22.733% 6.815%,
153
+ curve by -37.41% 4.271% with -4.29% 4.029% / -4.29% 4.029%,
154
+ curve by -33.586% -13.589% with -7.448% 3.982% / -15.994% 8.411%,
155
+ curve by -28.187% -32.094% with -4.029% 4.029% / -4.029% 4.029%,
156
+ close);
157
+ --spiral: shape(evenodd from 13.347% 30.885%,
158
+ curve by 5.502% 18.447% with 11.052% 5.562% / 19.995% 9.169%,
159
+ curve by -20.309% 16.907% with -7.146% -1.332% / -9.016% -2.812%,
160
+ curve by -25.848% -13.087% with -7.017% -7.46% / -9.941% -15.041%,
161
+ curve by 10.154% -25.731% with 2.473% -6.063% / 7.163% -10.656%,
162
+ curve by 31.473% -7.963% with 8.814% 2.403% / 13.84% 8.748%,
163
+ curve by 16.526% 20.487% with -4.058% 1.502% / -9.51% 3.304%,
164
+ curve by 5.502% 18.447% with 11.052% 5.562% / 19.995% 9.169%,
165
+ close);
166
+ --star2: shape(open from 28.947% 47.744%,
167
+ curve by 24.042% -2.139% with 0% 0% / -24.042% 2.139%,
168
+ curve by 4.208% -25.165% with 4.208% -25.165% / 4.208% -25.165%,
169
+ curve by 2.341% -18.447% with 0% 0% / 1.888% -1.438%,
170
+ curve by 32.355% 1.085% with 0% 0% / 25.984% 1.085%,
171
+ curve by -4.655% 25.165% with 0% 0% / -4.655% 25.165%,
172
+ curve by -4.208% -25.165% with -4.208% -25.165% / -4.208% -25.165%,
173
+ curve by 2.566% -4.208% with 0% 0% / 2.072% -1.639%,
174
+ curve by 30.069% 1.085% with 0% 0% / 24.156% 1.085%,
175
+ curve by -2.791% 25.165% with 0% 0% / -2.791% 25.165%,
176
+ curve by -4.208% -25.165% with -4.208% -25.165% / -4.208% -25.165%,
177
+ curve by 2.116% -4.208% with 0% 0% / 1.659% -1.557%,
178
+ close);
179
+ --sun: shape(evenodd from 12.758% 22.039%,
180
+ curve by 2.2585% 27.561% with 4.517% 18.961% / 2.2585% 27.561%,
181
+ curve by 3.187% -11.541% with 2.2585% -8.483% / 4.7615% -12.541%,
182
+ curve by 31.034% 31.034% with 31.034% 31.034% / 31.034% 31.034%,
183
+ curve by 33.825% -14.163% with 8.961% -7.455% / 13.585% -11.059%,
184
+ curve by 19.814% -34.731% with 4.7615% -12.541% / 2.2585% -27.561%,
185
+ curve by 33.825% -14.163% with 2.2585% -8.483% / 4.517% -18.961%,
186
+ curve by 19.814% -34.731% with 0% 0% / -3.187% 11.541%,
187
+ curve by 33.825% -14.163% with 8.961% -7.455% / 13.585% -11.059%,
188
+ curve by 31.034% 31.034% with 31.034% 31.034% / 31.034% 31.034%,
189
+ curve by 19.814% -34.731% with 4.7615% -12.541% / 2.2585% -27.561%,
190
+ curve by 33.825% -14.163% with 2.2585% -8.483% / 4.517% -18.961%,
191
+ close);
192
+ --star2: shape(open from 28.947% 47.744%,
193
+ curve by 24.042% -2.139% with 0% 0% / -24.042% 2.139%,
194
+ curve by 4.208% -25.165% with 4.208% -25.165% / 4.208% -25.165%,
195
+ curve by 2.341% -18.447% with 0% 0% / 1.888% -1.438%,
196
+ curve by 32.355% 1.085% with 0% 0% / 25.984% 1.085%,
197
+ curve by -4.655% 25.165% with 0% 0% / -4.655% 25.165%,
198
+ curve by -4.208% -25.165% with -4.208% -25.165% / -4.208% -25.165%,
199
+ curve by 2.566% -4.208% with 0% 0% / 2.072% -1.639%,
200
+ curve by 30.069% 1.085% with 0% 0% / 24.156% 1.085%,
201
+ curve by -2.791% 25.165% with 0% 0% / -2.791% 25.165%,
202
+ curve by -4.208% -25.165% with -4.208% -25.165% / -4.208% -25.165%,
203
+ curve by 2.116% -4.208% with 0% 0% / 1.659% -1.557%,
204
+ close);
205
+ --tri-star: shape(open from 25% 25%,
206
+ curve by 25% 25% with 0% 0% / 25% 25%,
207
+ close);
101
208
  }
102
209
  }
103
210
 
@@ -8,6 +8,44 @@ import { ChatWidgetProps } from '../types';
8
8
 
9
9
  const DEFAULT_DIMENSIONS = { width: 380, height: 600 };
10
10
 
11
+ const GEMINI_STYLES = `
12
+ @keyframes shapeshift {
13
+ 0% { clip-path: var(--circle); rotate: 0turn; }
14
+ 25% { clip-path: var(--flower); }
15
+ 50% { clip-path: var(--cylinder); }
16
+ 75% { clip-path: var(--hexagon); }
17
+ 100% { clip-path: var(--circle); rotate: 1turn; }
18
+ 200% { clip-path: var(--flower); rotate: 2turn; }
19
+
20
+ 220% {
21
+ clip-path: var(--cylinder);
22
+ }
23
+
24
+ 240% {
25
+ clip-path: var(--hexagon);
26
+ }
27
+
28
+ 260% { clip-path: var(--circle); rotate: 1turn; }
29
+ }
30
+
31
+ @keyframes gradientMove {
32
+ 0% { translate: 0 0; }
33
+ 100% { translate: -75% -75%; }
34
+ }
35
+
36
+ @keyframes gradientMove {
37
+ 0% { translate: 0 0; }
38
+ 100% { translate: -75% -75%; }
39
+ }
40
+
41
+ :root {
42
+ --flower: shape(evenodd from 17.9665% 82.0335%, curve by -12.349% -32.0335% with -13.239% -5.129% / -18.021% -15.402%, curve by -0.0275% -22.203% with -3.1825% -9.331% / -3.074% -16.6605%, curve by 12.3765% -9.8305% with 2.3835% -4.3365% / 6.565% -7.579%, curve by 32.0335% -12.349% with 5.129% -13.239% / 15.402% -18.021%, curve by 20.4535% -0.8665% with 8.3805% -2.858% / 15.1465% -3.062%, curve by 11.58% 13.2155% with 5.225% 2.161% / 9.0355% 6.6475%, curve by 12.349% 32.0335% with 13.239% 5.129% / 18.021% 15.402%, curve by 0.5715% 21.1275% with 2.9805% 8.7395% / 3.0745% 15.723%, curve by -12.9205% 10.906% with -2.26% 4.88% / -6.638% 8.472%, curve by -32.0335% 12.349% with -5.129% 13.239% / -15.402% 18.021%, curve by -21.1215% 0.5745% with -8.736% 2.9795% / -15.718% 3.0745%, curve by -10.912% -12.9235% with -4.883% -2.2595% / -8.477% -6.6385%, close);
43
+ --hexagon: shape(evenodd from 6.47% 67.001%, curve by 0% -34.002% with -1.1735% -7.7% / -1.1735% -26.302%, curve by 7.0415% -12.1965% with 0.7075% -4.641% / 3.3765% -9.2635%, curve by 29.447% -17.001% with 6.0815% -4.8665% / 22.192% -14.1675%, curve by 14.083% 0% with 4.3725% -1.708% / 9.7105% -1.708%, curve by 29.447% 17.001% with 7.255% 2.8335% / 23.3655% 12.1345%, curve by 7.0415% 12.1965% with 3.665% 2.933% / 6.334% 7.5555%, curve by 0% 34.002% with 1.1735% 7.7% / 1.1735% 26.302%, curve by -7.0415% 12.1965% with -0.7075% 4.641% / -3.3765% 9.2635%, curve by -29.447% 17.001% with -6.0815% 4.8665% / -22.192% 14.1675%, curve by -14.083% 0% with -4.3725% 1.708% / -9.7105% 1.708%, curve by -29.447% -17.001% with -7.255% -2.8335% / -23.3655% -12.1345%, curve by -7.0415% -12.1965% with -3.665% -2.933% / -6.334% -7.5555%, close);
44
+ --cylinder: shape(evenodd from 10.5845% 59.7305%, curve by 0% -19.461% with -0.113% -1.7525% / -0.11% -18.14%, curve by 10.098% -26.213% with 0.837% -10.0375% / 3.821% -19.2625%, curve by 29.3175% -13.0215% with 7.2175% -7.992% / 17.682% -13.0215%, curve by 19.5845% 5.185% with 7.1265% 0% / 13.8135% 1.887%, curve by 9.8595% 7.9775% with 3.7065% 2.1185% / 7.035% 4.8195%, curve by 9.9715% 26.072% with 6.2015% 6.933% / 9.4345% 16.082%, curve by 0% 19.461% with 0.074% 1.384% / 0.0745% 17.7715%, curve by -13.0065% 29.1155% with -0.511% 11.5345% / -5.021% 21.933%, curve by -26.409% 10.119% with -6.991% 6.288% / -16.254% 10.119%, curve by -20.945% -5.9995% with -7.6935% 0% / -14.8755% -2.199%, curve by -8.713% -7.404% with -3.255% -2.0385% / -6.1905% -4.537%, curve by -9.7575% -25.831% with -6.074% -6.9035% / -9.1205% -15.963%, close);
45
+ --circle: shape(evenodd from 13.482% 79.505%, curve by -7.1945% -12.47% with -1.4985% -1.8575% / -6.328% -10.225%, curve by 0.0985% -33.8965% with -4.1645% -10.7945% / -4.1685% -23.0235%, curve by 6.9955% -12.101% with 1.72% -4.3825% / 4.0845% -8.458%, curve by 30.125% -17.119% with 7.339% -9.1825% / 18.4775% -15.5135%, curve by 13.4165% 0.095% with 4.432% -0.6105% / 8.9505% -0.5855%, curve by 29.364% 16.9% with 11.6215% 1.77% / 22.102% 7.9015%, curve by 7.176% 12.4145% with 3.002% 3.7195% / 5.453% 7.968%, curve by -0.0475% 33.8925% with 4.168% 10.756% / 4.2305% 22.942%, curve by -7.1135% 12.2825% with -1.74% 4.4535% / -4.1455% 8.592%, curve by -29.404% 16.9075% with -7.202% 8.954% / -18.019% 15.137%, curve by -14.19% -0.018% with -4.6635% 0.7255% / -9.4575% 0.7205%, curve by -29.226% -16.8875% with -11.573% -1.8065% / -21.9955% -7.9235%, close);
46
+ }
47
+ `;
48
+
11
49
  export function ChatWidget({ position = 'bottom-right', onAddToCart }: ChatWidgetProps) {
12
50
  const { ui } = useConfig();
13
51
  const [isOpen, setIsOpen] = useState(false);
@@ -85,16 +123,17 @@ export function ChatWidget({ position = 'bottom-right', onAddToCart }: ChatWidge
85
123
 
86
124
  return (
87
125
  <>
126
+ <style dangerouslySetInnerHTML={{ __html: GEMINI_STYLES }} />
88
127
  {/* ── Chat Window (slides up) ── */}
89
128
  <div
90
129
  className={`fixed z-[9998] max-w-[calc(100vw-3rem)] ease-in-out ${windowPositionClass} ${isOpen
91
- ? 'opacity-100 translate-y-0 pointer-events-auto'
92
- : 'opacity-0 translate-y-4 pointer-events-none'
130
+ ? 'opacity-100 translate-y-0 pointer-events-auto'
131
+ : 'opacity-0 translate-y-4 pointer-events-none'
93
132
  } ${isResizing ? '' : 'transition-all duration-300'}`}
94
- style={{
95
- width: `${dimensions.width}px`,
96
- height: `${dimensions.height}px`,
97
- maxHeight: 'calc(100vh - 6rem)'
133
+ style={{
134
+ width: `${dimensions.width}px`,
135
+ height: `${dimensions.height}px`,
136
+ maxHeight: 'calc(100vh - 6rem)'
98
137
  }}
99
138
  >
100
139
  <ChatWindow
@@ -110,9 +149,8 @@ export function ChatWidget({ position = 'bottom-right', onAddToCart }: ChatWidge
110
149
  />
111
150
  {/* Pointer (Tail) */}
112
151
  <div
113
- className={`absolute -bottom-1.5 w-4 h-4 rotate-45 border-r border-b border-slate-200 dark:border-white/10 z-0 ${
114
- ui.visualStyle === 'solid' ? 'bg-white dark:bg-[#0f0f1a]' : 'bg-white/90 dark:bg-[#0f0f1a]/90 backdrop-blur-xl'
115
- } ${position === 'bottom-left' ? 'left-5' : 'right-5'}`}
152
+ className={`absolute -bottom-1.5 w-4 h-4 rotate-45 border-r border-b border-slate-200 dark:border-white/10 z-0 ${ui.visualStyle === 'solid' ? 'bg-white dark:bg-[#0f0f1a]' : 'bg-white/90 dark:bg-[#0f0f1a]/90 backdrop-blur-xl'
153
+ } ${position === 'bottom-left' ? 'left-5' : 'right-5'}`}
116
154
  />
117
155
  </div>
118
156
 
@@ -123,13 +161,11 @@ export function ChatWidget({ position = 'bottom-right', onAddToCart }: ChatWidge
123
161
  aria-label="Open chat"
124
162
  >
125
163
  {/* Animated Background */}
126
- <div
127
- className={`absolute inset-0 transition-all duration-300 overflow-hidden ${
128
- ui.borderRadius === 'full' ? 'rounded-full' : 'rounded-2xl'
129
- } group-hover:rounded-none group-hover:animate-shapeshift`}
164
+ <div
165
+ className="absolute inset-0 transition-all duration-300 overflow-hidden rounded-full group-hover:rounded-none group-hover:animate-[shapeshift_5s_ease-in-out_infinite_forwards]"
130
166
  >
131
- <div
132
- className="absolute top-0 left-0 w-[400%] h-[400%] transition-transform duration-300 group-hover:animate-gradientMove"
167
+ <div
168
+ className="absolute top-0 left-0 w-[400%] h-[400%] transition-transform duration-300 group-hover:animate-[gradientMove_3.5s_ease-in-out_infinite_alternate]"
133
169
  style={{
134
170
  background: `linear-gradient(135deg, ${ui.primaryColor}, ${ui.accentColor}, ${ui.primaryColor}, ${ui.accentColor})`
135
171
  }}
package/src/tailwind.css CHANGED
@@ -1,2 +1,194 @@
1
1
  @import "tailwindcss";
2
- @source "./**/*.{ts,tsx,js,jsx}";
2
+ @source "./**/*.{ts,tsx,js,jsx}";
3
+
4
+ @theme {
5
+ --animate-shapeshift: shapeshift 5s ease-in-out infinite forwards;
6
+ --animate-gradientMove: gradientMove 3.5s ease-in-out infinite alternate;
7
+
8
+ @keyframes shapeshift {
9
+ 0% {
10
+ clip-path: var(--circle);
11
+ rotate: 0turn;
12
+ }
13
+
14
+ 25% {
15
+ clip-path: var(--flower);
16
+ }
17
+
18
+ 50% {
19
+ clip-path: var(--cylinder);
20
+ }
21
+
22
+ 75% {
23
+ clip-path: var(--hexagon);
24
+ }
25
+
26
+ 100% {
27
+ clip-path: var(--circle);
28
+ rotate: 1turn;
29
+ }
30
+
31
+ 120% {
32
+ clip-path: var(--flower);
33
+ }
34
+
35
+ 140% {
36
+ clip-path: var(--cylinder);
37
+ }
38
+
39
+ 160% {
40
+ clip-path: var(--hexagon);
41
+ }
42
+
43
+ 180% {
44
+ clip-path: var(--circle);
45
+ rotate: 1turn;
46
+ }
47
+ }
48
+
49
+ @keyframes gradientMove {
50
+ 0% {
51
+ translate: 0 0;
52
+ }
53
+
54
+ 100% {
55
+ translate: -75% -75%;
56
+ }
57
+ }
58
+ }
59
+
60
+ @layer base {
61
+ :root {
62
+ --star: shape(evenodd from 50% 24.787%,
63
+ curve by 7.143% 18.016% with 0% 0% / 2.9725% 13.814%,
64
+ curve by 17.882% 7.197% with 4.171% 4.2025% / 17.882% 7.197%,
65
+ curve by -17.882% 8.6765% with 0% 0% / -13.711% 4.474%,
66
+ curve by -7.143% 16.5365% with -4.1705% 4.202% / -7.143% 16.5365%,
67
+ curve by -8.6115% -16.5365% with 0% 0% / -4.441% -12.3345%,
68
+ curve by -16.4135% -8.6765% with -4.171% -4.2025% / -16.4135% -8.6765%,
69
+ curve by 16.4135% -7.197% with 0% 0% / 12.2425% -2.9945%,
70
+ curve by 8.6115% -18.016% with 4.1705% -4.202% / 8.6115% -18.016%,
71
+ close);
72
+ --flower: shape(evenodd from 17.9665% 82.0335%,
73
+ curve by -12.349% -32.0335% with -13.239% -5.129% / -18.021% -15.402%,
74
+ curve by -0.0275% -22.203% with -3.1825% -9.331% / -3.074% -16.6605%,
75
+ curve by 12.3765% -9.8305% with 2.3835% -4.3365% / 6.565% -7.579%,
76
+ curve by 32.0335% -12.349% with 5.129% -13.239% / 15.402% -18.021%,
77
+ curve by 20.4535% -0.8665% with 8.3805% -2.858% / 15.1465% -3.062%,
78
+ curve by 11.58% 13.2155% with 5.225% 2.161% / 9.0355% 6.6475%,
79
+ curve by 12.349% 32.0335% with 13.239% 5.129% / 18.021% 15.402%,
80
+ curve by 0.5715% 21.1275% with 2.9805% 8.7395% / 3.0745% 15.723%,
81
+ curve by -12.9205% 10.906% with -2.26% 4.88% / -6.638% 8.472%,
82
+ curve by -32.0335% 12.349% with -5.129% 13.239% / -15.402% 18.021%,
83
+ curve by -21.1215% 0.5745% with -8.736% 2.9795% / -15.718% 3.0745%,
84
+ curve by -10.912% -12.9235% with -4.883% -2.2595% / -8.477% -6.6385%,
85
+ close);
86
+ --hexagon: shape(evenodd from 6.47% 67.001%,
87
+ curve by 0% -34.002% with -1.1735% -7.7% / -1.1735% -26.302%,
88
+ curve by 7.0415% -12.1965% with 0.7075% -4.641% / 3.3765% -9.2635%,
89
+ curve by 29.447% -17.001% with 6.0815% -4.8665% / 22.192% -14.1675%,
90
+ curve by 14.083% 0% with 4.3725% -1.708% / 9.7105% -1.708%,
91
+ curve by 29.447% 17.001% with 7.255% 2.8335% / 23.3655% 12.1345%,
92
+ curve by 7.0415% 12.1965% with 3.665% 2.933% / 6.334% 7.5555%,
93
+ curve by 0% 34.002% with 1.1735% 7.7% / 1.1735% 26.302%,
94
+ curve by -7.0415% 12.1965% with -0.7075% 4.641% / -3.3765% 9.2635%,
95
+ curve by -29.447% 17.001% with -6.0815% 4.8665% / -22.192% 14.1675%,
96
+ curve by -14.083% 0% with -4.3725% 1.708% / -9.7105% 1.708%,
97
+ curve by -29.447% -17.001% with -7.255% -2.8335% / -23.3655% -12.1345%,
98
+ curve by -7.0415% -12.1965% with -3.665% -2.933% / -6.334% -7.5555%,
99
+ close);
100
+ --cylinder: shape(evenodd from 10.5845% 59.7305%,
101
+ curve by 0% -19.461% with -0.113% -1.7525% / -0.11% -18.14%,
102
+ curve by 10.098% -26.213% with 0.837% -10.0375% / 3.821% -19.2625%,
103
+ curve by 29.3175% -13.0215% with 7.2175% -7.992% / 17.682% -13.0215%,
104
+ curve by 19.5845% 5.185% with 7.1265% 0% / 13.8135% 1.887%,
105
+ curve by 9.8595% 7.9775% with 3.7065% 2.1185% / 7.035% 4.8195%,
106
+ curve by 9.9715% 26.072% with 6.2015% 6.933% / 9.4345% 16.082%,
107
+ curve by 0% 19.461% with 0.074% 1.384% / 0.0745% 17.7715%,
108
+ curve by -13.0065% 29.1155% with -0.511% 11.5345% / -5.021% 21.933%,
109
+ curve by -26.409% 10.119% with -6.991% 6.288% / -16.254% 10.119%,
110
+ curve by -20.945% -5.9995% with -7.6935% 0% / -14.8755% -2.199%,
111
+ curve by -8.713% -7.404% with -3.255% -2.0385% / -6.1905% -4.537%,
112
+ curve by -9.7575% -25.831% with -6.074% -6.9035% / -9.1205% -15.963%,
113
+ close);
114
+ --circle: shape(evenodd from 13.482% 79.505%,
115
+ curve by -7.1945% -12.47% with -1.4985% -1.8575% / -6.328% -10.225%,
116
+ curve by 0.0985% -33.8965% with -4.1645% -10.7945% / -4.1685% -23.0235%,
117
+ curve by 6.9955% -12.101% with 1.72% -4.3825% / 4.0845% -8.458%,
118
+ curve by 30.125% -17.119% with 7.339% -9.1825% / 18.4775% -15.5135%,
119
+ curve by 13.4165% 0.095% with 4.432% -0.6105% / 8.9505% -0.5855%,
120
+ curve by 29.364% 16.9% with 11.6215% 1.77% / 22.102% 7.9015%,
121
+ curve by 7.176% 12.4145% with 3.002% 3.7195% / 5.453% 7.968%,
122
+ curve by -0.0475% 33.8925% with 4.168% 10.756% / 4.2305% 22.942%,
123
+ curve by -7.1135% 12.2825% with -1.74% 4.4535% / -4.1455% 8.592%,
124
+ curve by -29.404% 16.9075% with -7.202% 8.954% / -18.019% 15.137%,
125
+ curve by -14.19% -0.018% with -4.6635% 0.7255% / -9.4575% 0.7205%,
126
+ curve by -29.226% -16.8875% with -11.573% -1.8065% / -21.9955% -7.9235%,
127
+ close);
128
+ --heart: shape(evenodd from 51.311% 83.603%,
129
+ curve by -8.333% -20.508% with -14.104% -4.287% / -16.406% -16.185%,
130
+ curve by -4.271% -37.41% with -5.419% -9.658% / -6.815% -22.733%,
131
+ curve by 13.589% -33.586% with 3.982% -7.448% / 8.411% -15.994%,
132
+ curve by 28.187% -21.985% with 4.029% -4.29% / 4.029% -4.29%,
133
+ curve by 33.835% 0.721% with 9.618% 4.647% / 22.541% 9.618%,
134
+ curve by 37.596% 21.304% with 3.306% 13.266% / 7.589% 24.251%,
135
+ curve by 21.985% 43.613% with -4.208% 3.982% / -15.994% 8.411%,
136
+ curve by 0.721% 37.596% with -7.448% 4.029% / -15.994% 8.411%,
137
+ curve by -16.185% 28.187% with -9.658% 5.419% / -22.733% 6.815%,
138
+ curve by -37.41% 4.271% with -4.29% 4.029% / -4.29% 4.029%,
139
+ curve by -33.586% -13.589% with -7.448% 3.982% / -15.994% 8.411%,
140
+ curve by -28.187% -32.094% with -4.029% 4.029% / -4.029% 4.029%,
141
+ close);
142
+ --spiral: shape(evenodd from 13.347% 30.885%,
143
+ curve by 5.502% 18.447% with 11.052% 5.562% / 19.995% 9.169%,
144
+ curve by -20.309% 16.907% with -7.146% -1.332% / -9.016% -2.812%,
145
+ curve by -25.848% -13.087% with -7.017% -7.46% / -9.941% -15.041%,
146
+ curve by 10.154% -25.731% with 2.473% -6.063% / 7.163% -10.656%,
147
+ curve by 31.473% -7.963% with 8.814% 2.403% / 13.84% 8.748%,
148
+ curve by 16.526% 20.487% with -4.058% 1.502% / -9.51% 3.304%,
149
+ curve by 5.502% 18.447% with 11.052% 5.562% / 19.995% 9.169%,
150
+ close);
151
+ --star2: shape(open from 28.947% 47.744%,
152
+ curve by 24.042% -2.139% with 0% 0% / -24.042% 2.139%,
153
+ curve by 4.208% -25.165% with 4.208% -25.165% / 4.208% -25.165%,
154
+ curve by 2.341% -18.447% with 0% 0% / 1.888% -1.438%,
155
+ curve by 32.355% 1.085% with 0% 0% / 25.984% 1.085%,
156
+ curve by -4.655% 25.165% with 0% 0% / -4.655% 25.165%,
157
+ curve by -4.208% -25.165% with -4.208% -25.165% / -4.208% -25.165%,
158
+ curve by 2.566% -4.208% with 0% 0% / 2.072% -1.639%,
159
+ curve by 30.069% 1.085% with 0% 0% / 24.156% 1.085%,
160
+ curve by -2.791% 25.165% with 0% 0% / -2.791% 25.165%,
161
+ curve by -4.208% -25.165% with -4.208% -25.165% / -4.208% -25.165%,
162
+ curve by 2.116% -4.208% with 0% 0% / 1.659% -1.557%,
163
+ close);
164
+ --sun: shape(evenodd from 12.758% 22.039%,
165
+ curve by 2.2585% 27.561% with 4.517% 18.961% / 2.2585% 27.561%,
166
+ curve by 3.187% -11.541% with 2.2585% -8.483% / 4.7615% -12.541%,
167
+ curve by 31.034% 31.034% with 31.034% 31.034% / 31.034% 31.034%,
168
+ curve by 33.825% -14.163% with 8.961% -7.455% / 13.585% -11.059%,
169
+ curve by 19.814% -34.731% with 4.7615% -12.541% / 2.2585% -27.561%,
170
+ curve by 33.825% -14.163% with 2.2585% -8.483% / 4.517% -18.961%,
171
+ curve by 19.814% -34.731% with 0% 0% / -3.187% 11.541%,
172
+ curve by 33.825% -14.163% with 8.961% -7.455% / 13.585% -11.059%,
173
+ curve by 31.034% 31.034% with 31.034% 31.034% / 31.034% 31.034%,
174
+ curve by 19.814% -34.731% with 4.7615% -12.541% / 2.2585% -27.561%,
175
+ curve by 33.825% -14.163% with 2.2585% -8.483% / 4.517% -18.961%,
176
+ close);
177
+ --star2: shape(open from 28.947% 47.744%,
178
+ curve by 24.042% -2.139% with 0% 0% / -24.042% 2.139%,
179
+ curve by 4.208% -25.165% with 4.208% -25.165% / 4.208% -25.165%,
180
+ curve by 2.341% -18.447% with 0% 0% / 1.888% -1.438%,
181
+ curve by 32.355% 1.085% with 0% 0% / 25.984% 1.085%,
182
+ curve by -4.655% 25.165% with 0% 0% / -4.655% 25.165%,
183
+ curve by -4.208% -25.165% with -4.208% -25.165% / -4.208% -25.165%,
184
+ curve by 2.566% -4.208% with 0% 0% / 2.072% -1.639%,
185
+ curve by 30.069% 1.085% with 0% 0% / 24.156% 1.085%,
186
+ curve by -2.791% 25.165% with 0% 0% / -2.791% 25.165%,
187
+ curve by -4.208% -25.165% with -4.208% -25.165% / -4.208% -25.165%,
188
+ curve by 2.116% -4.208% with 0% 0% / 1.659% -1.557%,
189
+ close);
190
+ --tri-star: shape(open from 25% 25%,
191
+ curve by 25% 25% with 0% 0% / 25% 25%,
192
+ close);
193
+ }
194
+ }