This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// | |
| // | |
| // Copyright (C) 2008-2016 Quantron Systems LLC. | |
| // All Rights Reserved. | |
| // | |
| // This file is part of the Pakmil project. | |
| // For conditions of distribution and use, | |
| // please contact sales@quantron-systems.com | |
| // | |
| //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// | |
| // | |
| // Copyright (C) 2008-2016 Quantron Systems LLC. | |
| // All Rights Reserved. | |
| // | |
| // This file is part of the Pakmil project. | |
| // For conditions of distribution and use, | |
| // please contact sales@quantron-systems.com | |
| // | |
| //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// | |
| // | |
| // Copyright (C) 2008-2016 Quantron Systems LLC. | |
| // All Rights Reserved. | |
| // | |
| // This file is part of the Pakmil project. | |
| // For conditions of distribution and use, | |
| // please contact sales@quantron-systems.com | |
| // | |
| //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ///////////////////////////////////////////////////////////////////////////////////////// | |
| function sequence (start, step) { | |
| return function () { | |
| return start += step | |
| } | |
| } | |
| ///////////////////////////////////////////////////////////////////////////////////////// | |
| function square (a) { | |
| return a * a |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import React, { useState, useEffect } from 'react' | |
| import { createPortal } from 'react-dom' | |
| import PropTypes from 'prop-types' | |
| import styled from 'styled-components' | |
| import { useSpring, animated, config } from 'react-spring' | |
| const Overlay = styled(animated.div)` | |
| position: fixed; | |
| top: 0; | |
| bottom: 0; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import { useCallback, useEffect, useRef } from "react"; | |
| const RECAPTCHA_SCRIPT_URL = "https://www.google.com/recaptcha/api.js"; | |
| const RECAPTCHA_SIZE = "invisible"; | |
| const RECAPTCHA_RESPONSE_KEY = "responseCallback"; | |
| const RECAPTCHA_EXPIRED_KEY = "expiredCallback"; |
OlderNewer