text
stringlengths
3.22k
29.5k
const baseUrl = window.location.origin; // these are the species we're going to show on the map const names = [ 'Pieris brassicae', 'Pieris rapae', 'Pieris napi', 'Gonepteryx rhamni', 'Melanargia galathea', 'Lycaena phlaeas', 'Pyronia tithonus', 'Maniola jurtina', 'Aphantopus hypera...
/* * API REST for manage collectors * /pendingNotifications : shows notifications not sent in redis list * /serviceStatus : return the interval and status of collectors * /operatorContingency : change operator in a collector * /changeCollector : change conf like rate and status in collectors *...
var stringify = require('json-stringify-safe') , clone = require('./../core/utility').clone , steward = require('./../core/steward') , manage = require('./../routes/route-manage') ; var list = exports.list = function(logger, ws, api, message, tag) {/* jshint unused: false */ var actor, actors, ...
import * as oasis from "@oasisprotocol/client"; import { cointypes, TX_LIST_LENGTH } from "../../../config"; import { amountDecimals, getRuntimeConfig, isNumber } from "../../utils/utils"; import { commonFetch, getOasisClient } from "./request"; import { getRpcAccount } from "./rpc"; import * as oasisRT from "@oasispro...
import _ from "lodash"; import { r, cacheableData } from "../../../server/models"; import { getConfig, getFeatures } from "../../../server/api/lib/config"; import { Jobs } from "../../../workers/job-processes"; import { Tasks } from "../../../workers/tasks"; import { jobRunner } from "../../job-runners"; import { getSe...
var mainWeather = document.getElementById("Weather_Main"); var nameOfCity = document.getElementById("City_Name"); var cityTemp = document.getElementById("City_Temp"); var cityWind = document.getElementById("City_Wind"); var cityHum = document.getElementById("City_Humidity"); var cityUV = document.getElementById("City_U...
/* eslint-disable jsx-a11y/anchor-is-valid */ /* * ProjectPage * * This is the first thing users see of our App, at the '/' route */ import React, { useEffect } from 'react'; import { withRouter } from 'react-router-dom'; import { get as _get } from 'lodash'; import PropTypes from 'prop-types'; import { Helmet } f...
const mysql = require("mysql"); const utils = require("../utils.js"); const { LIMIT, DEFAULT_ERROR, USERS, AFFECTED, USERSDATA, AFFECTEDDATA, CAMPAIGNS, getUsersIdFromApiKey, checkLimits, } = require("../common.js"); /* NOTE: CURRENTLY UNUSED **/ module.exports = { private: { /** * Delet...
const crypto = require("crypto"); const Module = require("./module/Module"); const ModuleFactory = require("./module/factory/ModuleFactory"); const { getHashFromApp } = require("../util"); const DEFAULT_APP_VERSION = "1.0.0"; const DEFAULT_DESCRIPTOR_VERSION = "1.0.0"; const DEFAULT_DESCRIPTOR_NAME = "dockui.app.yml"...
'use strict'; const momentTz = require('moment-timezone'); const { dateStringWithOffset, timeStringWithOffset, employeeInfo, toMapsUrl, alphabetsArray, weekdaysArray, } = require('./report-utils'); const { httpsActions, reportNames, dateFormats, } = require('../../admin/constants'); const { db, r...
//constructors function Pim(color) { this.color = color; this.state = 'ghost'; this.tick = 0; this.direction = 'down'; this.done = false; this.onDestiny = false; this.destiny = [null, null]; this.countdown = (Math.floor(Math.random() * 6) + 1); this.primed = false; this.prime_cou...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var tslib_1 = require("tslib"); var core_1 = require("@angular/core"); var angular_1 = require("@ionic/angular"); var store_service_1 = require("app/services/store.service"); var cancel_page_1 = require("../../+cancel/cancel.page"); var order_...
// // <NAME> - apr 2014 - Cody - beta 1 // // beta 2: added "label" and "hide" in cols. // added loopLabelList (for iterating over the cols) // // planned: beta 3: remove console.log's // var cody = require("../index.js"); console.log("loading " + module.id); function Model(theController, options) { if (the...
/* eslint-disable react/display-name */ import * as React from "react"; import PropTypes from "prop-types"; import Loadable from "react-loadable"; import FileSaver from "file-saver"; import Button from "@material-ui/core/Button"; import Checkbox from "@material-ui/core/Checkbox"; import FormControlLabel from "@materi...
let config = require('./config.json'); let fs = require('fs'); let fastaParser = require('fasta-js'); let peptideCutter = require('peptide-cutter'); let pepMod = require('peptide-modifier'); let pepFrag = require('peptide-fragmenter'); let mgf = require('js-mgf'); const createCsvWriter = require('csv-writer').createObj...
/* MIT License * * Copyright (c) 2012-2020 <EMAIL> * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify...
var async = require('async') var debug = require('debug')('systemic:index') var format = require('util').format var Toposort = require('toposort-class') var getProp = require('lodash.get') var setProp = require('lodash.set') var hasProp = require('lodash.has') var map = require('lodash.map') var find = require('lodash....
// a list of all possible problem types const ALL_PROBLEM_TYPES = [ "forLoop", "stringQuoteMismatch", "closureMismatch", "equalityOperator", "variableName", // "variableType" ]; // create a CodeMirror editor that will be used by the user to make syntax corrections const editor = CodeMirror(d...
/** User 系统管理/角色管理 **/ // ================== // 所需的各种插件 // ================== import React from "react"; import P from "prop-types"; import { Form, Button, Pagination, Input, Table, Modal, Divider, Select, } from "antd"; import { inject, observer } from "mobx-react"; import tools fr...
import * as yaml from './utils/yaml'; import * as fileSystem from './host/file-system'; import * as requests from './host/requests'; import * as versions from './versions'; import { boardDatatxtHeaders } from './board-datatxt-headers'; import { boardCachePath } from './board-registration'; import { boardLocalStorage } ...
/** * Copyright (C) 2021 THL A29 Limited, a Tencent company. * * 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...
var request = require('request'); var actionFactory = require('./actions/actionFactory.js'); var validatorFactory = require('./validators/validatorFactory.js'); var util = require('./util/util.js'); var comparer = require('./util/comparer.js'); var formatter = require('./util/formatter.js'); var deepExtend = require('d...
//import Vue from 'vue' import Vue from './../plugin/vue.min.js' import good from './../build/good.js' var list={}; var page=1; var size=$('select#size').val(); var filterSelectID=[]; var sortby=""; var MinPrice=0.01; var MaxPrice=500.00; var allow_reload=true; function getUrlParam() { var url= window.loc...
"use strict"; var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard"); var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); Object.defineProperty(exports, "__esModule", { value: true }); exports["default"] = exports.styles = void 0; var _extends2 = _...
;(function () { "use strict" /** * Tests if webgl supports certain precision * @param {WebGL} Canvas WebGL context to test on * @param {String} Precision to test can be any of following: 'lowp', 'mediump', 'highp' * @returns {Boolean} Whether the user's browser WebGL supports given precision. */ f...
function _typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof o...
/** * Created with JetBrains PhpStorm. * User: fernando * Date: 5/08/13 * Time: 8:28 * To change this template use File | Settings | File Templates. */ var config_module = angular.module('sifpeApp.config', []); angular.forEach(config_data,function(key,value) { config_module.constant(value,key); }); /** * Mo...
"use strict"; /******************************************************************************** * Copyright (C) 2018 TypeFox and others. * * This program and the accompanying materials are made available under the * terms of the Eclipse Public License v. 2.0 which is available at * http://www.eclipse.org/legal/epl...
/*jslint maxerr:1000 */ /* * Project Atlas * Copyright (c) 2009-2011 by <NAME> All Rights Reserved. * Licensed under the terms of the Apache Public License * Please see the LICENSE included with this distribution for details. */ //************************************************************* // Go to http://code....
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License")...
import "antd/es/row/style"; import _Row from "antd/es/row"; import "antd/es/col/style"; import _Col from "antd/es/col"; function _typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { r...
/** ========================================================= * Material Dashboard 2 React - v2.0.0 ========================================================= * Product Page: https://www.creative-tim.com/product/material-dashboard-react * Copyright 2021 Creative Tim (https://www.creative-tim.com) Coded by www.creative...
var DataSourceTree = function(options) { this._data = options.data; this._delay = options.delay; } DataSourceTree.prototype.data = function(options, callback) { var self = this; var $data = null; if(!("name" in options) && !("type" in options)){ $data = this._data;//the root tree callback({ data: $data }); ...
const path = require('path'); const fs = require('fs-extra'); const cheerio = require('cheerio'); const createDocParser = require('@alifd/doc-parser'); const { logger, getComponentName } = require('../utils'); const SRC_FOLDER = 'docs'; const LANGDOC_FOLDER = 'docs-lang'; const COMPILED_FOLDER = 'compiled_docs'; cons...
/** * Class that manages making request, called by all of the API methods. * @type {[type]} */ module.exports = Transport; var _ = require('./utils'); var errors = require('./errors'); var Host = require('./host'); var Promise = require('bluebird'); var patchSniffOnConnectionFault = require('./transport/sniff_on_co...
var firebaseConfig = { apiKey: "<KEY>", authDomain: "harveyjavier-github-io.firebaseapp.com", databaseURL: "https://harveyjavier-github-io.firebaseio.com", projectId: "harveyjavier-github-io", storageBucket: "harveyjavier-github-io.appspot.com", messagingSenderId: "993049186892", appId: "1:993049186892:we...
/** * * You can write your JS code here, DO NOT touch the default style file * because it will make it harder for you to update. * */ //"use strict"; // function pasienDataTable(){ // //test output json // jQuery.ajax({ // type: 'get', // "url": "daftar-pasien", // dataType : 'jso...
import React, { forwardRef, useRef, useMemo, useState, useCallback, useEffect } from 'react'; import { s as styleInject, P as PropTypes } from '../style-inject.es-3bd340c8.js'; import { r as randomExtend, g as getPointDistance } from '../index-4a2cc4f9.js'; import { s as slicedToArray, t as toConsumableArray, _ as _ext...
import { buildTestService } from '../../helpers/serviceBuilders'; import { getNewAccount, setProxyAccount } from '../../helpers/proxyHelpers'; import TestAccountProvider from '../../helpers/TestAccountProvider'; import { createDai, placeLimitOrder } from '../../helpers/oasisHelpers'; let service, proxyAccount, newAcco...
/// Note: fetch() is built in to Next.js 9.4 // // Note about signIn() and signOut() methods: // // On signIn() and signOut() we pass 'json: true' to request a response in JSON // instead of HTTP as redirect URLs on other domains are not returned to // requests made using the fetch API in the browser, and we need to as...
'use strict' /* eslint-disable no-sync */ /** * @file Convert a Swagger specification into a kubernetes-client API client. * * Represent Swagger a Path Item Object [1] with chains of objects: * * /api/v1/namespaces -> api.v1.namespaces * * Associate operations on a Path Item Object with functions: * * GET...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = LoopCharacteristics; var _Errors = require("../error/Errors"); var _messageHelper = require("../messageHelper"); function LoopCharacteristics(activity, loopCharacteristics) { const { id, broker, environmen...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); /* Forked from react-virtualized 💖 */ var constants_1 = require("./constants"); var SizeAndPositionManager = /** @class */ (function () { function SizeAndPositionManager(_a) { var itemCount = _a.itemCount, itemSizeGetter = _a.item...
import React, { Component } from 'react' import PropTypes from 'prop-types' import {connect} from 'react-redux' import classnames from 'classnames' import shuffle from 'lodash.shuffle' import {compose, onlyUpdateForPropTypes} from 'recompose' import Identicon from '../../../../ui/app/components/identicon' import {confi...
"use strict"; var __extends = (this && this.__extends) || function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; function __() { this.constructor = d; } d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); }; var __decorate = (this && this.__decorate) || fu...
/* * Licensed to Elasticsearch B.V. under one or more contributor * license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright * ownership. Elasticsearch B.V. licenses this file to you under * the Apache License, Version 2.0 (the "License"); you may * not u...
import { getAction, deleteAction, putAction, postAction, httpAction } from '@/api/manage' import Vue from 'vue' import { UI_CACHE_DB_DICT_DATA } from "@/store/mutation-types" import PmoApiList from "./modules/pmo" import tikuApiList from "./modules/shitiManage" import testPlanApiList from "./modules/testPla...
/* eslint no-param-reassign: off */ const sharp = require('sharp'); const path = require('path'); const chalk = require('chalk'); const fse = require('../utils/fs-extra'); async function generateAssets(options, project, logger, { exitOnError = true } = {}) { if (!logger) { // eslint-disable-next-line logger ...
import p5sound from './main'; import { safeBufferSize } from './helpers'; import processorNames from './audioWorklet/processorNames'; /** * Amplitude measures volume between 0.0 and 1.0. * Listens to all p5sound by default, or use setInput() * to listen to a specific sound source. Accepts an optional * smoothi...
"use strict"; const path = require("path"); const root = path.resolve(__dirname, ".."); const wait = n => new Promise(f => setTimeout(f, n)); const {Point, Range} = require("atom"); describe("Form-feeds", function(){ this.timeout(6000); let editor = null; before("Setting up", async () => { await atom.packages....
window.addEventListener('load', iniciar, false); var btnagregartitulo; var btnagregarexperiencia; var btnagregarobservacion; var btnguardartitulo; var btnguardarexperiencia; var btnguardarobservacion; //3 sencillas banderas var editandotitulo; var editandoexperiencia; var editandoobservacion; var cedulauser; //cap...
/* * eGov SmartCity eGovernance suite aims to improve the internal efficiency,transparency, * accountability and the service delivery of the government organizations. * * Copyright (C) 2017 eGovernments Foundation * * The updated version of eGov suite of products as by eGovernments Foundation * ...
/** * Index Filter commands * * Commands: * - planCacheListFilters * Displays index filters for all query shapes in a collection. * * - planCacheClearFilters * Clears index filter for a single query shape or, * if the query shape is omitted, all filters for the collection. * * - planCacheSetFilter * ...
import { useEffect, useState, useCallback, useReducer } from 'react'; import { makeGrid, makeBoxes, drawDots } from '../utils'; import Notification from './Notification'; import Alert from './Alert'; function whoWon(points, playerNum) { if (points[0] > points[1]) { if (playerNum === 1) { return...
const path = require('path') const Parse = require('parse/node') const getCommonVersion = require('./latest-common-version') const createVersion = require('./create-version') const createStudy = require('./create-study') const currentVersion = require('./current-version') const { merge, lsConflicts } = require('./merg...
var utils = require('./utils') function Chunk (uploader, file, offset) { utils.defineNonEnumerable(this, 'uploader', uploader) utils.defineNonEnumerable(this, 'file', file) utils.defineNonEnumerable(this, 'bytes', null) this.offset = offset this.tested = false this.retries = 0 this.pendingRetry = false ...
var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] =...
'use strict'; var popupMod = angular.module('UHistoryPopup', []); popupMod.config(function ($compileProvider) { // url whitelist $compileProvider.aHrefSanitizationWhitelist (/^\s*(https?|ftp|file|chrome-extension):/); }); popupMod.controller('PopupCtrl', ['$scope', '$window', '$filter', '$interval', function...
/* Copyright Contributors to the Open Cluster Management project */ /** ***************************************************************************** * Licensed Materials - Property of IBM * (c) Copyright IBM Corporation 2018, 2019. All Rights Reserved. * * Note to U.S. Government Users Restricted Rights: * Use, d...
window.addEventListener('load', function() { init(); }, false); var now = new Date(); var month = now.getMonth(); month = month+1; var day = now.getDate(); if ((month.toString().length) === 1) { month = `0${month}` } if ((day.toString().length) === 1) { day = `0${day}` } var nowDate = ( `${now.getFullYear...
/* * Dynamic Network of Speakers * * A dynamic network of Speakers * With MQTT * */ function include(filename) { if (document.querySelectorAll('[src="' + filename + '"]').length > 0 > 0) { return; } var head = document.getElementsByTagName('head')[0]; script = document.createElement('script'); ...
'use strict'; // Load modules const Boom = require('boom'); const Bounce = require('bounce'); const Catbox = require('catbox'); const Hoek = require('hoek'); const Joi = require('joi'); const Subtext = require('subtext'); const Auth = require('./auth'); const Config = require('./config'); const Cors = require('./cor...
const path = require('path'); const os = require('os'); const cms = require('cms'); const consolidate = require('consolidate'); const markdown = require('markdown-it')() .use(require('markdown-it-footnote')) .use(require('markdown-it-highlightjs')) .use(require('markdown-it-mark')) .use(require('markdown-it-sup...
const root = window const boundariesElement = 'viewport' export default class Popper { /** * 获得给定元素的外围尺寸(offset大小 + 外边距) * @function * @ignore * @argument {Element} element 要检测的元素 * @returns {Object} 包含宽高信息的对象 */ getOuterSizes = (element) => { // 注:这里会访问 DOM const _display = element.style....
// 渲染月份选择选项 function randeMonth(len) { // 清空 $('.month_set').html(''); var options = '<option value="">-请选择月份-</option>'; for (var i = 1; i <= len; i++) { options += '<option value="' + i + '">' + i +'月</option>'; } $('.month_set').append(options); } var monthLen = new Date(); randeMonth(monthLen.getMon...
import React from 'react' import PropTypes from 'prop-types'; import {Modal, Tree, Button, Dropdown, Menu, Icon, Input, Popconfirm} from 'antd'; import {valueAndTypes2View, view2ValueAndTypes, checkNumber} from './multiLineHelper' import {FormItemType} from "../../../../../config/sysDefConfig"; import {idGen} from "../...
$(document).ready(function () { $('#menu').click(function () { $(this).toggleClass('fa-times'); $('.navbar').toggleClass('nav-toggle'); }); $(window).on('scroll load', function () { $('#menu').removeClass('fa-times'); $('.navbar').removeClass('nav-toggle'); if (wi...
// React packages import React, { Component } from 'react'; import { connect } from 'react-redux'; import PropTypes from 'prop-types'; import { Route, withRouter } from 'react-router-dom'; // Styles import '../semantic/dist/semantic.min.css'; import '../Custom.css'; // Components import MyNavigation from './MyNavigatio...
/* global img obj variables */ /* global img obj variables */ var img ={}; var output = {}; var client_files = []; var dupe_found = []; var model_js_mess = { 'delete' : '<h3>Remove this document?</h3>', 'suspend': '<h3>Suspend this user account?</h3>' } function imgFileInfo( imageId ) { var file = _(imag...
// there's some uses of the http://localhost/ if you don't want it then just change't function include(src){ var head = document.querySelector("head"); var script = document.createElement("script"); script.src = src; head.appendChild(script); } function generateChart(chartData, canvas){ include("h...
const logger = require('winston'); const { DonationStatus } = require('../models/donations.model'); const { AdminTypes } = require('../models/pledgeAdmins.model'); const { CONVERSATION_MESSAGE_CONTEXT } = require('../models/conversations.model'); const Mailer = require('./dappMailer'); const { getTransaction } = requi...
// Copyright 2021 <NAME>. // All rights reserved. // TODO: Decide if there's a cleaner way to do this. Right now, this stuff gets // shoved into globals so it can be accessed by exported functions in an // approximation of the style of other JS test frameworks. const initResult = newResult('init'); // errors outside o...
import React, { useEffect, useState } from "react"; import { Button, FormGroup, Modal, ModalBody, ModalFooter, ModalHeader, Row, } from "reactstrap"; // import { connect } from "react-redux"; import * as Icon from 'react-feather'; import TourForeignApi from "../api/TourForeignApi"; import...
function cleanUrl () { return document.URL.split('?')[0]; } function translate(string) { return string; } function enableSortable() { // Sorting avec imbrication var sortableList = $('.sortable'), maxLevels = 1, isTree = false, handle = 'div', placeholder = 'placeholder...
/** * Copyright 2011 Microsoft 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 or agre...
'use strict'; var MACROUTILS = require( 'osg/Utils' ); var BufferArray = require( 'osg/BufferArray' ); var Geometry = require( 'osg/Geometry' ); var NodeVisitor = require( 'osg/NodeVisitor' ); var PrimitiveSet = require( 'osg/primitiveSet' ); var vec3 = require( 'osg/glMatrix' ).vec3; var osg = MACROUTILS; var Tange...
////////////////////Website Designed For And Tested With Chrome Version 66+. Not Tested With Other Browsers/////////////////// const config = require('./config.json') const WebSocket = require('ws'); const router = require('./other/router.js')(); //Custom Router Implementation const ETagger = new (require('./other/ETa...
"use strict"; function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj ...
/** * steel file for cli-version * author: @Lonefy */ var gulp = require('gulp'); var path = require('path'); var del = require('del'); var merge2 = require('merge2'); var $ = require('gulp-load-plugins')({scope:'workDependencies'}); var merge = require('merge'); var jade = require('jade'); var port = 8082; va...
import React, {useEffect } from 'react'; import './Admin.css'; import { Button, Dialog, DialogActions, DialogContent, DialogTitle, Radio, RadioGroup, FormControlLabel, FormControl, FormLabel, Grid } from '@material-ui/core'; import TextInput from "../components/TextInput"; import SubTable from "../components/SubT...
/** * Copyright 2015 IBM Corp. All Rights Reserved. * * 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 applica...
/* * render_settings_example.js for https://github.com/Naereen/uLogMe/ * MIT Licensed, https://lbesson.mit-license.org/ */ // various settings for the rendering, to be modified by user // these are all regex patterns and the corresponding mapped title string // the function mapwin() below will use these to transform...
/* School Name Generator by Legendword. This program aims at helping distinguish different schools by calculating all possible common school names for a school. This program is originally designed for OIerDB (http://bytew.net/OIer), but this program can be used and will be used for other purposes related to scho...
// Stores a current state of the connect4 game 'use strict'; const assert = require('assert').strict; const { deepFreeze } = require('./helpers'); // Game attributes // It might make sense in another context to make the state parametric, // but for simplicity (and compatibility) they are left constant for now. co...
import React from 'react'; import { StyleSheet, View, BackHandler, Text, TouchableOpacity } from 'react-native'; import { connect } from 'react-redux'; import * as actions from '../../../actions'; import { Colors } from '../../../config/'; import { Screen, FormatUtils } from '../../../utills'; import TimeInpu...
; var encode_version = 'sojson.v5', woaew = '__0x6d4a2', __0x6d4a2 = ['w4TCkxtLwofCuBE=', 'YsKYwok/w5M=', 'DWwZJDPDksOi', 'wocjwrkSXQ==', 'XG5tw6Y2', 'OMOpSErDhw==', 'AA7DksO/w4gM', 'w5prw6vCrFI=', 'w7U3L8K1bQ==', 'Z8K5wrJIwrE=', 'L8OKZcKaGcOoTcOUwqIFYw==', 'YCPDs1bDrQPDvg==', 'dcOrVsOlwoA=', 'OcORb2nDtg==', 'FcKQdxt...
import React, { Component } from 'react'; import { Alert, Button, Panel, Image, FormGroup, ControlLabel, HelpBlock, FormControl, Tooltip, OverlayTrigger, } from 'react-bootstrap'; import lib_web3 from '../../utils/lib_web3'; import { div18decimals, mul18decimals } from '../../utils/lib_token'; impor...
import React, { Component } from 'react'; import { connect } from 'react-redux'; import { withStyles } from '@material-ui/core/styles'; import Paper from '@material-ui/core/Paper'; import { TextField,Typography,List,ListItem , Button,InputLabel,Select, FormControl,Input } from '@material-ui/core'; import Form...
export function getTickets(){ return tickets; } const tickets = [ {"id":1,"time":"1:36 PM","name":"Top margin in a popup window is smaller than the...","status":"Open"}, {"id":2,"time":"6:32 PM","name":"Button text on mobile devices","status":"Pending"}, {"id":3,"time":"2:18 AM","name":"Search pattern is ambiguous...
//############################################################################################ //## //# Copyright (C) 2014-2018 <NAME>, <NAME>, <NAME>, //# <NAME>, <NAME> //## //# Licensed under the Apache License, Version 2.0 (the "License"); //# you may not use this file except in compliance with the License. //# You...
Number.prototype.padLeft = function(base, chr) { var len = (String(base || 10).length - String(this).length) + 1; return len > 0 ? new Array(len).join(chr || '0') + this : this; } //modulo de post var postController = function() { //envia form do post var submitForm = function(event, data) { ...
import "react-leaflet-markercluster/dist/styles.min.css"; import "assets/css/map.css"; import { CircularProgress } from "@material-ui/core"; import { Map, TileLayer, GeoJSON } from "react-leaflet"; import L from "leaflet"; import LoadingOverlay from "react-loading-overlay"; import React, { useContext, useEffect, ...
import React, { useState, useEffect } from 'react'; import SearchNav from "./SearchNav"; import Footer from "./Footer"; import Accordion from 'react-bootstrap/Accordion'; import Row from "react-bootstrap/Row"; import Col from "react-bootstrap/Col"; import Spinner from 'react-bootstrap/Spinner'; import {IoWater} from 'r...
import React, { useContext, useState, useEffect, useCallback, Suspense, lazy, } from "react"; import { BrowserRouter as Router, withRouter, Route, Link, Switch, } from "react-router-dom"; import { AnimatePresence } from "framer-motion"; import { Tabs, Tab, withStyles, Grid, CircularPro...
const hash = require("../../hash").get_hash_code; const assert = require("assert"); const mongoose = require("mongoose"); const timestamps = require('mongoose-timestamp'); // TODO: consider using this for last update time data. let projects_model, users_model; let version_schema; let is_initialize = false; let init_pr...
require('../common.db'); require('../common'); const Ihl = require('../../lib/ihl'); const Db = require('../../lib/db'); describe('Database', () => { describe('Bot Functions', () => { let ticket1; let league1; let league2; let bot1; let bot2; let bot3; let bo...
const identity = require("oci-identity"); const odcs = require("oci-datascience"); const common = require("oci-common"); const moment = require('moment'); const fs = require('fs') // TODO: Replace these with your tenancy OCIDs! const tenancy = { projectId: process.env.PROJECT, compartmentId: process.env.COMPAR...
// Copyright 2016 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. /** * @fileOverview This file includes legacy utility functions for the layout * test. */ function writeString(s, a, offset) { f...
/* jshint esversion:6 */ const path = require('path'); const fs = require('fs'); const _ = require('lodash'); const Max = require('max-api'); const Subs = require('./sub.json'); const Clips = require('./list.json'); const MAX_PLAYLIST = 4; // 最大列表數量 const MIN_DIFF_CLIP_GAP = 5; // 最小不可重複的連續列表元素數量 //const TOTAL_DURATI...
'use strict'; const path = require('path'); const serverless = require('serverless-http'); const bodyParser = require('body-parser'); const crypto = require('crypto'); const { Api, JsonRpc, Serialize } = require('eosjs'); const { JsSignatureProvider, PrivateKey } = require('e...