text
stringlengths
3.07k
16k
import { c as createPagingRange, i as isEmptyObject, f as fieldFilter, a as findAny, b as fieldSorter } from './index-fde6a0b4.js'; import { n as normalizeComponent } from './normalize-component-1efcb3aa.js'; var datasetI18n = { show: 'Show', entries: 'entries', previous: 'Previous', next: 'Next', showing: '...
// <NAME> <<EMAIL>> "use strict"; // modules const SketchObject = require('./object.js'); const Transform = require('./transform.js'); const geom = require('../geom.js'); const assert = require('../assert.js'); const SketchLayer = require('../algo/compiler/layers/base.js'); class SketchRectangle extends SketchObject ...
import styled from "styled-components"; import { flexCenterMixin } from "./mixins"; export const Card = styled.div` ${flexCenterMixin}; `; export const Label = styled.label` color: ${(props) => props.theme.primary}; font-weight: 500; text-transform: capitalize; `; export const Input = styled.input` backgr...
/* Copyright (c) Facebook, Inc. and its affiliates. */ var createGame = require("voxel-engine"); var highlight = require("voxel-highlight"); var player = require("voxel-player"); var voxel = require("voxel"); var extend = require("extend"); var fly = require("voxel-fly"); var walk = require("voxel-walk"); var texturePa...
import by from 'thenby'; import { Tag } from 'antd'; import Table from '../table.js'; import PropTypes from 'prop-types'; import urls from '../../utils/urls.js'; import SearchBar from '../search-bar.js'; import Logger from '../../common/logger.js'; import TagSelector from '../tag-selector.js'; import { useTranslation }...
function iniciaJogo() { // // Vetor da dificuladde fácil // var vetorFacil = new Array ("fato", "saiu", "cair", "face", "obstrui", "mago", "caos", "amor", "viagem", "meça"); // var vetorDicaFacil = new Array("Alguma coisa que aconteceu", "deixar um local", "escorregar e ir parar no chão", "superfície", "estraga",...
/** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * * * @format */ 'use strict'; function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < argument...
import React, { Component } from 'react' import PropTypes from 'prop-types' import { FormattedMessage, injectIntl } from 'react-intl' import { Link } from 'react-router-dom' import classNames from 'classnames' import AsManager from '../../../../interactions/User/AsManager' import AsManageableProject from '../../...
/* * Copyright 2014-2015 MarkLogic Corporation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law...
/** * Copyright 2020 The Pennsylvania State University * @license Apache-2.0, see License.md for full text. */ import { html, css } from "lit-element"; import { SimpleColors } from "@lrnwebcomponents/simple-colors/simple-colors.js"; import "@lrnwebcomponents/paper-avatar/paper-avatar.js"; /** * `lrndesign-avatar` ...
/****************************************************************************** * * Copyright (c) 2017, the Perspective Authors. * * This file is part of the Perspective library, distributed under the terms of * the Apache License 2.0. The full license can be found in the LICENSE file. * */ export function for...
/** * <p>Loads registered modules in a path relative to the application root. It is not intended as a * solution to the ../../../../ problem. For that, I would use a wrapper around require. * Instead, it is a way to alias modules: allowing us to reference the alias in other modules, * while assigning the alias ...
/** * Copyright JS Foundation and other contributors, http://js.foundation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless r...
import MockAdapter from 'axios-mock-adapter'; import Vue, { nextTick } from 'vue'; import Vuex from 'vuex'; import { useLocalStorageSpy } from 'helpers/local_storage_helper'; import { mountExtended } from 'helpers/vue_test_utils_helper'; import waitForPromises from 'helpers/wait_for_promises'; import App from '~/freque...
// find repeated values in two arrays Array.prototype.intersect = function(a){ return this.filter(function(i){ return a.indexOf(i) > -1;}); }; let progressContainer = document.getElementById("imageProgressContainer"), progress = document.getElementById('imageDownloadProgress'), output = document.getElem...
function getMoreStudentsPaging(startingIndex, searchData = "", isFirstSearch = false) { $.ajax("get-more-students?studentsPerRequest=4&startingIndex="+startingIndex+"&search="+searchData,{ method: "GET", dataType: "json", error: ev => alert("Request failed on student page " + startingIndex/4...
/** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * * * @format */ 'use strict'; function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < argument...
// Copyright 2018 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
import _ from 'lodash'; import camelize from 'camelize'; import constants from '../constants'; import RandomName from '../util/random-name'; import Store from '../lib/store'; import { query, action, deprecated } from '../decorators'; import Logger from '../util/logger'; var logger = Logger('stores/tab-sto...
"use strict" const packageJsonPath = require("package-json-path") , readJson = require("r-json") , sameTime = require("same-time") , ul = require("ul") , EventEmitter = require("events").EventEmitter , path = require("path") , assured = require("assured") , maybeRequire = require("maybe-req...
const Discord = require("discord.js") require("dotenv").config() const { Client, Intents, MessageEmbed } = require("discord.js") const client = new Client({ intents: [Intents.FLAGS.GUILD_VOICE_STATES, Intents.FLAGS.GUILD_MESSAGES, Intents.FLAGS.GUILDS], ws: { properties: { $browser: "Discord iOS" } } }) const {...
import React, { useState, useEffect } from 'react' import { StyleSheet, Text, View, Modal, TouchableOpacity, ScrollView, ActivityIndicator } from 'react-native' import AntDesign from 'react-native-vector-icons/AntDesign'; import {isValid, format} from "date-fns"; import globalvariable from '../Global/globalvariable' im...
// main index.js // SERVER-SIDE JAVASCRIPT /// ////////////////////////// // SETUP and CONFIGURATION /// ////////////////////////// // require express in our app let express = require('express'); let bodyParser = require('body-parser') let expressHbs = require('express-handlebars') let moment = require('moment') /...
"use strict"; function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } } function _asyncToGenerator(fn) { retur...
// test repl basics // data on master/slave is the same var rt = new ReplTest("basic1"); m = rt.start(true); s = rt.start(false); function block() { am.runCommand({getlasterror: 1, w: 2, wtimeout: 3000}); } am = m.getDB("foo"); as = s.getDB("foo"); function check(note) { var start = new Date(); var x,...
require('./helper'); var React = require('react/addons'); var Modal = require('../lib/components/Modal'); var Simulate = React.addons.TestUtils.Simulate; var ariaAppHider = require('../lib/helpers/ariaAppHider'); var button = React.DOM.button; describe('Modal', function () { it('scopes tab navigation to the modal')...
/* * Module code goes here. Use 'module.exports' to export things: * module.exports.thing = 'a thing'; * * You can import it from another modules like this: * var mod = require('role.carrier'); * mod.thing == 'a thing'; // true */ /* global FIND_STRUCTURES, STRUCTURE_CONTAINER, STRUCTURE_STORAGE, RESOURCE_ENERG...
const sqlite3 = require('sqlite3').verbose() const express = require('express') , app = express() , server = require('http').createServer(app) , Youtube = require("youtube-api") , io = require('socket.io')(server) , gapi = require('./lib/gapi') , readJson = require("r-json") , Logger = require("bug-kille...
import * as R from 'ramda' import * as React from 'react' import * as M from '@material-ui/core' const IconBlank = () => <M.Box pr={2.5} /> const IconExpand = () => <M.Icon fontSize="small">chevron_right</M.Icon> const IconCollapse = () => <M.Icon fontSize="small">expand_more</M.Icon> function KeyFormat(props) { re...
const gulp = require('gulp'); // We'd normally use ES7 style imports but for consistency we'll use require const Ajv = require('ajv').default; const addFormats = require('ajv-formats').default; const assert = require('assert'); const base64img = require('base64-img'); const browserify = require('browserify'); const bro...
'use strict' // Configuracion esencial para el proyecto encuento a css. // Autor: Ghobbit. // Desarrollador Frontend y Diseñador gráfico: <NAME>. // Email: <EMAIL>; // Twitter: @duwahiner. import { css } from '@emotion/core'; export const fonts = { fontAeonikLight: () => css`@font-face{ font-family: fontAeonikLig...
// ==UserScript== // @name plugdj-playlist-exporter // @description Creates plug.dj playlist JSON files, and saves them to harddrive. // @author Ivan (sq10.net) // @include https://plug.dj/* // @version 2.0.10 // @require https://media.sq10.net/pye/FileSaver.js // @grant ...
import { Graphics, Container, Sprite, useApp } from "@inlet/react-pixi"; import { useCallback, useEffect, useState, useRef } from "react"; import Face from "./Face"; import { SCALE_MODES } from "@pixi/constants"; const drawCircle = (g, height) => { g.drawCircle(0, 0, height); g.endFill(); }; const equilateralTria...
"use strict"; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); var cli_spinner_1 = __importDefault(require("@axerillc/cli-spinner")); var path_1 = __importDefault(requ...
/* eslint-env jest */ const { Cancel, CancelToken } = require("promise-toolbox"); const { createServer: createHttpServer } = require("http"); const { Readable } = require("stream"); const httpRequestPlus = require("./"); // =================================================================== const freeStream = (s) =...
/** * Copyright 2014, 2015 IBM Corp. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
import ReactDOM from 'react-dom'; import { Message } from 'tinper-bee'; export const success = (msg) => { Message.create({ content: msg, color : 'success' }); } export const Error = (msg) => { Message.create({ content: msg, color : 'danger' }); } export const Warning = (msg) => { Message.create({ con...
/* eslint-env jasmine */ "use strict" const StellarSdk = require("stellar-sdk") const { friendbot } = require("@cosmic-plus/base") const ledgerWallet = require("../src") const { any } = jasmine /* Setup */ const horizon = "https://horizon-testnet.stellar.org" const xdr = "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA...
const express = require('express'); const asyncHandler = require('express-async-handler'); const packagebookingCtrl = require('../controllers/packagebooking.controller'); const tourpackageCtrl = require('../controllers/tourpackage.controller'); const billCtrl = require('../controllers/bill.controller'); const dashboard...
const load_ruffle = require("./load-ruffle"); const ruffle_shadow_template = require("./shadow-template"); const { lookup_element } = require("./register-element"); exports.FLASH_MIMETYPE = "application/x-shockwave-flash"; exports.FUTURESPLASH_MIMETYPE = "application/futuresplash"; exports.FLASH7_AND_8_MIMETYPE = "app...
const core = require('@actions/core') const conventionalRecommendedBump = require('conventional-recommended-bump') const path = require('path') const getVersioning = require('./version') const git = require('./helpers/git') const changelog = require('./helpers/generateChangelog') const requireScript = require('./helpe...
var D2R = 0.01745329251994329577; import parser from './parser'; import {sExpr} from './process'; function rename(obj, params) { var outName = params[0]; var inName = params[1]; if (!(outName in obj) && (inName in obj)) { obj[outName] = obj[inName]; if (params.length === 3) { obj[outName] = param...
// Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and Contributors // License: GNU General Public License v3. See license.txt // js inside blog page // shopping cart frappe.provide("erpnext.shopping_cart"); var shopping_cart = erpnext.shopping_cart; $.extend(shopping_cart, { show_error: function (title, text) {...
// style import isString from '@cycjimmy/awesome-js-funcs/esm/judgeBasic/isString'; import isAudioPlaying from '@cycjimmy/awesome-js-funcs/esm/media/isAudioPlaying'; import style from './style.scss'; import containerTemplate from './containerTemplate'; // private const _formattingCustomValue = (inputValue) => { if (...
const { ethers, upgrades } = require('hardhat'); const { expect } = require('chai'); describe('[Challenge] Climber', function () { let deployer, proposer, sweeper, attacker; // Vault starts with 10 million tokens const VAULT_TOKEN_BALANCE = ethers.utils.parseEther('10000000'); before(asyn...
$(function(){ // $(".proc_state li").each(function (){ // $(this).hover(function () { // $(this).find("span").css({"background-position-y":"-256px"}); // },function(){ // $(this).find("span").css({"background-position-y":"-127px"}); // }) // }) $(".rankList_img a").each(function (){ $(this).hover(func...
import React, { PureComponent } from 'react'; import { connect } from 'dva'; import { Skeleton, Tag, Collapse, InputNumber, Form, Input, Button, Card, Icon, Tooltip, Cascader, Modal, Popconfirm, Select, DatePicker, Row, Spin, Col } from 'antd'; import PageHeaderWrapper from '@/compon...
/* Copyright 2020-2022 Lowdefy, Inc Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in wri...
import { checkRendering, clearRefinements, getRefinements, createDocumentationMessageGenerator, noop, uniq, mergeSearchParameters, } from '../../lib/utils'; const withUsage = createDocumentationMessageGenerator({ name: 'clear-refinements', connector: true, }); /** * @typedef {Object} CustomClearRef...
/* globals Testem */ export { default as QUnitAdapter, nonTestDoneCallback } from './adapter'; export { loadTests } from './test-loader'; import './qunit-configuration'; if (typeof Testem !== 'undefined') { Testem.hookIntoTestFramework(); } import { run } from '@ember/runloop'; import { assign } from '@ember/poly...
/** * 参考文档《加解密方案说明》https://work.weixin.qq.com/api/doc#90000/90139/90968 * 企业微信消息加解密处理库 * @author Evan<<EMAIL>> * @version 1.0 */ const Buffer = require("buffer").Buffer; const jsSHA = require("jssha"); const base64 = require("base64-js"); const xmldoc = require("xmldoc"); const WXBizMsgCryptError = require("./WXBi...
// This example adds a search box to a map, using the Google Place Autocomplete // feature. People can enter geographical searches. The search box will return a // pick list containing a mix of places and predicted search terms. var map; var cityCircle; var markercenter; function initAutocomplete() { try { ...
class Memory{ constructor() { this.states = []; this.actions = []; this.rewards = []; } store(state, action, reward) { this.states.push(state); this.actions.push(action); this.rewards.push(reward); } clear() { this.states = []; this.a...
import React, {Component, PropTypes} from 'react'; import ui from 'redux-ui'; import objectAssign from 'object-assign'; import _ from 'lodash'; import {moment,minutesToCounterString} from '../../businessLogic/calendarHelper'; import {FlatButton} from 'material-ui/lib'; import DatePicker from 'material-ui/lib/date-picke...
const assert = require('assert'); const makeDebug = require('debug'); const fp = require('mostly-func'); const { helpers } = require('mostly-feathers-mongoose'); const feeds = require('playing-feed-common'); const defaultHooks = require('./team-invite.hooks'); const debug = makeDebug('playing:team-services:teams/invi...
import { Accordion, AccordionDetails, AccordionSummary, Button, Paper, Table, TableBody, TableCell, TableContainer, TableHead, TableRow, Typography, } from "@material-ui/core"; import React, { Component } from "react"; import CheckCircleOutlineRoundedIcon from "@material-ui/icons/CheckCircleOutl...
import mapboxgl from 'vue-iclient/static/libs/mapboxgl/mapbox-gl-enhance'; /** * @class IdentifyViewModel * @description 点选 viewModel. * @param {Object} map - map 对象。 * @param {Object} [options.layerStyle] - 查询结果图层样式配置。 * @param {Object} [options.layerStyle.line] - 线图层样式配置。 * @param {Object} [options.layerStyle....
import React, { useState } from "react"; import PropTypes from "prop-types"; import { View, TextInput, findNodeHandle, Keyboard } from "react-native"; import { inputFieldStyle } from "../../../Utils/Customization"; import { KeyboardAwareScrollView } from "react-native-keyboard-aware-scroll-view"; import { useDimensions...
// generated on 2017-01-27 using generator-webapp 2.3.2 const gulp = require('gulp'); const gulpLoadPlugins = require('gulp-load-plugins'); const browserSync = require('browser-sync').create(); const del = require('del'); const wiredep = require('wiredep').stream; const runSequence = require('run-sequence'); const brow...
/* GPC Privacy Choice is licensed under the MIT License Copyright (c) 2021 <NAME>, <NAME>, <NAME>, <NAME> privacy-tech-lab, https://privacytechlab.org/ This file is the main driver file which communicates with the background service worker. It exports the domainListView function, which builds the UI for the domain li...
"use strict"; var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Refl...
import React from 'react'; import Adapter from 'enzyme-adapter-react-16'; import Enzyme, {shallow} from 'enzyme'; import {Provider} from 'react-redux'; import Player, {statuses} from '../../reducers/Player'; import nullYTPlayer from '../../utils/nullYTPlayer'; import { CREATE_PLAYER, PLAY_SINGLE, PLAY_LIST, PLAY_N...
// Vuex file for store all related to panel and fields // Use it for handle events for changes and put context, also can be // used for hadle display logic, read only logic and mandatory logic // The scope is use panel as storage of: // - Window: Just need storage tab and fields // - Process & Report: Always save a pan...
import React, {useState} from 'react'; import SidebarComponent from './Sidebar/Sidebar'; import NoteComponent from './Notes/Notes'; import './App.css'; //import Register from './components/auth/Register.js'; //import Login from './components/auth/Login.js'; import { AmplifyAuthenticator, AmplifySignUp, AmplifySignIn, ...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports["default"] = void 0; var _react = _interopRequireDefault(require("react")); var _IconButton = _interopRequireDefault(require("@material-ui/core/IconButton")); var _Close = _interopRequireDefault(require("@material-ui/icons/Close"...
import React, {useState, useEffect} from 'react'; import {Link, useParams} from 'react-router-dom'; import { useForm } from "react-hook-form"; import { yupResolver } from "@hookform/resolvers/yup"; import swal from 'sweetalert'; import Menu from '../LayoutComponents/Menu'; import Header from '../LayoutComponents/Heade...
const fetch = require("node-fetch"); const crypto = require("crypto"); const sprintf = require("sprintf-js").sprintf; const fs = require("fs"); const path = require("path"); const getFolderSize = require("get-folder-size"); function makeDirIfNotExists(dir) { if (!fs.existsSync(dir)) { fs.mkdirSync(dir); } } ...
let event_canvas_full = new Event("canvas_full"); const layer_limit = 13; const line_limit = 100; const canvas_height = 4096; const canvas_width = 2048; var mouseX = 0; var mouseY = 0; function Canvas(id, lineColor, lineWidth){ this.linesArr = []; this.painting = false; this.lineWidth= lineWidth; this.lineColo...
const AvatarColors = ['#FFD659', '#FFC168', '#F58268', '#F4979C', '#EC7F87', '#FF78CB', '#C377E0', '#8BAAFF', '#78DCFA', '#88E5B9', '#BFF199', '#C5E1A5', '#CD907D', '#BE938E', '#B68F91', '#BC987B', '#A69E8E', '#D4C99E', '#93C2E6', '#92C3D9', '#8FBFC5', '#80CBC4', '#A4DBDB', '#B2C8BD', '#F7C8C9', '#DCC6E4', '#BABAE8', ...
var op = {}; exports.op = op; var Hash = require('./hash.js'); var CodeRef = require('./code-ref.js'); exports.CodeRef = CodeRef; op.getcomp = function(lang) { if (lang == 'JavaScript') { return { eval: function(ctx, named, code) { return eval(code); } }; } else if (lang == 'nqp') { ...
let Signals = require('js-signals'); let TweenMax = require('TweenMax'); let TimelineMax = require('TimelineMax'); let Quad = require('Quad'); import Utils from './Utils'; import BezierEasing from 'bezier-easing'; export default class Orchestrator { constructor(timer, data) { this.update = this.update.bind(this...
// This script combines the core package json with each mods package.json. // **Note: The purpose of this file is stricly for development/build purposes. // The generated core.package.json file will override upon commit. import fs from 'fs'; import cp from 'child_process'; import * as objectHelpers from './utils/...
class Func { static loop(cnt, func) { "v" .repeat(cnt) .split("") .map((_, idx) => func(idx)); } } class Num { static get(num) { return num >>> 0; } static xor(a, b) { return this.get(this.get(a) ^ this.get(b)); } static and(a, b...
/* eslint-disable prettier/prettier */ /* eslint-disable react/prop-types */ /* eslint-disable prettier/prettier */ import React, { useState } from 'react'; import { makeStyles } from '@material-ui/core/styles'; import Button from '@material-ui/core/Button'; import Dialog from '@material-ui/core/Dialog'; import AppBar ...
import DB from './DB'; import eyeOpen from '../img/eye_open.png'; import eyeClosed from '../img/eye_closed.png'; const start_section = (ix) => `<div layer-id="${ix}" class="additional-layer-legend"><div>`; const titleSectionActivity = (name) => `<h5>Activité ${name}</h5>`; const titleSection = (name) => `<h5>${name}<...
import React, { PureComponent } from 'react'; import PropTypes from 'prop-types'; import Touch, { TouchRootContext } from '../Touch/Touch'; import FixedLayout from '../FixedLayout/FixedLayout'; import classNames from '../../lib/classNames'; import { IS_PLATFORM_IOS, IS_PLATFORM_ANDROID } from '../../lib/platform'; impo...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var ArrowDown_1 = require("./ArrowDown"); exports.ArrowDown = ArrowDown_1.ArrowDown; var Archive_1 = require("./Archive"); exports.Archive = Archive_1.Archive; var ArrowLeft_1 = require("./ArrowLeft"); exports.ArrowLeft = ArrowLeft_1.ArrowLeft...
/* eslint-disable no-useless-catch */ // Public npm libraries const axios = require('axios') const slpParser = require('slp-parser') // Local libraries const Util = require('../util') let _this class Utils { constructor (config = {}) { this.restURL = config.restURL this.apiToken = config.apiToken this...
/* jshint browser:true, jquery:true */ var d3 = require("d3") var merge = require("merge") var Handlebars = require("handlebars") var fs = require("fs") var cycle = require("cycle") var david = require("../david") var transformData = require("./transform-data") var graph = require("./graph") require("../vendor/stacka...
'use strict'; const router = module.exports.router = function router(){ // defaults this.routes = [] this.static_routes = {} this.dynamicRoutes = [] this.middlewares = [] this.middlewareCount = 0 this.staticCount = 0 this.dynamicCount = 0 this.routeCount = 0 } /** * Extract param...
import * as THREE from 'three'; import { GLTFLoader } from 'three/examples/jsm/loaders/GLTFLoader.js'; import { TWEEN } from 'three/examples/jsm/libs/tween.module.min.js'; import MODEL from './Bus.glb'; import { Group, Mesh, MeshToonMaterial, PlaneGeometry, BoxGeometry, DoubleSide, CircleGe...
import { Fragment, useRef } from "react"; import { Dialog, Transition } from "@headlessui/react"; function About(props) { const cancelButtonRef = useRef(null); const maintainer = { name: "<NAME>", username: "@dkhd", link: "https://github.com/dkhd", avatar_url: "https://avatars.githubuser...
/** * Access JavaScript objects using XPath * @author <NAME> */ import isNumeric from './is-numeric'; import isObject from './is-object'; /** * Wrap a key * @param key * @returns {String} The key wrapped in brackets if the key is numeric, * otherwise the key is prefixed with a '/' */ const w...
import { useCallback, useDebugValue, useEffect, useMemo, useRef, useReducer } from "react" import globalScope from "./globalScope" import { neverSettle, actionTypes, init, dispatchMiddleware, reducer as asyncReducer, } from "./reducer" const noop = () => {} const useAsync = (arg1, arg2) => { const option...
var timeline; var data; google.load("visualization", "1"); // Set callback to run when API is loaded google.setOnLoadCallback(drawVisualization); // Called when the Visualization API is loaded. function drawVisualization() { // Create and populate a data table. data = new google.visualization.Data...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var graphql_1 = require("./types/graphql"); var _ = require("lodash"); var pluralize = require('pluralize'); var upperCamelCase = require('uppercamelcase'); var SDLInferrer = /** @class */ (function () { function SDLInferrer() { } ...
"use strict"; const { parseErr } = require('./err'); const COMMENTS = /\s*\/\*[\s\S]*?\*\/\s*/gm; const COMBINATORS = /\s*[>~+.#]\s*|\[[^\]]+\]|\s+/gm; const START_AT = 1; const CLOSE_AT = 2; const SELECTORS = 3; const PROPERTIES = 4; const AT_CHUNK = 5; // for @ blocks that should not be processed //const COMMENT;...
//应用一览 import React, {Component} from 'react'; import {connect} from 'react-redux'; import actions from 'actions'; import 'pages/Overview/yyyl.css'; import TimeDrag from 'pages/functionalCom/timeDrag.js'; import { DatePicker, Icon } from 'antd'; const { RangePicker } = DatePicker; import myAjax from 'pages/functionalCo...
import React, { useState } from 'react' import ReactDOM from 'react-dom' import Taply from '../' const style = document.createElement('style') style.innerText = ` .test:hover {color:blue} .test:active {color:red} ` document.head.appendChild(style) const getButtonStyle = ({ tapState, isDisabled }) => { const style =...
function eMsg(params){ alert("Error: "+params); }//end eMsg //$(document).ready(function(){ //function calcular_btc_recibe() { function calcular_btc_recibe() { var monto=parseFloat(document.getElementById('item-monto').value); var fee=parseFloat(document.getElementById('item-fee').value); if (isNaN(monto)...
import React, { useMemo } from 'react'; import classnames from 'classnames'; import ProgressBar from '../../ProgressBar'; import { makeStyles } from '@material-ui/core'; import Stepper from '@material-ui/core/Stepper'; import Step from '@material-ui/core/Step'; import StepLabel from '@material-ui/core/StepLabel'; impo...
const express = require('express'); const path = require('path'); const querystring = require('querystring'); const fetch = require('node-fetch'); const UrlToolkit = require('url-toolkit'); const winston = require('winston'); const PlaylistParser = require('./playlist-parser'); const PROXY_PATH = '/proxy'; const PROXY...
const HOSTED_URLS = { queryTwitter: window.location.protocol + '//'+ window.location.hostname + './php/queryTwitter.php?q=', model: 'https://storage.googleapis.com/tfjs-models/tfjs/sentiment_cnn_v1/model.json', metadata: 'https://storage.googleapis.com/tfjs-models/tfjs/sentiment_cnn_v1/metadata.json' }; ...
import React, { useEffect, useState } from 'react'; import styled from 'styled-components'; import PageHeader from '../common/page-header'; import toasts from '../common/toasts'; import { PageBody } from '../../styles/page'; import { MapContainer, TileLayer, FeatureGroup } from 'react-leaflet'; import { useMosaics } fr...
/** * Movies * * @copyright * Copyright (c) 2015 by Appcelerator, Inc. All Rights Reserved. * * @license * Licensed under the terms of the Apache Public License * Please see the LICENSE included with this distribution for details. */ var Data = require("data"), theMovieDb = require('themoviedb'), yt = requ...
import styles from "../styles/Navbar.module.css"; import { useUser } from "@auth0/nextjs-auth0"; import { faCaretDown, faBars, faEllipsisH, } from "@fortawesome/free-solid-svg-icons"; import { FontAwesomeIcon } from "@fortawesome/react-fontawesome"; import { useState, useEffect } from "react"; import { useRouter } f...
import React, { Component } from 'react'; import PropTypes from 'prop-types'; import classnames from 'classnames'; const ASC = ( <svg className="icon" viewBox="0 0 48 48" > <title>Sorted in ascending order</title> <path d="M15 36V0H9v36H1.5L12 46.5 22.5 36H15zm28.5 12h-12a1.501 1.501 0 0 1-1....
/*eslint-disable*/ // React imports import React from 'react'; import { connect } from 'react-redux'; import { isEqual } from 'lodash'; import ResourceBubbleChartView from './resource-bubble-chart-view/resource-bubble-chart-view'; import TreeMap from '../../../common/tree-map/tree-map'; import { getTreeMapData } from...
"use strict"; // Function to send an AJAX request when the user logs in var handleLogin = function handleLogin(e) { //Prevent the form from submitting e.preventDefault(); //Validate input if ($("#username").val() === '' || $("#password").val() === '') { displayMessage("Username or Password is empty"); return ...
import React from 'react'; import classnames from 'classnames'; import FormControl from 'bee-form-control'; import PropTypes from 'prop-types'; const propTypes = { value: PropTypes.any, show: PropTypes.bool, options: PropTypes.array, onChange: PropTypes.func, onSelectOption: PropTypes.fun...