text
stringlengths
8.5k
48.7k
/** * @author zhouyuan * @version 1.0 */ var options = {drawWidth:940,drawHeight:400,drawleftpadding:70,yNum:12}; var optionsMin = {drawWidth:180,drawHeight:60,drawleftpadding:0,yNum:12,isMini:true}; var color =['#46B6BA','#f9df90','#b8d50d','#3F76DA']; var colorFill =['#02797d','#916e02','#748701','#043b9e']; var ...
/*! * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ const { queue: asyncQueue, retry: asyncRetry } = require('async'); const DeferredPromise = require('@fluid-experimental/property-common').DeferredPromise; const HTTPStatus = require('http-status'); c...
/** * * Copyright 2013-2017 <NAME> * * This file is part of AkashaCMS-embeddables (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.apa...
/*! * IOTA Fountain * Copyright(c) 2018 <NAME> * MIT Licensed */ // Modified from https://github.com/google/liquidfun // TODO: Refactor import Emitter from 'events' import FountainSimulator from './FountainSimulator' import UserDataIndexConverter from './UserDataIndexConverter' import BufferedEmitter from './Buf...
var LANG = 0; const LANG_AM = 2; var strings = [ ["title", "index.html", 0, ["Top 10 Levelů od Fanoušků", "Top 10 Fan Levels"]], [".lList", "index.html", "title", ["Seznam levelů", "Level List"]], [".colMembers", "index.html", 0, ["Členové", "Members"]], [".lComm", "index.html", "title", ["Komentáře", ...
// ------------------------------------------------------------------------------------------------ // minMatrixb.js // version 0.0.2 // Copyright (c) doxas // ------------------------------------------------------------------------------------------------ function matIV(){ this.create = function(){ return...
/* Table of Content setSVRSTableAttrVal - svrs - 12 setParamTableAttrVal - parameters - 180 setSystemTableAttrVal - system - 225 setUserTableAttrVal - user - 245 setExchangeTableAttrVal - exchange - TODO not defined !!! setRegPopUp - end */ // === // import notifyAlert from 'src/services/notify-alert' // === ...
// version 0.9 import game_objects from '../objects/game_objects.js' // constants const WIND_SCALE = window.innerWidth * 0.05; // raise to lower wind variance const WIND_VARIANCE = 3; // lower to increase y velocity const VELOCITY_Y_SCALE = -1.3; // raise to increase x velocity const VELOCITY_X_SCALE = 0.32; // modif...
let config = { // Should be higher than real FPS to not skip real frames // Hardcoded due to JS limitations fps: 30, // How many leading zeros padValue: 0, // Format of the extracted frames imageMimeType: 'image/jpeg', imageExtension: '.jpg', // Name of the extracted frames zip archive framesZipF...
"use strict"; var M4 = function() { this._mS = []; this._to = 0; this._mS[0] = [1,0,0,0, 0,1,0,0, 0,0,1,0, 0,0,0,1]; this._m = function(arg) { if (! (arg === undefined)) this._mS[this._to] = arg; return this._mS[this._to]; }; this.aimX = function(mat...
var TEST_PREVIEW_URL_ = null; var AS_APP_NAME = 'ANHSTOCK FAST DOWNLOADER'; var DATA_KEY = 'anhstockData'; var USERNAME = 'hoangsonx'; var TOKEN = '<KEY>'; var API_ENDPOINT = 'http://api.anhstock.com/index.php'; window.Previewer_ = window.Previewer_ || (function ($) { // var userData = null; // var userTest =...
if (!window.ATW3_AdObj){ try { if (parent.window.ATW3_AdObj)var ATW3_AdObj=parent.window.ATW3_AdObj; else { var ATW3_AdObj=new Object(); parent.window.ATW3_AdObj=ATW3_AdObj; }} catch (e){ var ATW3_AdObj=new Object(); }} var atw3Ping=function(f,s,t){ var w=window; var fail=function(){ if (w.removeEventListener){w.r...
/** * @typedef {Object} NodeAndOffset * @property {Node} node - The DOM node that makes up a portion of a highlight. * @property {number} offset - Offset within the node for a portion of a highlight. * @property {number} normalisedOffset - Offset within the node's original text that excludes * ...
/* KeeFox - Allows Firefox to communicate with KeePass (via the KeePassRPC KeePass plugin) Copyright 2008-2014 <NAME> <<EMAIL>> The metrics module collects anonymous statistics about key metrics and behaviours so we can improve KeeFox. https://addons.mozilla.org/en-US/firefox/addon/keefox/privacy/ ...
var gameSpeed = 0//10000; var gamePaused = false; var shootThisFrame = false; var betweenLevels = false; var cursorX; var cursorY; var gameOver = false; var reset = false; var levelOver = false; var canvas; var screen; String.prototype.replaceAll = function(search, replacement) { var target = this; return ...
function loadTable() { var api = "http://localhost:8080/trips"; $(document).ready(function () { $.ajax({ url: api, method: 'GET', cache: false, type: "text/json" }) .done(function (evt) { setTimeout(function () { var result = evt; window.jsonValues ...
import React from 'react' import { Icon, Input, Button, Upload, DatePicker, Select, message, Modal, Breadcrumb, Radio } from 'antd' import moment from 'moment'; import { createTask, getTaskBreadById } from '../core/service/task.service'; import { getProListByType } from '../core/service/project.service'; import ...
// Copyright 2017 Google Inc. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the 'License'); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law...
/* My alternative to peerjs. A more lightweight/low-level solution. Which is compatible with their signalling server. Todo: Check if we need to adjust anything according to this: https://w3c.github.io/webrtc-pc/#perfect-negotiation-example * variable max retries (ICE restarts) * notify when offer is from ICE r...
/*Google map Initialize Functions*/ var gmarkers = []; var current_place = 0; var actions = []; var categories = []; var vertical_pan = -190; var map_open = 0; var vertical_off = 150; var pins = ''; var markers = ''; var infoBox = null; var category = null; var categorycolor = null; var company = null; var address = nu...
/* * QCLean - experiment */ var qclean = qclean || {}; // TODO: support safari/opera var extensionInfo = undefined; if (self.options) { //console.log("Firefox"); //console.log(self.options); extensionInfo = { "version": self.options.version }; } else if (chrome) { //console.log("Chrome")...
'use strict'; /// @module simulation_controller /// Server side simulation controller. /// Module dependencies. var uuid = require('node-uuid'); var mongoose = require('mongoose'), Simulation = mongoose.model('Simulation'), fs = require('fs'), CloudsimUser = mongoose.model('CloudsimUser'), billing = re...
// This code was generated by dot2js.g var util = require('util'), graphviz = require('../lib/graphviz'); var graph_g = graphviz.digraph( "g" ); graph_g.set( "bgcolor", "#808080" ); graph_g.set( "rankdir", "LR" ); var graph_u1 = graph_g.addCluster( "u1" ) graph_u1.set( "bgcolor", "#808080" ); graph_u1.set( "rankdir...
/* The Distance Teaching and Mobile learning licenses this file to you 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 agr...
/** * @omiu/toast v0.0.8 http://omijs.org * Front End Cross-Frameworks Framework. * By dntzhang https://github.com/dntzhang * Github: https://github.com/Tencent/omi * MIT Licensed. */ import { h, tag, WeElement, extractClass } from 'omi'; /*! *********************************************************************...
'use strict'; const Exchange = require ('./base/Exchange'); const { AuthenticationError, BadRequest, ExchangeError, ArgumentsRequired, PermissionDenied, InvalidOrder, OrderNotFound, DDoSProtection, NotSupported, ExchangeNotAvailable, InsufficientFunds, InvalidAddress } = require ('./base/errors'); module.exports = cl...
/* Inference relies on all other files at this point, so make sure they are included in the right order */ /* * Function that instantiates a reasoner to use * @param eventSystem (evSystem) - Reference to eventSystem */ function Reasoner (eventSystem) { // working knowledge this.current = new axiomStore('current'...
/************************************************************************************ * The MIT License (MIT) * * Copyright (c) 2014 AmbientBox * * 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 * t...
/** * @license Apache-2.0 * Copyright 2018 <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 Moment = require('moment'); const Defaults = require('./defaults'); const Notifications = require('./notifications'); const Symbols = require('./symbols'); const Tick = require('./tick'); const Client = require('../../base/client'); const formatMoney...
//Custom Deezer player by <NAME> $(document).ready(function() { $("#controls input").attr('disabled', true); $("#slider_seek").click(function(evt, arg) { var left = evt.offsetX; DZ.player.seek((evt.offsetX / $(this).width()) * 100); }); }); function addStyleAttribute($element, styleAttribute) { $elemen...
/* eslint-disable @typescript-eslint/no-use-before-define */ /* eslint-disable @typescript-eslint/no-unused-vars */ /* eslint-disable lines-between-class-members */ /*//////////////////////////////// ABOUT \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\*\ NetPacket objects are sent between the browser and server as part of the...
// Copyright 2017-2021 @axia-js/app-accounts authors & contributors // SPDX-License-Identifier: Apache-2.0 import BN from 'bn.js'; import React, { useCallback, useContext, useEffect, useMemo, useState } from 'react'; import styled, { ThemeContext } from 'styled-components'; import { AddressInfo, AddressSmall, Badge, Bu...
const app = getApp() const chooseLocation = requirePlugin('chooseLocation'); import util from '../../utils/util.js'; Page({ data: { value: '', showMask:false, loading:false, postType:'新增', sizeType:['original'], reasonFileList: [], logoFileList: [], orgImageFileList:[], show: fal...
import React, {PureComponent} from 'react'; import {connect} from 'dva'; import moment from 'moment'; import { message, Progress, Button, Input, Badge, Modal, Drawer, InputNumber, Icon, Divider, Row, Col, Card, Collapse, Menu, Dropdown, Tabs, } from 'antd'; import Component from '../.....
/** * Colorado College * by White Whale Web Services * http://whitewhale.net */ var dotBulletsAvailable = 3, homepageTimeout, homepageFired = false, openNav = false; $(document).ready(function() { addCalendarIcons(); addRandomSubnavigationBullets(); startNavigationCollapse(); startPlaceholder();...
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // STORY.JS // Provides story component // Requires: Popup.js() ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////// function Story(div,...
const express = require('express') const router = express.Router() const bcrypt = require('bcryptjs') const auth = require('../middleware/auth') const db = require('./index') const getRndInteger = (min, max) => { return Math.floor(Math.random() * (max - min + 1) ) + min; } // @route GET api/seed // @desc Get t...
import * as d3 from 'd3'; import moment from 'moment'; import hexToRgba from 'hex-to-rgba'; const getMedianLineData = (data) => { let medianValues = [] if (data.length > 0) { let sum = data.map(d => d.value).reduce((total, val) => parseFloat(total) + parseFloat(val)) let avrg = parseFloat((sum / data.length).toF...
// wink-pos-tagger // English Part-of-speech (POS) tagger // // Copyright (C) 2017-19 GRAYPE Systems Private Limited // // This file is part of “wink-pos-tagger”. // // Permission is hereby granted, free of charge, to any person obtaining a // copy of this software and associated documentation ...
/* * Your installation or use of this SugarCRM file is subject to the applicable * terms available at * http://support.sugarcrm.com/Resources/Master_Subscription_Agreements/. * If you do not agree to all of the applicable terms or do not have the * authority to bind the entity as an authorized representative, then...
'use strict'; const {join, resolve: pathResolve} = require('path'); // Todo[engine:node@>12.9.0]: Remove `Promise.allSettled` polyfill (or // forego this and don't i18nize server responses (do on client) or // cache the locales) // eslint-disable-next-line node/no-unsupported-features/es-builtins Promise.allSettled...
/*! * vue-jsonpath-picker v1.1.4 * (c) <NAME>--Taillefer * Released under the MIT License. */ 'use strict'; function _typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return ob...
import 'bootstrap/dist/css/bootstrap.min.css'; import 'bootstrap/dist/js/bootstrap.min.js'; import '../../lib/font-awesome-4.7.0/css/font-awesome.min.css'; import '../../lib/csrfAjax'; import './allChat.less'; // var $ = require('jquery'); const config = { userinfo: {}, socket: { room: 'default', onlineCoun...
#!/usr/bin/env node const lodash = require('lodash'); const yaml = require('js-yaml'); const fs = require('fs'); const marked = require('marked'); const slugify = require('slugify'); const $RefParser = require('@apidevtools/json-schema-ref-parser'); const safeJsonStringify = require('safe-json-stringify'); const suppo...
import { VueMediaQueryMixin } from './media.mixin.js' var Util = { getReturnAmount: function (amount, term, rate) { const periodFree = 0; const finalTerm = periodFree > term ? 0 : term - periodFree; const total = Math.round((rate * finalTerm + 1) * amount); return `${total} ₸`; }, pl...
#!/usr/bin/env node var parser = require('fast-xml-parser'); var polyline = require( 'google-polyline' ); const { registerFont, createCanvas } = require("canvas"); var util = require('util'); const fetch = require('node-fetch'); var fs = require('fs'); var readFileAsync = util.promisify(fs.readFile); const GOOGLE_MAP...
import Im from "immutable" import { sanitizeUrl as braintreeSanitizeUrl } from "@braintree/sanitize-url" import camelCase from "lodash/camelCase" import upperFirst from "lodash/upperFirst" import _memoize from "lodash/memoize" import find from "lodash/find" import some from "lodash/some" import eq from "lodash/eq" impo...
// Copyright 2016 <NAME>. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the 'License'); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable la...
'use strict'; const url = require('url'); const Subscriber = require('../Subscriber'); const soap = require('../helpers/soap'); const streamer = require('../helpers/streamer'); const TYPE = soap.TYPE; const flow = require('xml-flow'); const XmlEntities = require('html-entities').XmlEntities; const path = require('path'...
/* * This library is part of OpenCms - * the Open Source Content Management System * * Copyright (c) Alkacon Software GmbH (http://www.alkacon.com) * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free So...
/* global __filename */ import { getLogger } from 'jitsi-meet-logger'; import * as JitsiConferenceEvents from '../../JitsiConferenceEvents'; import * as JitsiTrackEvents from '../../JitsiTrackEvents'; import * as MediaType from '../../service/RTC/MediaType'; import browser from '../browser'; import RTCEvents from '../....
import TweenLite from 'gsap'; import get from './ajax'; import Component from './component'; import createCanvas from './create-canvas'; import loadImage from './image-loader'; import * as Path from './path'; import { clamp, interpolate, easing } from './math'; import { likeNull, isUndefined, isObject } from './utils'...
import localforage from 'localforage'; import log from './logger.js'; import { instantiateAny } from './wasm-utils.js'; import td_wasm_release from './prebuilt/release/td_wasm.wasm'; import td_asmjs_mem_release from './prebuilt/release/td_asmjs.js.mem'; const tdlibVersion = 6; const localForageDrivers = [ localfora...
"use strict"; function Calendar(e, t, n, i, a) { this.id = e, this.size = t, this.labelSettings = n, this.colors = i, this.initday = 0, a = a || {}, this.indicator = !0, null != a.indicator && (this.indicator = a.indicator), this.indicator_type = 1, null != a.indicator_type && (this.indicator_type = a.indicator_ty...
import Mixin from '@ember/object/mixin'; import { Promise } from 'rsvp'; import EmberObject, { computed, set, get } from '@ember/object'; import { A as emberArray, makeArray, isArray } from '@ember/array'; import { readOnly } from '@ember/object/computed'; import { assign } from '@ember/polyfills'; import { run } from ...
#!/usr/bin/env node /* eslint-env node */ 'use strict'; // Would be useful for supporting Node JS v4 if using "let", "class", etc. // 'use strict'; can be removed when dropping support for Node JS v4 var nodeVersion = process.versions.node, semverArrNodeVersion = nodeVersion.split('.'); if (par...
 // $("span.k-numerictextbox").css('width', "100%"); // change Existing Line function changeItemRalatedTotal() { var Qtytextbox = $("#HdrSec7_InptQty_Val").kendoNumericTextBox({ spinners: false, change: function () { var value = this.value(); } }); var Qty = Qtytextbox...
/* * Copyright (c) 2015 Cryptonomex, Inc., and contributors. * * The MIT License * * 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 limitati...
/* Copyright 2019 Adobe Inc. All rights reserved. This file is licensed to you 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 ...
"use strict"; /// <reference path="ww.ts" /> // Flags corresponding to browser specific quirks. const hacks = {}; // receiving is the object currently being received. let receiving; // sending is the object currently being sent. let sending; // sendqueue is the queue of objects waiting to be sent. let sendqueue = []; /...
/** @format */ /** * External dependencies */ import validator from 'is-my-json-valid'; import { forEach, get, isEmpty, isEqual, mapValues, merge, omit, omitBy, reduce, reduceRight, } from 'lodash'; import { combineReducers as combine } from 'redux'; // eslint-disable-line wpcalypso/import-no-redux-combin...
var origin = [ { 1: "氢", 2: "H", 3: 1.008, 4: "Hydrogen", 5: "Composed of the Greek elements hydro-and -gen meaning water-forming", }, { 1: "氦", 3: 4.003, 4: "Helium", 5: "The Greek helios, sun", }, { 1: "锂", 3: 6.941, 4: "Lithium", 5: "The...
import { qualityLevel } from 'providers/data-normalizer'; import { Browser, OS } from 'environment/environment'; import { isAndroidHls } from 'providers/html5-android-hls'; import { STATE_IDLE, STATE_PLAYING, STATE_STALLED, MEDIA_META_CUE_PARSED, MEDIA_META, MEDIA_ERROR, WARNING, MEDIA_VISUAL_QUALITY, MEDIA_TYP...
var now = new Date(); var startYear = now.getUTCFullYear(); var startMonth = now.getUTCMonth() + 1; var startDay = now.getUTCDate(); if (startMonth < 10) { startMonth = '0' + startMonth; } if (startDay < 10) { startDay = '0' + startDay; } var startDate = new Date(Date.UTC(startYear, startMonth - 1, startDay))...
var map1, map2, marker1, marker2, smarker1, smarker2, feature, keys, lastView, defaultTitle, svButton; if (!String.prototype.startsWith) { String.prototype.startsWith = function(searchString, position){ position = position || 0; return this.substr(position, searchString.length) === searchString; }; }...
// import HttpMsgCenter from './HttpMsgCenter'; const LOCAL_TIMESTAMP = 'SDK_NAME@LOCAL_TIMESTAMP'; // const SDK_USER_PLAY_TIME = 'SDK_NAME@USER_PLAY_TIME'; const sVersion = '0.2.0'; /* const LoginStatus = { None: -2, Fail: -1, Logining: 0, Success: 1 };*/ // 获取邀请玩家列表 /*function CheckNewInvitedUser(fro...
/** * Global variables. */ var pageStat = { /** * Available times. */ events: [], /** * Doctor's name list. */ branch: [], /** * Doctor's id list */ branchId: [], /** * Appointment list. */ agenda: [], /** * Week calendar instance. */ calendarInstance: null,...
'use strict'; var mongoose = require('mongoose'); mongoose.Promise = global.Promise; var ObjectID = mongoose.Types.ObjectId; var fs = require('fs'); var path = require('path'); var request=require('request'); var moment=require('moment'); var getUrl=require('../getUniqueUrl.js'); var Pn=mongoose.model('Pn'); var Rn=mo...
// // Bitcoin Browser Wallet (Chrome Extension) // Copyright (c) 2013 <NAME> [frozeman.de] // // This program is free software; you can redistribute it and/or modify // it under the terms of the MIT license. // -> INTERFACE // CONSTANTS var DECIMAL_POINTS = 100000000, TRANSACTION_FEE = 0.0001; // will be add ...
/// <reference path='knockout-2.3.0.debug.js' /> /// <reference path='jquery-2.0.2.js' /> /// <reference path='jquery-ui-1.10.3.js' /> /// ///<summary> /// This sets up custom binding handlers in Knockout that will create and control jQueryUI widgets. /// The usage is simple add the handler (typically named jq[Widget n...
class icStatusRange { constructor(start, end, status) { this.start = start.clone(); this.end = end.clone(); this.status = status; } getStr() { return this.start.format() + " " + this.end.format(); } splitByMonth() { if (this.start.isSame(this.end, 'month')) { ...
let camera, renderer1, scene, uniformsBlob, uniformsPano, container1 = document.getElementById("canvas_container1"), bg = document.querySelector(".bg"), floor = document.querySelector(".floor"), btn_Light = document.querySelector(".btn_Light"), timeout_Debounce, lightOFF = true, renderer2, camer...
/** * Copyright 2014 Google Inc. 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 appli...
/*! // ==UserScript== // @name 115小助手 // @namespace https://github.com/maomao1996/tampermonkey-scripts // @version 1.1.2 // @description 顶部链接任务入口还原、SHA1 快速查重(新页面打开)、SHA1 自动查重、删除空文件夹、一键搜(快捷搜索)、SHA1 查重列表支持选中第一个元素和悬浮菜单展示、搜索列表支持悬浮菜单展示 // @icon https://115.com/favicon.ico // @author maoma...
/* eslint-disable */ /** * Trust All Scripts * * This is a dirty little script for iterating over script tags * of your Ghost posts and adding them to the document head. * * This works for any script that then injects content into the page * via ids/classnames etc. * */ const $ = require("jquery"); const jQu...
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); var _objectAssign = require('object-assign'); var _objectAssign2 = _interopRequireDefault(_objectAssign); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } var ReactCrop = React.createClass({...
/* global HandledPromise */ import { QCLASS, Remotable, getInterfaceOf, mustPassByPresence, makeMarshal, } from '@agoric/marshal'; import { assert, details } from '@agoric/assert'; import { isPromise } from '@agoric/promise-kit'; import { insistVatType, makeVatSlot, parseVatSlot } from '../parseVatSlots'; im...
/** * @fileoverview * Common constants and variables used in the RTE test suite. * * Copyright 2010 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.ap...
/* * Audio reactions with three.js * @author Aureaboros <http://aureaboros.com> */ var windowHalfX = window.innerWidth / 2; var windowHalfY = window.innerHeight / 2; var group, mesh, ground, particleSystem; var finalResult; var texture2; 'use strict'; var Aureaboros = Aureaboros || {}; // TODO : trier ce bordel ...
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...
"use strict"; var explore_results=function(){ preventBackExit(); header_text.innerHTML=' &larr; '+app_name+' menu'; canvas_zone_vcentered.innerHTML=' \ <div id="results-div">cargando resultados...</div> \ <br /><button id="go-back" class="minibutton fixed-bottom-right go-back">&larr;</button> \ '; document.getE...
import * as Xml2Tree from "./xml2Tree"; import * as $ from 'jquery'; import * as path from 'path'; /** * Default config. * @type {{duration: number, panSpeed: number, panBoundary: number, isAttributes: boolean, secondLevelNodes: []}} */ const defaults = { secondLevelNodes: [], isAttributes: true, // p...
'use strict'; // handles management pages in general var settings; var minClearIpRole; var globalBoardModeration; var customJs; var common; var templateHandler; var lang; var miscOps; var boardMessageLength; var displayMaxBannerSize; var displayMaxFlagSize; var displayMaxFlagNameLength; exports.boardSettingsRelatio...
'use strict'; /* WELCOME TO REMOTEQUERY for NODE JS */ const pino = require('pino'); const fs = require('fs'); const memoize = require('fast-memoize'); // CORE -start- const SYSTEM_CODE = 4000; const ANONYMOUS = 'ANONYMOUS'; const MAX_RECURSION = 40; const MAX_INCLUDES = 100; const MAX_WHILE = 100000; const STATEM...
'use strict'; // Utility Functions function parsePosition(node){ return { top: parseFloat(node.style.top), left: parseFloat(node.style.left), width: parseFloat(node.style.width), height: parseFloat(node.style.height) }; } function nodeCorners(node){ var pos = parsePosition(node); var right = pos.left + po...
$(document).ready(function() { if (browserSupportsSvg()) { $.get('/chemistryJson/'+$('#sampleNumber').text()) .done(function(data){ drawChemistryBubbleChart(data); $('#chemistryViewLoading').hide(); $('#chemistryViewWrapper').show(); }) .fail(function(jqXHR, textStatus, errorThrown) { ...
var socket = io(); var color = "white"; var players; var roomId; var play = true; var game var enemy = document.getElementById("enemy") var roomNumber = document.getElementById("roomNumbers") var button = document.getElementById("button") var button2 = document.getElementById("button2") var state = document.getElemen...
var pos = 0; var chart_queue = {}; var full_chart_queue = {}; var tiles = []; var tiles_and_rows = []; var is_selected = true; var selected_pos = 0; var logged_in = false; var username = ""; var user_chart_l = []; function set_error(s) { u("#error_bar").html(s); } function show_thing(t) { t.removeClass('hidde...
/* global window: false */ 'use strict'; var moment = require('moment'); moment = typeof moment === 'function' ? moment : window.moment; var defaults = require('../core/core.defaults'); var helpers = require('../helpers/index'); // Integer constants are from the ES6 spec. var MIN_INTEGER = Number.MIN_SAFE_...
/** Initializes the LiveSocket * * * @param {string} endPoint - The string WebSocket endpoint, ie, `"wss://example.com/live"`, * `"/live"` (inherited host & protocol) * @param {Phoenix.Socket} socket - the required Phoenix Socket class imported from "phoenix". For exam...
"use strict"; exports.__esModule = true; exports.useMatch = exports.useParams = exports.useNavigate = exports.useLocation = exports.matchPath = exports.globalHistory = exports.redirectTo = exports.navigate = exports.isRedirect = exports.createMemorySource = exports.createHistory = exports.ServerLocation = exports.Rout...
import React from 'react'; import axios from 'axios'; import { showModal, hideModal, viewModal, clearModal, ModalAlertInfo, ModalAlertSuccess, ModalAlertWarning, spinnerLoading, keyNumberInteger, getExtension, readDataURL, imageSizeData, statePrivilegio } from '../too...
/** * Sticky States makes entire state trees "sticky". Sticky state trees are retained until their parent state is * exited. This can be useful to allow multiple modules, peers to each other, each module having its own independent * state tree. The peer modules can be activated and inactivated without any loss of t...
// // Block details functions // function populateBlockDetails(hash) { getBlockByHash(hash) .then(function (block) { //header $('#block_header_details').html(''); $('#block_header_details').append("<div class='clear_both'></div><div class='object_detail_label'>Block hash</div><div clas...
/* jshint -W097 */ /* jshint -W030 */ /* jshint strict: false */ /* jslint node: true */ /* jslint esversion: 6 */ const WebSocket = require('ws'); const EventEmitter = require('events'); class AlexaWsMqtt extends EventEmitter { constructor(options, cookie) { super(); this._options = options; ...
/*minify:*/ /** @param {Meta} Meta * @param {ApiCss} css * @param {UiInfo} ui * @return {Forms} */ function createForms(Meta, css, ui) { let { OpsMap, TypesMap, getIcon } = Meta let operations = Object.values(OpsMap) let { theme, defaultFormats } = ui if (!defaultFormats) defaultFormats = {} ...
import { Scalar } from "../Maths/math.scalar"; import { SphericalPolynomial } from "../Maths/sphericalPolynomial"; import { InternalTexture, InternalTextureSource } from "../Materials/Textures/internalTexture"; import { Logger } from "../Misc/logger"; import { CubeMapToSphericalPolynomialTools } from "../Misc/HighDynam...
"use strict"; /** * Copyright (c) 2019-2020 mol* contributors, licensed under MIT, See LICENSE file for more info. * * @author <NAME> <<EMAIL>> * @author <NAME> <<EMAIL>> */ Object.defineProperty(exports, "__esModule", { value: true }); exports.VolumeStreaming = void 0; var tslib_1 = require("tslib"); va...
/* Copyright 2010-2019 <NAME> <<EMAIL>> * * Permission to use, copy, modify, distribute, and sell this software and its * documentation for any purpose is hereby granted without fee, provided that * the above copyright notice appear in all copies and that both that * copyright notice and this permission notice app...