text
stringlengths
5.97k
41.2k
//////////////////////////////////////////////////////////////////////////////// // Vectorize // function lerpF(num1, num2, t) { // num * (1-t) + num2 * t return num1.mul( t.neg().add(1) ).add( num2.mul(t) ); } function lerpPt(pt1, pt2, t) { return { x: lerpF(pt1.x, pt2.x, t), y: lerpF(pt1.y, pt2.y, t) };...
/* * Deals with the user drawing on the canvas. * * Copyright (C) 2020, <NAME> * * Project Sand is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) an...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.getNodeName = getNodeName; exports.scopeHasLocalReference = exports.getJestFunctionArguments = exports.isEachCall = exports.isDescribe = exports.isTestCase = exports.getTestCallExpressionsFromDeclaredVariables = exports.isHook = exp...
"use strict"; var __extends = (this && this.__extends) || (function () { var 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] = b[p]; }; return function (d, b)...
var GeometryUtil = require('geo/GeometryUtil'); var FileUtil = require('io/FileUtil'); var Index = require('ds/Index'); var async = require('async'); var _ = require('util'); /** * Export a mesh as OBJ and MTL * @param options * @param options.fs File system to use for exporting (defaults to FileUtil) * @construct...
require('./base-css.js'); require('../css/req-data.css'); var React = require('react'); var ReactDOM = require('react-dom'); var $ = require('jquery'); var QRCode = require('qrcode'); var util = require('./util'); var columns = require('./columns'); var Dialog = require('./dialog'); var FilterInput = require('./filter...
import glm from '../lib/gl-matrix'; import HoleFilling from '../editing/HoleFilling'; import SurfaceNets from '../editing/SurfaceNets'; import Geometry from '../math3d/Geometry'; import MeshStatic from '../mesh/meshStatic/MeshStatic'; import Utils from '../misc/Utils'; import Enums from '../misc/Enums'; var vec3 = glm...
// Copyright Joyent, Inc. and other Node contributors. // // 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, modi...
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); exports.styles = undefined; var _objectWithoutProperties2 = require('babel-runtime/helpers/objectWithoutProperties'); var _objectWithoutProperties3 = _interopRequireDefault(_objectWithoutProperties2); var _getPrototypeOf = require('babel...
/** * Copyright IBM Corp. 2016, 2018 * * This source code is licensed under the Apache-2.0 license found in the * LICENSE file in the root directory of this source tree. */ import PropTypes from 'prop-types'; import React, { Component } from 'react'; import classNames from 'classnames'; import flatpickr from 'fla...
import ReactDOM from 'react-dom'; import { log, func } from '../util'; import Validate from '../validate'; import { getValueFromEvent, getErrorStrs, getParams, setIn, getIn, mapValidateRules, } from './utils'; const initMeta = { state: '', valueName: 'value', trigger: 'onChange', }...
import { Module } from '../../lib/di'; import Pollable from '../../lib/Pollable'; import isBlank from '../../lib/isBlank'; import sleep from '../../lib/sleep'; import moduleStatuses from '../../enums/moduleStatuses'; import ensureExist from '../../lib/ensureExist'; import { selector } from '../../lib/selector'; import ...
import { scrollIntoView } from '../../../js/modules/util/scroll'; import DT from '../../owning-a-home/js/form-explainer/dom-tools'; import Expandable from '@cfpb/cfpb-expandables/src/Expandable.js'; import { assign } from '../../../js/modules/util/assign'; import { closest } from '@cfpb/cfpb-atomic-component/src/utilit...
// Copyright 2014 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. /** * The Exif metadata encoder. * Uses the metadata format as defined by ExifParser. * @param {!Object} originalMetadata Metadata to encode. * @const...
import React from 'react'; import Texture from './Texture'; import Controls from './Controls'; import './GlslCanvas.css'; // By <NAME> on // https://github.com/tangrams/tangram/blob/master/src/gl/glsl.js function parseUniforms(uniforms, prefix = null) { let parsed = []; for (let name in uniforms) { le...
const Promise = require(`bluebird`) const _ = require(`lodash`) const chalk = require(`chalk`) const { bindActionCreators: origBindActionCreators } = require(`redux`) const memoize = require(`memoizee`) const bindActionCreators = memoize(origBindActionCreators) const tracer = require(`opentracing`).globalTracer() con...
const botconfig = require("./brain/botconfig.json"); const whitelist = require("./brain/whitelist.json"); const Discord = require("discord.js"); const fetch = require('node-fetch'); const fs = require('fs'); const buffer = require('buffer'); var r = require('request'); console.log("\x1b[31m ______...
function ByteStream(data){ this.data = data; this.pos = 0; } // read the next byte off the stream ByteStream.prototype.readByte = function(){ return this.data[this.pos++]; }; // look at the next byte in the stream without updating the stream position ByteStream.prototype.peekByte = function(){ return this.data[th...
/* * Minimized version of Pokemon Showdown Client for Node JS * * By: Ecuacion (https://github.com/Ecuacion) (C) Copyright 2015-2016 * * Part of this code is imported from other developments, so credits to: * * Quinella, Morfent (https://github.com/Morfent) and TalkTakesTime (https://github.com/TalkTakesTime) de...
import React from 'preact'; import { css } from 'glamor'; var CHANNEL = '__glamorous__'; /* istanbul ignore next */ var isPreact = true; var _PropTypes = void 0; /* istanbul ignore next */ if (isPreact) { if (!React.PropTypes) { _PropTypes = function PropTypes() { return _PropTypes; }; ['array'...
/* * A JavaScript implementation of the Secure Hash Algorithm, SHA-256, as defined * in FIPS 180-2 * Version 2.2 Copyright <NAME>, <NAME> 2000 - 2009. * Other contributors: <NAME>, <NAME>, Ydnar, Lostinet * Distributed under the BSD License * See http://pajhome.org.uk/crypt/md5 for details. * Also http://anmar.e...
const locale = { // header header: { block: 'Block', transaction: 'Transaction', account: 'Account', asset: 'Asset', about: 'About', language: 'Language: English', flag: 'en', title: 'GXChain Explorer', subtitle: 'Find Block, Transaction an...
/** * @license * Copyright The Closure Library Authors. * SPDX-License-Identifier: Apache-2.0 */ goog.module('goog.userAgentTest'); goog.setTestOnly(); const PropertyReplacer = goog.require('goog.testing.PropertyReplacer'); const googArray = goog.require('goog.array'); const platform = goog.require('goog.labs.use...
import { __rest } from "tslib"; import { Audio, Video } from 'expo-av'; import { Animated, Dimensions, Text, TouchableOpacity, TouchableWithoutFeedback, View, } from 'react-native'; import { FullscreenEnterIcon, FullscreenExitIcon, PauseIcon, PlayIcon, ReplayIcon, Spinner, MuteIcon, UnmuteIcon } from './assets/icons'; ...
'use strict'; /* Proverbs 20:18: Bread obtained by falsehood is sweet to a man, But afterward his mouth will be filled with gravel. We worked really hard for this project. Although we dont care if you enhance it and publish, we would care if you copy it and claim our work as your own. Although it might feel good, t...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; var _mongoObject = _interopRequireDefault(require("mongo-object")); var _SimpleSchema = require("./SimpleSchema"); var _utility = require("./utility"); var _typeValidator = _interopRequireDefault(require("./val...
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } }...
/* $This file is distributed under the terms of the license in LICENSE$ */ /** These are utility functions for Vitro js pages. Much of this is based on the util.js of the DWR package. @author <NAME> */ var vitroJsLoaded = true; //just indicates that this file was loaded. // public method for url encodi...
var browser, renderer, map, lastMessage = ""; var geodata, lineGeometry = null; var demoTexture = null; var usedMouseCoords = [0,0]; var linePoint, lineSegment = 0; var distancePointer, heightPointer, heightPointer2; var trackHeights = [], trackLengths = []; var trackMinHeight, trackMaxHeight; var canvas, canvasCtx, pr...
/** INITIALIZATION */ const { maxHeaderSize } = require('http'); const { Socket } = require('net'); const { time } = require('console'); var app = require('express')(); var http = require('http').Server(app); var io = require('socket.io')(http); app.get('/', function(req, res){ //res.sendFile(__dirname + '/client....
function getPanelHeading(d) { var titleStr = d["hostname"] + " / " + d["name"] + " / " + d["duration"].replace(/^(.*\d\.\d)\d+(s)$/, "$1$2"); var exitClass = (d["exitCode"] > 0)? "text-danger glyphicon-warning-sign": "text-success glyphicon-ok"; exitClass = (d["completed"] == "")? ...
////#region Misc var sel = function (selector) { return document.querySelector(selector); }; var selAll = function (selector) { return document.querySelectorAll(selector); }; // Eine ForEach Erweiterung für alle Enumerables function forEach(callback, scope) { var _this = this ? this : scope; for (var i = 0; i <...
/** * Created by Roquib on 10/02/2020. */ var prixUnitaire=0; (function ($) { $(document).ready(function () { var $wrapperTheme = $('.articles_wrapper'); $wrapperTheme.on('click', '.remove_article', function (e) { e.preventDefault(); // var indexLine = $(this).data('id');...
/* Copyright (C) 2007 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 in writing, softwar...
const tables = new Map(); tables.set('all', [ 'employees', 'positions', 'employmentContracts', 'authorization', 'stops', 'routes', 'stopsOfRoutes', 'servicePrice', 'adOffers', 'vehicles', 'travelSchedule', 'waybill' ]); tables.set('positions.status', 4)...
function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; } var React = require('react'); var classNames = _interopDefault(require('classnames')); var moment = _interopDefault(require('moment')); var HTMLParser = _interopDefault(require('html-react-parser')); var ...
/* * Copyright 2016 <NAME> * * 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...
String.prototype.replaceAll = function(str1, str2, ignore) { return this.replace(new RegExp(str1.replace(/([\,\!\\\^\$\{\}\[\]\(\)\.\*\+\?\|\<\>\-\&])/g, function(c){return "\\" + c;}), "g"+(ignore?"i":"")), str2); }; String.prototype.hashCode = function() { var hash = 0, i, chr, len; if (this.length === 0) retu...
import React, { Component } from "react"; //import SimpleStorageContract from "./contracts/SimpleStorage.json"; import getWeb3 from "./getWeb3"; import MapContract from "./contracts/Map.json" import MyOracle from "./contracts/myOracle.json"; import { Map, TileLayer, Marker, Popup } from 'react-leaflet'; import L from...
const keystone = require( 'keystone' ), Types = keystone.Field.Types, random = require( 'mongoose-simple-random' ), SourceMiddleware = require( './event.source.controllers' ), Validators = require( '../../utils/field-validator.controllers' ), listService = require( '../lists/li...
function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; } var React = require('react'); var React__default = _interopDefault(React); var PropTypes = _interopDefault(require('prop-types')); function _inheritsLoose(subClass, superClass) { subClass.prototype = O...
var contextPath = $("meta[name='contextPath']").attr("content"); var zuulUrl = $("#zuulServerUrl").val() + "/timetable/"; function getJWTAuthority() { var authorization = ""; initDirectoryEngine({ getHostsUrl: contextPath + "/shareApi/getHosts", getAuthorizationUrl: contextPath + "/shareApi/get...
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("va...
import { findRepos } from 'jest-changed-files'; /* eslint-disable no-plusplus */ /* eslint-disable func-names */ /* eslint-disable no-else-return */ /* eslint-disable prefer-template */ /* eslint-disable radix */ /* eslint-disable spaced-comment */ /* eslint-disable no-var */ /* eslint-disable vars-on-top */ /* eslint...
import React, { Component } from 'react' import PropTypes from 'prop-types' import { graphql, gql, compose } from 'react-apollo' import findIndex from 'lodash/findIndex' import some from 'lodash/some' import debounce from 'lodash/debounce' import throttle from 'lodash/throttle' import { CHATROOM_STATE_TYPES } from '.....
var LB = 1, //Left Bottom LT = 2, //Left Top RT = 3, //Right Top RB = 4, //Right Bottom HR = 1, //Horizontal VR = 2, //Vertical WordObjType = 'span', DIV = 'div', Word_Default_font_Family = 'Impact', distance_Counter = 1, word_c...
/** * Wizixo - Multipurpose Corporate Theme * * @author Webestica (https://www.webestica.com/) * @version 1.1.0 */ /* =================== Table Of Content ====================== 01 PRELOADER 02 COUNTER 03 PORTFOLIO ISOTOPE 04 WOW 05 OWL CAROUSEL 06 SWIPER SLIDER 07 BACK TO TOP 08 STICKY BAR 09 STICKY HEADER 1...
/** * nanomaps.motion.js * Motion events (click and touch) on a MapSurface */ /** * Class that can handle motion events on a map * @constructor * @name nanomaps.MotionController * @private */ var STATE_DOWN=0, STATE_DRAG=1, STATE_CLICK_PEND=2, CLICK_DOUBLE_MS=280, TOUCH_THRESHOLD=10, TOUCH_LONGTAP_MS=1000,...
// Util for Bitcoin-specific functionality const bech32 = require('bech32').bech32; const bs58check = require('bs58check'); const Buffer = require('buffer/').Buffer; const constants = require('./constants') const DEFAULT_SEQUENCE = 0xffffffff; const DEFAULT_SIGHASH_BUFFER = Buffer.from('01', 'hex'); // SIGHASH_ALL = 0x...
/* @license * Copyright 2019 Google LLC. 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 a...
require("requirish")._(module); var factories = require("lib/misc/factories"); var should = require("should"); var BinaryStream = require("lib/misc/binaryStream").BinaryStream; var util = require("util"); var ec = require("lib/misc/encode_decode"); var _ = require("underscore"); var redirectToFile = require("lib/misc/...
import sourceAutocomplete from './sourceAutocomplete' import sourceOption from './sourceOption' import {abeExtend, User, cmsData} from '../../../' export function getAttributes(params) { var attributes = '' if (params.key != null) attributes += `id="${params.key}" data-id="${params.key}"` if (params.value !=...
// Database functions and vars // The app will use only ONE database, for now it will be called TripMySchoolJournalDB // Needs to be included before index.js! // *The database currently has the tables; 'Entries' var initialize = []; var database = new function () { // ----- Constructors ----- // function E...
/** @typedef {import('../tbtc.js').CommandAction} CommandAction */ /** @typedef {import('../../src/TBTC.js').ElectrumConfig} ElectrumConfig */ /** @typedef {import('../../src/TBTC.js').Web3} Web3 */ /** @typedef {import('../../src/TBTC.js').TBTC} TBTCInstance */ /** @typedef {import('../../src/Deposit.js').default} Dep...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.renderEmitter = exports.EMITTER_EVENT_TEXTURE_OFFSET = exports.EMITTER_PARTICLE2_TEXTURE_OFFSET = exports.EMITTER_UBERSPLAT = exports.EMITTER_SPLAT = exports.EMITTER_RIBBON = exports.EMITTER_PARTICLE2 = exports.TAIL = exports.HEAD = ...
/** * Created by guangqiang on 2017/9/15. */ 'use strict' var React = require('react'); import { ViewPropTypes } from 'react-native' var { ListView, Platform, TouchableHighlight, View, Text, RefreshControl, ScrollView, ActivityIndicator, InteractionManager, } = require('react-native'); import shall...
const log = require("./lib/logger")("Twitter Monitor V1"); const path = require("path"); const express = require("express"); const twit = require("twit"); const fs = require("fs"); var mongoose = require('mongoose'); const request = require("request"); const twitterSchema = require("./schema/twitter"); const notify = r...
/** * Created by velsubra on 3/12/15. */ if (server) { TamilFactory.context += "/rest"; } var EDIT_TRANSLIT = TamilFactory.createTransliterator(); var EDIT_PARSE = TamilFactory.createParser(10); var EDIT_DICTIONARY = TamilFactory.createDictionary(20); //Starts with pulli and then aa var glyph = ['\u0BCD', '...
/* Copyright (C) 2022 Ber4tbey. Licensed under the MIT License; you may not use this file except in compliance with the License. DisOwen - Ber4tbey */ var d = function d() { return new Date(); } const config = require('./config'); const chalk = require('chalk'); const Discord = require("discord.js-owen"); c...
var _ = require('../util') var isObject = _.isObject var isPlainObject = _.isPlainObject var textParser = require('../parsers/text') var expParser = require('../parsers/expression') var templateParser = require('../parsers/template') var compiler = require('../compiler') var uid = 0 // async component resolution state...
/********************************************* * List of all possible User Properties * * @param {string} propertyName - purpose. * @param {string} activeSpreadsheetID - purpose. * @param {string} requestedModules - this is during the initial auth request. * @param {string} enabledModules - Once the user is auth...
var _get = function get(object, property, receiver) { if (object === null) object = Function.prototype; var desc = Object.getOwnPropertyDescriptor(object, property); if (desc === undefined) { var parent = Object.getPrototypeOf(object); if (parent === null) { return undefined; } else { return get(parent, property, recei...
"use strict"; const sql = require('mssql'); const path = require('path'); const Yadamu = require('../../common/yadamu.js'); const YadamuLibrary = require('../../common/yadamuLibrary.js'); class StatementGenerator { constructor(dbi, targetSchema, metadata, yadamuLogger) { this.dbi = dbi; this.targetSchem...
import React, { Component, Fragment } from 'react'; import { connect } from 'dva'; import {Row,Col,Icon,Card,Tabs,Table,Radio,Select,DatePicker,Tooltip,Menu,Dropdown,} from 'antd'; import numeral from 'numeral'; import {ChartCard,yuan,WaterWave,MiniArea,MiniBar,MiniProgress,Field,Gauge,Bar,Pie,TimelineChart,} from 'com...
import React, { Component } from "react"; import { connect } from "react-redux"; import Theme1 from "../Assets/1"; import Theme2 from "../Assets/2"; import Theme5 from "../Assets/3"; import Theme3 from "../Assets/4"; import Theme4 from "../Assets/5"; import Theme6 from "../Assets/6"; import Theme7 from "../Assets/7"; ...
import _ from 'lodash'; var bf = {}; //BEGIN copied from underscore var ArrayProto = Array.prototype; //, ObjProto = Object.prototype, FuncProto = Function.prototype; // Create quick reference variables for speed access to core prototypes. var slice = ArrayProto.slice; //END copied from underscore bf.stringify = func...
/* * Copyright (c) 2014 Juniper Networks, Inc. All rights reserved. */ function topology(){ var nodeArr = new Array(),nodesD3 = new Array(),linksD3 = new Array(),nodesLabels = new Array(), linksLabels = new Array(); var loadedD3 = false; var id; var graph,node,link,nodeLabel,linkLabel,force,forceLabe...
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); var _toConsumableArray2 = require('babel-runtime/helpers/toConsumableArray'); var _toConsumableArray3 = _interopRequireDefault(_toConsumableArray2); var _keys = require('babel-runtime/core-js/object/keys'); var _keys2 = _interopRequir...
/** * Copyright 2018 bluefox <<EMAIL>> * * Licensed under the Creative Commons Attribution-NonCommercial License, Version 4.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://creativecommons.org/licenses/by-nc/4.0/leg...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports["default"] = void 0; var _vue = _interopRequireDefault(require("vue")); var _vueRouter = _interopRequireDefault(require("vue-router")); var _Index = _interopRequireDefault(require("@/components/Index/Index")); var _Four = _inter...
/* texture generator functions */ function CrateTexture() { return function (x, y) { x *= 128; y *= 128; var c = (x < 10 || x > 117 || y < 10 || y > 117 || abs(x-y+256) < 7 || abs(128-x-y) < 7) ? 1 : 0; var color = []; color[0] = 128 - c * 32 + Math.random() * 20; color[1] = 96 - c * 32 + Math.ra...
import React from "react"; import PropTypes from "prop-types"; import "./Child.scss"; const Child = ({ respObj }) => { const sampleTxt = "TEST DATA"; const title = respObj.title; console.log(title); return ( <div id="mainContain"> <div id="1" style={{ fontWeight: "450" }}> {respObj.explanatio...
var global_data = ""; var global_country_codes = ""; var global_world = ""; var global_world_map_self = ""; var global_country_data = ""; var _colorScale; var global_selected = []; var global_rotation = []; var rotation_play = false; var rotate = [10, -10], velocity = [.01, 0], time = Date.now(); /** * Const...
'use strict'; function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; } var react = require('react'); var OT = _interopDefault(require('@opentok/client')); function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var nc_keyboard = require("./build/Release/nc_keyboard"); /** * 虚拟键盘码 */ var vKeyCode; (function (vKeyCode) { vKeyCode[vKeyCode["VK_LBUTTON"] = 1] = "VK_LBUTTON"; vKeyCode[vKeyCode["VK_RBUTTON"] = 2] = "VK_RBUTTON"; vKeyCode[vKey...
var helper = new POS_Helper(); $.fn.scrollToElement = function (elem, speed) { var $this = jQuery(this); var $this_top = $this.offset().top; var $this_bottom = $this_top + $this.outerHeight(true); var $elem = jQuery(elem); var $elem_top = $elem.offset().top; var $elem_bottom = $elem_top + $elem...
/** * @desc: Bigpipe * @authors: Yex * @date: 2016-08-03 20:32:03 * */ 'use strict'; var _ = require('lodash'); var EventEmitter = require('events').EventEmitter; // var config = require('./config'); // var monitor = config.plugins('monitor'); //require('@qnpm/q-monitor'); var debug = require('debug'); //require...
import React from 'react'; import PropTypes from 'prop-types'; import QueryAssist from '@jetbrains/ring-ui/components/query-assist/query-assist'; import Input, {Size as InputSize} from '@jetbrains/ring-ui/components/input/input'; import Select from '@jetbrains/ring-ui/components/select/select'; import Link from '@jetbr...
CLI_UNICODETABLE = [ 0, 9786, 9787, 9829, 9830, 9827, 9824, 8226, 9688, 9675, 9689, 9794, 9792, 9834, 9835, 9788, 9658, 9668, 8597, 8252, 182, 167, 9644, 8616, 8593, 8595, 8594, 8592, 8735, 8596, 9650, 9660, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, ...
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate...
const http = require('http'); const url = require('url'); const mime = require('mime'); const path = require('path'); const fs = require('fs'); let html_index = `<!doctype html> <html> <head> <meta charset='utf-8'> <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-s...
'use strict'; var u = require('unparse-js'), C = u.combinators, Cst = u.cst; var P = C.position, item = P.item, oneOf = P.oneOf, literal = P.literal, string = P.string, not1 = P.not1, not0 = C.not0, cut = Cst.cut, node = Cst.node, alt = C.alt, many0 = C.many0, many1 = C.many1, error = ...
import React from 'react' import { Accordion, Container, Col, Row, DropdownButton, Dropdown, Button, Image } from 'react-bootstrap' import Slider from '@material-ui/core/Slider' import NNGraph from './NNGraph' import { Spring } from 'react-spring/renderprops' import * as math from 'mathjs' import * as _ from 'lodash' i...
//FB $(function () { $(function () { //create instance $('.chart').easyPieChart({ animate: { duration: 1000, enabled: true } }); }); }); randomBackground(); window.fbAsyncInit = function() { FB.init({ appId : '1711103188904701', //12636669795...
/*! * DevExtreme (Vector Map) * Version: 15.1.5 * Build date: Jul 15, 2015 * * Copyright (c) 2012 - 2015 Developer Express Inc. ALL RIGHTS RESERVED * EULA: https://www.devexpress.com/Support/EULAs/DevExtreme.xml */ "use strict"; function noop() { } function eigen(x) { return x; } function isFunction(...
#!/usr/bin/env node const { Serialize } = require('eosjs'); const { TextDecoder, TextEncoder } = require('text-encoding'); const fetch = require('node-fetch'); const WebSocket = require('ws'); const pako = require('pako'); const { loadModels } = require('../../../extensions/tools/models'); const { getAbis, getAbiAbi }...
var url_atual = window.location.href; url_atual = url_atual.substring(0,22); var tableInstituto; $(function(){ //buscaPaises(); // Consulta a API //buscarEnderecos(); // Consulta os endereços do banco de dados $('#telefone').mask('(00) 00000-0000'); // Mask phone utilizando jquery mask $('#cnpj').ma...
import { VISITOR_KEYS, NODE_FIELDS, ALIAS_KEYS, BUILDER_KEYS } from "@babel/types"; const SYMBOLS_IMPL = "sym"; export { VISITOR_KEYS }; const GLOBAL_SYMBOLS = SYMBOLS_IMPL === "sym"; const OBJ_SYMBOLS = SYMBOLS_IMPL === "obj"; const STR_SYMBOLS = SYMBOLS_IMPL === "str"; const NUM_SYMBOLS = SYMBOLS_IMPL === ...
import "@babel/polyfill" import { paths } from './config.paths' import Koa from 'koa'; import http from 'http'; import path from 'path' import Router from 'koa-router' import socketIO from 'socket.io'; import serve from 'koa-static' import bodyParser from 'koa-bodyparser' import * as admin from 'firebase-admin'; cons...
'use strict'; const _ = require('lodash'); const shortid = require('shortid'); // messages send to cluster_master const clusterMasterMessages = { ipc: { 'process:SIGTERM': 'SIGTERM', 'process:SIGINT': 'SIGINT', 'worker:shutdown': 'worker:shutdown', shutdown: 'worker:shutdown' }...
import $ from "jquery"; import ko from "knockout"; import system from "./system"; import viewLocator from "./viewLocator"; import binder from "./binder"; import viewEngine from "./viewEngine"; import activator from "./activator"; /** * The composition module encapsulates all functionality related to visual compositio...
var $j = jQuery.noConflict(); window._ = Lazy; /* * A bunch of useful functions */ function fswitch(a, cases){ if (cases[a] != undefined) return cases[a](); } // Better switch function safe(k){ return typeof k === "undefined" ? _.identity : k; } // Undefined function protection // pesudo async e...
var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; var _slicedToArray = function () { function sliceIterator(arr...
/* global gaObj, app, online_pay, confirm_url, loginObj, lastUsedAddressId, selectObj, _isAuthenticated, ajax_add_all_delivery_addresses, ajax_add_delivery_address, userAddress, orderId, grid_locationId, ajax_common_validate_sms_code, ajax_is_order_need_sms_validate, ajax_common_sms_code, check_coupon_url, setLastAddrU...
import {Reference, Handle} from './Reference.js'; import angular from './angularCompatibility.js'; import stats from './utils/stats.js'; import {makePathMatcher, joinPath, splitPath, escapeKey, unescapeKey} from './utils/paths.js'; import {isTrussEqual, copyPrototype} from './utils/utils.js'; import {promiseFinally} fr...
// // // NOTE - viewport is now imported from viewport-mercator-project // This file is no longer used and will soon be removed // // // View and Projection Matrix calculations for mapbox-js style // map view properties // // ATTRIBUTION: // Projection matrix creation are intentionally kept compatible with // mapbox-g...
/** * The DAG-Browser displays the DAG built by the SODA-Backend and * lets the user interactively explore it. * * @module dagBrowser */ /** * The DAG-Browser displays the DAG built by the SODA-Backend and * lets the user interactively explore it. * * @module dagBrowser */ /** * DagBrowser is...
const modelPath = 'models/' const modelListURL = 'models/list.json' const noiseLevel = ['None', 'Low', 'Medium', 'High', 'Highest']; window.onload = function () { let app = new Application(); app.loadImage('miku_small_noisy.jpg'); } function Application() { let app = this; app.img = null; app.isWo...
/* eslint max-len: off */ // generated with gravit.io -> svgo -> svgr // svgo -i source.svg \ // --disable={mergePaths,prefixIds,cleanupIDs,removeTitle,removeDesc,removeViewBox} \ // --enable=removeDimensions —pretty -o - \ // | svgr --no-svgo \ // > src/Plan.js import React from 'react'; import Se...
var UserMove = {}; UserMove.from = SQUARES.NO_SQ; UserMove.to = SQUARES.NO_SQ; var MirrorFiles = [ FILES.FILE_H, FILES.FILE_G, FILES.FILE_F, FILES.FILE_E, FILES.FILE_D, FILES.FILE_C, FILES.FILE_B, FILES.FILE_A ]; var MirrorRanks = [ RANKS.RANK_8, RANKS.RANK_7, RANKS.RANK_6, RANKS.RANK_5, RANKS.RANK_4, RANKS.RANK_...