text
stringlengths
3.22k
29.5k
import { Zondy } from '../../common/Base'; import { MapServiceBase } from "./MapServiceBase"; import { CProjectBySRSID } from "../MRGS/CProjectBySRSID"; import { newGuid } from "../../common/Util"; /** * 地图文档图片服务 * @class module:地图服务.GetDocImageService * @classdesc 取矢量地图文档图片 * @description Zondy.S...
/* Include ////////////////////////////////////////////////////*/ // Done via manifest /* Content script /////////////////////////////////////////////////*/ let g_IndexPageInfo = new PageLocation(); let g_BookList = {}; function ParseBookInfoFromIndexPage( doc, id ) { let info = new Doujinshi(); info.id = i...
const Eris = require('eris'); const moment = require('moment'); const transliterate = require('transliteration'); const config = require('./config'); const bot = require('./bot'); const Queue = require('./queue'); const utils = require('./utils'); const threadUtils = require('./threadUtils'); const blocked = require('...
/** * Copyright 2020 IBM Corp. 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 applica...
/* vim: set ts=2 sts=2 sw=2 et tw=80: */ /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ "use strict"; const MAXIMUM_HIGHLIGHT_COUNT = 500; const SCROLL_OFFSET_Y...
import React from "react"; import "../../assets/stylesheets/application.css"; import { Link } from "react-router-dom"; import { setExistingContractParams, getNetworkVersion, getNetWorkNameById } from "../../utils/blockchainHelpers"; import { gweiToWei, weiToGwei } from "../../utils/utils"; import { StepNavigation } fro...
const validator = require('validator'); const url = require('url'); const knex = require('knex'); const knexConfig = require('config/knexfile.js'); const db = knex(knexConfig[process.env.NODE_ENV]); const User = require('models/User.js'); const getValidSlug = require('models/getValidSlug'); const config = require('...
import React, { Component } from 'react'; import { withRouter } from 'react-router-dom'; import { inject, observer } from 'mobx-react'; import querystring from 'query-string'; import { Button, Form, Icon, Table, Select, Menu, Dropdown } from 'choerodon-ui'; import { injectIntl, FormattedMessage } from 'react-intl'; imp...
/* <NAME> - Client side js file: client.js */ /* Loads the table data upon initial visit to main page */ function initialTableAjaxBuild() { var req = new XMLHttpRequest(); req.open('GET', '/initial', true); req.addEventListener('load', function() { if(req.status >= 200 && req.status < 400) { var response =...
var __create = Object.create; var __defProp = Object.defineProperty; var __defProps = Object.defineProperties; var __getOwnPropDesc = Object.getOwnPropertyDescriptor; var __getOwnPropDescs = Object.getOwnPropertyDescriptors; var __getOwnPropNames = Object.getOwnPropertyNames; var __getOwnPropSymbols = Object.getOwnProp...
var carObject = require('../models/carObject.js'); var general = require('../views/general.js'); var carPositioning = require('./carPositioning.js'); var map = require('../views/mapCreate.js'); // TODO This is a second require of map, we may need to move it? var numberOfCars = 50; var currentCarId = 0; // TODO See if...
const BASE_URL = process.env.REACT_APP_SERVER_URL; const BASE_URL_V1 = BASE_URL + "api/v1/"; const endpoints = { // ================================ GENERAL ================================ BASE_URL, BASE_URL_V1, FILE_SIZE: 10485760, FILE_UPLOAD: BASE_URL_V1 + "file-upload", // =================...
"use strict"; const sanitizeHtml = require("sanitize-html"); const cookie = require("cookie"); const db = require("../database/database"); const jwtUtils = require("../utils/jwt.utils"); const dbUser = require("../database/user.js"); const check = require("../database/check_validity.js"); const sendMail = require('../u...
function load(/*String*/fileName){ //summary: opens the file at fileName and evals the contents as JavaScript. //Read the file var fileContents = readFile(fileName); //Eval the contents. var Context = Packages.org.mozilla.javascript.Context; var context = Context.enter(); try{ return context.evaluateString(...
/** * Copyright 2013 IBM Corp. * Modified by <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 ...
const crypto = require('crypto') const asn = require('asn1.js') const BN = require('bn.js') /* ========================================================================== * * From RFC-4492 (Appendix A) Equivalent Curves (Informative) * * ===============================================================...
// Generate a pass file. var applyImageMethods = require("./images"); var Crypto = require("crypto"); var EventEmitter = require("events").EventEmitter; var child_process = require('child_process'); var Stream = require("stream"); var inherits = require("util").inherits; var Fil...
import { Range, List, Map } from 'immutable' import { createSelector } from 'reselect' import { combineReducers } from 'redux' import { createPromiseStatusSelector } from './promises' import { createPaginatorSelector, createPageContentSelector as _createPageContentSelector, makePaginationInfo, resetPaginator, RESET_PAG...
jQuery(document).ready(function($) { thisMap.on('click', getFeatureInfo); function getFeatureInfo(e){ var regionSelected = regionCheck(e); var CountrySelected = countryCheck(e); var pasSelected = paCheck(e); var regionText = ''; var countryText = ''; var pasText = ''; if (typeof regionSelected !== 'u...
#!/usr/bin/env node const path = require("path"); const camelCase = require("camelcase"); const fs = require("fs"); const glob = require("glob"); const _ = require("lodash/fp"); const prettier = require("prettier"); const config = require("config"); const nunjucks = require("nunjucks"); function coalesce() { var le...
/*eslint no-unused-vars: "warn"*/ const esb = require('elastic-builder'); const { RESOURCES } = require('../../constants'); const { resolveSchema } = require('../../node-fhir-server'); const { search: querySearch, searchReferenecePromise, searchId, create, _delete, update} = require('../../utils/es.helper.functions.uti...
// Importações. import React, { useState, useEffect } from 'react'; import { useHistory, useParams, Link } from 'react-router-dom'; import { connect } from 'react-redux'; // Responsável por fazer a subscription do nosso Componente React ao Redux Store. // Utilidades. import { makeStyles } from '@material-ui/core/...
"use strict"; var { CLEANUP_FN, TIMEOUT_TOKEN, UNSET, getSignalReason, cancelToken, signalPromise, processTokenOrSignal, isFunction, invokeAbort, } = require("./shared.js"); // assign public API as CAF namespace module.exports = Object.assign(CAF,{ cancelToken, delay, timeout, signalRace, signalAll, t...
'use strict'; // Native const fs = require('fs'); // Packages const cheerio = require('cheerio'); const semver = require('semver'); // Ours const bundles = require('../bundle-manager'); const {config, filteredConfig} = require('../config'); const ravenConfig = require('../util/raven-config'); /** * Injects the app...
import React, { useState, useEffect, useRef } from 'react'; import { View, Text, TouchableOpacity, Linking } from 'react-native'; import { useSelector, useDispatch } from 'react-redux'; import { useSafeAreaFrame } from 'react-native-safe-area-context'; import Svg, { Path } from 'react-native-svg'; import { updateBulkE...
/* eslint-disable import/prefer-default-export */ // CSS loading ---------------------------------------------------------------- import 'font-awesome/css/font-awesome.css'; import 'normalize.css'; import 'babel-polyfill'; // Global import -------------------------------------------------------------- import React ...
var __rest = (this && this.__rest) || function (s, e) { var t = {}; for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < ...
(function ($) { $.getUrlParam = function (name) { var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)"); var r = window.location.search.substr(1).match(reg); if (r != null) return unescape(r[2]); return null; } })(jQuery); function get_buy_product(){ $("#mzk_user_username").html(MZ...
const bytes = require('utf8-length'); const fs = require('fs'); const { sha3_256 } = require('js-sha3'); const Command = require('../command'); const Encryption = require('../../RSAEncryption'); const Utilities = require('../../Utilities'); const Models = require('../../../models/index'); const ImportUtilities = requir...
/* Based on https://chromium.googlesource.com/chromium/src/+/6df438ed2adaf24fa2f4a92d4f3863825247b910/tools/telemetry/telemetry/util/statistics.py */ /* Returns the float value of a number or the sum of a list. */ function Total(data) { if (typeof data === 'number') { return data; } else if (Array.isArray(data))...
"use strict"; /// <reference path='../typings/node/node.d.ts' /> /// <reference path='../typings/lodash/index.d.ts' /> /// <reference path='../typings/MetadataClasses.d.ts' /> Object.defineProperty(exports, "__esModule", { value: true }); var stripBom = require("strip-bom"); var fs = require("fs"); var path = require("...
import { h, Component } from 'preact' import { trackException, sendEvent } from '../../Tracker' import { isOfMimeType } from '~utils/blob' import { uploadDocument, uploadLivePhoto, uploadLiveVideo, sendMultiframeSelfie, objectToFormData, formatError, } from '~utils/onfidoApi' import { poaDocumentTypes } fro...
function sReplayTab(_tab){ if(!window.g) window.g ={}; window.g.ReplayData = null; try{ var _root = FileIO.newAppRootFile(); _root.append('w3gReplays'); if(!_root.exists()){ _root.create(Components.interfaces.nsIFile.DIRECTORY_TYPE, -1); } var r = _getFilesBySuffix(_root,'w3g'); var rr...
/*! * 弹层 * tommyshao <<EMAIL>> * Reference bootstrap.modal.js * API: * // 监听打开 * $(element).on('show.bp.modal', function(e, obj){}); * $(element).on('shown.bp.modal', function(e, obj){}); * * // 监听关闭 * $(element).on('hide.bp.modal', function(){}); * $(element).on('hidden.bp.moda...
import React from 'react'; import PropTypes from 'prop-types'; import nanoid from 'nanoid'; import { conditions } from './conditions'; class ColumnActions extends React.Component { constructor(props) { super(props); this.filterChange = this.filterChange.bind(this); this.addValueOnFilter = this.addValue...
/** * Copyright (c) 2002-2019 "Neo4j," * Neo4j Sweden AB [http://neo4j.com] * * This file is part of Neo4j. * * 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...
// ██╗ ██╗██████╗ ███╗ ███╗███████╗ █████╗ ██╗ // ██║ ██║██╔══██╗████╗ ████║██╔════╝██╔══██╗██║ // ███████║██║ ██║██╔████╔██║█████╗ ███████║██║ // ██╔══██║██║ ██║██║╚██╔╝██║██╔══╝ ██╔══██║██║ // ██║ ██║██████╔╝██║ ╚═╝ ██║███████╗██║ ██║███████╗ // ╚═╝ ╚═╝╚═════╝ ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚══════╝ // Copyrig...
import React from 'react'; import PropTypes from 'prop-types'; import tokens from '@contentful/forma-36-tokens'; import { css } from 'emotion'; import { Heading, Typography, Paragraph } from '@contentful/forma-36-react-components'; import Connect from './Connect'; import Config from './Config'; import OptimizelyLogo f...
'use strict'; const ko = require('knockout'); require('./knockout-sortable'); const EventEmitter2 = require('eventemitter2'); const _ = require('lodash'); const instances = []; /** * DraggableUI 用の TaskList * 指定されたStage, Assigneeに一致するTaskListを生成・管理する * * 本クラスのインスタンスが持つTaskListをSlave, 全てのTaskが含まれたTaskListをMasterとす...
const { DateTime } = require("luxon"); const fs = require("fs"); const slugify = require("slugify"); const pluginRss = require("@11ty/eleventy-plugin-rss"); const pluginSyntaxHighlight = require("@11ty/eleventy-plugin-syntaxhighlight"); const pluginNavigation = require("@11ty/eleventy-navigation"); const markdownIt = r...
const SemanticSDP = require("../index"); const SDPInfo = SemanticSDP.SDPInfo; const MediaInfo = SemanticSDP.MediaInfo; const CandidateInfo = SemanticSDP.CandidateInfo; const DTLSInfo = SemanticSDP.DTLSInfo; const ICEInfo = SemanticSDP.ICEInfo; const StreamInfo = SemanticSDP.StreamInfo; const TrackInfo = SemanticS...
/* * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * or more contributor license agreements. Licensed under the Elastic License; * you may not use this file except in compliance with the Elastic License. */ import { schema } from '@kbn/config-schema'; import moment from 'moment'; imp...
//请求地址(列表) var RequestListUrl = "/Wiki/GetWikiList"; //请求地址(单条记录) var RequestUrl = "/Wiki/GetWiki"; //请求地址(删除记录) var RequestDelUrl = "/Wiki/DelWiki"; //请求地址(修改) var RequestEditUrl = "Wiki/EditWiki"; //请求控制器(添加) var RequestAddUrl = "Wiki/AddWiki" $(function () { //1.初始化Table var oTable = new TableInit(); ...
/* * 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, software * distributed u...
/* * Copyright 2020 znai maintainers * Copyright 2019 TWO SIGMA OPEN SOURCE, 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 * * U...
import React, { Component } from 'react' import { Mutation } from 'react-apollo' import pick from 'lodash/pick' import get from 'lodash/get' import Categories from '@origin/graphql/src/constants/Categories' import { Button, Dialog, FormGroup, InputGroup, ControlGroup, HTMLSelect, Slider, Checkbox, Te...
var ogimage = null; //our original image var image2 = null; //make grayscale var image3 = null; //make red var image4 = null; //make rainbow var image5 = null; //make blur var canvas = null; var windowimg = null; //add window?? function loadImage() { var filein = document.getElementById("finput"); ogimage = new S...
// TODO: cleanup unused Peers when tracker doesn't respond with matches module.exports = WebSocketTracker var debug = require('debug')('bittorrent-tracker:websocket-tracker') var hat = require('hat') var inherits = require('inherits') var Peer = require('simple-peer') var Socket = require('simple-websocket') var com...
var util = require('util'); var PixelStream = require('pixel-stream'); var zlib = require('zlib'); var BufferList = require('bl'); var crc32 = require('buffer-crc32'); // color types var PNG_COLOR_TYPE_GRAY = 0; var PNG_COLOR_TYPE_RGB = 2; var PNG_COLOR_TYPE_INDEXED = 3; var PNG_COLOR_TYPE_GRAYA = 4; var PNG_COLOR_TYP...
'use strict'; const concat = require('lodash/concat'); const isNil = require('lodash/isNil'); const each = require('lodash/each'); const join = require('lodash/join'); const keys = require('lodash/keys'); const difference = require('lodash/difference'); const first = require('lodash/first'); const includes = require('...
var uri_scholarships = "/api/Scholarships"; var imagesFolder = "/images/form/"; function scholarshipEditorStart() { waitOn(); this.editorcontainer = $("<div></div>") .appendTo(document.body) .addClass("scholarship-editor-container") .hide(); var editorinner = $("<div></div>") ...
const { time } = require('@openzeppelin/test-helpers') const { reverts } = require('truffle-assertions') const { ethers, upgrades, network } = require('hardhat') const { getDeployment } = require('../../helpers/deployments') const { errorMessages } = require('../helpers/constants') const { VM_ERROR_REVERT_WITH_REASON...
import React, { useEffect, useState } from 'react'; import PropTypes from 'prop-types'; import moment from 'moment'; import { useHistory } from 'react-router-dom'; import { Grid, Card, CardHeader, CardContent, ButtonGroup, Button, FormControl, MenuItem, Select, InputLabel, Typography, Snackbar, ...
/** * @fileOverview Module with functions to interact with any ArcGIS Feature Server REST API. * May be used to query layer information, layer fields, feature IDs, and features. * Contains some input validation for function parameters. * * @requires NPM:node-fetch */ import { Agent } ...
const global_config = require('./../config') const message_queue = require('./../utilities/handlers/'+global_config["message_queue"].type+'-queue-handler'); const email_handler = global_config["email"].type ? require('./../utilities/handlers/'+global_config["email"].type+'-handler') : null; const jobs_store = require(...
"use strict"; /* global describe,it,before*/ require("requirish")._(module); var should = require("should"); var Method = require("lib/address_space/ua_method").Method; var StatusCodes = require("lib/datamodel/opcua_status_code").StatusCodes; var DataType = require("lib/datamodel/variant").DataType; var AttributeIds =...
import f from "lodash/fp"; import { ColumnKinds, FilterModes, SortValues, RowIdColumn } from "../../constants/TableauxConstants"; import { doto, either, withTryCatch } from "../../helpers/functools"; import searchFunctions from "../../helpers/searchFunctions"; export const FilterableCellKinds = [ ColumnKind...
var CONTEST_ID = 'clarity2017'; // prompt('Enter Contest ID.'); function login(){ return new Promise((resolve, reject) => { var provider = new firebase.auth.GoogleAuthProvider(); firebase.auth().signInWithPopup(provider).then((data) => { var result = data.user; var authDB = firebase.database(); var admin...
//TODO: MAKE A DIRECTORY SYSTEM THAT IS DYNAMIC... tercer tes var util = util || {}; util.toArray = function(list) { return Array.prototype.slice.call(list || [], 0); }; var Terminal = Terminal || function(cmdLineContainer, outputContainer) { window.URL = window.URL || window.webkitURL; window.request...
// Left Column Elements let lMap = new Map(); lMap.set('logo', '[aria-label="Twitter"]'); lMap.set('home_button', '[data-testid="AppTabBar_Home_Link"]'); lMap.set('explore_button', '[data-testid="AppTabBar_Explore_Link"]'); lMap.set('notifications_button', '[data-testid="AppTabBar_Notifications_Link"]'); lMap.set('mess...
//var baseUrl = "https://play.dhis2.org/2.28"; //var login = "admin:district"; var baseUrl = "https://sigsante.gouv.ci/dhis"; var login = "cyrille kouassi:Rylco2016#"; var auth = window.btoa(login); var banque = angular.module('banqueTable', ['ngResource','tree_directive']); banque.config(['$httpProvider', function ($...
var view = document.querySelector('.window'); var pageList = document.querySelector('.page__list'); var ppp = document.querySelector('.ppp'); var dataIndexNow; var questionCount = 1; let dataNum = []; for(key in data) {; dataNum.push(key); }; var dataLength = dataNum.length; var show = function(dataItem) { var c...
/** * * Copyright 2014-2019 <NAME> * * This file is part of AkashaCMS (http://akashacms.com/). * * 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/lice...
// import json from './20220425_marker_world.json'; import './css/index.scss'; let arrResults = []; let parsedData = []; let playerList = []; let minClaimSize = 4000; let filterLargeClaims = false; const type = { CLAIM: 'griefdefender:basic', SUBCLAIM: 'griefdefender:subdivision', TOWN: 'griefdefender:town' }; c...
import THREE from "../../vendor/three"; /** * Adapted from THREE.OutlinePass * Original author spidersharma / http://eduperiment.com/ */ class DepthMaskMaterial extends THREE.ShaderMaterial { constructor(camera) { const cameraType = camera.isPerspectiveCamera ? "perspective" : "orthographic"; super({ ...
'use strict'; /** * Module dependencies. */ var mongoose = require('mongoose'), Message = mongoose.model('Message'), Line = mongoose.model('Line'), Channel = mongoose.model('Channel'), User = mongoose.model('User'), _ = require('lodash'); //config vars var scoreIGuessed = 100; var scoreMyWordGue...
import React from 'react'; import PropTypes from 'prop-types'; import * as Validators from '../validators'; import * as Transformers from '../transformers'; import {beginUpdateValue, updateValue, endUpdateValue, copy, copyError} from '../actions'; import {classList, selectInput, COPY_SUPPORTED} from '../utils'; import ...
import React from 'react'; import './terms_cookies.scss'; import Button from 'react-bootstrap/Button'; import Footer from '../../components/footer/footer'; import Tabs from 'react-bootstrap/Tabs'; import Tab from 'react-bootstrap/Tab'; class Terms extends React.Component { dataTitle = `Adatvédelmi és Adatkezelési s...
const { OriginalSource, RawSource } = require('webpack-sources'); const Module = require('webpack/lib/Module'); const RuntimeGlobals = require('webpack/lib/RuntimeGlobals'); const Template = require('webpack/lib/Template'); const getSourceForGlobalVariableExternal = ( variableName, type, requestScope, ) => { if (!...
import "./stats-plus.css"; import qsTruthy from "../utils/qs_truthy"; // Adapted from https://github.com/aframevr/aframe/blob/master/src/components/scene/stats.js function createStats(scene) { const threeStats = new window.threeStats(scene.renderer); const aframeStats = new window.aframeStats(scene); const plug...
"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...
class Logger { constructor() { this.debugElement = document.getElementById('debug-messages'); } write(message){ console.log(message); const span = document.createElement('pre'); span.innerHTML = message; this.debugElement.appendChild(span); } debug(message) {...
import { all, call, takeEvery, put, fork, select, delay, take } from "redux-saga/effects" import { actions as routerActions } from "redux-router5" import ActionsProjects from "./projects-actions" import ActionsUsers from "../users/users-actions" import { listProjects, getProject, createProject, updateP...
import { __extends } from "tslib"; import * as util from './core/util.js'; import * as vec2 from './core/vector.js'; import Draggable from './mixin/Draggable.js'; import Eventful from './core/Eventful.js'; import * as eventTool from './core/event.js'; import { GestureMgr } from './core/GestureMgr.js'; var SILENT = 'sil...
import service from 'service'; /* 监控信息 => 金融资产 => 竞价项目 [C.H Wong] 6 */ // 竞价项目 监控列表页 export const infoListBid = params => service.get('/yc/monitor/finance/auctionBidding/list', { params }) .then(res => res.data); // 竞价项目 收藏列表 export const attentionListBid = params => service.get('/yc/monitor/finance/auctionBidding...
/////////////////////////////// //Back-End ////////////////////////////// var playerX; var playerO; var gameBoard; var numberOfMoves = 0; var activePlayer; var centerSquarePlayer; var computer = false; var difficulty = ""; var gameInProgress = false; //Player object which contains "X" or "O" as their mark function Pla...
function CodeDefine() { this.def = new Array(); this.def["IsrOverrun"] = {file: "ert_main_c.html",line:23,type:"var"}; this.def["isRateRunning"] = {file: "ert_main_c.html",line:24,type:"var"}; this.def["need2runFlags"] = {file: "ert_main_c.html",line:26,type:"var"}; this.def["rt_OneStep"] = {file: "ert_main_c.html",li...
import { Config } from "../../Config"; import $ from "jquery"; const moment = window.moment; moment.updateLocale("en", { relativeTime: { s: "Just now", ss: "Just now", m: "1 min", mm: "%d mins", h: "1 hr", hh: "%d hrs" } }); export default { mixins: [Config], methods: { getTimeLab...
import React, { useState, useEffect } from 'react' import { Row, Col, Avatar, Icon, Card, Skeleton, Comment, message, Tooltip, Tag } from 'antd' import BraftEditor from 'braft-editor' import moment from 'moment' import { Editor, CommentList } from '@components' import ReportModal from './ReportModal' import Less fro...
const Fs = require('fs'); const Winston = require('winston'); const Discord = require('discord.js'); const Tools = require('./tools.js') let moment = require("moment-timezone"); var apixuToken; var auth; const sobrieteDate = moment(); NICO_ID = "186800850780291072"; JEREMY_ID =...
import { WDialog } from "../leafletClasses"; import ConfirmDialog from "./confirmDialog"; import { getSelectedOperation, getOperationByID, makeSelectedOperation, opsList, removeOperation, resetHiddenOps, hiddenOpsList, showOperation, hideOperation, changeOpIfNeeded, } from "../selectedOp"; import Op...
/** *@file This file is the main renderer used by the index view page */ const { success, error, info, confirm } = require('../javascript/custom_modules/utils.js'); const { ipcRenderer } = require('electron'); const lockr = require('lockr'); const { Search } = require('../javascript/classes/se...
const fs = require('fs'); const showdown = require('showdown'); const STATIC_PATH = `${__dirname}/../static/structured/`; let crewlist = JSON.parse(fs.readFileSync(STATIC_PATH + 'crew.json')); let items = JSON.parse(fs.readFileSync(STATIC_PATH + 'items.json')); const SKILLS = { command_skill: 'CMD', science_skill:...
import { ModifyClassEventBinding, ManageClass } from './manager.js' import { Snackbar } from '../snackbar.js' import { ApiInsertClass, ApiUpdateClass, ApiDeleteClass } from '../../controller/manager.js' import { router } from '../../router.js' import { ReturnContentForm } from './problem.js' import { StatusUrlCheck } f...
/** * The MIT License (MIT) * Copyright (c) 2015-present <NAME> <<EMAIL>> */ import {EOF} from './special-symbols'; import colors from 'colors'; const EOF_TOKEN = { type: EOF, value: EOF, }; /** * A default tokenizer that extracts tokens from the string, * based on the tokens from the grammar. Uses underly...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var accelerometer_1 = require("../../test/mock/accelerometer"); var camera_1 = require("../../test/mock/camera"); var capture_1 = require("../../test/mock/capture"); var compass_1 = require("../../test/mock/compass"); var connection_1 = requir...
const fs = require('fs-extra'); const { join, resolve } = require('path'); const _execa = require('execa'); const fetch = require('node-fetch'); const retry = require('async-retry'); const { satisfies } = require('semver'); const stripAnsi = require('strip-ansi'); const { getDistTag } = require('../../src/util/get-dist...
/** * (c) 2019 cepharum GmbH, Berlin, http://cepharum.de * * The MIT License (MIT) * * Copyright (c) 2019 cepharum GmbH * * 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 rest...
const players = require("./players_db") let team1Name = "Dark Team"; let team2Name = "Light Team"; // retrieve data: file required + . + var name + . + element of the object // These examples are easy, because their name is a number (shows how the draft works) let easyEx = [players.player1, players.player2, play...
'use strict'; var util = require('../util.js'); /** * 正規化された装備とスキルの組み合わせを元に、条件となるスキルの発動を満たす * 装備の組み合わせを求めるクラス。 * * 頑シミュさんの "高速化2「打ち切る」" をしながら組み合わせを求める。 * * var c = new Combinator(); * // bulksSet: Normalizer で normalize([ '攻撃力UP【大】', '業物' ]) した結果 * c.combine([ '攻撃力UP【大】', '業物' ], bulksSet); * ...
import React from 'react'; import PropTypes from 'prop-types'; import styled from 'styled-components'; import { compose } from 'redux'; import { connect } from 'react-redux'; import { withRouter } from 'react-router'; import { createStructuredSelector } from 'reselect'; import { Form } from 'react-final-form'; import {...
// Copyright 2019 Google 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 // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
/** * Tencent is pleased to support the open source community by making WePY available. * Copyright (C) 2017 THL A29 Limited, a Tencent company. All rights reserved. * * Licensed under the MIT License (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the Lic...
var { reservedKeys } = require('hypha/lib/defaults') var objectKeys = require('object-keys') var assert = require('assert') var smarkt = require('smarkt') var xtend = require('xtend') var path = require('path') module.exports = panel function panel () { return async function (state, emitter) { var archive ...
import {Timeline} from 'sprite-animator'; import {requestAnimationFrame, cancelAnimationFrame, timeline} from './helpers/fast-animation-frame'; import BaseNode from './basenode'; import DateNode from './datanode'; import Batch from './batch'; import Group from './group'; import {registerNodeType} from './nodetype'; im...
//Cutscene Lengths in ms var Praetorium = { 0: { name: "Opening", duration: 53000}, 1: { name: "Ah Cid, My Boy", duration: 133690 }, 2: { name: "Cid is a Creeper", duration: 31690 }, 3: { name: "Maggie is a Good Doggo", duration: 45690}, 4: { name: "Doggie Projectile Vomits All Over Door", duration:...
// 创建AJAXRequest实例 function request(paras) { var url = location.href; var paraString = url.substring(url.indexOf("?") + 1, url.length).split("&"); var paraObj = {} for (i = 0; j = paraString[i]; i++) { paraObj[j.substring(0, j.indexOf("=")).toLowerCase()] = j.substring(j.indexOf("=") + 1, j.len...
import React, {useEffect} from "react"; import * as d3 from 'd3'; import {withSize} from 'react-sizeme'; import styled from 'styled-components'; import { colors } from '../../styles/colors'; /** * A responsive version of forest plot. * The plot rendering process is in 'draw()' function * which is called every time ...
const axios = require('axios'); const cheerio = require("cheerio"); const qs = require('qs'); const Decimal = require('decimal.js'); const path = require('path'); const db = { rate_collection_name: 'rate_ObmenkaKharkovUa', rate_id_from_collection: 'last_rate', rate_opt_id_from_collection: 'last_rate_opt', db: requ...
/* eslint-disable no-case-declarations */ import { fragment } from 'xmlbuilder2'; // FIXME: remove the cyclic dependency // eslint-disable-next-line import/no-cycle import * as xmlBuilder from './xml-builder'; import namespaces from './namespaces'; import { pixelToHIP, defaultHeadingSizesInPixel } from '../utils/unit-...