text
stringlengths
8.5k
48.7k
var utils = require('cordova/utils'), common = require('./Common'), cordova_exec = require('cordova/exec'), BaseClass = require('./BaseClass'), Map = require('./Map'), StreetViewPanorama = require('./StreetViewPanorama'); function CordovaGoogleMaps(execCmd) { var self = this; BaseClass.apply(this); //...
/* ol-mapbox-style - Use Mapbox Style objects with OpenLayers Copyright 2016-present ol-mapbox-style contributors License: https://raw.githubusercontent.com/openlayers/ol-mapbox-style/master/LICENSE */ import GeoJSON from 'ol/format/GeoJSON.js'; import MVT from 'ol/format/MVT.js'; import Map from 'ol/Map.js'; import T...
const BaseModel = require('lib/BaseModel.js'); const { Database } = require('lib/database.js'); const { Logger } = require('lib/logger.js'); const SyncTargetRegistry = require('lib/SyncTargetRegistry.js'); const { time } = require('lib/time-utils.js'); const { sprintf } = require('sprintf-js'); const ObjectUtils = requ...
var guaToThemes = {} var themes = { name: "theme", value:175, children:[ {name:"nature",value:48, children:[ {name:1,value:1}, {name:2,value:1}, {name:3,value:1}, {name:4,value:1}, {name:5,value:1}, {name:6,value:1}, {name:7,value:1}, {name:9,value:1}, {name:10,value:1}, {name:11,va...
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototy...
import { getLogger } from '@jitsi/logger'; import EventEmitter from 'events'; import clonedeep from 'lodash.clonedeep'; import JitsiTrackError from '../../JitsiTrackError'; import * as JitsiTrackErrors from '../../JitsiTrackErrors'; import CameraFacingMode from '../../service/RTC/CameraFacingMode'; import RTCEvents fr...
"use strict"; var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard"); var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; var _extends2 = _interopRequireDefaul...
/** * Finds a random move to make * @return {string} move to make */ var randomMove = function() { var possibleMoves = game.moves(); var randomIndex = Math.floor(Math.random() * possibleMoves.length); return possibleMoves[randomIndex]; }; /** * Evaluates current chess board relative to player * @param {stri...
/** * @version 1.1.1 * * @desc Load files in LWO3 and LWO2 format on Three.js * * LWO3 format specification: * http://static.lightwave3d.com/sdk/2018/html/filefmts/lwo3.html * * LWO2 format specification: * http://static.lightwave3d.com/sdk/2018/html/filefmts/lwo2.html * **/ import { AddOperation, BackS...
// Portions Copyright 2019 <NAME> (https://github.com/Jimbly/) // Released under MIT License: https://opensource.org/licenses/MIT /* eslint-env browser */ const assert = require('assert'); const engine = require('./engine.js'); const { filewatchOn } = require('./filewatch.js'); const local_storage = require('./local_s...
/* Oxygen WebHelp Plugin Copyright (c) 1998-2017 Syncro Soft SRL, Romania. All rights reserved. */ /** * @description If Chrome and page is local redirect to index_frames.html */ $(document).ready(function () { debug("document ready ..."); // Add @title to page title element (used to rewrite page title to...
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); exports.run = exports.Install = undefined; var _slicedToArray2; function _load_slicedToArray() { return _slicedToArray2 = _interopRequireDefault(require('babel-runtime/helpers/slicedToArray')); } var _assign; function _load_assign() {...
import * as wallet from "wallet"; import * as sel from "selectors"; import eq from "lodash/fp/eq"; import { checkUnmixedAccountBalance } from "./AccountMixerActions"; import { getStakeInfoAttempt, getBalanceUpdateAttempt, getMixerAcctsSpendableBalances } from "./ClientActions"; import { getVSPTicketsByFeeStatus }...
/* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this file, * You can obtain one at http://mozilla.org/MPL/2.0/. */ const Cc = Components.classes; const Ci = Components.interfaces; const Cu = Components.utils; const Cr = Component...
/** * reconvict * Drop-in replacement for node-convict with runtime configuration reloading. */ 'use strict'; const { EventEmitter } = require('events'); const util = require('util') const json5 = require('json5'); const fs = require('fs'); const validator = require('validator'); const moment = requi...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var tslib_1 = require("tslib"); var React = tslib_1.__importStar(require("react")); var warning_1 = tslib_1.__importDefault(require("warning")); var ReactDOM = tslib_1.__importStar(require("react-dom")); var identifiers_1 = require("../../lib/...
/* * Copyright 2012 Google 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...
/** * @license Copyright (c) 2003-2020, CKSource - <NAME>. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */ /** * @module engine/conversion/upcastdispatcher */ import ViewConsumable from './viewconsumable'; import ModelRange from '../model/range'; import ...
/* * Copyright (c) 2016 The WebRTC project authors. All Rights Reserved. * * Use of this source code is governed by a BSD-style license * that can be found in the LICENSE file in the root of the source * tree. */ /* eslint-env node */ 'use strict'; import * as utils from '../utils.js'; export {shimGetUserM...
/* seek-bzip - a pure-javascript module for seeking within bzip2 data Copyright (C) 2013 <NAME> Copyright (C) 2012 <NAME> Copyright (C) 2011 <NAME> This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundat...
/** wwutils.js: Javascript Utility Functions, common to several Winterwell projects */ const wwutils = {}; if (typeof module !== 'undefined') { module.exports = wwutils; } // hopefully we have from SJTest but if not define assert if (typeof assert === 'undefined') { var assert = function(ok, msg) { if (o...
const bitcoinMessage = require('bitcoinjs-message'); const bitcoin = require('bitcoinjs-lib'); const axios = require('axios'); const cashaddr = require('cashaddrjs'); const MAPPER = { tBTC: 'testnet', tBCH: 'testnet', BTC: 'main', BCH: 'main', }; class Bitcoin { constructor({ CHAIN = 'tBTC', URI, APIKEY, bc...
/** * 作者: 小明 * 版本: 1.0.0 * 更新时间:2020-12-14 * github: https://github.com/2214962083/ios-scriptable-tsx */ // @编译时间 1607924347523 const MODULE = module let __topLevelAwait__ = () => Promise.resolve() function EndAwait(promiseFunc) { __topLevelAwait__ = promiseFunc } // src/lib/constants.ts var URLSchemeFrom ;(fu...
require("console-stamp")(console) const myConfig = require('./config'); const events = require('./events') // replace the value below with the Telegram token you receive from @BotFather // const token = '${TELEGRAM_BOT_TOKEN}'; const token = myConfig.token() const myData = require('./getdata') const dataURL = myConfi...
import React, { Component } from 'react'; import _ from 'lodash'; import cookie from 'react-cookies'; import { connect } from 'react-redux'; import styled from 'styled-components'; import { getUnpaidVouchersList } from '../../../../reducers'; import { Drawer, MenuItem, Checkbox } from 'material-ui/'; import * as api f...
import React, {Fragment} from 'react' import {ActionLink} from 'components/ui/DbLink' import ACTIONS from 'data/ACTIONS' import STATUSES from 'data/STATUSES' import Module, {DISPLAY_MODE} from 'parser/core/Module' import {Suggestion, SEVERITY} from 'parser/core/modules/Suggestions' import {Rule, Requirement} from 'par...
function setBoolValue(selector, value) { $(selector).prop('checked', value); } function setIntValue(selector, value) { $(selector).prop('value', value); } function setFloatValue(selector, value) { $(selector).prop('value', value); } function setColorValue(selector, value) { $(selector).spectrum('set', value); } ...
/** * Datafund Consent generator & viewer * Licensed under the MIT license * Created by <NAME>, <NAME>, <NAME> */ import React, {Component} from 'react'; import { Collapse, Navbar, NavItem, ListGroup, ListGroupItem, ListGroupItemHeading, ButtonGroup, Button, Nav, TabContent,...
const DECLINED = { ledger: [ 'transfer.insufficientFunds', 'transfer.invalidAccount', 'transfer.inactiveAccount', 'transfer.creditAccountNotAllowed', 'transfer.invalidCurrentAccount', 'transfer.invalidSavingsAccount', 'transfer.invalidAccountType', 'tr...
/* KesionCMS通用脚本函数,最后更新于2012-2-9 */ //容错脚本 ResumeError=function (){return true;} window.onerror = ResumeError; //检查是否中文字符 is_zw=function(str){ exp=/[0-9a-zA-Z_.,#@!$%^&*()-+=|\?/<>]/g; if(str.search(exp) != -1){return false;} return true; } //验证是否包含逗号 CheckBadChar=function (Obj,AlertStr) { exp=/[,,]/g; if(Obj.va...
/* eslint-disable */ export const COLUMNS = ["A", "B", "C", "D", "E", "F", "G", "H"]; export const ROWS = ["1", "2", "3", "4", "5", "6", "7", "8"]; export const COLORS = { BLACK: "black", WHITE: "white", }; export const AI_LEVELS = [0, 1, 2, 3]; export const NEW_GAME_SETTINGS = { fullMove: 1, halfMove: 0, enP...
'use strict'; var ApatiteConnection = require('../../lib/database/apatite-connection.js'); var ApatiteError = require('../../lib/error/apatite-error'); var ApatiteTestQueryStream = require('./apatite-test-query-stream.js'); class ApatiteTestConnection extends ApatiteConnection { constructor(dialect) { su...
import booleanPointInPolygon from '@turf/boolean-point-in-polygon'; import distance from '@turf/distance'; import axios from 'axios'; import { GAME_MODE } from './constants'; import { point } from '@turf/helpers'; /** * check in valid format url * @param {string} str */ export function validURL(str) { var patte...
/** * @fileoverview Default entry point for App Engine Node.js runtime. Defines a * web service which returns the mapid to be used by clients to display map * tiles showing tree equity analysis computed in real time. See * accompanying README file for instructions on how to set up authentication. */ const ee = req...
// url parameter method let _atob = function (base32Str) { let base2Str = ""; while (base32Str.length > 0) { let temp = base32Str.substr(0, 1); base32Str = base32Str.substr(1); base2Str += parseInt(temp, 32).toString(2).padStart(5, "0"); } return base2Str; } let _btoa = function...
var messenger_shortcut = new Messenger_shortcut(); function Messenger_shortcut(){ var self = this; self.text_val; self.contenteditable; self.room_id; self.curr_recipient; self.socket; self.global_messenger_count = 0; self.last_message_object = {msgs_count:0,global:0}; self.randId = Math.floor(Math.random...
const exec = require('child_process').exec; var adb = require('adbkit') var client = adb.createClient(); const fs = require('fs'); const fsExtra = require('fs-extra'); const fsPromise = fs.promises; var platform = require('os').platform; var fetch = require('node-fetch') var path = require('path') var commandExists =...
//requirements, img, name, description, effects const NORMAL = 0; const HARDCORE = 1; const TIE = 40; const WIN = 10; const CONTINUE = 11; const generator = [0,0,0,0,1,1,1,2,2,3,3,3,3,4,4,4,4,5,5,5,6,7,7,8,8,9,9, 10,10,10,10,11,11,11,12,12,12,12,13,13,14,14,15,15,15,16,16,17,17,17, 18,18,18,19,19,19,20,20,20,...
/************** RESOURCES Google Code Labs https://github.com/googlecodelabs/webrtc-web/blob/c96ce33e3567b40cd4a5d005186554e33fb8418c/step-05/js/main.js Mozilla Developer Network https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection https://developer.mozilla.org/en-US/docs/Web/API/WebRTC_API/Signaling_a...
const util = require('util'); const fs = require('fs'); const readFileAsync = util.promisify(fs.readFile); const writeFileAsync = util.promisify(fs.writeFile); const EventEmitter = require('events'); const AlexaRemote = require('../lib/alexa-remote-ext.js'); const tools = require('../lib/common.js'); const known = req...
/* MIT License - see LICENSE.md Copyright (c) [2020] [<NAME> <<EMAIL>>] */ /*Version 2.3.3 2021/06/02*/ // Debug var debug = 1; /*debug ausgabe ein oder aus 1/0 */ // statische Parameter var update = 15, /*Update interval in sek, 15 ist ein guter Wert*/ pvpeak = 21610, /*pv anlagenleistung Wp */ ba...
// Your web app's Firebase configuration var firebaseConfig = { apiKey: "AIzaSyBDAs7D67M_T1d3f72oInIxE-GyVegbmjA", authDomain: "the-memory-game.firebaseapp.com", projectId: "the-memory-game", storageBucket: "the-memory-game.appspot.com", messagingSenderId: "597412317401", appId: "1:597412317401:...
//InfoBot v0.666 var request = require("request"); var util = require("util"); var TelegramBot = require("node-telegram-bot-api"); var fs = require("fs"); var Cron = require("cron"); var util = require("util"); //Fetch del GOA e manipolazione dati var GOA = ""; var SETTINGS; var notify = false; if (!fs.existsSync(...
'use strict'; /* eslint max-nested-callbacks: 0 */ var Carpenter = require('carpenterd-api-client'); var Warehouse = require('warehouse.ai-api-client'); var ReleaseLine = require('@wrhs/release-line'); var jsonStream = require('json-stream'); var { AwaitWrap } = require('dynastar'); var thenify = require('tinythen'); ...
/* -*- Mode: Java; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- / /* vim: set shiftwidth=2 tabstop=2 autoindent cindent expandtab: */ // - The JPEG specification can be found in the ITU CCITT Recommendation T.81 // (www.w3.org/Graphics/JPEG/itu-t81.pdf) // - The JFIF specification can be found in ...
const XK_VoidSymbol = 0xffffff; /* Void symbol */ const XK_BackSpace = 0xff08; /* Back space, back char */ const XK_Tab = 0xff09; const XK_Linefeed = 0xff0a; /* Linefeed, LF */ const XK_Clear = 0xff0b; const XK_Return = 0xff0d; /* Return, enter */ const XK_Pause = 0xff13; /* Pause, hold */ const XK_Scroll_Loc...
//// CONFIGURATION AND CONSTANTS const stick = 0//247.9 // set to a longitude, to freeze the camera at that position , camLonOffset = 0 //280 set to a longitude to start the camera at that position , showHinges = false //// Dimensions, framerate, duration. , previewWidth = 854 , previewHeight = 480 ...
/** * Copyright 2019 <NAME>. All Rights Reserved. * * Distributed under MIT license * https://opensource.org/licenses/MIT * */ const process = require('process'); const path = require('path'); const fs = require('fs-extra'); const toSource = require('tosource'); const parse5 = require('parse5'); const rollup = r...
// Final step before push to github => add accessibility options! import React, { Component } from "react"; import PropTypes from "prop-types"; import Column from "../Column"; import { DataCell, FilterIndicator, FilterMenu, Pager, SortIndicator, ToggleCell, ToggleRow } from "../internals"; import ToggleCo...
var i = 1; function reload(){ location.reload(); } function abrirmenu() { document.getElementById("cjmenu").style.visibility = "visible"; document.getElementById("cjmenu").style.width = "250px"; } function cerrarmenu() { document.getElementById("cjmenu").style.width = "0px"; document.getE...
import React,{useEffect, useState} from 'react'; import { makeStyles } from '@material-ui/core/styles'; import Paper from '@material-ui/core/Paper'; import Grid from '@material-ui/core/Grid'; import InputLabel from '@material-ui/core/InputLabel'; import MenuItem from '@material-ui/core/MenuItem'; import TwitterIcon fro...
const fs = require('fs'); const path = require('path'); const xml2js = require('xml2js'); let utils = require('./utils.js'); let fileUtil = require('./file_utils.js'); let stringUtil = require('./string_utils.js'); let ProblemReporter = require('./components/problem_reporter.js'); function Synci18n(options) { // ...
/** * * Create date - 20181120 * Description: * * Usage: * * */ var AnalyticFilter = (function () { "use strict"; var queryFilters = null; var saveOptions = {}; var spacyMapping = { "PERSON" : "People", "GPE" : "Places", "NORP" : "Groups", ...
/** * 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"); you...
import * as React from 'react'; import { List, Checkbox, Button } from 'react-native-paper'; import { Modal, SafeAreaView, ScrollView, StyleSheet, TextInput, Text, View, Pressable, Image } from 'react-native'; import AsyncStorage from '@react-native-async-storage/async-storage'; import { Icon } from 'native-base'; c...
/** Copyright <NAME> <<EMAIL>> -- All Rights Reserved */ // ensure each app gets a local version-specific copy, not shared function require_fresh(path) { const rpa = require.resolve(path); delete require.cache[rpa]; return require(rpa); } const fs = require('fs'); const uglify = require('uglify-js'); cons...
const async = require('async') const JSON5 = require('json5') const path = require('path') const SingleEntryPlugin = require('webpack/lib/SingleEntryPlugin') const loaderUtils = require('loader-utils') const parseComponent = require('../parser') const config = require('../config') const normalize = require('../utils/no...
/** * @name html-crush * @fileoverview Minifies HTML/CSS: valid or broken, pure or mixed with other languages * @version 4.1.10 * @author <NAME>, Codsen Ltd * @license MIT * {@link https://codsen.com/os/html-crush/} */ import { rApply } from 'ranges-apply'; import { Ranges } from 'ranges-push'; import { matchRi...
/* stlinkv2.js * ST-Link probe API class * * Copyright <NAME> 2017 * * Ported from lib/stlinkv2.py in the pystlink project, * Copyright <NAME> 2015 * */ import { Exception, Warning, UsbError } from './stlinkex.js'; const STLINK_GET_VERSION = 0xf1; const STLINK_DEBUG_COMMAND = 0xf2; const STLINK_DFU_COMMAND = ...
var masterContainer = document.getElementById('visualization'); var overlay = document.getElementById('visualization'); var mapIndexedImage; var mapOutlineImage; // where in html to hold all our things var glContainer = document.getElementById('glContainer'); // contains a list of country codes with their matching ...
/* LICENSE _This file is Copyright 2018 by the Image Processing and Analysis Group (BioImage Suite Team). Dept. of Radiology & Biomedical Imaging, Yale School of Medicine._ BioImage Suite Web is licensed under the Apache License, Version 2.0 (the "License"); - you may not use this software except in complianc...
// require discord package npm install discord.js --save const Discord = require('discord.js'); const Util = require('discord.js') const config = require("./config.json") // require ytdl-core npm install const YTDL = require("ytdl-core"); const audio = require("opusscript"); const cleverbot = require('cleverbot.io'...
import React, { Component } from 'react'; import { connect } from "react-redux"; import { withTranslation } from 'react-i18next'; import ChatField from './ChatField'; import ChatErrorList from './ChatErrorList'; import ChatDepartment from './ChatDepartment'; import ChatModal from './ChatModal'; import ChatStartOptions...
/** * Fuse.js v5.2.3 - Lightweight fuzzy-search (http://fusejs.io) * * Copyright (c) 2020 <NAME> (http://kiro.me) * All Rights Reserved. Apache Software License 2.0 * * http://www.apache.org/licenses/LICENSE-2.0 */ const INFINITY = 1 / 0; const isArray = (value) => !Array.isArray ? Object.prototype.toStr...
/** * This is the default application build profile used by the boilerplate. While it looks similar, this build profile * is different from the package build profile at `app/package.js` in the following ways: * * 1. you can have multiple application build profiles (e.g. one for desktop, one for tablet, etc.), but o...
/** * DevExtreme (ui/filter_builder/filter_builder.js) * Version: 18.2.3 * Build date: Wed Nov 07 2018 * * Copyright (c) 2012 - 2018 Developer Express Inc. ALL RIGHTS RESERVED * Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/ */ "use strict"; var _renderer = require("../../core/rendere...
//Scripts for MoToLi story pages //Page global variables var pgOn; //The number of the page to be displayed var pgMax; //The total number of pages in the story //Progress timing global variables var timerInt = 0; //handle for interval timer updating a progress bar var timerOut = 0; //handle of timeout timer...
/* * ::718604! * * Copyright(C) November 20, 2014 U.S. Food and Drug Administration * Authors: Dr. <NAME> (1), Dr. <NAME> (2), et al * Affiliation: Food and Drug Administration (1), George Washington University (2) * * All rights Reserved. * * The MIT License (MIT) * * Permission is hereby granted, free...
const {ShardClientUtil: {shardIDForGuildID}} = require('discord.js'); const {defaultPermissions, limit: {verification: verificationLimit, rcgcdw: rcgcdwLimit}} = require('../util/default.json'); var db = require('../util/database.js'); /** * Processes the "patreon" command. * @param {import('../util/i18n.js')} lang ...
'use strict'; /* eslint-disable @typescript-eslint/no-explicit-any */ // eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types function isIn (v, seq) { /* Return if a value `v` is in sequence `seq`.*/ if (typeof seq.indexOf == "function") { return seq.indexOf(v) !== -1; } r...
//por algun motivo hay un overflow x de tipo scroll al hacer hover sobre un chart por primera vez var datosDigi = Array(); var datosAnalog = Array(); var consignas = Array(); var bombas = Array(); var todoDato = Array(); var todoTrends = Array(); var tagsAcumulados = Array(); sessionStorage.setItem('tagViejo', null); ...
/*--------------------------------------------------------------------------------------------- * Copyright (c) Red Hat, Inc. All rights reserved. * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *----------...
import { __commonJS, init_define_APP_INFO } from "./chunk-PC2SFJIV.js"; // node_modules/print-js/dist/print.js var require_print = __commonJS({ "node_modules/print-js/dist/print.js"(exports, module) { init_define_APP_INFO(); (function webpackUniversalModuleDefinition(root, factory) { if (typeof exp...
function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function (obj) { return typeof obj; }; } else { _typeof = function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && ob...
var syncFrom; var wait; var occasionally; var reconnect; var getLatestOp; var getLeastRecentOp; var waitForAllMembers; var reconfig; var awaitOpTime; var startSetIfSupportsReadMajority; var waitUntilAllNodesCaughtUp; var waitForState; var reInitiateWithoutThrowingOnAbortedMember; var awaitRSClientHosts; var getLastOpTi...
var async = require("async"); var request = require("request"); var xml2js = require("xml2js"); var http = require("http"); var querystring = require("querystring"); var _ = require('lodash'); var GoogleAuth = require("google-auth-library"); var GOOGLE_FEED_URL = "https://spreadsheets.google.com/feeds/"; var GOOGLE_AU...
/* eslint-disable no-console */ const socket = require('./socket'); const twl = require('./data/twl.json'); const constants = require('./constants.js'); require('colors'); /** * The data object contains information about all currently active rooms. * roomname: string { * status: waiting/playing/challenging, * ...
/** * win32-def * win32 definitions for node-ffi * * @version 3.3.0 * @author waiting * @license MIT * @link https://github.com/waitingsong/node-win32-def#readme */ 'use strict'; Object.defineProperty(exports, '__esModule', { value: true }); // dict of windef value const _WIN64_HOLDER = '_WIN64_HOLDER_'; con...
import * as tslib_1 from "tslib"; import "../../CommonImports"; import "../../Core/core.css"; import "./List.css"; import "./ListDropIndicator.css"; import * as React from "react"; import { ObservableLike, ObservableValue } from '../../Core/Observable'; import { FocusWithin } from '../../FocusWithin'; import { FocusZon...
'use strict'; var joi = require('joi'); var hapi = require('hapi'); var _ = require('lodash'); var fs = require('fs'); var path = require('path'); var hoek = require('hoek'); var pug = require('pug'); var util = require('util'); var async = require('async'); var marked = require('marked'); var RepresentationFactory = ...
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); exports.SelectComponent = undefined; var _set = function set(object, property, value, receiver) { var desc = Object.getOwnPropertyDescriptor(object, property); if (desc === undefined) { var parent = Object.getPrototypeOf(object); if (paren...
/*global require, logger. setInterval, clearInterval, Buffer, exports*/ var crypto = require('crypto'); var ST = require('./Stream'); var http = require('http'); var affdex = require('affdex-licode'); var server = http.createServer(); var io = require('socket.io').listen(server, {log:false}); var config = require('./.....
/****************************************************************************** Copyright (c) 2012, Google Inc. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must ...
/** * Custom `color picker` extension */ var ColorPickerExtension = MediumEditor.extensions.button.extend({ name: "colorPicker", action: "applyForeColor", aria: "color picker", contentDefault: "<span class='editor-color-picker'>Text Color<span>", init: function() { this.button = this.docu...
//----------------------------- Global Variables ----------------------------- var gl_5 = null; // WebGL context var shaderProgram_5 = null; var triangleVertexPositionBuffer_5 = null; var triangleVertexNormalBuffer_5 = null; // The GLOBAL transformation parameters var globalAngleXX_5 = 0.0; var globalAngleYY_5 = 0...
'use strict'; var _extends2 = require('babel-runtime/helpers/extends'); var _extends3 = _interopRequireDefault(_extends2); var _promise = require('babel-runtime/core-js/promise'); var _promise2 = _interopRequireDefault(_promise); var _stringify = require('babel-runtime/core-js/json/stringify'); var _stringify2 = ...
const mongoose = require('mongoose'); //const fetch = require('node-fetch') const axios = require('axios') //const getApi = require('./GetApi') const request = require('request'); const User = mongoose.model('User') const fetch = require("node-fetch"); //var querystring = require('querystring'); //const REDIRECT_PAGE...
var raf = require("raf"); var EventEmitter = require("events").EventEmitter; var assign = require("object-assign"); var BezierEasing = require("bezier-easing"); var croissant = require("croissant"); var MediaLoader = require("./MediaLoader"); var hash = require("./hashResource"); var Channels = require("./Channels"); v...
#!/usr/bin/env node // ======================================================================== // Copyright 2014 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 // ...
function diag(data){ if(data.mode == "link"){ diag_link(data.msg); }else if(data.mode == "l3"){ diag_l3(data.msg); } } //サーバからグラフ情報を取得 function diag_getDiag(){ send(NETWORK,{"mode":"list"}) } //サーバから取得したepairの接続状態(L2)を代入 function diag_link(data){ // if(data != "none"){ //noneだった場合は代入しない linkDB = data; cons...
/** * @file commandBroker.js * @module commandBroker * @description Executes commands by calling the appropriate command-function from the commandLibrary, * which will actually be stored functions on the D-Data structure. * @requires module:configurator * @requires module:lexical * @requires module:commandsLibra...
import Dexie, {liveQuery} from 'dexie'; import {module, stop, start, asyncTest, equal, ok} from 'QUnit'; import {resetDatabase, supports, promisedTest, isIE} from './dexie-unittest-utils'; import sortedJSON from "sorted-json"; import {from} from "rxjs"; import {map} from "rxjs/operators"; const db = new Dexie("TestLiv...
var queue = []; var activatedChildren = []; var has = {}; var circular = {}; var waiting = false; var flushing = false; var index = 0; var callbacks = []; var pending = false; var hooks = ["create", "activate", "update", "remove", "destroy"]; var ALWAYS_NORMALIZE = 2; var SIMPLE_NORMALIZE = 1; var SSR_ATTR = "data-...
/* Copyright 2019 Locomote.sh 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...
/*! * simmer * Signature creative & technical work. * https://simmer.ooo * @author <NAME> * @version 5.0.0 * Copyright 2022. CC BY-NC-ND licensed. */ /* jshint ignore:start */ // Generated by CoffeeScript 1.3.3 /* Harvey, A Second Face for Your Application's JavaScript Copyright 2012, <NAME> Released u...
function EQ_GET_DATA(){ var ret = { "name": " lucene-solr working set: {lucene-solr.lucene.analysis.stempel.main}", "value":600393, "prmetrics":{"5":1,"6":1,"7":1,"8":2,"9":1,"10":1,"11":1}, "prmetricvalues":{"5":0,"6":20,"7":0,"8":1050,"9":9,"10":3,"11":49}, "children": [ { "name": "org.apache.lucene.analysis.pl"...
//----------------------------------------------------------------------------- // enums.h // // Project: EPA SWMM5 // Version: 5.1 // Date: 03/20/14 (Build 5.1.001) // 04/14/14 (Build 5.1.004) // 09/15/14 (Build 5.1.007) // 03/19/15 (Build 5.1.008) // 08/05/15...
import React,{Component} from 'react'; import { View,Text, SafeAreaView,ScrollView, ActivityIndicator, StyleSheet,PermissionsAndroid, Alert,BackHandler,TouchableOpacity,Image, ToastAndroid } from 'react-native'; import {connect} from 'react-redux'; import dgram from 'react-native-udp'; import wifi from 'react-native...
var g = 9.8; // [m/s²] var rho = 1.2; // [kg/m³] var freq = 100; var dt = 1/freq; var cd1 = 0.65; // Drag coefficient of rocket. Value is DARK legacy. var cd2 = 0.75; // Drag coefficient of parachute. Value is from http://www.rocketshoppe.com/info/The_Mathematics_of_Parachutes.pdf var rodl = 1; // Lengt...
//3k1b1r/R1p1pppp/2Qp4/8/8/2P1B3/5PPP/1q4K1 w - - 1 23 //"R2k1b1r/2p1pppp/2Qp4/8/8/2P1B1P1/1q3P1P/6K1 b - - 1 23" const START_FEN = "rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w KQkq - 0 1"; //const START_FEN = "R2k1b1r/2p1pppp/2Qp4/8/8/2P1B1P1/1q3P1P/6K1 b - - 1 23" const game = new Chess(START_FEN); const simGame = ...