text
stringlengths
5.97k
41.2k
$(document).ready(function(){ Paloma.start(); }); $(document).on('page:restore', function(){ Paloma.start(); }); // source: http://doublespringlabs.blogspot.com.br/2012/11/decoding-polylines-from-google-maps.html function decode(encoded){ var points=[ ] var index = 0, len = encoded.length; var lat = 0, lng ...
const qst = require('../lib/question.js') const parser = require('../lib/parser.js') const utils = require('../lib/utils.js'); describe("Testing the ability to export questions :", function(){ beforeAll(function() { this.giftQToLoad={} this.loadQ = (qType) => parser.parse(this.giftQToLoad[qType])[0] this....
/* * 定义全局参数 */ var login_box_height = "", _now_url = window.location.href, login_url = "", page = 1, time_1 = 0, srcollOld = 0, srcollNow = 0, scrollFun = false, nocontent = false, $body = (window.opera) ? (document.compatMode == "CSS1Compat" ? $('html') : $('body')) : $('html,body'); //滚动加载用 /* * 监听事件 */ //滚动 $...
'use strict'; const argv = require('minimist')(process.argv.slice(2)); const csv = require('csv'); const path = require('path'); const fs = require('fs'); const queue = require('d3-queue').queue; const turf = require('@turf/turf'); const parser = require('real-changesets-parser'); const _ = require('underscore'); cons...
// Sitewide // ******** $(".toast").toast('show', { autohide: false, }); // Set CSFR token for ajax // Assistance from https://stackoverflow.com/questions/26029862/django-ajax-call-not-working-in-chrome-working-in-firefox?rq=1 $.ajaxSetup({ beforeSend: function(xhr, settings) { function getCookie(name...
import React, { Component } from 'react' import _ from 'underscore' import moment from 'moment-timezone' import 'moment/locale/ja' import fa_alis from '../assets/images/fa-alis.png' import image_alishackers from '../assets/images/alishackers_twitter.jpeg' moment.locale('ja') let prefix = process.env.FIREBASE_PROJECT_N...
// Make console.assert works on all platforms if (!console.assert) console.assert = function (x) { if (x !== true) console.log("Assertion fail!"); return x; } function assertEqual(x, y) { let condition = x === y; console.assert(condition); if (!condition) { console.log(x, "!==", y); } }; const isMobileDevice = /And...
// Gecko = Netscape 7.x & Mozilla 1.4+ LastNo=0; SPACECHAR=" "; CandChinesePart=new Array(); CandCompPart=new Array(); AsciiStr="a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z"; AsciiStr=AsciiStr.split(','); AsciiNumStr="0,1,2,3,4,5,6,7,8,9"; AsciiNumStr=AsciiNumStr.split(','); CodeList=CodeList.split(','); C...
import React, { useContext, useState } from 'react'; import { Link, NavLink } from 'react-router-dom'; import { AppleMusic, PlayList, Album, Heart, UploadSong, Blog, Recent } from '../mini/icons/utils'; import Chevron from '../mini/chevron'; import { connect } from 'react-redux' import { useQuery } from 'react-que...
"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || function (d, b) { for (var p in b) if (b.hasOwnPrope...
import * as expjs from "./math-expressions.js" import { Statistics, Expression, Surface, Tests, Ratio, Matrix, Vector, Algorithms, Equation, VarMapping, } from "./math-expressions.js" // exp() function examples console.log(expjs.exp(2, 3)) // 5 console.log(expjs.exp(5, 3)) // 8 console.log(expjs.exp(2, 7, "*...
const Sentry = require("@sentry/electron") Sentry.init({ dsn: "https://be5edffe19ef4496b415f7f07eecab65@sentry.io/1866073" }) const { remote: electron } = require("electron") const path = require("path") const { promises: fs } = require("fs") const { mutate: moveArrayItem } = require("array-move") const { fn: pCancelab...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var _ = require("lodash"); var jsw_logger_1 = require("jsw-logger"); var SelectorMatcher = /** @class */ (function () { function SelectorMatcher(selector) { this.clauses = selector.clauses; this.logger = jsw_logger_1.JSWLog...
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); var _defineProperty = require('babel-runtime/core-js/object/define-property'); var _defineProperty2 = _interopRequireDefault(_defineProperty); var _getOwnPropertyDescriptor = require('babel-runtime/core-js/object/get-own-property-descrip...
// Extend the THREE.Curve and THREE.CurvePath objects to add translation,scaling and rotation //fexme - make these not be enumerable THREE.CurvePath.prototype.getBoundingBox = function(){ for(var i = 0; i< this.curves.length;i++){ } } THREE.CurvePath.prototype.translate = function(x,y,z){ for(var i = 0; i< th...
/* The MIT License (MIT) Copyright (c) 2015 <NAME> ( http://www.patriciogonzalezvivo.com ) 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 ri...
"use strict"; const PRESET_DIST = 30; const PRESET_MOVES = { "prince": [ [0,1], [0,-1], [1,0], [-1,0] ], "king": [ [0,1], [0,-1], [1,0], [-1,0], [1,1], [1,-1], [-1,-1], [-1,1] ], "knight": [ [2,1...
import {reloadWithSignIn} from './authenticate.js'; import {getCheckBoxRowId, partiallyHandleBadRowAndReturnCheckbox} from './checkbox_util.js'; import {mapContainerId} from './dom_constants.js'; import {convertEeObjectToPromise} from './ee_promise_cache.js'; import {showError} from './error.js'; import {AUTHENTICATION...
/* Copyright 2012 Mozilla Foundation * * 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...
/* eslint no-sync:0, no-console:0, no-param-reassign:0, max-statements:0, max-lines:0, consistent-return:0 */ // core modules const path = require('path'); const { exec } = require('child_process'); // dep modules const fs = require('fs-extra'); const jsonc = require('jsonc'); const gzipSize = require('gzip-size'); ...
/// BareSpecifier=redux/lib/redux import { process } from '../../process.js'; 'use strict'; Object.defineProperty(exports, '__esModule', { value: true }); function _interopDefault(ex) { return ex && typeof ex === 'object' && 'default' in ex ? ex['default'] : ex; } var $$observable = _interopDefault(require('symbol...
'use strict' var EventEmitter = require('events').EventEmitter var util = require('util') var utils = require('./utils') var sasl = require('./sasl') var pgPass = require('pgpass') var TypeOverrides = require('./type-overrides') var ConnectionParameters = require('./connection-parameters') var Query = require('./quer...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.Navbar = void 0; var _react = _interopRequireWildcard(require("react")); var _icons = require("@sanity/icons"); var _ui = require("@sanity/ui"); var _components = require("@sanity/base/components"); var _router = require("@sani...
const IrcActionHandler = require('./IrcHandlers/IrcActionHandler'); const IrcErrorHandler = require('./IrcHandlers/IrcErrorHandler'); const IrcJoinHandler = require('./IrcHandlers/IrcJoinHandler'); const IrcKickHandler = require('./IrcHandlers/IrcKickHandler'); const IrcMessageHandler = require('./IrcHandlers/IrcMessag...
'use strict'; const _fs = require('fs'); const _path = require('path'); const _request = require('then-request'); const _discord = require('discord.js'); const _client = new _discord.Client(); var _guild; function isValidGithubString(str) { return (/^[0-9A-Za-z\-_]+$/g).test(str); } async function linkRepo(params,...
import { BufferAttribute } from "../../lib/three.module.js" import { MSDFFont } from "../FontLoader.js" var newline = /\n/ var newlineChar = '\n' var whitespace = /\s/ var wordWrap = function ( text, opt ) { var lines = wordWrapLines( text, opt ) return lines.map( function ( line ) { return text.s...
//const http = require('http'); //const net = require('net'); const lib = require('./client/lib/lib'); const A = lib.A; const vec2 = lib.vec2; const Char = lib.Char; const Ball = lib.Ball; const Game = lib.Game; const Player = lib.Player; const Buf = lib.Buf; const Movement = lib.Movement; const RECT_L = lib.RECT_L; ...
import _extends from "@babel/runtime/helpers/esm/extends"; import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties"; import * as React from 'react'; import PropTypes from 'prop-types'; import clsx from 'clsx'; import { elementTypeAcceptingRef, refType } from '@material-ui/utils'; import...
/** * @file 用户行为收集 * @author <EMAIL> */ /** * 工具类 */ let _utils = { trim: function (str) { return str.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, '') }, includes: function (arr, str) { return arr.indexOf(str) !== -1 }, isUndefined: function (str) { return str === void 0 }, extend: (fun...
import React, { PureComponent } from 'react'; import PaymentChannelsClient from '../../../../core/PaymentChannelsClient'; import { SafeAreaView, TextInput, Alert, Text, View, StyleSheet, KeyboardAvoidingView, ActivityIndicator, TouchableWithoutFeedback, Keyboard } from 'react-native'; import PropTypes from 'p...
// xMenu 3 v0.01, Cross-Browser DHTML Menu from Cross-Browser.com // Copyright (c) 2003 <NAME> (<EMAIL>) // This code is distributed under the terms of the LGPL (gnu.org) var xMnuMgr = new xMenuManager(); ////--- xMenuManager Object Prototype function xMenuManager() { /// Properties this.activeMenu = n...
import React from "react"; import { makeStyles } from "@mui/styles"; import Typography from "@mui/material/Typography"; import PropTypes from 'prop-types'; import { alpha } from '@mui/material/styles'; import Box from '@mui/material/Box'; import Toolbar from '@mui/material/Toolbar'; import Table from '@mui/material/Tab...
var cs = new CSInterface(); var docExist; var checkboxLogic = {}; const appUI = { global : { BorderWidth: "1.35px", }, color : { PanelBG: "#323232", Border: "#3e3e3e", Icon: "#b4b4b4", Font: "#b7b7b7", Hover: "#292929", Active: "#1f1f1f", Focus: "#46a0f5", Disabled: "#393939"...
var fbMask = d3.select(document.getElementById("fbMask")); function fb_mouseOver() { fbMask.style("display", "none"); }; function fb_mouseOut() { fbMask.style("display", "block"); }; var m = [20, 120, 20, 120], w = 1280 - m[1] - m[3], h = 900 - m[0] - m[2], i = 0, root = {}; var spendField =...
import { Drawer, List, Button, WhiteSpace } from "antd-mobile"; import { Typography } from "antd"; import axios from "axios"; import React, { useState, useReducer } from "react"; import { Link, useHistory } from "react-router-dom"; import styled from "styled-components"; import { getInitialsFromFullName } from "utils/u...
import Vue from '../../vue' import { NAME_FORM_FILE } from '../../constants/components' import { EVENT_OPTIONS_PASSIVE } from '../../constants/events' import { RX_EXTENSION, RX_STAR } from '../../constants/regex' import cloneDeep from '../../utils/clone-deep' import identity from '../../utils/identity' import looseEqua...
// 导入和定义node模块 var del = require('del'), gulp = require('gulp'), gulpJshint = require('gulp-jshint'), gulpImagemin = require('gulp-imagemin'), gulpMinifyCss = require('gulp-minify-css'), gulpMinifyHtml = require('gulp-minify-html'), gulpUglify = require('gulp-uglify'), gulpTidt = require('gu...
/** * Copyright 2019 The Pennsylvania State University * @license Apache-2.0, see License.md for full text. */ import { LitElement, html, css } from "lit"; import "@lrnwebcomponents/es-global-bridge/es-global-bridge.js"; window.__H5PBridgeTimeOut = function () { setTimeout(function () { window.H5P.init(); },...
const fs = require('fs'); const glob = require('glob'); const replace = require('replace-in-file'); const cheerio = require("cheerio"); const fetch = require("node-fetch"); const SDGS = ['No Poverty', 'Zero Hunger', 'Good Health and Well-being', 'Quality Education', ...
// Copyright (c) 2011 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. var listenOnce = chrome.test.listenOnce; var listenForever = chrome.test.listenForever; // Keep track of the tab that we're running tests in, for sim...
var http = require('http'); var https = require('https'); var url = require('url'); var Stream = require('stream'); var path = require('path'); var pipeworks = require('pipeworks'); var nodemethods = require('methods'); var environment = require('./environment'); var Frame = require('./frame'); var Builder = require('....
var valcheck; function updateValue() { var items = []; for (i=0; i<len; i++){ var txt = alpha[i]; var boxvalue = document.getElementById('myRange'+txt).value; items.push(boxvalue); } // console.log(items); return items items.length = 0; items = []; } $.each(alpha ...
/* The following functions are part of a minimal JS library I wrote for VNDB.org */ var expanded_icon = '▾'; var collapsed_icon = '▸'; var http_request = false; function ajax(url, func, async) { if(!async && http_request) http_request.abort(); var req = (window.ActiveXObject) ? new ActiveXObject('Microsoft.XM...
var fieldSize = 7; var orbColors = 6; var orbSize = 100; // var swapSpeed = 200; var fallSpeed = 500; var destroySpeed = 400; var fastFall = true; // var gameArray = []; var removeMap = []; var orbGroup; var selectedOrb; var canPick = true; // var hand; var handTween; var manager = null; var emitter...
"use strict"; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); var intrinsics_1 = __importDefault(require("./visitors/intrinsics")); var PROXY_COMPAT_MODULE_NAME = 'pr...
var each = require('each'); var PriorityQueue = require('priorityqueuejs'); var Util = require('../util'); var debug = require('debug')('transitive:edge'); /** * Expose `Edge` */ module.exports = Edge; /** * Initialize a new edge * * @param {Array} * @param {Vertex} * @param {Vertex} */ var edgeId = 0; f...
/*! SWFObject v2.3.20130521 <http://github.com/swfobject/swfobject> is released under the MIT License <http://www.opensource.org/licenses/mit-license.php> */ var swfobject = function () { var D = "undefined", r = "object", T = "Shockwave Flash", Z = "ShockwaveFlash.ShockwaveFlash", q = "applica...
import { defineStore, acceptHMRUpdate } from 'pinia'; //import { Res, Order, Frame, Action } from './data.js'; import { Res } from './data/res.js'; import { Part } from './data/part.js'; import { Order } from './data/order.js'; import { Frame } from './data/frame.js'; const useStore = defineStore('main', { state: ()...
import React from 'react'; import { Alert, Clipboard, Dimensions, Image, Linking, Modal, Platform, ScrollView, StyleSheet, TouchableOpacity, View } from 'react-native'; import { Menu, MenuProvider, MenuOptions, MenuOption, MenuTrigger, renderers } from...
import angular from 'angular'; import _ from 'underscore'; import { getClass } from './character-utils'; import { sum } from '../../util'; // Maps tierType to tierTypeName in English const tiers = [ 'Unknown', 'Currency', 'Common', 'Uncommon', 'Rare', 'Legendary', 'Exotic' ]; /** * A factory service fo...
function fnDisplayContent(){ var mainHTML = "<div class=\"container-fluid\">" + "<div class=\"header\"> " + "<ul class=\"nav nav-pills\">" + "<li id=\"logo\"><img src=\"images/HP_IDOLOnDemand_logo.png\"/></li>" + "<li><a href=\"\" id=\"nav-link-indexing\"><span class=\"glyphicon glyphicon-star\"></sp...
import 'core-js/features/array/find'; import 'core-js/features/array/from'; import 'core-js/features/object/assign'; import 'core-js/features/object/keys'; import 'core-js/features/promise'; import 'custom-event-polyfill'; import 'element-closest/browser'; import Controls from './controls'; import Media from './media';...
// config.js must be included BEFORE this file! // IE 11 Polyfill for .remove() if (!('remove' in Element.prototype)) { Element.prototype.remove = function() { if (this.parentNode) { this.parentNode.removeChild(this); } }; } // Configure access to storage var storageType = checkup.c...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const Algebra = require("./algebra"); const factory_1 = require("./factory"); const util_1 = require("./util"); const Parser = require('sparqljs').Parser; const isEqual = require('lodash.isequal'); const types = Algebra.types; let variables = ...
function crossfilter() { var crossfilter = { add: add, dimension: dimension, groupAll: groupAll, size: size }; var data = [], // the records n = 0, // the number of records; data.length m = 0, // number of dimensions in use M = 8, // number of dimensions that can fit in `filters...
import * as React from 'react'; import { Text, View, Image, Dimensions, ScrollView, TouchableOpacity, PermissionsAndroid } from 'react-native'; import MapView, { Marker, Callout, CalloutSubview, ProviderPropType, PROVIDER_GOOGLE } from 'react-native-maps'; import { Google...
// 1. Inside Volume // Write a JS function that determines whether a point is inside the volume, defined by the box, shown on the right. // The input comes as an array of numbers. Each set of 3 elements are the x, y and z coordinates of a point. // The output should be printed to the console on a new line for each poin...
// Copyright (c) 2014-2018, MyMonero.com // // All rights reserved. // // Redistribution and use in source and binary forms, with or without modification, are // permitted provided that the following conditions are met: // // 1. Redistributions of source code must retain the above copyright notice, this list of // cond...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.getPublishConfigs = exports.computeDownloadUrl = exports.createPublisher = exports.getPublishConfigsForUpdateInfo = exports.getAppUpdatePublishConfiguration = exports.PublishManager = void 0; const bluebird_lst_1 = require("bluebird-ls...
{ function setCookie (name, value, expires, path, domain, secure) { document.cookie = name + "=" + escape(value) + ((expires) ? "; expires=" + expires : "") + ((path) ? "; path=" + path : "") + ((domain) ? "; domain=" + domain : "") + ((secure) ? "; secure" : ""); } function getCookie(c_name) { va...
"use strict"; function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj ...
import Module from "./maximilian.wasmmodule.js"; //NOTE:FB We need this import here for webpack to emit maximilian.wasmmodule.js import Open303 from "./open303.wasmmodule.js"; //NOTE:FB We need this import here for webpack to emit maximilian.wasmmodule.js import CustomProcessor from "./maxi-processor"; import "../utils...
'use strict'; const log = require('./log'); const util = require('./util'); const eventHandling = require('./eventhandling'); const Authorize = require('./authorize'); const config = require('./config'); /** * This file exposes a get/put/delete interface on top of XMLHttpRequest. * It requires to be configured with...
import { Desktop } from "@wxcc-desktop/sdk"; const template = document.createElement("template"); // Roughly, 170 lines of Style. 50 lines of HTML. 145 lines of widget logic template.innerHTML = ` <style> .container{ display:flex; align-items:left; justify-content:left; height: 100%; overflow...
"use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); var _typeof = require("@babel/runtime/helpers/typeof"); Object.defineProperty(exports, "__esModule", { value: true }); exports["default"] = exports.formatFileSize = exports.formatAcceptType = exports.getFileSuffix =...
"use strict"; // Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license. // See LICENSE in the project root for license information. var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { if (k2 === undefined) k2 = k; Object.defineProp...
import { toArrayBuffer } from './utils' import { Buffer } from '../../node_modules/buffer' // 兼容浏览器环境 import { leftShift } from './utils' // 两种分组模式 const ECB = 1 const CBC = 2 // SM4 相关常量 export const constants = { ECB, CBC } // S 盒(非线性变换) const SBOX_TABLE = [ [ 0xd6, 0x90, 0xe9, 0xfe, 0xcc, ...
// copyright 2020 Spider contributors. MIT license. // 2020-03-26 /* global THREE, camera, renderer,intersected, linecases, DMTdragParent, divMessage */ function initViz3d() { //const dataJhu = "https://cdn.jsdelivr.net/gh/CSSEGISandData/COVID-19@master/csse_covid_19_data/csse_covid_19_time_series/time_series_covid...
var cjs = window.createjs; var debug = false; var dataSourceUrl = "http://social-cloud.cloudapp.net:80/"; var useSocketIO = true; var showing = false; (function () { var canvas, preloader, stage; var worker1, worker2, worker3; var container1; var dataSource = { image: [], word: [], tweet: [], ic: 0, w...
const PROMOTION_TYPE = [{ 'id': 1, 'text': '单一促销' }, { 'id': 2, 'text': '满额减' }, { 'id': 3, 'text': '满量' }, { 'id': 4, 'text': '赠送类' }, { 'id': 5, 'text': '招募' }, { 'id': 6, 'text': '升级' }, { 'id': 7, 'text': '秒杀' }, { 'id': 8, 'text': '组合' }, { 'id': 10, 'text': '组合' }, { 'id': 11, 'text': '买' }, { 'id': 14, 'text': ...
console.warn("Sitecore.ExperienceEditor.js is obsolete and will be removed in the next product version."); var basePath = "/-/speak/v1/ExperienceEditor/"; define( [ basePath + "PageEditorProxy.js", basePath + "Sitecore.ExperienceEditor.TranslationsUtils.js" ] ); if (!Sitecore) { var Sitecor...
const console = require('console'); global.updateReady = false global.updateDownloading = false const { handleStartupEvent, updater } = require("./updates") if (handleStartupEvent()) { return; } const { app, ipcMain, BrowserWindow } = require('electron') const fs = require('fs'); const path = require('path') const...
//================================================================ // RS_GraphicsMenu.js // --------------------------------------------------------------- // The MIT License // Copyright (c) 2017 biud436 // --------------------------------------------------------------- // Free for commercial and non commercial use. /...
/*MIT License Copyright (c) 2020 <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, copy, modify, merge, publish, d...
// setOperUI.js // Handle the UI for the set operations. import Layer from '/imports/mapPage/longlist/Layer'; import rx from '/imports/common/rx'; import tool from '/imports/mapPage/head/tool'; import util from '/imports/common/util'; import './setOper.html'; import './setOper.css'; // Boolean stating whether this i...
let c, ctx; let view_width, view_height; let bgColor; let lose, score, timer, current_life, left_time; let high_score; let runningGame; let lives, node_count, time; let life_color, time_color; let wires; const MIN_SIZE = 3500; function _r(n){ return Math.floor(Math.random()*n); } function _ra(n, m){ return ...
/* LDR /subscribe/ */ API.StickyQuery = { ApiKey: ApiKey }; var LDReader = {}; LDReader.Folder = Class.create(); LDReader.Folder.create = function(name, callback){ var api = new API("/api/folder/create"); api.post({name:name},function(res){ // if(res.isSuccess){callback()} callback(); }); }; var ReaderSubsc...
const express = require("express"); const bodyParser = require("body-parser"); const Database = require("better-sqlite3"); const argon2 = require("argon2"); const cookieParser = require("cookie-parser"); const { shouldSendSameSiteNone } = require("should-send-same-site-none"); const fs = require("fs"); const fsP = requ...
"use strict"; var _interopRequireDefault = require("@babel/runtime-corejs3/helpers/interopRequireDefault"); exports.__esModule = true; exports.testIterationBuilder = testIterationBuilder; exports.testIteratorBuilder = testIteratorBuilder; exports.test = test; exports.searchBestErrorBuilder = searchBestErrorBuilder; e...
var BmxMachine = require('./BmxMachine'); var BmxConnection = require('./BmxConnection'); var BmxPattern = require('./BmxPattern'); var BmxSound = require('./BmxSound'); var ByteArray = require('./ByteArray'); var dlls = []; dlls["_xi"] = require('./_xi'); dlls["_filter"] = require('./_filter'); dlls["_delay"] = requ...
const path = require('path') const getArticles = require('../rss/singleMethod.js') const config = require('../config.js') const Schedule = require('./db/Schedule.js') const Profile = require('./db/Profile.js') const FailCounter = require('./db/FailCounter.js') const Subscriber = require('./db/Subscriber.js') const Form...
'use strict'; const SError = require('./Error'), BbPromise = require('bluebird'), httpsProxyAgent = require('https-proxy-agent'), path = require('path'), _ = require('lodash'), url = require('url'), fs = require('fs'), fse =...
const Command = require('../../base/Command.js') const _ = require('lodash'); var AsciiTable = require('ascii-table') const EmptyBringoData = { wordlist: [], isGameActive: false, currentGame: [], scoreboard: {}, cooldown: 0, cooldownUsers: {} } const WinningPositions = [ [0,1,2,3,4], [...
import * as THREE from 'threejs/three.js' import TWEEN from 'tween/tween.js' import BasicRubik from 'object/Rubik.js' import TouchLine from 'object/TouchLine.js' import ResetBtn from 'object/ResetBtn.js' import DisorganizeBtn from 'object/DisorganizeBtn.js' import SaveBtn from 'object/SaveBtn.js' import RestoreBtn from...
import React from 'react'; import axios from 'axios'; import * as Sentry from '@sentry/react'; import ErrorModal from '../commonComponents/errorModal'; import moment from 'moment'; import { Container } from 'react-bootstrap'; import SearchBar from '../commonComponents/searchBar/SearchBar'; import Loading from '../commo...
var Polish = require('../app/models/polish'); var User = require('../app/models/user'); var Review = require('../app/models/review'); var Photo = require('../app/models/photo'); var UserPhoto = require('../app/models/userphoto'); var Checkin = require('../app/models/checkin'); var CheckinComment = require('../app/model...
import { resolve, relative, dirname } from 'path' import { createReadStream, createWriteStream, promises as fsAsync } from 'fs' import { catchAsync } from 'source/common/error.js' import { bufferToReadableStream, quickRunletFromStream } from 'source/node/data/Stream.js' import { PATH_TYPE, toPosixPath } from 'source/n...
$(document).ready(function() { $.ajaxSetup({ headers: { 'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content') }, cache: false }); // Commonly user variables var winHeight = window.innerHeight; var winWidth = window.innerWidth; var screenHeight = screen.availHeight; v...
/********************************************************* 基于Jquery1.11.3版本 Bootstrap Juery动态菜单功能 creat by bird *********************************************************/ /***************************************************...
import React from 'react' import { Helmet } from 'react-helmet' import Layout from '../components/common/Layout' import WebsiteMeta from '../components/common/meta/WebsiteMeta' import './privacy-guardian.scss' class Page extends React.Component { render() { return ( <Layout> <WebsiteMeta title="Ambassa...
"use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); var _typeof = require("@babel/runtime/helpers/typeof"); Object.defineProperty(exports, "__esModule", { value: true }); exports.default = exports.menuProps = void 0; var _vue = require("vue"); var _defineProperty2 ...
/** * Envisalink Vista TPI Plugin * * Author: <EMAIL> * * 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 ...
'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]; } } }...
var cm = utils.getEl( 'cm' ), cbg = utils.getEl( 'cbg' ), cfg = utils.getEl( 'cfg' ), wrap = utils.getEl( 'wrap' ), w = cm.width = cfg.width = cbg.width = wrap.width = defs.width, h = cm.height = cfg.height = cbg.height = wrap.height = defs.height, ctx = utils.ctx( cm ), ctxbg = utils...
$(document).ready(function() { // home page $('.section-numbered.num-1').addClass('num-loaded'); // floating navbar $(document).on('scroll', function() { stickMenu(); checkToTop(); // animate numbers var vT = $(document).scrollTop() + $(window).height() - 150; $('.numb...
"use strict"; exports.__esModule = true; exports.TextInput = void 0; var _react = _interopRequireWildcard(require("react")); var _recompose = require("recompose"); var _styledComponents = _interopRequireWildcard(require("styled-components")); var _grommetStyles = require("grommet-styles"); var _defaultProps = req...
"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...
/** * 邮箱 * @param {*} s */ //export function getCommFilterMedia (params) { // this.$http({ // url: this.$http.adornUrl('/multimemediaEquip/commFilter'), // method: 'post', // data: this.$http.adornData(params), // }).then(({data}) => { // return data // }) //} import Vue from 'vue' import http from '@...
/** * Copyright 2020 The Pennsylvania State University * @license Apache-2.0, see License.md for full text. */ import { LitElement, html, css } from "lit-element"; import { AccentCard } from "@lrnwebcomponents/accent-card/accent-card.js"; import "@github/time-elements"; import "@lrnwebcomponents/nav-card/nav-card.js...
'use strict'; const Chat = require('./Chat'); const Conversation = require('./Conversation'); const express = require('express'); const bodyParser = require('body-parser'); const crypto = require('crypto'); const Message = require('./Message'); const fetch = require('node-fetch'); const normalizeString = require('./ut...