@tsparticles/shape-cards 3.2.2 → 3.4.0

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 (44) hide show
  1. package/browser/ClubDrawer.js +5 -2
  2. package/browser/DiamondDrawer.js +5 -2
  3. package/browser/HeartDrawer.js +5 -2
  4. package/browser/SpadeDrawer.js +5 -2
  5. package/browser/index.js +8 -5
  6. package/cjs/ClubDrawer.js +6 -26
  7. package/cjs/DiamondDrawer.js +6 -26
  8. package/cjs/HeartDrawer.js +6 -26
  9. package/cjs/SpadeDrawer.js +6 -26
  10. package/cjs/index.js +8 -28
  11. package/esm/ClubDrawer.js +5 -2
  12. package/esm/DiamondDrawer.js +5 -2
  13. package/esm/HeartDrawer.js +5 -2
  14. package/esm/SpadeDrawer.js +5 -2
  15. package/esm/index.js +8 -5
  16. package/package.json +2 -2
  17. package/report.html +1 -1
  18. package/tsparticles.shape.cards.js +52 -200
  19. package/tsparticles.shape.cards.min.js +1 -1
  20. package/tsparticles.shape.cards.min.js.LICENSE.txt +1 -1
  21. package/types/ClubDrawer.d.ts +2 -1
  22. package/types/DiamondDrawer.d.ts +2 -1
  23. package/types/HeartDrawer.d.ts +2 -1
  24. package/types/SpadeDrawer.d.ts +2 -1
  25. package/umd/ClubDrawer.js +7 -28
  26. package/umd/DiamondDrawer.js +7 -28
  27. package/umd/HeartDrawer.js +7 -28
  28. package/umd/SpadeDrawer.js +7 -28
  29. package/umd/index.js +9 -30
  30. package/103.min.js +0 -2
  31. package/103.min.js.LICENSE.txt +0 -1
  32. package/370.min.js +0 -2
  33. package/370.min.js.LICENSE.txt +0 -1
  34. package/48.min.js +0 -2
  35. package/48.min.js.LICENSE.txt +0 -1
  36. package/895.min.js +0 -2
  37. package/895.min.js.LICENSE.txt +0 -1
  38. package/951.min.js +0 -2
  39. package/951.min.js.LICENSE.txt +0 -1
  40. package/dist_browser_ClubDrawer_js.js +0 -30
  41. package/dist_browser_DiamondDrawer_js.js +0 -30
  42. package/dist_browser_HeartDrawer_js.js +0 -30
  43. package/dist_browser_SpadeDrawer_js.js +0 -30
  44. package/dist_browser_Utils_js.js +0 -30
package/umd/index.js CHANGED
@@ -1,45 +1,24 @@
1
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
2
- if (k2 === undefined) k2 = k;
3
- var desc = Object.getOwnPropertyDescriptor(m, k);
4
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
5
- desc = { enumerable: true, get: function() { return m[k]; } };
6
- }
7
- Object.defineProperty(o, k2, desc);
8
- }) : (function(o, m, k, k2) {
9
- if (k2 === undefined) k2 = k;
10
- o[k2] = m[k];
11
- }));
12
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
13
- Object.defineProperty(o, "default", { enumerable: true, value: v });
14
- }) : function(o, v) {
15
- o["default"] = v;
16
- });
17
- var __importStar = (this && this.__importStar) || function (mod) {
18
- if (mod && mod.__esModule) return mod;
19
- var result = {};
20
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
21
- __setModuleDefault(result, mod);
22
- return result;
23
- };
24
1
  (function (factory) {
25
2
  if (typeof module === "object" && typeof module.exports === "object") {
26
3
  var v = factory(require, exports);
27
4
  if (v !== undefined) module.exports = v;
28
5
  }
29
6
  else if (typeof define === "function" && define.amd) {
30
- define(["require", "exports"], factory);
7
+ define(["require", "exports", "./ClubDrawer.js", "./DiamondDrawer.js", "./HeartDrawer.js", "./SpadeDrawer.js"], factory);
31
8
  }
32
9
  })(function (require, exports) {
33
10
  "use strict";
34
- var __syncRequire = typeof module === "object" && typeof module.exports === "object";
35
11
  Object.defineProperty(exports, "__esModule", { value: true });
36
12
  exports.loadCardsShape = void 0;
13
+ const ClubDrawer_js_1 = require("./ClubDrawer.js");
14
+ const DiamondDrawer_js_1 = require("./DiamondDrawer.js");
15
+ const HeartDrawer_js_1 = require("./HeartDrawer.js");
16
+ const SpadeDrawer_js_1 = require("./SpadeDrawer.js");
37
17
  async function loadCardsShape(engine, refresh = true) {
38
- const { SpadeDrawer } = await (__syncRequire ? Promise.resolve().then(() => __importStar(require("./SpadeDrawer.js"))) : new Promise((resolve_1, reject_1) => { require(["./SpadeDrawer.js"], resolve_1, reject_1); }).then(__importStar)), { HeartDrawer } = await (__syncRequire ? Promise.resolve().then(() => __importStar(require("./HeartDrawer.js"))) : new Promise((resolve_2, reject_2) => { require(["./HeartDrawer.js"], resolve_2, reject_2); }).then(__importStar)), { DiamondDrawer } = await (__syncRequire ? Promise.resolve().then(() => __importStar(require("./DiamondDrawer.js"))) : new Promise((resolve_3, reject_3) => { require(["./DiamondDrawer.js"], resolve_3, reject_3); }).then(__importStar)), { ClubDrawer } = await (__syncRequire ? Promise.resolve().then(() => __importStar(require("./ClubDrawer.js"))) : new Promise((resolve_4, reject_4) => { require(["./ClubDrawer.js"], resolve_4, reject_4); }).then(__importStar));
39
- await engine.addShape(["spade", "spades"], new SpadeDrawer(), refresh);
40
- await engine.addShape(["heart", "hearts"], new HeartDrawer(), refresh);
41
- await engine.addShape(["diamond", "diamonds"], new DiamondDrawer(), refresh);
42
- await engine.addShape(["club", "clubs"], new ClubDrawer(), refresh);
18
+ await engine.addShape(new SpadeDrawer_js_1.SpadeDrawer(), refresh);
19
+ await engine.addShape(new HeartDrawer_js_1.HeartDrawer(), refresh);
20
+ await engine.addShape(new DiamondDrawer_js_1.DiamondDrawer(), refresh);
21
+ await engine.addShape(new ClubDrawer_js_1.ClubDrawer(), refresh);
43
22
  }
44
23
  exports.loadCardsShape = loadCardsShape;
45
24
  });
package/103.min.js DELETED
@@ -1,2 +0,0 @@
1
- /*! For license information please see 103.min.js.LICENSE.txt */
2
- (this.webpackChunk_tsparticles_shape_cards=this.webpackChunk_tsparticles_shape_cards||[]).push([[103],{103:(e,x,s)=>{function y(e,x){if(!x.segments.length||!x.segments[0].values.length)return;const{context:s,radius:y}=e;s.moveTo(x.segments[0].values[0].x*y,x.segments[0].values[0].y*y);for(const e of x.segments)s.bezierCurveTo(e.values[1].x*y,e.values[1].y*y,e.values[2].x*y,e.values[2].y*y,e.values[3].x*y,e.values[3].y*y);for(let e=x.segments.length-1;e>=0;e--){const a=x.segments[e];s.bezierCurveTo(-a.values[2].x*y,a.values[2].y*y,-a.values[1].x*y,a.values[1].y*y,-a.values[0].x*y,a.values[0].y*y)}}s.d(x,{drawPath:()=>y,paths:()=>u});const a=.5,u={heart:{segments:[{values:[{x:0,y:a},{x:0,y:a},{x:a,y:0},{x:a,y:-a/2}]},{values:[{x:a,y:-a/2},{x:a,y:-a/2},{x:a,y:-a},{x:a/2,y:-a}]},{values:[{x:a/2,y:-a},{x:a/2,y:-a},{x:0,y:-a},{x:0,y:-a/2}]}]},diamond:{segments:[{values:[{x:0,y:a},{x:0,y:a},{x:.375,y:0},{x:.375,y:0}]},{values:[{x:.375,y:0},{x:.375,y:0},{x:0,y:-a},{x:0,y:-a}]}]},club:{segments:[{values:[{x:0,y:-a},{x:0,y:-a},{x:a/2,y:-a},{x:a/2,y:-a/2}]},{values:[{x:a/2,y:-a/2},{x:a/2,y:-a/2},{x:a,y:-a/2},{x:a,y:0}]},{values:[{x:a,y:0},{x:a,y:0},{x:a,y:a/2},{x:a/2,y:a/2}]},{values:[{x:a/2,y:a/2},{x:a/2,y:a/2},{x:a/8,y:a/2},{x:a/8,y:a/8}]},{values:[{x:a/8,y:a/8},{x:a/8,y:a/2},{x:a/2,y:a},{x:a/2,y:a}]},{values:[{x:a/2,y:a},{x:a/2,y:a},{x:0,y:a},{x:0,y:a}]}]},spade:{segments:[{values:[{x:0,y:-a},{x:0,y:-a},{x:a,y:-a/2},{x:a,y:0}]},{values:[{x:a,y:0},{x:a,y:0},{x:a,y:a/2},{x:a/2,y:a/2}]},{values:[{x:a/2,y:a/2},{x:a/2,y:a/2},{x:a/8,y:a/2},{x:a/8,y:a/8}]},{values:[{x:a/8,y:a/8},{x:a/8,y:a/2},{x:a/2,y:a},{x:a/2,y:a}]},{values:[{x:a/2,y:a},{x:a/2,y:a},{x:0,y:a},{x:0,y:a}]}]}}}}]);
@@ -1 +0,0 @@
1
- /*! tsParticles Cards Shape v3.2.2 by Matteo Bruni */
package/370.min.js DELETED
@@ -1,2 +0,0 @@
1
- /*! For license information please see 370.min.js.LICENSE.txt */
2
- (this.webpackChunk_tsparticles_shape_cards=this.webpackChunk_tsparticles_shape_cards||[]).push([[370],{370:(a,s,t)=>{t.d(s,{DiamondDrawer:()=>h});class h{async draw(a){const{drawPath:s,paths:h}=await t.e(103).then(t.bind(t,103));s(a,h.diamond)}}}}]);
@@ -1 +0,0 @@
1
- /*! tsParticles Cards Shape v3.2.2 by Matteo Bruni */
package/48.min.js DELETED
@@ -1,2 +0,0 @@
1
- /*! For license information please see 48.min.js.LICENSE.txt */
2
- (this.webpackChunk_tsparticles_shape_cards=this.webpackChunk_tsparticles_shape_cards||[]).push([[48],{48:(a,s,t)=>{t.d(s,{ClubDrawer:()=>c});class c{async draw(a){const{drawPath:s,paths:c}=await t.e(103).then(t.bind(t,103));s(a,c.club)}}}}]);
@@ -1 +0,0 @@
1
- /*! tsParticles Cards Shape v3.2.2 by Matteo Bruni */
package/895.min.js DELETED
@@ -1,2 +0,0 @@
1
- /*! For license information please see 895.min.js.LICENSE.txt */
2
- (this.webpackChunk_tsparticles_shape_cards=this.webpackChunk_tsparticles_shape_cards||[]).push([[895],{895:(a,s,t)=>{t.d(s,{HeartDrawer:()=>e});class e{async draw(a){const{drawPath:s,paths:e}=await t.e(103).then(t.bind(t,103));s(a,e.heart)}}}}]);
@@ -1 +0,0 @@
1
- /*! tsParticles Cards Shape v3.2.2 by Matteo Bruni */
package/951.min.js DELETED
@@ -1,2 +0,0 @@
1
- /*! For license information please see 951.min.js.LICENSE.txt */
2
- (this.webpackChunk_tsparticles_shape_cards=this.webpackChunk_tsparticles_shape_cards||[]).push([[951],{951:(a,s,e)=>{e.d(s,{SpadeDrawer:()=>t});class t{async draw(a){const{drawPath:s,paths:t}=await e.e(103).then(e.bind(e,103));s(a,t.spade)}}}}]);
@@ -1 +0,0 @@
1
- /*! tsParticles Cards Shape v3.2.2 by Matteo Bruni */
@@ -1,30 +0,0 @@
1
- /*!
2
- * Author : Matteo Bruni
3
- * MIT license: https://opensource.org/licenses/MIT
4
- * Demo / Generator : https://particles.js.org/
5
- * GitHub : https://www.github.com/matteobruni/tsparticles
6
- * How to use? : Check the GitHub README
7
- * v3.2.2
8
- */
9
- "use strict";
10
- /*
11
- * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
12
- * This devtool is neither made for production nor for readable output files.
13
- * It uses "eval()" calls to create a separate source file in the browser devtools.
14
- * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
15
- * or disable the default devtool with "devtool: false".
16
- * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
17
- */
18
- (this["webpackChunk_tsparticles_shape_cards"] = this["webpackChunk_tsparticles_shape_cards"] || []).push([["dist_browser_ClubDrawer_js"],{
19
-
20
- /***/ "./dist/browser/ClubDrawer.js":
21
- /*!************************************!*\
22
- !*** ./dist/browser/ClubDrawer.js ***!
23
- \************************************/
24
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
25
-
26
- eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ ClubDrawer: () => (/* binding */ ClubDrawer)\n/* harmony export */ });\nclass ClubDrawer {\n async draw(data) {\n const {\n drawPath,\n paths\n } = await __webpack_require__.e(/*! import() */ \"dist_browser_Utils_js\").then(__webpack_require__.bind(__webpack_require__, /*! ./Utils.js */ \"./dist/browser/Utils.js\"));\n drawPath(data, paths.club);\n }\n}\n\n//# sourceURL=webpack://@tsparticles/shape-cards/./dist/browser/ClubDrawer.js?");
27
-
28
- /***/ })
29
-
30
- }]);
@@ -1,30 +0,0 @@
1
- /*!
2
- * Author : Matteo Bruni
3
- * MIT license: https://opensource.org/licenses/MIT
4
- * Demo / Generator : https://particles.js.org/
5
- * GitHub : https://www.github.com/matteobruni/tsparticles
6
- * How to use? : Check the GitHub README
7
- * v3.2.2
8
- */
9
- "use strict";
10
- /*
11
- * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
12
- * This devtool is neither made for production nor for readable output files.
13
- * It uses "eval()" calls to create a separate source file in the browser devtools.
14
- * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
15
- * or disable the default devtool with "devtool: false".
16
- * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
17
- */
18
- (this["webpackChunk_tsparticles_shape_cards"] = this["webpackChunk_tsparticles_shape_cards"] || []).push([["dist_browser_DiamondDrawer_js"],{
19
-
20
- /***/ "./dist/browser/DiamondDrawer.js":
21
- /*!***************************************!*\
22
- !*** ./dist/browser/DiamondDrawer.js ***!
23
- \***************************************/
24
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
25
-
26
- eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ DiamondDrawer: () => (/* binding */ DiamondDrawer)\n/* harmony export */ });\nclass DiamondDrawer {\n async draw(data) {\n const {\n drawPath,\n paths\n } = await __webpack_require__.e(/*! import() */ \"dist_browser_Utils_js\").then(__webpack_require__.bind(__webpack_require__, /*! ./Utils.js */ \"./dist/browser/Utils.js\"));\n drawPath(data, paths.diamond);\n }\n}\n\n//# sourceURL=webpack://@tsparticles/shape-cards/./dist/browser/DiamondDrawer.js?");
27
-
28
- /***/ })
29
-
30
- }]);
@@ -1,30 +0,0 @@
1
- /*!
2
- * Author : Matteo Bruni
3
- * MIT license: https://opensource.org/licenses/MIT
4
- * Demo / Generator : https://particles.js.org/
5
- * GitHub : https://www.github.com/matteobruni/tsparticles
6
- * How to use? : Check the GitHub README
7
- * v3.2.2
8
- */
9
- "use strict";
10
- /*
11
- * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
12
- * This devtool is neither made for production nor for readable output files.
13
- * It uses "eval()" calls to create a separate source file in the browser devtools.
14
- * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
15
- * or disable the default devtool with "devtool: false".
16
- * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
17
- */
18
- (this["webpackChunk_tsparticles_shape_cards"] = this["webpackChunk_tsparticles_shape_cards"] || []).push([["dist_browser_HeartDrawer_js"],{
19
-
20
- /***/ "./dist/browser/HeartDrawer.js":
21
- /*!*************************************!*\
22
- !*** ./dist/browser/HeartDrawer.js ***!
23
- \*************************************/
24
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
25
-
26
- eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ HeartDrawer: () => (/* binding */ HeartDrawer)\n/* harmony export */ });\nclass HeartDrawer {\n async draw(data) {\n const {\n drawPath,\n paths\n } = await __webpack_require__.e(/*! import() */ \"dist_browser_Utils_js\").then(__webpack_require__.bind(__webpack_require__, /*! ./Utils.js */ \"./dist/browser/Utils.js\"));\n drawPath(data, paths.heart);\n }\n}\n\n//# sourceURL=webpack://@tsparticles/shape-cards/./dist/browser/HeartDrawer.js?");
27
-
28
- /***/ })
29
-
30
- }]);
@@ -1,30 +0,0 @@
1
- /*!
2
- * Author : Matteo Bruni
3
- * MIT license: https://opensource.org/licenses/MIT
4
- * Demo / Generator : https://particles.js.org/
5
- * GitHub : https://www.github.com/matteobruni/tsparticles
6
- * How to use? : Check the GitHub README
7
- * v3.2.2
8
- */
9
- "use strict";
10
- /*
11
- * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
12
- * This devtool is neither made for production nor for readable output files.
13
- * It uses "eval()" calls to create a separate source file in the browser devtools.
14
- * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
15
- * or disable the default devtool with "devtool: false".
16
- * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
17
- */
18
- (this["webpackChunk_tsparticles_shape_cards"] = this["webpackChunk_tsparticles_shape_cards"] || []).push([["dist_browser_SpadeDrawer_js"],{
19
-
20
- /***/ "./dist/browser/SpadeDrawer.js":
21
- /*!*************************************!*\
22
- !*** ./dist/browser/SpadeDrawer.js ***!
23
- \*************************************/
24
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
25
-
26
- eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ SpadeDrawer: () => (/* binding */ SpadeDrawer)\n/* harmony export */ });\nclass SpadeDrawer {\n async draw(data) {\n const {\n drawPath,\n paths\n } = await __webpack_require__.e(/*! import() */ \"dist_browser_Utils_js\").then(__webpack_require__.bind(__webpack_require__, /*! ./Utils.js */ \"./dist/browser/Utils.js\"));\n drawPath(data, paths.spade);\n }\n}\n\n//# sourceURL=webpack://@tsparticles/shape-cards/./dist/browser/SpadeDrawer.js?");
27
-
28
- /***/ })
29
-
30
- }]);
@@ -1,30 +0,0 @@
1
- /*!
2
- * Author : Matteo Bruni
3
- * MIT license: https://opensource.org/licenses/MIT
4
- * Demo / Generator : https://particles.js.org/
5
- * GitHub : https://www.github.com/matteobruni/tsparticles
6
- * How to use? : Check the GitHub README
7
- * v3.2.2
8
- */
9
- "use strict";
10
- /*
11
- * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
12
- * This devtool is neither made for production nor for readable output files.
13
- * It uses "eval()" calls to create a separate source file in the browser devtools.
14
- * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
15
- * or disable the default devtool with "devtool: false".
16
- * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
17
- */
18
- (this["webpackChunk_tsparticles_shape_cards"] = this["webpackChunk_tsparticles_shape_cards"] || []).push([["dist_browser_Utils_js"],{
19
-
20
- /***/ "./dist/browser/Utils.js":
21
- /*!*******************************!*\
22
- !*** ./dist/browser/Utils.js ***!
23
- \*******************************/
24
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
25
-
26
- eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ drawPath: () => (/* binding */ drawPath),\n/* harmony export */ paths: () => (/* binding */ paths)\n/* harmony export */ });\nfunction drawPath(data, path) {\n if (!path.segments.length || !path.segments[0].values.length) {\n return;\n }\n const {\n context,\n radius\n } = data;\n context.moveTo(path.segments[0].values[0].x * radius, path.segments[0].values[0].y * radius);\n for (const segment of path.segments) {\n context.bezierCurveTo(segment.values[1].x * radius, segment.values[1].y * radius, segment.values[2].x * radius, segment.values[2].y * radius, segment.values[3].x * radius, segment.values[3].y * radius);\n }\n for (let i = path.segments.length - 1; i >= 0; i--) {\n const segment = path.segments[i];\n context.bezierCurveTo(-segment.values[2].x * radius, segment.values[2].y * radius, -segment.values[1].x * radius, segment.values[1].y * radius, -segment.values[0].x * radius, segment.values[0].y * radius);\n }\n}\nconst n = 1.0 / 2;\nconst paths = {\n heart: {\n segments: [{\n values: [{\n x: 0,\n y: n\n }, {\n x: 0,\n y: n\n }, {\n x: n,\n y: 0\n }, {\n x: n,\n y: -n / 2\n }]\n }, {\n values: [{\n x: n,\n y: -n / 2\n }, {\n x: n,\n y: -n / 2\n }, {\n x: n,\n y: -n\n }, {\n x: n / 2,\n y: -n\n }]\n }, {\n values: [{\n x: n / 2,\n y: -n\n }, {\n x: n / 2,\n y: -n\n }, {\n x: 0,\n y: -n\n }, {\n x: 0,\n y: -n / 2\n }]\n }]\n },\n diamond: {\n segments: [{\n values: [{\n x: 0,\n y: n\n }, {\n x: 0,\n y: n\n }, {\n x: 3 * n / 4,\n y: 0\n }, {\n x: 3 * n / 4,\n y: 0\n }]\n }, {\n values: [{\n x: 3 * n / 4,\n y: 0\n }, {\n x: 3 * n / 4,\n y: 0\n }, {\n x: 0,\n y: -n\n }, {\n x: 0,\n y: -n\n }]\n }]\n },\n club: {\n segments: [{\n values: [{\n x: 0,\n y: -n\n }, {\n x: 0,\n y: -n\n }, {\n x: n / 2,\n y: -n\n }, {\n x: n / 2,\n y: -n / 2\n }]\n }, {\n values: [{\n x: n / 2,\n y: -n / 2\n }, {\n x: n / 2,\n y: -n / 2\n }, {\n x: n,\n y: -n / 2\n }, {\n x: n,\n y: 0\n }]\n }, {\n values: [{\n x: n,\n y: 0\n }, {\n x: n,\n y: 0\n }, {\n x: n,\n y: n / 2\n }, {\n x: n / 2,\n y: n / 2\n }]\n }, {\n values: [{\n x: n / 2,\n y: n / 2\n }, {\n x: n / 2,\n y: n / 2\n }, {\n x: n / 8,\n y: n / 2\n }, {\n x: n / 8,\n y: n / 8\n }]\n }, {\n values: [{\n x: n / 8,\n y: n / 8\n }, {\n x: n / 8,\n y: n / 2\n }, {\n x: n / 2,\n y: n\n }, {\n x: n / 2,\n y: n\n }]\n }, {\n values: [{\n x: n / 2,\n y: n\n }, {\n x: n / 2,\n y: n\n }, {\n x: 0,\n y: n\n }, {\n x: 0,\n y: n\n }]\n }]\n },\n spade: {\n segments: [{\n values: [{\n x: 0,\n y: -n\n }, {\n x: 0,\n y: -n\n }, {\n x: n,\n y: -n / 2\n }, {\n x: n,\n y: 0\n }]\n }, {\n values: [{\n x: n,\n y: 0\n }, {\n x: n,\n y: 0\n }, {\n x: n,\n y: n / 2\n }, {\n x: n / 2,\n y: n / 2\n }]\n }, {\n values: [{\n x: n / 2,\n y: n / 2\n }, {\n x: n / 2,\n y: n / 2\n }, {\n x: n / 8,\n y: n / 2\n }, {\n x: n / 8,\n y: n / 8\n }]\n }, {\n values: [{\n x: n / 8,\n y: n / 8\n }, {\n x: n / 8,\n y: n / 2\n }, {\n x: n / 2,\n y: n\n }, {\n x: n / 2,\n y: n\n }]\n }, {\n values: [{\n x: n / 2,\n y: n\n }, {\n x: n / 2,\n y: n\n }, {\n x: 0,\n y: n\n }, {\n x: 0,\n y: n\n }]\n }]\n }\n};\n\n//# sourceURL=webpack://@tsparticles/shape-cards/./dist/browser/Utils.js?");
27
-
28
- /***/ })
29
-
30
- }]);