text
stringlengths
5.97k
41.2k
const chalk = require('chalk') const machina = require('machina') const log = require('./log') const { patternify } = require('./pattern') const Utils = require('./utils') const TYPES = { '>': 'dialogue', '<': 'output', '?': 'prompt', '=': 'list', '@': 'service', '~': 'workflow', '`': 'code', '#': 'com...
var listeChoixRessources = new Array () var listeRessources = new Array () listeChoixRessources ["grClasse"] = "Choisir une classe"; listeChoixRessources ["grSalle"] = "Choisir une salle"; listeRessources [0] = new Ressource ("grClasse","Sélectionnez une classe","vide"); listeRessources [1] = new Ressource ("grC...
// list to store labels let labels = []; // button to get api key const btn = document.querySelector('#btn') const api_input = document.querySelector('#api_input') //citing const citeBtn = document.querySelector('#cite-btn') const citeSection = document.querySelector('.cite') // Instruction link for ap...
const fs = require('fs'); const dialog = require('electron').dialog; const ipc = require('electron').ipcMain; const path = require('path'); const util = require('util'); const exec = require('child_process').exec; const tpl = require('./regX'); // const spawn = require('child_process').spawn; global.filename = undefi...
/** * Title ImgApp<br> * Author Tanaike<br> * GitHub https://github.com/tanaikech/ImgApp<br> *<br> * Retrieve image size (width and height) from file blob.<br> *<br> * <h3>usage</h3> * var blob = DriveApp.getFileById(fileId).getBlob(); // Please retrieve file blob like this.<br> * var res = ImgApp.getSize(b...
/** todo: - particles adicionar mais parameots, como img e etc. - Class canvas - class game padrao que define loop novo do html, process e render, algo dinamico - Entities verificar se da pra ser generico... */ window.requestAnimFrame = (function(){ return window.requestAnimationFrame || ...
'use strict'; Object.defineProperty(exports, '__esModule', { value: true }); function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; } var crypto = require('crypto'); var util = require('util'); var EventEmitter = _interopDefault(require('events')); var Logger...
var CURR_TIME = (Math.floor(Date.now() / 1000)+31536000) * 1000000000; var NON_ACTIVE_NUMBERS = [0, 3, 4, 5, 72, 109, 110, 111, 112] //2 = on foot... not sure how to count that var SLEEP_NUMBERS = [72, 109, 110, 111] var DAY = 86400000 //number of milliseconds in a day var all_data = {}; var id_token; var graphs = {};...
import ClubhouseController from 'clubhouse/controllers/clubhouse-controller'; import {action, set} from '@ember/object'; import {isBlank, isEmpty} from '@ember/utils'; import dayjs from 'dayjs'; import {tracked} from '@glimmer/tracking'; import {GIFT_TICKET, STAFF_CREDENTIAL, RPT, WAP, WAPSO, VEHICLE_PASS, DELIVERY_POS...
// @flow const INPUTS = { inputSelectPlaceholder: 'Selezionare', inputPasswordPlaceholder: `<PASSWORD>'<PASSWORD>`, inputEncryptedPlaceholder: 'Chiave crittografata', authPrivateKeyPlaceholder: 'Inserisci qui la tua chiave privata', authWatchPlaceholder: 'Inserisci qui un indirizzo NEO', } const MISCELLANEOU...
/* -*- mode: javascript; c-basic-offset: 4; indent-tabs-mode: nil -*- */ // // Dalliance Genome Explorer // (c) <NAME> 2006-2013 // // tier-edit.js // "use strict"; var __dalliance_smallGlyphs = {DOT: true, EX: true, STAR: true, SQUARE: true, CROSS: true, TRIANGLE: true, PLIMSOLL: true} Browser.prototype.openTierP...
// Initialize this wehn we actually need it var collections = new Array(); var taxa_by_row = new Array(); var autofill_values = new Object(); var autofill_values_init = 0; var cur_row_num; var cur_collection_no; function handleSubmit() { var f = document.forms[0]; if (f.genus_name.value != "") { insert...
cppTareasDataStore = new Ext.data.Store({ id: 'cppTareasDataStore', proxy: new Ext.data.HttpProxy({ url: CARPETA + '/listado_tareas', method: 'POST' }), baseParams: {tampagina: TAM_PAGINA}, // this parameter is passed for any HTTP request reader: new Ext.data.JsonReader({ roo...
var math3D ={ identityMatrix(m){ m[0]=1; m[1]=0; m[2]=0; m[3] =0; m[4]=0; m[5]=1; m[6]=0; m[7]=0; m[8]=0; m[9]=0; m[10]=1;m[11]=0; m[12]=0;m[13]=0; m[14]=0;m[15]=1; }, cross(a,b){ return [a[1]*b[2]-a[2]*b[1],a[2]*b[0]-a[0]*b[2],a[0]*b[1]-a[1]*b[0]]; }, normalize(...
/* eslint no-param-reassign: 0 no-underscore-dangle: 0 */ const childProcess = require("child_process"); const path = require("path"); const { spawnSync } = childProcess; const constants = require("./constants"); const { findNextUncommentedCharacter } = require("./util"); const apexTypes = constants.APEX_TYPES; con...
/* * 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 ma...
/** * Copyright 2019 The AMP HTML Authors. 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 require...
'use strict'; const esprima = require('esprima'); const babel = require('@babel/parser'); const { strict: assert } = require('assert'); const whence = require('..'); const e = (source, context, options) => { return whence(source, context, { ...options, castBoolean: false }); }; e.sync = (source, context, options) ...
// ---------------------------------------------------------------------------- // Copyright (c) Microsoft Corporation. All rights reserved. // ---------------------------------------------------------------------------- /** * @file SQLite implementation of the local store. * This uses the https://www.npmjs.com/pac...
'use strict'; const config = require('./config'); var spawn = require("spawn-promise"); let api = config.lotus.api; let token = config.lotus.token; function LotusCmd(body) { return new Promise(function (resolve, reject) { const axios = require('axios'); axios.post(api, body, { headers...
/* * Copyright (C) 2016 Quaternion Risk Management Ltd * All rights reserved * */ var drilldownLevels = [ {name: 'creditrating', level: 0, text: 'Credit Rating'} , {name: 'counterparty', level: 1, text: 'Counterparty'} , {name: 'nettingset', level:2, text:'Netting Set'} , {name: 'trade', level:3, ...
var torque = require('../'); var cartocss = require('./cartocss_render'); var Profiler = require('../profiler'); var carto = global.carto || require('carto'); var Filters = require('./torque_filters'); var turbocarto = require('turbo-carto'); var CartoDatasource = require('./datasource'); var TAU = Math.PI * 2; va...
$(function () { // keep this one first in case a browser crashes on new JS syntax. initBrowserWarning(); initAjaxForms(); initHideFlash(); initToggleMenuVisibility(); initLogoutMijnOpenstad(); initAdminHover(); initRoleRequired(); initFadeInOnReady(); initNewsletterForm(); in...
/**************************************************************************** Copyright 2016 Apigee 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/L...
const path = require('path'); const configPath = path.join(__dirname, '..', 'user', 'config.json'); const login = require('facebook-chat-api'); const fs = require("fs"); const config = JSON.parse(fs.readFileSync(configPath, "utf-8")); const log = require("./writeLog"); const database = require("./database"); const ran ...
/* * * grunt-dependency-resolver * http://github.com/zynga/grunt-dependency-resolver * * Copyright 2013, Zynga Inc. * Licensed under the MIT License. * https://raw.github.com/zynga/grunt-dependency-resolver/master/LICENSE-MIT * */ var fs = require('fs'), path = require('path'), scopeScanner = require('./Sco...
"use strict"; var _ = require("underscore"); var util = require("substance-util"); var html = util.html; var Surface = require("substance-surface"); var Outline = require("lens-outline"); var View = require("substance-application").View; var TOC = require("substance-toc"); var Data = require("substance-data"); var Ind...
import { ActionButton, AssetDropdownMenuItem } from "styles/Styles"; import { FontAwesomeIcon } from "@fortawesome/react-fontawesome"; import { Instruction, MyModal, Section, TextPopupTitle, } from "modals/styles/Styles"; import { Spin } from "antd"; import { connect } from "react-redux"; import { faArrowRigh...
'use strict'; Object.defineProperty(exports, '__esModule', { value: true }); function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; } var reactNative = require('react-native'); var React = require('react'); var React__default = _interopDefault(React); var Ani...
'use strict'; var THREE = require('three'); global.THREE = THREE; var async = require('async'); var Vehicle = require('./vehicle'), GridHelper2D = require('./grid'), Settings = require('../settings'); require('./DragControls'); require('./OrbitControls'); require('./TransformControls'); require('./STLLoader'); ...
import '@polymer/app-layout/app-layout.js'; import '@polymer/app-route/app-location.js'; import '@polymer/app-route/app-route.js'; import '@polymer/iron-flex-layout/iron-flex-layout.js'; import '@polymer/iron-icons/av-icons.js'; import '@polymer/iron-icons/communication-icons.js'; import '@polymer/iron-icons/image-icon...
/** * Module dependencies. */ var express = require('../../lib/express'); // Path to our public directory var pub = __dirname + '/public'; // setup middleware var app = express(); // app這物件所有index.js裡面都可使用 app.use(express.static(pub)); // Optional since express defaults to CWD/views var events = require('event...
import React from 'react'; import { Platform, StatusBar, View, BackHandler, Alert, Text, ScrollView, Dimensions, TouchableOpacity, FlatList } from 'react-native'; import { connect } from 'react-redux'; import { HeaderBackButton } from 'react-navigation'; import { setSelectedSchedule, deleteGeneratedCalendar, clearGener...
//BAM-custom-panels.js //holds all of the panels for the application. These are HIGHLY variable for each individual app //the attribute box holds attributes for the map selection var attributeBoxHtml = '<div id="attributeBox" class="nonMapOverlay"> <div id="attributeBoxClose" class="popupCloseCarte">x</div> <div id...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = exports._baseTest = void 0; Object.defineProperty(exports, "expect", { enumerable: true, get: function () { return _expect.expect; } }); exports.test = void 0; var fs = _interopRequireWildcard(require("fs")); v...
/** * https://storage.googleapis.com/localized_docs/zh-cn/2022.1/UnityDocumentation.zip */ const version = '2022.1' const baseUrl = 'https://docs.unity3d.com/cn/' + version const fs = require('fs') const path = require('path') const readline = require('readline') const TService = require("turndown") const TPlugin = ...
'use strict'; const MODE_OFFSETS = { "implied": 0, "immediate": 1, "zero": 2, "zero,x": 3, "absolute": 4, "absolute,x": 5, "absolute,y": 6, "indirect,x": 7, "indirect,y": 8, "accumulator": 9, "indirect": 10, "zero,y": 11 }; const MODE_BYTES = { "implied": 1, "accumulator": 1, "immediate"...
let nameUser let commandHeader let commandBox document.getElementById('enterButton').addEventListener('keyup', () => { if (event.keyCode === 13) { document.getElementById('enterButton').disabled = true // event.preventDefault(); let parent = document.querySelectorAll('#parent') document.querySelector('.animati...
const cssTemplate = require('../../scss/style.scss'); const css4chanXPolyfillTemplate = require('../../scss/4chan-x-polyfill.scss'); const menus = { themes: require('./templates/themes_menu.tpl'), views: require('./templates/views_menu.tpl') }; const dismissedContentCache = {}; const dismissedRestoreCache = {}; co...
/* This is the rough draft of my troll rpg. Press spacebar to attack */ let tick; let autoPause; let gameStatus = "intro"; // Grabbing character divs let player; let enemy; // Preloading all of the sprite animations const images = "assets/images/"; let preloader = []; let debounce = false; let entered = false; ...
function getXPath(node) { var comp, comps = []; var parent = null; var xpath = ""; var hostname = window.location.hostname; var pathName = window.location.pathname; var getAndroidComp = function(name) { if (name.toUpperCase() == "HTML") { return "HTML"; } else if (na...
$(document).ready(function() { var select = $('#node-select') select.change(function() { if (select.val() === 'default') { $('#specs').hide(); return; } else { spanningtree.create_tree(select.val(),pf_data.live_data); } vis.po...
'use strict'; /** * Returns a random Person Object with firstname, surname and country * @return {object} */ function randomPerson() { return people[Math.floor(Math.random() * people.length)]; } module.exports = { generate: randomPerson, amount: function amount() { return people.length; } }...
/* Modal dialog functions for Duet Web Control * * written by <NAME> (c) 2016-2017 * * licensed under the terms of the GPL v3 * see http://www.gnu.org/licenses/gpl-3.0.html */ /* Generic workarounds */ $(".modal").on("hidden.bs.modal", function() { // Bootstrap bug: Padding is added to the right, but never ...
/* W3C def language codes is : language-code = primary-code ( "-" subcode ) primary-code ISO 639-1 ( the names of language with 2 code ) subcode ISO 3166 ( the names of countries ) NOTE: use lower Use this as shown below..... */ function i18n(lang) { this.lang = lang; // in...
"use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; var _element = require("@wordpress/element"); var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"...
// Copyright 2016 <NAME>. 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 applicable la...
const Pty = require('node-pty'); const os = require('os'); const stripAnsi = require('strip-ansi'); const parseCommand = require('../util/parse-command'); const MuteStream = require('mute-stream'); const destroy = require('destroy'); const debounce = require('lodash.debounce'); const { emitKeypressEvents } = require(...
/** * FCO LOI User Management * Registration Controller * * */ var async = require('async'), crypto = require('crypto'), Model = require('../model/models.js'), ValidationService = require('../services/ValidationService.js'), common = require('../../config/common.js'), envVariables = common.con...
/* globals firebase */ var fireworkers = []; var apps = {}; // This version is filled in by the build, don't reformat the line. var VERSION = '2.2.0'; var LocalStorage = function LocalStorage() { this._items = []; this._pendingItems = []; this._initialized = false; this._flushPending = this.flushPending.bind...
"use strict"; var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { if (k2 === undefined) k2 = k; Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); }) : (function(o, m, k, k2) { if (k2 === undefined) k2 = k; o[k2] = m[k]; })...
var URLactual = window.location; $( document ).ready(function() { getStates(); //document.getElementById("btnProfile").disabled = true; }); /** * Función que muestra los campos del cotitular si lo desea */ function check_cotitular(){ if($("input[id='info_cotitular']").is(':checked')){ document....
"use strict"; let get_key = function (x, y) { return x + ":" + y; }; let directions = [ "above", "below", "left", "right" ]; let x_deltas = { "above": 0, "below": 0, "left": -1, "right": 1 }; let y_deltas = { "above": -1, "below": 1, "left": 0, "right": 0 }; // SelectionList // // effectively ...
import React, { createContext, useContext, useReducer, useMemo, useCallback, useEffect } from 'react' import { client } from '../apollo/client' import { TOKEN_DATA, FILTERED_TRANSACTIONS, TOKEN_CHART, TOKENS_CURRENT, TOKENS_DYNAMIC, PRICES_BY_BLOCK, PAIR_DATA, } from '../apollo/queries' import { useEthP...
const express=require('express'); const path=require('path'); const expressValidator=require('express-validator'); const bodyParser=require('body-parser'); const flash=require('connect-flash'); const session = require('express-session'); const bcrypt=require('bcrypt'); const uuid=require('uuid'); const fs = require('fs...
const async = require('async'); const { EventEmitter } = require('events'); const zookeeper = require('node-zookeeper-client'); const Logger = require('werelogs').Logger; const { errors, metrics } = require('arsenal'); const zookeeperHelper = require('./clients/zookeeper'); const { readUInt64BE } = require('./util/bu...
"use strict"; var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { if (k2 === undefined) k2 = k; Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); }) : (function(o, m, k, k2) { if (k2 === undefined) k2 = k; o[k2] = m[k]; })...
import React, { Component } from 'react'; import { ActivityIndicator, Alert, Animated, Dimensions, Text, RefreshControl, View, Modal, ScrollView, TouchableOpacity, } from 'react-native'; import FastImage from 'react-native-fast-image'; import { KeyboardAwareFlatList } from 'react-native-keyboard-awa...
/** * Copyright (c) 2018, Kinvey, Inc. All rights reserved. * * This software is licensed to you under the Kinvey terms of service located at * http://www.kinvey.com/terms-of-use. By downloading, accessing and/or using this * software, you hereby accept such terms of service (and any agreement referenced * there...
// N.B. Different js files still use the same var name space! /* *********** */ /* Filter Code */ /* *********** */ // This goes first because we need to define the filters before we can query // the database as the map loads. var selectedYearStart = ''; d3.select("#yearStartDropdown") .on("change",...
import fs from 'fs'; import path from 'path'; import { BlockTimestamp, CompoundBalances, CompoundDataCurrentTimestamp, CompoundTableData, getCurrentRunnerModelConfig, setCurrentRunnerModelsConfig, } from 'price-aggregation-db'; import { borrowEventName, borrowRepaidEventName, compoundEventNamesToColum...
import React, { Component } from 'react' import './FTheDealerGame.css' import ProgressBar from '../../ProgressBar/ProgressBar.js' import cardFiles from '../../../data/cards.json' import * as Pixi from 'pixi.js' import Button from '../../../graphics/Button' import ReactGA from 'react-ga' Pixi.utils.skipHello() cons...
import Damage from 'leftovers-again/lib/game/damage'; import KO from './komodded'; // import Fitness from './fitness'; import util from 'leftovers-again/lib/pokeutil'; import Log from 'leftovers-again/lib/log'; import volatileStatuses from 'leftovers-again/lib/constants/volatileStatuses'; class TurnSimulator { /**...
/* * * mads - version 2.00.01 * Copyright (c) 2015, Ninjoe * Dual licensed under the MIT or GPL Version 2 licenses. * https://en.wikipedia.org/wiki/MIT_License * https://www.gnu.org/licenses/old-licenses/gpl-2.0.en.html * */ var mads = function(options) { var _this = this; document.body.style.margin = 0 ...
'use strict'; /** * Convert HTML to docx */ const docx = require('docx'); // Used to create docx files const htmlparser = require('htmlparser2'); const decode = require('html-entities').decode; const fs = require('fs'); const fsExtra = require('fs-extra'); const https = require('https'); const path = require('path...
d3.selection.prototype.moveToFront = function() { return this.each(function(){ this.parentNode.appendChild(this); }); }; let points = { time: [[0.01, 1], [1/3, 1.5], [2/3, 3], [1, 7]], rank: [[0.01, 4], [1/3, 2], [2/3, 0], [1, -3]], }; const tooltip = d3.select('body').append('div') .attr('class', 'too...
const faker = require('faker') faker.locale = 'en_GB' const weighted = require('weighted') const arrayToList = (array, join = ', ', final = ' and ') => { const arr = array.slice(0) const last = arr.pop() if (array.length > 1) { return arr.join(join) + final + last } return last } module.exports = (pa...
import React, { useRef, useEffect } from 'react'; import * as d3 from 'd3'; import { isEqual } from 'lodash'; import useChartSettings from '../../hooks/useChartSettings'; import config from '../../config'; import { cleanStr, dateFormat, dateFormatLong, dayToPixels, countryLabel, exists, getEventClasses, ...
import { __extends } from "tslib"; import { Observable } from "../Misc/observable"; import { Quaternion, Matrix, Vector3 } from "../Maths/math.vector"; import { Color3 } from '../Maths/math.color'; import "../Meshes/Builders/linesBuilder"; import { Mesh } from "../Meshes/mesh"; import { PointerDragBehavior } from "../B...
class MIA { constructor(options) { this.initMethod = options.init; this.data = options.data; this.root = document.querySelector(options.el); this.method = options.method; this.sp = new StrategyPool(this); this.initData(); //初始化 } initData() { // 遍历每个节...
let CONTAINER = []; let DISTRICTS = []; function getCirclePitSteps(width, length, object_width, object_length){ let normalized_width = width / object_width; let normalized_length = length / object_length; let x = 0; let y = 0; let dx = 1; let dy = 0; let x_limit = 0; let y_limit = 0; let counter = 0...
const { weeks , months, regexp_months, regexp_weeks, get_month_num, get_weekday_num, get_weekday, get_last_day, check_date, normalize, norm, } = require("./date_util"); const scan = (data, s, pos, add_c=1)=>{ if (s.length <= pos) { return -1; } // const s_ = s.substr(pos); // skip spaces whi...
//@ts-check import { allocBlockArray } from "./array-utils.js"; import { loadWall } from "./ted-asset.js"; import { loadpalettes } from "./wad-asset.js"; import { trimString } from "./file-utils.js"; import { forEachLumpInSection } from "./wad-utils.js"; import { multiTry } from "./exception-utils.js"; export functio...
const CASAuthentication = require("./cas-authentication"); const _ = require("lodash"); const logger = require("./logger"); exports.logout = CASAuthentication.logout; /** * list of current service tickets from the CAS server. Each ticket is an object of: * { casTicket {string}, sessionExpiresAt {number}, sessionId ...
/* eslint-disable no-unused-vars */ import Vue from "vue"; import Vuex, { Store } from "vuex"; import createPersistedState from "vuex-persistedstate"; import SecureLS from "secure-ls"; var ls = new SecureLS({ isCompression: false }); Vue.use(Vuex); import Axios from "axios"; //----------RESOURCES------------- const ...
"use strict"; var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { return new (P || (P = Promise))(function (resolve, reject) { function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } function rejected(value) { try { step(...
/** * Created by Hope on 2/8/2016. */ 'use strict'; var Twitter = require('twitter'), path = require('path'), passport = require('passport'), http = require('http'), OAuth = require('oauth'), config = require(path.resolve('./config/config')); var twittertxt = require('twitter-text'); //console.lo...
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { return new (P || (P = Promise))(function (resolve, reject) { function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } function rejected(value) { try { step(generator.throw...
// detail js //引入本地json数据,这里引入的就是第一步定义的json数据 const app = getApp() var util = require('../../../utils/util.js'); let wxparse = require("../../../wxParse/wxParse.js"); var config = require('../../../config.js'); Page({ data: { dkheight: 300, dkcontent: "", leassonTilte: '', time: '', id: '', li...
/** * Created by jpt on 2018/7/2 0002. */ import React, { Component } from 'react'; import PropTypes from 'prop-types'; import {Form,Row, Col,Card, Table, Checkbox, Button, Select, Radio, Upload, Icon, Input, DatePicker, Modal, Popconfirm, InputNumber, message,} from 'antd' const RadioButton = Radio.Button; const R...
#!/usr/bin/env node const { program } = require("commander"); const jsdom = require("jsdom"); const { JSDOM } = jsdom; const fs = require('fs'); const debug = require('debug')('dummyhtml'); const config = { dummy: {} }; config.dummy.baseDir = 'dummy'; config.dummy.cssPath = `${config.dummy.baseDir}/css`; config.dum...
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); var _values = require('babel-runtime/core-js/object/values'); var _values2 = _interopRequireDefault(_values); var _typeof2 = require('babel-runtime/helpers/typeof'); var _typeof3 = _interopRequireDefault(_typeof2); var _regenerator =...
var spdy = require('../spdy'), util = require('util'), https = require('https'), stream = require('stream'), Buffer = require('buffer').Buffer; var legacy = !/^v0\.(9|10)\..*$/.test(process.version); if (legacy) { var DuplexStream = stream; } else { var DuplexStream = stream.Duplex; } // // ### f...
export const adjectives = [ 'cub', 'month', 'pumped', 'uppity', 'experience', 'zealous', 'slimy', 'overconfident', 'quick', 'wrench', 'spiteful', 'clear', 'weight', 'damage', 'impolite', 'division', 'frightening', 'dare', 'abounding', 'continue', 'bang', 'repair', 'shock', ...
var app = new Vue({ el: '#app', data: { advanced_buttons: false, update_failure_reason: '', platform_description: '', webauthn_support: '', what_is_it: '', solo_version_parts: null, solo_version: null, stable_version_parts: null, stable_version: null, is_solo_secure: null, ...
//UI const locateMeBTN = document.getElementById('locate-btn'); const setMarkerBTN = document.getElementById('setmarker-btn'); const clearAllBTN = document.getElementById('clear-btn'); const hudCHK = document.getElementById('hud-check'); const cheatCHK = document.getElementById('cheat-check'); const hudDOM = document.q...
var popup = { tabId: null, state: { activeTab: "home-tab", pillsActiveTab: "pills-home-tab", recording: "notStarted", microphone: !1, systemSound: !1, }, ready: function () { return ( $(".popup-box").fadeIn("slow"), Promise.all([popup.getGrantAccess(), popup.check...
var overtimeday = "", startottime = "", endottime = "", otreason = "", otpaidtype = "", othours = "", paidTypeText = ""; var timeoutGetOTReason = null; var timeoutGetOTHours = null; var countOTHours = "0"; var editOvertimeForm = false; var doneDateTime = {}; var paidTypeData = { id: "paid-ty...
/* * Copyright 2009, 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 retain the above copyright * notice, this list of conditio...
function fu_add(flg){ var otbl = $("#listFU"); var len = otbl.find(".fu").length; var iter = $("#listFU").attr("data-cntrfu"); iter = parseInt(iter) + 1; //Coords -- var vCords1 = $("#listFU").attr("data-fuCntr1"); var vCords2 = $("#listFU").attr("data-fuCntr2"); //FU Pro DD -- var fuProDD=""; if...
import React, { useCallback, useState, useEffect } from 'react' import styled, { css } from 'styled-components' import { Link } from 'react-router-dom'; import { Button, Flex } from 'rebass'; import BigNumber from 'bignumber.js/bignumber'; import Tooltip from '@mui/material/Tooltip'; import { ethers } from 'ethers'; im...
var editor = null; var controllerUrl = ''; var nodeUrl = ''; var HOST = ''; var PORT = ''; var logStorageID = ''; var PAGESIZE = 20; var nodeManager = null; var nodeApi = null; $(function () { nodeUrl = GetFullUrl(window.location.host); //login nodeApi = new DatanodeServer(nodeUrl); nodeManager = n...
import React, { useState, useEffect } from "react"; import { NavLink } from "react-router-dom"; import { useDispatch, useSelector } from "react-redux"; import { makeStyles, useTheme } from "@material-ui/core/styles"; import moment from "moment"; import IconButton from "@material-ui/core/IconButton"; import GLOB...
$(document).ready(function(){ $(function() { $( "#pasthistorydate" ).datepicker(); $( "#surgicalhistorydate" ).datepicker(); $( "#allergiesdate" ).datepicker(); $( "#accedentdate" ).datepicker(); $( "#bloodtransferdate" ).datepicker(); $( "#misdate" ).datepicker();...
var express = require('express'); var router = express.Router(); var request = require('request'); var network = require('../recycling_tracker/network.js'); const util = require('util'); //get user's company_info by company_id function get_user_company_info(company_id, cb) { var mycompany = new Array(); var sqlque...
import { game } from 'index'; import * as utils from 'helpers/utils'; export default class MoveComponent extends Phaser.Sprite { // Since this class will control the actual x/y position of the sprite, it // will call the phaser sprite super constructor and actually instantiate // the visual component of th...
var template = document.currentScript.parentNode.querySelector('template'); class FreelogMusicplayerWwzh extends HTMLElement { constructor() { super() let self = this; let shadowRoot = self.attachShadow({mode: 'closed'}); const instance = template.content.cloneNode(true); self.root = shadowRoot ...
var IMAGE_HEIGHT = 80; var IMAGE_TOP_MARGIN = 10; var IMAGE_BOTTOM_MARGIN = 10; var SLOT_SEPARATOR_HEIGHT = 0; var SLOT_HEIGHT = IMAGE_HEIGHT + IMAGE_TOP_MARGIN + IMAGE_BOTTOM_MARGIN + SLOT_SEPARATOR_HEIGHT; // how many pixels one slot image takes var RUNTIME = 3000; // how long all slots spin before starting countdown...
import React, { Component } from 'react'; import API from '../../utils/API'; import './Globe.css'; import * as THREE from 'three'; import { Object3D } from 'three'; var OrbitControls = require('three-orbit-controls')(THREE); // init empty array to hold all line objects in // needs to be outside of react class so i...
/* jshint undef: true, unused: true, undef: true */ /* global global, require, console, MODULE_LOADER, MODULE_CHROME, createDeviceSelectorViewGenerator, module_manager */ /* exported activeModule */ // console.log('in device_selector, controller.js'); var EventEmitter = require('events').EventEmitter; var util = req...