react-zoom-pan-pinch 3.0.2 → 3.0.4

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.
Files changed (72) hide show
  1. package/.storybook/main.js +23 -0
  2. package/.storybook/preview-head.html +5 -0
  3. package/.storybook/preview.js +11 -0
  4. package/.storybook/theme-overrides.css +49 -0
  5. package/__tests__/features/props.spec.tsx +11 -0
  6. package/__tests__/features/rendering.spec.tsx +36 -0
  7. package/__tests__/shared/render.shared.tsx +41 -0
  8. package/__tests__/utils/controls.utils.tsx +25 -0
  9. package/__tests__/utils/example.tsx +81 -0
  10. package/dist/__tests__/features/props.spec.d.ts +1 -0
  11. package/dist/__tests__/features/rendering.spec.d.ts +1 -0
  12. package/dist/__tests__/shared/render.shared.d.ts +11 -0
  13. package/dist/__tests__/utils/controls.utils.d.ts +3 -0
  14. package/dist/__tests__/utils/example.d.ts +6 -0
  15. package/dist/src/stories/docs/handlers.d.ts +12 -0
  16. package/dist/src/stories/docs/props.d.ts +14 -0
  17. package/dist/src/stories/examples/content-rerendering/example.d.ts +2 -0
  18. package/dist/src/stories/examples/image-responsive/example.d.ts +2 -0
  19. package/dist/src/stories/examples/keep-scale/example.d.ts +2 -0
  20. package/dist/src/stories/examples/mini-map/example.d.ts +1 -0
  21. package/dist/src/stories/examples/stress/example.d.ts +2 -0
  22. package/dist/src/stories/examples/svg-zoom-to-element/example.d.ts +2 -0
  23. package/dist/src/stories/examples/zoom-to-element/example.d.ts +2 -0
  24. package/dist/src/stories/types/args.types.d.ts +268 -0
  25. package/dist/src/stories/utils/args.utils.d.ts +3 -0
  26. package/dist/src/stories/utils/code.utils.d.ts +6 -0
  27. package/dist/src/stories/utils/controls.utils.d.ts +3 -0
  28. package/dist/src/stories/utils/index.d.ts +3 -0
  29. package/jest.config.ts +45 -0
  30. package/package.json +1 -1
  31. package/src/stories/assets/big-image.jpeg +0 -0
  32. package/src/stories/assets/map.jpg +0 -0
  33. package/src/stories/assets/medium-image.jpg +0 -0
  34. package/src/stories/assets/pin.svg +1 -0
  35. package/src/stories/assets/small-image.jpg +0 -0
  36. package/src/stories/assets/svg-example.svg +14 -0
  37. package/src/stories/docs/Introduction.stories.mdx +174 -0
  38. package/src/stories/docs/handlers.stories.mdx +48 -0
  39. package/src/stories/docs/handlers.tsx +107 -0
  40. package/src/stories/docs/props.stories.mdx +92 -0
  41. package/src/stories/docs/props.tsx +496 -0
  42. package/src/stories/examples/content/content.stories.mdx +121 -0
  43. package/src/stories/examples/content-rerendering/content-updating.stories.mdx +45 -0
  44. package/src/stories/examples/content-rerendering/example.tsx +73 -0
  45. package/src/stories/examples/controls/controls.stories.mdx +71 -0
  46. package/src/stories/examples/image-big/image-big.stories.mdx +43 -0
  47. package/src/stories/examples/image-medium/image-medium.stories.mdx +41 -0
  48. package/src/stories/examples/image-responsive/example.tsx +103 -0
  49. package/src/stories/examples/image-responsive/image-responsive.stories.mdx +32 -0
  50. package/src/stories/examples/image-small/image-small.stories.mdx +41 -0
  51. package/src/stories/examples/image-zoomed-out/image-zoomed-out.stories.mdx +46 -0
  52. package/src/stories/examples/keep-scale/example.tsx +92 -0
  53. package/src/stories/examples/keep-scale/keep-scale.stories.mdx +45 -0
  54. package/src/stories/examples/mini-map/example.tsx +54 -0
  55. package/src/stories/examples/mini-map/mini-map.stories.mdx +33 -0
  56. package/src/stories/examples/stress/example.tsx +23 -0
  57. package/src/stories/examples/stress/stress-test.stories.mdx +28 -0
  58. package/src/stories/examples/svg-zoom-to-element/creativity.svg +143 -0
  59. package/src/stories/examples/svg-zoom-to-element/example.tsx +57 -0
  60. package/src/stories/examples/svg-zoom-to-element/svg-zoom-to-element.stories.mdx +28 -0
  61. package/src/stories/examples/zoom-to-element/example.tsx +94 -0
  62. package/src/stories/examples/zoom-to-element/zoom-to-element.stories.mdx +28 -0
  63. package/src/stories/hooks/use-controls.stories.mdx +24 -0
  64. package/src/stories/hooks/use-transform-context.stories.mdx +15 -0
  65. package/src/stories/hooks/use-transform-effect.stories.mdx +29 -0
  66. package/src/stories/hooks/use-transform-init.stories.mdx +25 -0
  67. package/src/stories/types/args.types.ts +201 -0
  68. package/src/stories/utils/args.utils.ts +34 -0
  69. package/src/stories/utils/code.utils.tsx +24 -0
  70. package/src/stories/utils/controls.utils.tsx +43 -0
  71. package/src/stories/utils/index.ts +3 -0
  72. package/src/stories/utils/styles.module.css +34 -0
@@ -0,0 +1,23 @@
1
+ import React, { useRef } from "react";
2
+
3
+ import { TransformComponent, TransformWrapper } from "components";
4
+ import { normalizeArgs } from "../../utils";
5
+ import exampleImg from "../../assets/small-image.jpg";
6
+
7
+ import styles from "../../utils/styles.module.css";
8
+
9
+ export const Example: React.FC<any> = (args: any) => {
10
+ const ref = useRef<any>(null);
11
+
12
+ return (
13
+ <TransformWrapper {...normalizeArgs(args)} ref={ref}>
14
+ <TransformComponent>
15
+ <div className={styles.grid}>
16
+ {Array.from(Array(1000).keys()).map((key) => (
17
+ <img key={key} src={exampleImg} alt="" />
18
+ ))}
19
+ </div>
20
+ </TransformComponent>
21
+ </TransformWrapper>
22
+ );
23
+ };
@@ -0,0 +1,28 @@
1
+ import { Meta, Story, ArgsTable, Canvas } from "@storybook/addon-docs/blocks";
2
+ import { action } from "@storybook/addon-actions";
3
+
4
+ import { TransformWrapper, TransformComponent } from "../../../components";
5
+ import { argsTypes } from "../../types/args.types";
6
+ import { Example } from "./example";
7
+
8
+ export const Template = (args) => <Example {...args} />;
9
+
10
+ <Meta
11
+ title="Examples/Stress test"
12
+ component={TransformWrapper}
13
+ argTypes={argsTypes}
14
+ />
15
+
16
+ # Stress test
17
+
18
+ <br />
19
+
20
+ ### Preview:
21
+
22
+ <Canvas>
23
+ <Story name="Stress test">{(args) => <Template {...args} />}</Story>
24
+ </Canvas>
25
+
26
+ ## Component API
27
+
28
+ <ArgsTable story="Stress test" />
@@ -0,0 +1,143 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!-- Generator: Adobe Illustrator 25.2.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
3
+ <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" id="Capa_1" x="0px"
4
+ y="0px" viewBox="0 0 512 512" style="enable-background:new 0 0 512 512;" xml:space="preserve" width="512"
5
+ height="512">
6
+ <g>
7
+ <path style="fill:#241726;"
8
+ d="M384.915,78.834c-0.682,0-2.695-0.076-8.179-9.408c-0.665,0.009-1.319,0.014-1.962,0.014 c-11.503,0-12.171-1.159-12.53-1.78c-0.261-0.453-0.259-0.999,0.007-1.457c0.051-0.09,0.113-0.172,0.186-0.246 c0.039-0.04,3.794-3.834,8.394-8.164c-3.505-8.23-2.481-9.798-2.089-10.397c0.386-0.593,1-0.916,1.729-0.916 c0.06,0,0.336,0.021,0.397,0.031c1.727,0.262,4.647,1.428,8.684,3.468c5.935-4.958,7.948-5.609,9.036-5.609 c0.776,0,1.408,0.368,1.736,1.01c0.902,1.766,0.774,6.75,0.473,10.898c2.367,1.44,8.661,5.35,9.847,6.877 c0.493,0.637,0.607,1.388,0.314,2.063c-0.325,0.746-1.072,2.465-11.706,3.534c-0.933,5.215-1.95,8.421-3.027,9.533 C385.88,78.643,385.43,78.839,384.915,78.834z M379.517,69.365c2.792,4.587,4.496,6.388,5.212,6.901 c0.512-0.897,1.258-3.18,2.026-7.288C384.46,69.159,382.008,69.289,379.517,69.365z M365.297,66.515 c1.628,0.271,4.988,0.578,10.068,0.505c-1.256-2.271-2.454-4.632-3.494-6.884C369.071,62.787,366.649,65.172,365.297,66.515z M373.731,58.389c1.256,2.788,2.787,5.789,4.384,8.596c3.134-0.071,6.235-0.229,9.063-0.467c0.458-2.857,0.838-5.973,1.092-8.938 c-2.873-1.714-5.803-3.359-8.389-4.712C378.052,54.437,375.988,56.29,373.731,58.389z M390.571,58.975 c-0.233,2.443-0.544,4.948-0.908,7.307c6.197-0.666,8.222-1.502,8.846-1.877C397.611,63.559,394.784,61.569,390.571,58.975z M370.732,48.941c-0.051,0.585,0.058,2.406,1.984,7.094c1.736-1.608,3.355-3.062,4.837-4.351 C374.469,50.166,372.093,49.21,370.732,48.941z M381.882,51.191c2.079,1.105,4.336,2.373,6.586,3.695 c0.281-4.672,0.072-7.09-0.171-8.041C387.666,47.034,385.975,47.841,381.882,51.191z" />
9
+ <path style="fill:#241726;"
10
+ d="M105.975,95.849c-0.682,0-2.696-0.076-8.18-9.408c-0.663,0.009-1.319,0.014-1.961,0.014 c-11.504,0-12.171-1.159-12.53-1.78c-0.262-0.453-0.26-0.999,0.006-1.457c0.051-0.09,0.113-0.172,0.187-0.246 c0.039-0.04,3.794-3.834,8.394-8.164c-3.506-8.23-2.482-9.795-2.089-10.395c0.386-0.593,1-0.916,1.728-0.916 c0.061,0,0.339,0.021,0.398,0.031c1.727,0.26,4.646,1.426,8.684,3.466c5.936-4.958,7.949-5.609,9.037-5.609 c0.776,0,1.408,0.368,1.736,1.01c0.902,1.768,0.774,6.75,0.473,10.898c2.367,1.44,8.661,5.35,9.846,6.877 c0.493,0.637,0.607,1.388,0.314,2.063c-0.325,0.746-1.071,2.465-11.705,3.534c-0.933,5.217-1.95,8.421-3.028,9.533 C106.941,95.658,106.473,95.875,105.975,95.849z M100.575,86.379c2.792,4.589,4.497,6.388,5.213,6.901 c0.512-0.897,1.257-3.18,2.026-7.288C105.519,86.174,103.067,86.304,100.575,86.379z M86.357,83.53 c1.627,0.271,4.981,0.508,10.067,0.505c-1.257-2.273-2.455-4.634-3.494-6.884C90.13,79.8,87.708,82.187,86.357,83.53z M94.79,75.406c1.256,2.783,2.787,5.786,4.384,8.593c3.134-0.071,6.235-0.229,9.064-0.467c0.457-2.854,0.838-5.971,1.092-8.938 c-2.873-1.714-5.803-3.359-8.39-4.71C99.11,71.454,97.047,73.305,94.79,75.406z M111.631,75.989 c-0.233,2.443-0.544,4.951-0.908,7.307c6.197-0.666,8.22-1.502,8.845-1.877C118.671,80.574,115.844,78.584,111.631,75.989z M91.789,65.958c-0.051,0.585,0.058,2.406,1.984,7.092c1.736-1.605,3.355-3.062,4.839-4.351 C95.528,67.181,93.151,66.225,91.789,65.958z M102.941,68.206c2.079,1.105,4.336,2.373,6.587,3.695 c0.281-4.672,0.072-7.09-0.171-8.041C108.725,64.048,107.035,64.856,102.941,68.206z" />
11
+ <g>
12
+ <path style="fill:#FFFFFF;"
13
+ d="M33.567,266.794c0,0-2.708-19.113,15.773-13.1c18.481,6.012,12.65,23.593,5.569,17.665 c-7.081-5.927,5.897-26.392,20.081-17.474c14.184,8.918,11.203,26.519,1.217,27.914s5.853-20.518,18.58-7.205 s-14.535,38.077-25.869,29.18s-2.675-23.518,0.109-14.686c2.784,8.833-4.406,17.591-24.356,17.442s-11.17-30.925-4.111-22.061 s-4.417,19.06-18.591,8.673C7.796,282.757,23.636,260.845,33.567,266.794z" />
14
+ <path style="fill:#241726;"
15
+ d="M45.171,307.742l-0.509-0.002c-6.524-0.05-11.142-3.352-12.799-9.103 c-3.447-0.394-7.094-1.943-10.607-4.519c-5.559-4.072-7.467-10.317-5.238-17.135c2.276-6.955,8.382-12.404,13.901-12.404 c0.793,0,1.564,0.106,2.303,0.319c-0.06-2.646,0.283-7.26,2.999-10.385c2.971-3.423,7.895-4.113,14.493-1.969 c2.579,0.84,4.841,1.943,6.737,3.286c3.165-3.428,7.236-5.371,11.324-5.371c2.678,0,5.321,0.807,7.858,2.403 c6.132,3.855,9.883,9.845,10.225,16.214c3.583,0.05,6.88,1.624,9.802,4.682c3.966,4.15,4.724,9.772,2.134,15.832 c-3.933,9.203-14.702,17.277-23.044,17.277c-2.554,0-4.768-0.72-6.578-2.141c-0.901-0.708-1.714-1.476-2.43-2.29 C61.274,305.91,54.204,307.742,45.171,307.742z M34.423,298.709c1.159,3.263,3.904,6.565,10.258,6.613l0.49,0.002 c10.487,0,16.129-2.484,19.117-4.823c-2.888-4.528-2.716-9.509-1.165-12.6c0.879-1.752,2.16-2.757,3.516-2.757 c0.901,0,2.559,0.465,3.541,3.581c1.393,4.42,0.424,8.761-2.654,12.078c0.626,0.718,1.341,1.395,2.137,2.019 c1.375,1.079,3.087,1.627,5.086,1.627c7.361,0,17.285-7.536,20.821-15.811c1.546-3.617,2.513-8.846-1.659-13.209 c-2.458-2.571-5.179-3.895-8.091-3.936c-0.518,6.124-4.286,10.782-9.447,11.502c-3.316,0.47-4.45-1.268-4.522-2.873 c-0.162-3.584,4.987-9.668,11.594-10.846c-0.277-5.612-3.62-10.924-9.101-14.37c-5.402-3.395-11.553-2.297-16.01,2.446 c4.432,4.103,5.289,9.2,4.09,12.609c-0.826,2.349-2.612,3.81-4.663,3.81h-0.001c-1.231,0-2.452-0.5-3.629-1.485 c-3.892-3.258-2.678-9.731,0.787-14.581c-1.67-1.159-3.669-2.12-5.955-2.864c-5.593-1.818-9.593-1.421-11.915,1.249 c-3.2,3.676-2.297,10.466-2.288,10.534c0.064,0.46-0.142,0.918-0.53,1.176c-0.388,0.253-0.888,0.269-1.288,0.028 c-0.925-0.552-1.943-0.833-3.027-0.833c-4.461,0-9.665,4.816-11.602,10.739c-0.891,2.722-2.25,9.583,4.368,14.432 c2.904,2.127,5.87,3.478,8.67,3.954c-0.548-4.469,0.565-9.543,2.824-12.373c1.092-1.367,2.37-2.092,3.697-2.092 c0.909,0,2.276,0.356,3.631,2.059c2.502,3.142,3.092,6.702,1.614,9.767C41.66,296.509,38.374,298.464,34.423,298.709z M66.639,287.561c-0.259,0-0.832,0.38-1.356,1.424c-1.153,2.299-1.309,6.2,0.797,9.812c2.24-2.632,2.88-5.9,1.794-9.344 C67.403,287.958,66.86,287.561,66.639,287.561z M37.875,284.074c-0.557,0-1.198,0.42-1.807,1.183 c-1.713,2.146-2.938,6.74-2.248,11.056c3.279-0.066,5.994-1.542,7.121-3.879c1.059-2.196,0.575-4.823-1.327-7.212 C39.198,284.698,38.558,284.074,37.875,284.074z M83.366,271.755c-5.411,1.213-9.188,6.254-9.098,8.258 c0.012,0.271,0.028,0.64,1.081,0.64c0.211,0,0.441-0.017,0.692-0.052C79.927,280.059,82.804,276.506,83.366,271.755z M56.803,259.226c-3.038,4.283-3.584,9.141-1.118,11.205c1.863,1.558,3.672,0.97,4.461-1.27 C61.068,266.538,60.339,262.565,56.803,259.226z" />
16
+ </g>
17
+ <g>
18
+ <path style="fill:#FFFFFF;"
19
+ d="M396.193,440.854c0,0-2.708-19.113,15.773-13.1c18.481,6.012,12.65,23.593,5.569,17.665 s5.897-26.392,20.081-17.474c14.184,8.918,11.203,26.519,1.217,27.914c-9.986,1.394,5.853-20.518,18.58-7.205 s-14.535,38.077-25.869,29.18s-2.675-23.518,0.109-14.686c2.784,8.833-4.406,17.591-24.356,17.442 c-19.95-0.149-11.17-30.925-4.111-22.061s-4.417,19.06-18.591,8.673S386.262,434.906,396.193,440.854z" />
20
+ <path style="fill:#241726;"
21
+ d="M407.797,481.802l-0.509-0.002c-6.524-0.05-11.142-3.352-12.799-9.103 c-3.447-0.394-7.094-1.943-10.607-4.519c-5.559-4.072-7.467-10.317-5.238-17.135c2.276-6.955,8.382-12.404,13.901-12.404 c0.793,0,1.564,0.106,2.303,0.319c-0.06-2.647,0.283-7.26,2.999-10.385c2.97-3.421,7.893-4.113,14.493-1.969 c2.579,0.84,4.841,1.943,6.737,3.286c3.165-3.428,7.236-5.371,11.324-5.371c2.678,0,5.321,0.807,7.858,2.403 c6.132,3.855,9.883,9.845,10.225,16.214c3.583,0.05,6.88,1.624,9.802,4.682c3.966,4.15,4.724,9.772,2.134,15.832 c-3.933,9.203-14.702,17.277-23.044,17.277c-2.554,0-4.768-0.72-6.578-2.141c-0.901-0.708-1.714-1.476-2.43-2.29 C423.9,479.97,416.83,481.802,407.797,481.802z M397.049,472.77c1.159,3.263,3.904,6.566,10.258,6.613l0.49,0.002 c10.487,0,16.129-2.484,19.117-4.823c-2.888-4.528-2.716-9.509-1.165-12.6c0.879-1.752,2.16-2.757,3.516-2.757 c0.901,0,2.559,0.465,3.541,3.581c1.393,4.419,0.424,8.761-2.654,12.078c0.626,0.718,1.341,1.395,2.137,2.019 c1.375,1.079,3.087,1.627,5.086,1.627c7.361,0,17.285-7.536,20.822-15.811c1.546-3.617,2.513-8.846-1.659-13.209 c-2.458-2.571-5.178-3.895-8.091-3.936c-0.518,6.124-4.286,10.782-9.447,11.502c-3.323,0.467-4.451-1.268-4.522-2.873 c-0.162-3.584,4.987-9.668,11.594-10.846c-0.277-5.612-3.62-10.924-9.101-14.37c-5.402-3.395-11.55-2.297-16.01,2.446 c4.432,4.103,5.289,9.2,4.09,12.609c-0.826,2.349-2.612,3.81-4.663,3.81h-0.001c-1.231,0-2.452-0.501-3.629-1.485 c-3.892-3.258-2.678-9.731,0.787-14.581c-1.67-1.159-3.669-2.12-5.955-2.864c-5.593-1.82-9.592-1.421-11.915,1.249 c-3.2,3.676-2.297,10.466-2.288,10.534c0.064,0.46-0.142,0.918-0.53,1.176c-0.387,0.255-0.887,0.271-1.288,0.028 c-0.925-0.552-1.943-0.833-3.027-0.833c-4.461,0-9.665,4.816-11.602,10.74c-0.891,2.722-2.25,9.583,4.368,14.432 c2.904,2.127,5.87,3.478,8.67,3.954c-0.548-4.469,0.565-9.543,2.824-12.373c1.092-1.367,2.37-2.092,3.697-2.092 c0.909,0,2.276,0.356,3.631,2.059c2.503,3.142,3.092,6.702,1.614,9.767C404.287,470.569,401,472.524,397.049,472.77z M429.265,461.622c-0.259,0-0.832,0.38-1.356,1.424c-1.153,2.299-1.309,6.2,0.797,9.812c2.24-2.632,2.88-5.9,1.794-9.344 C430.029,462.018,429.486,461.622,429.265,461.622z M400.501,458.135c-0.557,0-1.198,0.42-1.807,1.183 c-1.713,2.146-2.938,6.74-2.248,11.056c3.279-0.066,5.994-1.542,7.121-3.879c1.059-2.196,0.575-4.823-1.327-7.212 C401.824,458.758,401.184,458.135,400.501,458.135z M445.992,445.816c-5.411,1.213-9.188,6.254-9.098,8.258 c0.012,0.272,0.028,0.64,1.081,0.64c0.211,0,0.441-0.017,0.692-0.052C442.553,454.119,445.43,450.566,445.992,445.816z M419.429,433.287c-3.038,4.283-3.584,9.141-1.118,11.205c1.863,1.561,3.672,0.97,4.461-1.27 C423.694,440.599,422.966,436.625,419.429,433.287z" />
22
+ </g>
23
+ <g>
24
+ <g>
25
+ <path style="fill:#A8D5CB;"
26
+ d="M342.863,135.597l-2.09,11.47c57.003,14.991,60.492,54.938,59.602,70.342 c5.558-0.691,11.631-1.464,17.371-2.229C417.169,199.772,410.412,143.361,342.863,135.597z" />
27
+ <path style="fill:#648F9F;"
28
+ d="M340.773,147.067l-1.642,9.012c0,0,41.044,1.218,41.136,63.763c0,0,9.01-1.053,20.108-2.434 C401.265,202.005,397.776,162.058,340.773,147.067z" />
29
+ <path style="fill:#F7D76F;"
30
+ d="M345.597,120.588l-2.734,15.009c67.55,7.764,74.306,64.175,74.883,79.583 c5.866-0.782,11.356-1.552,15.578-2.218C432.59,204.777,423.347,123.761,345.597,120.588z" />
31
+ <path style="fill:#EC7E96;"
32
+ d="M347.192,111.83l-1.596,8.759c77.751,3.173,86.993,84.189,87.727,92.373 c3.487-0.55,6.118-1.029,7.33-1.38C447.636,209.562,434.382,106.451,347.192,111.83z" />
33
+ </g>
34
+ <path style="fill:#241726;"
35
+ d="M433.323,214.17c-0.62,0-1.147-0.475-1.203-1.103c-0.076-0.862-8.49-86.176-86.602-91.273 c-0.666-0.042-1.171-0.619-1.127-1.284c0.044-0.666,0.596-1.195,1.285-1.128c80.198,5.234,88.775,92.592,88.852,93.473 c0.058,0.666-0.433,1.251-1.098,1.31C433.393,214.167,433.358,214.17,433.323,214.17z" />
36
+ <path style="fill:#241726;"
37
+ d="M417.745,216.389c-0.637,0-1.171-0.498-1.205-1.143c-0.04-0.72-4.728-72.072-73.788-78.446 c-0.665-0.061-1.154-0.649-1.093-1.315c0.063-0.663,0.649-1.124,1.315-1.093c71.163,6.57,75.94,79.983,75.98,80.722 c0.035,0.668-0.476,1.237-1.143,1.272C417.789,216.389,417.767,216.389,417.745,216.389z" />
38
+ <path style="fill:#241726;"
39
+ d="M400.375,218.618c-0.008,0-0.018,0-0.026,0c-0.667-0.014-1.197-0.569-1.183-1.235 c0.013-0.576,0.542-57.732-58.622-69.128c-0.655-0.127-1.084-0.76-0.958-1.417c0.127-0.656,0.754-1.074,1.417-0.958 c61.198,11.788,60.595,70.96,60.582,71.555C401.568,218.093,401.03,218.618,400.375,218.618z" />
40
+ </g>
41
+ <g>
42
+ <path style="fill:#EC7E96;"
43
+ d="M167.833,120.501l-2.107-9.766c-94.541-2.77-105.276,109.276-97.65,111.217 c1.446,0.368,4.709,0.842,9.039,1.368C77.411,200.97,84.417,122.569,167.833,120.501z" />
44
+ <path style="fill:#F7D76F;"
45
+ d="M170.358,132.201l-2.525-11.701c-83.416,2.068-90.422,80.469-90.719,102.819 c4.987,0.606,11.393,1.282,18.097,1.946C95.653,205.984,102.278,141.702,170.358,132.201z" />
46
+ <path style="fill:#648F9F;"
47
+ d="M120.772,227.652c7.616,0.677,12.941,1.126,12.941,1.126c-2.089-67.686,42.285-70.44,42.285-70.44 l-2.434-11.28C122.155,159.651,120.154,211.788,120.772,227.652z" />
48
+ <path style="fill:#A8D5CB;"
49
+ d="M173.563,147.058l-3.206-14.857c-68.08,9.501-74.705,73.783-75.147,93.064 c8.886,0.88,18.272,1.738,25.561,2.386C120.154,211.788,122.155,159.651,173.563,147.058z" />
50
+ <path style="fill:#241726;"
51
+ d="M120.771,228.861c-0.629,0-1.159-0.486-1.204-1.124c-4.789-67.549,53.138-81.723,53.725-81.858 c0.65-0.146,1.298,0.257,1.448,0.907c0.151,0.649-0.254,1.298-0.904,1.45c-0.565,0.13-56.497,13.882-51.858,79.332 c0.047,0.666-0.453,1.244-1.12,1.291C120.829,228.861,120.8,228.861,120.771,228.861z" />
52
+ <path style="fill:#241726;"
53
+ d="M95.213,226.474c-0.014,0-0.027,0-0.04,0c-0.668-0.021-1.191-0.581-1.169-1.249 c1.447-44.45,22.082-67.709,39.137-79.393c18.477-12.656,36.332-14.751,37.084-14.833c0.676-0.061,1.26,0.406,1.334,1.069 c0.073,0.663-0.405,1.261-1.068,1.334c-0.713,0.08-71.367,8.903-74.072,91.903C96.398,225.96,95.862,226.474,95.213,226.474z" />
54
+ <path style="fill:#241726;"
55
+ d="M77.116,224.529c-0.02,0-0.04,0-0.06-0.002c-0.667-0.031-1.18-0.6-1.149-1.265 c1.785-36.577,12.873-64.25,32.955-82.25c26.137-23.422,58.72-21.736,59.045-21.717c0.666,0.04,1.173,0.614,1.133,1.28 c-0.04,0.666-0.604,1.188-1.28,1.133c-0.314-0.026-31.947-1.627-57.313,21.132c-19.567,17.551-30.375,44.651-32.125,80.54 C78.29,224.026,77.755,224.529,77.116,224.529z" />
56
+ </g>
57
+ <path style="fill:#241726;"
58
+ d="M337.445,471.519c-0.892,0-1.815,0-4.428-10.23c-8.732-1.638-9.481-2.637-9.733-2.972 c-0.225-0.3-0.327-0.866-0.227-1.228c0.151-0.543,0.502-1.801,10.417-5.845c3.519-9.302,4.732-9.302,5.462-9.302 c0.381,0,0.921,0.281,1.149,0.585c0.629,0.836,1.215,3.053,2.105,6.603c0.287,1.145,0.635,2.533,0.827,3.107 c0.508,0.229,1.7,0.652,2.685,0.999c4.994,1.768,6.38,2.41,6.612,3.565c0.084,0.418-0.133,1.046-0.449,1.332 c-1.027,0.928-5.995,2.79-8.562,3.716c-4.157,9.576-5.058,9.628-5.784,9.668C337.498,471.519,337.467,471.519,337.445,471.519z M326.276,457.264c1.701,0.51,5.036,1.258,7.94,1.787c0.467,0.085,0.84,0.434,0.956,0.895c0.752,2.994,1.74,6.405,2.42,8.225 c0.956-1.697,2.477-4.92,3.702-7.762c0.132-0.307,0.387-0.548,0.704-0.659c2.481-0.885,5.289-1.976,6.928-2.717 c-1.185-0.51-2.924-1.126-4.028-1.516c-2.851-1.008-3.441-1.247-3.797-1.721c-0.315-0.42-0.532-1.197-1.255-4.077 c-0.297-1.19-0.766-3.057-1.165-4.358c-0.87,1.624-2.145,4.599-3.127,7.227c-0.118,0.319-0.365,0.571-0.679,0.699 C331.672,454.579,328.036,456.234,326.276,457.264z" />
59
+ <path style="fill:#241726;"
60
+ d="M69.085,350.535c-0.892,0-1.815,0-4.428-10.23c-8.728-1.636-9.48-2.635-9.731-2.968 c-0.227-0.3-0.328-0.869-0.227-1.232c0.151-0.543,0.502-1.804,10.416-5.843c3.519-9.304,4.732-9.304,5.463-9.304 c0.379,0,0.918,0.281,1.146,0.583c0.63,0.838,1.216,3.055,2.106,6.606c0.287,1.145,0.635,2.533,0.827,3.107 c0.508,0.229,1.7,0.652,2.685,0.999c4.996,1.768,6.38,2.41,6.612,3.565c0.084,0.418-0.133,1.046-0.449,1.332 c-1.026,0.928-5.994,2.793-8.562,3.718c-4.157,9.573-5.058,9.625-5.784,9.665C69.138,350.535,69.109,350.535,69.085,350.535z M57.916,336.282c1.7,0.508,5.036,1.256,7.94,1.785c0.467,0.085,0.84,0.434,0.956,0.895c0.752,2.994,1.74,6.407,2.42,8.225 c0.956-1.697,2.477-4.918,3.702-7.76c0.132-0.307,0.387-0.545,0.704-0.659c2.481-0.885,5.291-1.978,6.929-2.72 c-1.186-0.51-2.925-1.126-4.029-1.516c-2.851-1.008-3.441-1.247-3.797-1.721c-0.315-0.42-0.532-1.197-1.255-4.077 c-0.297-1.19-0.765-3.057-1.164-4.356c-0.871,1.624-2.145,4.599-3.128,7.227c-0.118,0.319-0.365,0.571-0.679,0.699 C63.312,333.598,59.676,335.253,57.916,336.282z" />
61
+ <path style="fill:#241726;"
62
+ d="M50.518,381.669c-4.997,0-9.061-4.065-9.061-9.061c0-4.996,4.064-9.061,9.061-9.061 s9.061,4.065,9.061,9.061C59.579,377.604,55.515,381.669,50.518,381.669z M50.518,365.965c-3.663,0-6.643,2.979-6.643,6.643 s2.981,6.643,6.643,6.643s6.643-2.979,6.643-6.643S54.181,365.965,50.518,365.965z" />
63
+ <path style="fill:#241726;"
64
+ d="M419.385,106.279c-4.997,0-9.061-4.065-9.061-9.061s4.064-9.061,9.061-9.061 s9.061,4.065,9.061,9.061S424.382,106.279,419.385,106.279z M419.385,90.575c-3.663,0-6.643,2.979-6.643,6.643 c0,3.664,2.981,6.643,6.643,6.643c3.663,0,6.643-2.979,6.643-6.643C426.029,93.554,423.048,90.575,419.385,90.575z" />
65
+ <path style="fill:#241726;"
66
+ d="M462.9,422.167c-4.997,0-9.061-4.065-9.061-9.061s4.064-9.061,9.061-9.061 c4.997,0,9.061,4.065,9.061,9.061S467.897,422.167,462.9,422.167z M462.9,406.463c-3.663,0-6.643,2.979-6.643,6.643 s2.981,6.643,6.643,6.643c3.663,0,6.643-2.979,6.643-6.643S466.563,406.463,462.9,406.463z" />
67
+ <g>
68
+ <path id="element3" style="fill:#241726;"
69
+ d="M447.766,281.159c-5.462,0-6.162-0.432-6.607-1.088c-0.531-0.791-1.943-2.883,13.03-17.312 c0.321-0.307,0.784-0.42,1.209-0.279c11.037,3.544,26.669,8.39,34.819,10.562c-7.821-4.509-24.011-13.001-34.97-18.613 c-0.3-0.153-0.522-0.427-0.613-0.751c-0.544-1.95-3.145-11.823-0.877-14.885c0.176-0.236,0.584-0.635,1.335-0.635 c5.096,0,37.486,30.502,41.405,36.173c0.123,0.113,0.224,0.25,0.294,0.411c0.039,0.087,0.066,0.179,0.083,0.279 c0.004,0.017,0.007,0.033,0.009,0.05v0.002c0.011,0.083,0.013,0.163,0.007,0.243c0,0.007-0.001,0.014-0.001,0.021 c0,0.009-0.001,0.019-0.001,0.026c-0.004,0.113-0.022,0.227-0.059,0.338l-0.001,0.002c-0.012,0.038-0.028,0.073-0.05,0.109 c-0.058,0.139-0.139,0.264-0.241,0.366c-0.002,0.002-0.005,0.005-0.007,0.009c-0.302,0.3-0.675,0.38-0.925,0.401 C488.005,279.662,448.199,281.159,447.766,281.159z M443.427,278.555c0.62,0.087,1.869,0.187,4.339,0.187 c10.654,0,32.577-1.785,42.356-3.239c-9.937-2.585-29.996-8.971-34.773-10.501C450.017,270.186,444.41,276.362,443.427,278.555z M456.824,252.519c11.699,5.997,24.834,12.857,32.754,17.409c-9.526-9.587-29.775-27.714-34.097-29.253 C454.838,242.594,455.605,247.972,456.824,252.519z" />
70
+ <path style="fill:#241726;"
71
+ d="M450.349,269.626c-0.055,0-0.112-0.005-0.169-0.012c-2.312-0.323-7.836-1.27-9.17-3.064 c-0.411-0.55-0.433-1.081-0.38-1.428c0.299-1.967,7.865-7.855,14.16-12.446c0.539-0.39,1.296-0.274,1.688,0.264 c0.394,0.541,0.275,1.296-0.264,1.69c-5.529,4.032-11.765,9.023-13.031,10.673c0.964,0.623,4.15,1.471,7.332,1.917 c0.661,0.092,1.123,0.704,1.029,1.365C451.46,269.189,450.943,269.626,450.349,269.626z" />
72
+ </g>
73
+ <path style="fill:#F7D76F;"
74
+ d="M251.19,125.006c0,0-17.064,32.409-14.066,33.408c2.997,0.999,17.935,3.23,17.935,3.23 s-5.107,22.145-2.11,23.144s17.064-33.288,14.066-34.287c-2.997-0.999-15.825-2.198-15.825-3.956 C251.19,141.165,256.186,119.012,251.19,125.006z" />
75
+ <path style="fill:#F7D76F;"
76
+ d="M286.081,121.593c0,0,2.405,36.547,5.482,35.831c3.077-0.716,16.976-6.627,16.976-6.627 s7.229,21.547,10.306,20.831s-2.865-37.297-5.942-36.581c-3.077,0.716-14.638,6.403-15.557,4.904 C294.532,135.366,287.204,113.871,286.081,121.593z" />
77
+ <path style="fill:#F7D76F;"
78
+ d="M216.345,117.322c0,0-32.254,17.355-30.325,19.857s13.074,12.695,13.074,12.695 s-16.604,15.518-14.676,18.021s32.745-18.084,30.816-20.587s-11.9-10.661-10.918-12.119 C207.321,130.727,223.837,115.139,216.345,117.322z" />
79
+ <g>
80
+ <path id="element1" style="fill:#FFFFFF;"
81
+ d="M187.381,40.394c0,0-2.909-20.565,21.106-20.016c25.81,0.59,13.392,22.965,9.264,14.53 s-3.401-35.849,32.77-33.566s26.051,45.058,17.637,39.49s7.694-33.285,30.734-19.193s16.286,45.84,6.062,42.542 c-10.224-3.298,2.126-24.871,18.405-7.317s-16.882,46.238-32.722,42.46c-15.84-3.778-14.606-18.219-7.317-18.405 c7.289-0.185,2.002,33.305-36.37,28.409c-38.373-4.896-29.349-34.834-22.471-30.206c6.878,4.629,4.43,23.815-28.67,23.41 c-33.1-0.404-26.853-45.127-12.48-43.09c14.373,2.036-4.532,24.665-14.393,7.66C159.075,50.097,177.157,37.096,187.381,40.394z" />
82
+ <path style="fill:#241726;"
83
+ d="M254.336,111.027c-2.409,0-4.946-0.168-7.539-0.498c-15.034-1.919-22.332-7.562-25.863-12.333 c-5.646,3.636-13.94,5.55-24.096,5.553l-1.044-0.007c-8.497-0.104-15.341-3.123-19.792-8.735 c-5.613-7.075-6.247-16.507-4.935-23.252c-1.169-1.065-2.235-2.422-3.177-4.044c-3.754-6.473-3.997-13.207-0.685-18.958 c3.42-5.935,10.297-10.081,16.724-10.081c0.734,0,1.447,0.057,2.133,0.168c-0.067-2.845,0.365-8.653,4.382-13.277 c3.69-4.25,9.447-6.405,17.11-6.405l0.96,0.012c2.604,0.059,4.955,0.342,7.009,0.838c1.703-7.316,8.577-21.543,35.074-19.871 c17.901,1.131,23.822,11.613,25.772,18.788c6.972-3.714,15.199-3.18,23.153,1.683c14.858,9.087,16.16,23.649,16.076,29.159 c2.906,1.112,5.811,3.22,8.647,6.277c5.18,5.586,6.119,12.659,2.717,20.454c-5.468,12.529-21.636,24.373-33.268,24.376 c-1.18,0-2.304-0.125-3.339-0.373c-2.723-0.649-5.104-1.634-7.096-2.932C279.571,103.045,271.286,111.027,254.336,111.027z M222.892,96.777c3.237,4.365,10.022,9.543,24.212,11.353c2.491,0.319,4.925,0.479,7.232,0.479 c15.972,0,23.64-7.465,26.995-12.505c-4.166-3.685-5.026-8.468-3.962-11.74c0.91-2.8,3.179-4.582,5.92-4.653h0.004 c1.366,0,2.451,0.682,3.148,1.917c1.474,2.616,1.237,8.121-1.922,13.875c1.768,1.166,3.915,2.054,6.398,2.647 c0.851,0.203,1.786,0.307,2.778,0.307c10.623-0.002,26.002-11.356,31.052-22.926c2.083-4.774,3.381-11.745-2.275-17.843 c-2.342-2.526-4.699-4.325-7.025-5.369c-0.794,7.805-4.455,13.31-9.023,13.31h-0.001c-0.61,0-1.23-0.099-1.84-0.297 c-3.313-1.067-5.024-3.95-4.462-7.519c0.693-4.403,4.914-8.959,10.778-8.959c0.751,0,1.516,0.073,2.284,0.22 c-0.039-5.524-1.677-18.301-14.922-26.401c-7.44-4.552-14.982-4.951-21.341-1.289c1.437,7.989-0.537,15.52-3.328,18.958 c-1.478,1.82-2.929,2.203-3.886,2.203c-0.768,0-1.513-0.236-2.216-0.701c-1.838-1.216-2.833-3.359-2.805-6.034 c0.058-5.361,4.019-11.785,9.524-15.572c-1.582-6.492-6.779-16.613-23.765-17.685c-1.411-0.09-2.766-0.132-4.069-0.132 c-21.017,0-26.927,11.016-28.536,18.289c8.151,2.979,7.918,9.151,7.637,11.03c-0.526,3.52-2.867,6.28-5.328,6.28 c-0.831,0-2.388-0.335-3.485-2.576c-1.245-2.545-2.349-7.408-1.578-13.051c-1.913-0.477-4.136-0.746-6.627-0.803l-0.905-0.012 c-6.921,0-12.059,1.87-15.271,5.555c-4.705,5.399-3.716,13.022-3.705,13.098c0.057,0.413-0.102,0.826-0.42,1.093 c-0.319,0.264-0.755,0.354-1.147,0.224c-0.937-0.302-1.974-0.456-3.081-0.456c-5.516,0-11.668,3.73-14.629,8.872 c-2.026,3.515-3.552,9.238,0.681,16.535c0.548,0.944,1.137,1.78,1.764,2.498c2.151-7.177,6.633-11.483,11.753-10.749 c4.137,0.588,6.465,2.946,6.228,6.315c-0.321,4.549-5.595,10.043-11.664,10.043c-1.701,0-3.316-0.425-4.818-1.265 c-0.931,6.093-0.152,14.108,4.652,20.164c4.041,5.095,10.073,7.725,17.927,7.821l1.014,0.007 c9.689-0.002,17.528-1.782,22.775-5.161c-3.331-5.827-2.948-11.922-0.988-15.537c1.602-2.951,4.335-3.987,6.529-2.514 c2.231,1.501,3.594,4.252,3.648,7.356C228.871,89.585,226.732,93.651,222.892,96.777z M222.992,79.847 c-0.746,0-1.584,0.725-2.242,1.938c-1.557,2.871-1.878,8.01,0.826,12.945c3.126-2.628,4.863-5.928,4.807-9.212 c-0.04-2.316-1.005-4.332-2.58-5.392C223.526,79.937,223.26,79.847,222.992,79.847z M283.38,82.128 c-1.767,0.045-3.11,1.131-3.712,2.984c-0.786,2.415-0.13,5.963,2.925,8.87c2.675-5.069,2.68-9.502,1.742-11.167 C283.947,82.128,283.535,82.128,283.38,82.128z M173.752,70.807c1.336,0.916,2.782,1.379,4.311,1.379 c4.605,0,9.01-4.36,9.252-7.796c0.183-2.587-2.159-3.468-4.156-3.751C179.079,60.051,175.419,64.14,173.752,70.807z M310.9,51.269 c-4.571,0-7.856,3.518-8.39,6.917c-0.177,1.126-0.257,3.853,2.815,4.844c0.371,0.118,0.74,0.179,1.099,0.179l0,0 c3.277,0,6.119-5.062,6.668-11.689C312.349,51.354,311.615,51.269,310.9,51.269z M274.709,22.851 c-4.947,3.766-7.564,9.205-7.604,12.98c-0.014,1.291,0.274,3.034,1.721,3.992c0.953,0.626,1.884,0.234,2.891-1.01 C273.982,36.025,275.665,29.667,274.709,22.851z M217.428,23.135c-0.594,4.918,0.345,9.066,1.409,11.242 c0.273,0.557,0.721,1.221,1.311,1.221c1.067,0,2.584-1.844,2.939-4.219C223.351,29.615,223.267,25.462,217.428,23.135z" />
84
+ </g>
85
+ <g>
86
+ <path style="fill:#241726;"
87
+ d="M216.689,280.58c-0.066,0-0.131-0.005-0.196-0.017c-3.736-0.614-7.928-0.819-12.364-1.034 c-15.808-0.77-33.726-1.641-32.888-22.954c0.68-17.324,5.34-30.809,12.228-35.578c-0.03-0.29-0.04-0.578-0.032-0.864 c0.502-16.498,13.23-22.35,23.978-22.35c0.979,0,1.96,0.047,2.935,0.137c-1.071-6.077,0.228-11.601,3.784-16.035 c4.85-6.046,13.356-9.375,23.951-9.375c3.022,0,6.207,0.276,9.467,0.819c7.76,1.294,12.967,7.033,14.42,15.818 c1.171-0.085,2.356-0.13,3.537-0.13c6.361,0,12.226,1.23,16.513,3.463c6.355,3.31,10.686,8.964,12.069,15.669 c5.49-2.037,11.304-1.91,16.934,0.392c23.974,9.819,24.053,25.308,21.436,47.819c-1.108,9.54-20.497,16.269-59.275,20.57 c-28.067,3.114-56.195,3.645-56.476,3.65C216.703,280.58,216.696,280.58,216.689,280.58z M184.178,223.486 c-5.825,4.722-9.901,17.432-10.521,33.184c-0.744,18.922,14.477,19.661,30.589,20.445c4.466,0.217,8.687,0.423,12.53,1.046 c30.968-0.56,111.371-5.607,113.284-22.079c2.563-22.055,2.499-36.109-19.952-45.302c-5.23-2.141-10.584-2.198-15.651-0.179 c0.774,8.228-3.195,15.534-10.289,18.783c-3.496,1.603-5.961,0.798-6.485-1.681c-0.911-4.301,4.73-13.99,14.133-18.575 c-1.123-6.202-5.059-11.455-10.912-14.503c-3.949-2.056-9.417-3.189-15.396-3.189c-1.081,0-2.167,0.038-3.241,0.116 c0.585,7.243-1.442,15.14-5.005,19.175c-3.575,4.046-8.259,3.676-12.129-1.199c-3.949-4.972-3.609-8.775-2.628-11.089 c1.952-4.608,8.283-7.949,17.055-9.049c-0.857-4.948-3.622-12.21-12.405-13.674c-3.13-0.522-6.182-0.786-9.07-0.786 c-9.846,0-17.683,3.008-22.064,8.471c-3.252,4.051-4.336,9.188-3.143,14.866c4.185,0.748,7.932,2.333,10.624,4.497 c3.978,3.204,3.902,5.581,3.503,6.714c-0.528,1.497-2.078,2.389-4.146,2.389c-4.26,0-9.717-3.591-11.941-11.452 c-1.158-0.142-2.333-0.212-3.502-0.212c-10.018,0-20.872,5.142-21.543,19.524c4.296-1.605,9.042-0.054,13.794,4.592 c3.714,3.631,5.107,6.145,4.386,7.914c-0.307,0.751-1.103,1.648-3.156,1.648C196.395,233.878,186.895,229.31,184.178,223.486z M186.243,222.187c1.99,4.899,10.932,9.273,14.654,9.273c0.725,0,0.928-0.165,0.935-0.172l0,0c-0.012,0,0.195-1.284-3.855-5.243 C193.744,221.909,189.799,220.579,186.243,222.187z M292.112,211.691c-7.929,4.245-12.685,12.579-12.063,15.511 c0.089,0.416,0.242,0.628,0.838,0.628c0.398,0,1.116-0.111,2.276-0.642C289.049,224.489,292.443,218.521,292.112,211.691z M259.862,191.787c-7.796,0.982-13.542,3.843-15.129,7.592c-1.055,2.491-0.283,5.399,2.295,8.645 c2.911,3.662,5.811,4.051,8.424,1.1C258.612,205.546,260.396,198.409,259.862,191.787z M213.595,200.873 c2.172,6.252,6.599,8.575,9.264,8.575c0.967,0,1.7-0.305,1.865-0.774c0.231-0.656-0.348-2.104-2.739-4.028 C219.848,202.925,216.917,201.615,213.595,200.873z" />
88
+ <path id="element2" style="fill:#EC7E96;"
89
+ d="M127.567,238.753l242.248-3.319c0,0-5.904,156.199-11.393,166.103s-62.473,27.217-62.473,27.217 l9.087,52.65l-100.603,0.409l8.164-45.74c0,0-62.151-20.178-72.153-33.714C135.873,396.172,127.567,238.753,127.567,238.753z" />
90
+ <path style="fill:#FFFFFF;"
91
+ d="M162.252,310.443c0,0,28.005-37.506,71.012,2.5C233.265,312.944,196.1,356.183,162.252,310.443z" />
92
+ <circle style="fill:#648F9F;" cx="197.704" cy="312.974" r="16.009" />
93
+ <path style="fill:#FFFFFF;"
94
+ d="M342.783,310.443c0,0-28.005-37.506-71.012,2.5C271.771,312.944,308.936,356.183,342.783,310.443z" />
95
+ <circle style="fill:#648F9F;" cx="307.332" cy="312.974" r="16.009" />
96
+ <path style="fill:#241726;"
97
+ d="M248.691,402.719c-4.293,0-8.211-0.659-11.588-1.579c-11.63-3.173-19.275-9.873-19.595-10.156 c-0.498-0.444-0.544-1.206-0.102-1.705c0.443-0.503,1.206-0.543,1.706-0.104c1.212,1.069,30.037,25.953,59.823-1.945 c0.489-0.453,1.254-0.432,1.708,0.057c0.457,0.486,0.432,1.251-0.055,1.709C269.32,399.546,258.104,402.719,248.691,402.719z" />
98
+ <path style="fill:#EC7E96;"
99
+ d="M131.987,305.784c0,0-11.799-16.223-22.614-3.441s-4.916,64.4,27.038,50.144 S131.987,305.784,131.987,305.784z" />
100
+ <path style="fill:#241726;"
101
+ d="M129.529,341.896c-0.66,0-1.198-0.529-1.209-1.19c-0.247-16.054-3.838-21.533-6.806-23.304 c-2.819-1.679-5.561-0.286-5.675-0.224c-0.589,0.302-1.32,0.083-1.631-0.505c-0.31-0.588-0.091-1.315,0.495-1.629 c0.162-0.087,4.009-2.092,8.008,0.257c5.115,3.008,7.816,11.545,8.028,25.367c0.011,0.668-0.523,1.218-1.19,1.228 C129.541,341.896,129.535,341.896,129.529,341.896z" />
102
+ <path style="fill:#EC7E96;"
103
+ d="M366.529,305.784c0,0,11.798-16.223,22.614-3.441c10.815,12.782,4.916,64.4-27.038,50.144 S366.529,305.784,366.529,305.784z" />
104
+ <path style="fill:#241726;"
105
+ d="M368.987,341.896c-0.006,0-0.012,0-0.019,0c-0.667-0.009-1.2-0.56-1.19-1.228 c0.212-13.823,2.913-22.36,8.028-25.367c4.002-2.354,7.846-0.347,8.008-0.257c0.588,0.314,0.81,1.048,0.495,1.636 c-0.316,0.585-1.052,0.81-1.631,0.496c-0.133-0.066-2.867-1.447-5.675,0.227c-2.969,1.771-6.56,7.25-6.806,23.304 C370.185,341.367,369.646,341.896,368.987,341.896z" />
106
+ <path style="fill:#241726;"
107
+ d="M251.936,385.787c-0.236,0-0.472-0.068-0.679-0.208c-3.594-2.441-21.608-14.769-23.187-17.928 c-0.326-0.654-0.301-1.372,0.07-1.971c1.401-2.266,9.044-2.75,14.234-2.809v-39.053c0-0.668,0.541-1.209,1.209-1.209 s1.209,0.541,1.209,1.209v40.255c0,0.668-0.541,1.209-1.209,1.209c-6.096,0-11.881,0.682-13.201,1.525 c1.666,2.255,13.092,10.536,21.447,16.238c8.889-8.086,18.114-17.05,20.517-20.242c-2.859-0.12-9.648,0.345-15.732,0.951 c-0.339,0.033-0.672-0.076-0.923-0.297c-0.253-0.224-0.399-0.543-0.406-0.881l-0.76-39.492c-0.013-0.668,0.518-1.218,1.185-1.232 c0.008,0,0.017,0,0.024,0c0.657,0,1.196,0.526,1.209,1.185l0.735,38.187c4.176-0.394,14.542-1.28,16.666-0.576 c0.407,0.137,0.856,0.635,0.944,1.055c0.162,0.77,0.591,2.809-22.54,23.771C252.519,385.681,252.228,385.787,251.936,385.787z" />
108
+ <path style="fill:#241726;"
109
+ d="M177.857,299.04c-0.451,0-0.884-0.253-1.092-0.687l-3.735-7.807 c-0.288-0.602-0.033-1.324,0.569-1.612c0.603-0.288,1.323-0.035,1.612,0.569l3.735,7.807c0.288,0.602,0.033,1.324-0.569,1.612 C178.208,299.002,178.031,299.04,177.857,299.04z" />
110
+ <path style="fill:#241726;"
111
+ d="M192.791,295.645c-0.646,0-1.182-0.51-1.206-1.162l-0.339-8.827 c-0.026-0.668,0.495-1.23,1.162-1.256c0.603,0.005,1.228,0.493,1.254,1.162l0.339,8.827c0.026,0.668-0.495,1.23-1.162,1.256 C192.823,295.645,192.808,295.645,192.791,295.645z" />
112
+ <path style="fill:#241726;"
113
+ d="M208.409,298.36c-0.136,0-0.274-0.024-0.41-0.071c-0.628-0.227-0.954-0.918-0.727-1.546 l3.056-8.487c0.225-0.63,0.912-0.954,1.546-0.729c0.628,0.227,0.954,0.918,0.727,1.546l-3.056,8.487 C209.369,298.053,208.905,298.36,208.409,298.36z" />
114
+ <path style="fill:#241726;"
115
+ d="M305.845,294.965c-0.584,0-1.098-0.423-1.192-1.018l-1.357-8.487 c-0.105-0.659,0.344-1.28,1.002-1.386c0.676-0.104,1.28,0.345,1.385,1.003l1.357,8.487c0.105,0.659-0.344,1.28-1.002,1.386 C305.973,294.96,305.908,294.965,305.845,294.965z" />
116
+ <path style="fill:#241726;"
117
+ d="M287.58,301.523c-0.444,0-0.871-0.246-1.082-0.668l-4.375-8.752 c-0.299-0.597-0.057-1.324,0.541-1.622c0.596-0.302,1.324-0.054,1.622,0.541l4.375,8.752c0.299,0.597,0.057,1.324-0.541,1.622 C287.946,301.483,287.762,301.523,287.58,301.523z" />
118
+ <path style="fill:#241726;"
119
+ d="M326.589,298.605c-0.087,0-0.175-0.009-0.263-0.028c-0.652-0.146-1.062-0.791-0.918-1.442 l2.187-9.842c0.145-0.654,0.797-1.053,1.442-0.918c0.652,0.146,1.062,0.791,0.918,1.442l-2.187,9.842 C327.643,298.223,327.142,298.605,326.589,298.605z" />
120
+ <circle style="fill:#E96389;" cx="180.226" cy="363.181" r="23.954" />
121
+ <circle style="fill:#E96389;" cx="317.34" cy="363.181" r="23.954" />
122
+ </g>
123
+ <path style="fill:#241726;"
124
+ d="M413.376,399.558c-0.018,0-0.035,0-0.053,0c-1.625-0.071-3.289-0.241-4.947-0.505 c-0.659-0.106-1.107-0.727-1.002-1.386c0.104-0.659,0.713-1.1,1.385-1.003c1.565,0.25,3.136,0.411,4.669,0.477 c0.667,0.031,1.185,0.595,1.156,1.261C414.554,399.05,414.019,399.558,413.376,399.558z M418.203,399.461 c-0.621,0-1.15-0.477-1.203-1.105c-0.057-0.666,0.436-1.251,1.101-1.308c1.555-0.132,3.107-0.371,4.615-0.706 c0.649-0.135,1.297,0.264,1.442,0.918c0.144,0.652-0.267,1.296-0.918,1.442c-1.612,0.359-3.272,0.611-4.934,0.753 C418.272,399.458,418.237,399.461,418.203,399.461z M403.842,398.051c-0.104,0-0.209-0.014-0.314-0.04 c-1.553-0.416-3.139-0.923-4.713-1.504c-0.626-0.231-0.945-0.925-0.715-1.551c0.231-0.628,0.927-0.949,1.553-0.715 c1.504,0.555,3.018,1.036,4.501,1.433c0.645,0.172,1.027,0.836,0.855,1.48C404.864,397.695,404.375,398.051,403.842,398.051z M427.609,397.357c-0.49,0-0.951-0.3-1.133-0.786c-0.233-0.628,0.086-1.322,0.712-1.556c1.445-0.538,2.877-1.183,4.257-1.917 c0.59-0.316,1.322-0.092,1.635,0.498c0.314,0.59,0.091,1.322-0.499,1.636c-1.473,0.784-3.004,1.473-4.549,2.049 C427.891,397.334,427.75,397.357,427.609,397.357z M394.769,394.718c-0.17,0-0.345-0.035-0.509-0.113 c-1.468-0.685-2.944-1.442-4.386-2.252c-0.582-0.326-0.789-1.062-0.462-1.646c0.326-0.583,1.064-0.791,1.647-0.46 c1.388,0.779,2.808,1.509,4.221,2.167c0.606,0.281,0.868,1.001,0.585,1.605C395.661,394.461,395.224,394.718,394.769,394.718z M436.13,392.846c-0.381,0-0.755-0.179-0.99-0.515c-0.384-0.545-0.251-1.301,0.295-1.683c1.252-0.881,2.494-1.858,3.69-2.909 c0.503-0.439,1.265-0.392,1.707,0.111c0.44,0.503,0.391,1.265-0.111,1.707c-1.262,1.107-2.573,2.139-3.898,3.069 C436.611,392.775,436.369,392.846,436.13,392.846z M386.338,389.982c-0.23,0-0.463-0.066-0.668-0.203 c-2.524-1.679-3.966-2.894-4.025-2.944c-0.51-0.432-0.574-1.195-0.143-1.702c0.432-0.51,1.193-0.574,1.703-0.144 c0.014,0.012,1.407,1.183,3.803,2.779c0.556,0.368,0.707,1.119,0.338,1.676C387.113,389.793,386.729,389.982,386.338,389.982z M443.394,386.493c-0.297,0-0.594-0.109-0.827-0.328c-0.486-0.456-0.511-1.221-0.053-1.709c1.041-1.107,2.082-2.314,3.093-3.581 c0.414-0.522,1.177-0.614,1.699-0.191c0.522,0.415,0.608,1.176,0.192,1.697c-1.052,1.32-2.135,2.576-3.223,3.732 C444.037,386.365,443.716,386.493,443.394,386.493z M449.37,378.914c-0.223,0-0.45-0.061-0.652-0.191 c-0.562-0.361-0.725-1.11-0.365-1.671c0.853-1.329,1.629-2.703,2.305-4.087c0.295-0.6,1.019-0.845,1.617-0.555 c0.6,0.293,0.848,1.018,0.555,1.617c-0.718,1.466-1.539,2.923-2.442,4.332C450.158,378.718,449.768,378.914,449.37,378.914z M453.593,370.241c-0.13,0-0.261-0.021-0.391-0.064c-0.632-0.217-0.969-0.904-0.753-1.537c0.506-1.48,0.917-2.998,1.219-4.509 c0.131-0.654,0.771-1.081,1.422-0.947c0.655,0.132,1.079,0.767,0.948,1.424c-0.323,1.612-0.761,3.232-1.302,4.816 C454.565,369.924,454.096,370.241,453.593,370.241z M455.494,360.788c-0.027,0-0.054,0-0.081-0.002 c-0.667-0.045-1.171-0.621-1.126-1.287c0.055-0.819,0.081-1.636,0.083-2.448c0-0.746-0.022-1.49-0.067-2.231 c-0.04-0.666,0.467-1.239,1.133-1.28c0.675-0.057,1.239,0.467,1.28,1.133c0.047,0.789,0.072,1.584,0.072,2.38 c-0.001,0.866-0.03,1.735-0.087,2.606C456.656,360.299,456.125,360.788,455.494,360.788z M454.924,351.163 c-0.573,0-1.081-0.408-1.188-0.992c-0.277-1.518-0.649-3.055-1.105-4.566c-0.194-0.64,0.169-1.315,0.807-1.506 c0.642-0.196,1.315,0.17,1.506,0.807c0.483,1.598,0.876,3.223,1.169,4.83c0.12,0.656-0.315,1.287-0.971,1.407 C455.07,351.155,454.996,351.163,454.924,351.163z M452.152,341.918c-0.472,0-0.921-0.279-1.114-0.741 c-0.603-1.438-1.289-2.868-2.037-4.254c-0.318-0.585-0.098-1.32,0.489-1.636c0.59-0.321,1.322-0.099,1.638,0.489 c0.786,1.454,1.505,2.956,2.139,4.467c0.259,0.616-0.031,1.324-0.647,1.582C452.467,341.887,452.309,341.918,452.152,341.918z M434.97,336.249c-0.212,0-0.433-0.005-0.653-0.012c-0.667-0.026-1.188-0.588-1.162-1.256s0.667-1.145,1.254-1.162 c0.227,0.007,0.451,0.009,0.68,0.012c1.308,0,2.602-0.123,3.856-0.364c0.648-0.13,1.289,0.302,1.415,0.959 c0.125,0.656-0.305,1.291-0.96,1.417C437.955,336.119,436.454,336.235,434.97,336.249z M429.594,335.517 c-0.107,0-0.216-0.014-0.325-0.045c-1.759-0.486-3.355-1.188-4.743-2.08c-0.562-0.364-0.724-1.11-0.362-1.671 s1.111-0.725,1.67-0.364c1.184,0.763,2.557,1.362,4.082,1.787c0.643,0.177,1.02,0.843,0.842,1.487 C430.609,335.168,430.122,335.517,429.594,335.517z M443.775,334.415c-0.46,0-0.899-0.264-1.101-0.708 c-0.276-0.609-0.007-1.324,0.601-1.601c0.696-0.316,1.363-0.673,1.998-1.069c-0.49-0.666-0.996-1.32-1.514-1.957 c-0.421-0.517-0.344-1.277,0.174-1.7c0.518-0.42,1.28-0.345,1.701,0.175c0.548,0.673,1.082,1.365,1.601,2.068 c0.505-0.309,1.17-0.205,1.557,0.257c0.428,0.512,0.359,1.275-0.153,1.702c-0.007,0.007-0.014,0.012-0.021,0.019 c0.316,0.548,0.158,1.254-0.375,1.61c-0.504,0.335-1.176,0.243-1.57-0.196c-0.76,0.479-1.562,0.914-2.397,1.291 C444.112,334.379,443.942,334.415,443.775,334.415z M421.758,330.224c-0.4,0-0.791-0.198-1.021-0.56 c-0.99-1.561-1.527-3.296-1.596-5.163c-0.025-0.668,0.496-1.228,1.163-1.254c0.659,0.021,1.228,0.498,1.252,1.164 c0.053,1.433,0.464,2.765,1.221,3.954c0.359,0.564,0.192,1.31-0.372,1.669C422.204,330.163,421.98,330.224,421.758,330.224z M451.082,328.286c-0.23,0-0.464-0.066-0.669-0.203c-0.556-0.371-0.706-1.121-0.335-1.676c0.815-1.221,1.47-2.583,1.945-4.044 c0.207-0.635,0.887-0.98,1.524-0.774c0.635,0.208,0.982,0.89,0.776,1.525c-0.545,1.671-1.296,3.23-2.233,4.634 C451.856,328.097,451.473,328.286,451.082,328.286z M441.462,325.93c-0.31,0-0.621-0.118-0.857-0.356 c-1.132-1.138-2.308-2.196-3.494-3.142c-0.522-0.415-0.607-1.176-0.19-1.697c0.418-0.522,1.178-0.607,1.699-0.191 c1.257,1.003,2.502,2.122,3.699,3.326c0.471,0.472,0.469,1.237-0.005,1.709C442.078,325.812,441.77,325.93,441.462,325.93z M421.228,320.953c-0.163,0-0.329-0.033-0.489-0.104c-0.61-0.269-0.885-0.984-0.615-1.594c0.861-1.945,2.327-3.26,4.24-3.803 c0.634-0.186,1.31,0.189,1.493,0.831c0.183,0.642-0.19,1.31-0.831,1.492c-1.235,0.352-2.115,1.157-2.693,2.458 C422.135,320.686,421.692,320.953,421.228,320.953z M433.882,319.957c-0.204,0-0.412-0.052-0.602-0.161 c-1.457-0.838-2.851-1.452-4.146-1.82c-0.642-0.182-1.015-0.85-0.832-1.492c0.182-0.642,0.846-1.029,1.493-0.831 c1.485,0.42,3.063,1.11,4.691,2.047c0.578,0.333,0.778,1.072,0.444,1.65C434.707,319.74,434.3,319.957,433.882,319.957z M454.119,319.218c-0.037,0-0.072-0.002-0.11-0.005c-0.665-0.059-1.156-0.647-1.095-1.313c0.063-0.687,0.094-1.4,0.096-2.139 c0-0.812-0.063-1.603-0.187-2.349c-0.11-0.659,0.335-1.282,0.994-1.391c0.658-0.113,1.281,0.335,1.391,0.994 c0.145,0.876,0.22,1.801,0.22,2.748c-0.001,0.812-0.038,1.596-0.105,2.354C455.266,318.746,454.738,319.218,454.119,319.218z M452.365,309.959c-0.405,0-0.8-0.203-1.029-0.574c-0.726-1.173-1.716-2.25-2.944-3.199c-0.529-0.408-0.626-1.166-0.217-1.695 c0.41-0.531,1.167-0.626,1.695-0.217c1.458,1.126,2.643,2.42,3.522,3.841c0.351,0.567,0.176,1.313-0.392,1.662 C452.802,309.9,452.582,309.959,452.365,309.959z M444.984,303.981c-0.169,0-0.341-0.035-0.505-0.111 c-1.285-0.593-2.717-1.131-4.376-1.648c-0.637-0.198-0.994-0.876-0.796-1.513c0.198-0.635,0.872-0.996,1.513-0.796 c1.76,0.548,3.287,1.124,4.671,1.761c0.606,0.279,0.871,0.999,0.591,1.603C445.879,303.721,445.442,303.981,444.984,303.981z M435.785,301.025c-0.091,0-0.184-0.009-0.276-0.031c-1.531-0.359-3.104-0.687-4.696-0.999c-0.655-0.128-1.082-0.763-0.954-1.417 c0.128-0.656,0.755-1.091,1.419-0.954c1.62,0.316,3.221,0.649,4.781,1.013c0.65,0.153,1.054,0.803,0.902,1.454 C436.831,300.65,436.334,301.025,435.785,301.025z M426.286,299.113c-0.074,0-0.149-0.007-0.224-0.021 c-1.603-0.3-3.204-0.604-4.777-0.925c-0.655-0.135-1.077-0.774-0.942-1.428c0.133-0.654,0.778-1.074,1.426-0.942 c1.562,0.321,3.148,0.621,4.739,0.921c0.656,0.123,1.088,0.755,0.964,1.409C427.364,298.707,426.856,299.113,426.286,299.113z M416.803,297.125c-0.098,0-0.198-0.012-0.297-0.038c-1.767-0.446-3.318-0.904-4.743-1.402c-0.63-0.22-0.963-0.909-0.744-1.539 c0.22-0.63,0.911-0.963,1.539-0.741c1.357,0.472,2.842,0.911,4.54,1.341c0.647,0.163,1.039,0.819,0.876,1.468 C417.834,296.762,417.342,297.125,416.803,297.125z M407.725,293.834c-0.194,0-0.391-0.047-0.572-0.144 c-1.664-0.899-3.031-1.879-4.178-3.001c-0.477-0.467-0.486-1.232-0.019-1.709c0.466-0.472,1.232-0.486,1.709-0.019 c0.982,0.961,2.172,1.811,3.635,2.599c0.588,0.319,0.807,1.051,0.49,1.638C408.571,293.605,408.155,293.834,407.725,293.834z M401.111,287.113c-0.471,0-0.92-0.276-1.114-0.739c-0.647-1.537-1.009-3.251-1.073-5.092c-0.024-0.668,0.498-1.228,1.165-1.251 c0.685,0.007,1.228,0.501,1.25,1.166c0.054,1.546,0.353,2.972,0.887,4.238c0.259,0.616-0.03,1.324-0.645,1.584 C401.428,287.082,401.268,287.113,401.111,287.113z M400.579,277.646c-0.079,0-0.161-0.007-0.241-0.024 c-0.654-0.132-1.078-0.77-0.945-1.426c0.066-0.323,0.138-0.652,0.218-0.984c0.318-1.315,0.682-2.602,1.085-3.817 c0.209-0.635,0.89-0.982,1.527-0.767c0.634,0.21,0.977,0.892,0.767,1.527c-0.381,1.152-0.727,2.373-1.028,3.624 c-0.073,0.305-0.14,0.604-0.199,0.899C401.646,277.249,401.142,277.646,400.579,277.646z M403.649,268.509 c-0.177,0-0.356-0.038-0.526-0.12c-0.601-0.293-0.851-1.015-0.56-1.617c0.751-1.546,1.607-3.003,2.543-4.327 c0.385-0.548,1.138-0.678,1.684-0.29c0.545,0.385,0.675,1.138,0.289,1.683c-0.859,1.218-1.648,2.561-2.342,3.992 C404.529,268.259,404.098,268.509,403.649,268.509z M409.24,260.695c-0.319,0-0.639-0.125-0.876-0.375 c-0.46-0.484-0.441-1.249,0.043-1.709c1.235-1.176,2.59-2.214,4.029-3.093c0.567-0.349,1.313-0.17,1.661,0.401 s0.168,1.315-0.403,1.662c-1.291,0.789-2.51,1.723-3.62,2.781C409.839,260.584,409.539,260.695,409.24,260.695z M439.141,256.065 c-0.138,0-0.279-0.024-0.417-0.076c-0.031-0.009-0.966-0.349-2.523-0.739c-0.647-0.163-1.041-0.819-0.878-1.466 c0.163-0.649,0.823-1.032,1.466-0.881c1.739,0.437,2.77,0.819,2.77,0.819c0.626,0.231,0.945,0.925,0.715,1.551 C440.095,255.763,439.633,256.065,439.141,256.065z M417.422,255.683c-0.497,0-0.963-0.309-1.139-0.803 c-0.223-0.63,0.105-1.322,0.734-1.544c1.548-0.552,3.194-0.968,4.895-1.242c0.67-0.099,1.28,0.345,1.385,1.003 c0.105,0.659-0.344,1.28-1.002,1.386c-1.556,0.248-3.058,0.628-4.468,1.128C417.694,255.662,417.557,255.683,417.422,255.683z M431.744,254.401c-0.05,0-0.1-0.002-0.151-0.009c-1.505-0.189-3.008-0.283-4.469-0.283c-0.668,0-1.311-0.541-1.311-1.206 c0-0.668,0.438-1.209,1.106-1.209v1.209l0.164-1.211c0.006,0,0.011,0,0.017,0c1.597,0,3.195,0.102,4.794,0.302 c0.662,0.083,1.132,0.687,1.049,1.35C432.866,253.955,432.345,254.401,431.744,254.401z" />
125
+ <path style="fill:#241726;"
126
+ d="M163.715,512c-1.37-0.002-2.773-0.021-4.209-0.061c-0.667-0.019-1.192-0.576-1.175-1.242 c0.019-0.668,0.597-1.169,1.243-1.176c1.415,0.04,2.796,0.059,4.143,0.061l0.643-0.002c0.005,0,0.008,0,0.013,0 c0.662,0,1.202,0.534,1.209,1.195c0.007,0.668-0.528,1.216-1.196,1.223L163.715,512z M169.202,511.887 c-0.643,0-1.179-0.508-1.206-1.157c-0.028-0.668,0.489-1.23,1.156-1.261c1.642-0.068,3.231-0.17,4.772-0.297 c0.683-0.059,1.249,0.439,1.304,1.103c0.055,0.666-0.438,1.251-1.104,1.306c-1.572,0.132-3.194,0.234-4.869,0.307 C169.237,511.887,169.219,511.887,169.202,511.887z M154.712,511.717c-0.027,0-0.055,0-0.084-0.002 c-1.651-0.113-3.298-0.288-4.894-0.519c-0.66-0.097-1.118-0.711-1.021-1.372c0.096-0.661,0.698-1.107,1.37-1.022 c1.533,0.224,3.119,0.392,4.71,0.5c0.666,0.045,1.169,0.623,1.124,1.289C155.873,511.228,155.342,511.717,154.712,511.717z M178.824,511.082c-0.6,0-1.119-0.444-1.198-1.055c-0.085-0.661,0.382-1.268,1.045-1.353c1.631-0.21,3.202-0.451,4.717-0.718 c0.661-0.132,1.284,0.321,1.401,0.98c0.117,0.656-0.322,1.284-0.979,1.4c-1.552,0.276-3.161,0.522-4.83,0.737 C178.927,511.079,178.875,511.082,178.824,511.082z M145.164,510.31c-0.092,0-0.184-0.009-0.277-0.033 c-1.629-0.382-3.23-0.84-4.755-1.365c-0.632-0.215-0.968-0.904-0.752-1.535c0.217-0.633,0.905-0.973,1.536-0.751 c1.451,0.496,2.972,0.933,4.523,1.298c0.65,0.151,1.053,0.803,0.901,1.452C146.208,509.934,145.711,510.31,145.164,510.31z M188.332,509.391c-0.55,0-1.048-0.378-1.177-0.937c-0.15-0.652,0.256-1.301,0.907-1.45c1.602-0.368,3.139-0.767,4.617-1.188 c0.643-0.189,1.31,0.189,1.494,0.831c0.183,0.64-0.189,1.31-0.831,1.492c-1.518,0.434-3.095,0.843-4.737,1.221 C188.512,509.382,188.421,509.391,188.332,509.391z M136.051,507.163c-0.174,0-0.349-0.038-0.517-0.116 c-1.511-0.718-2.977-1.527-4.357-2.41c-0.562-0.359-0.726-1.107-0.367-1.669c0.359-0.564,1.105-0.73,1.67-0.366 c1.294,0.826,2.67,1.586,4.09,2.259c0.603,0.286,0.861,1.008,0.574,1.61C136.937,506.908,136.504,507.163,136.051,507.163z M197.618,506.74c-0.503,0-0.971-0.316-1.144-0.817c-0.216-0.633,0.12-1.32,0.753-1.535c1.555-0.534,3.045-1.086,4.481-1.65 c0.619-0.253,1.322,0.059,1.568,0.682c0.244,0.621-0.061,1.322-0.682,1.565c-1.468,0.578-2.992,1.145-4.585,1.688 C197.88,506.719,197.748,506.74,197.618,506.74z M206.612,503.211c-0.466,0-0.91-0.269-1.108-0.725 c-0.268-0.611,0.011-1.324,0.622-1.591c1.513-0.663,2.968-1.329,4.379-1.983c0.607-0.279,1.326-0.017,1.604,0.59 c0.281,0.607,0.017,1.324-0.589,1.605c-1.426,0.659-2.897,1.334-4.424,2.002C206.937,503.178,206.773,503.211,206.612,503.211z M127.94,501.964c-0.275,0-0.552-0.094-0.779-0.286c-1.263-1.067-2.468-2.236-3.581-3.475c-0.447-0.496-0.406-1.261,0.09-1.707 c0.496-0.449,1.26-0.408,1.707,0.092c1.041,1.157,2.166,2.248,3.345,3.244c0.51,0.43,0.574,1.192,0.143,1.702 C128.626,501.818,128.285,501.964,127.94,501.964z M215.393,499.176c-0.457,0-0.895-0.26-1.099-0.701 c-0.28-0.607-0.015-1.324,0.591-1.605c1.511-0.696,2.989-1.365,4.454-1.978c0.617-0.257,1.324,0.033,1.582,0.647 c0.259,0.616-0.031,1.324-0.647,1.582c-1.439,0.604-2.891,1.258-4.376,1.945C215.734,499.14,215.562,499.176,215.393,499.176z M257.002,499.065c-0.174,0-0.351-0.038-0.518-0.118c-1.507-0.718-2.958-1.355-4.356-1.917c-0.62-0.25-0.92-0.954-0.67-1.572 c0.25-0.621,0.957-0.914,1.572-0.67c1.442,0.581,2.938,1.237,4.493,1.978c0.603,0.286,0.859,1.008,0.571,1.61 C257.887,498.81,257.454,499.065,257.002,499.065z M224.319,495.495c-0.506,0-0.977-0.319-1.146-0.826 c-0.211-0.633,0.13-1.317,0.764-1.53c1.669-0.557,3.234-0.987,4.784-1.315c0.657-0.125,1.294,0.281,1.433,0.933 c0.138,0.654-0.28,1.296-0.933,1.433c-1.459,0.307-2.937,0.715-4.52,1.244C224.575,495.476,224.445,495.495,224.319,495.495z M248.03,495.481c-0.119,0-0.242-0.017-0.362-0.057c-1.555-0.486-3.088-0.888-4.555-1.188c-0.654-0.135-1.075-0.774-0.941-1.428 c0.135-0.652,0.761-1.072,1.427-0.942c1.548,0.319,3.16,0.739,4.794,1.254c0.636,0.198,0.99,0.878,0.791,1.513 C249.022,495.151,248.545,495.481,248.03,495.481z M121.496,494.806c-0.385,0-0.764-0.184-0.999-0.524 c-0.918-1.341-1.777-2.779-2.55-4.273c-0.306-0.593-0.074-1.322,0.518-1.629c0.595-0.309,1.323-0.076,1.629,0.519 c0.728,1.405,1.535,2.757,2.397,4.013c0.377,0.552,0.236,1.303-0.314,1.681C121.969,494.737,121.731,494.806,121.496,494.806z M238.576,493.576c-0.031,0-0.061,0-0.093-0.002c-1.614-0.123-3.161-0.125-4.658-0.028c-0.696,0.071-1.241-0.463-1.285-1.128 c-0.044-0.666,0.462-1.239,1.127-1.284c1.607-0.106,3.264-0.106,5,0.028c0.666,0.052,1.164,0.633,1.113,1.298 C239.732,493.094,239.202,493.576,238.576,493.576z M117.052,486.253c-0.486,0-0.944-0.295-1.128-0.777 c-0.578-1.509-1.094-3.093-1.535-4.71c-0.176-0.645,0.204-1.31,0.849-1.485c0.646-0.17,1.309,0.205,1.484,0.848 c0.419,1.542,0.91,3.05,1.459,4.483c0.24,0.623-0.073,1.322-0.696,1.561C117.342,486.227,117.196,486.253,117.052,486.253z M114.493,476.939c-0.574,0-1.082-0.408-1.189-0.994c-0.283-1.565-0.513-3.206-0.683-4.88c-0.067-0.666,0.417-1.258,1.081-1.324 c0.676-0.068,1.257,0.418,1.324,1.079c0.163,1.612,0.385,3.192,0.657,4.696c0.118,0.656-0.318,1.284-0.974,1.405 C114.637,476.932,114.563,476.939,114.493,476.939z M113.507,467.326c-0.649,0-1.186-0.517-1.206-1.171 c-0.026-0.789-0.038-1.579-0.038-2.366c0-0.85,0.014-1.697,0.042-2.545c0.022-0.668,0.636-1.173,1.247-1.169 c0.668,0.021,1.191,0.581,1.169,1.249c-0.026,0.819-0.04,1.643-0.04,2.465c0,0.763,0.012,1.525,0.035,2.29 c0.022,0.666-0.502,1.225-1.169,1.247C113.534,467.326,113.52,467.326,113.507,467.326z M113.814,457.667 c-0.037,0-0.073-0.002-0.111-0.005c-0.665-0.061-1.154-0.649-1.094-1.313c0.139-1.535,0.319-3.05,0.534-4.538 c-0.119,0.038-0.238,0.073-0.356,0.109c-0.642,0.189-1.313-0.177-1.501-0.817s0.177-1.313,0.817-1.501 c1.425-0.42,2.859-1.001,4.263-1.728c0.59-0.309,1.321-0.073,1.629,0.519c0.306,0.593,0.074,1.322-0.519,1.629 c-0.686,0.354-1.38,0.678-2.078,0.968c0.158,0.241,0.231,0.536,0.187,0.843c-0.229,1.551-0.42,3.13-0.565,4.734 C114.96,457.195,114.432,457.667,113.814,457.667z M106.169,452.882c-1.149,0-2.32-0.092-3.479-0.274 c-0.66-0.104-1.11-0.722-1.007-1.381c0.105-0.661,0.718-1.103,1.382-1.008c1.048,0.163,2.068,0.257,3.146,0.246 c0.466,0,0.934-0.017,1.402-0.047c0.682-0.033,1.243,0.458,1.287,1.126c0.044,0.666-0.46,1.242-1.126,1.287 C107.237,452.868,106.712,452.92,106.169,452.882z M98.223,451.378c-0.143,0-0.288-0.026-0.43-0.078 c-1.527-0.583-3.051-1.332-4.528-2.231c-0.57-0.345-0.752-1.088-0.405-1.66c0.348-0.571,1.091-0.755,1.661-0.404 c1.352,0.819,2.741,1.504,4.131,2.033c0.624,0.238,0.937,0.937,0.7,1.561C99.169,451.081,98.71,451.378,98.223,451.378z M115.227,448.101c-0.08,0-0.162-0.007-0.243-0.024c-0.654-0.135-1.077-0.774-0.942-1.428c0.336-1.646,0.713-3.241,1.121-4.778 c0.17-0.645,0.829-1.036,1.479-0.857c0.646,0.172,1.029,0.833,0.858,1.48c-0.397,1.49-0.764,3.043-1.091,4.641 C116.293,447.707,115.789,448.101,115.227,448.101z M121.131,447.794c-0.407,0-0.805-0.205-1.033-0.578 c-0.348-0.571-0.168-1.315,0.403-1.662c1.394-0.852,2.717-1.735,3.931-2.628c0.535-0.399,1.294-0.281,1.689,0.26 c0.395,0.538,0.28,1.294-0.259,1.69c-1.269,0.933-2.649,1.853-4.103,2.741C121.563,447.738,121.346,447.794,121.131,447.794z M89.975,446.416c-0.275,0-0.551-0.094-0.778-0.283c-1.241-1.046-2.449-2.212-3.591-3.466c-0.45-0.493-0.414-1.258,0.079-1.707 c0.497-0.451,1.258-0.413,1.708,0.078c1.071,1.176,2.201,2.266,3.362,3.244c0.51,0.432,0.575,1.195,0.145,1.705 C90.662,446.269,90.32,446.416,89.975,446.416z M128.871,442.029c-0.323,0-0.646-0.13-0.883-0.382 c-0.456-0.489-0.43-1.254,0.058-1.709c1.202-1.124,2.255-2.271,3.128-3.411c0.408-0.531,1.165-0.63,1.695-0.227 c0.53,0.406,0.63,1.166,0.224,1.695c-0.955,1.247-2.098,2.495-3.397,3.709C129.464,441.921,129.168,442.029,128.871,442.029z M83.465,439.298c-0.377,0-0.748-0.175-0.984-0.505c-0.948-1.324-1.845-2.734-2.665-4.186c-0.328-0.583-0.123-1.32,0.459-1.648 c0.583-0.328,1.319-0.12,1.647,0.458c0.778,1.379,1.628,2.713,2.526,3.969c0.388,0.543,0.263,1.298-0.28,1.686 C83.955,439.225,83.708,439.298,83.465,439.298z M117.72,438.762c-0.127,0-0.257-0.019-0.385-0.064 c-0.633-0.212-0.974-0.897-0.761-1.53c0.55-1.636,1.138-3.19,1.748-4.613c0.262-0.614,0.969-0.902,1.586-0.637 c0.614,0.262,0.898,0.973,0.636,1.587c-0.585,1.367-1.15,2.859-1.679,4.434C118.696,438.443,118.225,438.762,117.72,438.762z M134.594,434.331c-0.156,0-0.313-0.031-0.465-0.092c-0.616-0.257-0.908-0.966-0.65-1.582c0.544-1.306,0.82-2.55,0.82-3.699 c0-0.153-0.005-0.307-0.015-0.456c-0.05-0.666,0.451-1.244,1.117-1.294c0.698-0.054,1.245,0.451,1.294,1.119 c0.015,0.205,0.022,0.415,0.022,0.63c0,1.471-0.339,3.029-1.007,4.63C135.516,434.052,135.066,434.331,134.594,434.331z M78.714,430.893c-0.467,0-0.912-0.271-1.11-0.727c-0.66-1.52-1.244-3.083-1.738-4.646c-0.202-0.635,0.151-1.315,0.789-1.516 c0.635-0.201,1.316,0.151,1.516,0.789c0.469,1.483,1.025,2.968,1.65,4.41c0.266,0.614-0.015,1.324-0.627,1.591 C79.037,430.86,78.874,430.893,78.714,430.893z M121.574,429.902c-0.205,0-0.414-0.052-0.606-0.163 c-0.577-0.335-0.774-1.074-0.439-1.653c1.051-1.811,2.108-3.204,3.145-4.136c0.496-0.446,1.261-0.408,1.707,0.092 c0.447,0.496,0.406,1.258-0.09,1.707c-0.836,0.751-1.76,1.978-2.67,3.551C122.397,429.687,121.991,429.902,121.574,429.902z M133.437,425.402c-0.266,0-0.534-0.087-0.758-0.267c-0.933-0.753-2.198-1.077-3.658-0.911c-0.673,0.102-1.265-0.397-1.342-1.058 c-0.078-0.663,0.397-1.263,1.059-1.341c2.133-0.26,4.018,0.264,5.459,1.426c0.519,0.42,0.601,1.18,0.182,1.7 C134.141,425.248,133.791,425.402,133.437,425.402z M75.817,421.683c-0.565,0-1.069-0.397-1.184-0.973 c-0.329-1.653-0.557-3.312-0.679-4.934c-0.05-0.666,0.45-1.244,1.114-1.296c0.685-0.028,1.248,0.451,1.296,1.117 c0.115,1.523,0.329,3.086,0.639,4.641c0.131,0.654-0.295,1.291-0.949,1.421C75.974,421.676,75.895,421.683,75.817,421.683z M75.123,412.063c-0.026,0-0.051,0-0.077-0.002c-0.666-0.043-1.172-0.616-1.131-1.282c0.106-1.707,0.344-3.381,0.704-4.972 c0.148-0.652,0.794-1.069,1.446-0.911c0.652,0.146,1.06,0.793,0.912,1.445c-0.333,1.466-0.551,3.01-0.649,4.589 C76.288,411.57,75.756,412.063,75.123,412.063z M77.288,402.69c-0.161,0-0.323-0.033-0.48-0.099 c-0.613-0.267-0.894-0.98-0.627-1.591c0.545-1.256,1.192-2.462,1.922-3.584l0.55-0.826c0.378-0.55,1.13-0.689,1.681-0.316 c0.551,0.378,0.693,1.128,0.316,1.681l-0.522,0.781c-0.655,1.006-1.237,2.094-1.73,3.227C78.2,402.419,77.755,402.69,77.288,402.69 z M82.639,394.687c-0.288,0-0.577-0.102-0.809-0.309c-0.496-0.449-0.536-1.211-0.09-1.707c1.11-1.235,2.311-2.406,3.572-3.48 c0.506-0.437,1.268-0.375,1.705,0.135c0.433,0.508,0.373,1.27-0.135,1.702c-1.18,1.008-2.307,2.104-3.345,3.258 C83.299,394.553,82.969,394.687,82.639,394.687z M89.963,388.421c-0.394,0-0.78-0.191-1.013-0.548 c-0.366-0.557-0.209-1.306,0.349-1.671c1.368-0.897,2.82-1.728,4.316-2.474c0.602-0.302,1.326-0.052,1.621,0.541 c0.299,0.6,0.055,1.324-0.542,1.622c-1.412,0.704-2.781,1.49-4.07,2.333C90.42,388.358,90.19,388.421,89.963,388.421z M98.592,384.103c-0.491,0-0.953-0.3-1.133-0.789c-0.233-0.626,0.087-1.322,0.713-1.553c1.518-0.564,3.106-1.067,4.721-1.494 c0.637-0.175,1.306,0.212,1.478,0.859c0.171,0.645-0.214,1.306-0.858,1.478c-1.54,0.408-3.054,0.888-4.5,1.424 C98.874,384.08,98.732,384.103,98.592,384.103z M107.926,381.613c-0.577,0-1.087-0.413-1.19-1.001 c-0.115-0.659,0.326-1.284,0.983-1.398c1.598-0.279,3.245-0.498,4.893-0.649c0.691-0.043,1.254,0.43,1.315,1.093 c0.06,0.666-0.428,1.254-1.093,1.315c-1.584,0.144-3.165,0.354-4.699,0.621C108.064,381.608,107.994,381.613,107.926,381.613z M122.388,380.893c-0.045,0-0.089-0.002-0.133-0.007c-0.015-0.002-1.532-0.165-3.987-0.165l-0.673,0.005l-0.052-2.418l0.725-0.005 c2.602,0,4.187,0.172,4.253,0.179c0.663,0.073,1.141,0.67,1.068,1.334C123.52,380.435,122.996,380.893,122.388,380.893z" />
127
+ </g>
128
+
129
+
130
+
131
+
132
+
133
+
134
+
135
+
136
+
137
+
138
+
139
+
140
+
141
+
142
+
143
+ </svg>
@@ -0,0 +1,57 @@
1
+ import React from "react";
2
+
3
+ import { TransformWrapper } from "components/transform-wrapper/transform-wrapper";
4
+ import { TransformComponent } from "components/transform-component/transform-component";
5
+ import { normalizeArgs } from "../../utils";
6
+ import { ReactComponent as Creativity } from "./creativity.svg";
7
+
8
+ import styles from "../../utils/styles.module.css";
9
+
10
+ export const Example: React.FC<any> = (args: any) => {
11
+ return (
12
+ <TransformWrapper {...normalizeArgs(args)}>
13
+ {({ zoomToElement, resetTransform }) => (
14
+ <>
15
+ <div>
16
+ <button
17
+ type="button"
18
+ className={styles.controlBtn}
19
+ onClick={() => zoomToElement("element1")}
20
+ >
21
+ Zoom to Cloud
22
+ </button>
23
+ <button
24
+ type="button"
25
+ className={styles.controlBtn}
26
+ onClick={() => zoomToElement("element2")}
27
+ >
28
+ Zoom to Face
29
+ </button>
30
+ <button
31
+ type="button"
32
+ className={styles.controlBtn}
33
+ onClick={() => zoomToElement("element3")}
34
+ >
35
+ Zoom to Plane
36
+ </button>
37
+ <button
38
+ type="button"
39
+ className={styles.controlBtn}
40
+ onClick={() => resetTransform()}
41
+ >
42
+ Reset
43
+ </button>
44
+ </div>
45
+ <TransformComponent
46
+ wrapperStyle={{
47
+ maxWidth: "100%",
48
+ maxHeight: "calc(100vh - 50px)",
49
+ }}
50
+ >
51
+ <Creativity />
52
+ </TransformComponent>
53
+ </>
54
+ )}
55
+ </TransformWrapper>
56
+ );
57
+ };
@@ -0,0 +1,28 @@
1
+ import { Meta, Story, ArgsTable, Canvas } from "@storybook/addon-docs/blocks";
2
+ import { action } from "@storybook/addon-actions";
3
+
4
+ import { TransformWrapper, TransformComponent } from "../../../components";
5
+ import { argsTypes } from "../../types/args.types";
6
+ import { Example } from "./example";
7
+
8
+ export const Template = (args) => <Example {...args} />;
9
+
10
+ <Meta
11
+ title="Examples/SVG Zoom To Element"
12
+ component={TransformWrapper}
13
+ argTypes={argsTypes}
14
+ />
15
+
16
+ # SVG Zoom To Element
17
+
18
+ <br />
19
+
20
+ ### Preview:
21
+
22
+ <Canvas>
23
+ <Story name="SVG Zoom To Element">{(args) => <Template {...args} />}</Story>
24
+ </Canvas>
25
+
26
+ ## Component API
27
+
28
+ <ArgsTable story="SVG Zoom To Element" />
@@ -0,0 +1,94 @@
1
+ import React from "react";
2
+
3
+ import { TransformComponent, TransformWrapper } from "components";
4
+ import { normalizeArgs } from "../../utils";
5
+
6
+ import styles from "../../utils/styles.module.css";
7
+
8
+ export const Example: React.FC<any> = (args: any) => {
9
+ return (
10
+ <TransformWrapper {...normalizeArgs(args)}>
11
+ {({ zoomToElement, resetTransform }) => (
12
+ <>
13
+ <div>
14
+ <button
15
+ type="button"
16
+ className={styles.controlBtn}
17
+ onClick={() => zoomToElement("element1")}
18
+ >
19
+ Zoom to element 1
20
+ </button>
21
+ <button
22
+ type="button"
23
+ className={styles.controlBtn}
24
+ onClick={() => zoomToElement("element2")}
25
+ >
26
+ Zoom to element 2
27
+ </button>
28
+ <button
29
+ type="button"
30
+ className={styles.controlBtn}
31
+ onClick={() => zoomToElement("element3")}
32
+ >
33
+ Zoom to element 3
34
+ </button>
35
+ <button
36
+ type="button"
37
+ className={styles.controlBtn}
38
+ onClick={() => resetTransform()}
39
+ >
40
+ Reset
41
+ </button>
42
+ </div>
43
+ <TransformComponent
44
+ wrapperStyle={{
45
+ maxWidth: "100%",
46
+ maxHeight: "calc(100vh - 50px)",
47
+ }}
48
+ >
49
+ <div
50
+ style={{
51
+ background: "#444",
52
+ color: "white",
53
+ padding: "50px",
54
+ minHeight: "300px",
55
+ width: "100%",
56
+ }}
57
+ >
58
+ <div
59
+ id="element1"
60
+ style={{ background: "red", width: "200px", height: "400px" }}
61
+ >
62
+ Zoom element 1
63
+ </div>
64
+ <div
65
+ id="element2"
66
+ style={{
67
+ background: "blue",
68
+ width: "250px",
69
+ height: "150px",
70
+ marginTop: "200px",
71
+ marginLeft: "200px",
72
+ }}
73
+ >
74
+ Zoom element 2
75
+ </div>
76
+ <div
77
+ id="element3"
78
+ style={{
79
+ background: "green",
80
+ width: "150px",
81
+ height: "150px",
82
+ marginTop: "200px",
83
+ marginLeft: "500px",
84
+ }}
85
+ >
86
+ Zoom element 3
87
+ </div>
88
+ </div>
89
+ </TransformComponent>
90
+ </>
91
+ )}
92
+ </TransformWrapper>
93
+ );
94
+ };
@@ -0,0 +1,28 @@
1
+ import { Meta, Story, ArgsTable, Canvas } from "@storybook/addon-docs/blocks";
2
+ import { action } from "@storybook/addon-actions";
3
+
4
+ import { TransformWrapper, TransformComponent } from "../../../components";
5
+ import { argsTypes } from "../../types/args.types";
6
+ import { Example } from "./example";
7
+
8
+ export const Template = (args) => <Example {...args} />;
9
+
10
+ <Meta
11
+ title="Examples/Zoom To Element"
12
+ component={TransformWrapper}
13
+ argTypes={argsTypes}
14
+ />
15
+
16
+ # Zoom To Element
17
+
18
+ <br />
19
+
20
+ ### Preview:
21
+
22
+ <Canvas>
23
+ <Story name="Zoom To Element">{(args) => <Template {...args} />}</Story>
24
+ </Canvas>
25
+
26
+ ## Component API
27
+
28
+ <ArgsTable story="Zoom To Element" />
@@ -0,0 +1,24 @@
1
+ import { Meta } from "@storybook/addon-docs/blocks";
2
+
3
+ <Meta title="Hooks/useControls" />
4
+
5
+ # useControls
6
+
7
+ Simple and easy access to the helpers inside of the `TransformWrapper`.
8
+
9
+ ### Example
10
+
11
+ ```tsx
12
+ const App = () => {
13
+ // Simple access to the helpers
14
+ const { instance, zoomIn, zoomOut, ...rest } = useControls();
15
+
16
+ // ...
17
+
18
+ return (
19
+ <button type="button" onClick={() => zoomIn()}>
20
+ Zoom in
21
+ </button>
22
+ );
23
+ };
24
+ ```
@@ -0,0 +1,15 @@
1
+ import { Meta } from "@storybook/addon-docs/blocks";
2
+
3
+ <Meta title="Hooks/useTransformContext" />
4
+
5
+ # useTransformContext
6
+
7
+ Use the direct access to the `Zoom-Pan-Pinch instance` and create your own hooks
8
+ and logic with ease.
9
+
10
+ ### Example
11
+
12
+ ```tsx
13
+ // Simple access to the context instance
14
+ const context = useTransformContext();
15
+ ```
@@ -0,0 +1,29 @@
1
+ import { Meta } from "@storybook/addon-docs/blocks";
2
+
3
+ <Meta title="Hooks/useTransformEffect" />
4
+
5
+ # useTransformEffect
6
+
7
+ This hooks allows to easily connect with lifecycle into the Zoom-Pan-Pinch
8
+ state. It will trigger provided callback every time the transform state is
9
+ changed.
10
+
11
+ It will not affect rerendering so you can control the way you use received data.
12
+
13
+ ### Example
14
+
15
+ ```tsx
16
+ const App = () => {
17
+ // It will trigger every time you interact with transform-component
18
+ // At the same time it will not cause rerendering so you can control it on your own
19
+ useTransformEffect(({ state, instance }) => {
20
+ console.log(state); // { previousScale: 1, scale: 1, positionX: 0, positionY: 0 }
21
+
22
+ return () => {
23
+ // unmount
24
+ };
25
+ });
26
+
27
+ return (...)
28
+ };
29
+ ```
@@ -0,0 +1,25 @@
1
+ import { Meta } from "@storybook/addon-docs/blocks";
2
+
3
+ <Meta title="Hooks/useTransformInit" />
4
+
5
+ # useTransformInit
6
+
7
+ Triggered when components are initialized.
8
+
9
+ ### Example
10
+
11
+ ```tsx
12
+ const App = () => {
13
+ // It will trigger every time you interact with transform-component
14
+ // At the same time it will not cause rerendering so you can control it on your own
15
+ useTransformInit(({ state, instance }) => {
16
+ console.log(state); // { previousScale: 1, scale: 1, positionX: 0, positionY: 0 }
17
+
18
+ return () => {
19
+ // unmount
20
+ };
21
+ });
22
+
23
+ return (...)
24
+ };
25
+ ```