{"version":3,"file":"index-5a5771f4.js","sources":["../../../app/javascript/src/components/widgets/AnimatedIntro/skins/18/index.tsx"],"sourcesContent":["import React, { Fragment } from 'react'\n\nimport './styles.scss'\n\nimport { IntroProps } from '../types'\n\nimport { CheckImagesLoaded } from '../utils/CheckImagesLoaded'\n\nconst Intro = ({\n coupleData: { coupleSingleName },\n buttonMessage,\n warningMessage,\n background,\n delay = 0,\n onSkipIntro,\n onLoad,\n}: IntroProps) => {\n function randomNumber(min: number, max: number) {\n return Math.floor(Math.random() * (max - min + 1)) + min\n }\n\n function createRandomSVG() {\n const isDesktop = window.innerWidth > 768\n\n const hearts = []\n const svgSettings = {\n totalIcons: isDesktop ? 20 : 15,\n maxScale: isDesktop ? 8 : 6,\n }\n\n for (let i = 0; i < svgSettings.totalIcons; i++) {\n hearts.push(\n