text stringlengths 8.5k 48.7k |
|---|
var greekEnabled = false;
var map = new Array();
map['``'] = '“';
map['\'\''] = '”';
map['´´'] = '”';
map[',,'] = '„';
map['<<'] = '«';
map['>>'] = '»';
map[':'] = '·';
map['?'] = ';';
map[' )'] = '᾽';
map['a'] = 'α';
map['α/'] = 'ά';
map['α\\'] = 'ὰ';
map['α='] = 'ᾶ';
map['α)'] = 'ἀ';
map['α('] = 'ἁ';
map['α_'] = '... |
import React, { PureComponent } from 'react';
import { StyleSheet, Animated, Easing } from 'react-native';
import PropTypes from 'prop-types';
import { colors } from '../../../styles/common';
import ConfirmSend from '../../Views/SendFlow/Confirm';
import TransactionReview from '../TransactionReview';
import Transaction... |
import React, { Component } from 'react';
import { Image, TouchableOpacity, Text, StatusBar,Platform, View, KeyboardAvoidingView, TextInput, Alert, Modal, ActivityIndicator, RefreshControl,BackHandler} from 'react-native';
import LinearGradient from 'react-native-linear-gradient';
import { Dropdown } from 'react-nativ... |
/**
* @license
* @Author: <NAME>, Kenneth
* @Date: 2016-01-21T12:04:28-05:00
* @Email: <EMAIL>
* @Last modified by: Astrianna
* @Last modified time: 2016-02-27T21:28:52-05:00
*/
'use strict';
const assert = require('chai').assert;
const rouge = require('../dist/es5/rouge');
const deepEqual = assert.deepEqual;
c... |
var _queryurl = "";
var _sortOrder = "asc";
var _sortText = "升序排列";
var _beforeRowData = "";
var _afterRowData = "";
var _DataArray = [];
var _comboboxfield = [];
var _post_param = "";
var _dg_param = "";
var _isEditRowId = "";
var _beforeSave = "";
var _beforeCancel = "";
var _beforeDelete = "";
var _beforeErrorData =... |
/* bubbleChart creation function. Returns a function that will
* instantiate a new bubble chart given a DOM element to display
* it in and a dataset to visualize.
*
* Organization and style inspired by:
* https://bost.ocks.org/mike/chart/
*
*/
function bubbleChart() {
// Constants for sizing
var width = 800... |
var sideOverlay = document.getElementsByClassName("page-overlay")[0];
var sideContainer = document.getElementsByClassName("side-container")[0];
var loader = document.getElementsByClassName("progress-container")[0];
var originalSideOverlay = document.getElementsByClassName("side-container")[0].innerHTML;
var data = null... |
import React, {Fragment, PureComponent} from 'react'
import {Map as LeafletMap, TileLayer} from 'react-leaflet';
import {FontAwesomeIcon} from '@fortawesome/react-fontawesome'
import {
faBan,
faCrosshairs,
faDrawPolygon,
faEye,
faHome,
faPlay,
faPlus,
faQuestion,
faRoute,
faSatel... |
import React, { Fragment, useMemo } from "react";
import {
Button,
CodeSnippet,
DataTable,
Link,
Table,
TableBatchAction,
TableBatchActions,
TableBody,
TableCell,
TableContainer,
TableExpandedRow,
TableExpandHeader,
TableExpandRow,
TableHead,
TableHeader,
... |
//
// Author: <NAME> <EMAIL>
// Sep 2013
//
var net = require('net');
var cluster = require('cluster');
var domain = require('domain');
var cron = require('cron');
var path = require('path');
var util = require('util');
var url = require('url');
var fs = require('fs');
var os = require('os');
var spawn = require('ch... |
var State = {
SWIMMING : 0,
SWIMMING_TO_HURT : 1,
HURT : 2,
HURT_TO_SWIMMING : 3
};
var HelloWorldLayer = cc.Layer.extend({
_title:"Testing Animate3D",
_subtitle:"Touch to beat the tortoise",
_sprites:[],
_swims:[],
_hurts:[],
_turn_arounds:[],
_moveActions:[],
_states:... |
import React, {useEffect, useRef, useState} from 'react';
import * as d3 from 'd3';
import raw from 'raw.macro';
import Table from './PercentTable';
import styled from 'styled-components';
import {interval} from 'd3-timer';
const Tooltip = styled.div`
position: fixed;
max-width: 100px;
font-family: 'OfficeCodePr... |
"use strict";
const ChildProcess = require("child_process");
const Constants = require("../Constants");
const Dgram = require("dgram");
const DNS = require("dns");
const OPCodes = Constants.VoiceOPCodes;
const Piper = require("./Piper");
const VoiceDataStream = require("./VoiceDataStream");
let WebSocket = typeof wind... |
import Canvas from '../Canvas'
import Matrix from '../Matrix'
import ImageFilter from './index'
import Color from '../Color'
let makeId = 0
const functions = {
partial,
multi,
merge,
weight,
repeat,
colorMatrix,
each,
eachXY,
createRandomCount,
createRandRange,
createBitm... |
$(document).ready( function() {
$('[data-toggle="tooltip"]').tooltip();
});
var arrRefIdNameFax=new Array(); //array to get phy fax for "Other Ref Phy(Last, First Name)" text field
//Reff. Phy. Names
var arr_ref_phy_name = new Array;
$.each(global_php_var.typeahead_arr['stringAllPhy'],function(id,val){
$.each(val,fun... |
/*
* viewer for the world.
*/
var canvas = $('#world');
var viewProperties = {
frameWidth: 1445,
zoomFactor: 1,
objectWidth: 12,
lineHeight: 15,
objectLabelColor: new Color ("#94c2f5"),
objectForegroundColor: new Color ("#000000"),
fontSize: 10,
symbolSize: 14,
highlightColor... |
import User from '../models/user';
import Rate from '../models/rate';
import Setting from '../models/setting';
import MarketOrder from '../models/marketOrder';
import numeral from 'numeral';
import randomstring from 'randomstring';
import fs from 'fs-extra';
import imagemin from 'imagemin';
import imageminJpegtran from... |
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.defaultChipRenderer = undefined;
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,... |
'use strict';
var frameService = require('../../lib/frame-service/external');
var BraintreeError = require('../../lib/braintree-error');
var convertToBraintreeError = require('../../lib/convert-to-braintree-error');
var useMin = require('../../lib/use-min');
var once = require('../../lib/once');
var VERSION = "3.42.0"... |
/**
* @module gmf.datasource.Manager
*/
import gmfDatasourceOGC from 'gmf/datasource/OGC.js';
import gmfDatasourceWFSAliases from 'gmf/datasource/WFSAliases.js';
import gmfLayertreeSyncLayertreeMap from 'gmf/layertree/SyncLayertreeMap.js';
import gmfLayertreeTreeManager from 'gmf/layertree/TreeManager.js';
import gmf... |
import React, { useEffect, useState, useMemo, useRef } from "react";
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
import {
faChevronLeft,
faSearch,
faEllipsisH,
faLongArrowAltLeft,
faTimes,
} from "@fortawesome/free-solid-svg-icons";
import { useSelector, useDispatch } from "react-redux";... |
/* eslint-disable max-lines */
import date from 'api/utils/date';
import propertiesHelper from 'shared/comonProperties';
import dictionariesModel from 'api/thesauri/dictionariesModel';
import { createError } from 'api/utils';
import { filterOptions } from 'shared/optionsUtils';
import { preloadOptionsLimit, preloadOpti... |
// add class : animation-play-state: paused
/*********************************************/
var respond = {
"location":{
"start":{
"top_right":{
"lat":[40.725362, 40.742862,40.744125 ],
"lng":[-74.002692, -74.000311, -73.983645 ]
},
"top_left":{
"lat":[40.725362, 40.7428... |
'use strict';
exports.__esModule = true;
var _SystemRenderer2 = require('../SystemRenderer');
var _SystemRenderer3 = _interopRequireDefault(_SystemRenderer2);
var _MaskManager = require('./managers/MaskManager');
var _MaskManager2 = _interopRequireDefault(_MaskManager);
var _StencilManager = require('./managers/S... |
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.exec = undefined;
var _stringify = require('babel-runtime/core-js/json/stringify');
var _stringify2 = _interopRequireDefault(_stringify);
var _typeof2 = require('babel-runtime/helpers/typeof');
var _typeof3 = _interopRequireDefa... |
/*
Copyright 2010 SourceGear, LLC
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, sof... |
"use strict";
var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, privateMap, value) {
if (!privateMap.has(receiver)) {
throw new TypeError("attempted to set private field on non-instance");
}
privateMap.set(receiver, value);
return value;
};
var __classPriv... |
let CONFIG = {
/**
* The category, name, key, url, search path, color, icon, and quicklaunch properties for your commands.
* Icons must be added to "icons" folder and their values/names must be updated.
* If none of the specified keys are matched, the '*' key is used.
* Commands without a category don't s... |
#!/usr/local/bin/node
/**
* # nodeGame Installer
* Copyright(c) 2011-2019 <NAME>
* MIT Licensed
*
* http://www.nodegame.org
*/
"use strict";
// Modules.
const isWin = /^win/.test(process.platform);
const path = require('path');
const fs = require('fs');
const execFile = require('child_process').execFile;
cons... |
function sleepCesar(ms) {
return new Promise(resolve => setTimeout(resolve, ms));
}
var ic=0, idc=0;
var tCAdd=600, tDcAdd=600;
var tCRemove=200, tDcRemove=200;
var parpadeo='parpadeo2N';
var parpadeoNext='parpadeoNext2N';
var abc = ["","A","B","C","D","E","F","G","H","I","J","K","L","M","N","Ñ","O","P","Q","R","S"... |
/*
Created by <NAME> [<EMAIL>]
This javascript code is provided as is with no warranty implied.
Akshay Srinivasan is not liable or responsible for any consequence of
using this code in your applications.
You are free to use it and/or change it for both commercial and non-commercial
applications... |
/* eslint-disable no-multi-spaces */
/* eslint-disable indent */ // TODO: Fix this after merging Rob's stuff
// Testing line ending
var nw = require('nw.gui');
var $ = window.$;
var Vue = window.Vue;
var httpVueLoader = window.httpVueLoader;
var updateDonutChart = window.updateDonutChart;
var keyBindings = require('./f... |
/**
* system: Discord RPCTool
* author: <EMAIL>
*/
/**
* ■ Helper functions:
*/
const getElement = id => document.getElementById(id);
const getModal = id => new bootstrap.Modal(getElement(id), {});
const getElementsByClass = n => document.getElementsByClassName(n);
const checkBoxEnabled = id => RPCGUI.dekcheckboxes[id... |
/**
* Copyright (c) 2013 <NAME>
* Copyright (c) 2015-2016 <NAME>
*
* 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... |
/*
This is the background page for the extension. It's primary purpose is to hold the options selected in memory to enable quick access to them. It will also communicate with the content script.
This script will also contain the code called when buttons are clicked in the options page.
Author: <NAME>
Date Created: 11/... |
import {
farsiNumber,
notify,
jitterPreventedVersion,
copyToClipboard,
getTextContent,
setTokenizedText,
soon,
getCursorLineAndPos,
urlQueries2Json
} from "./lib/common";
import { CommunityAPI } from "./lib/api";
import BindHandler from "./lib/bindhandler";
import DropDown from "./li... |
// Copyright 2017 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 ... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// SPDX-License-Identifier: MIT
const debug = require('debug')('crawler:crawler')
const fs = require('fs')
const { DateTime } = require('luxon')
const Request = require('./request')
const sleep = require('util').promisify(setTimeout)
const uuid = require('no... |
const steps = [
{
id: 1,
title: "Değer Seçimi",
description: "Aşağıdaki listeden sizin için önemli olduğunu düşündüğünüz 10 tane madde seçiniz!",
handler: stepSelection
},
{
id: 2,
title: "Karşılaştırma",
description: "Seçtiğiniz maddelerin karşılaştır... |
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.RowItem = undefined;
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)) { tar... |
const Discord = require('discord.js')
const customCommands = require('../../custom-commands')
const botScript = require('../../bot')
const { defaultTimeout, prefix: globalPrefix } = require('../../config.json')
const reply = require('../../message-reply')
const embedColor = require('../../embed-color.json')
const comma... |
/*
* Copyright 2018 IBM Corporation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... |
// Renderer object with special functions for graph rendering
// id => parent div id; width => canvas width; height => canvas height;
// nodeSize => size of the nodes - needed for edge endpoints calculation
// borderStyleStr => style of canvas border
function Renderer(id, nodeSize = 12, renderLabels = true,
... |
// Top level dispatch functions from client.js
// Changes to STATE.currentSource are done in:
// * playSpotifyTrack()
// * playLocalTrack()
import { DEBUG, SPOTIFY_SOURCE, LOCAL_SOURCE, LOCAL_ONLY, CONFIG } from './clientConfig.js';
import * as LocalFunctions from './localPlayerFunctions.js';
import * as S... |
'use strict';
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 ("value" in... |
import store from '../../store'
import {apostarYJugar, maquinas} from '../../utils/tragamonedas';
import {increaseCoins, decreaseCoins} from '../../components/Navbar';
const GameView = () => {
return /*html*/ `
<div class="grid grid-cols-1 grid-rows-2 ipad:grid-rows-2 ipad:grid-cols-1 md:grid-cols-2 md:grid-row... |
import { Log } from "../../Shared/ConsoleLog.js";
import { MarkerData } from "../../Shared/PlexTypes.js";
import ButtonCreator from "./ButtonCreator.js";
import { $, $$, appendChildren, buildNode, clearEle, errorMessage, jsonRequest, pad0 } from "./Common.js";
import Animation from "./inc/Animate.js";
import Overlay fr... |
var main = require('./main.js');
var path = require('path');
var _ = require('underscore');
var fs = require('fs');
var util = require('util');
var files = require('./files.js');
var buildmessage = require('./buildmessage.js');
var project = require('./project.js').project;
var auth = require('./auth.js');
var config =... |
import React, {Component} from 'react';
import ProgressBar from "./ProgressBar";
import MarsPoolLand from "../contracts/MarsPoolLand.json";
import SeedToken from "../contracts/SeedToken.json";
import getWeb3 from "../getWeb3";
import Web3 from "web3";
class Purchase extends Component {
state = {completed:0, loa... |
/**
* @file Testcases for rswiki's HTTP-server
* @copyright 2013-2014 BFH - Bern University of Applied Sciences -- {@link http://bfh.ch}
* @license MIT, see included file LICENSE or {@link http://opensource.org/licenses/MIT}
* @author <NAME> <<EMAIL>>
* @version 0.1.1
*
* This file contains testcases for testing... |
import React from 'react';
import { Link } from 'react-router-dom';
import styled from 'styled-components';
import moment from 'moment';
import { JDentIcon } from './../jdenticon/index';
import { WalletPanel, Totals, MyAssetsButton, MyWalletsButton } from './../panel/index';
import { AssetsList } from './../assets/Asse... |
/*
BAC À SABLE
Version du 10/07/2015
Copyright <NAME> (<EMAIL>), 2015.
Les programmes Javascript fournis par l'intermédiaire de ces pages
proposent des illustrations et des animations pédagogiques pour le
traitement du signal, les communications numériques, etc.
Ces programmes sont régis... |
var xmin,xmax,ymin,ymax;
var currentPlanetId = 0;
var curx = 0,cury = 0;
var GalaxyArray = [];
var und_modal_txt = "";
var dis_modal_txt = "";
var pla_modal_text = "";
var fleetjson;
var undersiege = false;
//Planet Modals
var modalx = 0;
var modaly = 0;
var query = window.location.search.subs... |
import {SET_LANGUAGE} from '../actions/PPSToolActions'
const initialState = {
activeLanguage: {
id: 'DE',
strings : {
Home:'Home',
Anleitung: 'Anleitung',
Auftragsplanung: 'Auftragsplanung',
Gesamt: 'Gesamt',
Damen: 'Damen',
... |
/* p4wn, AKA 5k chess - by <NAME> <<EMAIL>>
*
* This code is in the public domain, or as close to it as various
* laws allow. No warranty; no restrictions.
*
* lives at http://p4wn.sf.net/
*
* @author <NAME> <<EMAIL>>
* @author <NAME> <<EMAIL>>
*
*/
/* The routines here draw the screen and handle user interac... |
"use strict";
const slide = {
name:"Sphere"
}
function setup() {
let canvas = slide.canvas = document.getElementById("renderCanvas")
let engine = slide.engine = new BABYLON.Engine(canvas, true)
let scene = slide.scene = new BABYLON.Scene(engine)
let camera = slide.camera = new BABYLON.ArcRotateC... |
/* global d3 */
function drawGauge(opt) {
// Set defaults if not supplied
if(typeof opt === 'undefined') {var opt={}}
if(typeof opt.gaugeRadius === 'undefined') {opt.gaugeRadius=200}
if(typeof opt.offsetX === 'undefined') {opt.offsetX=0}
if(typeof opt.offsetY === 'unde... |
require('scssify');
require('./jquery-ui.css');
var $ = require('jquery');
// $.mobile = require('./jquery-ui.js');
// window.$ = window.jQuery = require('jquery');
// require('jquery-mobile');
require('./main.scss');
var _ = require('lodash');
// var setConvolution = require('./convolver.js');
// var loadMark = requir... |
'use strict';
import { debug, log, error } from '../logger';
import { qs, qsa, byId } from '../query';
// import { Queue } from '../queue'; // possible to be used in a future implementation to enable queued rotates, not sure
import deepFreeze from 'deep-freeze';
import {
rAF,
nextFrame,
cloneObject,
... |
import React, {Component, useRef} from 'react';
import { render } from 'react-dom';
import { Stage, Layer, Rect, Transformer, Text } from 'react-konva';
import InputSlider from './InputSlider';
import "./CinemaScope.css"
const windowWidth = window.screen.width;
let stageWidth = 1080
let stageHeight = 1350
const thum... |
import {doEnumCheck, doNonNullCheck, doNullableTypeCheck, doTypeCheck, isOfType, typeToString} from "../utils/types";
import {SourcePostSelectionMethod} from "./selectionMethod";
import {TruncatedNormalDistribution} from "./math";
import {StudyImage, StudyImageMetadata} from "./images";
import {randDigits, randElement}... |
const express = require('express');
const db = require('./db');
const { asyncHandler } = require('./express-helpers');
const guards = require('./guards');
const { groupBy } = require('./helpers');
function getParams(object, keys) {
const params = {};
for (const key of keys)
if (object[key] !== undefined)
... |
import {Utilities} from "./import.js";
import {ExtendedMap,ExtendedSet,SerialSet} from "./structures/export.js";
import RegularExpression from "./regularExpression/regularExpression.class.js";
import DependencyNode from "./dependencyNode.class.js";
import ParserWrapper from "./parserWrapper.class.js";
const namespace ... |
"use strict";
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
return new (P || (P = Promise))(function (resolve, reject) {
function fulfilled(value) { t... |
var $ = window.vwo_$ || window.$;
var _ = window.vwo__ || window._;
var VWO = window.VWOInjected || window.VWO || {};
/**
* A class to find matches in two DOM trees. After comparison,
* a key-value pair of master indexes in initial and final node
* are set in the 'matches' property.
*
* @class
* @memberOf VWO
*... |
$(function () {
init();
});
function resetSearchForm(){
document.searchForm.reset();
}
function submitSearchForm(){
jQuery("#grid-table").jqGrid('setGridParam', {
url:ctx+'/topAgentrate/getInsCorpByInsCorpCode.do',
type: "POST",
postData:$('#searchForm').serialize()
}).trigger("relo... |
//Not to be confused with eu4_parse.json which is a cache
import choc, {set_content, DOM} from "https://rosuav.github.io/shed/chocfactory.js";
const {A, ABBR, B, BLOCKQUOTE, DETAILS, DIV, FORM, H1, H3, H4, IMG, INPUT, LABEL, LI, OPTGROUP, OPTION, P, SELECT, SPAN, STRONG, SUMMARY, TABLE, TD, TH, TR, UL} = choc; //autoim... |
// Variables used by Scriptable.
// These must be at the very top of the file. Do not edit.
// icon-color: light-gray; icon-glyph: chart-bar;
/************************************************
Sonntagsfrage iOS Widget
von <NAME>, henning-<EMAIL>mann.de
v2.0.0
12. Januar 2021
GitHub für Updates:
https://github.com/henn... |
$(function() {
$('#datetimepicker4').datetimepicker({
viewMode: 'years',
format: 'YYYY-MM-DD'
});
$('#datetimepicker').datetimepicker({
viewMode: 'years',
format: 'YYYY-MM-DD'
});
jQuery("#formID").validationEngine('attach', {
onValidationComplete: function(... |
function showRightDropdownsForCategory() {
var category = document.getElementById("category_select_id").value;
var age_select = document.getElementById('age_maybe_ok_id');
var lewdness_select = document.getElementById('lewdness_level_id');
var lip_readable = document.getElementById('lip_readable_id');
// this... |
/* eslint-disable no-use-before-define */
import {
CCard,
CCardBody,
CCardHeader,
CCol,
CLabel,
CRow
} from '@coreui/react';
import Moment from 'moment';
import React, { useCallback, useEffect, useRef, useState } from 'react';
import { withTranslation } from 'react-i18next';
import {... |
const fias_routes = {
city: fias_server_url + "/api/get-city",
street: fias_server_url + "/api/get-street",
house: fias_server_url + "/api/get-house"
};
const fias_element_prefixes = {
city_element: 'fias_city_code_',
city_name_element: 'fias_city_name_',
region_code_element: 'fias_region_code_... |
/* *
*
* (c) 2010-2020 <NAME>
*
* License: www.highcharts.com/license
*
* !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!
*
* */
'use strict';
import Axis from './Axis.js';
import H from './Globals.js';
import U from './Utilities.js';
var addEvent = U.addEvent, css = U.css, defined =... |
// This is a solo challenge
// Your mission description:
// You are on trail for terrible crime you didn't do! The townsmen are cursing you for being a King Slayer! Your house was betrayed. Your wife was murdered. Your children are thrown to rot in the dungeon.
// And just like Game of Thrones, you fate will be decid... |
/*
* Copyright 2015 Red Hat 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... |
import cluster from "cluster";
import axios from "axios";
import sanitize from "mongo-sanitize";
import "axios-debug-log";
import { v4 } from "uuid";
import retry from "async-retry";
import path from "path";
import fs from "fs-extra";
export { renderLore, formatNumber } from "../common/formatting.js";
export * from ".... |
import CoordinatesConverter from './coordinates-converter.js';
import style from './style.js';
import {
mode,
goToTarget,
zonedCleanup,
zones,
run,
repeats,
confirmation,
texts
} from './texts.js'
const LitElement = Object.getPrototypeOf(
customElements.get("ha-panel-lovelace")
);
c... |
"use strict";
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = void 0;
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
var _objectWithoutProperties... |
// parse command line options
var minimist = require('minimist');
var mopts = {
string: [
'server',
'suite',
'task',
'version'
]
};
var options = minimist(process.argv, mopts);
// remove well-known parameters from argv before loading make,
// otherwise each arg will be interpret... |
/*jshint esversion: 6 */
$.extend($.fn.dataTable.defaults, {
searching: false,
ordering: true,
paging: false,
retrieve: true,
dom: "t"
});
// polyfill for string include
// https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/includes
if (!String.prototype.include... |
/** Sunset Sunrise API url example https://sunrise-sunset.org/api
* leaving out date defaults to current, no API key needed
* https://api.sunrise-sunset.org/json?lat=36.7201600&lng=-4.4203400&date=2020-12-02
*/
const SS_API_URL = "https://api.sunrise-sunset.org/json?";
/** OpenCageData API url example https://opencage... |
import * as collection from "./collection";
import { NotFoundError, NotImplementedError, ValidationError, OperationalError } from "../base";
import { escapeStringRegexp, verify, _isDevel } from "../util";
const MEMORY_STORAGE = {};
const TYPE_DEFAULTS = {
bytes: null,
unicode: null,
int: null,
... |
const fs = require('fs')
const readline = require('readline')
const initAudiusLibs = require('../examples/initAudiusLibs')
const { distributeTokens } = require('./helpers/distributeTokens')
const { setServiceVersion, addServiceType } = require('./helpers/version')
const {
registerLocalService,
queryLocalServices,
... |
import {pinJSONToIPFS} from './pinata.js';
import Web3 from 'web3';
require('dotenv').config();
const alchemyKey = process.env.REACT_APP_ALCHEMY_KEY;
const infuraAdd = process.env.REACT_APP_INFURA_ADD;
console.log("alchemyKey:",alchemyKey);
const { createAlchemyWeb3 } = require("@alch/alchemy-web3");
console.lo... |
const Anteroom = require('./lib/anteroom')
const Door = require('./lib/door')
const QuadTree = require('./lib/qtree')
const Room = require('./lib/room')
const Roomie = require('./lib/roomie')
const Tunneler = require('./lib/tunneler')
const buildGraph = require('./lib/build-gr... |
// Common
import React from 'react';
import * as Sentry from '@sentry/browser';
import * as SentryIntegrations from '@sentry/integrations';
import {withStyles} from '@material-ui/core/styles';
import clsx from 'clsx';
import { withTheme } from '@material-ui/core/styles';
import { MuiThemeProvider } from '@material-ui/... |
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports._installNpmLibDef = exports._installNpmLibDefs = exports._determineFlowVersion = exports.description = exports.name = undefined;
var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { r... |
var selection = {};
var url = '';
var docs = [];
var findhost = "";
var findport = "";
$(function () {
var db = '',
c = '',
exec = '';
// HASH = From TCGAScope
if (location.hash.length > 1) {
console.log("HASH");
url = location.hash.slice(1);
if (findhost == "" &&... |
import macro from 'vtk.js/Sources/macro';
import vtkMath from 'vtk.js/Sources/Common/Core/Math';
import vtkInteractorStyleTrackballCamera from 'vtk.js/Sources/Interaction/Style/InteractorStyleTrackballCamera';
const { vtkWarningMacro, vtkErrorMacro } = macro;
// -... |
/*
@description 封装的类对象放在这里
* */
//通过URL打开的回调
//通过URL激活\打开APP的处理方法
function handleOpenURL(url) {
if (url) {
ins.openUrl = url;
console.log("received url: " + url);
var _hash = ins.openUrl.replace(/joininustc\:\/\//i,'#/');
setTimeout(function () {
window.location.hash = _hash;
console.log(... |
/* jshint asi:true */
/*jshint -W079 */
var Map = require('can-map');
var QUnit = require('steal-qunit');
var canCompute = require('can-compute');
var ObservationRecorder = require('can-observation-recorder');
var Construct = require('can-construct');
var observeReader = require('can-stache-key');
var canReflect = requ... |
// TODO: * Filter control codes from strings
// (as per http://tools.ietf.org/html/rfc4251#section-9.2)
var crypto = require('crypto'),
inherits = require('util').inherits,
EventEmitter = require('events').EventEmitter;
var StreamSearch = require('streamsearch');
var consts = require('./Parser.constan... |
var grid = new Datatable();
var id_familia;
var timer=null;
$('.js-example-basic-multiple').select2();
var TableDatatablesManaged = function () {
var stocks_equipamentos = function() {
grid.init({
src: $("#datatable_projetos"),
onSuccess: function (grid) {
... |
$(document).ready(function () {
// $('#new-pass').popover({trigger: "focus", placement: "bottom"});
$(document).on("keydown", disableRefresh);
preventBack();
$.fn.dataTable.moment('DD/MM/YYYY h:mm a');
$('.page-container.horizontal-menu header.navbar .navbar-right > li, .page-container.horiz... |
/*
https://www.codefor.de/koeln/
<EMAIL>
based on Openlayers: https://openlayers.org/
License: BSD 2-Clause License
https://tldrlegal.com/license/bsd-2-clause-license-(freebsd)
*/
import "ol/ol.css";
import Map from "ol/Map";
import View from "ol/View";
import GeoJSON from "ol/format/GeoJSON";
import OSM fr... |
import React, { Component } from 'react'
import {
StyleSheet,
View,
Text,
SafeAreaView,
findNodeHandle,
TouchableWithoutFeedback,
TouchableOpacity,
Image,
TextInput,
ScrollView
} from 'react-native'
import Slider from '@react-native-community/slider'
import {
RCReactNativeCallVideoView,
startSin... |
/*
* Copyright (c) 2017. <NAME>
*
* This file is subject to the terms and conditions defined in
* file 'LICENSE', which is part of this source code package.
*/
//import {DateUtil} from '../common/DateUtil.js';
'use strict';
browser.runtime.onMessage.addListener(fhcEvent=>{
if (fhcEvent.eventType) {
... |
/*
* Copyright 2020 New Relic Corporation. All rights reserved.
* SPDX-License-Identifier: Apache-2.0
*/
'use strict'
const AdaptiveSampler = require('./adaptive-sampler')
const CollectorAPI = require('./collector/api')
const ServerlessCollector = require('./collector/serverless')
const DESTINATIONS = require('./c... |
import Phaser from "phaser";
import PubSub from "pubsub-js";
import { DUNGEON_PORTAL_PRESSED } from "../shared/EventTypes";
import gameConfig from "../shared/GameConfig";
import dungeonz from "../shared/Global";
import {
ApplicationState, GUIState, InventoryState, PlayerState,
} from "../shared/state/States";
impor... |
/*globals accounting */
/*exported project, invest_calc, investor_form, payment_step2, payment_step3, user_settings */
$(document).on('show.bs.tab shown.bs.tab', 'a[data-toggle="tab"]', function(e) {
var target = $($(e.target).attr('href'));
if (target.length && target.attr('data-url') && !target.data('tab-loaded'... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.