From 5134ea02b07dc9c07016af57e86300b9ff1f2db9 Mon Sep 17 00:00:00 2001 From: jywarren Date: Fri, 6 Jan 2017 12:20:12 -0500 Subject: [PATCH 1/4] version checks --- dist/imageboard.js | 3699 ++++++++++++++++++++++---------------------- package.json | 15 +- 2 files changed, 1853 insertions(+), 1861 deletions(-) diff --git a/dist/imageboard.js b/dist/imageboard.js index 23495801..7ee6b0b8 100644 --- a/dist/imageboard.js +++ b/dist/imageboard.js @@ -17854,7 +17854,7 @@ exports.convertImageDataToCanvasURL = function (imageData) { /** - * Given a worker file with the transformation the work is splitted + * Given a worker file with the transformation the work is split * between the configured number of workers and the transformation is applied * returning a Promise * @name apply @@ -17863,13 +17863,22 @@ exports.convertImageDataToCanvasURL = function (imageData) { * @param {Object} canvas * @param {Object} context * @param {Number} params - * @param {Number} blockSize - * @param {Number} segmentLength * @returns {Promise} */ -exports.apply = function (worker, nWorkers, canvas, context, params, blockSize, segmentLength) { +exports.apply = function (worker, nWorkers, canvas, context, params) { var w; var finished = 0; + var len = canvas.width * canvas.height * 4; + var segmentLength; + var blockSize; + + // Minimum number of workers = 1 + if (!nWorkers) { + nWorkers = 1; + } + + segmentLength = len / nWorkers; // This is the length of array sent to the worker + blockSize = canvas.height / nWorkers; // Height of the picture chunck for every worker return new Promise(function (resolve) { for (var index = 0; index < nWorkers; index++) { @@ -17907,32 +17916,22 @@ exports.apply = function (worker, nWorkers, canvas, context, params, blockSize, }; },{"es6-promise/auto":82,"webworkify":84}],86:[function(require,module,exports){ -arguments[4][82][0].apply(exports,arguments) -},{"./":87,"dup":82}],87:[function(require,module,exports){ -arguments[4][83][0].apply(exports,arguments) -},{"_process":41,"dup":83}],88:[function(require,module,exports){ -arguments[4][84][0].apply(exports,arguments) -},{"dup":84}],89:[function(require,module,exports){ -arguments[4][85][0].apply(exports,arguments) -},{"dup":85,"es6-promise/auto":86,"webworkify":88}],90:[function(require,module,exports){ var imageFilterCore = require('image-filter-core'); var worker = require('./worker'); /** * @name threshold - * @param {object} options - * @param {string} options.data - data of a image extracted from a canvas - * @param {string} options.contrast - contrast value to apply - * @param {string} options.nWorkers - number of workers - * @param {bool} options.asDataURL - * @returns {promise} + * @param {Object} options + * @param {ImageData} [options.data] - data of a image extracted from a canvas + * @param {String} [options.contrast] - contrast value to apply + * @param {String} [options.nWorkers] - number of workers + * @returns {Promise} */ module.exports = function threshold(options) { if (!options.data || !options.threshold) { throw new Error('image-filter-threshold:: invalid options provided'); } - var nWorkers = options.nWorkers || 4; var params = { threshold: options.threshold }; @@ -17942,22 +17941,16 @@ module.exports = function threshold(options) { // Drawing the source image into the target canvas context.putImageData(options.data, 0, 0); - var len = canvas.width * canvas.height * 4; - var segmentLength = len / nWorkers; // This is the length of array sent to the worker - var blockSize = canvas.height / nWorkers; // Height of the picture chunck for every worker - return imageFilterCore.apply( worker, - nWorkers, + options.nWorkers, canvas, context, - params, - blockSize, - segmentLength + params ); }; -},{"./worker":92,"image-filter-core":89}],91:[function(require,module,exports){ +},{"./worker":88,"image-filter-core":85}],87:[function(require,module,exports){ /** * Iterate over the array applying the threshold transformation * @name transform @@ -17975,7 +17968,7 @@ module.exports = function transform (data, length, threshold) { } }; -},{}],92:[function(require,module,exports){ +},{}],88:[function(require,module,exports){ var transform = require('./threshold'); module.exports = function (self) { @@ -17999,7 +17992,7 @@ module.exports = function (self) { }); }; -},{"./threshold":91}],93:[function(require,module,exports){ +},{"./threshold":87}],89:[function(require,module,exports){ 'use strict'; var Lib = require('../src/lib'); @@ -18063,7 +18056,7 @@ for(var selector in rules) { Lib.addStyleRule(fullSelector, rules[selector]); } -},{"../src/lib":1264}],94:[function(require,module,exports){ +},{"../src/lib":1260}],90:[function(require,module,exports){ 'use strict'; module.exports = { @@ -18183,7 +18176,7 @@ module.exports = { } }; -},{}],95:[function(require,module,exports){ +},{}],91:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -18196,7 +18189,7 @@ module.exports = { module.exports = require('../src/traces/bar'); -},{"../src/traces/bar":1385}],96:[function(require,module,exports){ +},{"../src/traces/bar":1381}],92:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -18209,7 +18202,7 @@ module.exports = require('../src/traces/bar'); module.exports = require('../src/traces/box'); -},{"../src/traces/box":1397}],97:[function(require,module,exports){ +},{"../src/traces/box":1393}],93:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -18222,7 +18215,7 @@ module.exports = require('../src/traces/box'); module.exports = require('../src/components/calendars'); -},{"../src/components/calendars":1162}],98:[function(require,module,exports){ +},{"../src/components/calendars":1158}],94:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -18235,7 +18228,7 @@ module.exports = require('../src/components/calendars'); module.exports = require('../src/traces/candlestick'); -},{"../src/traces/candlestick":1405}],99:[function(require,module,exports){ +},{"../src/traces/candlestick":1401}],95:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -18248,7 +18241,7 @@ module.exports = require('../src/traces/candlestick'); module.exports = require('../src/traces/choropleth'); -},{"../src/traces/choropleth":1410}],100:[function(require,module,exports){ +},{"../src/traces/choropleth":1406}],96:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -18261,7 +18254,7 @@ module.exports = require('../src/traces/choropleth'); module.exports = require('../src/traces/contour'); -},{"../src/traces/contour":1419}],101:[function(require,module,exports){ +},{"../src/traces/contour":1415}],97:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -18274,7 +18267,7 @@ module.exports = require('../src/traces/contour'); module.exports = require('../src/core'); -},{"../src/core":1250}],102:[function(require,module,exports){ +},{"../src/core":1246}],98:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -18287,7 +18280,7 @@ module.exports = require('../src/core'); module.exports = require('../src/transforms/filter'); -},{"../src/transforms/filter":1550}],103:[function(require,module,exports){ +},{"../src/transforms/filter":1546}],99:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -18300,7 +18293,7 @@ module.exports = require('../src/transforms/filter'); module.exports = require('../src/transforms/groupby'); -},{"../src/transforms/groupby":1551}],104:[function(require,module,exports){ +},{"../src/transforms/groupby":1547}],100:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -18313,7 +18306,7 @@ module.exports = require('../src/transforms/groupby'); module.exports = require('../src/traces/heatmap'); -},{"../src/traces/heatmap":1434}],105:[function(require,module,exports){ +},{"../src/traces/heatmap":1430}],101:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -18326,7 +18319,7 @@ module.exports = require('../src/traces/heatmap'); module.exports = require('../src/traces/heatmapgl'); -},{"../src/traces/heatmapgl":1443}],106:[function(require,module,exports){ +},{"../src/traces/heatmapgl":1439}],102:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -18339,7 +18332,7 @@ module.exports = require('../src/traces/heatmapgl'); module.exports = require('../src/traces/histogram'); -},{"../src/traces/histogram":1451}],107:[function(require,module,exports){ +},{"../src/traces/histogram":1447}],103:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -18352,7 +18345,7 @@ module.exports = require('../src/traces/histogram'); module.exports = require('../src/traces/histogram2d'); -},{"../src/traces/histogram2d":1456}],108:[function(require,module,exports){ +},{"../src/traces/histogram2d":1452}],104:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -18365,7 +18358,7 @@ module.exports = require('../src/traces/histogram2d'); module.exports = require('../src/traces/histogram2dcontour'); -},{"../src/traces/histogram2dcontour":1460}],109:[function(require,module,exports){ +},{"../src/traces/histogram2dcontour":1456}],105:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -18429,7 +18422,7 @@ Plotly.register([ module.exports = Plotly; -},{"./bar":95,"./box":96,"./calendars":97,"./candlestick":98,"./choropleth":99,"./contour":100,"./core":101,"./filter":102,"./groupby":103,"./heatmap":104,"./heatmapgl":105,"./histogram":106,"./histogram2d":107,"./histogram2dcontour":108,"./mesh3d":110,"./ohlc":111,"./pie":112,"./pointcloud":113,"./scatter3d":114,"./scattergeo":115,"./scattergl":116,"./scattermapbox":117,"./scatterternary":118,"./surface":119}],110:[function(require,module,exports){ +},{"./bar":91,"./box":92,"./calendars":93,"./candlestick":94,"./choropleth":95,"./contour":96,"./core":97,"./filter":98,"./groupby":99,"./heatmap":100,"./heatmapgl":101,"./histogram":102,"./histogram2d":103,"./histogram2dcontour":104,"./mesh3d":106,"./ohlc":107,"./pie":108,"./pointcloud":109,"./scatter3d":110,"./scattergeo":111,"./scattergl":112,"./scattermapbox":113,"./scatterternary":114,"./surface":115}],106:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -18442,7 +18435,7 @@ module.exports = Plotly; module.exports = require('../src/traces/mesh3d'); -},{"../src/traces/mesh3d":1464}],111:[function(require,module,exports){ +},{"../src/traces/mesh3d":1460}],107:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -18455,7 +18448,7 @@ module.exports = require('../src/traces/mesh3d'); module.exports = require('../src/traces/ohlc'); -},{"../src/traces/ohlc":1469}],112:[function(require,module,exports){ +},{"../src/traces/ohlc":1465}],108:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -18468,7 +18461,7 @@ module.exports = require('../src/traces/ohlc'); module.exports = require('../src/traces/pie'); -},{"../src/traces/pie":1477}],113:[function(require,module,exports){ +},{"../src/traces/pie":1473}],109:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -18481,7 +18474,7 @@ module.exports = require('../src/traces/pie'); module.exports = require('../src/traces/pointcloud'); -},{"../src/traces/pointcloud":1486}],114:[function(require,module,exports){ +},{"../src/traces/pointcloud":1482}],110:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -18494,7 +18487,7 @@ module.exports = require('../src/traces/pointcloud'); module.exports = require('../src/traces/scatter3d'); -},{"../src/traces/scatter3d":1516}],115:[function(require,module,exports){ +},{"../src/traces/scatter3d":1512}],111:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -18507,7 +18500,7 @@ module.exports = require('../src/traces/scatter3d'); module.exports = require('../src/traces/scattergeo'); -},{"../src/traces/scattergeo":1522}],116:[function(require,module,exports){ +},{"../src/traces/scattergeo":1518}],112:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -18520,7 +18513,7 @@ module.exports = require('../src/traces/scattergeo'); module.exports = require('../src/traces/scattergl'); -},{"../src/traces/scattergl":1527}],117:[function(require,module,exports){ +},{"../src/traces/scattergl":1523}],113:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -18533,7 +18526,7 @@ module.exports = require('../src/traces/scattergl'); module.exports = require('../src/traces/scattermapbox'); -},{"../src/traces/scattermapbox":1534}],118:[function(require,module,exports){ +},{"../src/traces/scattermapbox":1530}],114:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -18546,7 +18539,7 @@ module.exports = require('../src/traces/scattermapbox'); module.exports = require('../src/traces/scatterternary'); -},{"../src/traces/scatterternary":1540}],119:[function(require,module,exports){ +},{"../src/traces/scatterternary":1536}],115:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -18559,7 +18552,7 @@ module.exports = require('../src/traces/scatterternary'); module.exports = require('../src/traces/surface'); -},{"../src/traces/surface":1549}],120:[function(require,module,exports){ +},{"../src/traces/surface":1545}],116:[function(require,module,exports){ 'use strict' var bsearch = require('binary-search-bounds') @@ -18758,7 +18751,7 @@ function createMatrixCameraController(options) { 0,0,0,1] return new MatrixCameraController(matrix) } -},{"binary-search-bounds":121,"gl-mat4/invert":238,"gl-mat4/lookAt":239,"gl-mat4/rotateX":243,"gl-mat4/rotateY":244,"gl-mat4/rotateZ":245,"gl-mat4/scale":246,"gl-mat4/translate":247,"gl-vec3/normalize":126,"mat4-interpolate":127}],121:[function(require,module,exports){ +},{"binary-search-bounds":117,"gl-mat4/invert":234,"gl-mat4/lookAt":235,"gl-mat4/rotateX":239,"gl-mat4/rotateY":240,"gl-mat4/rotateZ":241,"gl-mat4/scale":242,"gl-mat4/translate":243,"gl-vec3/normalize":122,"mat4-interpolate":123}],117:[function(require,module,exports){ "use strict" function compileSearch(funcName, predicate, reversed, extraArgs, useNdarray, earlyOut) { @@ -18820,7 +18813,7 @@ module.exports = { eq: compileBoundsSearch("-", true, "EQ", true) } -},{}],122:[function(require,module,exports){ +},{}],118:[function(require,module,exports){ module.exports = cross; /** @@ -18840,7 +18833,7 @@ function cross(out, a, b) { out[2] = ax * by - ay * bx return out } -},{}],123:[function(require,module,exports){ +},{}],119:[function(require,module,exports){ module.exports = dot; /** @@ -18853,7 +18846,7 @@ module.exports = dot; function dot(a, b) { return a[0] * b[0] + a[1] * b[1] + a[2] * b[2] } -},{}],124:[function(require,module,exports){ +},{}],120:[function(require,module,exports){ module.exports = length; /** @@ -18868,7 +18861,7 @@ function length(a) { z = a[2] return Math.sqrt(x*x + y*y + z*z) } -},{}],125:[function(require,module,exports){ +},{}],121:[function(require,module,exports){ module.exports = lerp; /** @@ -18889,7 +18882,7 @@ function lerp(out, a, b, t) { out[2] = az + t * (b[2] - az) return out } -},{}],126:[function(require,module,exports){ +},{}],122:[function(require,module,exports){ module.exports = normalize; /** @@ -18913,7 +18906,7 @@ function normalize(out, a) { } return out } -},{}],127:[function(require,module,exports){ +},{}],123:[function(require,module,exports){ var lerp = require('gl-vec3/lerp') var recompose = require('mat4-recompose') @@ -18966,7 +18959,7 @@ function vec3(n) { function vec4() { return [0,0,0,1] } -},{"gl-mat4/determinant":234,"gl-vec3/lerp":125,"mat4-decompose":128,"mat4-recompose":130,"quat-slerp":131}],128:[function(require,module,exports){ +},{"gl-mat4/determinant":230,"gl-vec3/lerp":121,"mat4-decompose":124,"mat4-recompose":126,"quat-slerp":127}],124:[function(require,module,exports){ /*jshint unused:true*/ /* Input: matrix ; a 4x4 matrix @@ -19146,7 +19139,7 @@ function combine(out, a, b, scale1, scale2) { out[1] = a[1] * scale1 + b[1] * scale2 out[2] = a[2] * scale1 + b[2] * scale2 } -},{"./normalize":129,"gl-mat4/clone":232,"gl-mat4/create":233,"gl-mat4/determinant":234,"gl-mat4/invert":238,"gl-mat4/transpose":248,"gl-vec3/cross":122,"gl-vec3/dot":123,"gl-vec3/length":124,"gl-vec3/normalize":126}],129:[function(require,module,exports){ +},{"./normalize":125,"gl-mat4/clone":228,"gl-mat4/create":229,"gl-mat4/determinant":230,"gl-mat4/invert":234,"gl-mat4/transpose":244,"gl-vec3/cross":118,"gl-vec3/dot":119,"gl-vec3/length":120,"gl-vec3/normalize":122}],125:[function(require,module,exports){ module.exports = function normalize(out, mat) { var m44 = mat[15] // Cannot normalize. @@ -19157,7 +19150,7 @@ module.exports = function normalize(out, mat) { out[i] = mat[i] * scale return true } -},{}],130:[function(require,module,exports){ +},{}],126:[function(require,module,exports){ /* Input: translation ; a 3 component vector scale ; a 3 component vector @@ -19218,9 +19211,9 @@ module.exports = function recomposeMat4(matrix, translation, scale, skew, perspe mat4.scale(matrix, matrix, scale) return matrix } -},{"gl-mat4/create":233,"gl-mat4/fromRotationTranslation":236,"gl-mat4/identity":237,"gl-mat4/multiply":240,"gl-mat4/scale":246,"gl-mat4/translate":247}],131:[function(require,module,exports){ +},{"gl-mat4/create":229,"gl-mat4/fromRotationTranslation":232,"gl-mat4/identity":233,"gl-mat4/multiply":236,"gl-mat4/scale":242,"gl-mat4/translate":243}],127:[function(require,module,exports){ module.exports = require('gl-quat/slerp') -},{"gl-quat/slerp":132}],132:[function(require,module,exports){ +},{"gl-quat/slerp":128}],128:[function(require,module,exports){ module.exports = slerp /** @@ -19273,7 +19266,7 @@ function slerp (out, a, b, t) { return out } -},{}],133:[function(require,module,exports){ +},{}],129:[function(require,module,exports){ 'use strict' module.exports = quatFromFrame @@ -19315,7 +19308,7 @@ function quatFromFrame( } return out } -},{}],134:[function(require,module,exports){ +},{}],130:[function(require,module,exports){ 'use strict' module.exports = createFilteredVector @@ -19608,9 +19601,9 @@ function createFilteredVector(initState, initVelocity, initTime) { } } -},{"binary-search-bounds":135,"cubic-hermite":136}],135:[function(require,module,exports){ -arguments[4][121][0].apply(exports,arguments) -},{"dup":121}],136:[function(require,module,exports){ +},{"binary-search-bounds":131,"cubic-hermite":132}],131:[function(require,module,exports){ +arguments[4][117][0].apply(exports,arguments) +},{"dup":117}],132:[function(require,module,exports){ "use strict" function dcubicHermite(p0, v0, p1, v1, t, f) { @@ -19650,7 +19643,7 @@ function cubicHermite(p0, v0, p1, v1, t, f) { module.exports = cubicHermite module.exports.derivative = dcubicHermite -},{}],137:[function(require,module,exports){ +},{}],133:[function(require,module,exports){ 'use strict' module.exports = createOrbitController @@ -20044,19 +20037,19 @@ function createOrbitController(options) { return result } -},{"./lib/quatFromFrame":133,"filtered-vector":134,"gl-mat4/fromQuat":235,"gl-mat4/invert":238,"gl-mat4/lookAt":239}],138:[function(require,module,exports){ -arguments[4][134][0].apply(exports,arguments) -},{"binary-search-bounds":139,"cubic-hermite":140,"dup":134}],139:[function(require,module,exports){ -arguments[4][121][0].apply(exports,arguments) -},{"dup":121}],140:[function(require,module,exports){ -arguments[4][136][0].apply(exports,arguments) -},{"dup":136}],141:[function(require,module,exports){ +},{"./lib/quatFromFrame":129,"filtered-vector":130,"gl-mat4/fromQuat":231,"gl-mat4/invert":234,"gl-mat4/lookAt":235}],134:[function(require,module,exports){ +arguments[4][130][0].apply(exports,arguments) +},{"binary-search-bounds":135,"cubic-hermite":136,"dup":130}],135:[function(require,module,exports){ +arguments[4][117][0].apply(exports,arguments) +},{"dup":117}],136:[function(require,module,exports){ +arguments[4][132][0].apply(exports,arguments) +},{"dup":132}],137:[function(require,module,exports){ +arguments[4][118][0].apply(exports,arguments) +},{"dup":118}],138:[function(require,module,exports){ +arguments[4][119][0].apply(exports,arguments) +},{"dup":119}],139:[function(require,module,exports){ arguments[4][122][0].apply(exports,arguments) -},{"dup":122}],142:[function(require,module,exports){ -arguments[4][123][0].apply(exports,arguments) -},{"dup":123}],143:[function(require,module,exports){ -arguments[4][126][0].apply(exports,arguments) -},{"dup":126}],144:[function(require,module,exports){ +},{"dup":122}],140:[function(require,module,exports){ 'use strict' module.exports = createTurntableController @@ -20629,7 +20622,7 @@ function createTurntableController(options) { theta, phi) } -},{"filtered-vector":138,"gl-mat4/invert":238,"gl-mat4/rotate":242,"gl-vec3/cross":141,"gl-vec3/dot":142,"gl-vec3/normalize":143}],145:[function(require,module,exports){ +},{"filtered-vector":134,"gl-mat4/invert":234,"gl-mat4/rotate":238,"gl-vec3/cross":137,"gl-vec3/dot":138,"gl-vec3/normalize":139}],141:[function(require,module,exports){ 'use strict' module.exports = createViewController @@ -20752,7 +20745,7 @@ function createViewController(options) { matrix: matrix }, mode) } -},{"matrix-camera-controller":120,"orbit-camera-controller":137,"turntable-camera-controller":144}],146:[function(require,module,exports){ +},{"matrix-camera-controller":116,"orbit-camera-controller":133,"turntable-camera-controller":140}],142:[function(require,module,exports){ module.exports = alphaShape var ac = require('alpha-complex') @@ -20761,7 +20754,7 @@ var bnd = require('simplicial-complex-boundary') function alphaShape(alpha, points) { return bnd(ac(alpha, points)) } -},{"alpha-complex":147,"simplicial-complex-boundary":158}],147:[function(require,module,exports){ +},{"alpha-complex":143,"simplicial-complex-boundary":154}],143:[function(require,module,exports){ 'use strict' module.exports = alphaComplex @@ -20778,7 +20771,7 @@ function alphaComplex(alpha, points) { return circumradius(simplex) * alpha < 1 }) } -},{"circumradius":148,"delaunay-triangulate":182}],148:[function(require,module,exports){ +},{"circumradius":144,"delaunay-triangulate":178}],144:[function(require,module,exports){ module.exports = circumradius var circumcenter = require('circumcenter') @@ -20794,7 +20787,7 @@ function circumradius(points) { } return Math.sqrt(avgDist / points.length) } -},{"circumcenter":149}],149:[function(require,module,exports){ +},{"circumcenter":145}],145:[function(require,module,exports){ "use strict" var dup = require("dup") @@ -20863,7 +20856,7 @@ function circumcenter(points) { circumcenter.barycenetric = barycentricCircumcenter module.exports = circumcenter -},{"dup":150,"robust-linear-solve":151}],150:[function(require,module,exports){ +},{"dup":146,"robust-linear-solve":147}],146:[function(require,module,exports){ "use strict" function dupe_array(count, value, i) { @@ -20913,7 +20906,7 @@ function dupe(count, value) { } module.exports = dupe -},{}],151:[function(require,module,exports){ +},{}],147:[function(require,module,exports){ "use strict" var determinant = require("robust-determinant") @@ -20985,7 +20978,7 @@ function generateDispatch() { } generateDispatch() -},{"robust-determinant":157}],152:[function(require,module,exports){ +},{"robust-determinant":153}],148:[function(require,module,exports){ "use strict" module.exports = compressExpansion @@ -21020,7 +21013,7 @@ function compressExpansion(e) { e.length = top return e } -},{}],153:[function(require,module,exports){ +},{}],149:[function(require,module,exports){ "use strict" module.exports = fastTwoSum @@ -21038,7 +21031,7 @@ function fastTwoSum(a, b, result) { } return [ar+br, x] } -},{}],154:[function(require,module,exports){ +},{}],150:[function(require,module,exports){ "use strict" var twoProduct = require("two-product") @@ -21089,7 +21082,7 @@ function scaleLinearExpansion(e, scale) { g.length = count return g } -},{"two-product":156,"two-sum":153}],155:[function(require,module,exports){ +},{"two-product":152,"two-sum":149}],151:[function(require,module,exports){ "use strict" module.exports = linearExpansionSum @@ -21246,7 +21239,7 @@ function linearExpansionSum(e, f) { g.length = count return g } -},{}],156:[function(require,module,exports){ +},{}],152:[function(require,module,exports){ "use strict" module.exports = twoProduct @@ -21280,7 +21273,7 @@ function twoProduct(a, b, result) { return [ y, x ] } -},{}],157:[function(require,module,exports){ +},{}],153:[function(require,module,exports){ "use strict" var twoProduct = require("two-product") @@ -21384,7 +21377,7 @@ return robustDeterminant") } generateDispatch() -},{"robust-compress":152,"robust-scale":154,"robust-sum":155,"two-product":156}],158:[function(require,module,exports){ +},{"robust-compress":148,"robust-scale":150,"robust-sum":151,"two-product":152}],154:[function(require,module,exports){ 'use strict' module.exports = boundary @@ -21396,7 +21389,7 @@ function boundary(cells) { return reduce(bnd(cells)) } -},{"boundary-cells":159,"reduce-simplicial-complex":163}],159:[function(require,module,exports){ +},{"boundary-cells":155,"reduce-simplicial-complex":159}],155:[function(require,module,exports){ 'use strict' module.exports = boundary @@ -21432,7 +21425,7 @@ function boundary (cells) { return result } -},{}],160:[function(require,module,exports){ +},{}],156:[function(require,module,exports){ 'use strict' module.exports = orientation @@ -21451,7 +21444,7 @@ function orientation(s) { return p } -},{}],161:[function(require,module,exports){ +},{}],157:[function(require,module,exports){ module.exports = compareCells var min = Math.min @@ -21507,7 +21500,7 @@ function compareCells(a, b) { } } -},{}],162:[function(require,module,exports){ +},{}],158:[function(require,module,exports){ 'use strict' var compareCells = require('compare-cell') @@ -21519,7 +21512,7 @@ function compareOrientedCells(a, b) { return compareCells(a, b) || parity(a) - parity(b) } -},{"cell-orientation":160,"compare-cell":161}],163:[function(require,module,exports){ +},{"cell-orientation":156,"compare-cell":157}],159:[function(require,module,exports){ 'use strict' var compareCell = require('compare-cell') @@ -21552,7 +21545,7 @@ function reduceCellComplex(cells) { return cells } -},{"cell-orientation":160,"compare-cell":161,"compare-oriented-cell":162}],164:[function(require,module,exports){ +},{"cell-orientation":156,"compare-cell":157,"compare-oriented-cell":158}],160:[function(require,module,exports){ 'use strict'; var arraytools = function () { @@ -21741,7 +21734,7 @@ var arraytools = function () { module.exports = arraytools(); -},{}],165:[function(require,module,exports){ +},{}],161:[function(require,module,exports){ "use strict" var convexHull1d = require('./lib/ch1d') @@ -21767,7 +21760,7 @@ function convexHull(points) { } return convexHullnd(points, d) } -},{"./lib/ch1d":166,"./lib/ch2d":167,"./lib/chnd":168}],166:[function(require,module,exports){ +},{"./lib/ch1d":162,"./lib/ch2d":163,"./lib/chnd":164}],162:[function(require,module,exports){ "use strict" module.exports = convexHull1d @@ -21791,7 +21784,7 @@ function convexHull1d(points) { return [[lo]] } } -},{}],167:[function(require,module,exports){ +},{}],163:[function(require,module,exports){ 'use strict' module.exports = convexHull2D @@ -21814,7 +21807,7 @@ function convexHull2D(points) { return edges } -},{"monotone-convex-hull-2d":174}],168:[function(require,module,exports){ +},{"monotone-convex-hull-2d":170}],164:[function(require,module,exports){ 'use strict' module.exports = convexHullnD @@ -21875,7 +21868,7 @@ function convexHullnD(points, d) { return invPermute(nhull, ah) } } -},{"affine-hull":169,"incremental-convex-hull":170}],169:[function(require,module,exports){ +},{"affine-hull":165,"incremental-convex-hull":166}],165:[function(require,module,exports){ 'use strict' module.exports = affineHull @@ -21927,7 +21920,7 @@ function affineHull(points) { } return index } -},{"robust-orientation":1130}],170:[function(require,module,exports){ +},{"robust-orientation":1126}],166:[function(require,module,exports){ "use strict" //High level idea: @@ -22374,7 +22367,7 @@ function incrementalConvexHull(points, randomSearch) { //Extract boundary cells return triangles.boundary() } -},{"robust-orientation":1130,"simplicial-complex":173}],171:[function(require,module,exports){ +},{"robust-orientation":1126,"simplicial-complex":169}],167:[function(require,module,exports){ /** * Bit twiddling hacks for JavaScript. * @@ -22580,7 +22573,7 @@ exports.nextCombination = function(v) { } -},{}],172:[function(require,module,exports){ +},{}],168:[function(require,module,exports){ "use strict"; "use restrict"; module.exports = UnionFind; @@ -22643,7 +22636,7 @@ proto.link = function(x, y) { ++ranks[xr]; } } -},{}],173:[function(require,module,exports){ +},{}],169:[function(require,module,exports){ "use strict"; "use restrict"; var bits = require("bit-twiddle") @@ -22987,7 +22980,7 @@ function connectedComponents(cells, vertex_count) { } exports.connectedComponents = connectedComponents -},{"bit-twiddle":171,"union-find":172}],174:[function(require,module,exports){ +},{"bit-twiddle":167,"union-find":168}],170:[function(require,module,exports){ 'use strict' module.exports = monotoneConvexHull2D @@ -23069,7 +23062,7 @@ function monotoneConvexHull2D(points) { //Return result return result } -},{"robust-orientation":1130}],175:[function(require,module,exports){ +},{"robust-orientation":1126}],171:[function(require,module,exports){ module.exports = { AFG: "afghan", ALA: "\\b\\wland", @@ -23328,7 +23321,7 @@ module.exports = { ZWE: "zimbabwe|^(?!.*northern).*rhodesia" }; -},{}],176:[function(require,module,exports){ +},{}],172:[function(require,module,exports){ !function() { var d3 = { version: "3.5.17" @@ -32883,17 +32876,17 @@ module.exports = { }); if (typeof define === "function" && define.amd) this.d3 = d3, define(d3); else if (typeof module === "object" && module.exports) module.exports = d3; else this.d3 = d3; }(); -},{}],177:[function(require,module,exports){ -arguments[4][170][0].apply(exports,arguments) -},{"dup":170,"robust-orientation":1130,"simplicial-complex":180}],178:[function(require,module,exports){ -arguments[4][171][0].apply(exports,arguments) -},{"dup":171}],179:[function(require,module,exports){ -arguments[4][172][0].apply(exports,arguments) -},{"dup":172}],180:[function(require,module,exports){ -arguments[4][173][0].apply(exports,arguments) -},{"bit-twiddle":178,"dup":173,"union-find":179}],181:[function(require,module,exports){ +},{}],173:[function(require,module,exports){ +arguments[4][166][0].apply(exports,arguments) +},{"dup":166,"robust-orientation":1126,"simplicial-complex":176}],174:[function(require,module,exports){ +arguments[4][167][0].apply(exports,arguments) +},{"dup":167}],175:[function(require,module,exports){ +arguments[4][168][0].apply(exports,arguments) +},{"dup":168}],176:[function(require,module,exports){ +arguments[4][169][0].apply(exports,arguments) +},{"bit-twiddle":174,"dup":169,"union-find":175}],177:[function(require,module,exports){ arguments[4][76][0].apply(exports,arguments) -},{"dup":76}],182:[function(require,module,exports){ +},{"dup":76}],178:[function(require,module,exports){ "use strict" var ch = require("incremental-convex-hull") @@ -33053,7 +33046,7 @@ function triangulate(points, includePointAtInfinity) { return hull } -},{"incremental-convex-hull":177,"uniq":181}],183:[function(require,module,exports){ +},{"incremental-convex-hull":173,"uniq":177}],179:[function(require,module,exports){ (function (process,global){ /*! * @overview es6-promise - a tiny implementation of Promises/A+. @@ -34210,7 +34203,7 @@ return Promise; }))); }).call(this,require('_process'),typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {}) -},{"_process":41}],184:[function(require,module,exports){ +},{"_process":41}],180:[function(require,module,exports){ /** * inspired by is-number * but significantly simplified and sped up by ignoring number and string constructors @@ -34267,7 +34260,7 @@ module.exports = function(n) { return n - n < 1; }; -},{}],185:[function(require,module,exports){ +},{}],181:[function(require,module,exports){ 'use strict' var createShader = require('gl-shader') @@ -34532,7 +34525,7 @@ function createError2D (plot, options) { return errorBars } -},{"./lib/shaders":186,"gl-buffer":187,"gl-shader":838,"typedarray-pool":190}],186:[function(require,module,exports){ +},{"./lib/shaders":182,"gl-buffer":183,"gl-shader":834,"typedarray-pool":186}],182:[function(require,module,exports){ module.exports = { @@ -34540,7 +34533,7 @@ module.exports = { fragment: "precision mediump float;\n#define GLSLIFY 1\n\nuniform vec4 color;\n\nvoid main() {\n gl_FragColor = vec4(color.rgb * color.a, color.a);\n}\n" } -},{}],187:[function(require,module,exports){ +},{}],183:[function(require,module,exports){ "use strict" var pool = require("typedarray-pool") @@ -34694,11 +34687,11 @@ function createBuffer(gl, data, type, usage) { module.exports = createBuffer -},{"ndarray":1121,"ndarray-ops":1116,"typedarray-pool":190}],188:[function(require,module,exports){ -arguments[4][171][0].apply(exports,arguments) -},{"dup":171}],189:[function(require,module,exports){ -arguments[4][150][0].apply(exports,arguments) -},{"dup":150}],190:[function(require,module,exports){ +},{"ndarray":1117,"ndarray-ops":1112,"typedarray-pool":186}],184:[function(require,module,exports){ +arguments[4][167][0].apply(exports,arguments) +},{"dup":167}],185:[function(require,module,exports){ +arguments[4][146][0].apply(exports,arguments) +},{"dup":146}],186:[function(require,module,exports){ (function (global,Buffer){ 'use strict' @@ -34915,7 +34908,7 @@ exports.clearCache = function clearCache() { } } }).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {},require("buffer").Buffer) -},{"bit-twiddle":188,"buffer":33,"dup":189}],191:[function(require,module,exports){ +},{"bit-twiddle":184,"buffer":33,"dup":185}],187:[function(require,module,exports){ 'use strict' module.exports = createErrorBars @@ -35152,15 +35145,15 @@ function createErrorBars(options) { return result } -},{"./shaders/index":200,"gl-buffer":192,"gl-vao":199}],192:[function(require,module,exports){ -arguments[4][187][0].apply(exports,arguments) -},{"dup":187,"ndarray":1121,"ndarray-ops":1116,"typedarray-pool":195}],193:[function(require,module,exports){ -arguments[4][171][0].apply(exports,arguments) -},{"dup":171}],194:[function(require,module,exports){ -arguments[4][150][0].apply(exports,arguments) -},{"dup":150}],195:[function(require,module,exports){ -arguments[4][190][0].apply(exports,arguments) -},{"bit-twiddle":193,"buffer":33,"dup":190}],196:[function(require,module,exports){ +},{"./shaders/index":196,"gl-buffer":188,"gl-vao":195}],188:[function(require,module,exports){ +arguments[4][183][0].apply(exports,arguments) +},{"dup":183,"ndarray":1117,"ndarray-ops":1112,"typedarray-pool":191}],189:[function(require,module,exports){ +arguments[4][167][0].apply(exports,arguments) +},{"dup":167}],190:[function(require,module,exports){ +arguments[4][146][0].apply(exports,arguments) +},{"dup":146}],191:[function(require,module,exports){ +arguments[4][186][0].apply(exports,arguments) +},{"bit-twiddle":189,"buffer":33,"dup":186}],192:[function(require,module,exports){ "use strict" function doBind(gl, elements, attributes) { @@ -35215,7 +35208,7 @@ function doBind(gl, elements, attributes) { } module.exports = doBind -},{}],197:[function(require,module,exports){ +},{}],193:[function(require,module,exports){ "use strict" var bindAttribs = require("./do-bind.js") @@ -35255,7 +35248,7 @@ function createVAOEmulated(gl) { } module.exports = createVAOEmulated -},{"./do-bind.js":196}],198:[function(require,module,exports){ +},{"./do-bind.js":192}],194:[function(require,module,exports){ "use strict" var bindAttribs = require("./do-bind.js") @@ -35343,7 +35336,7 @@ function createVAONative(gl, ext) { } module.exports = createVAONative -},{"./do-bind.js":196}],199:[function(require,module,exports){ +},{"./do-bind.js":192}],195:[function(require,module,exports){ "use strict" var createVAONative = require("./lib/vao-native.js") @@ -35372,7 +35365,7 @@ function createVAO(gl, attributes, elements, elementsType) { module.exports = createVAO -},{"./lib/vao-emulated.js":197,"./lib/vao-native.js":198}],200:[function(require,module,exports){ +},{"./lib/vao-emulated.js":193,"./lib/vao-native.js":194}],196:[function(require,module,exports){ 'use strict' @@ -35389,7 +35382,7 @@ module.exports = function(gl) { ]) } -},{"gl-shader":838}],201:[function(require,module,exports){ +},{"gl-shader":834}],197:[function(require,module,exports){ 'use strict' module.exports = createHeatmap2D @@ -35707,7 +35700,7 @@ function createHeatmap2D (plot, options) { return heatmap } -},{"./lib/shaders":202,"binary-search-bounds":203,"gl-buffer":204,"gl-shader":838,"iota-array":205,"typedarray-pool":208}],202:[function(require,module,exports){ +},{"./lib/shaders":198,"binary-search-bounds":199,"gl-buffer":200,"gl-shader":834,"iota-array":201,"typedarray-pool":204}],198:[function(require,module,exports){ 'use strict' @@ -35719,7 +35712,7 @@ module.exports = { pickVertex: "precision mediump float;\n#define GLSLIFY 1\n\nattribute vec2 position;\nattribute vec4 pickId;\nattribute vec2 weight;\n\nuniform vec2 shape;\nuniform mat3 viewTransform;\n\nvarying vec4 fragId;\nvarying vec2 vWeight;\n\nvoid main() {\n vWeight = weight;\n\n fragId = pickId;\n\n vec3 vPosition = viewTransform * vec3( position + (weight-.5)/(shape-1.) , 1.0);\n gl_Position = vec4(vPosition.xy, 0, vPosition.z);\n}\n" } -},{}],203:[function(require,module,exports){ +},{}],199:[function(require,module,exports){ "use strict" function compileSearch(funcName, predicate, reversed, extraArgs, earlyOut) { @@ -35773,17 +35766,17 @@ module.exports = { eq: compileBoundsSearch("-", true, "EQ", true) } -},{}],204:[function(require,module,exports){ -arguments[4][187][0].apply(exports,arguments) -},{"dup":187,"ndarray":1121,"ndarray-ops":1116,"typedarray-pool":208}],205:[function(require,module,exports){ +},{}],200:[function(require,module,exports){ +arguments[4][183][0].apply(exports,arguments) +},{"dup":183,"ndarray":1117,"ndarray-ops":1112,"typedarray-pool":204}],201:[function(require,module,exports){ arguments[4][78][0].apply(exports,arguments) -},{"dup":78}],206:[function(require,module,exports){ -arguments[4][171][0].apply(exports,arguments) -},{"dup":171}],207:[function(require,module,exports){ -arguments[4][150][0].apply(exports,arguments) -},{"dup":150}],208:[function(require,module,exports){ -arguments[4][190][0].apply(exports,arguments) -},{"bit-twiddle":206,"buffer":33,"dup":190}],209:[function(require,module,exports){ +},{"dup":78}],202:[function(require,module,exports){ +arguments[4][167][0].apply(exports,arguments) +},{"dup":167}],203:[function(require,module,exports){ +arguments[4][146][0].apply(exports,arguments) +},{"dup":146}],204:[function(require,module,exports){ +arguments[4][186][0].apply(exports,arguments) +},{"bit-twiddle":202,"buffer":33,"dup":186}],205:[function(require,module,exports){ exports.lineVertex = "precision highp float;\n#define GLSLIFY 1\n\nattribute vec2 aHi, aLo, dHi, dLo;\n\nuniform vec2 scaleHi, translateHi, scaleLo, translateLo, screenShape;\nuniform float width;\n\nvarying vec2 direction;\n\n\nvec2 project_1_0(vec2 scHi, vec2 trHi, vec2 scLo, vec2 trLo, vec2 posHi, vec2 posLo) {\n return (posHi + trHi) * scHi\n + (posLo + trLo) * scHi\n + (posHi + trHi) * scLo\n + (posLo + trLo) * scLo;\n}\n\n\nvec2 project_2_1(vec2 scHi, vec2 scLo, vec2 posHi, vec2 posLo) {\n return scHi * posHi\n + scLo * posHi\n + scHi * posLo\n + scLo * posLo;\n}\n\nvoid main() {\n vec2 p = project_1_0(scaleHi, translateHi, scaleLo, translateLo, aHi, aLo);\n vec2 dir = project_2_1(scaleHi, scaleLo, dHi, dLo);\n vec2 n = 0.5 * width * normalize(screenShape.yx * vec2(dir.y, -dir.x)) / screenShape.xy;\n vec2 tangent = normalize(screenShape.xy * dir);\n if(dir.x < 0.0 || (dir.x == 0.0 && dir.y < 0.0)) {\n direction = -tangent;\n } else {\n direction = tangent;\n }\n gl_Position = vec4(p + n, 0.0, 1.0);\n}" @@ -35794,7 +35787,7 @@ exports.pickVertex = "precision highp float;\n#define GLSLIFY 1\n\nattribute exports.pickFragment = "precision mediump float;\n#define GLSLIFY 1\n\nuniform vec4 pickOffset;\n\nvarying vec4 pickA, pickB;\n\nvoid main() {\n vec4 fragId = vec4(pickA.xyz, 0.0);\n if(pickB.w > pickA.w) {\n fragId.xyz = pickB.xyz;\n }\n\n fragId += pickOffset;\n\n fragId.y += floor(fragId.x / 256.0);\n fragId.x -= floor(fragId.x / 256.0) * 256.0;\n\n fragId.z += floor(fragId.y / 256.0);\n fragId.y -= floor(fragId.y / 256.0) * 256.0;\n\n fragId.w += floor(fragId.z / 256.0);\n fragId.z -= floor(fragId.z / 256.0) * 256.0;\n\n gl_FragColor = fragId / 255.0;\n}" exports.fillVertex = "precision highp float;\n#define GLSLIFY 1\n\nattribute vec2 aHi, aLo, dHi;\n\nuniform vec2 scaleHi, translateHi, scaleLo, translateLo, projectAxis;\nuniform float projectValue, depth;\n\n\nvec2 project_1_0(vec2 scHi, vec2 trHi, vec2 scLo, vec2 trLo, vec2 posHi, vec2 posLo) {\n return (posHi + trHi) * scHi\n + (posLo + trLo) * scHi\n + (posHi + trHi) * scLo\n + (posLo + trLo) * scLo;\n}\n\n\nvoid main() {\n vec2 p = project_1_0(scaleHi, translateHi, scaleLo, translateLo, aHi, aLo);\n if(dHi.y < 0.0 || (dHi.y == 0.0 && dHi.x < 0.0)) {\n if(dot(p, projectAxis) < projectValue) {\n p = p * (1.0 - abs(projectAxis)) + projectAxis * projectValue;\n }\n }\n gl_Position = vec4(p, depth, 1);\n}" exports.fillFragment = "precision mediump float;\n#define GLSLIFY 1\n\nuniform vec4 color;\n\nvoid main() {\n gl_FragColor = vec4(color.rgb * color.a, color.a);\n}" -},{}],210:[function(require,module,exports){ +},{}],206:[function(require,module,exports){ 'use strict' module.exports = createLinePlot @@ -36307,9 +36300,9 @@ function createLinePlot(plot, options) { linePlot.update(options) return linePlot } -},{"./lib/shaders":209,"gl-buffer":211,"gl-shader":838,"gl-texture2d":212,"ndarray":1121,"typedarray-pool":215}],211:[function(require,module,exports){ -arguments[4][187][0].apply(exports,arguments) -},{"dup":187,"ndarray":1121,"ndarray-ops":1116,"typedarray-pool":215}],212:[function(require,module,exports){ +},{"./lib/shaders":205,"gl-buffer":207,"gl-shader":834,"gl-texture2d":208,"ndarray":1117,"typedarray-pool":211}],207:[function(require,module,exports){ +arguments[4][183][0].apply(exports,arguments) +},{"dup":183,"ndarray":1117,"ndarray-ops":1112,"typedarray-pool":211}],208:[function(require,module,exports){ 'use strict' var ndarray = require('ndarray') @@ -36872,13 +36865,13 @@ function createTexture2D(gl) { throw new Error('gl-texture2d: Invalid arguments for texture2d constructor') } -},{"ndarray":1121,"ndarray-ops":1116,"typedarray-pool":215}],213:[function(require,module,exports){ -arguments[4][171][0].apply(exports,arguments) -},{"dup":171}],214:[function(require,module,exports){ -arguments[4][150][0].apply(exports,arguments) -},{"dup":150}],215:[function(require,module,exports){ -arguments[4][190][0].apply(exports,arguments) -},{"bit-twiddle":213,"buffer":33,"dup":190}],216:[function(require,module,exports){ +},{"ndarray":1117,"ndarray-ops":1112,"typedarray-pool":211}],209:[function(require,module,exports){ +arguments[4][167][0].apply(exports,arguments) +},{"dup":167}],210:[function(require,module,exports){ +arguments[4][146][0].apply(exports,arguments) +},{"dup":146}],211:[function(require,module,exports){ +arguments[4][186][0].apply(exports,arguments) +},{"bit-twiddle":209,"buffer":33,"dup":186}],212:[function(require,module,exports){ var createShader = require('gl-shader') @@ -36902,7 +36895,7 @@ exports.createPickShader = function(gl) { return createShader(gl, vertSrc, pickFrag, null, ATTRIBUTES) } -},{"gl-shader":838}],217:[function(require,module,exports){ +},{"gl-shader":834}],213:[function(require,module,exports){ 'use strict' module.exports = createLinePlot @@ -37272,33 +37265,33 @@ function createLinePlot (options) { return linePlot } -},{"./lib/shaders":216,"binary-search-bounds":218,"gl-buffer":219,"gl-texture2d":226,"gl-vao":230,"glsl-read-float":231,"ndarray":1121}],218:[function(require,module,exports){ -arguments[4][121][0].apply(exports,arguments) -},{"dup":121}],219:[function(require,module,exports){ -arguments[4][187][0].apply(exports,arguments) -},{"dup":187,"ndarray":1121,"ndarray-ops":1116,"typedarray-pool":222}],220:[function(require,module,exports){ -arguments[4][171][0].apply(exports,arguments) -},{"dup":171}],221:[function(require,module,exports){ -arguments[4][150][0].apply(exports,arguments) -},{"dup":150}],222:[function(require,module,exports){ -arguments[4][190][0].apply(exports,arguments) -},{"bit-twiddle":220,"buffer":33,"dup":190}],223:[function(require,module,exports){ -arguments[4][171][0].apply(exports,arguments) -},{"dup":171}],224:[function(require,module,exports){ -arguments[4][150][0].apply(exports,arguments) -},{"dup":150}],225:[function(require,module,exports){ -arguments[4][190][0].apply(exports,arguments) -},{"bit-twiddle":223,"buffer":33,"dup":190}],226:[function(require,module,exports){ -arguments[4][212][0].apply(exports,arguments) -},{"dup":212,"ndarray":1121,"ndarray-ops":1116,"typedarray-pool":225}],227:[function(require,module,exports){ -arguments[4][196][0].apply(exports,arguments) -},{"dup":196}],228:[function(require,module,exports){ -arguments[4][197][0].apply(exports,arguments) -},{"./do-bind.js":227,"dup":197}],229:[function(require,module,exports){ -arguments[4][198][0].apply(exports,arguments) -},{"./do-bind.js":227,"dup":198}],230:[function(require,module,exports){ -arguments[4][199][0].apply(exports,arguments) -},{"./lib/vao-emulated.js":228,"./lib/vao-native.js":229,"dup":199}],231:[function(require,module,exports){ +},{"./lib/shaders":212,"binary-search-bounds":214,"gl-buffer":215,"gl-texture2d":222,"gl-vao":226,"glsl-read-float":227,"ndarray":1117}],214:[function(require,module,exports){ +arguments[4][117][0].apply(exports,arguments) +},{"dup":117}],215:[function(require,module,exports){ +arguments[4][183][0].apply(exports,arguments) +},{"dup":183,"ndarray":1117,"ndarray-ops":1112,"typedarray-pool":218}],216:[function(require,module,exports){ +arguments[4][167][0].apply(exports,arguments) +},{"dup":167}],217:[function(require,module,exports){ +arguments[4][146][0].apply(exports,arguments) +},{"dup":146}],218:[function(require,module,exports){ +arguments[4][186][0].apply(exports,arguments) +},{"bit-twiddle":216,"buffer":33,"dup":186}],219:[function(require,module,exports){ +arguments[4][167][0].apply(exports,arguments) +},{"dup":167}],220:[function(require,module,exports){ +arguments[4][146][0].apply(exports,arguments) +},{"dup":146}],221:[function(require,module,exports){ +arguments[4][186][0].apply(exports,arguments) +},{"bit-twiddle":219,"buffer":33,"dup":186}],222:[function(require,module,exports){ +arguments[4][208][0].apply(exports,arguments) +},{"dup":208,"ndarray":1117,"ndarray-ops":1112,"typedarray-pool":221}],223:[function(require,module,exports){ +arguments[4][192][0].apply(exports,arguments) +},{"dup":192}],224:[function(require,module,exports){ +arguments[4][193][0].apply(exports,arguments) +},{"./do-bind.js":223,"dup":193}],225:[function(require,module,exports){ +arguments[4][194][0].apply(exports,arguments) +},{"./do-bind.js":223,"dup":194}],226:[function(require,module,exports){ +arguments[4][195][0].apply(exports,arguments) +},{"./lib/vao-emulated.js":224,"./lib/vao-native.js":225,"dup":195}],227:[function(require,module,exports){ module.exports = decodeFloat var UINT8_VIEW = new Uint8Array(4) @@ -37312,7 +37305,7 @@ function decodeFloat(x, y, z, w) { return FLOAT_VIEW[0] } -},{}],232:[function(require,module,exports){ +},{}],228:[function(require,module,exports){ module.exports = clone; /** @@ -37341,7 +37334,7 @@ function clone(a) { out[15] = a[15]; return out; }; -},{}],233:[function(require,module,exports){ +},{}],229:[function(require,module,exports){ module.exports = create; /** @@ -37369,7 +37362,7 @@ function create() { out[15] = 1; return out; }; -},{}],234:[function(require,module,exports){ +},{}],230:[function(require,module,exports){ module.exports = determinant; /** @@ -37400,7 +37393,7 @@ function determinant(a) { // Calculate the determinant return b00 * b11 - b01 * b10 + b02 * b09 + b03 * b08 - b04 * b07 + b05 * b06; }; -},{}],235:[function(require,module,exports){ +},{}],231:[function(require,module,exports){ module.exports = fromQuat; /** @@ -37448,7 +37441,7 @@ function fromQuat(out, q) { return out; }; -},{}],236:[function(require,module,exports){ +},{}],232:[function(require,module,exports){ module.exports = fromRotationTranslation; /** @@ -37502,7 +37495,7 @@ function fromRotationTranslation(out, q, v) { return out; }; -},{}],237:[function(require,module,exports){ +},{}],233:[function(require,module,exports){ module.exports = identity; /** @@ -37530,7 +37523,7 @@ function identity(out) { out[15] = 1; return out; }; -},{}],238:[function(require,module,exports){ +},{}],234:[function(require,module,exports){ module.exports = invert; /** @@ -37586,7 +37579,7 @@ function invert(out, a) { return out; }; -},{}],239:[function(require,module,exports){ +},{}],235:[function(require,module,exports){ var identity = require('./identity'); module.exports = lookAt; @@ -37677,7 +37670,7 @@ function lookAt(out, eye, center, up) { return out; }; -},{"./identity":237}],240:[function(require,module,exports){ +},{"./identity":233}],236:[function(require,module,exports){ module.exports = multiply; /** @@ -37720,7 +37713,7 @@ function multiply(out, a, b) { out[15] = b0*a03 + b1*a13 + b2*a23 + b3*a33; return out; }; -},{}],241:[function(require,module,exports){ +},{}],237:[function(require,module,exports){ module.exports = perspective; /** @@ -37754,7 +37747,7 @@ function perspective(out, fovy, aspect, near, far) { out[15] = 0; return out; }; -},{}],242:[function(require,module,exports){ +},{}],238:[function(require,module,exports){ module.exports = rotate; /** @@ -37819,7 +37812,7 @@ function rotate(out, a, rad, axis) { } return out; }; -},{}],243:[function(require,module,exports){ +},{}],239:[function(require,module,exports){ module.exports = rotateX; /** @@ -37864,7 +37857,7 @@ function rotateX(out, a, rad) { out[11] = a23 * c - a13 * s; return out; }; -},{}],244:[function(require,module,exports){ +},{}],240:[function(require,module,exports){ module.exports = rotateY; /** @@ -37909,7 +37902,7 @@ function rotateY(out, a, rad) { out[11] = a03 * s + a23 * c; return out; }; -},{}],245:[function(require,module,exports){ +},{}],241:[function(require,module,exports){ module.exports = rotateZ; /** @@ -37954,7 +37947,7 @@ function rotateZ(out, a, rad) { out[7] = a13 * c - a03 * s; return out; }; -},{}],246:[function(require,module,exports){ +},{}],242:[function(require,module,exports){ module.exports = scale; /** @@ -37986,7 +37979,7 @@ function scale(out, a, v) { out[15] = a[15]; return out; }; -},{}],247:[function(require,module,exports){ +},{}],243:[function(require,module,exports){ module.exports = translate; /** @@ -38025,7 +38018,7 @@ function translate(out, a, v) { return out; }; -},{}],248:[function(require,module,exports){ +},{}],244:[function(require,module,exports){ module.exports = transpose; /** @@ -38075,7 +38068,7 @@ function transpose(out, a) { return out; }; -},{}],249:[function(require,module,exports){ +},{}],245:[function(require,module,exports){ 'use strict' var barycentric = require('barycentric') @@ -38173,7 +38166,7 @@ function closestPointToPickLocation(simplex, pixelCoord, model, view, projection } return [closestIndex, interpolate(simplex, weights), weights] } -},{"barycentric":252,"polytope-closest-point/lib/closest_point_2d.js":270}],250:[function(require,module,exports){ +},{"barycentric":248,"polytope-closest-point/lib/closest_point_2d.js":266}],246:[function(require,module,exports){ var triVertSrc = "precision mediump float;\n#define GLSLIFY 1\n\nattribute vec3 position, normal;\nattribute vec4 color;\nattribute vec2 uv;\n\nuniform mat4 model\n , view\n , projection;\nuniform vec3 eyePosition\n , lightPosition;\n\nvarying vec3 f_normal\n , f_lightDirection\n , f_eyeDirection\n , f_data;\nvarying vec4 f_color;\nvarying vec2 f_uv;\n\nvoid main() {\n vec4 m_position = model * vec4(position, 1.0);\n vec4 t_position = view * m_position;\n gl_Position = projection * t_position;\n f_color = color;\n f_normal = normal;\n f_data = position;\n f_eyeDirection = eyePosition - position;\n f_lightDirection = lightPosition - position;\n f_uv = uv;\n}" @@ -38242,7 +38235,7 @@ exports.contourShader = { ] } -},{}],251:[function(require,module,exports){ +},{}],247:[function(require,module,exports){ 'use strict' var DEFAULT_VERTEX_NORMALS_EPSILON = 1e-6; // may be too large if triangles are very small @@ -39257,7 +39250,7 @@ function createSimplicialMesh(params) { module.exports = createSimplicialMesh -},{"./lib/closest-point":249,"./lib/shaders":250,"colormap":261,"gl-buffer":263,"gl-mat4/invert":238,"gl-mat4/multiply":240,"gl-shader":838,"gl-texture2d":264,"gl-vao":268,"ndarray":1121,"normals":269,"simplicial-complex-contour":271,"typedarray-pool":278}],252:[function(require,module,exports){ +},{"./lib/closest-point":245,"./lib/shaders":246,"colormap":257,"gl-buffer":259,"gl-mat4/invert":234,"gl-mat4/multiply":236,"gl-shader":834,"gl-texture2d":260,"gl-vao":264,"ndarray":1117,"normals":265,"simplicial-complex-contour":267,"typedarray-pool":274}],248:[function(require,module,exports){ 'use strict' module.exports = barycentric @@ -39305,21 +39298,21 @@ function barycentric(simplex, point) { } return y } -},{"robust-linear-solve":253}],253:[function(require,module,exports){ +},{"robust-linear-solve":249}],249:[function(require,module,exports){ +arguments[4][147][0].apply(exports,arguments) +},{"dup":147,"robust-determinant":255}],250:[function(require,module,exports){ +arguments[4][148][0].apply(exports,arguments) +},{"dup":148}],251:[function(require,module,exports){ +arguments[4][149][0].apply(exports,arguments) +},{"dup":149}],252:[function(require,module,exports){ +arguments[4][150][0].apply(exports,arguments) +},{"dup":150,"two-product":254,"two-sum":251}],253:[function(require,module,exports){ arguments[4][151][0].apply(exports,arguments) -},{"dup":151,"robust-determinant":259}],254:[function(require,module,exports){ +},{"dup":151}],254:[function(require,module,exports){ arguments[4][152][0].apply(exports,arguments) },{"dup":152}],255:[function(require,module,exports){ arguments[4][153][0].apply(exports,arguments) -},{"dup":153}],256:[function(require,module,exports){ -arguments[4][154][0].apply(exports,arguments) -},{"dup":154,"two-product":258,"two-sum":255}],257:[function(require,module,exports){ -arguments[4][155][0].apply(exports,arguments) -},{"dup":155}],258:[function(require,module,exports){ -arguments[4][156][0].apply(exports,arguments) -},{"dup":156}],259:[function(require,module,exports){ -arguments[4][157][0].apply(exports,arguments) -},{"dup":157,"robust-compress":254,"robust-scale":256,"robust-sum":257,"two-product":258}],260:[function(require,module,exports){ +},{"dup":153,"robust-compress":250,"robust-scale":252,"robust-sum":253,"two-product":254}],256:[function(require,module,exports){ module.exports={ "jet":[{"index":0,"rgb":[0,0,131]},{"index":0.125,"rgb":[0,60,170]},{"index":0.375,"rgb":[5,255,255]},{"index":0.625,"rgb":[255,255,0]},{"index":0.875,"rgb":[250,0,0]},{"index":1,"rgb":[128,0,0]}], @@ -39412,7 +39405,7 @@ module.exports={ "cubehelix": [{"index":0,"rgb":[0,0,0]},{"index":0.07,"rgb":[22,5,59]},{"index":0.13,"rgb":[60,4,105]},{"index":0.2,"rgb":[109,1,135]},{"index":0.27,"rgb":[161,0,147]},{"index":0.33,"rgb":[210,2,142]},{"index":0.4,"rgb":[251,11,123]},{"index":0.47,"rgb":[255,29,97]},{"index":0.53,"rgb":[255,54,69]},{"index":0.6,"rgb":[255,85,46]},{"index":0.67,"rgb":[255,120,34]},{"index":0.73,"rgb":[255,157,37]},{"index":0.8,"rgb":[241,191,57]},{"index":0.87,"rgb":[224,220,93]},{"index":0.93,"rgb":[218,241,142]},{"index":1,"rgb":[227,253,198]}] }; -},{}],261:[function(require,module,exports){ +},{}],257:[function(require,module,exports){ /* * Ben Postlethwaite * January 2013 @@ -39549,7 +39542,7 @@ function rgbaStr (rgba) { return 'rgba(' + rgba.join(',') + ')'; } -},{"./colorScales":260,"arraytools":164,"clone":262}],262:[function(require,module,exports){ +},{"./colorScales":256,"arraytools":160,"clone":258}],258:[function(require,module,exports){ (function (Buffer){ var clone = (function() { 'use strict'; @@ -39713,19 +39706,19 @@ if (typeof module === 'object' && module.exports) { } }).call(this,require("buffer").Buffer) -},{"buffer":33}],263:[function(require,module,exports){ -arguments[4][187][0].apply(exports,arguments) -},{"dup":187,"ndarray":1121,"ndarray-ops":1116,"typedarray-pool":278}],264:[function(require,module,exports){ -arguments[4][212][0].apply(exports,arguments) -},{"dup":212,"ndarray":1121,"ndarray-ops":1116,"typedarray-pool":278}],265:[function(require,module,exports){ -arguments[4][196][0].apply(exports,arguments) -},{"dup":196}],266:[function(require,module,exports){ -arguments[4][197][0].apply(exports,arguments) -},{"./do-bind.js":265,"dup":197}],267:[function(require,module,exports){ -arguments[4][198][0].apply(exports,arguments) -},{"./do-bind.js":265,"dup":198}],268:[function(require,module,exports){ -arguments[4][199][0].apply(exports,arguments) -},{"./lib/vao-emulated.js":266,"./lib/vao-native.js":267,"dup":199}],269:[function(require,module,exports){ +},{"buffer":33}],259:[function(require,module,exports){ +arguments[4][183][0].apply(exports,arguments) +},{"dup":183,"ndarray":1117,"ndarray-ops":1112,"typedarray-pool":274}],260:[function(require,module,exports){ +arguments[4][208][0].apply(exports,arguments) +},{"dup":208,"ndarray":1117,"ndarray-ops":1112,"typedarray-pool":274}],261:[function(require,module,exports){ +arguments[4][192][0].apply(exports,arguments) +},{"dup":192}],262:[function(require,module,exports){ +arguments[4][193][0].apply(exports,arguments) +},{"./do-bind.js":261,"dup":193}],263:[function(require,module,exports){ +arguments[4][194][0].apply(exports,arguments) +},{"./do-bind.js":261,"dup":194}],264:[function(require,module,exports){ +arguments[4][195][0].apply(exports,arguments) +},{"./lib/vao-emulated.js":262,"./lib/vao-native.js":263,"dup":195}],265:[function(require,module,exports){ var DEFAULT_NORMALS_EPSILON = 1e-6; var DEFAULT_FACE_EPSILON = 1e-6; @@ -39850,7 +39843,7 @@ exports.faceNormals = function(faces, positions, specifiedEpsilon) { -},{}],270:[function(require,module,exports){ +},{}],266:[function(require,module,exports){ //Optimized version for triangle closest point // Based on Eberly's WildMagick codes // http://www.geometrictools.com/LibMathematics/Distance/Distance.html @@ -40048,7 +40041,7 @@ function closestPoint2d(V0, V1, V2, point, result) { module.exports = closestPoint2d; -},{}],271:[function(require,module,exports){ +},{}],267:[function(require,module,exports){ 'use strict' module.exports = extractContour @@ -40211,7 +40204,7 @@ function extractContour(cells, values, level, d) { vertexWeights: uweights } } -},{"./lib/codegen":272,"ndarray":1121,"ndarray-sort":275,"typedarray-pool":278}],272:[function(require,module,exports){ +},{"./lib/codegen":268,"ndarray":1117,"ndarray-sort":271,"typedarray-pool":274}],268:[function(require,module,exports){ 'use strict' module.exports = getPolygonizer @@ -40308,7 +40301,7 @@ function getPolygonizer(d) { } return alg } -},{"marching-simplex-table":273,"typedarray-pool":278}],273:[function(require,module,exports){ +},{"marching-simplex-table":269,"typedarray-pool":274}],269:[function(require,module,exports){ 'use strict' module.exports = createTable @@ -40374,7 +40367,7 @@ function createTable(dimension) { } return result } -},{"convex-hull":165}],274:[function(require,module,exports){ +},{"convex-hull":161}],270:[function(require,module,exports){ "use strict" var pool = require("typedarray-pool") @@ -41103,7 +41096,7 @@ function compileSort(order, dtype) { } module.exports = compileSort -},{"typedarray-pool":278}],275:[function(require,module,exports){ +},{"typedarray-pool":274}],271:[function(require,module,exports){ "use strict" var compile = require("./lib/compile_sort.js") @@ -41123,13 +41116,13 @@ function sort(array) { } module.exports = sort -},{"./lib/compile_sort.js":274}],276:[function(require,module,exports){ -arguments[4][171][0].apply(exports,arguments) -},{"dup":171}],277:[function(require,module,exports){ -arguments[4][150][0].apply(exports,arguments) -},{"dup":150}],278:[function(require,module,exports){ -arguments[4][190][0].apply(exports,arguments) -},{"bit-twiddle":276,"buffer":33,"dup":190}],279:[function(require,module,exports){ +},{"./lib/compile_sort.js":270}],272:[function(require,module,exports){ +arguments[4][167][0].apply(exports,arguments) +},{"dup":167}],273:[function(require,module,exports){ +arguments[4][146][0].apply(exports,arguments) +},{"dup":146}],274:[function(require,module,exports){ +arguments[4][186][0].apply(exports,arguments) +},{"bit-twiddle":272,"buffer":33,"dup":186}],275:[function(require,module,exports){ 'use strict' module.exports = createBoxes @@ -41192,7 +41185,7 @@ function createBoxes(plot) { return new Boxes(plot, vbo, shader) } -},{"./shaders":282,"gl-buffer":285,"gl-shader":300}],280:[function(require,module,exports){ +},{"./shaders":278,"gl-buffer":281,"gl-shader":296}],276:[function(require,module,exports){ 'use strict' module.exports = createGrid @@ -41439,7 +41432,7 @@ function createGrid(plot) { return grid } -},{"./shaders":282,"binary-search-bounds":284,"gl-buffer":285,"gl-shader":300}],281:[function(require,module,exports){ +},{"./shaders":278,"binary-search-bounds":280,"gl-buffer":281,"gl-shader":296}],277:[function(require,module,exports){ 'use strict' module.exports = createLines @@ -41504,7 +41497,7 @@ function createLines(plot) { return lines } -},{"./shaders":282,"gl-buffer":285,"gl-shader":300}],282:[function(require,module,exports){ +},{"./shaders":278,"gl-buffer":281,"gl-shader":296}],278:[function(require,module,exports){ 'use strict' @@ -41522,7 +41515,7 @@ module.exports = { tickVert: "precision mediump float;\n#define GLSLIFY 1\n\nattribute vec3 dataCoord;\n\nuniform vec2 dataAxis, dataShift, dataScale, screenOffset, tickScale;\n\nvoid main() {\n vec2 pos = dataAxis * (dataScale * dataCoord.x + dataShift);\n gl_Position = vec4(pos + tickScale*dataCoord.yz + screenOffset, 0, 1);\n}\n" } -},{}],283:[function(require,module,exports){ +},{}],279:[function(require,module,exports){ 'use strict' module.exports = createTextElements @@ -41800,29 +41793,29 @@ function createTextElements(plot) { return text } -},{"./shaders":282,"binary-search-bounds":284,"gl-buffer":285,"gl-shader":300,"text-cache":423}],284:[function(require,module,exports){ -arguments[4][203][0].apply(exports,arguments) -},{"dup":203}],285:[function(require,module,exports){ -arguments[4][187][0].apply(exports,arguments) -},{"dup":187,"ndarray":1121,"ndarray-ops":1116,"typedarray-pool":288}],286:[function(require,module,exports){ -arguments[4][171][0].apply(exports,arguments) -},{"dup":171}],287:[function(require,module,exports){ -arguments[4][150][0].apply(exports,arguments) -},{"dup":150}],288:[function(require,module,exports){ -arguments[4][190][0].apply(exports,arguments) -},{"bit-twiddle":286,"buffer":33,"dup":190}],289:[function(require,module,exports){ -arguments[4][171][0].apply(exports,arguments) -},{"dup":171}],290:[function(require,module,exports){ +},{"./shaders":278,"binary-search-bounds":280,"gl-buffer":281,"gl-shader":296,"text-cache":419}],280:[function(require,module,exports){ +arguments[4][199][0].apply(exports,arguments) +},{"dup":199}],281:[function(require,module,exports){ +arguments[4][183][0].apply(exports,arguments) +},{"dup":183,"ndarray":1117,"ndarray-ops":1112,"typedarray-pool":284}],282:[function(require,module,exports){ +arguments[4][167][0].apply(exports,arguments) +},{"dup":167}],283:[function(require,module,exports){ +arguments[4][146][0].apply(exports,arguments) +},{"dup":146}],284:[function(require,module,exports){ +arguments[4][186][0].apply(exports,arguments) +},{"bit-twiddle":282,"buffer":33,"dup":186}],285:[function(require,module,exports){ +arguments[4][167][0].apply(exports,arguments) +},{"dup":167}],286:[function(require,module,exports){ module.exports = require("cwise-compiler") -},{"cwise-compiler":291}],291:[function(require,module,exports){ +},{"cwise-compiler":287}],287:[function(require,module,exports){ arguments[4][73][0].apply(exports,arguments) -},{"./lib/thunk.js":293,"dup":73}],292:[function(require,module,exports){ +},{"./lib/thunk.js":289,"dup":73}],288:[function(require,module,exports){ arguments[4][74][0].apply(exports,arguments) -},{"dup":74,"uniq":294}],293:[function(require,module,exports){ +},{"dup":74,"uniq":290}],289:[function(require,module,exports){ arguments[4][75][0].apply(exports,arguments) -},{"./compile.js":292,"dup":75}],294:[function(require,module,exports){ +},{"./compile.js":288,"dup":75}],290:[function(require,module,exports){ arguments[4][76][0].apply(exports,arguments) -},{"dup":76}],295:[function(require,module,exports){ +},{"dup":76}],291:[function(require,module,exports){ 'use strict' var createTexture = require('gl-texture2d') @@ -42289,13 +42282,13 @@ function createFBO(gl, width, height, options) { WEBGL_draw_buffers) } -},{"gl-texture2d":296}],296:[function(require,module,exports){ -arguments[4][212][0].apply(exports,arguments) -},{"dup":212,"ndarray":1121,"ndarray-ops":1116,"typedarray-pool":298}],297:[function(require,module,exports){ -arguments[4][150][0].apply(exports,arguments) -},{"dup":150}],298:[function(require,module,exports){ -arguments[4][190][0].apply(exports,arguments) -},{"bit-twiddle":289,"buffer":33,"dup":190}],299:[function(require,module,exports){ +},{"gl-texture2d":292}],292:[function(require,module,exports){ +arguments[4][208][0].apply(exports,arguments) +},{"dup":208,"ndarray":1117,"ndarray-ops":1112,"typedarray-pool":294}],293:[function(require,module,exports){ +arguments[4][146][0].apply(exports,arguments) +},{"dup":146}],294:[function(require,module,exports){ +arguments[4][186][0].apply(exports,arguments) +},{"bit-twiddle":285,"buffer":33,"dup":186}],295:[function(require,module,exports){ 'use strict' module.exports = createSelectBuffer @@ -42450,7 +42443,7 @@ function createSelectBuffer(gl, shape) { return new SelectBuffer(gl, fbo, buffer) } -},{"bit-twiddle":289,"cwise/lib/wrapper":290,"gl-fbo":295,"ndarray":1121,"typedarray-pool":298}],300:[function(require,module,exports){ +},{"bit-twiddle":285,"cwise/lib/wrapper":286,"gl-fbo":291,"ndarray":1117,"typedarray-pool":294}],296:[function(require,module,exports){ 'use strict' var createUniformWrapper = require('./lib/create-uniforms') @@ -42716,7 +42709,7 @@ function createShader( module.exports = createShader -},{"./lib/GLError":301,"./lib/create-attributes":302,"./lib/create-uniforms":303,"./lib/reflect":304,"./lib/runtime-reflect":305,"./lib/shader-cache":306}],301:[function(require,module,exports){ +},{"./lib/GLError":297,"./lib/create-attributes":298,"./lib/create-uniforms":299,"./lib/reflect":300,"./lib/runtime-reflect":301,"./lib/shader-cache":302}],297:[function(require,module,exports){ function GLError (rawError, shortMessage, longMessage) { this.shortMessage = shortMessage || '' this.longMessage = longMessage || '' @@ -42731,7 +42724,7 @@ GLError.prototype.name = 'GLError' GLError.prototype.constructor = GLError module.exports = GLError -},{}],302:[function(require,module,exports){ +},{}],298:[function(require,module,exports){ 'use strict' module.exports = createAttributeWrapper @@ -42996,7 +42989,7 @@ function createAttributeWrapper( return obj } -},{"./GLError":301}],303:[function(require,module,exports){ +},{"./GLError":297}],299:[function(require,module,exports){ 'use strict' var coallesceUniforms = require('./reflect') @@ -43189,7 +43182,7 @@ function createUniformWrapper(gl, wrapper, uniforms, locations) { } } -},{"./GLError":301,"./reflect":304}],304:[function(require,module,exports){ +},{"./GLError":297,"./reflect":300}],300:[function(require,module,exports){ 'use strict' module.exports = makeReflectTypes @@ -43247,7 +43240,7 @@ function makeReflectTypes(uniforms, useIndex) { } return obj } -},{}],305:[function(require,module,exports){ +},{}],301:[function(require,module,exports){ 'use strict' exports.uniforms = runtimeUniforms @@ -43327,7 +43320,7 @@ function runtimeAttributes(gl, program) { return result } -},{}],306:[function(require,module,exports){ +},{}],302:[function(require,module,exports){ 'use strict' exports.shader = getShaderReference @@ -43465,7 +43458,7 @@ function createProgram(gl, vref, fref, attribs, locations) { return getCache(gl).getProgram(vref, fref, attribs, locations) } -},{"./GLError":301,"gl-format-compiler-error":307,"weakmap-shim":325}],307:[function(require,module,exports){ +},{"./GLError":297,"gl-format-compiler-error":303,"weakmap-shim":321}],303:[function(require,module,exports){ var sprintf = require('sprintf-js').sprintf; var glConstants = require('gl-constants/lookup'); @@ -43520,7 +43513,7 @@ function formatCompilerError(errLog, src, type) { } -},{"add-line-numbers":308,"gl-constants/lookup":312,"glsl-shader-name":313,"sprintf-js":322}],308:[function(require,module,exports){ +},{"add-line-numbers":304,"gl-constants/lookup":308,"glsl-shader-name":309,"sprintf-js":318}],304:[function(require,module,exports){ var padLeft = require('pad-left') module.exports = addLineNumbers @@ -43538,7 +43531,7 @@ function addLineNumbers (string, start, delim) { }).join('\n') } -},{"pad-left":309}],309:[function(require,module,exports){ +},{"pad-left":305}],305:[function(require,module,exports){ /*! * pad-left * @@ -43554,7 +43547,7 @@ module.exports = function padLeft(str, num, ch) { ch = typeof ch !== 'undefined' ? (ch + '') : ' '; return repeat(ch, num) + str; }; -},{"repeat-string":310}],310:[function(require,module,exports){ +},{"repeat-string":306}],306:[function(require,module,exports){ /*! * repeat-string * @@ -43626,7 +43619,7 @@ function repeat(str, num) { return res; } -},{}],311:[function(require,module,exports){ +},{}],307:[function(require,module,exports){ module.exports = { 0: 'NONE', 1: 'ONE', @@ -43926,14 +43919,14 @@ module.exports = { 37444: 'BROWSER_DEFAULT_WEBGL' } -},{}],312:[function(require,module,exports){ +},{}],308:[function(require,module,exports){ var gl10 = require('./1.0/numbers') module.exports = function lookupConstant (number) { return gl10[number] } -},{"./1.0/numbers":311}],313:[function(require,module,exports){ +},{"./1.0/numbers":307}],309:[function(require,module,exports){ var tokenize = require('glsl-tokenizer') var atob = require('atob-lite') @@ -43958,12 +43951,12 @@ function getName(src) { } } -},{"atob-lite":314,"glsl-tokenizer":321}],314:[function(require,module,exports){ +},{"atob-lite":310,"glsl-tokenizer":317}],310:[function(require,module,exports){ module.exports = function _atob(str) { return atob(str) } -},{}],315:[function(require,module,exports){ +},{}],311:[function(require,module,exports){ module.exports = tokenize var literals100 = require('./lib/literals') @@ -44327,7 +44320,7 @@ function tokenize(opt) { } } -},{"./lib/builtins":317,"./lib/builtins-300es":316,"./lib/literals":319,"./lib/literals-300es":318,"./lib/operators":320}],316:[function(require,module,exports){ +},{"./lib/builtins":313,"./lib/builtins-300es":312,"./lib/literals":315,"./lib/literals-300es":314,"./lib/operators":316}],312:[function(require,module,exports){ // 300es builtins/reserved words that were previously valid in v100 var v100 = require('./builtins') @@ -44398,7 +44391,7 @@ module.exports = v100.concat([ , 'textureProjGradOffset' ]) -},{"./builtins":317}],317:[function(require,module,exports){ +},{"./builtins":313}],313:[function(require,module,exports){ module.exports = [ // Keep this list sorted 'abs' @@ -44550,7 +44543,7 @@ module.exports = [ , 'textureCubeGradEXT' ] -},{}],318:[function(require,module,exports){ +},{}],314:[function(require,module,exports){ var v100 = require('./literals') module.exports = v100.slice().concat([ @@ -44640,7 +44633,7 @@ module.exports = v100.slice().concat([ , 'usampler2DMSArray' ]) -},{"./literals":319}],319:[function(require,module,exports){ +},{"./literals":315}],315:[function(require,module,exports){ module.exports = [ // current 'precision' @@ -44735,7 +44728,7 @@ module.exports = [ , 'using' ] -},{}],320:[function(require,module,exports){ +},{}],316:[function(require,module,exports){ module.exports = [ '<<=' , '>>=' @@ -44784,7 +44777,7 @@ module.exports = [ , '}' ] -},{}],321:[function(require,module,exports){ +},{}],317:[function(require,module,exports){ var tokenize = require('./index') module.exports = tokenizeString @@ -44799,7 +44792,7 @@ function tokenizeString(str, opt) { return tokens } -},{"./index":315}],322:[function(require,module,exports){ +},{"./index":311}],318:[function(require,module,exports){ (function(window) { var re = { not_string: /[^s]/, @@ -45009,7 +45002,7 @@ function tokenizeString(str, opt) { } })(typeof window === "undefined" ? this : window); -},{}],323:[function(require,module,exports){ +},{}],319:[function(require,module,exports){ var hiddenStore = require('./hidden-store.js'); module.exports = createStore; @@ -45030,7 +45023,7 @@ function createStore() { }; } -},{"./hidden-store.js":324}],324:[function(require,module,exports){ +},{"./hidden-store.js":320}],320:[function(require,module,exports){ module.exports = hiddenStore; function hiddenStore(obj, key) { @@ -45048,7 +45041,7 @@ function hiddenStore(obj, key) { return store; } -},{}],325:[function(require,module,exports){ +},{}],321:[function(require,module,exports){ // Original - @Gozola. // https://gist.github.com/Gozala/1269991 // This is a reimplemented version (with a few bug fixes). @@ -45079,7 +45072,7 @@ function weakMap() { } } -},{"./create-store.js":323}],326:[function(require,module,exports){ +},{"./create-store.js":319}],322:[function(require,module,exports){ "use strict" module.exports = createText @@ -45106,7 +45099,7 @@ function createText(str, options) { options) } -},{"./lib/vtext":327}],327:[function(require,module,exports){ +},{"./lib/vtext":323}],323:[function(require,module,exports){ "use strict" module.exports = vectorizeText @@ -45312,7 +45305,7 @@ function vectorizeText(str, canvas, context, options) { return processPixels(pixels, options, size) } -},{"cdt2d":328,"clean-pslg":339,"ndarray":1121,"planar-graph-to-polyline":396,"simplify-planar-graph":400,"surface-nets":422}],328:[function(require,module,exports){ +},{"cdt2d":324,"clean-pslg":335,"ndarray":1117,"planar-graph-to-polyline":392,"simplify-planar-graph":396,"surface-nets":418}],324:[function(require,module,exports){ 'use strict' var monotoneTriangulate = require('./lib/monotone') @@ -45396,7 +45389,7 @@ function cdt2d(points, edges, options) { } } -},{"./lib/delaunay":329,"./lib/filter":330,"./lib/monotone":331,"./lib/triangulation":332}],329:[function(require,module,exports){ +},{"./lib/delaunay":325,"./lib/filter":326,"./lib/monotone":327,"./lib/triangulation":328}],325:[function(require,module,exports){ 'use strict' var inCircle = require('robust-in-sphere')[4] @@ -45513,7 +45506,7 @@ function delaunayRefine(points, triangulation) { } } -},{"binary-search-bounds":284,"robust-in-sphere":333}],330:[function(require,module,exports){ +},{"binary-search-bounds":280,"robust-in-sphere":329}],326:[function(require,module,exports){ 'use strict' var bsearch = require('binary-search-bounds') @@ -45695,7 +45688,7 @@ function classifyFaces(triangulation, target, infinity) { return result } -},{"binary-search-bounds":284}],331:[function(require,module,exports){ +},{"binary-search-bounds":280}],327:[function(require,module,exports){ 'use strict' var bsearch = require('binary-search-bounds') @@ -45884,7 +45877,7 @@ function monotoneTriangulate(points, edges) { return cells } -},{"binary-search-bounds":284,"robust-orientation":1130}],332:[function(require,module,exports){ +},{"binary-search-bounds":280,"robust-orientation":1126}],328:[function(require,module,exports){ 'use strict' var bsearch = require('binary-search-bounds') @@ -45990,7 +45983,7 @@ function createTriangulation(numVerts, edges) { return new Triangulation(stars, edges) } -},{"binary-search-bounds":284}],333:[function(require,module,exports){ +},{"binary-search-bounds":280}],329:[function(require,module,exports){ "use strict" var twoProduct = require("two-product") @@ -46158,11 +46151,11 @@ function generateInSphereTest() { } generateInSphereTest() -},{"robust-scale":335,"robust-subtract":336,"robust-sum":337,"two-product":338}],334:[function(require,module,exports){ -arguments[4][153][0].apply(exports,arguments) -},{"dup":153}],335:[function(require,module,exports){ -arguments[4][154][0].apply(exports,arguments) -},{"dup":154,"two-product":338,"two-sum":334}],336:[function(require,module,exports){ +},{"robust-scale":331,"robust-subtract":332,"robust-sum":333,"two-product":334}],330:[function(require,module,exports){ +arguments[4][149][0].apply(exports,arguments) +},{"dup":149}],331:[function(require,module,exports){ +arguments[4][150][0].apply(exports,arguments) +},{"dup":150,"two-product":334,"two-sum":330}],332:[function(require,module,exports){ "use strict" module.exports = robustSubtract @@ -46319,11 +46312,11 @@ function robustSubtract(e, f) { g.length = count return g } -},{}],337:[function(require,module,exports){ -arguments[4][155][0].apply(exports,arguments) -},{"dup":155}],338:[function(require,module,exports){ -arguments[4][156][0].apply(exports,arguments) -},{"dup":156}],339:[function(require,module,exports){ +},{}],333:[function(require,module,exports){ +arguments[4][151][0].apply(exports,arguments) +},{"dup":151}],334:[function(require,module,exports){ +arguments[4][152][0].apply(exports,arguments) +},{"dup":152}],335:[function(require,module,exports){ 'use strict' module.exports = cleanPSLG @@ -46685,7 +46678,7 @@ function cleanPSLG(points, edges, colors) { return modified } -},{"./lib/rat-seg-intersect":340,"big-rat":344,"big-rat/cmp":342,"big-rat/to-float":359,"box-intersect":360,"compare-cell":370,"nextafter":371,"rat-vec":374,"robust-segment-intersect":377,"union-find":378}],340:[function(require,module,exports){ +},{"./lib/rat-seg-intersect":336,"big-rat":340,"big-rat/cmp":338,"big-rat/to-float":355,"box-intersect":356,"compare-cell":366,"nextafter":367,"rat-vec":370,"robust-segment-intersect":373,"union-find":374}],336:[function(require,module,exports){ 'use strict' //TODO: Move this to a separate module @@ -46731,7 +46724,7 @@ function solveIntersection(a, b, c, d) { return rvAdd(a, rvMuls(ba, t)) } -},{"big-rat/div":343,"big-rat/mul":353,"big-rat/sign":357,"big-rat/sub":358,"big-rat/to-float":359,"rat-vec/add":373,"rat-vec/muls":375,"rat-vec/sub":376}],341:[function(require,module,exports){ +},{"big-rat/div":339,"big-rat/mul":349,"big-rat/sign":353,"big-rat/sub":354,"big-rat/to-float":355,"rat-vec/add":369,"rat-vec/muls":371,"rat-vec/sub":372}],337:[function(require,module,exports){ 'use strict' var rationalize = require('./lib/rationalize') @@ -46744,7 +46737,7 @@ function add(a, b) { a[1].mul(b[1])) } -},{"./lib/rationalize":351}],342:[function(require,module,exports){ +},{"./lib/rationalize":347}],338:[function(require,module,exports){ 'use strict' module.exports = cmp @@ -46753,7 +46746,7 @@ function cmp(a, b) { return a[0].mul(b[1]).cmp(b[0].mul(a[1])) } -},{}],343:[function(require,module,exports){ +},{}],339:[function(require,module,exports){ 'use strict' var rationalize = require('./lib/rationalize') @@ -46764,7 +46757,7 @@ function div(a, b) { return rationalize(a[0].mul(b[1]), a[1].mul(b[0])) } -},{"./lib/rationalize":351}],344:[function(require,module,exports){ +},{"./lib/rationalize":347}],340:[function(require,module,exports){ 'use strict' var isRat = require('./is-rat') @@ -46826,7 +46819,7 @@ function makeRational(numer, denom) { return rationalize(a, b) } -},{"./div":343,"./is-rat":345,"./lib/is-bn":349,"./lib/num-to-bn":350,"./lib/rationalize":351,"./lib/str-to-bn":352}],345:[function(require,module,exports){ +},{"./div":339,"./is-rat":341,"./lib/is-bn":345,"./lib/num-to-bn":346,"./lib/rationalize":347,"./lib/str-to-bn":348}],341:[function(require,module,exports){ 'use strict' var isBN = require('./lib/is-bn') @@ -46837,7 +46830,7 @@ function isRat(x) { return Array.isArray(x) && x.length === 2 && isBN(x[0]) && isBN(x[1]) } -},{"./lib/is-bn":349}],346:[function(require,module,exports){ +},{"./lib/is-bn":345}],342:[function(require,module,exports){ 'use strict' var bn = require('bn.js') @@ -46848,7 +46841,7 @@ function sign(x) { return x.cmp(new bn(0)) } -},{"bn.js":355}],347:[function(require,module,exports){ +},{"bn.js":351}],343:[function(require,module,exports){ 'use strict' module.exports = bn2num @@ -46872,7 +46865,7 @@ function bn2num(b) { return b.sign ? -out : out } -},{}],348:[function(require,module,exports){ +},{}],344:[function(require,module,exports){ 'use strict' var db = require('double-bits') @@ -46893,7 +46886,7 @@ function ctzNumber(x) { return h + 32 } -},{"bit-twiddle":354,"double-bits":356}],349:[function(require,module,exports){ +},{"bit-twiddle":350,"double-bits":352}],345:[function(require,module,exports){ 'use strict' var BN = require('bn.js') @@ -46906,7 +46899,7 @@ function isBN(x) { return x && typeof x === 'object' && Boolean(x.words) } -},{"bn.js":355}],350:[function(require,module,exports){ +},{"bn.js":351}],346:[function(require,module,exports){ 'use strict' var BN = require('bn.js') @@ -46923,7 +46916,7 @@ function num2bn(x) { } } -},{"bn.js":355,"double-bits":356}],351:[function(require,module,exports){ +},{"bn.js":351,"double-bits":352}],347:[function(require,module,exports){ 'use strict' var num2bn = require('./num-to-bn') @@ -46951,7 +46944,7 @@ function rationalize(numer, denom) { return [ numer, denom ] } -},{"./bn-sign":346,"./num-to-bn":350}],352:[function(require,module,exports){ +},{"./bn-sign":342,"./num-to-bn":346}],348:[function(require,module,exports){ 'use strict' var BN = require('bn.js') @@ -46962,7 +46955,7 @@ function str2BN(x) { return new BN(x) } -},{"bn.js":355}],353:[function(require,module,exports){ +},{"bn.js":351}],349:[function(require,module,exports){ 'use strict' var rationalize = require('./lib/rationalize') @@ -46973,9 +46966,9 @@ function mul(a, b) { return rationalize(a[0].mul(b[0]), a[1].mul(b[1])) } -},{"./lib/rationalize":351}],354:[function(require,module,exports){ -arguments[4][171][0].apply(exports,arguments) -},{"dup":171}],355:[function(require,module,exports){ +},{"./lib/rationalize":347}],350:[function(require,module,exports){ +arguments[4][167][0].apply(exports,arguments) +},{"dup":167}],351:[function(require,module,exports){ (function (module, exports) { 'use strict'; @@ -49295,7 +49288,7 @@ Mont.prototype.invm = function invm(a) { })(typeof module === 'undefined' || module, this); -},{}],356:[function(require,module,exports){ +},{}],352:[function(require,module,exports){ (function (Buffer){ var hasTypedArrays = false if(typeof Float64Array !== "undefined") { @@ -49399,7 +49392,7 @@ module.exports.denormalized = function(n) { return !(hi & 0x7ff00000) } }).call(this,require("buffer").Buffer) -},{"buffer":33}],357:[function(require,module,exports){ +},{"buffer":33}],353:[function(require,module,exports){ 'use strict' var bnsign = require('./lib/bn-sign') @@ -49410,7 +49403,7 @@ function sign(x) { return bnsign(x[0]) * bnsign(x[1]) } -},{"./lib/bn-sign":346}],358:[function(require,module,exports){ +},{"./lib/bn-sign":342}],354:[function(require,module,exports){ 'use strict' var rationalize = require('./lib/rationalize') @@ -49421,7 +49414,7 @@ function sub(a, b) { return rationalize(a[0].mul(b[1]).sub(a[1].mul(b[0])), a[1].mul(b[1])) } -},{"./lib/rationalize":351}],359:[function(require,module,exports){ +},{"./lib/rationalize":347}],355:[function(require,module,exports){ 'use strict' var bn2num = require('./lib/bn-to-num') @@ -49464,7 +49457,7 @@ function roundRat(f) { } } -},{"./lib/bn-to-num":347,"./lib/ctz":348}],360:[function(require,module,exports){ +},{"./lib/bn-to-num":343,"./lib/ctz":344}],356:[function(require,module,exports){ 'use strict' module.exports = boxIntersectWrapper @@ -49603,7 +49596,7 @@ function boxIntersectWrapper(arg0, arg1, arg2) { throw new Error('box-intersect: Invalid arguments') } } -},{"./lib/intersect":362,"./lib/sweep":366,"typedarray-pool":369}],361:[function(require,module,exports){ +},{"./lib/intersect":358,"./lib/sweep":362,"typedarray-pool":365}],357:[function(require,module,exports){ 'use strict' var DIMENSION = 'd' @@ -49748,7 +49741,7 @@ function bruteForcePlanner(full) { exports.partial = bruteForcePlanner(false) exports.full = bruteForcePlanner(true) -},{}],362:[function(require,module,exports){ +},{}],358:[function(require,module,exports){ 'use strict' module.exports = boxIntersectIter @@ -50243,7 +50236,7 @@ function boxIntersectIter( } } } -},{"./brute":361,"./median":363,"./partition":364,"./sweep":366,"bit-twiddle":367,"typedarray-pool":369}],363:[function(require,module,exports){ +},{"./brute":357,"./median":359,"./partition":360,"./sweep":362,"bit-twiddle":363,"typedarray-pool":365}],359:[function(require,module,exports){ 'use strict' module.exports = findMedian @@ -50386,7 +50379,7 @@ function findMedian(d, axis, start, end, boxes, ids) { start, mid, boxes, ids, boxes[elemSize*mid+axis]) } -},{"./partition":364}],364:[function(require,module,exports){ +},{"./partition":360}],360:[function(require,module,exports){ 'use strict' module.exports = genPartition @@ -50407,7 +50400,7 @@ function genPartition(predicate, args) { .replace('$', predicate)) return Function.apply(void 0, fargs) } -},{}],365:[function(require,module,exports){ +},{}],361:[function(require,module,exports){ 'use strict'; //This code is extracted from ndarray-sort @@ -50644,7 +50637,7 @@ function quickSort(left, right, data) { quickSort(less, great, data); } } -},{}],366:[function(require,module,exports){ +},{}],362:[function(require,module,exports){ 'use strict' module.exports = { @@ -51079,15 +51072,15 @@ red_loop: } } } -},{"./sort":365,"bit-twiddle":367,"typedarray-pool":369}],367:[function(require,module,exports){ -arguments[4][171][0].apply(exports,arguments) -},{"dup":171}],368:[function(require,module,exports){ -arguments[4][150][0].apply(exports,arguments) -},{"dup":150}],369:[function(require,module,exports){ -arguments[4][190][0].apply(exports,arguments) -},{"bit-twiddle":367,"buffer":33,"dup":190}],370:[function(require,module,exports){ -arguments[4][161][0].apply(exports,arguments) -},{"dup":161}],371:[function(require,module,exports){ +},{"./sort":361,"bit-twiddle":363,"typedarray-pool":365}],363:[function(require,module,exports){ +arguments[4][167][0].apply(exports,arguments) +},{"dup":167}],364:[function(require,module,exports){ +arguments[4][146][0].apply(exports,arguments) +},{"dup":146}],365:[function(require,module,exports){ +arguments[4][186][0].apply(exports,arguments) +},{"bit-twiddle":363,"buffer":33,"dup":186}],366:[function(require,module,exports){ +arguments[4][157][0].apply(exports,arguments) +},{"dup":157}],367:[function(require,module,exports){ "use strict" var doubleBits = require("double-bits") @@ -51130,9 +51123,9 @@ function nextafter(x, y) { } return doubleBits.pack(lo, hi) } -},{"double-bits":372}],372:[function(require,module,exports){ -arguments[4][356][0].apply(exports,arguments) -},{"buffer":33,"dup":356}],373:[function(require,module,exports){ +},{"double-bits":368}],368:[function(require,module,exports){ +arguments[4][352][0].apply(exports,arguments) +},{"buffer":33,"dup":352}],369:[function(require,module,exports){ 'use strict' var bnadd = require('big-rat/add') @@ -51148,7 +51141,7 @@ function add(a, b) { return r } -},{"big-rat/add":341}],374:[function(require,module,exports){ +},{"big-rat/add":337}],370:[function(require,module,exports){ 'use strict' module.exports = float2rat @@ -51163,7 +51156,7 @@ function float2rat(v) { return result } -},{"big-rat":344}],375:[function(require,module,exports){ +},{"big-rat":340}],371:[function(require,module,exports){ 'use strict' var rat = require('big-rat') @@ -51181,7 +51174,7 @@ function muls(a, x) { return r } -},{"big-rat":344,"big-rat/mul":353}],376:[function(require,module,exports){ +},{"big-rat":340,"big-rat/mul":349}],372:[function(require,module,exports){ 'use strict' var bnsub = require('big-rat/sub') @@ -51197,7 +51190,7 @@ function sub(a, b) { return r } -},{"big-rat/sub":358}],377:[function(require,module,exports){ +},{"big-rat/sub":354}],373:[function(require,module,exports){ "use strict" module.exports = segmentsIntersect @@ -51245,9 +51238,9 @@ function segmentsIntersect(a0, a1, b0, b1) { return true } -},{"robust-orientation":1130}],378:[function(require,module,exports){ -arguments[4][172][0].apply(exports,arguments) -},{"dup":172}],379:[function(require,module,exports){ +},{"robust-orientation":1126}],374:[function(require,module,exports){ +arguments[4][168][0].apply(exports,arguments) +},{"dup":168}],375:[function(require,module,exports){ 'use strict' module.exports = trimLeaves @@ -51303,7 +51296,7 @@ function trimLeaves(edges, positions) { return [ nedges, npositions ] } -},{"edges-to-adjacency-list":380}],380:[function(require,module,exports){ +},{"edges-to-adjacency-list":376}],376:[function(require,module,exports){ "use strict" module.exports = edgeToAdjacency @@ -51337,7 +51330,7 @@ function edgeToAdjacency(edges, numVertices) { } return adj } -},{"uniq":395}],381:[function(require,module,exports){ +},{"uniq":391}],377:[function(require,module,exports){ "use strict" module.exports = planarDual @@ -51468,7 +51461,7 @@ function planarDual(cells, positions) { //Combine paths and loops together return cycles } -},{"compare-angle":382}],382:[function(require,module,exports){ +},{"compare-angle":378}],378:[function(require,module,exports){ "use strict" module.exports = compareAngle @@ -51554,9 +51547,9 @@ function compareAngle(a, b, c, d) { } } } -},{"robust-orientation":1130,"robust-product":384,"robust-sum":393,"signum":385,"two-sum":386}],383:[function(require,module,exports){ -arguments[4][154][0].apply(exports,arguments) -},{"dup":154,"two-product":394,"two-sum":386}],384:[function(require,module,exports){ +},{"robust-orientation":1126,"robust-product":380,"robust-sum":389,"signum":381,"two-sum":382}],379:[function(require,module,exports){ +arguments[4][150][0].apply(exports,arguments) +},{"dup":150,"two-product":390,"two-sum":382}],380:[function(require,module,exports){ "use strict" var robustSum = require("robust-sum") @@ -51586,7 +51579,7 @@ function robustProduct(a, b) { } return r } -},{"robust-scale":383,"robust-sum":393}],385:[function(require,module,exports){ +},{"robust-scale":379,"robust-sum":389}],381:[function(require,module,exports){ "use strict" module.exports = function signum(x) { @@ -51594,11 +51587,11 @@ module.exports = function signum(x) { if(x > 0) { return 1 } return 0.0 } -},{}],386:[function(require,module,exports){ -arguments[4][153][0].apply(exports,arguments) -},{"dup":153}],387:[function(require,module,exports){ -arguments[4][121][0].apply(exports,arguments) -},{"dup":121}],388:[function(require,module,exports){ +},{}],382:[function(require,module,exports){ +arguments[4][149][0].apply(exports,arguments) +},{"dup":149}],383:[function(require,module,exports){ +arguments[4][117][0].apply(exports,arguments) +},{"dup":117}],384:[function(require,module,exports){ "use strict" var bounds = require("binary-search-bounds") @@ -51965,7 +51958,7 @@ function createWrapper(intervals) { return new IntervalTree(createIntervalTree(intervals)) } -},{"binary-search-bounds":387}],389:[function(require,module,exports){ +},{"binary-search-bounds":383}],385:[function(require,module,exports){ "use strict" module.exports = orderSegments @@ -52061,7 +52054,7 @@ function orderSegments(b, a) { } return ar[0] - br[0] } -},{"robust-orientation":1130}],390:[function(require,module,exports){ +},{"robust-orientation":1126}],386:[function(require,module,exports){ "use strict" module.exports = createRBTree @@ -53058,7 +53051,7 @@ function defaultCompare(a, b) { function createRBTree(compare) { return new RedBlackTree(compare || defaultCompare, null) } -},{}],391:[function(require,module,exports){ +},{}],387:[function(require,module,exports){ "use strict" module.exports = createSlabDecomposition @@ -53289,7 +53282,7 @@ function createSlabDecomposition(segments) { } return new SlabDecomposition(slabs, lines, horizontal) } -},{"./lib/order-segments":389,"binary-search-bounds":387,"functional-red-black-tree":390,"robust-orientation":1130}],392:[function(require,module,exports){ +},{"./lib/order-segments":385,"binary-search-bounds":383,"functional-red-black-tree":386,"robust-orientation":1126}],388:[function(require,module,exports){ module.exports = preprocessPolygon var orient = require('robust-orientation')[3] @@ -53441,13 +53434,13 @@ function preprocessPolygon(loops) { testSlab) } } -},{"binary-search-bounds":387,"interval-tree-1d":388,"robust-orientation":1130,"slab-decomposition":391}],393:[function(require,module,exports){ -arguments[4][155][0].apply(exports,arguments) -},{"dup":155}],394:[function(require,module,exports){ -arguments[4][156][0].apply(exports,arguments) -},{"dup":156}],395:[function(require,module,exports){ +},{"binary-search-bounds":383,"interval-tree-1d":384,"robust-orientation":1126,"slab-decomposition":387}],389:[function(require,module,exports){ +arguments[4][151][0].apply(exports,arguments) +},{"dup":151}],390:[function(require,module,exports){ +arguments[4][152][0].apply(exports,arguments) +},{"dup":152}],391:[function(require,module,exports){ arguments[4][76][0].apply(exports,arguments) -},{"dup":76}],396:[function(require,module,exports){ +},{"dup":76}],392:[function(require,module,exports){ 'use strict' module.exports = planarGraphToPolyline @@ -53652,9 +53645,9 @@ function planarGraphToPolyline(edges, positions) { return result } -},{"./lib/trim-leaves":379,"edges-to-adjacency-list":380,"planar-dual":381,"point-in-big-polygon":392,"robust-sum":393,"two-product":394,"uniq":395}],397:[function(require,module,exports){ -arguments[4][171][0].apply(exports,arguments) -},{"dup":171}],398:[function(require,module,exports){ +},{"./lib/trim-leaves":375,"edges-to-adjacency-list":376,"planar-dual":377,"point-in-big-polygon":388,"robust-sum":389,"two-product":390,"uniq":391}],393:[function(require,module,exports){ +arguments[4][167][0].apply(exports,arguments) +},{"dup":167}],394:[function(require,module,exports){ "use strict"; "use restrict"; module.exports = UnionFind; @@ -53711,9 +53704,9 @@ UnionFind.prototype.link = function(x, y) { } -},{}],399:[function(require,module,exports){ -arguments[4][173][0].apply(exports,arguments) -},{"bit-twiddle":397,"dup":173,"union-find":398}],400:[function(require,module,exports){ +},{}],395:[function(require,module,exports){ +arguments[4][169][0].apply(exports,arguments) +},{"bit-twiddle":393,"dup":169,"union-find":394}],396:[function(require,module,exports){ "use strict" module.exports = simplifyPolygon @@ -53985,7 +53978,7 @@ function simplifyPolygon(cells, positions, minArea) { edges: ncells } } -},{"robust-orientation":1130,"simplicial-complex":399}],401:[function(require,module,exports){ +},{"robust-orientation":1126,"simplicial-complex":395}],397:[function(require,module,exports){ "use strict" var pool = require("typedarray-pool") @@ -54401,13 +54394,13 @@ function createSurfaceExtractor(args) { order, typesig) } -},{"typedarray-pool":404}],402:[function(require,module,exports){ -arguments[4][171][0].apply(exports,arguments) -},{"dup":171}],403:[function(require,module,exports){ -arguments[4][150][0].apply(exports,arguments) -},{"dup":150}],404:[function(require,module,exports){ -arguments[4][190][0].apply(exports,arguments) -},{"bit-twiddle":402,"buffer":33,"dup":190}],405:[function(require,module,exports){ +},{"typedarray-pool":400}],398:[function(require,module,exports){ +arguments[4][167][0].apply(exports,arguments) +},{"dup":167}],399:[function(require,module,exports){ +arguments[4][146][0].apply(exports,arguments) +},{"dup":146}],400:[function(require,module,exports){ +arguments[4][186][0].apply(exports,arguments) +},{"bit-twiddle":398,"buffer":33,"dup":186}],401:[function(require,module,exports){ // transliterated from the python snippet here: // http://en.wikipedia.org/wiki/Lanczos_approximation @@ -54476,13 +54469,13 @@ module.exports = function gamma (z) { module.exports.log = lngamma; -},{}],406:[function(require,module,exports){ -arguments[4][171][0].apply(exports,arguments) -},{"dup":171}],407:[function(require,module,exports){ -arguments[4][150][0].apply(exports,arguments) -},{"dup":150}],408:[function(require,module,exports){ -arguments[4][190][0].apply(exports,arguments) -},{"bit-twiddle":406,"buffer":33,"dup":190}],409:[function(require,module,exports){ +},{}],402:[function(require,module,exports){ +arguments[4][167][0].apply(exports,arguments) +},{"dup":167}],403:[function(require,module,exports){ +arguments[4][146][0].apply(exports,arguments) +},{"dup":146}],404:[function(require,module,exports){ +arguments[4][186][0].apply(exports,arguments) +},{"bit-twiddle":402,"buffer":33,"dup":186}],405:[function(require,module,exports){ "use strict" module.exports = permutationSign @@ -54534,7 +54527,7 @@ function permutationSign(p) { return sgn } } -},{"typedarray-pool":408}],410:[function(require,module,exports){ +},{"typedarray-pool":404}],406:[function(require,module,exports){ "use strict" var pool = require("typedarray-pool") @@ -54621,7 +54614,7 @@ function unrank(n, r, p) { exports.rank = rank exports.unrank = unrank -},{"invert-permutation":411,"typedarray-pool":414}],411:[function(require,module,exports){ +},{"invert-permutation":407,"typedarray-pool":410}],407:[function(require,module,exports){ "use strict" function invertPermutation(pi, result) { @@ -54633,13 +54626,13 @@ function invertPermutation(pi, result) { } module.exports = invertPermutation -},{}],412:[function(require,module,exports){ -arguments[4][171][0].apply(exports,arguments) -},{"dup":171}],413:[function(require,module,exports){ -arguments[4][150][0].apply(exports,arguments) -},{"dup":150}],414:[function(require,module,exports){ -arguments[4][190][0].apply(exports,arguments) -},{"bit-twiddle":412,"buffer":33,"dup":190}],415:[function(require,module,exports){ +},{}],408:[function(require,module,exports){ +arguments[4][167][0].apply(exports,arguments) +},{"dup":167}],409:[function(require,module,exports){ +arguments[4][146][0].apply(exports,arguments) +},{"dup":146}],410:[function(require,module,exports){ +arguments[4][186][0].apply(exports,arguments) +},{"bit-twiddle":408,"buffer":33,"dup":186}],411:[function(require,module,exports){ "use strict" module.exports = triangulateCube @@ -54673,7 +54666,7 @@ function triangulateCube(dimension) { } return result } -},{"gamma":405,"permutation-parity":409,"permutation-rank":410}],416:[function(require,module,exports){ +},{"gamma":401,"permutation-parity":405,"permutation-rank":406}],412:[function(require,module,exports){ module.exports = require('cwise-compiler')({ args: ['array', { offset: [1], @@ -54725,15 +54718,15 @@ module.exports = require('cwise-compiler')({ funcName: 'zeroCrossings' }) -},{"cwise-compiler":417}],417:[function(require,module,exports){ +},{"cwise-compiler":413}],413:[function(require,module,exports){ arguments[4][73][0].apply(exports,arguments) -},{"./lib/thunk.js":419,"dup":73}],418:[function(require,module,exports){ +},{"./lib/thunk.js":415,"dup":73}],414:[function(require,module,exports){ arguments[4][74][0].apply(exports,arguments) -},{"dup":74,"uniq":420}],419:[function(require,module,exports){ +},{"dup":74,"uniq":416}],415:[function(require,module,exports){ arguments[4][75][0].apply(exports,arguments) -},{"./compile.js":418,"dup":75}],420:[function(require,module,exports){ +},{"./compile.js":414,"dup":75}],416:[function(require,module,exports){ arguments[4][76][0].apply(exports,arguments) -},{"dup":76}],421:[function(require,module,exports){ +},{"dup":76}],417:[function(require,module,exports){ "use strict" module.exports = findZeroCrossings @@ -54746,7 +54739,7 @@ function findZeroCrossings(array, level) { core(array.hi(array.shape[0]-1), cross, level) return cross } -},{"./lib/zc-core":416}],422:[function(require,module,exports){ +},{"./lib/zc-core":412}],418:[function(require,module,exports){ "use strict" module.exports = surfaceNets @@ -54954,7 +54947,7 @@ function surfaceNets(array,level) { } return proc(array,level) } -},{"ndarray-extract-contour":401,"triangulate-hypercube":415,"zero-crossings":421}],423:[function(require,module,exports){ +},{"ndarray-extract-contour":397,"triangulate-hypercube":411,"zero-crossings":417}],419:[function(require,module,exports){ (function (process){ 'use strict' @@ -55044,7 +55037,7 @@ function textGet(font, text, opts) { } }).call(this,require('_process')) -},{"_process":41,"vectorize-text":326}],424:[function(require,module,exports){ +},{"_process":41,"vectorize-text":322}],420:[function(require,module,exports){ 'use strict' module.exports = createGLPlot2D @@ -55625,7 +55618,7 @@ function createGLPlot2D(options) { return plot } -},{"./lib/box":279,"./lib/grid":280,"./lib/line":281,"./lib/text":283,"gl-select-static":299}],425:[function(require,module,exports){ +},{"./lib/box":275,"./lib/grid":276,"./lib/line":277,"./lib/text":279,"gl-select-static":295}],421:[function(require,module,exports){ var createShader = require('gl-shader') @@ -55636,7 +55629,7 @@ module.exports = function(gl) { return createShader(gl, vertSrc, fragSrc, null, [ { name: 'position', type: 'vec2'}]) } -},{"gl-shader":838}],426:[function(require,module,exports){ +},{"gl-shader":834}],422:[function(require,module,exports){ 'use strict' module.exports = createCamera @@ -55845,23 +55838,23 @@ function createCamera(element, options) { return camera } -},{"3d-view":145,"mouse-change":1094,"mouse-wheel":1098,"right-now":1124}],427:[function(require,module,exports){ -arguments[4][187][0].apply(exports,arguments) -},{"dup":187,"ndarray":1121,"ndarray-ops":1116,"typedarray-pool":430}],428:[function(require,module,exports){ -arguments[4][171][0].apply(exports,arguments) -},{"dup":171}],429:[function(require,module,exports){ -arguments[4][150][0].apply(exports,arguments) -},{"dup":150}],430:[function(require,module,exports){ -arguments[4][190][0].apply(exports,arguments) -},{"bit-twiddle":428,"buffer":33,"dup":190}],431:[function(require,module,exports){ -arguments[4][196][0].apply(exports,arguments) -},{"dup":196}],432:[function(require,module,exports){ -arguments[4][197][0].apply(exports,arguments) -},{"./do-bind.js":431,"dup":197}],433:[function(require,module,exports){ -arguments[4][198][0].apply(exports,arguments) -},{"./do-bind.js":431,"dup":198}],434:[function(require,module,exports){ -arguments[4][199][0].apply(exports,arguments) -},{"./lib/vao-emulated.js":432,"./lib/vao-native.js":433,"dup":199}],435:[function(require,module,exports){ +},{"3d-view":141,"mouse-change":1090,"mouse-wheel":1094,"right-now":1120}],423:[function(require,module,exports){ +arguments[4][183][0].apply(exports,arguments) +},{"dup":183,"ndarray":1117,"ndarray-ops":1112,"typedarray-pool":426}],424:[function(require,module,exports){ +arguments[4][167][0].apply(exports,arguments) +},{"dup":167}],425:[function(require,module,exports){ +arguments[4][146][0].apply(exports,arguments) +},{"dup":146}],426:[function(require,module,exports){ +arguments[4][186][0].apply(exports,arguments) +},{"bit-twiddle":424,"buffer":33,"dup":186}],427:[function(require,module,exports){ +arguments[4][192][0].apply(exports,arguments) +},{"dup":192}],428:[function(require,module,exports){ +arguments[4][193][0].apply(exports,arguments) +},{"./do-bind.js":427,"dup":193}],429:[function(require,module,exports){ +arguments[4][194][0].apply(exports,arguments) +},{"./do-bind.js":427,"dup":194}],430:[function(require,module,exports){ +arguments[4][195][0].apply(exports,arguments) +},{"./lib/vao-emulated.js":428,"./lib/vao-native.js":429,"dup":195}],431:[function(require,module,exports){ // Copyright (C) 2011 Google Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); @@ -56548,7 +56541,7 @@ arguments[4][199][0].apply(exports,arguments) } })(); -},{}],436:[function(require,module,exports){ +},{}],432:[function(require,module,exports){ 'use strict' var weakMap = typeof WeakMap === 'undefined' ? require('weak-map') : WeakMap @@ -56579,7 +56572,7 @@ function createABigTriangle(gl) { module.exports = createABigTriangle -},{"gl-buffer":427,"gl-vao":434,"weak-map":435}],437:[function(require,module,exports){ +},{"gl-buffer":423,"gl-vao":430,"weak-map":431}],433:[function(require,module,exports){ 'use strict' module.exports = createAxes @@ -57102,7 +57095,7 @@ function createAxes(gl, options) { return axes } -},{"./lib/background.js":438,"./lib/cube.js":439,"./lib/lines.js":440,"./lib/text.js":442,"./lib/ticks.js":443}],438:[function(require,module,exports){ +},{"./lib/background.js":434,"./lib/cube.js":435,"./lib/lines.js":436,"./lib/text.js":438,"./lib/ticks.js":439}],434:[function(require,module,exports){ 'use strict' module.exports = createBackgroundCube @@ -57214,7 +57207,7 @@ function createBackgroundCube(gl) { return new BackgroundCube(gl, buffer, vao, shader) } -},{"./shaders":441,"gl-buffer":447,"gl-vao":452}],439:[function(require,module,exports){ +},{"./shaders":437,"gl-buffer":443,"gl-vao":448}],435:[function(require,module,exports){ "use strict" module.exports = getCubeEdges @@ -57455,7 +57448,7 @@ function getCubeEdges(model, view, projection, bounds) { //Return result return CUBE_RESULT } -},{"bit-twiddle":444,"gl-mat4/invert":238,"gl-mat4/multiply":240,"robust-orientation":1130,"split-polygon":454}],440:[function(require,module,exports){ +},{"bit-twiddle":440,"gl-mat4/invert":234,"gl-mat4/multiply":236,"robust-orientation":1126,"split-polygon":450}],436:[function(require,module,exports){ 'use strict' module.exports = createLines @@ -57661,7 +57654,7 @@ function createLines(gl, bounds, ticks) { return new Lines(gl, vertBuf, vao, shader, tickCount, tickOffset, gridCount, gridOffset) } -},{"./shaders":441,"gl-buffer":447,"gl-vao":452}],441:[function(require,module,exports){ +},{"./shaders":437,"gl-buffer":443,"gl-vao":448}],437:[function(require,module,exports){ 'use strict' @@ -57692,7 +57685,7 @@ exports.bg = function(gl) { ]) } -},{"gl-shader":838}],442:[function(require,module,exports){ +},{"gl-shader":834}],438:[function(require,module,exports){ (function (process){ "use strict" @@ -57894,7 +57887,7 @@ function createTextSprites( } }).call(this,require('_process')) -},{"./shaders":441,"_process":41,"gl-buffer":447,"gl-vao":452,"vectorize-text":458}],443:[function(require,module,exports){ +},{"./shaders":437,"_process":41,"gl-buffer":443,"gl-vao":448,"vectorize-text":454}],439:[function(require,module,exports){ 'use strict' exports.create = defaultTicks @@ -57975,11 +57968,11 @@ function ticksEqual(ticksA, ticksB) { } return true } -},{}],444:[function(require,module,exports){ -arguments[4][171][0].apply(exports,arguments) -},{"dup":171}],445:[function(require,module,exports){ -arguments[4][150][0].apply(exports,arguments) -},{"dup":150}],446:[function(require,module,exports){ +},{}],440:[function(require,module,exports){ +arguments[4][167][0].apply(exports,arguments) +},{"dup":167}],441:[function(require,module,exports){ +arguments[4][146][0].apply(exports,arguments) +},{"dup":146}],442:[function(require,module,exports){ "use strict" module.exports = extractPlanes @@ -57996,19 +57989,19 @@ function extractPlanes(M, zNear, zFar) { [ zf*M[12] - M[8], zf*M[13] - M[9], zf*M[14] - M[10], zf*M[15] - M[11] ] ] } -},{}],447:[function(require,module,exports){ -arguments[4][187][0].apply(exports,arguments) -},{"dup":187,"ndarray":1121,"ndarray-ops":1116,"typedarray-pool":448}],448:[function(require,module,exports){ -arguments[4][190][0].apply(exports,arguments) -},{"bit-twiddle":444,"buffer":33,"dup":190}],449:[function(require,module,exports){ -arguments[4][196][0].apply(exports,arguments) -},{"dup":196}],450:[function(require,module,exports){ -arguments[4][197][0].apply(exports,arguments) -},{"./do-bind.js":449,"dup":197}],451:[function(require,module,exports){ -arguments[4][198][0].apply(exports,arguments) -},{"./do-bind.js":449,"dup":198}],452:[function(require,module,exports){ -arguments[4][199][0].apply(exports,arguments) -},{"./lib/vao-emulated.js":450,"./lib/vao-native.js":451,"dup":199}],453:[function(require,module,exports){ +},{}],443:[function(require,module,exports){ +arguments[4][183][0].apply(exports,arguments) +},{"dup":183,"ndarray":1117,"ndarray-ops":1112,"typedarray-pool":444}],444:[function(require,module,exports){ +arguments[4][186][0].apply(exports,arguments) +},{"bit-twiddle":440,"buffer":33,"dup":186}],445:[function(require,module,exports){ +arguments[4][192][0].apply(exports,arguments) +},{"dup":192}],446:[function(require,module,exports){ +arguments[4][193][0].apply(exports,arguments) +},{"./do-bind.js":445,"dup":193}],447:[function(require,module,exports){ +arguments[4][194][0].apply(exports,arguments) +},{"./do-bind.js":445,"dup":194}],448:[function(require,module,exports){ +arguments[4][195][0].apply(exports,arguments) +},{"./lib/vao-emulated.js":446,"./lib/vao-native.js":447,"dup":195}],449:[function(require,module,exports){ module.exports = transformMat4 /** @@ -58028,7 +58021,7 @@ function transformMat4 (out, a, m) { return out } -},{}],454:[function(require,module,exports){ +},{}],450:[function(require,module,exports){ "use strict" var robustDot = require("robust-dot-product") @@ -58120,7 +58113,7 @@ function negative(points, plane) { } return neg } -},{"robust-dot-product":455,"robust-sum":457}],455:[function(require,module,exports){ +},{"robust-dot-product":451,"robust-sum":453}],451:[function(require,module,exports){ "use strict" var twoProduct = require("two-product") @@ -58135,189 +58128,189 @@ function robustDotProduct(a, b) { } return r } -},{"robust-sum":457,"two-product":456}],456:[function(require,module,exports){ -arguments[4][156][0].apply(exports,arguments) -},{"dup":156}],457:[function(require,module,exports){ -arguments[4][155][0].apply(exports,arguments) -},{"dup":155}],458:[function(require,module,exports){ +},{"robust-sum":453,"two-product":452}],452:[function(require,module,exports){ +arguments[4][152][0].apply(exports,arguments) +},{"dup":152}],453:[function(require,module,exports){ +arguments[4][151][0].apply(exports,arguments) +},{"dup":151}],454:[function(require,module,exports){ +arguments[4][322][0].apply(exports,arguments) +},{"./lib/vtext":455,"dup":322}],455:[function(require,module,exports){ +arguments[4][323][0].apply(exports,arguments) +},{"cdt2d":456,"clean-pslg":468,"dup":323,"ndarray":1117,"planar-graph-to-polyline":522,"simplify-planar-graph":526,"surface-nets":542}],456:[function(require,module,exports){ +arguments[4][324][0].apply(exports,arguments) +},{"./lib/delaunay":457,"./lib/filter":458,"./lib/monotone":459,"./lib/triangulation":460,"dup":324}],457:[function(require,module,exports){ +arguments[4][325][0].apply(exports,arguments) +},{"binary-search-bounds":461,"dup":325,"robust-in-sphere":462}],458:[function(require,module,exports){ arguments[4][326][0].apply(exports,arguments) -},{"./lib/vtext":459,"dup":326}],459:[function(require,module,exports){ +},{"binary-search-bounds":461,"dup":326}],459:[function(require,module,exports){ arguments[4][327][0].apply(exports,arguments) -},{"cdt2d":460,"clean-pslg":472,"dup":327,"ndarray":1121,"planar-graph-to-polyline":526,"simplify-planar-graph":530,"surface-nets":546}],460:[function(require,module,exports){ +},{"binary-search-bounds":461,"dup":327,"robust-orientation":1126}],460:[function(require,module,exports){ arguments[4][328][0].apply(exports,arguments) -},{"./lib/delaunay":461,"./lib/filter":462,"./lib/monotone":463,"./lib/triangulation":464,"dup":328}],461:[function(require,module,exports){ +},{"binary-search-bounds":461,"dup":328}],461:[function(require,module,exports){ +arguments[4][199][0].apply(exports,arguments) +},{"dup":199}],462:[function(require,module,exports){ arguments[4][329][0].apply(exports,arguments) -},{"binary-search-bounds":465,"dup":329,"robust-in-sphere":466}],462:[function(require,module,exports){ -arguments[4][330][0].apply(exports,arguments) -},{"binary-search-bounds":465,"dup":330}],463:[function(require,module,exports){ -arguments[4][331][0].apply(exports,arguments) -},{"binary-search-bounds":465,"dup":331,"robust-orientation":1130}],464:[function(require,module,exports){ +},{"dup":329,"robust-scale":464,"robust-subtract":465,"robust-sum":466,"two-product":467}],463:[function(require,module,exports){ +arguments[4][149][0].apply(exports,arguments) +},{"dup":149}],464:[function(require,module,exports){ +arguments[4][150][0].apply(exports,arguments) +},{"dup":150,"two-product":467,"two-sum":463}],465:[function(require,module,exports){ arguments[4][332][0].apply(exports,arguments) -},{"binary-search-bounds":465,"dup":332}],465:[function(require,module,exports){ -arguments[4][203][0].apply(exports,arguments) -},{"dup":203}],466:[function(require,module,exports){ -arguments[4][333][0].apply(exports,arguments) -},{"dup":333,"robust-scale":468,"robust-subtract":469,"robust-sum":470,"two-product":471}],467:[function(require,module,exports){ -arguments[4][153][0].apply(exports,arguments) -},{"dup":153}],468:[function(require,module,exports){ -arguments[4][154][0].apply(exports,arguments) -},{"dup":154,"two-product":471,"two-sum":467}],469:[function(require,module,exports){ +},{"dup":332}],466:[function(require,module,exports){ +arguments[4][151][0].apply(exports,arguments) +},{"dup":151}],467:[function(require,module,exports){ +arguments[4][152][0].apply(exports,arguments) +},{"dup":152}],468:[function(require,module,exports){ +arguments[4][335][0].apply(exports,arguments) +},{"./lib/rat-seg-intersect":469,"big-rat":473,"big-rat/cmp":471,"big-rat/to-float":487,"box-intersect":488,"compare-cell":496,"dup":335,"nextafter":497,"rat-vec":500,"robust-segment-intersect":503,"union-find":504}],469:[function(require,module,exports){ arguments[4][336][0].apply(exports,arguments) -},{"dup":336}],470:[function(require,module,exports){ -arguments[4][155][0].apply(exports,arguments) -},{"dup":155}],471:[function(require,module,exports){ -arguments[4][156][0].apply(exports,arguments) -},{"dup":156}],472:[function(require,module,exports){ +},{"big-rat/div":472,"big-rat/mul":482,"big-rat/sign":485,"big-rat/sub":486,"big-rat/to-float":487,"dup":336,"rat-vec/add":499,"rat-vec/muls":501,"rat-vec/sub":502}],470:[function(require,module,exports){ +arguments[4][337][0].apply(exports,arguments) +},{"./lib/rationalize":480,"dup":337}],471:[function(require,module,exports){ +arguments[4][338][0].apply(exports,arguments) +},{"dup":338}],472:[function(require,module,exports){ arguments[4][339][0].apply(exports,arguments) -},{"./lib/rat-seg-intersect":473,"big-rat":477,"big-rat/cmp":475,"big-rat/to-float":491,"box-intersect":492,"compare-cell":500,"dup":339,"nextafter":501,"rat-vec":504,"robust-segment-intersect":507,"union-find":508}],473:[function(require,module,exports){ +},{"./lib/rationalize":480,"dup":339}],473:[function(require,module,exports){ arguments[4][340][0].apply(exports,arguments) -},{"big-rat/div":476,"big-rat/mul":486,"big-rat/sign":489,"big-rat/sub":490,"big-rat/to-float":491,"dup":340,"rat-vec/add":503,"rat-vec/muls":505,"rat-vec/sub":506}],474:[function(require,module,exports){ +},{"./div":472,"./is-rat":474,"./lib/is-bn":478,"./lib/num-to-bn":479,"./lib/rationalize":480,"./lib/str-to-bn":481,"dup":340}],474:[function(require,module,exports){ arguments[4][341][0].apply(exports,arguments) -},{"./lib/rationalize":484,"dup":341}],475:[function(require,module,exports){ +},{"./lib/is-bn":478,"dup":341}],475:[function(require,module,exports){ arguments[4][342][0].apply(exports,arguments) -},{"dup":342}],476:[function(require,module,exports){ +},{"bn.js":483,"dup":342}],476:[function(require,module,exports){ arguments[4][343][0].apply(exports,arguments) -},{"./lib/rationalize":484,"dup":343}],477:[function(require,module,exports){ +},{"dup":343}],477:[function(require,module,exports){ arguments[4][344][0].apply(exports,arguments) -},{"./div":476,"./is-rat":478,"./lib/is-bn":482,"./lib/num-to-bn":483,"./lib/rationalize":484,"./lib/str-to-bn":485,"dup":344}],478:[function(require,module,exports){ +},{"bit-twiddle":440,"double-bits":484,"dup":344}],478:[function(require,module,exports){ arguments[4][345][0].apply(exports,arguments) -},{"./lib/is-bn":482,"dup":345}],479:[function(require,module,exports){ +},{"bn.js":483,"dup":345}],479:[function(require,module,exports){ arguments[4][346][0].apply(exports,arguments) -},{"bn.js":487,"dup":346}],480:[function(require,module,exports){ +},{"bn.js":483,"double-bits":484,"dup":346}],480:[function(require,module,exports){ arguments[4][347][0].apply(exports,arguments) -},{"dup":347}],481:[function(require,module,exports){ +},{"./bn-sign":475,"./num-to-bn":479,"dup":347}],481:[function(require,module,exports){ arguments[4][348][0].apply(exports,arguments) -},{"bit-twiddle":444,"double-bits":488,"dup":348}],482:[function(require,module,exports){ +},{"bn.js":483,"dup":348}],482:[function(require,module,exports){ arguments[4][349][0].apply(exports,arguments) -},{"bn.js":487,"dup":349}],483:[function(require,module,exports){ -arguments[4][350][0].apply(exports,arguments) -},{"bn.js":487,"double-bits":488,"dup":350}],484:[function(require,module,exports){ +},{"./lib/rationalize":480,"dup":349}],483:[function(require,module,exports){ arguments[4][351][0].apply(exports,arguments) -},{"./bn-sign":479,"./num-to-bn":483,"dup":351}],485:[function(require,module,exports){ +},{"dup":351}],484:[function(require,module,exports){ arguments[4][352][0].apply(exports,arguments) -},{"bn.js":487,"dup":352}],486:[function(require,module,exports){ +},{"buffer":33,"dup":352}],485:[function(require,module,exports){ arguments[4][353][0].apply(exports,arguments) -},{"./lib/rationalize":484,"dup":353}],487:[function(require,module,exports){ +},{"./lib/bn-sign":475,"dup":353}],486:[function(require,module,exports){ +arguments[4][354][0].apply(exports,arguments) +},{"./lib/rationalize":480,"dup":354}],487:[function(require,module,exports){ arguments[4][355][0].apply(exports,arguments) -},{"dup":355}],488:[function(require,module,exports){ +},{"./lib/bn-to-num":476,"./lib/ctz":477,"dup":355}],488:[function(require,module,exports){ arguments[4][356][0].apply(exports,arguments) -},{"buffer":33,"dup":356}],489:[function(require,module,exports){ +},{"./lib/intersect":490,"./lib/sweep":494,"dup":356,"typedarray-pool":495}],489:[function(require,module,exports){ arguments[4][357][0].apply(exports,arguments) -},{"./lib/bn-sign":479,"dup":357}],490:[function(require,module,exports){ +},{"dup":357}],490:[function(require,module,exports){ arguments[4][358][0].apply(exports,arguments) -},{"./lib/rationalize":484,"dup":358}],491:[function(require,module,exports){ +},{"./brute":489,"./median":491,"./partition":492,"./sweep":494,"bit-twiddle":440,"dup":358,"typedarray-pool":495}],491:[function(require,module,exports){ arguments[4][359][0].apply(exports,arguments) -},{"./lib/bn-to-num":480,"./lib/ctz":481,"dup":359}],492:[function(require,module,exports){ +},{"./partition":492,"dup":359}],492:[function(require,module,exports){ arguments[4][360][0].apply(exports,arguments) -},{"./lib/intersect":494,"./lib/sweep":498,"dup":360,"typedarray-pool":499}],493:[function(require,module,exports){ +},{"dup":360}],493:[function(require,module,exports){ arguments[4][361][0].apply(exports,arguments) },{"dup":361}],494:[function(require,module,exports){ arguments[4][362][0].apply(exports,arguments) -},{"./brute":493,"./median":495,"./partition":496,"./sweep":498,"bit-twiddle":444,"dup":362,"typedarray-pool":499}],495:[function(require,module,exports){ -arguments[4][363][0].apply(exports,arguments) -},{"./partition":496,"dup":363}],496:[function(require,module,exports){ -arguments[4][364][0].apply(exports,arguments) -},{"dup":364}],497:[function(require,module,exports){ -arguments[4][365][0].apply(exports,arguments) -},{"dup":365}],498:[function(require,module,exports){ -arguments[4][366][0].apply(exports,arguments) -},{"./sort":497,"bit-twiddle":444,"dup":366,"typedarray-pool":499}],499:[function(require,module,exports){ -arguments[4][190][0].apply(exports,arguments) -},{"bit-twiddle":444,"buffer":33,"dup":190}],500:[function(require,module,exports){ -arguments[4][161][0].apply(exports,arguments) -},{"dup":161}],501:[function(require,module,exports){ +},{"./sort":493,"bit-twiddle":440,"dup":362,"typedarray-pool":495}],495:[function(require,module,exports){ +arguments[4][186][0].apply(exports,arguments) +},{"bit-twiddle":440,"buffer":33,"dup":186}],496:[function(require,module,exports){ +arguments[4][157][0].apply(exports,arguments) +},{"dup":157}],497:[function(require,module,exports){ +arguments[4][367][0].apply(exports,arguments) +},{"double-bits":498,"dup":367}],498:[function(require,module,exports){ +arguments[4][352][0].apply(exports,arguments) +},{"buffer":33,"dup":352}],499:[function(require,module,exports){ +arguments[4][369][0].apply(exports,arguments) +},{"big-rat/add":470,"dup":369}],500:[function(require,module,exports){ +arguments[4][370][0].apply(exports,arguments) +},{"big-rat":473,"dup":370}],501:[function(require,module,exports){ arguments[4][371][0].apply(exports,arguments) -},{"double-bits":502,"dup":371}],502:[function(require,module,exports){ -arguments[4][356][0].apply(exports,arguments) -},{"buffer":33,"dup":356}],503:[function(require,module,exports){ +},{"big-rat":473,"big-rat/mul":482,"dup":371}],502:[function(require,module,exports){ +arguments[4][372][0].apply(exports,arguments) +},{"big-rat/sub":486,"dup":372}],503:[function(require,module,exports){ arguments[4][373][0].apply(exports,arguments) -},{"big-rat/add":474,"dup":373}],504:[function(require,module,exports){ -arguments[4][374][0].apply(exports,arguments) -},{"big-rat":477,"dup":374}],505:[function(require,module,exports){ +},{"dup":373,"robust-orientation":1126}],504:[function(require,module,exports){ +arguments[4][168][0].apply(exports,arguments) +},{"dup":168}],505:[function(require,module,exports){ arguments[4][375][0].apply(exports,arguments) -},{"big-rat":477,"big-rat/mul":486,"dup":375}],506:[function(require,module,exports){ +},{"dup":375,"edges-to-adjacency-list":506}],506:[function(require,module,exports){ arguments[4][376][0].apply(exports,arguments) -},{"big-rat/sub":490,"dup":376}],507:[function(require,module,exports){ +},{"dup":376,"uniq":521}],507:[function(require,module,exports){ arguments[4][377][0].apply(exports,arguments) -},{"dup":377,"robust-orientation":1130}],508:[function(require,module,exports){ -arguments[4][172][0].apply(exports,arguments) -},{"dup":172}],509:[function(require,module,exports){ -arguments[4][379][0].apply(exports,arguments) -},{"dup":379,"edges-to-adjacency-list":510}],510:[function(require,module,exports){ +},{"compare-angle":508,"dup":377}],508:[function(require,module,exports){ +arguments[4][378][0].apply(exports,arguments) +},{"dup":378,"robust-orientation":1126,"robust-product":510,"robust-sum":519,"signum":511,"two-sum":512}],509:[function(require,module,exports){ +arguments[4][150][0].apply(exports,arguments) +},{"dup":150,"two-product":520,"two-sum":512}],510:[function(require,module,exports){ arguments[4][380][0].apply(exports,arguments) -},{"dup":380,"uniq":525}],511:[function(require,module,exports){ +},{"dup":380,"robust-scale":509,"robust-sum":519}],511:[function(require,module,exports){ arguments[4][381][0].apply(exports,arguments) -},{"compare-angle":512,"dup":381}],512:[function(require,module,exports){ -arguments[4][382][0].apply(exports,arguments) -},{"dup":382,"robust-orientation":1130,"robust-product":514,"robust-sum":523,"signum":515,"two-sum":516}],513:[function(require,module,exports){ -arguments[4][154][0].apply(exports,arguments) -},{"dup":154,"two-product":524,"two-sum":516}],514:[function(require,module,exports){ +},{"dup":381}],512:[function(require,module,exports){ +arguments[4][149][0].apply(exports,arguments) +},{"dup":149}],513:[function(require,module,exports){ +arguments[4][117][0].apply(exports,arguments) +},{"dup":117}],514:[function(require,module,exports){ arguments[4][384][0].apply(exports,arguments) -},{"dup":384,"robust-scale":513,"robust-sum":523}],515:[function(require,module,exports){ +},{"binary-search-bounds":513,"dup":384}],515:[function(require,module,exports){ arguments[4][385][0].apply(exports,arguments) -},{"dup":385}],516:[function(require,module,exports){ -arguments[4][153][0].apply(exports,arguments) -},{"dup":153}],517:[function(require,module,exports){ -arguments[4][121][0].apply(exports,arguments) -},{"dup":121}],518:[function(require,module,exports){ +},{"dup":385,"robust-orientation":1126}],516:[function(require,module,exports){ +arguments[4][386][0].apply(exports,arguments) +},{"dup":386}],517:[function(require,module,exports){ +arguments[4][387][0].apply(exports,arguments) +},{"./lib/order-segments":515,"binary-search-bounds":513,"dup":387,"functional-red-black-tree":516,"robust-orientation":1126}],518:[function(require,module,exports){ arguments[4][388][0].apply(exports,arguments) -},{"binary-search-bounds":517,"dup":388}],519:[function(require,module,exports){ -arguments[4][389][0].apply(exports,arguments) -},{"dup":389,"robust-orientation":1130}],520:[function(require,module,exports){ -arguments[4][390][0].apply(exports,arguments) -},{"dup":390}],521:[function(require,module,exports){ -arguments[4][391][0].apply(exports,arguments) -},{"./lib/order-segments":519,"binary-search-bounds":517,"dup":391,"functional-red-black-tree":520,"robust-orientation":1130}],522:[function(require,module,exports){ +},{"binary-search-bounds":513,"dup":388,"interval-tree-1d":514,"robust-orientation":1126,"slab-decomposition":517}],519:[function(require,module,exports){ +arguments[4][151][0].apply(exports,arguments) +},{"dup":151}],520:[function(require,module,exports){ +arguments[4][152][0].apply(exports,arguments) +},{"dup":152}],521:[function(require,module,exports){ +arguments[4][76][0].apply(exports,arguments) +},{"dup":76}],522:[function(require,module,exports){ arguments[4][392][0].apply(exports,arguments) -},{"binary-search-bounds":517,"dup":392,"interval-tree-1d":518,"robust-orientation":1130,"slab-decomposition":521}],523:[function(require,module,exports){ -arguments[4][155][0].apply(exports,arguments) -},{"dup":155}],524:[function(require,module,exports){ -arguments[4][156][0].apply(exports,arguments) -},{"dup":156}],525:[function(require,module,exports){ -arguments[4][76][0].apply(exports,arguments) -},{"dup":76}],526:[function(require,module,exports){ +},{"./lib/trim-leaves":505,"dup":392,"edges-to-adjacency-list":506,"planar-dual":507,"point-in-big-polygon":518,"robust-sum":519,"two-product":520,"uniq":521}],523:[function(require,module,exports){ +arguments[4][167][0].apply(exports,arguments) +},{"dup":167}],524:[function(require,module,exports){ +arguments[4][394][0].apply(exports,arguments) +},{"dup":394}],525:[function(require,module,exports){ +arguments[4][169][0].apply(exports,arguments) +},{"bit-twiddle":523,"dup":169,"union-find":524}],526:[function(require,module,exports){ arguments[4][396][0].apply(exports,arguments) -},{"./lib/trim-leaves":509,"dup":396,"edges-to-adjacency-list":510,"planar-dual":511,"point-in-big-polygon":522,"robust-sum":523,"two-product":524,"uniq":525}],527:[function(require,module,exports){ -arguments[4][171][0].apply(exports,arguments) -},{"dup":171}],528:[function(require,module,exports){ -arguments[4][398][0].apply(exports,arguments) -},{"dup":398}],529:[function(require,module,exports){ -arguments[4][173][0].apply(exports,arguments) -},{"bit-twiddle":527,"dup":173,"union-find":528}],530:[function(require,module,exports){ -arguments[4][400][0].apply(exports,arguments) -},{"dup":400,"robust-orientation":1130,"simplicial-complex":529}],531:[function(require,module,exports){ +},{"dup":396,"robust-orientation":1126,"simplicial-complex":525}],527:[function(require,module,exports){ +arguments[4][397][0].apply(exports,arguments) +},{"dup":397,"typedarray-pool":528}],528:[function(require,module,exports){ +arguments[4][186][0].apply(exports,arguments) +},{"bit-twiddle":440,"buffer":33,"dup":186}],529:[function(require,module,exports){ arguments[4][401][0].apply(exports,arguments) -},{"dup":401,"typedarray-pool":532}],532:[function(require,module,exports){ -arguments[4][190][0].apply(exports,arguments) -},{"bit-twiddle":444,"buffer":33,"dup":190}],533:[function(require,module,exports){ +},{"dup":401}],530:[function(require,module,exports){ +arguments[4][186][0].apply(exports,arguments) +},{"bit-twiddle":440,"buffer":33,"dup":186}],531:[function(require,module,exports){ arguments[4][405][0].apply(exports,arguments) -},{"dup":405}],534:[function(require,module,exports){ -arguments[4][190][0].apply(exports,arguments) -},{"bit-twiddle":444,"buffer":33,"dup":190}],535:[function(require,module,exports){ -arguments[4][409][0].apply(exports,arguments) -},{"dup":409,"typedarray-pool":534}],536:[function(require,module,exports){ -arguments[4][410][0].apply(exports,arguments) -},{"dup":410,"invert-permutation":537,"typedarray-pool":538}],537:[function(require,module,exports){ +},{"dup":405,"typedarray-pool":530}],532:[function(require,module,exports){ +arguments[4][406][0].apply(exports,arguments) +},{"dup":406,"invert-permutation":533,"typedarray-pool":534}],533:[function(require,module,exports){ +arguments[4][407][0].apply(exports,arguments) +},{"dup":407}],534:[function(require,module,exports){ +arguments[4][186][0].apply(exports,arguments) +},{"bit-twiddle":440,"buffer":33,"dup":186}],535:[function(require,module,exports){ arguments[4][411][0].apply(exports,arguments) -},{"dup":411}],538:[function(require,module,exports){ -arguments[4][190][0].apply(exports,arguments) -},{"bit-twiddle":444,"buffer":33,"dup":190}],539:[function(require,module,exports){ -arguments[4][415][0].apply(exports,arguments) -},{"dup":415,"gamma":533,"permutation-parity":535,"permutation-rank":536}],540:[function(require,module,exports){ -arguments[4][416][0].apply(exports,arguments) -},{"cwise-compiler":541,"dup":416}],541:[function(require,module,exports){ +},{"dup":411,"gamma":529,"permutation-parity":531,"permutation-rank":532}],536:[function(require,module,exports){ +arguments[4][412][0].apply(exports,arguments) +},{"cwise-compiler":537,"dup":412}],537:[function(require,module,exports){ arguments[4][73][0].apply(exports,arguments) -},{"./lib/thunk.js":543,"dup":73}],542:[function(require,module,exports){ +},{"./lib/thunk.js":539,"dup":73}],538:[function(require,module,exports){ arguments[4][74][0].apply(exports,arguments) -},{"dup":74,"uniq":544}],543:[function(require,module,exports){ +},{"dup":74,"uniq":540}],539:[function(require,module,exports){ arguments[4][75][0].apply(exports,arguments) -},{"./compile.js":542,"dup":75}],544:[function(require,module,exports){ +},{"./compile.js":538,"dup":75}],540:[function(require,module,exports){ arguments[4][76][0].apply(exports,arguments) -},{"dup":76}],545:[function(require,module,exports){ -arguments[4][421][0].apply(exports,arguments) -},{"./lib/zc-core":540,"dup":421}],546:[function(require,module,exports){ -arguments[4][422][0].apply(exports,arguments) -},{"dup":422,"ndarray-extract-contour":531,"triangulate-hypercube":539,"zero-crossings":545}],547:[function(require,module,exports){ +},{"dup":76}],541:[function(require,module,exports){ +arguments[4][417][0].apply(exports,arguments) +},{"./lib/zc-core":536,"dup":417}],542:[function(require,module,exports){ +arguments[4][418][0].apply(exports,arguments) +},{"dup":418,"ndarray-extract-contour":527,"triangulate-hypercube":535,"zero-crossings":541}],543:[function(require,module,exports){ "use strict" module.exports = axesProperties @@ -58459,51 +58452,51 @@ i_loop: return ranges } -},{"./lib/cube.js":439,"extract-frustum-planes":446,"gl-mat4/multiply":240,"gl-mat4/transpose":248,"gl-vec4/transformMat4":453,"split-polygon":454}],548:[function(require,module,exports){ -arguments[4][295][0].apply(exports,arguments) -},{"dup":295,"gl-texture2d":552}],549:[function(require,module,exports){ -arguments[4][171][0].apply(exports,arguments) -},{"dup":171}],550:[function(require,module,exports){ -arguments[4][150][0].apply(exports,arguments) -},{"dup":150}],551:[function(require,module,exports){ -arguments[4][190][0].apply(exports,arguments) -},{"bit-twiddle":549,"buffer":33,"dup":190}],552:[function(require,module,exports){ -arguments[4][212][0].apply(exports,arguments) -},{"dup":212,"ndarray":1121,"ndarray-ops":1116,"typedarray-pool":551}],553:[function(require,module,exports){ -arguments[4][171][0].apply(exports,arguments) -},{"dup":171}],554:[function(require,module,exports){ -arguments[4][290][0].apply(exports,arguments) -},{"cwise-compiler":555,"dup":290}],555:[function(require,module,exports){ +},{"./lib/cube.js":435,"extract-frustum-planes":442,"gl-mat4/multiply":236,"gl-mat4/transpose":244,"gl-vec4/transformMat4":449,"split-polygon":450}],544:[function(require,module,exports){ +arguments[4][291][0].apply(exports,arguments) +},{"dup":291,"gl-texture2d":548}],545:[function(require,module,exports){ +arguments[4][167][0].apply(exports,arguments) +},{"dup":167}],546:[function(require,module,exports){ +arguments[4][146][0].apply(exports,arguments) +},{"dup":146}],547:[function(require,module,exports){ +arguments[4][186][0].apply(exports,arguments) +},{"bit-twiddle":545,"buffer":33,"dup":186}],548:[function(require,module,exports){ +arguments[4][208][0].apply(exports,arguments) +},{"dup":208,"ndarray":1117,"ndarray-ops":1112,"typedarray-pool":547}],549:[function(require,module,exports){ +arguments[4][167][0].apply(exports,arguments) +},{"dup":167}],550:[function(require,module,exports){ +arguments[4][286][0].apply(exports,arguments) +},{"cwise-compiler":551,"dup":286}],551:[function(require,module,exports){ arguments[4][73][0].apply(exports,arguments) -},{"./lib/thunk.js":557,"dup":73}],556:[function(require,module,exports){ +},{"./lib/thunk.js":553,"dup":73}],552:[function(require,module,exports){ arguments[4][74][0].apply(exports,arguments) -},{"dup":74,"uniq":558}],557:[function(require,module,exports){ +},{"dup":74,"uniq":554}],553:[function(require,module,exports){ arguments[4][75][0].apply(exports,arguments) -},{"./compile.js":556,"dup":75}],558:[function(require,module,exports){ +},{"./compile.js":552,"dup":75}],554:[function(require,module,exports){ arguments[4][76][0].apply(exports,arguments) -},{"dup":76}],559:[function(require,module,exports){ -arguments[4][150][0].apply(exports,arguments) -},{"dup":150}],560:[function(require,module,exports){ -arguments[4][190][0].apply(exports,arguments) -},{"bit-twiddle":553,"buffer":33,"dup":190}],561:[function(require,module,exports){ -arguments[4][299][0].apply(exports,arguments) -},{"bit-twiddle":553,"cwise/lib/wrapper":554,"dup":299,"gl-fbo":548,"ndarray":1121,"typedarray-pool":560}],562:[function(require,module,exports){ -arguments[4][187][0].apply(exports,arguments) -},{"dup":187,"ndarray":1121,"ndarray-ops":1116,"typedarray-pool":565}],563:[function(require,module,exports){ -arguments[4][171][0].apply(exports,arguments) -},{"dup":171}],564:[function(require,module,exports){ -arguments[4][150][0].apply(exports,arguments) -},{"dup":150}],565:[function(require,module,exports){ -arguments[4][190][0].apply(exports,arguments) -},{"bit-twiddle":563,"buffer":33,"dup":190}],566:[function(require,module,exports){ -arguments[4][196][0].apply(exports,arguments) -},{"dup":196}],567:[function(require,module,exports){ -arguments[4][197][0].apply(exports,arguments) -},{"./do-bind.js":566,"dup":197}],568:[function(require,module,exports){ -arguments[4][198][0].apply(exports,arguments) -},{"./do-bind.js":566,"dup":198}],569:[function(require,module,exports){ -arguments[4][199][0].apply(exports,arguments) -},{"./lib/vao-emulated.js":567,"./lib/vao-native.js":568,"dup":199}],570:[function(require,module,exports){ +},{"dup":76}],555:[function(require,module,exports){ +arguments[4][146][0].apply(exports,arguments) +},{"dup":146}],556:[function(require,module,exports){ +arguments[4][186][0].apply(exports,arguments) +},{"bit-twiddle":549,"buffer":33,"dup":186}],557:[function(require,module,exports){ +arguments[4][295][0].apply(exports,arguments) +},{"bit-twiddle":549,"cwise/lib/wrapper":550,"dup":295,"gl-fbo":544,"ndarray":1117,"typedarray-pool":556}],558:[function(require,module,exports){ +arguments[4][183][0].apply(exports,arguments) +},{"dup":183,"ndarray":1117,"ndarray-ops":1112,"typedarray-pool":561}],559:[function(require,module,exports){ +arguments[4][167][0].apply(exports,arguments) +},{"dup":167}],560:[function(require,module,exports){ +arguments[4][146][0].apply(exports,arguments) +},{"dup":146}],561:[function(require,module,exports){ +arguments[4][186][0].apply(exports,arguments) +},{"bit-twiddle":559,"buffer":33,"dup":186}],562:[function(require,module,exports){ +arguments[4][192][0].apply(exports,arguments) +},{"dup":192}],563:[function(require,module,exports){ +arguments[4][193][0].apply(exports,arguments) +},{"./do-bind.js":562,"dup":193}],564:[function(require,module,exports){ +arguments[4][194][0].apply(exports,arguments) +},{"./do-bind.js":562,"dup":194}],565:[function(require,module,exports){ +arguments[4][195][0].apply(exports,arguments) +},{"./lib/vao-emulated.js":563,"./lib/vao-native.js":564,"dup":195}],566:[function(require,module,exports){ 'use strict' @@ -58520,7 +58513,7 @@ module.exports = function(gl) { ]) } -},{"gl-shader":838}],571:[function(require,module,exports){ +},{"gl-shader":834}],567:[function(require,module,exports){ 'use strict' var createBuffer = require('gl-buffer') @@ -58716,7 +58709,7 @@ function createSpikes(gl, options) { return spikes } -},{"./shaders/index":570,"gl-buffer":562,"gl-vao":569}],572:[function(require,module,exports){ +},{"./shaders/index":566,"gl-buffer":558,"gl-vao":565}],568:[function(require,module,exports){ 'use strict' module.exports = createScene @@ -59481,7 +59474,7 @@ function createScene(options) { return scene } -},{"./lib/shader":425,"3d-view-controls":426,"a-big-triangle":436,"gl-axes3d":437,"gl-axes3d/properties":547,"gl-fbo":548,"gl-mat4/perspective":241,"gl-select-static":561,"gl-spikes3d":571,"mouse-change":1094}],573:[function(require,module,exports){ +},{"./lib/shader":421,"3d-view-controls":422,"a-big-triangle":432,"gl-axes3d":433,"gl-axes3d/properties":543,"gl-fbo":544,"gl-mat4/perspective":237,"gl-select-static":557,"gl-spikes3d":567,"mouse-change":1090}],569:[function(require,module,exports){ exports.pointVertex = "precision mediump float;\n#define GLSLIFY 1\n\nattribute vec2 position;\n\nuniform mat3 matrix;\nuniform float pointSize;\nuniform float pointCloud;\n\nhighp float rand(vec2 co) {\n highp float a = 12.9898;\n highp float b = 78.233;\n highp float c = 43758.5453;\n highp float d = dot(co.xy, vec2(a, b));\n highp float e = mod(d, 3.14);\n return fract(sin(e) * c);\n}\n\nvoid main() {\n vec3 hgPosition = matrix * vec3(position, 1);\n gl_Position = vec4(hgPosition.xy, 0, hgPosition.z);\n // if we don't jitter the point size a bit, overall point cloud\n // saturation 'jumps' on zooming, which is disturbing and confusing\n gl_PointSize = pointSize * ((19.5 + rand(position)) / 20.0);\n if(pointCloud != 0.0) { // pointCloud is truthy\n // get the same square surface as circle would be\n gl_PointSize *= 0.886;\n }\n}" @@ -59489,67 +59482,67 @@ exports.pointFragment = "precision mediump float;\n#define GLSLIFY 1\n\nunif exports.pickVertex = "precision mediump float;\n#define GLSLIFY 1\n\nattribute vec2 position;\nattribute vec4 pickId;\n\nuniform mat3 matrix;\nuniform float pointSize;\nuniform vec4 pickOffset;\n\nvarying vec4 fragId;\n\nvoid main() {\n vec3 hgPosition = matrix * vec3(position, 1);\n gl_Position = vec4(hgPosition.xy, 0, hgPosition.z);\n gl_PointSize = pointSize;\n\n vec4 id = pickId + pickOffset;\n id.y += floor(id.x / 256.0);\n id.x -= floor(id.x / 256.0) * 256.0;\n\n id.z += floor(id.y / 256.0);\n id.y -= floor(id.y / 256.0) * 256.0;\n\n id.w += floor(id.z / 256.0);\n id.z -= floor(id.z / 256.0) * 256.0;\n\n fragId = id;\n}\n" exports.pickFragment = "precision mediump float;\n#define GLSLIFY 1\n\nvarying vec4 fragId;\n\nvoid main() {\n float radius = length(2.0 * gl_PointCoord.xy - 1.0);\n if(radius > 1.0) {\n discard;\n }\n gl_FragColor = fragId / 255.0;\n}\n" -},{}],574:[function(require,module,exports){ -arguments[4][187][0].apply(exports,arguments) -},{"dup":187,"ndarray":1121,"ndarray-ops":1116,"typedarray-pool":603}],575:[function(require,module,exports){ +},{}],570:[function(require,module,exports){ +arguments[4][183][0].apply(exports,arguments) +},{"dup":183,"ndarray":1117,"ndarray-ops":1112,"typedarray-pool":599}],571:[function(require,module,exports){ +arguments[4][296][0].apply(exports,arguments) +},{"./lib/GLError":572,"./lib/create-attributes":573,"./lib/create-uniforms":574,"./lib/reflect":575,"./lib/runtime-reflect":576,"./lib/shader-cache":577,"dup":296}],572:[function(require,module,exports){ +arguments[4][297][0].apply(exports,arguments) +},{"dup":297}],573:[function(require,module,exports){ +arguments[4][298][0].apply(exports,arguments) +},{"./GLError":572,"dup":298}],574:[function(require,module,exports){ +arguments[4][299][0].apply(exports,arguments) +},{"./GLError":572,"./reflect":575,"dup":299}],575:[function(require,module,exports){ arguments[4][300][0].apply(exports,arguments) -},{"./lib/GLError":576,"./lib/create-attributes":577,"./lib/create-uniforms":578,"./lib/reflect":579,"./lib/runtime-reflect":580,"./lib/shader-cache":581,"dup":300}],576:[function(require,module,exports){ +},{"dup":300}],576:[function(require,module,exports){ arguments[4][301][0].apply(exports,arguments) },{"dup":301}],577:[function(require,module,exports){ arguments[4][302][0].apply(exports,arguments) -},{"./GLError":576,"dup":302}],578:[function(require,module,exports){ +},{"./GLError":572,"dup":302,"gl-format-compiler-error":578,"weakmap-shim":596}],578:[function(require,module,exports){ arguments[4][303][0].apply(exports,arguments) -},{"./GLError":576,"./reflect":579,"dup":303}],579:[function(require,module,exports){ +},{"add-line-numbers":579,"dup":303,"gl-constants/lookup":583,"glsl-shader-name":584,"sprintf-js":593}],579:[function(require,module,exports){ arguments[4][304][0].apply(exports,arguments) -},{"dup":304}],580:[function(require,module,exports){ +},{"dup":304,"pad-left":580}],580:[function(require,module,exports){ arguments[4][305][0].apply(exports,arguments) -},{"dup":305}],581:[function(require,module,exports){ +},{"dup":305,"repeat-string":581}],581:[function(require,module,exports){ arguments[4][306][0].apply(exports,arguments) -},{"./GLError":576,"dup":306,"gl-format-compiler-error":582,"weakmap-shim":600}],582:[function(require,module,exports){ +},{"dup":306}],582:[function(require,module,exports){ arguments[4][307][0].apply(exports,arguments) -},{"add-line-numbers":583,"dup":307,"gl-constants/lookup":587,"glsl-shader-name":588,"sprintf-js":597}],583:[function(require,module,exports){ +},{"dup":307}],583:[function(require,module,exports){ arguments[4][308][0].apply(exports,arguments) -},{"dup":308,"pad-left":584}],584:[function(require,module,exports){ +},{"./1.0/numbers":582,"dup":308}],584:[function(require,module,exports){ arguments[4][309][0].apply(exports,arguments) -},{"dup":309,"repeat-string":585}],585:[function(require,module,exports){ +},{"atob-lite":585,"dup":309,"glsl-tokenizer":592}],585:[function(require,module,exports){ arguments[4][310][0].apply(exports,arguments) },{"dup":310}],586:[function(require,module,exports){ arguments[4][311][0].apply(exports,arguments) -},{"dup":311}],587:[function(require,module,exports){ +},{"./lib/builtins":588,"./lib/builtins-300es":587,"./lib/literals":590,"./lib/literals-300es":589,"./lib/operators":591,"dup":311}],587:[function(require,module,exports){ arguments[4][312][0].apply(exports,arguments) -},{"./1.0/numbers":586,"dup":312}],588:[function(require,module,exports){ +},{"./builtins":588,"dup":312}],588:[function(require,module,exports){ arguments[4][313][0].apply(exports,arguments) -},{"atob-lite":589,"dup":313,"glsl-tokenizer":596}],589:[function(require,module,exports){ +},{"dup":313}],589:[function(require,module,exports){ arguments[4][314][0].apply(exports,arguments) -},{"dup":314}],590:[function(require,module,exports){ +},{"./literals":590,"dup":314}],590:[function(require,module,exports){ arguments[4][315][0].apply(exports,arguments) -},{"./lib/builtins":592,"./lib/builtins-300es":591,"./lib/literals":594,"./lib/literals-300es":593,"./lib/operators":595,"dup":315}],591:[function(require,module,exports){ +},{"dup":315}],591:[function(require,module,exports){ arguments[4][316][0].apply(exports,arguments) -},{"./builtins":592,"dup":316}],592:[function(require,module,exports){ +},{"dup":316}],592:[function(require,module,exports){ arguments[4][317][0].apply(exports,arguments) -},{"dup":317}],593:[function(require,module,exports){ +},{"./index":586,"dup":317}],593:[function(require,module,exports){ arguments[4][318][0].apply(exports,arguments) -},{"./literals":594,"dup":318}],594:[function(require,module,exports){ +},{"dup":318}],594:[function(require,module,exports){ arguments[4][319][0].apply(exports,arguments) -},{"dup":319}],595:[function(require,module,exports){ +},{"./hidden-store.js":595,"dup":319}],595:[function(require,module,exports){ arguments[4][320][0].apply(exports,arguments) },{"dup":320}],596:[function(require,module,exports){ arguments[4][321][0].apply(exports,arguments) -},{"./index":590,"dup":321}],597:[function(require,module,exports){ -arguments[4][322][0].apply(exports,arguments) -},{"dup":322}],598:[function(require,module,exports){ -arguments[4][323][0].apply(exports,arguments) -},{"./hidden-store.js":599,"dup":323}],599:[function(require,module,exports){ -arguments[4][324][0].apply(exports,arguments) -},{"dup":324}],600:[function(require,module,exports){ -arguments[4][325][0].apply(exports,arguments) -},{"./create-store.js":598,"dup":325}],601:[function(require,module,exports){ -arguments[4][171][0].apply(exports,arguments) -},{"dup":171}],602:[function(require,module,exports){ -arguments[4][150][0].apply(exports,arguments) -},{"dup":150}],603:[function(require,module,exports){ -arguments[4][190][0].apply(exports,arguments) -},{"bit-twiddle":601,"buffer":33,"dup":190}],604:[function(require,module,exports){ +},{"./create-store.js":594,"dup":321}],597:[function(require,module,exports){ +arguments[4][167][0].apply(exports,arguments) +},{"dup":167}],598:[function(require,module,exports){ +arguments[4][146][0].apply(exports,arguments) +},{"dup":146}],599:[function(require,module,exports){ +arguments[4][186][0].apply(exports,arguments) +},{"bit-twiddle":597,"buffer":33,"dup":186}],600:[function(require,module,exports){ 'use strict' var createShader = require('gl-shader') @@ -59769,7 +59762,7 @@ function createPointcloud2D(plot, options) { return result } -},{"./lib/shader":573,"gl-buffer":574,"gl-shader":575,"typedarray-pool":603}],605:[function(require,module,exports){ +},{"./lib/shader":569,"gl-buffer":570,"gl-shader":571,"typedarray-pool":599}],601:[function(require,module,exports){ 'use strict' @@ -59781,243 +59774,243 @@ module.exports = { pickFragment: "precision lowp float;\n#define GLSLIFY 1\nvarying vec4 fragColor;\nvoid main() {\n gl_FragColor = fragColor;\n}\n" } -},{}],606:[function(require,module,exports){ -arguments[4][187][0].apply(exports,arguments) -},{"dup":187,"ndarray":1121,"ndarray-ops":1116,"typedarray-pool":636}],607:[function(require,module,exports){ +},{}],602:[function(require,module,exports){ +arguments[4][183][0].apply(exports,arguments) +},{"dup":183,"ndarray":1117,"ndarray-ops":1112,"typedarray-pool":632}],603:[function(require,module,exports){ +arguments[4][296][0].apply(exports,arguments) +},{"./lib/GLError":604,"./lib/create-attributes":605,"./lib/create-uniforms":606,"./lib/reflect":607,"./lib/runtime-reflect":608,"./lib/shader-cache":609,"dup":296}],604:[function(require,module,exports){ +arguments[4][297][0].apply(exports,arguments) +},{"dup":297}],605:[function(require,module,exports){ +arguments[4][298][0].apply(exports,arguments) +},{"./GLError":604,"dup":298}],606:[function(require,module,exports){ +arguments[4][299][0].apply(exports,arguments) +},{"./GLError":604,"./reflect":607,"dup":299}],607:[function(require,module,exports){ arguments[4][300][0].apply(exports,arguments) -},{"./lib/GLError":608,"./lib/create-attributes":609,"./lib/create-uniforms":610,"./lib/reflect":611,"./lib/runtime-reflect":612,"./lib/shader-cache":613,"dup":300}],608:[function(require,module,exports){ +},{"dup":300}],608:[function(require,module,exports){ arguments[4][301][0].apply(exports,arguments) },{"dup":301}],609:[function(require,module,exports){ arguments[4][302][0].apply(exports,arguments) -},{"./GLError":608,"dup":302}],610:[function(require,module,exports){ +},{"./GLError":604,"dup":302,"gl-format-compiler-error":610,"weakmap-shim":628}],610:[function(require,module,exports){ arguments[4][303][0].apply(exports,arguments) -},{"./GLError":608,"./reflect":611,"dup":303}],611:[function(require,module,exports){ +},{"add-line-numbers":611,"dup":303,"gl-constants/lookup":615,"glsl-shader-name":616,"sprintf-js":625}],611:[function(require,module,exports){ arguments[4][304][0].apply(exports,arguments) -},{"dup":304}],612:[function(require,module,exports){ +},{"dup":304,"pad-left":612}],612:[function(require,module,exports){ arguments[4][305][0].apply(exports,arguments) -},{"dup":305}],613:[function(require,module,exports){ +},{"dup":305,"repeat-string":613}],613:[function(require,module,exports){ arguments[4][306][0].apply(exports,arguments) -},{"./GLError":608,"dup":306,"gl-format-compiler-error":614,"weakmap-shim":632}],614:[function(require,module,exports){ +},{"dup":306}],614:[function(require,module,exports){ arguments[4][307][0].apply(exports,arguments) -},{"add-line-numbers":615,"dup":307,"gl-constants/lookup":619,"glsl-shader-name":620,"sprintf-js":629}],615:[function(require,module,exports){ +},{"dup":307}],615:[function(require,module,exports){ arguments[4][308][0].apply(exports,arguments) -},{"dup":308,"pad-left":616}],616:[function(require,module,exports){ +},{"./1.0/numbers":614,"dup":308}],616:[function(require,module,exports){ arguments[4][309][0].apply(exports,arguments) -},{"dup":309,"repeat-string":617}],617:[function(require,module,exports){ +},{"atob-lite":617,"dup":309,"glsl-tokenizer":624}],617:[function(require,module,exports){ arguments[4][310][0].apply(exports,arguments) },{"dup":310}],618:[function(require,module,exports){ arguments[4][311][0].apply(exports,arguments) -},{"dup":311}],619:[function(require,module,exports){ +},{"./lib/builtins":620,"./lib/builtins-300es":619,"./lib/literals":622,"./lib/literals-300es":621,"./lib/operators":623,"dup":311}],619:[function(require,module,exports){ arguments[4][312][0].apply(exports,arguments) -},{"./1.0/numbers":618,"dup":312}],620:[function(require,module,exports){ +},{"./builtins":620,"dup":312}],620:[function(require,module,exports){ arguments[4][313][0].apply(exports,arguments) -},{"atob-lite":621,"dup":313,"glsl-tokenizer":628}],621:[function(require,module,exports){ +},{"dup":313}],621:[function(require,module,exports){ arguments[4][314][0].apply(exports,arguments) -},{"dup":314}],622:[function(require,module,exports){ +},{"./literals":622,"dup":314}],622:[function(require,module,exports){ arguments[4][315][0].apply(exports,arguments) -},{"./lib/builtins":624,"./lib/builtins-300es":623,"./lib/literals":626,"./lib/literals-300es":625,"./lib/operators":627,"dup":315}],623:[function(require,module,exports){ +},{"dup":315}],623:[function(require,module,exports){ arguments[4][316][0].apply(exports,arguments) -},{"./builtins":624,"dup":316}],624:[function(require,module,exports){ +},{"dup":316}],624:[function(require,module,exports){ arguments[4][317][0].apply(exports,arguments) -},{"dup":317}],625:[function(require,module,exports){ +},{"./index":618,"dup":317}],625:[function(require,module,exports){ arguments[4][318][0].apply(exports,arguments) -},{"./literals":626,"dup":318}],626:[function(require,module,exports){ +},{"dup":318}],626:[function(require,module,exports){ arguments[4][319][0].apply(exports,arguments) -},{"dup":319}],627:[function(require,module,exports){ +},{"./hidden-store.js":627,"dup":319}],627:[function(require,module,exports){ arguments[4][320][0].apply(exports,arguments) },{"dup":320}],628:[function(require,module,exports){ arguments[4][321][0].apply(exports,arguments) -},{"./index":622,"dup":321}],629:[function(require,module,exports){ +},{"./create-store.js":626,"dup":321}],629:[function(require,module,exports){ +arguments[4][419][0].apply(exports,arguments) +},{"_process":41,"dup":419,"vectorize-text":633}],630:[function(require,module,exports){ +arguments[4][167][0].apply(exports,arguments) +},{"dup":167}],631:[function(require,module,exports){ +arguments[4][146][0].apply(exports,arguments) +},{"dup":146}],632:[function(require,module,exports){ +arguments[4][186][0].apply(exports,arguments) +},{"bit-twiddle":630,"buffer":33,"dup":186}],633:[function(require,module,exports){ arguments[4][322][0].apply(exports,arguments) -},{"dup":322}],630:[function(require,module,exports){ +},{"./lib/vtext":634,"dup":322}],634:[function(require,module,exports){ arguments[4][323][0].apply(exports,arguments) -},{"./hidden-store.js":631,"dup":323}],631:[function(require,module,exports){ +},{"cdt2d":635,"clean-pslg":647,"dup":323,"ndarray":1117,"planar-graph-to-polyline":702,"simplify-planar-graph":706,"surface-nets":719}],635:[function(require,module,exports){ arguments[4][324][0].apply(exports,arguments) -},{"dup":324}],632:[function(require,module,exports){ +},{"./lib/delaunay":636,"./lib/filter":637,"./lib/monotone":638,"./lib/triangulation":639,"dup":324}],636:[function(require,module,exports){ arguments[4][325][0].apply(exports,arguments) -},{"./create-store.js":630,"dup":325}],633:[function(require,module,exports){ -arguments[4][423][0].apply(exports,arguments) -},{"_process":41,"dup":423,"vectorize-text":637}],634:[function(require,module,exports){ -arguments[4][171][0].apply(exports,arguments) -},{"dup":171}],635:[function(require,module,exports){ -arguments[4][150][0].apply(exports,arguments) -},{"dup":150}],636:[function(require,module,exports){ -arguments[4][190][0].apply(exports,arguments) -},{"bit-twiddle":634,"buffer":33,"dup":190}],637:[function(require,module,exports){ +},{"binary-search-bounds":640,"dup":325,"robust-in-sphere":641}],637:[function(require,module,exports){ arguments[4][326][0].apply(exports,arguments) -},{"./lib/vtext":638,"dup":326}],638:[function(require,module,exports){ +},{"binary-search-bounds":640,"dup":326}],638:[function(require,module,exports){ arguments[4][327][0].apply(exports,arguments) -},{"cdt2d":639,"clean-pslg":651,"dup":327,"ndarray":1121,"planar-graph-to-polyline":706,"simplify-planar-graph":710,"surface-nets":723}],639:[function(require,module,exports){ +},{"binary-search-bounds":640,"dup":327,"robust-orientation":1126}],639:[function(require,module,exports){ arguments[4][328][0].apply(exports,arguments) -},{"./lib/delaunay":640,"./lib/filter":641,"./lib/monotone":642,"./lib/triangulation":643,"dup":328}],640:[function(require,module,exports){ +},{"binary-search-bounds":640,"dup":328}],640:[function(require,module,exports){ +arguments[4][199][0].apply(exports,arguments) +},{"dup":199}],641:[function(require,module,exports){ arguments[4][329][0].apply(exports,arguments) -},{"binary-search-bounds":644,"dup":329,"robust-in-sphere":645}],641:[function(require,module,exports){ -arguments[4][330][0].apply(exports,arguments) -},{"binary-search-bounds":644,"dup":330}],642:[function(require,module,exports){ -arguments[4][331][0].apply(exports,arguments) -},{"binary-search-bounds":644,"dup":331,"robust-orientation":1130}],643:[function(require,module,exports){ +},{"dup":329,"robust-scale":643,"robust-subtract":644,"robust-sum":645,"two-product":646}],642:[function(require,module,exports){ +arguments[4][149][0].apply(exports,arguments) +},{"dup":149}],643:[function(require,module,exports){ +arguments[4][150][0].apply(exports,arguments) +},{"dup":150,"two-product":646,"two-sum":642}],644:[function(require,module,exports){ arguments[4][332][0].apply(exports,arguments) -},{"binary-search-bounds":644,"dup":332}],644:[function(require,module,exports){ -arguments[4][203][0].apply(exports,arguments) -},{"dup":203}],645:[function(require,module,exports){ -arguments[4][333][0].apply(exports,arguments) -},{"dup":333,"robust-scale":647,"robust-subtract":648,"robust-sum":649,"two-product":650}],646:[function(require,module,exports){ -arguments[4][153][0].apply(exports,arguments) -},{"dup":153}],647:[function(require,module,exports){ -arguments[4][154][0].apply(exports,arguments) -},{"dup":154,"two-product":650,"two-sum":646}],648:[function(require,module,exports){ +},{"dup":332}],645:[function(require,module,exports){ +arguments[4][151][0].apply(exports,arguments) +},{"dup":151}],646:[function(require,module,exports){ +arguments[4][152][0].apply(exports,arguments) +},{"dup":152}],647:[function(require,module,exports){ +arguments[4][335][0].apply(exports,arguments) +},{"./lib/rat-seg-intersect":648,"big-rat":652,"big-rat/cmp":650,"big-rat/to-float":667,"box-intersect":668,"compare-cell":676,"dup":335,"nextafter":677,"rat-vec":680,"robust-segment-intersect":683,"union-find":684}],648:[function(require,module,exports){ arguments[4][336][0].apply(exports,arguments) -},{"dup":336}],649:[function(require,module,exports){ -arguments[4][155][0].apply(exports,arguments) -},{"dup":155}],650:[function(require,module,exports){ -arguments[4][156][0].apply(exports,arguments) -},{"dup":156}],651:[function(require,module,exports){ +},{"big-rat/div":651,"big-rat/mul":661,"big-rat/sign":665,"big-rat/sub":666,"big-rat/to-float":667,"dup":336,"rat-vec/add":679,"rat-vec/muls":681,"rat-vec/sub":682}],649:[function(require,module,exports){ +arguments[4][337][0].apply(exports,arguments) +},{"./lib/rationalize":659,"dup":337}],650:[function(require,module,exports){ +arguments[4][338][0].apply(exports,arguments) +},{"dup":338}],651:[function(require,module,exports){ arguments[4][339][0].apply(exports,arguments) -},{"./lib/rat-seg-intersect":652,"big-rat":656,"big-rat/cmp":654,"big-rat/to-float":671,"box-intersect":672,"compare-cell":680,"dup":339,"nextafter":681,"rat-vec":684,"robust-segment-intersect":687,"union-find":688}],652:[function(require,module,exports){ +},{"./lib/rationalize":659,"dup":339}],652:[function(require,module,exports){ arguments[4][340][0].apply(exports,arguments) -},{"big-rat/div":655,"big-rat/mul":665,"big-rat/sign":669,"big-rat/sub":670,"big-rat/to-float":671,"dup":340,"rat-vec/add":683,"rat-vec/muls":685,"rat-vec/sub":686}],653:[function(require,module,exports){ +},{"./div":651,"./is-rat":653,"./lib/is-bn":657,"./lib/num-to-bn":658,"./lib/rationalize":659,"./lib/str-to-bn":660,"dup":340}],653:[function(require,module,exports){ arguments[4][341][0].apply(exports,arguments) -},{"./lib/rationalize":663,"dup":341}],654:[function(require,module,exports){ +},{"./lib/is-bn":657,"dup":341}],654:[function(require,module,exports){ arguments[4][342][0].apply(exports,arguments) -},{"dup":342}],655:[function(require,module,exports){ +},{"bn.js":663,"dup":342}],655:[function(require,module,exports){ arguments[4][343][0].apply(exports,arguments) -},{"./lib/rationalize":663,"dup":343}],656:[function(require,module,exports){ +},{"dup":343}],656:[function(require,module,exports){ arguments[4][344][0].apply(exports,arguments) -},{"./div":655,"./is-rat":657,"./lib/is-bn":661,"./lib/num-to-bn":662,"./lib/rationalize":663,"./lib/str-to-bn":664,"dup":344}],657:[function(require,module,exports){ +},{"bit-twiddle":662,"double-bits":664,"dup":344}],657:[function(require,module,exports){ arguments[4][345][0].apply(exports,arguments) -},{"./lib/is-bn":661,"dup":345}],658:[function(require,module,exports){ +},{"bn.js":663,"dup":345}],658:[function(require,module,exports){ arguments[4][346][0].apply(exports,arguments) -},{"bn.js":667,"dup":346}],659:[function(require,module,exports){ +},{"bn.js":663,"double-bits":664,"dup":346}],659:[function(require,module,exports){ arguments[4][347][0].apply(exports,arguments) -},{"dup":347}],660:[function(require,module,exports){ +},{"./bn-sign":654,"./num-to-bn":658,"dup":347}],660:[function(require,module,exports){ arguments[4][348][0].apply(exports,arguments) -},{"bit-twiddle":666,"double-bits":668,"dup":348}],661:[function(require,module,exports){ +},{"bn.js":663,"dup":348}],661:[function(require,module,exports){ arguments[4][349][0].apply(exports,arguments) -},{"bn.js":667,"dup":349}],662:[function(require,module,exports){ -arguments[4][350][0].apply(exports,arguments) -},{"bn.js":667,"double-bits":668,"dup":350}],663:[function(require,module,exports){ +},{"./lib/rationalize":659,"dup":349}],662:[function(require,module,exports){ +arguments[4][167][0].apply(exports,arguments) +},{"dup":167}],663:[function(require,module,exports){ arguments[4][351][0].apply(exports,arguments) -},{"./bn-sign":658,"./num-to-bn":662,"dup":351}],664:[function(require,module,exports){ +},{"dup":351}],664:[function(require,module,exports){ arguments[4][352][0].apply(exports,arguments) -},{"bn.js":667,"dup":352}],665:[function(require,module,exports){ +},{"buffer":33,"dup":352}],665:[function(require,module,exports){ arguments[4][353][0].apply(exports,arguments) -},{"./lib/rationalize":663,"dup":353}],666:[function(require,module,exports){ -arguments[4][171][0].apply(exports,arguments) -},{"dup":171}],667:[function(require,module,exports){ +},{"./lib/bn-sign":654,"dup":353}],666:[function(require,module,exports){ +arguments[4][354][0].apply(exports,arguments) +},{"./lib/rationalize":659,"dup":354}],667:[function(require,module,exports){ arguments[4][355][0].apply(exports,arguments) -},{"dup":355}],668:[function(require,module,exports){ +},{"./lib/bn-to-num":655,"./lib/ctz":656,"dup":355}],668:[function(require,module,exports){ arguments[4][356][0].apply(exports,arguments) -},{"buffer":33,"dup":356}],669:[function(require,module,exports){ +},{"./lib/intersect":670,"./lib/sweep":674,"dup":356,"typedarray-pool":632}],669:[function(require,module,exports){ arguments[4][357][0].apply(exports,arguments) -},{"./lib/bn-sign":658,"dup":357}],670:[function(require,module,exports){ +},{"dup":357}],670:[function(require,module,exports){ arguments[4][358][0].apply(exports,arguments) -},{"./lib/rationalize":663,"dup":358}],671:[function(require,module,exports){ +},{"./brute":669,"./median":671,"./partition":672,"./sweep":674,"bit-twiddle":675,"dup":358,"typedarray-pool":632}],671:[function(require,module,exports){ arguments[4][359][0].apply(exports,arguments) -},{"./lib/bn-to-num":659,"./lib/ctz":660,"dup":359}],672:[function(require,module,exports){ +},{"./partition":672,"dup":359}],672:[function(require,module,exports){ arguments[4][360][0].apply(exports,arguments) -},{"./lib/intersect":674,"./lib/sweep":678,"dup":360,"typedarray-pool":636}],673:[function(require,module,exports){ +},{"dup":360}],673:[function(require,module,exports){ arguments[4][361][0].apply(exports,arguments) },{"dup":361}],674:[function(require,module,exports){ arguments[4][362][0].apply(exports,arguments) -},{"./brute":673,"./median":675,"./partition":676,"./sweep":678,"bit-twiddle":679,"dup":362,"typedarray-pool":636}],675:[function(require,module,exports){ -arguments[4][363][0].apply(exports,arguments) -},{"./partition":676,"dup":363}],676:[function(require,module,exports){ -arguments[4][364][0].apply(exports,arguments) -},{"dup":364}],677:[function(require,module,exports){ -arguments[4][365][0].apply(exports,arguments) -},{"dup":365}],678:[function(require,module,exports){ -arguments[4][366][0].apply(exports,arguments) -},{"./sort":677,"bit-twiddle":679,"dup":366,"typedarray-pool":636}],679:[function(require,module,exports){ -arguments[4][171][0].apply(exports,arguments) -},{"dup":171}],680:[function(require,module,exports){ -arguments[4][161][0].apply(exports,arguments) -},{"dup":161}],681:[function(require,module,exports){ +},{"./sort":673,"bit-twiddle":675,"dup":362,"typedarray-pool":632}],675:[function(require,module,exports){ +arguments[4][167][0].apply(exports,arguments) +},{"dup":167}],676:[function(require,module,exports){ +arguments[4][157][0].apply(exports,arguments) +},{"dup":157}],677:[function(require,module,exports){ +arguments[4][367][0].apply(exports,arguments) +},{"double-bits":678,"dup":367}],678:[function(require,module,exports){ +arguments[4][352][0].apply(exports,arguments) +},{"buffer":33,"dup":352}],679:[function(require,module,exports){ +arguments[4][369][0].apply(exports,arguments) +},{"big-rat/add":649,"dup":369}],680:[function(require,module,exports){ +arguments[4][370][0].apply(exports,arguments) +},{"big-rat":652,"dup":370}],681:[function(require,module,exports){ arguments[4][371][0].apply(exports,arguments) -},{"double-bits":682,"dup":371}],682:[function(require,module,exports){ -arguments[4][356][0].apply(exports,arguments) -},{"buffer":33,"dup":356}],683:[function(require,module,exports){ +},{"big-rat":652,"big-rat/mul":661,"dup":371}],682:[function(require,module,exports){ +arguments[4][372][0].apply(exports,arguments) +},{"big-rat/sub":666,"dup":372}],683:[function(require,module,exports){ arguments[4][373][0].apply(exports,arguments) -},{"big-rat/add":653,"dup":373}],684:[function(require,module,exports){ -arguments[4][374][0].apply(exports,arguments) -},{"big-rat":656,"dup":374}],685:[function(require,module,exports){ +},{"dup":373,"robust-orientation":1126}],684:[function(require,module,exports){ +arguments[4][168][0].apply(exports,arguments) +},{"dup":168}],685:[function(require,module,exports){ arguments[4][375][0].apply(exports,arguments) -},{"big-rat":656,"big-rat/mul":665,"dup":375}],686:[function(require,module,exports){ +},{"dup":375,"edges-to-adjacency-list":686}],686:[function(require,module,exports){ arguments[4][376][0].apply(exports,arguments) -},{"big-rat/sub":670,"dup":376}],687:[function(require,module,exports){ +},{"dup":376,"uniq":701}],687:[function(require,module,exports){ arguments[4][377][0].apply(exports,arguments) -},{"dup":377,"robust-orientation":1130}],688:[function(require,module,exports){ -arguments[4][172][0].apply(exports,arguments) -},{"dup":172}],689:[function(require,module,exports){ -arguments[4][379][0].apply(exports,arguments) -},{"dup":379,"edges-to-adjacency-list":690}],690:[function(require,module,exports){ +},{"compare-angle":688,"dup":377}],688:[function(require,module,exports){ +arguments[4][378][0].apply(exports,arguments) +},{"dup":378,"robust-orientation":1126,"robust-product":690,"robust-sum":699,"signum":691,"two-sum":692}],689:[function(require,module,exports){ +arguments[4][150][0].apply(exports,arguments) +},{"dup":150,"two-product":700,"two-sum":692}],690:[function(require,module,exports){ arguments[4][380][0].apply(exports,arguments) -},{"dup":380,"uniq":705}],691:[function(require,module,exports){ +},{"dup":380,"robust-scale":689,"robust-sum":699}],691:[function(require,module,exports){ arguments[4][381][0].apply(exports,arguments) -},{"compare-angle":692,"dup":381}],692:[function(require,module,exports){ -arguments[4][382][0].apply(exports,arguments) -},{"dup":382,"robust-orientation":1130,"robust-product":694,"robust-sum":703,"signum":695,"two-sum":696}],693:[function(require,module,exports){ -arguments[4][154][0].apply(exports,arguments) -},{"dup":154,"two-product":704,"two-sum":696}],694:[function(require,module,exports){ +},{"dup":381}],692:[function(require,module,exports){ +arguments[4][149][0].apply(exports,arguments) +},{"dup":149}],693:[function(require,module,exports){ +arguments[4][117][0].apply(exports,arguments) +},{"dup":117}],694:[function(require,module,exports){ arguments[4][384][0].apply(exports,arguments) -},{"dup":384,"robust-scale":693,"robust-sum":703}],695:[function(require,module,exports){ +},{"binary-search-bounds":693,"dup":384}],695:[function(require,module,exports){ arguments[4][385][0].apply(exports,arguments) -},{"dup":385}],696:[function(require,module,exports){ -arguments[4][153][0].apply(exports,arguments) -},{"dup":153}],697:[function(require,module,exports){ -arguments[4][121][0].apply(exports,arguments) -},{"dup":121}],698:[function(require,module,exports){ +},{"dup":385,"robust-orientation":1126}],696:[function(require,module,exports){ +arguments[4][386][0].apply(exports,arguments) +},{"dup":386}],697:[function(require,module,exports){ +arguments[4][387][0].apply(exports,arguments) +},{"./lib/order-segments":695,"binary-search-bounds":693,"dup":387,"functional-red-black-tree":696,"robust-orientation":1126}],698:[function(require,module,exports){ arguments[4][388][0].apply(exports,arguments) -},{"binary-search-bounds":697,"dup":388}],699:[function(require,module,exports){ -arguments[4][389][0].apply(exports,arguments) -},{"dup":389,"robust-orientation":1130}],700:[function(require,module,exports){ -arguments[4][390][0].apply(exports,arguments) -},{"dup":390}],701:[function(require,module,exports){ -arguments[4][391][0].apply(exports,arguments) -},{"./lib/order-segments":699,"binary-search-bounds":697,"dup":391,"functional-red-black-tree":700,"robust-orientation":1130}],702:[function(require,module,exports){ +},{"binary-search-bounds":693,"dup":388,"interval-tree-1d":694,"robust-orientation":1126,"slab-decomposition":697}],699:[function(require,module,exports){ +arguments[4][151][0].apply(exports,arguments) +},{"dup":151}],700:[function(require,module,exports){ +arguments[4][152][0].apply(exports,arguments) +},{"dup":152}],701:[function(require,module,exports){ +arguments[4][76][0].apply(exports,arguments) +},{"dup":76}],702:[function(require,module,exports){ arguments[4][392][0].apply(exports,arguments) -},{"binary-search-bounds":697,"dup":392,"interval-tree-1d":698,"robust-orientation":1130,"slab-decomposition":701}],703:[function(require,module,exports){ -arguments[4][155][0].apply(exports,arguments) -},{"dup":155}],704:[function(require,module,exports){ -arguments[4][156][0].apply(exports,arguments) -},{"dup":156}],705:[function(require,module,exports){ -arguments[4][76][0].apply(exports,arguments) -},{"dup":76}],706:[function(require,module,exports){ +},{"./lib/trim-leaves":685,"dup":392,"edges-to-adjacency-list":686,"planar-dual":687,"point-in-big-polygon":698,"robust-sum":699,"two-product":700,"uniq":701}],703:[function(require,module,exports){ +arguments[4][167][0].apply(exports,arguments) +},{"dup":167}],704:[function(require,module,exports){ +arguments[4][394][0].apply(exports,arguments) +},{"dup":394}],705:[function(require,module,exports){ +arguments[4][169][0].apply(exports,arguments) +},{"bit-twiddle":703,"dup":169,"union-find":704}],706:[function(require,module,exports){ arguments[4][396][0].apply(exports,arguments) -},{"./lib/trim-leaves":689,"dup":396,"edges-to-adjacency-list":690,"planar-dual":691,"point-in-big-polygon":702,"robust-sum":703,"two-product":704,"uniq":705}],707:[function(require,module,exports){ -arguments[4][171][0].apply(exports,arguments) -},{"dup":171}],708:[function(require,module,exports){ -arguments[4][398][0].apply(exports,arguments) -},{"dup":398}],709:[function(require,module,exports){ -arguments[4][173][0].apply(exports,arguments) -},{"bit-twiddle":707,"dup":173,"union-find":708}],710:[function(require,module,exports){ -arguments[4][400][0].apply(exports,arguments) -},{"dup":400,"robust-orientation":1130,"simplicial-complex":709}],711:[function(require,module,exports){ +},{"dup":396,"robust-orientation":1126,"simplicial-complex":705}],707:[function(require,module,exports){ +arguments[4][397][0].apply(exports,arguments) +},{"dup":397,"typedarray-pool":632}],708:[function(require,module,exports){ arguments[4][401][0].apply(exports,arguments) -},{"dup":401,"typedarray-pool":636}],712:[function(require,module,exports){ +},{"dup":401}],709:[function(require,module,exports){ arguments[4][405][0].apply(exports,arguments) -},{"dup":405}],713:[function(require,module,exports){ -arguments[4][409][0].apply(exports,arguments) -},{"dup":409,"typedarray-pool":636}],714:[function(require,module,exports){ -arguments[4][410][0].apply(exports,arguments) -},{"dup":410,"invert-permutation":715,"typedarray-pool":636}],715:[function(require,module,exports){ +},{"dup":405,"typedarray-pool":632}],710:[function(require,module,exports){ +arguments[4][406][0].apply(exports,arguments) +},{"dup":406,"invert-permutation":711,"typedarray-pool":632}],711:[function(require,module,exports){ +arguments[4][407][0].apply(exports,arguments) +},{"dup":407}],712:[function(require,module,exports){ arguments[4][411][0].apply(exports,arguments) -},{"dup":411}],716:[function(require,module,exports){ -arguments[4][415][0].apply(exports,arguments) -},{"dup":415,"gamma":712,"permutation-parity":713,"permutation-rank":714}],717:[function(require,module,exports){ -arguments[4][416][0].apply(exports,arguments) -},{"cwise-compiler":718,"dup":416}],718:[function(require,module,exports){ +},{"dup":411,"gamma":708,"permutation-parity":709,"permutation-rank":710}],713:[function(require,module,exports){ +arguments[4][412][0].apply(exports,arguments) +},{"cwise-compiler":714,"dup":412}],714:[function(require,module,exports){ arguments[4][73][0].apply(exports,arguments) -},{"./lib/thunk.js":720,"dup":73}],719:[function(require,module,exports){ +},{"./lib/thunk.js":716,"dup":73}],715:[function(require,module,exports){ arguments[4][74][0].apply(exports,arguments) -},{"dup":74,"uniq":721}],720:[function(require,module,exports){ +},{"dup":74,"uniq":717}],716:[function(require,module,exports){ arguments[4][75][0].apply(exports,arguments) -},{"./compile.js":719,"dup":75}],721:[function(require,module,exports){ +},{"./compile.js":715,"dup":75}],717:[function(require,module,exports){ arguments[4][76][0].apply(exports,arguments) -},{"dup":76}],722:[function(require,module,exports){ -arguments[4][421][0].apply(exports,arguments) -},{"./lib/zc-core":717,"dup":421}],723:[function(require,module,exports){ -arguments[4][422][0].apply(exports,arguments) -},{"dup":422,"ndarray-extract-contour":711,"triangulate-hypercube":716,"zero-crossings":722}],724:[function(require,module,exports){ +},{"dup":76}],718:[function(require,module,exports){ +arguments[4][417][0].apply(exports,arguments) +},{"./lib/zc-core":713,"dup":417}],719:[function(require,module,exports){ +arguments[4][418][0].apply(exports,arguments) +},{"dup":418,"ndarray-extract-contour":707,"triangulate-hypercube":712,"zero-crossings":718}],720:[function(require,module,exports){ 'use strict' module.exports = createFancyScatter2D @@ -60419,18 +60412,18 @@ function createFancyScatter2D(plot, options) { return scatter } -},{"./lib/shaders":605,"gl-buffer":606,"gl-shader":607,"text-cache":633,"typedarray-pool":636,"vectorize-text":637}],725:[function(require,module,exports){ +},{"./lib/shaders":601,"gl-buffer":602,"gl-shader":603,"text-cache":629,"typedarray-pool":632,"vectorize-text":633}],721:[function(require,module,exports){ exports.pointVertex = "precision highp float;\n#define GLSLIFY 1\n\nattribute vec2 positionHi, positionLo;\nattribute float weight;\n\nuniform vec2 scaleHi, scaleLo, translateHi, translateLo;\nuniform float pointSize, useWeight;\n\nvarying float fragWeight;\n\n\nvec4 pfx_1_0(vec2 scaleHi, vec2 scaleLo, vec2 translateHi, vec2 translateLo, vec2 positionHi, vec2 positionLo) {\n return vec4((positionHi + translateHi) * scaleHi\n + (positionLo + translateLo) * scaleHi\n + (positionHi + translateHi) * scaleLo\n + (positionLo + translateLo) * scaleLo, 0.0, 1.0);\n}\n\nvoid main() {\n gl_Position = pfx_1_0(scaleHi, scaleLo, translateHi, translateLo, positionHi, positionLo);\n gl_PointSize = pointSize;\n fragWeight = mix(1.0, weight, useWeight);\n}" exports.pointFragment = "precision mediump float;\n#define GLSLIFY 1\n\nuniform vec4 color, borderColor;\nuniform float centerFraction;\n\nvarying float fragWeight;\n\nfloat smoothStep(float x, float y) {\n return 1.0 / (1.0 + exp(50.0*(x - y)));\n}\n\nvoid main() {\n float radius = length(2.0*gl_PointCoord.xy-1.0);\n if(radius > 1.0) {\n discard;\n }\n vec4 baseColor = mix(borderColor, color, smoothStep(radius, centerFraction));\n float alpha = 1.0 - pow(1.0 - baseColor.a, fragWeight);\n gl_FragColor = vec4(baseColor.rgb * alpha, alpha);\n}" exports.pickVertex = "precision highp float;\n#define GLSLIFY 1\n\nvec4 pfx_1_0(vec2 scaleHi, vec2 scaleLo, vec2 translateHi, vec2 translateLo, vec2 positionHi, vec2 positionLo) {\n return vec4((positionHi + translateHi) * scaleHi\n + (positionLo + translateLo) * scaleHi\n + (positionHi + translateHi) * scaleLo\n + (positionLo + translateLo) * scaleLo, 0.0, 1.0);\n}\n\nattribute vec2 positionHi, positionLo;\nattribute vec4 pickId;\n\nuniform vec2 scaleHi, scaleLo, translateHi, translateLo;\nuniform float pointSize;\nuniform vec4 pickOffset;\n\nvarying vec4 fragId;\n\nvoid main() {\n\n vec4 id = pickId + pickOffset;\n id.y += floor(id.x / 256.0);\n id.x -= floor(id.x / 256.0) * 256.0;\n\n id.z += floor(id.y / 256.0);\n id.y -= floor(id.y / 256.0) * 256.0;\n\n id.w += floor(id.z / 256.0);\n id.z -= floor(id.z / 256.0) * 256.0;\n\n gl_Position = pfx_1_0(scaleHi, scaleLo, translateHi, translateLo, positionHi, positionLo);\n gl_PointSize = pointSize;\n fragId = id;\n}" exports.pickFragment = "precision mediump float;\n#define GLSLIFY 1\n\nvarying vec4 fragId;\n\nvoid main() {\n float radius = length(2.0 * gl_PointCoord.xy - 1.0);\n if(radius > 1.0) {\n discard;\n }\n gl_FragColor = fragId / 255.0;\n}" -},{}],726:[function(require,module,exports){ -arguments[4][203][0].apply(exports,arguments) -},{"dup":203}],727:[function(require,module,exports){ -arguments[4][187][0].apply(exports,arguments) -},{"dup":187,"ndarray":1121,"ndarray-ops":1116,"typedarray-pool":732}],728:[function(require,module,exports){ +},{}],722:[function(require,module,exports){ +arguments[4][199][0].apply(exports,arguments) +},{"dup":199}],723:[function(require,module,exports){ +arguments[4][183][0].apply(exports,arguments) +},{"dup":183,"ndarray":1117,"ndarray-ops":1112,"typedarray-pool":728}],724:[function(require,module,exports){ 'use strict' module.exports = sortLevels @@ -60728,7 +60721,7 @@ function quickSort(left, right, data_levels, data_points, data_ids, data_weights } } -},{}],729:[function(require,module,exports){ +},{}],725:[function(require,module,exports){ 'use strict' var pool = require('typedarray-pool') @@ -60868,13 +60861,13 @@ function snapPoints(points, ids, weights, bounds) { return lod } -},{"./lib/sort":728,"typedarray-pool":732}],730:[function(require,module,exports){ -arguments[4][171][0].apply(exports,arguments) -},{"dup":171}],731:[function(require,module,exports){ -arguments[4][150][0].apply(exports,arguments) -},{"dup":150}],732:[function(require,module,exports){ -arguments[4][190][0].apply(exports,arguments) -},{"bit-twiddle":730,"buffer":33,"dup":190}],733:[function(require,module,exports){ +},{"./lib/sort":724,"typedarray-pool":728}],726:[function(require,module,exports){ +arguments[4][167][0].apply(exports,arguments) +},{"dup":167}],727:[function(require,module,exports){ +arguments[4][146][0].apply(exports,arguments) +},{"dup":146}],728:[function(require,module,exports){ +arguments[4][186][0].apply(exports,arguments) +},{"bit-twiddle":726,"buffer":33,"dup":186}],729:[function(require,module,exports){ 'use strict' var createShader = require('gl-shader') @@ -61111,7 +61104,7 @@ function createScatter2D(plot, options) { return result } -},{"./lib/shader":725,"binary-search-bounds":726,"gl-buffer":727,"gl-shader":838,"snap-points-2d":729,"typedarray-pool":732}],734:[function(require,module,exports){ +},{"./lib/shader":721,"binary-search-bounds":722,"gl-buffer":723,"gl-shader":834,"snap-points-2d":725,"typedarray-pool":728}],730:[function(require,module,exports){ "use strict" var vectorizeText = require("vectorize-text") @@ -61157,7 +61150,7 @@ function getGlyph(symbol, font) { //Save cached symbol return fontCache[symbol] = [triSymbol, lineSymbol, bounds] } -},{"vectorize-text":744}],735:[function(require,module,exports){ +},{"vectorize-text":740}],731:[function(require,module,exports){ var createShaderWrapper = require('gl-shader') @@ -61234,197 +61227,197 @@ exports.createPickProject = function(gl) { return createShader(gl, pickProject) } -},{"gl-shader":838}],736:[function(require,module,exports){ -arguments[4][187][0].apply(exports,arguments) -},{"dup":187,"ndarray":1121,"ndarray-ops":1116,"typedarray-pool":743}],737:[function(require,module,exports){ -arguments[4][196][0].apply(exports,arguments) -},{"dup":196}],738:[function(require,module,exports){ -arguments[4][197][0].apply(exports,arguments) -},{"./do-bind.js":737,"dup":197}],739:[function(require,module,exports){ -arguments[4][198][0].apply(exports,arguments) -},{"./do-bind.js":737,"dup":198}],740:[function(require,module,exports){ -arguments[4][199][0].apply(exports,arguments) -},{"./lib/vao-emulated.js":738,"./lib/vao-native.js":739,"dup":199}],741:[function(require,module,exports){ -arguments[4][171][0].apply(exports,arguments) -},{"dup":171}],742:[function(require,module,exports){ -arguments[4][150][0].apply(exports,arguments) -},{"dup":150}],743:[function(require,module,exports){ -arguments[4][190][0].apply(exports,arguments) -},{"bit-twiddle":741,"buffer":33,"dup":190}],744:[function(require,module,exports){ +},{"gl-shader":834}],732:[function(require,module,exports){ +arguments[4][183][0].apply(exports,arguments) +},{"dup":183,"ndarray":1117,"ndarray-ops":1112,"typedarray-pool":739}],733:[function(require,module,exports){ +arguments[4][192][0].apply(exports,arguments) +},{"dup":192}],734:[function(require,module,exports){ +arguments[4][193][0].apply(exports,arguments) +},{"./do-bind.js":733,"dup":193}],735:[function(require,module,exports){ +arguments[4][194][0].apply(exports,arguments) +},{"./do-bind.js":733,"dup":194}],736:[function(require,module,exports){ +arguments[4][195][0].apply(exports,arguments) +},{"./lib/vao-emulated.js":734,"./lib/vao-native.js":735,"dup":195}],737:[function(require,module,exports){ +arguments[4][167][0].apply(exports,arguments) +},{"dup":167}],738:[function(require,module,exports){ +arguments[4][146][0].apply(exports,arguments) +},{"dup":146}],739:[function(require,module,exports){ +arguments[4][186][0].apply(exports,arguments) +},{"bit-twiddle":737,"buffer":33,"dup":186}],740:[function(require,module,exports){ +arguments[4][322][0].apply(exports,arguments) +},{"./lib/vtext":741,"dup":322}],741:[function(require,module,exports){ +arguments[4][323][0].apply(exports,arguments) +},{"cdt2d":742,"clean-pslg":754,"dup":323,"ndarray":1117,"planar-graph-to-polyline":809,"simplify-planar-graph":813,"surface-nets":826}],742:[function(require,module,exports){ +arguments[4][324][0].apply(exports,arguments) +},{"./lib/delaunay":743,"./lib/filter":744,"./lib/monotone":745,"./lib/triangulation":746,"dup":324}],743:[function(require,module,exports){ +arguments[4][325][0].apply(exports,arguments) +},{"binary-search-bounds":747,"dup":325,"robust-in-sphere":748}],744:[function(require,module,exports){ arguments[4][326][0].apply(exports,arguments) -},{"./lib/vtext":745,"dup":326}],745:[function(require,module,exports){ +},{"binary-search-bounds":747,"dup":326}],745:[function(require,module,exports){ arguments[4][327][0].apply(exports,arguments) -},{"cdt2d":746,"clean-pslg":758,"dup":327,"ndarray":1121,"planar-graph-to-polyline":813,"simplify-planar-graph":817,"surface-nets":830}],746:[function(require,module,exports){ +},{"binary-search-bounds":747,"dup":327,"robust-orientation":1126}],746:[function(require,module,exports){ arguments[4][328][0].apply(exports,arguments) -},{"./lib/delaunay":747,"./lib/filter":748,"./lib/monotone":749,"./lib/triangulation":750,"dup":328}],747:[function(require,module,exports){ +},{"binary-search-bounds":747,"dup":328}],747:[function(require,module,exports){ +arguments[4][199][0].apply(exports,arguments) +},{"dup":199}],748:[function(require,module,exports){ arguments[4][329][0].apply(exports,arguments) -},{"binary-search-bounds":751,"dup":329,"robust-in-sphere":752}],748:[function(require,module,exports){ -arguments[4][330][0].apply(exports,arguments) -},{"binary-search-bounds":751,"dup":330}],749:[function(require,module,exports){ -arguments[4][331][0].apply(exports,arguments) -},{"binary-search-bounds":751,"dup":331,"robust-orientation":1130}],750:[function(require,module,exports){ +},{"dup":329,"robust-scale":750,"robust-subtract":751,"robust-sum":752,"two-product":753}],749:[function(require,module,exports){ +arguments[4][149][0].apply(exports,arguments) +},{"dup":149}],750:[function(require,module,exports){ +arguments[4][150][0].apply(exports,arguments) +},{"dup":150,"two-product":753,"two-sum":749}],751:[function(require,module,exports){ arguments[4][332][0].apply(exports,arguments) -},{"binary-search-bounds":751,"dup":332}],751:[function(require,module,exports){ -arguments[4][203][0].apply(exports,arguments) -},{"dup":203}],752:[function(require,module,exports){ -arguments[4][333][0].apply(exports,arguments) -},{"dup":333,"robust-scale":754,"robust-subtract":755,"robust-sum":756,"two-product":757}],753:[function(require,module,exports){ -arguments[4][153][0].apply(exports,arguments) -},{"dup":153}],754:[function(require,module,exports){ -arguments[4][154][0].apply(exports,arguments) -},{"dup":154,"two-product":757,"two-sum":753}],755:[function(require,module,exports){ +},{"dup":332}],752:[function(require,module,exports){ +arguments[4][151][0].apply(exports,arguments) +},{"dup":151}],753:[function(require,module,exports){ +arguments[4][152][0].apply(exports,arguments) +},{"dup":152}],754:[function(require,module,exports){ +arguments[4][335][0].apply(exports,arguments) +},{"./lib/rat-seg-intersect":755,"big-rat":759,"big-rat/cmp":757,"big-rat/to-float":774,"box-intersect":775,"compare-cell":783,"dup":335,"nextafter":784,"rat-vec":787,"robust-segment-intersect":790,"union-find":791}],755:[function(require,module,exports){ arguments[4][336][0].apply(exports,arguments) -},{"dup":336}],756:[function(require,module,exports){ -arguments[4][155][0].apply(exports,arguments) -},{"dup":155}],757:[function(require,module,exports){ -arguments[4][156][0].apply(exports,arguments) -},{"dup":156}],758:[function(require,module,exports){ +},{"big-rat/div":758,"big-rat/mul":768,"big-rat/sign":772,"big-rat/sub":773,"big-rat/to-float":774,"dup":336,"rat-vec/add":786,"rat-vec/muls":788,"rat-vec/sub":789}],756:[function(require,module,exports){ +arguments[4][337][0].apply(exports,arguments) +},{"./lib/rationalize":766,"dup":337}],757:[function(require,module,exports){ +arguments[4][338][0].apply(exports,arguments) +},{"dup":338}],758:[function(require,module,exports){ arguments[4][339][0].apply(exports,arguments) -},{"./lib/rat-seg-intersect":759,"big-rat":763,"big-rat/cmp":761,"big-rat/to-float":778,"box-intersect":779,"compare-cell":787,"dup":339,"nextafter":788,"rat-vec":791,"robust-segment-intersect":794,"union-find":795}],759:[function(require,module,exports){ +},{"./lib/rationalize":766,"dup":339}],759:[function(require,module,exports){ arguments[4][340][0].apply(exports,arguments) -},{"big-rat/div":762,"big-rat/mul":772,"big-rat/sign":776,"big-rat/sub":777,"big-rat/to-float":778,"dup":340,"rat-vec/add":790,"rat-vec/muls":792,"rat-vec/sub":793}],760:[function(require,module,exports){ +},{"./div":758,"./is-rat":760,"./lib/is-bn":764,"./lib/num-to-bn":765,"./lib/rationalize":766,"./lib/str-to-bn":767,"dup":340}],760:[function(require,module,exports){ arguments[4][341][0].apply(exports,arguments) -},{"./lib/rationalize":770,"dup":341}],761:[function(require,module,exports){ +},{"./lib/is-bn":764,"dup":341}],761:[function(require,module,exports){ arguments[4][342][0].apply(exports,arguments) -},{"dup":342}],762:[function(require,module,exports){ +},{"bn.js":770,"dup":342}],762:[function(require,module,exports){ arguments[4][343][0].apply(exports,arguments) -},{"./lib/rationalize":770,"dup":343}],763:[function(require,module,exports){ +},{"dup":343}],763:[function(require,module,exports){ arguments[4][344][0].apply(exports,arguments) -},{"./div":762,"./is-rat":764,"./lib/is-bn":768,"./lib/num-to-bn":769,"./lib/rationalize":770,"./lib/str-to-bn":771,"dup":344}],764:[function(require,module,exports){ +},{"bit-twiddle":769,"double-bits":771,"dup":344}],764:[function(require,module,exports){ arguments[4][345][0].apply(exports,arguments) -},{"./lib/is-bn":768,"dup":345}],765:[function(require,module,exports){ +},{"bn.js":770,"dup":345}],765:[function(require,module,exports){ arguments[4][346][0].apply(exports,arguments) -},{"bn.js":774,"dup":346}],766:[function(require,module,exports){ +},{"bn.js":770,"double-bits":771,"dup":346}],766:[function(require,module,exports){ arguments[4][347][0].apply(exports,arguments) -},{"dup":347}],767:[function(require,module,exports){ +},{"./bn-sign":761,"./num-to-bn":765,"dup":347}],767:[function(require,module,exports){ arguments[4][348][0].apply(exports,arguments) -},{"bit-twiddle":773,"double-bits":775,"dup":348}],768:[function(require,module,exports){ +},{"bn.js":770,"dup":348}],768:[function(require,module,exports){ arguments[4][349][0].apply(exports,arguments) -},{"bn.js":774,"dup":349}],769:[function(require,module,exports){ -arguments[4][350][0].apply(exports,arguments) -},{"bn.js":774,"double-bits":775,"dup":350}],770:[function(require,module,exports){ +},{"./lib/rationalize":766,"dup":349}],769:[function(require,module,exports){ +arguments[4][167][0].apply(exports,arguments) +},{"dup":167}],770:[function(require,module,exports){ arguments[4][351][0].apply(exports,arguments) -},{"./bn-sign":765,"./num-to-bn":769,"dup":351}],771:[function(require,module,exports){ +},{"dup":351}],771:[function(require,module,exports){ arguments[4][352][0].apply(exports,arguments) -},{"bn.js":774,"dup":352}],772:[function(require,module,exports){ +},{"buffer":33,"dup":352}],772:[function(require,module,exports){ arguments[4][353][0].apply(exports,arguments) -},{"./lib/rationalize":770,"dup":353}],773:[function(require,module,exports){ -arguments[4][171][0].apply(exports,arguments) -},{"dup":171}],774:[function(require,module,exports){ +},{"./lib/bn-sign":761,"dup":353}],773:[function(require,module,exports){ +arguments[4][354][0].apply(exports,arguments) +},{"./lib/rationalize":766,"dup":354}],774:[function(require,module,exports){ arguments[4][355][0].apply(exports,arguments) -},{"dup":355}],775:[function(require,module,exports){ +},{"./lib/bn-to-num":762,"./lib/ctz":763,"dup":355}],775:[function(require,module,exports){ arguments[4][356][0].apply(exports,arguments) -},{"buffer":33,"dup":356}],776:[function(require,module,exports){ +},{"./lib/intersect":777,"./lib/sweep":781,"dup":356,"typedarray-pool":739}],776:[function(require,module,exports){ arguments[4][357][0].apply(exports,arguments) -},{"./lib/bn-sign":765,"dup":357}],777:[function(require,module,exports){ +},{"dup":357}],777:[function(require,module,exports){ arguments[4][358][0].apply(exports,arguments) -},{"./lib/rationalize":770,"dup":358}],778:[function(require,module,exports){ +},{"./brute":776,"./median":778,"./partition":779,"./sweep":781,"bit-twiddle":782,"dup":358,"typedarray-pool":739}],778:[function(require,module,exports){ arguments[4][359][0].apply(exports,arguments) -},{"./lib/bn-to-num":766,"./lib/ctz":767,"dup":359}],779:[function(require,module,exports){ +},{"./partition":779,"dup":359}],779:[function(require,module,exports){ arguments[4][360][0].apply(exports,arguments) -},{"./lib/intersect":781,"./lib/sweep":785,"dup":360,"typedarray-pool":743}],780:[function(require,module,exports){ +},{"dup":360}],780:[function(require,module,exports){ arguments[4][361][0].apply(exports,arguments) },{"dup":361}],781:[function(require,module,exports){ arguments[4][362][0].apply(exports,arguments) -},{"./brute":780,"./median":782,"./partition":783,"./sweep":785,"bit-twiddle":786,"dup":362,"typedarray-pool":743}],782:[function(require,module,exports){ -arguments[4][363][0].apply(exports,arguments) -},{"./partition":783,"dup":363}],783:[function(require,module,exports){ -arguments[4][364][0].apply(exports,arguments) -},{"dup":364}],784:[function(require,module,exports){ -arguments[4][365][0].apply(exports,arguments) -},{"dup":365}],785:[function(require,module,exports){ -arguments[4][366][0].apply(exports,arguments) -},{"./sort":784,"bit-twiddle":786,"dup":366,"typedarray-pool":743}],786:[function(require,module,exports){ -arguments[4][171][0].apply(exports,arguments) -},{"dup":171}],787:[function(require,module,exports){ -arguments[4][161][0].apply(exports,arguments) -},{"dup":161}],788:[function(require,module,exports){ +},{"./sort":780,"bit-twiddle":782,"dup":362,"typedarray-pool":739}],782:[function(require,module,exports){ +arguments[4][167][0].apply(exports,arguments) +},{"dup":167}],783:[function(require,module,exports){ +arguments[4][157][0].apply(exports,arguments) +},{"dup":157}],784:[function(require,module,exports){ +arguments[4][367][0].apply(exports,arguments) +},{"double-bits":785,"dup":367}],785:[function(require,module,exports){ +arguments[4][352][0].apply(exports,arguments) +},{"buffer":33,"dup":352}],786:[function(require,module,exports){ +arguments[4][369][0].apply(exports,arguments) +},{"big-rat/add":756,"dup":369}],787:[function(require,module,exports){ +arguments[4][370][0].apply(exports,arguments) +},{"big-rat":759,"dup":370}],788:[function(require,module,exports){ arguments[4][371][0].apply(exports,arguments) -},{"double-bits":789,"dup":371}],789:[function(require,module,exports){ -arguments[4][356][0].apply(exports,arguments) -},{"buffer":33,"dup":356}],790:[function(require,module,exports){ +},{"big-rat":759,"big-rat/mul":768,"dup":371}],789:[function(require,module,exports){ +arguments[4][372][0].apply(exports,arguments) +},{"big-rat/sub":773,"dup":372}],790:[function(require,module,exports){ arguments[4][373][0].apply(exports,arguments) -},{"big-rat/add":760,"dup":373}],791:[function(require,module,exports){ -arguments[4][374][0].apply(exports,arguments) -},{"big-rat":763,"dup":374}],792:[function(require,module,exports){ +},{"dup":373,"robust-orientation":1126}],791:[function(require,module,exports){ +arguments[4][168][0].apply(exports,arguments) +},{"dup":168}],792:[function(require,module,exports){ arguments[4][375][0].apply(exports,arguments) -},{"big-rat":763,"big-rat/mul":772,"dup":375}],793:[function(require,module,exports){ +},{"dup":375,"edges-to-adjacency-list":793}],793:[function(require,module,exports){ arguments[4][376][0].apply(exports,arguments) -},{"big-rat/sub":777,"dup":376}],794:[function(require,module,exports){ +},{"dup":376,"uniq":808}],794:[function(require,module,exports){ arguments[4][377][0].apply(exports,arguments) -},{"dup":377,"robust-orientation":1130}],795:[function(require,module,exports){ -arguments[4][172][0].apply(exports,arguments) -},{"dup":172}],796:[function(require,module,exports){ -arguments[4][379][0].apply(exports,arguments) -},{"dup":379,"edges-to-adjacency-list":797}],797:[function(require,module,exports){ +},{"compare-angle":795,"dup":377}],795:[function(require,module,exports){ +arguments[4][378][0].apply(exports,arguments) +},{"dup":378,"robust-orientation":1126,"robust-product":797,"robust-sum":806,"signum":798,"two-sum":799}],796:[function(require,module,exports){ +arguments[4][150][0].apply(exports,arguments) +},{"dup":150,"two-product":807,"two-sum":799}],797:[function(require,module,exports){ arguments[4][380][0].apply(exports,arguments) -},{"dup":380,"uniq":812}],798:[function(require,module,exports){ +},{"dup":380,"robust-scale":796,"robust-sum":806}],798:[function(require,module,exports){ arguments[4][381][0].apply(exports,arguments) -},{"compare-angle":799,"dup":381}],799:[function(require,module,exports){ -arguments[4][382][0].apply(exports,arguments) -},{"dup":382,"robust-orientation":1130,"robust-product":801,"robust-sum":810,"signum":802,"two-sum":803}],800:[function(require,module,exports){ -arguments[4][154][0].apply(exports,arguments) -},{"dup":154,"two-product":811,"two-sum":803}],801:[function(require,module,exports){ +},{"dup":381}],799:[function(require,module,exports){ +arguments[4][149][0].apply(exports,arguments) +},{"dup":149}],800:[function(require,module,exports){ +arguments[4][117][0].apply(exports,arguments) +},{"dup":117}],801:[function(require,module,exports){ arguments[4][384][0].apply(exports,arguments) -},{"dup":384,"robust-scale":800,"robust-sum":810}],802:[function(require,module,exports){ +},{"binary-search-bounds":800,"dup":384}],802:[function(require,module,exports){ arguments[4][385][0].apply(exports,arguments) -},{"dup":385}],803:[function(require,module,exports){ -arguments[4][153][0].apply(exports,arguments) -},{"dup":153}],804:[function(require,module,exports){ -arguments[4][121][0].apply(exports,arguments) -},{"dup":121}],805:[function(require,module,exports){ +},{"dup":385,"robust-orientation":1126}],803:[function(require,module,exports){ +arguments[4][386][0].apply(exports,arguments) +},{"dup":386}],804:[function(require,module,exports){ +arguments[4][387][0].apply(exports,arguments) +},{"./lib/order-segments":802,"binary-search-bounds":800,"dup":387,"functional-red-black-tree":803,"robust-orientation":1126}],805:[function(require,module,exports){ arguments[4][388][0].apply(exports,arguments) -},{"binary-search-bounds":804,"dup":388}],806:[function(require,module,exports){ -arguments[4][389][0].apply(exports,arguments) -},{"dup":389,"robust-orientation":1130}],807:[function(require,module,exports){ -arguments[4][390][0].apply(exports,arguments) -},{"dup":390}],808:[function(require,module,exports){ -arguments[4][391][0].apply(exports,arguments) -},{"./lib/order-segments":806,"binary-search-bounds":804,"dup":391,"functional-red-black-tree":807,"robust-orientation":1130}],809:[function(require,module,exports){ +},{"binary-search-bounds":800,"dup":388,"interval-tree-1d":801,"robust-orientation":1126,"slab-decomposition":804}],806:[function(require,module,exports){ +arguments[4][151][0].apply(exports,arguments) +},{"dup":151}],807:[function(require,module,exports){ +arguments[4][152][0].apply(exports,arguments) +},{"dup":152}],808:[function(require,module,exports){ +arguments[4][76][0].apply(exports,arguments) +},{"dup":76}],809:[function(require,module,exports){ arguments[4][392][0].apply(exports,arguments) -},{"binary-search-bounds":804,"dup":392,"interval-tree-1d":805,"robust-orientation":1130,"slab-decomposition":808}],810:[function(require,module,exports){ -arguments[4][155][0].apply(exports,arguments) -},{"dup":155}],811:[function(require,module,exports){ -arguments[4][156][0].apply(exports,arguments) -},{"dup":156}],812:[function(require,module,exports){ -arguments[4][76][0].apply(exports,arguments) -},{"dup":76}],813:[function(require,module,exports){ +},{"./lib/trim-leaves":792,"dup":392,"edges-to-adjacency-list":793,"planar-dual":794,"point-in-big-polygon":805,"robust-sum":806,"two-product":807,"uniq":808}],810:[function(require,module,exports){ +arguments[4][167][0].apply(exports,arguments) +},{"dup":167}],811:[function(require,module,exports){ +arguments[4][394][0].apply(exports,arguments) +},{"dup":394}],812:[function(require,module,exports){ +arguments[4][169][0].apply(exports,arguments) +},{"bit-twiddle":810,"dup":169,"union-find":811}],813:[function(require,module,exports){ arguments[4][396][0].apply(exports,arguments) -},{"./lib/trim-leaves":796,"dup":396,"edges-to-adjacency-list":797,"planar-dual":798,"point-in-big-polygon":809,"robust-sum":810,"two-product":811,"uniq":812}],814:[function(require,module,exports){ -arguments[4][171][0].apply(exports,arguments) -},{"dup":171}],815:[function(require,module,exports){ -arguments[4][398][0].apply(exports,arguments) -},{"dup":398}],816:[function(require,module,exports){ -arguments[4][173][0].apply(exports,arguments) -},{"bit-twiddle":814,"dup":173,"union-find":815}],817:[function(require,module,exports){ -arguments[4][400][0].apply(exports,arguments) -},{"dup":400,"robust-orientation":1130,"simplicial-complex":816}],818:[function(require,module,exports){ +},{"dup":396,"robust-orientation":1126,"simplicial-complex":812}],814:[function(require,module,exports){ +arguments[4][397][0].apply(exports,arguments) +},{"dup":397,"typedarray-pool":739}],815:[function(require,module,exports){ arguments[4][401][0].apply(exports,arguments) -},{"dup":401,"typedarray-pool":743}],819:[function(require,module,exports){ +},{"dup":401}],816:[function(require,module,exports){ arguments[4][405][0].apply(exports,arguments) -},{"dup":405}],820:[function(require,module,exports){ -arguments[4][409][0].apply(exports,arguments) -},{"dup":409,"typedarray-pool":743}],821:[function(require,module,exports){ -arguments[4][410][0].apply(exports,arguments) -},{"dup":410,"invert-permutation":822,"typedarray-pool":743}],822:[function(require,module,exports){ +},{"dup":405,"typedarray-pool":739}],817:[function(require,module,exports){ +arguments[4][406][0].apply(exports,arguments) +},{"dup":406,"invert-permutation":818,"typedarray-pool":739}],818:[function(require,module,exports){ +arguments[4][407][0].apply(exports,arguments) +},{"dup":407}],819:[function(require,module,exports){ arguments[4][411][0].apply(exports,arguments) -},{"dup":411}],823:[function(require,module,exports){ -arguments[4][415][0].apply(exports,arguments) -},{"dup":415,"gamma":819,"permutation-parity":820,"permutation-rank":821}],824:[function(require,module,exports){ -arguments[4][416][0].apply(exports,arguments) -},{"cwise-compiler":825,"dup":416}],825:[function(require,module,exports){ +},{"dup":411,"gamma":815,"permutation-parity":816,"permutation-rank":817}],820:[function(require,module,exports){ +arguments[4][412][0].apply(exports,arguments) +},{"cwise-compiler":821,"dup":412}],821:[function(require,module,exports){ arguments[4][73][0].apply(exports,arguments) -},{"./lib/thunk.js":827,"dup":73}],826:[function(require,module,exports){ +},{"./lib/thunk.js":823,"dup":73}],822:[function(require,module,exports){ arguments[4][74][0].apply(exports,arguments) -},{"dup":74,"uniq":828}],827:[function(require,module,exports){ +},{"dup":74,"uniq":824}],823:[function(require,module,exports){ arguments[4][75][0].apply(exports,arguments) -},{"./compile.js":826,"dup":75}],828:[function(require,module,exports){ +},{"./compile.js":822,"dup":75}],824:[function(require,module,exports){ arguments[4][76][0].apply(exports,arguments) -},{"dup":76}],829:[function(require,module,exports){ -arguments[4][421][0].apply(exports,arguments) -},{"./lib/zc-core":824,"dup":421}],830:[function(require,module,exports){ -arguments[4][422][0].apply(exports,arguments) -},{"dup":422,"ndarray-extract-contour":818,"triangulate-hypercube":823,"zero-crossings":829}],831:[function(require,module,exports){ +},{"dup":76}],825:[function(require,module,exports){ +arguments[4][417][0].apply(exports,arguments) +},{"./lib/zc-core":820,"dup":417}],826:[function(require,module,exports){ +arguments[4][418][0].apply(exports,arguments) +},{"dup":418,"ndarray-extract-contour":814,"triangulate-hypercube":819,"zero-crossings":825}],827:[function(require,module,exports){ 'use strict' var createBuffer = require('gl-buffer') @@ -62184,7 +62177,7 @@ function createPointCloud(options) { return pointCloud } -},{"./lib/glyphs":734,"./lib/shaders":735,"gl-buffer":736,"gl-mat4/multiply":240,"gl-vao":740,"typedarray-pool":743}],832:[function(require,module,exports){ +},{"./lib/glyphs":730,"./lib/shaders":731,"gl-buffer":732,"gl-mat4/multiply":236,"gl-vao":736,"typedarray-pool":739}],828:[function(require,module,exports){ 'use strict' @@ -62192,15 +62185,15 @@ function createPointCloud(options) { exports.boxVertex = "precision mediump float;\n#define GLSLIFY 1\n\nattribute vec2 vertex;\n\nuniform vec2 cornerA, cornerB;\n\nvoid main() {\n gl_Position = vec4(mix(cornerA, cornerB, vertex), 0, 1);\n}\n" exports.boxFragment = "precision mediump float;\n#define GLSLIFY 1\n\nuniform vec4 color;\n\nvoid main() {\n gl_FragColor = color;\n}\n" -},{}],833:[function(require,module,exports){ -arguments[4][187][0].apply(exports,arguments) -},{"dup":187,"ndarray":1121,"ndarray-ops":1116,"typedarray-pool":836}],834:[function(require,module,exports){ -arguments[4][171][0].apply(exports,arguments) -},{"dup":171}],835:[function(require,module,exports){ -arguments[4][150][0].apply(exports,arguments) -},{"dup":150}],836:[function(require,module,exports){ -arguments[4][190][0].apply(exports,arguments) -},{"bit-twiddle":834,"buffer":33,"dup":190}],837:[function(require,module,exports){ +},{}],829:[function(require,module,exports){ +arguments[4][183][0].apply(exports,arguments) +},{"dup":183,"ndarray":1117,"ndarray-ops":1112,"typedarray-pool":832}],830:[function(require,module,exports){ +arguments[4][167][0].apply(exports,arguments) +},{"dup":167}],831:[function(require,module,exports){ +arguments[4][146][0].apply(exports,arguments) +},{"dup":146}],832:[function(require,module,exports){ +arguments[4][186][0].apply(exports,arguments) +},{"bit-twiddle":830,"buffer":33,"dup":186}],833:[function(require,module,exports){ 'use strict' var createShader = require('gl-shader') @@ -62326,7 +62319,7 @@ function createSelectBox(plot, options) { return selectBox } -},{"./lib/shaders":832,"gl-buffer":833,"gl-shader":838}],838:[function(require,module,exports){ +},{"./lib/shaders":828,"gl-buffer":829,"gl-shader":834}],834:[function(require,module,exports){ 'use strict' var createUniformWrapper = require('./lib/create-uniforms') @@ -62562,57 +62555,57 @@ function createShader( module.exports = createShader -},{"./lib/GLError":839,"./lib/create-attributes":840,"./lib/create-uniforms":841,"./lib/reflect":842,"./lib/runtime-reflect":843,"./lib/shader-cache":844}],839:[function(require,module,exports){ +},{"./lib/GLError":835,"./lib/create-attributes":836,"./lib/create-uniforms":837,"./lib/reflect":838,"./lib/runtime-reflect":839,"./lib/shader-cache":840}],835:[function(require,module,exports){ +arguments[4][297][0].apply(exports,arguments) +},{"dup":297}],836:[function(require,module,exports){ +arguments[4][298][0].apply(exports,arguments) +},{"./GLError":835,"dup":298}],837:[function(require,module,exports){ +arguments[4][299][0].apply(exports,arguments) +},{"./GLError":835,"./reflect":838,"dup":299}],838:[function(require,module,exports){ +arguments[4][300][0].apply(exports,arguments) +},{"dup":300}],839:[function(require,module,exports){ arguments[4][301][0].apply(exports,arguments) },{"dup":301}],840:[function(require,module,exports){ arguments[4][302][0].apply(exports,arguments) -},{"./GLError":839,"dup":302}],841:[function(require,module,exports){ +},{"./GLError":835,"dup":302,"gl-format-compiler-error":841,"weakmap-shim":859}],841:[function(require,module,exports){ arguments[4][303][0].apply(exports,arguments) -},{"./GLError":839,"./reflect":842,"dup":303}],842:[function(require,module,exports){ +},{"add-line-numbers":842,"dup":303,"gl-constants/lookup":846,"glsl-shader-name":847,"sprintf-js":856}],842:[function(require,module,exports){ arguments[4][304][0].apply(exports,arguments) -},{"dup":304}],843:[function(require,module,exports){ +},{"dup":304,"pad-left":843}],843:[function(require,module,exports){ arguments[4][305][0].apply(exports,arguments) -},{"dup":305}],844:[function(require,module,exports){ +},{"dup":305,"repeat-string":844}],844:[function(require,module,exports){ arguments[4][306][0].apply(exports,arguments) -},{"./GLError":839,"dup":306,"gl-format-compiler-error":845,"weakmap-shim":863}],845:[function(require,module,exports){ +},{"dup":306}],845:[function(require,module,exports){ arguments[4][307][0].apply(exports,arguments) -},{"add-line-numbers":846,"dup":307,"gl-constants/lookup":850,"glsl-shader-name":851,"sprintf-js":860}],846:[function(require,module,exports){ +},{"dup":307}],846:[function(require,module,exports){ arguments[4][308][0].apply(exports,arguments) -},{"dup":308,"pad-left":847}],847:[function(require,module,exports){ +},{"./1.0/numbers":845,"dup":308}],847:[function(require,module,exports){ arguments[4][309][0].apply(exports,arguments) -},{"dup":309,"repeat-string":848}],848:[function(require,module,exports){ +},{"atob-lite":848,"dup":309,"glsl-tokenizer":855}],848:[function(require,module,exports){ arguments[4][310][0].apply(exports,arguments) },{"dup":310}],849:[function(require,module,exports){ arguments[4][311][0].apply(exports,arguments) -},{"dup":311}],850:[function(require,module,exports){ +},{"./lib/builtins":851,"./lib/builtins-300es":850,"./lib/literals":853,"./lib/literals-300es":852,"./lib/operators":854,"dup":311}],850:[function(require,module,exports){ arguments[4][312][0].apply(exports,arguments) -},{"./1.0/numbers":849,"dup":312}],851:[function(require,module,exports){ +},{"./builtins":851,"dup":312}],851:[function(require,module,exports){ arguments[4][313][0].apply(exports,arguments) -},{"atob-lite":852,"dup":313,"glsl-tokenizer":859}],852:[function(require,module,exports){ +},{"dup":313}],852:[function(require,module,exports){ arguments[4][314][0].apply(exports,arguments) -},{"dup":314}],853:[function(require,module,exports){ +},{"./literals":853,"dup":314}],853:[function(require,module,exports){ arguments[4][315][0].apply(exports,arguments) -},{"./lib/builtins":855,"./lib/builtins-300es":854,"./lib/literals":857,"./lib/literals-300es":856,"./lib/operators":858,"dup":315}],854:[function(require,module,exports){ +},{"dup":315}],854:[function(require,module,exports){ arguments[4][316][0].apply(exports,arguments) -},{"./builtins":855,"dup":316}],855:[function(require,module,exports){ +},{"dup":316}],855:[function(require,module,exports){ arguments[4][317][0].apply(exports,arguments) -},{"dup":317}],856:[function(require,module,exports){ +},{"./index":849,"dup":317}],856:[function(require,module,exports){ arguments[4][318][0].apply(exports,arguments) -},{"./literals":857,"dup":318}],857:[function(require,module,exports){ +},{"dup":318}],857:[function(require,module,exports){ arguments[4][319][0].apply(exports,arguments) -},{"dup":319}],858:[function(require,module,exports){ +},{"./hidden-store.js":858,"dup":319}],858:[function(require,module,exports){ arguments[4][320][0].apply(exports,arguments) },{"dup":320}],859:[function(require,module,exports){ arguments[4][321][0].apply(exports,arguments) -},{"./index":853,"dup":321}],860:[function(require,module,exports){ -arguments[4][322][0].apply(exports,arguments) -},{"dup":322}],861:[function(require,module,exports){ -arguments[4][323][0].apply(exports,arguments) -},{"./hidden-store.js":862,"dup":323}],862:[function(require,module,exports){ -arguments[4][324][0].apply(exports,arguments) -},{"dup":324}],863:[function(require,module,exports){ -arguments[4][325][0].apply(exports,arguments) -},{"./create-store.js":861,"dup":325}],864:[function(require,module,exports){ +},{"./create-store.js":857,"dup":321}],860:[function(require,module,exports){ 'use strict' module.exports = createSpikes2D @@ -62700,7 +62693,7 @@ function createSpikes2D(plot, options) { return spikes } -},{}],865:[function(require,module,exports){ +},{}],861:[function(require,module,exports){ var createShader = require('gl-shader') @@ -62750,31 +62743,31 @@ exports.createPickContourShader = function (gl) { return shader } -},{"gl-shader":838}],866:[function(require,module,exports){ -arguments[4][121][0].apply(exports,arguments) -},{"dup":121}],867:[function(require,module,exports){ -arguments[4][171][0].apply(exports,arguments) -},{"dup":171}],868:[function(require,module,exports){ -arguments[4][260][0].apply(exports,arguments) -},{"dup":260}],869:[function(require,module,exports){ -arguments[4][261][0].apply(exports,arguments) -},{"./colorScales":868,"arraytools":164,"clone":870,"dup":261}],870:[function(require,module,exports){ -arguments[4][262][0].apply(exports,arguments) -},{"buffer":33,"dup":262}],871:[function(require,module,exports){ -arguments[4][150][0].apply(exports,arguments) -},{"dup":150}],872:[function(require,module,exports){ -arguments[4][187][0].apply(exports,arguments) -},{"dup":187,"ndarray":1121,"ndarray-ops":1116,"typedarray-pool":902}],873:[function(require,module,exports){ -arguments[4][212][0].apply(exports,arguments) -},{"dup":212,"ndarray":1121,"ndarray-ops":1116,"typedarray-pool":902}],874:[function(require,module,exports){ -arguments[4][196][0].apply(exports,arguments) -},{"dup":196}],875:[function(require,module,exports){ -arguments[4][197][0].apply(exports,arguments) -},{"./do-bind.js":874,"dup":197}],876:[function(require,module,exports){ -arguments[4][198][0].apply(exports,arguments) -},{"./do-bind.js":874,"dup":198}],877:[function(require,module,exports){ -arguments[4][199][0].apply(exports,arguments) -},{"./lib/vao-emulated.js":875,"./lib/vao-native.js":876,"dup":199}],878:[function(require,module,exports){ +},{"gl-shader":834}],862:[function(require,module,exports){ +arguments[4][117][0].apply(exports,arguments) +},{"dup":117}],863:[function(require,module,exports){ +arguments[4][167][0].apply(exports,arguments) +},{"dup":167}],864:[function(require,module,exports){ +arguments[4][256][0].apply(exports,arguments) +},{"dup":256}],865:[function(require,module,exports){ +arguments[4][257][0].apply(exports,arguments) +},{"./colorScales":864,"arraytools":160,"clone":866,"dup":257}],866:[function(require,module,exports){ +arguments[4][258][0].apply(exports,arguments) +},{"buffer":33,"dup":258}],867:[function(require,module,exports){ +arguments[4][146][0].apply(exports,arguments) +},{"dup":146}],868:[function(require,module,exports){ +arguments[4][183][0].apply(exports,arguments) +},{"dup":183,"ndarray":1117,"ndarray-ops":1112,"typedarray-pool":898}],869:[function(require,module,exports){ +arguments[4][208][0].apply(exports,arguments) +},{"dup":208,"ndarray":1117,"ndarray-ops":1112,"typedarray-pool":898}],870:[function(require,module,exports){ +arguments[4][192][0].apply(exports,arguments) +},{"dup":192}],871:[function(require,module,exports){ +arguments[4][193][0].apply(exports,arguments) +},{"./do-bind.js":870,"dup":193}],872:[function(require,module,exports){ +arguments[4][194][0].apply(exports,arguments) +},{"./do-bind.js":870,"dup":194}],873:[function(require,module,exports){ +arguments[4][195][0].apply(exports,arguments) +},{"./lib/vao-emulated.js":871,"./lib/vao-native.js":872,"dup":195}],874:[function(require,module,exports){ 'use strict' module.exports = gradient @@ -63072,55 +63065,55 @@ function gradient(out, inp, bc) { var cached = generateGradient(bc) return cached(out, inp) } -},{"cwise-compiler":879,"dup":871}],879:[function(require,module,exports){ +},{"cwise-compiler":875,"dup":867}],875:[function(require,module,exports){ arguments[4][73][0].apply(exports,arguments) -},{"./lib/thunk.js":881,"dup":73}],880:[function(require,module,exports){ +},{"./lib/thunk.js":877,"dup":73}],876:[function(require,module,exports){ arguments[4][74][0].apply(exports,arguments) -},{"dup":74,"uniq":882}],881:[function(require,module,exports){ +},{"dup":74,"uniq":878}],877:[function(require,module,exports){ arguments[4][75][0].apply(exports,arguments) -},{"./compile.js":880,"dup":75}],882:[function(require,module,exports){ +},{"./compile.js":876,"dup":75}],878:[function(require,module,exports){ arguments[4][76][0].apply(exports,arguments) -},{"dup":76}],883:[function(require,module,exports){ +},{"dup":76}],879:[function(require,module,exports){ arguments[4][71][0].apply(exports,arguments) -},{"./doConvert.js":884,"dup":71,"ndarray":1121}],884:[function(require,module,exports){ +},{"./doConvert.js":880,"dup":71,"ndarray":1117}],880:[function(require,module,exports){ arguments[4][72][0].apply(exports,arguments) -},{"cwise-compiler":885,"dup":72}],885:[function(require,module,exports){ +},{"cwise-compiler":881,"dup":72}],881:[function(require,module,exports){ arguments[4][73][0].apply(exports,arguments) -},{"./lib/thunk.js":887,"dup":73}],886:[function(require,module,exports){ +},{"./lib/thunk.js":883,"dup":73}],882:[function(require,module,exports){ arguments[4][74][0].apply(exports,arguments) -},{"dup":74,"uniq":888}],887:[function(require,module,exports){ +},{"dup":74,"uniq":884}],883:[function(require,module,exports){ arguments[4][75][0].apply(exports,arguments) -},{"./compile.js":886,"dup":75}],888:[function(require,module,exports){ +},{"./compile.js":882,"dup":75}],884:[function(require,module,exports){ arguments[4][76][0].apply(exports,arguments) -},{"dup":76}],889:[function(require,module,exports){ +},{"dup":76}],885:[function(require,module,exports){ +arguments[4][397][0].apply(exports,arguments) +},{"dup":397,"typedarray-pool":898}],886:[function(require,module,exports){ arguments[4][401][0].apply(exports,arguments) -},{"dup":401,"typedarray-pool":902}],890:[function(require,module,exports){ +},{"dup":401}],887:[function(require,module,exports){ arguments[4][405][0].apply(exports,arguments) -},{"dup":405}],891:[function(require,module,exports){ -arguments[4][409][0].apply(exports,arguments) -},{"dup":409,"typedarray-pool":902}],892:[function(require,module,exports){ -arguments[4][410][0].apply(exports,arguments) -},{"dup":410,"invert-permutation":893,"typedarray-pool":902}],893:[function(require,module,exports){ +},{"dup":405,"typedarray-pool":898}],888:[function(require,module,exports){ +arguments[4][406][0].apply(exports,arguments) +},{"dup":406,"invert-permutation":889,"typedarray-pool":898}],889:[function(require,module,exports){ +arguments[4][407][0].apply(exports,arguments) +},{"dup":407}],890:[function(require,module,exports){ arguments[4][411][0].apply(exports,arguments) -},{"dup":411}],894:[function(require,module,exports){ -arguments[4][415][0].apply(exports,arguments) -},{"dup":415,"gamma":890,"permutation-parity":891,"permutation-rank":892}],895:[function(require,module,exports){ -arguments[4][416][0].apply(exports,arguments) -},{"cwise-compiler":896,"dup":416}],896:[function(require,module,exports){ +},{"dup":411,"gamma":886,"permutation-parity":887,"permutation-rank":888}],891:[function(require,module,exports){ +arguments[4][412][0].apply(exports,arguments) +},{"cwise-compiler":892,"dup":412}],892:[function(require,module,exports){ arguments[4][73][0].apply(exports,arguments) -},{"./lib/thunk.js":898,"dup":73}],897:[function(require,module,exports){ +},{"./lib/thunk.js":894,"dup":73}],893:[function(require,module,exports){ arguments[4][74][0].apply(exports,arguments) -},{"dup":74,"uniq":899}],898:[function(require,module,exports){ +},{"dup":74,"uniq":895}],894:[function(require,module,exports){ arguments[4][75][0].apply(exports,arguments) -},{"./compile.js":897,"dup":75}],899:[function(require,module,exports){ +},{"./compile.js":893,"dup":75}],895:[function(require,module,exports){ arguments[4][76][0].apply(exports,arguments) -},{"dup":76}],900:[function(require,module,exports){ -arguments[4][421][0].apply(exports,arguments) -},{"./lib/zc-core":895,"dup":421}],901:[function(require,module,exports){ -arguments[4][422][0].apply(exports,arguments) -},{"dup":422,"ndarray-extract-contour":889,"triangulate-hypercube":894,"zero-crossings":900}],902:[function(require,module,exports){ -arguments[4][190][0].apply(exports,arguments) -},{"bit-twiddle":867,"buffer":33,"dup":190}],903:[function(require,module,exports){ +},{"dup":76}],896:[function(require,module,exports){ +arguments[4][417][0].apply(exports,arguments) +},{"./lib/zc-core":891,"dup":417}],897:[function(require,module,exports){ +arguments[4][418][0].apply(exports,arguments) +},{"dup":418,"ndarray-extract-contour":885,"triangulate-hypercube":890,"zero-crossings":896}],898:[function(require,module,exports){ +arguments[4][186][0].apply(exports,arguments) +},{"bit-twiddle":863,"buffer":33,"dup":186}],899:[function(require,module,exports){ 'use strict' module.exports = createSurfacePlot @@ -64445,7 +64438,7 @@ function createSurfacePlot (params) { return surface } -},{"./lib/shaders":865,"binary-search-bounds":866,"bit-twiddle":867,"colormap":869,"gl-buffer":872,"gl-mat4/invert":238,"gl-mat4/multiply":240,"gl-texture2d":873,"gl-vao":877,"ndarray":1121,"ndarray-gradient":878,"ndarray-ops":1116,"ndarray-pack":883,"surface-nets":901,"typedarray-pool":902}],904:[function(require,module,exports){ +},{"./lib/shaders":861,"binary-search-bounds":862,"bit-twiddle":863,"colormap":865,"gl-buffer":868,"gl-mat4/invert":234,"gl-mat4/multiply":236,"gl-texture2d":869,"gl-vao":873,"ndarray":1117,"ndarray-gradient":874,"ndarray-ops":1112,"ndarray-pack":879,"surface-nets":897,"typedarray-pool":898}],900:[function(require,module,exports){ 'use strict'; var util = require('../util/util'); @@ -64541,7 +64534,7 @@ ArrayGroup.prototype.getTransferables = function(transferables) { } }; -},{"../util/util":1018}],905:[function(require,module,exports){ +},{"../util/util":1014}],901:[function(require,module,exports){ 'use strict'; var featureFilter = require('feature-filter'); @@ -65059,7 +65052,7 @@ function createGetUniform(attribute, stopOffset) { }; } -},{"../util/struct_array":1016,"../util/util":1018,"./array_group":904,"./bucket/circle_bucket":906,"./bucket/fill_bucket":907,"./bucket/line_bucket":908,"./bucket/symbol_bucket":909,"./buffer_group":911,"assert":18,"feature-filter":1022}],906:[function(require,module,exports){ +},{"../util/struct_array":1012,"../util/util":1014,"./array_group":900,"./bucket/circle_bucket":902,"./bucket/fill_bucket":903,"./bucket/line_bucket":904,"./bucket/symbol_bucket":905,"./buffer_group":907,"assert":18,"feature-filter":1018}],902:[function(require,module,exports){ 'use strict'; var Bucket = require('../bucket'); @@ -65181,7 +65174,7 @@ CircleBucket.prototype.addFeature = function(feature) { this.populatePaintArrays('circle', globalProperties, feature.properties, startGroup, startIndex); }; -},{"../../util/util":1018,"../bucket":905,"../load_geometry":913}],907:[function(require,module,exports){ +},{"../../util/util":1014,"../bucket":901,"../load_geometry":909}],903:[function(require,module,exports){ 'use strict'; var Bucket = require('../bucket'); @@ -65292,7 +65285,7 @@ FillBucket.prototype.addPolygon = function(polygon) { } }; -},{"../../util/classify_rings":1006,"../../util/util":1018,"../bucket":905,"../load_geometry":913,"earcut":1021}],908:[function(require,module,exports){ +},{"../../util/classify_rings":1002,"../../util/util":1014,"../bucket":901,"../load_geometry":909,"earcut":1017}],904:[function(require,module,exports){ 'use strict'; var Bucket = require('../bucket'); @@ -65719,7 +65712,7 @@ LineBucket.prototype.addPieSliceVertex = function(currentVertex, distance, extru } }; -},{"../../util/util":1018,"../bucket":905,"../load_geometry":913}],909:[function(require,module,exports){ +},{"../../util/util":1014,"../bucket":901,"../load_geometry":909}],905:[function(require,module,exports){ 'use strict'; var Point = require('point-geometry'); @@ -66365,7 +66358,7 @@ SymbolBucket.prototype.addSymbolQuad = function(symbolQuad) { symbolQuad.minScale); }; -},{"../../symbol/anchor":967,"../../symbol/clip_line":969,"../../symbol/collision_feature":971,"../../symbol/get_anchors":973,"../../symbol/mergelines":976,"../../symbol/quads":977,"../../symbol/resolve_text":978,"../../symbol/shaping":979,"../../util/token":1017,"../../util/util":1018,"../bucket":905,"../load_geometry":913,"point-geometry":1074}],910:[function(require,module,exports){ +},{"../../symbol/anchor":963,"../../symbol/clip_line":965,"../../symbol/collision_feature":967,"../../symbol/get_anchors":969,"../../symbol/mergelines":972,"../../symbol/quads":973,"../../symbol/resolve_text":974,"../../symbol/shaping":975,"../../util/token":1013,"../../util/util":1014,"../bucket":901,"../load_geometry":909,"point-geometry":1070}],906:[function(require,module,exports){ 'use strict'; module.exports = Buffer; @@ -66466,7 +66459,7 @@ Buffer.BufferType = { ELEMENT: 'ELEMENT_ARRAY_BUFFER' }; -},{}],911:[function(require,module,exports){ +},{}],907:[function(require,module,exports){ 'use strict'; var util = require('../util/util'); @@ -66521,7 +66514,7 @@ BufferGroup.prototype.destroy = function(gl) { } }; -},{"../render/vertex_array_object":933,"../util/util":1018,"./buffer":910}],912:[function(require,module,exports){ +},{"../render/vertex_array_object":929,"../util/util":1014,"./buffer":906}],908:[function(require,module,exports){ 'use strict'; var Point = require('point-geometry'); @@ -66820,7 +66813,7 @@ function offsetLine(rings, offset) { return newRings; } -},{"../util/dictionary_coder":1008,"../util/intersection_tests":1013,"../util/struct_array":1016,"../util/util":1018,"../util/vectortile_to_geojson":1019,"./bucket":905,"./load_geometry":913,"feature-filter":1022,"grid-index":1044,"pbf":1072,"point-geometry":1074,"vector-tile":1084}],913:[function(require,module,exports){ +},{"../util/dictionary_coder":1004,"../util/intersection_tests":1009,"../util/struct_array":1012,"../util/util":1014,"../util/vectortile_to_geojson":1015,"./bucket":901,"./load_geometry":909,"feature-filter":1018,"grid-index":1040,"pbf":1068,"point-geometry":1070,"vector-tile":1080}],909:[function(require,module,exports){ 'use strict'; var util = require('../util/util'); @@ -66876,7 +66869,7 @@ module.exports = function loadGeometry(feature, bits) { return geometry; }; -},{"../util/util":1018,"./bucket":905,"assert":18}],914:[function(require,module,exports){ +},{"../util/util":1014,"./bucket":901,"assert":18}],910:[function(require,module,exports){ 'use strict'; module.exports = Coordinate; @@ -66955,7 +66948,7 @@ Coordinate.prototype = { } }; -},{}],915:[function(require,module,exports){ +},{}],911:[function(require,module,exports){ 'use strict'; module.exports = LngLat; @@ -67047,7 +67040,7 @@ LngLat.convert = function (input) { return input; }; -},{"../util/util":1018}],916:[function(require,module,exports){ +},{"../util/util":1014}],912:[function(require,module,exports){ 'use strict'; module.exports = LngLatBounds; @@ -67239,7 +67232,7 @@ LngLatBounds.convert = function (input) { return new LngLatBounds(input); }; -},{"./lng_lat":915}],917:[function(require,module,exports){ +},{"./lng_lat":911}],913:[function(require,module,exports){ 'use strict'; var LngLat = require('./lng_lat'), @@ -67713,7 +67706,7 @@ Transform.prototype = { } }; -},{"../data/bucket":905,"../source/tile_coord":945,"../util/interpolate":1012,"../util/util":1018,"./coordinate":914,"./lng_lat":915,"gl-matrix":1034,"point-geometry":1074}],918:[function(require,module,exports){ +},{"../data/bucket":901,"../source/tile_coord":941,"../util/interpolate":1008,"../util/util":1014,"./coordinate":910,"./lng_lat":911,"gl-matrix":1030,"point-geometry":1070}],914:[function(require,module,exports){ 'use strict'; // Font data From Hershey Simplex Font @@ -67846,7 +67839,7 @@ module.exports = function textVertices(text, left, baseline, scale) { return strokes; }; -},{}],919:[function(require,module,exports){ +},{}],915:[function(require,module,exports){ 'use strict'; // jshint -W079 @@ -67913,7 +67906,7 @@ Object.defineProperty(mapboxgl, 'accessToken', { * mapboxgl.supported() // = true */ -},{"../package.json":1093,"./geo/lng_lat":915,"./geo/lng_lat_bounds":916,"./style/style":954,"./ui/control/attribution":985,"./ui/control/control":986,"./ui/control/geolocate":987,"./ui/control/navigation":988,"./ui/map":997,"./ui/marker":998,"./ui/popup":999,"./util/ajax":1001,"./util/browser":1002,"./util/config":1007,"./util/evented":1010,"./util/util":1018,"point-geometry":1074}],920:[function(require,module,exports){ +},{"../package.json":1089,"./geo/lng_lat":911,"./geo/lng_lat_bounds":912,"./style/style":950,"./ui/control/attribution":981,"./ui/control/control":982,"./ui/control/geolocate":983,"./ui/control/navigation":984,"./ui/map":993,"./ui/marker":994,"./ui/popup":995,"./util/ajax":997,"./util/browser":998,"./util/config":1003,"./util/evented":1006,"./util/util":1014,"point-geometry":1070}],916:[function(require,module,exports){ 'use strict'; var assert = require('assert'); @@ -67933,7 +67926,7 @@ module.exports = function(uniforms) { return pragmas; }; -},{"assert":18}],921:[function(require,module,exports){ +},{"assert":18}],917:[function(require,module,exports){ 'use strict'; var pixelsToTileUnits = require('../source/pixels_to_tile_units'); @@ -68026,7 +68019,7 @@ function drawBackground(painter, source, layer) { gl.stencilFunc(gl.EQUAL, 0x80, 0x80); } -},{"../source/pixels_to_tile_units":939,"./create_uniform_pragmas":920}],922:[function(require,module,exports){ +},{"../source/pixels_to_tile_units":935,"./create_uniform_pragmas":916}],918:[function(require,module,exports){ 'use strict'; var browser = require('../util/browser'); @@ -68091,7 +68084,7 @@ function drawCircles(painter, source, layer, coords) { } } -},{"../util/browser":1002}],923:[function(require,module,exports){ +},{"../util/browser":998}],919:[function(require,module,exports){ 'use strict'; module.exports = drawCollisionDebug; @@ -68126,7 +68119,7 @@ function drawCollisionDebug(painter, source, layer, coords) { } } -},{}],924:[function(require,module,exports){ +},{}],920:[function(require,module,exports){ 'use strict'; var textVertices = require('../lib/debugtext'); @@ -68187,7 +68180,7 @@ function drawDebugTile(painter, source, coord) { gl.drawArrays(gl.LINES, 0, debugTextBuffer.length); } -},{"../data/bucket":905,"../data/buffer":910,"../lib/debugtext":918,"../util/browser":1002,"./vertex_array_object":933,"gl-matrix":1034}],925:[function(require,module,exports){ +},{"../data/bucket":901,"../data/buffer":906,"../lib/debugtext":914,"../util/browser":998,"./vertex_array_object":929,"gl-matrix":1030}],921:[function(require,module,exports){ 'use strict'; var pixelsToTileUnits = require('../source/pixels_to_tile_units'); @@ -68384,7 +68377,7 @@ function setPattern(image, opacity, tile, coord, painter, program) { painter.spriteAtlas.bind(gl, true); } -},{"../source/pixels_to_tile_units":939}],926:[function(require,module,exports){ +},{"../source/pixels_to_tile_units":935}],922:[function(require,module,exports){ 'use strict'; var browser = require('../util/browser'); @@ -68549,7 +68542,7 @@ module.exports = function drawLine(painter, source, layer, coords) { }; -},{"../source/pixels_to_tile_units":939,"../util/browser":1002,"gl-matrix":1034}],927:[function(require,module,exports){ +},{"../source/pixels_to_tile_units":935,"../util/browser":998,"gl-matrix":1030}],923:[function(require,module,exports){ 'use strict'; var util = require('../util/util'); @@ -68695,7 +68688,7 @@ function getOpacities(tile, parentTile, layer, transform) { return opacity; } -},{"../util/struct_array":1016,"../util/util":1018}],928:[function(require,module,exports){ +},{"../util/struct_array":1012,"../util/util":1014}],924:[function(require,module,exports){ 'use strict'; var browser = require('../util/browser'); @@ -68911,7 +68904,7 @@ function drawSymbol(painter, layer, posMatrix, tile, bucket, bufferGroups, isTex } } -},{"../source/pixels_to_tile_units":939,"../util/browser":1002,"./draw_collision_debug":923}],929:[function(require,module,exports){ +},{"../source/pixels_to_tile_units":935,"../util/browser":998,"./draw_collision_debug":919}],925:[function(require,module,exports){ 'use strict'; module.exports = FrameHistory; @@ -68983,7 +68976,7 @@ FrameHistory.prototype.bind = function(gl) { } }; -},{}],930:[function(require,module,exports){ +},{}],926:[function(require,module,exports){ 'use strict'; var util = require('../util/util'); @@ -69130,7 +69123,7 @@ LineAtlas.prototype.bind = function(gl) { } }; -},{"../util/util":1018}],931:[function(require,module,exports){ +},{"../util/util":1014}],927:[function(require,module,exports){ 'use strict'; var browser = require('../util/browser'); @@ -69474,7 +69467,7 @@ Painter.prototype.showOverdrawInspector = function(enabled) { } }; -},{"../data/bucket":905,"../data/buffer":910,"../source/pixels_to_tile_units":939,"../source/source_cache":943,"../util/browser":1002,"../util/struct_array":1016,"../util/util":1018,"./create_uniform_pragmas":920,"./draw_background":921,"./draw_circle":922,"./draw_debug":924,"./draw_fill":925,"./draw_line":926,"./draw_raster":927,"./draw_symbol":928,"./frame_history":929,"./painter/use_program":932,"./vertex_array_object":933,"gl-matrix":1034}],932:[function(require,module,exports){ +},{"../data/bucket":901,"../data/buffer":906,"../source/pixels_to_tile_units":935,"../source/source_cache":939,"../util/browser":998,"../util/struct_array":1012,"../util/util":1014,"./create_uniform_pragmas":916,"./draw_background":917,"./draw_circle":918,"./draw_debug":920,"./draw_fill":921,"./draw_line":922,"./draw_raster":923,"./draw_symbol":924,"./frame_history":925,"./painter/use_program":928,"./vertex_array_object":929,"gl-matrix":1030}],928:[function(require,module,exports){ 'use strict'; var assert = require('assert'); @@ -69571,7 +69564,7 @@ function applyPragmas(source, pragmas) { }); } -},{"../../util/util":1018,"assert":18,"mapbox-gl-shaders":1046}],933:[function(require,module,exports){ +},{"../../util/util":1014,"assert":18,"mapbox-gl-shaders":1042}],929:[function(require,module,exports){ 'use strict'; var assert = require('assert'); @@ -69669,7 +69662,7 @@ VertexArrayObject.prototype.destroy = function(gl) { } }; -},{"assert":18}],934:[function(require,module,exports){ +},{"assert":18}],930:[function(require,module,exports){ 'use strict'; var Evented = require('../util/evented'); @@ -69893,7 +69886,7 @@ GeoJSONSource.prototype = util.inherit(Evented, /** @lends GeoJSONSource.prototy } }); -},{"../data/bucket":905,"../util/evented":1010,"../util/util":1018,"resolve-url":1076}],935:[function(require,module,exports){ +},{"../data/bucket":901,"../util/evented":1006,"../util/util":1014,"resolve-url":1072}],931:[function(require,module,exports){ 'use strict'; var util = require('../util/util'); @@ -70031,7 +70024,7 @@ GeoJSONWorkerSource.prototype = util.inherit(VectorTileWorkerSource, /** @lends } }); -},{"../util/ajax":1001,"../util/util":1018,"./geojson_wrapper":936,"./vector_tile_worker_source":947,"geojson-rewind":1023,"geojson-vt":1029,"supercluster":1078,"vt-pbf":1088}],936:[function(require,module,exports){ +},{"../util/ajax":997,"../util/util":1014,"./geojson_wrapper":932,"./vector_tile_worker_source":943,"geojson-rewind":1019,"geojson-vt":1025,"supercluster":1074,"vt-pbf":1084}],932:[function(require,module,exports){ 'use strict'; var Point = require('point-geometry'); @@ -70107,7 +70100,7 @@ FeatureWrapper.prototype.bbox = function() { FeatureWrapper.prototype.toGeoJSON = VectorTileFeature.prototype.toGeoJSON; -},{"../data/bucket":905,"point-geometry":1074,"vector-tile":1084}],937:[function(require,module,exports){ +},{"../data/bucket":901,"point-geometry":1070,"vector-tile":1080}],933:[function(require,module,exports){ 'use strict'; var util = require('../util/util'); @@ -70286,7 +70279,7 @@ ImageSource.prototype = util.inherit(Evented, /** @lends ImageSource.prototype * } }); -},{"../data/bucket":905,"../data/buffer":910,"../geo/lng_lat":915,"../render/draw_raster":927,"../render/vertex_array_object":933,"../util/ajax":1001,"../util/evented":1010,"../util/util":1018,"./tile_coord":945,"point-geometry":1074}],938:[function(require,module,exports){ +},{"../data/bucket":901,"../data/buffer":906,"../geo/lng_lat":911,"../render/draw_raster":923,"../render/vertex_array_object":929,"../util/ajax":997,"../util/evented":1006,"../util/util":1014,"./tile_coord":941,"point-geometry":1070}],934:[function(require,module,exports){ 'use strict'; var util = require('../util/util'); var ajax = require('../util/ajax'); @@ -70317,7 +70310,7 @@ module.exports = function(options, callback) { }; -},{"../util/ajax":1001,"../util/browser":1002,"../util/mapbox":1015,"../util/util":1018}],939:[function(require,module,exports){ +},{"../util/ajax":997,"../util/browser":998,"../util/mapbox":1011,"../util/util":1014}],935:[function(require,module,exports){ 'use strict'; var Bucket = require('../data/bucket'); @@ -70342,7 +70335,7 @@ module.exports = function(tile, pixelValue, z) { }; -},{"../data/bucket":905}],940:[function(require,module,exports){ +},{"../data/bucket":901}],936:[function(require,module,exports){ 'use strict'; var TileCoord = require('./tile_coord'); @@ -70413,7 +70406,7 @@ function mergeRenderedFeatureLayers(tiles) { } -},{"./tile_coord":945}],941:[function(require,module,exports){ +},{"./tile_coord":941}],937:[function(require,module,exports){ 'use strict'; var util = require('../util/util'); @@ -70510,7 +70503,7 @@ RasterTileSource.prototype = util.inherit(Evented, { } }); -},{"../util/ajax":1001,"../util/evented":1010,"../util/mapbox":1015,"../util/util":1018,"./load_tilejson":938}],942:[function(require,module,exports){ +},{"../util/ajax":997,"../util/evented":1006,"../util/mapbox":1011,"../util/util":1014,"./load_tilejson":934}],938:[function(require,module,exports){ 'use strict'; var util = require('../util/util'); @@ -70681,7 +70674,7 @@ exports.setType = function (name, type) { * @instance */ -},{"../source/geojson_source":934,"../source/image_source":937,"../source/raster_tile_source":941,"../source/vector_tile_source":946,"../source/video_source":948,"../util/util":1018}],943:[function(require,module,exports){ +},{"../source/geojson_source":930,"../source/image_source":933,"../source/raster_tile_source":937,"../source/vector_tile_source":942,"../source/video_source":944,"../util/util":1014}],939:[function(require,module,exports){ 'use strict'; var Source = require('./source'); @@ -71219,7 +71212,7 @@ function compareKeyZoom(a, b) { return (a % 32) - (b % 32); } -},{"../data/bucket":905,"../geo/coordinate":914,"../util/evented":1010,"../util/lru_cache":1014,"../util/util":1018,"./source":942,"./tile":944,"./tile_coord":945}],944:[function(require,module,exports){ +},{"../data/bucket":901,"../geo/coordinate":910,"../util/evented":1006,"../util/lru_cache":1010,"../util/util":1014,"./source":938,"./tile":940,"./tile_coord":941}],940:[function(require,module,exports){ 'use strict'; var util = require('../util/util'); @@ -71421,7 +71414,7 @@ function unserializeBuckets(input, style) { return output; } -},{"../data/bucket":905,"../data/feature_index":912,"../symbol/collision_box":970,"../symbol/collision_tile":972,"../symbol/symbol_instances":981,"../symbol/symbol_quads":982,"../util/util":1018,"../util/vectortile_to_geojson":1019,"feature-filter":1022,"pbf":1072,"vector-tile":1084}],945:[function(require,module,exports){ +},{"../data/bucket":901,"../data/feature_index":908,"../symbol/collision_box":966,"../symbol/collision_tile":968,"../symbol/symbol_instances":977,"../symbol/symbol_quads":978,"../util/util":1014,"../util/vectortile_to_geojson":1015,"feature-filter":1018,"pbf":1068,"vector-tile":1080}],941:[function(require,module,exports){ 'use strict'; var assert = require('assert'); @@ -71615,7 +71608,7 @@ TileCoord.cover = function(z, bounds, actualZ) { }); }; -},{"../geo/coordinate":914,"assert":18,"whoots-js":1092}],946:[function(require,module,exports){ +},{"../geo/coordinate":910,"assert":18,"whoots-js":1088}],942:[function(require,module,exports){ 'use strict'; var Evented = require('../util/evented'); @@ -71722,7 +71715,7 @@ VectorTileSource.prototype = util.inherit(Evented, { } }); -},{"../util/evented":1010,"../util/mapbox":1015,"../util/util":1018,"./load_tilejson":938}],947:[function(require,module,exports){ +},{"../util/evented":1006,"../util/mapbox":1011,"../util/util":1014,"./load_tilejson":934}],943:[function(require,module,exports){ 'use strict'; var ajax = require('../util/ajax'); var vt = require('vector-tile'); @@ -71870,7 +71863,7 @@ VectorTileWorkerSource.prototype = { } }; -},{"../util/ajax":1001,"./worker_tile":950,"pbf":1072,"vector-tile":1084}],948:[function(require,module,exports){ +},{"../util/ajax":997,"./worker_tile":946,"pbf":1068,"vector-tile":1080}],944:[function(require,module,exports){ 'use strict'; var util = require('../util/util'); @@ -72074,7 +72067,7 @@ VideoSource.prototype = util.inherit(Evented, /** @lends VideoSource.prototype * } }); -},{"../data/bucket":905,"../data/buffer":910,"../geo/lng_lat":915,"../render/draw_raster":927,"../render/vertex_array_object":933,"../util/ajax":1001,"../util/evented":1010,"../util/util":1018,"./tile_coord":945,"point-geometry":1074}],949:[function(require,module,exports){ +},{"../data/bucket":901,"../data/buffer":906,"../geo/lng_lat":911,"../render/draw_raster":923,"../render/vertex_array_object":929,"../util/ajax":997,"../util/evented":1006,"../util/util":1014,"./tile_coord":941,"point-geometry":1070}],945:[function(require,module,exports){ 'use strict'; var Actor = require('../util/actor'); @@ -72238,7 +72231,7 @@ function createLayerFamilies(layers) { return families; } -},{"../style/style_layer":957,"../util/actor":1000,"../util/util":1018,"./geojson_worker_source":935,"./vector_tile_worker_source":947}],950:[function(require,module,exports){ +},{"../style/style_layer":953,"../util/actor":996,"../util/util":1014,"./geojson_worker_source":931,"./vector_tile_worker_source":943}],946:[function(require,module,exports){ 'use strict'; var FeatureIndex = require('../data/feature_index'); @@ -72511,7 +72504,7 @@ function getLayerId(layer) { return layer.id; } -},{"../data/bucket":905,"../data/feature_index":912,"../symbol/collision_box":970,"../symbol/collision_tile":972,"../symbol/symbol_instances":981,"../symbol/symbol_quads":982,"../util/dictionary_coder":1008,"../util/util":1018}],951:[function(require,module,exports){ +},{"../data/bucket":901,"../data/feature_index":908,"../symbol/collision_box":966,"../symbol/collision_tile":968,"../symbol/symbol_instances":977,"../symbol/symbol_quads":978,"../util/dictionary_coder":1004,"../util/util":1014}],947:[function(require,module,exports){ 'use strict'; module.exports = AnimationLoop; @@ -72543,7 +72536,7 @@ AnimationLoop.prototype.cancel = function(n) { }); }; -},{}],952:[function(require,module,exports){ +},{}],948:[function(require,module,exports){ 'use strict'; var Evented = require('../util/evented'); @@ -72624,7 +72617,7 @@ ImageSprite.prototype.getSpritePosition = function(name) { return new SpritePosition(); }; -},{"../util/ajax":1001,"../util/browser":1002,"../util/evented":1010,"../util/mapbox":1015}],953:[function(require,module,exports){ +},{"../util/ajax":997,"../util/browser":998,"../util/evented":1006,"../util/mapbox":1011}],949:[function(require,module,exports){ 'use strict'; var parseColorString = require('csscolorparser').parseCSSColor; @@ -72666,7 +72659,7 @@ module.exports = function parseColor(input) { } }; -},{"../util/util":1018,"./style_function":956,"csscolorparser":1020}],954:[function(require,module,exports){ +},{"../util/util":1014,"./style_function":952,"csscolorparser":1016}],950:[function(require,module,exports){ 'use strict'; var Evented = require('../util/evented'); @@ -73447,7 +73440,7 @@ Style.prototype = util.inherit(Evented, { }); -},{"../render/line_atlas":930,"../source/query_features":940,"../source/source":942,"../source/source_cache":943,"../symbol/glyph_source":975,"../symbol/sprite_atlas":980,"../util/ajax":1001,"../util/browser":1002,"../util/dispatcher":1009,"../util/evented":1010,"../util/mapbox":1015,"../util/util":1018,"./animation_loop":951,"./image_sprite":952,"./style_function":956,"./style_layer":957,"./style_spec":964,"./validate_style":966}],955:[function(require,module,exports){ +},{"../render/line_atlas":926,"../source/query_features":936,"../source/source":938,"../source/source_cache":939,"../symbol/glyph_source":971,"../symbol/sprite_atlas":976,"../util/ajax":997,"../util/browser":998,"../util/dispatcher":1005,"../util/evented":1006,"../util/mapbox":1011,"../util/util":1014,"./animation_loop":947,"./image_sprite":948,"./style_function":952,"./style_layer":953,"./style_spec":960,"./validate_style":962}],951:[function(require,module,exports){ 'use strict'; var MapboxGLFunction = require('./style_function'); @@ -73531,7 +73524,7 @@ function transitioned(calculate) { }; } -},{"../util/util":1018,"./parse_color":953,"./style_function":956}],956:[function(require,module,exports){ +},{"../util/util":1014,"./parse_color":949,"./style_function":952}],952:[function(require,module,exports){ 'use strict'; var MapboxGLFunction = require('mapbox-gl-function'); @@ -73558,7 +73551,7 @@ exports['piecewise-constant'] = function(parameters) { exports.isFunctionDefinition = MapboxGLFunction.isFunctionDefinition; -},{"mapbox-gl-function":1045}],957:[function(require,module,exports){ +},{"mapbox-gl-function":1041}],953:[function(require,module,exports){ 'use strict'; var util = require('../util/util'); @@ -73905,7 +73898,7 @@ function getDeclarationValue(declaration) { return declaration.value; } -},{"../util/evented":1010,"../util/util":1018,"./parse_color":953,"./style_declaration":955,"./style_layer/background_style_layer":958,"./style_layer/circle_style_layer":959,"./style_layer/fill_style_layer":960,"./style_layer/line_style_layer":961,"./style_layer/raster_style_layer":962,"./style_layer/symbol_style_layer":963,"./style_spec":964,"./style_transition":965,"./validate_style":966}],958:[function(require,module,exports){ +},{"../util/evented":1006,"../util/util":1014,"./parse_color":949,"./style_declaration":951,"./style_layer/background_style_layer":954,"./style_layer/circle_style_layer":955,"./style_layer/fill_style_layer":956,"./style_layer/line_style_layer":957,"./style_layer/raster_style_layer":958,"./style_layer/symbol_style_layer":959,"./style_spec":960,"./style_transition":961,"./validate_style":962}],954:[function(require,module,exports){ 'use strict'; var util = require('../../util/util'); @@ -73919,7 +73912,7 @@ module.exports = BackgroundStyleLayer; BackgroundStyleLayer.prototype = util.inherit(StyleLayer, {}); -},{"../../util/util":1018,"../style_layer":957}],959:[function(require,module,exports){ +},{"../../util/util":1014,"../style_layer":953}],955:[function(require,module,exports){ 'use strict'; var util = require('../../util/util'); @@ -73933,7 +73926,7 @@ module.exports = CircleStyleLayer; CircleStyleLayer.prototype = util.inherit(StyleLayer, {}); -},{"../../util/util":1018,"../style_layer":957}],960:[function(require,module,exports){ +},{"../../util/util":1014,"../style_layer":953}],956:[function(require,module,exports){ 'use strict'; var util = require('../../util/util'); @@ -73989,7 +73982,7 @@ FillStyleLayer.prototype = util.inherit(StyleLayer, { module.exports = FillStyleLayer; -},{"../../util/util":1018,"../style_layer":957}],961:[function(require,module,exports){ +},{"../../util/util":1014,"../style_layer":953}],957:[function(require,module,exports){ 'use strict'; var util = require('../../util/util'); @@ -74023,7 +74016,7 @@ LineStyleLayer.prototype = util.inherit(StyleLayer, { } }); -},{"../../util/util":1018,"../style_layer":957}],962:[function(require,module,exports){ +},{"../../util/util":1014,"../style_layer":953}],958:[function(require,module,exports){ 'use strict'; var util = require('../../util/util'); @@ -74037,7 +74030,7 @@ module.exports = RasterStyleLayer; RasterStyleLayer.prototype = util.inherit(StyleLayer, {}); -},{"../../util/util":1018,"../style_layer":957}],963:[function(require,module,exports){ +},{"../../util/util":1014,"../style_layer":953}],959:[function(require,module,exports){ 'use strict'; var util = require('../../util/util'); @@ -74080,12 +74073,12 @@ SymbolStyleLayer.prototype = util.inherit(StyleLayer, { }); -},{"../../util/util":1018,"../style_layer":957}],964:[function(require,module,exports){ +},{"../../util/util":1014,"../style_layer":953}],960:[function(require,module,exports){ 'use strict'; module.exports = require('mapbox-gl-style-spec/reference/latest.min'); -},{"mapbox-gl-style-spec/reference/latest.min":1068}],965:[function(require,module,exports){ +},{"mapbox-gl-style-spec/reference/latest.min":1064}],961:[function(require,module,exports){ 'use strict'; var util = require('../util/util'); @@ -74170,7 +74163,7 @@ function interpZoomTransitioned(from, to, t) { } } -},{"../util/interpolate":1012,"../util/util":1018}],966:[function(require,module,exports){ +},{"../util/interpolate":1008,"../util/util":1014}],962:[function(require,module,exports){ 'use strict'; module.exports = require('mapbox-gl-style-spec/lib/validate_style.min'); @@ -74194,7 +74187,7 @@ module.exports.throwErrors = function throwErrors(emitter, errors) { } }; -},{"mapbox-gl-style-spec/lib/validate_style.min":1067}],967:[function(require,module,exports){ +},{"mapbox-gl-style-spec/lib/validate_style.min":1063}],963:[function(require,module,exports){ 'use strict'; var Point = require('point-geometry'); @@ -74217,7 +74210,7 @@ Anchor.prototype.clone = function() { return new Anchor(this.x, this.y, this.angle, this.segment); }; -},{"point-geometry":1074}],968:[function(require,module,exports){ +},{"point-geometry":1070}],964:[function(require,module,exports){ 'use strict'; module.exports = checkMaxAngle; @@ -74297,7 +74290,7 @@ function checkMaxAngle(line, anchor, labelLength, windowSize, maxAngle) { return true; } -},{}],969:[function(require,module,exports){ +},{}],965:[function(require,module,exports){ 'use strict'; var Point = require('point-geometry'); @@ -74371,7 +74364,7 @@ function clipLine(lines, x1, y1, x2, y2) { return clippedLines; } -},{"point-geometry":1074}],970:[function(require,module,exports){ +},{"point-geometry":1070}],966:[function(require,module,exports){ 'use strict'; var StructArrayType = require('../util/struct_array'); @@ -74452,7 +74445,7 @@ util.extendAll(CollisionBoxArray.prototype.StructType.prototype, { } }); -},{"../util/struct_array":1016,"../util/util":1018,"point-geometry":1074}],971:[function(require,module,exports){ +},{"../util/struct_array":1012,"../util/util":1014,"point-geometry":1070}],967:[function(require,module,exports){ 'use strict'; module.exports = CollisionFeature; @@ -74586,7 +74579,7 @@ CollisionFeature.prototype._addLineCollisionBoxes = function(collisionBoxArray, return bboxes; }; -},{}],972:[function(require,module,exports){ +},{}],968:[function(require,module,exports){ 'use strict'; var Point = require('point-geometry'); @@ -74887,7 +74880,7 @@ CollisionTile.prototype.insertCollisionFeature = function(collisionFeature, minP } }; -},{"../data/bucket":905,"grid-index":1044,"point-geometry":1074}],973:[function(require,module,exports){ +},{"../data/bucket":901,"grid-index":1040,"point-geometry":1070}],969:[function(require,module,exports){ 'use strict'; var interpolate = require('../util/interpolate'); @@ -74991,7 +74984,7 @@ function resample(line, offset, spacing, angleWindowSize, maxAngle, labelLength, return anchors; } -},{"../symbol/anchor":967,"../util/interpolate":1012,"./check_max_angle":968}],974:[function(require,module,exports){ +},{"../symbol/anchor":963,"../util/interpolate":1008,"./check_max_angle":964}],970:[function(require,module,exports){ 'use strict'; var ShelfPack = require('shelf-pack'); @@ -75160,7 +75153,7 @@ GlyphAtlas.prototype.updateTexture = function(gl) { } }; -},{"../util/util":1018,"shelf-pack":1077}],975:[function(require,module,exports){ +},{"../util/util":1014,"shelf-pack":1073}],971:[function(require,module,exports){ 'use strict'; var normalizeURL = require('../util/mapbox').normalizeGlyphsURL; @@ -75301,7 +75294,7 @@ function glyphUrl(fontstack, range, url, subdomains) { .replace('{range}', range); } -},{"../symbol/glyph_atlas":974,"../util/ajax":1001,"../util/glyphs":1011,"../util/mapbox":1015,"pbf":1072}],976:[function(require,module,exports){ +},{"../symbol/glyph_atlas":970,"../util/ajax":997,"../util/glyphs":1007,"../util/mapbox":1011,"pbf":1068}],972:[function(require,module,exports){ 'use strict'; module.exports = function (features, textFeatures, geometries) { @@ -75392,7 +75385,7 @@ module.exports = function (features, textFeatures, geometries) { }; }; -},{}],977:[function(require,module,exports){ +},{}],973:[function(require,module,exports){ 'use strict'; var Point = require('point-geometry'); @@ -75675,7 +75668,7 @@ function getSegmentGlyphs(glyphs, anchor, offset, line, segment, forward) { return placementScale; } -},{"point-geometry":1074}],978:[function(require,module,exports){ +},{"point-geometry":1070}],974:[function(require,module,exports){ 'use strict'; var resolveTokens = require('../util/token'); @@ -75718,7 +75711,7 @@ function resolveText(features, layoutProperties, codepoints) { return textFeatures; } -},{"../util/token":1017}],979:[function(require,module,exports){ +},{"../util/token":1013}],975:[function(require,module,exports){ 'use strict'; module.exports = { @@ -75899,7 +75892,7 @@ function PositionedIcon(image, top, bottom, left, right) { this.right = right; } -},{}],980:[function(require,module,exports){ +},{}],976:[function(require,module,exports){ 'use strict'; var ShelfPack = require('shelf-pack'); @@ -76132,7 +76125,7 @@ function AtlasImage(rect, width, height, sdf, pixelRatio) { this.pixelRatio = pixelRatio; } -},{"../util/browser":1002,"../util/util":1018,"shelf-pack":1077}],981:[function(require,module,exports){ +},{"../util/browser":998,"../util/util":1014,"shelf-pack":1073}],977:[function(require,module,exports){ 'use strict'; var StructArrayType = require('../util/struct_array'); @@ -76177,7 +76170,7 @@ util.extendAll(SymbolInstancesArray.prototype.StructType.prototype, { -},{"../util/struct_array":1016,"../util/util":1018,"point-geometry":1074}],982:[function(require,module,exports){ +},{"../util/struct_array":1012,"../util/util":1014,"point-geometry":1070}],978:[function(require,module,exports){ 'use strict'; var StructArrayType = require('../util/struct_array'); @@ -76251,7 +76244,7 @@ util.extendAll(SymbolQuadsArray.prototype.StructType.prototype, { }); -},{"../util/struct_array":1016,"../util/util":1018,"./quads":977,"point-geometry":1074}],983:[function(require,module,exports){ +},{"../util/struct_array":1012,"../util/util":1014,"./quads":973,"point-geometry":1070}],979:[function(require,module,exports){ 'use strict'; var DOM = require('../util/dom'); @@ -76426,7 +76419,7 @@ module.exports = function bindHandlers(map, options) { * property. */ -},{"../util/dom":1004,"./handler/box_zoom":989,"./handler/dblclick_zoom":990,"./handler/drag_pan":991,"./handler/drag_rotate":992,"./handler/keyboard":993,"./handler/scroll_zoom":994,"./handler/touch_zoom_rotate":995,"point-geometry":1074}],984:[function(require,module,exports){ +},{"../util/dom":1000,"./handler/box_zoom":985,"./handler/dblclick_zoom":986,"./handler/drag_pan":987,"./handler/drag_rotate":988,"./handler/keyboard":989,"./handler/scroll_zoom":990,"./handler/touch_zoom_rotate":991,"point-geometry":1070}],980:[function(require,module,exports){ 'use strict'; var util = require('../util/util'); @@ -77213,7 +77206,7 @@ util.extend(Camera.prototype, /** @lends Map.prototype */{ * @property {MapEventData} data */ -},{"../geo/lng_lat":915,"../geo/lng_lat_bounds":916,"../util/browser":1002,"../util/interpolate":1012,"../util/util":1018,"point-geometry":1074}],985:[function(require,module,exports){ +},{"../geo/lng_lat":911,"../geo/lng_lat_bounds":912,"../util/browser":998,"../util/interpolate":1008,"../util/util":1014,"point-geometry":1070}],981:[function(require,module,exports){ 'use strict'; var Control = require('./control'); @@ -77296,7 +77289,7 @@ Attribution.prototype = util.inherit(Control, { } }); -},{"../../util/dom":1004,"../../util/util":1018,"./control":986}],986:[function(require,module,exports){ +},{"../../util/dom":1000,"../../util/util":1014,"./control":982}],982:[function(require,module,exports){ 'use strict'; var util = require('../../util/util'); @@ -77351,7 +77344,7 @@ Control.prototype = { util.extend(Control.prototype, Evented); -},{"../../util/evented":1010,"../../util/util":1018}],987:[function(require,module,exports){ +},{"../../util/evented":1006,"../../util/util":1014}],983:[function(require,module,exports){ 'use strict'; var Control = require('./control'); @@ -77453,7 +77446,7 @@ Geolocate.prototype = util.inherit(Control, { * */ -},{"../../util/browser":1002,"../../util/dom":1004,"../../util/util":1018,"./control":986}],988:[function(require,module,exports){ +},{"../../util/browser":998,"../../util/dom":1000,"../../util/util":1014,"./control":982}],984:[function(require,module,exports){ 'use strict'; var Control = require('./control'); @@ -77574,7 +77567,7 @@ function copyMouseEvent(e) { }); } -},{"../../util/dom":1004,"../../util/util":1018,"./control":986}],989:[function(require,module,exports){ +},{"../../util/dom":1000,"../../util/util":1014,"./control":982}],985:[function(require,module,exports){ 'use strict'; var DOM = require('../../util/dom'), @@ -77761,7 +77754,7 @@ BoxZoomHandler.prototype = { * @property {MapBoxZoomEvent} data */ -},{"../../geo/lng_lat_bounds":916,"../../util/dom":1004,"../../util/util":1018}],990:[function(require,module,exports){ +},{"../../geo/lng_lat_bounds":912,"../../util/dom":1000,"../../util/util":1014}],986:[function(require,module,exports){ 'use strict'; module.exports = DoubleClickZoomHandler; @@ -77824,7 +77817,7 @@ DoubleClickZoomHandler.prototype = { } }; -},{}],991:[function(require,module,exports){ +},{}],987:[function(require,module,exports){ 'use strict'; var DOM = require('../../util/dom'), @@ -78060,7 +78053,7 @@ DragPanHandler.prototype = { * @property {MapMouseEvent | MapTouchEvent} data */ -},{"../../util/dom":1004,"../../util/util":1018}],992:[function(require,module,exports){ +},{"../../util/dom":1000,"../../util/util":1014}],988:[function(require,module,exports){ 'use strict'; var DOM = require('../../util/dom'), @@ -78314,7 +78307,7 @@ DragRotateHandler.prototype = { * @property {MapMouseEvent | MapTouchEvent} data */ -},{"../../util/dom":1004,"../../util/util":1018,"point-geometry":1074}],993:[function(require,module,exports){ +},{"../../util/dom":1000,"../../util/util":1014,"point-geometry":1070}],989:[function(require,module,exports){ 'use strict'; module.exports = KeyboardHandler; @@ -78446,7 +78439,7 @@ KeyboardHandler.prototype = { } }; -},{}],994:[function(require,module,exports){ +},{}],990:[function(require,module,exports){ 'use strict'; var DOM = require('../../util/dom'), @@ -78629,7 +78622,7 @@ ScrollZoomHandler.prototype = { * @property {MapMouseEvent | MapTouchEvent} data */ -},{"../../util/browser":1002,"../../util/dom":1004,"../../util/util":1018}],995:[function(require,module,exports){ +},{"../../util/browser":998,"../../util/dom":1000,"../../util/util":1014}],991:[function(require,module,exports){ 'use strict'; var DOM = require('../../util/dom'), @@ -78844,7 +78837,7 @@ TouchZoomRotateHandler.prototype = { } }; -},{"../../util/dom":1004,"../../util/util":1018}],996:[function(require,module,exports){ +},{"../../util/dom":1000,"../../util/util":1014}],992:[function(require,module,exports){ 'use strict'; /* @@ -78919,7 +78912,7 @@ Hash.prototype = { } }; -},{"../util/util":1018}],997:[function(require,module,exports){ +},{"../util/util":1014}],993:[function(require,module,exports){ 'use strict'; var Canvas = require('../util/canvas'); @@ -80359,7 +80352,7 @@ function removeNode(node) { * @property {{error: {message: string}}} data */ -},{"../geo/lng_lat":915,"../geo/lng_lat_bounds":916,"../geo/transform":917,"../render/painter":931,"../style/animation_loop":951,"../style/style":954,"../util/browser":1002,"../util/canvas":1003,"../util/dom":1004,"../util/evented":1010,"../util/util":1018,"./bind_handlers":983,"./camera":984,"./control/attribution":985,"./hash":996,"point-geometry":1074}],998:[function(require,module,exports){ +},{"../geo/lng_lat":911,"../geo/lng_lat_bounds":912,"../geo/transform":913,"../render/painter":927,"../style/animation_loop":947,"../style/style":950,"../util/browser":998,"../util/canvas":999,"../util/dom":1000,"../util/evented":1006,"../util/util":1014,"./bind_handlers":979,"./camera":980,"./control/attribution":981,"./hash":992,"point-geometry":1070}],994:[function(require,module,exports){ /* eslint-disable */ 'use strict'; @@ -80454,7 +80447,7 @@ Marker.prototype = { } }; -},{"../geo/lng_lat":915,"../util/dom":1004,"point-geometry":1074}],999:[function(require,module,exports){ +},{"../geo/lng_lat":911,"../util/dom":1000,"point-geometry":1070}],995:[function(require,module,exports){ 'use strict'; module.exports = Popup; @@ -80708,7 +80701,7 @@ Popup.prototype = util.inherit(Evented, /** @lends Popup.prototype */{ } }); -},{"../geo/lng_lat":915,"../util/dom":1004,"../util/evented":1010,"../util/util":1018}],1000:[function(require,module,exports){ +},{"../geo/lng_lat":911,"../util/dom":1000,"../util/evented":1006,"../util/util":1014}],996:[function(require,module,exports){ 'use strict'; module.exports = Actor; @@ -80780,7 +80773,7 @@ Actor.prototype.postMessage = function(message, transferList) { this.target.postMessage(message, transferList); }; -},{}],1001:[function(require,module,exports){ +},{}],997:[function(require,module,exports){ 'use strict'; exports.getJSON = function(url, callback) { @@ -80870,7 +80863,7 @@ exports.getVideo = function(urls, callback) { return video; }; -},{}],1002:[function(require,module,exports){ +},{}],998:[function(require,module,exports){ 'use strict'; /** @@ -80965,7 +80958,7 @@ webpImgTest.src = 'data:image/webp;base64,UklGRh4AAABXRUJQVlA4TBEAAAAvAQAAAAfQ// exports.supportsGeolocation = !!navigator.geolocation; -},{"mapbox-gl-supported":1070}],1003:[function(require,module,exports){ +},{"mapbox-gl-supported":1066}],999:[function(require,module,exports){ 'use strict'; var util = require('../util'); @@ -81009,7 +81002,7 @@ Canvas.prototype.getElement = function() { return this.canvas; }; -},{"../util":1018,"mapbox-gl-supported":1070}],1004:[function(require,module,exports){ +},{"../util":1014,"mapbox-gl-supported":1066}],1000:[function(require,module,exports){ 'use strict'; var Point = require('point-geometry'); @@ -81084,7 +81077,7 @@ exports.touchPos = function (el, e) { return points; }; -},{"point-geometry":1074}],1005:[function(require,module,exports){ +},{"point-geometry":1070}],1001:[function(require,module,exports){ 'use strict'; var WebWorkify = require('webworkify'); @@ -81092,7 +81085,7 @@ module.exports = function () { return new WebWorkify(require('../../source/worker')); }; -},{"../../source/worker":949,"webworkify":1091}],1006:[function(require,module,exports){ +},{"../../source/worker":945,"webworkify":1087}],1002:[function(require,module,exports){ 'use strict'; var quickselect = require('quickselect'); @@ -81152,7 +81145,7 @@ function calculateSignedArea(ring) { return sum; } -},{"quickselect":1075}],1007:[function(require,module,exports){ +},{"quickselect":1071}],1003:[function(require,module,exports){ 'use strict'; module.exports = { @@ -81160,7 +81153,7 @@ module.exports = { REQUIRE_ACCESS_TOKEN: true }; -},{}],1008:[function(require,module,exports){ +},{}],1004:[function(require,module,exports){ 'use strict'; var assert = require('assert'); @@ -81187,7 +81180,7 @@ DictionaryCoder.prototype.decode = function(n) { return this._numberToString[n]; }; -},{"assert":18}],1009:[function(require,module,exports){ +},{"assert":18}],1005:[function(require,module,exports){ 'use strict'; var util = require('./util'); @@ -81262,7 +81255,7 @@ Dispatcher.prototype = { } }; -},{"./actor":1000,"./util":1018,"./web_worker":1005}],1010:[function(require,module,exports){ +},{"./actor":996,"./util":1014,"./web_worker":1001}],1006:[function(require,module,exports){ 'use strict'; var util = require('./util'); @@ -81385,7 +81378,7 @@ var Evented = { module.exports = Evented; -},{"./util":1018}],1011:[function(require,module,exports){ +},{"./util":1014}],1007:[function(require,module,exports){ 'use strict'; module.exports = Glyphs; @@ -81420,7 +81413,7 @@ function readGlyph(tag, glyph, pbf) { else if (tag === 7) glyph.advance = pbf.readVarint(); } -},{}],1012:[function(require,module,exports){ +},{}],1008:[function(require,module,exports){ 'use strict'; module.exports = interpolate; @@ -81461,7 +81454,7 @@ interpolate.array = function(from, to, t) { }); }; -},{}],1013:[function(require,module,exports){ +},{}],1009:[function(require,module,exports){ 'use strict'; module.exports = { @@ -81627,7 +81620,7 @@ function polygonContainsPoint(ring, p) { return c; } -},{}],1014:[function(require,module,exports){ +},{}],1010:[function(require,module,exports){ 'use strict'; module.exports = LRUCache; @@ -81752,7 +81745,7 @@ LRUCache.prototype.setMaxSize = function(max) { return this; }; -},{}],1015:[function(require,module,exports){ +},{}],1011:[function(require,module,exports){ 'use strict'; var config = require('./config'); @@ -81880,7 +81873,7 @@ function replaceTempAccessToken(query) { } } -},{"./browser":1002,"./config":1007,"./util":1018,"url":64}],1016:[function(require,module,exports){ +},{"./browser":998,"./config":1003,"./util":1014,"url":64}],1012:[function(require,module,exports){ 'use strict'; // Note: all "sizes" are measured in bytes @@ -82228,7 +82221,7 @@ StructArray.prototype.toArray = function(startIndex, endIndex) { return array; }; -},{"assert":18}],1017:[function(require,module,exports){ +},{"assert":18}],1013:[function(require,module,exports){ 'use strict'; module.exports = resolveTokens; @@ -82247,7 +82240,7 @@ function resolveTokens(properties, text) { }); } -},{}],1018:[function(require,module,exports){ +},{}],1014:[function(require,module,exports){ 'use strict'; var UnitBezier = require('unitbezier'); @@ -82706,7 +82699,7 @@ exports.warnOnce = function(message) { } }; -},{"../geo/coordinate":914,"unitbezier":1083}],1019:[function(require,module,exports){ +},{"../geo/coordinate":910,"unitbezier":1079}],1015:[function(require,module,exports){ 'use strict'; module.exports = Feature; @@ -82751,7 +82744,7 @@ Feature.prototype = { } }; -},{}],1020:[function(require,module,exports){ +},{}],1016:[function(require,module,exports){ // (c) Dean McNamee , 2012. // // https://github.com/deanm/css-color-parser-js @@ -82954,7 +82947,7 @@ function parseCSSColor(css_str) { try { exports.parseCSSColor = parseCSSColor } catch(e) { } -},{}],1021:[function(require,module,exports){ +},{}],1017:[function(require,module,exports){ 'use strict'; module.exports = earcut; @@ -83600,7 +83593,7 @@ earcut.flatten = function (data) { return result; }; -},{}],1022:[function(require,module,exports){ +},{}],1018:[function(require,module,exports){ 'use strict'; module.exports = createFilter; @@ -83684,7 +83677,7 @@ function compare(a, b) { return a < b ? -1 : a > b ? 1 : 0; } -},{}],1023:[function(require,module,exports){ +},{}],1019:[function(require,module,exports){ var geojsonArea = require('geojson-area'); module.exports = rewind; @@ -83735,7 +83728,7 @@ function cw(_) { return geojsonArea.ring(_) >= 0; } -},{"geojson-area":1024}],1024:[function(require,module,exports){ +},{"geojson-area":1020}],1020:[function(require,module,exports){ var wgs84 = require('wgs84'); module.exports.geometry = geometry; @@ -83801,12 +83794,12 @@ function rad(_) { return _ * Math.PI / 180; } -},{"wgs84":1025}],1025:[function(require,module,exports){ +},{"wgs84":1021}],1021:[function(require,module,exports){ module.exports.RADIUS = 6378137; module.exports.FLATTENING = 1/298.257223563; module.exports.POLAR_RADIUS = 6356752.3142; -},{}],1026:[function(require,module,exports){ +},{}],1022:[function(require,module,exports){ 'use strict'; module.exports = clip; @@ -83957,7 +83950,7 @@ function newSlice(slices, slice, area, dist, outer) { return []; } -},{"./feature":1028}],1027:[function(require,module,exports){ +},{"./feature":1024}],1023:[function(require,module,exports){ 'use strict'; module.exports = convert; @@ -84080,7 +84073,7 @@ function calcSize(points) { points.dist = dist; } -},{"./feature":1028,"./simplify":1030}],1028:[function(require,module,exports){ +},{"./feature":1024,"./simplify":1026}],1024:[function(require,module,exports){ 'use strict'; module.exports = createFeature; @@ -84125,7 +84118,7 @@ function calcRingBBox(min, max, points) { } } -},{}],1029:[function(require,module,exports){ +},{}],1025:[function(require,module,exports){ 'use strict'; module.exports = geojsonvt; @@ -84369,7 +84362,7 @@ function isClippedSquare(tile, extent, buffer) { return true; } -},{"./clip":1026,"./convert":1027,"./tile":1031,"./transform":1032,"./wrap":1033}],1030:[function(require,module,exports){ +},{"./clip":1022,"./convert":1023,"./tile":1027,"./transform":1028,"./wrap":1029}],1026:[function(require,module,exports){ 'use strict'; module.exports = simplify; @@ -84445,7 +84438,7 @@ function getSqSegDist(p, a, b) { return dx * dx + dy * dy; } -},{}],1031:[function(require,module,exports){ +},{}],1027:[function(require,module,exports){ 'use strict'; module.exports = createTile; @@ -84553,7 +84546,7 @@ function signedArea(ring) { return sum; } -},{}],1032:[function(require,module,exports){ +},{}],1028:[function(require,module,exports){ 'use strict'; exports.tile = transformTile; @@ -84596,7 +84589,7 @@ function transformPoint(p, extent, z2, tx, ty) { return [x, y]; } -},{}],1033:[function(require,module,exports){ +},{}],1029:[function(require,module,exports){ 'use strict'; var clip = require('./clip'); @@ -84654,7 +84647,7 @@ function shiftCoords(points, offset) { return newPoints; } -},{"./clip":1026,"./feature":1028}],1034:[function(require,module,exports){ +},{"./clip":1022,"./feature":1024}],1030:[function(require,module,exports){ /** * @fileoverview gl-matrix - High performance matrix and vector operations * @author Brandon Jones @@ -84692,7 +84685,7 @@ exports.quat = require("./gl-matrix/quat.js"); exports.vec2 = require("./gl-matrix/vec2.js"); exports.vec3 = require("./gl-matrix/vec3.js"); exports.vec4 = require("./gl-matrix/vec4.js"); -},{"./gl-matrix/common.js":1035,"./gl-matrix/mat2.js":1036,"./gl-matrix/mat2d.js":1037,"./gl-matrix/mat3.js":1038,"./gl-matrix/mat4.js":1039,"./gl-matrix/quat.js":1040,"./gl-matrix/vec2.js":1041,"./gl-matrix/vec3.js":1042,"./gl-matrix/vec4.js":1043}],1035:[function(require,module,exports){ +},{"./gl-matrix/common.js":1031,"./gl-matrix/mat2.js":1032,"./gl-matrix/mat2d.js":1033,"./gl-matrix/mat3.js":1034,"./gl-matrix/mat4.js":1035,"./gl-matrix/quat.js":1036,"./gl-matrix/vec2.js":1037,"./gl-matrix/vec3.js":1038,"./gl-matrix/vec4.js":1039}],1031:[function(require,module,exports){ /* Copyright (c) 2015, Brandon Jones, Colin MacKenzie IV. Permission is hereby granted, free of charge, to any person obtaining a copy @@ -84764,7 +84757,7 @@ glMatrix.equals = function(a, b) { module.exports = glMatrix; -},{}],1036:[function(require,module,exports){ +},{}],1032:[function(require,module,exports){ /* Copyright (c) 2015, Brandon Jones, Colin MacKenzie IV. Permission is hereby granted, free of charge, to any person obtaining a copy @@ -85202,7 +85195,7 @@ mat2.multiplyScalarAndAdd = function(out, a, b, scale) { module.exports = mat2; -},{"./common.js":1035}],1037:[function(require,module,exports){ +},{"./common.js":1031}],1033:[function(require,module,exports){ /* Copyright (c) 2015, Brandon Jones, Colin MacKenzie IV. Permission is hereby granted, free of charge, to any person obtaining a copy @@ -85673,7 +85666,7 @@ mat2d.equals = function (a, b) { module.exports = mat2d; -},{"./common.js":1035}],1038:[function(require,module,exports){ +},{"./common.js":1031}],1034:[function(require,module,exports){ /* Copyright (c) 2015, Brandon Jones, Colin MacKenzie IV. Permission is hereby granted, free of charge, to any person obtaining a copy @@ -86421,7 +86414,7 @@ mat3.equals = function (a, b) { module.exports = mat3; -},{"./common.js":1035}],1039:[function(require,module,exports){ +},{"./common.js":1031}],1035:[function(require,module,exports){ /* Copyright (c) 2015, Brandon Jones, Colin MacKenzie IV. Permission is hereby granted, free of charge, to any person obtaining a copy @@ -88559,7 +88552,7 @@ mat4.equals = function (a, b) { module.exports = mat4; -},{"./common.js":1035}],1040:[function(require,module,exports){ +},{"./common.js":1031}],1036:[function(require,module,exports){ /* Copyright (c) 2015, Brandon Jones, Colin MacKenzie IV. Permission is hereby granted, free of charge, to any person obtaining a copy @@ -89161,7 +89154,7 @@ quat.equals = vec4.equals; module.exports = quat; -},{"./common.js":1035,"./mat3.js":1038,"./vec3.js":1042,"./vec4.js":1043}],1041:[function(require,module,exports){ +},{"./common.js":1031,"./mat3.js":1034,"./vec3.js":1038,"./vec4.js":1039}],1037:[function(require,module,exports){ /* Copyright (c) 2015, Brandon Jones, Colin MacKenzie IV. Permission is hereby granted, free of charge, to any person obtaining a copy @@ -89750,7 +89743,7 @@ vec2.equals = function (a, b) { module.exports = vec2; -},{"./common.js":1035}],1042:[function(require,module,exports){ +},{"./common.js":1031}],1038:[function(require,module,exports){ /* Copyright (c) 2015, Brandon Jones, Colin MacKenzie IV. Permission is hereby granted, free of charge, to any person obtaining a copy @@ -90529,7 +90522,7 @@ vec3.equals = function (a, b) { module.exports = vec3; -},{"./common.js":1035}],1043:[function(require,module,exports){ +},{"./common.js":1031}],1039:[function(require,module,exports){ /* Copyright (c) 2015, Brandon Jones, Colin MacKenzie IV. Permission is hereby granted, free of charge, to any person obtaining a copy @@ -91140,7 +91133,7 @@ vec4.equals = function (a, b) { module.exports = vec4; -},{"./common.js":1035}],1044:[function(require,module,exports){ +},{"./common.js":1031}],1040:[function(require,module,exports){ 'use strict'; module.exports = GridIndex; @@ -91302,7 +91295,7 @@ GridIndex.prototype.toArrayBuffer = function() { return array.buffer; }; -},{}],1045:[function(require,module,exports){ +},{}],1041:[function(require,module,exports){ 'use strict'; function createFunction(parameters, defaultType) { @@ -91475,7 +91468,7 @@ module.exports['piecewise-constant'] = function(parameters) { return createFunction(parameters, 'interval'); }; -},{}],1046:[function(require,module,exports){ +},{}],1042:[function(require,module,exports){ var path = require('path'); @@ -91537,7 +91530,7 @@ module.exports = { module.exports.util = "float evaluate_zoom_function_1(const vec4 values, const float t) {\n if (t < 1.0) {\n return mix(values[0], values[1], t);\n } else if (t < 2.0) {\n return mix(values[1], values[2], t - 1.0);\n } else {\n return mix(values[2], values[3], t - 2.0);\n }\n}\nvec4 evaluate_zoom_function_4(const vec4 value0, const vec4 value1, const vec4 value2, const vec4 value3, const float t) {\n if (t < 1.0) {\n return mix(value0, value1, t);\n } else if (t < 2.0) {\n return mix(value1, value2, t - 1.0);\n } else {\n return mix(value2, value3, t - 2.0);\n }\n}\n"; -},{"path":40}],1047:[function(require,module,exports){ +},{"path":40}],1043:[function(require,module,exports){ 'use strict'; var format = require('util').format; @@ -91555,7 +91548,7 @@ function ValidationError(key, value /*, message, ...*/) { module.exports = ValidationError; -},{"util":68}],1048:[function(require,module,exports){ +},{"util":68}],1044:[function(require,module,exports){ 'use strict'; module.exports = function (output) { @@ -91568,7 +91561,7 @@ module.exports = function (output) { return output; }; -},{}],1049:[function(require,module,exports){ +},{}],1045:[function(require,module,exports){ 'use strict'; module.exports = function getType(val) { @@ -91587,7 +91580,7 @@ module.exports = function getType(val) { } }; -},{}],1050:[function(require,module,exports){ +},{}],1046:[function(require,module,exports){ 'use strict'; // Turn jsonlint-lines-primitives objects into primitive objects @@ -91599,7 +91592,7 @@ module.exports = function unbundle(value) { } }; -},{}],1051:[function(require,module,exports){ +},{}],1047:[function(require,module,exports){ 'use strict'; var ValidationError = require('../error/validation_error'); @@ -91666,7 +91659,7 @@ module.exports = function validate(options) { } }; -},{"../error/validation_error":1047,"../util/extend":1048,"../util/get_type":1049,"./validate_array":1052,"./validate_boolean":1053,"./validate_color":1054,"./validate_constants":1055,"./validate_enum":1056,"./validate_filter":1057,"./validate_function":1058,"./validate_layer":1060,"./validate_number":1062,"./validate_object":1063,"./validate_source":1065,"./validate_string":1066}],1052:[function(require,module,exports){ +},{"../error/validation_error":1043,"../util/extend":1044,"../util/get_type":1045,"./validate_array":1048,"./validate_boolean":1049,"./validate_color":1050,"./validate_constants":1051,"./validate_enum":1052,"./validate_filter":1053,"./validate_function":1054,"./validate_layer":1056,"./validate_number":1058,"./validate_object":1059,"./validate_source":1061,"./validate_string":1062}],1048:[function(require,module,exports){ 'use strict'; var getType = require('../util/get_type'); @@ -91720,7 +91713,7 @@ module.exports = function validateArray(options) { return errors; }; -},{"../error/validation_error":1047,"../util/get_type":1049,"./validate":1051}],1053:[function(require,module,exports){ +},{"../error/validation_error":1043,"../util/get_type":1045,"./validate":1047}],1049:[function(require,module,exports){ 'use strict'; var getType = require('../util/get_type'); @@ -91738,7 +91731,7 @@ module.exports = function validateBoolean(options) { return []; }; -},{"../error/validation_error":1047,"../util/get_type":1049}],1054:[function(require,module,exports){ +},{"../error/validation_error":1043,"../util/get_type":1045}],1050:[function(require,module,exports){ 'use strict'; var ValidationError = require('../error/validation_error'); @@ -91761,7 +91754,7 @@ module.exports = function validateColor(options) { return []; }; -},{"../error/validation_error":1047,"../util/get_type":1049,"csscolorparser":1020}],1055:[function(require,module,exports){ +},{"../error/validation_error":1043,"../util/get_type":1045,"csscolorparser":1016}],1051:[function(require,module,exports){ 'use strict'; var ValidationError = require('../error/validation_error'); @@ -91795,7 +91788,7 @@ module.exports = function validateConstants(options) { }; -},{"../error/validation_error":1047,"../util/get_type":1049}],1056:[function(require,module,exports){ +},{"../error/validation_error":1043,"../util/get_type":1045}],1052:[function(require,module,exports){ 'use strict'; var ValidationError = require('../error/validation_error'); @@ -91813,7 +91806,7 @@ module.exports = function validateEnum(options) { return errors; }; -},{"../error/validation_error":1047,"../util/unbundle_jsonlint":1050}],1057:[function(require,module,exports){ +},{"../error/validation_error":1043,"../util/unbundle_jsonlint":1046}],1053:[function(require,module,exports){ 'use strict'; var ValidationError = require('../error/validation_error'); @@ -91918,7 +91911,7 @@ module.exports = function validateFilter(options) { return errors; }; -},{"../error/validation_error":1047,"../util/get_type":1049,"../util/unbundle_jsonlint":1050,"./validate_enum":1056}],1058:[function(require,module,exports){ +},{"../error/validation_error":1043,"../util/get_type":1045,"../util/unbundle_jsonlint":1046,"./validate_enum":1052}],1054:[function(require,module,exports){ 'use strict'; var ValidationError = require('../error/validation_error'); @@ -92052,7 +92045,7 @@ module.exports = function validateFunction(options) { }; -},{"../error/validation_error":1047,"../util/get_type":1049,"./validate":1051,"./validate_array":1052,"./validate_number":1062,"./validate_object":1063}],1059:[function(require,module,exports){ +},{"../error/validation_error":1043,"../util/get_type":1045,"./validate":1047,"./validate_array":1048,"./validate_number":1058,"./validate_object":1059}],1055:[function(require,module,exports){ 'use strict'; var ValidationError = require('../error/validation_error'); @@ -92076,7 +92069,7 @@ module.exports = function(options) { return errors; }; -},{"../error/validation_error":1047,"./validate_string":1066}],1060:[function(require,module,exports){ +},{"../error/validation_error":1043,"./validate_string":1062}],1056:[function(require,module,exports){ 'use strict'; var ValidationError = require('../error/validation_error'); @@ -92189,7 +92182,7 @@ module.exports = function validateLayer(options) { return errors; }; -},{"../error/validation_error":1047,"../util/extend":1048,"../util/unbundle_jsonlint":1050,"./validate_filter":1057,"./validate_layout_property":1061,"./validate_object":1063,"./validate_paint_property":1064}],1061:[function(require,module,exports){ +},{"../error/validation_error":1043,"../util/extend":1044,"../util/unbundle_jsonlint":1046,"./validate_filter":1053,"./validate_layout_property":1057,"./validate_object":1059,"./validate_paint_property":1060}],1057:[function(require,module,exports){ 'use strict'; var validate = require('./validate'); @@ -92228,7 +92221,7 @@ module.exports = function validateLayoutProperty(options) { }; -},{"../error/validation_error":1047,"./validate":1051}],1062:[function(require,module,exports){ +},{"../error/validation_error":1043,"./validate":1047}],1058:[function(require,module,exports){ 'use strict'; var getType = require('../util/get_type'); @@ -92255,7 +92248,7 @@ module.exports = function validateNumber(options) { return []; }; -},{"../error/validation_error":1047,"../util/get_type":1049}],1063:[function(require,module,exports){ +},{"../error/validation_error":1043,"../util/get_type":1045}],1059:[function(require,module,exports){ 'use strict'; var ValidationError = require('../error/validation_error'); @@ -92308,7 +92301,7 @@ module.exports = function validateObject(options) { return errors; }; -},{"../error/validation_error":1047,"../util/get_type":1049,"./validate":1051}],1064:[function(require,module,exports){ +},{"../error/validation_error":1043,"../util/get_type":1045,"./validate":1047}],1060:[function(require,module,exports){ 'use strict'; var validate = require('./validate'); @@ -92348,7 +92341,7 @@ module.exports = function validatePaintProperty(options) { }; -},{"../error/validation_error":1047,"./validate":1051}],1065:[function(require,module,exports){ +},{"../error/validation_error":1043,"./validate":1047}],1061:[function(require,module,exports){ 'use strict'; var ValidationError = require('../error/validation_error'); @@ -92425,7 +92418,7 @@ module.exports = function validateSource(options) { } }; -},{"../error/validation_error":1047,"../util/unbundle_jsonlint":1050,"./validate_enum":1056,"./validate_object":1063}],1066:[function(require,module,exports){ +},{"../error/validation_error":1043,"../util/unbundle_jsonlint":1046,"./validate_enum":1052,"./validate_object":1059}],1062:[function(require,module,exports){ 'use strict'; var getType = require('../util/get_type'); @@ -92443,7 +92436,7 @@ module.exports = function validateString(options) { return []; }; -},{"../error/validation_error":1047,"../util/get_type":1049}],1067:[function(require,module,exports){ +},{"../error/validation_error":1043,"../util/get_type":1045}],1063:[function(require,module,exports){ 'use strict'; var validateConstants = require('./validate/validate_constants'); @@ -92513,12 +92506,12 @@ function wrapCleanErrors(inner) { module.exports = validateStyleMin; -},{"../reference/latest.min":1068,"./validate/validate":1051,"./validate/validate_constants":1055,"./validate/validate_filter":1057,"./validate/validate_glyphs_url":1059,"./validate/validate_layer":1060,"./validate/validate_layout_property":1061,"./validate/validate_paint_property":1064,"./validate/validate_source":1065}],1068:[function(require,module,exports){ +},{"../reference/latest.min":1064,"./validate/validate":1047,"./validate/validate_constants":1051,"./validate/validate_filter":1053,"./validate/validate_glyphs_url":1055,"./validate/validate_layer":1056,"./validate/validate_layout_property":1057,"./validate/validate_paint_property":1060,"./validate/validate_source":1061}],1064:[function(require,module,exports){ module.exports = require('./v8.min.json'); -},{"./v8.min.json":1069}],1069:[function(require,module,exports){ +},{"./v8.min.json":1065}],1065:[function(require,module,exports){ module.exports={"$version":8,"$root":{"version":{"required":true,"type":"enum","values":[8]},"name":{"type":"string"},"metadata":{"type":"*"},"center":{"type":"array","value":"number"},"zoom":{"type":"number"},"bearing":{"type":"number","default":0,"period":360,"units":"degrees"},"pitch":{"type":"number","default":0,"units":"degrees"},"sources":{"required":true,"type":"sources"},"sprite":{"type":"string"},"glyphs":{"type":"string"},"transition":{"type":"transition"},"layers":{"required":true,"type":"array","value":"layer"}},"sources":{"*":{"type":"source"}},"source":["source_tile","source_geojson","source_video","source_image"],"source_tile":{"type":{"required":true,"type":"enum","values":["vector","raster"]},"url":{"type":"string"},"tiles":{"type":"array","value":"string"},"minzoom":{"type":"number","default":0},"maxzoom":{"type":"number","default":22},"tileSize":{"type":"number","default":512,"units":"pixels"},"*":{"type":"*"}},"source_geojson":{"type":{"required":true,"type":"enum","values":["geojson"]},"data":{"type":"*"},"maxzoom":{"type":"number","default":14},"buffer":{"type":"number","default":64},"tolerance":{"type":"number","default":3},"cluster":{"type":"boolean","default":false},"clusterRadius":{"type":"number","default":400},"clusterMaxZoom":{"type":"number"}},"source_video":{"type":{"required":true,"type":"enum","values":["video"]},"urls":{"required":true,"type":"array","value":"string"},"coordinates":{"required":true,"type":"array","length":4,"value":{"type":"array","length":2,"value":"number"}}},"source_image":{"type":{"required":true,"type":"enum","values":["image"]},"url":{"required":true,"type":"string"},"coordinates":{"required":true,"type":"array","length":4,"value":{"type":"array","length":2,"value":"number"}}},"layer":{"id":{"type":"string","required":true},"type":{"type":"enum","values":["fill","line","symbol","circle","raster","background"]},"metadata":{"type":"*"},"ref":{"type":"string"},"source":{"type":"string"},"source-layer":{"type":"string"},"minzoom":{"type":"number","minimum":0,"maximum":22},"maxzoom":{"type":"number","minimum":0,"maximum":22},"interactive":{"type":"boolean","default":false},"filter":{"type":"filter"},"layout":{"type":"layout"},"paint":{"type":"paint"},"paint.*":{"type":"paint"}},"layout":["layout_fill","layout_line","layout_circle","layout_symbol","layout_raster","layout_background"],"layout_background":{"visibility":{"type":"enum","function":"piecewise-constant","zoom-function":true,"values":["visible","none"],"default":"visible"}},"layout_fill":{"visibility":{"type":"enum","function":"piecewise-constant","zoom-function":true,"values":["visible","none"],"default":"visible"}},"layout_circle":{"visibility":{"type":"enum","function":"piecewise-constant","zoom-function":true,"values":["visible","none"],"default":"visible"}},"layout_line":{"line-cap":{"type":"enum","function":"piecewise-constant","zoom-function":true,"property-function":true,"values":["butt","round","square"],"default":"butt"},"line-join":{"type":"enum","function":"piecewise-constant","zoom-function":true,"property-function":true,"values":["bevel","round","miter"],"default":"miter"},"line-miter-limit":{"type":"number","default":2,"function":"interpolated","zoom-function":true,"property-function":true,"requires":[{"line-join":"miter"}]},"line-round-limit":{"type":"number","default":1.05,"function":"interpolated","zoom-function":true,"property-function":true,"requires":[{"line-join":"round"}]},"visibility":{"type":"enum","function":"piecewise-constant","zoom-function":true,"values":["visible","none"],"default":"visible"}},"layout_symbol":{"symbol-placement":{"type":"enum","function":"piecewise-constant","zoom-function":true,"property-function":true,"values":["point","line"],"default":"point"},"symbol-spacing":{"type":"number","default":250,"minimum":1,"function":"interpolated","zoom-function":true,"property-function":true,"units":"pixels","requires":[{"symbol-placement":"line"}]},"symbol-avoid-edges":{"type":"boolean","function":"piecewise-constant","zoom-function":true,"property-function":true,"default":false},"icon-allow-overlap":{"type":"boolean","function":"piecewise-constant","zoom-function":true,"property-function":true,"default":false,"requires":["icon-image"]},"icon-ignore-placement":{"type":"boolean","function":"piecewise-constant","zoom-function":true,"property-function":true,"default":false,"requires":["icon-image"]},"icon-optional":{"type":"boolean","function":"piecewise-constant","zoom-function":true,"property-function":true,"default":false,"requires":["icon-image","text-field"]},"icon-rotation-alignment":{"type":"enum","function":"piecewise-constant","zoom-function":true,"property-function":true,"values":["map","viewport"],"default":"viewport","requires":["icon-image"]},"icon-size":{"type":"number","default":1,"minimum":0,"function":"interpolated","zoom-function":true,"property-function":true,"requires":["icon-image"]},"icon-text-fit":{"type":"enum","function":"piecewise-constant","zoom-function":true,"property-function":false,"values":["none","both","width","height"],"default":"none","requires":["icon-image","text-field"]},"icon-text-fit-padding":{"type":"array","value":"number","length":4,"default":[0,0,0,0],"units":"pixels","function":"interpolated","zoom-function":true,"property-function":true,"requires":["icon-image","icon-text-fit","text-field"]},"icon-image":{"type":"string","function":"piecewise-constant","zoom-function":true,"property-function":true,"tokens":true},"icon-rotate":{"type":"number","default":0,"period":360,"function":"interpolated","zoom-function":true,"property-function":true,"units":"degrees","requires":["icon-image"]},"icon-padding":{"type":"number","default":2,"minimum":0,"function":"interpolated","zoom-function":true,"property-function":true,"units":"pixels","requires":["icon-image"]},"icon-keep-upright":{"type":"boolean","function":"piecewise-constant","zoom-function":true,"property-function":true,"default":false,"requires":["icon-image",{"icon-rotation-alignment":"map"},{"symbol-placement":"line"}]},"icon-offset":{"type":"array","value":"number","length":2,"default":[0,0],"function":"interpolated","zoom-function":true,"property-function":true,"requires":["icon-image"]},"text-pitch-alignment":{"type":"enum","function":"piecewise-constant","zoom-function":true,"property-function":true,"values":["map","viewport"],"requires":["text-field"]},"text-rotation-alignment":{"type":"enum","function":"piecewise-constant","zoom-function":true,"property-function":true,"values":["map","viewport"],"default":"viewport","requires":["text-field"]},"text-field":{"type":"string","function":"piecewise-constant","zoom-function":true,"property-function":true,"default":"","tokens":true},"text-font":{"type":"array","value":"string","function":"piecewise-constant","zoom-function":true,"property-function":true,"default":["Open Sans Regular","Arial Unicode MS Regular"],"requires":["text-field"]},"text-size":{"type":"number","default":16,"minimum":0,"units":"pixels","function":"interpolated","zoom-function":true,"property-function":true,"requires":["text-field"]},"text-max-width":{"type":"number","default":10,"minimum":0,"units":"em","function":"interpolated","zoom-function":true,"property-function":true,"requires":["text-field"]},"text-line-height":{"type":"number","default":1.2,"units":"em","function":"interpolated","zoom-function":true,"property-function":true,"requires":["text-field"]},"text-letter-spacing":{"type":"number","default":0,"units":"em","function":"interpolated","zoom-function":true,"property-function":true,"requires":["text-field"]},"text-justify":{"type":"enum","function":"piecewise-constant","zoom-function":true,"property-function":true,"values":["left","center","right"],"default":"center","requires":["text-field"]},"text-anchor":{"type":"enum","function":"piecewise-constant","zoom-function":true,"property-function":true,"values":["center","left","right","top","bottom","top-left","top-right","bottom-left","bottom-right"],"default":"center","requires":["text-field"]},"text-max-angle":{"type":"number","default":45,"units":"degrees","function":"interpolated","zoom-function":true,"property-function":true,"requires":["text-field",{"symbol-placement":"line"}]},"text-rotate":{"type":"number","default":0,"period":360,"units":"degrees","function":"interpolated","zoom-function":true,"property-function":true,"requires":["text-field"]},"text-padding":{"type":"number","default":2,"minimum":0,"units":"pixels","function":"interpolated","zoom-function":true,"property-function":true,"requires":["text-field"]},"text-keep-upright":{"type":"boolean","function":"piecewise-constant","zoom-function":true,"property-function":true,"default":true,"requires":["text-field",{"text-rotation-alignment":"map"},{"symbol-placement":"line"}]},"text-transform":{"type":"enum","function":"piecewise-constant","zoom-function":true,"property-function":true,"values":["none","uppercase","lowercase"],"default":"none","requires":["text-field"]},"text-offset":{"type":"array","value":"number","units":"ems","function":"interpolated","zoom-function":true,"property-function":true,"length":2,"default":[0,0],"requires":["text-field"]},"text-allow-overlap":{"type":"boolean","function":"piecewise-constant","zoom-function":true,"property-function":true,"default":false,"requires":["text-field"]},"text-ignore-placement":{"type":"boolean","function":"piecewise-constant","zoom-function":true,"property-function":true,"default":false,"requires":["text-field"]},"text-optional":{"type":"boolean","function":"piecewise-constant","zoom-function":true,"property-function":true,"default":false,"requires":["text-field","icon-image"]},"visibility":{"type":"enum","function":"piecewise-constant","zoom-function":true,"values":["visible","none"],"default":"visible"}},"layout_raster":{"visibility":{"type":"enum","function":"piecewise-constant","zoom-function":true,"values":["visible","none"],"default":"visible"}},"filter":{"type":"array","value":"*"},"filter_operator":{"type":"enum","values":["==","!=",">",">=","<","<=","in","!in","all","any","none","has","!has"]},"geometry_type":{"type":"enum","values":["Point","LineString","Polygon"]},"color_operation":{"type":"enum","values":["lighten","saturate","spin","fade","mix"]},"function":{"stops":{"type":"array","required":true,"value":"function_stop"},"base":{"type":"number","default":1,"minimum":0},"property":{"type":"string","default":"$zoom"},"type":{"type":"enum","values":["exponential","interval","categorical"],"default":"exponential"}},"function_stop":{"type":"array","minimum":0,"maximum":22,"value":["number","color"],"length":2},"paint":["paint_fill","paint_line","paint_circle","paint_symbol","paint_raster","paint_background"],"paint_fill":{"fill-antialias":{"type":"boolean","function":"piecewise-constant","zoom-function":true,"property-function":true,"default":true},"fill-opacity":{"type":"number","function":"interpolated","zoom-function":true,"property-function":true,"default":1,"minimum":0,"maximum":1,"transition":true},"fill-color":{"type":"color","default":"#000000","function":"interpolated","zoom-function":true,"property-function":true,"transition":true,"requires":[{"!":"fill-pattern"}]},"fill-outline-color":{"type":"color","function":"interpolated","zoom-function":true,"property-function":true,"transition":true,"requires":[{"!":"fill-pattern"},{"fill-antialias":true}]},"fill-translate":{"type":"array","value":"number","length":2,"default":[0,0],"function":"interpolated","zoom-function":true,"property-function":true,"transition":true,"units":"pixels"},"fill-translate-anchor":{"type":"enum","function":"piecewise-constant","zoom-function":true,"property-function":true,"values":["map","viewport"],"default":"map","requires":["fill-translate"]},"fill-pattern":{"type":"string","function":"piecewise-constant","zoom-function":true,"property-function":true,"transition":true}},"paint_line":{"line-opacity":{"type":"number","function":"interpolated","zoom-function":true,"property-function":true,"default":1,"minimum":0,"maximum":1,"transition":true},"line-color":{"type":"color","default":"#000000","function":"interpolated","zoom-function":true,"property-function":true,"transition":true,"requires":[{"!":"line-pattern"}]},"line-translate":{"type":"array","value":"number","length":2,"default":[0,0],"function":"interpolated","zoom-function":true,"property-function":true,"transition":true,"units":"pixels"},"line-translate-anchor":{"type":"enum","function":"piecewise-constant","zoom-function":true,"property-function":true,"values":["map","viewport"],"default":"map","requires":["line-translate"]},"line-width":{"type":"number","default":1,"minimum":0,"function":"interpolated","zoom-function":true,"property-function":true,"transition":true,"units":"pixels"},"line-gap-width":{"type":"number","default":0,"minimum":0,"function":"interpolated","zoom-function":true,"property-function":true,"transition":true,"units":"pixels"},"line-offset":{"type":"number","default":0,"function":"interpolated","zoom-function":true,"property-function":true,"transition":true,"units":"pixels"},"line-blur":{"type":"number","default":0,"minimum":0,"function":"interpolated","zoom-function":true,"property-function":true,"transition":true,"units":"pixels"},"line-dasharray":{"type":"array","value":"number","function":"piecewise-constant","zoom-function":true,"property-function":true,"minimum":0,"transition":true,"units":"line widths","requires":[{"!":"line-pattern"}]},"line-pattern":{"type":"string","function":"piecewise-constant","zoom-function":true,"property-function":true,"transition":true}},"paint_circle":{"circle-radius":{"type":"number","default":5,"minimum":0,"function":"interpolated","zoom-function":true,"property-function":true,"transition":true,"units":"pixels"},"circle-color":{"type":"color","default":"#000000","function":"interpolated","zoom-function":true,"property-function":true,"transition":true},"circle-blur":{"type":"number","default":0,"function":"interpolated","zoom-function":true,"property-function":true,"transition":true},"circle-opacity":{"type":"number","default":1,"minimum":0,"maximum":1,"function":"interpolated","zoom-function":true,"property-function":true,"transition":true},"circle-translate":{"type":"array","value":"number","length":2,"default":[0,0],"function":"interpolated","zoom-function":true,"property-function":true,"transition":true,"units":"pixels"},"circle-translate-anchor":{"type":"enum","function":"piecewise-constant","zoom-function":true,"property-function":true,"values":["map","viewport"],"default":"map","requires":["circle-translate"]},"circle-pitch-scale":{"type":"enum","function":"piecewise-constant","zoom-function":true,"property-function":true,"values":["map","viewport"],"default":"map"}},"paint_symbol":{"icon-opacity":{"type":"number","default":1,"minimum":0,"maximum":1,"function":"interpolated","zoom-function":true,"property-function":true,"transition":true,"requires":["icon-image"]},"icon-color":{"type":"color","default":"#000000","function":"interpolated","zoom-function":true,"property-function":true,"transition":true,"requires":["icon-image"]},"icon-halo-color":{"type":"color","default":"rgba(0, 0, 0, 0)","function":"interpolated","zoom-function":true,"property-function":true,"transition":true,"requires":["icon-image"]},"icon-halo-width":{"type":"number","default":0,"minimum":0,"function":"interpolated","zoom-function":true,"property-function":true,"transition":true,"units":"pixels","requires":["icon-image"]},"icon-halo-blur":{"type":"number","default":0,"minimum":0,"function":"interpolated","zoom-function":true,"property-function":true,"transition":true,"units":"pixels","requires":["icon-image"]},"icon-translate":{"type":"array","value":"number","length":2,"default":[0,0],"function":"interpolated","zoom-function":true,"property-function":true,"transition":true,"units":"pixels","requires":["icon-image"]},"icon-translate-anchor":{"type":"enum","function":"piecewise-constant","zoom-function":true,"property-function":true,"values":["map","viewport"],"default":"map","requires":["icon-image","icon-translate"]},"text-opacity":{"type":"number","default":1,"minimum":0,"maximum":1,"function":"interpolated","zoom-function":true,"property-function":true,"transition":true,"requires":["text-field"]},"text-color":{"type":"color","default":"#000000","function":"interpolated","zoom-function":true,"property-function":true,"transition":true,"requires":["text-field"]},"text-halo-color":{"type":"color","default":"rgba(0, 0, 0, 0)","function":"interpolated","zoom-function":true,"property-function":true,"transition":true,"requires":["text-field"]},"text-halo-width":{"type":"number","default":0,"minimum":0,"function":"interpolated","zoom-function":true,"property-function":true,"transition":true,"units":"pixels","requires":["text-field"]},"text-halo-blur":{"type":"number","default":0,"minimum":0,"function":"interpolated","zoom-function":true,"property-function":true,"transition":true,"units":"pixels","requires":["text-field"]},"text-translate":{"type":"array","value":"number","length":2,"default":[0,0],"function":"interpolated","zoom-function":true,"property-function":true,"transition":true,"units":"pixels","requires":["text-field"]},"text-translate-anchor":{"type":"enum","function":"piecewise-constant","zoom-function":true,"property-function":true,"values":["map","viewport"],"default":"map","requires":["text-field","text-translate"]}},"paint_raster":{"raster-opacity":{"type":"number","default":1,"minimum":0,"maximum":1,"function":"interpolated","zoom-function":true,"transition":true},"raster-hue-rotate":{"type":"number","default":0,"period":360,"function":"interpolated","zoom-function":true,"transition":true,"units":"degrees"},"raster-brightness-min":{"type":"number","function":"interpolated","zoom-function":true,"default":0,"minimum":0,"maximum":1,"transition":true},"raster-brightness-max":{"type":"number","function":"interpolated","zoom-function":true,"default":1,"minimum":0,"maximum":1,"transition":true},"raster-saturation":{"type":"number","default":0,"minimum":-1,"maximum":1,"function":"interpolated","zoom-function":true,"transition":true},"raster-contrast":{"type":"number","default":0,"minimum":-1,"maximum":1,"function":"interpolated","zoom-function":true,"transition":true},"raster-fade-duration":{"type":"number","default":300,"minimum":0,"function":"interpolated","zoom-function":true,"transition":true,"units":"milliseconds"}},"paint_background":{"background-color":{"type":"color","default":"#000000","function":"interpolated","zoom-function":true,"transition":true,"requires":[{"!":"background-pattern"}]},"background-pattern":{"type":"string","function":"piecewise-constant","zoom-function":true,"transition":true},"background-opacity":{"type":"number","default":1,"minimum":0,"maximum":1,"function":"interpolated","zoom-function":true,"transition":true}},"transition":{"duration":{"type":"number","default":300,"minimum":0,"units":"milliseconds"},"delay":{"type":"number","default":0,"minimum":0,"units":"milliseconds"}}} -},{}],1070:[function(require,module,exports){ +},{}],1066:[function(require,module,exports){ 'use strict'; if (typeof module !== 'undefined' && module.exports) { @@ -92649,7 +92642,7 @@ function isWebGLSupported(failIfMajorPerformanceCaveat) { } } -},{}],1071:[function(require,module,exports){ +},{}],1067:[function(require,module,exports){ 'use strict'; // lightweight Buffer shim for pbf browser build @@ -92810,7 +92803,7 @@ function encodeString(str) { return bytes; } -},{"ieee754":1073}],1072:[function(require,module,exports){ +},{"ieee754":1069}],1068:[function(require,module,exports){ (function (global){ 'use strict'; @@ -93236,9 +93229,9 @@ function writePackedFixed64(arr, pbf) { for (var i = 0; i < arr.length; i++) pb function writePackedSFixed64(arr, pbf) { for (var i = 0; i < arr.length; i++) pbf.writeSFixed64(arr[i]); } }).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {}) -},{"./buffer":1071}],1073:[function(require,module,exports){ +},{"./buffer":1067}],1069:[function(require,module,exports){ arguments[4][35][0].apply(exports,arguments) -},{"dup":35}],1074:[function(require,module,exports){ +},{"dup":35}],1070:[function(require,module,exports){ 'use strict'; module.exports = Point; @@ -93371,7 +93364,7 @@ Point.convert = function (a) { return a; }; -},{}],1075:[function(require,module,exports){ +},{}],1071:[function(require,module,exports){ 'use strict'; module.exports = partialSort; @@ -93433,7 +93426,7 @@ function defaultCompare(a, b) { return a < b ? -1 : a > b ? 1 : 0; } -},{}],1076:[function(require,module,exports){ +},{}],1072:[function(require,module,exports){ // Copyright 2014 Simon Lydell // X11 (“MIT”) Licensed. (See LICENSE.) @@ -93482,7 +93475,7 @@ void (function(root, factory) { })); -},{}],1077:[function(require,module,exports){ +},{}],1073:[function(require,module,exports){ (function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : typeof define === 'function' && define.amd ? define(factory) : @@ -93737,7 +93730,7 @@ Shelf.prototype.resize = function(w) { return ShelfPack; })); -},{}],1078:[function(require,module,exports){ +},{}],1074:[function(require,module,exports){ 'use strict'; var kdbush = require('kdbush'); @@ -93966,7 +93959,7 @@ function getY(p) { return p.y; } -},{"kdbush":1079}],1079:[function(require,module,exports){ +},{"kdbush":1075}],1075:[function(require,module,exports){ 'use strict'; var sort = require('./sort'); @@ -94012,7 +94005,7 @@ KDBush.prototype = { function defaultGetX(p) { return p[0]; } function defaultGetY(p) { return p[1]; } -},{"./range":1080,"./sort":1081,"./within":1082}],1080:[function(require,module,exports){ +},{"./range":1076,"./sort":1077,"./within":1078}],1076:[function(require,module,exports){ 'use strict'; module.exports = range; @@ -94060,7 +94053,7 @@ function range(ids, coords, minX, minY, maxX, maxY, nodeSize) { return result; } -},{}],1081:[function(require,module,exports){ +},{}],1077:[function(require,module,exports){ 'use strict'; module.exports = sortKD; @@ -94128,7 +94121,7 @@ function swap(arr, i, j) { arr[j] = tmp; } -},{}],1082:[function(require,module,exports){ +},{}],1078:[function(require,module,exports){ 'use strict'; module.exports = within; @@ -94180,7 +94173,7 @@ function sqDist(ax, ay, bx, by) { return dx * dx + dy * dy; } -},{}],1083:[function(require,module,exports){ +},{}],1079:[function(require,module,exports){ /* * Copyright (C) 2008 Apple Inc. All Rights Reserved. * @@ -94287,12 +94280,12 @@ UnitBezier.prototype.solve = function(x, epsilon) { return this.sampleCurveY(this.solveCurveX(x, epsilon)); }; -},{}],1084:[function(require,module,exports){ +},{}],1080:[function(require,module,exports){ module.exports.VectorTile = require('./lib/vectortile.js'); module.exports.VectorTileFeature = require('./lib/vectortilefeature.js'); module.exports.VectorTileLayer = require('./lib/vectortilelayer.js'); -},{"./lib/vectortile.js":1085,"./lib/vectortilefeature.js":1086,"./lib/vectortilelayer.js":1087}],1085:[function(require,module,exports){ +},{"./lib/vectortile.js":1081,"./lib/vectortilefeature.js":1082,"./lib/vectortilelayer.js":1083}],1081:[function(require,module,exports){ 'use strict'; var VectorTileLayer = require('./vectortilelayer'); @@ -94311,7 +94304,7 @@ function readTile(tag, layers, pbf) { } -},{"./vectortilelayer":1087}],1086:[function(require,module,exports){ +},{"./vectortilelayer":1083}],1082:[function(require,module,exports){ 'use strict'; var Point = require('point-geometry'); @@ -94546,7 +94539,7 @@ function signedArea(ring) { return sum; } -},{"point-geometry":1074}],1087:[function(require,module,exports){ +},{"point-geometry":1070}],1083:[function(require,module,exports){ 'use strict'; var VectorTileFeature = require('./vectortilefeature.js'); @@ -94609,7 +94602,7 @@ VectorTileLayer.prototype.feature = function(i) { return new VectorTileFeature(this._pbf, end, this.extent, this._keys, this._values); }; -},{"./vectortilefeature.js":1086}],1088:[function(require,module,exports){ +},{"./vectortilefeature.js":1082}],1084:[function(require,module,exports){ var Pbf = require('pbf') var vtpb = require('./vector-tile-pb') var GeoJSONWrapper = require('./lib/geojson_wrapper') @@ -94765,7 +94758,7 @@ function wrapValue (value) { return result } -},{"./lib/geojson_wrapper":1089,"./vector-tile-pb":1090,"pbf":1072}],1089:[function(require,module,exports){ +},{"./lib/geojson_wrapper":1085,"./vector-tile-pb":1086,"pbf":1068}],1085:[function(require,module,exports){ 'use strict' var Point = require('point-geometry') @@ -94833,7 +94826,7 @@ FeatureWrapper.prototype.bbox = function () { FeatureWrapper.prototype.toGeoJSON = VectorTileFeature.prototype.toGeoJSON -},{"point-geometry":1074,"vector-tile":1084}],1090:[function(require,module,exports){ +},{"point-geometry":1070,"vector-tile":1080}],1086:[function(require,module,exports){ 'use strict'; // tile ======================================== @@ -94939,9 +94932,9 @@ function writeLayer(layer, pbf) { if (layer.extent !== undefined) pbf.writeVarintField(5, layer.extent); } -},{}],1091:[function(require,module,exports){ +},{}],1087:[function(require,module,exports){ arguments[4][84][0].apply(exports,arguments) -},{"dup":84}],1092:[function(require,module,exports){ +},{"dup":84}],1088:[function(require,module,exports){ (function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) : typeof define === 'function' && define.amd ? define(['exports'], factory) : @@ -95031,7 +95024,7 @@ exports.getMercCoords = getMercCoords; Object.defineProperty(exports, '__esModule', { value: true }); })); -},{}],1093:[function(require,module,exports){ +},{}],1089:[function(require,module,exports){ module.exports={ "name": "mapbox-gl", "description": "A WebGL interactive maps library", @@ -95338,7 +95331,7 @@ module.exports={ "readme": "ERROR: No README data found!" } -},{}],1094:[function(require,module,exports){ +},{}],1090:[function(require,module,exports){ 'use strict' module.exports = mouseListen @@ -95545,7 +95538,7 @@ function mouseListen (element, callback) { return result } -},{"mouse-event":1095}],1095:[function(require,module,exports){ +},{"mouse-event":1091}],1091:[function(require,module,exports){ 'use strict' function mouseButtons(ev) { @@ -95607,7 +95600,7 @@ function mouseRelativeY(ev) { } exports.y = mouseRelativeY -},{}],1096:[function(require,module,exports){ +},{}],1092:[function(require,module,exports){ module.exports = function parseUnit(str, out) { if (!out) out = [ 0, '' ] @@ -95618,7 +95611,7 @@ module.exports = function parseUnit(str, out) { out[1] = str.match(/[\d.\-\+]*\s*(.*)/)[1] || '' return out } -},{}],1097:[function(require,module,exports){ +},{}],1093:[function(require,module,exports){ 'use strict' var parseUnit = require('parse-unit') @@ -95679,7 +95672,7 @@ function toPX(str, element) { } return 1 } -},{"parse-unit":1096}],1098:[function(require,module,exports){ +},{"parse-unit":1092}],1094:[function(require,module,exports){ 'use strict' var toPX = require('to-px') @@ -95721,7 +95714,7 @@ function mouseWheelListen(element, callback, noScroll) { return listener } -},{"to-px":1097}],1099:[function(require,module,exports){ +},{"to-px":1093}],1095:[function(require,module,exports){ "use strict" @@ -95733,17 +95726,17 @@ module.exports = function(array, f) { return array } -},{"cwise/lib/wrapper":1100}],1100:[function(require,module,exports){ -arguments[4][290][0].apply(exports,arguments) -},{"cwise-compiler":1101,"dup":290}],1101:[function(require,module,exports){ +},{"cwise/lib/wrapper":1096}],1096:[function(require,module,exports){ +arguments[4][286][0].apply(exports,arguments) +},{"cwise-compiler":1097,"dup":286}],1097:[function(require,module,exports){ arguments[4][73][0].apply(exports,arguments) -},{"./lib/thunk.js":1103,"dup":73}],1102:[function(require,module,exports){ +},{"./lib/thunk.js":1099,"dup":73}],1098:[function(require,module,exports){ arguments[4][74][0].apply(exports,arguments) -},{"dup":74,"uniq":1104}],1103:[function(require,module,exports){ +},{"dup":74,"uniq":1100}],1099:[function(require,module,exports){ arguments[4][75][0].apply(exports,arguments) -},{"./compile.js":1102,"dup":75}],1104:[function(require,module,exports){ +},{"./compile.js":1098,"dup":75}],1100:[function(require,module,exports){ arguments[4][76][0].apply(exports,arguments) -},{"dup":76}],1105:[function(require,module,exports){ +},{"dup":76}],1101:[function(require,module,exports){ 'use strict' module.exports = invert @@ -95774,7 +95767,7 @@ function invert(out, M) { } return out } -},{"gl-mat2/invert":1106,"gl-mat3/invert":1107,"gl-mat4/invert":238}],1106:[function(require,module,exports){ +},{"gl-mat2/invert":1102,"gl-mat3/invert":1103,"gl-mat4/invert":234}],1102:[function(require,module,exports){ module.exports = invert /** @@ -95803,7 +95796,7 @@ function invert(out, a) { return out } -},{}],1107:[function(require,module,exports){ +},{}],1103:[function(require,module,exports){ module.exports = invert /** @@ -95842,17 +95835,17 @@ function invert(out, a) { return out } -},{}],1108:[function(require,module,exports){ -arguments[4][290][0].apply(exports,arguments) -},{"cwise-compiler":1109,"dup":290}],1109:[function(require,module,exports){ +},{}],1104:[function(require,module,exports){ +arguments[4][286][0].apply(exports,arguments) +},{"cwise-compiler":1105,"dup":286}],1105:[function(require,module,exports){ arguments[4][73][0].apply(exports,arguments) -},{"./lib/thunk.js":1111,"dup":73}],1110:[function(require,module,exports){ +},{"./lib/thunk.js":1107,"dup":73}],1106:[function(require,module,exports){ arguments[4][74][0].apply(exports,arguments) -},{"dup":74,"uniq":1112}],1111:[function(require,module,exports){ +},{"dup":74,"uniq":1108}],1107:[function(require,module,exports){ arguments[4][75][0].apply(exports,arguments) -},{"./compile.js":1110,"dup":75}],1112:[function(require,module,exports){ +},{"./compile.js":1106,"dup":75}],1108:[function(require,module,exports){ arguments[4][76][0].apply(exports,arguments) -},{"dup":76}],1113:[function(require,module,exports){ +},{"dup":76}],1109:[function(require,module,exports){ "use strict" function interp1d(arr, x) { @@ -95963,7 +95956,7 @@ module.exports.d1 = interp1d module.exports.d2 = interp2d module.exports.d3 = interp3d -},{}],1114:[function(require,module,exports){ +},{}],1110:[function(require,module,exports){ 'use strict' var interp = require('ndarray-linear-interpolate') @@ -95995,7 +95988,7 @@ module.exports = function warp(dest, src, func) { return dest } -},{"cwise/lib/wrapper":1108,"ndarray-linear-interpolate":1113}],1115:[function(require,module,exports){ +},{"cwise/lib/wrapper":1104,"ndarray-linear-interpolate":1109}],1111:[function(require,module,exports){ 'use strict' var warp = require('ndarray-warp') @@ -96025,7 +96018,7 @@ function applyHomography(dest, src, Xi) { }) return dest } -},{"gl-matrix-invert":1105,"ndarray-warp":1114}],1116:[function(require,module,exports){ +},{"gl-matrix-invert":1101,"ndarray-warp":1110}],1112:[function(require,module,exports){ "use strict" var compile = require("cwise-compiler") @@ -96488,21 +96481,21 @@ exports.equals = compile({ -},{"cwise-compiler":1117}],1117:[function(require,module,exports){ +},{"cwise-compiler":1113}],1113:[function(require,module,exports){ arguments[4][73][0].apply(exports,arguments) -},{"./lib/thunk.js":1119,"dup":73}],1118:[function(require,module,exports){ +},{"./lib/thunk.js":1115,"dup":73}],1114:[function(require,module,exports){ arguments[4][74][0].apply(exports,arguments) -},{"dup":74,"uniq":1120}],1119:[function(require,module,exports){ +},{"dup":74,"uniq":1116}],1115:[function(require,module,exports){ arguments[4][75][0].apply(exports,arguments) -},{"./compile.js":1118,"dup":75}],1120:[function(require,module,exports){ +},{"./compile.js":1114,"dup":75}],1116:[function(require,module,exports){ arguments[4][76][0].apply(exports,arguments) -},{"dup":76}],1121:[function(require,module,exports){ +},{"dup":76}],1117:[function(require,module,exports){ arguments[4][77][0].apply(exports,arguments) -},{"dup":77,"iota-array":1122,"is-buffer":1123}],1122:[function(require,module,exports){ +},{"dup":77,"iota-array":1118,"is-buffer":1119}],1118:[function(require,module,exports){ arguments[4][78][0].apply(exports,arguments) -},{"dup":78}],1123:[function(require,module,exports){ +},{"dup":78}],1119:[function(require,module,exports){ arguments[4][39][0].apply(exports,arguments) -},{"dup":39}],1124:[function(require,module,exports){ +},{"dup":39}],1120:[function(require,module,exports){ (function (global){ module.exports = global.performance && @@ -96513,17 +96506,17 @@ module.exports = } }).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {}) -},{}],1125:[function(require,module,exports){ -arguments[4][153][0].apply(exports,arguments) -},{"dup":153}],1126:[function(require,module,exports){ -arguments[4][154][0].apply(exports,arguments) -},{"dup":154,"two-product":1129,"two-sum":1125}],1127:[function(require,module,exports){ -arguments[4][336][0].apply(exports,arguments) -},{"dup":336}],1128:[function(require,module,exports){ -arguments[4][155][0].apply(exports,arguments) -},{"dup":155}],1129:[function(require,module,exports){ -arguments[4][156][0].apply(exports,arguments) -},{"dup":156}],1130:[function(require,module,exports){ +},{}],1121:[function(require,module,exports){ +arguments[4][149][0].apply(exports,arguments) +},{"dup":149}],1122:[function(require,module,exports){ +arguments[4][150][0].apply(exports,arguments) +},{"dup":150,"two-product":1125,"two-sum":1121}],1123:[function(require,module,exports){ +arguments[4][332][0].apply(exports,arguments) +},{"dup":332}],1124:[function(require,module,exports){ +arguments[4][151][0].apply(exports,arguments) +},{"dup":151}],1125:[function(require,module,exports){ +arguments[4][152][0].apply(exports,arguments) +},{"dup":152}],1126:[function(require,module,exports){ "use strict" var twoProduct = require("two-product") @@ -96714,7 +96707,7 @@ function generateOrientationProc() { } generateOrientationProc() -},{"robust-scale":1126,"robust-subtract":1127,"robust-sum":1128,"two-product":1129}],1131:[function(require,module,exports){ +},{"robust-scale":1122,"robust-subtract":1123,"robust-sum":1124,"two-product":1125}],1127:[function(require,module,exports){ 'use strict' module.exports = toSuperScript @@ -96769,7 +96762,7 @@ function toSuperScript(x) { }).join('') } -},{}],1132:[function(require,module,exports){ +},{}],1128:[function(require,module,exports){ // TinyColor v1.4.1 // https://github.com/bgrins/TinyColor // Brian Grinstead, MIT License @@ -97966,7 +97959,7 @@ else { })(Math); -},{}],1133:[function(require,module,exports){ +},{}],1129:[function(require,module,exports){ // https://github.com/topojson/topojson-client Version 2.1.0. Copyright 2016 Mike Bostock. (function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) : @@ -98486,14 +98479,14 @@ Object.defineProperty(exports, '__esModule', { value: true }); }))); -},{}],1134:[function(require,module,exports){ +},{}],1130:[function(require,module,exports){ var getContext = require('get-canvas-context') module.exports = function getWebGLContext (opt) { return getContext('webgl', opt) } -},{"get-canvas-context":1135}],1135:[function(require,module,exports){ +},{"get-canvas-context":1131}],1131:[function(require,module,exports){ module.exports = getCanvasContext function getCanvasContext (type, opts) { if (typeof type !== 'string') { @@ -98533,7 +98526,7 @@ function getCanvasContext (type, opts) { return (gl || null) // ensure null on fail } -},{}],1136:[function(require,module,exports){ +},{}],1132:[function(require,module,exports){ /* * World Calendars * https://github.com/alexcjohnson/world-calendars @@ -99266,7 +99259,7 @@ function toSolar(yearOrDate, monthOrResult, day, isIntercalaryOrResult, result) } -},{"../main":1150,"object-assign":1152}],1137:[function(require,module,exports){ +},{"../main":1146,"object-assign":1148}],1133:[function(require,module,exports){ /* * World Calendars * https://github.com/alexcjohnson/world-calendars @@ -99450,7 +99443,7 @@ assign(CopticCalendar.prototype, { main.calendars.coptic = CopticCalendar; -},{"../main":1150,"object-assign":1152}],1138:[function(require,module,exports){ +},{"../main":1146,"object-assign":1148}],1134:[function(require,module,exports){ /* * World Calendars * https://github.com/alexcjohnson/world-calendars @@ -99678,7 +99671,7 @@ var centuries = { main.calendars.discworld = DiscworldCalendar; -},{"../main":1150,"object-assign":1152}],1139:[function(require,module,exports){ +},{"../main":1146,"object-assign":1148}],1135:[function(require,module,exports){ /* * World Calendars * https://github.com/alexcjohnson/world-calendars @@ -99862,7 +99855,7 @@ assign(EthiopianCalendar.prototype, { main.calendars.ethiopian = EthiopianCalendar; -},{"../main":1150,"object-assign":1152}],1140:[function(require,module,exports){ +},{"../main":1146,"object-assign":1148}],1136:[function(require,module,exports){ /* * World Calendars * https://github.com/alexcjohnson/world-calendars @@ -100136,7 +100129,7 @@ function mod(a, b) { main.calendars.hebrew = HebrewCalendar; -},{"../main":1150,"object-assign":1152}],1141:[function(require,module,exports){ +},{"../main":1146,"object-assign":1148}],1137:[function(require,module,exports){ /* * World Calendars * https://github.com/alexcjohnson/world-calendars @@ -100317,7 +100310,7 @@ assign(IslamicCalendar.prototype, { main.calendars.islamic = IslamicCalendar; -},{"../main":1150,"object-assign":1152}],1142:[function(require,module,exports){ +},{"../main":1146,"object-assign":1148}],1138:[function(require,module,exports){ /* * World Calendars * https://github.com/alexcjohnson/world-calendars @@ -100500,7 +100493,7 @@ assign(JulianCalendar.prototype, { main.calendars.julian = JulianCalendar; -},{"../main":1150,"object-assign":1152}],1143:[function(require,module,exports){ +},{"../main":1146,"object-assign":1148}],1139:[function(require,module,exports){ /* * World Calendars * https://github.com/alexcjohnson/world-calendars @@ -100795,7 +100788,7 @@ function amod(a, b) { main.calendars.mayan = MayanCalendar; -},{"../main":1150,"object-assign":1152}],1144:[function(require,module,exports){ +},{"../main":1146,"object-assign":1148}],1140:[function(require,module,exports){ /* * World Calendars * https://github.com/alexcjohnson/world-calendars @@ -100975,7 +100968,7 @@ assign(NanakshahiCalendar.prototype, { main.calendars.nanakshahi = NanakshahiCalendar; -},{"../main":1150,"object-assign":1152}],1145:[function(require,module,exports){ +},{"../main":1146,"object-assign":1148}],1141:[function(require,module,exports){ /* * World Calendars * https://github.com/alexcjohnson/world-calendars @@ -101398,7 +101391,7 @@ assign(NepaliCalendar.prototype, { main.calendars.nepali = NepaliCalendar; -},{"../main":1150,"object-assign":1152}],1146:[function(require,module,exports){ +},{"../main":1146,"object-assign":1148}],1142:[function(require,module,exports){ /* * World Calendars * https://github.com/alexcjohnson/world-calendars @@ -101588,7 +101581,7 @@ main.calendars.persian = PersianCalendar; main.calendars.jalali = PersianCalendar; -},{"../main":1150,"object-assign":1152}],1147:[function(require,module,exports){ +},{"../main":1146,"object-assign":1148}],1143:[function(require,module,exports){ /* * World Calendars * https://github.com/alexcjohnson/world-calendars @@ -101774,7 +101767,7 @@ assign(TaiwanCalendar.prototype, { main.calendars.taiwan = TaiwanCalendar; -},{"../main":1150,"object-assign":1152}],1148:[function(require,module,exports){ +},{"../main":1146,"object-assign":1148}],1144:[function(require,module,exports){ /* * World Calendars * https://github.com/alexcjohnson/world-calendars @@ -101960,7 +101953,7 @@ assign(ThaiCalendar.prototype, { main.calendars.thai = ThaiCalendar; -},{"../main":1150,"object-assign":1152}],1149:[function(require,module,exports){ +},{"../main":1146,"object-assign":1148}],1145:[function(require,module,exports){ /* * World Calendars * https://github.com/alexcjohnson/world-calendars @@ -102325,7 +102318,7 @@ var ummalqura_dat = [ 79990]; -},{"../main":1150,"object-assign":1152}],1150:[function(require,module,exports){ +},{"../main":1146,"object-assign":1148}],1146:[function(require,module,exports){ /* * World Calendars * https://github.com/alexcjohnson/world-calendars @@ -103230,7 +103223,7 @@ _exports.baseCalendar = BaseCalendar; _exports.calendars.gregorian = GregorianCalendar; -},{"object-assign":1152}],1151:[function(require,module,exports){ +},{"object-assign":1148}],1147:[function(require,module,exports){ /* * World Calendars * https://github.com/alexcjohnson/world-calendars @@ -103732,7 +103725,7 @@ assign(main.baseCalendar.prototype, { }); -},{"./main":1150,"object-assign":1152}],1152:[function(require,module,exports){ +},{"./main":1146,"object-assign":1148}],1148:[function(require,module,exports){ 'use strict'; /* eslint-disable no-unused-vars */ var hasOwnProperty = Object.prototype.hasOwnProperty; @@ -103817,7 +103810,7 @@ module.exports = shouldUseNative() ? Object.assign : function (target, source) { return to; }; -},{}],1153:[function(require,module,exports){ +},{}],1149:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -103914,7 +103907,7 @@ module.exports = function handleAnnotationDefaults(annIn, annOut, fullLayout, op return annOut; }; -},{"../../lib":1264,"../../plots/cartesian/axes":1296,"../color":1164,"./attributes":1155}],1154:[function(require,module,exports){ +},{"../../lib":1260,"../../plots/cartesian/axes":1292,"../color":1160,"./attributes":1151}],1150:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -103976,7 +103969,7 @@ module.exports = [ } ]; -},{}],1155:[function(require,module,exports){ +},{}],1151:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -104290,7 +104283,7 @@ module.exports = { } }; -},{"../../lib/extend":1257,"../../plots/cartesian/constants":1301,"../../plots/font_attributes":1316,"./arrow_paths":1154}],1156:[function(require,module,exports){ +},{"../../lib/extend":1253,"../../plots/cartesian/constants":1297,"../../plots/font_attributes":1312,"./arrow_paths":1150}],1152:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -104377,7 +104370,7 @@ function annAutorange(gd) { }); } -},{"../../lib":1264,"../../plots/cartesian/axes":1296,"./draw":1158}],1157:[function(require,module,exports){ +},{"../../lib":1260,"../../plots/cartesian/axes":1292,"./draw":1154}],1153:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -104402,7 +104395,7 @@ module.exports = function supplyLayoutDefaults(layoutIn, layoutOut) { handleArrayContainerDefaults(layoutIn, layoutOut, opts); }; -},{"../../plots/array_container_defaults":1293,"./annotation_defaults":1153}],1158:[function(require,module,exports){ +},{"../../plots/array_container_defaults":1289,"./annotation_defaults":1149}],1154:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -105162,7 +105155,7 @@ function lineIntersect(x1, y1, x2, y2, x3, y3, x4, y4) { return {x: x1 + a * t, y: y1 + d * t}; } -},{"../../lib":1264,"../../lib/setcursor":1275,"../../lib/svg_text_utils":1279,"../../plotly":1291,"../../plots/cartesian/axes":1296,"../../plots/plots":1356,"../color":1164,"../dragelement":1185,"../drawing":1187,"./annotation_defaults":1153,"./defaults":1157,"./draw_arrow_head":1159,"d3":176,"fast-isnumeric":184}],1159:[function(require,module,exports){ +},{"../../lib":1260,"../../lib/setcursor":1271,"../../lib/svg_text_utils":1275,"../../plotly":1287,"../../plots/cartesian/axes":1292,"../../plots/plots":1352,"../color":1160,"../dragelement":1181,"../drawing":1183,"./annotation_defaults":1149,"./defaults":1153,"./draw_arrow_head":1155,"d3":172,"fast-isnumeric":180}],1155:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -105281,7 +105274,7 @@ module.exports = function drawArrowHead(el3, style, ends, mag) { if(doEnd) drawhead(end, endRot); }; -},{"../color":1164,"../drawing":1187,"./arrow_paths":1154,"d3":176,"fast-isnumeric":184}],1160:[function(require,module,exports){ +},{"../color":1160,"../drawing":1183,"./arrow_paths":1150,"d3":172,"fast-isnumeric":180}],1156:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -105307,7 +105300,7 @@ module.exports = { drawOne: drawModule.drawOne }; -},{"./attributes":1155,"./calc_autorange":1156,"./defaults":1157,"./draw":1158}],1161:[function(require,module,exports){ +},{"./attributes":1151,"./calc_autorange":1152,"./defaults":1153,"./draw":1154}],1157:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -105340,7 +105333,7 @@ require('world-calendars/dist/calendars/taiwan'); require('world-calendars/dist/calendars/thai'); require('world-calendars/dist/calendars/ummalqura'); -},{"world-calendars/dist/calendars/chinese":1136,"world-calendars/dist/calendars/coptic":1137,"world-calendars/dist/calendars/discworld":1138,"world-calendars/dist/calendars/ethiopian":1139,"world-calendars/dist/calendars/hebrew":1140,"world-calendars/dist/calendars/islamic":1141,"world-calendars/dist/calendars/julian":1142,"world-calendars/dist/calendars/mayan":1143,"world-calendars/dist/calendars/nanakshahi":1144,"world-calendars/dist/calendars/nepali":1145,"world-calendars/dist/calendars/persian":1146,"world-calendars/dist/calendars/taiwan":1147,"world-calendars/dist/calendars/thai":1148,"world-calendars/dist/calendars/ummalqura":1149,"world-calendars/dist/main":1150,"world-calendars/dist/plus":1151}],1162:[function(require,module,exports){ +},{"world-calendars/dist/calendars/chinese":1132,"world-calendars/dist/calendars/coptic":1133,"world-calendars/dist/calendars/discworld":1134,"world-calendars/dist/calendars/ethiopian":1135,"world-calendars/dist/calendars/hebrew":1136,"world-calendars/dist/calendars/islamic":1137,"world-calendars/dist/calendars/julian":1138,"world-calendars/dist/calendars/mayan":1139,"world-calendars/dist/calendars/nanakshahi":1140,"world-calendars/dist/calendars/nepali":1141,"world-calendars/dist/calendars/persian":1142,"world-calendars/dist/calendars/taiwan":1143,"world-calendars/dist/calendars/thai":1144,"world-calendars/dist/calendars/ummalqura":1145,"world-calendars/dist/main":1146,"world-calendars/dist/plus":1147}],1158:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -105599,7 +105592,7 @@ module.exports = { worldCalFmt: worldCalFmt }; -},{"../../constants/numerical":1247,"../../lib":1264,"./calendars":1161}],1163:[function(require,module,exports){ +},{"../../constants/numerical":1243,"../../lib":1260,"./calendars":1157}],1159:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -105639,7 +105632,7 @@ exports.borderLine = '#BEC8D9'; // gives back exactly lightLine if the other colors are defaults. exports.lightFraction = 100 * (0xe - 0x4) / (0xf - 0x4); -},{}],1164:[function(require,module,exports){ +},{}],1160:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -105796,7 +105789,7 @@ function cleanOne(val) { return 'rgb(' + rgbStr + ')'; } -},{"./attributes":1163,"fast-isnumeric":184,"tinycolor2":1132}],1165:[function(require,module,exports){ +},{"./attributes":1159,"fast-isnumeric":180,"tinycolor2":1128}],1161:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -105992,7 +105985,7 @@ module.exports = { } }; -},{"../../lib/extend":1257,"../../plots/cartesian/layout_attributes":1305,"../../plots/font_attributes":1316}],1166:[function(require,module,exports){ +},{"../../lib/extend":1253,"../../plots/cartesian/layout_attributes":1301,"../../plots/font_attributes":1312}],1162:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -106059,7 +106052,7 @@ module.exports = function colorbarDefaults(containerIn, containerOut, layout) { coerce('titleside'); }; -},{"../../lib":1264,"../../plots/cartesian/tick_label_defaults":1311,"../../plots/cartesian/tick_mark_defaults":1312,"../../plots/cartesian/tick_value_defaults":1313,"./attributes":1165}],1167:[function(require,module,exports){ +},{"../../lib":1260,"../../plots/cartesian/tick_label_defaults":1307,"../../plots/cartesian/tick_mark_defaults":1308,"../../plots/cartesian/tick_value_defaults":1309,"./attributes":1161}],1163:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -106692,7 +106685,7 @@ module.exports = function draw(gd, id) { return component; }; -},{"../../lib":1264,"../../lib/extend":1257,"../../lib/setcursor":1275,"../../plotly":1291,"../../plots/cartesian/axes":1296,"../../plots/cartesian/axis_defaults":1298,"../../plots/cartesian/layout_attributes":1305,"../../plots/cartesian/position_defaults":1308,"../../plots/plots":1356,"../../registry":1371,"../color":1164,"../dragelement":1185,"../drawing":1187,"../titles":1238,"./attributes":1165,"d3":176,"tinycolor2":1132}],1168:[function(require,module,exports){ +},{"../../lib":1260,"../../lib/extend":1253,"../../lib/setcursor":1271,"../../plotly":1287,"../../plots/cartesian/axes":1292,"../../plots/cartesian/axis_defaults":1294,"../../plots/cartesian/layout_attributes":1301,"../../plots/cartesian/position_defaults":1304,"../../plots/plots":1352,"../../registry":1367,"../color":1160,"../dragelement":1181,"../drawing":1183,"../titles":1234,"./attributes":1161,"d3":172,"tinycolor2":1128}],1164:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -106711,7 +106704,7 @@ module.exports = function hasColorbar(container) { return Lib.isPlainObject(container.colorbar); }; -},{"../../lib":1264}],1169:[function(require,module,exports){ +},{"../../lib":1260}],1165:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -106784,7 +106777,7 @@ module.exports = { } }; -},{}],1170:[function(require,module,exports){ +},{}],1166:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -106850,7 +106843,7 @@ module.exports = function calc(trace, vals, containerStr, cLetter) { } }; -},{"../../lib":1264,"./flip_scale":1175,"./scales":1182}],1171:[function(require,module,exports){ +},{"../../lib":1260,"./flip_scale":1171,"./scales":1178}],1167:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -106940,7 +106933,7 @@ module.exports = function makeColorScaleAttributes(context) { }; }; -},{"../../lib/extend":1257,"./attributes":1169,"./scales.js":1182}],1172:[function(require,module,exports){ +},{"../../lib/extend":1253,"./attributes":1165,"./scales.js":1178}],1168:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -106956,7 +106949,7 @@ var scales = require('./scales'); module.exports = scales.RdBu; -},{"./scales":1182}],1173:[function(require,module,exports){ +},{"./scales":1178}],1169:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -107020,7 +107013,7 @@ module.exports = function colorScaleDefaults(traceIn, traceOut, layout, coerce, if(showScale) colorbarDefaults(containerIn, containerOut, layout); }; -},{"../../lib":1264,"../colorbar/defaults":1166,"../colorbar/has_colorbar":1168,"./flip_scale":1175,"./is_valid_scale":1179,"fast-isnumeric":184}],1174:[function(require,module,exports){ +},{"../../lib":1260,"../colorbar/defaults":1162,"../colorbar/has_colorbar":1164,"./flip_scale":1171,"./is_valid_scale":1175,"fast-isnumeric":180}],1170:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -107057,7 +107050,7 @@ module.exports = function extractScale(scl, cmin, cmax) { }; }; -},{}],1175:[function(require,module,exports){ +},{}],1171:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -107082,7 +107075,7 @@ module.exports = function flipScale(scl) { return sclNew; }; -},{}],1176:[function(require,module,exports){ +},{}],1172:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -107122,7 +107115,7 @@ module.exports = function getScale(scl, dflt) { return scl; }; -},{"./default_scale":1172,"./is_valid_scale_array":1180,"./scales":1182}],1177:[function(require,module,exports){ +},{"./default_scale":1168,"./is_valid_scale_array":1176,"./scales":1178}],1173:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -107168,7 +107161,7 @@ module.exports = function hasColorscale(trace, containerStr) { ); }; -},{"../../lib":1264,"./is_valid_scale":1179,"fast-isnumeric":184}],1178:[function(require,module,exports){ +},{"../../lib":1260,"./is_valid_scale":1175,"fast-isnumeric":180}],1174:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -107202,7 +107195,7 @@ exports.extractScale = require('./extract_scale'); exports.makeColorScaleFunc = require('./make_color_scale_func'); -},{"./attributes":1169,"./calc":1170,"./default_scale":1172,"./defaults":1173,"./extract_scale":1174,"./flip_scale":1175,"./get_scale":1176,"./has_colorscale":1177,"./is_valid_scale":1179,"./make_color_scale_func":1181,"./scales":1182}],1179:[function(require,module,exports){ +},{"./attributes":1165,"./calc":1166,"./default_scale":1168,"./defaults":1169,"./extract_scale":1170,"./flip_scale":1171,"./get_scale":1172,"./has_colorscale":1173,"./is_valid_scale":1175,"./make_color_scale_func":1177,"./scales":1178}],1175:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -107223,7 +107216,7 @@ module.exports = function isValidScale(scl) { else return isValidScaleArray(scl); }; -},{"./is_valid_scale_array":1180,"./scales":1182}],1180:[function(require,module,exports){ +},{"./is_valid_scale_array":1176,"./scales":1178}],1176:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -107260,7 +107253,7 @@ module.exports = function isValidScaleArray(scl) { return true; }; -},{"tinycolor2":1132}],1181:[function(require,module,exports){ +},{"tinycolor2":1128}],1177:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -107356,7 +107349,7 @@ function colorArray2rbga(colorArray) { return tinycolor(colorObj).toRgbString(); } -},{"../color":1164,"d3":176,"fast-isnumeric":184,"tinycolor2":1132}],1182:[function(require,module,exports){ +},{"../color":1160,"d3":172,"fast-isnumeric":180,"tinycolor2":1128}],1178:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -107487,7 +107480,7 @@ module.exports = { ] }; -},{}],1183:[function(require,module,exports){ +},{}],1179:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -107520,7 +107513,7 @@ module.exports = function align(v, dv, v0, v1, anchor) { return vc; }; -},{}],1184:[function(require,module,exports){ +},{}],1180:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -107558,7 +107551,7 @@ module.exports = function getCursor(x, y, xanchor, yanchor) { return cursorset[y][x]; }; -},{"../../lib":1264}],1185:[function(require,module,exports){ +},{"../../lib":1260}],1181:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -107745,7 +107738,7 @@ function finishDrag(gd) { if(gd._replotPending) Plotly.plot(gd); } -},{"../../lib":1264,"../../plotly":1291,"../../plots/cartesian/constants":1301,"./align":1183,"./cursor":1184,"./unhover":1186}],1186:[function(require,module,exports){ +},{"../../lib":1260,"../../plotly":1287,"../../plots/cartesian/constants":1297,"./align":1179,"./cursor":1180,"./unhover":1182}],1182:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -107796,7 +107789,7 @@ unhover.raw = function unhoverRaw(gd, evt) { gd._hoverdata = undefined; }; -},{"../../lib/events":1256}],1187:[function(require,module,exports){ +},{"../../lib/events":1252}],1183:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -108375,7 +108368,7 @@ drawing.setClipUrl = function(s, localId) { s.attr('clip-path', 'url(' + url + ')'); }; -},{"../../constants/xmlns_namespaces":1249,"../../lib":1264,"../../lib/svg_text_utils":1279,"../../registry":1371,"../../traces/scatter/make_bubble_size_func":1503,"../../traces/scatter/subtypes":1508,"../color":1164,"../colorscale":1178,"./symbol_defs":1188,"d3":176,"fast-isnumeric":184}],1188:[function(require,module,exports){ +},{"../../constants/xmlns_namespaces":1245,"../../lib":1260,"../../lib/svg_text_utils":1275,"../../registry":1367,"../../traces/scatter/make_bubble_size_func":1499,"../../traces/scatter/subtypes":1504,"../color":1160,"../colorscale":1174,"./symbol_defs":1184,"d3":172,"fast-isnumeric":180}],1184:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -108851,7 +108844,7 @@ module.exports = { } }; -},{"d3":176}],1189:[function(require,module,exports){ +},{"d3":172}],1185:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -108993,7 +108986,7 @@ module.exports = { } }; -},{}],1190:[function(require,module,exports){ +},{}],1186:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -109056,7 +109049,7 @@ function calcOneAxis(calcTrace, trace, axis, coord) { Axes.expand(axis, vals, {padded: true}); } -},{"../../plots/cartesian/axes":1296,"../../registry":1371,"./compute_error":1191,"fast-isnumeric":184}],1191:[function(require,module,exports){ +},{"../../plots/cartesian/axes":1292,"../../registry":1367,"./compute_error":1187,"fast-isnumeric":180}],1187:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -109152,7 +109145,7 @@ function makeComputeErrorValue(type, value) { } } -},{}],1192:[function(require,module,exports){ +},{}],1188:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -109229,7 +109222,7 @@ module.exports = function(traceIn, traceOut, defaultColor, opts) { } }; -},{"../../lib":1264,"../../registry":1371,"./attributes":1189,"fast-isnumeric":184}],1193:[function(require,module,exports){ +},{"../../lib":1260,"../../registry":1367,"./attributes":1185,"fast-isnumeric":180}],1189:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -109288,7 +109281,7 @@ errorBars.hoverInfo = function(calcPoint, trace, hoverPoint) { } }; -},{"./attributes":1189,"./calc":1190,"./defaults":1192,"./plot":1194,"./style":1195}],1194:[function(require,module,exports){ +},{"./attributes":1185,"./calc":1186,"./defaults":1188,"./plot":1190,"./style":1191}],1190:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -109452,7 +109445,7 @@ function errorCoords(d, xa, ya) { return out; } -},{"../../traces/scatter/subtypes":1508,"d3":176,"fast-isnumeric":184}],1195:[function(require,module,exports){ +},{"../../traces/scatter/subtypes":1504,"d3":172,"fast-isnumeric":180}],1191:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -109489,7 +109482,7 @@ module.exports = function style(traces) { }); }; -},{"../color":1164,"d3":176}],1196:[function(require,module,exports){ +},{"../color":1160,"d3":172}],1192:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -109658,7 +109651,7 @@ module.exports = { } }; -},{"../../plots/cartesian/constants":1301}],1197:[function(require,module,exports){ +},{"../../plots/cartesian/constants":1297}],1193:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -109718,7 +109711,7 @@ function imageDefaults(imageIn, imageOut, fullLayout) { return imageOut; } -},{"../../lib":1264,"../../plots/array_container_defaults":1293,"../../plots/cartesian/axes":1296,"./attributes":1196}],1198:[function(require,module,exports){ +},{"../../lib":1260,"../../plots/array_container_defaults":1289,"../../plots/cartesian/axes":1292,"./attributes":1192}],1194:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -109898,7 +109891,7 @@ module.exports = function draw(gd) { }); }; -},{"../../constants/xmlns_namespaces":1249,"../../plots/cartesian/axes":1296,"../drawing":1187,"d3":176}],1199:[function(require,module,exports){ +},{"../../constants/xmlns_namespaces":1245,"../../plots/cartesian/axes":1292,"../drawing":1183,"d3":172}],1195:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -109919,7 +109912,7 @@ module.exports = { draw: require('./draw') }; -},{"./attributes":1196,"./defaults":1197,"./draw":1198}],1200:[function(require,module,exports){ +},{"./attributes":1192,"./defaults":1193,"./draw":1194}],1196:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -109968,7 +109961,7 @@ exports.isMiddleAnchor = function isMiddleAnchor(opts) { ); }; -},{}],1201:[function(require,module,exports){ +},{}],1197:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -110083,7 +110076,7 @@ module.exports = { } }; -},{"../../lib/extend":1257,"../../plots/font_attributes":1316,"../color/attributes":1163}],1202:[function(require,module,exports){ +},{"../../lib/extend":1253,"../../plots/font_attributes":1312,"../color/attributes":1159}],1198:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -110101,7 +110094,7 @@ module.exports = { scrollBarMargin: 4 }; -},{}],1203:[function(require,module,exports){ +},{}],1199:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -110194,7 +110187,7 @@ module.exports = function legendDefaults(layoutIn, layoutOut, fullData) { Lib.noneOrAll(containerIn, containerOut, ['x', 'y']); }; -},{"../../lib":1264,"../../plots/layout_attributes":1347,"../../registry":1371,"./attributes":1201,"./helpers":1206}],1204:[function(require,module,exports){ +},{"../../lib":1260,"../../plots/layout_attributes":1343,"../../registry":1367,"./attributes":1197,"./helpers":1202}],1200:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -110910,7 +110903,7 @@ function expandHorizontalMargin(gd) { }); } -},{"../../lib":1264,"../../lib/svg_text_utils":1279,"../../plotly":1291,"../../plots/plots":1356,"../../registry":1371,"../color":1164,"../dragelement":1185,"../drawing":1187,"./anchor_utils":1200,"./constants":1202,"./get_legend_data":1205,"./helpers":1206,"./style":1208,"d3":176}],1205:[function(require,module,exports){ +},{"../../lib":1260,"../../lib/svg_text_utils":1275,"../../plotly":1287,"../../plots/plots":1352,"../../registry":1367,"../color":1160,"../dragelement":1181,"../drawing":1183,"./anchor_utils":1196,"./constants":1198,"./get_legend_data":1201,"./helpers":1202,"./style":1204,"d3":172}],1201:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -111015,7 +111008,7 @@ module.exports = function getLegendData(calcdata, opts) { return legendData; }; -},{"../../registry":1371,"./helpers":1206}],1206:[function(require,module,exports){ +},{"../../registry":1367,"./helpers":1202}],1202:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -111046,7 +111039,7 @@ exports.isReversed = function isReversed(legendLayout) { return (legendLayout.traceorder || '').indexOf('reversed') !== -1; }; -},{"../../registry":1371}],1207:[function(require,module,exports){ +},{"../../registry":1367}],1203:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -111070,7 +111063,7 @@ module.exports = { style: require('./style') }; -},{"./attributes":1201,"./defaults":1203,"./draw":1204,"./style":1208}],1208:[function(require,module,exports){ +},{"./attributes":1197,"./defaults":1199,"./draw":1200,"./style":1204}],1204:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -111292,7 +111285,7 @@ function stylePies(d) { if(pts.size()) pts.call(stylePie, d[0], trace); } -},{"../../lib":1264,"../../registry":1371,"../../traces/pie/style_one":1482,"../../traces/scatter/subtypes":1508,"../color":1164,"../drawing":1187,"d3":176}],1209:[function(require,module,exports){ +},{"../../lib":1260,"../../registry":1367,"../../traces/pie/style_one":1478,"../../traces/scatter/subtypes":1504,"../color":1160,"../drawing":1183,"d3":172}],1205:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -111811,7 +111804,7 @@ modeBarButtons.resetViews = { } }; -},{"../../../build/ploticon":94,"../../lib":1264,"../../plotly":1291,"../../plots/cartesian/axes":1296,"../../plots/plots":1356,"../../snapshot/download":1373}],1210:[function(require,module,exports){ +},{"../../../build/ploticon":90,"../../lib":1260,"../../plotly":1287,"../../plots/cartesian/axes":1292,"../../plots/plots":1352,"../../snapshot/download":1369}],1206:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -111825,7 +111818,7 @@ modeBarButtons.resetViews = { exports.manage = require('./manage'); -},{"./manage":1211}],1211:[function(require,module,exports){ +},{"./manage":1207}],1207:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -112053,7 +112046,7 @@ function fillCustomButton(customButtons) { return customButtons; } -},{"../../plots/cartesian/axes":1296,"../../traces/scatter/subtypes":1508,"./buttons":1209,"./modebar":1212}],1212:[function(require,module,exports){ +},{"../../plots/cartesian/axes":1292,"../../traces/scatter/subtypes":1504,"./buttons":1205,"./modebar":1208}],1208:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -112343,7 +112336,7 @@ function createModeBar(gd, buttons) { module.exports = createModeBar; -},{"../../../build/ploticon":94,"../../lib":1264,"d3":176}],1213:[function(require,module,exports){ +},{"../../../build/ploticon":90,"../../lib":1260,"d3":172}],1209:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -112448,7 +112441,7 @@ module.exports = { } }; -},{"../../lib/extend":1257,"../../plots/font_attributes":1316,"../color/attributes":1163,"./button_attributes":1214}],1214:[function(require,module,exports){ +},{"../../lib/extend":1253,"../../plots/font_attributes":1312,"../color/attributes":1159,"./button_attributes":1210}],1210:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -112506,7 +112499,7 @@ module.exports = { } }; -},{}],1215:[function(require,module,exports){ +},{}],1211:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -112535,7 +112528,7 @@ module.exports = { darkAmount: 10 }; -},{}],1216:[function(require,module,exports){ +},{}],1212:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -112634,7 +112627,7 @@ function getPosDflt(containerOut, layout, counterAxes) { return [containerOut.domain[0], posY + constants.yPad]; } -},{"../../lib":1264,"../color":1164,"./attributes":1213,"./button_attributes":1214,"./constants":1215}],1217:[function(require,module,exports){ +},{"../../lib":1260,"../color":1160,"./attributes":1209,"./button_attributes":1210,"./constants":1211}],1213:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -112909,7 +112902,7 @@ function reposition(gd, buttons, opts, axName) { }); } -},{"../../lib/svg_text_utils":1279,"../../plotly":1291,"../../plots/cartesian/axis_ids":1299,"../../plots/plots":1356,"../color":1164,"../drawing":1187,"../legend/anchor_utils":1200,"./constants":1215,"./get_update_object":1218,"d3":176}],1218:[function(require,module,exports){ +},{"../../lib/svg_text_utils":1275,"../../plotly":1287,"../../plots/cartesian/axis_ids":1295,"../../plots/plots":1352,"../color":1160,"../drawing":1183,"../legend/anchor_utils":1196,"./constants":1211,"./get_update_object":1214,"d3":172}],1214:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -112966,7 +112959,7 @@ function getXRange(axisLayout, buttonLayout) { return [range0, range1]; } -},{"d3":176}],1219:[function(require,module,exports){ +},{"d3":172}],1215:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -112993,7 +112986,7 @@ module.exports = { draw: require('./draw') }; -},{"./attributes":1213,"./defaults":1216,"./draw":1217}],1220:[function(require,module,exports){ +},{"./attributes":1209,"./defaults":1212,"./draw":1213}],1216:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -113068,7 +113061,7 @@ module.exports = { } }; -},{"../color/attributes":1163}],1221:[function(require,module,exports){ +},{"../color/attributes":1159}],1217:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -113121,7 +113114,7 @@ module.exports = { handleStroke: '#666', }; -},{}],1222:[function(require,module,exports){ +},{}],1218:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -113183,7 +113176,7 @@ module.exports = function handleDefaults(layoutIn, layoutOut, axName, counterAxe containerOut._input = containerIn; }; -},{"../../lib":1264,"./attributes":1220}],1223:[function(require,module,exports){ +},{"../../lib":1260,"./attributes":1216}],1219:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -113710,7 +113703,7 @@ function clearPushMargins(gd) { } } -},{"../../lib":1264,"../../lib/setcursor":1275,"../../plotly":1291,"../../plots/cartesian":1304,"../../plots/cartesian/axes":1296,"../../plots/plots":1356,"../color":1164,"../dragelement":1185,"../drawing":1187,"./constants":1221,"d3":176}],1224:[function(require,module,exports){ +},{"../../lib":1260,"../../lib/setcursor":1271,"../../plotly":1287,"../../plots/cartesian":1300,"../../plots/cartesian/axes":1292,"../../plots/plots":1352,"../color":1160,"../dragelement":1181,"../drawing":1183,"./constants":1217,"d3":172}],1220:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -113737,7 +113730,7 @@ module.exports = { draw: require('./draw') }; -},{"./attributes":1220,"./defaults":1222,"./draw":1223}],1225:[function(require,module,exports){ +},{"./attributes":1216,"./defaults":1218,"./draw":1219}],1221:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -113904,7 +113897,7 @@ module.exports = { } }; -},{"../../lib/extend":1257,"../../traces/scatter/attributes":1488,"../annotations/attributes":1155}],1226:[function(require,module,exports){ +},{"../../lib/extend":1253,"../../traces/scatter/attributes":1484,"../annotations/attributes":1151}],1222:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -113981,7 +113974,7 @@ function shapeBounds(ax, v0, v1, path, paramsToUse) { if(max >= min) return [min, max]; } -},{"../../lib":1264,"../../plots/cartesian/axes":1296,"./constants":1227,"./helpers":1230}],1227:[function(require,module,exports){ +},{"../../lib":1260,"../../plots/cartesian/axes":1292,"./constants":1223,"./helpers":1226}],1223:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -114045,7 +114038,7 @@ module.exports = { } }; -},{}],1228:[function(require,module,exports){ +},{}],1224:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -114070,7 +114063,7 @@ module.exports = function supplyLayoutDefaults(layoutIn, layoutOut) { handleArrayContainerDefaults(layoutIn, layoutOut, opts); }; -},{"../../plots/array_container_defaults":1293,"./shape_defaults":1232}],1229:[function(require,module,exports){ +},{"../../plots/array_container_defaults":1289,"./shape_defaults":1228}],1225:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -114637,7 +114630,7 @@ function movePath(pathIn, moveX, moveY) { }); } -},{"../../lib":1264,"../../lib/setcursor":1275,"../../plotly":1291,"../../plots/cartesian/axes":1296,"../color":1164,"../dragelement":1185,"../drawing":1187,"./constants":1227,"./defaults":1228,"./helpers":1230,"./shape_defaults":1232,"fast-isnumeric":184}],1230:[function(require,module,exports){ +},{"../../lib":1260,"../../lib/setcursor":1271,"../../plotly":1287,"../../plots/cartesian/axes":1292,"../color":1160,"../dragelement":1181,"../drawing":1183,"./constants":1223,"./defaults":1224,"./helpers":1226,"./shape_defaults":1228,"fast-isnumeric":180}],1226:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -114718,7 +114711,7 @@ exports.getPixelToData = function(gd, axis, isVertical) { return pixelToData; }; -},{}],1231:[function(require,module,exports){ +},{}],1227:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -114744,7 +114737,7 @@ module.exports = { drawOne: drawModule.drawOne }; -},{"./attributes":1225,"./calc_autorange":1226,"./defaults":1228,"./draw":1229}],1232:[function(require,module,exports){ +},{"./attributes":1221,"./calc_autorange":1222,"./defaults":1224,"./draw":1225}],1228:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -114843,7 +114836,7 @@ module.exports = function handleShapeDefaults(shapeIn, shapeOut, fullLayout, opt return shapeOut; }; -},{"../../lib":1264,"../../plots/cartesian/axes":1296,"./attributes":1225,"./helpers":1230}],1233:[function(require,module,exports){ +},{"../../lib":1260,"../../plots/cartesian/axes":1292,"./attributes":1221,"./helpers":1226}],1229:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -115117,7 +115110,7 @@ module.exports = { }, }; -},{"../../lib/extend":1257,"../../plots/animation_attributes":1292,"../../plots/font_attributes":1316,"../../plots/pad_attributes":1355,"./constants":1234}],1234:[function(require,module,exports){ +},{"../../lib/extend":1253,"../../plots/animation_attributes":1288,"../../plots/font_attributes":1312,"../../plots/pad_attributes":1351,"./constants":1230}],1230:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -115214,7 +115207,7 @@ module.exports = { currentValueInset: 0, }; -},{}],1235:[function(require,module,exports){ +},{}],1231:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -115327,7 +115320,7 @@ function stepsDefaults(sliderIn, sliderOut) { return valuesOut; } -},{"../../lib":1264,"../../plots/array_container_defaults":1293,"./attributes":1233,"./constants":1234}],1236:[function(require,module,exports){ +},{"../../lib":1260,"../../plots/array_container_defaults":1289,"./attributes":1229,"./constants":1230}],1232:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -115930,7 +115923,7 @@ function clearPushMargins(gd) { } } -},{"../../lib":1264,"../../lib/svg_text_utils":1279,"../../plots/plots":1356,"../color":1164,"../drawing":1187,"../legend/anchor_utils":1200,"./constants":1234,"d3":176}],1237:[function(require,module,exports){ +},{"../../lib":1260,"../../lib/svg_text_utils":1275,"../../plots/plots":1352,"../color":1160,"../drawing":1183,"../legend/anchor_utils":1196,"./constants":1230,"d3":172}],1233:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -115953,7 +115946,7 @@ module.exports = { draw: require('./draw') }; -},{"./attributes":1233,"./constants":1234,"./defaults":1235,"./draw":1236}],1238:[function(require,module,exports){ +},{"./attributes":1229,"./constants":1230,"./defaults":1231,"./draw":1232}],1234:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -116183,7 +116176,7 @@ Titles.draw = function(gd, titleClass, options) { el.classed('js-placeholder', isplaceholder); }; -},{"../../lib":1264,"../../lib/svg_text_utils":1279,"../../plotly":1291,"../../plots/plots":1356,"../color":1164,"../drawing":1187,"d3":176,"fast-isnumeric":184}],1239:[function(require,module,exports){ +},{"../../lib":1260,"../../lib/svg_text_utils":1275,"../../plotly":1287,"../../plots/plots":1352,"../color":1160,"../drawing":1183,"d3":172,"fast-isnumeric":180}],1235:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -116355,7 +116348,7 @@ module.exports = { } }; -},{"../../lib/extend":1257,"../../plots/font_attributes":1316,"../../plots/pad_attributes":1355,"../color/attributes":1163}],1240:[function(require,module,exports){ +},{"../../lib/extend":1253,"../../plots/font_attributes":1312,"../../plots/pad_attributes":1351,"../color/attributes":1159}],1236:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -116431,7 +116424,7 @@ module.exports = { hoverColor: '#F4FAFF' }; -},{}],1241:[function(require,module,exports){ +},{}],1237:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -116525,7 +116518,7 @@ function buttonsDefaults(menuIn, menuOut) { return buttonsOut; } -},{"../../lib":1264,"../../plots/array_container_defaults":1293,"./attributes":1239,"./constants":1240}],1242:[function(require,module,exports){ +},{"../../lib":1260,"../../plots/array_container_defaults":1289,"./attributes":1235,"./constants":1236}],1238:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -117108,9 +117101,9 @@ function clearPushMargins(gd) { } } -},{"../../lib":1264,"../../lib/svg_text_utils":1279,"../../plots/plots":1356,"../color":1164,"../drawing":1187,"../legend/anchor_utils":1200,"./constants":1240,"d3":176}],1243:[function(require,module,exports){ -arguments[4][1237][0].apply(exports,arguments) -},{"./attributes":1239,"./constants":1240,"./defaults":1241,"./draw":1242,"dup":1237}],1244:[function(require,module,exports){ +},{"../../lib":1260,"../../lib/svg_text_utils":1275,"../../plots/plots":1352,"../color":1160,"../drawing":1183,"../legend/anchor_utils":1196,"./constants":1236,"d3":172}],1239:[function(require,module,exports){ +arguments[4][1233][0].apply(exports,arguments) +},{"./attributes":1235,"./constants":1236,"./defaults":1237,"./draw":1238,"dup":1233}],1240:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -117131,7 +117124,7 @@ module.exports = { longdashdot: [8, 1, 1, 1] }; -},{}],1245:[function(require,module,exports){ +},{}],1241:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -117152,7 +117145,7 @@ module.exports = { longdashdot: [[0.5, 0.7, 0.8, 1], 10] }; -},{}],1246:[function(require,module,exports){ +},{}],1242:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -117175,7 +117168,7 @@ module.exports = { x: '❌' }; -},{}],1247:[function(require,module,exports){ +},{}],1243:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -117223,7 +117216,7 @@ module.exports = { EPOCHJD: 2440587.5 }; -},{}],1248:[function(require,module,exports){ +},{}],1244:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -117261,7 +117254,7 @@ module.exports = { }; -},{}],1249:[function(require,module,exports){ +},{}],1245:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -117285,7 +117278,7 @@ exports.svgAttrs = { 'xmlns:xlink': exports.xlink }; -},{}],1250:[function(require,module,exports){ +},{}],1246:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -117364,7 +117357,7 @@ exports.Queue = require('./lib/queue'); // export d3 used in the bundle exports.d3 = require('d3'); -},{"../build/plotcss":93,"../build/ploticon":94,"./components/annotations":1160,"./components/images":1199,"./components/legend":1207,"./components/rangeselector":1219,"./components/rangeslider":1224,"./components/shapes":1231,"./components/sliders":1237,"./components/updatemenus":1243,"./fonts/mathjax_config":1251,"./lib/queue":1273,"./plot_api/plot_schema":1285,"./plot_api/register":1286,"./plot_api/set_plot_config":1287,"./plot_api/to_image":1289,"./plot_api/validate":1290,"./plotly":1291,"./snapshot":1376,"./snapshot/download":1373,"./traces/scatter":1498,"d3":176,"es6-promise":183}],1251:[function(require,module,exports){ +},{"../build/plotcss":89,"../build/ploticon":90,"./components/annotations":1156,"./components/images":1195,"./components/legend":1203,"./components/rangeselector":1215,"./components/rangeslider":1220,"./components/shapes":1227,"./components/sliders":1233,"./components/updatemenus":1239,"./fonts/mathjax_config":1247,"./lib/queue":1269,"./plot_api/plot_schema":1281,"./plot_api/register":1282,"./plot_api/set_plot_config":1283,"./plot_api/to_image":1285,"./plot_api/validate":1286,"./plotly":1287,"./snapshot":1372,"./snapshot/download":1369,"./traces/scatter":1494,"d3":172,"es6-promise":179}],1247:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -117397,7 +117390,7 @@ if(typeof MathJax !== 'undefined') { exports.MathJax = false; } -},{}],1252:[function(require,module,exports){ +},{}],1248:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -117414,7 +117407,7 @@ module.exports = function arrayToCalcItem(traceAttr, calcItem, calcAttr, i) { if(Array.isArray(traceAttr)) calcItem[calcAttr] = traceAttr[i]; }; -},{}],1253:[function(require,module,exports){ +},{}],1249:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -117447,7 +117440,7 @@ module.exports = function cleanNumber(v) { return BADNUM; }; -},{"../constants/numerical":1247,"fast-isnumeric":184}],1254:[function(require,module,exports){ +},{"../constants/numerical":1243,"fast-isnumeric":180}],1250:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -117806,7 +117799,7 @@ exports.validate = function(value, opts) { return out !== failed; }; -},{"../components/colorscale/get_scale":1176,"../components/colorscale/scales":1182,"./nested_property":1270,"fast-isnumeric":184,"tinycolor2":1132}],1255:[function(require,module,exports){ +},{"../components/colorscale/get_scale":1172,"../components/colorscale/scales":1178,"./nested_property":1266,"fast-isnumeric":180,"tinycolor2":1128}],1251:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -118434,7 +118427,7 @@ exports.findExactDates = function(data, calendar) { }; }; -},{"../constants/numerical":1247,"../registry":1371,"./loggers":1267,"./mod":1269,"d3":176,"fast-isnumeric":184}],1256:[function(require,module,exports){ +},{"../constants/numerical":1243,"../registry":1367,"./loggers":1263,"./mod":1265,"d3":172,"fast-isnumeric":180}],1252:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -118600,7 +118593,7 @@ var Events = { module.exports = Events; -},{"events":37}],1257:[function(require,module,exports){ +},{"events":37}],1253:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -118714,7 +118707,7 @@ function _extend(inputs, isDeep, keepAllKeys, noArrayCopies) { return target; } -},{"./is_plain_object.js":1266}],1258:[function(require,module,exports){ +},{"./is_plain_object.js":1262}],1254:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -118765,7 +118758,7 @@ module.exports = function filterUnique(array) { return out; }; -},{}],1259:[function(require,module,exports){ +},{}],1255:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -118796,7 +118789,7 @@ module.exports = function filterVisible(container) { return out; }; -},{}],1260:[function(require,module,exports){ +},{}],1256:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -118858,7 +118851,7 @@ function countryNameToISO3(countryName) { return false; } -},{"../lib":1264,"country-regex":175}],1261:[function(require,module,exports){ +},{"../lib":1260,"country-regex":171}],1257:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -118990,7 +118983,7 @@ exports.makeBlank = function() { }; }; -},{}],1262:[function(require,module,exports){ +},{}],1258:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -119073,7 +119066,7 @@ function formatColor(containerIn, opacityIn, len) { module.exports = formatColor; -},{"../components/color/attributes":1163,"../components/colorscale":1178,"./str2rgbarray":1278,"fast-isnumeric":184,"tinycolor2":1132}],1263:[function(require,module,exports){ +},{"../components/color/attributes":1159,"../components/colorscale":1174,"./str2rgbarray":1274,"fast-isnumeric":180,"tinycolor2":1128}],1259:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -119142,7 +119135,7 @@ function convertHTMLToUnicode(html) { module.exports = convertHTMLToUnicode; -},{"../constants/string_mappings":1248,"superscript-text":1131}],1264:[function(require,module,exports){ +},{"../constants/string_mappings":1244,"superscript-text":1127}],1260:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -119893,7 +119886,7 @@ lib.numSeparate = function(value, separators, separatethousands) { return x1 + x2; }; -},{"./clean_number":1253,"./coerce":1254,"./dates":1255,"./extend":1257,"./filter_unique":1258,"./filter_visible":1259,"./is_array":1265,"./is_plain_object":1266,"./loggers":1267,"./matrix":1268,"./mod":1269,"./nested_property":1270,"./notifier":1271,"./search":1274,"./stats":1277,"d3":176}],1265:[function(require,module,exports){ +},{"./clean_number":1249,"./coerce":1250,"./dates":1251,"./extend":1253,"./filter_unique":1254,"./filter_visible":1255,"./is_array":1261,"./is_plain_object":1262,"./loggers":1263,"./matrix":1264,"./mod":1265,"./nested_property":1266,"./notifier":1267,"./search":1270,"./stats":1273,"d3":172}],1261:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -119911,7 +119904,7 @@ module.exports = function isArray(a) { return Array.isArray(a) || ArrayBuffer.isView(a); }; -},{}],1266:[function(require,module,exports){ +},{}],1262:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -119940,7 +119933,7 @@ module.exports = function isPlainObject(obj) { ); }; -},{}],1267:[function(require,module,exports){ +},{}],1263:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -120007,7 +120000,7 @@ loggers.error = function() { } }; -},{"../plot_api/plot_config":1284}],1268:[function(require,module,exports){ +},{"../plot_api/plot_config":1280}],1264:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -120117,7 +120110,7 @@ exports.apply2DTransform2 = function(transform) { }; }; -},{}],1269:[function(require,module,exports){ +},{}],1265:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -120137,7 +120130,7 @@ module.exports = function mod(v, d) { return out < 0 ? out + d : out; }; -},{}],1270:[function(require,module,exports){ +},{}],1266:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -120394,7 +120387,7 @@ function badContainer(container, propStr, propParts) { }; } -},{"./is_array":1265,"fast-isnumeric":184}],1271:[function(require,module,exports){ +},{"./is_array":1261,"fast-isnumeric":180}],1267:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -120471,7 +120464,7 @@ module.exports = function(text, displayLength) { }); }; -},{"d3":176,"fast-isnumeric":184}],1272:[function(require,module,exports){ +},{"d3":172,"fast-isnumeric":180}],1268:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -120711,7 +120704,7 @@ polygon.filter = function filter(pts, tolerance) { }; }; -},{"./matrix":1268}],1273:[function(require,module,exports){ +},{"./matrix":1264}],1269:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -120922,7 +120915,7 @@ queue.plotDo = function(gd, func, args) { module.exports = queue; -},{"../lib":1264,"../plot_api/plot_config":1284}],1274:[function(require,module,exports){ +},{"../lib":1260,"../plot_api/plot_config":1280}],1270:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -121033,7 +121026,7 @@ exports.roundUp = function(val, arrayIn, reverse) { return arrayIn[low]; }; -},{"./loggers":1267,"fast-isnumeric":184}],1275:[function(require,module,exports){ +},{"./loggers":1263,"fast-isnumeric":180}],1271:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -121056,7 +121049,7 @@ module.exports = function setCursor(el3, csr) { if(csr) el3.classed('cursor-' + csr, true); }; -},{}],1276:[function(require,module,exports){ +},{}],1272:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -121105,7 +121098,7 @@ module.exports = function showWebGlMsg(scene) { return false; }; -},{"../components/color":1164}],1277:[function(require,module,exports){ +},{"../components/color":1160}],1273:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -121201,7 +121194,7 @@ exports.interp = function(arr, n) { return frac * arr[Math.ceil(n)] + (1 - frac) * arr[Math.floor(n)]; }; -},{"fast-isnumeric":184}],1278:[function(require,module,exports){ +},{"fast-isnumeric":180}],1274:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -121223,7 +121216,7 @@ function str2RgbaArray(color) { module.exports = str2RgbaArray; -},{"arraytools":164,"tinycolor2":1132}],1279:[function(require,module,exports){ +},{"arraytools":160,"tinycolor2":1128}],1275:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -121750,7 +121743,7 @@ exports.makeEditable = function(context, _delegate, options) { return d3.rebind(this, dispatch, 'on'); }; -},{"../constants/string_mappings":1248,"../constants/xmlns_namespaces":1249,"../lib":1264,"d3":176}],1280:[function(require,module,exports){ +},{"../constants/string_mappings":1244,"../constants/xmlns_namespaces":1245,"../lib":1260,"d3":172}],1276:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -121786,7 +121779,7 @@ topojsonUtils.getTopojsonFeatures = function(trace, topojson) { return topojsonFeature(topojson, obj).features; }; -},{"../plots/geo/constants":1318,"topojson-client":1133}],1281:[function(require,module,exports){ +},{"../plots/geo/constants":1314,"topojson-client":1129}],1277:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -121820,7 +121813,7 @@ module.exports = function truncate(arrayIn, len) { throw new Error('This array type is not yet supported by `truncate`.'); }; -},{}],1282:[function(require,module,exports){ +},{}],1278:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -122308,7 +122301,7 @@ exports.manageArrayContainers = function(np, newVal, undoit) { } }; -},{"../components/color":1164,"../lib":1264,"../plots/cartesian/axes":1296,"../plots/plots":1356,"../registry":1371,"fast-isnumeric":184,"gl-mat4/fromQuat":235}],1283:[function(require,module,exports){ +},{"../components/color":1160,"../lib":1260,"../plots/cartesian/axes":1292,"../plots/plots":1352,"../registry":1367,"fast-isnumeric":180,"gl-mat4/fromQuat":231}],1279:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -125133,7 +125126,7 @@ function makePlotFramework(gd) { gd.emit('plotly_framework'); } -},{"../components/drawing":1187,"../components/errorbars":1193,"../constants/xmlns_namespaces":1249,"../lib":1264,"../lib/events":1256,"../lib/queue":1273,"../lib/svg_text_utils":1279,"../plotly":1291,"../plots/cartesian/graph_interact":1303,"../plots/plots":1356,"../plots/polar":1359,"../registry":1371,"./helpers":1282,"./subroutines":1288,"d3":176,"fast-isnumeric":184}],1284:[function(require,module,exports){ +},{"../components/drawing":1183,"../components/errorbars":1189,"../constants/xmlns_namespaces":1245,"../lib":1260,"../lib/events":1252,"../lib/queue":1269,"../lib/svg_text_utils":1275,"../plotly":1287,"../plots/cartesian/graph_interact":1299,"../plots/plots":1352,"../plots/polar":1355,"../registry":1367,"./helpers":1278,"./subroutines":1284,"d3":172,"fast-isnumeric":180}],1280:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -125253,7 +125246,7 @@ function defaultSetBackground(gd, bgColor) { } } -},{}],1285:[function(require,module,exports){ +},{}],1281:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -125651,7 +125644,7 @@ function insertAttrs(baseAttrs, newAttrs, astr) { np.set(extendDeep(np.get() || {}, newAttrs)); } -},{"../lib":1264,"../plots/animation_attributes":1292,"../plots/attributes":1294,"../plots/frame_attributes":1317,"../plots/layout_attributes":1347,"../plots/polar/area_attributes":1357,"../plots/polar/axis_attributes":1358,"../registry":1371}],1286:[function(require,module,exports){ +},{"../lib":1260,"../plots/animation_attributes":1288,"../plots/attributes":1290,"../plots/frame_attributes":1313,"../plots/layout_attributes":1343,"../plots/polar/area_attributes":1353,"../plots/polar/axis_attributes":1354,"../registry":1367}],1282:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -125750,7 +125743,7 @@ function registerComponentModule(newModule) { Registry.registerComponent(newModule); } -},{"../lib":1264,"../registry":1371}],1287:[function(require,module,exports){ +},{"../lib":1260,"../registry":1367}],1283:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -125776,7 +125769,7 @@ module.exports = function setPlotConfig(configObj) { return Lib.extendFlat(Plotly.defaultConfig, configObj); }; -},{"../lib":1264,"../plotly":1291}],1288:[function(require,module,exports){ +},{"../lib":1260,"../plotly":1287}],1284:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -126098,7 +126091,7 @@ exports.doModeBar = function(gd) { return Plots.previousPromises(gd); }; -},{"../components/color":1164,"../components/drawing":1187,"../components/modebar":1210,"../components/titles":1238,"../lib":1264,"../plotly":1291,"../plots/plots":1356,"../registry":1371}],1289:[function(require,module,exports){ +},{"../components/color":1160,"../components/drawing":1183,"../components/modebar":1206,"../components/titles":1234,"../lib":1260,"../plotly":1287,"../plots/plots":1352,"../registry":1367}],1285:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -126208,7 +126201,7 @@ function toImage(gd, opts) { module.exports = toImage; -},{"../lib":1264,"../plotly":1291,"../snapshot/cloneplot":1372,"../snapshot/helpers":1375,"../snapshot/svgtoimg":1377,"../snapshot/tosvg":1379,"fast-isnumeric":184}],1290:[function(require,module,exports){ +},{"../lib":1260,"../plotly":1287,"../snapshot/cloneplot":1368,"../snapshot/helpers":1371,"../snapshot/svgtoimg":1373,"../snapshot/tosvg":1375,"fast-isnumeric":180}],1286:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -126578,7 +126571,7 @@ function convertPathToAttributeString(path) { return astr; } -},{"../lib":1264,"../plots/plots":1356,"./plot_schema":1285}],1291:[function(require,module,exports){ +},{"../lib":1260,"../plots/plots":1352,"./plot_schema":1281}],1287:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -126611,7 +126604,7 @@ exports.ModeBar = require('./components/modebar'); // plot api require('./plot_api/plot_api'); -},{"./components/modebar":1210,"./plot_api/plot_api":1283,"./plot_api/plot_config":1284,"./plots/cartesian/axes":1296,"./plots/cartesian/graph_interact":1303,"./plots/plots":1356}],1292:[function(require,module,exports){ +},{"./components/modebar":1206,"./plot_api/plot_api":1279,"./plot_api/plot_config":1280,"./plots/cartesian/axes":1292,"./plots/cartesian/graph_interact":1299,"./plots/plots":1352}],1288:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -126735,7 +126728,7 @@ module.exports = { } }; -},{}],1293:[function(require,module,exports){ +},{}],1289:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -126804,7 +126797,7 @@ module.exports = function handleArrayContainerDefaults(parentObjIn, parentObjOut } }; -},{"../lib":1264}],1294:[function(require,module,exports){ +},{"../lib":1260}],1290:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -126914,7 +126907,7 @@ module.exports = { } }; -},{}],1295:[function(require,module,exports){ +},{}],1291:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -126953,7 +126946,7 @@ module.exports = { } }; -},{}],1296:[function(require,module,exports){ +},{}],1292:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -129155,7 +129148,7 @@ function swapAxisAttrs(layout, key, xFullAxes, yFullAxes) { } } -},{"../../components/color":1164,"../../components/drawing":1187,"../../components/titles":1238,"../../constants/numerical":1247,"../../lib":1264,"../../lib/svg_text_utils":1279,"../../registry":1371,"./axis_ids":1299,"./layout_attributes":1305,"./layout_defaults":1306,"./set_convert":1310,"d3":176,"fast-isnumeric":184}],1297:[function(require,module,exports){ +},{"../../components/color":1160,"../../components/drawing":1183,"../../components/titles":1234,"../../constants/numerical":1243,"../../lib":1260,"../../lib/svg_text_utils":1275,"../../registry":1367,"./axis_ids":1295,"./layout_attributes":1301,"./layout_defaults":1302,"./set_convert":1306,"d3":172,"fast-isnumeric":180}],1293:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -129230,7 +129223,7 @@ function category(a) { return curvecats > curvenums * 2; } -},{"../../constants/numerical":1247,"../../lib":1264,"fast-isnumeric":184}],1298:[function(require,module,exports){ +},{"../../constants/numerical":1243,"../../lib":1260,"fast-isnumeric":180}],1294:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -129463,7 +129456,7 @@ function getFirstNonEmptyTrace(data, id, axLetter) { } } -},{"../../components/color/attributes":1163,"../../lib":1264,"../../registry":1371,"./axis_autotype":1297,"./axis_ids":1299,"./category_order_defaults":1300,"./layout_attributes":1305,"./ordered_categories":1307,"./set_convert":1310,"./tick_label_defaults":1311,"./tick_mark_defaults":1312,"./tick_value_defaults":1313,"fast-isnumeric":184,"tinycolor2":1132}],1299:[function(require,module,exports){ +},{"../../components/color/attributes":1159,"../../lib":1260,"../../registry":1367,"./axis_autotype":1293,"./axis_ids":1295,"./category_order_defaults":1296,"./layout_attributes":1301,"./ordered_categories":1303,"./set_convert":1306,"./tick_label_defaults":1307,"./tick_mark_defaults":1308,"./tick_value_defaults":1309,"fast-isnumeric":180,"tinycolor2":1128}],1295:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -129585,7 +129578,7 @@ exports.getFromTrace = function(gd, fullTrace, type) { return ax; }; -},{"../../lib":1264,"../../registry":1371,"../plots":1356,"./constants":1301}],1300:[function(require,module,exports){ +},{"../../lib":1260,"../../registry":1367,"../plots":1352,"./constants":1297}],1296:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -129619,7 +129612,7 @@ module.exports = function handleCategoryOrderDefaults(containerIn, containerOut, } }; -},{}],1301:[function(require,module,exports){ +},{}],1297:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -129693,7 +129686,7 @@ module.exports = { DFLTRANGEY: [-1, 4] }; -},{}],1302:[function(require,module,exports){ +},{}],1298:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -130458,7 +130451,7 @@ function isSelectOrLasso(dragmode) { return modes.indexOf(dragmode) !== -1; } -},{"../../components/color":1164,"../../components/dragelement":1185,"../../components/drawing":1187,"../../lib":1264,"../../lib/setcursor":1275,"../../lib/svg_text_utils":1279,"../../plotly":1291,"../../registry":1371,"./axes":1296,"./constants":1301,"./select":1309,"d3":176,"tinycolor2":1132}],1303:[function(require,module,exports){ +},{"../../components/color":1160,"../../components/dragelement":1181,"../../components/drawing":1183,"../../lib":1260,"../../lib/setcursor":1271,"../../lib/svg_text_utils":1275,"../../plotly":1287,"../../registry":1367,"./axes":1292,"./constants":1297,"./select":1305,"d3":172,"tinycolor2":1128}],1299:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -131807,7 +131800,7 @@ fx.inbox = function(v0, v1) { return Infinity; }; -},{"../../components/color":1164,"../../components/dragelement":1185,"../../components/drawing":1187,"../../lib":1264,"../../lib/events":1256,"../../lib/svg_text_utils":1279,"../layout_attributes":1347,"./axes":1296,"./constants":1301,"./dragbox":1302,"d3":176,"fast-isnumeric":184,"tinycolor2":1132}],1304:[function(require,module,exports){ +},{"../../components/color":1160,"../../components/dragelement":1181,"../../components/drawing":1183,"../../lib":1260,"../../lib/events":1252,"../../lib/svg_text_utils":1275,"../layout_attributes":1343,"./axes":1292,"./constants":1297,"./dragbox":1298,"d3":172,"fast-isnumeric":180,"tinycolor2":1128}],1300:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -132184,7 +132177,7 @@ function joinLayer(parent, nodeType, className) { return layer; } -},{"../../lib":1264,"../plots":1356,"./attributes":1295,"./axes":1296,"./constants":1301,"./layout_attributes":1305,"./transition_axes":1314,"d3":176}],1305:[function(require,module,exports){ +},{"../../lib":1260,"../plots":1352,"./attributes":1291,"./axes":1292,"./constants":1297,"./layout_attributes":1301,"./transition_axes":1310,"d3":172}],1301:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -132718,7 +132711,7 @@ module.exports = { } }; -},{"../../components/color/attributes":1163,"../../lib/extend":1257,"../font_attributes":1316,"./constants":1301}],1306:[function(require,module,exports){ +},{"../../components/color/attributes":1159,"../../lib/extend":1253,"../font_attributes":1312,"./constants":1297}],1302:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -132894,7 +132887,7 @@ module.exports = function supplyLayoutDefaults(layoutIn, layoutOut, fullData) { }); }; -},{"../../components/color":1164,"../../lib":1264,"../../registry":1371,"../layout_attributes":1347,"./axis_defaults":1298,"./axis_ids":1299,"./constants":1301,"./layout_attributes":1305,"./position_defaults":1308}],1307:[function(require,module,exports){ +},{"../../components/color":1160,"../../lib":1260,"../../registry":1367,"../layout_attributes":1343,"./axis_defaults":1294,"./axis_ids":1295,"./constants":1297,"./layout_attributes":1301,"./position_defaults":1304}],1303:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -132973,7 +132966,7 @@ module.exports = function orderedCategories(axisLetter, categoryorder, categorya } }; -},{"d3":176}],1308:[function(require,module,exports){ +},{"d3":172}],1304:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -133038,7 +133031,7 @@ module.exports = function handlePositionDefaults(containerIn, containerOut, coer return containerOut; }; -},{"../../lib":1264,"fast-isnumeric":184}],1309:[function(require,module,exports){ +},{"../../lib":1260,"fast-isnumeric":180}],1305:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -133238,7 +133231,7 @@ module.exports = function prepSelect(e, startX, startY, dragOptions, mode) { }; }; -},{"../../components/color":1164,"../../lib/polygon":1272,"./axes":1296,"./constants":1301}],1310:[function(require,module,exports){ +},{"../../components/color":1160,"../../lib/polygon":1268,"./axes":1292,"./constants":1297}],1306:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -133654,7 +133647,7 @@ module.exports = function setConvert(ax) { delete ax._forceTick0; }; -},{"../../constants/numerical":1247,"../../lib":1264,"./axis_ids":1299,"./constants":1301,"d3":176,"fast-isnumeric":184}],1311:[function(require,module,exports){ +},{"../../constants/numerical":1243,"../../lib":1260,"./axis_ids":1295,"./constants":1297,"d3":172,"fast-isnumeric":180}],1307:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -133738,7 +133731,7 @@ function getShowAttrDflt(containerIn) { } } -},{"../../lib":1264}],1312:[function(require,module,exports){ +},{"../../lib":1260}],1308:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -133771,7 +133764,7 @@ module.exports = function handleTickDefaults(containerIn, containerOut, coerce, } }; -},{"../../lib":1264,"./layout_attributes":1305}],1313:[function(require,module,exports){ +},{"../../lib":1260,"./layout_attributes":1301}],1309:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -133855,7 +133848,7 @@ module.exports = function handleTickValueDefaults(containerIn, containerOut, coe } }; -},{"../../constants/numerical":1247,"../../lib":1264,"fast-isnumeric":184}],1314:[function(require,module,exports){ +},{"../../constants/numerical":1243,"../../lib":1260,"fast-isnumeric":180}],1310:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -134167,7 +134160,7 @@ module.exports = function transitionAxes(gd, newLayout, transitionOpts, makeOnCo return Promise.resolve(); }; -},{"../../lib":1264,"../../plotly":1291,"../../registry":1371,"./axes":1296,"d3":176}],1315:[function(require,module,exports){ +},{"../../lib":1260,"../../plotly":1287,"../../registry":1367,"./axes":1292,"d3":172}],1311:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -134584,7 +134577,7 @@ function crawl(attrs, callback, path, depth) { }); } -},{"../lib":1264,"../plotly":1291}],1316:[function(require,module,exports){ +},{"../lib":1260,"../plotly":1287}],1312:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -134626,7 +134619,7 @@ module.exports = { } }; -},{}],1317:[function(require,module,exports){ +},{}],1313:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -134683,7 +134676,7 @@ module.exports = { } }; -},{}],1318:[function(require,module,exports){ +},{}],1314:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -134841,7 +134834,7 @@ params.layerNameToAdjective = { // base layers drawn over choropleth params.baseLayersOverChoropleth = ['rivers', 'lakes']; -},{}],1319:[function(require,module,exports){ +},{}],1315:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -135403,7 +135396,7 @@ function createMockAxis(fullLayout) { return mockAxis; } -},{"../../components/color":1164,"../../components/drawing":1187,"../../constants/xmlns_namespaces":1249,"../../lib/topojson_utils":1280,"../../plots/cartesian/axes":1296,"../../plots/cartesian/graph_interact":1303,"./constants":1318,"./projections":1326,"./set_scale":1327,"./zoom":1328,"./zoom_reset":1329,"d3":176,"topojson-client":1133}],1320:[function(require,module,exports){ +},{"../../components/color":1160,"../../components/drawing":1183,"../../constants/xmlns_namespaces":1245,"../../lib/topojson_utils":1276,"../../plots/cartesian/axes":1292,"../../plots/cartesian/graph_interact":1299,"./constants":1314,"./projections":1322,"./set_scale":1323,"./zoom":1324,"./zoom_reset":1325,"d3":172,"topojson-client":1129}],1316:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -135522,7 +135515,7 @@ function getSubplotCalcData(calcData, id) { return subplotCalcData; } -},{"../../plots/plots":1356,"./geo":1319,"./layout/attributes":1321,"./layout/defaults":1324,"./layout/layout_attributes":1325}],1321:[function(require,module,exports){ +},{"../../plots/plots":1352,"./geo":1315,"./layout/attributes":1317,"./layout/defaults":1320,"./layout/layout_attributes":1321}],1317:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -135550,7 +135543,7 @@ module.exports = { } }; -},{}],1322:[function(require,module,exports){ +},{}],1318:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -135613,7 +135606,7 @@ module.exports = { } }; -},{"../../../components/color/attributes":1163}],1323:[function(require,module,exports){ +},{"../../../components/color/attributes":1159}],1319:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -135687,7 +135680,7 @@ module.exports = function supplyGeoAxisLayoutDefaults(geoLayoutIn, geoLayoutOut) } }; -},{"../../../lib":1264,"../constants":1318,"./axis_attributes":1322}],1324:[function(require,module,exports){ +},{"../../../lib":1260,"../constants":1314,"./axis_attributes":1318}],1320:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -135806,7 +135799,7 @@ function handleGeoDefaults(geoLayoutIn, geoLayoutOut, coerce) { ]; } -},{"../../subplot_defaults":1363,"../constants":1318,"./axis_defaults":1323,"./layout_attributes":1325}],1325:[function(require,module,exports){ +},{"../../subplot_defaults":1359,"../constants":1314,"./axis_defaults":1319,"./layout_attributes":1321}],1321:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -136065,7 +136058,7 @@ module.exports = { lataxis: geoAxesAttrs }; -},{"../../../components/color/attributes":1163,"../constants":1318,"./axis_attributes":1322}],1326:[function(require,module,exports){ +},{"../../../components/color/attributes":1159,"../constants":1314,"./axis_attributes":1318}],1322:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -136511,7 +136504,7 @@ function addProjectionsToD3(d3) { module.exports = addProjectionsToD3; -},{}],1327:[function(require,module,exports){ +},{}],1323:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -136662,7 +136655,7 @@ function getBounds(projection, rangeBox) { return d3.geo.path().projection(projection).bounds(rangeBox); } -},{"./constants":1318,"d3":176}],1328:[function(require,module,exports){ +},{"./constants":1314,"d3":172}],1324:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -137089,7 +137082,7 @@ function d3_eventDispatch(target) { return dispatch; } -},{"d3":176}],1329:[function(require,module,exports){ +},{"d3":172}],1325:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -137124,7 +137117,7 @@ function createGeoZoomReset(geo, geoLayout) { module.exports = createGeoZoomReset; -},{"../cartesian/graph_interact":1303}],1330:[function(require,module,exports){ +},{"../cartesian/graph_interact":1299}],1326:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -137288,7 +137281,7 @@ function createCamera(scene) { return result; } -},{"mouse-change":1094,"mouse-wheel":1098}],1331:[function(require,module,exports){ +},{"mouse-change":1090,"mouse-wheel":1094}],1327:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -137534,7 +137527,7 @@ function createAxes2D(scene) { module.exports = createAxes2D; -},{"../../lib/html2unicode":1263,"../../lib/str2rgbarray":1278,"../cartesian/axes":1296,"../plots":1356}],1332:[function(require,module,exports){ +},{"../../lib/html2unicode":1259,"../../lib/str2rgbarray":1274,"../cartesian/axes":1292,"../plots":1352}],1328:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -137646,7 +137639,7 @@ exports.toSVG = function(gd) { } }; -},{"../../constants/xmlns_namespaces":1249,"../cartesian/attributes":1295,"../plots":1356,"./scene2d":1333}],1333:[function(require,module,exports){ +},{"../../constants/xmlns_namespaces":1245,"../cartesian/attributes":1291,"../plots":1352,"./scene2d":1329}],1329:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -138267,7 +138260,7 @@ proto.hoverFormatter = function(axisName, val) { return Axes.tickText(axis, axis.c2l(val), 'hover').text; }; -},{"../../lib/html2unicode":1263,"../../lib/show_no_webgl_msg":1276,"../../plots/cartesian/axes":1296,"../../plots/cartesian/graph_interact":1303,"./camera":1330,"./convert":1331,"gl-plot2d":424,"gl-select-box":837,"gl-spikes2d":864,"webgl-context":1134}],1334:[function(require,module,exports){ +},{"../../lib/html2unicode":1259,"../../lib/show_no_webgl_msg":1272,"../../plots/cartesian/axes":1292,"../../plots/cartesian/graph_interact":1299,"./camera":1326,"./convert":1327,"gl-plot2d":420,"gl-select-box":833,"gl-spikes2d":860,"webgl-context":1130}],1330:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -138510,7 +138503,7 @@ function createCamera(element, options) { return camera; } -},{"3d-view":145,"mouse-change":1094,"mouse-wheel":1098,"right-now":1124}],1335:[function(require,module,exports){ +},{"3d-view":141,"mouse-change":1090,"mouse-wheel":1094,"right-now":1120}],1331:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -138644,7 +138637,7 @@ function initAxes(gd, sceneLayout) { } } -},{"../../constants/xmlns_namespaces":1249,"../plots":1356,"./layout/attributes":1336,"./layout/defaults":1340,"./layout/layout_attributes":1341,"./scene":1345,"./set_convert":1346}],1336:[function(require,module,exports){ +},{"../../constants/xmlns_namespaces":1245,"../plots":1352,"./layout/attributes":1332,"./layout/defaults":1336,"./layout/layout_attributes":1337,"./scene":1341,"./set_convert":1342}],1332:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -138672,7 +138665,7 @@ module.exports = { } }; -},{}],1337:[function(require,module,exports){ +},{}],1333:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -138789,7 +138782,7 @@ module.exports = { zerolinewidth: axesAttrs.zerolinewidth }; -},{"../../../components/color":1164,"../../../lib/extend":1257,"../../cartesian/layout_attributes":1305}],1338:[function(require,module,exports){ +},{"../../../components/color":1160,"../../../lib/extend":1253,"../../cartesian/layout_attributes":1301}],1334:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -138858,7 +138851,7 @@ module.exports = function supplyLayoutDefaults(layoutIn, layoutOut, options) { } }; -},{"../../../lib":1264,"../../cartesian/axis_defaults":1298,"./axis_attributes":1337,"tinycolor2":1132}],1339:[function(require,module,exports){ +},{"../../../lib":1260,"../../cartesian/axis_defaults":1294,"./axis_attributes":1333,"tinycolor2":1128}],1335:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -139013,7 +139006,7 @@ function createAxesOptions(plotlyOptions) { module.exports = createAxesOptions; -},{"../../../lib/html2unicode":1263,"../../../lib/str2rgbarray":1278,"arraytools":164}],1340:[function(require,module,exports){ +},{"../../../lib/html2unicode":1259,"../../../lib/str2rgbarray":1274,"arraytools":160}],1336:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -139122,7 +139115,7 @@ function handleGl3dDefaults(sceneLayoutIn, sceneLayoutOut, coerce, opts) { coerce('hovermode', opts.getDfltFromLayout('hovermode')); } -},{"../../../components/color":1164,"../../subplot_defaults":1363,"./axis_defaults":1338,"./layout_attributes":1341}],1341:[function(require,module,exports){ +},{"../../../components/color":1160,"../../subplot_defaults":1359,"./axis_defaults":1334,"./layout_attributes":1337}],1337:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -139292,7 +139285,7 @@ module.exports = { } }; -},{"../../../lib/extend":1257,"./axis_attributes":1337}],1342:[function(require,module,exports){ +},{"../../../lib/extend":1253,"./axis_attributes":1333}],1338:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -139338,7 +139331,7 @@ function createSpikeOptions(layout) { module.exports = createSpikeOptions; -},{"../../../lib/str2rgbarray":1278}],1343:[function(require,module,exports){ +},{"../../../lib/str2rgbarray":1274}],1339:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -139434,7 +139427,7 @@ function computeTickMarks(scene) { scene.contourLevels = contourLevelsFromTicks(ticks); } -},{"../../../lib":1264,"../../../lib/html2unicode":1263,"../../cartesian/axes":1296}],1344:[function(require,module,exports){ +},{"../../../lib":1260,"../../../lib/html2unicode":1259,"../../cartesian/axes":1292}],1340:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -139468,7 +139461,7 @@ function project(camera, v) { module.exports = project; -},{}],1345:[function(require,module,exports){ +},{}],1341:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -140197,7 +140190,7 @@ proto.toImage = function(format) { module.exports = Scene; -},{"../../lib":1264,"../../lib/show_no_webgl_msg":1276,"../../lib/str2rgbarray":1278,"../../plots/cartesian/axes":1296,"../../plots/cartesian/graph_interact":1303,"./camera":1334,"./layout/convert":1339,"./layout/spikes":1342,"./layout/tick_marks":1343,"./project":1344,"./set_convert":1346,"gl-plot3d":572,"webgl-context":1134}],1346:[function(require,module,exports){ +},{"../../lib":1260,"../../lib/show_no_webgl_msg":1272,"../../lib/str2rgbarray":1274,"../../plots/cartesian/axes":1292,"../../plots/cartesian/graph_interact":1299,"./camera":1330,"./layout/convert":1335,"./layout/spikes":1338,"./layout/tick_marks":1339,"./project":1340,"./set_convert":1342,"gl-plot3d":568,"webgl-context":1130}],1342:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -140218,7 +140211,7 @@ module.exports = function setConvert(containerOut) { containerOut.setScale = Lib.noop; }; -},{"../../lib":1264,"../cartesian/axes":1296}],1347:[function(require,module,exports){ +},{"../../lib":1260,"../cartesian/axes":1292}],1343:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -140411,7 +140404,7 @@ module.exports = { } }; -},{"../components/color/attributes":1163,"../lib":1264,"./font_attributes":1316}],1348:[function(require,module,exports){ +},{"../components/color/attributes":1159,"../lib":1260,"./font_attributes":1312}],1344:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -140441,7 +140434,7 @@ module.exports = { mapOnErrorMsg: 'Mapbox error.' }; -},{}],1349:[function(require,module,exports){ +},{}],1345:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -140515,7 +140508,7 @@ module.exports = function convertTextOpts(textposition, iconSize) { return { anchor: anchor, offset: offset }; }; -},{"../../lib":1264}],1350:[function(require,module,exports){ +},{"../../lib":1260}],1346:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -140676,7 +140669,7 @@ function findAccessToken(gd, mapboxIds) { return accessToken; } -},{"../../constants/xmlns_namespaces":1249,"../plots":1356,"./constants":1348,"./layout_attributes":1352,"./layout_defaults":1353,"./mapbox":1354,"mapbox-gl":919}],1351:[function(require,module,exports){ +},{"../../constants/xmlns_namespaces":1245,"../plots":1352,"./constants":1344,"./layout_attributes":1348,"./layout_defaults":1349,"./mapbox":1350,"mapbox-gl":915}],1347:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -140901,7 +140894,7 @@ module.exports = function createMapboxLayer(mapbox, index, opts) { return mapboxLayer; }; -},{"../../lib":1264,"./convert_text_opts":1349}],1352:[function(require,module,exports){ +},{"../../lib":1260,"./convert_text_opts":1345}],1348:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -141168,7 +141161,7 @@ module.exports = { }; -},{"../../components/color":1164,"../../lib":1264,"../../traces/scatter/attributes":1488,"../font_attributes":1316}],1353:[function(require,module,exports){ +},{"../../components/color":1160,"../../lib":1260,"../../traces/scatter/attributes":1484,"../font_attributes":1312}],1349:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -141264,7 +141257,7 @@ function handleLayerDefaults(containerIn, containerOut) { } } -},{"../../lib":1264,"../subplot_defaults":1363,"./layout_attributes":1352}],1354:[function(require,module,exports){ +},{"../../lib":1260,"../subplot_defaults":1359,"./layout_attributes":1348}],1350:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -141725,7 +141718,7 @@ function convertCenter(center) { return [center.lon, center.lat]; } -},{"../../lib":1264,"../cartesian/graph_interact":1303,"./constants":1348,"./layers":1351,"./layout_attributes":1352,"mapbox-gl":919}],1355:[function(require,module,exports){ +},{"../../lib":1260,"../cartesian/graph_interact":1299,"./constants":1344,"./layers":1347,"./layout_attributes":1348,"mapbox-gl":915}],1351:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -141763,7 +141756,7 @@ module.exports = { } }; -},{}],1356:[function(require,module,exports){ +},{}],1352:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -143782,7 +143775,7 @@ plots.doCalcdata = function(gd, traces) { } }; -},{"../components/color":1164,"../components/errorbars":1193,"../lib":1264,"../plotly":1291,"../registry":1371,"./animation_attributes":1292,"./attributes":1294,"./command":1315,"./font_attributes":1316,"./frame_attributes":1317,"./layout_attributes":1347,"d3":176,"fast-isnumeric":184}],1357:[function(require,module,exports){ +},{"../components/color":1160,"../components/errorbars":1189,"../lib":1260,"../plotly":1287,"../registry":1367,"./animation_attributes":1288,"./attributes":1290,"./command":1311,"./font_attributes":1312,"./frame_attributes":1313,"./layout_attributes":1343,"d3":172,"fast-isnumeric":180}],1353:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -143807,7 +143800,7 @@ module.exports = { } }; -},{"../../traces/scatter/attributes":1488}],1358:[function(require,module,exports){ +},{"../../traces/scatter/attributes":1484}],1354:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -143957,7 +143950,7 @@ module.exports = { } }; -},{"../../lib/extend":1257,"../cartesian/layout_attributes":1305}],1359:[function(require,module,exports){ +},{"../../lib/extend":1253,"../cartesian/layout_attributes":1301}],1355:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -143972,7 +143965,7 @@ var Polar = module.exports = require('./micropolar'); Polar.manager = require('./micropolar_manager'); -},{"./micropolar":1360,"./micropolar_manager":1361}],1360:[function(require,module,exports){ +},{"./micropolar":1356,"./micropolar_manager":1357}],1356:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -145391,7 +145384,7 @@ var µ = module.exports = { version: '0.2.2' }; return exports; }; -},{"../../lib":1264,"d3":176}],1361:[function(require,module,exports){ +},{"../../lib":1260,"d3":172}],1357:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -145477,7 +145470,7 @@ manager.fillLayout = function(_gd) { _gd._fullLayout = extendDeepAll(dflts, _gd.layout); }; -},{"../../components/color":1164,"../../lib":1264,"./micropolar":1360,"./undo_manager":1362,"d3":176}],1362:[function(require,module,exports){ +},{"../../components/color":1160,"../../lib":1260,"./micropolar":1356,"./undo_manager":1358,"d3":172}],1358:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -145543,7 +145536,7 @@ module.exports = function UndoManager() { }; }; -},{}],1363:[function(require,module,exports){ +},{}],1359:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -145618,7 +145611,7 @@ module.exports = function handleSubplotDefaults(layoutIn, layoutOut, fullData, o } }; -},{"../lib":1264,"./plots":1356}],1364:[function(require,module,exports){ +},{"../lib":1260,"./plots":1352}],1360:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -145692,7 +145685,7 @@ exports.clean = function(newFullData, newFullLayout, oldFullData, oldFullLayout) } }; -},{"../../plots/plots":1356,"./layout/attributes":1365,"./layout/defaults":1368,"./layout/layout_attributes":1369,"./ternary":1370}],1365:[function(require,module,exports){ +},{"../../plots/plots":1352,"./layout/attributes":1361,"./layout/defaults":1364,"./layout/layout_attributes":1365,"./ternary":1366}],1361:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -145718,7 +145711,7 @@ module.exports = { } }; -},{}],1366:[function(require,module,exports){ +},{}],1362:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -145783,7 +145776,7 @@ module.exports = { } }; -},{"../../../lib/extend":1257,"../../cartesian/layout_attributes":1305}],1367:[function(require,module,exports){ +},{"../../../lib/extend":1253,"../../cartesian/layout_attributes":1301}],1363:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -145867,7 +145860,7 @@ module.exports = function supplyLayoutDefaults(containerIn, containerOut, option } }; -},{"../../../lib":1264,"../../cartesian/tick_label_defaults":1311,"../../cartesian/tick_mark_defaults":1312,"../../cartesian/tick_value_defaults":1313,"./axis_attributes":1366,"tinycolor2":1132}],1368:[function(require,module,exports){ +},{"../../../lib":1260,"../../cartesian/tick_label_defaults":1307,"../../cartesian/tick_mark_defaults":1308,"../../cartesian/tick_value_defaults":1309,"./axis_attributes":1362,"tinycolor2":1128}],1364:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -145930,7 +145923,7 @@ function handleTernaryDefaults(ternaryLayoutIn, ternaryLayoutOut, coerce, option } } -},{"../../../components/color":1164,"../../subplot_defaults":1363,"./axis_defaults":1367,"./layout_attributes":1369}],1369:[function(require,module,exports){ +},{"../../../components/color":1160,"../../subplot_defaults":1359,"./axis_defaults":1363,"./layout_attributes":1365}],1365:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -145995,7 +145988,7 @@ module.exports = { caxis: ternaryAxesAttrs }; -},{"../../../components/color/attributes":1163,"./axis_attributes":1366}],1370:[function(require,module,exports){ +},{"../../../components/color/attributes":1159,"./axis_attributes":1362}],1366:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -146684,7 +146677,7 @@ function removeZoombox(gd) { .remove(); } -},{"../../components/color":1164,"../../components/dragelement":1185,"../../components/drawing":1187,"../../components/titles":1238,"../../lib":1264,"../../lib/extend":1257,"../../plotly":1291,"../cartesian/axes":1296,"../cartesian/constants":1301,"../cartesian/graph_interact":1303,"../cartesian/select":1309,"../cartesian/set_convert":1310,"d3":176,"tinycolor2":1132}],1371:[function(require,module,exports){ +},{"../../components/color":1160,"../../components/dragelement":1181,"../../components/drawing":1183,"../../components/titles":1234,"../../lib":1260,"../../lib/extend":1253,"../../plotly":1287,"../cartesian/axes":1292,"../cartesian/constants":1297,"../cartesian/graph_interact":1299,"../cartesian/select":1305,"../cartesian/set_convert":1306,"d3":172,"tinycolor2":1128}],1367:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -146852,7 +146845,7 @@ function getTraceType(traceType) { return traceType; } -},{"./lib":1264,"./plots/attributes":1294}],1372:[function(require,module,exports){ +},{"./lib":1260,"./plots/attributes":1290}],1368:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -147010,7 +147003,7 @@ module.exports = function clonePlot(graphObj, options) { return plotTile; }; -},{"../lib":1264,"../plots/plots":1356}],1373:[function(require,module,exports){ +},{"../lib":1260,"../plots/plots":1352}],1369:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -147076,7 +147069,7 @@ function downloadImage(gd, opts) { module.exports = downloadImage; -},{"../lib":1264,"../plot_api/to_image":1289,"./filesaver":1374}],1374:[function(require,module,exports){ +},{"../lib":1260,"../plot_api/to_image":1285,"./filesaver":1370}],1370:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -147144,7 +147137,7 @@ var fileSaver = function(url, name) { module.exports = fileSaver; -},{}],1375:[function(require,module,exports){ +},{}],1371:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -147177,7 +147170,7 @@ exports.getRedrawFunc = function(gd) { }; }; -},{}],1376:[function(require,module,exports){ +},{}],1372:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -147203,7 +147196,7 @@ var Snapshot = { module.exports = Snapshot; -},{"./cloneplot":1372,"./download":1373,"./helpers":1375,"./svgtoimg":1377,"./toimage":1378,"./tosvg":1379}],1377:[function(require,module,exports){ +},{"./cloneplot":1368,"./download":1369,"./helpers":1371,"./svgtoimg":1373,"./toimage":1374,"./tosvg":1375}],1373:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -147334,7 +147327,7 @@ function svgToImg(opts) { module.exports = svgToImg; -},{"../lib":1264,"events":37}],1378:[function(require,module,exports){ +},{"../lib":1260,"events":37}],1374:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -147414,7 +147407,7 @@ function toImage(gd, opts) { module.exports = toImage; -},{"../lib":1264,"../plotly":1291,"./cloneplot":1372,"./helpers":1375,"./svgtoimg":1377,"./tosvg":1379,"events":37}],1379:[function(require,module,exports){ +},{"../lib":1260,"../plotly":1287,"./cloneplot":1368,"./helpers":1371,"./svgtoimg":1373,"./tosvg":1375,"events":37}],1375:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -147533,7 +147526,7 @@ module.exports = function toSVG(gd, format) { return s; }; -},{"../components/color":1164,"../components/drawing":1187,"../constants/xmlns_namespaces":1249,"../lib/svg_text_utils":1279,"d3":176}],1380:[function(require,module,exports){ +},{"../components/color":1160,"../components/drawing":1183,"../constants/xmlns_namespaces":1245,"../lib/svg_text_utils":1275,"d3":172}],1376:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -147565,7 +147558,7 @@ module.exports = function arraysToCalcdata(cd) { } }; -},{"../../lib":1264}],1381:[function(require,module,exports){ +},{"../../lib":1260}],1377:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -147714,7 +147707,7 @@ module.exports = { } }; -},{"../../components/colorbar/attributes":1165,"../../components/colorscale/color_attributes":1171,"../../components/errorbars/attributes":1189,"../../lib/extend":1257,"../../plots/font_attributes":1316,"../scatter/attributes":1488}],1382:[function(require,module,exports){ +},{"../../components/colorbar/attributes":1161,"../../components/colorscale/color_attributes":1167,"../../components/errorbars/attributes":1185,"../../lib/extend":1253,"../../plots/font_attributes":1312,"../scatter/attributes":1484}],1378:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -147817,7 +147810,7 @@ module.exports = function calc(gd, trace) { return cd; }; -},{"../../components/colorscale/calc":1170,"../../components/colorscale/has_colorscale":1177,"../../plots/cartesian/axes":1296,"fast-isnumeric":184}],1383:[function(require,module,exports){ +},{"../../components/colorscale/calc":1166,"../../components/colorscale/has_colorscale":1173,"../../plots/cartesian/axes":1292,"fast-isnumeric":180}],1379:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -147876,7 +147869,7 @@ module.exports = function supplyDefaults(traceIn, traceOut, defaultColor, layout errorBarsSupplyDefaults(traceIn, traceOut, Color.defaultLine, {axis: 'x', inherit: 'y'}); }; -},{"../../components/color":1164,"../../components/errorbars/defaults":1192,"../../lib":1264,"../bar/style_defaults":1392,"../scatter/xy_defaults":1510,"./attributes":1381}],1384:[function(require,module,exports){ +},{"../../components/color":1160,"../../components/errorbars/defaults":1188,"../../lib":1260,"../bar/style_defaults":1388,"../scatter/xy_defaults":1506,"./attributes":1377}],1380:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -147969,7 +147962,7 @@ module.exports = function hoverPoints(pointData, xval, yval, hovermode) { return [pointData]; }; -},{"../../components/color":1164,"../../components/errorbars":1193,"../../plots/cartesian/graph_interact":1303}],1385:[function(require,module,exports){ +},{"../../components/color":1160,"../../components/errorbars":1189,"../../plots/cartesian/graph_interact":1299}],1381:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -148010,7 +148003,7 @@ Bar.meta = { module.exports = Bar; -},{"../../plots/cartesian":1304,"../scatter/colorbar":1491,"./arrays_to_calcdata":1380,"./attributes":1381,"./calc":1382,"./defaults":1383,"./hover":1384,"./layout_attributes":1386,"./layout_defaults":1387,"./plot":1388,"./set_positions":1389,"./style":1391}],1386:[function(require,module,exports){ +},{"../../plots/cartesian":1300,"../scatter/colorbar":1487,"./arrays_to_calcdata":1376,"./attributes":1377,"./calc":1378,"./defaults":1379,"./hover":1380,"./layout_attributes":1382,"./layout_defaults":1383,"./plot":1384,"./set_positions":1385,"./style":1387}],1382:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -148075,7 +148068,7 @@ module.exports = { } }; -},{}],1387:[function(require,module,exports){ +},{}],1383:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -148133,7 +148126,7 @@ module.exports = function(layoutIn, layoutOut, fullData) { coerce('bargroupgap'); }; -},{"../../lib":1264,"../../plots/cartesian/axes":1296,"../../registry":1371,"./layout_attributes":1386}],1388:[function(require,module,exports){ +},{"../../lib":1260,"../../plots/cartesian/axes":1292,"../../registry":1367,"./layout_attributes":1382}],1384:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -148658,7 +148651,7 @@ function coerceColor(attributeDefinition, value, defaultValue) { attributeDefinition.dflt; } -},{"../../components/color":1164,"../../components/drawing":1187,"../../components/errorbars":1193,"../../lib":1264,"../../lib/svg_text_utils":1279,"./arrays_to_calcdata":1380,"./attributes":1381,"d3":176,"fast-isnumeric":184,"tinycolor2":1132}],1389:[function(require,module,exports){ +},{"../../components/color":1160,"../../components/drawing":1183,"../../components/errorbars":1189,"../../lib":1260,"../../lib/svg_text_utils":1275,"./arrays_to_calcdata":1376,"./attributes":1377,"d3":172,"fast-isnumeric":180,"tinycolor2":1128}],1385:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -149267,7 +149260,7 @@ function getAxisLetter(ax) { return ax._id.charAt(0); } -},{"../../plots/cartesian/axes":1296,"../../registry":1371,"./sieve.js":1390,"fast-isnumeric":184}],1390:[function(require,module,exports){ +},{"../../plots/cartesian/axes":1292,"../../registry":1367,"./sieve.js":1386,"fast-isnumeric":180}],1386:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -149368,7 +149361,7 @@ Sieve.prototype.getLabel = function getLabel(position, value) { return prefix + label; }; -},{"../../lib":1264}],1391:[function(require,module,exports){ +},{"../../lib":1260}],1387:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -149446,7 +149439,7 @@ module.exports = function style(gd) { s.call(ErrorBars.style); }; -},{"../../components/color":1164,"../../components/drawing":1187,"../../components/errorbars":1193,"d3":176}],1392:[function(require,module,exports){ +},{"../../components/color":1160,"../../components/drawing":1183,"../../components/errorbars":1189,"d3":172}],1388:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -149483,7 +149476,7 @@ module.exports = function handleStyleDefaults(traceIn, traceOut, coerce, default coerce('marker.line.width'); }; -},{"../../components/color":1164,"../../components/colorscale/defaults":1173,"../../components/colorscale/has_colorscale":1177}],1393:[function(require,module,exports){ +},{"../../components/color":1160,"../../components/colorscale/defaults":1169,"../../components/colorscale/has_colorscale":1173}],1389:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -149663,7 +149656,7 @@ module.exports = { fillcolor: scatterAttrs.fillcolor }; -},{"../../components/color/attributes":1163,"../../lib/extend":1257,"../scatter/attributes":1488}],1394:[function(require,module,exports){ +},{"../../components/color/attributes":1159,"../../lib/extend":1253,"../scatter/attributes":1484}],1390:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -149812,7 +149805,7 @@ module.exports = function calc(gd, trace) { return cd; }; -},{"../../lib":1264,"../../plots/cartesian/axes":1296,"fast-isnumeric":184}],1395:[function(require,module,exports){ +},{"../../lib":1260,"../../plots/cartesian/axes":1292,"fast-isnumeric":180}],1391:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -149885,7 +149878,7 @@ module.exports = function supplyDefaults(traceIn, traceOut, defaultColor, layout } }; -},{"../../components/color":1164,"../../lib":1264,"../../registry":1371,"./attributes":1393}],1396:[function(require,module,exports){ +},{"../../components/color":1160,"../../lib":1260,"../../registry":1367,"./attributes":1389}],1392:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -149994,7 +149987,7 @@ module.exports = function hoverPoints(pointData, xval, yval, hovermode) { return closeData; }; -},{"../../components/color":1164,"../../lib":1264,"../../plots/cartesian/axes":1296,"../../plots/cartesian/graph_interact":1303}],1397:[function(require,module,exports){ +},{"../../components/color":1160,"../../lib":1260,"../../plots/cartesian/axes":1292,"../../plots/cartesian/graph_interact":1299}],1393:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -150040,7 +150033,7 @@ Box.meta = { module.exports = Box; -},{"../../plots/cartesian":1304,"./attributes":1393,"./calc":1394,"./defaults":1395,"./hover":1396,"./layout_attributes":1398,"./layout_defaults":1399,"./plot":1400,"./set_positions":1401,"./style":1402}],1398:[function(require,module,exports){ +},{"../../plots/cartesian":1300,"./attributes":1389,"./calc":1390,"./defaults":1391,"./hover":1392,"./layout_attributes":1394,"./layout_defaults":1395,"./plot":1396,"./set_positions":1397,"./style":1398}],1394:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -150091,7 +150084,7 @@ module.exports = { } }; -},{}],1399:[function(require,module,exports){ +},{}],1395:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -150125,7 +150118,7 @@ module.exports = function supplyLayoutDefaults(layoutIn, layoutOut, fullData) { coerce('boxgroupgap'); }; -},{"../../lib":1264,"../../registry":1371,"./layout_attributes":1398}],1400:[function(require,module,exports){ +},{"../../lib":1260,"../../registry":1367,"./layout_attributes":1394}],1396:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -150365,7 +150358,7 @@ module.exports = function plot(gd, plotinfo, cdbox) { }); }; -},{"../../components/drawing":1187,"../../lib":1264,"d3":176}],1401:[function(require,module,exports){ +},{"../../components/drawing":1183,"../../lib":1260,"d3":172}],1397:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -150459,7 +150452,7 @@ module.exports = function setPositions(gd, plotinfo) { } }; -},{"../../lib":1264,"../../plots/cartesian/axes":1296,"../../registry":1371}],1402:[function(require,module,exports){ +},{"../../lib":1260,"../../plots/cartesian/axes":1292,"../../registry":1367}],1398:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -150498,7 +150491,7 @@ module.exports = function style(gd) { }); }; -},{"../../components/color":1164,"../../components/drawing":1187,"d3":176}],1403:[function(require,module,exports){ +},{"../../components/color":1160,"../../components/drawing":1183,"d3":172}],1399:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -150556,7 +150549,7 @@ module.exports = { whiskerwidth: Lib.extendFlat({}, boxAttrs.whiskerwidth, { dflt: 0 }) }; -},{"../../lib":1264,"../box/attributes":1393,"../ohlc/attributes":1465}],1404:[function(require,module,exports){ +},{"../../lib":1260,"../box/attributes":1389,"../ohlc/attributes":1461}],1400:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -150604,7 +150597,7 @@ function handleDirection(traceIn, traceOut, coerce, direction) { coerce(direction + '.fillcolor'); } -},{"../../lib":1264,"../ohlc/direction_defaults":1467,"../ohlc/helpers":1468,"../ohlc/ohlc_defaults":1470,"./attributes":1403}],1405:[function(require,module,exports){ +},{"../../lib":1260,"../ohlc/direction_defaults":1463,"../ohlc/helpers":1464,"../ohlc/ohlc_defaults":1466,"./attributes":1399}],1401:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -150646,7 +150639,7 @@ module.exports = { register(require('../box')); register(require('./transform')); -},{"../../plot_api/register":1286,"../../plots/cartesian":1304,"../box":1397,"./attributes":1403,"./defaults":1404,"./transform":1406}],1406:[function(require,module,exports){ +},{"../../plot_api/register":1282,"../../plots/cartesian":1300,"../box":1393,"./attributes":1399,"./defaults":1400,"./transform":1402}],1402:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -150774,7 +150767,7 @@ exports.calcTransform = function calcTransform(gd, trace, opts) { trace.y = y; }; -},{"../../lib":1264,"../ohlc/helpers":1468}],1407:[function(require,module,exports){ +},{"../../lib":1260,"../ohlc/helpers":1464}],1403:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -150825,7 +150818,7 @@ module.exports = extendFlat({}, { { colorbar: colorbarAttrs } ); -},{"../../components/colorbar/attributes":1165,"../../components/colorscale/attributes":1169,"../../lib/extend":1257,"../../plots/attributes":1294,"../scattergeo/attributes":1517}],1408:[function(require,module,exports){ +},{"../../components/colorbar/attributes":1161,"../../components/colorscale/attributes":1165,"../../lib/extend":1253,"../../plots/attributes":1290,"../scattergeo/attributes":1513}],1404:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -150844,7 +150837,7 @@ module.exports = function calc(gd, trace) { colorscaleCalc(trace, trace.z, '', 'z'); }; -},{"../../components/colorscale/calc":1170}],1409:[function(require,module,exports){ +},{"../../components/colorscale/calc":1166}],1405:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -150899,7 +150892,7 @@ module.exports = function supplyDefaults(traceIn, traceOut, defaultColor, layout coerce('hoverinfo', (layout._dataLength === 1) ? 'location+z+text' : undefined); }; -},{"../../components/colorscale/defaults":1173,"../../lib":1264,"./attributes":1407}],1410:[function(require,module,exports){ +},{"../../components/colorscale/defaults":1169,"../../lib":1260,"./attributes":1403}],1406:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -150937,7 +150930,7 @@ Choropleth.meta = { module.exports = Choropleth; -},{"../../plots/geo":1320,"../heatmap/colorbar":1428,"./attributes":1407,"./calc":1408,"./defaults":1409,"./plot":1411}],1411:[function(require,module,exports){ +},{"../../plots/geo":1316,"../heatmap/colorbar":1424,"./attributes":1403,"./calc":1404,"./defaults":1405,"./plot":1407}],1407:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -151166,7 +151159,7 @@ function makeEventDataFunc(trace) { }; } -},{"../../components/color":1164,"../../components/colorscale":1178,"../../components/drawing":1187,"../../lib/array_to_calc_item":1252,"../../lib/geo_location_utils":1260,"../../lib/topojson_utils":1280,"../../plots/cartesian/axes":1296,"../../plots/cartesian/graph_interact":1303,"../../plots/geo/constants":1318,"./attributes":1407,"d3":176}],1412:[function(require,module,exports){ +},{"../../components/color":1160,"../../components/colorscale":1174,"../../components/drawing":1183,"../../lib/array_to_calc_item":1248,"../../lib/geo_location_utils":1256,"../../lib/topojson_utils":1276,"../../plots/cartesian/axes":1292,"../../plots/cartesian/graph_interact":1299,"../../plots/geo/constants":1314,"./attributes":1403,"d3":172}],1408:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -151289,7 +151282,7 @@ module.exports = extendFlat({}, { { colorbar: colorbarAttrs } ); -},{"../../components/colorbar/attributes":1165,"../../components/colorscale/attributes":1169,"../../lib/extend":1257,"../heatmap/attributes":1425,"../scatter/attributes":1488}],1413:[function(require,module,exports){ +},{"../../components/colorbar/attributes":1161,"../../components/colorscale/attributes":1165,"../../lib/extend":1253,"../heatmap/attributes":1421,"../scatter/attributes":1484}],1409:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -151342,7 +151335,7 @@ module.exports = function calc(gd, trace) { return cd; }; -},{"../../plots/cartesian/axes":1296,"../heatmap/calc":1426}],1414:[function(require,module,exports){ +},{"../../plots/cartesian/axes":1292,"../heatmap/calc":1422}],1410:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -151403,7 +151396,7 @@ module.exports = function colorbar(gd, cd) { .options(trace.colorbar)(); }; -},{"../../components/colorbar/draw":1167,"../../plots/plots":1356,"./make_color_map":1420}],1415:[function(require,module,exports){ +},{"../../components/colorbar/draw":1163,"../../plots/plots":1352,"./make_color_map":1416}],1411:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -151443,7 +151436,7 @@ module.exports.CHOOSESADDLE = { // substitute to be used up later? module.exports.SADDLEREMAINDER = {1: 4, 2: 8, 4: 1, 7: 13, 8: 2, 11: 14, 13: 7, 14: 11}; -},{}],1416:[function(require,module,exports){ +},{}],1412:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -151487,7 +151480,7 @@ module.exports = function supplyDefaults(traceIn, traceOut, defaultColor, layout handleStyleDefaults(traceIn, traceOut, coerce, layout); }; -},{"../../lib":1264,"../contour/style_defaults":1424,"../heatmap/has_columns":1432,"../heatmap/xyz_defaults":1440,"./attributes":1412}],1417:[function(require,module,exports){ +},{"../../lib":1260,"../contour/style_defaults":1420,"../heatmap/has_columns":1428,"../heatmap/xyz_defaults":1436,"./attributes":1408}],1413:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -151757,7 +151750,7 @@ function getInterpPx(pi, loc, step) { } } -},{"../../lib":1264,"./constants":1415}],1418:[function(require,module,exports){ +},{"../../lib":1260,"./constants":1411}],1414:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -151776,7 +151769,7 @@ module.exports = function hoverPoints(pointData, xval, yval, hovermode) { return heatmapHoverPoints(pointData, xval, yval, hovermode, true); }; -},{"../heatmap/hover":1433}],1419:[function(require,module,exports){ +},{"../heatmap/hover":1429}],1415:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -151817,7 +151810,7 @@ Contour.meta = { module.exports = Contour; -},{"../../plots/cartesian":1304,"./attributes":1412,"./calc":1413,"./colorbar":1414,"./defaults":1416,"./hover":1418,"./plot":1422,"./style":1423}],1420:[function(require,module,exports){ +},{"../../plots/cartesian":1300,"./attributes":1408,"./calc":1409,"./colorbar":1410,"./defaults":1412,"./hover":1414,"./plot":1418,"./style":1419}],1416:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -151895,7 +151888,7 @@ module.exports = function makeColorMap(trace) { }); }; -},{"../../components/colorscale":1178,"d3":176}],1421:[function(require,module,exports){ +},{"../../components/colorscale":1174,"d3":172}],1417:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -151987,7 +151980,7 @@ function getMarchingIndex(val, corners) { return (mi === 15) ? 0 : mi; } -},{"./constants":1415}],1422:[function(require,module,exports){ +},{"./constants":1411}],1418:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -152336,7 +152329,7 @@ function makeClipMask(cd0) { return z; } -},{"../../components/drawing":1187,"../../lib":1264,"../heatmap/plot":1438,"./find_all_paths":1417,"./make_crossings":1421,"d3":176}],1423:[function(require,module,exports){ +},{"../../components/drawing":1183,"../../lib":1260,"../heatmap/plot":1434,"./find_all_paths":1413,"./make_crossings":1417,"d3":172}],1419:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -152393,7 +152386,7 @@ module.exports = function style(gd) { heatmapStyle(gd); }; -},{"../../components/drawing":1187,"../heatmap/style":1439,"./make_color_map":1420,"d3":176}],1424:[function(require,module,exports){ +},{"../../components/drawing":1183,"../heatmap/style":1435,"./make_color_map":1416,"d3":172}],1420:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -152429,7 +152422,7 @@ module.exports = function handleStyleDefaults(traceIn, traceOut, coerce, layout) } }; -},{"../../components/colorscale/defaults":1173}],1425:[function(require,module,exports){ +},{"../../components/colorscale/defaults":1169}],1421:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -152529,7 +152522,7 @@ module.exports = extendFlat({}, { { colorbar: colorbarAttrs } ); -},{"../../components/colorbar/attributes":1165,"../../components/colorscale/attributes":1169,"../../lib/extend":1257,"../scatter/attributes":1488}],1426:[function(require,module,exports){ +},{"../../components/colorbar/attributes":1161,"../../components/colorscale/attributes":1165,"../../lib/extend":1253,"../scatter/attributes":1484}],1422:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -152671,7 +152664,7 @@ module.exports = function calc(gd, trace) { return [cd0]; }; -},{"../../components/colorscale/calc":1170,"../../lib":1264,"../../plots/cartesian/axes":1296,"../../registry":1371,"../histogram2d/calc":1454,"./clean_2d_array":1427,"./convert_column_xyz":1429,"./find_empties":1431,"./has_columns":1432,"./interp2d":1435,"./make_bound_array":1436,"./max_row_length":1437}],1427:[function(require,module,exports){ +},{"../../components/colorscale/calc":1166,"../../lib":1260,"../../plots/cartesian/axes":1292,"../../registry":1367,"../histogram2d/calc":1450,"./clean_2d_array":1423,"./convert_column_xyz":1425,"./find_empties":1427,"./has_columns":1428,"./interp2d":1431,"./make_bound_array":1432,"./max_row_length":1433}],1423:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -152716,7 +152709,7 @@ module.exports = function clean2dArray(zOld, transpose) { return zNew; }; -},{"fast-isnumeric":184}],1428:[function(require,module,exports){ +},{"fast-isnumeric":180}],1424:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -152767,7 +152760,7 @@ module.exports = function colorbar(gd, cd) { .options(trace.colorbar)(); }; -},{"../../components/colorbar/draw":1167,"../../components/colorscale":1178,"../../lib":1264,"../../plots/plots":1356,"fast-isnumeric":184}],1429:[function(require,module,exports){ +},{"../../components/colorbar/draw":1163,"../../components/colorscale":1174,"../../lib":1260,"../../plots/plots":1352,"fast-isnumeric":180}],1425:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -152826,7 +152819,7 @@ module.exports = function convertColumnXYZ(trace, xa, ya) { if(hasColumnText) trace.text = text; }; -},{"../../lib":1264}],1430:[function(require,module,exports){ +},{"../../lib":1260}],1426:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -152871,7 +152864,7 @@ module.exports = function supplyDefaults(traceIn, traceOut, defaultColor, layout colorscaleDefaults(traceIn, traceOut, layout, coerce, {prefix: '', cLetter: 'z'}); }; -},{"../../components/colorscale/defaults":1173,"../../lib":1264,"./attributes":1425,"./has_columns":1432,"./xyz_defaults":1440}],1431:[function(require,module,exports){ +},{"../../components/colorscale/defaults":1169,"../../lib":1260,"./attributes":1421,"./has_columns":1428,"./xyz_defaults":1436}],1427:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -152977,7 +152970,7 @@ module.exports = function findEmpties(z) { return empties.sort(function(a, b) { return b[2] - a[2]; }); }; -},{"./max_row_length":1437}],1432:[function(require,module,exports){ +},{"./max_row_length":1433}],1428:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -152993,7 +152986,7 @@ module.exports = function(trace) { return !Array.isArray(trace.z[0]); }; -},{}],1433:[function(require,module,exports){ +},{}],1429:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -153111,7 +153104,7 @@ module.exports = function hoverPoints(pointData, xval, yval, hovermode, contour) })]; }; -},{"../../lib":1264,"../../plots/cartesian/constants":1301,"../../plots/cartesian/graph_interact":1303}],1434:[function(require,module,exports){ +},{"../../lib":1260,"../../plots/cartesian/constants":1297,"../../plots/cartesian/graph_interact":1299}],1430:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -153166,7 +153159,7 @@ Heatmap.meta = { module.exports = Heatmap; -},{"../../plots/cartesian":1304,"./attributes":1425,"./calc":1426,"./colorbar":1428,"./defaults":1430,"./hover":1433,"./plot":1438,"./style":1439}],1435:[function(require,module,exports){ +},{"../../plots/cartesian":1300,"./attributes":1421,"./calc":1422,"./colorbar":1424,"./defaults":1426,"./hover":1429,"./plot":1434,"./style":1435}],1431:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -153298,7 +153291,7 @@ function iterateInterp2d(z, emptyPoints, overshoot) { return maxFractionalChange; } -},{"../../lib":1264}],1436:[function(require,module,exports){ +},{"../../lib":1260}],1432:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -153380,7 +153373,7 @@ module.exports = function makeBoundArray(trace, arrayIn, v0In, dvIn, numbricks, return arrayOut; }; -},{"../../registry":1371}],1437:[function(require,module,exports){ +},{"../../registry":1367}],1433:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -153402,7 +153395,7 @@ module.exports = function maxRowLength(z) { return len; }; -},{}],1438:[function(require,module,exports){ +},{}],1434:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -153852,7 +153845,7 @@ function plotOne(gd, plotinfo, cd) { image3.exit().remove(); } -},{"../../components/colorscale":1178,"../../constants/xmlns_namespaces":1249,"../../lib":1264,"../../registry":1371,"./max_row_length":1437,"tinycolor2":1132}],1439:[function(require,module,exports){ +},{"../../components/colorscale":1174,"../../constants/xmlns_namespaces":1245,"../../lib":1260,"../../registry":1367,"./max_row_length":1433,"tinycolor2":1128}],1435:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -153873,7 +153866,7 @@ module.exports = function style(gd) { }); }; -},{"d3":176}],1440:[function(require,module,exports){ +},{"d3":172}],1436:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -153966,7 +153959,7 @@ function isValidZ(z) { return (allRowsAreArrays && oneRowIsFilled && hasOneNumber); } -},{"../../registry":1371,"./has_columns":1432,"fast-isnumeric":184}],1441:[function(require,module,exports){ +},{"../../registry":1367,"./has_columns":1428,"fast-isnumeric":180}],1437:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -154008,7 +154001,7 @@ extendFlat( module.exports = attrs; -},{"../../components/colorbar/attributes":1165,"../../components/colorscale/attributes":1169,"../../lib/extend":1257,"../heatmap/attributes":1425}],1442:[function(require,module,exports){ +},{"../../components/colorbar/attributes":1161,"../../components/colorscale/attributes":1165,"../../lib/extend":1253,"../heatmap/attributes":1421}],1438:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -154147,7 +154140,7 @@ function createHeatmap(scene, fullTrace, calcTrace) { module.exports = createHeatmap; -},{"../../lib/str2rgbarray":1278,"../../plots/cartesian/axes":1296,"gl-heatmap2d":201}],1443:[function(require,module,exports){ +},{"../../lib/str2rgbarray":1274,"../../plots/cartesian/axes":1292,"gl-heatmap2d":197}],1439:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -154180,7 +154173,7 @@ HeatmapGl.meta = { module.exports = HeatmapGl; -},{"../../plots/gl2d":1332,"../heatmap/calc":1426,"../heatmap/colorbar":1428,"../heatmap/defaults":1430,"./attributes":1441,"./convert":1442}],1444:[function(require,module,exports){ +},{"../../plots/gl2d":1328,"../heatmap/calc":1422,"../heatmap/colorbar":1424,"../heatmap/defaults":1426,"./attributes":1437,"./convert":1438}],1440:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -154344,7 +154337,7 @@ function makeBinsAttr(axLetter) { }; } -},{"../bar/attributes":1381}],1445:[function(require,module,exports){ +},{"../bar/attributes":1377}],1441:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -154370,7 +154363,7 @@ module.exports = function doAvg(size, counts) { return total; }; -},{}],1446:[function(require,module,exports){ +},{}],1442:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -154403,7 +154396,7 @@ module.exports = function handleBinDefaults(traceIn, traceOut, coerce, binDirect return traceOut; }; -},{}],1447:[function(require,module,exports){ +},{}],1443:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -154477,7 +154470,7 @@ module.exports = { } }; -},{"fast-isnumeric":184}],1448:[function(require,module,exports){ +},{"fast-isnumeric":180}],1444:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -154623,7 +154616,7 @@ module.exports = function calc(gd, trace) { return cd; }; -},{"../../lib":1264,"../../plots/cartesian/axes":1296,"./average":1445,"./bin_functions":1447,"./clean_bins":1449,"./norm_functions":1452,"fast-isnumeric":184}],1449:[function(require,module,exports){ +},{"../../lib":1260,"../../plots/cartesian/axes":1292,"./average":1441,"./bin_functions":1443,"./clean_bins":1445,"./norm_functions":1448,"fast-isnumeric":180}],1445:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -154700,7 +154693,7 @@ module.exports = function cleanBins(trace, ax, binDirection) { if(!trace[autoBinAttr]) delete trace['nbins' + binDirection]; }; -},{"../../constants/numerical":1247,"../../lib":1264,"fast-isnumeric":184}],1450:[function(require,module,exports){ +},{"../../constants/numerical":1243,"../../lib":1260,"fast-isnumeric":180}],1446:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -154756,7 +154749,7 @@ module.exports = function supplyDefaults(traceIn, traceOut, defaultColor, layout errorBarsSupplyDefaults(traceIn, traceOut, Color.defaultLine, {axis: 'x', inherit: 'y'}); }; -},{"../../components/color":1164,"../../components/errorbars/defaults":1192,"../../lib":1264,"../../registry":1371,"../bar/style_defaults":1392,"./attributes":1444,"./bin_defaults":1446}],1451:[function(require,module,exports){ +},{"../../components/color":1160,"../../components/errorbars/defaults":1188,"../../lib":1260,"../../registry":1367,"../bar/style_defaults":1388,"./attributes":1440,"./bin_defaults":1442}],1447:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -154811,7 +154804,7 @@ Histogram.meta = { module.exports = Histogram; -},{"../../plots/cartesian":1304,"../bar/hover":1384,"../bar/layout_attributes":1386,"../bar/layout_defaults":1387,"../bar/plot":1388,"../bar/set_positions":1389,"../bar/style":1391,"../scatter/colorbar":1491,"./attributes":1444,"./calc":1448,"./defaults":1450}],1452:[function(require,module,exports){ +},{"../../plots/cartesian":1300,"../bar/hover":1380,"../bar/layout_attributes":1382,"../bar/layout_defaults":1383,"../bar/plot":1384,"../bar/set_positions":1385,"../bar/style":1387,"../scatter/colorbar":1487,"./attributes":1440,"./calc":1444,"./defaults":1446}],1448:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -154846,7 +154839,7 @@ module.exports = { } }; -},{}],1453:[function(require,module,exports){ +},{}],1449:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -154898,7 +154891,7 @@ module.exports = extendFlat({}, { colorbar: colorbarAttrs } ); -},{"../../components/colorbar/attributes":1165,"../../components/colorscale/attributes":1169,"../../lib/extend":1257,"../heatmap/attributes":1425,"../histogram/attributes":1444}],1454:[function(require,module,exports){ +},{"../../components/colorbar/attributes":1161,"../../components/colorscale/attributes":1165,"../../lib/extend":1253,"../heatmap/attributes":1421,"../histogram/attributes":1440}],1450:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -155101,7 +155094,7 @@ module.exports = function calc(gd, trace) { }; }; -},{"../../lib":1264,"../../plots/cartesian/axes":1296,"../histogram/average":1445,"../histogram/bin_functions":1447,"../histogram/clean_bins":1449,"../histogram/norm_functions":1452}],1455:[function(require,module,exports){ +},{"../../lib":1260,"../../plots/cartesian/axes":1292,"../histogram/average":1441,"../histogram/bin_functions":1443,"../histogram/clean_bins":1445,"../histogram/norm_functions":1448}],1451:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -155139,7 +155132,7 @@ module.exports = function supplyDefaults(traceIn, traceOut, defaultColor, layout ); }; -},{"../../components/colorscale/defaults":1173,"../../lib":1264,"./attributes":1453,"./sample_defaults":1457}],1456:[function(require,module,exports){ +},{"../../components/colorscale/defaults":1169,"../../lib":1260,"./attributes":1449,"./sample_defaults":1453}],1452:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -155179,7 +155172,7 @@ Histogram2D.meta = { module.exports = Histogram2D; -},{"../../plots/cartesian":1304,"../heatmap/calc":1426,"../heatmap/colorbar":1428,"../heatmap/hover":1433,"../heatmap/plot":1438,"../heatmap/style":1439,"./attributes":1453,"./defaults":1455}],1457:[function(require,module,exports){ +},{"../../plots/cartesian":1300,"../heatmap/calc":1422,"../heatmap/colorbar":1424,"../heatmap/hover":1429,"../heatmap/plot":1434,"../heatmap/style":1435,"./attributes":1449,"./defaults":1451}],1453:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -155219,7 +155212,7 @@ module.exports = function handleSampleDefaults(traceIn, traceOut, coerce, layout handleBinDefaults(traceIn, traceOut, coerce, binDirections); }; -},{"../../registry":1371,"../histogram/bin_defaults":1446}],1458:[function(require,module,exports){ +},{"../../registry":1367,"../histogram/bin_defaults":1442}],1454:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -155261,7 +155254,7 @@ module.exports = extendFlat({}, { { colorbar: colorbarAttrs } ); -},{"../../components/colorbar/attributes":1165,"../../components/colorscale/attributes":1169,"../../lib/extend":1257,"../contour/attributes":1412,"../histogram2d/attributes":1453}],1459:[function(require,module,exports){ +},{"../../components/colorbar/attributes":1161,"../../components/colorscale/attributes":1165,"../../lib/extend":1253,"../contour/attributes":1408,"../histogram2d/attributes":1449}],1455:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -155297,7 +155290,7 @@ module.exports = function supplyDefaults(traceIn, traceOut, defaultColor, layout handleStyleDefaults(traceIn, traceOut, coerce, layout); }; -},{"../../lib":1264,"../contour/style_defaults":1424,"../histogram2d/sample_defaults":1457,"./attributes":1458}],1460:[function(require,module,exports){ +},{"../../lib":1260,"../contour/style_defaults":1420,"../histogram2d/sample_defaults":1453,"./attributes":1454}],1456:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -155337,7 +155330,7 @@ Histogram2dContour.meta = { module.exports = Histogram2dContour; -},{"../../plots/cartesian":1304,"../contour/calc":1413,"../contour/colorbar":1414,"../contour/hover":1418,"../contour/plot":1422,"../contour/style":1423,"./attributes":1458,"./defaults":1459}],1461:[function(require,module,exports){ +},{"../../plots/cartesian":1300,"../contour/calc":1409,"../contour/colorbar":1410,"../contour/hover":1414,"../contour/plot":1418,"../contour/style":1419,"./attributes":1454,"./defaults":1455}],1457:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -155535,7 +155528,7 @@ module.exports = { }, surfaceAtts.lighting) }; -},{"../../components/colorbar/attributes":1165,"../../components/colorscale/attributes":1169,"../../lib/extend":1257,"../surface/attributes":1544}],1462:[function(require,module,exports){ +},{"../../components/colorbar/attributes":1161,"../../components/colorscale/attributes":1165,"../../lib/extend":1253,"../surface/attributes":1540}],1458:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -155697,7 +155690,7 @@ function createMesh3DTrace(scene, data) { module.exports = createMesh3DTrace; -},{"../../lib/str2rgbarray":1278,"alpha-shape":146,"convex-hull":165,"delaunay-triangulate":182,"gl-mesh3d":251,"tinycolor2":1132}],1463:[function(require,module,exports){ +},{"../../lib/str2rgbarray":1274,"alpha-shape":142,"convex-hull":161,"delaunay-triangulate":178,"gl-mesh3d":247,"tinycolor2":1128}],1459:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -155798,7 +155791,7 @@ module.exports = function supplyDefaults(traceIn, traceOut, defaultColor, layout } }; -},{"../../components/colorbar/defaults":1166,"../../lib":1264,"../../registry":1371,"./attributes":1461}],1464:[function(require,module,exports){ +},{"../../components/colorbar/defaults":1162,"../../lib":1260,"../../registry":1367,"./attributes":1457}],1460:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -155834,7 +155827,7 @@ Mesh3D.meta = { module.exports = Mesh3D; -},{"../../plots/gl3d":1335,"../heatmap/colorbar":1428,"./attributes":1461,"./convert":1462,"./defaults":1463}],1465:[function(require,module,exports){ +},{"../../plots/gl3d":1331,"../heatmap/colorbar":1424,"./attributes":1457,"./convert":1458,"./defaults":1459}],1461:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -155969,7 +155962,7 @@ module.exports = { } }; -},{"../../lib":1264,"../scatter/attributes":1488}],1466:[function(require,module,exports){ +},{"../../lib":1260,"../scatter/attributes":1484}],1462:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -156018,7 +156011,7 @@ function handleDirection(traceIn, traceOut, coerce, direction) { coerce(direction + '.line.dash', traceOut.line.dash); } -},{"../../lib":1264,"./attributes":1465,"./direction_defaults":1467,"./helpers":1468,"./ohlc_defaults":1470}],1467:[function(require,module,exports){ +},{"../../lib":1260,"./attributes":1461,"./direction_defaults":1463,"./helpers":1464,"./ohlc_defaults":1466}],1463:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -156044,7 +156037,7 @@ module.exports = function handleDirectionDefaults(traceIn, traceOut, coerce, dir coerce(direction + '.name', nameDflt); }; -},{}],1468:[function(require,module,exports){ +},{}],1464:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -156156,7 +156149,7 @@ exports.addRangeSlider = function(layout) { if(!layout.xaxis.rangeslider) layout.xaxis.rangeslider = {}; }; -},{"../../lib":1264}],1469:[function(require,module,exports){ +},{"../../lib":1260}],1465:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -156198,7 +156191,7 @@ module.exports = { register(require('../scatter')); register(require('./transform')); -},{"../../plot_api/register":1286,"../../plots/cartesian":1304,"../scatter":1498,"./attributes":1465,"./defaults":1466,"./transform":1471}],1470:[function(require,module,exports){ +},{"../../plot_api/register":1282,"../../plots/cartesian":1300,"../scatter":1494,"./attributes":1461,"./defaults":1462,"./transform":1467}],1466:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -156240,7 +156233,7 @@ module.exports = function handleOHLC(traceIn, traceOut, coerce, layout) { return len; }; -},{"../../registry":1371}],1471:[function(require,module,exports){ +},{"../../registry":1367}],1467:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -156499,7 +156492,7 @@ function convertTickWidth(gd, xa, trace) { return minDiff * tickWidth; } -},{"../../lib":1264,"../../plots/cartesian/axes":1296,"../../plots/cartesian/axis_ids":1299,"./helpers":1468}],1472:[function(require,module,exports){ +},{"../../lib":1260,"../../plots/cartesian/axes":1292,"../../plots/cartesian/axis_ids":1295,"./helpers":1464}],1468:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -156729,7 +156722,7 @@ module.exports = { } }; -},{"../../components/color/attributes":1163,"../../lib/extend":1257,"../../plots/attributes":1294,"../../plots/font_attributes":1316}],1473:[function(require,module,exports){ +},{"../../components/color/attributes":1159,"../../lib/extend":1253,"../../plots/attributes":1290,"../../plots/font_attributes":1312}],1469:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -156776,7 +156769,7 @@ function getCdModule(calcdata, _module) { return cdModule; } -},{"../../registry":1371}],1474:[function(require,module,exports){ +},{"../../registry":1367}],1470:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -156928,7 +156921,7 @@ function nextDefaultColor(index) { return pieDefaultColors[index % pieDefaultColors.length]; } -},{"../../components/color":1164,"./helpers":1476,"fast-isnumeric":184,"tinycolor2":1132}],1475:[function(require,module,exports){ +},{"../../components/color":1160,"./helpers":1472,"fast-isnumeric":180,"tinycolor2":1128}],1471:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -157012,7 +157005,7 @@ module.exports = function supplyDefaults(traceIn, traceOut, defaultColor, layout coerce('pull'); }; -},{"../../lib":1264,"./attributes":1472}],1476:[function(require,module,exports){ +},{"../../lib":1260,"./attributes":1468}],1472:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -157041,7 +157034,7 @@ exports.formatPieValue = function formatPieValue(v, separators) { return Lib.numSeparate(vRounded, separators); }; -},{"../../lib":1264}],1477:[function(require,module,exports){ +},{"../../lib":1260}],1473:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -157077,7 +157070,7 @@ Pie.meta = { module.exports = Pie; -},{"./attributes":1472,"./base_plot":1473,"./calc":1474,"./defaults":1475,"./layout_attributes":1478,"./layout_defaults":1479,"./plot":1480,"./style":1481,"./style_one":1482}],1478:[function(require,module,exports){ +},{"./attributes":1468,"./base_plot":1469,"./calc":1470,"./defaults":1471,"./layout_attributes":1474,"./layout_defaults":1475,"./plot":1476,"./style":1477,"./style_one":1478}],1474:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -157097,7 +157090,7 @@ module.exports = { hiddenlabels: {valType: 'data_array'} }; -},{}],1479:[function(require,module,exports){ +},{}],1475:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -157119,7 +157112,7 @@ module.exports = function supplyLayoutDefaults(layoutIn, layoutOut) { coerce('hiddenlabels'); }; -},{"../../lib":1264,"./layout_attributes":1478}],1480:[function(require,module,exports){ +},{"../../lib":1260,"./layout_attributes":1474}],1476:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -157814,7 +157807,7 @@ function maxExtent(tilt, tiltAxisFraction, depth) { 2 * Math.sqrt(1 - sinTilt * sinTilt * tiltAxisFraction * tiltAxisFraction)); } -},{"../../components/color":1164,"../../components/drawing":1187,"../../lib/svg_text_utils":1279,"../../plots/cartesian/graph_interact":1303,"./helpers":1476,"d3":176}],1481:[function(require,module,exports){ +},{"../../components/color":1160,"../../components/drawing":1183,"../../lib/svg_text_utils":1275,"../../plots/cartesian/graph_interact":1299,"./helpers":1472,"d3":172}],1477:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -157843,7 +157836,7 @@ module.exports = function style(gd) { }); }; -},{"./style_one":1482,"d3":176}],1482:[function(require,module,exports){ +},{"./style_one":1478,"d3":172}],1478:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -157870,7 +157863,7 @@ module.exports = function styleOne(s, pt, trace) { .call(Color.stroke, lineColor); }; -},{"../../components/color":1164}],1483:[function(require,module,exports){ +},{"../../components/color":1160}],1479:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -158004,7 +157997,7 @@ module.exports = { } }; -},{"../scattergl/attributes":1524}],1484:[function(require,module,exports){ +},{"../scattergl/attributes":1520}],1480:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -158236,7 +158229,7 @@ function createPointcloud(scene, data) { module.exports = createPointcloud; -},{"../../lib/str2rgbarray":1278,"../scatter/get_trace_color":1496,"gl-pointcloud2d":604}],1485:[function(require,module,exports){ +},{"../../lib/str2rgbarray":1274,"../scatter/get_trace_color":1492,"gl-pointcloud2d":600}],1481:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -158281,7 +158274,7 @@ module.exports = function supplyDefaults(traceIn, traceOut, defaultColor) { coerce('marker.border.arearatio'); }; -},{"../../lib":1264,"./attributes":1483}],1486:[function(require,module,exports){ +},{"../../lib":1260,"./attributes":1479}],1482:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -158314,7 +158307,7 @@ pointcloud.meta = { module.exports = pointcloud; -},{"../../plots/gl2d":1332,"../scatter3d/calc":1512,"./attributes":1483,"./convert":1484,"./defaults":1485}],1487:[function(require,module,exports){ +},{"../../plots/gl2d":1328,"../scatter3d/calc":1508,"./attributes":1479,"./convert":1480,"./defaults":1481}],1483:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -158352,7 +158345,7 @@ module.exports = function arraysToCalcdata(cd) { } }; -},{"../../lib":1264}],1488:[function(require,module,exports){ +},{"../../lib":1260}],1484:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -158718,7 +158711,7 @@ module.exports = { error_x: errorBarAttrs }; -},{"../../components/colorbar/attributes":1165,"../../components/colorscale/color_attributes":1171,"../../components/drawing":1187,"../../components/errorbars/attributes":1189,"../../lib/extend":1257,"./constants":1493}],1489:[function(require,module,exports){ +},{"../../components/colorbar/attributes":1161,"../../components/colorscale/color_attributes":1167,"../../components/drawing":1183,"../../components/errorbars/attributes":1185,"../../lib/extend":1253,"./constants":1489}],1485:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -158849,7 +158842,7 @@ module.exports = function calc(gd, trace) { return cd; }; -},{"../../lib":1264,"../../plots/cartesian/axes":1296,"./colorscale_calc":1492,"./subtypes":1508,"fast-isnumeric":184}],1490:[function(require,module,exports){ +},{"../../lib":1260,"../../plots/cartesian/axes":1292,"./colorscale_calc":1488,"./subtypes":1504,"fast-isnumeric":180}],1486:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -158888,7 +158881,7 @@ module.exports = function cleanData(fullData) { } }; -},{}],1491:[function(require,module,exports){ +},{}],1487:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -158945,7 +158938,7 @@ module.exports = function colorbar(gd, cd) { .options(marker.colorbar)(); }; -},{"../../components/colorbar/draw":1167,"../../components/colorscale":1178,"../../lib":1264,"../../plots/plots":1356,"fast-isnumeric":184}],1492:[function(require,module,exports){ +},{"../../components/colorbar/draw":1163,"../../components/colorscale":1174,"../../lib":1260,"../../plots/plots":1352,"fast-isnumeric":180}],1488:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -158978,7 +158971,7 @@ module.exports = function calcMarkerColorscale(trace) { } }; -},{"../../components/colorscale/calc":1170,"../../components/colorscale/has_colorscale":1177,"./subtypes":1508}],1493:[function(require,module,exports){ +},{"../../components/colorscale/calc":1166,"../../components/colorscale/has_colorscale":1173,"./subtypes":1504}],1489:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -158994,7 +158987,7 @@ module.exports = { PTS_LINESONLY: 20 }; -},{}],1494:[function(require,module,exports){ +},{}],1490:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -159074,7 +159067,7 @@ module.exports = function supplyDefaults(traceIn, traceOut, defaultColor, layout errorBarsSupplyDefaults(traceIn, traceOut, defaultColor, {axis: 'x', inherit: 'y'}); }; -},{"../../components/errorbars/defaults":1192,"../../lib":1264,"./attributes":1488,"./constants":1493,"./fillcolor_defaults":1495,"./line_defaults":1499,"./line_shape_defaults":1501,"./marker_defaults":1504,"./subtypes":1508,"./text_defaults":1509,"./xy_defaults":1510}],1495:[function(require,module,exports){ +},{"../../components/errorbars/defaults":1188,"../../lib":1260,"./attributes":1484,"./constants":1489,"./fillcolor_defaults":1491,"./line_defaults":1495,"./line_shape_defaults":1497,"./marker_defaults":1500,"./subtypes":1504,"./text_defaults":1505,"./xy_defaults":1506}],1491:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -159112,7 +159105,7 @@ module.exports = function fillColorDefaults(traceIn, traceOut, defaultColor, coe )); }; -},{"../../components/color":1164}],1496:[function(require,module,exports){ +},{"../../components/color":1160}],1492:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -159165,7 +159158,7 @@ module.exports = function getTraceColor(trace, di) { } }; -},{"../../components/color":1164,"./subtypes":1508}],1497:[function(require,module,exports){ +},{"../../components/color":1160,"./subtypes":1504}],1493:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -159334,7 +159327,7 @@ module.exports = function hoverPoints(pointData, xval, yval, hovermode) { } }; -},{"../../components/color":1164,"../../components/errorbars":1193,"../../lib":1264,"../../plots/cartesian/constants":1301,"../../plots/cartesian/graph_interact":1303,"./get_trace_color":1496}],1498:[function(require,module,exports){ +},{"../../components/color":1160,"../../components/errorbars":1189,"../../lib":1260,"../../plots/cartesian/constants":1297,"../../plots/cartesian/graph_interact":1299,"./get_trace_color":1492}],1494:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -159384,7 +159377,7 @@ Scatter.meta = { module.exports = Scatter; -},{"../../plots/cartesian":1304,"./arrays_to_calcdata":1487,"./attributes":1488,"./calc":1489,"./clean_data":1490,"./colorbar":1491,"./defaults":1494,"./hover":1497,"./plot":1505,"./select":1506,"./style":1507,"./subtypes":1508}],1499:[function(require,module,exports){ +},{"../../plots/cartesian":1300,"./arrays_to_calcdata":1483,"./attributes":1484,"./calc":1485,"./clean_data":1486,"./colorbar":1487,"./defaults":1490,"./hover":1493,"./plot":1501,"./select":1502,"./style":1503,"./subtypes":1504}],1495:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -159417,7 +159410,7 @@ module.exports = function lineDefaults(traceIn, traceOut, defaultColor, layout, coerce('line.dash'); }; -},{"../../components/colorscale/defaults":1173,"../../components/colorscale/has_colorscale":1177}],1500:[function(require,module,exports){ +},{"../../components/colorscale/defaults":1169,"../../components/colorscale/has_colorscale":1173}],1496:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -159590,7 +159583,7 @@ module.exports = function linePoints(d, opts) { return segments; }; -},{"../../constants/numerical":1247}],1501:[function(require,module,exports){ +},{"../../constants/numerical":1243}],1497:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -159609,7 +159602,7 @@ module.exports = function handleLineShapeDefaults(traceIn, traceOut, coerce) { if(shape === 'spline') coerce('line.smoothing'); }; -},{}],1502:[function(require,module,exports){ +},{}],1498:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -159650,7 +159643,7 @@ module.exports = function linkTraces(gd, plotinfo, cdscatter) { } }; -},{}],1503:[function(require,module,exports){ +},{}],1499:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -159692,7 +159685,7 @@ module.exports = function makeBubbleSizeFn(trace) { }; }; -},{"fast-isnumeric":184}],1504:[function(require,module,exports){ +},{"fast-isnumeric":180}],1500:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -159752,7 +159745,7 @@ module.exports = function markerDefaults(traceIn, traceOut, defaultColor, layout } }; -},{"../../components/color":1164,"../../components/colorscale/defaults":1173,"../../components/colorscale/has_colorscale":1177,"./subtypes":1508}],1505:[function(require,module,exports){ +},{"../../components/color":1160,"../../components/colorscale/defaults":1169,"../../components/colorscale/has_colorscale":1173,"./subtypes":1504}],1501:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -160290,7 +160283,7 @@ function selectMarkers(gd, idx, plotinfo, cdscatter, cdscatterAll) { }); } -},{"../../components/drawing":1187,"../../components/errorbars":1193,"../../lib":1264,"../../lib/polygon":1272,"./arrays_to_calcdata":1487,"./line_points":1500,"./link_traces":1502,"./subtypes":1508,"d3":176}],1506:[function(require,module,exports){ +},{"../../components/drawing":1183,"../../components/errorbars":1189,"../../lib":1260,"../../lib/polygon":1268,"./arrays_to_calcdata":1483,"./line_points":1496,"./link_traces":1498,"./subtypes":1504,"d3":172}],1502:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -160362,7 +160355,7 @@ module.exports = function selectPoints(searchInfo, polygon) { return selection; }; -},{"./subtypes":1508}],1507:[function(require,module,exports){ +},{"./subtypes":1504}],1503:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -160404,7 +160397,7 @@ module.exports = function style(gd) { s.call(ErrorBars.style); }; -},{"../../components/drawing":1187,"../../components/errorbars":1193,"d3":176}],1508:[function(require,module,exports){ +},{"../../components/drawing":1183,"../../components/errorbars":1189,"d3":172}],1504:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -160440,7 +160433,7 @@ module.exports = { } }; -},{"../../lib":1264}],1509:[function(require,module,exports){ +},{"../../lib":1260}],1505:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -160461,7 +160454,7 @@ module.exports = function(traceIn, traceOut, layout, coerce) { Lib.coerceFont(coerce, 'textfont', layout.font); }; -},{"../../lib":1264}],1510:[function(require,module,exports){ +},{"../../lib":1260}],1506:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -160511,7 +160504,7 @@ module.exports = function handleXYDefaults(traceIn, traceOut, layout, coerce) { return len; }; -},{"../../registry":1371}],1511:[function(require,module,exports){ +},{"../../registry":1367}],1507:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -160671,7 +160664,7 @@ module.exports = { error_z: errorBarAttrs, }; -},{"../../components/colorscale/color_attributes":1171,"../../components/errorbars/attributes":1189,"../../constants/gl_markers":1246,"../../lib/extend":1257,"../scatter/attributes":1488}],1512:[function(require,module,exports){ +},{"../../components/colorscale/color_attributes":1167,"../../components/errorbars/attributes":1185,"../../constants/gl_markers":1242,"../../lib/extend":1253,"../scatter/attributes":1484}],1508:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -160700,7 +160693,7 @@ module.exports = function calc(gd, trace) { return cd; }; -},{"../scatter/arrays_to_calcdata":1487,"../scatter/colorscale_calc":1492}],1513:[function(require,module,exports){ +},{"../scatter/arrays_to_calcdata":1483,"../scatter/colorscale_calc":1488}],1509:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -160771,7 +160764,7 @@ function calculateErrors(data, scaleFactor) { module.exports = calculateErrors; -},{"../../components/errorbars/compute_error":1191}],1514:[function(require,module,exports){ +},{"../../components/errorbars/compute_error":1187}],1510:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -161233,7 +161226,7 @@ function createLineWithMarkers(scene, data) { module.exports = createLineWithMarkers; -},{"../../constants/gl3d_dashes":1245,"../../constants/gl_markers":1246,"../../lib":1264,"../../lib/gl_format_color":1262,"../../lib/str2rgbarray":1278,"../scatter/make_bubble_size_func":1503,"./calc_errors":1513,"delaunay-triangulate":182,"gl-error3d":191,"gl-line3d":217,"gl-mesh3d":251,"gl-scatter3d":831}],1515:[function(require,module,exports){ +},{"../../constants/gl3d_dashes":1241,"../../constants/gl_markers":1242,"../../lib":1260,"../../lib/gl_format_color":1258,"../../lib/str2rgbarray":1274,"../scatter/make_bubble_size_func":1499,"./calc_errors":1509,"delaunay-triangulate":178,"gl-error3d":187,"gl-line3d":213,"gl-mesh3d":247,"gl-scatter3d":827}],1511:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -161322,7 +161315,7 @@ function handleXYZDefaults(traceIn, traceOut, coerce, layout) { return len; } -},{"../../components/errorbars/defaults":1192,"../../lib":1264,"../../registry":1371,"../scatter/line_defaults":1499,"../scatter/marker_defaults":1504,"../scatter/subtypes":1508,"../scatter/text_defaults":1509,"./attributes":1511}],1516:[function(require,module,exports){ +},{"../../components/errorbars/defaults":1188,"../../lib":1260,"../../registry":1367,"../scatter/line_defaults":1495,"../scatter/marker_defaults":1500,"../scatter/subtypes":1504,"../scatter/text_defaults":1505,"./attributes":1507}],1512:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -161360,7 +161353,7 @@ Scatter3D.meta = { module.exports = Scatter3D; -},{"../../constants/gl_markers":1246,"../../plots/gl3d":1335,"../scatter/colorbar":1491,"./attributes":1511,"./calc":1512,"./convert":1514,"./defaults":1515}],1517:[function(require,module,exports){ +},{"../../constants/gl_markers":1242,"../../plots/gl3d":1331,"../scatter/colorbar":1487,"./attributes":1507,"./calc":1508,"./convert":1510,"./defaults":1511}],1513:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -161468,7 +161461,7 @@ module.exports = { }) }; -},{"../../components/colorscale/color_attributes":1171,"../../lib/extend":1257,"../../plots/attributes":1294,"../scatter/attributes":1488}],1518:[function(require,module,exports){ +},{"../../components/colorscale/color_attributes":1167,"../../lib/extend":1253,"../../plots/attributes":1290,"../scatter/attributes":1484}],1514:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -161525,7 +161518,7 @@ module.exports = function calc(gd, trace) { return calcTrace; }; -},{"../scatter/colorscale_calc":1492,"fast-isnumeric":184}],1519:[function(require,module,exports){ +},{"../scatter/colorscale_calc":1488,"fast-isnumeric":180}],1515:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -161605,7 +161598,7 @@ function handleLonLatLocDefaults(traceIn, traceOut, coerce) { return len; } -},{"../../lib":1264,"../scatter/fillcolor_defaults":1495,"../scatter/line_defaults":1499,"../scatter/marker_defaults":1504,"../scatter/subtypes":1508,"../scatter/text_defaults":1509,"./attributes":1517}],1520:[function(require,module,exports){ +},{"../../lib":1260,"../scatter/fillcolor_defaults":1491,"../scatter/line_defaults":1495,"../scatter/marker_defaults":1500,"../scatter/subtypes":1504,"../scatter/text_defaults":1505,"./attributes":1513}],1516:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -161626,7 +161619,7 @@ module.exports = function eventData(out, pt) { return out; }; -},{}],1521:[function(require,module,exports){ +},{}],1517:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -161736,7 +161729,7 @@ function getExtraText(trace, pt, axis) { return text.join('
'); } -},{"../../plots/cartesian/axes":1296,"../../plots/cartesian/graph_interact":1303,"../scatter/get_trace_color":1496,"./attributes":1517}],1522:[function(require,module,exports){ +},{"../../plots/cartesian/axes":1292,"../../plots/cartesian/graph_interact":1299,"../scatter/get_trace_color":1492,"./attributes":1513}],1518:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -161773,7 +161766,7 @@ ScatterGeo.meta = { module.exports = ScatterGeo; -},{"../../plots/geo":1320,"../scatter/colorbar":1491,"./attributes":1517,"./calc":1518,"./defaults":1519,"./event_data":1520,"./hover":1521,"./plot":1523}],1523:[function(require,module,exports){ +},{"../../plots/geo":1316,"../scatter/colorbar":1487,"./attributes":1513,"./calc":1514,"./defaults":1515,"./event_data":1516,"./hover":1517,"./plot":1519}],1519:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -161945,7 +161938,7 @@ function style(geo) { }); } -},{"../../components/color":1164,"../../components/drawing":1187,"../../lib":1264,"../../lib/array_to_calc_item":1252,"../../lib/geo_location_utils":1260,"../../lib/geojson_utils":1261,"../../lib/topojson_utils":1280,"../scatter/subtypes":1508,"d3":176}],1524:[function(require,module,exports){ +},{"../../components/color":1160,"../../components/drawing":1183,"../../lib":1260,"../../lib/array_to_calc_item":1248,"../../lib/geo_location_utils":1256,"../../lib/geojson_utils":1257,"../../lib/topojson_utils":1276,"../scatter/subtypes":1504,"d3":172}],1520:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -162035,7 +162028,7 @@ module.exports = { error_x: scatterAttrs.error_x }; -},{"../../components/colorscale/color_attributes":1171,"../../constants/gl2d_dashes":1244,"../../constants/gl_markers":1246,"../../lib/extend":1257,"../scatter/attributes":1488}],1525:[function(require,module,exports){ +},{"../../components/colorscale/color_attributes":1167,"../../constants/gl2d_dashes":1240,"../../constants/gl_markers":1242,"../../lib/extend":1253,"../scatter/attributes":1484}],1521:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -162650,7 +162643,7 @@ function createLineWithMarkers(scene, data) { module.exports = createLineWithMarkers; -},{"../../components/errorbars":1193,"../../constants/gl2d_dashes":1244,"../../constants/gl_markers":1246,"../../lib":1264,"../../lib/gl_format_color":1262,"../../lib/str2rgbarray":1278,"../../lib/typed_array_truncate":1281,"../../plots/cartesian/axes":1296,"../../plots/cartesian/axis_autotype":1297,"../scatter/get_trace_color":1496,"../scatter/make_bubble_size_func":1503,"../scatter/subtypes":1508,"fast-isnumeric":184,"gl-error2d":185,"gl-line2d":210,"gl-scatter2d":733,"gl-scatter2d-fancy":724}],1526:[function(require,module,exports){ +},{"../../components/errorbars":1189,"../../constants/gl2d_dashes":1240,"../../constants/gl_markers":1242,"../../lib":1260,"../../lib/gl_format_color":1258,"../../lib/str2rgbarray":1274,"../../lib/typed_array_truncate":1277,"../../plots/cartesian/axes":1292,"../../plots/cartesian/axis_autotype":1293,"../scatter/get_trace_color":1492,"../scatter/make_bubble_size_func":1499,"../scatter/subtypes":1504,"fast-isnumeric":180,"gl-error2d":181,"gl-line2d":206,"gl-scatter2d":729,"gl-scatter2d-fancy":720}],1522:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -162707,7 +162700,7 @@ module.exports = function supplyDefaults(traceIn, traceOut, defaultColor, layout errorBarsSupplyDefaults(traceIn, traceOut, defaultColor, {axis: 'x', inherit: 'y'}); }; -},{"../../components/errorbars/defaults":1192,"../../lib":1264,"../scatter/constants":1493,"../scatter/fillcolor_defaults":1495,"../scatter/line_defaults":1499,"../scatter/marker_defaults":1504,"../scatter/subtypes":1508,"../scatter/xy_defaults":1510,"./attributes":1524}],1527:[function(require,module,exports){ +},{"../../components/errorbars/defaults":1188,"../../lib":1260,"../scatter/constants":1489,"../scatter/fillcolor_defaults":1491,"../scatter/line_defaults":1495,"../scatter/marker_defaults":1500,"../scatter/subtypes":1504,"../scatter/xy_defaults":1506,"./attributes":1520}],1523:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -162743,7 +162736,7 @@ ScatterGl.meta = { module.exports = ScatterGl; -},{"../../plots/gl2d":1332,"../scatter/colorbar":1491,"../scatter3d/calc":1512,"./attributes":1524,"./convert":1525,"./defaults":1526}],1528:[function(require,module,exports){ +},{"../../plots/gl2d":1328,"../scatter/colorbar":1487,"../scatter3d/calc":1508,"./attributes":1520,"./convert":1521,"./defaults":1522}],1524:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -162851,7 +162844,7 @@ module.exports = { }), }; -},{"../../components/colorbar/attributes":1165,"../../lib/extend":1257,"../../plots/attributes":1294,"../../plots/mapbox/layout_attributes":1352,"../scatter/attributes":1488,"../scattergeo/attributes":1517}],1529:[function(require,module,exports){ +},{"../../components/colorbar/attributes":1161,"../../lib/extend":1253,"../../plots/attributes":1290,"../../plots/mapbox/layout_attributes":1348,"../scatter/attributes":1484,"../scattergeo/attributes":1513}],1525:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -162954,7 +162947,7 @@ module.exports = function calc(gd, trace) { return calcTrace; }; -},{"../../components/colorscale":1178,"../../lib":1264,"../scatter/colorscale_calc":1492,"../scatter/make_bubble_size_func":1503,"../scatter/subtypes":1508,"fast-isnumeric":184}],1530:[function(require,module,exports){ +},{"../../components/colorscale":1174,"../../lib":1260,"../scatter/colorscale_calc":1488,"../scatter/make_bubble_size_func":1499,"../scatter/subtypes":1504,"fast-isnumeric":180}],1526:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -163263,7 +163256,7 @@ function getFillFunc(attr) { function blankFillFunc() { return ''; } -},{"../../lib":1264,"../../lib/geojson_utils":1261,"../../plots/mapbox/convert_text_opts":1349,"../scatter/subtypes":1508}],1531:[function(require,module,exports){ +},{"../../lib":1260,"../../lib/geojson_utils":1257,"../../plots/mapbox/convert_text_opts":1345,"../scatter/subtypes":1504}],1527:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -163351,7 +163344,7 @@ function handleLonLatDefaults(traceIn, traceOut, coerce) { return len; } -},{"../../lib":1264,"../scatter/attributes":1488,"../scatter/fillcolor_defaults":1495,"../scatter/line_defaults":1499,"../scatter/marker_defaults":1504,"../scatter/subtypes":1508,"../scatter/text_defaults":1509,"./attributes":1528}],1532:[function(require,module,exports){ +},{"../../lib":1260,"../scatter/attributes":1484,"../scatter/fillcolor_defaults":1491,"../scatter/line_defaults":1495,"../scatter/marker_defaults":1500,"../scatter/subtypes":1504,"../scatter/text_defaults":1505,"./attributes":1524}],1528:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -163371,7 +163364,7 @@ module.exports = function eventData(out, pt) { return out; }; -},{}],1533:[function(require,module,exports){ +},{}],1529:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -163466,7 +163459,7 @@ function getExtraText(trace, di) { return text.join('
'); } -},{"../../plots/cartesian/graph_interact":1303,"../scatter/get_trace_color":1496}],1534:[function(require,module,exports){ +},{"../../plots/cartesian/graph_interact":1299,"../scatter/get_trace_color":1492}],1530:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -163503,7 +163496,7 @@ ScatterMapbox.meta = { module.exports = ScatterMapbox; -},{"../../plots/mapbox":1350,"../scatter/colorbar":1491,"./attributes":1528,"./calc":1529,"./defaults":1531,"./event_data":1532,"./hover":1533,"./plot":1535}],1535:[function(require,module,exports){ +},{"../../plots/mapbox":1346,"../scatter/colorbar":1487,"./attributes":1524,"./calc":1525,"./defaults":1527,"./event_data":1528,"./hover":1529,"./plot":1531}],1531:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -163627,7 +163620,7 @@ module.exports = function createScatterMapbox(mapbox, calcTrace) { return scatterMapbox; }; -},{"./convert":1530}],1536:[function(require,module,exports){ +},{"./convert":1526}],1532:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -163752,7 +163745,7 @@ module.exports = { hoveron: scatterAttrs.hoveron, }; -},{"../../components/colorbar/attributes":1165,"../../components/colorscale/color_attributes":1171,"../../lib/extend":1257,"../../plots/attributes":1294,"../scatter/attributes":1488}],1537:[function(require,module,exports){ +},{"../../components/colorbar/attributes":1161,"../../components/colorscale/color_attributes":1167,"../../lib/extend":1253,"../../plots/attributes":1290,"../scatter/attributes":1484}],1533:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -163851,7 +163844,7 @@ module.exports = function calc(gd, trace) { return cd; }; -},{"../../lib":1264,"../../plots/cartesian/axes":1296,"../scatter/colorscale_calc":1492,"../scatter/subtypes":1508,"fast-isnumeric":184}],1538:[function(require,module,exports){ +},{"../../lib":1260,"../../plots/cartesian/axes":1292,"../scatter/colorscale_calc":1488,"../scatter/subtypes":1504,"fast-isnumeric":180}],1534:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -163956,7 +163949,7 @@ module.exports = function supplyDefaults(traceIn, traceOut, defaultColor, layout coerce('hoveron', dfltHoverOn.join('+') || 'points'); }; -},{"../../lib":1264,"../scatter/constants":1493,"../scatter/fillcolor_defaults":1495,"../scatter/line_defaults":1499,"../scatter/line_shape_defaults":1501,"../scatter/marker_defaults":1504,"../scatter/subtypes":1508,"../scatter/text_defaults":1509,"./attributes":1536}],1539:[function(require,module,exports){ +},{"../../lib":1260,"../scatter/constants":1489,"../scatter/fillcolor_defaults":1491,"../scatter/line_defaults":1495,"../scatter/line_shape_defaults":1497,"../scatter/marker_defaults":1500,"../scatter/subtypes":1504,"../scatter/text_defaults":1505,"./attributes":1532}],1535:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -164027,7 +164020,7 @@ module.exports = function hoverPoints(pointData, xval, yval, hovermode) { return scatterPointData; }; -},{"../../plots/cartesian/axes":1296,"../scatter/hover":1497}],1540:[function(require,module,exports){ +},{"../../plots/cartesian/axes":1292,"../scatter/hover":1493}],1536:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -164063,7 +164056,7 @@ ScatterTernary.meta = { module.exports = ScatterTernary; -},{"../../plots/ternary":1364,"../scatter/colorbar":1491,"./attributes":1536,"./calc":1537,"./defaults":1538,"./hover":1539,"./plot":1541,"./select":1542,"./style":1543}],1541:[function(require,module,exports){ +},{"../../plots/ternary":1360,"../scatter/colorbar":1487,"./attributes":1532,"./calc":1533,"./defaults":1534,"./hover":1535,"./plot":1537,"./select":1538,"./style":1539}],1537:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -164109,7 +164102,7 @@ module.exports = function plot(ternary, data) { scatterPlot(ternary.graphDiv, plotinfo, calcdata); }; -},{"../scatter/plot":1505}],1542:[function(require,module,exports){ +},{"../scatter/plot":1501}],1538:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -164144,7 +164137,7 @@ module.exports = function selectPoints(searchInfo, polygon) { return selection; }; -},{"../scatter/select":1506}],1543:[function(require,module,exports){ +},{"../scatter/select":1502}],1539:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -164173,7 +164166,7 @@ module.exports = function style(gd) { scatterStyle(gd); }; -},{"../scatter/style":1507}],1544:[function(require,module,exports){ +},{"../scatter/style":1503}],1540:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -164421,7 +164414,7 @@ module.exports = { } }; -},{"../../components/color":1164,"../../components/colorbar/attributes":1165,"../../components/colorscale/attributes":1169,"../../lib/extend":1257}],1545:[function(require,module,exports){ +},{"../../components/color":1160,"../../components/colorbar/attributes":1161,"../../components/colorscale/attributes":1165,"../../lib/extend":1253}],1541:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -164445,7 +164438,7 @@ module.exports = function calc(gd, trace) { } }; -},{"../../components/colorscale/calc":1170}],1546:[function(require,module,exports){ +},{"../../components/colorscale/calc":1166}],1542:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -164497,7 +164490,7 @@ module.exports = function colorbar(gd, cd) { .options(trace.colorbar)(); }; -},{"../../components/colorbar/draw":1167,"../../components/colorscale":1178,"../../lib":1264,"../../plots/plots":1356,"fast-isnumeric":184}],1547:[function(require,module,exports){ +},{"../../components/colorbar/draw":1163,"../../components/colorscale":1174,"../../lib":1260,"../../plots/plots":1352,"fast-isnumeric":180}],1543:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -164881,7 +164874,7 @@ function createSurfaceTrace(scene, data) { module.exports = createSurfaceTrace; -},{"../../lib/str2rgbarray":1278,"gl-surface3d":903,"ndarray":1121,"ndarray-fill":1099,"ndarray-homography":1115,"ndarray-ops":1116,"tinycolor2":1132}],1548:[function(require,module,exports){ +},{"../../lib/str2rgbarray":1274,"gl-surface3d":899,"ndarray":1117,"ndarray-fill":1095,"ndarray-homography":1111,"ndarray-ops":1112,"tinycolor2":1128}],1544:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -165002,7 +164995,7 @@ function mapLegacy(traceIn, oldAttr, newAttr) { } } -},{"../../components/colorscale/defaults":1173,"../../lib":1264,"../../registry":1371,"./attributes":1544}],1549:[function(require,module,exports){ +},{"../../components/colorscale/defaults":1169,"../../lib":1260,"../../registry":1367,"./attributes":1540}],1545:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -165045,7 +165038,7 @@ Surface.meta = { module.exports = Surface; -},{"../../plots/gl3d":1335,"./attributes":1544,"./calc":1545,"./colorbar":1546,"./convert":1547,"./defaults":1548}],1550:[function(require,module,exports){ +},{"../../plots/gl3d":1331,"./attributes":1540,"./calc":1541,"./colorbar":1542,"./convert":1543,"./defaults":1544}],1546:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -165382,7 +165375,7 @@ function getFilterFunc(opts, d2c, targetCalendar) { } } -},{"../lib":1264,"../plot_api/plot_schema":1285,"../plots/cartesian/axis_autotype":1297,"../plots/cartesian/axis_ids":1299,"../plots/cartesian/set_convert":1310,"../registry":1371}],1551:[function(require,module,exports){ +},{"../lib":1260,"../plot_api/plot_schema":1281,"../plots/cartesian/axis_autotype":1293,"../plots/cartesian/axis_ids":1295,"../plots/cartesian/set_convert":1306,"../registry":1367}],1547:[function(require,module,exports){ /** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. @@ -165538,7 +165531,7 @@ function transformOne(trace, state) { return newData; } -},{"../lib":1264,"../plot_api/plot_schema":1285}],1552:[function(require,module,exports){ +},{"../lib":1260,"../plot_api/plot_schema":1281}],1548:[function(require,module,exports){ (function (Buffer){ /**! * contentstream - index.js @@ -165587,7 +165580,7 @@ ContentStream.prototype._read = function (n) { }; }).call(this,require("buffer").Buffer) -},{"buffer":33,"readable-stream":1562,"util":68}],1553:[function(require,module,exports){ +},{"buffer":33,"readable-stream":1558,"util":68}],1549:[function(require,module,exports){ (function (process){ // Copyright Joyent, Inc. and other Node contributors. // @@ -165680,7 +165673,7 @@ function forEach (xs, f) { } }).call(this,require('_process')) -},{"./_stream_readable":1555,"./_stream_writable":1557,"_process":41,"core-util-is":1558,"inherits":1559}],1554:[function(require,module,exports){ +},{"./_stream_readable":1551,"./_stream_writable":1553,"_process":41,"core-util-is":1554,"inherits":1555}],1550:[function(require,module,exports){ // Copyright Joyent, Inc. and other Node contributors. // // Permission is hereby granted, free of charge, to any person obtaining a @@ -165728,7 +165721,7 @@ PassThrough.prototype._transform = function(chunk, encoding, cb) { cb(null, chunk); }; -},{"./_stream_transform":1556,"core-util-is":1558,"inherits":1559}],1555:[function(require,module,exports){ +},{"./_stream_transform":1552,"core-util-is":1554,"inherits":1555}],1551:[function(require,module,exports){ (function (process){ // Copyright Joyent, Inc. and other Node contributors. // @@ -166714,7 +166707,7 @@ function indexOf (xs, x) { } }).call(this,require('_process')) -},{"_process":41,"buffer":33,"core-util-is":1558,"events":37,"inherits":1559,"isarray":1560,"stream":62,"string_decoder/":1561}],1556:[function(require,module,exports){ +},{"_process":41,"buffer":33,"core-util-is":1554,"events":37,"inherits":1555,"isarray":1556,"stream":62,"string_decoder/":1557}],1552:[function(require,module,exports){ // Copyright Joyent, Inc. and other Node contributors. // // Permission is hereby granted, free of charge, to any person obtaining a @@ -166926,7 +166919,7 @@ function done(stream, er) { return stream.push(null); } -},{"./_stream_duplex":1553,"core-util-is":1558,"inherits":1559}],1557:[function(require,module,exports){ +},{"./_stream_duplex":1549,"core-util-is":1554,"inherits":1555}],1553:[function(require,module,exports){ (function (process){ // Copyright Joyent, Inc. and other Node contributors. // @@ -167316,7 +167309,7 @@ function endWritable(stream, state, cb) { } }).call(this,require('_process')) -},{"./_stream_duplex":1553,"_process":41,"buffer":33,"core-util-is":1558,"inherits":1559,"stream":62}],1558:[function(require,module,exports){ +},{"./_stream_duplex":1549,"_process":41,"buffer":33,"core-util-is":1554,"inherits":1555,"stream":62}],1554:[function(require,module,exports){ (function (Buffer){ // Copyright Joyent, Inc. and other Node contributors. // @@ -167427,16 +167420,16 @@ function objectToString(o) { } }).call(this,{"isBuffer":require("../../../../../../../../browserify/node_modules/insert-module-globals/node_modules/is-buffer/index.js")}) -},{"../../../../../../../../browserify/node_modules/insert-module-globals/node_modules/is-buffer/index.js":39}],1559:[function(require,module,exports){ +},{"../../../../../../../../browserify/node_modules/insert-module-globals/node_modules/is-buffer/index.js":39}],1555:[function(require,module,exports){ arguments[4][12][0].apply(exports,arguments) -},{"dup":12}],1560:[function(require,module,exports){ +},{"dup":12}],1556:[function(require,module,exports){ module.exports = Array.isArray || function (arr) { return Object.prototype.toString.call(arr) == '[object Array]'; }; -},{}],1561:[function(require,module,exports){ +},{}],1557:[function(require,module,exports){ arguments[4][15][0].apply(exports,arguments) -},{"buffer":33,"dup":15}],1562:[function(require,module,exports){ +},{"buffer":33,"dup":15}],1558:[function(require,module,exports){ (function (process){ var Stream = require('stream'); // hack to fix a circular dependency issue when used with browserify exports = module.exports = require('./lib/_stream_readable.js'); @@ -167451,7 +167444,7 @@ if (!process.browser && process.env.READABLE_STREAM === 'disable') { } }).call(this,require('_process')) -},{"./lib/_stream_duplex.js":1553,"./lib/_stream_passthrough.js":1554,"./lib/_stream_readable.js":1555,"./lib/_stream_transform.js":1556,"./lib/_stream_writable.js":1557,"_process":41,"stream":62}],1563:[function(require,module,exports){ +},{"./lib/_stream_duplex.js":1549,"./lib/_stream_passthrough.js":1550,"./lib/_stream_readable.js":1551,"./lib/_stream_transform.js":1552,"./lib/_stream_writable.js":1553,"_process":41,"stream":62}],1559:[function(require,module,exports){ (function (Buffer){ /* GIFEncoder.js @@ -167924,7 +167917,7 @@ GIFEncoder.ByteCapacitor = ByteCapacitor; module.exports = GIFEncoder; }).call(this,require("buffer").Buffer) -},{"./LZWEncoder.js":1564,"./TypedNeuQuant.js":1565,"assert":18,"buffer":33,"events":37,"readable-stream":1575,"util":68}],1564:[function(require,module,exports){ +},{"./LZWEncoder.js":1560,"./TypedNeuQuant.js":1561,"assert":18,"buffer":33,"events":37,"readable-stream":1571,"util":68}],1560:[function(require,module,exports){ /* LZWEncoder.js @@ -168138,7 +168131,7 @@ function LZWEncoder(width, height, pixels, colorDepth) { module.exports = LZWEncoder; -},{}],1565:[function(require,module,exports){ +},{}],1561:[function(require,module,exports){ /* NeuQuant Neural-Net Quantization Algorithm * ------------------------------------------ * @@ -168571,11 +168564,11 @@ function NeuQuant(pixels, samplefac) { module.exports = NeuQuant; -},{}],1566:[function(require,module,exports){ -arguments[4][1553][0].apply(exports,arguments) -},{"./_stream_readable":1568,"./_stream_writable":1570,"_process":41,"core-util-is":1571,"dup":1553,"inherits":1572}],1567:[function(require,module,exports){ -arguments[4][1554][0].apply(exports,arguments) -},{"./_stream_transform":1569,"core-util-is":1571,"dup":1554,"inherits":1572}],1568:[function(require,module,exports){ +},{}],1562:[function(require,module,exports){ +arguments[4][1549][0].apply(exports,arguments) +},{"./_stream_readable":1564,"./_stream_writable":1566,"_process":41,"core-util-is":1567,"dup":1549,"inherits":1568}],1563:[function(require,module,exports){ +arguments[4][1550][0].apply(exports,arguments) +},{"./_stream_transform":1565,"core-util-is":1567,"dup":1550,"inherits":1568}],1564:[function(require,module,exports){ (function (process){ // Copyright Joyent, Inc. and other Node contributors. // @@ -169530,7 +169523,7 @@ function indexOf (xs, x) { } }).call(this,require('_process')) -},{"./_stream_duplex":1566,"_process":41,"buffer":33,"core-util-is":1571,"events":37,"inherits":1572,"isarray":1573,"stream":62,"string_decoder/":1574,"util":19}],1569:[function(require,module,exports){ +},{"./_stream_duplex":1562,"_process":41,"buffer":33,"core-util-is":1567,"events":37,"inherits":1568,"isarray":1569,"stream":62,"string_decoder/":1570,"util":19}],1565:[function(require,module,exports){ // Copyright Joyent, Inc. and other Node contributors. // // Permission is hereby granted, free of charge, to any person obtaining a @@ -169741,7 +169734,7 @@ function done(stream, er) { return stream.push(null); } -},{"./_stream_duplex":1566,"core-util-is":1571,"inherits":1572}],1570:[function(require,module,exports){ +},{"./_stream_duplex":1562,"core-util-is":1567,"inherits":1568}],1566:[function(require,module,exports){ (function (process){ // Copyright Joyent, Inc. and other Node contributors. // @@ -170222,15 +170215,15 @@ function endWritable(stream, state, cb) { } }).call(this,require('_process')) -},{"./_stream_duplex":1566,"_process":41,"buffer":33,"core-util-is":1571,"inherits":1572,"stream":62}],1571:[function(require,module,exports){ -arguments[4][1558][0].apply(exports,arguments) -},{"../../../../../../../../browserify/node_modules/insert-module-globals/node_modules/is-buffer/index.js":39,"dup":1558}],1572:[function(require,module,exports){ +},{"./_stream_duplex":1562,"_process":41,"buffer":33,"core-util-is":1567,"inherits":1568,"stream":62}],1567:[function(require,module,exports){ +arguments[4][1554][0].apply(exports,arguments) +},{"../../../../../../../../browserify/node_modules/insert-module-globals/node_modules/is-buffer/index.js":39,"dup":1554}],1568:[function(require,module,exports){ arguments[4][12][0].apply(exports,arguments) -},{"dup":12}],1573:[function(require,module,exports){ -arguments[4][1560][0].apply(exports,arguments) -},{"dup":1560}],1574:[function(require,module,exports){ +},{"dup":12}],1569:[function(require,module,exports){ +arguments[4][1556][0].apply(exports,arguments) +},{"dup":1556}],1570:[function(require,module,exports){ arguments[4][15][0].apply(exports,arguments) -},{"buffer":33,"dup":15}],1575:[function(require,module,exports){ +},{"buffer":33,"dup":15}],1571:[function(require,module,exports){ (function (process){ exports = module.exports = require('./lib/_stream_readable.js'); exports.Stream = require('stream'); @@ -170244,7 +170237,7 @@ if (!process.browser && process.env.READABLE_STREAM === 'disable') { } }).call(this,require('_process')) -},{"./lib/_stream_duplex.js":1566,"./lib/_stream_passthrough.js":1567,"./lib/_stream_readable.js":1568,"./lib/_stream_transform.js":1569,"./lib/_stream_writable.js":1570,"_process":41,"stream":62}],1576:[function(require,module,exports){ +},{"./lib/_stream_duplex.js":1562,"./lib/_stream_passthrough.js":1563,"./lib/_stream_readable.js":1564,"./lib/_stream_transform.js":1565,"./lib/_stream_writable.js":1566,"_process":41,"stream":62}],1572:[function(require,module,exports){ var encode = require('./lib/encoder'), decode = require('./lib/decoder'); @@ -170253,7 +170246,7 @@ module.exports = { decode: decode }; -},{"./lib/decoder":1577,"./lib/encoder":1578}],1577:[function(require,module,exports){ +},{"./lib/decoder":1573,"./lib/encoder":1574}],1573:[function(require,module,exports){ (function (Buffer){ /* -*- Mode: Java; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- / /* vim: set shiftwidth=2 tabstop=2 autoindent cindent expandtab: */ @@ -171236,7 +171229,7 @@ function decode(jpegData) { } }).call(this,require("buffer").Buffer) -},{"buffer":33}],1578:[function(require,module,exports){ +},{"buffer":33}],1574:[function(require,module,exports){ (function (Buffer){ /* Copyright (c) 2008, Adobe Systems Incorporated @@ -172006,23 +171999,23 @@ function getImageDataFromImage(idOrElement){ } }).call(this,require("buffer").Buffer) -},{"buffer":33}],1579:[function(require,module,exports){ -arguments[4][1116][0].apply(exports,arguments) -},{"cwise-compiler":1580,"dup":1116}],1580:[function(require,module,exports){ +},{"buffer":33}],1575:[function(require,module,exports){ +arguments[4][1112][0].apply(exports,arguments) +},{"cwise-compiler":1576,"dup":1112}],1576:[function(require,module,exports){ arguments[4][73][0].apply(exports,arguments) -},{"./lib/thunk.js":1582,"dup":73}],1581:[function(require,module,exports){ +},{"./lib/thunk.js":1578,"dup":73}],1577:[function(require,module,exports){ arguments[4][74][0].apply(exports,arguments) -},{"dup":74,"uniq":1583}],1582:[function(require,module,exports){ +},{"dup":74,"uniq":1579}],1578:[function(require,module,exports){ arguments[4][75][0].apply(exports,arguments) -},{"./compile.js":1581,"dup":75}],1583:[function(require,module,exports){ +},{"./compile.js":1577,"dup":75}],1579:[function(require,module,exports){ arguments[4][76][0].apply(exports,arguments) -},{"dup":76}],1584:[function(require,module,exports){ +},{"dup":76}],1580:[function(require,module,exports){ arguments[4][77][0].apply(exports,arguments) -},{"dup":77,"iota-array":1585,"is-buffer":1586}],1585:[function(require,module,exports){ +},{"dup":77,"iota-array":1581,"is-buffer":1582}],1581:[function(require,module,exports){ arguments[4][78][0].apply(exports,arguments) -},{"dup":78}],1586:[function(require,module,exports){ +},{"dup":78}],1582:[function(require,module,exports){ arguments[4][39][0].apply(exports,arguments) -},{"dup":39}],1587:[function(require,module,exports){ +},{"dup":39}],1583:[function(require,module,exports){ (function (Buffer){ 'use strict'; @@ -172218,7 +172211,7 @@ exports.dataToBitMap = function(data, bitmapInfo) { }; }).call(this,require("buffer").Buffer) -},{"./interlace":1597,"buffer":33}],1588:[function(require,module,exports){ +},{"./interlace":1593,"buffer":33}],1584:[function(require,module,exports){ (function (Buffer){ 'use strict'; @@ -172286,7 +172279,7 @@ module.exports = function(data, width, height, options) { }; }).call(this,require("buffer").Buffer) -},{"./constants":1590,"buffer":33}],1589:[function(require,module,exports){ +},{"./constants":1586,"buffer":33}],1585:[function(require,module,exports){ (function (process,Buffer){ 'use strict'; @@ -172499,7 +172492,7 @@ ChunkStream.prototype._process = function() { }; }).call(this,require('_process'),require("buffer").Buffer) -},{"_process":41,"buffer":33,"stream":62,"util":68}],1590:[function(require,module,exports){ +},{"_process":41,"buffer":33,"stream":62,"util":68}],1586:[function(require,module,exports){ 'use strict'; @@ -172535,7 +172528,7 @@ module.exports = { GAMMA_DIVISION: 100000 }; -},{}],1591:[function(require,module,exports){ +},{}],1587:[function(require,module,exports){ 'use strict'; var crcTable = []; @@ -172581,7 +172574,7 @@ CrcCalculator.crc32 = function(buf) { return crc ^ -1; }; -},{}],1592:[function(require,module,exports){ +},{}],1588:[function(require,module,exports){ (function (Buffer){ 'use strict'; @@ -172768,7 +172761,7 @@ module.exports = function(pxData, width, height, options, bpp) { }; }).call(this,require("buffer").Buffer) -},{"./paeth-predictor":1601,"buffer":33}],1593:[function(require,module,exports){ +},{"./paeth-predictor":1597,"buffer":33}],1589:[function(require,module,exports){ (function (Buffer){ 'use strict'; @@ -172797,7 +172790,7 @@ var FilterAsync = module.exports = function(bitmapInfo) { util.inherits(FilterAsync, ChunkStream); }).call(this,require("buffer").Buffer) -},{"./chunkstream":1589,"./filter-parse":1595,"buffer":33,"util":68}],1594:[function(require,module,exports){ +},{"./chunkstream":1585,"./filter-parse":1591,"buffer":33,"util":68}],1590:[function(require,module,exports){ (function (Buffer){ 'use strict'; @@ -172824,7 +172817,7 @@ exports.process = function(inBuffer, bitmapInfo) { return Buffer.concat(outBuffers); }; }).call(this,require("buffer").Buffer) -},{"./filter-parse":1595,"./sync-reader":1607,"buffer":33}],1595:[function(require,module,exports){ +},{"./filter-parse":1591,"./sync-reader":1603,"buffer":33}],1591:[function(require,module,exports){ (function (Buffer){ 'use strict'; @@ -172999,7 +172992,7 @@ Filter.prototype._reverseFilterLine = function(rawData) { }; }).call(this,require("buffer").Buffer) -},{"./interlace":1597,"./paeth-predictor":1601,"buffer":33}],1596:[function(require,module,exports){ +},{"./interlace":1593,"./paeth-predictor":1597,"buffer":33}],1592:[function(require,module,exports){ (function (Buffer){ 'use strict'; @@ -173092,7 +173085,7 @@ module.exports = function(indata, imageData) { }; }).call(this,require("buffer").Buffer) -},{"buffer":33}],1597:[function(require,module,exports){ +},{"buffer":33}],1593:[function(require,module,exports){ 'use strict'; // Adam 7 @@ -173180,7 +173173,7 @@ exports.getInterlaceIterator = function(width) { return (outerX * 4) + (outerY * width * 4); }; }; -},{}],1598:[function(require,module,exports){ +},{}],1594:[function(require,module,exports){ (function (Buffer){ 'use strict'; @@ -173229,7 +173222,7 @@ PackerAsync.prototype.pack = function(data, width, height, gamma) { }; }).call(this,require("buffer").Buffer) -},{"./constants":1590,"./packer":1600,"buffer":33,"stream":62,"util":68}],1599:[function(require,module,exports){ +},{"./constants":1586,"./packer":1596,"buffer":33,"stream":62,"util":68}],1595:[function(require,module,exports){ (function (Buffer){ 'use strict'; @@ -173281,7 +173274,7 @@ module.exports = function(metaData, opt) { }; }).call(this,require("buffer").Buffer) -},{"./constants":1590,"./packer":1600,"buffer":33,"zlib":32}],1600:[function(require,module,exports){ +},{"./constants":1586,"./packer":1596,"buffer":33,"zlib":32}],1596:[function(require,module,exports){ (function (Buffer){ 'use strict'; @@ -173376,7 +173369,7 @@ Packer.prototype.packIEND = function() { return this._packChunk(constants.TYPE_IEND, null); }; }).call(this,require("buffer").Buffer) -},{"./bitpacker":1588,"./constants":1590,"./crc":1591,"./filter-pack":1592,"buffer":33,"zlib":32}],1601:[function(require,module,exports){ +},{"./bitpacker":1584,"./constants":1586,"./crc":1587,"./filter-pack":1588,"buffer":33,"zlib":32}],1597:[function(require,module,exports){ 'use strict'; module.exports = function paethPredictor(left, above, upLeft) { @@ -173394,7 +173387,7 @@ module.exports = function paethPredictor(left, above, upLeft) { } return upLeft; }; -},{}],1602:[function(require,module,exports){ +},{}],1598:[function(require,module,exports){ 'use strict'; var util = require('util'); @@ -173506,7 +173499,7 @@ ParserAsync.prototype._complete = function(filteredData) { this.emit('parsed', normalisedBitmapData); }; -},{"./bitmapper":1587,"./chunkstream":1589,"./filter-parse-async":1593,"./format-normaliser":1596,"./parser":1604,"util":68,"zlib":32}],1603:[function(require,module,exports){ +},{"./bitmapper":1583,"./chunkstream":1585,"./filter-parse-async":1589,"./format-normaliser":1592,"./parser":1600,"util":68,"zlib":32}],1599:[function(require,module,exports){ (function (Buffer){ 'use strict'; @@ -173601,7 +173594,7 @@ module.exports = function(buffer, options) { }; }).call(this,require("buffer").Buffer) -},{"./bitmapper":1587,"./filter-parse-sync":1594,"./format-normaliser":1596,"./parser":1604,"./sync-reader":1607,"buffer":33,"zlib":32}],1604:[function(require,module,exports){ +},{"./bitmapper":1583,"./filter-parse-sync":1590,"./format-normaliser":1592,"./parser":1600,"./sync-reader":1603,"buffer":33,"zlib":32}],1600:[function(require,module,exports){ (function (Buffer){ 'use strict'; @@ -173895,7 +173888,7 @@ Parser.prototype._parseIEND = function(data) { }; }).call(this,require("buffer").Buffer) -},{"./constants":1590,"./crc":1591,"buffer":33}],1605:[function(require,module,exports){ +},{"./constants":1586,"./crc":1587,"buffer":33}],1601:[function(require,module,exports){ 'use strict'; @@ -173913,7 +173906,7 @@ exports.write = function(png) { return pack(png); }; -},{"./packer-sync":1599,"./parser-sync":1603}],1606:[function(require,module,exports){ +},{"./packer-sync":1595,"./parser-sync":1599}],1602:[function(require,module,exports){ (function (process,Buffer){ 'use strict'; @@ -174080,7 +174073,7 @@ PNG.prototype.adjustGamma = function() { }; }).call(this,require('_process'),require("buffer").Buffer) -},{"./packer-async":1598,"./parser-async":1602,"./png-sync":1605,"_process":41,"buffer":33,"stream":62,"util":68}],1607:[function(require,module,exports){ +},{"./packer-async":1594,"./parser-async":1598,"./png-sync":1601,"_process":41,"buffer":33,"stream":62,"util":68}],1603:[function(require,module,exports){ 'use strict'; var SyncReader = module.exports = function(buffer) { @@ -174133,9 +174126,9 @@ SyncReader.prototype.process = function() { }; -},{}],1608:[function(require,module,exports){ +},{}],1604:[function(require,module,exports){ arguments[4][81][0].apply(exports,arguments) -},{"_process":41,"dup":81,"stream":62}],1609:[function(require,module,exports){ +},{"_process":41,"dup":81,"stream":62}],1605:[function(require,module,exports){ (function (Buffer){ 'use strict' @@ -174280,7 +174273,7 @@ module.exports = function savePixels (array, type, options) { } }).call(this,require("buffer").Buffer) -},{"buffer":33,"contentstream":1552,"gif-encoder":1563,"jpeg-js":1576,"ndarray":1584,"ndarray-ops":1579,"pngjs-nozlib":1606,"through":1608}],1610:[function(require,module,exports){ +},{"buffer":33,"contentstream":1548,"gif-encoder":1559,"jpeg-js":1572,"ndarray":1580,"ndarray-ops":1575,"pngjs-nozlib":1602,"through":1604}],1606:[function(require,module,exports){ ImageBoard = function ImageBoard(options) { options = options || {}; @@ -174369,7 +174362,7 @@ ImageBoard = function ImageBoard(options) { } -},{"./Modules":1611,"./UserInterface":1612}],1611:[function(require,module,exports){ +},{"./Modules":1607,"./UserInterface":1608}],1607:[function(require,module,exports){ /* * Core modules */ @@ -174383,7 +174376,7 @@ module.exports = { } -},{"./modules/GreenChannel":1613,"./modules/ImageSelect":1614,"./modules/ImageThreshold":1615,"./modules/NdviRed":1616,"./modules/Plot":1618}],1612:[function(require,module,exports){ +},{"./modules/GreenChannel":1609,"./modules/ImageSelect":1610,"./modules/ImageThreshold":1611,"./modules/NdviRed":1612,"./modules/Plot":1614}],1608:[function(require,module,exports){ /* * Default UI for ImageBoard */ @@ -174411,7 +174404,7 @@ module.exports = function UserInterface(options) { } -},{}],1613:[function(require,module,exports){ +},{}],1609:[function(require,module,exports){ /* * Display only the green channel */ @@ -174447,7 +174440,7 @@ module.exports = function GreenChannel(options) { } } -},{"./PixelManipulation.js":1617}],1614:[function(require,module,exports){ +},{"./PixelManipulation.js":1613}],1610:[function(require,module,exports){ /* * Special module to kick off the sequence * -- depends on jQuery for interface setup & drag & drop @@ -174533,7 +174526,7 @@ module.exports = function ImageSelect(options) { } -},{}],1615:[function(require,module,exports){ +},{}],1611:[function(require,module,exports){ /* * Image thresholding with 'image-filter-threshold' */ @@ -174586,7 +174579,7 @@ module.exports = function ImageThreshold(options) { } } -},{"image-filter-core":85,"image-filter-threshold":90}],1616:[function(require,module,exports){ +},{"image-filter-core":85,"image-filter-threshold":86}],1612:[function(require,module,exports){ /* * NDVI with red filter (blue channel is infrared) */ @@ -174622,7 +174615,7 @@ module.exports = function NdviRed(options) { } } -},{"./PixelManipulation.js":1617}],1617:[function(require,module,exports){ +},{"./PixelManipulation.js":1613}],1613:[function(require,module,exports){ /* * General purpose per-pixel manipulation * accepting a changePixel() method to remix a pixel's channels @@ -174685,7 +174678,7 @@ module.exports = function PixelManipulation(image, options) { } -},{"base64-stream":1,"get-pixels":69,"save-pixels":1609}],1618:[function(require,module,exports){ +},{"base64-stream":1,"get-pixels":69,"save-pixels":1605}],1614:[function(require,module,exports){ /* * Plot image on a graph with color bar */ @@ -174769,4 +174762,4 @@ module.exports = function Plot(options) { } } -},{"get-pixels":69,"plotly.js":109}]},{},[1610]); +},{"get-pixels":69,"plotly.js":105}]},{},[1606]); diff --git a/package.json b/package.json index 838354ee..d2d9cd28 100644 --- a/package.json +++ b/package.json @@ -23,14 +23,13 @@ "jquery": "~2" }, "devDependencies": { - "get-pixels": "^3.3.0", - "save-pixels": "^2.3.4", - "base64-stream": "^0.1.3", - "buffer": "^5.0.2", - "plotly.js": "^1.21.2", - - "image-filter-threshold": "git+https://github.com/canastro/image-filter-threshold#prebundle", - "image-filter-core": "git+https://github.com/canastro/image-filter-core#prebundle", + "get-pixels": "~3.3.0", + "save-pixels": "~2.3.4", + "base64-stream": "~0.1.3", + "buffer": "~5.0.2", + "plotly.js": "~1.21.2", + "image-filter-threshold": "~1.0.0", + "image-filter-core": "~1.0.0", "browserify": "13.0.0", "grunt": "^0.4.5", From d1cc46667dd24b7a5820b4c4ad5480f0de3f8e23 Mon Sep 17 00:00:00 2001 From: jywarren Date: Sun, 8 Jan 2017 20:10:50 -0500 Subject: [PATCH 2/4] cleanup, start to testing, docs, etc --- Gruntfile.js | 60 +- README.md | 100 +- dist/image-sequencer.css | 82 + dist/{imageboard.js => image-sequencer.js} | 13339 ++++++++++++++++--- dist/imageboard.css | 60 - index.html | 30 +- package.json | 15 +- src/{ImageBoard.js => ImageSequencer.js} | 15 +- src/modules/GreenChannel.js | 2 +- src/modules/ImageSelect.js | 4 + test/image-sequencer.js | 27 + 11 files changed, 11828 insertions(+), 1906 deletions(-) create mode 100644 dist/image-sequencer.css rename dist/{imageboard.js => image-sequencer.js} (93%) delete mode 100644 dist/imageboard.css rename src/{ImageBoard.js => ImageSequencer.js} (83%) create mode 100644 test/image-sequencer.js diff --git a/Gruntfile.js b/Gruntfile.js index 675614c8..df8d9666 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -5,45 +5,31 @@ module.exports = function(grunt) { require('matchdep').filterDev('grunt-*').forEach(grunt.loadNpmTasks); grunt.initConfig({ - pkg: grunt.file.readJSON('package.json'), - watch: { - options : { - livereload: true - }, - source: { - files: [ - 'src/*.js', - 'src/*/*.js', - 'Gruntfile.js' - ], - tasks: [ 'build:js' ] - } - }, + pkg: grunt.file.readJSON('package.json'), - browserify: { - dist: { - src: [ - 'src/ImageBoard.js' - ], - dest: 'dist/imageboard.js' - } - }, - -/* - jasmine: { - imageboard: { - src: 'dist/*.js', - options: { - specs: 'spec/javascripts/*spec.js', - vendor: [ - 'node_modules/jquery/dist/jquery.min.js', - 'node_modules/jasmine-jquery/lib/jasmine-jquery.js' - ] - } + watch: { + options : { + livereload: true + }, + source: { + files: [ + 'src/*.js', + 'src/*/*.js', + 'Gruntfile.js' + ], + tasks: [ 'build:js' ] } - } -*/ + }, + + browserify: { + dist: { + src: [ + 'src/ImageSequencer.js' + ], + dest: 'dist/image-sequencer.js' + } + } }); @@ -54,6 +40,4 @@ module.exports = function(grunt) { 'browserify:dist' ]); -// grunt.loadNpmTasks('grunt-contrib-jasmine'); - }; diff --git a/README.md b/README.md index 365656fe..7498c8f5 100644 --- a/README.md +++ b/README.md @@ -1,13 +1,63 @@ -ImageBoard -ImageFlow +Image Sequencer ======== -* [ ] steps don't run on last step; they run on initial image +aka "Consequencer" + +## Why + +Image Sequencer is different from other image processing systems in that instead of modifying the original image, it creates a new image at each step. This is because it: + +* produces a legible trail of operations, to "show your work" for evidential, educational, or reproducibility reasons +* makes the creation of new tools or "modules" simpler -- each must accept an input image, and produce an output image +* allows many images to be run through the same sequence of steps + +It is also for exploring some other related ideas: + +* test-based image processing -- the ability to create a sequence of steps that do the same task as some other image processing tool, provable with example before/after images to compare with +* logging of each step to produce an evidentiary record of modifications to an original image +* cascading changes -- change an earlier step's settings, and see those changes affect later steps +* "small modules"-based extensibility: see [Contributing](#contributing), below -// add createUserInterface() which is set up by default to draw on ImageBoardUI, but could be swapped for nothing, or an equiv. lib -// it could create the interface and use event listeners like module.on('draw', fn()); to update the interface +## Contributing + +**This is a draft proposal: currently, onComplete assignment is done through `module.options.onComplete` -- clearly non-ideal.** + +To add a module to Image Sequencer, it must have the following method; you can wrap an existing module to add them: + +* `module.draw(onComplete)` + +The `draw()` method should accept two paramters, `image` and `onComplete`. The `onComplete` parameter will be a function with one parameter, and will be set to the `draw()` method of the next step; for example: + +```js +function(image, onComplete) { + + // do some stuff with the image + +} +``` + +See existing module `green-channel` for an example: https://github.com/jywarren/image-sequencer/tree/master/src/modules/GreenChannel.js + +For help integrating, please open an issue. + +* setup() + +**** + +## Development + +Notes on development next steps: + + +Make available as browserified OR `require()` includable... + + +### UI + +* [ ] add createUserInterface() which is set up by default to draw on ImageBoardUI, but could be swapped for nothing, or an equiv. lib +* [ ] it could create the interface and use event listeners like module.on('draw', fn()); to update the interface * [ ] spinners before panels are complete * [ ] ability to start running at any point -- already works? @@ -16,12 +66,11 @@ ImageFlow * [ ] figure out UI/functional separation -- ui is in module wrapper? * [ ] is there a module for generating forms from parameters? * [ ] commandline runnability? + * [ ] * [ ] tests - modules headless; unit tests * [ ] comparisons with diff + * [ ] testing a module's promised functionality: each module could offer before/after images as part of their API; by running the module on the before image, you should get exactly the after image, comparing with an image diff * [ ] standardize panel addition with submodule that offers Panel.display(image) - -https://www.npmjs.com/package/histogram - * [ ] make an Infragram module that accepts a math expression * [ ] click to expand for all images * [ ] "add a new step" menu @@ -36,25 +85,32 @@ https://www.npmjs.com/package/histogram **** -## Why +## Module Candidates -How can Scratch/others do what a scientific tool does? +* https://github.com/linuxenko/rextract.js +* https://www.npmjs.com/package/histogram +* https://github.com/hughsk/flood-fill -* if it passes the same tests, it's empirically equivalent +## Ideas -Competitive with program X? Build bridges - -Show your work: Collins - -Activities: teachability -- each step - -Evidentiary: Chain of custody - -Store each previous step, log, in metadata -- like shapefiles +* https://github.com/vicapow/jsqrcode +* https://github.com/jadnco/whirl - scrubbable image sequence player +* non graphics card GL functions could be shimmed with https://github.com/Overv/JSGL +* or this: https://github.com/stackgl/headless-gl +* https://github.com/mattdesl/fontpath-simple-renderer **** -Ideas: +**Notes:** -https://github.com/vicapow/jsqrcode +Patterns in JS canvas: +```js +var c=document.getElementById("myCanvas"); +var ctx=c.getContext("2d"); +var img=document.getElementById("lamp"); +var pat=ctx.createPattern(img,"repeat"); +ctx.rect(0,0,150,100); +ctx.fillStyle=pat; +ctx.fill(); +``` diff --git a/dist/image-sequencer.css b/dist/image-sequencer.css new file mode 100644 index 00000000..5e28b0f6 --- /dev/null +++ b/dist/image-sequencer.css @@ -0,0 +1,82 @@ + +/* https://github.com/theleagueof/league-spartan */ +@font-face { + font-family: 'League Spartan'; + src: url('https://raw.githubusercontent.com/theleagueof/league-spartan/master/_webfonts/leaguespartan-bold.eot'); + src: url('https://raw.githubusercontent.com/theleagueof/league-spartan/master/_webfonts/leaguespartan-bold.eot?#iefix') format('embedded-opentype'), + url('https://raw.githubusercontent.com/theleagueof/league-spartan/master/_webfonts/leaguespartan-bold.woff2') format('woff2'), + url('https://raw.githubusercontent.com/theleagueof/league-spartan/master/_webfonts/leaguespartan-bold.woff') format('woff'), + url('https://raw.githubusercontent.com/theleagueof/league-spartan/master/_webfonts/leaguespartan-bold.ttf') format('truetype'), + url('https://raw.githubusercontent.com/theleagueof/league-spartan/master/_webfonts/leaguespartan-bold.svg#league_spartanbold') format('svg'); + font-weight: bold; + font-style: normal; +} + +body { + padding: 20px; + margin: 0 auto; + max-width: 700px; + background: #f8f8fa; +} + +h1 { + font-family: 'League Spartan'; + color: #445; +} + +.header { + text-align: center; +} + +.panels { +} + +.panel { + background: #f8f8fa; + padding: 20px 0; + margin-bottom: 20px; + border-bottom: 1px dashed #ccc; +} + +.panel img { + max-width: 100%; +} + +.instructions { + color: #aaa; +} + +.log h4 { + text-align: center; +} + +.log { + margin-top: 20px; + padding: 10px; + font-size: 9px; + font-family: monospace; + color: #666; + background: #efeff6; + border-radius: 4px; +} + +/* ImageSelect styles */ + +.mod-image-select #drop { + border-radius: 4px; + background: #efeff6; + color: #aaa; + padding: 20px; + width: 100%; + margin-bottom: 10px; + border: 4px dashed #ccc; + text-align: center; +} + +.mod-image-select #drop.hover { + background: #ddd; +} + +.mod-image-select #drop img { + width: 100%; +} diff --git a/dist/imageboard.js b/dist/image-sequencer.js similarity index 93% rename from dist/imageboard.js rename to dist/image-sequencer.js index 7ee6b0b8..268219dd 100644 --- a/dist/imageboard.js +++ b/dist/image-sequencer.js @@ -17993,6 +17993,9822 @@ module.exports = function (self) { }; },{"./threshold":87}],89:[function(require,module,exports){ +/*! + * jQuery JavaScript Library v2.2.4 + * http://jquery.com/ + * + * Includes Sizzle.js + * http://sizzlejs.com/ + * + * Copyright jQuery Foundation and other contributors + * Released under the MIT license + * http://jquery.org/license + * + * Date: 2016-05-20T17:23Z + */ + +(function( global, factory ) { + + if ( typeof module === "object" && typeof module.exports === "object" ) { + // For CommonJS and CommonJS-like environments where a proper `window` + // is present, execute the factory and get jQuery. + // For environments that do not have a `window` with a `document` + // (such as Node.js), expose a factory as module.exports. + // This accentuates the need for the creation of a real `window`. + // e.g. var jQuery = require("jquery")(window); + // See ticket #14549 for more info. + module.exports = global.document ? + factory( global, true ) : + function( w ) { + if ( !w.document ) { + throw new Error( "jQuery requires a window with a document" ); + } + return factory( w ); + }; + } else { + factory( global ); + } + +// Pass this if window is not defined yet +}(typeof window !== "undefined" ? window : this, function( window, noGlobal ) { + +// Support: Firefox 18+ +// Can't be in strict mode, several libs including ASP.NET trace +// the stack via arguments.caller.callee and Firefox dies if +// you try to trace through "use strict" call chains. (#13335) +//"use strict"; +var arr = []; + +var document = window.document; + +var slice = arr.slice; + +var concat = arr.concat; + +var push = arr.push; + +var indexOf = arr.indexOf; + +var class2type = {}; + +var toString = class2type.toString; + +var hasOwn = class2type.hasOwnProperty; + +var support = {}; + + + +var + version = "2.2.4", + + // Define a local copy of jQuery + jQuery = function( selector, context ) { + + // The jQuery object is actually just the init constructor 'enhanced' + // Need init if jQuery is called (just allow error to be thrown if not included) + return new jQuery.fn.init( selector, context ); + }, + + // Support: Android<4.1 + // Make sure we trim BOM and NBSP + rtrim = /^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, + + // Matches dashed string for camelizing + rmsPrefix = /^-ms-/, + rdashAlpha = /-([\da-z])/gi, + + // Used by jQuery.camelCase as callback to replace() + fcamelCase = function( all, letter ) { + return letter.toUpperCase(); + }; + +jQuery.fn = jQuery.prototype = { + + // The current version of jQuery being used + jquery: version, + + constructor: jQuery, + + // Start with an empty selector + selector: "", + + // The default length of a jQuery object is 0 + length: 0, + + toArray: function() { + return slice.call( this ); + }, + + // Get the Nth element in the matched element set OR + // Get the whole matched element set as a clean array + get: function( num ) { + return num != null ? + + // Return just the one element from the set + ( num < 0 ? this[ num + this.length ] : this[ num ] ) : + + // Return all the elements in a clean array + slice.call( this ); + }, + + // Take an array of elements and push it onto the stack + // (returning the new matched element set) + pushStack: function( elems ) { + + // Build a new jQuery matched element set + var ret = jQuery.merge( this.constructor(), elems ); + + // Add the old object onto the stack (as a reference) + ret.prevObject = this; + ret.context = this.context; + + // Return the newly-formed element set + return ret; + }, + + // Execute a callback for every element in the matched set. + each: function( callback ) { + return jQuery.each( this, callback ); + }, + + map: function( callback ) { + return this.pushStack( jQuery.map( this, function( elem, i ) { + return callback.call( elem, i, elem ); + } ) ); + }, + + slice: function() { + return this.pushStack( slice.apply( this, arguments ) ); + }, + + first: function() { + return this.eq( 0 ); + }, + + last: function() { + return this.eq( -1 ); + }, + + eq: function( i ) { + var len = this.length, + j = +i + ( i < 0 ? len : 0 ); + return this.pushStack( j >= 0 && j < len ? [ this[ j ] ] : [] ); + }, + + end: function() { + return this.prevObject || this.constructor(); + }, + + // For internal use only. + // Behaves like an Array's method, not like a jQuery method. + push: push, + sort: arr.sort, + splice: arr.splice +}; + +jQuery.extend = jQuery.fn.extend = function() { + var options, name, src, copy, copyIsArray, clone, + target = arguments[ 0 ] || {}, + i = 1, + length = arguments.length, + deep = false; + + // Handle a deep copy situation + if ( typeof target === "boolean" ) { + deep = target; + + // Skip the boolean and the target + target = arguments[ i ] || {}; + i++; + } + + // Handle case when target is a string or something (possible in deep copy) + if ( typeof target !== "object" && !jQuery.isFunction( target ) ) { + target = {}; + } + + // Extend jQuery itself if only one argument is passed + if ( i === length ) { + target = this; + i--; + } + + for ( ; i < length; i++ ) { + + // Only deal with non-null/undefined values + if ( ( options = arguments[ i ] ) != null ) { + + // Extend the base object + for ( name in options ) { + src = target[ name ]; + copy = options[ name ]; + + // Prevent never-ending loop + if ( target === copy ) { + continue; + } + + // Recurse if we're merging plain objects or arrays + if ( deep && copy && ( jQuery.isPlainObject( copy ) || + ( copyIsArray = jQuery.isArray( copy ) ) ) ) { + + if ( copyIsArray ) { + copyIsArray = false; + clone = src && jQuery.isArray( src ) ? src : []; + + } else { + clone = src && jQuery.isPlainObject( src ) ? src : {}; + } + + // Never move original objects, clone them + target[ name ] = jQuery.extend( deep, clone, copy ); + + // Don't bring in undefined values + } else if ( copy !== undefined ) { + target[ name ] = copy; + } + } + } + } + + // Return the modified object + return target; +}; + +jQuery.extend( { + + // Unique for each copy of jQuery on the page + expando: "jQuery" + ( version + Math.random() ).replace( /\D/g, "" ), + + // Assume jQuery is ready without the ready module + isReady: true, + + error: function( msg ) { + throw new Error( msg ); + }, + + noop: function() {}, + + isFunction: function( obj ) { + return jQuery.type( obj ) === "function"; + }, + + isArray: Array.isArray, + + isWindow: function( obj ) { + return obj != null && obj === obj.window; + }, + + isNumeric: function( obj ) { + + // parseFloat NaNs numeric-cast false positives (null|true|false|"") + // ...but misinterprets leading-number strings, particularly hex literals ("0x...") + // subtraction forces infinities to NaN + // adding 1 corrects loss of precision from parseFloat (#15100) + var realStringObj = obj && obj.toString(); + return !jQuery.isArray( obj ) && ( realStringObj - parseFloat( realStringObj ) + 1 ) >= 0; + }, + + isPlainObject: function( obj ) { + var key; + + // Not plain objects: + // - Any object or value whose internal [[Class]] property is not "[object Object]" + // - DOM nodes + // - window + if ( jQuery.type( obj ) !== "object" || obj.nodeType || jQuery.isWindow( obj ) ) { + return false; + } + + // Not own constructor property must be Object + if ( obj.constructor && + !hasOwn.call( obj, "constructor" ) && + !hasOwn.call( obj.constructor.prototype || {}, "isPrototypeOf" ) ) { + return false; + } + + // Own properties are enumerated firstly, so to speed up, + // if last one is own, then all properties are own + for ( key in obj ) {} + + return key === undefined || hasOwn.call( obj, key ); + }, + + isEmptyObject: function( obj ) { + var name; + for ( name in obj ) { + return false; + } + return true; + }, + + type: function( obj ) { + if ( obj == null ) { + return obj + ""; + } + + // Support: Android<4.0, iOS<6 (functionish RegExp) + return typeof obj === "object" || typeof obj === "function" ? + class2type[ toString.call( obj ) ] || "object" : + typeof obj; + }, + + // Evaluates a script in a global context + globalEval: function( code ) { + var script, + indirect = eval; + + code = jQuery.trim( code ); + + if ( code ) { + + // If the code includes a valid, prologue position + // strict mode pragma, execute code by injecting a + // script tag into the document. + if ( code.indexOf( "use strict" ) === 1 ) { + script = document.createElement( "script" ); + script.text = code; + document.head.appendChild( script ).parentNode.removeChild( script ); + } else { + + // Otherwise, avoid the DOM node creation, insertion + // and removal by using an indirect global eval + + indirect( code ); + } + } + }, + + // Convert dashed to camelCase; used by the css and data modules + // Support: IE9-11+ + // Microsoft forgot to hump their vendor prefix (#9572) + camelCase: function( string ) { + return string.replace( rmsPrefix, "ms-" ).replace( rdashAlpha, fcamelCase ); + }, + + nodeName: function( elem, name ) { + return elem.nodeName && elem.nodeName.toLowerCase() === name.toLowerCase(); + }, + + each: function( obj, callback ) { + var length, i = 0; + + if ( isArrayLike( obj ) ) { + length = obj.length; + for ( ; i < length; i++ ) { + if ( callback.call( obj[ i ], i, obj[ i ] ) === false ) { + break; + } + } + } else { + for ( i in obj ) { + if ( callback.call( obj[ i ], i, obj[ i ] ) === false ) { + break; + } + } + } + + return obj; + }, + + // Support: Android<4.1 + trim: function( text ) { + return text == null ? + "" : + ( text + "" ).replace( rtrim, "" ); + }, + + // results is for internal usage only + makeArray: function( arr, results ) { + var ret = results || []; + + if ( arr != null ) { + if ( isArrayLike( Object( arr ) ) ) { + jQuery.merge( ret, + typeof arr === "string" ? + [ arr ] : arr + ); + } else { + push.call( ret, arr ); + } + } + + return ret; + }, + + inArray: function( elem, arr, i ) { + return arr == null ? -1 : indexOf.call( arr, elem, i ); + }, + + merge: function( first, second ) { + var len = +second.length, + j = 0, + i = first.length; + + for ( ; j < len; j++ ) { + first[ i++ ] = second[ j ]; + } + + first.length = i; + + return first; + }, + + grep: function( elems, callback, invert ) { + var callbackInverse, + matches = [], + i = 0, + length = elems.length, + callbackExpect = !invert; + + // Go through the array, only saving the items + // that pass the validator function + for ( ; i < length; i++ ) { + callbackInverse = !callback( elems[ i ], i ); + if ( callbackInverse !== callbackExpect ) { + matches.push( elems[ i ] ); + } + } + + return matches; + }, + + // arg is for internal usage only + map: function( elems, callback, arg ) { + var length, value, + i = 0, + ret = []; + + // Go through the array, translating each of the items to their new values + if ( isArrayLike( elems ) ) { + length = elems.length; + for ( ; i < length; i++ ) { + value = callback( elems[ i ], i, arg ); + + if ( value != null ) { + ret.push( value ); + } + } + + // Go through every key on the object, + } else { + for ( i in elems ) { + value = callback( elems[ i ], i, arg ); + + if ( value != null ) { + ret.push( value ); + } + } + } + + // Flatten any nested arrays + return concat.apply( [], ret ); + }, + + // A global GUID counter for objects + guid: 1, + + // Bind a function to a context, optionally partially applying any + // arguments. + proxy: function( fn, context ) { + var tmp, args, proxy; + + if ( typeof context === "string" ) { + tmp = fn[ context ]; + context = fn; + fn = tmp; + } + + // Quick check to determine if target is callable, in the spec + // this throws a TypeError, but we will just return undefined. + if ( !jQuery.isFunction( fn ) ) { + return undefined; + } + + // Simulated bind + args = slice.call( arguments, 2 ); + proxy = function() { + return fn.apply( context || this, args.concat( slice.call( arguments ) ) ); + }; + + // Set the guid of unique handler to the same of original handler, so it can be removed + proxy.guid = fn.guid = fn.guid || jQuery.guid++; + + return proxy; + }, + + now: Date.now, + + // jQuery.support is not used in Core but other projects attach their + // properties to it so it needs to exist. + support: support +} ); + +// JSHint would error on this code due to the Symbol not being defined in ES5. +// Defining this global in .jshintrc would create a danger of using the global +// unguarded in another place, it seems safer to just disable JSHint for these +// three lines. +/* jshint ignore: start */ +if ( typeof Symbol === "function" ) { + jQuery.fn[ Symbol.iterator ] = arr[ Symbol.iterator ]; +} +/* jshint ignore: end */ + +// Populate the class2type map +jQuery.each( "Boolean Number String Function Array Date RegExp Object Error Symbol".split( " " ), +function( i, name ) { + class2type[ "[object " + name + "]" ] = name.toLowerCase(); +} ); + +function isArrayLike( obj ) { + + // Support: iOS 8.2 (not reproducible in simulator) + // `in` check used to prevent JIT error (gh-2145) + // hasOwn isn't used here due to false negatives + // regarding Nodelist length in IE + var length = !!obj && "length" in obj && obj.length, + type = jQuery.type( obj ); + + if ( type === "function" || jQuery.isWindow( obj ) ) { + return false; + } + + return type === "array" || length === 0 || + typeof length === "number" && length > 0 && ( length - 1 ) in obj; +} +var Sizzle = +/*! + * Sizzle CSS Selector Engine v2.2.1 + * http://sizzlejs.com/ + * + * Copyright jQuery Foundation and other contributors + * Released under the MIT license + * http://jquery.org/license + * + * Date: 2015-10-17 + */ +(function( window ) { + +var i, + support, + Expr, + getText, + isXML, + tokenize, + compile, + select, + outermostContext, + sortInput, + hasDuplicate, + + // Local document vars + setDocument, + document, + docElem, + documentIsHTML, + rbuggyQSA, + rbuggyMatches, + matches, + contains, + + // Instance-specific data + expando = "sizzle" + 1 * new Date(), + preferredDoc = window.document, + dirruns = 0, + done = 0, + classCache = createCache(), + tokenCache = createCache(), + compilerCache = createCache(), + sortOrder = function( a, b ) { + if ( a === b ) { + hasDuplicate = true; + } + return 0; + }, + + // General-purpose constants + MAX_NEGATIVE = 1 << 31, + + // Instance methods + hasOwn = ({}).hasOwnProperty, + arr = [], + pop = arr.pop, + push_native = arr.push, + push = arr.push, + slice = arr.slice, + // Use a stripped-down indexOf as it's faster than native + // http://jsperf.com/thor-indexof-vs-for/5 + indexOf = function( list, elem ) { + var i = 0, + len = list.length; + for ( ; i < len; i++ ) { + if ( list[i] === elem ) { + return i; + } + } + return -1; + }, + + booleans = "checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped", + + // Regular expressions + + // http://www.w3.org/TR/css3-selectors/#whitespace + whitespace = "[\\x20\\t\\r\\n\\f]", + + // http://www.w3.org/TR/CSS21/syndata.html#value-def-identifier + identifier = "(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+", + + // Attribute selectors: http://www.w3.org/TR/selectors/#attribute-selectors + attributes = "\\[" + whitespace + "*(" + identifier + ")(?:" + whitespace + + // Operator (capture 2) + "*([*^$|!~]?=)" + whitespace + + // "Attribute values must be CSS identifiers [capture 5] or strings [capture 3 or capture 4]" + "*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|(" + identifier + "))|)" + whitespace + + "*\\]", + + pseudos = ":(" + identifier + ")(?:\\((" + + // To reduce the number of selectors needing tokenize in the preFilter, prefer arguments: + // 1. quoted (capture 3; capture 4 or capture 5) + "('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|" + + // 2. simple (capture 6) + "((?:\\\\.|[^\\\\()[\\]]|" + attributes + ")*)|" + + // 3. anything else (capture 2) + ".*" + + ")\\)|)", + + // Leading and non-escaped trailing whitespace, capturing some non-whitespace characters preceding the latter + rwhitespace = new RegExp( whitespace + "+", "g" ), + rtrim = new RegExp( "^" + whitespace + "+|((?:^|[^\\\\])(?:\\\\.)*)" + whitespace + "+$", "g" ), + + rcomma = new RegExp( "^" + whitespace + "*," + whitespace + "*" ), + rcombinators = new RegExp( "^" + whitespace + "*([>+~]|" + whitespace + ")" + whitespace + "*" ), + + rattributeQuotes = new RegExp( "=" + whitespace + "*([^\\]'\"]*?)" + whitespace + "*\\]", "g" ), + + rpseudo = new RegExp( pseudos ), + ridentifier = new RegExp( "^" + identifier + "$" ), + + matchExpr = { + "ID": new RegExp( "^#(" + identifier + ")" ), + "CLASS": new RegExp( "^\\.(" + identifier + ")" ), + "TAG": new RegExp( "^(" + identifier + "|[*])" ), + "ATTR": new RegExp( "^" + attributes ), + "PSEUDO": new RegExp( "^" + pseudos ), + "CHILD": new RegExp( "^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\(" + whitespace + + "*(even|odd|(([+-]|)(\\d*)n|)" + whitespace + "*(?:([+-]|)" + whitespace + + "*(\\d+)|))" + whitespace + "*\\)|)", "i" ), + "bool": new RegExp( "^(?:" + booleans + ")$", "i" ), + // For use in libraries implementing .is() + // We use this for POS matching in `select` + "needsContext": new RegExp( "^" + whitespace + "*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\(" + + whitespace + "*((?:-\\d)?\\d*)" + whitespace + "*\\)|)(?=[^-]|$)", "i" ) + }, + + rinputs = /^(?:input|select|textarea|button)$/i, + rheader = /^h\d$/i, + + rnative = /^[^{]+\{\s*\[native \w/, + + // Easily-parseable/retrievable ID or TAG or CLASS selectors + rquickExpr = /^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/, + + rsibling = /[+~]/, + rescape = /'|\\/g, + + // CSS escapes http://www.w3.org/TR/CSS21/syndata.html#escaped-characters + runescape = new RegExp( "\\\\([\\da-f]{1,6}" + whitespace + "?|(" + whitespace + ")|.)", "ig" ), + funescape = function( _, escaped, escapedWhitespace ) { + var high = "0x" + escaped - 0x10000; + // NaN means non-codepoint + // Support: Firefox<24 + // Workaround erroneous numeric interpretation of +"0x" + return high !== high || escapedWhitespace ? + escaped : + high < 0 ? + // BMP codepoint + String.fromCharCode( high + 0x10000 ) : + // Supplemental Plane codepoint (surrogate pair) + String.fromCharCode( high >> 10 | 0xD800, high & 0x3FF | 0xDC00 ); + }, + + // Used for iframes + // See setDocument() + // Removing the function wrapper causes a "Permission Denied" + // error in IE + unloadHandler = function() { + setDocument(); + }; + +// Optimize for push.apply( _, NodeList ) +try { + push.apply( + (arr = slice.call( preferredDoc.childNodes )), + preferredDoc.childNodes + ); + // Support: Android<4.0 + // Detect silently failing push.apply + arr[ preferredDoc.childNodes.length ].nodeType; +} catch ( e ) { + push = { apply: arr.length ? + + // Leverage slice if possible + function( target, els ) { + push_native.apply( target, slice.call(els) ); + } : + + // Support: IE<9 + // Otherwise append directly + function( target, els ) { + var j = target.length, + i = 0; + // Can't trust NodeList.length + while ( (target[j++] = els[i++]) ) {} + target.length = j - 1; + } + }; +} + +function Sizzle( selector, context, results, seed ) { + var m, i, elem, nid, nidselect, match, groups, newSelector, + newContext = context && context.ownerDocument, + + // nodeType defaults to 9, since context defaults to document + nodeType = context ? context.nodeType : 9; + + results = results || []; + + // Return early from calls with invalid selector or context + if ( typeof selector !== "string" || !selector || + nodeType !== 1 && nodeType !== 9 && nodeType !== 11 ) { + + return results; + } + + // Try to shortcut find operations (as opposed to filters) in HTML documents + if ( !seed ) { + + if ( ( context ? context.ownerDocument || context : preferredDoc ) !== document ) { + setDocument( context ); + } + context = context || document; + + if ( documentIsHTML ) { + + // If the selector is sufficiently simple, try using a "get*By*" DOM method + // (excepting DocumentFragment context, where the methods don't exist) + if ( nodeType !== 11 && (match = rquickExpr.exec( selector )) ) { + + // ID selector + if ( (m = match[1]) ) { + + // Document context + if ( nodeType === 9 ) { + if ( (elem = context.getElementById( m )) ) { + + // Support: IE, Opera, Webkit + // TODO: identify versions + // getElementById can match elements by name instead of ID + if ( elem.id === m ) { + results.push( elem ); + return results; + } + } else { + return results; + } + + // Element context + } else { + + // Support: IE, Opera, Webkit + // TODO: identify versions + // getElementById can match elements by name instead of ID + if ( newContext && (elem = newContext.getElementById( m )) && + contains( context, elem ) && + elem.id === m ) { + + results.push( elem ); + return results; + } + } + + // Type selector + } else if ( match[2] ) { + push.apply( results, context.getElementsByTagName( selector ) ); + return results; + + // Class selector + } else if ( (m = match[3]) && support.getElementsByClassName && + context.getElementsByClassName ) { + + push.apply( results, context.getElementsByClassName( m ) ); + return results; + } + } + + // Take advantage of querySelectorAll + if ( support.qsa && + !compilerCache[ selector + " " ] && + (!rbuggyQSA || !rbuggyQSA.test( selector )) ) { + + if ( nodeType !== 1 ) { + newContext = context; + newSelector = selector; + + // qSA looks outside Element context, which is not what we want + // Thanks to Andrew Dupont for this workaround technique + // Support: IE <=8 + // Exclude object elements + } else if ( context.nodeName.toLowerCase() !== "object" ) { + + // Capture the context ID, setting it first if necessary + if ( (nid = context.getAttribute( "id" )) ) { + nid = nid.replace( rescape, "\\$&" ); + } else { + context.setAttribute( "id", (nid = expando) ); + } + + // Prefix every selector in the list + groups = tokenize( selector ); + i = groups.length; + nidselect = ridentifier.test( nid ) ? "#" + nid : "[id='" + nid + "']"; + while ( i-- ) { + groups[i] = nidselect + " " + toSelector( groups[i] ); + } + newSelector = groups.join( "," ); + + // Expand context for sibling selectors + newContext = rsibling.test( selector ) && testContext( context.parentNode ) || + context; + } + + if ( newSelector ) { + try { + push.apply( results, + newContext.querySelectorAll( newSelector ) + ); + return results; + } catch ( qsaError ) { + } finally { + if ( nid === expando ) { + context.removeAttribute( "id" ); + } + } + } + } + } + } + + // All others + return select( selector.replace( rtrim, "$1" ), context, results, seed ); +} + +/** + * Create key-value caches of limited size + * @returns {function(string, object)} Returns the Object data after storing it on itself with + * property name the (space-suffixed) string and (if the cache is larger than Expr.cacheLength) + * deleting the oldest entry + */ +function createCache() { + var keys = []; + + function cache( key, value ) { + // Use (key + " ") to avoid collision with native prototype properties (see Issue #157) + if ( keys.push( key + " " ) > Expr.cacheLength ) { + // Only keep the most recent entries + delete cache[ keys.shift() ]; + } + return (cache[ key + " " ] = value); + } + return cache; +} + +/** + * Mark a function for special use by Sizzle + * @param {Function} fn The function to mark + */ +function markFunction( fn ) { + fn[ expando ] = true; + return fn; +} + +/** + * Support testing using an element + * @param {Function} fn Passed the created div and expects a boolean result + */ +function assert( fn ) { + var div = document.createElement("div"); + + try { + return !!fn( div ); + } catch (e) { + return false; + } finally { + // Remove from its parent by default + if ( div.parentNode ) { + div.parentNode.removeChild( div ); + } + // release memory in IE + div = null; + } +} + +/** + * Adds the same handler for all of the specified attrs + * @param {String} attrs Pipe-separated list of attributes + * @param {Function} handler The method that will be applied + */ +function addHandle( attrs, handler ) { + var arr = attrs.split("|"), + i = arr.length; + + while ( i-- ) { + Expr.attrHandle[ arr[i] ] = handler; + } +} + +/** + * Checks document order of two siblings + * @param {Element} a + * @param {Element} b + * @returns {Number} Returns less than 0 if a precedes b, greater than 0 if a follows b + */ +function siblingCheck( a, b ) { + var cur = b && a, + diff = cur && a.nodeType === 1 && b.nodeType === 1 && + ( ~b.sourceIndex || MAX_NEGATIVE ) - + ( ~a.sourceIndex || MAX_NEGATIVE ); + + // Use IE sourceIndex if available on both nodes + if ( diff ) { + return diff; + } + + // Check if b follows a + if ( cur ) { + while ( (cur = cur.nextSibling) ) { + if ( cur === b ) { + return -1; + } + } + } + + return a ? 1 : -1; +} + +/** + * Returns a function to use in pseudos for input types + * @param {String} type + */ +function createInputPseudo( type ) { + return function( elem ) { + var name = elem.nodeName.toLowerCase(); + return name === "input" && elem.type === type; + }; +} + +/** + * Returns a function to use in pseudos for buttons + * @param {String} type + */ +function createButtonPseudo( type ) { + return function( elem ) { + var name = elem.nodeName.toLowerCase(); + return (name === "input" || name === "button") && elem.type === type; + }; +} + +/** + * Returns a function to use in pseudos for positionals + * @param {Function} fn + */ +function createPositionalPseudo( fn ) { + return markFunction(function( argument ) { + argument = +argument; + return markFunction(function( seed, matches ) { + var j, + matchIndexes = fn( [], seed.length, argument ), + i = matchIndexes.length; + + // Match elements found at the specified indexes + while ( i-- ) { + if ( seed[ (j = matchIndexes[i]) ] ) { + seed[j] = !(matches[j] = seed[j]); + } + } + }); + }); +} + +/** + * Checks a node for validity as a Sizzle context + * @param {Element|Object=} context + * @returns {Element|Object|Boolean} The input node if acceptable, otherwise a falsy value + */ +function testContext( context ) { + return context && typeof context.getElementsByTagName !== "undefined" && context; +} + +// Expose support vars for convenience +support = Sizzle.support = {}; + +/** + * Detects XML nodes + * @param {Element|Object} elem An element or a document + * @returns {Boolean} True iff elem is a non-HTML XML node + */ +isXML = Sizzle.isXML = function( elem ) { + // documentElement is verified for cases where it doesn't yet exist + // (such as loading iframes in IE - #4833) + var documentElement = elem && (elem.ownerDocument || elem).documentElement; + return documentElement ? documentElement.nodeName !== "HTML" : false; +}; + +/** + * Sets document-related variables once based on the current document + * @param {Element|Object} [doc] An element or document object to use to set the document + * @returns {Object} Returns the current document + */ +setDocument = Sizzle.setDocument = function( node ) { + var hasCompare, parent, + doc = node ? node.ownerDocument || node : preferredDoc; + + // Return early if doc is invalid or already selected + if ( doc === document || doc.nodeType !== 9 || !doc.documentElement ) { + return document; + } + + // Update global variables + document = doc; + docElem = document.documentElement; + documentIsHTML = !isXML( document ); + + // Support: IE 9-11, Edge + // Accessing iframe documents after unload throws "permission denied" errors (jQuery #13936) + if ( (parent = document.defaultView) && parent.top !== parent ) { + // Support: IE 11 + if ( parent.addEventListener ) { + parent.addEventListener( "unload", unloadHandler, false ); + + // Support: IE 9 - 10 only + } else if ( parent.attachEvent ) { + parent.attachEvent( "onunload", unloadHandler ); + } + } + + /* Attributes + ---------------------------------------------------------------------- */ + + // Support: IE<8 + // Verify that getAttribute really returns attributes and not properties + // (excepting IE8 booleans) + support.attributes = assert(function( div ) { + div.className = "i"; + return !div.getAttribute("className"); + }); + + /* getElement(s)By* + ---------------------------------------------------------------------- */ + + // Check if getElementsByTagName("*") returns only elements + support.getElementsByTagName = assert(function( div ) { + div.appendChild( document.createComment("") ); + return !div.getElementsByTagName("*").length; + }); + + // Support: IE<9 + support.getElementsByClassName = rnative.test( document.getElementsByClassName ); + + // Support: IE<10 + // Check if getElementById returns elements by name + // The broken getElementById methods don't pick up programatically-set names, + // so use a roundabout getElementsByName test + support.getById = assert(function( div ) { + docElem.appendChild( div ).id = expando; + return !document.getElementsByName || !document.getElementsByName( expando ).length; + }); + + // ID find and filter + if ( support.getById ) { + Expr.find["ID"] = function( id, context ) { + if ( typeof context.getElementById !== "undefined" && documentIsHTML ) { + var m = context.getElementById( id ); + return m ? [ m ] : []; + } + }; + Expr.filter["ID"] = function( id ) { + var attrId = id.replace( runescape, funescape ); + return function( elem ) { + return elem.getAttribute("id") === attrId; + }; + }; + } else { + // Support: IE6/7 + // getElementById is not reliable as a find shortcut + delete Expr.find["ID"]; + + Expr.filter["ID"] = function( id ) { + var attrId = id.replace( runescape, funescape ); + return function( elem ) { + var node = typeof elem.getAttributeNode !== "undefined" && + elem.getAttributeNode("id"); + return node && node.value === attrId; + }; + }; + } + + // Tag + Expr.find["TAG"] = support.getElementsByTagName ? + function( tag, context ) { + if ( typeof context.getElementsByTagName !== "undefined" ) { + return context.getElementsByTagName( tag ); + + // DocumentFragment nodes don't have gEBTN + } else if ( support.qsa ) { + return context.querySelectorAll( tag ); + } + } : + + function( tag, context ) { + var elem, + tmp = [], + i = 0, + // By happy coincidence, a (broken) gEBTN appears on DocumentFragment nodes too + results = context.getElementsByTagName( tag ); + + // Filter out possible comments + if ( tag === "*" ) { + while ( (elem = results[i++]) ) { + if ( elem.nodeType === 1 ) { + tmp.push( elem ); + } + } + + return tmp; + } + return results; + }; + + // Class + Expr.find["CLASS"] = support.getElementsByClassName && function( className, context ) { + if ( typeof context.getElementsByClassName !== "undefined" && documentIsHTML ) { + return context.getElementsByClassName( className ); + } + }; + + /* QSA/matchesSelector + ---------------------------------------------------------------------- */ + + // QSA and matchesSelector support + + // matchesSelector(:active) reports false when true (IE9/Opera 11.5) + rbuggyMatches = []; + + // qSa(:focus) reports false when true (Chrome 21) + // We allow this because of a bug in IE8/9 that throws an error + // whenever `document.activeElement` is accessed on an iframe + // So, we allow :focus to pass through QSA all the time to avoid the IE error + // See http://bugs.jquery.com/ticket/13378 + rbuggyQSA = []; + + if ( (support.qsa = rnative.test( document.querySelectorAll )) ) { + // Build QSA regex + // Regex strategy adopted from Diego Perini + assert(function( div ) { + // Select is set to empty string on purpose + // This is to test IE's treatment of not explicitly + // setting a boolean content attribute, + // since its presence should be enough + // http://bugs.jquery.com/ticket/12359 + docElem.appendChild( div ).innerHTML = "" + + ""; + + // Support: IE8, Opera 11-12.16 + // Nothing should be selected when empty strings follow ^= or $= or *= + // The test attribute must be unknown in Opera but "safe" for WinRT + // http://msdn.microsoft.com/en-us/library/ie/hh465388.aspx#attribute_section + if ( div.querySelectorAll("[msallowcapture^='']").length ) { + rbuggyQSA.push( "[*^$]=" + whitespace + "*(?:''|\"\")" ); + } + + // Support: IE8 + // Boolean attributes and "value" are not treated correctly + if ( !div.querySelectorAll("[selected]").length ) { + rbuggyQSA.push( "\\[" + whitespace + "*(?:value|" + booleans + ")" ); + } + + // Support: Chrome<29, Android<4.4, Safari<7.0+, iOS<7.0+, PhantomJS<1.9.8+ + if ( !div.querySelectorAll( "[id~=" + expando + "-]" ).length ) { + rbuggyQSA.push("~="); + } + + // Webkit/Opera - :checked should return selected option elements + // http://www.w3.org/TR/2011/REC-css3-selectors-20110929/#checked + // IE8 throws error here and will not see later tests + if ( !div.querySelectorAll(":checked").length ) { + rbuggyQSA.push(":checked"); + } + + // Support: Safari 8+, iOS 8+ + // https://bugs.webkit.org/show_bug.cgi?id=136851 + // In-page `selector#id sibing-combinator selector` fails + if ( !div.querySelectorAll( "a#" + expando + "+*" ).length ) { + rbuggyQSA.push(".#.+[+~]"); + } + }); + + assert(function( div ) { + // Support: Windows 8 Native Apps + // The type and name attributes are restricted during .innerHTML assignment + var input = document.createElement("input"); + input.setAttribute( "type", "hidden" ); + div.appendChild( input ).setAttribute( "name", "D" ); + + // Support: IE8 + // Enforce case-sensitivity of name attribute + if ( div.querySelectorAll("[name=d]").length ) { + rbuggyQSA.push( "name" + whitespace + "*[*^$|!~]?=" ); + } + + // FF 3.5 - :enabled/:disabled and hidden elements (hidden elements are still enabled) + // IE8 throws error here and will not see later tests + if ( !div.querySelectorAll(":enabled").length ) { + rbuggyQSA.push( ":enabled", ":disabled" ); + } + + // Opera 10-11 does not throw on post-comma invalid pseudos + div.querySelectorAll("*,:x"); + rbuggyQSA.push(",.*:"); + }); + } + + if ( (support.matchesSelector = rnative.test( (matches = docElem.matches || + docElem.webkitMatchesSelector || + docElem.mozMatchesSelector || + docElem.oMatchesSelector || + docElem.msMatchesSelector) )) ) { + + assert(function( div ) { + // Check to see if it's possible to do matchesSelector + // on a disconnected node (IE 9) + support.disconnectedMatch = matches.call( div, "div" ); + + // This should fail with an exception + // Gecko does not error, returns false instead + matches.call( div, "[s!='']:x" ); + rbuggyMatches.push( "!=", pseudos ); + }); + } + + rbuggyQSA = rbuggyQSA.length && new RegExp( rbuggyQSA.join("|") ); + rbuggyMatches = rbuggyMatches.length && new RegExp( rbuggyMatches.join("|") ); + + /* Contains + ---------------------------------------------------------------------- */ + hasCompare = rnative.test( docElem.compareDocumentPosition ); + + // Element contains another + // Purposefully self-exclusive + // As in, an element does not contain itself + contains = hasCompare || rnative.test( docElem.contains ) ? + function( a, b ) { + var adown = a.nodeType === 9 ? a.documentElement : a, + bup = b && b.parentNode; + return a === bup || !!( bup && bup.nodeType === 1 && ( + adown.contains ? + adown.contains( bup ) : + a.compareDocumentPosition && a.compareDocumentPosition( bup ) & 16 + )); + } : + function( a, b ) { + if ( b ) { + while ( (b = b.parentNode) ) { + if ( b === a ) { + return true; + } + } + } + return false; + }; + + /* Sorting + ---------------------------------------------------------------------- */ + + // Document order sorting + sortOrder = hasCompare ? + function( a, b ) { + + // Flag for duplicate removal + if ( a === b ) { + hasDuplicate = true; + return 0; + } + + // Sort on method existence if only one input has compareDocumentPosition + var compare = !a.compareDocumentPosition - !b.compareDocumentPosition; + if ( compare ) { + return compare; + } + + // Calculate position if both inputs belong to the same document + compare = ( a.ownerDocument || a ) === ( b.ownerDocument || b ) ? + a.compareDocumentPosition( b ) : + + // Otherwise we know they are disconnected + 1; + + // Disconnected nodes + if ( compare & 1 || + (!support.sortDetached && b.compareDocumentPosition( a ) === compare) ) { + + // Choose the first element that is related to our preferred document + if ( a === document || a.ownerDocument === preferredDoc && contains(preferredDoc, a) ) { + return -1; + } + if ( b === document || b.ownerDocument === preferredDoc && contains(preferredDoc, b) ) { + return 1; + } + + // Maintain original order + return sortInput ? + ( indexOf( sortInput, a ) - indexOf( sortInput, b ) ) : + 0; + } + + return compare & 4 ? -1 : 1; + } : + function( a, b ) { + // Exit early if the nodes are identical + if ( a === b ) { + hasDuplicate = true; + return 0; + } + + var cur, + i = 0, + aup = a.parentNode, + bup = b.parentNode, + ap = [ a ], + bp = [ b ]; + + // Parentless nodes are either documents or disconnected + if ( !aup || !bup ) { + return a === document ? -1 : + b === document ? 1 : + aup ? -1 : + bup ? 1 : + sortInput ? + ( indexOf( sortInput, a ) - indexOf( sortInput, b ) ) : + 0; + + // If the nodes are siblings, we can do a quick check + } else if ( aup === bup ) { + return siblingCheck( a, b ); + } + + // Otherwise we need full lists of their ancestors for comparison + cur = a; + while ( (cur = cur.parentNode) ) { + ap.unshift( cur ); + } + cur = b; + while ( (cur = cur.parentNode) ) { + bp.unshift( cur ); + } + + // Walk down the tree looking for a discrepancy + while ( ap[i] === bp[i] ) { + i++; + } + + return i ? + // Do a sibling check if the nodes have a common ancestor + siblingCheck( ap[i], bp[i] ) : + + // Otherwise nodes in our document sort first + ap[i] === preferredDoc ? -1 : + bp[i] === preferredDoc ? 1 : + 0; + }; + + return document; +}; + +Sizzle.matches = function( expr, elements ) { + return Sizzle( expr, null, null, elements ); +}; + +Sizzle.matchesSelector = function( elem, expr ) { + // Set document vars if needed + if ( ( elem.ownerDocument || elem ) !== document ) { + setDocument( elem ); + } + + // Make sure that attribute selectors are quoted + expr = expr.replace( rattributeQuotes, "='$1']" ); + + if ( support.matchesSelector && documentIsHTML && + !compilerCache[ expr + " " ] && + ( !rbuggyMatches || !rbuggyMatches.test( expr ) ) && + ( !rbuggyQSA || !rbuggyQSA.test( expr ) ) ) { + + try { + var ret = matches.call( elem, expr ); + + // IE 9's matchesSelector returns false on disconnected nodes + if ( ret || support.disconnectedMatch || + // As well, disconnected nodes are said to be in a document + // fragment in IE 9 + elem.document && elem.document.nodeType !== 11 ) { + return ret; + } + } catch (e) {} + } + + return Sizzle( expr, document, null, [ elem ] ).length > 0; +}; + +Sizzle.contains = function( context, elem ) { + // Set document vars if needed + if ( ( context.ownerDocument || context ) !== document ) { + setDocument( context ); + } + return contains( context, elem ); +}; + +Sizzle.attr = function( elem, name ) { + // Set document vars if needed + if ( ( elem.ownerDocument || elem ) !== document ) { + setDocument( elem ); + } + + var fn = Expr.attrHandle[ name.toLowerCase() ], + // Don't get fooled by Object.prototype properties (jQuery #13807) + val = fn && hasOwn.call( Expr.attrHandle, name.toLowerCase() ) ? + fn( elem, name, !documentIsHTML ) : + undefined; + + return val !== undefined ? + val : + support.attributes || !documentIsHTML ? + elem.getAttribute( name ) : + (val = elem.getAttributeNode(name)) && val.specified ? + val.value : + null; +}; + +Sizzle.error = function( msg ) { + throw new Error( "Syntax error, unrecognized expression: " + msg ); +}; + +/** + * Document sorting and removing duplicates + * @param {ArrayLike} results + */ +Sizzle.uniqueSort = function( results ) { + var elem, + duplicates = [], + j = 0, + i = 0; + + // Unless we *know* we can detect duplicates, assume their presence + hasDuplicate = !support.detectDuplicates; + sortInput = !support.sortStable && results.slice( 0 ); + results.sort( sortOrder ); + + if ( hasDuplicate ) { + while ( (elem = results[i++]) ) { + if ( elem === results[ i ] ) { + j = duplicates.push( i ); + } + } + while ( j-- ) { + results.splice( duplicates[ j ], 1 ); + } + } + + // Clear input after sorting to release objects + // See https://github.com/jquery/sizzle/pull/225 + sortInput = null; + + return results; +}; + +/** + * Utility function for retrieving the text value of an array of DOM nodes + * @param {Array|Element} elem + */ +getText = Sizzle.getText = function( elem ) { + var node, + ret = "", + i = 0, + nodeType = elem.nodeType; + + if ( !nodeType ) { + // If no nodeType, this is expected to be an array + while ( (node = elem[i++]) ) { + // Do not traverse comment nodes + ret += getText( node ); + } + } else if ( nodeType === 1 || nodeType === 9 || nodeType === 11 ) { + // Use textContent for elements + // innerText usage removed for consistency of new lines (jQuery #11153) + if ( typeof elem.textContent === "string" ) { + return elem.textContent; + } else { + // Traverse its children + for ( elem = elem.firstChild; elem; elem = elem.nextSibling ) { + ret += getText( elem ); + } + } + } else if ( nodeType === 3 || nodeType === 4 ) { + return elem.nodeValue; + } + // Do not include comment or processing instruction nodes + + return ret; +}; + +Expr = Sizzle.selectors = { + + // Can be adjusted by the user + cacheLength: 50, + + createPseudo: markFunction, + + match: matchExpr, + + attrHandle: {}, + + find: {}, + + relative: { + ">": { dir: "parentNode", first: true }, + " ": { dir: "parentNode" }, + "+": { dir: "previousSibling", first: true }, + "~": { dir: "previousSibling" } + }, + + preFilter: { + "ATTR": function( match ) { + match[1] = match[1].replace( runescape, funescape ); + + // Move the given value to match[3] whether quoted or unquoted + match[3] = ( match[3] || match[4] || match[5] || "" ).replace( runescape, funescape ); + + if ( match[2] === "~=" ) { + match[3] = " " + match[3] + " "; + } + + return match.slice( 0, 4 ); + }, + + "CHILD": function( match ) { + /* matches from matchExpr["CHILD"] + 1 type (only|nth|...) + 2 what (child|of-type) + 3 argument (even|odd|\d*|\d*n([+-]\d+)?|...) + 4 xn-component of xn+y argument ([+-]?\d*n|) + 5 sign of xn-component + 6 x of xn-component + 7 sign of y-component + 8 y of y-component + */ + match[1] = match[1].toLowerCase(); + + if ( match[1].slice( 0, 3 ) === "nth" ) { + // nth-* requires argument + if ( !match[3] ) { + Sizzle.error( match[0] ); + } + + // numeric x and y parameters for Expr.filter.CHILD + // remember that false/true cast respectively to 0/1 + match[4] = +( match[4] ? match[5] + (match[6] || 1) : 2 * ( match[3] === "even" || match[3] === "odd" ) ); + match[5] = +( ( match[7] + match[8] ) || match[3] === "odd" ); + + // other types prohibit arguments + } else if ( match[3] ) { + Sizzle.error( match[0] ); + } + + return match; + }, + + "PSEUDO": function( match ) { + var excess, + unquoted = !match[6] && match[2]; + + if ( matchExpr["CHILD"].test( match[0] ) ) { + return null; + } + + // Accept quoted arguments as-is + if ( match[3] ) { + match[2] = match[4] || match[5] || ""; + + // Strip excess characters from unquoted arguments + } else if ( unquoted && rpseudo.test( unquoted ) && + // Get excess from tokenize (recursively) + (excess = tokenize( unquoted, true )) && + // advance to the next closing parenthesis + (excess = unquoted.indexOf( ")", unquoted.length - excess ) - unquoted.length) ) { + + // excess is a negative index + match[0] = match[0].slice( 0, excess ); + match[2] = unquoted.slice( 0, excess ); + } + + // Return only captures needed by the pseudo filter method (type and argument) + return match.slice( 0, 3 ); + } + }, + + filter: { + + "TAG": function( nodeNameSelector ) { + var nodeName = nodeNameSelector.replace( runescape, funescape ).toLowerCase(); + return nodeNameSelector === "*" ? + function() { return true; } : + function( elem ) { + return elem.nodeName && elem.nodeName.toLowerCase() === nodeName; + }; + }, + + "CLASS": function( className ) { + var pattern = classCache[ className + " " ]; + + return pattern || + (pattern = new RegExp( "(^|" + whitespace + ")" + className + "(" + whitespace + "|$)" )) && + classCache( className, function( elem ) { + return pattern.test( typeof elem.className === "string" && elem.className || typeof elem.getAttribute !== "undefined" && elem.getAttribute("class") || "" ); + }); + }, + + "ATTR": function( name, operator, check ) { + return function( elem ) { + var result = Sizzle.attr( elem, name ); + + if ( result == null ) { + return operator === "!="; + } + if ( !operator ) { + return true; + } + + result += ""; + + return operator === "=" ? result === check : + operator === "!=" ? result !== check : + operator === "^=" ? check && result.indexOf( check ) === 0 : + operator === "*=" ? check && result.indexOf( check ) > -1 : + operator === "$=" ? check && result.slice( -check.length ) === check : + operator === "~=" ? ( " " + result.replace( rwhitespace, " " ) + " " ).indexOf( check ) > -1 : + operator === "|=" ? result === check || result.slice( 0, check.length + 1 ) === check + "-" : + false; + }; + }, + + "CHILD": function( type, what, argument, first, last ) { + var simple = type.slice( 0, 3 ) !== "nth", + forward = type.slice( -4 ) !== "last", + ofType = what === "of-type"; + + return first === 1 && last === 0 ? + + // Shortcut for :nth-*(n) + function( elem ) { + return !!elem.parentNode; + } : + + function( elem, context, xml ) { + var cache, uniqueCache, outerCache, node, nodeIndex, start, + dir = simple !== forward ? "nextSibling" : "previousSibling", + parent = elem.parentNode, + name = ofType && elem.nodeName.toLowerCase(), + useCache = !xml && !ofType, + diff = false; + + if ( parent ) { + + // :(first|last|only)-(child|of-type) + if ( simple ) { + while ( dir ) { + node = elem; + while ( (node = node[ dir ]) ) { + if ( ofType ? + node.nodeName.toLowerCase() === name : + node.nodeType === 1 ) { + + return false; + } + } + // Reverse direction for :only-* (if we haven't yet done so) + start = dir = type === "only" && !start && "nextSibling"; + } + return true; + } + + start = [ forward ? parent.firstChild : parent.lastChild ]; + + // non-xml :nth-child(...) stores cache data on `parent` + if ( forward && useCache ) { + + // Seek `elem` from a previously-cached index + + // ...in a gzip-friendly way + node = parent; + outerCache = node[ expando ] || (node[ expando ] = {}); + + // Support: IE <9 only + // Defend against cloned attroperties (jQuery gh-1709) + uniqueCache = outerCache[ node.uniqueID ] || + (outerCache[ node.uniqueID ] = {}); + + cache = uniqueCache[ type ] || []; + nodeIndex = cache[ 0 ] === dirruns && cache[ 1 ]; + diff = nodeIndex && cache[ 2 ]; + node = nodeIndex && parent.childNodes[ nodeIndex ]; + + while ( (node = ++nodeIndex && node && node[ dir ] || + + // Fallback to seeking `elem` from the start + (diff = nodeIndex = 0) || start.pop()) ) { + + // When found, cache indexes on `parent` and break + if ( node.nodeType === 1 && ++diff && node === elem ) { + uniqueCache[ type ] = [ dirruns, nodeIndex, diff ]; + break; + } + } + + } else { + // Use previously-cached element index if available + if ( useCache ) { + // ...in a gzip-friendly way + node = elem; + outerCache = node[ expando ] || (node[ expando ] = {}); + + // Support: IE <9 only + // Defend against cloned attroperties (jQuery gh-1709) + uniqueCache = outerCache[ node.uniqueID ] || + (outerCache[ node.uniqueID ] = {}); + + cache = uniqueCache[ type ] || []; + nodeIndex = cache[ 0 ] === dirruns && cache[ 1 ]; + diff = nodeIndex; + } + + // xml :nth-child(...) + // or :nth-last-child(...) or :nth(-last)?-of-type(...) + if ( diff === false ) { + // Use the same loop as above to seek `elem` from the start + while ( (node = ++nodeIndex && node && node[ dir ] || + (diff = nodeIndex = 0) || start.pop()) ) { + + if ( ( ofType ? + node.nodeName.toLowerCase() === name : + node.nodeType === 1 ) && + ++diff ) { + + // Cache the index of each encountered element + if ( useCache ) { + outerCache = node[ expando ] || (node[ expando ] = {}); + + // Support: IE <9 only + // Defend against cloned attroperties (jQuery gh-1709) + uniqueCache = outerCache[ node.uniqueID ] || + (outerCache[ node.uniqueID ] = {}); + + uniqueCache[ type ] = [ dirruns, diff ]; + } + + if ( node === elem ) { + break; + } + } + } + } + } + + // Incorporate the offset, then check against cycle size + diff -= last; + return diff === first || ( diff % first === 0 && diff / first >= 0 ); + } + }; + }, + + "PSEUDO": function( pseudo, argument ) { + // pseudo-class names are case-insensitive + // http://www.w3.org/TR/selectors/#pseudo-classes + // Prioritize by case sensitivity in case custom pseudos are added with uppercase letters + // Remember that setFilters inherits from pseudos + var args, + fn = Expr.pseudos[ pseudo ] || Expr.setFilters[ pseudo.toLowerCase() ] || + Sizzle.error( "unsupported pseudo: " + pseudo ); + + // The user may use createPseudo to indicate that + // arguments are needed to create the filter function + // just as Sizzle does + if ( fn[ expando ] ) { + return fn( argument ); + } + + // But maintain support for old signatures + if ( fn.length > 1 ) { + args = [ pseudo, pseudo, "", argument ]; + return Expr.setFilters.hasOwnProperty( pseudo.toLowerCase() ) ? + markFunction(function( seed, matches ) { + var idx, + matched = fn( seed, argument ), + i = matched.length; + while ( i-- ) { + idx = indexOf( seed, matched[i] ); + seed[ idx ] = !( matches[ idx ] = matched[i] ); + } + }) : + function( elem ) { + return fn( elem, 0, args ); + }; + } + + return fn; + } + }, + + pseudos: { + // Potentially complex pseudos + "not": markFunction(function( selector ) { + // Trim the selector passed to compile + // to avoid treating leading and trailing + // spaces as combinators + var input = [], + results = [], + matcher = compile( selector.replace( rtrim, "$1" ) ); + + return matcher[ expando ] ? + markFunction(function( seed, matches, context, xml ) { + var elem, + unmatched = matcher( seed, null, xml, [] ), + i = seed.length; + + // Match elements unmatched by `matcher` + while ( i-- ) { + if ( (elem = unmatched[i]) ) { + seed[i] = !(matches[i] = elem); + } + } + }) : + function( elem, context, xml ) { + input[0] = elem; + matcher( input, null, xml, results ); + // Don't keep the element (issue #299) + input[0] = null; + return !results.pop(); + }; + }), + + "has": markFunction(function( selector ) { + return function( elem ) { + return Sizzle( selector, elem ).length > 0; + }; + }), + + "contains": markFunction(function( text ) { + text = text.replace( runescape, funescape ); + return function( elem ) { + return ( elem.textContent || elem.innerText || getText( elem ) ).indexOf( text ) > -1; + }; + }), + + // "Whether an element is represented by a :lang() selector + // is based solely on the element's language value + // being equal to the identifier C, + // or beginning with the identifier C immediately followed by "-". + // The matching of C against the element's language value is performed case-insensitively. + // The identifier C does not have to be a valid language name." + // http://www.w3.org/TR/selectors/#lang-pseudo + "lang": markFunction( function( lang ) { + // lang value must be a valid identifier + if ( !ridentifier.test(lang || "") ) { + Sizzle.error( "unsupported lang: " + lang ); + } + lang = lang.replace( runescape, funescape ).toLowerCase(); + return function( elem ) { + var elemLang; + do { + if ( (elemLang = documentIsHTML ? + elem.lang : + elem.getAttribute("xml:lang") || elem.getAttribute("lang")) ) { + + elemLang = elemLang.toLowerCase(); + return elemLang === lang || elemLang.indexOf( lang + "-" ) === 0; + } + } while ( (elem = elem.parentNode) && elem.nodeType === 1 ); + return false; + }; + }), + + // Miscellaneous + "target": function( elem ) { + var hash = window.location && window.location.hash; + return hash && hash.slice( 1 ) === elem.id; + }, + + "root": function( elem ) { + return elem === docElem; + }, + + "focus": function( elem ) { + return elem === document.activeElement && (!document.hasFocus || document.hasFocus()) && !!(elem.type || elem.href || ~elem.tabIndex); + }, + + // Boolean properties + "enabled": function( elem ) { + return elem.disabled === false; + }, + + "disabled": function( elem ) { + return elem.disabled === true; + }, + + "checked": function( elem ) { + // In CSS3, :checked should return both checked and selected elements + // http://www.w3.org/TR/2011/REC-css3-selectors-20110929/#checked + var nodeName = elem.nodeName.toLowerCase(); + return (nodeName === "input" && !!elem.checked) || (nodeName === "option" && !!elem.selected); + }, + + "selected": function( elem ) { + // Accessing this property makes selected-by-default + // options in Safari work properly + if ( elem.parentNode ) { + elem.parentNode.selectedIndex; + } + + return elem.selected === true; + }, + + // Contents + "empty": function( elem ) { + // http://www.w3.org/TR/selectors/#empty-pseudo + // :empty is negated by element (1) or content nodes (text: 3; cdata: 4; entity ref: 5), + // but not by others (comment: 8; processing instruction: 7; etc.) + // nodeType < 6 works because attributes (2) do not appear as children + for ( elem = elem.firstChild; elem; elem = elem.nextSibling ) { + if ( elem.nodeType < 6 ) { + return false; + } + } + return true; + }, + + "parent": function( elem ) { + return !Expr.pseudos["empty"]( elem ); + }, + + // Element/input types + "header": function( elem ) { + return rheader.test( elem.nodeName ); + }, + + "input": function( elem ) { + return rinputs.test( elem.nodeName ); + }, + + "button": function( elem ) { + var name = elem.nodeName.toLowerCase(); + return name === "input" && elem.type === "button" || name === "button"; + }, + + "text": function( elem ) { + var attr; + return elem.nodeName.toLowerCase() === "input" && + elem.type === "text" && + + // Support: IE<8 + // New HTML5 attribute values (e.g., "search") appear with elem.type === "text" + ( (attr = elem.getAttribute("type")) == null || attr.toLowerCase() === "text" ); + }, + + // Position-in-collection + "first": createPositionalPseudo(function() { + return [ 0 ]; + }), + + "last": createPositionalPseudo(function( matchIndexes, length ) { + return [ length - 1 ]; + }), + + "eq": createPositionalPseudo(function( matchIndexes, length, argument ) { + return [ argument < 0 ? argument + length : argument ]; + }), + + "even": createPositionalPseudo(function( matchIndexes, length ) { + var i = 0; + for ( ; i < length; i += 2 ) { + matchIndexes.push( i ); + } + return matchIndexes; + }), + + "odd": createPositionalPseudo(function( matchIndexes, length ) { + var i = 1; + for ( ; i < length; i += 2 ) { + matchIndexes.push( i ); + } + return matchIndexes; + }), + + "lt": createPositionalPseudo(function( matchIndexes, length, argument ) { + var i = argument < 0 ? argument + length : argument; + for ( ; --i >= 0; ) { + matchIndexes.push( i ); + } + return matchIndexes; + }), + + "gt": createPositionalPseudo(function( matchIndexes, length, argument ) { + var i = argument < 0 ? argument + length : argument; + for ( ; ++i < length; ) { + matchIndexes.push( i ); + } + return matchIndexes; + }) + } +}; + +Expr.pseudos["nth"] = Expr.pseudos["eq"]; + +// Add button/input type pseudos +for ( i in { radio: true, checkbox: true, file: true, password: true, image: true } ) { + Expr.pseudos[ i ] = createInputPseudo( i ); +} +for ( i in { submit: true, reset: true } ) { + Expr.pseudos[ i ] = createButtonPseudo( i ); +} + +// Easy API for creating new setFilters +function setFilters() {} +setFilters.prototype = Expr.filters = Expr.pseudos; +Expr.setFilters = new setFilters(); + +tokenize = Sizzle.tokenize = function( selector, parseOnly ) { + var matched, match, tokens, type, + soFar, groups, preFilters, + cached = tokenCache[ selector + " " ]; + + if ( cached ) { + return parseOnly ? 0 : cached.slice( 0 ); + } + + soFar = selector; + groups = []; + preFilters = Expr.preFilter; + + while ( soFar ) { + + // Comma and first run + if ( !matched || (match = rcomma.exec( soFar )) ) { + if ( match ) { + // Don't consume trailing commas as valid + soFar = soFar.slice( match[0].length ) || soFar; + } + groups.push( (tokens = []) ); + } + + matched = false; + + // Combinators + if ( (match = rcombinators.exec( soFar )) ) { + matched = match.shift(); + tokens.push({ + value: matched, + // Cast descendant combinators to space + type: match[0].replace( rtrim, " " ) + }); + soFar = soFar.slice( matched.length ); + } + + // Filters + for ( type in Expr.filter ) { + if ( (match = matchExpr[ type ].exec( soFar )) && (!preFilters[ type ] || + (match = preFilters[ type ]( match ))) ) { + matched = match.shift(); + tokens.push({ + value: matched, + type: type, + matches: match + }); + soFar = soFar.slice( matched.length ); + } + } + + if ( !matched ) { + break; + } + } + + // Return the length of the invalid excess + // if we're just parsing + // Otherwise, throw an error or return tokens + return parseOnly ? + soFar.length : + soFar ? + Sizzle.error( selector ) : + // Cache the tokens + tokenCache( selector, groups ).slice( 0 ); +}; + +function toSelector( tokens ) { + var i = 0, + len = tokens.length, + selector = ""; + for ( ; i < len; i++ ) { + selector += tokens[i].value; + } + return selector; +} + +function addCombinator( matcher, combinator, base ) { + var dir = combinator.dir, + checkNonElements = base && dir === "parentNode", + doneName = done++; + + return combinator.first ? + // Check against closest ancestor/preceding element + function( elem, context, xml ) { + while ( (elem = elem[ dir ]) ) { + if ( elem.nodeType === 1 || checkNonElements ) { + return matcher( elem, context, xml ); + } + } + } : + + // Check against all ancestor/preceding elements + function( elem, context, xml ) { + var oldCache, uniqueCache, outerCache, + newCache = [ dirruns, doneName ]; + + // We can't set arbitrary data on XML nodes, so they don't benefit from combinator caching + if ( xml ) { + while ( (elem = elem[ dir ]) ) { + if ( elem.nodeType === 1 || checkNonElements ) { + if ( matcher( elem, context, xml ) ) { + return true; + } + } + } + } else { + while ( (elem = elem[ dir ]) ) { + if ( elem.nodeType === 1 || checkNonElements ) { + outerCache = elem[ expando ] || (elem[ expando ] = {}); + + // Support: IE <9 only + // Defend against cloned attroperties (jQuery gh-1709) + uniqueCache = outerCache[ elem.uniqueID ] || (outerCache[ elem.uniqueID ] = {}); + + if ( (oldCache = uniqueCache[ dir ]) && + oldCache[ 0 ] === dirruns && oldCache[ 1 ] === doneName ) { + + // Assign to newCache so results back-propagate to previous elements + return (newCache[ 2 ] = oldCache[ 2 ]); + } else { + // Reuse newcache so results back-propagate to previous elements + uniqueCache[ dir ] = newCache; + + // A match means we're done; a fail means we have to keep checking + if ( (newCache[ 2 ] = matcher( elem, context, xml )) ) { + return true; + } + } + } + } + } + }; +} + +function elementMatcher( matchers ) { + return matchers.length > 1 ? + function( elem, context, xml ) { + var i = matchers.length; + while ( i-- ) { + if ( !matchers[i]( elem, context, xml ) ) { + return false; + } + } + return true; + } : + matchers[0]; +} + +function multipleContexts( selector, contexts, results ) { + var i = 0, + len = contexts.length; + for ( ; i < len; i++ ) { + Sizzle( selector, contexts[i], results ); + } + return results; +} + +function condense( unmatched, map, filter, context, xml ) { + var elem, + newUnmatched = [], + i = 0, + len = unmatched.length, + mapped = map != null; + + for ( ; i < len; i++ ) { + if ( (elem = unmatched[i]) ) { + if ( !filter || filter( elem, context, xml ) ) { + newUnmatched.push( elem ); + if ( mapped ) { + map.push( i ); + } + } + } + } + + return newUnmatched; +} + +function setMatcher( preFilter, selector, matcher, postFilter, postFinder, postSelector ) { + if ( postFilter && !postFilter[ expando ] ) { + postFilter = setMatcher( postFilter ); + } + if ( postFinder && !postFinder[ expando ] ) { + postFinder = setMatcher( postFinder, postSelector ); + } + return markFunction(function( seed, results, context, xml ) { + var temp, i, elem, + preMap = [], + postMap = [], + preexisting = results.length, + + // Get initial elements from seed or context + elems = seed || multipleContexts( selector || "*", context.nodeType ? [ context ] : context, [] ), + + // Prefilter to get matcher input, preserving a map for seed-results synchronization + matcherIn = preFilter && ( seed || !selector ) ? + condense( elems, preMap, preFilter, context, xml ) : + elems, + + matcherOut = matcher ? + // If we have a postFinder, or filtered seed, or non-seed postFilter or preexisting results, + postFinder || ( seed ? preFilter : preexisting || postFilter ) ? + + // ...intermediate processing is necessary + [] : + + // ...otherwise use results directly + results : + matcherIn; + + // Find primary matches + if ( matcher ) { + matcher( matcherIn, matcherOut, context, xml ); + } + + // Apply postFilter + if ( postFilter ) { + temp = condense( matcherOut, postMap ); + postFilter( temp, [], context, xml ); + + // Un-match failing elements by moving them back to matcherIn + i = temp.length; + while ( i-- ) { + if ( (elem = temp[i]) ) { + matcherOut[ postMap[i] ] = !(matcherIn[ postMap[i] ] = elem); + } + } + } + + if ( seed ) { + if ( postFinder || preFilter ) { + if ( postFinder ) { + // Get the final matcherOut by condensing this intermediate into postFinder contexts + temp = []; + i = matcherOut.length; + while ( i-- ) { + if ( (elem = matcherOut[i]) ) { + // Restore matcherIn since elem is not yet a final match + temp.push( (matcherIn[i] = elem) ); + } + } + postFinder( null, (matcherOut = []), temp, xml ); + } + + // Move matched elements from seed to results to keep them synchronized + i = matcherOut.length; + while ( i-- ) { + if ( (elem = matcherOut[i]) && + (temp = postFinder ? indexOf( seed, elem ) : preMap[i]) > -1 ) { + + seed[temp] = !(results[temp] = elem); + } + } + } + + // Add elements to results, through postFinder if defined + } else { + matcherOut = condense( + matcherOut === results ? + matcherOut.splice( preexisting, matcherOut.length ) : + matcherOut + ); + if ( postFinder ) { + postFinder( null, results, matcherOut, xml ); + } else { + push.apply( results, matcherOut ); + } + } + }); +} + +function matcherFromTokens( tokens ) { + var checkContext, matcher, j, + len = tokens.length, + leadingRelative = Expr.relative[ tokens[0].type ], + implicitRelative = leadingRelative || Expr.relative[" "], + i = leadingRelative ? 1 : 0, + + // The foundational matcher ensures that elements are reachable from top-level context(s) + matchContext = addCombinator( function( elem ) { + return elem === checkContext; + }, implicitRelative, true ), + matchAnyContext = addCombinator( function( elem ) { + return indexOf( checkContext, elem ) > -1; + }, implicitRelative, true ), + matchers = [ function( elem, context, xml ) { + var ret = ( !leadingRelative && ( xml || context !== outermostContext ) ) || ( + (checkContext = context).nodeType ? + matchContext( elem, context, xml ) : + matchAnyContext( elem, context, xml ) ); + // Avoid hanging onto element (issue #299) + checkContext = null; + return ret; + } ]; + + for ( ; i < len; i++ ) { + if ( (matcher = Expr.relative[ tokens[i].type ]) ) { + matchers = [ addCombinator(elementMatcher( matchers ), matcher) ]; + } else { + matcher = Expr.filter[ tokens[i].type ].apply( null, tokens[i].matches ); + + // Return special upon seeing a positional matcher + if ( matcher[ expando ] ) { + // Find the next relative operator (if any) for proper handling + j = ++i; + for ( ; j < len; j++ ) { + if ( Expr.relative[ tokens[j].type ] ) { + break; + } + } + return setMatcher( + i > 1 && elementMatcher( matchers ), + i > 1 && toSelector( + // If the preceding token was a descendant combinator, insert an implicit any-element `*` + tokens.slice( 0, i - 1 ).concat({ value: tokens[ i - 2 ].type === " " ? "*" : "" }) + ).replace( rtrim, "$1" ), + matcher, + i < j && matcherFromTokens( tokens.slice( i, j ) ), + j < len && matcherFromTokens( (tokens = tokens.slice( j )) ), + j < len && toSelector( tokens ) + ); + } + matchers.push( matcher ); + } + } + + return elementMatcher( matchers ); +} + +function matcherFromGroupMatchers( elementMatchers, setMatchers ) { + var bySet = setMatchers.length > 0, + byElement = elementMatchers.length > 0, + superMatcher = function( seed, context, xml, results, outermost ) { + var elem, j, matcher, + matchedCount = 0, + i = "0", + unmatched = seed && [], + setMatched = [], + contextBackup = outermostContext, + // We must always have either seed elements or outermost context + elems = seed || byElement && Expr.find["TAG"]( "*", outermost ), + // Use integer dirruns iff this is the outermost matcher + dirrunsUnique = (dirruns += contextBackup == null ? 1 : Math.random() || 0.1), + len = elems.length; + + if ( outermost ) { + outermostContext = context === document || context || outermost; + } + + // Add elements passing elementMatchers directly to results + // Support: IE<9, Safari + // Tolerate NodeList properties (IE: "length"; Safari: ) matching elements by id + for ( ; i !== len && (elem = elems[i]) != null; i++ ) { + if ( byElement && elem ) { + j = 0; + if ( !context && elem.ownerDocument !== document ) { + setDocument( elem ); + xml = !documentIsHTML; + } + while ( (matcher = elementMatchers[j++]) ) { + if ( matcher( elem, context || document, xml) ) { + results.push( elem ); + break; + } + } + if ( outermost ) { + dirruns = dirrunsUnique; + } + } + + // Track unmatched elements for set filters + if ( bySet ) { + // They will have gone through all possible matchers + if ( (elem = !matcher && elem) ) { + matchedCount--; + } + + // Lengthen the array for every element, matched or not + if ( seed ) { + unmatched.push( elem ); + } + } + } + + // `i` is now the count of elements visited above, and adding it to `matchedCount` + // makes the latter nonnegative. + matchedCount += i; + + // Apply set filters to unmatched elements + // NOTE: This can be skipped if there are no unmatched elements (i.e., `matchedCount` + // equals `i`), unless we didn't visit _any_ elements in the above loop because we have + // no element matchers and no seed. + // Incrementing an initially-string "0" `i` allows `i` to remain a string only in that + // case, which will result in a "00" `matchedCount` that differs from `i` but is also + // numerically zero. + if ( bySet && i !== matchedCount ) { + j = 0; + while ( (matcher = setMatchers[j++]) ) { + matcher( unmatched, setMatched, context, xml ); + } + + if ( seed ) { + // Reintegrate element matches to eliminate the need for sorting + if ( matchedCount > 0 ) { + while ( i-- ) { + if ( !(unmatched[i] || setMatched[i]) ) { + setMatched[i] = pop.call( results ); + } + } + } + + // Discard index placeholder values to get only actual matches + setMatched = condense( setMatched ); + } + + // Add matches to results + push.apply( results, setMatched ); + + // Seedless set matches succeeding multiple successful matchers stipulate sorting + if ( outermost && !seed && setMatched.length > 0 && + ( matchedCount + setMatchers.length ) > 1 ) { + + Sizzle.uniqueSort( results ); + } + } + + // Override manipulation of globals by nested matchers + if ( outermost ) { + dirruns = dirrunsUnique; + outermostContext = contextBackup; + } + + return unmatched; + }; + + return bySet ? + markFunction( superMatcher ) : + superMatcher; +} + +compile = Sizzle.compile = function( selector, match /* Internal Use Only */ ) { + var i, + setMatchers = [], + elementMatchers = [], + cached = compilerCache[ selector + " " ]; + + if ( !cached ) { + // Generate a function of recursive functions that can be used to check each element + if ( !match ) { + match = tokenize( selector ); + } + i = match.length; + while ( i-- ) { + cached = matcherFromTokens( match[i] ); + if ( cached[ expando ] ) { + setMatchers.push( cached ); + } else { + elementMatchers.push( cached ); + } + } + + // Cache the compiled function + cached = compilerCache( selector, matcherFromGroupMatchers( elementMatchers, setMatchers ) ); + + // Save selector and tokenization + cached.selector = selector; + } + return cached; +}; + +/** + * A low-level selection function that works with Sizzle's compiled + * selector functions + * @param {String|Function} selector A selector or a pre-compiled + * selector function built with Sizzle.compile + * @param {Element} context + * @param {Array} [results] + * @param {Array} [seed] A set of elements to match against + */ +select = Sizzle.select = function( selector, context, results, seed ) { + var i, tokens, token, type, find, + compiled = typeof selector === "function" && selector, + match = !seed && tokenize( (selector = compiled.selector || selector) ); + + results = results || []; + + // Try to minimize operations if there is only one selector in the list and no seed + // (the latter of which guarantees us context) + if ( match.length === 1 ) { + + // Reduce context if the leading compound selector is an ID + tokens = match[0] = match[0].slice( 0 ); + if ( tokens.length > 2 && (token = tokens[0]).type === "ID" && + support.getById && context.nodeType === 9 && documentIsHTML && + Expr.relative[ tokens[1].type ] ) { + + context = ( Expr.find["ID"]( token.matches[0].replace(runescape, funescape), context ) || [] )[0]; + if ( !context ) { + return results; + + // Precompiled matchers will still verify ancestry, so step up a level + } else if ( compiled ) { + context = context.parentNode; + } + + selector = selector.slice( tokens.shift().value.length ); + } + + // Fetch a seed set for right-to-left matching + i = matchExpr["needsContext"].test( selector ) ? 0 : tokens.length; + while ( i-- ) { + token = tokens[i]; + + // Abort if we hit a combinator + if ( Expr.relative[ (type = token.type) ] ) { + break; + } + if ( (find = Expr.find[ type ]) ) { + // Search, expanding context for leading sibling combinators + if ( (seed = find( + token.matches[0].replace( runescape, funescape ), + rsibling.test( tokens[0].type ) && testContext( context.parentNode ) || context + )) ) { + + // If seed is empty or no tokens remain, we can return early + tokens.splice( i, 1 ); + selector = seed.length && toSelector( tokens ); + if ( !selector ) { + push.apply( results, seed ); + return results; + } + + break; + } + } + } + } + + // Compile and execute a filtering function if one is not provided + // Provide `match` to avoid retokenization if we modified the selector above + ( compiled || compile( selector, match ) )( + seed, + context, + !documentIsHTML, + results, + !context || rsibling.test( selector ) && testContext( context.parentNode ) || context + ); + return results; +}; + +// One-time assignments + +// Sort stability +support.sortStable = expando.split("").sort( sortOrder ).join("") === expando; + +// Support: Chrome 14-35+ +// Always assume duplicates if they aren't passed to the comparison function +support.detectDuplicates = !!hasDuplicate; + +// Initialize against the default document +setDocument(); + +// Support: Webkit<537.32 - Safari 6.0.3/Chrome 25 (fixed in Chrome 27) +// Detached nodes confoundingly follow *each other* +support.sortDetached = assert(function( div1 ) { + // Should return 1, but returns 4 (following) + return div1.compareDocumentPosition( document.createElement("div") ) & 1; +}); + +// Support: IE<8 +// Prevent attribute/property "interpolation" +// http://msdn.microsoft.com/en-us/library/ms536429%28VS.85%29.aspx +if ( !assert(function( div ) { + div.innerHTML = ""; + return div.firstChild.getAttribute("href") === "#" ; +}) ) { + addHandle( "type|href|height|width", function( elem, name, isXML ) { + if ( !isXML ) { + return elem.getAttribute( name, name.toLowerCase() === "type" ? 1 : 2 ); + } + }); +} + +// Support: IE<9 +// Use defaultValue in place of getAttribute("value") +if ( !support.attributes || !assert(function( div ) { + div.innerHTML = ""; + div.firstChild.setAttribute( "value", "" ); + return div.firstChild.getAttribute( "value" ) === ""; +}) ) { + addHandle( "value", function( elem, name, isXML ) { + if ( !isXML && elem.nodeName.toLowerCase() === "input" ) { + return elem.defaultValue; + } + }); +} + +// Support: IE<9 +// Use getAttributeNode to fetch booleans when getAttribute lies +if ( !assert(function( div ) { + return div.getAttribute("disabled") == null; +}) ) { + addHandle( booleans, function( elem, name, isXML ) { + var val; + if ( !isXML ) { + return elem[ name ] === true ? name.toLowerCase() : + (val = elem.getAttributeNode( name )) && val.specified ? + val.value : + null; + } + }); +} + +return Sizzle; + +})( window ); + + + +jQuery.find = Sizzle; +jQuery.expr = Sizzle.selectors; +jQuery.expr[ ":" ] = jQuery.expr.pseudos; +jQuery.uniqueSort = jQuery.unique = Sizzle.uniqueSort; +jQuery.text = Sizzle.getText; +jQuery.isXMLDoc = Sizzle.isXML; +jQuery.contains = Sizzle.contains; + + + +var dir = function( elem, dir, until ) { + var matched = [], + truncate = until !== undefined; + + while ( ( elem = elem[ dir ] ) && elem.nodeType !== 9 ) { + if ( elem.nodeType === 1 ) { + if ( truncate && jQuery( elem ).is( until ) ) { + break; + } + matched.push( elem ); + } + } + return matched; +}; + + +var siblings = function( n, elem ) { + var matched = []; + + for ( ; n; n = n.nextSibling ) { + if ( n.nodeType === 1 && n !== elem ) { + matched.push( n ); + } + } + + return matched; +}; + + +var rneedsContext = jQuery.expr.match.needsContext; + +var rsingleTag = ( /^<([\w-]+)\s*\/?>(?:<\/\1>|)$/ ); + + + +var risSimple = /^.[^:#\[\.,]*$/; + +// Implement the identical functionality for filter and not +function winnow( elements, qualifier, not ) { + if ( jQuery.isFunction( qualifier ) ) { + return jQuery.grep( elements, function( elem, i ) { + /* jshint -W018 */ + return !!qualifier.call( elem, i, elem ) !== not; + } ); + + } + + if ( qualifier.nodeType ) { + return jQuery.grep( elements, function( elem ) { + return ( elem === qualifier ) !== not; + } ); + + } + + if ( typeof qualifier === "string" ) { + if ( risSimple.test( qualifier ) ) { + return jQuery.filter( qualifier, elements, not ); + } + + qualifier = jQuery.filter( qualifier, elements ); + } + + return jQuery.grep( elements, function( elem ) { + return ( indexOf.call( qualifier, elem ) > -1 ) !== not; + } ); +} + +jQuery.filter = function( expr, elems, not ) { + var elem = elems[ 0 ]; + + if ( not ) { + expr = ":not(" + expr + ")"; + } + + return elems.length === 1 && elem.nodeType === 1 ? + jQuery.find.matchesSelector( elem, expr ) ? [ elem ] : [] : + jQuery.find.matches( expr, jQuery.grep( elems, function( elem ) { + return elem.nodeType === 1; + } ) ); +}; + +jQuery.fn.extend( { + find: function( selector ) { + var i, + len = this.length, + ret = [], + self = this; + + if ( typeof selector !== "string" ) { + return this.pushStack( jQuery( selector ).filter( function() { + for ( i = 0; i < len; i++ ) { + if ( jQuery.contains( self[ i ], this ) ) { + return true; + } + } + } ) ); + } + + for ( i = 0; i < len; i++ ) { + jQuery.find( selector, self[ i ], ret ); + } + + // Needed because $( selector, context ) becomes $( context ).find( selector ) + ret = this.pushStack( len > 1 ? jQuery.unique( ret ) : ret ); + ret.selector = this.selector ? this.selector + " " + selector : selector; + return ret; + }, + filter: function( selector ) { + return this.pushStack( winnow( this, selector || [], false ) ); + }, + not: function( selector ) { + return this.pushStack( winnow( this, selector || [], true ) ); + }, + is: function( selector ) { + return !!winnow( + this, + + // If this is a positional/relative selector, check membership in the returned set + // so $("p:first").is("p:last") won't return true for a doc with two "p". + typeof selector === "string" && rneedsContext.test( selector ) ? + jQuery( selector ) : + selector || [], + false + ).length; + } +} ); + + +// Initialize a jQuery object + + +// A central reference to the root jQuery(document) +var rootjQuery, + + // A simple way to check for HTML strings + // Prioritize #id over to avoid XSS via location.hash (#9521) + // Strict HTML recognition (#11290: must start with <) + rquickExpr = /^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/, + + init = jQuery.fn.init = function( selector, context, root ) { + var match, elem; + + // HANDLE: $(""), $(null), $(undefined), $(false) + if ( !selector ) { + return this; + } + + // Method init() accepts an alternate rootjQuery + // so migrate can support jQuery.sub (gh-2101) + root = root || rootjQuery; + + // Handle HTML strings + if ( typeof selector === "string" ) { + if ( selector[ 0 ] === "<" && + selector[ selector.length - 1 ] === ">" && + selector.length >= 3 ) { + + // Assume that strings that start and end with <> are HTML and skip the regex check + match = [ null, selector, null ]; + + } else { + match = rquickExpr.exec( selector ); + } + + // Match html or make sure no context is specified for #id + if ( match && ( match[ 1 ] || !context ) ) { + + // HANDLE: $(html) -> $(array) + if ( match[ 1 ] ) { + context = context instanceof jQuery ? context[ 0 ] : context; + + // Option to run scripts is true for back-compat + // Intentionally let the error be thrown if parseHTML is not present + jQuery.merge( this, jQuery.parseHTML( + match[ 1 ], + context && context.nodeType ? context.ownerDocument || context : document, + true + ) ); + + // HANDLE: $(html, props) + if ( rsingleTag.test( match[ 1 ] ) && jQuery.isPlainObject( context ) ) { + for ( match in context ) { + + // Properties of context are called as methods if possible + if ( jQuery.isFunction( this[ match ] ) ) { + this[ match ]( context[ match ] ); + + // ...and otherwise set as attributes + } else { + this.attr( match, context[ match ] ); + } + } + } + + return this; + + // HANDLE: $(#id) + } else { + elem = document.getElementById( match[ 2 ] ); + + // Support: Blackberry 4.6 + // gEBID returns nodes no longer in the document (#6963) + if ( elem && elem.parentNode ) { + + // Inject the element directly into the jQuery object + this.length = 1; + this[ 0 ] = elem; + } + + this.context = document; + this.selector = selector; + return this; + } + + // HANDLE: $(expr, $(...)) + } else if ( !context || context.jquery ) { + return ( context || root ).find( selector ); + + // HANDLE: $(expr, context) + // (which is just equivalent to: $(context).find(expr) + } else { + return this.constructor( context ).find( selector ); + } + + // HANDLE: $(DOMElement) + } else if ( selector.nodeType ) { + this.context = this[ 0 ] = selector; + this.length = 1; + return this; + + // HANDLE: $(function) + // Shortcut for document ready + } else if ( jQuery.isFunction( selector ) ) { + return root.ready !== undefined ? + root.ready( selector ) : + + // Execute immediately if ready is not present + selector( jQuery ); + } + + if ( selector.selector !== undefined ) { + this.selector = selector.selector; + this.context = selector.context; + } + + return jQuery.makeArray( selector, this ); + }; + +// Give the init function the jQuery prototype for later instantiation +init.prototype = jQuery.fn; + +// Initialize central reference +rootjQuery = jQuery( document ); + + +var rparentsprev = /^(?:parents|prev(?:Until|All))/, + + // Methods guaranteed to produce a unique set when starting from a unique set + guaranteedUnique = { + children: true, + contents: true, + next: true, + prev: true + }; + +jQuery.fn.extend( { + has: function( target ) { + var targets = jQuery( target, this ), + l = targets.length; + + return this.filter( function() { + var i = 0; + for ( ; i < l; i++ ) { + if ( jQuery.contains( this, targets[ i ] ) ) { + return true; + } + } + } ); + }, + + closest: function( selectors, context ) { + var cur, + i = 0, + l = this.length, + matched = [], + pos = rneedsContext.test( selectors ) || typeof selectors !== "string" ? + jQuery( selectors, context || this.context ) : + 0; + + for ( ; i < l; i++ ) { + for ( cur = this[ i ]; cur && cur !== context; cur = cur.parentNode ) { + + // Always skip document fragments + if ( cur.nodeType < 11 && ( pos ? + pos.index( cur ) > -1 : + + // Don't pass non-elements to Sizzle + cur.nodeType === 1 && + jQuery.find.matchesSelector( cur, selectors ) ) ) { + + matched.push( cur ); + break; + } + } + } + + return this.pushStack( matched.length > 1 ? jQuery.uniqueSort( matched ) : matched ); + }, + + // Determine the position of an element within the set + index: function( elem ) { + + // No argument, return index in parent + if ( !elem ) { + return ( this[ 0 ] && this[ 0 ].parentNode ) ? this.first().prevAll().length : -1; + } + + // Index in selector + if ( typeof elem === "string" ) { + return indexOf.call( jQuery( elem ), this[ 0 ] ); + } + + // Locate the position of the desired element + return indexOf.call( this, + + // If it receives a jQuery object, the first element is used + elem.jquery ? elem[ 0 ] : elem + ); + }, + + add: function( selector, context ) { + return this.pushStack( + jQuery.uniqueSort( + jQuery.merge( this.get(), jQuery( selector, context ) ) + ) + ); + }, + + addBack: function( selector ) { + return this.add( selector == null ? + this.prevObject : this.prevObject.filter( selector ) + ); + } +} ); + +function sibling( cur, dir ) { + while ( ( cur = cur[ dir ] ) && cur.nodeType !== 1 ) {} + return cur; +} + +jQuery.each( { + parent: function( elem ) { + var parent = elem.parentNode; + return parent && parent.nodeType !== 11 ? parent : null; + }, + parents: function( elem ) { + return dir( elem, "parentNode" ); + }, + parentsUntil: function( elem, i, until ) { + return dir( elem, "parentNode", until ); + }, + next: function( elem ) { + return sibling( elem, "nextSibling" ); + }, + prev: function( elem ) { + return sibling( elem, "previousSibling" ); + }, + nextAll: function( elem ) { + return dir( elem, "nextSibling" ); + }, + prevAll: function( elem ) { + return dir( elem, "previousSibling" ); + }, + nextUntil: function( elem, i, until ) { + return dir( elem, "nextSibling", until ); + }, + prevUntil: function( elem, i, until ) { + return dir( elem, "previousSibling", until ); + }, + siblings: function( elem ) { + return siblings( ( elem.parentNode || {} ).firstChild, elem ); + }, + children: function( elem ) { + return siblings( elem.firstChild ); + }, + contents: function( elem ) { + return elem.contentDocument || jQuery.merge( [], elem.childNodes ); + } +}, function( name, fn ) { + jQuery.fn[ name ] = function( until, selector ) { + var matched = jQuery.map( this, fn, until ); + + if ( name.slice( -5 ) !== "Until" ) { + selector = until; + } + + if ( selector && typeof selector === "string" ) { + matched = jQuery.filter( selector, matched ); + } + + if ( this.length > 1 ) { + + // Remove duplicates + if ( !guaranteedUnique[ name ] ) { + jQuery.uniqueSort( matched ); + } + + // Reverse order for parents* and prev-derivatives + if ( rparentsprev.test( name ) ) { + matched.reverse(); + } + } + + return this.pushStack( matched ); + }; +} ); +var rnotwhite = ( /\S+/g ); + + + +// Convert String-formatted options into Object-formatted ones +function createOptions( options ) { + var object = {}; + jQuery.each( options.match( rnotwhite ) || [], function( _, flag ) { + object[ flag ] = true; + } ); + return object; +} + +/* + * Create a callback list using the following parameters: + * + * options: an optional list of space-separated options that will change how + * the callback list behaves or a more traditional option object + * + * By default a callback list will act like an event callback list and can be + * "fired" multiple times. + * + * Possible options: + * + * once: will ensure the callback list can only be fired once (like a Deferred) + * + * memory: will keep track of previous values and will call any callback added + * after the list has been fired right away with the latest "memorized" + * values (like a Deferred) + * + * unique: will ensure a callback can only be added once (no duplicate in the list) + * + * stopOnFalse: interrupt callings when a callback returns false + * + */ +jQuery.Callbacks = function( options ) { + + // Convert options from String-formatted to Object-formatted if needed + // (we check in cache first) + options = typeof options === "string" ? + createOptions( options ) : + jQuery.extend( {}, options ); + + var // Flag to know if list is currently firing + firing, + + // Last fire value for non-forgettable lists + memory, + + // Flag to know if list was already fired + fired, + + // Flag to prevent firing + locked, + + // Actual callback list + list = [], + + // Queue of execution data for repeatable lists + queue = [], + + // Index of currently firing callback (modified by add/remove as needed) + firingIndex = -1, + + // Fire callbacks + fire = function() { + + // Enforce single-firing + locked = options.once; + + // Execute callbacks for all pending executions, + // respecting firingIndex overrides and runtime changes + fired = firing = true; + for ( ; queue.length; firingIndex = -1 ) { + memory = queue.shift(); + while ( ++firingIndex < list.length ) { + + // Run callback and check for early termination + if ( list[ firingIndex ].apply( memory[ 0 ], memory[ 1 ] ) === false && + options.stopOnFalse ) { + + // Jump to end and forget the data so .add doesn't re-fire + firingIndex = list.length; + memory = false; + } + } + } + + // Forget the data if we're done with it + if ( !options.memory ) { + memory = false; + } + + firing = false; + + // Clean up if we're done firing for good + if ( locked ) { + + // Keep an empty list if we have data for future add calls + if ( memory ) { + list = []; + + // Otherwise, this object is spent + } else { + list = ""; + } + } + }, + + // Actual Callbacks object + self = { + + // Add a callback or a collection of callbacks to the list + add: function() { + if ( list ) { + + // If we have memory from a past run, we should fire after adding + if ( memory && !firing ) { + firingIndex = list.length - 1; + queue.push( memory ); + } + + ( function add( args ) { + jQuery.each( args, function( _, arg ) { + if ( jQuery.isFunction( arg ) ) { + if ( !options.unique || !self.has( arg ) ) { + list.push( arg ); + } + } else if ( arg && arg.length && jQuery.type( arg ) !== "string" ) { + + // Inspect recursively + add( arg ); + } + } ); + } )( arguments ); + + if ( memory && !firing ) { + fire(); + } + } + return this; + }, + + // Remove a callback from the list + remove: function() { + jQuery.each( arguments, function( _, arg ) { + var index; + while ( ( index = jQuery.inArray( arg, list, index ) ) > -1 ) { + list.splice( index, 1 ); + + // Handle firing indexes + if ( index <= firingIndex ) { + firingIndex--; + } + } + } ); + return this; + }, + + // Check if a given callback is in the list. + // If no argument is given, return whether or not list has callbacks attached. + has: function( fn ) { + return fn ? + jQuery.inArray( fn, list ) > -1 : + list.length > 0; + }, + + // Remove all callbacks from the list + empty: function() { + if ( list ) { + list = []; + } + return this; + }, + + // Disable .fire and .add + // Abort any current/pending executions + // Clear all callbacks and values + disable: function() { + locked = queue = []; + list = memory = ""; + return this; + }, + disabled: function() { + return !list; + }, + + // Disable .fire + // Also disable .add unless we have memory (since it would have no effect) + // Abort any pending executions + lock: function() { + locked = queue = []; + if ( !memory ) { + list = memory = ""; + } + return this; + }, + locked: function() { + return !!locked; + }, + + // Call all callbacks with the given context and arguments + fireWith: function( context, args ) { + if ( !locked ) { + args = args || []; + args = [ context, args.slice ? args.slice() : args ]; + queue.push( args ); + if ( !firing ) { + fire(); + } + } + return this; + }, + + // Call all the callbacks with the given arguments + fire: function() { + self.fireWith( this, arguments ); + return this; + }, + + // To know if the callbacks have already been called at least once + fired: function() { + return !!fired; + } + }; + + return self; +}; + + +jQuery.extend( { + + Deferred: function( func ) { + var tuples = [ + + // action, add listener, listener list, final state + [ "resolve", "done", jQuery.Callbacks( "once memory" ), "resolved" ], + [ "reject", "fail", jQuery.Callbacks( "once memory" ), "rejected" ], + [ "notify", "progress", jQuery.Callbacks( "memory" ) ] + ], + state = "pending", + promise = { + state: function() { + return state; + }, + always: function() { + deferred.done( arguments ).fail( arguments ); + return this; + }, + then: function( /* fnDone, fnFail, fnProgress */ ) { + var fns = arguments; + return jQuery.Deferred( function( newDefer ) { + jQuery.each( tuples, function( i, tuple ) { + var fn = jQuery.isFunction( fns[ i ] ) && fns[ i ]; + + // deferred[ done | fail | progress ] for forwarding actions to newDefer + deferred[ tuple[ 1 ] ]( function() { + var returned = fn && fn.apply( this, arguments ); + if ( returned && jQuery.isFunction( returned.promise ) ) { + returned.promise() + .progress( newDefer.notify ) + .done( newDefer.resolve ) + .fail( newDefer.reject ); + } else { + newDefer[ tuple[ 0 ] + "With" ]( + this === promise ? newDefer.promise() : this, + fn ? [ returned ] : arguments + ); + } + } ); + } ); + fns = null; + } ).promise(); + }, + + // Get a promise for this deferred + // If obj is provided, the promise aspect is added to the object + promise: function( obj ) { + return obj != null ? jQuery.extend( obj, promise ) : promise; + } + }, + deferred = {}; + + // Keep pipe for back-compat + promise.pipe = promise.then; + + // Add list-specific methods + jQuery.each( tuples, function( i, tuple ) { + var list = tuple[ 2 ], + stateString = tuple[ 3 ]; + + // promise[ done | fail | progress ] = list.add + promise[ tuple[ 1 ] ] = list.add; + + // Handle state + if ( stateString ) { + list.add( function() { + + // state = [ resolved | rejected ] + state = stateString; + + // [ reject_list | resolve_list ].disable; progress_list.lock + }, tuples[ i ^ 1 ][ 2 ].disable, tuples[ 2 ][ 2 ].lock ); + } + + // deferred[ resolve | reject | notify ] + deferred[ tuple[ 0 ] ] = function() { + deferred[ tuple[ 0 ] + "With" ]( this === deferred ? promise : this, arguments ); + return this; + }; + deferred[ tuple[ 0 ] + "With" ] = list.fireWith; + } ); + + // Make the deferred a promise + promise.promise( deferred ); + + // Call given func if any + if ( func ) { + func.call( deferred, deferred ); + } + + // All done! + return deferred; + }, + + // Deferred helper + when: function( subordinate /* , ..., subordinateN */ ) { + var i = 0, + resolveValues = slice.call( arguments ), + length = resolveValues.length, + + // the count of uncompleted subordinates + remaining = length !== 1 || + ( subordinate && jQuery.isFunction( subordinate.promise ) ) ? length : 0, + + // the master Deferred. + // If resolveValues consist of only a single Deferred, just use that. + deferred = remaining === 1 ? subordinate : jQuery.Deferred(), + + // Update function for both resolve and progress values + updateFunc = function( i, contexts, values ) { + return function( value ) { + contexts[ i ] = this; + values[ i ] = arguments.length > 1 ? slice.call( arguments ) : value; + if ( values === progressValues ) { + deferred.notifyWith( contexts, values ); + } else if ( !( --remaining ) ) { + deferred.resolveWith( contexts, values ); + } + }; + }, + + progressValues, progressContexts, resolveContexts; + + // Add listeners to Deferred subordinates; treat others as resolved + if ( length > 1 ) { + progressValues = new Array( length ); + progressContexts = new Array( length ); + resolveContexts = new Array( length ); + for ( ; i < length; i++ ) { + if ( resolveValues[ i ] && jQuery.isFunction( resolveValues[ i ].promise ) ) { + resolveValues[ i ].promise() + .progress( updateFunc( i, progressContexts, progressValues ) ) + .done( updateFunc( i, resolveContexts, resolveValues ) ) + .fail( deferred.reject ); + } else { + --remaining; + } + } + } + + // If we're not waiting on anything, resolve the master + if ( !remaining ) { + deferred.resolveWith( resolveContexts, resolveValues ); + } + + return deferred.promise(); + } +} ); + + +// The deferred used on DOM ready +var readyList; + +jQuery.fn.ready = function( fn ) { + + // Add the callback + jQuery.ready.promise().done( fn ); + + return this; +}; + +jQuery.extend( { + + // Is the DOM ready to be used? Set to true once it occurs. + isReady: false, + + // A counter to track how many items to wait for before + // the ready event fires. See #6781 + readyWait: 1, + + // Hold (or release) the ready event + holdReady: function( hold ) { + if ( hold ) { + jQuery.readyWait++; + } else { + jQuery.ready( true ); + } + }, + + // Handle when the DOM is ready + ready: function( wait ) { + + // Abort if there are pending holds or we're already ready + if ( wait === true ? --jQuery.readyWait : jQuery.isReady ) { + return; + } + + // Remember that the DOM is ready + jQuery.isReady = true; + + // If a normal DOM Ready event fired, decrement, and wait if need be + if ( wait !== true && --jQuery.readyWait > 0 ) { + return; + } + + // If there are functions bound, to execute + readyList.resolveWith( document, [ jQuery ] ); + + // Trigger any bound ready events + if ( jQuery.fn.triggerHandler ) { + jQuery( document ).triggerHandler( "ready" ); + jQuery( document ).off( "ready" ); + } + } +} ); + +/** + * The ready event handler and self cleanup method + */ +function completed() { + document.removeEventListener( "DOMContentLoaded", completed ); + window.removeEventListener( "load", completed ); + jQuery.ready(); +} + +jQuery.ready.promise = function( obj ) { + if ( !readyList ) { + + readyList = jQuery.Deferred(); + + // Catch cases where $(document).ready() is called + // after the browser event has already occurred. + // Support: IE9-10 only + // Older IE sometimes signals "interactive" too soon + if ( document.readyState === "complete" || + ( document.readyState !== "loading" && !document.documentElement.doScroll ) ) { + + // Handle it asynchronously to allow scripts the opportunity to delay ready + window.setTimeout( jQuery.ready ); + + } else { + + // Use the handy event callback + document.addEventListener( "DOMContentLoaded", completed ); + + // A fallback to window.onload, that will always work + window.addEventListener( "load", completed ); + } + } + return readyList.promise( obj ); +}; + +// Kick off the DOM ready check even if the user does not +jQuery.ready.promise(); + + + + +// Multifunctional method to get and set values of a collection +// The value/s can optionally be executed if it's a function +var access = function( elems, fn, key, value, chainable, emptyGet, raw ) { + var i = 0, + len = elems.length, + bulk = key == null; + + // Sets many values + if ( jQuery.type( key ) === "object" ) { + chainable = true; + for ( i in key ) { + access( elems, fn, i, key[ i ], true, emptyGet, raw ); + } + + // Sets one value + } else if ( value !== undefined ) { + chainable = true; + + if ( !jQuery.isFunction( value ) ) { + raw = true; + } + + if ( bulk ) { + + // Bulk operations run against the entire set + if ( raw ) { + fn.call( elems, value ); + fn = null; + + // ...except when executing function values + } else { + bulk = fn; + fn = function( elem, key, value ) { + return bulk.call( jQuery( elem ), value ); + }; + } + } + + if ( fn ) { + for ( ; i < len; i++ ) { + fn( + elems[ i ], key, raw ? + value : + value.call( elems[ i ], i, fn( elems[ i ], key ) ) + ); + } + } + } + + return chainable ? + elems : + + // Gets + bulk ? + fn.call( elems ) : + len ? fn( elems[ 0 ], key ) : emptyGet; +}; +var acceptData = function( owner ) { + + // Accepts only: + // - Node + // - Node.ELEMENT_NODE + // - Node.DOCUMENT_NODE + // - Object + // - Any + /* jshint -W018 */ + return owner.nodeType === 1 || owner.nodeType === 9 || !( +owner.nodeType ); +}; + + + + +function Data() { + this.expando = jQuery.expando + Data.uid++; +} + +Data.uid = 1; + +Data.prototype = { + + register: function( owner, initial ) { + var value = initial || {}; + + // If it is a node unlikely to be stringify-ed or looped over + // use plain assignment + if ( owner.nodeType ) { + owner[ this.expando ] = value; + + // Otherwise secure it in a non-enumerable, non-writable property + // configurability must be true to allow the property to be + // deleted with the delete operator + } else { + Object.defineProperty( owner, this.expando, { + value: value, + writable: true, + configurable: true + } ); + } + return owner[ this.expando ]; + }, + cache: function( owner ) { + + // We can accept data for non-element nodes in modern browsers, + // but we should not, see #8335. + // Always return an empty object. + if ( !acceptData( owner ) ) { + return {}; + } + + // Check if the owner object already has a cache + var value = owner[ this.expando ]; + + // If not, create one + if ( !value ) { + value = {}; + + // We can accept data for non-element nodes in modern browsers, + // but we should not, see #8335. + // Always return an empty object. + if ( acceptData( owner ) ) { + + // If it is a node unlikely to be stringify-ed or looped over + // use plain assignment + if ( owner.nodeType ) { + owner[ this.expando ] = value; + + // Otherwise secure it in a non-enumerable property + // configurable must be true to allow the property to be + // deleted when data is removed + } else { + Object.defineProperty( owner, this.expando, { + value: value, + configurable: true + } ); + } + } + } + + return value; + }, + set: function( owner, data, value ) { + var prop, + cache = this.cache( owner ); + + // Handle: [ owner, key, value ] args + if ( typeof data === "string" ) { + cache[ data ] = value; + + // Handle: [ owner, { properties } ] args + } else { + + // Copy the properties one-by-one to the cache object + for ( prop in data ) { + cache[ prop ] = data[ prop ]; + } + } + return cache; + }, + get: function( owner, key ) { + return key === undefined ? + this.cache( owner ) : + owner[ this.expando ] && owner[ this.expando ][ key ]; + }, + access: function( owner, key, value ) { + var stored; + + // In cases where either: + // + // 1. No key was specified + // 2. A string key was specified, but no value provided + // + // Take the "read" path and allow the get method to determine + // which value to return, respectively either: + // + // 1. The entire cache object + // 2. The data stored at the key + // + if ( key === undefined || + ( ( key && typeof key === "string" ) && value === undefined ) ) { + + stored = this.get( owner, key ); + + return stored !== undefined ? + stored : this.get( owner, jQuery.camelCase( key ) ); + } + + // When the key is not a string, or both a key and value + // are specified, set or extend (existing objects) with either: + // + // 1. An object of properties + // 2. A key and value + // + this.set( owner, key, value ); + + // Since the "set" path can have two possible entry points + // return the expected data based on which path was taken[*] + return value !== undefined ? value : key; + }, + remove: function( owner, key ) { + var i, name, camel, + cache = owner[ this.expando ]; + + if ( cache === undefined ) { + return; + } + + if ( key === undefined ) { + this.register( owner ); + + } else { + + // Support array or space separated string of keys + if ( jQuery.isArray( key ) ) { + + // If "name" is an array of keys... + // When data is initially created, via ("key", "val") signature, + // keys will be converted to camelCase. + // Since there is no way to tell _how_ a key was added, remove + // both plain key and camelCase key. #12786 + // This will only penalize the array argument path. + name = key.concat( key.map( jQuery.camelCase ) ); + } else { + camel = jQuery.camelCase( key ); + + // Try the string as a key before any manipulation + if ( key in cache ) { + name = [ key, camel ]; + } else { + + // If a key with the spaces exists, use it. + // Otherwise, create an array by matching non-whitespace + name = camel; + name = name in cache ? + [ name ] : ( name.match( rnotwhite ) || [] ); + } + } + + i = name.length; + + while ( i-- ) { + delete cache[ name[ i ] ]; + } + } + + // Remove the expando if there's no more data + if ( key === undefined || jQuery.isEmptyObject( cache ) ) { + + // Support: Chrome <= 35-45+ + // Webkit & Blink performance suffers when deleting properties + // from DOM nodes, so set to undefined instead + // https://code.google.com/p/chromium/issues/detail?id=378607 + if ( owner.nodeType ) { + owner[ this.expando ] = undefined; + } else { + delete owner[ this.expando ]; + } + } + }, + hasData: function( owner ) { + var cache = owner[ this.expando ]; + return cache !== undefined && !jQuery.isEmptyObject( cache ); + } +}; +var dataPriv = new Data(); + +var dataUser = new Data(); + + + +// Implementation Summary +// +// 1. Enforce API surface and semantic compatibility with 1.9.x branch +// 2. Improve the module's maintainability by reducing the storage +// paths to a single mechanism. +// 3. Use the same single mechanism to support "private" and "user" data. +// 4. _Never_ expose "private" data to user code (TODO: Drop _data, _removeData) +// 5. Avoid exposing implementation details on user objects (eg. expando properties) +// 6. Provide a clear path for implementation upgrade to WeakMap in 2014 + +var rbrace = /^(?:\{[\w\W]*\}|\[[\w\W]*\])$/, + rmultiDash = /[A-Z]/g; + +function dataAttr( elem, key, data ) { + var name; + + // If nothing was found internally, try to fetch any + // data from the HTML5 data-* attribute + if ( data === undefined && elem.nodeType === 1 ) { + name = "data-" + key.replace( rmultiDash, "-$&" ).toLowerCase(); + data = elem.getAttribute( name ); + + if ( typeof data === "string" ) { + try { + data = data === "true" ? true : + data === "false" ? false : + data === "null" ? null : + + // Only convert to a number if it doesn't change the string + +data + "" === data ? +data : + rbrace.test( data ) ? jQuery.parseJSON( data ) : + data; + } catch ( e ) {} + + // Make sure we set the data so it isn't changed later + dataUser.set( elem, key, data ); + } else { + data = undefined; + } + } + return data; +} + +jQuery.extend( { + hasData: function( elem ) { + return dataUser.hasData( elem ) || dataPriv.hasData( elem ); + }, + + data: function( elem, name, data ) { + return dataUser.access( elem, name, data ); + }, + + removeData: function( elem, name ) { + dataUser.remove( elem, name ); + }, + + // TODO: Now that all calls to _data and _removeData have been replaced + // with direct calls to dataPriv methods, these can be deprecated. + _data: function( elem, name, data ) { + return dataPriv.access( elem, name, data ); + }, + + _removeData: function( elem, name ) { + dataPriv.remove( elem, name ); + } +} ); + +jQuery.fn.extend( { + data: function( key, value ) { + var i, name, data, + elem = this[ 0 ], + attrs = elem && elem.attributes; + + // Gets all values + if ( key === undefined ) { + if ( this.length ) { + data = dataUser.get( elem ); + + if ( elem.nodeType === 1 && !dataPriv.get( elem, "hasDataAttrs" ) ) { + i = attrs.length; + while ( i-- ) { + + // Support: IE11+ + // The attrs elements can be null (#14894) + if ( attrs[ i ] ) { + name = attrs[ i ].name; + if ( name.indexOf( "data-" ) === 0 ) { + name = jQuery.camelCase( name.slice( 5 ) ); + dataAttr( elem, name, data[ name ] ); + } + } + } + dataPriv.set( elem, "hasDataAttrs", true ); + } + } + + return data; + } + + // Sets multiple values + if ( typeof key === "object" ) { + return this.each( function() { + dataUser.set( this, key ); + } ); + } + + return access( this, function( value ) { + var data, camelKey; + + // The calling jQuery object (element matches) is not empty + // (and therefore has an element appears at this[ 0 ]) and the + // `value` parameter was not undefined. An empty jQuery object + // will result in `undefined` for elem = this[ 0 ] which will + // throw an exception if an attempt to read a data cache is made. + if ( elem && value === undefined ) { + + // Attempt to get data from the cache + // with the key as-is + data = dataUser.get( elem, key ) || + + // Try to find dashed key if it exists (gh-2779) + // This is for 2.2.x only + dataUser.get( elem, key.replace( rmultiDash, "-$&" ).toLowerCase() ); + + if ( data !== undefined ) { + return data; + } + + camelKey = jQuery.camelCase( key ); + + // Attempt to get data from the cache + // with the key camelized + data = dataUser.get( elem, camelKey ); + if ( data !== undefined ) { + return data; + } + + // Attempt to "discover" the data in + // HTML5 custom data-* attrs + data = dataAttr( elem, camelKey, undefined ); + if ( data !== undefined ) { + return data; + } + + // We tried really hard, but the data doesn't exist. + return; + } + + // Set the data... + camelKey = jQuery.camelCase( key ); + this.each( function() { + + // First, attempt to store a copy or reference of any + // data that might've been store with a camelCased key. + var data = dataUser.get( this, camelKey ); + + // For HTML5 data-* attribute interop, we have to + // store property names with dashes in a camelCase form. + // This might not apply to all properties...* + dataUser.set( this, camelKey, value ); + + // *... In the case of properties that might _actually_ + // have dashes, we need to also store a copy of that + // unchanged property. + if ( key.indexOf( "-" ) > -1 && data !== undefined ) { + dataUser.set( this, key, value ); + } + } ); + }, null, value, arguments.length > 1, null, true ); + }, + + removeData: function( key ) { + return this.each( function() { + dataUser.remove( this, key ); + } ); + } +} ); + + +jQuery.extend( { + queue: function( elem, type, data ) { + var queue; + + if ( elem ) { + type = ( type || "fx" ) + "queue"; + queue = dataPriv.get( elem, type ); + + // Speed up dequeue by getting out quickly if this is just a lookup + if ( data ) { + if ( !queue || jQuery.isArray( data ) ) { + queue = dataPriv.access( elem, type, jQuery.makeArray( data ) ); + } else { + queue.push( data ); + } + } + return queue || []; + } + }, + + dequeue: function( elem, type ) { + type = type || "fx"; + + var queue = jQuery.queue( elem, type ), + startLength = queue.length, + fn = queue.shift(), + hooks = jQuery._queueHooks( elem, type ), + next = function() { + jQuery.dequeue( elem, type ); + }; + + // If the fx queue is dequeued, always remove the progress sentinel + if ( fn === "inprogress" ) { + fn = queue.shift(); + startLength--; + } + + if ( fn ) { + + // Add a progress sentinel to prevent the fx queue from being + // automatically dequeued + if ( type === "fx" ) { + queue.unshift( "inprogress" ); + } + + // Clear up the last queue stop function + delete hooks.stop; + fn.call( elem, next, hooks ); + } + + if ( !startLength && hooks ) { + hooks.empty.fire(); + } + }, + + // Not public - generate a queueHooks object, or return the current one + _queueHooks: function( elem, type ) { + var key = type + "queueHooks"; + return dataPriv.get( elem, key ) || dataPriv.access( elem, key, { + empty: jQuery.Callbacks( "once memory" ).add( function() { + dataPriv.remove( elem, [ type + "queue", key ] ); + } ) + } ); + } +} ); + +jQuery.fn.extend( { + queue: function( type, data ) { + var setter = 2; + + if ( typeof type !== "string" ) { + data = type; + type = "fx"; + setter--; + } + + if ( arguments.length < setter ) { + return jQuery.queue( this[ 0 ], type ); + } + + return data === undefined ? + this : + this.each( function() { + var queue = jQuery.queue( this, type, data ); + + // Ensure a hooks for this queue + jQuery._queueHooks( this, type ); + + if ( type === "fx" && queue[ 0 ] !== "inprogress" ) { + jQuery.dequeue( this, type ); + } + } ); + }, + dequeue: function( type ) { + return this.each( function() { + jQuery.dequeue( this, type ); + } ); + }, + clearQueue: function( type ) { + return this.queue( type || "fx", [] ); + }, + + // Get a promise resolved when queues of a certain type + // are emptied (fx is the type by default) + promise: function( type, obj ) { + var tmp, + count = 1, + defer = jQuery.Deferred(), + elements = this, + i = this.length, + resolve = function() { + if ( !( --count ) ) { + defer.resolveWith( elements, [ elements ] ); + } + }; + + if ( typeof type !== "string" ) { + obj = type; + type = undefined; + } + type = type || "fx"; + + while ( i-- ) { + tmp = dataPriv.get( elements[ i ], type + "queueHooks" ); + if ( tmp && tmp.empty ) { + count++; + tmp.empty.add( resolve ); + } + } + resolve(); + return defer.promise( obj ); + } +} ); +var pnum = ( /[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/ ).source; + +var rcssNum = new RegExp( "^(?:([+-])=|)(" + pnum + ")([a-z%]*)$", "i" ); + + +var cssExpand = [ "Top", "Right", "Bottom", "Left" ]; + +var isHidden = function( elem, el ) { + + // isHidden might be called from jQuery#filter function; + // in that case, element will be second argument + elem = el || elem; + return jQuery.css( elem, "display" ) === "none" || + !jQuery.contains( elem.ownerDocument, elem ); + }; + + + +function adjustCSS( elem, prop, valueParts, tween ) { + var adjusted, + scale = 1, + maxIterations = 20, + currentValue = tween ? + function() { return tween.cur(); } : + function() { return jQuery.css( elem, prop, "" ); }, + initial = currentValue(), + unit = valueParts && valueParts[ 3 ] || ( jQuery.cssNumber[ prop ] ? "" : "px" ), + + // Starting value computation is required for potential unit mismatches + initialInUnit = ( jQuery.cssNumber[ prop ] || unit !== "px" && +initial ) && + rcssNum.exec( jQuery.css( elem, prop ) ); + + if ( initialInUnit && initialInUnit[ 3 ] !== unit ) { + + // Trust units reported by jQuery.css + unit = unit || initialInUnit[ 3 ]; + + // Make sure we update the tween properties later on + valueParts = valueParts || []; + + // Iteratively approximate from a nonzero starting point + initialInUnit = +initial || 1; + + do { + + // If previous iteration zeroed out, double until we get *something*. + // Use string for doubling so we don't accidentally see scale as unchanged below + scale = scale || ".5"; + + // Adjust and apply + initialInUnit = initialInUnit / scale; + jQuery.style( elem, prop, initialInUnit + unit ); + + // Update scale, tolerating zero or NaN from tween.cur() + // Break the loop if scale is unchanged or perfect, or if we've just had enough. + } while ( + scale !== ( scale = currentValue() / initial ) && scale !== 1 && --maxIterations + ); + } + + if ( valueParts ) { + initialInUnit = +initialInUnit || +initial || 0; + + // Apply relative offset (+=/-=) if specified + adjusted = valueParts[ 1 ] ? + initialInUnit + ( valueParts[ 1 ] + 1 ) * valueParts[ 2 ] : + +valueParts[ 2 ]; + if ( tween ) { + tween.unit = unit; + tween.start = initialInUnit; + tween.end = adjusted; + } + } + return adjusted; +} +var rcheckableType = ( /^(?:checkbox|radio)$/i ); + +var rtagName = ( /<([\w:-]+)/ ); + +var rscriptType = ( /^$|\/(?:java|ecma)script/i ); + + + +// We have to close these tags to support XHTML (#13200) +var wrapMap = { + + // Support: IE9 + option: [ 1, "" ], + + // XHTML parsers do not magically insert elements in the + // same way that tag soup parsers do. So we cannot shorten + // this by omitting or other required elements. + thead: [ 1, "", "
" ], + col: [ 2, "", "
" ], + tr: [ 2, "", "
" ], + td: [ 3, "", "
" ], + + _default: [ 0, "", "" ] +}; + +// Support: IE9 +wrapMap.optgroup = wrapMap.option; + +wrapMap.tbody = wrapMap.tfoot = wrapMap.colgroup = wrapMap.caption = wrapMap.thead; +wrapMap.th = wrapMap.td; + + +function getAll( context, tag ) { + + // Support: IE9-11+ + // Use typeof to avoid zero-argument method invocation on host objects (#15151) + var ret = typeof context.getElementsByTagName !== "undefined" ? + context.getElementsByTagName( tag || "*" ) : + typeof context.querySelectorAll !== "undefined" ? + context.querySelectorAll( tag || "*" ) : + []; + + return tag === undefined || tag && jQuery.nodeName( context, tag ) ? + jQuery.merge( [ context ], ret ) : + ret; +} + + +// Mark scripts as having already been evaluated +function setGlobalEval( elems, refElements ) { + var i = 0, + l = elems.length; + + for ( ; i < l; i++ ) { + dataPriv.set( + elems[ i ], + "globalEval", + !refElements || dataPriv.get( refElements[ i ], "globalEval" ) + ); + } +} + + +var rhtml = /<|&#?\w+;/; + +function buildFragment( elems, context, scripts, selection, ignored ) { + var elem, tmp, tag, wrap, contains, j, + fragment = context.createDocumentFragment(), + nodes = [], + i = 0, + l = elems.length; + + for ( ; i < l; i++ ) { + elem = elems[ i ]; + + if ( elem || elem === 0 ) { + + // Add nodes directly + if ( jQuery.type( elem ) === "object" ) { + + // Support: Android<4.1, PhantomJS<2 + // push.apply(_, arraylike) throws on ancient WebKit + jQuery.merge( nodes, elem.nodeType ? [ elem ] : elem ); + + // Convert non-html into a text node + } else if ( !rhtml.test( elem ) ) { + nodes.push( context.createTextNode( elem ) ); + + // Convert html into DOM nodes + } else { + tmp = tmp || fragment.appendChild( context.createElement( "div" ) ); + + // Deserialize a standard representation + tag = ( rtagName.exec( elem ) || [ "", "" ] )[ 1 ].toLowerCase(); + wrap = wrapMap[ tag ] || wrapMap._default; + tmp.innerHTML = wrap[ 1 ] + jQuery.htmlPrefilter( elem ) + wrap[ 2 ]; + + // Descend through wrappers to the right content + j = wrap[ 0 ]; + while ( j-- ) { + tmp = tmp.lastChild; + } + + // Support: Android<4.1, PhantomJS<2 + // push.apply(_, arraylike) throws on ancient WebKit + jQuery.merge( nodes, tmp.childNodes ); + + // Remember the top-level container + tmp = fragment.firstChild; + + // Ensure the created nodes are orphaned (#12392) + tmp.textContent = ""; + } + } + } + + // Remove wrapper from fragment + fragment.textContent = ""; + + i = 0; + while ( ( elem = nodes[ i++ ] ) ) { + + // Skip elements already in the context collection (trac-4087) + if ( selection && jQuery.inArray( elem, selection ) > -1 ) { + if ( ignored ) { + ignored.push( elem ); + } + continue; + } + + contains = jQuery.contains( elem.ownerDocument, elem ); + + // Append to fragment + tmp = getAll( fragment.appendChild( elem ), "script" ); + + // Preserve script evaluation history + if ( contains ) { + setGlobalEval( tmp ); + } + + // Capture executables + if ( scripts ) { + j = 0; + while ( ( elem = tmp[ j++ ] ) ) { + if ( rscriptType.test( elem.type || "" ) ) { + scripts.push( elem ); + } + } + } + } + + return fragment; +} + + +( function() { + var fragment = document.createDocumentFragment(), + div = fragment.appendChild( document.createElement( "div" ) ), + input = document.createElement( "input" ); + + // Support: Android 4.0-4.3, Safari<=5.1 + // Check state lost if the name is set (#11217) + // Support: Windows Web Apps (WWA) + // `name` and `type` must use .setAttribute for WWA (#14901) + input.setAttribute( "type", "radio" ); + input.setAttribute( "checked", "checked" ); + input.setAttribute( "name", "t" ); + + div.appendChild( input ); + + // Support: Safari<=5.1, Android<4.2 + // Older WebKit doesn't clone checked state correctly in fragments + support.checkClone = div.cloneNode( true ).cloneNode( true ).lastChild.checked; + + // Support: IE<=11+ + // Make sure textarea (and checkbox) defaultValue is properly cloned + div.innerHTML = ""; + support.noCloneChecked = !!div.cloneNode( true ).lastChild.defaultValue; +} )(); + + +var + rkeyEvent = /^key/, + rmouseEvent = /^(?:mouse|pointer|contextmenu|drag|drop)|click/, + rtypenamespace = /^([^.]*)(?:\.(.+)|)/; + +function returnTrue() { + return true; +} + +function returnFalse() { + return false; +} + +// Support: IE9 +// See #13393 for more info +function safeActiveElement() { + try { + return document.activeElement; + } catch ( err ) { } +} + +function on( elem, types, selector, data, fn, one ) { + var origFn, type; + + // Types can be a map of types/handlers + if ( typeof types === "object" ) { + + // ( types-Object, selector, data ) + if ( typeof selector !== "string" ) { + + // ( types-Object, data ) + data = data || selector; + selector = undefined; + } + for ( type in types ) { + on( elem, type, selector, data, types[ type ], one ); + } + return elem; + } + + if ( data == null && fn == null ) { + + // ( types, fn ) + fn = selector; + data = selector = undefined; + } else if ( fn == null ) { + if ( typeof selector === "string" ) { + + // ( types, selector, fn ) + fn = data; + data = undefined; + } else { + + // ( types, data, fn ) + fn = data; + data = selector; + selector = undefined; + } + } + if ( fn === false ) { + fn = returnFalse; + } else if ( !fn ) { + return elem; + } + + if ( one === 1 ) { + origFn = fn; + fn = function( event ) { + + // Can use an empty set, since event contains the info + jQuery().off( event ); + return origFn.apply( this, arguments ); + }; + + // Use same guid so caller can remove using origFn + fn.guid = origFn.guid || ( origFn.guid = jQuery.guid++ ); + } + return elem.each( function() { + jQuery.event.add( this, types, fn, data, selector ); + } ); +} + +/* + * Helper functions for managing events -- not part of the public interface. + * Props to Dean Edwards' addEvent library for many of the ideas. + */ +jQuery.event = { + + global: {}, + + add: function( elem, types, handler, data, selector ) { + + var handleObjIn, eventHandle, tmp, + events, t, handleObj, + special, handlers, type, namespaces, origType, + elemData = dataPriv.get( elem ); + + // Don't attach events to noData or text/comment nodes (but allow plain objects) + if ( !elemData ) { + return; + } + + // Caller can pass in an object of custom data in lieu of the handler + if ( handler.handler ) { + handleObjIn = handler; + handler = handleObjIn.handler; + selector = handleObjIn.selector; + } + + // Make sure that the handler has a unique ID, used to find/remove it later + if ( !handler.guid ) { + handler.guid = jQuery.guid++; + } + + // Init the element's event structure and main handler, if this is the first + if ( !( events = elemData.events ) ) { + events = elemData.events = {}; + } + if ( !( eventHandle = elemData.handle ) ) { + eventHandle = elemData.handle = function( e ) { + + // Discard the second event of a jQuery.event.trigger() and + // when an event is called after a page has unloaded + return typeof jQuery !== "undefined" && jQuery.event.triggered !== e.type ? + jQuery.event.dispatch.apply( elem, arguments ) : undefined; + }; + } + + // Handle multiple events separated by a space + types = ( types || "" ).match( rnotwhite ) || [ "" ]; + t = types.length; + while ( t-- ) { + tmp = rtypenamespace.exec( types[ t ] ) || []; + type = origType = tmp[ 1 ]; + namespaces = ( tmp[ 2 ] || "" ).split( "." ).sort(); + + // There *must* be a type, no attaching namespace-only handlers + if ( !type ) { + continue; + } + + // If event changes its type, use the special event handlers for the changed type + special = jQuery.event.special[ type ] || {}; + + // If selector defined, determine special event api type, otherwise given type + type = ( selector ? special.delegateType : special.bindType ) || type; + + // Update special based on newly reset type + special = jQuery.event.special[ type ] || {}; + + // handleObj is passed to all event handlers + handleObj = jQuery.extend( { + type: type, + origType: origType, + data: data, + handler: handler, + guid: handler.guid, + selector: selector, + needsContext: selector && jQuery.expr.match.needsContext.test( selector ), + namespace: namespaces.join( "." ) + }, handleObjIn ); + + // Init the event handler queue if we're the first + if ( !( handlers = events[ type ] ) ) { + handlers = events[ type ] = []; + handlers.delegateCount = 0; + + // Only use addEventListener if the special events handler returns false + if ( !special.setup || + special.setup.call( elem, data, namespaces, eventHandle ) === false ) { + + if ( elem.addEventListener ) { + elem.addEventListener( type, eventHandle ); + } + } + } + + if ( special.add ) { + special.add.call( elem, handleObj ); + + if ( !handleObj.handler.guid ) { + handleObj.handler.guid = handler.guid; + } + } + + // Add to the element's handler list, delegates in front + if ( selector ) { + handlers.splice( handlers.delegateCount++, 0, handleObj ); + } else { + handlers.push( handleObj ); + } + + // Keep track of which events have ever been used, for event optimization + jQuery.event.global[ type ] = true; + } + + }, + + // Detach an event or set of events from an element + remove: function( elem, types, handler, selector, mappedTypes ) { + + var j, origCount, tmp, + events, t, handleObj, + special, handlers, type, namespaces, origType, + elemData = dataPriv.hasData( elem ) && dataPriv.get( elem ); + + if ( !elemData || !( events = elemData.events ) ) { + return; + } + + // Once for each type.namespace in types; type may be omitted + types = ( types || "" ).match( rnotwhite ) || [ "" ]; + t = types.length; + while ( t-- ) { + tmp = rtypenamespace.exec( types[ t ] ) || []; + type = origType = tmp[ 1 ]; + namespaces = ( tmp[ 2 ] || "" ).split( "." ).sort(); + + // Unbind all events (on this namespace, if provided) for the element + if ( !type ) { + for ( type in events ) { + jQuery.event.remove( elem, type + types[ t ], handler, selector, true ); + } + continue; + } + + special = jQuery.event.special[ type ] || {}; + type = ( selector ? special.delegateType : special.bindType ) || type; + handlers = events[ type ] || []; + tmp = tmp[ 2 ] && + new RegExp( "(^|\\.)" + namespaces.join( "\\.(?:.*\\.|)" ) + "(\\.|$)" ); + + // Remove matching events + origCount = j = handlers.length; + while ( j-- ) { + handleObj = handlers[ j ]; + + if ( ( mappedTypes || origType === handleObj.origType ) && + ( !handler || handler.guid === handleObj.guid ) && + ( !tmp || tmp.test( handleObj.namespace ) ) && + ( !selector || selector === handleObj.selector || + selector === "**" && handleObj.selector ) ) { + handlers.splice( j, 1 ); + + if ( handleObj.selector ) { + handlers.delegateCount--; + } + if ( special.remove ) { + special.remove.call( elem, handleObj ); + } + } + } + + // Remove generic event handler if we removed something and no more handlers exist + // (avoids potential for endless recursion during removal of special event handlers) + if ( origCount && !handlers.length ) { + if ( !special.teardown || + special.teardown.call( elem, namespaces, elemData.handle ) === false ) { + + jQuery.removeEvent( elem, type, elemData.handle ); + } + + delete events[ type ]; + } + } + + // Remove data and the expando if it's no longer used + if ( jQuery.isEmptyObject( events ) ) { + dataPriv.remove( elem, "handle events" ); + } + }, + + dispatch: function( event ) { + + // Make a writable jQuery.Event from the native event object + event = jQuery.event.fix( event ); + + var i, j, ret, matched, handleObj, + handlerQueue = [], + args = slice.call( arguments ), + handlers = ( dataPriv.get( this, "events" ) || {} )[ event.type ] || [], + special = jQuery.event.special[ event.type ] || {}; + + // Use the fix-ed jQuery.Event rather than the (read-only) native event + args[ 0 ] = event; + event.delegateTarget = this; + + // Call the preDispatch hook for the mapped type, and let it bail if desired + if ( special.preDispatch && special.preDispatch.call( this, event ) === false ) { + return; + } + + // Determine handlers + handlerQueue = jQuery.event.handlers.call( this, event, handlers ); + + // Run delegates first; they may want to stop propagation beneath us + i = 0; + while ( ( matched = handlerQueue[ i++ ] ) && !event.isPropagationStopped() ) { + event.currentTarget = matched.elem; + + j = 0; + while ( ( handleObj = matched.handlers[ j++ ] ) && + !event.isImmediatePropagationStopped() ) { + + // Triggered event must either 1) have no namespace, or 2) have namespace(s) + // a subset or equal to those in the bound event (both can have no namespace). + if ( !event.rnamespace || event.rnamespace.test( handleObj.namespace ) ) { + + event.handleObj = handleObj; + event.data = handleObj.data; + + ret = ( ( jQuery.event.special[ handleObj.origType ] || {} ).handle || + handleObj.handler ).apply( matched.elem, args ); + + if ( ret !== undefined ) { + if ( ( event.result = ret ) === false ) { + event.preventDefault(); + event.stopPropagation(); + } + } + } + } + } + + // Call the postDispatch hook for the mapped type + if ( special.postDispatch ) { + special.postDispatch.call( this, event ); + } + + return event.result; + }, + + handlers: function( event, handlers ) { + var i, matches, sel, handleObj, + handlerQueue = [], + delegateCount = handlers.delegateCount, + cur = event.target; + + // Support (at least): Chrome, IE9 + // Find delegate handlers + // Black-hole SVG instance trees (#13180) + // + // Support: Firefox<=42+ + // Avoid non-left-click in FF but don't block IE radio events (#3861, gh-2343) + if ( delegateCount && cur.nodeType && + ( event.type !== "click" || isNaN( event.button ) || event.button < 1 ) ) { + + for ( ; cur !== this; cur = cur.parentNode || this ) { + + // Don't check non-elements (#13208) + // Don't process clicks on disabled elements (#6911, #8165, #11382, #11764) + if ( cur.nodeType === 1 && ( cur.disabled !== true || event.type !== "click" ) ) { + matches = []; + for ( i = 0; i < delegateCount; i++ ) { + handleObj = handlers[ i ]; + + // Don't conflict with Object.prototype properties (#13203) + sel = handleObj.selector + " "; + + if ( matches[ sel ] === undefined ) { + matches[ sel ] = handleObj.needsContext ? + jQuery( sel, this ).index( cur ) > -1 : + jQuery.find( sel, this, null, [ cur ] ).length; + } + if ( matches[ sel ] ) { + matches.push( handleObj ); + } + } + if ( matches.length ) { + handlerQueue.push( { elem: cur, handlers: matches } ); + } + } + } + } + + // Add the remaining (directly-bound) handlers + if ( delegateCount < handlers.length ) { + handlerQueue.push( { elem: this, handlers: handlers.slice( delegateCount ) } ); + } + + return handlerQueue; + }, + + // Includes some event props shared by KeyEvent and MouseEvent + props: ( "altKey bubbles cancelable ctrlKey currentTarget detail eventPhase " + + "metaKey relatedTarget shiftKey target timeStamp view which" ).split( " " ), + + fixHooks: {}, + + keyHooks: { + props: "char charCode key keyCode".split( " " ), + filter: function( event, original ) { + + // Add which for key events + if ( event.which == null ) { + event.which = original.charCode != null ? original.charCode : original.keyCode; + } + + return event; + } + }, + + mouseHooks: { + props: ( "button buttons clientX clientY offsetX offsetY pageX pageY " + + "screenX screenY toElement" ).split( " " ), + filter: function( event, original ) { + var eventDoc, doc, body, + button = original.button; + + // Calculate pageX/Y if missing and clientX/Y available + if ( event.pageX == null && original.clientX != null ) { + eventDoc = event.target.ownerDocument || document; + doc = eventDoc.documentElement; + body = eventDoc.body; + + event.pageX = original.clientX + + ( doc && doc.scrollLeft || body && body.scrollLeft || 0 ) - + ( doc && doc.clientLeft || body && body.clientLeft || 0 ); + event.pageY = original.clientY + + ( doc && doc.scrollTop || body && body.scrollTop || 0 ) - + ( doc && doc.clientTop || body && body.clientTop || 0 ); + } + + // Add which for click: 1 === left; 2 === middle; 3 === right + // Note: button is not normalized, so don't use it + if ( !event.which && button !== undefined ) { + event.which = ( button & 1 ? 1 : ( button & 2 ? 3 : ( button & 4 ? 2 : 0 ) ) ); + } + + return event; + } + }, + + fix: function( event ) { + if ( event[ jQuery.expando ] ) { + return event; + } + + // Create a writable copy of the event object and normalize some properties + var i, prop, copy, + type = event.type, + originalEvent = event, + fixHook = this.fixHooks[ type ]; + + if ( !fixHook ) { + this.fixHooks[ type ] = fixHook = + rmouseEvent.test( type ) ? this.mouseHooks : + rkeyEvent.test( type ) ? this.keyHooks : + {}; + } + copy = fixHook.props ? this.props.concat( fixHook.props ) : this.props; + + event = new jQuery.Event( originalEvent ); + + i = copy.length; + while ( i-- ) { + prop = copy[ i ]; + event[ prop ] = originalEvent[ prop ]; + } + + // Support: Cordova 2.5 (WebKit) (#13255) + // All events should have a target; Cordova deviceready doesn't + if ( !event.target ) { + event.target = document; + } + + // Support: Safari 6.0+, Chrome<28 + // Target should not be a text node (#504, #13143) + if ( event.target.nodeType === 3 ) { + event.target = event.target.parentNode; + } + + return fixHook.filter ? fixHook.filter( event, originalEvent ) : event; + }, + + special: { + load: { + + // Prevent triggered image.load events from bubbling to window.load + noBubble: true + }, + focus: { + + // Fire native event if possible so blur/focus sequence is correct + trigger: function() { + if ( this !== safeActiveElement() && this.focus ) { + this.focus(); + return false; + } + }, + delegateType: "focusin" + }, + blur: { + trigger: function() { + if ( this === safeActiveElement() && this.blur ) { + this.blur(); + return false; + } + }, + delegateType: "focusout" + }, + click: { + + // For checkbox, fire native event so checked state will be right + trigger: function() { + if ( this.type === "checkbox" && this.click && jQuery.nodeName( this, "input" ) ) { + this.click(); + return false; + } + }, + + // For cross-browser consistency, don't fire native .click() on links + _default: function( event ) { + return jQuery.nodeName( event.target, "a" ); + } + }, + + beforeunload: { + postDispatch: function( event ) { + + // Support: Firefox 20+ + // Firefox doesn't alert if the returnValue field is not set. + if ( event.result !== undefined && event.originalEvent ) { + event.originalEvent.returnValue = event.result; + } + } + } + } +}; + +jQuery.removeEvent = function( elem, type, handle ) { + + // This "if" is needed for plain objects + if ( elem.removeEventListener ) { + elem.removeEventListener( type, handle ); + } +}; + +jQuery.Event = function( src, props ) { + + // Allow instantiation without the 'new' keyword + if ( !( this instanceof jQuery.Event ) ) { + return new jQuery.Event( src, props ); + } + + // Event object + if ( src && src.type ) { + this.originalEvent = src; + this.type = src.type; + + // Events bubbling up the document may have been marked as prevented + // by a handler lower down the tree; reflect the correct value. + this.isDefaultPrevented = src.defaultPrevented || + src.defaultPrevented === undefined && + + // Support: Android<4.0 + src.returnValue === false ? + returnTrue : + returnFalse; + + // Event type + } else { + this.type = src; + } + + // Put explicitly provided properties onto the event object + if ( props ) { + jQuery.extend( this, props ); + } + + // Create a timestamp if incoming event doesn't have one + this.timeStamp = src && src.timeStamp || jQuery.now(); + + // Mark it as fixed + this[ jQuery.expando ] = true; +}; + +// jQuery.Event is based on DOM3 Events as specified by the ECMAScript Language Binding +// http://www.w3.org/TR/2003/WD-DOM-Level-3-Events-20030331/ecma-script-binding.html +jQuery.Event.prototype = { + constructor: jQuery.Event, + isDefaultPrevented: returnFalse, + isPropagationStopped: returnFalse, + isImmediatePropagationStopped: returnFalse, + isSimulated: false, + + preventDefault: function() { + var e = this.originalEvent; + + this.isDefaultPrevented = returnTrue; + + if ( e && !this.isSimulated ) { + e.preventDefault(); + } + }, + stopPropagation: function() { + var e = this.originalEvent; + + this.isPropagationStopped = returnTrue; + + if ( e && !this.isSimulated ) { + e.stopPropagation(); + } + }, + stopImmediatePropagation: function() { + var e = this.originalEvent; + + this.isImmediatePropagationStopped = returnTrue; + + if ( e && !this.isSimulated ) { + e.stopImmediatePropagation(); + } + + this.stopPropagation(); + } +}; + +// Create mouseenter/leave events using mouseover/out and event-time checks +// so that event delegation works in jQuery. +// Do the same for pointerenter/pointerleave and pointerover/pointerout +// +// Support: Safari 7 only +// Safari sends mouseenter too often; see: +// https://code.google.com/p/chromium/issues/detail?id=470258 +// for the description of the bug (it existed in older Chrome versions as well). +jQuery.each( { + mouseenter: "mouseover", + mouseleave: "mouseout", + pointerenter: "pointerover", + pointerleave: "pointerout" +}, function( orig, fix ) { + jQuery.event.special[ orig ] = { + delegateType: fix, + bindType: fix, + + handle: function( event ) { + var ret, + target = this, + related = event.relatedTarget, + handleObj = event.handleObj; + + // For mouseenter/leave call the handler if related is outside the target. + // NB: No relatedTarget if the mouse left/entered the browser window + if ( !related || ( related !== target && !jQuery.contains( target, related ) ) ) { + event.type = handleObj.origType; + ret = handleObj.handler.apply( this, arguments ); + event.type = fix; + } + return ret; + } + }; +} ); + +jQuery.fn.extend( { + on: function( types, selector, data, fn ) { + return on( this, types, selector, data, fn ); + }, + one: function( types, selector, data, fn ) { + return on( this, types, selector, data, fn, 1 ); + }, + off: function( types, selector, fn ) { + var handleObj, type; + if ( types && types.preventDefault && types.handleObj ) { + + // ( event ) dispatched jQuery.Event + handleObj = types.handleObj; + jQuery( types.delegateTarget ).off( + handleObj.namespace ? + handleObj.origType + "." + handleObj.namespace : + handleObj.origType, + handleObj.selector, + handleObj.handler + ); + return this; + } + if ( typeof types === "object" ) { + + // ( types-object [, selector] ) + for ( type in types ) { + this.off( type, selector, types[ type ] ); + } + return this; + } + if ( selector === false || typeof selector === "function" ) { + + // ( types [, fn] ) + fn = selector; + selector = undefined; + } + if ( fn === false ) { + fn = returnFalse; + } + return this.each( function() { + jQuery.event.remove( this, types, fn, selector ); + } ); + } +} ); + + +var + rxhtmlTag = /<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:-]+)[^>]*)\/>/gi, + + // Support: IE 10-11, Edge 10240+ + // In IE/Edge using regex groups here causes severe slowdowns. + // See https://connect.microsoft.com/IE/feedback/details/1736512/ + rnoInnerhtml = /\s*$/g; + +// Manipulating tables requires a tbody +function manipulationTarget( elem, content ) { + return jQuery.nodeName( elem, "table" ) && + jQuery.nodeName( content.nodeType !== 11 ? content : content.firstChild, "tr" ) ? + + elem.getElementsByTagName( "tbody" )[ 0 ] || + elem.appendChild( elem.ownerDocument.createElement( "tbody" ) ) : + elem; +} + +// Replace/restore the type attribute of script elements for safe DOM manipulation +function disableScript( elem ) { + elem.type = ( elem.getAttribute( "type" ) !== null ) + "/" + elem.type; + return elem; +} +function restoreScript( elem ) { + var match = rscriptTypeMasked.exec( elem.type ); + + if ( match ) { + elem.type = match[ 1 ]; + } else { + elem.removeAttribute( "type" ); + } + + return elem; +} + +function cloneCopyEvent( src, dest ) { + var i, l, type, pdataOld, pdataCur, udataOld, udataCur, events; + + if ( dest.nodeType !== 1 ) { + return; + } + + // 1. Copy private data: events, handlers, etc. + if ( dataPriv.hasData( src ) ) { + pdataOld = dataPriv.access( src ); + pdataCur = dataPriv.set( dest, pdataOld ); + events = pdataOld.events; + + if ( events ) { + delete pdataCur.handle; + pdataCur.events = {}; + + for ( type in events ) { + for ( i = 0, l = events[ type ].length; i < l; i++ ) { + jQuery.event.add( dest, type, events[ type ][ i ] ); + } + } + } + } + + // 2. Copy user data + if ( dataUser.hasData( src ) ) { + udataOld = dataUser.access( src ); + udataCur = jQuery.extend( {}, udataOld ); + + dataUser.set( dest, udataCur ); + } +} + +// Fix IE bugs, see support tests +function fixInput( src, dest ) { + var nodeName = dest.nodeName.toLowerCase(); + + // Fails to persist the checked state of a cloned checkbox or radio button. + if ( nodeName === "input" && rcheckableType.test( src.type ) ) { + dest.checked = src.checked; + + // Fails to return the selected option to the default selected state when cloning options + } else if ( nodeName === "input" || nodeName === "textarea" ) { + dest.defaultValue = src.defaultValue; + } +} + +function domManip( collection, args, callback, ignored ) { + + // Flatten any nested arrays + args = concat.apply( [], args ); + + var fragment, first, scripts, hasScripts, node, doc, + i = 0, + l = collection.length, + iNoClone = l - 1, + value = args[ 0 ], + isFunction = jQuery.isFunction( value ); + + // We can't cloneNode fragments that contain checked, in WebKit + if ( isFunction || + ( l > 1 && typeof value === "string" && + !support.checkClone && rchecked.test( value ) ) ) { + return collection.each( function( index ) { + var self = collection.eq( index ); + if ( isFunction ) { + args[ 0 ] = value.call( this, index, self.html() ); + } + domManip( self, args, callback, ignored ); + } ); + } + + if ( l ) { + fragment = buildFragment( args, collection[ 0 ].ownerDocument, false, collection, ignored ); + first = fragment.firstChild; + + if ( fragment.childNodes.length === 1 ) { + fragment = first; + } + + // Require either new content or an interest in ignored elements to invoke the callback + if ( first || ignored ) { + scripts = jQuery.map( getAll( fragment, "script" ), disableScript ); + hasScripts = scripts.length; + + // Use the original fragment for the last item + // instead of the first because it can end up + // being emptied incorrectly in certain situations (#8070). + for ( ; i < l; i++ ) { + node = fragment; + + if ( i !== iNoClone ) { + node = jQuery.clone( node, true, true ); + + // Keep references to cloned scripts for later restoration + if ( hasScripts ) { + + // Support: Android<4.1, PhantomJS<2 + // push.apply(_, arraylike) throws on ancient WebKit + jQuery.merge( scripts, getAll( node, "script" ) ); + } + } + + callback.call( collection[ i ], node, i ); + } + + if ( hasScripts ) { + doc = scripts[ scripts.length - 1 ].ownerDocument; + + // Reenable scripts + jQuery.map( scripts, restoreScript ); + + // Evaluate executable scripts on first document insertion + for ( i = 0; i < hasScripts; i++ ) { + node = scripts[ i ]; + if ( rscriptType.test( node.type || "" ) && + !dataPriv.access( node, "globalEval" ) && + jQuery.contains( doc, node ) ) { + + if ( node.src ) { + + // Optional AJAX dependency, but won't run scripts if not present + if ( jQuery._evalUrl ) { + jQuery._evalUrl( node.src ); + } + } else { + jQuery.globalEval( node.textContent.replace( rcleanScript, "" ) ); + } + } + } + } + } + } + + return collection; +} + +function remove( elem, selector, keepData ) { + var node, + nodes = selector ? jQuery.filter( selector, elem ) : elem, + i = 0; + + for ( ; ( node = nodes[ i ] ) != null; i++ ) { + if ( !keepData && node.nodeType === 1 ) { + jQuery.cleanData( getAll( node ) ); + } + + if ( node.parentNode ) { + if ( keepData && jQuery.contains( node.ownerDocument, node ) ) { + setGlobalEval( getAll( node, "script" ) ); + } + node.parentNode.removeChild( node ); + } + } + + return elem; +} + +jQuery.extend( { + htmlPrefilter: function( html ) { + return html.replace( rxhtmlTag, "<$1>" ); + }, + + clone: function( elem, dataAndEvents, deepDataAndEvents ) { + var i, l, srcElements, destElements, + clone = elem.cloneNode( true ), + inPage = jQuery.contains( elem.ownerDocument, elem ); + + // Fix IE cloning issues + if ( !support.noCloneChecked && ( elem.nodeType === 1 || elem.nodeType === 11 ) && + !jQuery.isXMLDoc( elem ) ) { + + // We eschew Sizzle here for performance reasons: http://jsperf.com/getall-vs-sizzle/2 + destElements = getAll( clone ); + srcElements = getAll( elem ); + + for ( i = 0, l = srcElements.length; i < l; i++ ) { + fixInput( srcElements[ i ], destElements[ i ] ); + } + } + + // Copy the events from the original to the clone + if ( dataAndEvents ) { + if ( deepDataAndEvents ) { + srcElements = srcElements || getAll( elem ); + destElements = destElements || getAll( clone ); + + for ( i = 0, l = srcElements.length; i < l; i++ ) { + cloneCopyEvent( srcElements[ i ], destElements[ i ] ); + } + } else { + cloneCopyEvent( elem, clone ); + } + } + + // Preserve script evaluation history + destElements = getAll( clone, "script" ); + if ( destElements.length > 0 ) { + setGlobalEval( destElements, !inPage && getAll( elem, "script" ) ); + } + + // Return the cloned set + return clone; + }, + + cleanData: function( elems ) { + var data, elem, type, + special = jQuery.event.special, + i = 0; + + for ( ; ( elem = elems[ i ] ) !== undefined; i++ ) { + if ( acceptData( elem ) ) { + if ( ( data = elem[ dataPriv.expando ] ) ) { + if ( data.events ) { + for ( type in data.events ) { + if ( special[ type ] ) { + jQuery.event.remove( elem, type ); + + // This is a shortcut to avoid jQuery.event.remove's overhead + } else { + jQuery.removeEvent( elem, type, data.handle ); + } + } + } + + // Support: Chrome <= 35-45+ + // Assign undefined instead of using delete, see Data#remove + elem[ dataPriv.expando ] = undefined; + } + if ( elem[ dataUser.expando ] ) { + + // Support: Chrome <= 35-45+ + // Assign undefined instead of using delete, see Data#remove + elem[ dataUser.expando ] = undefined; + } + } + } + } +} ); + +jQuery.fn.extend( { + + // Keep domManip exposed until 3.0 (gh-2225) + domManip: domManip, + + detach: function( selector ) { + return remove( this, selector, true ); + }, + + remove: function( selector ) { + return remove( this, selector ); + }, + + text: function( value ) { + return access( this, function( value ) { + return value === undefined ? + jQuery.text( this ) : + this.empty().each( function() { + if ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) { + this.textContent = value; + } + } ); + }, null, value, arguments.length ); + }, + + append: function() { + return domManip( this, arguments, function( elem ) { + if ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) { + var target = manipulationTarget( this, elem ); + target.appendChild( elem ); + } + } ); + }, + + prepend: function() { + return domManip( this, arguments, function( elem ) { + if ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) { + var target = manipulationTarget( this, elem ); + target.insertBefore( elem, target.firstChild ); + } + } ); + }, + + before: function() { + return domManip( this, arguments, function( elem ) { + if ( this.parentNode ) { + this.parentNode.insertBefore( elem, this ); + } + } ); + }, + + after: function() { + return domManip( this, arguments, function( elem ) { + if ( this.parentNode ) { + this.parentNode.insertBefore( elem, this.nextSibling ); + } + } ); + }, + + empty: function() { + var elem, + i = 0; + + for ( ; ( elem = this[ i ] ) != null; i++ ) { + if ( elem.nodeType === 1 ) { + + // Prevent memory leaks + jQuery.cleanData( getAll( elem, false ) ); + + // Remove any remaining nodes + elem.textContent = ""; + } + } + + return this; + }, + + clone: function( dataAndEvents, deepDataAndEvents ) { + dataAndEvents = dataAndEvents == null ? false : dataAndEvents; + deepDataAndEvents = deepDataAndEvents == null ? dataAndEvents : deepDataAndEvents; + + return this.map( function() { + return jQuery.clone( this, dataAndEvents, deepDataAndEvents ); + } ); + }, + + html: function( value ) { + return access( this, function( value ) { + var elem = this[ 0 ] || {}, + i = 0, + l = this.length; + + if ( value === undefined && elem.nodeType === 1 ) { + return elem.innerHTML; + } + + // See if we can take a shortcut and just use innerHTML + if ( typeof value === "string" && !rnoInnerhtml.test( value ) && + !wrapMap[ ( rtagName.exec( value ) || [ "", "" ] )[ 1 ].toLowerCase() ] ) { + + value = jQuery.htmlPrefilter( value ); + + try { + for ( ; i < l; i++ ) { + elem = this[ i ] || {}; + + // Remove element nodes and prevent memory leaks + if ( elem.nodeType === 1 ) { + jQuery.cleanData( getAll( elem, false ) ); + elem.innerHTML = value; + } + } + + elem = 0; + + // If using innerHTML throws an exception, use the fallback method + } catch ( e ) {} + } + + if ( elem ) { + this.empty().append( value ); + } + }, null, value, arguments.length ); + }, + + replaceWith: function() { + var ignored = []; + + // Make the changes, replacing each non-ignored context element with the new content + return domManip( this, arguments, function( elem ) { + var parent = this.parentNode; + + if ( jQuery.inArray( this, ignored ) < 0 ) { + jQuery.cleanData( getAll( this ) ); + if ( parent ) { + parent.replaceChild( elem, this ); + } + } + + // Force callback invocation + }, ignored ); + } +} ); + +jQuery.each( { + appendTo: "append", + prependTo: "prepend", + insertBefore: "before", + insertAfter: "after", + replaceAll: "replaceWith" +}, function( name, original ) { + jQuery.fn[ name ] = function( selector ) { + var elems, + ret = [], + insert = jQuery( selector ), + last = insert.length - 1, + i = 0; + + for ( ; i <= last; i++ ) { + elems = i === last ? this : this.clone( true ); + jQuery( insert[ i ] )[ original ]( elems ); + + // Support: QtWebKit + // .get() because push.apply(_, arraylike) throws + push.apply( ret, elems.get() ); + } + + return this.pushStack( ret ); + }; +} ); + + +var iframe, + elemdisplay = { + + // Support: Firefox + // We have to pre-define these values for FF (#10227) + HTML: "block", + BODY: "block" + }; + +/** + * Retrieve the actual display of a element + * @param {String} name nodeName of the element + * @param {Object} doc Document object + */ + +// Called only from within defaultDisplay +function actualDisplay( name, doc ) { + var elem = jQuery( doc.createElement( name ) ).appendTo( doc.body ), + + display = jQuery.css( elem[ 0 ], "display" ); + + // We don't have any data stored on the element, + // so use "detach" method as fast way to get rid of the element + elem.detach(); + + return display; +} + +/** + * Try to determine the default display value of an element + * @param {String} nodeName + */ +function defaultDisplay( nodeName ) { + var doc = document, + display = elemdisplay[ nodeName ]; + + if ( !display ) { + display = actualDisplay( nodeName, doc ); + + // If the simple way fails, read from inside an iframe + if ( display === "none" || !display ) { + + // Use the already-created iframe if possible + iframe = ( iframe || jQuery( "