text
stringlengths
5.97k
41.2k
var net = require('net'), tls = require('tls'), util = require('util'), parse = require('url').parse, defs = require('./defs'), PDU = require('./pdu').PDU, EventEmitter = require('events').EventEmitter, proxy = require("findhit-proxywrap").proxy; var proxyTransport = proxy(net, { strict: false, ignoreStrictEx...
import React, { Component, Fragment } from "react"; import ReactDOM from "react-dom"; //import getDist from "../maps/getDist"; import { withRouter } from "react-router"; import Modal from "../others/modal"; import "../../../css/style.css"; import ExistMenu from "./existMenu"; import Checkout from "../orders/checkout"; ...
/*! * devextreme-react * Version: 20.2.6 * Build date: Tue Mar 16 2021 * * Copyright (c) 2012 - 2021 Developer Express Inc. ALL RIGHTS RESERVED * * This software may be modified and distributed under the terms * of the MIT license. See the LICENSE file in the root of the project for details. * * https://githu...
"use strict"; var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } return new (P || (P = Promise))(function (resolve, reject) { function fulfilled(value) { t...
// var barChartData = { // labels: ["January", "February", "March", "April", "May", "June", "July"], // datasets: [{ // label: 'Dataset 1', // backgroundColor: window.chartColors.red, // data: [ // randomScalingFactor...
"use strict"; /* ##### ###### #### # # # ##### ###### # # # # # # # # # # # # # ##### # # # # # # # ##### ##### # # # # # # # ##### # # # # # # # # # # # # # # ###### ### # #### # # # ###### */ const { ipcRenderer } = require("electron");...
var project_id = $('input[name="project_id"]').val(); var discussion_user_profile_image_url = $('input[name="discussion_user_profile_image_url"]').val(); var discussion_id = $('input[name="discussion_id"]').val(); Dropzone.options.projectFilesUpload = false; Dropzone.options.taskFileUpload = false; Dropzone.option...
const base = { nodes: [ { name: 'a' }, { name: 'b' }, { name: 'x' }, { name: 'y' }, { name: 'z' } ], links: [ { source: 'a', target: 'x', value: 5 }, { source: 'a', target: 'y', value: 6 }, { source: 'a', target: 'z', value: 7 }, { source: 'b', target: 'x', value: 4 }, { so...
/* * Bird migration flow visualization * * https://github.com/enram/bird-migration-flow-visualization * Copyright (c) 2015 LifeWatch INBO * The MIT License - http://opensource.org/licenses/MIT * * Based on air.js from air * https://github.com/cambecc/air * Copyright (c) 2013 <NAME> */ "use strict"; // Proto...
let mapLevel = {}; let mapId = {}; let infoList = []; //处理数据 function conventData(list) { mapLevel = {}; mapId = {}; infoList = []; let fn = function (list, mapLevel, mapId, infoList, level, pid) { list.forEach(function (d, idx) { if (level > 3) { return ...
'use strict'; /*------------------------------------------------ Page Loader -------------------------------------------------*/ $(window).on('load', function () { setTimeout(function () { $('.page-loader').fadeOut(); }, 500); $('header.header ul.top-nav div.dropdown-menu:not(:has(*))').parent...
/* * Copyright (c) Microsoft Corporation. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * * Redistributions of source code must retain the above copyright * notice, this list of c...
//------ Functions --------- const update_ability = function (name) { console.log("update_ability: " + name); let update = {}; getAttrs([name + "_rolled", name + "_advanced", name + "_tmp"], (v) => { console.log(v); update[name] = (parseInt(v[name + "_rolled"]) || 0) + (parseInt(v[name + "_ad...
import React, {PureComponent, Fragment} from 'react'; import {connect} from 'dva'; import styles from './SyncMissionDetail.less'; import styleNewTaskFlow from './NewTaskFlow.less'; import T from './../../utils/T'; import router from 'umi/router'; import {EnumIconSrc} from './../../constants/dataSync/EnumSyncCom...
const { EventEmitter } = require('events') const HypercoreProtocol = require('hypercore-protocol') const hypercore = require('hypercore') const hypercoreCrypto = require('hypercore-crypto') const datEncoding = require('dat-encoding') const thunky = require('thunky') const LRU = require('lru') const Multigraph = requi...
/* * Copyright 2020 RtBrick Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed...
 //global variables var data; var chartTitle; var barColors = new Array; var justSearched; var blClearGraphics; var csvRows = []; var chartSubTitle; var vAxisLabel = "Traffic Count (Average Daily Total)"; //initialize var blChartDrawn; //begin basic google charts code google.load("visu...
// import { saveAs } from 'file-saver' const { saveAs } = require('file-saver') //helpers function createDiv({ classnames = [], id = '', innertext = '' }) { let div = document.createElement('div') classnames.forEach((classname) => { div.classList.add(classname) }) div.id = id div.innerHTML = innertext // paren...
const net = require('net'); const dgram = require('dgram'); //const shortId = require('shortid'); /* * * CLASS CONNECTION * */ const Connections = class Connections { constructor() { this.connections = {}; } generateId() { return nodefony.generateId() } getClientId(client) { return client...
var currentPage = "tag"; var tagContactsdataTable; var tagTableFilters = {}; var contactTableFilters = {}; var tagUsers = []; var contactTableInitialized = false; var tagSelectOpts = { placeholder: "Имя тега", ajax: { url: "/tags/gettags", dataType: 'json', delay: 250, data: fun...
import { combineReducers, createStore } from 'redux'; var HYDRATE = 'HYDRATE'; var UPDATE_FIELDS = 'UPDATE_FIELDS'; var SAVE = 'SAVE'; var SAVE_SUCCESS = 'SAVE_SUCCESS'; var SAVE_FAILURE = 'SAVE_FAILURE'; var PUBLISH = 'PUBLISH'; var PUBLISH_SUCCESS = 'PUBLISH_SUCCESS'; var PUBLISH_FAILURE = 'PUBLISH_FAILURE'; functi...
// Load in our dependencies var assert = require('assert'); var domain = require('domain'); var url = require('url'); var _ = require('underscore'); var bodyParser = require('body-parser'); var connectFlash = require('connect-flash'); var csurf = require('csurf'); var helmet = require('helmet'); var express = require('...
var module = angular.module('app', []); module.controller('constr', ['$scope', '$http', function ($scope, $http) { /* * Создать showMessage! * */ $scope.changelvl = -1; $scope.map = []; // $scope.player = new Player(110,110,110,110,10,"down"); $scope.player = []; $scope.go = false; ...
var __cm_view_triggers = []; var ContextMenu = { callingID: null, callingItemID: null, callingControlID: null, // private attributes menuElement: null, setup: function () { //document.oncontextmenu = ContextMenu.show; document.onclick = ContextMenu.hide; document.onco...
const DAY = 86400000; function getRandomInt(min, max) { min = Math.ceil(min); max = Math.floor(max); return Math.floor(Math.random() * (max - min) + min); } function seed(time) { const now = new Date().getTime(); if (now - time <= DAY) { return []; } const timeline = []; var days = Math.floor((now...
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); var _class;/** * IP Tools * Pokemon Showdown - http://pokemonshowdown.com/ * * IPTools file has various tools for IP parsing and IP-based blocking. * * These include DNSBLs: DNS-based blackhole lists, which list IPs known for * running pro...
var _, run, load, save, parse, walk, walkers, generate, js_beautify, signature, js, ast, dsl, CLOSURE, ROOT, MAPPING _ = require("lodash") run = require('child_process').execFileSync load = require("fs").readFileSync save = require("fs").writeFileSync parse = require("acorn").parse walk = require("acorn/dist/walk").anc...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.AutoComplete = void 0; var _react = _interopRequireWildcard(require("react")); var _propTypes = _interopRequireDefault(require("prop-types")); var _reactDom = _interopRequireDefault(require("react-dom")); var _InputText = requir...
const _liste = [ ["02304",{"nom":"<NAME>","a":"à la Fère"}], ["02307",{"nom":"<NAME>","a":"à la Ferté-Milon"}], ["02558",{"nom":"<NAME>","a":"au Nouvion-en-Thiérache"}], ["03306",{"nom":"<NAME>","a":"au Vernet"}], ["04079",{"nom":"L’Escale","a":"à L’Escale"}], ["04116",{"nom":"<NAME>","a":"aux Mées"}], ["05006",{"nom":...
var shopHelmets = [ new Helmet("Newbie Helmet", 0, 1, 15, "img/C_Hat03.png"), new Helmet("Bronze Helmet", 2500, 5, 100, "img/C_Elm01.png"), new Helmet("Iron Helmet", 12500, 15, 250, "img/C_Elm02.png"), new Helmet("Knight Helmet", 22000, 25, 600, "img/C_Elm03.png") ]; var shopArmours = [ new Armou...
//Etable.js //Instantiate new input and output objects var out=new Output(); var input=new Input(); //Jan 2007 var save=false; //When true, saving is allowed and Save and Read Data buttons will be displayed. var OpenEpi=false; //Set to true by onLoad when (supposedly) all modules have finished loading ...
let { MessageType } = require('@adiwajshing/baileys-md') let handler = async (m, { conn, command, args, usedPrefix, DevMode }) => { try { let bruh = `${usedPrefix}${command} [crate] [count]\n\nContoh penggunaan: *${usedPrefix}${command} common 10*\n\nlist crate:\n*📦common*\n*🛍️uncommon*\n*🎁mythic*\n*🧰le...
let modInfo = { name: "Plague Tree (Vorona Cirus Treesease)", id: "c0v1d", author: "Vorona", pointsName: "cases", discordName: "", discordLink: "", changelogLink: "https://github.com/Acamaeda/The-Modding-Tree/blob/master/changelog.md", initialStartPoints: new Decimal (1), // Used for hard resets and new players...
var fetchToUrl = '/wp-json/dx-crm/v1/add-lead'; var loginUrl = '/wp-json/jwt-auth/v1/token'; var listMaximum = '3'; var debounceMilliseconds = 100; $(function () { accessThroughCookieUsage() .then((response) => { if (response) { mainLogic(); } if (!response) { setLoginForm(); } ...
/* * * Mock API * MIT License * By <NAME> 2022 * */ let configuration = { // the id property is used to identify the deployed version id: randomID(), api: {}, notFound: { status: 404, message: "Not found", } } // shorthand for query selector (and all) function $(selector) { ret...
/* * Copyright (C) 2020 Graylog, Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the Server Side Public License, version 1, * as published by MongoDB, Inc. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; withou...
/*global $*/ /*global setCharAt*/ function criaFita(celulas){ var tabela = $(".tabela-fita"); var linha1 = '<tr class="text-center">'; var linha2 = '<tr class="text-center">'; var linhaFita = '<tr class="text-center" id="linha-fita">'; for(var i = 0; i < celulas; i++){ //inicio ...
import * as MTS from './poster.mutations' // import { Message } from 'element-ui' import { Widget, BackgroundWidget, CopiedWidget } from 'poster/widgetConstructor' import { arrMoveTop, arrMoveUpper, arrMoveLower, arrMoveBottom } from 'poster/utils' import { isPlainObject } from '@/utils' import _set from 'lodash/set' i...
'use strict'; var colorString = require('color-string'); var convert = require('color-convert'); var _slice = [].slice; var skippedModels = [ // to be honest, I don't really feel like keyword belongs in color convert, but eh. 'keyword', // gray conflicts with some method names, and has its own method defined. '...
'use strict'; // Load modules const Catbox = require('catbox'); const Hoek = require('hoek'); const Items = require('items'); const Podium = require('podium'); const Connection = require('./connection'); const Ext = require('./ext'); const Package = require('../package.json'); const Promises = require('./promises'); ...
'use strict'; const basemap = require('./basemap.js'); const mapPrint = require('./print.js'); function esriMap(esriBundle, geoApi) { const printModule = mapPrint(esriBundle); let basemapErrored = false; let basemaps = null; let corsEverywhere = false; let overviewExpand = null; class Map {...
import Morph from "./htmlbars-runtime/morph"; import AttrMorph from "./morph-attr"; import { buildHTMLDOM, svgNamespace, svgHTMLIntegrationPoints } from "./dom-helper/build-html-dom"; import { addClasses, removeClasses } from "./dom-helper/classes"; import { normalizeProperty } from "./dom-helper/prop"; imp...
/** * 189Cloud Drive By Cookies */ const protocol = 'ctc' const DEFAULT_ROOT_ID = '-11' const safeJSONParse = (data) => JSON.parse( data.replace(/(?<=:\s*)(\d+)/g, ($0, $1) => { if (!Number.isSafeInteger(+$1)) { return `"${$1}"` } else { return $1 } }), ) /** * auth m...
/** * @license * Copyright (c) 2021 Handsoncode. All rights reserved. */ // import var dictionary = { errors: { CYCLE: '#CYCLE!', DIV_BY_ZERO: '#ZÉRÓOSZTÓ!', ERROR: '#ERROR!', NA: '#HIÁNYZIK', NAME: '#NÉV?', NUM: '#SZÁM!', REF: '#HIV!', SPILL: '#KIBONTÁS!', VALUE: '#ÉRTÉK!' },...
/** * @author 戎晓伟 * @description Resource信息设置 */ import React, { PropTypes, Component } from 'react' import { Table, Input, Modal, Select, Form, message, Icon } from 'antd' import { FormattedMessage } from 'react-intl' import { intlMessage } from '@/app/i18n' import { fromJS } from 'immutable' import Request from ...
"use strict"; var fontfamily = ["Segoe UI", "Arial", "Times New Roman", "Tahoma", "Helvetica"]; var fontsize = ["1pt", "2pt", "3pt", "4pt", "5pt"]; var backstage = { type: ej.Ribbon.ApplicationTabType.Backstage, backstageSettings: { text: "FILE", height: 350, width: 1000, headerWidth: 120...
if (xbIsLogin) { var instanceObj; RongIMClient.init(rongKey); // 设置连接监听状态 ( status 标识当前连接状态) // 连接状态监听器 RongIMClient.setConnectionStatusListener({ onChanged: function (status) { switch (status) { //链接成功 case RongIMLib.ConnectionStatus.CONNECTED: ...
import './slicedToArray-4e274c67.js'; import './unsupportedIterableToArray-137e449b.js'; import 'react'; import './_commonjsHelpers-97e6d7b1.js'; import './index-097535f1.js'; import './defineProperty-a0480c32.js'; import './toConsumableArray-127424c2.js'; import 'styled-components'; import './getPrototypeOf-b96da1e1.j...
/** * exported functions: * - init * - run * * sent events: * - graph_vertex (move) * - graph_edge (refresh_all) * * received events: * - resize * - graph_vertex (add_before_edge, hover) * - graph_edge (add) * - engine (stiffness, damping) * - graph (clear) * * engine -> world -> bo...
'use strict' const shimmer = require('shimmer') const url = require('url') const os = require('os') const semver = require('semver') const ao = require('..') const Span = ao.Span const log = ao.loggers // avoid issuing too many errors on bad transactions const dbSendError = new log.Debounce('error') const ule = Sy...
/* eslint-disable */ import React, { useEffect, useMemo, useCallback, useContext, useState, useLayoutEffect, useRef } from 'react'; import { graphql, Link } from 'gatsby'; import Blocks from '@douyinfe/semi-site-markdown-blocks'; import '@douyinfe/semi-site-markdown-blocks/dist/index.css'; import SearchAllInOne from '....
/* * Copyright 2010 Unicon (R) Licensed under the * Educational Community 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.osedu.org/licenses/ECL-2.0 * * Unless required by applicable law or agreed t...
/** * @license Copyright 2016 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 or a...
'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]; } }...
/* Copyright 2021 MX Technologies, Inc. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, so...
// Globale variabler: /* LEGG MERKE TIL: - Shaderkoden ligger i scrip-tagger i html-fila. - Vertekshaderen tar ikke i mot farge (a_Color) her men i stedet en teksturkoordinat (a_TextureCoord). - Denne videresendes så vha en varying, v_Texture. - Teksturfila (three.png) må lastes ned før man kan ta den i bruk. Se ...
const question = document.querySelector('#question'); const choices = Array.from(document.querySelectorAll('.choice-text')); const progressText = document.querySelector('#progressText'); const scoreText = document.querySelector('#score'); const progressBarFull = document.querySelector('#progressBarFull'); let currentQ...
import React, { Component } from "react"; import Spinner from "react-spinner"; import classNames from "classnames"; import AccCore from "opentok-accelerator-core"; import "opentok-solutions-css"; import { Card, CardBody, CardTitle, Button, Modal, Input, Label, Form, FormGroup, ModalHeader, ModalB...
/* eslint-disable no-nested-ternary */ /* eslint-disable react/jsx-curly-newline */ /* eslint-disable react/jsx-wrap-multilines */ /* eslint-disable no-param-reassign */ import React, { useState, useEffect, useCallback } from 'react'; import styled, { css } from 'styled-components'; import { makeStyles } from '@materia...
let managerRandomNames = ["<NAME>", "<NAME>", "<NAME>", "<NAME>", "<NAME>", "<NAME>", "<NAME>", "<NAME>", "<NAME...
import React, { useEffect, useState } from "react"; import { Formik, Form } from "formik"; import * as Yup from "yup"; import axios from "../../../../Uri"; import { Container, Grid, Typography, InputLabel } from "@mui/material"; import moment from "moment"; import { makeStyles } from "@mui/styles"; import Occupancytype...
'use strict' const dbtype = global.dbtype; const comp = global.comp; module.exports = { title: "Tagihan Keluar", autoid: true, idprefix: 'OR', printing: true, icon: "icon-billout-white.svg", backcolor: "#7d7aa9", committer: true, doc_id: 'BILLOUT', persistent: { 'trn_billout': { comment: 'Daftar Tagiha...
const env = require('./checker-env'); class SpellCheckerManager { static initClass() { this.prototype.checkers = []; this.prototype.checkerPaths = []; this.prototype.locales = []; this.prototype.localePaths = []; this.prototype.useLocales = false; this.prototype.syst...
var topWin = window.dialogArguments || opener || parent || top; function fileDialogStart() { jQuery("#media-upload-error").empty(); } // progress and success handlers for media multi uploads function fileQueued(fileObj) { // Get rid of unused form jQuery('.media-blank').remove(); // Collapse a single item if ( j...
var game = new Phaser.Game(480, 800, Phaser.AUTO, "game_div", { preload: preload, create: create, update: update, render: render }); var isDebug = false; var Scene = { GameStart: {}, GameRunning: {}, GameOver: {} }; var gameState; var lastGameState; var gameStep = 0; var direction; var maxSc...
import React from 'react' import { isServer, functionalUpdate, cancelledError, isDocumentVisible, statusLoading, statusSuccess, statusError, getQueryArgs, deepIncludes, noop, uid, statusIdle, Console, isObject, } from './utils' import { defaultConfigRef } from './config' export const queryC...
//////////////////////////////////////////////////////////////////////////// // // Copyright 2021 Realm Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/li...
Object.defineProperty(exports, "__esModule", { value: true }); var properties_1 = require("../properties"); var observable_1 = require("../../../data/observable"); exports.Observable = observable_1.Observable; exports.WrappedValue = observable_1.WrappedValue; var weak_event_listener_1 = require("../weak-event-listener"...
/** * @module uifactory/select * @author <NAME> <<EMAIL>> */ var Moment = require('alloy/moment'); var Util = require('T/util'); var Dialog = require('T/dialog'); var Data = {}; var PICKER_WIDTH_IPHONE = Alloy.Globals.SCREEN_WIDTH; var PICKER_HEIGHT_IPHONE = 216; var PICKER_WIDTH_IPAD = 320; var PICKER_HEIGHT_...
// Check for cookies or redirect to login var user = getCookie("user"); if (user === "") { window.location = "http://localhost:8080/main/frontend/login.html"; } function getCookie(cname) { var name = cname + "="; console.log(name); var decodedCookie = decodeURIComponent(document....
var MouseHandler = (function () { var x = 0; var y = 0; var mouseIn = false; var init = function (eventSrc) { eventSrc.addEventListener('mousemove', onMouseMove); eventSrc.addEventListener('mouseout', onMouseOut); eventSrc.addEventListener('mouseover', onMouseOver); }; ...
import React from "react"; import { Tree, Button, Popconfirm, Popover, Modal, Table, Tag, Spin } from "antd"; import style from "./LessonPreview.less"; import { deepClone, getMathJax, imageUri, katexShow } from "../../utils/formatDataSource"; import Katex from "../../components...
import React, { Component } from 'react' import { Platform, StyleSheet, Text, View, ScrollView, Switch, TouchableWithoutFeedback, TouchableOpacity, ActivityIndicator, Dimensions, LayoutAnimation, Image, } from 'react-native' import SectionedMultiSelect from 'react-native-sectioned-multi-select' ...
// ==UserScript== // @name Vecorder // @namespace https://www.joi-club.cn/ // @version 0.53 // @description 直播间内容记录 https://github.com/Xinrea/Vecorder // @author Xinrea // @match https://live.bilibili.com/* // @grant GM_setValue // @grant GM_getValue // @grant GM_delet...
import React, { useState, useEffect, useRef, useContext } from 'react' import { useDispatch, useSelector } from 'react-redux' import { getCustomerFromApi, getCustomerTags } from '../../store/actions/customersActions'; import CIcon from '@coreui/icons-react'; import { cilTrash, cilImage, cilSearch } from '@coreui/icons'...
var matchid, endtimer = true, desctype, btnsjson, iscreator = false; mui.init({ pullRefresh: { container: '#pullrefresh', down: { //下拉刷新 callback: pulldownRefresh, style: mui.os.android ? "circle" : "default" //auto: true } } }); mui.previewImage(); var requestUrl = '/Player/getPlayerMatchDetail'; ...
var teleprompter = ""; var copyText = function() { if($("#upload").val().length > 0){ teleprompter = $("#upload").val(); } } var displayOptions = function() { $("#tele-dropdown").css("display","block"); $("#subs").css("display","none"); } var next1 = function() { $("#next2").css("display","none"); $("...
import { default as Web3 } from 'web3' import votingContractArtifact from '../../dist/contracts/VotingSystem.json' import { Message } from 'element-ui' const ethApi = (() => { var toHexN = function(value, hexLen) { return ('0000000000000000000000000000000000000000000000000000000000000000' + Number(value).toStrin...
var SMAComputer = (function () { function SMAComputer() { } SMAComputer.prototype.compute = function (data, day) { var tmp = []; var SMA = []; var len = data.length; for (var i = 0; i < day && i < len; i++) { tmp.push(data[i]); } SMA.push(this.comp...
"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...
/** * The copyright in this software is being made available under the BSD License, * included below. This software may be subject to other third party and contributor * rights, including patent rights, and no such rights are granted under this license. * * Copyright (c) 2013, Dash Industry Forum. * All rights re...
const { EXPRESSION_NEEDED, INSIDE_OF_STRING } = require("./publicSymbols.js"); const prettier = require("prettier"); const { line, indent, concat, fill, group, hardline } = prettier.doc.builders; const { Node } = require("melody-types"); const { PRESERVE_LEADING_WHITESPACE, PRESERVE_TRAILING_WHITESPACE, NE...
var map; var base_url="http://10.13.71.176/civ/"; //var base_url="http://10.13.71.176/cim/"; var maintainmap=new Array(2); maintainmap['maintain-donut1'] = 'detail_kl'; maintainmap['maintain-donut2'] = 'detail_yl'; maintainmap['maintain-donut3'] = 'detail_yf'; maintainmap['maintain-donut4'] = 'detail_ry'; maint...
import React from 'react' import makeStyles from '@material-ui/core/styles/makeStyles' import Typography from '@material-ui/core/Typography' import AppBar from '@material-ui/core/AppBar' import Toolbar from '@material-ui/core/Toolbar' import IconButton from '@material-ui/core/IconButton' import Button from '@material-u...
// Generated using http://www.dotnetwise.com/Code/Externs/index.html var jQuery, $ = { "fn": { "constructor": function () {}, "init": function () {}, "selector": {}, "jquery": {}, "length": {}, "size": function () {}, "toArray": function () {}, "get": ...
import React, { Fragment } from 'react'; import { connect } from 'react-redux'; import Tabs from 'react-responsive-tabs'; import { history } from '../../../_helpers'; // Examples import { Influencers } from './Examples/Influencers'; import { CreateCampaign } from './Examples/CreateCampaign'; import { InfluencerDetail ...
// x.js // X v3.14.1, Cross-Browser DHTML Library from Cross-Browser.com // Copyright (c) 2002,2003 <NAME> (<EMAIL>) // This library is distributed under the terms of the LGPL (gnu.org) // Variables: var xVersion='3.14.1',xOp7=false,xOp5or6=false,xIE4Up=false,xNN4=false,xUA=navigator.userAgent.toLowerCase(); if...
var CBLFun = null; var PagePOPLoginOK = null; var ShareUrl, ShareTitle; $(function () { var G = $img; var C = $("#hidPostID").val(); var B = $("#emReplyCount"); var productId = $("#productId").val(); var shareId = $("#shareId").val(); var resultCount = $("#resultCount").val(); var pageNo = 0; var K = functi...
"use strict"; var _grid_size = 8; var _chart_padding = 16; var _z_index = 1000; function createCrossFilter(dataResult) { data = dataResult; try { var r = eval(init); } catch (e) { } xf = crossfilter(data); dimension = new Array(); group = new Array(); columns = new Array(); for (var k in dat...
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); var _promise = require('babel-runtime/core-js/promise'); var _promise2 = _interopRequireDefault(_promise); var _defineProperty = require('babel-runtime/core-js/object/define-property'); var _defineProperty2 = _interopRequireDefault(_d...
var service_base_url = $('#service_base_url').val(); var CustomerList = []; $.Thailand({ database: service_base_url + 'assets/js/thailand-db/db.json', $district: $('#form-services [name="customer_district"]'), $amphoe: $('#form-services [name="customer_amphoe"]'), $province: $('#form-services [name="c...
import { get_client } from '../graphql_utils/graphql_utils.js'; import gql from 'graphql-tag'; import { log_standard_event } from '../core/analytics.js'; import { Indicator, Result, SubProgramEntity, PI_DR_Links, ResultCounts, GranularResultCounts, get_result_doc_keys, } from './results.js'; const r...
/*! SmartAdmin - v1.4.1 - 2014-06-27 */ function setup_widgets_desktop() { $.fn.jarvisWidgets && enableJarvisWidgets && $("#widget-grid").jarvisWidgets({ grid: "article", widgets: ".jarviswidget", localStorage: !0, deleteSettingsKey: "#deletesettingskey-options", settingsKeyLabel: "Reset settings?", delet...
/* jshint maxlen: 90 */ "use strict"; // In case the script is included on a page without WYMeditor, define the // WYMeditor and WYMeditor.editor objects to hold the constants used. if (typeof (WYMeditor) === 'undefined') { /* jshint -W020 */ WYMeditor = {}; /* jshint +W020 */ WYMeditor.HEADING_ELEMENT...
function show_detail_customer(group){ if($('#detail_pipeline_customer').css('display') == 'none'){ toggle_visibility('detail_pipeline_customer'); } $('.group-filter-elmt').html('Corporate Banking '+group); } function get_summary_pipeline(v_cbgroup, v_product, v_valuta, v_id_div_summary, v_id_div_summary_high...
// --- PACKAGE --- const XLSX = require('xlsx'); const { Builder, By, Key, until } = require('selenium-webdriver'); const dotenv = require("dotenv").config(); // --------------- // envoyer varibale (ex. node app.js 1) const idx = parseInt(process.argv[2], 10); // console.log(idx); // read file excel const workbook =...
var CircleZone = function(x,y,r) { var cz = new Object(); Object.extend(cz, InertDrawable); var d = 2*r; cz.color = SET.killzone_color; cz.draw = function() { fill(this.color); stroke(255); ellipse(x,y,d,d); }; return cz } var KillZone = function(x,y,r) { var kz = new CircleZone(x,y,r); a...
"use strict"; import _ from 'underscore'; import { variables as variables_in } from '../expression/variables'; import { default_order } from './default_order'; import * as flatten from './flatten'; import * as simplify from '../expression/simplify'; import { subsets } from './util'; import { anyPermutation } from './p...
// @@@@@@@ IMPORTANT NOTICE @@@@@// // @@ WEBRTC WORKS ONLY ON HTTPS, edit igeRoot and igeClientRoot on engine/loader.js in production const videoGrid = document.getElementById('video-grid'); const myVideo = document.createElement('video'); let myStream = null; myVideo.muted = true; const peers = {}; // # id from Peer...
import {vec3 as vec3_} from '../utils/matrix'; //get rid of compiler mess var vec3 = vec3_; var Octree = function() { this.root = null; this.maxItemsPerNode = 20; this.maxDepth = 20; this.depthCount = []; for (var i = 0; i < 1000; i++) { this.depthCount[i] = 0; } /** * A b...