antosdk-apps/GraphEditor/build/debug/main.js
2018-09-29 09:19:26 +00:00

2295 lines
887 KiB
JavaScript
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

(function() {
// Copyright 2017-2018 Xuan Sang LE <xsang.le AT gmail DOT com>
// AnTOS Web desktop is is licensed under the GNU General Public
// License v3.0, see the LICENCE file for more information
// This program is free software: you can redistribute it and/or
// modify it under the terms of the GNU General Public License as
// published by the Free Software Foundation, either version 3 of
// the License, or (at your option) any later version.
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
// General Public License for more details.
// You should have received a copy of the GNU General Public License
//along with this program. If not, see https://www.gnu.org/licenses/.
var GraphEditor;
GraphEditor = class GraphEditor extends this.OS.GUI.BaseApplication {
constructor(args) {
super("GraphEditor", args);
}
main() {
var me;
me = this;
//mermaid.initialize { startOnLoad: false }
mermaid.initialize({
theme: 'forest'
});
this.currfile = this.args && this.args.length > 0 ? this.args[0].asFileHandler() : "Untitled".asFileHandler();
this.currfile.dirty = false;
this.datarea = this.find("datarea");
this.preview = this.find("preview");
this.btctn = this.find("btn-container");
this.editor = ace.edit(this.datarea);
this.editor.setOptions({
enableBasicAutocompletion: true,
enableLiveAutocompletion: true,
fontSize: "10pt"
});
//@.editor.completers.push { getCompletions: ( editor, session, pos, prefix, callback ) -> }
this.editor.getSession().setUseWrapMode(true);
this.editor.session.setMode("ace/mode/text");
this.editor.setTheme("ace/theme/monokai");
this.editor.on("input", function() {
if (me.editormux) {
me.editormux = false;
return false;
}
if (!me.currfile.dirty) {
return me.currfile.dirty = true;
}
});
if (!me.currfile.basename) {
me.editormux = true;
me.editor.setValue(GraphEditor.dummymermaid);
me.renderSVG(false);
}
this.editor.container.addEventListener("keydown", function(e) {
if (e.keyCode === 13) {
return me.renderSVG(true);
}
}, true);
this.bindKey("CTRL-R", function() {
return me.renderSVG(false);
});
this.bindKey("ALT-G", function() {
return me.export("SVG");
});
this.bindKey("ALT-P", function() {
return me.export("PNG");
});
this.bindKey("ALT-N", function() {
return me.actionFile(`${me.name}-New`);
});
this.bindKey("ALT-O", function() {
return me.actionFile(`${me.name}-Open`);
});
this.bindKey("CTRL-S", function() {
return me.actionFile(`${me.name}-Save`);
});
this.bindKey("ALT-W", function() {
return me.actionFile(`${me.name}-Saveas`);
});
this.bindKey("CTRL-M", function() {
return me.svgToCanvas(function() {});
});
this.on("hboxchange", function() {
me.editor.resize();
return me.calibrate();
});
this.on("focus", function() {
return me.editor.focus();
});
(this.find("btn-zoomin")).set("onbtclick", function(e) {
if (me.pan) {
return me.pan.zoomIn();
}
});
(this.find("btn-zoomout")).set("onbtclick", function(e) {
if (me.pan) {
return me.pan.zoomOut();
}
});
(this.find("btn-reset")).set("onbtclick", function(e) {
if (me.pan) {
return me.pan.resetZoom();
}
});
return this.open(this.currfile);
}
menu() {
var me, menu;
me = this;
menu = [
{
text: "__(File)",
child: [
{
text: "__(New)",
dataid: `${this.name}-New`,
shortcut: "A-N"
},
{
text: "__(Open)",
dataid: `${this.name}-Open`,
shortcut: "A-O"
},
{
text: "__(Save)",
dataid: `${this.name}-Save`,
shortcut: "C-S"
},
{
text: "__(Save as)",
dataid: `${this.name}-Saveas`,
shortcut: "A-W"
},
{
text: "__(Render)",
dataid: `${this.name}-Render`,
shortcut: "C-R"
},
{
text: "__(Export as)",
child: [
{
text: "SVG",
shortcut: "A-G"
},
{
text: "PNG",
shortcut: "A-P"
}
],
onmenuselect: function(e) {
return me.export(e.item.data.text);
}
}
],
onmenuselect: function(e) {
return me.actionFile(e.item.data.dataid);
}
}
];
return menu;
}
open(file) {
var me;
if (file.path === "Untitled") {
return;
}
me = this;
file.dirty = false;
return file.read(function(d) {
me.currfile = file;
me.editormux = true;
me.currfile.dirty = false;
me.editor.setValue(d);
me.scheme.set("apptitle", `${me.currfile.basename}`);
return me.renderSVG(false);
});
}
save(file) {
var me;
me = this;
return file.write("text/plain", function(d) {
if (d.error) {
return me.error(__("Error saving file {0}", file.basename));
}
file.dirty = false;
file.text = file.basename;
return me.scheme.set("apptitle", `${me.currfile.basename}`);
});
}
actionFile(e) {
var me, saveas;
me = this;
saveas = function() {
return me.openDialog("FileDiaLog", function(d, n) {
me.currfile.setPath(`${d}/${n}`);
return me.save(me.currfile);
}, __("Save as"), {
file: me.currfile
});
};
switch (e) {
case `${this.name}-Open`:
return this.openDialog("FileDiaLog", function(d, f) {
return me.open(`${d}/${f}`.asFileHandler());
}, __("Open file"));
case `${this.name}-Save`:
this.currfile.cache = this.editor.getValue();
if (this.currfile.basename) {
return this.save(this.currfile);
}
return saveas();
case `${this.name}-Saveas`:
this.currfile.cache = this.editor.getValue();
return saveas();
case `${this.name}-Render`:
return me.renderSVG(false);
case `${this.name}-New`:
this.currfile = "Untitled".asFileHandler();
this.currfile.cache = "";
this.currfile.dirty = false;
this.editormux = true;
return this.editor.setValue("");
}
}
export(t) {
var me;
me = this;
return me.openDialog("FileDiaLog", function(d, n) {
var e, fp;
fp = `${d}/${n}`.asFileHandler();
try {
switch (t) {
case "SVG":
fp.cache = me.svgtext();
return fp.write("text/plain", function(r) {
if (r.error) {
return me.error(__("Cannot export to {0}: {1}", t, r.error));
}
return me.notify(__("File exported"));
});
case "PNG":
// toDataURL("image/png")
return me.svgToCanvas(function(canvas) {
var e;
try {
fp.cache = canvas.toDataURL("image/png");
return fp.write("base64", function(r) {
if (r.error) {
return me.error(__("Cannot export to {0}: {1}", t, r.error));
}
return me.notify(__("File exported"));
});
} catch (error) {
e = error;
return me.error(__("Cannot export to PNG in this browser: {0}", e.message));
}
});
}
} catch (error) {
e = error;
return me.error(__("Cannot export: {0}", e.message));
}
}, __("Export as"), {
file: me.currfile
});
}
renderSVG(silent) {
var e, id, me, text;
me = this;
id = Math.floor(Math.random() * 100000) + 1;
//if silent
// mermaid.parseError = (e, h) ->
//else
// mermaid.parseError = (e, h) ->
// me.error e
text = this.editor.getValue();
try {
mermaid.parse(text);
} catch (error) {
e = error;
if (!silent) {
me.error(__("Syntax error: {0}", e.str));
}
return;
}
return mermaid.render(`c${id}`, text, function(text, f) {
var svg;
me.preview.innerHTML = text;
$(me.preview).append(me.btctn);
me.calibrate();
svg = $(me.preview).children("svg")[0];
$(svg).attr("style", "");
return me.pan = svgPanZoom(svg, {
zoomEnabled: true,
controlIconsEnabled: false,
fit: true,
center: true,
minZoom: 0.1
});
//rd $($.parseHTML text).
}, me.preview);
}
svgtext() {
var serializer, svg;
svg = $(this.preview).children("svg")[0];
$("g.label", svg).each(function(i) {
return $(this).css("font-family", "Ubuntu").css("font-size", "13px");
});
$("text", svg).each(function(j) {
return $(this).css("font-family", "Ubuntu").css("font-size", "13px");
});
serializer = new XMLSerializer();
return serializer.serializeToString(svg);
}
svgToCanvas(f) {
var DOMURL, img, me, svgBlob, svgStr, url;
me = this;
img = new Image();
svgStr = this.svgtext();
DOMURL = window.URL || window.webkitURL || window;
svgBlob = new Blob([svgStr], {
type: 'image/svg+xml;charset=utf-8'
});
url = DOMURL.createObjectURL(svgBlob);
img.onload = function() {
var canvas;
canvas = me.find("offscreen");
canvas.width = img.width;
canvas.height = img.height;
canvas.getContext("2d").drawImage(img, 0, 0, img.width, img.height);
return f(canvas);
};
return img.src = url;
}
calibrate() {
var prs, svg;
svg = ($(this.preview)).children("svg")[0];
if (svg) {
prs = [$(this.preview).width(), $(this.preview).height()];
$(svg).attr("width", prs[0] + "px");
return $(svg).attr("height", prs[1] + "px");
}
}
cleanup(evt) {
var me;
if (!this.currfile) {
return;
}
if (!this.currfile.dirty) {
return;
}
me = this;
evt.preventDefault();
return this.openDialog("YesNoDialog", function(d) {
if (d) {
me.currfile.dirty = false;
return me.quit();
}
}, __("Quit"), {
text: __("Quit without saving ?")
});
}
};
GraphEditor.dummymermaid = "graph TD;\n A-->B;\n A-->C;\n B-->D;\n C-->D;";
GraphEditor.dependencies = ["ace/ace"];
this.OS.register("GraphEditor", GraphEditor);
}).call(this);
// svg-pan-zoom v3.5.2
// https://github.com/ariutta/svg-pan-zoom
(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(require,module,exports){
var svgPanZoom = require('./svg-pan-zoom.js');
// UMD module definition
(function(window, document){
// AMD
if (typeof define === 'function' && define.amd) {
define('svg-pan-zoom', function () {
return svgPanZoom;
});
// CMD
} else if (typeof module !== 'undefined' && module.exports) {
module.exports = svgPanZoom;
// Browser
// Keep exporting globally as module.exports is available because of browserify
window.svgPanZoom = svgPanZoom;
}
})(window, document)
},{"./svg-pan-zoom.js":4}],2:[function(require,module,exports){
var SvgUtils = require('./svg-utilities');
module.exports = {
enable: function(instance) {
// Select (and create if necessary) defs
var defs = instance.svg.querySelector('defs')
if (!defs) {
defs = document.createElementNS(SvgUtils.svgNS, 'defs')
instance.svg.appendChild(defs)
}
// Check for style element, and create it if it doesn't exist
var styleEl = defs.querySelector('style#svg-pan-zoom-controls-styles');
if (!styleEl) {
var style = document.createElementNS(SvgUtils.svgNS, 'style')
style.setAttribute('id', 'svg-pan-zoom-controls-styles')
style.setAttribute('type', 'text/css')
style.textContent = '.svg-pan-zoom-control { cursor: pointer; fill: black; fill-opacity: 0.333; } .svg-pan-zoom-control:hover { fill-opacity: 0.8; } .svg-pan-zoom-control-background { fill: white; fill-opacity: 0.5; } .svg-pan-zoom-control-background { fill-opacity: 0.8; }'
defs.appendChild(style)
}
// Zoom Group
var zoomGroup = document.createElementNS(SvgUtils.svgNS, 'g');
zoomGroup.setAttribute('id', 'svg-pan-zoom-controls');
zoomGroup.setAttribute('transform', 'translate(' + ( instance.width - 70 ) + ' ' + ( instance.height - 76 ) + ') scale(0.75)');
zoomGroup.setAttribute('class', 'svg-pan-zoom-control');
// Control elements
zoomGroup.appendChild(this._createZoomIn(instance))
zoomGroup.appendChild(this._createZoomReset(instance))
zoomGroup.appendChild(this._createZoomOut(instance))
// Finally append created element
instance.svg.appendChild(zoomGroup)
// Cache control instance
instance.controlIcons = zoomGroup
}
, _createZoomIn: function(instance) {
var zoomIn = document.createElementNS(SvgUtils.svgNS, 'g');
zoomIn.setAttribute('id', 'svg-pan-zoom-zoom-in');
zoomIn.setAttribute('transform', 'translate(30.5 5) scale(0.015)');
zoomIn.setAttribute('class', 'svg-pan-zoom-control');
zoomIn.addEventListener('click', function() {instance.getPublicInstance().zoomIn()}, false)
zoomIn.addEventListener('touchstart', function() {instance.getPublicInstance().zoomIn()}, false)
var zoomInBackground = document.createElementNS(SvgUtils.svgNS, 'rect'); // TODO change these background space fillers to rounded rectangles so they look prettier
zoomInBackground.setAttribute('x', '0');
zoomInBackground.setAttribute('y', '0');
zoomInBackground.setAttribute('width', '1500'); // larger than expected because the whole group is transformed to scale down
zoomInBackground.setAttribute('height', '1400');
zoomInBackground.setAttribute('class', 'svg-pan-zoom-control-background');
zoomIn.appendChild(zoomInBackground);
var zoomInShape = document.createElementNS(SvgUtils.svgNS, 'path');
zoomInShape.setAttribute('d', 'M1280 576v128q0 26 -19 45t-45 19h-320v320q0 26 -19 45t-45 19h-128q-26 0 -45 -19t-19 -45v-320h-320q-26 0 -45 -19t-19 -45v-128q0 -26 19 -45t45 -19h320v-320q0 -26 19 -45t45 -19h128q26 0 45 19t19 45v320h320q26 0 45 19t19 45zM1536 1120v-960 q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z');
zoomInShape.setAttribute('class', 'svg-pan-zoom-control-element');
zoomIn.appendChild(zoomInShape);
return zoomIn
}
, _createZoomReset: function(instance){
// reset
var resetPanZoomControl = document.createElementNS(SvgUtils.svgNS, 'g');
resetPanZoomControl.setAttribute('id', 'svg-pan-zoom-reset-pan-zoom');
resetPanZoomControl.setAttribute('transform', 'translate(5 35) scale(0.4)');
resetPanZoomControl.setAttribute('class', 'svg-pan-zoom-control');
resetPanZoomControl.addEventListener('click', function() {instance.getPublicInstance().reset()}, false);
resetPanZoomControl.addEventListener('touchstart', function() {instance.getPublicInstance().reset()}, false);
var resetPanZoomControlBackground = document.createElementNS(SvgUtils.svgNS, 'rect'); // TODO change these background space fillers to rounded rectangles so they look prettier
resetPanZoomControlBackground.setAttribute('x', '2');
resetPanZoomControlBackground.setAttribute('y', '2');
resetPanZoomControlBackground.setAttribute('width', '182'); // larger than expected because the whole group is transformed to scale down
resetPanZoomControlBackground.setAttribute('height', '58');
resetPanZoomControlBackground.setAttribute('class', 'svg-pan-zoom-control-background');
resetPanZoomControl.appendChild(resetPanZoomControlBackground);
var resetPanZoomControlShape1 = document.createElementNS(SvgUtils.svgNS, 'path');
resetPanZoomControlShape1.setAttribute('d', 'M33.051,20.632c-0.742-0.406-1.854-0.609-3.338-0.609h-7.969v9.281h7.769c1.543,0,2.701-0.188,3.473-0.562c1.365-0.656,2.048-1.953,2.048-3.891C35.032,22.757,34.372,21.351,33.051,20.632z');
resetPanZoomControlShape1.setAttribute('class', 'svg-pan-zoom-control-element');
resetPanZoomControl.appendChild(resetPanZoomControlShape1);
var resetPanZoomControlShape2 = document.createElementNS(SvgUtils.svgNS, 'path');
resetPanZoomControlShape2.setAttribute('d', 'M170.231,0.5H15.847C7.102,0.5,0.5,5.708,0.5,11.84v38.861C0.5,56.833,7.102,61.5,15.847,61.5h154.384c8.745,0,15.269-4.667,15.269-10.798V11.84C185.5,5.708,178.976,0.5,170.231,0.5z M42.837,48.569h-7.969c-0.219-0.766-0.375-1.383-0.469-1.852c-0.188-0.969-0.289-1.961-0.305-2.977l-0.047-3.211c-0.03-2.203-0.41-3.672-1.142-4.406c-0.732-0.734-2.103-1.102-4.113-1.102h-7.05v13.547h-7.055V14.022h16.524c2.361,0.047,4.178,0.344,5.45,0.891c1.272,0.547,2.351,1.352,3.234,2.414c0.731,0.875,1.31,1.844,1.737,2.906s0.64,2.273,0.64,3.633c0,1.641-0.414,3.254-1.242,4.84s-2.195,2.707-4.102,3.363c1.594,0.641,2.723,1.551,3.387,2.73s0.996,2.98,0.996,5.402v2.32c0,1.578,0.063,2.648,0.19,3.211c0.19,0.891,0.635,1.547,1.333,1.969V48.569z M75.579,48.569h-26.18V14.022h25.336v6.117H56.454v7.336h16.781v6H56.454v8.883h19.125V48.569z M104.497,46.331c-2.44,2.086-5.887,3.129-10.34,3.129c-4.548,0-8.125-1.027-10.731-3.082s-3.909-4.879-3.909-8.473h6.891c0.224,1.578,0.662,2.758,1.316,3.539c1.196,1.422,3.246,2.133,6.15,2.133c1.739,0,3.151-0.188,4.236-0.562c2.058-0.719,3.087-2.055,3.087-4.008c0-1.141-0.504-2.023-1.512-2.648c-1.008-0.609-2.607-1.148-4.796-1.617l-3.74-0.82c-3.676-0.812-6.201-1.695-7.576-2.648c-2.328-1.594-3.492-4.086-3.492-7.477c0-3.094,1.139-5.664,3.417-7.711s5.623-3.07,10.036-3.07c3.685,0,6.829,0.965,9.431,2.895c2.602,1.93,3.966,4.73,4.093,8.402h-6.938c-0.128-2.078-1.057-3.555-2.787-4.43c-1.154-0.578-2.587-0.867-4.301-0.867c-1.907,0-3.428,0.375-4.565,1.125c-1.138,0.75-1.706,1.797-1.706,3.141c0,1.234,0.561,2.156,1.682,2.766c0.721,0.406,2.25,0.883,4.589,1.43l6.063,1.43c2.657,0.625,4.648,1.461,5.975,2.508c2.059,1.625,3.089,3.977,3.089,7.055C108.157,41.624,106.937,44.245,104.497,46.331z M139.61,48.569h-26.18V14.022h25.336v6.117h-18.281v7.336h16.781v6h-16.781v8.883h19.125V48.569z M170.337,20.14h-10.336v28.43h-7.266V20.14h-10.383v-6.117h27.984V20.14z');
resetPanZoomControlShape2.setAttribute('class', 'svg-pan-zoom-control-element');
resetPanZoomControl.appendChild(resetPanZoomControlShape2);
return resetPanZoomControl
}
, _createZoomOut: function(instance){
// zoom out
var zoomOut = document.createElementNS(SvgUtils.svgNS, 'g');
zoomOut.setAttribute('id', 'svg-pan-zoom-zoom-out');
zoomOut.setAttribute('transform', 'translate(30.5 70) scale(0.015)');
zoomOut.setAttribute('class', 'svg-pan-zoom-control');
zoomOut.addEventListener('click', function() {instance.getPublicInstance().zoomOut()}, false);
zoomOut.addEventListener('touchstart', function() {instance.getPublicInstance().zoomOut()}, false);
var zoomOutBackground = document.createElementNS(SvgUtils.svgNS, 'rect'); // TODO change these background space fillers to rounded rectangles so they look prettier
zoomOutBackground.setAttribute('x', '0');
zoomOutBackground.setAttribute('y', '0');
zoomOutBackground.setAttribute('width', '1500'); // larger than expected because the whole group is transformed to scale down
zoomOutBackground.setAttribute('height', '1400');
zoomOutBackground.setAttribute('class', 'svg-pan-zoom-control-background');
zoomOut.appendChild(zoomOutBackground);
var zoomOutShape = document.createElementNS(SvgUtils.svgNS, 'path');
zoomOutShape.setAttribute('d', 'M1280 576v128q0 26 -19 45t-45 19h-896q-26 0 -45 -19t-19 -45v-128q0 -26 19 -45t45 -19h896q26 0 45 19t19 45zM1536 1120v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5 t84.5 -203.5z');
zoomOutShape.setAttribute('class', 'svg-pan-zoom-control-element');
zoomOut.appendChild(zoomOutShape);
return zoomOut
}
, disable: function(instance) {
if (instance.controlIcons) {
instance.controlIcons.parentNode.removeChild(instance.controlIcons)
instance.controlIcons = null
}
}
}
},{"./svg-utilities":5}],3:[function(require,module,exports){
var SvgUtils = require('./svg-utilities')
, Utils = require('./utilities')
;
var ShadowViewport = function(viewport, options){
this.init(viewport, options)
}
/**
* Initialization
*
* @param {SVGElement} viewport
* @param {Object} options
*/
ShadowViewport.prototype.init = function(viewport, options) {
// DOM Elements
this.viewport = viewport
this.options = options
// State cache
this.originalState = {zoom: 1, x: 0, y: 0}
this.activeState = {zoom: 1, x: 0, y: 0}
this.updateCTMCached = Utils.proxy(this.updateCTM, this)
// Create a custom requestAnimationFrame taking in account refreshRate
this.requestAnimationFrame = Utils.createRequestAnimationFrame(this.options.refreshRate)
// ViewBox
this.viewBox = {x: 0, y: 0, width: 0, height: 0}
this.cacheViewBox()
// Process CTM
var newCTM = this.processCTM()
// Update viewport CTM and cache zoom and pan
this.setCTM(newCTM)
// Update CTM in this frame
this.updateCTM()
}
/**
* Cache initial viewBox value
* If no viewBox is defined, then use viewport size/position instead for viewBox values
*/
ShadowViewport.prototype.cacheViewBox = function() {
var svgViewBox = this.options.svg.getAttribute('viewBox')
if (svgViewBox) {
var viewBoxValues = svgViewBox.split(/[\s\,]/).filter(function(v){return v}).map(parseFloat)
// Cache viewbox x and y offset
this.viewBox.x = viewBoxValues[0]
this.viewBox.y = viewBoxValues[1]
this.viewBox.width = viewBoxValues[2]
this.viewBox.height = viewBoxValues[3]
var zoom = Math.min(this.options.width / this.viewBox.width, this.options.height / this.viewBox.height)
// Update active state
this.activeState.zoom = zoom
this.activeState.x = (this.options.width - this.viewBox.width * zoom) / 2
this.activeState.y = (this.options.height - this.viewBox.height * zoom) / 2
// Force updating CTM
this.updateCTMOnNextFrame()
this.options.svg.removeAttribute('viewBox')
} else {
this.simpleViewBoxCache()
}
}
/**
* Recalculate viewport sizes and update viewBox cache
*/
ShadowViewport.prototype.simpleViewBoxCache = function() {
var bBox = this.viewport.getBBox()
this.viewBox.x = bBox.x
this.viewBox.y = bBox.y
this.viewBox.width = bBox.width
this.viewBox.height = bBox.height
}
/**
* Returns a viewbox object. Safe to alter
*
* @return {Object} viewbox object
*/
ShadowViewport.prototype.getViewBox = function() {
return Utils.extend({}, this.viewBox)
}
/**
* Get initial zoom and pan values. Save them into originalState
* Parses viewBox attribute to alter initial sizes
*
* @return {CTM} CTM object based on options
*/
ShadowViewport.prototype.processCTM = function() {
var newCTM = this.getCTM()
if (this.options.fit || this.options.contain) {
var newScale;
if (this.options.fit) {
newScale = Math.min(this.options.width/this.viewBox.width, this.options.height/this.viewBox.height);
} else {
newScale = Math.max(this.options.width/this.viewBox.width, this.options.height/this.viewBox.height);
}
newCTM.a = newScale; //x-scale
newCTM.d = newScale; //y-scale
newCTM.e = -this.viewBox.x * newScale; //x-transform
newCTM.f = -this.viewBox.y * newScale; //y-transform
}
if (this.options.center) {
var offsetX = (this.options.width - (this.viewBox.width + this.viewBox.x * 2) * newCTM.a) * 0.5
, offsetY = (this.options.height - (this.viewBox.height + this.viewBox.y * 2) * newCTM.a) * 0.5
newCTM.e = offsetX
newCTM.f = offsetY
}
// Cache initial values. Based on activeState and fix+center opitons
this.originalState.zoom = newCTM.a
this.originalState.x = newCTM.e
this.originalState.y = newCTM.f
return newCTM
}
/**
* Return originalState object. Safe to alter
*
* @return {Object}
*/
ShadowViewport.prototype.getOriginalState = function() {
return Utils.extend({}, this.originalState)
}
/**
* Return actualState object. Safe to alter
*
* @return {Object}
*/
ShadowViewport.prototype.getState = function() {
return Utils.extend({}, this.activeState)
}
/**
* Get zoom scale
*
* @return {Float} zoom scale
*/
ShadowViewport.prototype.getZoom = function() {
return this.activeState.zoom
}
/**
* Get zoom scale for pubilc usage
*
* @return {Float} zoom scale
*/
ShadowViewport.prototype.getRelativeZoom = function() {
return this.activeState.zoom / this.originalState.zoom
}
/**
* Compute zoom scale for pubilc usage
*
* @return {Float} zoom scale
*/
ShadowViewport.prototype.computeRelativeZoom = function(scale) {
return scale / this.originalState.zoom
}
/**
* Get pan
*
* @return {Object}
*/
ShadowViewport.prototype.getPan = function() {
return {x: this.activeState.x, y: this.activeState.y}
}
/**
* Return cached viewport CTM value that can be safely modified
*
* @return {SVGMatrix}
*/
ShadowViewport.prototype.getCTM = function() {
var safeCTM = this.options.svg.createSVGMatrix()
// Copy values manually as in FF they are not itterable
safeCTM.a = this.activeState.zoom
safeCTM.b = 0
safeCTM.c = 0
safeCTM.d = this.activeState.zoom
safeCTM.e = this.activeState.x
safeCTM.f = this.activeState.y
return safeCTM
}
/**
* Set a new CTM
*
* @param {SVGMatrix} newCTM
*/
ShadowViewport.prototype.setCTM = function(newCTM) {
var willZoom = this.isZoomDifferent(newCTM)
, willPan = this.isPanDifferent(newCTM)
if (willZoom || willPan) {
// Before zoom
if (willZoom) {
// If returns false then cancel zooming
if (this.options.beforeZoom(this.getRelativeZoom(), this.computeRelativeZoom(newCTM.a)) === false) {
newCTM.a = newCTM.d = this.activeState.zoom
willZoom = false
} else {
this.updateCache(newCTM);
this.options.onZoom(this.getRelativeZoom())
}
}
// Before pan
if (willPan) {
var preventPan = this.options.beforePan(this.getPan(), {x: newCTM.e, y: newCTM.f})
// If prevent pan is an object
, preventPanX = false
, preventPanY = false
// If prevent pan is Boolean false
if (preventPan === false) {
// Set x and y same as before
newCTM.e = this.getPan().x
newCTM.f = this.getPan().y
preventPanX = preventPanY = true
} else if (Utils.isObject(preventPan)) {
// Check for X axes attribute
if (preventPan.x === false) {
// Prevent panning on x axes
newCTM.e = this.getPan().x
preventPanX = true
} else if (Utils.isNumber(preventPan.x)) {
// Set a custom pan value
newCTM.e = preventPan.x
}
// Check for Y axes attribute
if (preventPan.y === false) {
// Prevent panning on x axes
newCTM.f = this.getPan().y
preventPanY = true
} else if (Utils.isNumber(preventPan.y)) {
// Set a custom pan value
newCTM.f = preventPan.y
}
}
// Update willPan flag
// Check if newCTM is still different
if ((preventPanX && preventPanY) || !this.isPanDifferent(newCTM)) {
willPan = false
} else {
this.updateCache(newCTM);
this.options.onPan(this.getPan());
}
}
// Check again if should zoom or pan
if (willZoom || willPan) {
this.updateCTMOnNextFrame()
}
}
}
ShadowViewport.prototype.isZoomDifferent = function(newCTM) {
return this.activeState.zoom !== newCTM.a
}
ShadowViewport.prototype.isPanDifferent = function(newCTM) {
return this.activeState.x !== newCTM.e || this.activeState.y !== newCTM.f
}
/**
* Update cached CTM and active state
*
* @param {SVGMatrix} newCTM
*/
ShadowViewport.prototype.updateCache = function(newCTM) {
this.activeState.zoom = newCTM.a
this.activeState.x = newCTM.e
this.activeState.y = newCTM.f
}
ShadowViewport.prototype.pendingUpdate = false
/**
* Place a request to update CTM on next Frame
*/
ShadowViewport.prototype.updateCTMOnNextFrame = function() {
if (!this.pendingUpdate) {
// Lock
this.pendingUpdate = true
// Throttle next update
this.requestAnimationFrame.call(window, this.updateCTMCached)
}
}
/**
* Update viewport CTM with cached CTM
*/
ShadowViewport.prototype.updateCTM = function() {
var ctm = this.getCTM()
// Updates SVG element
SvgUtils.setCTM(this.viewport, ctm, this.defs)
// Free the lock
this.pendingUpdate = false
// Notify about the update
if(this.options.onUpdatedCTM) {
this.options.onUpdatedCTM(ctm)
}
}
module.exports = function(viewport, options){
return new ShadowViewport(viewport, options)
}
},{"./svg-utilities":5,"./utilities":7}],4:[function(require,module,exports){
var Wheel = require('./uniwheel')
, ControlIcons = require('./control-icons')
, Utils = require('./utilities')
, SvgUtils = require('./svg-utilities')
, ShadowViewport = require('./shadow-viewport')
var SvgPanZoom = function(svg, options) {
this.init(svg, options)
}
var optionsDefaults = {
viewportSelector: '.svg-pan-zoom_viewport' // Viewport selector. Can be querySelector string or SVGElement
, panEnabled: true // enable or disable panning (default enabled)
, controlIconsEnabled: false // insert icons to give user an option in addition to mouse events to control pan/zoom (default disabled)
, zoomEnabled: true // enable or disable zooming (default enabled)
, dblClickZoomEnabled: true // enable or disable zooming by double clicking (default enabled)
, mouseWheelZoomEnabled: true // enable or disable zooming by mouse wheel (default enabled)
, preventMouseEventsDefault: true // enable or disable preventDefault for mouse events
, zoomScaleSensitivity: 0.1 // Zoom sensitivity
, minZoom: 0.5 // Minimum Zoom level
, maxZoom: 10 // Maximum Zoom level
, fit: true // enable or disable viewport fit in SVG (default true)
, contain: false // enable or disable viewport contain the svg (default false)
, center: true // enable or disable viewport centering in SVG (default true)
, refreshRate: 'auto' // Maximum number of frames per second (altering SVG's viewport)
, beforeZoom: null
, onZoom: null
, beforePan: null
, onPan: null
, customEventsHandler: null
, eventsListenerElement: null
, onUpdatedCTM: null
}
SvgPanZoom.prototype.init = function(svg, options) {
var that = this
this.svg = svg
this.defs = svg.querySelector('defs')
// Add default attributes to SVG
SvgUtils.setupSvgAttributes(this.svg)
// Set options
this.options = Utils.extend(Utils.extend({}, optionsDefaults), options)
// Set default state
this.state = 'none'
// Get dimensions
var boundingClientRectNormalized = SvgUtils.getBoundingClientRectNormalized(svg)
this.width = boundingClientRectNormalized.width
this.height = boundingClientRectNormalized.height
// Init shadow viewport
this.viewport = ShadowViewport(SvgUtils.getOrCreateViewport(this.svg, this.options.viewportSelector), {
svg: this.svg
, width: this.width
, height: this.height
, fit: this.options.fit
, contain: this.options.contain
, center: this.options.center
, refreshRate: this.options.refreshRate
// Put callbacks into functions as they can change through time
, beforeZoom: function(oldScale, newScale) {
if (that.viewport && that.options.beforeZoom) {return that.options.beforeZoom(oldScale, newScale)}
}
, onZoom: function(scale) {
if (that.viewport && that.options.onZoom) {return that.options.onZoom(scale)}
}
, beforePan: function(oldPoint, newPoint) {
if (that.viewport && that.options.beforePan) {return that.options.beforePan(oldPoint, newPoint)}
}
, onPan: function(point) {
if (that.viewport && that.options.onPan) {return that.options.onPan(point)}
}
, onUpdatedCTM: function(ctm) {
if (that.viewport && that.options.onUpdatedCTM) {return that.options.onUpdatedCTM(ctm)}
}
})
// Wrap callbacks into public API context
var publicInstance = this.getPublicInstance()
publicInstance.setBeforeZoom(this.options.beforeZoom)
publicInstance.setOnZoom(this.options.onZoom)
publicInstance.setBeforePan(this.options.beforePan)
publicInstance.setOnPan(this.options.onPan)
publicInstance.setOnUpdatedCTM(this.options.onUpdatedCTM)
if (this.options.controlIconsEnabled) {
ControlIcons.enable(this)
}
// Init events handlers
this.lastMouseWheelEventTime = Date.now()
this.setupHandlers()
}
/**
* Register event handlers
*/
SvgPanZoom.prototype.setupHandlers = function() {
var that = this
, prevEvt = null // use for touchstart event to detect double tap
;
this.eventListeners = {
// Mouse down group
mousedown: function(evt) {
var result = that.handleMouseDown(evt, prevEvt);
prevEvt = evt
return result;
}
, touchstart: function(evt) {
var result = that.handleMouseDown(evt, prevEvt);
prevEvt = evt
return result;
}
// Mouse up group
, mouseup: function(evt) {
return that.handleMouseUp(evt);
}
, touchend: function(evt) {
return that.handleMouseUp(evt);
}
// Mouse move group
, mousemove: function(evt) {
return that.handleMouseMove(evt);
}
, touchmove: function(evt) {
return that.handleMouseMove(evt);
}
// Mouse leave group
, mouseleave: function(evt) {
return that.handleMouseUp(evt);
}
, touchleave: function(evt) {
return that.handleMouseUp(evt);
}
, touchcancel: function(evt) {
return that.handleMouseUp(evt);
}
}
// Init custom events handler if available
if (this.options.customEventsHandler != null) { // jshint ignore:line
this.options.customEventsHandler.init({
svgElement: this.svg
, eventsListenerElement: this.options.eventsListenerElement
, instance: this.getPublicInstance()
})
// Custom event handler may halt builtin listeners
var haltEventListeners = this.options.customEventsHandler.haltEventListeners
if (haltEventListeners && haltEventListeners.length) {
for (var i = haltEventListeners.length - 1; i >= 0; i--) {
if (this.eventListeners.hasOwnProperty(haltEventListeners[i])) {
delete this.eventListeners[haltEventListeners[i]]
}
}
}
}
// Bind eventListeners
for (var event in this.eventListeners) {
// Attach event to eventsListenerElement or SVG if not available
(this.options.eventsListenerElement || this.svg)
.addEventListener(event, this.eventListeners[event], false)
}
// Zoom using mouse wheel
if (this.options.mouseWheelZoomEnabled) {
this.options.mouseWheelZoomEnabled = false // set to false as enable will set it back to true
this.enableMouseWheelZoom()
}
}
/**
* Enable ability to zoom using mouse wheel
*/
SvgPanZoom.prototype.enableMouseWheelZoom = function() {
if (!this.options.mouseWheelZoomEnabled) {
var that = this
// Mouse wheel listener
this.wheelListener = function(evt) {
return that.handleMouseWheel(evt);
}
// Bind wheelListener
Wheel.on(this.options.eventsListenerElement || this.svg, this.wheelListener, false)
this.options.mouseWheelZoomEnabled = true
}
}
/**
* Disable ability to zoom using mouse wheel
*/
SvgPanZoom.prototype.disableMouseWheelZoom = function() {
if (this.options.mouseWheelZoomEnabled) {
Wheel.off(this.options.eventsListenerElement || this.svg, this.wheelListener, false)
this.options.mouseWheelZoomEnabled = false
}
}
/**
* Handle mouse wheel event
*
* @param {Event} evt
*/
SvgPanZoom.prototype.handleMouseWheel = function(evt) {
if (!this.options.zoomEnabled || this.state !== 'none') {
return;
}
if (this.options.preventMouseEventsDefault){
if (evt.preventDefault) {
evt.preventDefault();
} else {
evt.returnValue = false;
}
}
// Default delta in case that deltaY is not available
var delta = evt.deltaY || 1
, timeDelta = Date.now() - this.lastMouseWheelEventTime
, divider = 3 + Math.max(0, 30 - timeDelta)
// Update cache
this.lastMouseWheelEventTime = Date.now()
// Make empirical adjustments for browsers that give deltaY in pixels (deltaMode=0)
if ('deltaMode' in evt && evt.deltaMode === 0 && evt.wheelDelta) {
delta = evt.deltaY === 0 ? 0 : Math.abs(evt.wheelDelta) / evt.deltaY
}
delta = -0.3 < delta && delta < 0.3 ? delta : (delta > 0 ? 1 : -1) * Math.log(Math.abs(delta) + 10) / divider
var inversedScreenCTM = this.svg.getScreenCTM().inverse()
, relativeMousePoint = SvgUtils.getEventPoint(evt, this.svg).matrixTransform(inversedScreenCTM)
, zoom = Math.pow(1 + this.options.zoomScaleSensitivity, (-1) * delta); // multiplying by neg. 1 so as to make zoom in/out behavior match Google maps behavior
this.zoomAtPoint(zoom, relativeMousePoint)
}
/**
* Zoom in at a SVG point
*
* @param {SVGPoint} point
* @param {Float} zoomScale Number representing how much to zoom
* @param {Boolean} zoomAbsolute Default false. If true, zoomScale is treated as an absolute value.
* Otherwise, zoomScale is treated as a multiplied (e.g. 1.10 would zoom in 10%)
*/
SvgPanZoom.prototype.zoomAtPoint = function(zoomScale, point, zoomAbsolute) {
var originalState = this.viewport.getOriginalState()
if (!zoomAbsolute) {
// Fit zoomScale in set bounds
if (this.getZoom() * zoomScale < this.options.minZoom * originalState.zoom) {
zoomScale = (this.options.minZoom * originalState.zoom) / this.getZoom()
} else if (this.getZoom() * zoomScale > this.options.maxZoom * originalState.zoom) {
zoomScale = (this.options.maxZoom * originalState.zoom) / this.getZoom()
}
} else {
// Fit zoomScale in set bounds
zoomScale = Math.max(this.options.minZoom * originalState.zoom, Math.min(this.options.maxZoom * originalState.zoom, zoomScale))
// Find relative scale to achieve desired scale
zoomScale = zoomScale/this.getZoom()
}
var oldCTM = this.viewport.getCTM()
, relativePoint = point.matrixTransform(oldCTM.inverse())
, modifier = this.svg.createSVGMatrix().translate(relativePoint.x, relativePoint.y).scale(zoomScale).translate(-relativePoint.x, -relativePoint.y)
, newCTM = oldCTM.multiply(modifier)
if (newCTM.a !== oldCTM.a) {
this.viewport.setCTM(newCTM)
}
}
/**
* Zoom at center point
*
* @param {Float} scale
* @param {Boolean} absolute Marks zoom scale as relative or absolute
*/
SvgPanZoom.prototype.zoom = function(scale, absolute) {
this.zoomAtPoint(scale, SvgUtils.getSvgCenterPoint(this.svg, this.width, this.height), absolute)
}
/**
* Zoom used by public instance
*
* @param {Float} scale
* @param {Boolean} absolute Marks zoom scale as relative or absolute
*/
SvgPanZoom.prototype.publicZoom = function(scale, absolute) {
if (absolute) {
scale = this.computeFromRelativeZoom(scale)
}
this.zoom(scale, absolute)
}
/**
* Zoom at point used by public instance
*
* @param {Float} scale
* @param {SVGPoint|Object} point An object that has x and y attributes
* @param {Boolean} absolute Marks zoom scale as relative or absolute
*/
SvgPanZoom.prototype.publicZoomAtPoint = function(scale, point, absolute) {
if (absolute) {
// Transform zoom into a relative value
scale = this.computeFromRelativeZoom(scale)
}
// If not a SVGPoint but has x and y then create a SVGPoint
if (Utils.getType(point) !== 'SVGPoint') {
if('x' in point && 'y' in point) {
point = SvgUtils.createSVGPoint(this.svg, point.x, point.y)
} else {
throw new Error('Given point is invalid')
}
}
this.zoomAtPoint(scale, point, absolute)
}
/**
* Get zoom scale
*
* @return {Float} zoom scale
*/
SvgPanZoom.prototype.getZoom = function() {
return this.viewport.getZoom()
}
/**
* Get zoom scale for public usage
*
* @return {Float} zoom scale
*/
SvgPanZoom.prototype.getRelativeZoom = function() {
return this.viewport.getRelativeZoom()
}
/**
* Compute actual zoom from public zoom
*
* @param {Float} zoom
* @return {Float} zoom scale
*/
SvgPanZoom.prototype.computeFromRelativeZoom = function(zoom) {
return zoom * this.viewport.getOriginalState().zoom
}
/**
* Set zoom to initial state
*/
SvgPanZoom.prototype.resetZoom = function() {
var originalState = this.viewport.getOriginalState()
this.zoom(originalState.zoom, true);
}
/**
* Set pan to initial state
*/
SvgPanZoom.prototype.resetPan = function() {
this.pan(this.viewport.getOriginalState());
}
/**
* Set pan and zoom to initial state
*/
SvgPanZoom.prototype.reset = function() {
this.resetZoom()
this.resetPan()
}
/**
* Handle double click event
* See handleMouseDown() for alternate detection method
*
* @param {Event} evt
*/
SvgPanZoom.prototype.handleDblClick = function(evt) {
if (this.options.preventMouseEventsDefault) {
if (evt.preventDefault) {
evt.preventDefault()
} else {
evt.returnValue = false
}
}
// Check if target was a control button
if (this.options.controlIconsEnabled) {
var targetClass = evt.target.getAttribute('class') || ''
if (targetClass.indexOf('svg-pan-zoom-control') > -1) {
return false
}
}
var zoomFactor
if (evt.shiftKey) {
zoomFactor = 1/((1 + this.options.zoomScaleSensitivity) * 2) // zoom out when shift key pressed
} else {
zoomFactor = (1 + this.options.zoomScaleSensitivity) * 2
}
var point = SvgUtils.getEventPoint(evt, this.svg).matrixTransform(this.svg.getScreenCTM().inverse())
this.zoomAtPoint(zoomFactor, point)
}
/**
* Handle click event
*
* @param {Event} evt
*/
SvgPanZoom.prototype.handleMouseDown = function(evt, prevEvt) {
if (this.options.preventMouseEventsDefault) {
if (evt.preventDefault) {
evt.preventDefault()
} else {
evt.returnValue = false
}
}
Utils.mouseAndTouchNormalize(evt, this.svg)
// Double click detection; more consistent than ondblclick
if (this.options.dblClickZoomEnabled && Utils.isDblClick(evt, prevEvt)){
this.handleDblClick(evt)
} else {
// Pan mode
this.state = 'pan'
this.firstEventCTM = this.viewport.getCTM()
this.stateOrigin = SvgUtils.getEventPoint(evt, this.svg).matrixTransform(this.firstEventCTM.inverse())
}
}
/**
* Handle mouse move event
*
* @param {Event} evt
*/
SvgPanZoom.prototype.handleMouseMove = function(evt) {
if (this.options.preventMouseEventsDefault) {
if (evt.preventDefault) {
evt.preventDefault()
} else {
evt.returnValue = false
}
}
if (this.state === 'pan' && this.options.panEnabled) {
// Pan mode
var point = SvgUtils.getEventPoint(evt, this.svg).matrixTransform(this.firstEventCTM.inverse())
, viewportCTM = this.firstEventCTM.translate(point.x - this.stateOrigin.x, point.y - this.stateOrigin.y)
this.viewport.setCTM(viewportCTM)
}
}
/**
* Handle mouse button release event
*
* @param {Event} evt
*/
SvgPanZoom.prototype.handleMouseUp = function(evt) {
if (this.options.preventMouseEventsDefault) {
if (evt.preventDefault) {
evt.preventDefault()
} else {
evt.returnValue = false
}
}
if (this.state === 'pan') {
// Quit pan mode
this.state = 'none'
}
}
/**
* Adjust viewport size (only) so it will fit in SVG
* Does not center image
*/
SvgPanZoom.prototype.fit = function() {
var viewBox = this.viewport.getViewBox()
, newScale = Math.min(this.width/viewBox.width, this.height/viewBox.height)
this.zoom(newScale, true)
}
/**
* Adjust viewport size (only) so it will contain the SVG
* Does not center image
*/
SvgPanZoom.prototype.contain = function() {
var viewBox = this.viewport.getViewBox()
, newScale = Math.max(this.width/viewBox.width, this.height/viewBox.height)
this.zoom(newScale, true)
}
/**
* Adjust viewport pan (only) so it will be centered in SVG
* Does not zoom/fit/contain image
*/
SvgPanZoom.prototype.center = function() {
var viewBox = this.viewport.getViewBox()
, offsetX = (this.width - (viewBox.width + viewBox.x * 2) * this.getZoom()) * 0.5
, offsetY = (this.height - (viewBox.height + viewBox.y * 2) * this.getZoom()) * 0.5
this.getPublicInstance().pan({x: offsetX, y: offsetY})
}
/**
* Update content cached BorderBox
* Use when viewport contents change
*/
SvgPanZoom.prototype.updateBBox = function() {
this.viewport.simpleViewBoxCache()
}
/**
* Pan to a rendered position
*
* @param {Object} point {x: 0, y: 0}
*/
SvgPanZoom.prototype.pan = function(point) {
var viewportCTM = this.viewport.getCTM()
viewportCTM.e = point.x
viewportCTM.f = point.y
this.viewport.setCTM(viewportCTM)
}
/**
* Relatively pan the graph by a specified rendered position vector
*
* @param {Object} point {x: 0, y: 0}
*/
SvgPanZoom.prototype.panBy = function(point) {
var viewportCTM = this.viewport.getCTM()
viewportCTM.e += point.x
viewportCTM.f += point.y
this.viewport.setCTM(viewportCTM)
}
/**
* Get pan vector
*
* @return {Object} {x: 0, y: 0}
*/
SvgPanZoom.prototype.getPan = function() {
var state = this.viewport.getState()
return {x: state.x, y: state.y}
}
/**
* Recalculates cached svg dimensions and controls position
*/
SvgPanZoom.prototype.resize = function() {
// Get dimensions
var boundingClientRectNormalized = SvgUtils.getBoundingClientRectNormalized(this.svg)
this.width = boundingClientRectNormalized.width
this.height = boundingClientRectNormalized.height
// Recalculate original state
var viewport = this.viewport
viewport.options.width = this.width
viewport.options.height = this.height
viewport.processCTM()
// Reposition control icons by re-enabling them
if (this.options.controlIconsEnabled) {
this.getPublicInstance().disableControlIcons()
this.getPublicInstance().enableControlIcons()
}
}
/**
* Unbind mouse events, free callbacks and destroy public instance
*/
SvgPanZoom.prototype.destroy = function() {
var that = this
// Free callbacks
this.beforeZoom = null
this.onZoom = null
this.beforePan = null
this.onPan = null
this.onUpdatedCTM = null
// Destroy custom event handlers
if (this.options.customEventsHandler != null) { // jshint ignore:line
this.options.customEventsHandler.destroy({
svgElement: this.svg
, eventsListenerElement: this.options.eventsListenerElement
, instance: this.getPublicInstance()
})
}
// Unbind eventListeners
for (var event in this.eventListeners) {
(this.options.eventsListenerElement || this.svg)
.removeEventListener(event, this.eventListeners[event], false)
}
// Unbind wheelListener
this.disableMouseWheelZoom()
// Remove control icons
this.getPublicInstance().disableControlIcons()
// Reset zoom and pan
this.reset()
// Remove instance from instancesStore
instancesStore = instancesStore.filter(function(instance){
return instance.svg !== that.svg
})
// Delete options and its contents
delete this.options
// Delete viewport to make public shadow viewport functions uncallable
delete this.viewport
// Destroy public instance and rewrite getPublicInstance
delete this.publicInstance
delete this.pi
this.getPublicInstance = function(){
return null
}
}
/**
* Returns a public instance object
*
* @return {Object} Public instance object
*/
SvgPanZoom.prototype.getPublicInstance = function() {
var that = this
// Create cache
if (!this.publicInstance) {
this.publicInstance = this.pi = {
// Pan
enablePan: function() {that.options.panEnabled = true; return that.pi}
, disablePan: function() {that.options.panEnabled = false; return that.pi}
, isPanEnabled: function() {return !!that.options.panEnabled}
, pan: function(point) {that.pan(point); return that.pi}
, panBy: function(point) {that.panBy(point); return that.pi}
, getPan: function() {return that.getPan()}
// Pan event
, setBeforePan: function(fn) {that.options.beforePan = fn === null ? null : Utils.proxy(fn, that.publicInstance); return that.pi}
, setOnPan: function(fn) {that.options.onPan = fn === null ? null : Utils.proxy(fn, that.publicInstance); return that.pi}
// Zoom and Control Icons
, enableZoom: function() {that.options.zoomEnabled = true; return that.pi}
, disableZoom: function() {that.options.zoomEnabled = false; return that.pi}
, isZoomEnabled: function() {return !!that.options.zoomEnabled}
, enableControlIcons: function() {
if (!that.options.controlIconsEnabled) {
that.options.controlIconsEnabled = true
ControlIcons.enable(that)
}
return that.pi
}
, disableControlIcons: function() {
if (that.options.controlIconsEnabled) {
that.options.controlIconsEnabled = false;
ControlIcons.disable(that)
}
return that.pi
}
, isControlIconsEnabled: function() {return !!that.options.controlIconsEnabled}
// Double click zoom
, enableDblClickZoom: function() {that.options.dblClickZoomEnabled = true; return that.pi}
, disableDblClickZoom: function() {that.options.dblClickZoomEnabled = false; return that.pi}
, isDblClickZoomEnabled: function() {return !!that.options.dblClickZoomEnabled}
// Mouse wheel zoom
, enableMouseWheelZoom: function() {that.enableMouseWheelZoom(); return that.pi}
, disableMouseWheelZoom: function() {that.disableMouseWheelZoom(); return that.pi}
, isMouseWheelZoomEnabled: function() {return !!that.options.mouseWheelZoomEnabled}
// Zoom scale and bounds
, setZoomScaleSensitivity: function(scale) {that.options.zoomScaleSensitivity = scale; return that.pi}
, setMinZoom: function(zoom) {that.options.minZoom = zoom; return that.pi}
, setMaxZoom: function(zoom) {that.options.maxZoom = zoom; return that.pi}
// Zoom event
, setBeforeZoom: function(fn) {that.options.beforeZoom = fn === null ? null : Utils.proxy(fn, that.publicInstance); return that.pi}
, setOnZoom: function(fn) {that.options.onZoom = fn === null ? null : Utils.proxy(fn, that.publicInstance); return that.pi}
// Zooming
, zoom: function(scale) {that.publicZoom(scale, true); return that.pi}
, zoomBy: function(scale) {that.publicZoom(scale, false); return that.pi}
, zoomAtPoint: function(scale, point) {that.publicZoomAtPoint(scale, point, true); return that.pi}
, zoomAtPointBy: function(scale, point) {that.publicZoomAtPoint(scale, point, false); return that.pi}
, zoomIn: function() {this.zoomBy(1 + that.options.zoomScaleSensitivity); return that.pi}
, zoomOut: function() {this.zoomBy(1 / (1 + that.options.zoomScaleSensitivity)); return that.pi}
, getZoom: function() {return that.getRelativeZoom()}
// CTM update
, setOnUpdatedCTM: function(fn) {that.options.onUpdatedCTM = fn === null ? null : Utils.proxy(fn, that.publicInstance); return that.pi}
// Reset
, resetZoom: function() {that.resetZoom(); return that.pi}
, resetPan: function() {that.resetPan(); return that.pi}
, reset: function() {that.reset(); return that.pi}
// Fit, Contain and Center
, fit: function() {that.fit(); return that.pi}
, contain: function() {that.contain(); return that.pi}
, center: function() {that.center(); return that.pi}
// Size and Resize
, updateBBox: function() {that.updateBBox(); return that.pi}
, resize: function() {that.resize(); return that.pi}
, getSizes: function() {
return {
width: that.width
, height: that.height
, realZoom: that.getZoom()
, viewBox: that.viewport.getViewBox()
}
}
// Destroy
, destroy: function() {that.destroy(); return that.pi}
}
}
return this.publicInstance
}
/**
* Stores pairs of instances of SvgPanZoom and SVG
* Each pair is represented by an object {svg: SVGSVGElement, instance: SvgPanZoom}
*
* @type {Array}
*/
var instancesStore = []
var svgPanZoom = function(elementOrSelector, options){
var svg = Utils.getSvg(elementOrSelector)
if (svg === null) {
return null
} else {
// Look for existent instance
for(var i = instancesStore.length - 1; i >= 0; i--) {
if (instancesStore[i].svg === svg) {
return instancesStore[i].instance.getPublicInstance()
}
}
// If instance not found - create one
instancesStore.push({
svg: svg
, instance: new SvgPanZoom(svg, options)
})
// Return just pushed instance
return instancesStore[instancesStore.length - 1].instance.getPublicInstance()
}
}
module.exports = svgPanZoom;
},{"./control-icons":2,"./shadow-viewport":3,"./svg-utilities":5,"./uniwheel":6,"./utilities":7}],5:[function(require,module,exports){
var Utils = require('./utilities')
, _browser = 'unknown'
;
// http://stackoverflow.com/questions/9847580/how-to-detect-safari-chrome-ie-firefox-and-opera-browser
if (/*@cc_on!@*/false || !!document.documentMode) { // internet explorer
_browser = 'ie';
}
module.exports = {
svgNS: 'http://www.w3.org/2000/svg'
, xmlNS: 'http://www.w3.org/XML/1998/namespace'
, xmlnsNS: 'http://www.w3.org/2000/xmlns/'
, xlinkNS: 'http://www.w3.org/1999/xlink'
, evNS: 'http://www.w3.org/2001/xml-events'
/**
* Get svg dimensions: width and height
*
* @param {SVGSVGElement} svg
* @return {Object} {width: 0, height: 0}
*/
, getBoundingClientRectNormalized: function(svg) {
if (svg.clientWidth && svg.clientHeight) {
return {width: svg.clientWidth, height: svg.clientHeight}
} else if (!!svg.getBoundingClientRect()) {
return svg.getBoundingClientRect();
} else {
throw new Error('Cannot get BoundingClientRect for SVG.');
}
}
/**
* Gets g element with class of "viewport" or creates it if it doesn't exist
*
* @param {SVGSVGElement} svg
* @return {SVGElement} g (group) element
*/
, getOrCreateViewport: function(svg, selector) {
var viewport = null
if (Utils.isElement(selector)) {
viewport = selector
} else {
viewport = svg.querySelector(selector)
}
// Check if there is just one main group in SVG
if (!viewport) {
var childNodes = Array.prototype.slice.call(svg.childNodes || svg.children).filter(function(el){
return el.nodeName !== 'defs' && el.nodeName !== '#text'
})
// Node name should be SVGGElement and should have no transform attribute
// Groups with transform are not used as viewport because it involves parsing of all transform possibilities
if (childNodes.length === 1 && childNodes[0].nodeName === 'g' && childNodes[0].getAttribute('transform') === null) {
viewport = childNodes[0]
}
}
// If no favorable group element exists then create one
if (!viewport) {
var viewportId = 'viewport-' + new Date().toISOString().replace(/\D/g, '');
viewport = document.createElementNS(this.svgNS, 'g');
viewport.setAttribute('id', viewportId);
// Internet Explorer (all versions?) can't use childNodes, but other browsers prefer (require?) using childNodes
var svgChildren = svg.childNodes || svg.children;
if (!!svgChildren && svgChildren.length > 0) {
for (var i = svgChildren.length; i > 0; i--) {
// Move everything into viewport except defs
if (svgChildren[svgChildren.length - i].nodeName !== 'defs') {
viewport.appendChild(svgChildren[svgChildren.length - i]);
}
}
}
svg.appendChild(viewport);
}
// Parse class names
var classNames = [];
if (viewport.getAttribute('class')) {
classNames = viewport.getAttribute('class').split(' ')
}
// Set class (if not set already)
if (!~classNames.indexOf('svg-pan-zoom_viewport')) {
classNames.push('svg-pan-zoom_viewport')
viewport.setAttribute('class', classNames.join(' '))
}
return viewport
}
/**
* Set SVG attributes
*
* @param {SVGSVGElement} svg
*/
, setupSvgAttributes: function(svg) {
// Setting default attributes
svg.setAttribute('xmlns', this.svgNS);
svg.setAttributeNS(this.xmlnsNS, 'xmlns:xlink', this.xlinkNS);
svg.setAttributeNS(this.xmlnsNS, 'xmlns:ev', this.evNS);
// Needed for Internet Explorer, otherwise the viewport overflows
if (svg.parentNode !== null) {
var style = svg.getAttribute('style') || '';
if (style.toLowerCase().indexOf('overflow') === -1) {
svg.setAttribute('style', 'overflow: hidden; ' + style);
}
}
}
/**
* How long Internet Explorer takes to finish updating its display (ms).
*/
, internetExplorerRedisplayInterval: 300
/**
* Forces the browser to redisplay all SVG elements that rely on an
* element defined in a 'defs' section. It works globally, for every
* available defs element on the page.
* The throttling is intentionally global.
*
* This is only needed for IE. It is as a hack to make markers (and 'use' elements?)
* visible after pan/zoom when there are multiple SVGs on the page.
* See bug report: https://connect.microsoft.com/IE/feedback/details/781964/
* also see svg-pan-zoom issue: https://github.com/ariutta/svg-pan-zoom/issues/62
*/
, refreshDefsGlobal: Utils.throttle(function() {
var allDefs = document.querySelectorAll('defs');
var allDefsCount = allDefs.length;
for (var i = 0; i < allDefsCount; i++) {
var thisDefs = allDefs[i];
thisDefs.parentNode.insertBefore(thisDefs, thisDefs);
}
}, this.internetExplorerRedisplayInterval)
/**
* Sets the current transform matrix of an element
*
* @param {SVGElement} element
* @param {SVGMatrix} matrix CTM
* @param {SVGElement} defs
*/
, setCTM: function(element, matrix, defs) {
var that = this
, s = 'matrix(' + matrix.a + ',' + matrix.b + ',' + matrix.c + ',' + matrix.d + ',' + matrix.e + ',' + matrix.f + ')';
element.setAttributeNS(null, 'transform', s);
if ('transform' in element.style) {
element.style.transform = s;
} else if ('-ms-transform' in element.style) {
element.style['-ms-transform'] = s;
} else if ('-webkit-transform' in element.style) {
element.style['-webkit-transform'] = s;
}
// IE has a bug that makes markers disappear on zoom (when the matrix "a" and/or "d" elements change)
// see http://stackoverflow.com/questions/17654578/svg-marker-does-not-work-in-ie9-10
// and http://srndolha.wordpress.com/2013/11/25/svg-line-markers-may-disappear-in-internet-explorer-11/
if (_browser === 'ie' && !!defs) {
// this refresh is intended for redisplaying the SVG during zooming
defs.parentNode.insertBefore(defs, defs);
// this refresh is intended for redisplaying the other SVGs on a page when panning a given SVG
// it is also needed for the given SVG itself, on zoomEnd, if the SVG contains any markers that
// are located under any other element(s).
window.setTimeout(function() {
that.refreshDefsGlobal();
}, that.internetExplorerRedisplayInterval);
}
}
/**
* Instantiate an SVGPoint object with given event coordinates
*
* @param {Event} evt
* @param {SVGSVGElement} svg
* @return {SVGPoint} point
*/
, getEventPoint: function(evt, svg) {
var point = svg.createSVGPoint()
Utils.mouseAndTouchNormalize(evt, svg)
point.x = evt.clientX
point.y = evt.clientY
return point
}
/**
* Get SVG center point
*
* @param {SVGSVGElement} svg
* @return {SVGPoint}
*/
, getSvgCenterPoint: function(svg, width, height) {
return this.createSVGPoint(svg, width / 2, height / 2)
}
/**
* Create a SVGPoint with given x and y
*
* @param {SVGSVGElement} svg
* @param {Number} x
* @param {Number} y
* @return {SVGPoint}
*/
, createSVGPoint: function(svg, x, y) {
var point = svg.createSVGPoint()
point.x = x
point.y = y
return point
}
}
},{"./utilities":7}],6:[function(require,module,exports){
// uniwheel 0.1.2 (customized)
// A unified cross browser mouse wheel event handler
// https://github.com/teemualap/uniwheel
module.exports = (function(){
//Full details: https://developer.mozilla.org/en-US/docs/Web/Reference/Events/wheel
var prefix = "", _addEventListener, _removeEventListener, onwheel, support, fns = [];
// detect event model
if ( window.addEventListener ) {
_addEventListener = "addEventListener";
_removeEventListener = "removeEventListener";
} else {
_addEventListener = "attachEvent";
_removeEventListener = "detachEvent";
prefix = "on";
}
// detect available wheel event
support = "onwheel" in document.createElement("div") ? "wheel" : // Modern browsers support "wheel"
document.onmousewheel !== undefined ? "mousewheel" : // Webkit and IE support at least "mousewheel"
"DOMMouseScroll"; // let's assume that remaining browsers are older Firefox
function createCallback(element,callback,capture) {
var fn = function(originalEvent) {
!originalEvent && ( originalEvent = window.event );
// create a normalized event object
var event = {
// keep a ref to the original event object
originalEvent: originalEvent,
target: originalEvent.target || originalEvent.srcElement,
type: "wheel",
deltaMode: originalEvent.type == "MozMousePixelScroll" ? 0 : 1,
deltaX: 0,
delatZ: 0,
preventDefault: function() {
originalEvent.preventDefault ?
originalEvent.preventDefault() :
originalEvent.returnValue = false;
}
};
// calculate deltaY (and deltaX) according to the event
if ( support == "mousewheel" ) {
event.deltaY = - 1/40 * originalEvent.wheelDelta;
// Webkit also support wheelDeltaX
originalEvent.wheelDeltaX && ( event.deltaX = - 1/40 * originalEvent.wheelDeltaX );
} else {
event.deltaY = originalEvent.detail;
}
// it's time to fire the callback
return callback( event );
};
fns.push({
element: element,
fn: fn,
capture: capture
});
return fn;
}
function getCallback(element,capture) {
for (var i = 0; i < fns.length; i++) {
if (fns[i].element === element && fns[i].capture === capture) {
return fns[i].fn;
}
}
return function(){};
}
function removeCallback(element,capture) {
for (var i = 0; i < fns.length; i++) {
if (fns[i].element === element && fns[i].capture === capture) {
return fns.splice(i,1);
}
}
}
function _addWheelListener( elem, eventName, callback, useCapture ) {
var cb;
if (support === "wheel") {
cb = callback;
} else {
cb = createCallback(elem,callback,useCapture);
}
elem[ _addEventListener ]( prefix + eventName, cb, useCapture || false );
}
function _removeWheelListener( elem, eventName, callback, useCapture ) {
var cb;
if (support === "wheel") {
cb = callback;
} else {
cb = getCallback(elem,useCapture);
}
elem[ _removeEventListener ]( prefix + eventName, cb, useCapture || false );
removeCallback(elem,useCapture);
}
function addWheelListener( elem, callback, useCapture ) {
_addWheelListener( elem, support, callback, useCapture );
// handle MozMousePixelScroll in older Firefox
if( support == "DOMMouseScroll" ) {
_addWheelListener( elem, "MozMousePixelScroll", callback, useCapture);
}
}
function removeWheelListener(elem,callback,useCapture){
_removeWheelListener(elem,support,callback,useCapture);
// handle MozMousePixelScroll in older Firefox
if( support == "DOMMouseScroll" ) {
_removeWheelListener(elem, "MozMousePixelScroll", callback, useCapture);
}
}
return {
on: addWheelListener,
off: removeWheelListener
};
})();
},{}],7:[function(require,module,exports){
module.exports = {
/**
* Extends an object
*
* @param {Object} target object to extend
* @param {Object} source object to take properties from
* @return {Object} extended object
*/
extend: function(target, source) {
target = target || {};
for (var prop in source) {
// Go recursively
if (this.isObject(source[prop])) {
target[prop] = this.extend(target[prop], source[prop])
} else {
target[prop] = source[prop]
}
}
return target;
}
/**
* Checks if an object is a DOM element
*
* @param {Object} o HTML element or String
* @return {Boolean} returns true if object is a DOM element
*/
, isElement: function(o){
return (
o instanceof HTMLElement || o instanceof SVGElement || o instanceof SVGSVGElement || //DOM2
(o && typeof o === 'object' && o !== null && o.nodeType === 1 && typeof o.nodeName === 'string')
);
}
/**
* Checks if an object is an Object
*
* @param {Object} o Object
* @return {Boolean} returns true if object is an Object
*/
, isObject: function(o){
return Object.prototype.toString.call(o) === '[object Object]';
}
/**
* Checks if variable is Number
*
* @param {Integer|Float} n
* @return {Boolean} returns true if variable is Number
*/
, isNumber: function(n) {
return !isNaN(parseFloat(n)) && isFinite(n);
}
/**
* Search for an SVG element
*
* @param {Object|String} elementOrSelector DOM Element or selector String
* @return {Object|Null} SVG or null
*/
, getSvg: function(elementOrSelector) {
var element
, svg;
if (!this.isElement(elementOrSelector)) {
// If selector provided
if (typeof elementOrSelector === 'string' || elementOrSelector instanceof String) {
// Try to find the element
element = document.querySelector(elementOrSelector)
if (!element) {
throw new Error('Provided selector did not find any elements. Selector: ' + elementOrSelector)
return null
}
} else {
throw new Error('Provided selector is not an HTML object nor String')
return null
}
} else {
element = elementOrSelector
}
if (element.tagName.toLowerCase() === 'svg') {
svg = element;
} else {
if (element.tagName.toLowerCase() === 'object') {
svg = element.contentDocument.documentElement;
} else {
if (element.tagName.toLowerCase() === 'embed') {
svg = element.getSVGDocument().documentElement;
} else {
if (element.tagName.toLowerCase() === 'img') {
throw new Error('Cannot script an SVG in an "img" element. Please use an "object" element or an in-line SVG.');
} else {
throw new Error('Cannot get SVG.');
}
return null
}
}
}
return svg
}
/**
* Attach a given context to a function
* @param {Function} fn Function
* @param {Object} context Context
* @return {Function} Function with certain context
*/
, proxy: function(fn, context) {
return function() {
return fn.apply(context, arguments)
}
}
/**
* Returns object type
* Uses toString that returns [object SVGPoint]
* And than parses object type from string
*
* @param {Object} o Any object
* @return {String} Object type
*/
, getType: function(o) {
return Object.prototype.toString.apply(o).replace(/^\[object\s/, '').replace(/\]$/, '')
}
/**
* If it is a touch event than add clientX and clientY to event object
*
* @param {Event} evt
* @param {SVGSVGElement} svg
*/
, mouseAndTouchNormalize: function(evt, svg) {
// If no clientX then fallback
if (evt.clientX === void 0 || evt.clientX === null) {
// Fallback
evt.clientX = 0
evt.clientY = 0
// If it is a touch event
if (evt.touches !== void 0 && evt.touches.length) {
if (evt.touches[0].clientX !== void 0) {
evt.clientX = evt.touches[0].clientX
evt.clientY = evt.touches[0].clientY
} else if (evt.touches[0].pageX !== void 0) {
var rect = svg.getBoundingClientRect();
evt.clientX = evt.touches[0].pageX - rect.left
evt.clientY = evt.touches[0].pageY - rect.top
}
// If it is a custom event
} else if (evt.originalEvent !== void 0) {
if (evt.originalEvent.clientX !== void 0) {
evt.clientX = evt.originalEvent.clientX
evt.clientY = evt.originalEvent.clientY
}
}
}
}
/**
* Check if an event is a double click/tap
* TODO: For touch gestures use a library (hammer.js) that takes in account other events
* (touchmove and touchend). It should take in account tap duration and traveled distance
*
* @param {Event} evt
* @param {Event} prevEvt Previous Event
* @return {Boolean}
*/
, isDblClick: function(evt, prevEvt) {
// Double click detected by browser
if (evt.detail === 2) {
return true;
}
// Try to compare events
else if (prevEvt !== void 0 && prevEvt !== null) {
var timeStampDiff = evt.timeStamp - prevEvt.timeStamp // should be lower than 250 ms
, touchesDistance = Math.sqrt(Math.pow(evt.clientX - prevEvt.clientX, 2) + Math.pow(evt.clientY - prevEvt.clientY, 2))
return timeStampDiff < 250 && touchesDistance < 10
}
// Nothing found
return false;
}
/**
* Returns current timestamp as an integer
*
* @return {Number}
*/
, now: Date.now || function() {
return new Date().getTime();
}
// From underscore.
// Returns a function, that, when invoked, will only be triggered at most once
// during a given window of time. Normally, the throttled function will run
// as much as it can, without ever going more than once per `wait` duration;
// but if you'd like to disable the execution on the leading edge, pass
// `{leading: false}`. To disable execution on the trailing edge, ditto.
// jscs:disable
// jshint ignore:start
, throttle: function(func, wait, options) {
var that = this;
var context, args, result;
var timeout = null;
var previous = 0;
if (!options) options = {};
var later = function() {
previous = options.leading === false ? 0 : that.now();
timeout = null;
result = func.apply(context, args);
if (!timeout) context = args = null;
};
return function() {
var now = that.now();
if (!previous && options.leading === false) previous = now;
var remaining = wait - (now - previous);
context = this;
args = arguments;
if (remaining <= 0 || remaining > wait) {
clearTimeout(timeout);
timeout = null;
previous = now;
result = func.apply(context, args);
if (!timeout) context = args = null;
} else if (!timeout && options.trailing !== false) {
timeout = setTimeout(later, remaining);
}
return result;
};
}
// jshint ignore:end
// jscs:enable
/**
* Create a requestAnimationFrame simulation
*
* @param {Number|String} refreshRate
* @return {Function}
*/
, createRequestAnimationFrame: function(refreshRate) {
var timeout = null
// Convert refreshRate to timeout
if (refreshRate !== 'auto' && refreshRate < 60 && refreshRate > 1) {
timeout = Math.floor(1000 / refreshRate)
}
if (timeout === null) {
return window.requestAnimationFrame || requestTimeout(33)
} else {
return requestTimeout(timeout)
}
}
}
/**
* Create a callback that will execute after a given timeout
*
* @param {Function} timeout
* @return {Function}
*/
function requestTimeout(timeout) {
return function(callback) {
window.setTimeout(callback, timeout)
}
}
},{}]},{},[1]);
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.mermaid=e():t.mermaid=e()}("undefined"!=typeof self?self:this,function(){return function(n){var r={};function a(t){if(r[t])return r[t].exports;var e=r[t]={i:t,l:!1,exports:{}};return n[t].call(e.exports,e,e.exports,a),e.l=!0,e.exports}return a.m=n,a.c=r,a.d=function(t,e,n){a.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:n})},a.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return a.d(e,"a",e),e},a.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},a.p="",a(a.s=204)}([function(t,e,qn){(function(Wn){var t;t=function(){"use strict";var t,a;function h(){return t.apply(null,arguments)}function o(t){return t instanceof Array||"[object Array]"===Object.prototype.toString.call(t)}function u(t){return null!=t&&"[object Object]"===Object.prototype.toString.call(t)}function l(t){return void 0===t}function c(t){return"number"==typeof t||"[object Number]"===Object.prototype.toString.call(t)}function d(t){return t instanceof Date||"[object Date]"===Object.prototype.toString.call(t)}function f(t,e){var n,r=[];for(n=0;n<t.length;++n)r.push(e(t[n],n));return r}function _(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function p(t,e){for(var n in e)_(e,n)&&(t[n]=e[n]);return _(e,"toString")&&(t.toString=e.toString),_(e,"valueOf")&&(t.valueOf=e.valueOf),t}function m(t,e,n,r){return De(t,e,n,r,!0).utc()}function y(t){return null==t._pf&&(t._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],meridiem:null,rfc2822:!1,weekdayMismatch:!1}),t._pf}function g(t){if(null==t._isValid){var e=y(t),n=a.call(e.parsedDateParts,function(t){return null!=t}),r=!isNaN(t._d.getTime())&&e.overflow<0&&!e.empty&&!e.invalidMonth&&!e.invalidWeekday&&!e.weekdayMismatch&&!e.nullInput&&!e.invalidFormat&&!e.userInvalidated&&(!e.meridiem||e.meridiem&&n);if(t._strict&&(r=r&&0===e.charsLeftOver&&0===e.unusedTokens.length&&void 0===e.bigHour),null!=Object.isFrozen&&Object.isFrozen(t))return r;t._isValid=r}return t._isValid}function v(t){var e=m(NaN);return null!=t?p(y(e),t):y(e).userInvalidated=!0,e}a=Array.prototype.some?Array.prototype.some:function(t){for(var e=Object(this),n=e.length>>>0,r=0;r<n;r++)if(r in e&&t.call(this,e[r],r,e))return!0;return!1};var i=h.momentProperties=[];function M(t,e){var n,r,a;if(l(e._isAMomentObject)||(t._isAMomentObject=e._isAMomentObject),l(e._i)||(t._i=e._i),l(e._f)||(t._f=e._f),l(e._l)||(t._l=e._l),l(e._strict)||(t._strict=e._strict),l(e._tzm)||(t._tzm=e._tzm),l(e._isUTC)||(t._isUTC=e._isUTC),l(e._offset)||(t._offset=e._offset),l(e._pf)||(t._pf=y(e)),l(e._locale)||(t._locale=e._locale),0<i.length)for(n=0;n<i.length;n++)l(a=e[r=i[n]])||(t[r]=a);return t}var e=!1;function k(t){M(this,t),this._d=new Date(null!=t._d?t._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===e&&(e=!0,h.updateOffset(this),e=!1)}function b(t){return t instanceof k||null!=t&&null!=t._isAMomentObject}function L(t){return t<0?Math.ceil(t)||0:Math.floor(t)}function w(t){var e=+t,n=0;return 0!==e&&isFinite(e)&&(n=L(e)),n}function s(t,e,n){var r,a=Math.min(t.length,e.length),i=Math.abs(t.length-e.length),s=0;for(r=0;r<a;r++)(n&&t[r]!==e[r]||!n&&w(t[r])!==w(e[r]))&&s++;return s+i}function x(t){!1===h.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+t)}function n(a,i){var s=!0;return p(function(){if(null!=h.deprecationHandler&&h.deprecationHandler(null,a),s){for(var t,e=[],n=0;n<arguments.length;n++){if(t="","object"==typeof arguments[n]){for(var r in t+="\n["+n+"] ",arguments[0])t+=r+": "+arguments[0][r]+", ";t=t.slice(0,-2)}else t=arguments[n];e.push(t)}x(a+"\nArguments: "+Array.prototype.slice.call(e).join("")+"\n"+(new Error).stack),s=!1}return i.apply(this,arguments)},i)}var r,D={};function Y(t,e){null!=h.deprecationHandler&&h.deprecationHandler(t,e),D[t]||(x(e),D[t]=!0)}function T(t){return t instanceof Function||"[object Function]"===Object.prototype.toString.call(t)}function A(t,e){var n,r=p({},t);for(n in e)_(e,n)&&(u(t[n])&&u(e[n])?(r[n]={},p(r[n],t[n]),p(r[n],e[n])):null!=e[n]?r[n]=e[n]:delete r[n]);for(n in t)_(t,n)&&!_(e,n)&&u(t[n])&&(r[n]=p({},r[n]));return r}function S(t){null!=t&&this.set(t)}h.suppressDeprecationWarnings=!1,h.deprecationHandler=null,r=Object.keys?Object.keys:function(t){var e,n=[];for(e in t)_(t,e)&&n.push(e);return n};var E={};function j(t,e){var n=t.toLowerCase();E[n]=E[n+"s"]=E[e]=t}function C(t){return"string"==typeof t?E[t]||E[t.toLowerCase()]:void 0}function F(t){var e,n,r={};for(n in t)_(t,n)&&(e=C(n))&&(r[e]=t[n]);return r}var O={};function H(t,e){O[t]=e}function P(t,e,n){var r=""+Math.abs(t),a=e-r.length;return(0<=t?n?"+":"":"-")+Math.pow(10,Math.max(0,a)).toString().substr(1)+r}var B=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,N=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,I={},R={};function z(t,e,n,r){var a=r;"string"==typeof r&&(a=function(){return this[r]()}),t&&(R[t]=a),e&&(R[e[0]]=function(){return P(a.apply(this,arguments),e[1],e[2])}),n&&(R[n]=function(){return this.localeData().ordinal(a.apply(this,arguments),t)})}function W(t,e){return t.isValid()?(e=q(e,t.localeData()),I[e]=I[e]||function(r){var t,a,e,i=r.match(B);for(t=0,a=i.length;t<a;t++)R[i[t]]?i[t]=R[i[t]]:i[t]=(e=i[t]).match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"");return function(t){var e,n="";for(e=0;e<a;e++)n+=T(i[e])?i[e].call(t,r):i[e];return n}}(e),I[e](t)):t.localeData().invalidDate()}function q(t,e){var n=5;function r(t){return e.longDateFormat(t)||t}for(N.lastIndex=0;0<=n&&N.test(t);)t=t.replace(N,r),N.lastIndex=0,n-=1;return t}var U=/\d/,V=/\d\d/,$=/\d{3}/,G=/\d{4}/,J=/[+-]?\d{6}/,Z=/\d\d?/,K=/\d\d\d\d?/,X=/\d\d\d\d\d\d?/,Q=/\d{1,3}/,tt=/\d{1,4}/,et=/[+-]?\d{1,6}/,nt=/\d+/,rt=/[+-]?\d+/,at=/Z|[+-]\d\d:?\d\d/gi,it=/Z|[+-]\d\d(?::?\d\d)?/gi,st=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,ot={};function ut(t,n,r){ot[t]=T(n)?n:function(t,e){return t&&r?r:n}}function lt(t,e){return _(ot,t)?ot[t](e._strict,e._locale):new RegExp(ct(t.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(t,e,n,r,a){return e||n||r||a})))}function ct(t){return t.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var dt={};function ht(t,n){var e,r=n;for("string"==typeof t&&(t=[t]),c(n)&&(r=function(t,e){e[n]=w(t)}),e=0;e<t.length;e++)dt[t[e]]=r}function ft(t,a){ht(t,function(t,e,n,r){n._w=n._w||{},a(t,n._w,n,r)})}var _t=0,pt=1,mt=2,yt=3,gt=4,vt=5,Mt=6,kt=7,bt=8;function Lt(t){return wt(t)?366:365}function wt(t){return t%4==0&&t%100!=0||t%400==0}z("Y",0,0,function(){var t=this.year();return t<=9999?""+t:"+"+t}),z(0,["YY",2],0,function(){return this.year()%100}),z(0,["YYYY",4],0,"year"),z(0,["YYYYY",5],0,"year"),z(0,["YYYYYY",6,!0],0,"year"),j("year","y"),H("year",1),ut("Y",rt),ut("YY",Z,V),ut("YYYY",tt,G),ut("YYYYY",et,J),ut("YYYYYY",et,J),ht(["YYYYY","YYYYYY"],_t),ht("YYYY",function(t,e){e[_t]=2===t.length?h.parseTwoDigitYear(t):w(t)}),ht("YY",function(t,e){e[_t]=h.parseTwoDigitYear(t)}),ht("Y",function(t,e){e[_t]=parseInt(t,10)}),h.parseTwoDigitYear=function(t){return w(t)+(68<w(t)?1900:2e3)};var xt,Dt=Yt("FullYear",!0);function Yt(e,n){return function(t){return null!=t?(At(this,e,t),h.updateOffset(this,n),this):Tt(this,e)}}function Tt(t,e){return t.isValid()?t._d["get"+(t._isUTC?"UTC":"")+e]():NaN}function At(t,e,n){t.isValid()&&!isNaN(n)&&("FullYear"===e&&wt(t.year())&&1===t.month()&&29===t.date()?t._d["set"+(t._isUTC?"UTC":"")+e](n,t.month(),St(n,t.month())):t._d["set"+(t._isUTC?"UTC":"")+e](n))}function St(t,e){if(isNaN(t)||isNaN(e))return NaN;var n,r=(e%(n=12)+n)%n;return t+=(e-r)/12,1===r?wt(t)?29:28:31-r%7%2}xt=Array.prototype.indexOf?Array.prototype.indexOf:function(t){var e;for(e=0;e<this.length;++e)if(this[e]===t)return e;return-1},z("M",["MM",2],"Mo",function(){return this.month()+1}),z("MMM",0,0,function(t){return this.localeData().monthsShort(this,t)}),z("MMMM",0,0,function(t){return this.localeData().months(this,t)}),j("month","M"),H("month",8),ut("M",Z),ut("MM",Z,V),ut("MMM",function(t,e){return e.monthsShortRegex(t)}),ut("MMMM",function(t,e){return e.monthsRegex(t)}),ht(["M","MM"],function(t,e){e[pt]=w(t)-1}),ht(["MMM","MMMM"],function(t,e,n,r){var a=n._locale.monthsParse(t,r,n._strict);null!=a?e[pt]=a:y(n).invalidMonth=t});var Et=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,jt="January_February_March_April_May_June_July_August_September_October_November_December".split("_");var Ct="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_");function Ft(t,e){var n;if(!t.isValid())return t;if("string"==typeof e)if(/^\d+$/.test(e))e=w(e);else if(!c(e=t.localeData().monthsParse(e)))return t;return n=Math.min(t.date(),St(t.year(),e)),t._d["set"+(t._isUTC?"UTC":"")+"Month"](e,n),t}function Ot(t){return null!=t?(Ft(this,t),h.updateOffset(this,!0),this):Tt(this,"Month")}var Ht=st;var Pt=st;function Bt(){function t(t,e){return e.length-t.length}var e,n,r=[],a=[],i=[];for(e=0;e<12;e++)n=m([2e3,e]),r.push(this.monthsShort(n,"")),a.push(this.months(n,"")),i.push(this.months(n,"")),i.push(this.monthsShort(n,""));for(r.sort(t),a.sort(t),i.sort(t),e=0;e<12;e++)r[e]=ct(r[e]),a[e]=ct(a[e]);for(e=0;e<24;e++)i[e]=ct(i[e]);this._monthsRegex=new RegExp("^("+i.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+a.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+r.join("|")+")","i")}function Nt(t){var e=new Date(Date.UTC.apply(null,arguments));return t<100&&0<=t&&isFinite(e.getUTCFullYear())&&e.setUTCFullYear(t),e}function It(t,e,n){var r=7+e-n;return-((7+Nt(t,0,r).getUTCDay()-e)%7)+r-1}function Rt(t,e,n,r,a){var i,s,o=1+7*(e-1)+(7+n-r)%7+It(t,r,a);return o<=0?s=Lt(i=t-1)+o:o>Lt(t)?(i=t+1,s=o-Lt(t)):(i=t,s=o),{year:i,dayOfYear:s}}function zt(t,e,n){var r,a,i=It(t.year(),e,n),s=Math.floor((t.dayOfYear()-i-1)/7)+1;return s<1?r=s+Wt(a=t.year()-1,e,n):s>Wt(t.year(),e,n)?(r=s-Wt(t.year(),e,n),a=t.year()+1):(a=t.year(),r=s),{week:r,year:a}}function Wt(t,e,n){var r=It(t,e,n),a=It(t+1,e,n);return(Lt(t)-r+a)/7}z("w",["ww",2],"wo","week"),z("W",["WW",2],"Wo","isoWeek"),j("week","w"),j("isoWeek","W"),H("week",5),H("isoWeek",5),ut("w",Z),ut("ww",Z,V),ut("W",Z),ut("WW",Z,V),ft(["w","ww","W","WW"],function(t,e,n,r){e[r.substr(0,1)]=w(t)});z("d",0,"do","day"),z("dd",0,0,function(t){return this.localeData().weekdaysMin(this,t)}),z("ddd",0,0,function(t){return this.localeData().weekdaysShort(this,t)}),z("dddd",0,0,function(t){return this.localeData().weekdays(this,t)}),z("e",0,0,"weekday"),z("E",0,0,"isoWeekday"),j("day","d"),j("weekday","e"),j("isoWeekday","E"),H("day",11),H("weekday",11),H("isoWeekday",11),ut("d",Z),ut("e",Z),ut("E",Z),ut("dd",function(t,e){return e.weekdaysMinRegex(t)}),ut("ddd",function(t,e){return e.weekdaysShortRegex(t)}),ut("dddd",function(t,e){return e.weekdaysRegex(t)}),ft(["dd","ddd","dddd"],function(t,e,n,r){var a=n._locale.weekdaysParse(t,r,n._strict);null!=a?e.d=a:y(n).invalidWeekday=t}),ft(["d","e","E"],function(t,e,n,r){e[r]=w(t)});var qt="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_");var Ut="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_");var Vt="Su_Mo_Tu_We_Th_Fr_Sa".split("_");var $t=st;var Gt=st;var Jt=st;function Zt(){function t(t,e){return e.length-t.length}var e,n,r,a,i,s=[],o=[],u=[],l=[];for(e=0;e<7;e++)n=m([2e3,1]).day(e),r=this.weekdaysMin(n,""),a=this.weekdaysShort(n,""),i=this.weekdays(n,""),s.push(r),o.push(a),u.push(i),l.push(r),l.push(a),l.push(i);for(s.sort(t),o.sort(t),u.sort(t),l.sort(t),e=0;e<7;e++)o[e]=ct(o[e]),u[e]=ct(u[e]),l[e]=ct(l[e]);this._weekdaysRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+u.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+o.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+s.join("|")+")","i")}function Kt(){return this.hours()%12||12}function Xt(t,e){z(t,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),e)})}function Qt(t,e){return e._meridiemParse}z("H",["HH",2],0,"hour"),z("h",["hh",2],0,Kt),z("k",["kk",2],0,function(){return this.hours()||24}),z("hmm",0,0,function(){return""+Kt.apply(this)+P(this.minutes(),2)}),z("hmmss",0,0,function(){return""+Kt.apply(this)+P(this.minutes(),2)+P(this.seconds(),2)}),z("Hmm",0,0,function(){return""+this.hours()+P(this.minutes(),2)}),z("Hmmss",0,0,function(){return""+this.hours()+P(this.minutes(),2)+P(this.seconds(),2)}),Xt("a",!0),Xt("A",!1),j("hour","h"),H("hour",13),ut("a",Qt),ut("A",Qt),ut("H",Z),ut("h",Z),ut("k",Z),ut("HH",Z,V),ut("hh",Z,V),ut("kk",Z,V),ut("hmm",K),ut("hmmss",X),ut("Hmm",K),ut("Hmmss",X),ht(["H","HH"],yt),ht(["k","kk"],function(t,e,n){var r=w(t);e[yt]=24===r?0:r}),ht(["a","A"],function(t,e,n){n._isPm=n._locale.isPM(t),n._meridiem=t}),ht(["h","hh"],function(t,e,n){e[yt]=w(t),y(n).bigHour=!0}),ht("hmm",function(t,e,n){var r=t.length-2;e[yt]=w(t.substr(0,r)),e[gt]=w(t.substr(r)),y(n).bigHour=!0}),ht("hmmss",function(t,e,n){var r=t.length-4,a=t.length-2;e[yt]=w(t.substr(0,r)),e[gt]=w(t.substr(r,2)),e[vt]=w(t.substr(a)),y(n).bigHour=!0}),ht("Hmm",function(t,e,n){var r=t.length-2;e[yt]=w(t.substr(0,r)),e[gt]=w(t.substr(r))}),ht("Hmmss",function(t,e,n){var r=t.length-4,a=t.length-2;e[yt]=w(t.substr(0,r)),e[gt]=w(t.substr(r,2)),e[vt]=w(t.substr(a))});var te,ee=Yt("Hours",!0),ne={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:jt,monthsShort:Ct,week:{dow:0,doy:6},weekdays:qt,weekdaysMin:Vt,weekdaysShort:Ut,meridiemParse:/[ap]\.?m?\.?/i},re={},ae={};function ie(t){return t?t.toLowerCase().replace("_","-"):t}function se(t){var e=null;if(!re[t]&&void 0!==Wn&&Wn&&Wn.exports)try{e=te._abbr;qn(207)("./"+t),oe(e)}catch(t){}return re[t]}function oe(t,e){var n;return t&&(n=l(e)?le(t):ue(t,e))&&(te=n),te._abbr}function ue(t,e){if(null!==e){var n=ne;if(e.abbr=t,null!=re[t])Y("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),n=re[t]._config;else if(null!=e.parentLocale){if(null==re[e.parentLocale])return ae[e.parentLocale]||(ae[e.parentLocale]=[]),ae[e.parentLocale].push({name:t,config:e}),null;n=re[e.parentLocale]._config}return re[t]=new S(A(n,e)),ae[t]&&ae[t].forEach(function(t){ue(t.name,t.config)}),oe(t),re[t]}return delete re[t],null}function le(t){var e;if(t&&t._locale&&t._locale._abbr&&(t=t._locale._abbr),!t)return te;if(!o(t)){if(e=se(t))return e;t=[t]}return function(t){for(var e,n,r,a,i=0;i<t.length;){for(e=(a=ie(t[i]).split("-")).length,n=(n=ie(t[i+1]))?n.split("-"):null;0<e;){if(r=se(a.slice(0,e).join("-")))return r;if(n&&n.length>=e&&s(a,n,!0)>=e-1)break;e--}i++}return null}(t)}function ce(t){var e,n=t._a;return n&&-2===y(t).overflow&&(e=n[pt]<0||11<n[pt]?pt:n[mt]<1||n[mt]>St(n[_t],n[pt])?mt:n[yt]<0||24<n[yt]||24===n[yt]&&(0!==n[gt]||0!==n[vt]||0!==n[Mt])?yt:n[gt]<0||59<n[gt]?gt:n[vt]<0||59<n[vt]?vt:n[Mt]<0||999<n[Mt]?Mt:-1,y(t)._overflowDayOfYear&&(e<_t||mt<e)&&(e=mt),y(t)._overflowWeeks&&-1===e&&(e=kt),y(t)._overflowWeekday&&-1===e&&(e=bt),y(t).overflow=e),t}function de(t,e,n){return null!=t?t:null!=e?e:n}function he(t){var e,n,r,a,i,s=[];if(!t._d){var o,u;for(o=t,u=new Date(h.now()),r=o._useUTC?[u.getUTCFullYear(),u.getUTCMonth(),u.getUTCDate()]:[u.getFullYear(),u.getMonth(),u.getDate()],t._w&&null==t._a[mt]&&null==t._a[pt]&&function(t){var e,n,r,a,i,s,o,u;if(null!=(e=t._w).GG||null!=e.W||null!=e.E)i=1,s=4,n=de(e.GG,t._a[_t],zt(Ye(),1,4).year),r=de(e.W,1),((a=de(e.E,1))<1||7<a)&&(u=!0);else{i=t._locale._week.dow,s=t._locale._week.doy;var l=zt(Ye(),i,s);n=de(e.gg,t._a[_t],l.year),r=de(e.w,l.week),null!=e.d?((a=e.d)<0||6<a)&&(u=!0):null!=e.e?(a=e.e+i,(e.e<0||6<e.e)&&(u=!0)):a=i}r<1||r>Wt(n,i,s)?y(t)._overflowWeeks=!0:null!=u?y(t)._overflowWeekday=!0:(o=Rt(n,r,a,i,s),t._a[_t]=o.year,t._dayOfYear=o.dayOfYear)}(t),null!=t._dayOfYear&&(i=de(t._a[_t],r[_t]),(t._dayOfYear>Lt(i)||0===t._dayOfYear)&&(y(t)._overflowDayOfYear=!0),n=Nt(i,0,t._dayOfYear),t._a[pt]=n.getUTCMonth(),t._a[mt]=n.getUTCDate()),e=0;e<3&&null==t._a[e];++e)t._a[e]=s[e]=r[e];for(;e<7;e++)t._a[e]=s[e]=null==t._a[e]?2===e?1:0:t._a[e];24===t._a[yt]&&0===t._a[gt]&&0===t._a[vt]&&0===t._a[Mt]&&(t._nextDay=!0,t._a[yt]=0),t._d=(t._useUTC?Nt:function(t,e,n,r,a,i,s){var o=new Date(t,e,n,r,a,i,s);return t<100&&0<=t&&isFinite(o.getFullYear())&&o.setFullYear(t),o}).apply(null,s),a=t._useUTC?t._d.getUTCDay():t._d.getDay(),null!=t._tzm&&t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),t._nextDay&&(t._a[yt]=24),t._w&&void 0!==t._w.d&&t._w.d!==a&&(y(t).weekdayMismatch=!0)}}var fe=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,_e=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,pe=/Z|[+-]\d\d(?::?\d\d)?/,me=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/]],ye=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],ge=/^\/?Date\((\-?\d+)/i;function ve(t){var e,n,r,a,i,s,o=t._i,u=fe.exec(o)||_e.exec(o);if(u){for(y(t).iso=!0,e=0,n=me.length;e<n;e++)if(me[e][1].exec(u[1])){a=me[e][0],r=!1!==me[e][2];break}if(null==a)return void(t._isValid=!1);if(u[3]){for(e=0,n=ye.length;e<n;e++)if(ye[e][1].exec(u[3])){i=(u[2]||" ")+ye[e][0];break}if(null==i)return void(t._isValid=!1)}if(!r&&null!=i)return void(t._isValid=!1);if(u[4]){if(!pe.exec(u[4]))return void(t._isValid=!1);s="Z"}t._f=a+(i||"")+(s||""),we(t)}else t._isValid=!1}var Me=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/;function ke(t,e,n,r,a,i){var s=[function(t){var e=parseInt(t,10);{if(e<=49)return 2e3+e;if(e<=999)return 1900+e}return e}(t),Ct.indexOf(e),parseInt(n,10),parseInt(r,10),parseInt(a,10)];return i&&s.push(parseInt(i,10)),s}var be={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Le(t){var e,n,r,a=Me.exec(t._i.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim());if(a){var i=ke(a[4],a[3],a[2],a[5],a[6],a[7]);if(e=a[1],n=i,r=t,e&&Ut.indexOf(e)!==new Date(n[0],n[1],n[2]).getDay()&&(y(r).weekdayMismatch=!0,!(r._isValid=!1)))return;t._a=i,t._tzm=function(t,e,n){if(t)return be[t];if(e)return 0;var r=parseInt(n,10),a=r%100;return(r-a)/100*60+a}(a[8],a[9],a[10]),t._d=Nt.apply(null,t._a),t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),y(t).rfc2822=!0}else t._isValid=!1}function we(t){if(t._f!==h.ISO_8601)if(t._f!==h.RFC_2822){t._a=[],y(t).empty=!0;var e,n,r,a,i,s,o,u,l=""+t._i,c=l.length,d=0;for(r=q(t._f,t._locale).match(B)||[],e=0;e<r.length;e++)a=r[e],(n=(l.match(lt(a,t))||[])[0])&&(0<(i=l.substr(0,l.indexOf(n))).length&&y(t).unusedInput.push(i),l=l.slice(l.indexOf(n)+n.length),d+=n.length),R[a]?(n?y(t).empty=!1:y(t).unusedTokens.push(a),s=a,u=t,null!=(o=n)&&_(dt,s)&&dt[s](o,u._a,u,s)):t._strict&&!n&&y(t).unusedTokens.push(a);y(t).charsLeftOver=c-d,0<l.length&&y(t).unusedInput.push(l),t._a[yt]<=12&&!0===y(t).bigHour&&0<t._a[yt]&&(y(t).bigHour=void 0),y(t).parsedDateParts=t._a.slice(0),y(t).meridiem=t._meridiem,t._a[yt]=function(t,e,n){var r;if(null==n)return e;return null!=t.meridiemHour?t.meridiemHour(e,n):(null!=t.isPM&&((r=t.isPM(n))&&e<12&&(e+=12),r||12!==e||(e=0)),e)}(t._locale,t._a[yt],t._meridiem),he(t),ce(t)}else Le(t);else ve(t)}function xe(t){var e,n,r,a,i=t._i,s=t._f;return t._locale=t._locale||le(t._l),null===i||void 0===s&&""===i?v({nullInput:!0}):("string"==typeof i&&(t._i=i=t._locale.preparse(i)),b(i)?new k(ce(i)):(d(i)?t._d=i:o(s)?function(t){var e,n,r,a,i;if(0===t._f.length)return y(t).invalidFormat=!0,t._d=new Date(NaN);for(a=0;a<t._f.length;a++)i=0,e=M({},t),null!=t._useUTC&&(e._useUTC=t._useUTC),e._f=t._f[a],we(e),g(e)&&(i+=y(e).charsLeftOver,i+=10*y(e).unusedTokens.length,y(e).score=i,(null==r||i<r)&&(r=i,n=e));p(t,n||e)}(t):s?we(t):l(n=(e=t)._i)?e._d=new Date(h.now()):d(n)?e._d=new Date(n.valueOf()):"string"==typeof n?(r=e,null===(a=ge.exec(r._i))?(ve(r),!1===r._isValid&&(delete r._isValid,Le(r),!1===r._isValid&&(delete r._isValid,h.createFromInputFallback(r)))):r._d=new Date(+a[1])):o(n)?(e._a=f(n.slice(0),function(t){return parseInt(t,10)}),he(e)):u(n)?function(t){if(!t._d){var e=F(t._i);t._a=f([e.year,e.month,e.day||e.date,e.hour,e.minute,e.second,e.millisecond],function(t){return t&&parseInt(t,10)}),he(t)}}(e):c(n)?e._d=new Date(n):h.createFromInputFallback(e),g(t)||(t._d=null),t))}function De(t,e,n,r,a){var i,s={};return!0!==n&&!1!==n||(r=n,n=void 0),(u(t)&&function(t){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(t).length;var e;for(e in t)if(t.hasOwnProperty(e))return!1;return!0}(t)||o(t)&&0===t.length)&&(t=void 0),s._isAMomentObject=!0,s._useUTC=s._isUTC=a,s._l=n,s._i=t,s._f=e,s._strict=r,(i=new k(ce(xe(s))))._nextDay&&(i.add(1,"d"),i._nextDay=void 0),i}function Ye(t,e,n,r){return De(t,e,n,r,!1)}h.createFromInputFallback=n("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged and will be removed in an upcoming major release. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(t){t._d=new Date(t._i+(t._useUTC?" UTC":""))}),h.ISO_8601=function(){},h.RFC_2822=function(){};var Te=n("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var t=Ye.apply(null,arguments);return this.isValid()&&t.isValid()?t<this?this:t:v()}),Ae=n("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var t=Ye.apply(null,arguments);return this.isValid()&&t.isValid()?this<t?this:t:v()});function Se(t,e){var n,r;if(1===e.length&&o(e[0])&&(e=e[0]),!e.length)return Ye();for(n=e[0],r=1;r<e.length;++r)e[r].isValid()&&!e[r][t](n)||(n=e[r]);return n}var Ee=["year","quarter","month","week","day","hour","minute","second","millisecond"];function je(t){var e=F(t),n=e.year||0,r=e.quarter||0,a=e.month||0,i=e.week||0,s=e.day||0,o=e.hour||0,u=e.minute||0,l=e.second||0,c=e.millisecond||0;this._isValid=function(t){for(var e in t)if(-1===xt.call(Ee,e)||null!=t[e]&&isNaN(t[e]))return!1;for(var n=!1,r=0;r<Ee.length;++r)if(t[Ee[r]]){if(n)return!1;parseFloat(t[Ee[r]])!==w(t[Ee[r]])&&(n=!0)}return!0}(e),this._milliseconds=+c+1e3*l+6e4*u+1e3*o*60*60,this._days=+s+7*i,this._months=+a+3*r+12*n,this._data={},this._locale=le(),this._bubble()}function Ce(t){return t instanceof je}function Fe(t){return t<0?-1*Math.round(-1*t):Math.round(t)}function Oe(t,n){z(t,0,0,function(){var t=this.utcOffset(),e="+";return t<0&&(t=-t,e="-"),e+P(~~(t/60),2)+n+P(~~t%60,2)})}Oe("Z",":"),Oe("ZZ",""),ut("Z",it),ut("ZZ",it),ht(["Z","ZZ"],function(t,e,n){n._useUTC=!0,n._tzm=Pe(it,t)});var He=/([\+\-]|\d\d)/gi;function Pe(t,e){var n=(e||"").match(t);if(null===n)return null;var r=((n[n.length-1]||[])+"").match(He)||["-",0,0],a=60*r[1]+w(r[2]);return 0===a?0:"+"===r[0]?a:-a}function Be(t,e){var n,r;return e._isUTC?(n=e.clone(),r=(b(t)||d(t)?t.valueOf():Ye(t).valueOf())-n.valueOf(),n._d.setTime(n._d.valueOf()+r),h.updateOffset(n,!1),n):Ye(t).local()}function Ne(t){return 15*-Math.round(t._d.getTimezoneOffset()/15)}function Ie(){return!!this.isValid()&&(this._isUTC&&0===this._offset)}h.updateOffset=function(){};var Re=/^(\-|\+)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)(\.\d*)?)?$/,ze=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function We(t,e){var n,r,a,i=t,s=null;return Ce(t)?i={ms:t._milliseconds,d:t._days,M:t._months}:c(t)?(i={},e?i[e]=t:i.milliseconds=t):(s=Re.exec(t))?(n="-"===s[1]?-1:1,i={y:0,d:w(s[mt])*n,h:w(s[yt])*n,m:w(s[gt])*n,s:w(s[vt])*n,ms:w(Fe(1e3*s[Mt]))*n}):(s=ze.exec(t))?(n="-"===s[1]?-1:(s[1],1),i={y:qe(s[2],n),M:qe(s[3],n),w:qe(s[4],n),d:qe(s[5],n),h:qe(s[6],n),m:qe(s[7],n),s:qe(s[8],n)}):null==i?i={}:"object"==typeof i&&("from"in i||"to"in i)&&(a=function(t,e){var n;if(!t.isValid()||!e.isValid())return{milliseconds:0,months:0};e=Be(e,t),t.isBefore(e)?n=Ue(t,e):((n=Ue(e,t)).milliseconds=-n.milliseconds,n.months=-n.months);return n}(Ye(i.from),Ye(i.to)),(i={}).ms=a.milliseconds,i.M=a.months),r=new je(i),Ce(t)&&_(t,"_locale")&&(r._locale=t._locale),r}function qe(t,e){var n=t&&parseFloat(t.replace(",","."));return(isNaN(n)?0:n)*e}function Ue(t,e){var n={milliseconds:0,months:0};return n.months=e.month()-t.month()+12*(e.year()-t.year()),t.clone().add(n.months,"M").isAfter(e)&&--n.months,n.milliseconds=+e-+t.clone().add(n.months,"M"),n}function Ve(r,a){return function(t,e){var n;return null===e||isNaN(+e)||(Y(a,"moment()."+a+"(period, number) is deprecated. Please use moment()."+a+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),n=t,t=e,e=n),$e(this,We(t="string"==typeof t?+t:t,e),r),this}}function $e(t,e,n,r){var a=e._milliseconds,i=Fe(e._days),s=Fe(e._months);t.isValid()&&(r=null==r||r,s&&Ft(t,Tt(t,"Month")+s*n),i&&At(t,"Date",Tt(t,"Date")+i*n),a&&t._d.setTime(t._d.valueOf()+a*n),r&&h.updateOffset(t,i||s))}We.fn=je.prototype,We.invalid=function(){return We(NaN)};var Ge=Ve(1,"add"),Je=Ve(-1,"subtract");function Ze(t,e){var n=12*(e.year()-t.year())+(e.month()-t.month()),r=t.clone().add(n,"months");return-(n+(e-r<0?(e-r)/(r-t.clone().add(n-1,"months")):(e-r)/(t.clone().add(n+1,"months")-r)))||0}function Ke(t){var e;return void 0===t?this._locale._abbr:(null!=(e=le(t))&&(this._locale=e),this)}h.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",h.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var Xe=n("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(t){return void 0===t?this.localeData():this.locale(t)});function Qe(){return this._locale}function tn(t,e){z(0,[t,t.length],0,e)}function en(t,e,n,r,a){var i;return null==t?zt(this,r,a).year:((i=Wt(t,r,a))<e&&(e=i),function(t,e,n,r,a){var i=Rt(t,e,n,r,a),s=Nt(i.year,0,i.dayOfYear);return this.year(s.getUTCFullYear()),this.month(s.getUTCMonth()),this.date(s.getUTCDate()),this}.call(this,t,e,n,r,a))}z(0,["gg",2],0,function(){return this.weekYear()%100}),z(0,["GG",2],0,function(){return this.isoWeekYear()%100}),tn("gggg","weekYear"),tn("ggggg","weekYear"),tn("GGGG","isoWeekYear"),tn("GGGGG","isoWeekYear"),j("weekYear","gg"),j("isoWeekYear","GG"),H("weekYear",1),H("isoWeekYear",1),ut("G",rt),ut("g",rt),ut("GG",Z,V),ut("gg",Z,V),ut("GGGG",tt,G),ut("gggg",tt,G),ut("GGGGG",et,J),ut("ggggg",et,J),ft(["gggg","ggggg","GGGG","GGGGG"],function(t,e,n,r){e[r.substr(0,2)]=w(t)}),ft(["gg","GG"],function(t,e,n,r){e[r]=h.parseTwoDigitYear(t)}),z("Q",0,"Qo","quarter"),j("quarter","Q"),H("quarter",7),ut("Q",U),ht("Q",function(t,e){e[pt]=3*(w(t)-1)}),z("D",["DD",2],"Do","date"),j("date","D"),H("date",9),ut("D",Z),ut("DD",Z,V),ut("Do",function(t,e){return t?e._dayOfMonthOrdinalParse||e._ordinalParse:e._dayOfMonthOrdinalParseLenient}),ht(["D","DD"],mt),ht("Do",function(t,e){e[mt]=w(t.match(Z)[0])});var nn=Yt("Date",!0);z("DDD",["DDDD",3],"DDDo","dayOfYear"),j("dayOfYear","DDD"),H("dayOfYear",4),ut("DDD",Q),ut("DDDD",$),ht(["DDD","DDDD"],function(t,e,n){n._dayOfYear=w(t)}),z("m",["mm",2],0,"minute"),j("minute","m"),H("minute",14),ut("m",Z),ut("mm",Z,V),ht(["m","mm"],gt);var rn=Yt("Minutes",!1);z("s",["ss",2],0,"second"),j("second","s"),H("second",15),ut("s",Z),ut("ss",Z,V),ht(["s","ss"],vt);var an,sn=Yt("Seconds",!1);for(z("S",0,0,function(){return~~(this.millisecond()/100)}),z(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),z(0,["SSS",3],0,"millisecond"),z(0,["SSSS",4],0,function(){return 10*this.millisecond()}),z(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),z(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),z(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),z(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),z(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),j("millisecond","ms"),H("millisecond",16),ut("S",Q,U),ut("SS",Q,V),ut("SSS",Q,$),an="SSSS";an.length<=9;an+="S")ut(an,nt);function on(t,e){e[Mt]=w(1e3*("0."+t))}for(an="S";an.length<=9;an+="S")ht(an,on);var un=Yt("Milliseconds",!1);z("z",0,0,"zoneAbbr"),z("zz",0,0,"zoneName");var ln=k.prototype;function cn(t){return t}ln.add=Ge,ln.calendar=function(t,e){var n=t||Ye(),r=Be(n,this).startOf("day"),a=h.calendarFormat(this,r)||"sameElse",i=e&&(T(e[a])?e[a].call(this,n):e[a]);return this.format(i||this.localeData().calendar(a,this,Ye(n)))},ln.clone=function(){return new k(this)},ln.diff=function(t,e,n){var r,a,i;if(!this.isValid())return NaN;if(!(r=Be(t,this)).isValid())return NaN;switch(a=6e4*(r.utcOffset()-this.utcOffset()),e=C(e)){case"year":i=Ze(this,r)/12;break;case"month":i=Ze(this,r);break;case"quarter":i=Ze(this,r)/3;break;case"second":i=(this-r)/1e3;break;case"minute":i=(this-r)/6e4;break;case"hour":i=(this-r)/36e5;break;case"day":i=(this-r-a)/864e5;break;case"week":i=(this-r-a)/6048e5;break;default:i=this-r}return n?i:L(i)},ln.endOf=function(t){return void 0===(t=C(t))||"millisecond"===t?this:("date"===t&&(t="day"),this.startOf(t).add(1,"isoWeek"===t?"week":t).subtract(1,"ms"))},ln.format=function(t){t||(t=this.isUtc()?h.defaultFormatUtc:h.defaultFormat);var e=W(this,t);return this.localeData().postformat(e)},ln.from=function(t,e){return this.isValid()&&(b(t)&&t.isValid()||Ye(t).isValid())?We({to:this,from:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()},ln.fromNow=function(t){return this.from(Ye(),t)},ln.to=function(t,e){return this.isValid()&&(b(t)&&t.isValid()||Ye(t).isValid())?We({from:this,to:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()},ln.toNow=function(t){return this.to(Ye(),t)},ln.get=function(t){return T(this[t=C(t)])?this[t]():this},ln.invalidAt=function(){return y(this).overflow},ln.isAfter=function(t,e){var n=b(t)?t:Ye(t);return!(!this.isValid()||!n.isValid())&&("millisecond"===(e=C(l(e)?"millisecond":e))?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(e).valueOf())},ln.isBefore=function(t,e){var n=b(t)?t:Ye(t);return!(!this.isValid()||!n.isValid())&&("millisecond"===(e=C(l(e)?"millisecond":e))?this.valueOf()<n.valueOf():this.clone().endOf(e).valueOf()<n.valueOf())},ln.isBetween=function(t,e,n,r){return("("===(r=r||"()")[0]?this.isAfter(t,n):!this.isBefore(t,n))&&(")"===r[1]?this.isBefore(e,n):!this.isAfter(e,n))},ln.isSame=function(t,e){var n,r=b(t)?t:Ye(t);return!(!this.isValid()||!r.isValid())&&("millisecond"===(e=C(e||"millisecond"))?this.valueOf()===r.valueOf():(n=r.valueOf(),this.clone().startOf(e).valueOf()<=n&&n<=this.clone().endOf(e).valueOf()))},ln.isSameOrAfter=function(t,e){return this.isSame(t,e)||this.isAfter(t,e)},ln.isSameOrBefore=function(t,e){return this.isSame(t,e)||this.isBefore(t,e)},ln.isValid=function(){return g(this)},ln.lang=Xe,ln.locale=Ke,ln.localeData=Qe,ln.max=Ae,ln.min=Te,ln.parsingFlags=function(){return p({},y(this))},ln.set=function(t,e){if("object"==typeof t)for(var n=function(t){var e=[];for(var n in t)e.push({unit:n,priority:O[n]});return e.sort(function(t,e){return t.priority-e.priority}),e}(t=F(t)),r=0;r<n.length;r++)this[n[r].unit](t[n[r].unit]);else if(T(this[t=C(t)]))return this[t](e);return this},ln.startOf=function(t){switch(t=C(t)){case"year":this.month(0);case"quarter":case"month":this.date(1);case"week":case"isoWeek":case"day":case"date":this.hours(0);case"hour":this.minutes(0);case"minute":this.seconds(0);case"second":this.milliseconds(0)}return"week"===t&&this.weekday(0),"isoWeek"===t&&this.isoWeekday(1),"quarter"===t&&this.month(3*Math.floor(this.month()/3)),this},ln.subtract=Je,ln.toArray=function(){var t=this;return[t.year(),t.month(),t.date(),t.hour(),t.minute(),t.second(),t.millisecond()]},ln.toObject=function(){var t=this;return{years:t.year(),months:t.month(),date:t.date(),hours:t.hours(),minutes:t.minutes(),seconds:t.seconds(),milliseconds:t.milliseconds()}},ln.toDate=function(){return new Date(this.valueOf())},ln.toISOString=function(t){if(!this.isValid())return null;var e=!0!==t,n=e?this.clone().utc():this;return n.year()<0||9999<n.year()?W(n,e?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):T(Date.prototype.toISOString)?e?this.toDate().toISOString():new Date(this._d.valueOf()).toISOString().replace("Z",W(n,"Z")):W(n,e?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},ln.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var t="moment",e="";this.isLocal()||(t=0===this.utcOffset()?"moment.utc":"moment.parseZone",e="Z");var n="["+t+'("]',r=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",a=e+'[")]';return this.format(n+r+"-MM-DD[T]HH:mm:ss.SSS"+a)},ln.toJSON=function(){return this.isValid()?this.toISOString():null},ln.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},ln.unix=function(){return Math.floor(this.valueOf()/1e3)},ln.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},ln.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},ln.year=Dt,ln.isLeapYear=function(){return wt(this.year())},ln.weekYear=function(t){return en.call(this,t,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},ln.isoWeekYear=function(t){return en.call(this,t,this.isoWeek(),this.isoWeekday(),1,4)},ln.quarter=ln.quarters=function(t){return null==t?Math.ceil((this.month()+1)/3):this.month(3*(t-1)+this.month()%3)},ln.month=Ot,ln.daysInMonth=function(){return St(this.year(),this.month())},ln.week=ln.weeks=function(t){var e=this.localeData().week(this);return null==t?e:this.add(7*(t-e),"d")},ln.isoWeek=ln.isoWeeks=function(t){var e=zt(this,1,4).week;return null==t?e:this.add(7*(t-e),"d")},ln.weeksInYear=function(){var t=this.localeData()._week;return Wt(this.year(),t.dow,t.doy)},ln.isoWeeksInYear=function(){return Wt(this.year(),1,4)},ln.date=nn,ln.day=ln.days=function(t){if(!this.isValid())return null!=t?this:NaN;var e,n,r=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=t?(e=t,n=this.localeData(),t="string"!=typeof e?e:isNaN(e)?"number"==typeof(e=n.weekdaysParse(e))?e:null:parseInt(e,10),this.add(t-r,"d")):r},ln.weekday=function(t){if(!this.isValid())return null!=t?this:NaN;var e=(this.day()+7-this.localeData()._week.dow)%7;return null==t?e:this.add(t-e,"d")},ln.isoWeekday=function(t){if(!this.isValid())return null!=t?this:NaN;if(null!=t){var e=(n=t,r=this.localeData(),"string"==typeof n?r.weekdaysParse(n)%7||7:isNaN(n)?null:n);return this.day(this.day()%7?e:e-7)}return this.day()||7;var n,r},ln.dayOfYear=function(t){var e=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==t?e:this.add(t-e,"d")},ln.hour=ln.hours=ee,ln.minute=ln.minutes=rn,ln.second=ln.seconds=sn,ln.millisecond=ln.milliseconds=un,ln.utcOffset=function(t,e,n){var r,a=this._offset||0;if(!this.isValid())return null!=t?this:NaN;if(null!=t){if("string"==typeof t){if(null===(t=Pe(it,t)))return this}else Math.abs(t)<16&&!n&&(t*=60);return!this._isUTC&&e&&(r=Ne(this)),this._offset=t,this._isUTC=!0,null!=r&&this.add(r,"m"),a!==t&&(!e||this._changeInProgress?$e(this,We(t-a,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,h.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?a:Ne(this)},ln.utc=function(t){return this.utcOffset(0,t)},ln.local=function(t){return this._isUTC&&(this.utcOffset(0,t),this._isUTC=!1,t&&this.subtract(Ne(this),"m")),this},ln.parseZone=function(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var t=Pe(at,this._i);null!=t?this.utcOffset(t):this.utcOffset(0,!0)}return this},ln.hasAlignedHourOffset=function(t){return!!this.isValid()&&(t=t?Ye(t).utcOffset():0,(this.utcOffset()-t)%60==0)},ln.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},ln.isLocal=function(){return!!this.isValid()&&!this._isUTC},ln.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},ln.isUtc=Ie,ln.isUTC=Ie,ln.zoneAbbr=function(){return this._isUTC?"UTC":""},ln.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},ln.dates=n("dates accessor is deprecated. Use date instead.",nn),ln.months=n("months accessor is deprecated. Use month instead",Ot),ln.years=n("years accessor is deprecated. Use year instead",Dt),ln.zone=n("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function(t,e){return null!=t?("string"!=typeof t&&(t=-t),this.utcOffset(t,e),this):-this.utcOffset()}),ln.isDSTShifted=n("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function(){if(!l(this._isDSTShifted))return this._isDSTShifted;var t={};if(M(t,this),(t=xe(t))._a){var e=t._isUTC?m(t._a):Ye(t._a);this._isDSTShifted=this.isValid()&&0<s(t._a,e.toArray())}else this._isDSTShifted=!1;return this._isDSTShifted});var dn=S.prototype;function hn(t,e,n,r){var a=le(),i=m().set(r,e);return a[n](i,t)}function fn(t,e,n){if(c(t)&&(e=t,t=void 0),t=t||"",null!=e)return hn(t,e,n,"month");var r,a=[];for(r=0;r<12;r++)a[r]=hn(t,r,n,"month");return a}function _n(t,e,n,r){"boolean"==typeof t?c(e)&&(n=e,e=void 0):(e=t,t=!1,c(n=e)&&(n=e,e=void 0)),e=e||"";var a,i=le(),s=t?i._week.dow:0;if(null!=n)return hn(e,(n+s)%7,r,"day");var o=[];for(a=0;a<7;a++)o[a]=hn(e,(a+s)%7,r,"day");return o}dn.calendar=function(t,e,n){var r=this._calendar[t]||this._calendar.sameElse;return T(r)?r.call(e,n):r},dn.longDateFormat=function(t){var e=this._longDateFormat[t],n=this._longDateFormat[t.toUpperCase()];return e||!n?e:(this._longDateFormat[t]=n.replace(/MMMM|MM|DD|dddd/g,function(t){return t.slice(1)}),this._longDateFormat[t])},dn.invalidDate=function(){return this._invalidDate},dn.ordinal=function(t){return this._ordinal.replace("%d",t)},dn.preparse=cn,dn.postformat=cn,dn.relativeTime=function(t,e,n,r){var a=this._relativeTime[n];return T(a)?a(t,e,n,r):a.replace(/%d/i,t)},dn.pastFuture=function(t,e){var n=this._relativeTime[0<t?"future":"past"];return T(n)?n(e):n.replace(/%s/i,e)},dn.set=function(t){var e,n;for(n in t)T(e=t[n])?this[n]=e:this["_"+n]=e;this._config=t,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},dn.months=function(t,e){return t?o(this._months)?this._months[t.month()]:this._months[(this._months.isFormat||Et).test(e)?"format":"standalone"][t.month()]:o(this._months)?this._months:this._months.standalone},dn.monthsShort=function(t,e){return t?o(this._monthsShort)?this._monthsShort[t.month()]:this._monthsShort[Et.test(e)?"format":"standalone"][t.month()]:o(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},dn.monthsParse=function(t,e,n){var r,a,i;if(this._monthsParseExact)return function(t,e,n){var r,a,i,s=t.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],r=0;r<12;++r)i=m([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(i,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(i,"").toLocaleLowerCase();return n?"MMM"===e?-1!==(a=xt.call(this._shortMonthsParse,s))?a:null:-1!==(a=xt.call(this._longMonthsParse,s))?a:null:"MMM"===e?-1!==(a=xt.call(this._shortMonthsParse,s))?a:-1!==(a=xt.call(this._longMonthsParse,s))?a:null:-1!==(a=xt.call(this._longMonthsParse,s))?a:-1!==(a=xt.call(this._shortMonthsParse,s))?a:null}.call(this,t,e,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++){if(a=m([2e3,r]),n&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp("^"+this.months(a,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=new RegExp("^"+this.monthsShort(a,"").replace(".","")+"$","i")),n||this._monthsParse[r]||(i="^"+this.months(a,"")+"|^"+this.monthsShort(a,""),this._monthsParse[r]=new RegExp(i.replace(".",""),"i")),n&&"MMMM"===e&&this._longMonthsParse[r].test(t))return r;if(n&&"MMM"===e&&this._shortMonthsParse[r].test(t))return r;if(!n&&this._monthsParse[r].test(t))return r}},dn.monthsRegex=function(t){return this._monthsParseExact?(_(this,"_monthsRegex")||Bt.call(this),t?this._monthsStrictRegex:this._monthsRegex):(_(this,"_monthsRegex")||(this._monthsRegex=Pt),this._monthsStrictRegex&&t?this._monthsStrictRegex:this._monthsRegex)},dn.monthsShortRegex=function(t){return this._monthsParseExact?(_(this,"_monthsRegex")||Bt.call(this),t?this._monthsShortStrictRegex:this._monthsShortRegex):(_(this,"_monthsShortRegex")||(this._monthsShortRegex=Ht),this._monthsShortStrictRegex&&t?this._monthsShortStrictRegex:this._monthsShortRegex)},dn.week=function(t){return zt(t,this._week.dow,this._week.doy).week},dn.firstDayOfYear=function(){return this._week.doy},dn.firstDayOfWeek=function(){return this._week.dow},dn.weekdays=function(t,e){return t?o(this._weekdays)?this._weekdays[t.day()]:this._weekdays[this._weekdays.isFormat.test(e)?"format":"standalone"][t.day()]:o(this._weekdays)?this._weekdays:this._weekdays.standalone},dn.weekdaysMin=function(t){return t?this._weekdaysMin[t.day()]:this._weekdaysMin},dn.weekdaysShort=function(t){return t?this._weekdaysShort[t.day()]:this._weekdaysShort},dn.weekdaysParse=function(t,e,n){var r,a,i;if(this._weekdaysParseExact)return function(t,e,n){var r,a,i,s=t.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)i=m([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(i,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(i,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(i,"").toLocaleLowerCase();return n?"dddd"===e?-1!==(a=xt.call(this._weekdaysParse,s))?a:null:"ddd"===e?-1!==(a=xt.call(this._shortWeekdaysParse,s))?a:null:-1!==(a=xt.call(this._minWeekdaysParse,s))?a:null:"dddd"===e?-1!==(a=xt.call(this._weekdaysParse,s))?a:-1!==(a=xt.call(this._shortWeekdaysParse,s))?a:-1!==(a=xt.call(this._minWeekdaysParse,s))?a:null:"ddd"===e?-1!==(a=xt.call(this._shortWeekdaysParse,s))?a:-1!==(a=xt.call(this._weekdaysParse,s))?a:-1!==(a=xt.call(this._minWeekdaysParse,s))?a:null:-1!==(a=xt.call(this._minWeekdaysParse,s))?a:-1!==(a=xt.call(this._weekdaysParse,s))?a:-1!==(a=xt.call(this._shortWeekdaysParse,s))?a:null}.call(this,t,e,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(a=m([2e3,1]).day(r),n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(a,"").replace(".",".?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(a,"").replace(".",".?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(a,"").replace(".",".?")+"$","i")),this._weekdaysParse[r]||(i="^"+this.weekdays(a,"")+"|^"+this.weekdaysShort(a,"")+"|^"+this.weekdaysMin(a,""),this._weekdaysParse[r]=new RegExp(i.replace(".",""),"i")),n&&"dddd"===e&&this._fullWeekdaysParse[r].test(t))return r;if(n&&"ddd"===e&&this._shortWeekdaysParse[r].test(t))return r;if(n&&"dd"===e&&this._minWeekdaysParse[r].test(t))return r;if(!n&&this._weekdaysParse[r].test(t))return r}},dn.weekdaysRegex=function(t){return this._weekdaysParseExact?(_(this,"_weekdaysRegex")||Zt.call(this),t?this._weekdaysStrictRegex:this._weekdaysRegex):(_(this,"_weekdaysRegex")||(this._weekdaysRegex=$t),this._weekdaysStrictRegex&&t?this._weekdaysStrictRegex:this._weekdaysRegex)},dn.weekdaysShortRegex=function(t){return this._weekdaysParseExact?(_(this,"_weekdaysRegex")||Zt.call(this),t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(_(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Gt),this._weekdaysShortStrictRegex&&t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},dn.weekdaysMinRegex=function(t){return this._weekdaysParseExact?(_(this,"_weekdaysRegex")||Zt.call(this),t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(_(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Jt),this._weekdaysMinStrictRegex&&t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},dn.isPM=function(t){return"p"===(t+"").toLowerCase().charAt(0)},dn.meridiem=function(t,e,n){return 11<t?n?"pm":"PM":n?"am":"AM"},oe("en",{dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(t){var e=t%10;return t+(1===w(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")}}),h.lang=n("moment.lang is deprecated. Use moment.locale instead.",oe),h.langData=n("moment.langData is deprecated. Use moment.localeData instead.",le);var pn=Math.abs;function mn(t,e,n,r){var a=We(e,n);return t._milliseconds+=r*a._milliseconds,t._days+=r*a._days,t._months+=r*a._months,t._bubble()}function yn(t){return t<0?Math.floor(t):Math.ceil(t)}function gn(t){return 4800*t/146097}function vn(t){return 146097*t/4800}function Mn(t){return function(){return this.as(t)}}var kn=Mn("ms"),bn=Mn("s"),Ln=Mn("m"),wn=Mn("h"),xn=Mn("d"),Dn=Mn("w"),Yn=Mn("M"),Tn=Mn("y");function An(t){return function(){return this.isValid()?this._data[t]:NaN}}var Sn=An("milliseconds"),En=An("seconds"),jn=An("minutes"),Cn=An("hours"),Fn=An("days"),On=An("months"),Hn=An("years");var Pn=Math.round,Bn={ss:44,s:45,m:45,h:22,d:26,M:11};var Nn=Math.abs;function In(t){return(0<t)-(t<0)||+t}function Rn(){if(!this.isValid())return this.localeData().invalidDate();var t,e,n=Nn(this._milliseconds)/1e3,r=Nn(this._days),a=Nn(this._months);e=L((t=L(n/60))/60),n%=60,t%=60;var i=L(a/12),s=a%=12,o=r,u=e,l=t,c=n?n.toFixed(3).replace(/\.?0+$/,""):"",d=this.asSeconds();if(!d)return"P0D";var h=d<0?"-":"",f=In(this._months)!==In(d)?"-":"",_=In(this._days)!==In(d)?"-":"",p=In(this._milliseconds)!==In(d)?"-":"";return h+"P"+(i?f+i+"Y":"")+(s?f+s+"M":"")+(o?_+o+"D":"")+(u||l||c?"T":"")+(u?p+u+"H":"")+(l?p+l+"M":"")+(c?p+c+"S":"")}var zn=je.prototype;return zn.isValid=function(){return this._isValid},zn.abs=function(){var t=this._data;return this._milliseconds=pn(this._milliseconds),this._days=pn(this._days),this._months=pn(this._months),t.milliseconds=pn(t.milliseconds),t.seconds=pn(t.seconds),t.minutes=pn(t.minutes),t.hours=pn(t.hours),t.months=pn(t.months),t.years=pn(t.years),this},zn.add=function(t,e){return mn(this,t,e,1)},zn.subtract=function(t,e){return mn(this,t,e,-1)},zn.as=function(t){if(!this.isValid())return NaN;var e,n,r=this._milliseconds;if("month"===(t=C(t))||"year"===t)return e=this._days+r/864e5,n=this._months+gn(e),"month"===t?n:n/12;switch(e=this._days+Math.round(vn(this._months)),t){case"week":return e/7+r/6048e5;case"day":return e+r/864e5;case"hour":return 24*e+r/36e5;case"minute":return 1440*e+r/6e4;case"second":return 86400*e+r/1e3;case"millisecond":return Math.floor(864e5*e)+r;default:throw new Error("Unknown unit "+t)}},zn.asMilliseconds=kn,zn.asSeconds=bn,zn.asMinutes=Ln,zn.asHours=wn,zn.asDays=xn,zn.asWeeks=Dn,zn.asMonths=Yn,zn.asYears=Tn,zn.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*w(this._months/12):NaN},zn._bubble=function(){var t,e,n,r,a,i=this._milliseconds,s=this._days,o=this._months,u=this._data;return 0<=i&&0<=s&&0<=o||i<=0&&s<=0&&o<=0||(i+=864e5*yn(vn(o)+s),o=s=0),u.milliseconds=i%1e3,t=L(i/1e3),u.seconds=t%60,e=L(t/60),u.minutes=e%60,n=L(e/60),u.hours=n%24,o+=a=L(gn(s+=L(n/24))),s-=yn(vn(a)),r=L(o/12),o%=12,u.days=s,u.months=o,u.years=r,this},zn.clone=function(){return We(this)},zn.get=function(t){return t=C(t),this.isValid()?this[t+"s"]():NaN},zn.milliseconds=Sn,zn.seconds=En,zn.minutes=jn,zn.hours=Cn,zn.days=Fn,zn.weeks=function(){return L(this.days()/7)},zn.months=On,zn.years=Hn,zn.humanize=function(t){if(!this.isValid())return this.localeData().invalidDate();var e,n,r,a,i,s,o,u,l,c,d,h=this.localeData(),f=(n=!t,r=h,a=We(e=this).abs(),i=Pn(a.as("s")),s=Pn(a.as("m")),o=Pn(a.as("h")),u=Pn(a.as("d")),l=Pn(a.as("M")),c=Pn(a.as("y")),(d=i<=Bn.ss&&["s",i]||i<Bn.s&&["ss",i]||s<=1&&["m"]||s<Bn.m&&["mm",s]||o<=1&&["h"]||o<Bn.h&&["hh",o]||u<=1&&["d"]||u<Bn.d&&["dd",u]||l<=1&&["M"]||l<Bn.M&&["MM",l]||c<=1&&["y"]||["yy",c])[2]=n,d[3]=0<+e,d[4]=r,function(t,e,n,r,a){return a.relativeTime(e||1,!!n,t,r)}.apply(null,d));return t&&(f=h.pastFuture(+this,f)),h.postformat(f)},zn.toISOString=Rn,zn.toString=Rn,zn.toJSON=Rn,zn.locale=Ke,zn.localeData=Qe,zn.toIsoString=n("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Rn),zn.lang=Xe,z("X",0,0,"unix"),z("x",0,0,"valueOf"),ut("x",rt),ut("X",/[+-]?\d+(\.\d{1,3})?/),ht("X",function(t,e,n){n._d=new Date(1e3*parseFloat(t,10))}),ht("x",function(t,e,n){n._d=new Date(w(t))}),h.version="2.20.1",t=Ye,h.fn=ln,h.min=function(){return Se("isBefore",[].slice.call(arguments,0))},h.max=function(){return Se("isAfter",[].slice.call(arguments,0))},h.now=function(){return Date.now?Date.now():+new Date},h.utc=m,h.unix=function(t){return Ye(1e3*t)},h.months=function(t,e){return fn(t,e,"months")},h.isDate=d,h.locale=oe,h.invalid=v,h.duration=We,h.isMoment=b,h.weekdays=function(t,e,n){return _n(t,e,n,"weekdays")},h.parseZone=function(){return Ye.apply(null,arguments).parseZone()},h.localeData=le,h.isDuration=Ce,h.monthsShort=function(t,e){return fn(t,e,"monthsShort")},h.weekdaysMin=function(t,e,n){return _n(t,e,n,"weekdaysMin")},h.defineLocale=ue,h.updateLocale=function(t,e){if(null!=e){var n,r,a=ne;null!=(r=se(t))&&(a=r._config),(n=new S(e=A(a,e))).parentLocale=re[t],re[t]=n,oe(t)}else null!=re[t]&&(null!=re[t].parentLocale?re[t]=re[t].parentLocale:null!=re[t]&&delete re[t]);return re[t]},h.locales=function(){return r(re)},h.weekdaysShort=function(t,e,n){return _n(t,e,n,"weekdaysShort")},h.normalizeUnits=C,h.relativeTimeRounding=function(t){return void 0===t?Pn:"function"==typeof t&&(Pn=t,!0)},h.relativeTimeThreshold=function(t,e){return void 0!==Bn[t]&&(void 0===e?Bn[t]:(Bn[t]=e,"s"===t&&(Bn.ss=e-1),!0))},h.calendarFormat=function(t,e){var n=t.diff(e,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"},h.prototype=ln,h.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"YYYY-[W]WW",MONTH:"YYYY-MM"},h},Wn.exports=t()}).call(e,qn(3)(t))},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.setLogLevel=e.logger=e.LEVELS=void 0;var r,a=n(0),i=(r=a)&&r.__esModule?r:{default:r};var s=e.LEVELS={debug:1,info:2,warn:3,error:4,fatal:5},o=e.logger={debug:function(){},info:function(){},warn:function(){},error:function(){},fatal:function(){}},u=(e.setLogLevel=function(t){o.debug=function(){},o.info=function(){},o.warn=function(){},o.error=function(){},o.fatal=function(){},t<=s.fatal&&(o.fatal=console.log.bind(console,"",u("FATAL"))),t<=s.error&&(o.error=console.log.bind(console,"",u("ERROR"))),t<=s.warn&&(o.warn=console.log.bind(console,"",u("WARN"))),t<=s.info&&(o.info=console.log.bind(console,"",u("INFO"))),t<=s.debug&&(o.debug=console.log.bind(console,"",u("DEBUG")))},function(t){return(0,i.default)().format("HH:mm:ss.SSS")+" : "+t+" : "})},function(t,e){var n=Array.isArray;t.exports=n},function(t,e){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),t.webpackPolyfill=1),t}},function(t,e,n){var r;try{r=n(19)}catch(t){}r||(r=window._),t.exports=r},function(t,e,n){var r=n(181),a="object"==typeof self&&self&&self.Object===Object&&self,i=r||a||Function("return this")();t.exports=i},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r,c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},a=n(159),S=(r=a)&&r.__esModule?r:{default:r};!function(){var l=!1;if(l="tspans",S.default.selection.prototype.textwrap)return;void 0===l&&(l=!1),S.default.selection.prototype.textwrap=S.default.selection.enter.prototype.textwrap=function(Y,T){T=parseInt(T)||0;var A,t,e,n,r=this,a=((t=Y).attr||(t.attr=function(t){if(this[t])return this[t]}),"object"===(void 0===t?"undefined":c(t))&&void 0!==t.x&&void 0!==t.y&&void 0!==t.width&&void 0!==t.height?t:!!("function"==typeof Array.isArray&&Array.isArray(t)||"[object Array]"===Object.prototype.toString.call(t))&&function(t){var e=t[0][0];if("rect"!==e.tagName.toString())return!1;var n={};return n.x=S.default.select(e).attr("x")||0,n.y=S.default.select(e).attr("y")||0,n.width=S.default.select(e).attr("width")||0,n.height=S.default.select(e).attr("height")||0,n.attr=t.attr,n}(t));if(T&&(n=a,0!==(e=T)&&(n.x=parseInt(n.x)+e,n.y=parseInt(n.y)+e,n.width-=2*e,n.height-=2*e),a=n),0!==r.length&&S.default&&Y&&a){Y=a;var i,s=function(t){var e=S.default.select(t[0].parentNode),n=e.select("text"),r=n.style("line-height"),a=n.text();n.remove();var i=e.append("foreignObject");i.attr("requiredFeatures","http://www.w3.org/TR/SVG11/feature#Extensibility").attr("x",Y.x).attr("y",Y.y).attr("width",Y.width).attr("height",Y.height);var s=i.append("xhtml:div").attr("class","wrapped");s.style("height",Y.height).style("width",Y.width).html(a),r&&s.style("line-height",r),A=e.select("foreignObject")},o=function(t){var e,n=t[0],r=n.parentNode,a=S.default.select(n),i=n.getBBox().height,s=n.getBBox().width,o=i,u=a.style("line-height");if(e=u&&parseInt(u)?parseInt(u.replace("px","")):o,s>Y.width){var l=a.text();if(a.text(""),l){var c,d;if(-1!==l.indexOf(" "))c=" ",d=l.split(" ");else{c="";var h,f,_=l.length,p=Math.ceil(s/Y.width),m=Math.floor(_/p);_<=m*p||p++,d=[];for(var y=0;y<p;y++)f=y*m,h=l.substr(f,m),d.push(h)}var g,v=[],M=0,k={};for(y=0;y<d.length;y++){var b,L=d[y],w=a.text(),x=n.getComputedTextLength();b=w?w+c+L:L,a.text(b);var D=n.getComputedTextLength();if(D>Y.width&&w&&""!==w&&(k={string:w,width:x,offset:M+=x},v.push(k),a.text(""),a.text(L),y===d.length-1&&(b=L,a.text(b),D=n.getComputedTextLength())),y===d.length-1){a.text("");b&&""!==b&&(0<D-M&&(D-=M),k={string:b,width:D,offset:M},v.push(k))}}for(a.text(""),y=0;y<v.length;y++)h=v[y].string,y*e<Y.height-1.5*e&&((g=a.append("tspan").text(h)).attr("dy",function(t){if(0<y)return e}),g.attr("x",function(){var t=Y.x;return T&&(t+=T),t}))}}a.attr("y",function(){var t=Y.y;return e&&(t+=e),T&&(t+=T),t}),a.attr("x",function(){var t=Y.x;return T&&(t+=T),t}),A=S.default.select(r).selectAll("text")};l&&("foreignobjects"===l?i=s:"tspans"===l&&(i=o)),l||(i="undefined"!=typeof SVGForeignObjectElement?s:o);for(var u=0;u<r.length;u++){i(r[u])}return A}return r||!1}}(),e.default=S.default},function(t,e){var n,r,a=t.exports={};function i(){throw new Error("setTimeout has not been defined")}function s(){throw new Error("clearTimeout has not been defined")}function o(e){if(n===setTimeout)return setTimeout(e,0);if((n===i||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:i}catch(t){n=i}try{r="function"==typeof clearTimeout?clearTimeout:s}catch(t){r=s}}();var u,l=[],c=!1,d=-1;function h(){c&&u&&(c=!1,u.length?l=u.concat(l):d=-1,l.length&&f())}function f(){if(!c){var t=o(h);c=!0;for(var e=l.length;e;){for(u=l,l=[];++d<e;)u&&u[d].run();d=-1,e=l.length}u=null,c=!1,function(e){if(r===clearTimeout)return clearTimeout(e);if((r===s||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{r(e)}catch(t){try{return r.call(null,e)}catch(t){return r.call(this,e)}}}(t)}}function _(t,e){this.fun=t,this.array=e}function p(){}a.nextTick=function(t){var e=new Array(arguments.length-1);if(1<arguments.length)for(var n=1;n<arguments.length;n++)e[n-1]=arguments[n];l.push(new _(t,e)),1!==l.length||c||o(f)},_.prototype.run=function(){this.fun.apply(null,this.array)},a.title="browser",a.browser=!0,a.env={},a.argv=[],a.version="",a.versions={},a.on=p,a.addListener=p,a.once=p,a.off=p,a.removeListener=p,a.removeAllListeners=p,a.emit=p,a.prependListener=p,a.prependOnceListener=p,a.listeners=function(t){return[]},a.binding=function(t){throw new Error("process.binding is not supported")},a.cwd=function(){return"/"},a.chdir=function(t){throw new Error("process.chdir is not supported")},a.umask=function(){return 0}},function(t,e){},function(t,l,e){(function(a){function i(t,e){for(var n=0,r=t.length-1;0<=r;r--){var a=t[r];"."===a?t.splice(r,1):".."===a?(t.splice(r,1),n++):n&&(t.splice(r,1),n--)}if(e)for(;n--;n)t.unshift("..");return t}var e=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/,s=function(t){return e.exec(t).slice(1)};function o(t,e){if(t.filter)return t.filter(e);for(var n=[],r=0;r<t.length;r++)e(t[r],r,t)&&n.push(t[r]);return n}l.resolve=function(){for(var t="",e=!1,n=arguments.length-1;-1<=n&&!e;n--){var r=0<=n?arguments[n]:a.cwd();if("string"!=typeof r)throw new TypeError("Arguments to path.resolve must be strings");r&&(t=r+"/"+t,e="/"===r.charAt(0))}return(e?"/":"")+(t=i(o(t.split("/"),function(t){return!!t}),!e).join("/"))||"."},l.normalize=function(t){var e=l.isAbsolute(t),n="/"===r(t,-1);return(t=i(o(t.split("/"),function(t){return!!t}),!e).join("/"))||e||(t="."),t&&n&&(t+="/"),(e?"/":"")+t},l.isAbsolute=function(t){return"/"===t.charAt(0)},l.join=function(){var t=Array.prototype.slice.call(arguments,0);return l.normalize(o(t,function(t,e){if("string"!=typeof t)throw new TypeError("Arguments to path.join must be strings");return t}).join("/"))},l.relative=function(t,e){function n(t){for(var e=0;e<t.length&&""===t[e];e++);for(var n=t.length-1;0<=n&&""===t[n];n--);return n<e?[]:t.slice(e,n-e+1)}t=l.resolve(t).substr(1),e=l.resolve(e).substr(1);for(var r=n(t.split("/")),a=n(e.split("/")),i=Math.min(r.length,a.length),s=i,o=0;o<i;o++)if(r[o]!==a[o]){s=o;break}var u=[];for(o=s;o<r.length;o++)u.push("..");return(u=u.concat(a.slice(s))).join("/")},l.sep="/",l.delimiter=":",l.dirname=function(t){var e=s(t),n=e[0],r=e[1];return n||r?(r&&(r=r.substr(0,r.length-1)),n+r):"."},l.basename=function(t,e){var n=s(t)[2];return e&&n.substr(-1*e.length)===e&&(n=n.substr(0,n.length-e.length)),n},l.extname=function(t){return s(t)[3]};var r="b"==="ab".substr(-1)?function(t,e,n){return t.substr(e,n)}:function(t,e,n){return e<0&&(e=t.length+e),t.substr(e,n)}}).call(l,e(7))},function(t,e,n){var r=n(249),a=n(252);t.exports=function(t,e){var n=a(t,e);return r(n)?n:void 0}},function(t,e,n){var r=n(21),a=n(235),i=n(236),s="[object Null]",o="[object Undefined]",u=r?r.toStringTag:void 0;t.exports=function(t){return null==t?void 0===t?o:s:u&&u in Object(t)?a(t):i(t)}},function(t,e){t.exports=function(t){return null!=t&&"object"==typeof t}},function(t,e,n){var r=n(186),a=n(32);t.exports=function(t){return null!=t&&a(t.length)&&!r(t)}},function(t,e){t.exports=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}},function(t,e,n){var r=n(267),a=n(310),i=n(17),s=n(2),o=n(320);t.exports=function(t){return"function"==typeof t?t:null==t?i:"object"==typeof t?s(t)?a(t[0],t[1]):r(t):o(t)}},function(t,e,n){var r=n(11),a=n(12),i="[object Symbol]";t.exports=function(t){return"symbol"==typeof t||a(t)&&r(t)==i}},function(t,e){t.exports=function(t){return t}},function(t,e){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(t){"object"==typeof window&&(n=window)}t.exports=n},function(t,W,e){(function(R,z){(function(){var ts,es=200,ns="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",rs="Expected a function",as="__lodash_hash_undefined__",is=500,ss="__lodash_placeholder__",os=1,us=2,ls=4,cs=1,ds=2,hs=1,fs=2,_s=4,ps=8,ms=16,ys=32,gs=64,vs=128,Ms=256,ks=512,bs=30,Ls="...",ws=800,xs=16,Ds=1,Ys=2,Ts=1/0,As=9007199254740991,Ss=1.7976931348623157e308,Es=NaN,js=4294967295,Cs=js-1,Fs=js>>>1,Os=[["ary",vs],["bind",hs],["bindKey",fs],["curry",ps],["curryRight",ms],["flip",ks],["partial",ys],["partialRight",gs],["rearg",Ms]],Hs="[object Arguments]",Ps="[object Array]",Bs="[object AsyncFunction]",Ns="[object Boolean]",Is="[object Date]",Rs="[object DOMException]",zs="[object Error]",Ws="[object Function]",qs="[object GeneratorFunction]",Us="[object Map]",Vs="[object Number]",$s="[object Null]",Gs="[object Object]",Js="[object Promise]",Zs="[object Proxy]",Ks="[object RegExp]",Xs="[object Set]",Qs="[object String]",to="[object Symbol]",eo="[object Undefined]",no="[object WeakMap]",ro="[object WeakSet]",ao="[object ArrayBuffer]",io="[object DataView]",so="[object Float32Array]",oo="[object Float64Array]",uo="[object Int8Array]",lo="[object Int16Array]",co="[object Int32Array]",ho="[object Uint8Array]",fo="[object Uint8ClampedArray]",_o="[object Uint16Array]",po="[object Uint32Array]",mo=/\b__p \+= '';/g,yo=/\b(__p \+=) '' \+/g,go=/(__e\(.*?\)|\b__t\)) \+\n'';/g,vo=/&(?:amp|lt|gt|quot|#39);/g,Mo=/[&<>"']/g,ko=RegExp(vo.source),bo=RegExp(Mo.source),Lo=/<%-([\s\S]+?)%>/g,wo=/<%([\s\S]+?)%>/g,xo=/<%=([\s\S]+?)%>/g,Do=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Yo=/^\w*$/,To=/^\./,Ao=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,So=/[\\^$.*+?()[\]{}|]/g,Eo=RegExp(So.source),jo=/^\s+|\s+$/g,Co=/^\s+/,Fo=/\s+$/,Oo=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Ho=/\{\n\/\* \[wrapped with (.+)\] \*/,Po=/,? & /,Bo=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,No=/\\(\\)?/g,Io=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Ro=/\w*$/,zo=/^[-+]0x[0-9a-f]+$/i,Wo=/^0b[01]+$/i,qo=/^\[object .+?Constructor\]$/,Uo=/^0o[0-7]+$/i,Vo=/^(?:0|[1-9]\d*)$/,$o=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Go=/($^)/,Jo=/['\n\r\u2028\u2029\\]/g,t="\\ud800-\\udfff",e="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",n="\\u2700-\\u27bf",r="a-z\\xdf-\\xf6\\xf8-\\xff",a="A-Z\\xc0-\\xd6\\xd8-\\xde",i="\\ufe0e\\ufe0f",s="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",o="[']",u="["+t+"]",l="["+s+"]",c="["+e+"]",d="\\d+",h="["+n+"]",f="["+r+"]",_="[^"+t+s+d+n+r+a+"]",p="\\ud83c[\\udffb-\\udfff]",m="[^"+t+"]",y="(?:\\ud83c[\\udde6-\\uddff]){2}",g="[\\ud800-\\udbff][\\udc00-\\udfff]",v="["+a+"]",M="\\u200d",k="(?:"+f+"|"+_+")",b="(?:"+v+"|"+_+")",L="(?:['](?:d|ll|m|re|s|t|ve))?",w="(?:['](?:D|LL|M|RE|S|T|VE))?",x="(?:"+c+"|"+p+")"+"?",D="["+i+"]?",Y=D+x+("(?:"+M+"(?:"+[m,y,g].join("|")+")"+D+x+")*"),T="(?:"+[h,y,g].join("|")+")"+Y,A="(?:"+[m+c+"?",c,y,g,u].join("|")+")",Zo=RegExp(o,"g"),Ko=RegExp(c,"g"),S=RegExp(p+"(?="+p+")|"+A+Y,"g"),Xo=RegExp([v+"?"+f+"+"+L+"(?="+[l,v,"$"].join("|")+")",b+"+"+w+"(?="+[l,v+k,"$"].join("|")+")",v+"?"+k+"+"+L,v+"+"+w,"\\d*(?:(?:1ST|2ND|3RD|(?![123])\\dTH)\\b)","\\d*(?:(?:1st|2nd|3rd|(?![123])\\dth)\\b)",d,T].join("|"),"g"),E=RegExp("["+M+t+e+i+"]"),Qo=/[a-z][A-Z]|[A-Z]{2,}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,tu=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],eu=-1,nu={};nu[so]=nu[oo]=nu[uo]=nu[lo]=nu[co]=nu[ho]=nu[fo]=nu[_o]=nu[po]=!0,nu[Hs]=nu[Ps]=nu[ao]=nu[Ns]=nu[io]=nu[Is]=nu[zs]=nu[Ws]=nu[Us]=nu[Vs]=nu[Gs]=nu[Ks]=nu[Xs]=nu[Qs]=nu[no]=!1;var ru={};ru[Hs]=ru[Ps]=ru[ao]=ru[io]=ru[Ns]=ru[Is]=ru[so]=ru[oo]=ru[uo]=ru[lo]=ru[co]=ru[Us]=ru[Vs]=ru[Gs]=ru[Ks]=ru[Xs]=ru[Qs]=ru[to]=ru[ho]=ru[fo]=ru[_o]=ru[po]=!0,ru[zs]=ru[Ws]=ru[no]=!1;var j={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},au=parseFloat,iu=parseInt,C="object"==typeof R&&R&&R.Object===Object&&R,F="object"==typeof self&&self&&self.Object===Object&&self,su=C||F||Function("return this")(),O="object"==typeof W&&W&&!W.nodeType&&W,H=O&&"object"==typeof z&&z&&!z.nodeType&&z,ou=H&&H.exports===O,P=ou&&C.process,B=function(){try{return P&&P.binding&&P.binding("util")}catch(t){}}(),uu=B&&B.isArrayBuffer,lu=B&&B.isDate,cu=B&&B.isMap,du=B&&B.isRegExp,hu=B&&B.isSet,fu=B&&B.isTypedArray;function _u(t,e){return t.set(e[0],e[1]),t}function pu(t,e){return t.add(e),t}function mu(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)}function yu(t,e,n,r){for(var a=-1,i=null==t?0:t.length;++a<i;){var s=t[a];e(r,s,n(s),t)}return r}function gu(t,e){for(var n=-1,r=null==t?0:t.length;++n<r&&!1!==e(t[n],n,t););return t}function vu(t,e){for(var n=null==t?0:t.length;n--&&!1!==e(t[n],n,t););return t}function Mu(t,e){for(var n=-1,r=null==t?0:t.length;++n<r;)if(!e(t[n],n,t))return!1;return!0}function ku(t,e){for(var n=-1,r=null==t?0:t.length,a=0,i=[];++n<r;){var s=t[n];e(s,n,t)&&(i[a++]=s)}return i}function bu(t,e){return!!(null==t?0:t.length)&&-1<Eu(t,e,0)}function Lu(t,e,n){for(var r=-1,a=null==t?0:t.length;++r<a;)if(n(e,t[r]))return!0;return!1}function wu(t,e){for(var n=-1,r=null==t?0:t.length,a=Array(r);++n<r;)a[n]=e(t[n],n,t);return a}function xu(t,e){for(var n=-1,r=e.length,a=t.length;++n<r;)t[a+n]=e[n];return t}function Du(t,e,n,r){var a=-1,i=null==t?0:t.length;for(r&&i&&(n=t[++a]);++a<i;)n=e(n,t[a],a,t);return n}function Yu(t,e,n,r){var a=null==t?0:t.length;for(r&&a&&(n=t[--a]);a--;)n=e(n,t[a],a,t);return n}function Tu(t,e){for(var n=-1,r=null==t?0:t.length;++n<r;)if(e(t[n],n,t))return!0;return!1}var N=Ou("length");function Au(t,r,e){var a;return e(t,function(t,e,n){if(r(t,e,n))return a=e,!1}),a}function Su(t,e,n,r){for(var a=t.length,i=n+(r?1:-1);r?i--:++i<a;)if(e(t[i],i,t))return i;return-1}function Eu(t,e,n){return e==e?function(t,e,n){var r=n-1,a=t.length;for(;++r<a;)if(t[r]===e)return r;return-1}(t,e,n):Su(t,Cu,n)}function ju(t,e,n,r){for(var a=n-1,i=t.length;++a<i;)if(r(t[a],e))return a;return-1}function Cu(t){return t!=t}function Fu(t,e){var n=null==t?0:t.length;return n?Pu(t,e)/n:Es}function Ou(e){return function(t){return null==t?ts:t[e]}}function I(e){return function(t){return null==e?ts:e[t]}}function Hu(t,r,a,i,e){return e(t,function(t,e,n){a=i?(i=!1,t):r(a,t,e,n)}),a}function Pu(t,e){for(var n,r=-1,a=t.length;++r<a;){var i=e(t[r]);i!==ts&&(n=n===ts?i:n+i)}return n}function Bu(t,e){for(var n=-1,r=Array(t);++n<t;)r[n]=e(n);return r}function Nu(e){return function(t){return e(t)}}function Iu(e,t){return wu(t,function(t){return e[t]})}function Ru(t,e){return t.has(e)}function zu(t,e){for(var n=-1,r=t.length;++n<r&&-1<Eu(e,t[n],0););return n}function Wu(t,e){for(var n=t.length;n--&&-1<Eu(e,t[n],0););return n}var qu=I({"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"}),Uu=I({"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"});function Vu(t){return"\\"+j[t]}function $u(t){return E.test(t)}function Gu(t){var n=-1,r=Array(t.size);return t.forEach(function(t,e){r[++n]=[e,t]}),r}function Ju(e,n){return function(t){return e(n(t))}}function Zu(t,e){for(var n=-1,r=t.length,a=0,i=[];++n<r;){var s=t[n];s!==e&&s!==ss||(t[n]=ss,i[a++]=n)}return i}function Ku(t){var e=-1,n=Array(t.size);return t.forEach(function(t){n[++e]=t}),n}function Xu(t){return $u(t)?function(t){var e=S.lastIndex=0;for(;S.test(t);)++e;return e}(t):N(t)}function Qu(t){return $u(t)?t.match(S)||[]:t.split("")}var tl=I({"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"});var el=function t(e){var n,T=(e=null==e?su:el.defaults(su.Object(),e,el.pick(su,tu))).Array,r=e.Date,a=e.Error,m=e.Function,i=e.Math,w=e.Object,y=e.RegExp,c=e.String,A=e.TypeError,s=T.prototype,o=m.prototype,u=w.prototype,l=e["__core-js_shared__"],d=o.toString,x=u.hasOwnProperty,h=0,f=(n=/[^.]+$/.exec(l&&l.keys&&l.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"",_=u.toString,p=d.call(w),g=su._,v=y("^"+d.call(x).replace(So,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),M=ou?e.Buffer:ts,k=e.Symbol,b=e.Uint8Array,L=M?M.allocUnsafe:ts,D=Ju(w.getPrototypeOf,w),Y=w.create,S=u.propertyIsEnumerable,E=s.splice,j=k?k.isConcatSpreadable:ts,C=k?k.iterator:ts,F=k?k.toStringTag:ts,O=function(){try{var t=In(w,"defineProperty");return t({},"",{}),t}catch(t){}}(),H=e.clearTimeout!==su.clearTimeout&&e.clearTimeout,P=r&&r.now!==su.Date.now&&r.now,B=e.setTimeout!==su.setTimeout&&e.setTimeout,N=i.ceil,I=i.floor,R=w.getOwnPropertySymbols,z=M?M.isBuffer:ts,W=e.isFinite,q=s.join,U=Ju(w.keys,w),V=i.max,$=i.min,G=r.now,J=e.parseInt,Z=i.random,K=s.reverse,X=In(e,"DataView"),Q=In(e,"Map"),tt=In(e,"Promise"),et=In(e,"Set"),nt=In(e,"WeakMap"),rt=In(w,"create"),at=nt&&new nt,it={},st=fr(X),ot=fr(Q),ut=fr(tt),lt=fr(et),ct=fr(nt),dt=k?k.prototype:ts,ht=dt?dt.valueOf:ts,ft=dt?dt.toString:ts;function _t(t){if(Sa(t)&&!va(t)&&!(t instanceof gt)){if(t instanceof yt)return t;if(x.call(t,"__wrapped__"))return _r(t)}return new yt(t)}var pt=function(){function n(){}return function(t){if(!Aa(t))return{};if(Y)return Y(t);n.prototype=t;var e=new n;return n.prototype=ts,e}}();function mt(){}function yt(t,e){this.__wrapped__=t,this.__actions__=[],this.__chain__=!!e,this.__index__=0,this.__values__=ts}function gt(t){this.__wrapped__=t,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=js,this.__views__=[]}function vt(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function Mt(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function kt(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function bt(t){var e=-1,n=null==t?0:t.length;for(this.__data__=new kt;++e<n;)this.add(t[e])}function Lt(t){var e=this.__data__=new Mt(t);this.size=e.size}function wt(t,e){var n=va(t),r=!n&&ga(t),a=!n&&!r&&La(t),i=!n&&!r&&!a&&Ba(t),s=n||r||a||i,o=s?Bu(t.length,c):[],u=o.length;for(var l in t)!e&&!x.call(t,l)||s&&("length"==l||a&&("offset"==l||"parent"==l)||i&&("buffer"==l||"byteLength"==l||"byteOffset"==l)||$n(l,u))||o.push(l);return o}function xt(t){var e=t.length;return e?t[be(0,e-1)]:ts}function Dt(t,e){return ur(rn(t),Ot(e,0,t.length))}function Yt(t){return ur(rn(t))}function Tt(t,e,n){(n===ts||pa(t[e],n))&&(n!==ts||e in t)||Ct(t,e,n)}function At(t,e,n){var r=t[e];x.call(t,e)&&pa(r,n)&&(n!==ts||e in t)||Ct(t,e,n)}function St(t,e){for(var n=t.length;n--;)if(pa(t[n][0],e))return n;return-1}function Et(t,r,a,i){return It(t,function(t,e,n){r(i,t,a(t),n)}),i}function jt(t,e){return t&&an(e,si(e),t)}function Ct(t,e,n){"__proto__"==e&&O?O(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n}function Ft(t,e){for(var n=-1,r=e.length,a=T(r),i=null==t;++n<r;)a[n]=i?ts:ei(t,e[n]);return a}function Ot(t,e,n){return t==t&&(n!==ts&&(t=t<=n?t:n),e!==ts&&(t=e<=t?t:e)),t}function Ht(n,r,a,t,e,i){var s,o=r&os,u=r&us,l=r&ls;if(a&&(s=e?a(n,t,e,i):a(n)),s!==ts)return s;if(!Aa(n))return n;var c,d,h,f,_,p,m,y,g,v=va(n);if(v){if(y=(m=n).length,g=m.constructor(y),y&&"string"==typeof m[0]&&x.call(m,"index")&&(g.index=m.index,g.input=m.input),s=g,!o)return rn(n,s)}else{var M=Wn(n),k=M==Ws||M==qs;if(La(n))return Ke(n,o);if(M==Gs||M==Hs||k&&!e){if(s=u||k?{}:Un(n),!o)return u?(p=h=n,f=(_=s)&&an(p,oi(p),_),an(h,zn(h),f)):(d=jt(s,c=n),an(c,Rn(c),d))}else{if(!ru[M])return e?n:{};s=function(t,e,n,r){var a,i,s,o,u,l,c,d,h,f=t.constructor;switch(e){case ao:return Xe(t);case Ns:case Is:return new f(+t);case io:return d=t,h=r?Xe(d.buffer):d.buffer,new d.constructor(h,d.byteOffset,d.byteLength);case so:case oo:case uo:case lo:case co:case ho:case fo:case _o:case po:return Qe(t,r);case Us:return l=t,c=n,Du(r?c(Gu(l),os):Gu(l),_u,new l.constructor);case Vs:case Qs:return new f(t);case Ks:return(u=new(o=t).constructor(o.source,Ro.exec(o))).lastIndex=o.lastIndex,u;case Xs:return i=t,s=n,Du(r?s(Ku(i),os):Ku(i),pu,new i.constructor);case to:return a=t,ht?w(ht.call(a)):{}}}(n,M,Ht,o)}}i||(i=new Lt);var b=i.get(n);if(b)return b;i.set(n,s);var L=v?ts:(l?u?Cn:jn:u?oi:si)(n);return gu(L||n,function(t,e){L&&(t=n[e=t]),At(s,e,Ht(t,r,a,e,n,i))}),s}function Pt(t,e,n){var r=n.length;if(null==t)return!r;for(t=w(t);r--;){var a=n[r],i=e[a],s=t[a];if(s===ts&&!(a in t)||!i(s))return!1}return!0}function Bt(t,e,n){if("function"!=typeof t)throw new A(rs);return ar(function(){t.apply(ts,n)},e)}function Nt(t,e,n,r){var a=-1,i=bu,s=!0,o=t.length,u=[],l=e.length;if(!o)return u;n&&(e=wu(e,Nu(n))),r?(i=Lu,s=!1):e.length>=es&&(i=Ru,s=!1,e=new bt(e));t:for(;++a<o;){var c=t[a],d=null==n?c:n(c);if(c=r||0!==c?c:0,s&&d==d){for(var h=l;h--;)if(e[h]===d)continue t;u.push(c)}else i(e,d,r)||u.push(c)}return u}_t.templateSettings={escape:Lo,evaluate:wo,interpolate:xo,variable:"",imports:{_:_t}},(_t.prototype=mt.prototype).constructor=_t,(yt.prototype=pt(mt.prototype)).constructor=yt,(gt.prototype=pt(mt.prototype)).constructor=gt,vt.prototype.clear=function(){this.__data__=rt?rt(null):{},this.size=0},vt.prototype.delete=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e},vt.prototype.get=function(t){var e=this.__data__;if(rt){var n=e[t];return n===as?ts:n}return x.call(e,t)?e[t]:ts},vt.prototype.has=function(t){var e=this.__data__;return rt?e[t]!==ts:x.call(e,t)},vt.prototype.set=function(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=rt&&e===ts?as:e,this},Mt.prototype.clear=function(){this.__data__=[],this.size=0},Mt.prototype.delete=function(t){var e=this.__data__,n=St(e,t);return!(n<0||(n==e.length-1?e.pop():E.call(e,n,1),--this.size,0))},Mt.prototype.get=function(t){var e=this.__data__,n=St(e,t);return n<0?ts:e[n][1]},Mt.prototype.has=function(t){return-1<St(this.__data__,t)},Mt.prototype.set=function(t,e){var n=this.__data__,r=St(n,t);return r<0?(++this.size,n.push([t,e])):n[r][1]=e,this},kt.prototype.clear=function(){this.size=0,this.__data__={hash:new vt,map:new(Q||Mt),string:new vt}},kt.prototype.delete=function(t){var e=Bn(this,t).delete(t);return this.size-=e?1:0,e},kt.prototype.get=function(t){return Bn(this,t).get(t)},kt.prototype.has=function(t){return Bn(this,t).has(t)},kt.prototype.set=function(t,e){var n=Bn(this,t),r=n.size;return n.set(t,e),this.size+=n.size==r?0:1,this},bt.prototype.add=bt.prototype.push=function(t){return this.__data__.set(t,as),this},bt.prototype.has=function(t){return this.__data__.has(t)},Lt.prototype.clear=function(){this.__data__=new Mt,this.size=0},Lt.prototype.delete=function(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n},Lt.prototype.get=function(t){return this.__data__.get(t)},Lt.prototype.has=function(t){return this.__data__.has(t)},Lt.prototype.set=function(t,e){var n=this.__data__;if(n instanceof Mt){var r=n.__data__;if(!Q||r.length<es-1)return r.push([t,e]),this.size=++n.size,this;n=this.__data__=new kt(r)}return n.set(t,e),this.size=n.size,this};var It=un(Gt),Rt=un(Jt,!0);function zt(t,r){var a=!0;return It(t,function(t,e,n){return a=!!r(t,e,n)}),a}function Wt(t,e,n){for(var r=-1,a=t.length;++r<a;){var i=t[r],s=e(i);if(null!=s&&(o===ts?s==s&&!Pa(s):n(s,o)))var o=s,u=i}return u}function qt(t,r){var a=[];return It(t,function(t,e,n){r(t,e,n)&&a.push(t)}),a}function Ut(t,e,n,r,a){var i=-1,s=t.length;for(n||(n=Vn),a||(a=[]);++i<s;){var o=t[i];0<e&&n(o)?1<e?Ut(o,e-1,n,r,a):xu(a,o):r||(a[a.length]=o)}return a}var Vt=ln(),$t=ln(!0);function Gt(t,e){return t&&Vt(t,e,si)}function Jt(t,e){return t&&$t(t,e,si)}function Zt(e,t){return ku(t,function(t){return Da(e[t])})}function Kt(t,e){for(var n=0,r=(e=$e(e,t)).length;null!=t&&n<r;)t=t[hr(e[n++])];return n&&n==r?t:ts}function Xt(t,e,n){var r=e(t);return va(t)?r:xu(r,n(t))}function Qt(t){return null==t?t===ts?eo:$s:F&&F in w(t)?function(t){var e=x.call(t,F),n=t[F];try{t[F]=ts;var r=!0}catch(t){}var a=_.call(t);return r&&(e?t[F]=n:delete t[F]),a}(t):(e=t,_.call(e));var e}function te(t,e){return e<t}function ee(t,e){return null!=t&&x.call(t,e)}function ne(t,e){return null!=t&&e in w(t)}function re(t,e,n){for(var r=n?Lu:bu,a=t[0].length,i=t.length,s=i,o=T(i),u=1/0,l=[];s--;){var c=t[s];s&&e&&(c=wu(c,Nu(e))),u=$(c.length,u),o[s]=!n&&(e||120<=a&&120<=c.length)?new bt(s&&c):ts}c=t[0];var d=-1,h=o[0];t:for(;++d<a&&l.length<u;){var f=c[d],_=e?e(f):f;if(f=n||0!==f?f:0,!(h?Ru(h,_):r(l,_,n))){for(s=i;--s;){var p=o[s];if(!(p?Ru(p,_):r(t[s],_,n)))continue t}h&&h.push(_),l.push(f)}}return l}function ae(t,e,n){var r=null==(t=nr(t,e=$e(e,t)))?t:t[hr(xr(e))];return null==r?ts:mu(r,t,n)}function ie(t){return Sa(t)&&Qt(t)==Hs}function se(t,e,n,r,a){return t===e||(null==t||null==e||!Sa(t)&&!Sa(e)?t!=t&&e!=e:function(t,e,n,r,a,i){var s=va(t),o=va(e),u=s?Ps:Wn(t),l=o?Ps:Wn(e),c=(u=u==Hs?Gs:u)==Gs,d=(l=l==Hs?Gs:l)==Gs,h=u==l;if(h&&La(t)){if(!La(e))return!1;s=!0,c=!1}if(h&&!c)return i||(i=new Lt),s||Ba(t)?Sn(t,e,n,r,a,i):function(t,e,n,r,a,i,s){switch(n){case io:if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case ao:return!(t.byteLength!=e.byteLength||!i(new b(t),new b(e)));case Ns:case Is:case Vs:return pa(+t,+e);case zs:return t.name==e.name&&t.message==e.message;case Ks:case Qs:return t==e+"";case Us:var o=Gu;case Xs:var u=r&cs;if(o||(o=Ku),t.size!=e.size&&!u)return!1;var l=s.get(t);if(l)return l==e;r|=ds,s.set(t,e);var c=Sn(o(t),o(e),r,a,i,s);return s.delete(t),c;case to:if(ht)return ht.call(t)==ht.call(e)}return!1}(t,e,u,n,r,a,i);if(!(n&cs)){var f=c&&x.call(t,"__wrapped__"),_=d&&x.call(e,"__wrapped__");if(f||_){var p=f?t.value():t,m=_?e.value():e;return i||(i=new Lt),a(p,m,n,r,i)}}return!!h&&(i||(i=new Lt),function(t,e,n,r,a,i){var s=n&cs,o=jn(t),u=o.length,l=jn(e).length;if(u!=l&&!s)return!1;for(var c=u;c--;){var d=o[c];if(!(s?d in e:x.call(e,d)))return!1}var h=i.get(t);if(h&&i.get(e))return h==e;var f=!0;i.set(t,e),i.set(e,t);for(var _=s;++c<u;){d=o[c];var p=t[d],m=e[d];if(r)var y=s?r(m,p,d,e,t,i):r(p,m,d,t,e,i);if(!(y===ts?p===m||a(p,m,n,r,i):y)){f=!1;break}_||(_="constructor"==d)}if(f&&!_){var g=t.constructor,v=e.constructor;g!=v&&"constructor"in t&&"constructor"in e&&!("function"==typeof g&&g instanceof g&&"function"==typeof v&&v instanceof v)&&(f=!1)}return i.delete(t),i.delete(e),f}(t,e,n,r,a,i))}(t,e,n,r,se,a))}function oe(t,e,n,r){var a=n.length,i=a,s=!r;if(null==t)return!i;for(t=w(t);a--;){var o=n[a];if(s&&o[2]?o[1]!==t[o[0]]:!(o[0]in t))return!1}for(;++a<i;){var u=(o=n[a])[0],l=t[u],c=o[1];if(s&&o[2]){if(l===ts&&!(u in t))return!1}else{var d=new Lt;if(r)var h=r(l,c,u,t,e,d);if(!(h===ts?se(c,l,cs|ds,r,d):h))return!1}}return!0}function ue(t){return!(!Aa(t)||(e=t,f&&f in e))&&(Da(t)?v:qo).test(fr(t));var e}function le(t){return"function"==typeof t?t:null==t?ji:"object"==typeof t?va(t)?pe(t[0],t[1]):_e(t):Ri(t)}function ce(t){if(!Xn(t))return U(t);var e=[];for(var n in w(t))x.call(t,n)&&"constructor"!=n&&e.push(n);return e}function de(t){if(!Aa(t))return function(t){var e=[];if(null!=t)for(var n in w(t))e.push(n);return e}(t);var e=Xn(t),n=[];for(var r in t)("constructor"!=r||!e&&x.call(t,r))&&n.push(r);return n}function he(t,e){return t<e}function fe(t,r){var a=-1,i=ka(t)?T(t.length):[];return It(t,function(t,e,n){i[++a]=r(t,e,n)}),i}function _e(e){var n=Nn(e);return 1==n.length&&n[0][2]?tr(n[0][0],n[0][1]):function(t){return t===e||oe(t,e,n)}}function pe(n,r){return Jn(n)&&Qn(r)?tr(hr(n),r):function(t){var e=ei(t,n);return e===ts&&e===r?ni(t,n):se(r,e,cs|ds)}}function me(r,a,i,s,o){r!==a&&Vt(a,function(t,e){if(Aa(t))o||(o=new Lt),function(t,e,n,r,a,i,s){var o=t[n],u=e[n],l=s.get(u);if(l)return Tt(t,n,l);var c=i?i(o,u,n+"",t,e,s):ts,d=c===ts;if(d){var h=va(u),f=!h&&La(u),_=!h&&!f&&Ba(u);c=u,h||f||_?va(o)?c=o:ba(o)?c=rn(o):f?(d=!1,c=Ke(u,!0)):_?(d=!1,c=Qe(u,!0)):c=[]:Ca(u)||ga(u)?ga(c=o)?c=Va(o):(!Aa(o)||r&&Da(o))&&(c=Un(u)):d=!1}d&&(s.set(u,c),a(c,u,r,i,s),s.delete(u)),Tt(t,n,c)}(r,a,e,i,me,s,o);else{var n=s?s(r[e],t,e+"",r,a,o):ts;n===ts&&(n=t),Tt(r,e,n)}},oi)}function ye(t,e){var n=t.length;if(n)return $n(e+=e<0?n:0,n)?t[e]:ts}function ge(t,r,n){var a=-1;return r=wu(r.length?r:[ji],Nu(Pn())),function(t,e){var n=t.length;for(t.sort(e);n--;)t[n]=t[n].value;return t}(fe(t,function(e,t,n){return{criteria:wu(r,function(t){return t(e)}),index:++a,value:e}}),function(t,e){return function(t,e,n){for(var r=-1,a=t.criteria,i=e.criteria,s=a.length,o=n.length;++r<s;){var u=tn(a[r],i[r]);if(u){if(o<=r)return u;var l=n[r];return u*("desc"==l?-1:1)}}return t.index-e.index}(t,e,n)})}function ve(t,e,n){for(var r=-1,a=e.length,i={};++r<a;){var s=e[r],o=Kt(t,s);n(o,s)&&Ye(i,$e(s,t),o)}return i}function Me(t,e,n,r){var a=r?ju:Eu,i=-1,s=e.length,o=t;for(t===e&&(e=rn(e)),n&&(o=wu(t,Nu(n)));++i<s;)for(var u=0,l=e[i],c=n?n(l):l;-1<(u=a(o,c,u,r));)o!==t&&E.call(o,u,1),E.call(t,u,1);return t}function ke(t,e){for(var n=t?e.length:0,r=n-1;n--;){var a=e[n];if(n==r||a!==i){var i=a;$n(a)?E.call(t,a,1):Ne(t,a)}}return t}function be(t,e){return t+I(Z()*(e-t+1))}function Le(t,e){var n="";if(!t||e<1||As<e)return n;for(;e%2&&(n+=t),(e=I(e/2))&&(t+=t),e;);return n}function we(t,e){return ir(er(t,e,ji),t+"")}function xe(t){return xt(pi(t))}function De(t,e){var n=pi(t);return ur(n,Ot(e,0,n.length))}function Ye(t,e,n,r){if(!Aa(t))return t;for(var a=-1,i=(e=$e(e,t)).length,s=i-1,o=t;null!=o&&++a<i;){var u=hr(e[a]),l=n;if(a!=s){var c=o[u];(l=r?r(c,u,o):ts)===ts&&(l=Aa(c)?c:$n(e[a+1])?[]:{})}At(o,u,l),o=o[u]}return t}var Te=at?function(t,e){return at.set(t,e),t}:ji,Ae=O?function(t,e){return O(t,"toString",{configurable:!0,enumerable:!1,value:Ai(e),writable:!0})}:ji;function Se(t){return ur(pi(t))}function Ee(t,e,n){var r=-1,a=t.length;e<0&&(e=a<-e?0:a+e),(n=a<n?a:n)<0&&(n+=a),a=n<e?0:n-e>>>0,e>>>=0;for(var i=T(a);++r<a;)i[r]=t[r+e];return i}function je(t,r){var a;return It(t,function(t,e,n){return!(a=r(t,e,n))}),!!a}function Ce(t,e,n){var r=0,a=null==t?r:t.length;if("number"==typeof e&&e==e&&a<=Fs){for(;r<a;){var i=r+a>>>1,s=t[i];null!==s&&!Pa(s)&&(n?s<=e:s<e)?r=i+1:a=i}return a}return Fe(t,e,ji,n)}function Fe(t,e,n,r){e=n(e);for(var a=0,i=null==t?0:t.length,s=e!=e,o=null===e,u=Pa(e),l=e===ts;a<i;){var c=I((a+i)/2),d=n(t[c]),h=d!==ts,f=null===d,_=d==d,p=Pa(d);if(s)var m=r||_;else m=l?_&&(r||h):o?_&&h&&(r||!f):u?_&&h&&!f&&(r||!p):!f&&!p&&(r?d<=e:d<e);m?a=c+1:i=c}return $(i,Cs)}function Oe(t,e){for(var n=-1,r=t.length,a=0,i=[];++n<r;){var s=t[n],o=e?e(s):s;if(!n||!pa(o,u)){var u=o;i[a++]=0===s?0:s}}return i}function He(t){return"number"==typeof t?t:Pa(t)?Es:+t}function Pe(t){if("string"==typeof t)return t;if(va(t))return wu(t,Pe)+"";if(Pa(t))return ft?ft.call(t):"";var e=t+"";return"0"==e&&1/t==-Ts?"-0":e}function Be(t,e,n){var r=-1,a=bu,i=t.length,s=!0,o=[],u=o;if(n)s=!1,a=Lu;else if(es<=i){var l=e?null:wn(t);if(l)return Ku(l);s=!1,a=Ru,u=new bt}else u=e?[]:o;t:for(;++r<i;){var c=t[r],d=e?e(c):c;if(c=n||0!==c?c:0,s&&d==d){for(var h=u.length;h--;)if(u[h]===d)continue t;e&&u.push(d),o.push(c)}else a(u,d,n)||(u!==o&&u.push(d),o.push(c))}return o}function Ne(t,e){return null==(t=nr(t,e=$e(e,t)))||delete t[hr(xr(e))]}function Ie(t,e,n,r){return Ye(t,e,n(Kt(t,e)),r)}function Re(t,e,n,r){for(var a=t.length,i=r?a:-1;(r?i--:++i<a)&&e(t[i],i,t););return n?Ee(t,r?0:i,r?i+1:a):Ee(t,r?i+1:0,r?a:i)}function ze(t,e){var n=t;return n instanceof gt&&(n=n.value()),Du(e,function(t,e){return e.func.apply(e.thisArg,xu([t],e.args))},n)}function We(t,e,n){var r=t.length;if(r<2)return r?Be(t[0]):[];for(var a=-1,i=T(r);++a<r;)for(var s=t[a],o=-1;++o<r;)o!=a&&(i[a]=Nt(i[a]||s,t[o],e,n));return Be(Ut(i,1),e,n)}function qe(t,e,n){for(var r=-1,a=t.length,i=e.length,s={};++r<a;){var o=r<i?e[r]:ts;n(s,t[r],o)}return s}function Ue(t){return ba(t)?t:[]}function Ve(t){return"function"==typeof t?t:ji}function $e(t,e){return va(t)?t:Jn(t,e)?[t]:dr($a(t))}var Ge=we;function Je(t,e,n){var r=t.length;return n=n===ts?r:n,!e&&r<=n?t:Ee(t,e,n)}var Ze=H||function(t){return su.clearTimeout(t)};function Ke(t,e){if(e)return t.slice();var n=t.length,r=L?L(n):new t.constructor(n);return t.copy(r),r}function Xe(t){var e=new t.constructor(t.byteLength);return new b(e).set(new b(t)),e}function Qe(t,e){var n=e?Xe(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.length)}function tn(t,e){if(t!==e){var n=t!==ts,r=null===t,a=t==t,i=Pa(t),s=e!==ts,o=null===e,u=e==e,l=Pa(e);if(!o&&!l&&!i&&e<t||i&&s&&u&&!o&&!l||r&&s&&u||!n&&u||!a)return 1;if(!r&&!i&&!l&&t<e||l&&n&&a&&!r&&!i||o&&n&&a||!s&&a||!u)return-1}return 0}function en(t,e,n,r){for(var a=-1,i=t.length,s=n.length,o=-1,u=e.length,l=V(i-s,0),c=T(u+l),d=!r;++o<u;)c[o]=e[o];for(;++a<s;)(d||a<i)&&(c[n[a]]=t[a]);for(;l--;)c[o++]=t[a++];return c}function nn(t,e,n,r){for(var a=-1,i=t.length,s=-1,o=n.length,u=-1,l=e.length,c=V(i-o,0),d=T(c+l),h=!r;++a<c;)d[a]=t[a];for(var f=a;++u<l;)d[f+u]=e[u];for(;++s<o;)(h||a<i)&&(d[f+n[s]]=t[a++]);return d}function rn(t,e){var n=-1,r=t.length;for(e||(e=T(r));++n<r;)e[n]=t[n];return e}function an(t,e,n,r){var a=!n;n||(n={});for(var i=-1,s=e.length;++i<s;){var o=e[i],u=r?r(n[o],t[o],o,n,t):ts;u===ts&&(u=t[o]),a?Ct(n,o,u):At(n,o,u)}return n}function sn(a,i){return function(t,e){var n=va(t)?yu:Et,r=i?i():{};return n(t,a,Pn(e,2),r)}}function on(o){return we(function(t,e){var n=-1,r=e.length,a=1<r?e[r-1]:ts,i=2<r?e[2]:ts;for(a=3<o.length&&"function"==typeof a?(r--,a):ts,i&&Gn(e[0],e[1],i)&&(a=r<3?ts:a,r=1),t=w(t);++n<r;){var s=e[n];s&&o(t,s,n,a)}return t})}function un(i,s){return function(t,e){if(null==t)return t;if(!ka(t))return i(t,e);for(var n=t.length,r=s?n:-1,a=w(t);(s?r--:++r<n)&&!1!==e(a[r],r,a););return t}}function ln(u){return function(t,e,n){for(var r=-1,a=w(t),i=n(t),s=i.length;s--;){var o=i[u?s:++r];if(!1===e(a[o],o,a))break}return t}}function cn(a){return function(t){var e=$u(t=$a(t))?Qu(t):ts,n=e?e[0]:t.charAt(0),r=e?Je(e,1).join(""):t.slice(1);return n[a]()+r}}function dn(e){return function(t){return Du(Di(gi(t).replace(Zo,"")),e,"")}}function hn(r){return function(){var t=arguments;switch(t.length){case 0:return new r;case 1:return new r(t[0]);case 2:return new r(t[0],t[1]);case 3:return new r(t[0],t[1],t[2]);case 4:return new r(t[0],t[1],t[2],t[3]);case 5:return new r(t[0],t[1],t[2],t[3],t[4]);case 6:return new r(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new r(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var e=pt(r.prototype),n=r.apply(e,t);return Aa(n)?n:e}}function fn(s){return function(t,e,n){var r=w(t);if(!ka(t)){var a=Pn(e,3);t=si(t),e=function(t){return a(r[t],t,r)}}var i=s(t,e,n);return-1<i?r[a?t[i]:i]:ts}}function _n(u){return En(function(a){var i=a.length,t=i,e=yt.prototype.thru;for(u&&a.reverse();t--;){var n=a[t];if("function"!=typeof n)throw new A(rs);if(e&&!s&&"wrapper"==On(n))var s=new yt([],!0)}for(t=s?t:i;++t<i;){var r=On(n=a[t]),o="wrapper"==r?Fn(n):ts;s=o&&Zn(o[0])&&o[1]==(vs|ps|ys|Ms)&&!o[4].length&&1==o[9]?s[On(o[0])].apply(s,o[3]):1==n.length&&Zn(n)?s[r]():s.thru(n)}return function(){var t=arguments,e=t[0];if(s&&1==t.length&&va(e))return s.plant(e).value();for(var n=0,r=i?a[n].apply(this,t):e;++n<i;)r=a[n].call(this,r);return r}})}function pn(l,c,d,h,f,_,p,m,y,g){var v=c&vs,M=c&hs,k=c&fs,b=c&(ps|ms),L=c&ks,w=k?ts:hn(l);return function t(){for(var e=arguments.length,n=T(e),r=e;r--;)n[r]=arguments[r];if(b)var a=Hn(t),i=function(t,e){for(var n=t.length,r=0;n--;)t[n]===e&&++r;return r}(n,a);if(h&&(n=en(n,h,f,b)),_&&(n=nn(n,_,p,b)),e-=i,b&&e<g){var s=Zu(n,a);return bn(l,c,pn,t.placeholder,d,n,s,m,y,g-e)}var o=M?d:this,u=k?o[l]:l;return e=n.length,m?n=function(t,e){for(var n=t.length,r=$(e.length,n),a=rn(t);r--;){var i=e[r];t[r]=$n(i,n)?a[i]:ts}return t}(n,m):L&&1<e&&n.reverse(),v&&y<e&&(n.length=y),this&&this!==su&&this instanceof t&&(u=w||hn(u)),u.apply(o,n)}}function mn(s,o){return function(t,e){return n=t,r=s,a=o(e),i={},Gt(n,function(t,e,n){r(i,a(t),e,n)}),i;var n,r,a,i}}function yn(r,a){return function(t,e){var n;if(t===ts&&e===ts)return a;if(t!==ts&&(n=t),e!==ts){if(n===ts)return e;"string"==typeof t||"string"==typeof e?(t=Pe(t),e=Pe(e)):(t=He(t),e=He(e)),n=r(t,e)}return n}}function gn(r){return En(function(t){return t=wu(t,Nu(Pn())),we(function(e){var n=this;return r(t,function(t){return mu(t,n,e)})})})}function vn(t,e){var n=(e=e===ts?" ":Pe(e)).length;if(n<2)return n?Le(e,t):e;var r=Le(e,N(t/Xu(e)));return $u(e)?Je(Qu(r),0,t).join(""):r.slice(0,t)}function Mn(r){return function(t,e,n){return n&&"number"!=typeof n&&Gn(t,e,n)&&(e=n=ts),t=za(t),e===ts?(e=t,t=0):e=za(e),function(t,e,n,r){for(var a=-1,i=V(N((e-t)/(n||1)),0),s=T(i);i--;)s[r?i:++a]=t,t+=n;return s}(t,e,n=n===ts?t<e?1:-1:za(n),r)}}function kn(n){return function(t,e){return"string"==typeof t&&"string"==typeof e||(t=Ua(t),e=Ua(e)),n(t,e)}}function bn(t,e,n,r,a,i,s,o,u,l){var c=e&ps;e|=c?ys:gs,(e&=~(c?gs:ys))&_s||(e&=~(hs|fs));var d=[t,e,a,c?i:ts,c?s:ts,c?ts:i,c?ts:s,o,u,l],h=n.apply(ts,d);return Zn(t)&&rr(h,d),h.placeholder=r,sr(h,t,e)}function Ln(t){var r=i[t];return function(t,e){if(t=Ua(t),e=null==e?0:$(Wa(e),292)){var n=($a(t)+"e").split("e");return+((n=($a(r(n[0]+"e"+(+n[1]+e)))+"e").split("e"))[0]+"e"+(+n[1]-e))}return r(t)}}var wn=et&&1/Ku(new et([,-0]))[1]==Ts?function(t){return new et(t)}:Pi;function xn(s){return function(t){var e,n,r,a,i=Wn(t);return i==Us?Gu(t):i==Xs?(e=t,n=-1,r=Array(e.size),e.forEach(function(t){r[++n]=[t,t]}),r):wu(s(a=t),function(t){return[t,a[t]]})}}function Dn(t,e,n,r,a,i,s,o){var u=e&fs;if(!u&&"function"!=typeof t)throw new A(rs);var l=r?r.length:0;if(l||(e&=~(ys|gs),r=a=ts),s=s===ts?s:V(Wa(s),0),o=o===ts?o:Wa(o),l-=a?a.length:0,e&gs){var c=r,d=a;r=a=ts}var h,f,_,p,m,y,g,v,M,k,b,L,w,x=u?ts:Fn(t),D=[t,e,n,r,a,c,d,i,s,o];if(x&&function(t,e){var n=t[1],r=e[1],a=n|r,i=a<(hs|fs|vs),s=r==vs&&n==ps||r==vs&&n==Ms&&t[7].length<=e[8]||r==(vs|Ms)&&e[7].length<=e[8]&&n==ps;if(i||s){r&hs&&(t[2]=e[2],a|=n&hs?0:_s);var o=e[3];if(o){var u=t[3];t[3]=u?en(u,o,e[4]):o,t[4]=u?Zu(t[3],ss):e[4]}(o=e[5])&&(u=t[5],t[5]=u?nn(u,o,e[6]):o,t[6]=u?Zu(t[5],ss):e[6]),(o=e[7])&&(t[7]=o),r&vs&&(t[8]=null==t[8]?e[8]:$(t[8],e[8])),null==t[9]&&(t[9]=e[9]),t[0]=e[0],t[1]=a}}(D,x),t=D[0],e=D[1],n=D[2],r=D[3],a=D[4],!(o=D[9]=D[9]===ts?u?0:t.length:V(D[9]-l,0))&&e&(ps|ms)&&(e&=~(ps|ms)),e&&e!=hs)e==ps||e==ms?(g=e,v=o,M=hn(y=t),Y=function t(){for(var e=arguments.length,n=T(e),r=e,a=Hn(t);r--;)n[r]=arguments[r];var i=e<3&&n[0]!==a&&n[e-1]!==a?[]:Zu(n,a);return(e-=i.length)<v?bn(y,g,pn,t.placeholder,ts,n,i,ts,ts,v-e):mu(this&&this!==su&&this instanceof t?M:y,this,n)}):e!=ys&&e!=(hs|ys)||a.length?Y=pn.apply(ts,D):(f=n,_=r,p=e&hs,m=hn(h=t),Y=function t(){for(var e=-1,n=arguments.length,r=-1,a=_.length,i=T(a+n),s=this&&this!==su&&this instanceof t?m:h;++r<a;)i[r]=_[r];for(;n--;)i[r++]=arguments[++e];return mu(s,p?f:this,i)});else var Y=(b=n,L=e&hs,w=hn(k=t),function t(){return(this&&this!==su&&this instanceof t?w:k).apply(L?b:this,arguments)});return sr((x?Te:rr)(Y,D),t,e)}function Yn(t,e,n,r){return t===ts||pa(t,u[n])&&!x.call(r,n)?e:t}function Tn(t,e,n,r,a,i){return Aa(t)&&Aa(e)&&(i.set(e,t),me(t,e,ts,Tn,i),i.delete(e)),t}function An(t){return Ca(t)?ts:t}function Sn(t,e,n,r,a,i){var s=n&cs,o=t.length,u=e.length;if(o!=u&&!(s&&o<u))return!1;var l=i.get(t);if(l&&i.get(e))return l==e;var c=-1,d=!0,h=n&ds?new bt:ts;for(i.set(t,e),i.set(e,t);++c<o;){var f=t[c],_=e[c];if(r)var p=s?r(_,f,c,e,t,i):r(f,_,c,t,e,i);if(p!==ts){if(p)continue;d=!1;break}if(h){if(!Tu(e,function(t,e){if(!Ru(h,e)&&(f===t||a(f,t,n,r,i)))return h.push(e)})){d=!1;break}}else if(f!==_&&!a(f,_,n,r,i)){d=!1;break}}return i.delete(t),i.delete(e),d}function En(t){return ir(er(t,ts,Mr),t+"")}function jn(t){return Xt(t,si,Rn)}function Cn(t){return Xt(t,oi,zn)}var Fn=at?function(t){return at.get(t)}:Pi;function On(t){for(var e=t.name+"",n=it[e],r=x.call(it,e)?n.length:0;r--;){var a=n[r],i=a.func;if(null==i||i==t)return a.name}return e}function Hn(t){return(x.call(_t,"placeholder")?_t:t).placeholder}function Pn(){var t=_t.iteratee||Ci;return t=t===Ci?le:t,arguments.length?t(arguments[0],arguments[1]):t}function Bn(t,e){var n,r,a=t.__data__;return("string"==(r=typeof(n=e))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?a["string"==typeof e?"string":"hash"]:a.map}function Nn(t){for(var e=si(t),n=e.length;n--;){var r=e[n],a=t[r];e[n]=[r,a,Qn(a)]}return e}function In(t,e){var n,r,a=(r=e,null==(n=t)?ts:n[r]);return ue(a)?a:ts}var Rn=R?function(e){return null==e?[]:(e=w(e),ku(R(e),function(t){return S.call(e,t)}))}:qi,zn=R?function(t){for(var e=[];t;)xu(e,Rn(t)),t=D(t);return e}:qi,Wn=Qt;function qn(t,e,n){for(var r=-1,a=(e=$e(e,t)).length,i=!1;++r<a;){var s=hr(e[r]);if(!(i=null!=t&&n(t,s)))break;t=t[s]}return i||++r!=a?i:!!(a=null==t?0:t.length)&&Ta(a)&&$n(s,a)&&(va(t)||ga(t))}function Un(t){return"function"!=typeof t.constructor||Xn(t)?{}:pt(D(t))}function Vn(t){return va(t)||ga(t)||!!(j&&t&&t[j])}function $n(t,e){return!!(e=null==e?As:e)&&("number"==typeof t||Vo.test(t))&&-1<t&&t%1==0&&t<e}function Gn(t,e,n){if(!Aa(n))return!1;var r=typeof e;return!!("number"==r?ka(n)&&$n(e,n.length):"string"==r&&e in n)&&pa(n[e],t)}function Jn(t,e){if(va(t))return!1;var n=typeof t;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=t&&!Pa(t))||Yo.test(t)||!Do.test(t)||null!=e&&t in w(e)}function Zn(t){var e=On(t),n=_t[e];if("function"!=typeof n||!(e in gt.prototype))return!1;if(t===n)return!0;var r=Fn(n);return!!r&&t===r[0]}(X&&Wn(new X(new ArrayBuffer(1)))!=io||Q&&Wn(new Q)!=Us||tt&&Wn(tt.resolve())!=Js||et&&Wn(new et)!=Xs||nt&&Wn(new nt)!=no)&&(Wn=function(t){var e=Qt(t),n=e==Gs?t.constructor:ts,r=n?fr(n):"";if(r)switch(r){case st:return io;case ot:return Us;case ut:return Js;case lt:return Xs;case ct:return no}return e});var Kn=l?Da:Ui;function Xn(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||u)}function Qn(t){return t==t&&!Aa(t)}function tr(e,n){return function(t){return null!=t&&t[e]===n&&(n!==ts||e in w(t))}}function er(i,s,o){return s=V(s===ts?i.length-1:s,0),function(){for(var t=arguments,e=-1,n=V(t.length-s,0),r=T(n);++e<n;)r[e]=t[s+e];e=-1;for(var a=T(s+1);++e<s;)a[e]=t[e];return a[s]=o(r),mu(i,this,a)}}function nr(t,e){return e.length<2?t:Kt(t,Ee(e,0,-1))}var rr=or(Te),ar=B||function(t,e){return su.setTimeout(t,e)},ir=or(Ae);function sr(t,e,n){var r,a,i,s=e+"";return ir(t,function(t,e){var n=e.length;if(!n)return t;var r=n-1;return e[r]=(1<n?"& ":"")+e[r],e=e.join(2<n?", ":" "),t.replace(Oo,"{\n/* [wrapped with "+e+"] */\n")}(s,(i=s.match(Ho),r=i?i[1].split(Po):[],a=n,gu(Os,function(t){var e="_."+t[0];a&t[1]&&!bu(r,e)&&r.push(e)}),r.sort())))}function or(n){var r=0,a=0;return function(){var t=G(),e=xs-(t-a);if(a=t,0<e){if(++r>=ws)return arguments[0]}else r=0;return n.apply(ts,arguments)}}function ur(t,e){var n=-1,r=t.length,a=r-1;for(e=e===ts?r:e;++n<e;){var i=be(n,a),s=t[i];t[i]=t[n],t[n]=s}return t.length=e,t}var lr,cr,dr=(lr=la(function(t){var a=[];return To.test(t)&&a.push(""),t.replace(Ao,function(t,e,n,r){a.push(n?r.replace(No,"$1"):e||t)}),a},function(t){return cr.size===is&&cr.clear(),t}),cr=lr.cache,lr);function hr(t){if("string"==typeof t||Pa(t))return t;var e=t+"";return"0"==e&&1/t==-Ts?"-0":e}function fr(t){if(null!=t){try{return d.call(t)}catch(t){}try{return t+""}catch(t){}}return""}function _r(t){if(t instanceof gt)return t.clone();var e=new yt(t.__wrapped__,t.__chain__);return e.__actions__=rn(t.__actions__),e.__index__=t.__index__,e.__values__=t.__values__,e}var pr=we(function(t,e){return ba(t)?Nt(t,Ut(e,1,ba,!0)):[]}),mr=we(function(t,e){var n=xr(e);return ba(n)&&(n=ts),ba(t)?Nt(t,Ut(e,1,ba,!0),Pn(n,2)):[]}),yr=we(function(t,e){var n=xr(e);return ba(n)&&(n=ts),ba(t)?Nt(t,Ut(e,1,ba,!0),ts,n):[]});function gr(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var a=null==n?0:Wa(n);return a<0&&(a=V(r+a,0)),Su(t,Pn(e,3),a)}function vr(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var a=r-1;return n!==ts&&(a=Wa(n),a=n<0?V(r+a,0):$(a,r-1)),Su(t,Pn(e,3),a,!0)}function Mr(t){return null!=t&&t.length?Ut(t,1):[]}function kr(t){return t&&t.length?t[0]:ts}var br=we(function(t){var e=wu(t,Ue);return e.length&&e[0]===t[0]?re(e):[]}),Lr=we(function(t){var e=xr(t),n=wu(t,Ue);return e===xr(n)?e=ts:n.pop(),n.length&&n[0]===t[0]?re(n,Pn(e,2)):[]}),wr=we(function(t){var e=xr(t),n=wu(t,Ue);return(e="function"==typeof e?e:ts)&&n.pop(),n.length&&n[0]===t[0]?re(n,ts,e):[]});function xr(t){var e=null==t?0:t.length;return e?t[e-1]:ts}var Dr=we(Yr);function Yr(t,e){return t&&t.length&&e&&e.length?Me(t,e):t}var Tr=En(function(t,e){var n=null==t?0:t.length,r=Ft(t,e);return ke(t,wu(e,function(t){return $n(t,n)?+t:t}).sort(tn)),r});function Ar(t){return null==t?t:K.call(t)}var Sr=we(function(t){return Be(Ut(t,1,ba,!0))}),Er=we(function(t){var e=xr(t);return ba(e)&&(e=ts),Be(Ut(t,1,ba,!0),Pn(e,2))}),jr=we(function(t){var e=xr(t);return e="function"==typeof e?e:ts,Be(Ut(t,1,ba,!0),ts,e)});function Cr(e){if(!e||!e.length)return[];var n=0;return e=ku(e,function(t){if(ba(t))return n=V(t.length,n),!0}),Bu(n,function(t){return wu(e,Ou(t))})}function Fr(t,e){if(!t||!t.length)return[];var n=Cr(t);return null==e?n:wu(n,function(t){return mu(e,ts,t)})}var Or=we(function(t,e){return ba(t)?Nt(t,e):[]}),Hr=we(function(t){return We(ku(t,ba))}),Pr=we(function(t){var e=xr(t);return ba(e)&&(e=ts),We(ku(t,ba),Pn(e,2))}),Br=we(function(t){var e=xr(t);return e="function"==typeof e?e:ts,We(ku(t,ba),ts,e)}),Nr=we(Cr);var Ir=we(function(t){var e=t.length,n=1<e?t[e-1]:ts;return Fr(t,n="function"==typeof n?(t.pop(),n):ts)});function Rr(t){var e=_t(t);return e.__chain__=!0,e}function zr(t,e){return e(t)}var Wr=En(function(e){var n=e.length,t=n?e[0]:0,r=this.__wrapped__,a=function(t){return Ft(t,e)};return!(1<n||this.__actions__.length)&&r instanceof gt&&$n(t)?((r=r.slice(t,+t+(n?1:0))).__actions__.push({func:zr,args:[a],thisArg:ts}),new yt(r,this.__chain__).thru(function(t){return n&&!t.length&&t.push(ts),t})):this.thru(a)});var qr=sn(function(t,e,n){x.call(t,n)?++t[n]:Ct(t,n,1)});var Ur=fn(gr),Vr=fn(vr);function $r(t,e){return(va(t)?gu:It)(t,Pn(e,3))}function Gr(t,e){return(va(t)?vu:Rt)(t,Pn(e,3))}var Jr=sn(function(t,e,n){x.call(t,n)?t[n].push(e):Ct(t,n,[e])});var Zr=we(function(t,e,n){var r=-1,a="function"==typeof e,i=ka(t)?T(t.length):[];return It(t,function(t){i[++r]=a?mu(e,t,n):ae(t,e,n)}),i}),Kr=sn(function(t,e,n){Ct(t,n,e)});function Xr(t,e){return(va(t)?wu:fe)(t,Pn(e,3))}var Qr=sn(function(t,e,n){t[n?0:1].push(e)},function(){return[[],[]]});var ta=we(function(t,e){if(null==t)return[];var n=e.length;return 1<n&&Gn(t,e[0],e[1])?e=[]:2<n&&Gn(e[0],e[1],e[2])&&(e=[e[0]]),ge(t,Ut(e,1),[])}),ea=P||function(){return su.Date.now()};function na(t,e,n){return e=n?ts:e,e=t&&null==e?t.length:e,Dn(t,vs,ts,ts,ts,ts,e)}function ra(t,e){var n;if("function"!=typeof e)throw new A(rs);return t=Wa(t),function(){return 0<--t&&(n=e.apply(this,arguments)),t<=1&&(e=ts),n}}var aa=we(function(t,e,n){var r=hs;if(n.length){var a=Zu(n,Hn(aa));r|=ys}return Dn(t,r,e,n,a)}),ia=we(function(t,e,n){var r=hs|fs;if(n.length){var a=Zu(n,Hn(ia));r|=ys}return Dn(e,r,t,n,a)});function sa(r,a,t){var i,s,o,u,l,c,d=0,h=!1,f=!1,e=!0;if("function"!=typeof r)throw new A(rs);function _(t){var e=i,n=s;return i=s=ts,d=t,u=r.apply(n,e)}function p(t){var e=t-c;return c===ts||a<=e||e<0||f&&o<=t-d}function m(){var t,e,n=ea();if(p(n))return y(n);l=ar(m,(e=a-((t=n)-c),f?$(e,o-(t-d)):e))}function y(t){return l=ts,e&&i?_(t):(i=s=ts,u)}function n(){var t,e=ea(),n=p(e);if(i=arguments,s=this,c=e,n){if(l===ts)return d=t=c,l=ar(m,a),h?_(t):u;if(f)return l=ar(m,a),_(c)}return l===ts&&(l=ar(m,a)),u}return a=Ua(a)||0,Aa(t)&&(h=!!t.leading,o=(f="maxWait"in t)?V(Ua(t.maxWait)||0,a):o,e="trailing"in t?!!t.trailing:e),n.cancel=function(){l!==ts&&Ze(l),d=0,i=c=s=l=ts},n.flush=function(){return l===ts?u:y(ea())},n}var oa=we(function(t,e){return Bt(t,1,e)}),ua=we(function(t,e,n){return Bt(t,Ua(e)||0,n)});function la(a,i){if("function"!=typeof a||null!=i&&"function"!=typeof i)throw new A(rs);var s=function(){var t=arguments,e=i?i.apply(this,t):t[0],n=s.cache;if(n.has(e))return n.get(e);var r=a.apply(this,t);return s.cache=n.set(e,r)||n,r};return s.cache=new(la.Cache||kt),s}function ca(e){if("function"!=typeof e)throw new A(rs);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}la.Cache=kt;var da=Ge(function(r,a){var i=(a=1==a.length&&va(a[0])?wu(a[0],Nu(Pn())):wu(Ut(a,1),Nu(Pn()))).length;return we(function(t){for(var e=-1,n=$(t.length,i);++e<n;)t[e]=a[e].call(this,t[e]);return mu(r,this,t)})}),ha=we(function(t,e){var n=Zu(e,Hn(ha));return Dn(t,ys,ts,e,n)}),fa=we(function(t,e){var n=Zu(e,Hn(fa));return Dn(t,gs,ts,e,n)}),_a=En(function(t,e){return Dn(t,Ms,ts,ts,ts,e)});function pa(t,e){return t===e||t!=t&&e!=e}var ma=kn(te),ya=kn(function(t,e){return e<=t}),ga=ie(function(){return arguments}())?ie:function(t){return Sa(t)&&x.call(t,"callee")&&!S.call(t,"callee")},va=T.isArray,Ma=uu?Nu(uu):function(t){return Sa(t)&&Qt(t)==ao};function ka(t){return null!=t&&Ta(t.length)&&!Da(t)}function ba(t){return Sa(t)&&ka(t)}var La=z||Ui,wa=lu?Nu(lu):function(t){return Sa(t)&&Qt(t)==Is};function xa(t){if(!Sa(t))return!1;var e=Qt(t);return e==zs||e==Rs||"string"==typeof t.message&&"string"==typeof t.name&&!Ca(t)}function Da(t){if(!Aa(t))return!1;var e=Qt(t);return e==Ws||e==qs||e==Bs||e==Zs}function Ya(t){return"number"==typeof t&&t==Wa(t)}function Ta(t){return"number"==typeof t&&-1<t&&t%1==0&&t<=As}function Aa(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}function Sa(t){return null!=t&&"object"==typeof t}var Ea=cu?Nu(cu):function(t){return Sa(t)&&Wn(t)==Us};function ja(t){return"number"==typeof t||Sa(t)&&Qt(t)==Vs}function Ca(t){if(!Sa(t)||Qt(t)!=Gs)return!1;var e=D(t);if(null===e)return!0;var n=x.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&d.call(n)==p}var Fa=du?Nu(du):function(t){return Sa(t)&&Qt(t)==Ks};var Oa=hu?Nu(hu):function(t){return Sa(t)&&Wn(t)==Xs};function Ha(t){return"string"==typeof t||!va(t)&&Sa(t)&&Qt(t)==Qs}function Pa(t){return"symbol"==typeof t||Sa(t)&&Qt(t)==to}var Ba=fu?Nu(fu):function(t){return Sa(t)&&Ta(t.length)&&!!nu[Qt(t)]};var Na=kn(he),Ia=kn(function(t,e){return t<=e});function Ra(t){if(!t)return[];if(ka(t))return Ha(t)?Qu(t):rn(t);if(C&&t[C])return function(t){for(var e,n=[];!(e=t.next()).done;)n.push(e.value);return n}(t[C]());var e=Wn(t);return(e==Us?Gu:e==Xs?Ku:pi)(t)}function za(t){return t?(t=Ua(t))===Ts||t===-Ts?(t<0?-1:1)*Ss:t==t?t:0:0===t?t:0}function Wa(t){var e=za(t),n=e%1;return e==e?n?e-n:e:0}function qa(t){return t?Ot(Wa(t),0,js):0}function Ua(t){if("number"==typeof t)return t;if(Pa(t))return Es;if(Aa(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=Aa(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(jo,"");var n=Wo.test(t);return n||Uo.test(t)?iu(t.slice(2),n?2:8):zo.test(t)?Es:+t}function Va(t){return an(t,oi(t))}function $a(t){return null==t?"":Pe(t)}var Ga=on(function(t,e){if(Xn(e)||ka(e))an(e,si(e),t);else for(var n in e)x.call(e,n)&&At(t,n,e[n])}),Ja=on(function(t,e){an(e,oi(e),t)}),Za=on(function(t,e,n,r){an(e,oi(e),t,r)}),Ka=on(function(t,e,n,r){an(e,si(e),t,r)}),Xa=En(Ft);var Qa=we(function(t){return t.push(ts,Yn),mu(Za,ts,t)}),ti=we(function(t){return t.push(ts,Tn),mu(li,ts,t)});function ei(t,e,n){var r=null==t?ts:Kt(t,e);return r===ts?n:r}function ni(t,e){return null!=t&&qn(t,e,ne)}var ri=mn(function(t,e,n){t[e]=n},Ai(ji)),ai=mn(function(t,e,n){x.call(t,e)?t[e].push(n):t[e]=[n]},Pn),ii=we(ae);function si(t){return ka(t)?wt(t):ce(t)}function oi(t){return ka(t)?wt(t,!0):de(t)}var ui=on(function(t,e,n){me(t,e,n)}),li=on(function(t,e,n,r){me(t,e,n,r)}),ci=En(function(e,t){var n={};if(null==e)return n;var r=!1;t=wu(t,function(t){return t=$e(t,e),r||(r=1<t.length),t}),an(e,Cn(e),n),r&&(n=Ht(n,os|us|ls,An));for(var a=t.length;a--;)Ne(n,t[a]);return n});var di=En(function(t,e){return null==t?{}:ve(n=t,e,function(t,e){return ni(n,e)});var n});function hi(t,n){if(null==t)return{};var e=wu(Cn(t),function(t){return[t]});return n=Pn(n),ve(t,e,function(t,e){return n(t,e[0])})}var fi=xn(si),_i=xn(oi);function pi(t){return null==t?[]:Iu(t,si(t))}var mi=dn(function(t,e,n){return e=e.toLowerCase(),t+(n?yi(e):e)});function yi(t){return xi($a(t).toLowerCase())}function gi(t){return(t=$a(t))&&t.replace($o,qu).replace(Ko,"")}var vi=dn(function(t,e,n){return t+(n?"-":"")+e.toLowerCase()}),Mi=dn(function(t,e,n){return t+(n?" ":"")+e.toLowerCase()}),ki=cn("toLowerCase");var bi=dn(function(t,e,n){return t+(n?"_":"")+e.toLowerCase()});var Li=dn(function(t,e,n){return t+(n?" ":"")+xi(e)});var wi=dn(function(t,e,n){return t+(n?" ":"")+e.toUpperCase()}),xi=cn("toUpperCase");function Di(t,e,n){return t=$a(t),(e=n?ts:e)===ts?(r=t,Qo.test(r)?t.match(Xo)||[]:t.match(Bo)||[]):t.match(e)||[];var r}var Yi=we(function(t,e){try{return mu(t,ts,e)}catch(t){return xa(t)?t:new a(t)}}),Ti=En(function(e,t){return gu(t,function(t){t=hr(t),Ct(e,t,aa(e[t],e))}),e});function Ai(t){return function(){return t}}var Si=_n(),Ei=_n(!0);function ji(t){return t}function Ci(t){return le("function"==typeof t?t:Ht(t,os))}var Fi=we(function(e,n){return function(t){return ae(t,e,n)}}),Oi=we(function(e,n){return function(t){return ae(e,t,n)}});function Hi(r,e,t){var n=si(e),a=Zt(e,n);null!=t||Aa(e)&&(a.length||!n.length)||(t=e,e=r,r=this,a=Zt(e,si(e)));var i=!(Aa(t)&&"chain"in t&&!t.chain),s=Da(r);return gu(a,function(t){var n=e[t];r[t]=n,s&&(r.prototype[t]=function(){var t=this.__chain__;if(i||t){var e=r(this.__wrapped__);return(e.__actions__=rn(this.__actions__)).push({func:n,args:arguments,thisArg:r}),e.__chain__=t,e}return n.apply(r,xu([this.value()],arguments))})}),r}function Pi(){}var Bi=gn(wu),Ni=gn(Mu),Ii=gn(Tu);function Ri(t){return Jn(t)?Ou(hr(t)):(e=t,function(t){return Kt(t,e)});var e}var zi=Mn(),Wi=Mn(!0);function qi(){return[]}function Ui(){return!1}var Vi=yn(function(t,e){return t+e},0),$i=Ln("ceil"),Gi=yn(function(t,e){return t/e},1),Ji=Ln("floor");var Zi,Ki=yn(function(t,e){return t*e},1),Xi=Ln("round"),Qi=yn(function(t,e){return t-e},0);return _t.after=function(t,e){if("function"!=typeof e)throw new A(rs);return t=Wa(t),function(){if(--t<1)return e.apply(this,arguments)}},_t.ary=na,_t.assign=Ga,_t.assignIn=Ja,_t.assignInWith=Za,_t.assignWith=Ka,_t.at=Xa,_t.before=ra,_t.bind=aa,_t.bindAll=Ti,_t.bindKey=ia,_t.castArray=function(){if(!arguments.length)return[];var t=arguments[0];return va(t)?t:[t]},_t.chain=Rr,_t.chunk=function(t,e,n){e=(n?Gn(t,e,n):e===ts)?1:V(Wa(e),0);var r=null==t?0:t.length;if(!r||e<1)return[];for(var a=0,i=0,s=T(N(r/e));a<r;)s[i++]=Ee(t,a,a+=e);return s},_t.compact=function(t){for(var e=-1,n=null==t?0:t.length,r=0,a=[];++e<n;){var i=t[e];i&&(a[r++]=i)}return a},_t.concat=function(){var t=arguments.length;if(!t)return[];for(var e=T(t-1),n=arguments[0],r=t;r--;)e[r-1]=arguments[r];return xu(va(n)?rn(n):[n],Ut(e,1))},_t.cond=function(r){var a=null==r?0:r.length,e=Pn();return r=a?wu(r,function(t){if("function"!=typeof t[1])throw new A(rs);return[e(t[0]),t[1]]}):[],we(function(t){for(var e=-1;++e<a;){var n=r[e];if(mu(n[0],this,t))return mu(n[1],this,t)}})},_t.conforms=function(t){return e=Ht(t,os),n=si(e),function(t){return Pt(t,e,n)};var e,n},_t.constant=Ai,_t.countBy=qr,_t.create=function(t,e){var n=pt(t);return null==e?n:jt(n,e)},_t.curry=function t(e,n,r){var a=Dn(e,ps,ts,ts,ts,ts,ts,n=r?ts:n);return a.placeholder=t.placeholder,a},_t.curryRight=function t(e,n,r){var a=Dn(e,ms,ts,ts,ts,ts,ts,n=r?ts:n);return a.placeholder=t.placeholder,a},_t.debounce=sa,_t.defaults=Qa,_t.defaultsDeep=ti,_t.defer=oa,_t.delay=ua,_t.difference=pr,_t.differenceBy=mr,_t.differenceWith=yr,_t.drop=function(t,e,n){var r=null==t?0:t.length;return r?Ee(t,(e=n||e===ts?1:Wa(e))<0?0:e,r):[]},_t.dropRight=function(t,e,n){var r=null==t?0:t.length;return r?Ee(t,0,(e=r-(e=n||e===ts?1:Wa(e)))<0?0:e):[]},_t.dropRightWhile=function(t,e){return t&&t.length?Re(t,Pn(e,3),!0,!0):[]},_t.dropWhile=function(t,e){return t&&t.length?Re(t,Pn(e,3),!0):[]},_t.fill=function(t,e,n,r){var a=null==t?0:t.length;return a?(n&&"number"!=typeof n&&Gn(t,e,n)&&(n=0,r=a),function(t,e,n,r){var a=t.length;for((n=Wa(n))<0&&(n=a<-n?0:a+n),(r=r===ts||a<r?a:Wa(r))<0&&(r+=a),r=r<n?0:qa(r);n<r;)t[n++]=e;return t}(t,e,n,r)):[]},_t.filter=function(t,e){return(va(t)?ku:qt)(t,Pn(e,3))},_t.flatMap=function(t,e){return Ut(Xr(t,e),1)},_t.flatMapDeep=function(t,e){return Ut(Xr(t,e),Ts)},_t.flatMapDepth=function(t,e,n){return n=n===ts?1:Wa(n),Ut(Xr(t,e),n)},_t.flatten=Mr,_t.flattenDeep=function(t){return null!=t&&t.length?Ut(t,Ts):[]},_t.flattenDepth=function(t,e){return null!=t&&t.length?Ut(t,e=e===ts?1:Wa(e)):[]},_t.flip=function(t){return Dn(t,ks)},_t.flow=Si,_t.flowRight=Ei,_t.fromPairs=function(t){for(var e=-1,n=null==t?0:t.length,r={};++e<n;){var a=t[e];r[a[0]]=a[1]}return r},_t.functions=function(t){return null==t?[]:Zt(t,si(t))},_t.functionsIn=function(t){return null==t?[]:Zt(t,oi(t))},_t.groupBy=Jr,_t.initial=function(t){return null!=t&&t.length?Ee(t,0,-1):[]},_t.intersection=br,_t.intersectionBy=Lr,_t.intersectionWith=wr,_t.invert=ri,_t.invertBy=ai,_t.invokeMap=Zr,_t.iteratee=Ci,_t.keyBy=Kr,_t.keys=si,_t.keysIn=oi,_t.map=Xr,_t.mapKeys=function(t,r){var a={};return r=Pn(r,3),Gt(t,function(t,e,n){Ct(a,r(t,e,n),t)}),a},_t.mapValues=function(t,r){var a={};return r=Pn(r,3),Gt(t,function(t,e,n){Ct(a,e,r(t,e,n))}),a},_t.matches=function(t){return _e(Ht(t,os))},_t.matchesProperty=function(t,e){return pe(t,Ht(e,os))},_t.memoize=la,_t.merge=ui,_t.mergeWith=li,_t.method=Fi,_t.methodOf=Oi,_t.mixin=Hi,_t.negate=ca,_t.nthArg=function(e){return e=Wa(e),we(function(t){return ye(t,e)})},_t.omit=ci,_t.omitBy=function(t,e){return hi(t,ca(Pn(e)))},_t.once=function(t){return ra(2,t)},_t.orderBy=function(t,e,n,r){return null==t?[]:(va(e)||(e=null==e?[]:[e]),va(n=r?ts:n)||(n=null==n?[]:[n]),ge(t,e,n))},_t.over=Bi,_t.overArgs=da,_t.overEvery=Ni,_t.overSome=Ii,_t.partial=ha,_t.partialRight=fa,_t.partition=Qr,_t.pick=di,_t.pickBy=hi,_t.property=Ri,_t.propertyOf=function(e){return function(t){return null==e?ts:Kt(e,t)}},_t.pull=Dr,_t.pullAll=Yr,_t.pullAllBy=function(t,e,n){return t&&t.length&&e&&e.length?Me(t,e,Pn(n,2)):t},_t.pullAllWith=function(t,e,n){return t&&t.length&&e&&e.length?Me(t,e,ts,n):t},_t.pullAt=Tr,_t.range=zi,_t.rangeRight=Wi,_t.rearg=_a,_t.reject=function(t,e){return(va(t)?ku:qt)(t,ca(Pn(e,3)))},_t.remove=function(t,e){var n=[];if(!t||!t.length)return n;var r=-1,a=[],i=t.length;for(e=Pn(e,3);++r<i;){var s=t[r];e(s,r,t)&&(n.push(s),a.push(r))}return ke(t,a),n},_t.rest=function(t,e){if("function"!=typeof t)throw new A(rs);return we(t,e=e===ts?e:Wa(e))},_t.reverse=Ar,_t.sampleSize=function(t,e,n){return e=(n?Gn(t,e,n):e===ts)?1:Wa(e),(va(t)?Dt:De)(t,e)},_t.set=function(t,e,n){return null==t?t:Ye(t,e,n)},_t.setWith=function(t,e,n,r){return r="function"==typeof r?r:ts,null==t?t:Ye(t,e,n,r)},_t.shuffle=function(t){return(va(t)?Yt:Se)(t)},_t.slice=function(t,e,n){var r=null==t?0:t.length;return r?(n&&"number"!=typeof n&&Gn(t,e,n)?(e=0,n=r):(e=null==e?0:Wa(e),n=n===ts?r:Wa(n)),Ee(t,e,n)):[]},_t.sortBy=ta,_t.sortedUniq=function(t){return t&&t.length?Oe(t):[]},_t.sortedUniqBy=function(t,e){return t&&t.length?Oe(t,Pn(e,2)):[]},_t.split=function(t,e,n){return n&&"number"!=typeof n&&Gn(t,e,n)&&(e=n=ts),(n=n===ts?js:n>>>0)?(t=$a(t))&&("string"==typeof e||null!=e&&!Fa(e))&&!(e=Pe(e))&&$u(t)?Je(Qu(t),0,n):t.split(e,n):[]},_t.spread=function(r,a){if("function"!=typeof r)throw new A(rs);return a=null==a?0:V(Wa(a),0),we(function(t){var e=t[a],n=Je(t,0,a);return e&&xu(n,e),mu(r,this,n)})},_t.tail=function(t){var e=null==t?0:t.length;return e?Ee(t,1,e):[]},_t.take=function(t,e,n){return t&&t.length?Ee(t,0,(e=n||e===ts?1:Wa(e))<0?0:e):[]},_t.takeRight=function(t,e,n){var r=null==t?0:t.length;return r?Ee(t,(e=r-(e=n||e===ts?1:Wa(e)))<0?0:e,r):[]},_t.takeRightWhile=function(t,e){return t&&t.length?Re(t,Pn(e,3),!1,!0):[]},_t.takeWhile=function(t,e){return t&&t.length?Re(t,Pn(e,3)):[]},_t.tap=function(t,e){return e(t),t},_t.throttle=function(t,e,n){var r=!0,a=!0;if("function"!=typeof t)throw new A(rs);return Aa(n)&&(r="leading"in n?!!n.leading:r,a="trailing"in n?!!n.trailing:a),sa(t,e,{leading:r,maxWait:e,trailing:a})},_t.thru=zr,_t.toArray=Ra,_t.toPairs=fi,_t.toPairsIn=_i,_t.toPath=function(t){return va(t)?wu(t,hr):Pa(t)?[t]:rn(dr($a(t)))},_t.toPlainObject=Va,_t.transform=function(t,r,a){var e=va(t),n=e||La(t)||Ba(t);if(r=Pn(r,4),null==a){var i=t&&t.constructor;a=n?e?new i:[]:Aa(t)&&Da(i)?pt(D(t)):{}}return(n?gu:Gt)(t,function(t,e,n){return r(a,t,e,n)}),a},_t.unary=function(t){return na(t,1)},_t.union=Sr,_t.unionBy=Er,_t.unionWith=jr,_t.uniq=function(t){return t&&t.length?Be(t):[]},_t.uniqBy=function(t,e){return t&&t.length?Be(t,Pn(e,2)):[]},_t.uniqWith=function(t,e){return e="function"==typeof e?e:ts,t&&t.length?Be(t,ts,e):[]},_t.unset=function(t,e){return null==t||Ne(t,e)},_t.unzip=Cr,_t.unzipWith=Fr,_t.update=function(t,e,n){return null==t?t:Ie(t,e,Ve(n))},_t.updateWith=function(t,e,n,r){return r="function"==typeof r?r:ts,null==t?t:Ie(t,e,Ve(n),r)},_t.values=pi,_t.valuesIn=function(t){return null==t?[]:Iu(t,oi(t))},_t.without=Or,_t.words=Di,_t.wrap=function(t,e){return ha(Ve(e),t)},_t.xor=Hr,_t.xorBy=Pr,_t.xorWith=Br,_t.zip=Nr,_t.zipObject=function(t,e){return qe(t||[],e||[],At)},_t.zipObjectDeep=function(t,e){return qe(t||[],e||[],Ye)},_t.zipWith=Ir,_t.entries=fi,_t.entriesIn=_i,_t.extend=Ja,_t.extendWith=Za,Hi(_t,_t),_t.add=Vi,_t.attempt=Yi,_t.camelCase=mi,_t.capitalize=yi,_t.ceil=$i,_t.clamp=function(t,e,n){return n===ts&&(n=e,e=ts),n!==ts&&(n=(n=Ua(n))==n?n:0),e!==ts&&(e=(e=Ua(e))==e?e:0),Ot(Ua(t),e,n)},_t.clone=function(t){return Ht(t,ls)},_t.cloneDeep=function(t){return Ht(t,os|ls)},_t.cloneDeepWith=function(t,e){return Ht(t,os|ls,e="function"==typeof e?e:ts)},_t.cloneWith=function(t,e){return Ht(t,ls,e="function"==typeof e?e:ts)},_t.conformsTo=function(t,e){return null==e||Pt(t,e,si(e))},_t.deburr=gi,_t.defaultTo=function(t,e){return null==t||t!=t?e:t},_t.divide=Gi,_t.endsWith=function(t,e,n){t=$a(t),e=Pe(e);var r=t.length,a=n=n===ts?r:Ot(Wa(n),0,r);return 0<=(n-=e.length)&&t.slice(n,a)==e},_t.eq=pa,_t.escape=function(t){return(t=$a(t))&&bo.test(t)?t.replace(Mo,Uu):t},_t.escapeRegExp=function(t){return(t=$a(t))&&Eo.test(t)?t.replace(So,"\\$&"):t},_t.every=function(t,e,n){var r=va(t)?Mu:zt;return n&&Gn(t,e,n)&&(e=ts),r(t,Pn(e,3))},_t.find=Ur,_t.findIndex=gr,_t.findKey=function(t,e){return Au(t,Pn(e,3),Gt)},_t.findLast=Vr,_t.findLastIndex=vr,_t.findLastKey=function(t,e){return Au(t,Pn(e,3),Jt)},_t.floor=Ji,_t.forEach=$r,_t.forEachRight=Gr,_t.forIn=function(t,e){return null==t?t:Vt(t,Pn(e,3),oi)},_t.forInRight=function(t,e){return null==t?t:$t(t,Pn(e,3),oi)},_t.forOwn=function(t,e){return t&&Gt(t,Pn(e,3))},_t.forOwnRight=function(t,e){return t&&Jt(t,Pn(e,3))},_t.get=ei,_t.gt=ma,_t.gte=ya,_t.has=function(t,e){return null!=t&&qn(t,e,ee)},_t.hasIn=ni,_t.head=kr,_t.identity=ji,_t.includes=function(t,e,n,r){t=ka(t)?t:pi(t),n=n&&!r?Wa(n):0;var a=t.length;return n<0&&(n=V(a+n,0)),Ha(t)?n<=a&&-1<t.indexOf(e,n):!!a&&-1<Eu(t,e,n)},_t.indexOf=function(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var a=null==n?0:Wa(n);return a<0&&(a=V(r+a,0)),Eu(t,e,a)},_t.inRange=function(t,e,n){return e=za(e),n===ts?(n=e,e=0):n=za(n),t=Ua(t),(r=t)>=$(a=e,i=n)&&r<V(a,i);var r,a,i},_t.invoke=ii,_t.isArguments=ga,_t.isArray=va,_t.isArrayBuffer=Ma,_t.isArrayLike=ka,_t.isArrayLikeObject=ba,_t.isBoolean=function(t){return!0===t||!1===t||Sa(t)&&Qt(t)==Ns},_t.isBuffer=La,_t.isDate=wa,_t.isElement=function(t){return Sa(t)&&1===t.nodeType&&!Ca(t)},_t.isEmpty=function(t){if(null==t)return!0;if(ka(t)&&(va(t)||"string"==typeof t||"function"==typeof t.splice||La(t)||Ba(t)||ga(t)))return!t.length;var e=Wn(t);if(e==Us||e==Xs)return!t.size;if(Xn(t))return!ce(t).length;for(var n in t)if(x.call(t,n))return!1;return!0},_t.isEqual=function(t,e){return se(t,e)},_t.isEqualWith=function(t,e,n){var r=(n="function"==typeof n?n:ts)?n(t,e):ts;return r===ts?se(t,e,ts,n):!!r},_t.isError=xa,_t.isFinite=function(t){return"number"==typeof t&&W(t)},_t.isFunction=Da,_t.isInteger=Ya,_t.isLength=Ta,_t.isMap=Ea,_t.isMatch=function(t,e){return t===e||oe(t,e,Nn(e))},_t.isMatchWith=function(t,e,n){return n="function"==typeof n?n:ts,oe(t,e,Nn(e),n)},_t.isNaN=function(t){return ja(t)&&t!=+t},_t.isNative=function(t){if(Kn(t))throw new a(ns);return ue(t)},_t.isNil=function(t){return null==t},_t.isNull=function(t){return null===t},_t.isNumber=ja,_t.isObject=Aa,_t.isObjectLike=Sa,_t.isPlainObject=Ca,_t.isRegExp=Fa,_t.isSafeInteger=function(t){return Ya(t)&&-As<=t&&t<=As},_t.isSet=Oa,_t.isString=Ha,_t.isSymbol=Pa,_t.isTypedArray=Ba,_t.isUndefined=function(t){return t===ts},_t.isWeakMap=function(t){return Sa(t)&&Wn(t)==no},_t.isWeakSet=function(t){return Sa(t)&&Qt(t)==ro},_t.join=function(t,e){return null==t?"":q.call(t,e)},_t.kebabCase=vi,_t.last=xr,_t.lastIndexOf=function(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var a=r;return n!==ts&&(a=(a=Wa(n))<0?V(r+a,0):$(a,r-1)),e==e?function(t,e,n){for(var r=n+1;r--;)if(t[r]===e)return r;return r}(t,e,a):Su(t,Cu,a,!0)},_t.lowerCase=Mi,_t.lowerFirst=ki,_t.lt=Na,_t.lte=Ia,_t.max=function(t){return t&&t.length?Wt(t,ji,te):ts},_t.maxBy=function(t,e){return t&&t.length?Wt(t,Pn(e,2),te):ts},_t.mean=function(t){return Fu(t,ji)},_t.meanBy=function(t,e){return Fu(t,Pn(e,2))},_t.min=function(t){return t&&t.length?Wt(t,ji,he):ts},_t.minBy=function(t,e){return t&&t.length?Wt(t,Pn(e,2),he):ts},_t.stubArray=qi,_t.stubFalse=Ui,_t.stubObject=function(){return{}},_t.stubString=function(){return""},_t.stubTrue=function(){return!0},_t.multiply=Ki,_t.nth=function(t,e){return t&&t.length?ye(t,Wa(e)):ts},_t.noConflict=function(){return su._===this&&(su._=g),this},_t.noop=Pi,_t.now=ea,_t.pad=function(t,e,n){t=$a(t);var r=(e=Wa(e))?Xu(t):0;if(!e||e<=r)return t;var a=(e-r)/2;return vn(I(a),n)+t+vn(N(a),n)},_t.padEnd=function(t,e,n){t=$a(t);var r=(e=Wa(e))?Xu(t):0;return e&&r<e?t+vn(e-r,n):t},_t.padStart=function(t,e,n){t=$a(t);var r=(e=Wa(e))?Xu(t):0;return e&&r<e?vn(e-r,n)+t:t},_t.parseInt=function(t,e,n){return n||null==e?e=0:e&&(e=+e),J($a(t).replace(Co,""),e||0)},_t.random=function(t,e,n){if(n&&"boolean"!=typeof n&&Gn(t,e,n)&&(e=n=ts),n===ts&&("boolean"==typeof e?(n=e,e=ts):"boolean"==typeof t&&(n=t,t=ts)),t===ts&&e===ts?(t=0,e=1):(t=za(t),e===ts?(e=t,t=0):e=za(e)),e<t){var r=t;t=e,e=r}if(n||t%1||e%1){var a=Z();return $(t+a*(e-t+au("1e-"+((a+"").length-1))),e)}return be(t,e)},_t.reduce=function(t,e,n){var r=va(t)?Du:Hu,a=arguments.length<3;return r(t,Pn(e,4),n,a,It)},_t.reduceRight=function(t,e,n){var r=va(t)?Yu:Hu,a=arguments.length<3;return r(t,Pn(e,4),n,a,Rt)},_t.repeat=function(t,e,n){return e=(n?Gn(t,e,n):e===ts)?1:Wa(e),Le($a(t),e)},_t.replace=function(){var t=arguments,e=$a(t[0]);return t.length<3?e:e.replace(t[1],t[2])},_t.result=function(t,e,n){var r=-1,a=(e=$e(e,t)).length;for(a||(a=1,t=ts);++r<a;){var i=null==t?ts:t[hr(e[r])];i===ts&&(r=a,i=n),t=Da(i)?i.call(t):i}return t},_t.round=Xi,_t.runInContext=t,_t.sample=function(t){return(va(t)?xt:xe)(t)},_t.size=function(t){if(null==t)return 0;if(ka(t))return Ha(t)?Xu(t):t.length;var e=Wn(t);return e==Us||e==Xs?t.size:ce(t).length},_t.snakeCase=bi,_t.some=function(t,e,n){var r=va(t)?Tu:je;return n&&Gn(t,e,n)&&(e=ts),r(t,Pn(e,3))},_t.sortedIndex=function(t,e){return Ce(t,e)},_t.sortedIndexBy=function(t,e,n){return Fe(t,e,Pn(n,2))},_t.sortedIndexOf=function(t,e){var n=null==t?0:t.length;if(n){var r=Ce(t,e);if(r<n&&pa(t[r],e))return r}return-1},_t.sortedLastIndex=function(t,e){return Ce(t,e,!0)},_t.sortedLastIndexBy=function(t,e,n){return Fe(t,e,Pn(n,2),!0)},_t.sortedLastIndexOf=function(t,e){if(null!=t&&t.length){var n=Ce(t,e,!0)-1;if(pa(t[n],e))return n}return-1},_t.startCase=Li,_t.startsWith=function(t,e,n){return t=$a(t),n=null==n?0:Ot(Wa(n),0,t.length),e=Pe(e),t.slice(n,n+e.length)==e},_t.subtract=Qi,_t.sum=function(t){return t&&t.length?Pu(t,ji):0},_t.sumBy=function(t,e){return t&&t.length?Pu(t,Pn(e,2)):0},_t.template=function(s,t,e){var n=_t.templateSettings;e&&Gn(s,t,e)&&(t=ts),s=$a(s),t=Za({},t,n,Yn);var o,u,r=Za({},t.imports,n.imports,Yn),a=si(r),i=Iu(r,a),l=0,c=t.interpolate||Go,d="__p += '",h=y((t.escape||Go).source+"|"+c.source+"|"+(c===xo?Io:Go).source+"|"+(t.evaluate||Go).source+"|$","g"),f="//# sourceURL="+("sourceURL"in t?t.sourceURL:"lodash.templateSources["+ ++eu+"]")+"\n";s.replace(h,function(t,e,n,r,a,i){return n||(n=r),d+=s.slice(l,i).replace(Jo,Vu),e&&(o=!0,d+="' +\n__e("+e+") +\n'"),a&&(u=!0,d+="';\n"+a+";\n__p += '"),n&&(d+="' +\n((__t = ("+n+")) == null ? '' : __t) +\n'"),l=i+t.length,t}),d+="';\n";var _=t.variable;_||(d="with (obj) {\n"+d+"\n}\n"),d=(u?d.replace(mo,""):d).replace(yo,"$1").replace(go,"$1;"),d="function("+(_||"obj")+") {\n"+(_?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(o?", __e = _.escape":"")+(u?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+d+"return __p\n}";var p=Yi(function(){return m(a,f+"return "+d).apply(ts,i)});if(p.source=d,xa(p))throw p;return p},_t.times=function(t,e){if((t=Wa(t))<1||As<t)return[];var n=js,r=$(t,js);e=Pn(e),t-=js;for(var a=Bu(r,e);++n<t;)e(n);return a},_t.toFinite=za,_t.toInteger=Wa,_t.toLength=qa,_t.toLower=function(t){return $a(t).toLowerCase()},_t.toNumber=Ua,_t.toSafeInteger=function(t){return t?Ot(Wa(t),-As,As):0===t?t:0},_t.toString=$a,_t.toUpper=function(t){return $a(t).toUpperCase()},_t.trim=function(t,e,n){if((t=$a(t))&&(n||e===ts))return t.replace(jo,"");if(!t||!(e=Pe(e)))return t;var r=Qu(t),a=Qu(e);return Je(r,zu(r,a),Wu(r,a)+1).join("")},_t.trimEnd=function(t,e,n){if((t=$a(t))&&(n||e===ts))return t.replace(Fo,"");if(!t||!(e=Pe(e)))return t;var r=Qu(t);return Je(r,0,Wu(r,Qu(e))+1).join("")},_t.trimStart=function(t,e,n){if((t=$a(t))&&(n||e===ts))return t.replace(Co,"");if(!t||!(e=Pe(e)))return t;var r=Qu(t);return Je(r,zu(r,Qu(e))).join("")},_t.truncate=function(t,e){var n=bs,r=Ls;if(Aa(e)){var a="separator"in e?e.separator:a;n="length"in e?Wa(e.length):n,r="omission"in e?Pe(e.omission):r}var i=(t=$a(t)).length;if($u(t)){var s=Qu(t);i=s.length}if(i<=n)return t;var o=n-Xu(r);if(o<1)return r;var u=s?Je(s,0,o).join(""):t.slice(0,o);if(a===ts)return u+r;if(s&&(o+=u.length-o),Fa(a)){if(t.slice(o).search(a)){var l,c=u;for(a.global||(a=y(a.source,$a(Ro.exec(a))+"g")),a.lastIndex=0;l=a.exec(c);)var d=l.index;u=u.slice(0,d===ts?o:d)}}else if(t.indexOf(Pe(a),o)!=o){var h=u.lastIndexOf(a);-1<h&&(u=u.slice(0,h))}return u+r},_t.unescape=function(t){return(t=$a(t))&&ko.test(t)?t.replace(vo,tl):t},_t.uniqueId=function(t){var e=++h;return $a(t)+e},_t.upperCase=wi,_t.upperFirst=xi,_t.each=$r,_t.eachRight=Gr,_t.first=kr,Hi(_t,(Zi={},Gt(_t,function(t,e){x.call(_t.prototype,e)||(Zi[e]=t)}),Zi),{chain:!1}),_t.VERSION="4.17.4",gu(["bind","bindKey","curry","curryRight","partial","partialRight"],function(t){_t[t].placeholder=_t}),gu(["drop","take"],function(n,r){gt.prototype[n]=function(t){t=t===ts?1:V(Wa(t),0);var e=this.__filtered__&&!r?new gt(this):this.clone();return e.__filtered__?e.__takeCount__=$(t,e.__takeCount__):e.__views__.push({size:$(t,js),type:n+(e.__dir__<0?"Right":"")}),e},gt.prototype[n+"Right"]=function(t){return this.reverse()[n](t).reverse()}}),gu(["filter","map","takeWhile"],function(t,e){var n=e+1,r=n==Ds||3==n;gt.prototype[t]=function(t){var e=this.clone();return e.__iteratees__.push({iteratee:Pn(t,3),type:n}),e.__filtered__=e.__filtered__||r,e}}),gu(["head","last"],function(t,e){var n="take"+(e?"Right":"");gt.prototype[t]=function(){return this[n](1).value()[0]}}),gu(["initial","tail"],function(t,e){var n="drop"+(e?"":"Right");gt.prototype[t]=function(){return this.__filtered__?new gt(this):this[n](1)}}),gt.prototype.compact=function(){return this.filter(ji)},gt.prototype.find=function(t){return this.filter(t).head()},gt.prototype.findLast=function(t){return this.reverse().find(t)},gt.prototype.invokeMap=we(function(e,n){return"function"==typeof e?new gt(this):this.map(function(t){return ae(t,e,n)})}),gt.prototype.reject=function(t){return this.filter(ca(Pn(t)))},gt.prototype.slice=function(t,e){t=Wa(t);var n=this;return n.__filtered__&&(0<t||e<0)?new gt(n):(t<0?n=n.takeRight(-t):t&&(n=n.drop(t)),e!==ts&&(n=(e=Wa(e))<0?n.dropRight(-e):n.take(e-t)),n)},gt.prototype.takeRightWhile=function(t){return this.reverse().takeWhile(t).reverse()},gt.prototype.toArray=function(){return this.take(js)},Gt(gt.prototype,function(d,t){var h=/^(?:filter|find|map|reject)|While$/.test(t),f=/^(?:head|last)$/.test(t),_=_t[f?"take"+("last"==t?"Right":""):t],p=f||/^find/.test(t);_&&(_t.prototype[t]=function(){var t=this.__wrapped__,n=f?[1]:arguments,e=t instanceof gt,r=n[0],a=e||va(t),i=function(t){var e=_.apply(_t,xu([t],n));return f&&s?e[0]:e};a&&h&&"function"==typeof r&&1!=r.length&&(e=a=!1);var s=this.__chain__,o=!!this.__actions__.length,u=p&&!s,l=e&&!o;if(!p&&a){t=l?t:new gt(this);var c=d.apply(t,n);return c.__actions__.push({func:zr,args:[i],thisArg:ts}),new yt(c,s)}return u&&l?d.apply(this,n):(c=this.thru(i),u?f?c.value()[0]:c.value():c)})}),gu(["pop","push","shift","sort","splice","unshift"],function(t){var n=s[t],r=/^(?:push|sort|unshift)$/.test(t)?"tap":"thru",a=/^(?:pop|shift)$/.test(t);_t.prototype[t]=function(){var e=arguments;if(a&&!this.__chain__){var t=this.value();return n.apply(va(t)?t:[],e)}return this[r](function(t){return n.apply(va(t)?t:[],e)})}}),Gt(gt.prototype,function(t,e){var n=_t[e];if(n){var r=n.name+"";(it[r]||(it[r]=[])).push({name:e,func:n})}}),it[pn(ts,fs).name]=[{name:"wrapper",func:ts}],gt.prototype.clone=function(){var t=new gt(this.__wrapped__);return t.__actions__=rn(this.__actions__),t.__dir__=this.__dir__,t.__filtered__=this.__filtered__,t.__iteratees__=rn(this.__iteratees__),t.__takeCount__=this.__takeCount__,t.__views__=rn(this.__views__),t},gt.prototype.reverse=function(){if(this.__filtered__){var t=new gt(this);t.__dir__=-1,t.__filtered__=!0}else(t=this.clone()).__dir__*=-1;return t},gt.prototype.value=function(){var t=this.__wrapped__.value(),e=this.__dir__,n=va(t),r=e<0,a=n?t.length:0,i=function(t,e,n){for(var r=-1,a=n.length;++r<a;){var i=n[r],s=i.size;switch(i.type){case"drop":t+=s;break;case"dropRight":e-=s;break;case"take":e=$(e,t+s);break;case"takeRight":t=V(t,e-s)}}return{start:t,end:e}}(0,a,this.__views__),s=i.start,o=i.end,u=o-s,l=r?o:s-1,c=this.__iteratees__,d=c.length,h=0,f=$(u,this.__takeCount__);if(!n||!r&&a==u&&f==u)return ze(t,this.__actions__);var _=[];t:for(;u--&&h<f;){for(var p=-1,m=t[l+=e];++p<d;){var y=c[p],g=y.iteratee,v=y.type,M=g(m);if(v==Ys)m=M;else if(!M){if(v==Ds)continue t;break t}}_[h++]=m}return _},_t.prototype.at=Wr,_t.prototype.chain=function(){return Rr(this)},_t.prototype.commit=function(){return new yt(this.value(),this.__chain__)},_t.prototype.next=function(){this.__values__===ts&&(this.__values__=Ra(this.value()));var t=this.__index__>=this.__values__.length;return{done:t,value:t?ts:this.__values__[this.__index__++]}},_t.prototype.plant=function(t){for(var e,n=this;n instanceof mt;){var r=_r(n);r.__index__=0,r.__values__=ts,e?a.__wrapped__=r:e=r;var a=r;n=n.__wrapped__}return a.__wrapped__=t,e},_t.prototype.reverse=function(){var t=this.__wrapped__;if(t instanceof gt){var e=t;return this.__actions__.length&&(e=new gt(this)),(e=e.reverse()).__actions__.push({func:zr,args:[Ar],thisArg:ts}),new yt(e,this.__chain__)}return this.thru(Ar)},_t.prototype.toJSON=_t.prototype.valueOf=_t.prototype.value=function(){return ze(this.__wrapped__,this.__actions__)},_t.prototype.first=_t.prototype.head,C&&(_t.prototype[C]=function(){return this}),_t}();"function"==typeof define&&"object"==typeof define.amd&&define.amd?(su._=el,define(function(){return el})):H?((H.exports=el)._=el,O._=el):su._=el}).call(this)}).call(W,e(18),e(3)(t))},function(t,e,n){var r=n(179),a=n(240),i=n(13);t.exports=function(t){return i(t)?r(t):a(t)}},function(t,e,n){var r=n(5).Symbol;t.exports=r},function(t,e){t.exports=function(t,e){return t===e||t!=t&&e!=e}},function(t,e,n){var r=n(269),a=n(270),i=n(271),s=n(272),o=n(273);function u(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}u.prototype.clear=r,u.prototype.delete=a,u.prototype.get=i,u.prototype.has=s,u.prototype.set=o,t.exports=u},function(t,e,n){var r=n(22);t.exports=function(t,e){for(var n=t.length;n--;)if(r(t[n][0],e))return n;return-1}},function(t,e,n){var r=n(10)(Object,"create");t.exports=r},function(t,e,n){var r=n(287);t.exports=function(t,e){var n=t.__data__;return r(e)?n["string"==typeof e?"string":"hash"]:n.map}},function(t,e,n){var r=n(16),a=1/0;t.exports=function(t){if("string"==typeof t||r(t))return t;var e=t+"";return"0"==e&&1/t==-a?"-0":e}},function(t,e){t.exports=function(n){var s=[];return s.toString=function(){return this.map(function(t){var e=function(t,e){var n=t[1]||"",r=t[3];if(!r)return n;if(e&&"function"==typeof btoa){var a=(s=r,"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(s))))+" */"),i=r.sources.map(function(t){return"/*# sourceURL="+r.sourceRoot+t+" */"});return[n].concat(i).concat([a]).join("\n")}var s;return[n].join("\n")}(t,n);return t[2]?"@media "+t[2]+"{"+e+"}":e}).join("")},s.i=function(t,e){"string"==typeof t&&(t=[[null,t,""]]);for(var n={},r=0;r<this.length;r++){var a=this[r][0];"number"==typeof a&&(n[a]=!0)}for(r=0;r<t.length;r++){var i=t[r];"number"==typeof i[0]&&n[i[0]]||(e&&!i[2]?i[2]=e:e&&(i[2]="("+i[2]+") and ("+e+")"),s.push(i))}},s}},function(t,e,n){var r=n(210);t.exports={Graph:r.Graph,json:n(212),alg:n(213),version:r.version}},function(t,e,n){"use strict";var u=n(4);t.exports=a;var o="\0",r="\0",l="";function a(t){this._isDirected=!u.has(t,"directed")||t.directed,this._isMultigraph=!!u.has(t,"multigraph")&&t.multigraph,this._isCompound=!!u.has(t,"compound")&&t.compound,this._label=void 0,this._defaultNodeLabelFn=u.constant(void 0),this._defaultEdgeLabelFn=u.constant(void 0),this._nodes={},this._isCompound&&(this._parent={},this._children={},this._children[r]={}),this._in={},this._preds={},this._out={},this._sucs={},this._edgeObjs={},this._edgeLabels={}}function c(t,e){t[e]?t[e]++:t[e]=1}function i(t,e){--t[e]||delete t[e]}function d(t,e,n,r){var a=""+e,i=""+n;if(!t&&i<a){var s=a;a=i,i=s}return a+l+i+l+(u.isUndefined(r)?o:r)}function s(t,e){return d(t,e.v,e.w,e.name)}a.prototype._nodeCount=0,a.prototype._edgeCount=0,a.prototype.isDirected=function(){return this._isDirected},a.prototype.isMultigraph=function(){return this._isMultigraph},a.prototype.isCompound=function(){return this._isCompound},a.prototype.setGraph=function(t){return this._label=t,this},a.prototype.graph=function(){return this._label},a.prototype.setDefaultNodeLabel=function(t){return u.isFunction(t)||(t=u.constant(t)),this._defaultNodeLabelFn=t,this},a.prototype.nodeCount=function(){return this._nodeCount},a.prototype.nodes=function(){return u.keys(this._nodes)},a.prototype.sources=function(){return u.filter(this.nodes(),u.bind(function(t){return u.isEmpty(this._in[t])},this))},a.prototype.sinks=function(){return u.filter(this.nodes(),u.bind(function(t){return u.isEmpty(this._out[t])},this))},a.prototype.setNodes=function(t,e){var n=arguments;return u.each(t,u.bind(function(t){1<n.length?this.setNode(t,e):this.setNode(t)},this)),this},a.prototype.setNode=function(t,e){return u.has(this._nodes,t)?1<arguments.length&&(this._nodes[t]=e):(this._nodes[t]=1<arguments.length?e:this._defaultNodeLabelFn(t),this._isCompound&&(this._parent[t]=r,this._children[t]={},this._children[r][t]=!0),this._in[t]={},this._preds[t]={},this._out[t]={},this._sucs[t]={},++this._nodeCount),this},a.prototype.node=function(t){return this._nodes[t]},a.prototype.hasNode=function(t){return u.has(this._nodes,t)},a.prototype.removeNode=function(t){var e=this;if(u.has(this._nodes,t)){var n=function(t){e.removeEdge(e._edgeObjs[t])};delete this._nodes[t],this._isCompound&&(this._removeFromParentsChildList(t),delete this._parent[t],u.each(this.children(t),u.bind(function(t){this.setParent(t)},this)),delete this._children[t]),u.each(u.keys(this._in[t]),n),delete this._in[t],delete this._preds[t],u.each(u.keys(this._out[t]),n),delete this._out[t],delete this._sucs[t],--this._nodeCount}return this},a.prototype.setParent=function(t,e){if(!this._isCompound)throw new Error("Cannot set parent in a non-compound graph");if(u.isUndefined(e))e=r;else{for(var n=e+="";!u.isUndefined(n);n=this.parent(n))if(n===t)throw new Error("Setting "+e+" as parent of "+t+" would create create a cycle");this.setNode(e)}return this.setNode(t),this._removeFromParentsChildList(t),this._parent[t]=e,this._children[e][t]=!0,this},a.prototype._removeFromParentsChildList=function(t){delete this._children[this._parent[t]][t]},a.prototype.parent=function(t){if(this._isCompound){var e=this._parent[t];if(e!==r)return e}},a.prototype.children=function(t){if(u.isUndefined(t)&&(t=r),this._isCompound){var e=this._children[t];if(e)return u.keys(e)}else{if(t===r)return this.nodes();if(this.hasNode(t))return[]}},a.prototype.predecessors=function(t){var e=this._preds[t];if(e)return u.keys(e)},a.prototype.successors=function(t){var e=this._sucs[t];if(e)return u.keys(e)},a.prototype.neighbors=function(t){var e=this.predecessors(t);if(e)return u.union(e,this.successors(t))},a.prototype.filterNodes=function(n){var r=new this.constructor({directed:this._isDirected,multigraph:this._isMultigraph,compound:this._isCompound});r.setGraph(this.graph()),u.each(this._nodes,u.bind(function(t,e){n(e)&&r.setNode(e,t)},this)),u.each(this._edgeObjs,u.bind(function(t){r.hasNode(t.v)&&r.hasNode(t.w)&&r.setEdge(t,this.edge(t))},this));var a=this,i={};return this._isCompound&&u.each(r.nodes(),function(t){r.setParent(t,function t(e){var n=a.parent(e);return void 0===n||r.hasNode(n)?i[e]=n:n in i?i[n]:t(n)}(t))}),r},a.prototype.setDefaultEdgeLabel=function(t){return u.isFunction(t)||(t=u.constant(t)),this._defaultEdgeLabelFn=t,this},a.prototype.edgeCount=function(){return this._edgeCount},a.prototype.edges=function(){return u.values(this._edgeObjs)},a.prototype.setPath=function(t,n){var r=this,a=arguments;return u.reduce(t,function(t,e){return 1<a.length?r.setEdge(t,e,n):r.setEdge(t,e),e}),this},a.prototype.setEdge=function(){var t,e,n,r,a=!1,i=arguments[0];"object"==typeof i&&null!==i&&"v"in i?(t=i.v,e=i.w,n=i.name,2===arguments.length&&(r=arguments[1],a=!0)):(t=i,e=arguments[1],n=arguments[3],2<arguments.length&&(r=arguments[2],a=!0)),t=""+t,e=""+e,u.isUndefined(n)||(n=""+n);var s=d(this._isDirected,t,e,n);if(u.has(this._edgeLabels,s))return a&&(this._edgeLabels[s]=r),this;if(!u.isUndefined(n)&&!this._isMultigraph)throw new Error("Cannot set a named edge when isMultigraph = false");this.setNode(t),this.setNode(e),this._edgeLabels[s]=a?r:this._defaultEdgeLabelFn(t,e,n);var o=function(t,e,n,r){var a=""+e,i=""+n;if(!t&&i<a){var s=a;a=i,i=s}var o={v:a,w:i};r&&(o.name=r);return o}(this._isDirected,t,e,n);return t=o.v,e=o.w,Object.freeze(o),this._edgeObjs[s]=o,c(this._preds[e],t),c(this._sucs[t],e),this._in[e][s]=o,this._out[t][s]=o,this._edgeCount++,this},a.prototype.edge=function(t,e,n){var r=1===arguments.length?s(this._isDirected,t):d(this._isDirected,t,e,n);return this._edgeLabels[r]},a.prototype.hasEdge=function(t,e,n){var r=1===arguments.length?s(this._isDirected,t):d(this._isDirected,t,e,n);return u.has(this._edgeLabels,r)},a.prototype.removeEdge=function(t,e,n){var r=1===arguments.length?s(this._isDirected,t):d(this._isDirected,t,e,n),a=this._edgeObjs[r];return a&&(t=a.v,e=a.w,delete this._edgeLabels[r],delete this._edgeObjs[r],i(this._preds[e],t),i(this._sucs[t],e),delete this._in[e][r],delete this._out[t][r],this._edgeCount--),this},a.prototype.inEdges=function(t,e){var n=this._in[t];if(n){var r=u.values(n);return e?u.filter(r,function(t){return t.v===e}):r}},a.prototype.outEdges=function(t,e){var n=this._out[t];if(n){var r=u.values(n);return e?u.filter(r,function(t){return t.w===e}):r}},a.prototype.nodeEdges=function(t,e){var n=this.inEdges(t,e);if(n)return n.concat(this.outEdges(t,e))}},function(t,e){var n=9007199254740991,r=/^(?:0|[1-9]\d*)$/;t.exports=function(t,e){return!!(e=null==e?n:e)&&("number"==typeof t||r.test(t))&&-1<t&&t%1==0&&t<e}},function(t,e){var n=9007199254740991;t.exports=function(t){return"number"==typeof t&&-1<t&&t%1==0&&t<=n}},function(t,e,n){var r=n(10)(n(5),"Map");t.exports=r},function(t,e,n){var r=n(279),a=n(286),i=n(288),s=n(289),o=n(290);function u(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}u.prototype.clear=r,u.prototype.delete=a,u.prototype.get=i,u.prototype.has=s,u.prototype.set=o,t.exports=u},function(t,e){t.exports=function(t){var e=-1,n=Array(t.size);return t.forEach(function(t){n[++e]=t}),n}},function(t,e,n){var r=n(2),a=n(16),i=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,s=/^\w*$/;t.exports=function(t,e){if(r(t))return!1;var n=typeof t;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=t&&!a(t))||s.test(t)||!i.test(t)||null!=e&&t in Object(e)}},function(t,e){t.exports=function(t,e){for(var n=-1,r=null==t?0:t.length,a=Array(r);++n<r;)a[n]=e(t[n],n,t);return a}},function(t,e,n){(function(t){"use strict";t.defineLocale("af",{months:"Januarie_Februarie_Maart_April_Mei_Junie_Julie_Augustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mrt_Apr_Mei_Jun_Jul_Aug_Sep_Okt_Nov_Des".split("_"),weekdays:"Sondag_Maandag_Dinsdag_Woensdag_Donderdag_Vrydag_Saterdag".split("_"),weekdaysShort:"Son_Maa_Din_Woe_Don_Vry_Sat".split("_"),weekdaysMin:"So_Ma_Di_Wo_Do_Vr_Sa".split("_"),meridiemParse:/vm|nm/i,isPM:function(t){return/^nm$/i.test(t)},meridiem:function(t,e,n){return t<12?n?"vm":"VM":n?"nm":"NM"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Vandag om] LT",nextDay:"[Môre om] LT",nextWeek:"dddd [om] LT",lastDay:"[Gister om] LT",lastWeek:"[Laas] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oor %s",past:"%s gelede",s:"'n paar sekondes",ss:"%d sekondes",m:"'n minuut",mm:"%d minute",h:"'n uur",hh:"%d ure",d:"'n dag",dd:"%d dae",M:"'n maand",MM:"%d maande",y:"'n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(t){return t+(1===t||8===t||20<=t?"ste":"de")},week:{dow:1,doy:4}})})(n(0))},function(t,e,n){(function(t){"use strict";var e={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},n={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"},o=function(t){return 0===t?0:1===t?1:2===t?2:3<=t%100&&t%100<=10?3:11<=t%100?4:5},u={s:["أقل من ثانية","ثانية واحدة",["ثانيتان","ثانيتين"],"%d ثوان","%d ثانية","%d ثانية"],m:["أقل من دقيقة","دقيقة واحدة",["دقيقتان","دقيقتين"],"%d دقائق","%d دقيقة","%d دقيقة"],h:["أقل من ساعة","ساعة واحدة",["ساعتان","ساعتين"],"%d ساعات","%d ساعة","%d ساعة"],d:["أقل من يوم","يوم واحد",["يومان","يومين"],"%d أيام","%d يومًا","%d يوم"],M:["أقل من شهر","شهر واحد",["شهران","شهرين"],"%d أشهر","%d شهرا","%d شهر"],y:["أقل من عام","عام واحد",["عامان","عامين"],"%d أعوام","%d عامًا","%d عام"]},r=function(s){return function(t,e,n,r){var a=o(t),i=u[s][o(t)];return 2===a&&(i=i[e?0:1]),i.replace(/%d/i,t)}},a=["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر"];t.defineLocale("ar",{months:a,monthsShort:a,weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/M/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(t){return"م"===t},meridiem:function(t,e,n){return t<12?"ص":"م"},calendar:{sameDay:"[اليوم عند الساعة] LT",nextDay:"[غدًا عند الساعة] LT",nextWeek:"dddd [عند الساعة] LT",lastDay:"[أمس عند الساعة] LT",lastWeek:"dddd [عند الساعة] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"منذ %s",s:r("s"),ss:r("s"),m:r("m"),mm:r("m"),h:r("h"),hh:r("h"),d:r("d"),dd:r("d"),M:r("M"),MM:r("M"),y:r("y"),yy:r("y")},preparse:function(t){return t.replace(/[١٢٣٤٥٦٧٨٩٠]/g,function(t){return n[t]}).replace(/،/g,",")},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]}).replace(/,/g,"،")},week:{dow:6,doy:12}})})(n(0))},function(t,e,n){(function(t){"use strict";t.defineLocale("ar-dz",{months:انفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),monthsShort:انفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"احد_اثنين_ثلاثاء_اربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"أح_إث_ثلا_أر_خم_جم_سب".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:0,doy:4}})})(n(0))},function(t,e,n){(function(t){"use strict";t.defineLocale("ar-kw",{months:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),weekdays:"الأحد_الإتنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"احد_اتنين_ثلاثاء_اربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:0,doy:12}})})(n(0))},function(t,e,n){(function(t){"use strict";var e={1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",0:"0"},o=function(t){return 0===t?0:1===t?1:2===t?2:3<=t%100&&t%100<=10?3:11<=t%100?4:5},u={s:["أقل من ثانية","ثانية واحدة",["ثانيتان","ثانيتين"],"%d ثوان","%d ثانية","%d ثانية"],m:["أقل من دقيقة","دقيقة واحدة",["دقيقتان","دقيقتين"],"%d دقائق","%d دقيقة","%d دقيقة"],h:["أقل من ساعة","ساعة واحدة",["ساعتان","ساعتين"],"%d ساعات","%d ساعة","%d ساعة"],d:["أقل من يوم","يوم واحد",["يومان","يومين"],"%d أيام","%d يومًا","%d يوم"],M:["أقل من شهر","شهر واحد",["شهران","شهرين"],"%d أشهر","%d شهرا","%d شهر"],y:["أقل من عام","عام واحد",["عامان","عامين"],"%d أعوام","%d عامًا","%d عام"]},n=function(s){return function(t,e,n,r){var a=o(t),i=u[s][o(t)];return 2===a&&(i=i[e?0:1]),i.replace(/%d/i,t)}},r=["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر"];t.defineLocale("ar-ly",{months:r,monthsShort:r,weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/M/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(t){return"م"===t},meridiem:function(t,e,n){return t<12?"ص":"م"},calendar:{sameDay:"[اليوم عند الساعة] LT",nextDay:"[غدًا عند الساعة] LT",nextWeek:"dddd [عند الساعة] LT",lastDay:"[أمس عند الساعة] LT",lastWeek:"dddd [عند الساعة] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"منذ %s",s:n("s"),ss:n("s"),m:n("m"),mm:n("m"),h:n("h"),hh:n("h"),d:n("d"),dd:n("d"),M:n("M"),MM:n("M"),y:n("y"),yy:n("y")},preparse:function(t){return t.replace(/،/g,",")},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]}).replace(/,/g,"،")},week:{dow:6,doy:12}})})(n(0))},function(t,e,n){(function(t){"use strict";t.defineLocale("ar-ma",{months:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),weekdays:"الأحد_الإتنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"احد_اتنين_ثلاثاء_اربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:6,doy:12}})})(n(0))},function(t,e,n){(function(t){"use strict";var e={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},n={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"};t.defineLocale("ar-sa",{months:"يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(t){return"م"===t},meridiem:function(t,e,n){return t<12?"ص":"م"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},preparse:function(t){return t.replace(/[١٢٣٤٥٦٧٨٩٠]/g,function(t){return n[t]}).replace(/،/g,",")},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]}).replace(/,/g,"،")},week:{dow:0,doy:6}})})(n(0))},function(t,e,n){(function(t){"use strict";t.defineLocale("ar-tn",{months:انفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),monthsShort:انفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:1,doy:4}})})(n(0))},function(t,e,n){(function(t){"use strict";var n={1:"-inci",5:"-inci",8:"-inci",70:"-inci",80:"-inci",2:"-nci",7:"-nci",20:"-nci",50:"-nci",3:"-üncü",4:"-üncü",100:"-üncü",6:"-ncı",9:"-uncu",10:"-uncu",30:"-uncu",60:"-ıncı",90:"-ıncı"};t.defineLocale("az",{months:"yanvar_fevral_mart_aprel_may_iyun_iyul_avqust_sentyabr_oktyabr_noyabr_dekabr".split("_"),monthsShort:"yan_fev_mar_apr_may_iyn_iyl_avq_sen_okt_noy_dek".split("_"),weekdays:"Bazar_Bazar ertəsi_Çərşənbə axşamı_Çərşənbə_Cümə axşamı_Cümə_Şənbə".split("_"),weekdaysShort:"Baz_BzE_ÇAx_Çər_CAx_Cüm_Şən".split("_"),weekdaysMin:"Bz_BE_ÇA_Çə_CA_Cü_Şə".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bugün saat] LT",nextDay:"[sabah saat] LT",nextWeek:"[gələn həftə] dddd [saat] LT",lastDay:"[dünən] LT",lastWeek:"[keçən həftə] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s əvvəl",s:"birneçə saniyyə",ss:"%d saniyə",m:"bir dəqiqə",mm:"%d dəqiqə",h:"bir saat",hh:"%d saat",d:"bir gün",dd:"%d gün",M:"bir ay",MM:"%d ay",y:"bir il",yy:"%d il"},meridiemParse:/gecə|səhər|gündüz|axşam/,isPM:function(t){return/^(gündüz|axşam)$/.test(t)},meridiem:function(t,e,n){return t<4?"gecə":t<12?"səhər":t<17?"gündüz":"axşam"},dayOfMonthOrdinalParse:/\d{1,2}-(ıncı|inci|nci|üncü|ncı|uncu)/,ordinal:function(t){if(0===t)return t+"-ıncı";var e=t%10;return t+(n[e]||n[t%100-e]||n[100<=t?100:null])},week:{dow:1,doy:7}})})(n(0))},function(t,e,n){(function(t){"use strict";function e(t,e,n){var r,a;return"m"===n?e?"хвіліна":"хвіліну":"h"===n?e?"гадзіна":"гадзіну":t+" "+(r=+t,a={ss:e?"секунда_секунды_секунд":"секунду_секунды_секунд",mm:e?"хвіліна_хвіліны_хвілін":"хвіліну_хвіліны_хвілін",hh:e?"гадзіна_гадзіны_гадзін":"гадзіну_гадзіны_гадзін",dd:"дзень_дні_дзён",MM:есяц_месяцы_месяцаў",yy:"год_гады_гадоў"}[n].split("_"),r%10==1&&r%100!=11?a[0]:2<=r%10&&r%10<=4&&(r%100<10||20<=r%100)?a[1]:a[2])}t.defineLocale("be",{months:{format:"студзеня_лютага_сакавікарасавікараўня_чэрвеня_ліпеня_жніўня_верасня_кастрычнікаістапада_снежня".split("_"),standalone:"студзень_люты_сакавік_красавік_травень_чэрвень_ліпень_жнівень_верасень_кастрычнік_лістапад_снежань".split("_")},monthsShort:"студ_лют_сак_красрав_чэрв_ліп_жнів_вераст_ліст_снеж".split("_"),weekdays:{format:"нядзелю_панядзелак_аўторак_серадуацвер_пятніцу_суботу".split("_"),standalone:"нядзеля_панядзелак_аўторак_серадаацвер_пятніца_субота".split("_"),isFormat:/\[ ?[Вв] ?(?:мінулую|наступную)? ?\] ?dddd/},weekdaysShort:"нд_пн_ат_ср_чц_пт_сб".split("_"),weekdaysMin:"нд_пн_ат_ср_чц_пт_сб".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., HH:mm",LLLL:"dddd, D MMMM YYYY г., HH:mm"},calendar:{sameDay:"[Сёння ў] LT",nextDay:"[Заўтра ў] LT",lastDay:"[Учора ў] LT",nextWeek:function(){return"[У] dddd [ў] LT"},lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return"[У мінулую] dddd [ў] LT";case 1:case 2:case 4:return"[У мінулы] dddd [ў] LT"}},sameElse:"L"},relativeTime:{future:"праз %s",past:"%s таму",s:"некалькі секунд",m:e,mm:e,h:e,hh:e,d:"дзень",dd:e,M:"месяц",MM:e,y:"год",yy:e},meridiemParse:/ночы|раніцы|дня|вечара/,isPM:function(t){return/^(дня|вечара)$/.test(t)},meridiem:function(t,e,n){return t<4?"ночы":t<12?"раніцы":t<17?"дня":"вечара"},dayOfMonthOrdinalParse:/\d{1,2}-(і|ы|га)/,ordinal:function(t,e){switch(e){case"M":case"d":case"DDD":case"w":case"W":return t%10!=2&&t%10!=3||t%100==12||t%100==13?t+"-ы":t+"-і";case"D":return t+"-га";default:return t}},week:{dow:1,doy:7}})})(n(0))},function(t,e,n){(function(t){"use strict";t.defineLocale("bg",{months:"януари_февруари_март_април_май_юни_юли_август_септември_октомври_ноември_декември".split("_"),monthsShort:"янрев_мар_апрай_юни_юли_авг_сеп_окт_ноеек".split("_"),weekdays:еделя_понеделник_вторник_срядаетвъртък_петък_събота".split("_"),weekdaysShort:ед_пон_вто_сря_чет_пет_съб".split("_"),weekdaysMin:"нд_пн_вт_ср_чт_пт_сб".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[Днес в] LT",nextDay:"[Утре в] LT",nextWeek:"dddd [в] LT",lastDay:"[Вчера в] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[В изминалата] dddd [в] LT";case 1:case 2:case 4:case 5:return"[В изминалия] dddd [в] LT"}},sameElse:"L"},relativeTime:{future:"след %s",past:"преди %s",s:"няколко секунди",ss:"%d секунди",m:"минута",mm:"%d минути",h:"час",hh:"%d часа",d:"ден",dd:"%d дни",M:"месец",MM:"%d месеца",y:"година",yy:"%d години"},dayOfMonthOrdinalParse:/\d{1,2}-(ев|ен|ти|ви|ри|ми)/,ordinal:function(t){var e=t%10,n=t%100;return 0===t?t+"-ев":0===n?t+"-ен":10<n&&n<20?t+"-ти":1===e?t+"-ви":2===e?t+"-ри":7===e||8===e?t+"-ми":t+"-ти"},week:{dow:1,doy:7}})})(n(0))},function(t,e,n){(function(t){"use strict";t.defineLocale("bm",{months:"Zanwuyekalo_Fewuruyekalo_Marisikalo_Awirilikalo_Mɛkalo_Zuwɛnkalo_Zuluyekalo_Utikalo_Sɛtanburukalo_ɔkutɔburukalo_Nowanburukalo_Desanburukalo".split("_"),monthsShort:"Zan_Few_Mar_Awi_Mɛ_Zuw_Zul_Uti_Sɛt_ɔku_Now_Des".split("_"),weekdays:"Kari_Ntɛnɛn_Tarata_Araba_Alamisa_Juma_Sibiri".split("_"),weekdaysShort:"Kar_Ntɛ_Tar_Ara_Ala_Jum_Sib".split("_"),weekdaysMin:"Ka_Nt_Ta_Ar_Al_Ju_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"MMMM [tile] D [san] YYYY",LLL:"MMMM [tile] D [san] YYYY [lɛrɛ] HH:mm",LLLL:"dddd MMMM [tile] D [san] YYYY [lɛrɛ] HH:mm"},calendar:{sameDay:"[Bi lɛrɛ] LT",nextDay:"[Sini lɛrɛ] LT",nextWeek:"dddd [don lɛrɛ] LT",lastDay:"[Kunu lɛrɛ] LT",lastWeek:"dddd [tɛmɛnen lɛrɛ] LT",sameElse:"L"},relativeTime:{future:"%s kɔnɔ",past:"a bɛ %s bɔ",s:"sanga dama dama",ss:"sekondi %d",m:"miniti kelen",mm:"miniti %d",h:"lɛrɛ kelen",hh:"lɛrɛ %d",d:"tile kelen",dd:"tile %d",M:"kalo kelen",MM:"kalo %d",y:"san kelen",yy:"san %d"},week:{dow:1,doy:4}})})(n(0))},function(t,e,n){(function(t){"use strict";var e={1:"১",2:"২",3:"৩",4:"",5:"৫",6:"৬",7:"",8:"৮",9:"৯",0:""},n={"১":"1","২":"2","৩":"3","":"4","৫":"5","৬":"6","":"7","৮":"8","৯":"9","":"0"};t.defineLocale("bn",{months:"জানুয়ারী_ফেব্রুয়ারি_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্টেম্বর_অক্টোবর_নভেম্বর_ডিসেম্বর".split("_"),monthsShort:"জানু_ফেব_মার্চ_এপ্র_মে_জুন_জুল_আগ_সেপ্ট_অক্টো_নভে_ডিসে".split("_"),weekdays:"রবিবার_সোমবার_মঙ্গলবার_বুধবার_বৃহস্পতিবার_শুক্রবার_শনিবার".split("_"),weekdaysShort:"রবি_সোম_মঙ্গল_বুধ_বৃহস্পতি_শুক্র_শনি".split("_"),weekdaysMin:"রবি_সোম_মঙ্গ_বুধ_বৃহঃ_শুক্র_শনি".split("_"),longDateFormat:{LT:"A h:mm সময়",LTS:"A h:mm:ss সময়",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm সময়",LLLL:"dddd, D MMMM YYYY, A h:mm সময়"},calendar:{sameDay:"[আজ] LT",nextDay:"[আগামীকাল] LT",nextWeek:"dddd, LT",lastDay:"[গতকাল] LT",lastWeek:"[গত] dddd, LT",sameElse:"L"},relativeTime:{future:"%s পরে",past:"%s আগে",s:"কয়েক সেকেন্ড",ss:"%d সেকেন্ড",m:"এক মিনিট",mm:"%d মিনিট",h:"এক ঘন্টা",hh:"%d ঘন্টা",d:"এক দিন",dd:"%d দিন",M:"এক মাস",MM:"%d মাস",y:"এক বছর",yy:"%d বছর"},preparse:function(t){return t.replace(/[১২৩৪৫৬৭৮৯০]/g,function(t){return n[t]})},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]})},meridiemParse:/রাত|সকাল|দুপুর|বিকাল|রাত/,meridiemHour:function(t,e){return 12===t&&(t=0),"রাত"===e&&4<=t||"দুপুর"===e&&t<5||"বিকাল"===e?t+12:t},meridiem:function(t,e,n){return t<4?"রাত":t<10?"সকাল":t<17?"দুপুর":t<20?"বিকাল":"রাত"},week:{dow:0,doy:6}})})(n(0))},function(t,e,n){(function(t){"use strict";var e={1:"༡",2:"༢",3:"༣",4:"༤",5:"༥",6:"༦",7:"༧",8:"༨",9:"༩",0:"༠"},n={"༡":"1","༢":"2","༣":"3","༤":"4","༥":"5","༦":"6","༧":"7","༨":"8","༩":"9","༠":"0"};t.defineLocale("bo",{months:"ཟླ་བ་དང་པོ_ཟླ་བ་གཉིས་པ_ཟླ་བ་གསུམ་པ_ཟླ་བ་བཞི་པ_ཟླ་བ་ལྔ་པ_ཟླ་བ་དྲུག་པ_ཟླ་བ་བདུན་པ_ཟླ་བ་བརྒྱད་པ_ཟླ་བ་དགུ་པ_ཟླ་བ་བཅུ་པ_ཟླ་བ་བཅུ་གཅིག་པ_ཟླ་བ་བཅུ་གཉིས་པ".split("_"),monthsShort:"ཟླ་བ་དང་པོ_ཟླ་བ་གཉིས་པ_ཟླ་བ་གསུམ་པ_ཟླ་བ་བཞི་པ_ཟླ་བ་ལྔ་པ_ཟླ་བ་དྲུག་པ_ཟླ་བ་བདུན་པ_ཟླ་བ་བརྒྱད་པ_ཟླ་བ་དགུ་པ_ཟླ་བ་བཅུ་པ_ཟླ་བ་བཅུ་གཅིག་པ_ཟླ་བ་བཅུ་གཉིས་པ".split("_"),weekdays:"གཟའ་ཉི་མ་_གཟའ་ཟླ་བ་_གཟའ་མིག་དམར་_གཟའ་ལྷག་པ་_གཟའ་ཕུར་བུ_གཟའ་པ་སངས་_གཟའ་སྤེན་པ་".split("_"),weekdaysShort:"ཉི་མ་_ཟླ་བ་_མིག་དམར་_ལྷག་པ་_ཕུར་བུ_པ་སངས་_སྤེན་པ་".split("_"),weekdaysMin:"ཉི་མ་_ཟླ་བ་_མིག་དམར་_ལྷག་པ་_ཕུར་བུ_པ་སངས་_སྤེན་པ་".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[དི་རིང] LT",nextDay:"[སང་ཉིན] LT",nextWeek:"[བདུན་ཕྲག་རྗེས་མ], LT",lastDay:"[ཁ་སང] LT",lastWeek:"[བདུན་ཕྲག་མཐའ་མ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ལ་",past:"%s སྔན་ལ",s:"ལམ་སང",ss:"%d སྐར་ཆ།",m:"སྐར་མ་གཅིག",mm:"%d སྐར་མ",h:"ཆུ་ཚོད་གཅིག",hh:"%d ཆུ་ཚོད",d:"ཉིན་གཅིག",dd:"%d ཉིན་",M:"ཟླ་བ་གཅིག",MM:"%d ཟླ་བ",y:"ལོ་གཅིག",yy:"%d ལོ"},preparse:function(t){return t.replace(/[༡༢༣༤༥༦༧༨༩༠]/g,function(t){return n[t]})},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]})},meridiemParse:/མཚན་མོ|ཞོགས་ཀས|ཉིན་གུང|དགོང་དག|མཚན་མོ/,meridiemHour:function(t,e){return 12===t&&(t=0),"མཚན་མོ"===e&&4<=t||"ཉིན་གུང"===e&&t<5||"དགོང་དག"===e?t+12:t},meridiem:function(t,e,n){return t<4?"མཚན་མོ":t<10?"ཞོགས་ཀས":t<17?"ཉིན་གུང":t<20?"དགོང་དག":"མཚན་མོ"},week:{dow:0,doy:6}})})(n(0))},function(t,e,n){(function(t){"use strict";function e(t,e,n){return t+" "+function(t,e){if(2===e)return function(t){var e={m:"v",b:"v",d:"z"};if(void 0===e[t.charAt(0)])return t;return e[t.charAt(0)]+t.substring(1)}(t);return t}({mm:"munutenn",MM:"miz",dd:"devezh"}[n],t)}t.defineLocale("br",{months:"Genver_C'hwevrer_Meurzh_Ebrel_Mae_Mezheven_Gouere_Eost_Gwengolo_Here_Du_Kerzu".split("_"),monthsShort:"Gen_C'hwe_Meu_Ebr_Mae_Eve_Gou_Eos_Gwe_Her_Du_Ker".split("_"),weekdays:"Sul_Lun_Meurzh_Merc'her_Yaou_Gwener_Sadorn".split("_"),weekdaysShort:"Sul_Lun_Meu_Mer_Yao_Gwe_Sad".split("_"),weekdaysMin:"Su_Lu_Me_Mer_Ya_Gw_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h[e]mm A",LTS:"h[e]mm:ss A",L:"DD/MM/YYYY",LL:"D [a viz] MMMM YYYY",LLL:"D [a viz] MMMM YYYY h[e]mm A",LLLL:"dddd, D [a viz] MMMM YYYY h[e]mm A"},calendar:{sameDay:"[Hiziv da] LT",nextDay:"[Warc'hoazh da] LT",nextWeek:"dddd [da] LT",lastDay:"[Dec'h da] LT",lastWeek:"dddd [paset da] LT",sameElse:"L"},relativeTime:{future:"a-benn %s",past:"%s 'zo",s:"un nebeud segondennoù",ss:"%d eilenn",m:"ur vunutenn",mm:e,h:"un eur",hh:"%d eur",d:"un devezh",dd:e,M:"ur miz",MM:e,y:"ur bloaz",yy:function(t){switch(function t(e){return 9<e?t(e%10):e}(t)){case 1:case 3:case 4:case 5:case 9:return t+" bloaz";default:return t+" vloaz"}}},dayOfMonthOrdinalParse:/\d{1,2}(añ|vet)/,ordinal:function(t){return t+(1===t?"añ":"vet")},week:{dow:1,doy:4}})})(n(0))},function(t,e,n){(function(t){"use strict";function e(t,e,n){var r=t+" ";switch(n){case"ss":return r+=1===t?"sekunda":2===t||3===t||4===t?"sekunde":"sekundi";case"m":return e?"jedna minuta":"jedne minute";case"mm":return r+=1===t?"minuta":2===t||3===t||4===t?"minute":"minuta";case"h":return e?"jedan sat":"jednog sata";case"hh":return r+=1===t?"sat":2===t||3===t||4===t?"sata":"sati";case"dd":return r+=1===t?"dan":"dana";case"MM":return r+=1===t?"mjesec":2===t||3===t||4===t?"mjeseca":"mjeseci";case"yy":return r+=1===t?"godina":2===t||3===t||4===t?"godine":"godina"}}t.defineLocale("bs",{months:"januar_februar_mart_april_maj_juni_juli_august_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._aug._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[jučer u] LT",lastWeek:function(){switch(this.day()){case 0:case 3:return"[prošlu] dddd [u] LT";case 6:return"[prošle] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[prošli] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:e,m:e,mm:e,h:e,hh:e,d:"dan",dd:e,M:"mjesec",MM:e,y:"godinu",yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})})(n(0))},function(t,e,n){(function(t){"use strict";t.defineLocale("ca",{months:{standalone:"gener_febrer_març_abril_maig_juny_juliol_agost_setembre_octubre_novembre_desembre".split("_"),format:"de gener_de febrer_de març_d'abril_de maig_de juny_de juliol_d'agost_de setembre_d'octubre_de novembre_de desembre".split("_"),isFormat:/D[oD]?(\s)+MMMM/},monthsShort:"gen._febr._març_abr._maig_juny_jul._ag._set._oct._nov._des.".split("_"),monthsParseExact:!0,weekdays:"diumenge_dilluns_dimarts_dimecres_dijous_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dt._dc._dj._dv._ds.".split("_"),weekdaysMin:"dg_dl_dt_dc_dj_dv_ds".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",ll:"D MMM YYYY",LLL:"D MMMM [de] YYYY [a les] H:mm",lll:"D MMM YYYY, H:mm",LLLL:"dddd D MMMM [de] YYYY [a les] H:mm",llll:"ddd D MMM YYYY, H:mm"},calendar:{sameDay:function(){return"[avui a "+(1!==this.hours()?"les":"la")+"] LT"},nextDay:function(){return"[demà a "+(1!==this.hours()?"les":"la")+"] LT"},nextWeek:function(){return"dddd [a "+(1!==this.hours()?"les":"la")+"] LT"},lastDay:function(){return"[ahir a "+(1!==this.hours()?"les":"la")+"] LT"},lastWeek:function(){return"[el] dddd [passat a "+(1!==this.hours()?"les":"la")+"] LT"},sameElse:"L"},relativeTime:{future:"d'aquí %s",past:"fa %s",s:"uns segons",ss:"%d segons",m:"un minut",mm:"%d minuts",h:"una hora",hh:"%d hores",d:"un dia",dd:"%d dies",M:"un mes",MM:"%d mesos",y:"un any",yy:"%d anys"},dayOfMonthOrdinalParse:/\d{1,2}(r|n|t|è|a)/,ordinal:function(t,e){var n=1===t?"r":2===t?"n":3===t?"r":4===t?"t":"è";return"w"!==e&&"W"!==e||(n="a"),t+n},week:{dow:1,doy:4}})})(n(0))},function(t,e,n){(function(t){"use strict";var e="leden_únor_březen_duben_květen_červen_červenec_srpen_září_říjen_listopad_prosinec".split("_"),n="led_úno_bře_dub_kvě_čvn_čvc_srp_zář_říj_lis_pro".split("_");function i(t){return 1<t&&t<5&&1!=~~(t/10)}function r(t,e,n,r){var a=t+" ";switch(n){case"s":return e||r?"pár sekund":"pár sekundami";case"ss":return e||r?a+(i(t)?"sekundy":"sekund"):a+"sekundami";case"m":return e?"minuta":r?"minutu":"minutou";case"mm":return e||r?a+(i(t)?"minuty":"minut"):a+"minutami";case"h":return e?"hodina":r?"hodinu":"hodinou";case"hh":return e||r?a+(i(t)?"hodiny":"hodin"):a+"hodinami";case"d":return e||r?"den":"dnem";case"dd":return e||r?a+(i(t)?"dny":"dní"):a+"dny";case"M":return e||r?"měsíc":"měsícem";case"MM":return e||r?a+(i(t)?"měsíce":"měsíců"):a+"měsíci";case"y":return e||r?"rok":"rokem";case"yy":return e||r?a+(i(t)?"roky":"let"):a+"lety"}}t.defineLocale("cs",{months:e,monthsShort:n,monthsParse:function(t,e){var n,r=[];for(n=0;n<12;n++)r[n]=new RegExp("^"+t[n]+"$|^"+e[n]+"$","i");return r}(e,n),shortMonthsParse:function(t){var e,n=[];for(e=0;e<12;e++)n[e]=new RegExp("^"+t[e]+"$","i");return n}(n),longMonthsParse:function(t){var e,n=[];for(e=0;e<12;e++)n[e]=new RegExp("^"+t[e]+"$","i");return n}(e),weekdays:"neděle_pondělí_úterý_středa_čtvrtek_pátek_sobota".split("_"),weekdaysShort:"ne_po_út_st_čt_pá_so".split("_"),weekdaysMin:"ne_po_út_st_čt_pá_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm",l:"D. M. YYYY"},calendar:{sameDay:"[dnes v] LT",nextDay:"[zítra v] LT",nextWeek:function(){switch(this.day()){case 0:return"[v neděli v] LT";case 1:case 2:return"[v] dddd [v] LT";case 3:return"[ve středu v] LT";case 4:return"[ve čtvrtek v] LT";case 5:return"[v pátek v] LT";case 6:return"[v sobotu v] LT"}},lastDay:"[včera v] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulou neděli v] LT";case 1:case 2:return"[minulé] dddd [v] LT";case 3:return"[minulou středu v] LT";case 4:case 5:return"[minulý] dddd [v] LT";case 6:return"[minulou sobotu v] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"před %s",s:r,ss:r,m:r,mm:r,h:r,hh:r,d:r,dd:r,M:r,MM:r,y:r,yy:r},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})})(n(0))},function(t,e,n){(function(t){"use strict";t.defineLocale("cv",{months:"кӑрлач_нарӑс_пуш_акаай_ҫӗртме_утӑ_ҫурла_авӑн_юпа_чӳк_раштав".split("_"),monthsShort:"кӑрар_пуш_акаай_ҫӗр_утӑ_ҫур_авн_юпа_чӳк_раш".split("_"),weekdays:"вырсарникун_тунтикун_ытларикун_юнкун_кӗҫнерникун_эрнекун_шӑматкун".split("_"),weekdaysShort:"вырун_ытл_юн_кӗҫ_эрн_шӑм".split("_"),weekdaysMin:р_тн_ыт_юн_кҫ_эр_шм".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ]",LLL:"YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm",LLLL:"dddd, YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm"},calendar:{sameDay:"[Паян] LT [сехетре]",nextDay:"[Ыран] LT [сехетре]",lastDay:"[Ӗнер] LT [сехетре]",nextWeek:"[Ҫитес] dddd LT [сехетре]",lastWeek:"[Иртнӗ] dddd LT [сехетре]",sameElse:"L"},relativeTime:{future:function(t){return t+(/сехет$/i.exec(t)?"рен":/ҫул$/i.exec(t)?"тан":"ран")},past:"%s каялла",s:"пӗр-ик ҫеккунт",ss:"%d ҫеккунт",m:"пӗр минут",mm:"%d минут",h:"пӗр сехет",hh:"%d сехет",d:"пӗр кун",dd:"%d кун",M:"пӗр уйӑх",MM:"%d уйӑх",y:"пӗр ҫул",yy:"%d ҫул"},dayOfMonthOrdinalParse:/\d{1,2}-мӗш/,ordinal:"%d-мӗш",week:{dow:1,doy:7}})})(n(0))},function(t,e,n){(function(t){"use strict";t.defineLocale("cy",{months:"Ionawr_Chwefror_Mawrth_Ebrill_Mai_Mehefin_Gorffennaf_Awst_Medi_Hydref_Tachwedd_Rhagfyr".split("_"),monthsShort:"Ion_Chwe_Maw_Ebr_Mai_Meh_Gor_Aws_Med_Hyd_Tach_Rhag".split("_"),weekdays:"Dydd Sul_Dydd Llun_Dydd Mawrth_Dydd Mercher_Dydd Iau_Dydd Gwener_Dydd Sadwrn".split("_"),weekdaysShort:"Sul_Llun_Maw_Mer_Iau_Gwe_Sad".split("_"),weekdaysMin:"Su_Ll_Ma_Me_Ia_Gw_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Heddiw am] LT",nextDay:"[Yfory am] LT",nextWeek:"dddd [am] LT",lastDay:"[Ddoe am] LT",lastWeek:"dddd [diwethaf am] LT",sameElse:"L"},relativeTime:{future:"mewn %s",past:"%s yn ôl",s:"ychydig eiliadau",ss:"%d eiliad",m:"munud",mm:"%d munud",h:"awr",hh:"%d awr",d:"diwrnod",dd:"%d diwrnod",M:"mis",MM:"%d mis",y:"blwyddyn",yy:"%d flynedd"},dayOfMonthOrdinalParse:/\d{1,2}(fed|ain|af|il|ydd|ed|eg)/,ordinal:function(t){var e="";return 20<t?e=40===t||50===t||60===t||80===t||100===t?"fed":"ain":0<t&&(e=["","af","il","ydd","ydd","ed","ed","ed","fed","fed","fed","eg","fed","eg","eg","fed","eg","eg","fed","eg","fed"][t]),t+e},week:{dow:1,doy:4}})})(n(0))},function(t,e,n){(function(t){"use strict";t.defineLocale("da",{months:"januar_februar_marts_april_maj_juni_juli_august_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag".split("_"),weekdaysShort:"søn_man_tir_ons_tor_fre_lør".split("_"),weekdaysMin:"sø_ma_ti_on_to_fr_lø".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd [d.] D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"på dddd [kl.] LT",lastDay:"[i går kl.] LT",lastWeek:"[i] dddd[s kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"få sekunder",ss:"%d sekunder",m:"et minut",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dage",M:"en måned",MM:"%d måneder",y:"et år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})})(n(0))},function(t,e,n){(function(t){"use strict";function e(t,e,n,r){var a={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[t+" Tage",t+" Tagen"],M:["ein Monat","einem Monat"],MM:[t+" Monate",t+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[t+" Jahre",t+" Jahren"]};return e?a[n][0]:a[n][1]}t.defineLocale("de",{months:"Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:e,mm:"%d Minuten",h:e,hh:"%d Stunden",d:e,dd:e,M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})})(n(0))},function(t,e,n){(function(t){"use strict";function e(t,e,n,r){var a={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[t+" Tage",t+" Tagen"],M:["ein Monat","einem Monat"],MM:[t+" Monate",t+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[t+" Jahre",t+" Jahren"]};return e?a[n][0]:a[n][1]}t.defineLocale("de-at",{months:"Jänner_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jän._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:e,mm:"%d Minuten",h:e,hh:"%d Stunden",d:e,dd:e,M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})})(n(0))},function(t,e,n){(function(t){"use strict";function e(t,e,n,r){var a={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[t+" Tage",t+" Tagen"],M:["ein Monat","einem Monat"],MM:[t+" Monate",t+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[t+" Jahre",t+" Jahren"]};return e?a[n][0]:a[n][1]}t.defineLocale("de-ch",{months:"Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:e,mm:"%d Minuten",h:e,hh:"%d Stunden",d:e,dd:e,M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})})(n(0))},function(t,e,n){(function(t){"use strict";var e=["ޖެނުއަރީ","ފެބްރުއަރީ","މާރިޗު","އޭޕްރީލު","މޭ","ޖޫން","ޖުލައި","އޯގަސްޓު","ސެޕްޓެމްބަރު","އޮކްޓޯބަރު","ނޮވެމްބަރު","ޑިސެމްބަރު"],n=["އާދިއްތަ","ހޯމަ","އަންގާރަ","ބުދަ","ބުރާސްފަތި","ހުކުރު","ހޮނިހިރު"];t.defineLocale("dv",{months:e,monthsShort:e,weekdays:n,weekdaysShort:n,weekdaysMin:"އާދި_ހޯމަ_އަން_ބުދަ_ބުރާ_ހުކު_ހޮނި".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/M/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/މކ|މފ/,isPM:function(t){return"މފ"===t},meridiem:function(t,e,n){return t<12?"މކ":"މފ"},calendar:{sameDay:"[މިއަދު] LT",nextDay:"[މާދަމާ] LT",nextWeek:"dddd LT",lastDay:"[އިއްޔެ] LT",lastWeek:"[ފާއިތުވި] dddd LT",sameElse:"L"},relativeTime:{future:"ތެރޭގައި %s",past:"ކުރިން %s",s:"ސިކުންތުކޮޅެއް",ss:"d% ސިކުންތު",m:"މިނިޓެއް",mm:"މިނިޓު %d",h:"ގަޑިއިރެއް",hh:"ގަޑިއިރު %d",d:"ދުވަހެއް",dd:"ދުވަސް %d",M:"މަހެއް",MM:"މަސް %d",y:"އަހަރެއް",yy:"އަހަރު %d"},preparse:function(t){return t.replace(/،/g,",")},postformat:function(t){return t.replace(/,/g,"،")},week:{dow:7,doy:12}})})(n(0))},function(t,e,n){(function(t){"use strict";t.defineLocale("el",{monthsNominativeEl:"Ιανουάριος_Φεβρουάριος_Μάρτιος_Απρίλιος_Μάιος_Ιούνιος_Ιούλιος_Αύγουστος_Σεπτέμβριος_Οκτώβριος_Νοέμβριος_Δεκέμβριος".split("_"),monthsGenitiveEl:"Ιανουαρίου_Φεβρουαρίου_Μαρτίου_Απριλίου_Μαΐου_Ιουνίου_Ιουλίου_Αυγούστου_Σεπτεμβρίου_Οκτωβρίου_Νοεμβρίου_Δεκεμβρίου".split("_"),months:function(t,e){return t?"string"==typeof e&&/D/.test(e.substring(0,e.indexOf("MMMM")))?this._monthsGenitiveEl[t.month()]:this._monthsNominativeEl[t.month()]:this._monthsNominativeEl},monthsShort:"Ιαν_Φεβ_Μαρ_Απρ_Μαϊ_Ιουν_Ιουλ_Αυγ_Σεπ_Οκτ_Νοε_Δεκ".split("_"),weekdays:"Κυριακή_Δευτέρα_Τρίτη_Τετάρτη_Πέμπτη_Παρασκευή_Σάββατο".split("_"),weekdaysShort:"Κυρ_Δευ_Τρι_Τετ_Πεμ_Παραβ".split("_"),weekdaysMin:"Κυ_Δε_Τρ_Τε_Πε_Παα".split("_"),meridiem:function(t,e,n){return 11<t?n?"μμ":"ΜΜ":n?"πμ":"ΠΜ"},isPM:function(t){return"μ"===(t+"").toLowerCase()[0]},meridiemParse:/[ΠΜ]\.?Μ?\.?/i,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendarEl:{sameDay:"[Σήμερα {}] LT",nextDay:"[Αύριο {}] LT",nextWeek:"dddd [{}] LT",lastDay:"[Χθες {}] LT",lastWeek:function(){switch(this.day()){case 6:return"[το προηγούμενο] dddd [{}] LT";default:return"[την προηγούμενη] dddd [{}] LT"}},sameElse:"L"},calendar:function(t,e){var n,r=this._calendarEl[t],a=e&&e.hours();return((n=r)instanceof Function||"[object Function]"===Object.prototype.toString.call(n))&&(r=r.apply(e)),r.replace("{}",a%12==1?"στη":"στις")},relativeTime:{future:"σε %s",past:"%s πριν",s:"λίγα δευτερόλεπτα",ss:"%d δευτερόλεπτα",m:"ένα λεπτό",mm:"%d λεπτά",h:"μία ώρα",hh:"%d ώρες",d:"μία μέρα",dd:"%d μέρες",M:"ένας μήνας",MM:"%d μήνες",y:"ένας χρόνος",yy:"%d χρόνια"},dayOfMonthOrdinalParse:/\d{1,2}η/,ordinal:"%dη",week:{dow:1,doy:4}})})(n(0))},function(t,e,n){(function(t){"use strict";t.defineLocale("en-au",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(t){var e=t%10;return t+(1==~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")},week:{dow:1,doy:4}})})(n(0))},function(t,e,n){(function(t){"use strict";t.defineLocale("en-ca",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"YYYY-MM-DD",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(t){var e=t%10;return t+(1==~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")}})})(n(0))},function(t,e,n){(function(t){"use strict";t.defineLocale("en-gb",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(t){var e=t%10;return t+(1==~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")},week:{dow:1,doy:4}})})(n(0))},function(t,e,n){(function(t){"use strict";t.defineLocale("en-ie",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(t){var e=t%10;return t+(1==~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")},week:{dow:1,doy:4}})})(n(0))},function(t,e,n){(function(t){"use strict";t.defineLocale("en-nz",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(t){var e=t%10;return t+(1==~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")},week:{dow:1,doy:4}})})(n(0))},function(t,e,n){(function(t){"use strict";t.defineLocale("eo",{months:"januaro_februaro_marto_aprilo_majo_junio_julio_aŭgusto_septembro_oktobro_novembro_decembro".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aŭg_sep_okt_nov_dec".split("_"),weekdays:"dimanĉo_lundo_mardo_merkredo_ĵaŭdo_vendredo_sabato".split("_"),weekdaysShort:"dim_lun_mard_merk_ĵaŭ_ven_sab".split("_"),weekdaysMin:"di_lu_ma_me_ĵa_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D[-a de] MMMM, YYYY",LLL:"D[-a de] MMMM, YYYY HH:mm",LLLL:"dddd, [la] D[-a de] MMMM, YYYY HH:mm"},meridiemParse:/[ap]\.t\.m/i,isPM:function(t){return"p"===t.charAt(0).toLowerCase()},meridiem:function(t,e,n){return 11<t?n?"p.t.m.":"P.T.M.":n?"a.t.m.":"A.T.M."},calendar:{sameDay:"[Hodiaŭ je] LT",nextDay:"[Morgaŭ je] LT",nextWeek:"dddd [je] LT",lastDay:"[Hieraŭ je] LT",lastWeek:"[pasinta] dddd [je] LT",sameElse:"L"},relativeTime:{future:"post %s",past:"antaŭ %s",s:"sekundoj",ss:"%d sekundoj",m:"minuto",mm:"%d minutoj",h:"horo",hh:"%d horoj",d:"tago",dd:"%d tagoj",M:"monato",MM:"%d monatoj",y:"jaro",yy:"%d jaroj"},dayOfMonthOrdinalParse:/\d{1,2}a/,ordinal:"%da",week:{dow:1,doy:7}})})(n(0))},function(t,e,n){(function(t){"use strict";var n="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),r="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),e=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],a=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;t.defineLocale("es",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(t,e){return t?/-MMM-/.test(e)?r[t.month()]:n[t.month()]:n},monthsRegex:a,monthsShortRegex:a,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:e,longMonthsParse:e,shortMonthsParse:e,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})})(n(0))},function(t,e,n){(function(t){"use strict";var n="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),r="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),e=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],a=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;t.defineLocale("es-do",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(t,e){return t?/-MMM-/.test(e)?r[t.month()]:n[t.month()]:n},monthsRegex:a,monthsShortRegex:a,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:e,longMonthsParse:e,shortMonthsParse:e,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})})(n(0))},function(t,e,n){(function(t){"use strict";var n="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),r="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_");t.defineLocale("es-us",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(t,e){return t?/-MMM-/.test(e)?r[t.month()]:n[t.month()]:n},monthsParseExact:!0,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"MM/DD/YYYY",LL:"MMMM [de] D [de] YYYY",LLL:"MMMM [de] D [de] YYYY h:mm A",LLLL:"dddd, MMMM [de] D [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:0,doy:6}})})(n(0))},function(t,e,n){(function(t){"use strict";function e(t,e,n,r){var a={s:["mõne sekundi","mõni sekund","paar sekundit"],ss:[t+"sekundi",t+"sekundit"],m:["ühe minuti","üks minut"],mm:[t+" minuti",t+" minutit"],h:["ühe tunni","tund aega","üks tund"],hh:[t+" tunni",t+" tundi"],d:["ühe päeva","üks päev"],M:["kuu aja","kuu aega","üks kuu"],MM:[t+" kuu",t+" kuud"],y:["ühe aasta","aasta","üks aasta"],yy:[t+" aasta",t+" aastat"]};return e?a[n][2]?a[n][2]:a[n][1]:r?a[n][0]:a[n][1]}t.defineLocale("et",{months:"jaanuar_veebruar_märts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember".split("_"),monthsShort:"jaan_veebr_märts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets".split("_"),weekdays:"pühapäev_esmaspäev_teisipäev_kolmapäev_neljapäev_reede_laupäev".split("_"),weekdaysShort:"P_E_T_K_N_R_L".split("_"),weekdaysMin:"P_E_T_K_N_R_L".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[Täna,] LT",nextDay:"[Homme,] LT",nextWeek:"[Järgmine] dddd LT",lastDay:"[Eile,] LT",lastWeek:"[Eelmine] dddd LT",sameElse:"L"},relativeTime:{future:"%s pärast",past:"%s tagasi",s:e,ss:e,m:e,mm:e,h:e,hh:e,d:e,dd:"%d päeva",M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})})(n(0))},function(t,e,n){(function(t){"use strict";t.defineLocale("eu",{months:"urtarrila_otsaila_martxoa_apirila_maiatza_ekaina_uztaila_abuztua_iraila_urria_azaroa_abendua".split("_"),monthsShort:"urt._ots._mar._api._mai._eka._uzt._abu._ira._urr._aza._abe.".split("_"),monthsParseExact:!0,weekdays:"igandea_astelehena_asteartea_asteazkena_osteguna_ostirala_larunbata".split("_"),weekdaysShort:"ig._al._ar._az._og._ol._lr.".split("_"),weekdaysMin:"ig_al_ar_az_og_ol_lr".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY[ko] MMMM[ren] D[a]",LLL:"YYYY[ko] MMMM[ren] D[a] HH:mm",LLLL:"dddd, YYYY[ko] MMMM[ren] D[a] HH:mm",l:"YYYY-M-D",ll:"YYYY[ko] MMM D[a]",lll:"YYYY[ko] MMM D[a] HH:mm",llll:"ddd, YYYY[ko] MMM D[a] HH:mm"},calendar:{sameDay:"[gaur] LT[etan]",nextDay:"[bihar] LT[etan]",nextWeek:"dddd LT[etan]",lastDay:"[atzo] LT[etan]",lastWeek:"[aurreko] dddd LT[etan]",sameElse:"L"},relativeTime:{future:"%s barru",past:"duela %s",s:"segundo batzuk",ss:"%d segundo",m:"minutu bat",mm:"%d minutu",h:"ordu bat",hh:"%d ordu",d:"egun bat",dd:"%d egun",M:"hilabete bat",MM:"%d hilabete",y:"urte bat",yy:"%d urte"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})})(n(0))},function(t,e,n){(function(t){"use strict";var e={1:"۱",2:"۲",3:"۳",4:"۴",5:"۵",6:"۶",7:"۷",8:"۸",9:"۹",0:"۰"},n={"۱":"1","۲":"2","۳":"3","۴":"4","۵":"5","۶":"6","۷":"7","۸":"8","۹":"9","۰":"0"};t.defineLocale("fa",{months:انویه_فوریهارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر".split("_"),monthsShort:انویه_فوریهارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر".split("_"),weekdays:"یکشنبه_دوشنبههشنبههارشنبه_پنجشنبه_جمعه_شنبه".split("_"),weekdaysShort:"یکشنبه_دوشنبههشنبههارشنبه_پنجشنبه_جمعه_شنبه".split("_"),weekdaysMin:"ی_د_س_چ_پ_ج_ش".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/قبل از ظهر|بعد از ظهر/,isPM:function(t){return/بعد از ظهر/.test(t)},meridiem:function(t,e,n){return t<12?"قبل از ظهر":"بعد از ظهر"},calendar:{sameDay:"[امروز ساعت] LT",nextDay:"[فردا ساعت] LT",nextWeek:"dddd [ساعت] LT",lastDay:"[دیروز ساعت] LT",lastWeek:"dddd [پیش] [ساعت] LT",sameElse:"L"},relativeTime:{future:"در %s",past:"%s پیش",s:"چند ثانیه",ss:"ثانیه d%",m:"یک دقیقه",mm:"%d دقیقه",h:"یک ساعت",hh:"%d ساعت",d:"یک روز",dd:"%d روز",M:"یک ماه",MM:"%d ماه",y:"یک سال",yy:"%d سال"},preparse:function(t){return t.replace(/[۰-۹]/g,function(t){return n[t]}).replace(/،/g,",")},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]}).replace(/,/g,"،")},dayOfMonthOrdinalParse:/\d{1,2}م/,ordinal:"%dم",week:{dow:6,doy:12}})})(n(0))},function(t,e,n){(function(t){"use strict";var o="nolla yksi kaksi kolme neljä viisi kuusi seitsemän kahdeksan yhdeksän".split(" "),u=["nolla","yhden","kahden","kolmen","neljän","viiden","kuuden",o[7],o[8],o[9]];function e(t,e,n,r){var a,i,s="";switch(n){case"s":return r?"muutaman sekunnin":"muutama sekunti";case"ss":return r?"sekunnin":"sekuntia";case"m":return r?"minuutin":"minuutti";case"mm":s=r?"minuutin":"minuuttia";break;case"h":return r?"tunnin":"tunti";case"hh":s=r?"tunnin":"tuntia";break;case"d":return r?"päivän":"päivä";case"dd":s=r?"päivän":"päivää";break;case"M":return r?"kuukauden":"kuukausi";case"MM":s=r?"kuukauden":"kuukautta";break;case"y":return r?"vuoden":"vuosi";case"yy":s=r?"vuoden":"vuotta"}return i=r,s=((a=t)<10?i?u[a]:o[a]:a)+" "+s}t.defineLocale("fi",{months:"tammikuu_helmikuu_maaliskuu_huhtikuu_toukokuu_kesäkuu_heinäkuu_elokuu_syyskuu_lokakuu_marraskuu_joulukuu".split("_"),monthsShort:"tammi_helmi_maalis_huhti_touko_kesä_heinä_elo_syys_loka_marras_joulu".split("_"),weekdays:"sunnuntai_maanantai_tiistai_keskiviikko_torstai_perjantai_lauantai".split("_"),weekdaysShort:"su_ma_ti_ke_to_pe_la".split("_"),weekdaysMin:"su_ma_ti_ke_to_pe_la".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"Do MMMM[ta] YYYY",LLL:"Do MMMM[ta] YYYY, [klo] HH.mm",LLLL:"dddd, Do MMMM[ta] YYYY, [klo] HH.mm",l:"D.M.YYYY",ll:"Do MMM YYYY",lll:"Do MMM YYYY, [klo] HH.mm",llll:"ddd, Do MMM YYYY, [klo] HH.mm"},calendar:{sameDay:"[tänään] [klo] LT",nextDay:"[huomenna] [klo] LT",nextWeek:"dddd [klo] LT",lastDay:"[eilen] [klo] LT",lastWeek:"[viime] dddd[na] [klo] LT",sameElse:"L"},relativeTime:{future:"%s päästä",past:"%s sitten",s:e,ss:e,m:e,mm:e,h:e,hh:e,d:e,dd:e,M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})})(n(0))},function(t,e,n){(function(t){"use strict";t.defineLocale("fo",{months:"januar_februar_mars_apríl_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),weekdays:"sunnudagur_mánadagur_týsdagur_mikudagur_hósdagur_fríggjadagur_leygardagur".split("_"),weekdaysShort:"sun_mán_týs_mik_hós_frí_ley".split("_"),weekdaysMin:"su_má_tý_mi_hó_fr_le".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D. MMMM, YYYY HH:mm"},calendar:{sameDay:"[Í dag kl.] LT",nextDay:"[Í morgin kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[Í gjár kl.] LT",lastWeek:"[síðstu] dddd [kl] LT",sameElse:"L"},relativeTime:{future:"um %s",past:"%s síðani",s:"fá sekund",ss:"%d sekundir",m:"ein minutt",mm:"%d minuttir",h:"ein tími",hh:"%d tímar",d:"ein dagur",dd:"%d dagar",M:"ein mánaði",MM:"%d mánaðir",y:"eitt ár",yy:"%d ár"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})})(n(0))},function(t,e,n){(function(t){"use strict";t.defineLocale("fr",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourdhui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|)/,ordinal:function(t,e){switch(e){case"D":return t+(1===t?"er":"");default:case"M":case"Q":case"DDD":case"d":return t+(1===t?"er":"e");case"w":case"W":return t+(1===t?"re":"e")}},week:{dow:1,doy:4}})})(n(0))},function(t,e,n){(function(t){"use strict";t.defineLocale("fr-ca",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourdhui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(t,e){switch(e){default:case"M":case"Q":case"D":case"DDD":case"d":return t+(1===t?"er":"e");case"w":case"W":return t+(1===t?"re":"e")}}})})(n(0))},function(t,e,n){(function(t){"use strict";t.defineLocale("fr-ch",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourdhui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(t,e){switch(e){default:case"M":case"Q":case"D":case"DDD":case"d":return t+(1===t?"er":"e");case"w":case"W":return t+(1===t?"re":"e")}},week:{dow:1,doy:4}})})(n(0))},function(t,e,n){(function(t){"use strict";var n="jan._feb._mrt._apr._mai_jun._jul._aug._sep._okt._nov._des.".split("_"),r="jan_feb_mrt_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_");t.defineLocale("fy",{months:"jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber".split("_"),monthsShort:function(t,e){return t?/-MMM-/.test(e)?r[t.month()]:n[t.month()]:n},monthsParseExact:!0,weekdays:"snein_moandei_tiisdei_woansdei_tongersdei_freed_sneon".split("_"),weekdaysShort:"si._mo._ti._wo._to._fr._so.".split("_"),weekdaysMin:"Si_Mo_Ti_Wo_To_Fr_So".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[hjoed om] LT",nextDay:"[moarn om] LT",nextWeek:"dddd [om] LT",lastDay:"[juster om] LT",lastWeek:"[ôfrûne] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oer %s",past:"%s lyn",s:"in pear sekonden",ss:"%d sekonden",m:"ien minút",mm:"%d minuten",h:"ien oere",hh:"%d oeren",d:"ien dei",dd:"%d dagen",M:"ien moanne",MM:"%d moannen",y:"ien jier",yy:"%d jierren"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(t){return t+(1===t||8===t||20<=t?"ste":"de")},week:{dow:1,doy:4}})})(n(0))},function(t,e,n){(function(t){"use strict";t.defineLocale("gd",{months:["Am Faoilleach","An Gearran","Am Màrt","An Giblean","An Cèitean","An t-Ògmhios","An t-Iuchar","An Lùnastal","An t-Sultain","An Dàmhair","An t-Samhain","An Dùbhlachd"],monthsShort:["Faoi","Gear","Màrt","Gibl","Cèit","Ògmh","Iuch","Lùn","Sult","Dàmh","Samh","Dùbh"],monthsParseExact:!0,weekdays:["Didòmhnaich","Diluain","Dimàirt","Diciadain","Diardaoin","Dihaoine","Disathairne"],weekdaysShort:["Did","Dil","Dim","Dic","Dia","Dih","Dis"],weekdaysMin:["Dò","Lu","Mà","Ci","Ar","Ha","Sa"],longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[An-diugh aig] LT",nextDay:"[A-màireach aig] LT",nextWeek:"dddd [aig] LT",lastDay:"[An-dè aig] LT",lastWeek:"dddd [seo chaidh] [aig] LT",sameElse:"L"},relativeTime:{future:"ann an %s",past:"bho chionn %s",s:"beagan diogan",ss:"%d diogan",m:"mionaid",mm:"%d mionaidean",h:"uair",hh:"%d uairean",d:"latha",dd:"%d latha",M:"mìos",MM:"%d mìosan",y:"bliadhna",yy:"%d bliadhna"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(t){return t+(1===t?"d":t%10==2?"na":"mh")},week:{dow:1,doy:4}})})(n(0))},function(t,e,n){(function(t){"use strict";t.defineLocale("gl",{months:"xaneiro_febreiro_marzo_abril_maio_xuño_xullo_agosto_setembro_outubro_novembro_decembro".split("_"),monthsShort:"xan._feb._mar._abr._mai._xuñ._xul._ago._set._out._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"domingo_luns_martes_mércores_xoves_venres_sábado".split("_"),weekdaysShort:"dom._lun._mar._mér._xov._ven._sáb.".split("_"),weekdaysMin:"do_lu_ma_mé_xo_ve_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoxe "+(1!==this.hours()?"ás":"á")+"] LT"},nextDay:function(){return"[mañá "+(1!==this.hours()?"ás":"á")+"] LT"},nextWeek:function(){return"dddd ["+(1!==this.hours()?"ás":"a")+"] LT"},lastDay:function(){return"[onte "+(1!==this.hours()?"á":"a")+"] LT"},lastWeek:function(){return"[o] dddd [pasado "+(1!==this.hours()?"ás":"a")+"] LT"},sameElse:"L"},relativeTime:{future:function(t){return 0===t.indexOf("un")?"n"+t:"en "+t},past:"hai %s",s:"uns segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"unha hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})})(n(0))},function(t,e,n){(function(t){"use strict";function e(t,e,n,r){var a={s:["thodde secondanim","thodde second"],ss:[t+" secondanim",t+" second"],m:["eka mintan","ek minute"],mm:[t+" mintanim",t+" mintam"],h:["eka horan","ek hor"],hh:[t+" horanim",t+" hor"],d:["eka disan","ek dis"],dd:[t+" disanim",t+" dis"],M:["eka mhoinean","ek mhoino"],MM:[t+" mhoineanim",t+" mhoine"],y:["eka vorsan","ek voros"],yy:[t+" vorsanim",t+" vorsam"]};return e?a[n][0]:a[n][1]}t.defineLocale("gom-latn",{months:"Janer_Febrer_Mars_Abril_Mai_Jun_Julai_Agost_Setembr_Otubr_Novembr_Dezembr".split("_"),monthsShort:"Jan._Feb._Mars_Abr._Mai_Jun_Jul._Ago._Set._Otu._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Aitar_Somar_Mongllar_Budvar_Brestar_Sukrar_Son'var".split("_"),weekdaysShort:"Ait._Som._Mon._Bud._Bre._Suk._Son.".split("_"),weekdaysMin:"Ai_Sm_Mo_Bu_Br_Su_Sn".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A h:mm [vazta]",LTS:"A h:mm:ss [vazta]",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY A h:mm [vazta]",LLLL:"dddd, MMMM[achea] Do, YYYY, A h:mm [vazta]",llll:"ddd, D MMM YYYY, A h:mm [vazta]"},calendar:{sameDay:"[Aiz] LT",nextDay:"[Faleam] LT",nextWeek:"[Ieta to] dddd[,] LT",lastDay:"[Kal] LT",lastWeek:"[Fatlo] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s adim",s:e,ss:e,m:e,mm:e,h:e,hh:e,d:e,dd:e,M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}(er)/,ordinal:function(t,e){switch(e){case"D":return t+"er";default:case"M":case"Q":case"DDD":case"d":case"w":case"W":return t}},week:{dow:1,doy:4},meridiemParse:/rati|sokalli|donparam|sanje/,meridiemHour:function(t,e){return 12===t&&(t=0),"rati"===e?t<4?t:t+12:"sokalli"===e?t:"donparam"===e?12<t?t:t+12:"sanje"===e?t+12:void 0},meridiem:function(t,e,n){return t<4?"rati":t<12?"sokalli":t<16?"donparam":t<20?"sanje":"rati"}})})(n(0))},function(t,e,n){(function(t){"use strict";var e={1:"૧",2:"૨",3:"૩",4:"૪",5:"૫",6:"૬",7:"૭",8:"૮",9:"૯",0:""},n={"૧":"1","૨":"2","૩":"3","૪":"4","૫":"5","૬":"6","૭":"7","૮":"8","૯":"9","":"0"};t.defineLocale("gu",{months:"જાન્યુઆરી_ફેબ્રુઆરી_માર્ચ_એપ્રિલ_મે_જૂન_જુલાઈ_ઑગસ્ટ_સપ્ટેમ્બર_ઑક્ટ્બર_નવેમ્બર_ડિસેમ્બર".split("_"),monthsShort:"જાન્યુ._ફેબ્રુ._માર્ચ_એપ્રિ._મે_જૂન_જુલા._ઑગ._સપ્ટે._ઑક્ટ્._નવે._ડિસે.".split("_"),monthsParseExact:!0,weekdays:"રવિવાર_સોમવાર_મંગળવાર_બુધ્વાર_ગુરુવાર_શુક્રવાર_શનિવાર".split("_"),weekdaysShort:"રવિ_સોમ_મંગળ_બુધ્_ગુરુ_શુક્ર_શનિ".split("_"),weekdaysMin:"ર_સો_મં_બુ_ગુ_શુ_શ".split("_"),longDateFormat:{LT:"A h:mm વાગ્યે",LTS:"A h:mm:ss વાગ્યે",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm વાગ્યે",LLLL:"dddd, D MMMM YYYY, A h:mm વાગ્યે"},calendar:{sameDay:"[આજ] LT",nextDay:"[કાલે] LT",nextWeek:"dddd, LT",lastDay:"[ગઇકાલે] LT",lastWeek:"[પાછલા] dddd, LT",sameElse:"L"},relativeTime:{future:"%s મા",past:"%s પેહલા",s:"અમુક પળો",ss:"%d સેકંડ",m:"એક મિનિટ",mm:"%d મિનિટ",h:"એક કલાક",hh:"%d કલાક",d:"એક દિવસ",dd:"%d દિવસ",M:"એક મહિનો",MM:"%d મહિનો",y:"એક વર્ષ",yy:"%d વર્ષ"},preparse:function(t){return t.replace(/[૧૨૩૪૫૬૭૮૯૦]/g,function(t){return n[t]})},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]})},meridiemParse:/રાત|બપોર|સવાર|સાંજ/,meridiemHour:function(t,e){return 12===t&&(t=0),"રાત"===e?t<4?t:t+12:"સવાર"===e?t:"બપોર"===e?10<=t?t:t+12:"સાંજ"===e?t+12:void 0},meridiem:function(t,e,n){return t<4?"રાત":t<10?"સવાર":t<17?"બપોર":t<20?"સાંજ":"રાત"},week:{dow:0,doy:6}})})(n(0))},function(t,e,n){(function(t){"use strict";t.defineLocale("he",{months:"ינואר_פברואר_מרץ_אפריל_מאי_יוני_יוליוגוסט_ספטמבר_אוקטובר_נובמבר_דצמבר".split("_"),monthsShort:"ינו׳_פבר׳_מרץ_אפר׳_מאי_יוני_יוליוג׳_ספט׳וק׳וב׳_דצמ׳".split("_"),weekdays:"ראשון_שני_שלישי_רביעי_חמישיישי_שבת".split("_"),weekdaysShort:׳׳׳׳׳_ו׳׳".split("_"),weekdaysMin:"א_ב_ג_ד_ה_ו_ש".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [ב]MMMM YYYY",LLL:"D [ב]MMMM YYYY HH:mm",LLLL:"dddd, D [ב]MMMM YYYY HH:mm",l:"D/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[היום ב־]LT",nextDay:"[מחר ב־]LT",nextWeek:"dddd [בשעה] LT",lastDay:"[אתמול ב־]LT",lastWeek:"[ביום] dddd [האחרון בשעה] LT",sameElse:"L"},relativeTime:{future:"בעוד %s",past:"לפני %s",s:"מספר שניות",ss:"%d שניות",m:"דקה",mm:"%d דקות",h:"שעה",hh:function(t){return 2===t?"שעתיים":t+" שעות"},d:"יום",dd:function(t){return 2===t?"יומיים":t+" ימים"},M:"חודש",MM:function(t){return 2===t?"חודשיים":t+" חודשים"},y:"שנה",yy:function(t){return 2===t?"שנתיים":t%10==0&&10!==t?t+" שנה":t+" שנים"}},meridiemParse:/אחה"צ|לפנה"צ|אחרי הצהריים|לפני הצהריים|לפנות בוקר|בבוקר|בערב/i,isPM:function(t){return/^(אחה"צ|אחרי הצהריים|בערב)$/.test(t)},meridiem:function(t,e,n){return t<5?"לפנות בוקר":t<10?"בבוקר":t<12?n?'לפנה"צ':"לפני הצהריים":t<18?n?'אחה"צ':"אחרי הצהריים":"בערב"}})})(n(0))},function(t,e,n){(function(t){"use strict";var e={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:""},n={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","":"0"};t.defineLocale("hi",{months:"जनवरी_फ़रवरी_मार्च_अप्रैल_मई_जून_जुलाई_अगस्त_सितम्बर_अक्टूबर_नवम्बर_दिसम्बर".split("_"),monthsShort:"जन._फ़र._मार्च_अप्रै._मई_जून_जुल._अग._सित._अक्टू._नव._दिस.".split("_"),monthsParseExact:!0,weekdays:"रविवार_सोमवार_मंगलवार_बुधवार_गुरूवार_शुक्रवार_शनिवार".split("_"),weekdaysShort:"रवि_सोम_मंगल_बुध_गुरू_शुक्र_शनि".split("_"),weekdaysMin:"र_सो_मं_बु_गु_शु_श".split("_"),longDateFormat:{LT:"A h:mm बजे",LTS:"A h:mm:ss बजे",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm बजे",LLLL:"dddd, D MMMM YYYY, A h:mm बजे"},calendar:{sameDay:"[आज] LT",nextDay:"[कल] LT",nextWeek:"dddd, LT",lastDay:"[कल] LT",lastWeek:"[पिछले] dddd, LT",sameElse:"L"},relativeTime:{future:"%s में",past:"%s पहले",s:"कुछ ही क्षण",ss:"%d सेकंड",m:"एक मिनट",mm:"%d मिनट",h:"एक घंटा",hh:"%d घंटे",d:"एक दिन",dd:"%d दिन",M:"एक महीने",MM:"%d महीने",y:"एक वर्ष",yy:"%d वर्ष"},preparse:function(t){return t.replace(/[१२३४५६७८९०]/g,function(t){return n[t]})},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]})},meridiemParse:/रात|सुबह|दोपहर|शाम/,meridiemHour:function(t,e){return 12===t&&(t=0),"रात"===e?t<4?t:t+12:"सुबह"===e?t:"दोपहर"===e?10<=t?t:t+12:"शाम"===e?t+12:void 0},meridiem:function(t,e,n){return t<4?"रात":t<10?"सुबह":t<17?"दोपहर":t<20?"शाम":"रात"},week:{dow:0,doy:6}})})(n(0))},function(t,e,n){(function(t){"use strict";function e(t,e,n){var r=t+" ";switch(n){case"ss":return r+=1===t?"sekunda":2===t||3===t||4===t?"sekunde":"sekundi";case"m":return e?"jedna minuta":"jedne minute";case"mm":return r+=1===t?"minuta":2===t||3===t||4===t?"minute":"minuta";case"h":return e?"jedan sat":"jednog sata";case"hh":return r+=1===t?"sat":2===t||3===t||4===t?"sata":"sati";case"dd":return r+=1===t?"dan":"dana";case"MM":return r+=1===t?"mjesec":2===t||3===t||4===t?"mjeseca":"mjeseci";case"yy":return r+=1===t?"godina":2===t||3===t||4===t?"godine":"godina"}}t.defineLocale("hr",{months:{format:"siječnja_veljače_ožujka_travnja_svibnja_lipnja_srpnja_kolovoza_rujna_listopada_studenoga_prosinca".split("_"),standalone:"siječanj_veljača_ožujak_travanj_svibanj_lipanj_srpanj_kolovoz_rujan_listopad_studeni_prosinac".split("_")},monthsShort:"sij._velj._ožu._tra._svi._lip._srp._kol._ruj._lis._stu._pro.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[jučer u] LT",lastWeek:function(){switch(this.day()){case 0:case 3:return"[prošlu] dddd [u] LT";case 6:return"[prošle] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[prošli] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:e,m:e,mm:e,h:e,hh:e,d:"dan",dd:e,M:"mjesec",MM:e,y:"godinu",yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})})(n(0))},function(t,e,n){(function(t){"use strict";var e="vasárnap hétfőn kedden szerdán csütörtökön pénteken szombaton".split(" ");function n(t,e,n,r){var a=t;switch(n){case"s":return r||e?"néhány másodperc":"néhány másodperce";case"ss":return a+(r||e)?" másodperc":" másodperce";case"m":return"egy"+(r||e?" perc":" perce");case"mm":return a+(r||e?" perc":" perce");case"h":return"egy"+(r||e?" óra":" órája");case"hh":return a+(r||e?" óra":" órája");case"d":return"egy"+(r||e?" nap":" napja");case"dd":return a+(r||e?" nap":" napja");case"M":return"egy"+(r||e?" hónap":" hónapja");case"MM":return a+(r||e?" hónap":" hónapja");case"y":return"egy"+(r||e?" év":" éve");case"yy":return a+(r||e?" év":" éve")}return""}function r(t){return(t?"":"[múlt] ")+"["+e[this.day()]+"] LT[-kor]"}t.defineLocale("hu",{months:"január_február_március_április_május_június_július_augusztus_szeptember_október_november_december".split("_"),monthsShort:"jan_feb_márc_ápr_máj_jún_júl_aug_szept_okt_nov_dec".split("_"),weekdays:"vasárnap_hétfő_kedd_szerda_csütörtök_péntek_szombat".split("_"),weekdaysShort:"vas_hét_kedd_sze_csüt_pén_szo".split("_"),weekdaysMin:"v_h_k_sze_cs_p_szo".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY. MMMM D.",LLL:"YYYY. MMMM D. H:mm",LLLL:"YYYY. MMMM D., dddd H:mm"},meridiemParse:/de|du/i,isPM:function(t){return"u"===t.charAt(1).toLowerCase()},meridiem:function(t,e,n){return t<12?!0===n?"de":"DE":!0===n?"du":"DU"},calendar:{sameDay:"[ma] LT[-kor]",nextDay:"[holnap] LT[-kor]",nextWeek:function(){return r.call(this,!0)},lastDay:"[tegnap] LT[-kor]",lastWeek:function(){return r.call(this,!1)},sameElse:"L"},relativeTime:{future:"%s múlva",past:"%s",s:n,ss:n,m:n,mm:n,h:n,hh:n,d:n,dd:n,M:n,MM:n,y:n,yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})})(n(0))},function(t,e,n){(function(t){"use strict";t.defineLocale("hy-am",{months:{format:"հունվարի_փետրվարի_մարտի_ապրիլի_մայիսի_հունիսի_հուլիսի_օգոստոսի_սեպտեմբերի_հոկտեմբերի_նոյեմբերի_դեկտեմբերի".split("_"),standalone:"հունվար_փետրվար_մարտ_ապրիլ_մայիս_հունիս_հուլիս_օգոստոս_սեպտեմբեր_հոկտեմբեր_նոյեմբեր_դեկտեմբեր".split("_")},monthsShort:"հնվ_փտր_մրտ_ապր_մյս_հնս_հլս_օգս_սպտ_հկտ_նմբ_դկտ".split("_"),weekdays:"կիրակի_երկուշաբթի_երեքշաբթի_չորեքշաբթի_հինգշաբթի_ուրբաթ_շաբաթ".split("_"),weekdaysShort:"կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ".split("_"),weekdaysMin:"կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY թ.",LLL:"D MMMM YYYY թ., HH:mm",LLLL:"dddd, D MMMM YYYY թ., HH:mm"},calendar:{sameDay:"[այսօր] LT",nextDay:"[վաղը] LT",lastDay:"[երեկ] LT",nextWeek:function(){return"dddd [օրը ժամը] LT"},lastWeek:function(){return"[անցած] dddd [օրը ժամը] LT"},sameElse:"L"},relativeTime:{future:"%s հետո",past:"%s առաջ",s:"մի քանի վայրկյան",ss:"%d վայրկյան",m:"րոպե",mm:"%d րոպե",h:"ժամ",hh:"%d ժամ",d:"օր",dd:"%d օր",M:"ամիս",MM:"%d ամիս",y:"տարի",yy:"%d տարի"},meridiemParse:/գիշերվա|առավոտվա|ցերեկվա|երեկոյան/,isPM:function(t){return/^(ցերեկվա|երեկոյան)$/.test(t)},meridiem:function(t){return t<4?"գիշերվա":t<12?"առավոտվա":t<17?"ցերեկվա":"երեկոյան"},dayOfMonthOrdinalParse:/\d{1,2}|\d{1,2}-(ին|րդ)/,ordinal:function(t,e){switch(e){case"DDD":case"w":case"W":case"DDDo":return 1===t?t+"-ին":t+"-րդ";default:return t}},week:{dow:1,doy:7}})})(n(0))},function(t,e,n){(function(t){"use strict";t.defineLocale("id",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nov_Des".split("_"),weekdays:"Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu".split("_"),weekdaysShort:"Min_Sen_Sel_Rab_Kam_Jum_Sab".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|siang|sore|malam/,meridiemHour:function(t,e){return 12===t&&(t=0),"pagi"===e?t:"siang"===e?11<=t?t:t+12:"sore"===e||"malam"===e?t+12:void 0},meridiem:function(t,e,n){return t<11?"pagi":t<15?"siang":t<19?"sore":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Besok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kemarin pukul] LT",lastWeek:"dddd [lalu pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lalu",s:"beberapa detik",ss:"%d detik",m:"semenit",mm:"%d menit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})})(n(0))},function(t,e,n){(function(t){"use strict";function i(t){return t%100==11||t%10!=1}function e(t,e,n,r){var a=t+" ";switch(n){case"s":return e||r?"nokkrar sekúndur":"nokkrum sekúndum";case"ss":return i(t)?a+(e||r?"sekúndur":"sekúndum"):a+"sekúnda";case"m":return e?"mínúta":"mínútu";case"mm":return i(t)?a+(e||r?"mínútur":"mínútum"):e?a+"mínúta":a+"mínútu";case"hh":return i(t)?a+(e||r?"klukkustundir":"klukkustundum"):a+"klukkustund";case"d":return e?"dagur":r?"dag":"degi";case"dd":return i(t)?e?a+"dagar":a+(r?"daga":"dögum"):e?a+"dagur":a+(r?"dag":"degi");case"M":return e?"mánuður":r?"mánuð":"mánuði";case"MM":return i(t)?e?a+"mánuðir":a+(r?"mánuði":"mánuðum"):e?a+"mánuður":a+(r?"mánuð":"mánuði");case"y":return e||r?"ár":"ári";case"yy":return i(t)?a+(e||r?"ár":"árum"):a+(e||r?"ár":"ári")}}t.defineLocale("is",{months:"janúar_febrúar_mars_apríl_maí_júní_júlí_ágúst_september_október_nóvember_desember".split("_"),monthsShort:"jan_feb_mar_apr_maí_jún_júl_ágú_sep_okt_nóv_des".split("_"),weekdays:"sunnudagur_mánudagur_þriðjudagur_miðvikudagur_fimmtudagur_föstudagur_laugardagur".split("_"),weekdaysShort:"sun_mán_þri_mið_fim_fös_lau".split("_"),weekdaysMin:"Su_Má_Þr_Mi_Fi_Fö_La".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd, D. MMMM YYYY [kl.] H:mm"},calendar:{sameDay:"[í dag kl.] LT",nextDay:"[á morgun kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[í gær kl.] LT",lastWeek:"[síðasta] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"eftir %s",past:"fyrir %s síðan",s:e,ss:e,m:e,mm:e,h:"klukkustund",hh:e,d:e,dd:e,M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})})(n(0))},function(t,e,n){(function(t){"use strict";t.defineLocale("it",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Oggi alle] LT",nextDay:"[Domani alle] LT",nextWeek:"dddd [alle] LT",lastDay:"[Ieri alle] LT",lastWeek:function(){switch(this.day()){case 0:return"[la scorsa] dddd [alle] LT";default:return"[lo scorso] dddd [alle] LT"}},sameElse:"L"},relativeTime:{future:function(t){return(/^[0-9].+$/.test(t)?"tra":"in")+" "+t},past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})})(n(0))},function(t,e,n){(function(t){"use strict";t.defineLocale("ja",{months:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"日曜日_月曜日_火曜日_水曜日_木曜日_金曜日_土曜日".split("_"),weekdaysShort:"日_月_火_水_木_金_土".split("_"),weekdaysMin:"日_月_火_水_木_金_土".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日 HH:mm dddd",l:"YYYY/MM/DD",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日 HH:mm dddd"},meridiemParse:/午前|午後/i,isPM:function(t){return"午後"===t},meridiem:function(t,e,n){return t<12?"午前":"午後"},calendar:{sameDay:"[今日] LT",nextDay:"[明日] LT",nextWeek:"[来週]dddd LT",lastDay:"[昨日] LT",lastWeek:"[前週]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}日/,ordinal:function(t,e){switch(e){case"d":case"D":case"DDD":return t+"日";default:return t}},relativeTime:{future:"%s後",past:"%s前",s:"数秒",ss:"%d秒",m:"1分",mm:"%d分",h:"1時間",hh:"%d時間",d:"1日",dd:"%d日",M:"1ヶ月",MM:"%dヶ月",y:"1年",yy:"%d年"}})})(n(0))},function(t,e,n){(function(t){"use strict";t.defineLocale("jv",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_Nopember_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nop_Des".split("_"),weekdays:"Minggu_Senen_Seloso_Rebu_Kemis_Jemuwah_Septu".split("_"),weekdaysShort:"Min_Sen_Sel_Reb_Kem_Jem_Sep".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sp".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/enjing|siyang|sonten|ndalu/,meridiemHour:function(t,e){return 12===t&&(t=0),"enjing"===e?t:"siyang"===e?11<=t?t:t+12:"sonten"===e||"ndalu"===e?t+12:void 0},meridiem:function(t,e,n){return t<11?"enjing":t<15?"siyang":t<19?"sonten":"ndalu"},calendar:{sameDay:"[Dinten puniko pukul] LT",nextDay:"[Mbenjang pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kala wingi pukul] LT",lastWeek:"dddd [kepengker pukul] LT",sameElse:"L"},relativeTime:{future:"wonten ing %s",past:"%s ingkang kepengker",s:"sawetawis detik",ss:"%d detik",m:"setunggal menit",mm:"%d menit",h:"setunggal jam",hh:"%d jam",d:"sedinten",dd:"%d dinten",M:"sewulan",MM:"%d wulan",y:"setaun",yy:"%d taun"},week:{dow:1,doy:7}})})(n(0))},function(t,e,n){(function(t){"use strict";t.defineLocale("ka",{months:{standalone:"იანვარი_თებერვალი_მარტი_აპრილი_მაისი_ივნისი_ივლისი_აგვისტო_სექტემბერი_ოქტომბერი_ნოემბერი_დეკემბერი".split("_"),format:"იანვარს_თებერვალს_მარტს_აპრილის_მაისს_ივნისს_ივლისს_აგვისტს_სექტემბერს_ოქტომბერს_ნოემბერს_დეკემბერს".split("_")},monthsShort:"იან_თებ_მარ_აპრ_მაი_ივნ_ივლ_აგვ_სექ_ოქტ_ნოე_დეკ".split("_"),weekdays:{standalone:"კვირა_ორშაბათი_სამშაბათი_ოთხშაბათი_ხუთშაბათი_პარასკევი_შაბათი".split("_"),format:"კვირას_ორშაბათს_სამშაბათს_ოთხშაბათს_ხუთშაბათს_პარასკევს_შაბათს".split("_"),isFormat:/(წინა|შემდეგ)/},weekdaysShort:"კვი_ორშ_სამ_ოთხ_ხუთ_პარ_შაბ".split("_"),weekdaysMin:"კვ_ორ_სა_ოთ_ხუ_პა_შა".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[დღეს] LT[-ზე]",nextDay:"[ხვალ] LT[-ზე]",lastDay:"[გუშინ] LT[-ზე]",nextWeek:"[შემდეგ] dddd LT[-ზე]",lastWeek:"[წინა] dddd LT-ზე",sameElse:"L"},relativeTime:{future:function(t){return/(წამი|წუთი|საათი|წელი)/.test(t)?t.replace(/ი$/,"ში"):t+"ში"},past:function(t){return/(წამი|წუთი|საათი|დღე|თვე)/.test(t)?t.replace(/(ი|ე)$/,"ის უკან"):/წელი/.test(t)?t.replace(/წელი$/,"წლის უკან"):void 0},s:"რამდენიმე წამი",ss:"%d წამი",m:"წუთი",mm:"%d წუთი",h:"საათი",hh:"%d საათი",d:"დღე",dd:"%d დღე",M:"თვე",MM:"%d თვე",y:"წელი",yy:"%d წელი"},dayOfMonthOrdinalParse:/0|1-ლი|მე-\d{1,2}|\d{1,2}-ე/,ordinal:function(t){return 0===t?t:1===t?t+"-ლი":t<20||t<=100&&t%20==0||t%100==0?"მე-"+t:t+"-ე"},week:{dow:1,doy:7}})})(n(0))},function(t,e,n){(function(t){"use strict";var e={0:"-ші",1:"-ші",2:"-ші",3:"-ші",4:"-ші",5:"-ші",6:"-шы",7:"-ші",8:"-ші",9:"-шы",10:"-шы",20:"-шы",30:"-шы",40:"-шы",50:"-ші",60:"-шы",70:"-ші",80:"-ші",90:"-шы",100:"-ші"};t.defineLocale("kk",{months:аңтар_ақпан_наурыз_сәуірамыраусым_шілдеамыз_қыркүйек_қазан_қарашаелтоқсан".split("_"),monthsShort:аң_ақп_нау_сәуам_мауіл_там_қыраз_қарел".split("_"),weekdays:ексенбіүйсенбі_сейсенбі_сәрсенбі_бейсенбі_жұма_сенбі".split("_"),weekdaysShort:ек_дүй_сей_сәр_бей_жұм_сен".split("_"),weekdaysMin:"жк_дй_сй_ср_бй_жм_сн".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Бүгін сағат] LT",nextDay:"[Ертең сағат] LT",nextWeek:"dddd [сағат] LT",lastDay:"[Кеше сағат] LT",lastWeek:"[Өткен аптаның] dddd [сағат] LT",sameElse:"L"},relativeTime:{future:"%s ішінде",past:"%s бұрын",s:"бірнеше секунд",ss:"%d секунд",m:"бір минут",mm:"%d минут",h:"бір сағат",hh:"%d сағат",d:"бір күн",dd:"%d күн",M:"бір ай",MM:"%d ай",y:"бір жыл",yy:"%d жыл"},dayOfMonthOrdinalParse:/\d{1,2}-(ші|шы)/,ordinal:function(t){return t+(e[t]||e[t%10]||e[100<=t?100:null])},week:{dow:1,doy:7}})})(n(0))},function(t,e,n){(function(t){"use strict";t.defineLocale("km",{months:"មករា_កុម្ភៈ_មីនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ".split("_"),monthsShort:"មករា_កុម្ភៈ_មីនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ".split("_"),weekdays:"អាទិត្យ_ច័ន្ទ_អង្គារ_ពុធ_ព្រហស្បតិ៍_សុក្រ_សៅរ៍".split("_"),weekdaysShort:"អាទិត្យ_ច័ន្ទ_អង្គារ_ពុធ_ព្រហស្បតិ៍_សុក្រ_សៅរ៍".split("_"),weekdaysMin:"អាទិត្យ_ច័ន្ទ_អង្គារ_ពុធ_ព្រហស្បតិ៍_សុក្រ_សៅរ៍".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[ថ្ងៃនេះ ម៉ោង] LT",nextDay:"[ស្អែក ម៉ោង] LT",nextWeek:"dddd [ម៉ោង] LT",lastDay:"[ម្សិលមិញ ម៉ោង] LT",lastWeek:"dddd [សប្តាហ៍មុន] [ម៉ោង] LT",sameElse:"L"},relativeTime:{future:"%sទៀត",past:"%sមុន",s:"ប៉ុន្មានវិនាទី",ss:"%d វិនាទី",m:"មួយនាទី",mm:"%d នាទី",h:"មួយម៉ោង",hh:"%d ម៉ោង",d:"មួយថ្ងៃ",dd:"%d ថ្ងៃ",M:"មួយខែ",MM:"%d ខែ",y:"មួយឆ្នាំ",yy:"%d ឆ្នាំ"},week:{dow:1,doy:4}})})(n(0))},function(t,e,n){(function(t){"use strict";var e={1:"೧",2:"೨",3:"೩",4:"೪",5:"೫",6:"೬",7:"೭",8:"೮",9:"೯",0:""},n={"೧":"1","೨":"2","೩":"3","೪":"4","೫":"5","೬":"6","೭":"7","೮":"8","೯":"9","":"0"};t.defineLocale("kn",{months:"ಜನವರಿ_ಫೆಬ್ರವರಿ_ಮಾರ್ಚ್_ಏಪ್ರಿಲ್_ಮೇ_ಜೂನ್_ಜುಲೈ_ಆಗಸ್ಟ್_ಸೆಪ್ಟೆಬರ್_ಅಕ್ಟೋಬರ್_ನವೆಬರ್_ಡಿಸೆಬರ್".split("_"),monthsShort:"ಜನ_ಫೆಬ್ರ_ಮಾರ್ಚ್_ಏಪ್ರಿಲ್_ಮೇ_ಜೂನ್_ಜುಲೈ_ಆಗಸ್ಟ್_ಸೆಪ್ಟೆಬ_ಅಕ್ಟೋಬ_ನವೆಬ_ಡಿಸೆಬ".split("_"),monthsParseExact:!0,weekdays:"ಭಾನುವಾರ_ಸೋಮವಾರ_ಮಗಳವಾರ_ಬುಧವಾರ_ಗುರುವಾರ_ಶುಕ್ರವಾರ_ಶನಿವಾರ".split("_"),weekdaysShort:"ಭಾನು_ಸೋಮ_ಮಗಳ_ಬುಧ_ಗುರು_ಶುಕ್ರ_ಶನಿ".split("_"),weekdaysMin:"ಭಾ_ಸೋ_ಮ_ಬು_ಗು_ಶು_ಶ".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[ಇಂದು] LT",nextDay:"[ನಾಳೆ] LT",nextWeek:"dddd, LT",lastDay:"[ನಿನ್ನೆ] LT",lastWeek:"[ಕೊನೆಯ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ನಂತರ",past:"%s ಹಿಂದೆ",s:"ಕೆಲವು ಕ್ಷಣಗಳು",ss:"%d ಸೆಕೆಂಡುಗಳು",m:"ಒಂದು ನಿಮಿಷ",mm:"%d ನಿಮಿಷ",h:"ಒಂದು ಗಂಟೆ",hh:"%d ಗಂಟೆ",d:"ಒಂದು ದಿನ",dd:"%d ದಿನ",M:"ಒಂದು ತಿಂಗಳು",MM:"%d ತಿಂಗಳು",y:"ಒಂದು ವರ್ಷ",yy:"%d ವರ್ಷ"},preparse:function(t){return t.replace(/[೧೨೩೪೫೬೭೮೯೦]/g,function(t){return n[t]})},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]})},meridiemParse:/ರಾತ್ರಿ|ಬೆಳಿಗ್ಗೆ|ಮಧ್ಯಾಹ್ನ|ಸಂಜೆ/,meridiemHour:function(t,e){return 12===t&&(t=0),"ರಾತ್ರಿ"===e?t<4?t:t+12:"ಬೆಳಿಗ್ಗೆ"===e?t:"ಮಧ್ಯಾಹ್ನ"===e?10<=t?t:t+12:"ಸಂಜೆ"===e?t+12:void 0},meridiem:function(t,e,n){return t<4?"ರಾತ್ರಿ":t<10?"ಬೆಳಿಗ್ಗೆ":t<17?"ಮಧ್ಯಾಹ್ನ":t<20?"ಸಂಜೆ":"ರಾತ್ರಿ"},dayOfMonthOrdinalParse:/\d{1,2}(ನೇ)/,ordinal:function(t){return t+"ನೇ"},week:{dow:0,doy:6}})})(n(0))},function(t,e,n){(function(t){"use strict";t.defineLocale("ko",{months:"1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split("_"),monthsShort:"1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split("_"),weekdays:"일요일_월요일_화요일_수요일_목요일_금요일_토요일".split("_"),weekdaysShort:"일_월_화_수_목_금_토".split("_"),weekdaysMin:"일_월_화_수_목_금_토".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"YYYY.MM.DD",LL:"YYYY년 MMMM D일",LLL:"YYYY년 MMMM D일 A h:mm",LLLL:"YYYY년 MMMM D일 dddd A h:mm",l:"YYYY.MM.DD",ll:"YYYY년 MMMM D일",lll:"YYYY년 MMMM D일 A h:mm",llll:"YYYY년 MMMM D일 dddd A h:mm"},calendar:{sameDay:"오늘 LT",nextDay:"내일 LT",nextWeek:"dddd LT",lastDay:"어제 LT",lastWeek:"지난주 dddd LT",sameElse:"L"},relativeTime:{future:"%s 후",past:"%s 전",s:"몇 초",ss:"%d초",m:"1분",mm:"%d분",h:"한 시간",hh:"%d시간",d:"하루",dd:"%d일",M:"한 달",MM:"%d달",y:"일 년",yy:"%d년"},dayOfMonthOrdinalParse:/\d{1,2}(일|월|주)/,ordinal:function(t,e){switch(e){case"d":case"D":case"DDD":return t+"일";case"M":return t+"월";case"w":case"W":return t+"주";default:return t}},meridiemParse:/오전|오후/,isPM:function(t){return"오후"===t},meridiem:function(t,e,n){return t<12?"오전":"오후"}})})(n(0))},function(t,e,n){(function(t){"use strict";var e={0:"-чү",1:"-чи",2:"-чи",3:"-чү",4:"-чү",5:"-чи",6:"-чы",7:"-чи",8:"-чи",9:"-чу",10:"-чу",20:"-чы",30:"-чу",40:"-чы",50:"-чү",60:"-чы",70:"-чи",80:"-чи",90:"-чу",100:"-чү"};t.defineLocale("ky",{months:"январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_"),monthsShort:"янв_фев_март_апрай_июнь_июль_авг_сен_окт_ноя_дек".split("_"),weekdays:екшемби_Дүйшөмбүейшемби_Шаршемби_Бейшемби_Жума_Ишемби".split("_"),weekdaysShort:ек_Дүй_Шей_Шарей_Жум_Ише".split("_"),weekdaysMin:"Жк_Дй_Шй_Шр_Бй_Жм_Иш".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Бүгүн саат] LT",nextDay:"[Эртең саат] LT",nextWeek:"dddd [саат] LT",lastDay:"[Кече саат] LT",lastWeek:"[Өткен аптанын] dddd [күнү] [саат] LT",sameElse:"L"},relativeTime:{future:"%s ичинде",past:"%s мурун",s:"бирнече секунд",ss:"%d секунд",m:"бир мүнөт",mm:"%d мүнөт",h:"бир саат",hh:"%d саат",d:"бир күн",dd:"%d күн",M:"бир ай",MM:"%d ай",y:"бир жыл",yy:"%d жыл"},dayOfMonthOrdinalParse:/\d{1,2}-(чи|чы|чү|чу)/,ordinal:function(t){return t+(e[t]||e[t%10]||e[100<=t?100:null])},week:{dow:1,doy:7}})})(n(0))},function(t,e,n){(function(t){"use strict";function e(t,e,n,r){var a={m:["eng Minutt","enger Minutt"],h:["eng Stonn","enger Stonn"],d:["een Dag","engem Dag"],M:["ee Mount","engem Mount"],y:["ee Joer","engem Joer"]};return e?a[n][0]:a[n][1]}function n(t){if(t=parseInt(t,10),isNaN(t))return!1;if(t<0)return!0;if(t<10)return 4<=t&&t<=7;if(t<100){var e=t%10;return n(0===e?t/10:e)}if(t<1e4){for(;10<=t;)t/=10;return n(t)}return n(t/=1e3)}t.defineLocale("lb",{months:"Januar_Februar_Mäerz_Abrëll_Mee_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Febr._Mrz._Abr._Mee_Jun._Jul._Aug._Sept._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonndeg_Méindeg_Dënschdeg_Mëttwoch_Donneschdeg_Freideg_Samschdeg".split("_"),weekdaysShort:"So._Mé._Dë._Më._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mé_Dë_Më_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm [Auer]",LTS:"H:mm:ss [Auer]",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm [Auer]",LLLL:"dddd, D. MMMM YYYY H:mm [Auer]"},calendar:{sameDay:"[Haut um] LT",sameElse:"L",nextDay:"[Muer um] LT",nextWeek:"dddd [um] LT",lastDay:"[Gëschter um] LT",lastWeek:function(){switch(this.day()){case 2:case 4:return"[Leschten] dddd [um] LT";default:return"[Leschte] dddd [um] LT"}}},relativeTime:{future:function(t){return n(t.substr(0,t.indexOf(" ")))?"a "+t:"an "+t},past:function(t){return n(t.substr(0,t.indexOf(" ")))?"viru "+t:"virun "+t},s:"e puer Sekonnen",ss:"%d Sekonnen",m:e,mm:"%d Minutten",h:e,hh:"%d Stonnen",d:e,dd:"%d Deeg",M:e,MM:"%d Méint",y:e,yy:"%d Joer"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})})(n(0))},function(t,e,n){(function(t){"use strict";t.defineLocale("lo",{months:"ມັງກອນ_ກຸມພາ_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ".split("_"),monthsShort:"ມັງກອນ_ກຸມພາ_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ".split("_"),weekdays:"ອາທິດ_ຈັນ_ອັງຄານ_ພຸດ_ພະຫັດ_ສຸກ_ເສົາ".split("_"),weekdaysShort:"ທິດ_ຈັນ_ອັງຄານ_ພຸດ_ພະຫັດ_ສຸກ_ເສົາ".split("_"),weekdaysMin:"ທ_ຈ_ອຄ_ພ_ພຫ_ສກ_ສ".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"ວັນdddd D MMMM YYYY HH:mm"},meridiemParse:/ຕອນເຊົ້າ|ຕອນແລງ/,isPM:function(t){return"ຕອນແລງ"===t},meridiem:function(t,e,n){return t<12?"ຕອນເຊົ້າ":"ຕອນແລງ"},calendar:{sameDay:"[ມື້ນີ້ເວລາ] LT",nextDay:"[ມື້ອື່ນເວລາ] LT",nextWeek:"[ວັນ]dddd[ໜ້າເວລາ] LT",lastDay:"[ມື້ວານນີ້ເວລາ] LT",lastWeek:"[ວັນ]dddd[ແລ້ວນີ້ເວລາ] LT",sameElse:"L"},relativeTime:{future:"ອີກ %s",past:"%sຜ່ານມາ",s:"ບໍ່ເທົ່າໃດວິນາທີ",ss:"%d ວິນາທີ",m:"1 ນາທີ",mm:"%d ນາທີ",h:"1 ຊົ່ວໂມງ",hh:"%d ຊົ່ວໂມງ",d:"1 ມື້",dd:"%d ມື້",M:"1 ເດືອນ",MM:"%d ເດືອນ",y:"1 ປີ",yy:"%d ປີ"},dayOfMonthOrdinalParse:/(ທີ່)\d{1,2}/,ordinal:function(t){return"ທີ່"+t}})})(n(0))},function(t,e,n){(function(t){"use strict";var e={ss:"sekundė_sekundžių_sekundes",m:"minutė_minutės_minutę",mm:"minutės_minučių_minutes",h:"valanda_valandos_valandą",hh:"valandos_valandų_valandas",d:"diena_dienos_dieną",dd:"dienos_dienų_dienas",M:"mėnuo_mėnesio_mėnesį",MM:"mėnesiai_mėnesių_mėnesius",y:"metai_metų_metus",yy:"metai_metų_metus"};function i(t,e,n,r){return e?o(n)[0]:r?o(n)[1]:o(n)[2]}function s(t){return t%10==0||10<t&&t<20}function o(t){return e[t].split("_")}function n(t,e,n,r){var a=t+" ";return 1===t?a+i(0,e,n[0],r):e?a+(s(t)?o(n)[1]:o(n)[0]):r?a+o(n)[1]:a+(s(t)?o(n)[1]:o(n)[2])}t.defineLocale("lt",{months:{format:"sausio_vasario_kovo_balandžio_gegužės_birželio_liepos_rugpjūčio_rugsėjo_spalio_lapkričio_gruodžio".split("_"),standalone:"sausis_vasaris_kovas_balandis_gegužė_birželis_liepa_rugpjūtis_rugsėjis_spalis_lapkritis_gruodis".split("_"),isFormat:/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?|MMMM?(\[[^\[\]]*\]|\s)+D[oD]?/},monthsShort:"sau_vas_kov_bal_geg_bir_lie_rgp_rgs_spa_lap_grd".split("_"),weekdays:{format:"sekmadienį_pirmadienį_antradienį_trečiadienį_ketvirtadienį_penktadienį_šeštadienį".split("_"),standalone:"sekmadienis_pirmadienis_antradienis_trečiadienis_ketvirtadienis_penktadienis_šeštadienis".split("_"),isFormat:/dddd HH:mm/},weekdaysShort:"Sek_Pir_Ant_Tre_Ket_Pen_Šeš".split("_"),weekdaysMin:"S_P_A_T_K_Pn_Š".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY [m.] MMMM D [d.]",LLL:"YYYY [m.] MMMM D [d.], HH:mm [val.]",LLLL:"YYYY [m.] MMMM D [d.], dddd, HH:mm [val.]",l:"YYYY-MM-DD",ll:"YYYY [m.] MMMM D [d.]",lll:"YYYY [m.] MMMM D [d.], HH:mm [val.]",llll:"YYYY [m.] MMMM D [d.], ddd, HH:mm [val.]"},calendar:{sameDay:"[Šiandien] LT",nextDay:"[Rytoj] LT",nextWeek:"dddd LT",lastDay:"[Vakar] LT",lastWeek:"[Praėjusį] dddd LT",sameElse:"L"},relativeTime:{future:"po %s",past:"prieš %s",s:function(t,e,n,r){return e?"kelios sekundės":r?"kelių sekundžių":"kelias sekundes"},ss:n,m:i,mm:n,h:i,hh:n,d:i,dd:n,M:i,MM:n,y:i,yy:n},dayOfMonthOrdinalParse:/\d{1,2}-oji/,ordinal:function(t){return t+"-oji"},week:{dow:1,doy:4}})})(n(0))},function(t,e,n){(function(t){"use strict";var r={ss:"sekundes_sekundēm_sekunde_sekundes".split("_"),m:"minūtes_minūtēm_minūte_minūtes".split("_"),mm:"minūtes_minūtēm_minūte_minūtes".split("_"),h:"stundas_stundām_stunda_stundas".split("_"),hh:"stundas_stundām_stunda_stundas".split("_"),d:"dienas_dienām_diena_dienas".split("_"),dd:"dienas_dienām_diena_dienas".split("_"),M:"mēneša_mēnešiem_mēnesis_mēneši".split("_"),MM:"mēneša_mēnešiem_mēnesis_mēneši".split("_"),y:"gada_gadiem_gads_gadi".split("_"),yy:"gada_gadiem_gads_gadi".split("_")};function a(t,e,n){return n?e%10==1&&e%100!=11?t[2]:t[3]:e%10==1&&e%100!=11?t[0]:t[1]}function e(t,e,n){return t+" "+a(r[n],t,e)}function n(t,e,n){return a(r[n],t,e)}t.defineLocale("lv",{months:"janvāris_februāris_marts_aprīlis_maijs_jūnijs_jūlijs_augusts_septembris_oktobris_novembris_decembris".split("_"),monthsShort:"jan_feb_mar_apr_mai_jūn_jūl_aug_sep_okt_nov_dec".split("_"),weekdays:"svētdiena_pirmdiena_otrdiena_trešdiena_ceturtdiena_piektdiena_sestdiena".split("_"),weekdaysShort:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysMin:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY.",LL:"YYYY. [gada] D. MMMM",LLL:"YYYY. [gada] D. MMMM, HH:mm",LLLL:"YYYY. [gada] D. MMMM, dddd, HH:mm"},calendar:{sameDay:"[Šodien pulksten] LT",nextDay:"[Rīt pulksten] LT",nextWeek:"dddd [pulksten] LT",lastDay:"[Vakar pulksten] LT",lastWeek:"[Pagājušā] dddd [pulksten] LT",sameElse:"L"},relativeTime:{future:"pēc %s",past:"pirms %s",s:function(t,e){return e?"dažas sekundes":"dažām sekundēm"},ss:e,m:n,mm:e,h:n,hh:e,d:n,dd:e,M:n,MM:e,y:n,yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})})(n(0))},function(t,e,n){(function(t){"use strict";var a={words:{ss:["sekund","sekunda","sekundi"],m:["jedan minut","jednog minuta"],mm:["minut","minuta","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mjesec","mjeseca","mjeseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(t,e){return 1===t?e[0]:2<=t&&t<=4?e[1]:e[2]},translate:function(t,e,n){var r=a.words[n];return 1===n.length?e?r[0]:r[1]:t+" "+a.correctGrammaticalCase(t,r)}};t.defineLocale("me",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sjutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[juče u] LT",lastWeek:function(){return["[prošle] [nedjelje] [u] LT","[prošlog] [ponedjeljka] [u] LT","[prošlog] [utorka] [u] LT","[prošle] [srijede] [u] LT","[prošlog] [četvrtka] [u] LT","[prošlog] [petka] [u] LT","[prošle] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"nekoliko sekundi",ss:a.translate,m:a.translate,mm:a.translate,h:a.translate,hh:a.translate,d:"dan",dd:a.translate,M:"mjesec",MM:a.translate,y:"godinu",yy:a.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})})(n(0))},function(t,e,n){(function(t){"use strict";t.defineLocale("mi",{months:"Kohi-tāte_Hui-tanguru_Poutū-te-rangi_Paenga-whāwhā_Haratua_Pipiri_Hōngoingoi_Here-turi-kōkā_Mahuru_Whiringa-ā-nuku_Whiringa-ā-rangi_Hakihea".split("_"),monthsShort:"Kohi_Hui_Pou_Pae_Hara_Pipi_Hōngoi_Here_Mahu_Whi-nu_Whi-ra_Haki".split("_"),monthsRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,2}/i,weekdays:"Rātapu_Mane_Tūrei_Wenerei_Tāite_Paraire_Hātarei".split("_"),weekdaysShort:"Ta_Ma_Tū_We_Tāi_Pa_Hā".split("_"),weekdaysMin:"Ta_Ma_Tū_We_Tāi_Pa_Hā".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [i] HH:mm",LLLL:"dddd, D MMMM YYYY [i] HH:mm"},calendar:{sameDay:"[i teie mahana, i] LT",nextDay:"[apopo i] LT",nextWeek:"dddd [i] LT",lastDay:"[inanahi i] LT",lastWeek:"dddd [whakamutunga i] LT",sameElse:"L"},relativeTime:{future:"i roto i %s",past:"%s i mua",s:"te hēkona ruarua",ss:"%d hēkona",m:"he meneti",mm:"%d meneti",h:"te haora",hh:"%d haora",d:"he ra",dd:"%d ra",M:"he marama",MM:"%d marama",y:"he tau",yy:"%d tau"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})})(n(0))},function(t,e,n){(function(t){"use strict";t.defineLocale("mk",{months:"јануари_февруари_март_април_мај_јуни_јули_август_септември_октомври_ноември_декември".split("_"),monthsShort:"јан_фев_мар_апрај_јун_јул_авг_сеп_окт_ноеек".split("_"),weekdays:едела_понеделник_вторник_средаетврток_петок_сабота".split("_"),weekdaysShort:ед_пон_вто_среет_пет_саб".split("_"),weekdaysMin:"нe_пo_вт_сре_пе_сa".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[Денес во] LT",nextDay:"[Утре во] LT",nextWeek:"[Во] dddd [во] LT",lastDay:"[Вчера во] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[Изминатата] dddd [во] LT";case 1:case 2:case 4:case 5:return"[Изминатиот] dddd [во] LT"}},sameElse:"L"},relativeTime:{future:"после %s",past:"пред %s",s:"неколку секунди",ss:"%d секунди",m:"минута",mm:"%d минути",h:"час",hh:"%d часа",d:"ден",dd:"%d дена",M:"месец",MM:"%d месеци",y:"година",yy:"%d години"},dayOfMonthOrdinalParse:/\d{1,2}-(ев|ен|ти|ви|ри|ми)/,ordinal:function(t){var e=t%10,n=t%100;return 0===t?t+"-ев":0===n?t+"-ен":10<n&&n<20?t+"-ти":1===e?t+"-ви":2===e?t+"-ри":7===e||8===e?t+"-ми":t+"-ти"},week:{dow:1,doy:7}})})(n(0))},function(t,e,n){(function(t){"use strict";t.defineLocale("ml",{months:"ജനുവരി_ഫെബ്രുവരി_മാർച്ച്_ഏപ്രിൽ_മേയ്_ജൂൺ_ജൂലൈ_ഓഗസ്റ്റ്_സെപ്റ്റബർ_ഒക്ടോബർ_നവബർ_ഡിസബർ".split("_"),monthsShort:"ജനു._ഫെബ്രു._മാർ._ഏപ്രി._മേയ്_ജൂൺ_ജൂലൈ._ഓഗ._സെപ്റ്റ._ഒക്ടോ._നവ._ഡിസ.".split("_"),monthsParseExact:!0,weekdays:"ഞായറാഴ്ച_തിങ്കളാഴ്ച_ചൊവ്വാഴ്ച_ബുധനാഴ്ച_വ്യാഴാഴ്ച_വെള്ളിയാഴ്ച_ശനിയാഴ്ച".split("_"),weekdaysShort:"ഞായർ_തിങ്കൾ_ചൊവ്വ_ബുധൻ_വ്യാഴ_വെള്ളി_ശനി".split("_"),weekdaysMin:"ഞാ_തി_ചൊ_ബു_വ്യാ_വെ_ശ".split("_"),longDateFormat:{LT:"A h:mm -നു",LTS:"A h:mm:ss -നു",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm -നു",LLLL:"dddd, D MMMM YYYY, A h:mm -നു"},calendar:{sameDay:"[ഇന്ന്] LT",nextDay:"[നാളെ] LT",nextWeek:"dddd, LT",lastDay:"[ഇന്നലെ] LT",lastWeek:"[കഴിഞ്ഞ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s കഴിഞ്ഞ്",past:"%s മുൻപ്",s:"അൽപ നിമിഷങ്ങൾ",ss:"%d സെക്കൻഡ്",m:"ഒരു മിനിറ്റ്",mm:"%d മിനിറ്റ്",h:"ഒരു മണിക്കൂർ",hh:"%d മണിക്കൂർ",d:"ഒരു ദിവസം",dd:"%d ദിവസം",M:"ഒരു മാസം",MM:"%d മാസം",y:"ഒരു വർഷം",yy:"%d വർഷം"},meridiemParse:/രാത്രി|രാവിലെ|ഉച്ച കഴിഞ്ഞ്|വൈകുന്നേരം|രാത്രി/i,meridiemHour:function(t,e){return 12===t&&(t=0),"രാത്രി"===e&&4<=t||"ഉച്ച കഴിഞ്ഞ്"===e||"വൈകുന്നേരം"===e?t+12:t},meridiem:function(t,e,n){return t<4?"രാത്രി":t<12?"രാവിലെ":t<17?"ഉച്ച കഴിഞ്ഞ്":t<20?"വൈകുന്നേരം":"രാത്രി"}})})(n(0))},function(t,e,n){(function(t){"use strict";var e={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:""},n={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","":"0"};function r(t,e,n,r){var a="";if(e)switch(n){case"s":a="काही सेकंद";break;case"ss":a="%d सेकंद";break;case"m":a="एक मिनिट";break;case"mm":a="%d मिनिटे";break;case"h":a="एक तास";break;case"hh":a="%d तास";break;case"d":a="एक दिवस";break;case"dd":a="%d दिवस";break;case"M":a="एक महिना";break;case"MM":a="%d महिने";break;case"y":a="एक वर्ष";break;case"yy":a="%d वर्षे"}else switch(n){case"s":a="काही सेकंदां";break;case"ss":a="%d सेकंदां";break;case"m":a="एका मिनिटा";break;case"mm":a="%d मिनिटां";break;case"h":a="एका तासा";break;case"hh":a="%d तासां";break;case"d":a="एका दिवसा";break;case"dd":a="%d दिवसां";break;case"M":a="एका महिन्या";break;case"MM":a="%d महिन्यां";break;case"y":a="एका वर्षा";break;case"yy":a="%d वर्षां"}return a.replace(/%d/i,t)}t.defineLocale("mr",{months:"जानेवारी_फेब्रुवारी_मार्च_एप्रिल_मे_जून_जुलै_ऑगस्ट_सप्टेंबर_ऑक्टोबर_नोव्हेंबर_डिसेंबर".split("_"),monthsShort:"जाने._फेब्रु._मार्च._एप्रि._मे._जून._जुलै._ऑग._सप्टें._ऑक्टो._नोव्हें._डिसें.".split("_"),monthsParseExact:!0,weekdays:"रविवार_सोमवार_मंगळवार_बुधवार_गुरूवार_शुक्रवार_शनिवार".split("_"),weekdaysShort:"रवि_सोम_मंगळ_बुध_गुरू_शुक्र_शनि".split("_"),weekdaysMin:"र_सो_मं_बु_गु_शु_श".split("_"),longDateFormat:{LT:"A h:mm वाजता",LTS:"A h:mm:ss वाजता",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm वाजता",LLLL:"dddd, D MMMM YYYY, A h:mm वाजता"},calendar:{sameDay:"[आज] LT",nextDay:"[उद्या] LT",nextWeek:"dddd, LT",lastDay:"[काल] LT",lastWeek:"[मागील] dddd, LT",sameElse:"L"},relativeTime:{future:"%sमध्ये",past:"%sपूर्वी",s:r,ss:r,m:r,mm:r,h:r,hh:r,d:r,dd:r,M:r,MM:r,y:r,yy:r},preparse:function(t){return t.replace(/[१२३४५६७८९०]/g,function(t){return n[t]})},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]})},meridiemParse:/रात्री|सकाळी|दुपारी|सायंकाळी/,meridiemHour:function(t,e){return 12===t&&(t=0),"रात्री"===e?t<4?t:t+12:"सकाळी"===e?t:"दुपारी"===e?10<=t?t:t+12:"सायंकाळी"===e?t+12:void 0},meridiem:function(t,e,n){return t<4?"रात्री":t<10?"सकाळी":t<17?"दुपारी":t<20?"सायंकाळी":"रात्री"},week:{dow:0,doy:6}})})(n(0))},function(t,e,n){(function(t){"use strict";t.defineLocale("ms",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(t,e){return 12===t&&(t=0),"pagi"===e?t:"tengahari"===e?11<=t?t:t+12:"petang"===e||"malam"===e?t+12:void 0},meridiem:function(t,e,n){return t<11?"pagi":t<15?"tengahari":t<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})})(n(0))},function(t,e,n){(function(t){"use strict";t.defineLocale("ms-my",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(t,e){return 12===t&&(t=0),"pagi"===e?t:"tengahari"===e?11<=t?t:t+12:"petang"===e||"malam"===e?t+12:void 0},meridiem:function(t,e,n){return t<11?"pagi":t<15?"tengahari":t<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})})(n(0))},function(t,e,n){(function(t){"use strict";t.defineLocale("mt",{months:"Jannar_Frar_Marzu_April_Mejju_Ġunju_Lulju_Awwissu_Settembru_Ottubru_Novembru_Diċembru".split("_"),monthsShort:"Jan_Fra_Mar_Apr_Mej_Ġun_Lul_Aww_Set_Ott_Nov_Diċ".split("_"),weekdays:"Il-Ħadd_It-Tnejn_It-Tlieta_L-Erbgħa_Il-Ħamis_Il-Ġimgħa_Is-Sibt".split("_"),weekdaysShort:"Ħad_Tne_Tli_Erb_Ħam_Ġim_Sib".split("_"),weekdaysMin:"Ħa_Tn_Tl_Er_Ħa_Ġi_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Illum fil-]LT",nextDay:"[Għada fil-]LT",nextWeek:"dddd [fil-]LT",lastDay:"[Il-bieraħ fil-]LT",lastWeek:"dddd [li għadda] [fil-]LT",sameElse:"L"},relativeTime:{future:"f %s",past:"%s ilu",s:"ftit sekondi",ss:"%d sekondi",m:"minuta",mm:"%d minuti",h:"siegħa",hh:"%d siegħat",d:"ġurnata",dd:"%d ġranet",M:"xahar",MM:"%d xhur",y:"sena",yy:"%d sni"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})})(n(0))},function(t,e,n){(function(t){"use strict";var e={1:"၁",2:"၂",3:"၃",4:"၄",5:"၅",6:"၆",7:"၇",8:"၈",9:"၉",0:""},n={"၁":"1","၂":"2","၃":"3","၄":"4","၅":"5","၆":"6","၇":"7","၈":"8","၉":"9","":"0"};t.defineLocale("my",{months:"ဇန်နါရီ_ဖေဖော်ါရီ_မတ်_ဧပြီ_မေ_ဇွန်_ဇူလိုင်_သြဂုတ်_စက်တင်ဘာ_အောက်တိုဘာ_နိုင်ဘာ_ဒီဇင်ဘာ".split("_"),monthsShort:"ဇန်_ဖေ_မတ်_ပြီ_မေ_ဇွန်_လိုင်_သြ_စက်_အောက်_နို_ဒီ".split("_"),weekdays:"တနင်္ဂနွေ_တနင်္လာ_အင်္ဂါ_ဗုဒ္ဓဟူး_ကြာသပတေး_သောကြာ_စနေ".split("_"),weekdaysShort:"နွေ_လာ_ဂါ_ဟူး_ကြာ_သော_နေ".split("_"),weekdaysMin:"နွေ_လာ_ဂါ_ဟူး_ကြာ_သော_နေ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[ယနေ.] LT [မှာ]",nextDay:"[မနက်ဖြန်] LT [မှာ]",nextWeek:"dddd LT [မှာ]",lastDay:"[မနေ.က] LT [မှာ]",lastWeek:"[ပြီးခဲ့သော] dddd LT [မှာ]",sameElse:"L"},relativeTime:{future:"လာမည့် %s မှာ",past:"လွန်ခဲ့သော %s က",s:"စက္ကန်.အနည်းငယ်",ss:"%d စက္ကန့်",m:"တစ်မိနစ်",mm:"%d မိနစ်",h:"တစ်နာရီ",hh:"%d နာရီ",d:"တစ်ရက်",dd:"%d ရက်",M:"တစ်လ",MM:"%d လ",y:"တစ်နှစ်",yy:"%d နှစ်"},preparse:function(t){return t.replace(/[၁၂၃၄၅၆၇၈၉၀]/g,function(t){return n[t]})},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]})},week:{dow:1,doy:4}})})(n(0))},function(t,e,n){(function(t){"use strict";t.defineLocale("nb",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_april_mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:!0,weekdays:"søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag".split("_"),weekdaysShort:"sø._ma._ti._on._to._fr._lø.".split("_"),weekdaysMin:"sø_ma_ti_on_to_fr_lø".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] HH:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[i går kl.] LT",lastWeek:"[forrige] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"noen sekunder",ss:"%d sekunder",m:"ett minutt",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dager",M:"en måned",MM:"%d måneder",y:"ett år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})})(n(0))},function(t,e,n){(function(t){"use strict";var e={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:""},n={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","":"0"};t.defineLocale("ne",{months:"जनवरी_फेब्रुवरी_मार्च_अप्रिल_मई_जुन_जुलाई_अगष्ट_सेप्टेम्बर_अक्टोबर_नोभेम्बर_डिसेम्बर".split("_"),monthsShort:"जन._फेब्रु._मार्च_अप्रि._मई_जुन_जुलाई._अग._सेप्ट._अक्टो._नोभे._डिसे.".split("_"),monthsParseExact:!0,weekdays:"आइतबार_सोमबार_मङ्गलबार_बुधबार_बिहिबार_शुक्रबार_शनिबार".split("_"),weekdaysShort:"आइत._सोम._मङ्गल._बुध._बिहि._शुक्र._शनि.".split("_"),weekdaysMin:"आ._सो._मं._बु._बि._शु._श.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"Aको h:mm बजे",LTS:"Aको h:mm:ss बजे",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, Aको h:mm बजे",LLLL:"dddd, D MMMM YYYY, Aको h:mm बजे"},preparse:function(t){return t.replace(/[१२३४५६७८९०]/g,function(t){return n[t]})},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]})},meridiemParse:/राति|बिहान|दिउँसो|साँझ/,meridiemHour:function(t,e){return 12===t&&(t=0),"राति"===e?t<4?t:t+12:"बिहान"===e?t:"दिउँसो"===e?10<=t?t:t+12:"साँझ"===e?t+12:void 0},meridiem:function(t,e,n){return t<3?"राति":t<12?"बिहान":t<16?"दिउँसो":t<20?"साँझ":"राति"},calendar:{sameDay:"[आज] LT",nextDay:"[भोलि] LT",nextWeek:"[आउँदो] dddd[,] LT",lastDay:"[हिजो] LT",lastWeek:"[गएको] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%sमा",past:"%s अगाडि",s:"केही क्षण",ss:"%d सेकेण्ड",m:"एक मिनेट",mm:"%d मिनेट",h:"एक घण्टा",hh:"%d घण्टा",d:"एक दिन",dd:"%d दिन",M:"एक महिना",MM:"%d महिना",y:"एक बर्ष",yy:"%d बर्ष"},week:{dow:0,doy:6}})})(n(0))},function(t,e,n){(function(t){"use strict";var n="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),r="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),e=[/^jan/i,/^feb/i,/^maart|mrt.?$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],a=/^(januari|februari|maart|april|mei|april|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;t.defineLocale("nl",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(t,e){return t?/-MMM-/.test(e)?r[t.month()]:n[t.month()]:n},monthsRegex:a,monthsShortRegex:a,monthsStrictRegex:/^(januari|februari|maart|mei|ju[nl]i|april|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:e,longMonthsParse:e,shortMonthsParse:e,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"één minuut",mm:"%d minuten",h:"één uur",hh:"%d uur",d:"één dag",dd:"%d dagen",M:"één maand",MM:"%d maanden",y:"één jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(t){return t+(1===t||8===t||20<=t?"ste":"de")},week:{dow:1,doy:4}})})(n(0))},function(t,e,n){(function(t){"use strict";var n="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),r="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),e=[/^jan/i,/^feb/i,/^maart|mrt.?$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],a=/^(januari|februari|maart|april|mei|april|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;t.defineLocale("nl-be",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(t,e){return t?/-MMM-/.test(e)?r[t.month()]:n[t.month()]:n},monthsRegex:a,monthsShortRegex:a,monthsStrictRegex:/^(januari|februari|maart|mei|ju[nl]i|april|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:e,longMonthsParse:e,shortMonthsParse:e,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"één minuut",mm:"%d minuten",h:"één uur",hh:"%d uur",d:"één dag",dd:"%d dagen",M:"één maand",MM:"%d maanden",y:"één jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(t){return t+(1===t||8===t||20<=t?"ste":"de")},week:{dow:1,doy:4}})})(n(0))},function(t,e,n){(function(t){"use strict";t.defineLocale("nn",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),weekdays:"sundag_måndag_tysdag_onsdag_torsdag_fredag_laurdag".split("_"),weekdaysShort:"sun_mån_tys_ons_tor_fre_lau".split("_"),weekdaysMin:"su_må_ty_on_to_fr_lø".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[I dag klokka] LT",nextDay:"[I morgon klokka] LT",nextWeek:"dddd [klokka] LT",lastDay:"[I går klokka] LT",lastWeek:"[Føregåande] dddd [klokka] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s sidan",s:"nokre sekund",ss:"%d sekund",m:"eit minutt",mm:"%d minutt",h:"ein time",hh:"%d timar",d:"ein dag",dd:"%d dagar",M:"ein månad",MM:"%d månader",y:"eit år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})})(n(0))},function(t,e,n){(function(t){"use strict";var e={1:"",2:"੨",3:"੩",4:"",5:"੫",6:"੬",7:"੭",8:"੮",9:"੯",0:""},n={"":"1","੨":"2","੩":"3","":"4","੫":"5","੬":"6","੭":"7","੮":"8","੯":"9","":"0"};t.defineLocale("pa-in",{months:"ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ".split("_"),monthsShort:"ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ".split("_"),weekdays:"ਐਤਵਾਰ_ਸੋਮਵਾਰ_ਮੰਗਲਵਾਰ_ਬੁਧਵਾਰ_ਵੀਰਵਾਰ_ਸ਼ੁੱਕਰਵਾਰ_ਸ਼ਨੀਚਰਵਾਰ".split("_"),weekdaysShort:"ਐਤ_ਸੋਮ_ਮੰਗਲ_ਬੁਧ_ਵੀਰ_ਸ਼ੁਕਰ_ਸ਼ਨੀ".split("_"),weekdaysMin:"ਐਤ_ਸੋਮ_ਮੰਗਲ_ਬੁਧ_ਵੀਰ_ਸ਼ੁਕਰ_ਸ਼ਨੀ".split("_"),longDateFormat:{LT:"A h:mm ਵਜੇ",LTS:"A h:mm:ss ਵਜੇ",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm ਵਜੇ",LLLL:"dddd, D MMMM YYYY, A h:mm ਵਜੇ"},calendar:{sameDay:"[ਅਜ] LT",nextDay:"[ਕਲ] LT",nextWeek:"dddd, LT",lastDay:"[ਕਲ] LT",lastWeek:"[ਪਿਛਲੇ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ਵਿੱਚ",past:"%s ਪਿਛਲੇ",s:"ਕੁਝ ਸਕਿੰਟ",ss:"%d ਸਕਿੰਟ",m:"ਇਕ ਮਿੰਟ",mm:"%d ਮਿੰਟ",h:"ਇੱਕ ਘੰਟਾ",hh:"%d ਘੰਟੇ",d:"ਇੱਕ ਦਿਨ",dd:"%d ਦਿਨ",M:"ਇੱਕ ਮਹੀਨਾ",MM:"%d ਮਹੀਨੇ",y:"ਇੱਕ ਸਾਲ",yy:"%d ਸਾਲ"},preparse:function(t){return t.replace(/[੧੨੩੪੫੬੭੮੯੦]/g,function(t){return n[t]})},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]})},meridiemParse:/ਰਾਤ|ਸਵੇਰ|ਦੁਪਹਿਰ|ਸ਼ਾਮ/,meridiemHour:function(t,e){return 12===t&&(t=0),"ਰਾਤ"===e?t<4?t:t+12:"ਸਵੇਰ"===e?t:"ਦੁਪਹਿਰ"===e?10<=t?t:t+12:"ਸ਼ਾਮ"===e?t+12:void 0},meridiem:function(t,e,n){return t<4?"ਰਾਤ":t<10?"ਸਵੇਰ":t<17?"ਦੁਪਹਿਰ":t<20?"ਸ਼ਾਮ":"ਰਾਤ"},week:{dow:0,doy:6}})})(n(0))},function(t,e,n){(function(t){"use strict";var n="styczeń_luty_marzec_kwiecień_maj_czerwiec_lipiec_sierpień_wrzesień_październik_listopad_grudzień".split("_"),r="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_września_października_listopada_grudnia".split("_");function a(t){return t%10<5&&1<t%10&&~~(t/10)%10!=1}function e(t,e,n){var r=t+" ";switch(n){case"ss":return r+(a(t)?"sekundy":"sekund");case"m":return e?"minuta":"minutę";case"mm":return r+(a(t)?"minuty":"minut");case"h":return e?"godzina":"godzinę";case"hh":return r+(a(t)?"godziny":"godzin");case"MM":return r+(a(t)?"miesiące":"miesięcy");case"yy":return r+(a(t)?"lata":"lat")}}t.defineLocale("pl",{months:function(t,e){return t?""===e?"("+r[t.month()]+"|"+n[t.month()]+")":/D MMMM/.test(e)?r[t.month()]:n[t.month()]:n},monthsShort:"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_paź_lis_gru".split("_"),weekdays:"niedziela_poniedziałek_wtorek_środa_czwartek_piątek_sobota".split("_"),weekdaysShort:"ndz_pon_wt_śr_czw_pt_sob".split("_"),weekdaysMin:"Nd_Pn_Wt_Śr_Cz_Pt_So".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Dziś o] LT",nextDay:"[Jutro o] LT",nextWeek:function(){switch(this.day()){case 0:return"[W niedzielę o] LT";case 2:return"[We wtorek o] LT";case 3:return"[W środę o] LT";case 6:return"[W sobotę o] LT";default:return"[W] dddd [o] LT"}},lastDay:"[Wczoraj o] LT",lastWeek:function(){switch(this.day()){case 0:return"[W zeszłą niedzielę o] LT";case 3:return"[W zeszłą środę o] LT";case 6:return"[W zeszłą sobotę o] LT";default:return"[W zeszły] dddd [o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"%s temu",s:"kilka sekund",ss:e,m:e,mm:e,h:e,hh:e,d:"1 dzień",dd:"%d dni",M:"miesiąc",MM:e,y:"rok",yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})})(n(0))},function(t,e,n){(function(t){"use strict";t.defineLocale("pt",{months:"janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),weekdays:"Domingo_Segunda-feira_Terça-feira_Quarta-feira_Quinta-feira_Sexta-feira_Sábado".split("_"),weekdaysShort:"Dom_Seg_Ter_Qua_Qui_Sex_Sáb".split("_"),weekdaysMin:"Do_2ª_3ª_4ª_5ª_6ª_Sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY HH:mm"},calendar:{sameDay:"[Hoje às] LT",nextDay:"[Amanhã às] LT",nextWeek:"dddd [às] LT",lastDay:"[Ontem às] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[Último] dddd [às] LT":"[Última] dddd [às] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"há %s",s:"segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um mês",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})})(n(0))},function(t,e,n){(function(t){"use strict";t.defineLocale("pt-br",{months:"janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),weekdays:"Domingo_Segunda-feira_Terça-feira_Quarta-feira_Quinta-feira_Sexta-feira_Sábado".split("_"),weekdaysShort:"Dom_Seg_Ter_Qua_Qui_Sex_Sáb".split("_"),weekdaysMin:"Do_2ª_3ª_4ª_5ª_6ª_Sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY [às] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [às] HH:mm"},calendar:{sameDay:"[Hoje às] LT",nextDay:"[Amanhã às] LT",nextWeek:"dddd [às] LT",lastDay:"[Ontem às] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[Último] dddd [às] LT":"[Última] dddd [às] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"%s atrás",s:"poucos segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um mês",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº"})})(n(0))},function(t,e,n){(function(t){"use strict";function e(t,e,n){var r=" ";return(20<=t%100||100<=t&&t%100==0)&&(r=" de "),t+r+{ss:"secunde",mm:"minute",hh:"ore",dd:"zile",MM:"luni",yy:"ani"}[n]}t.defineLocale("ro",{months:"ianuarie_februarie_martie_aprilie_mai_iunie_iulie_august_septembrie_octombrie_noiembrie_decembrie".split("_"),monthsShort:"ian._febr._mart._apr._mai_iun._iul._aug._sept._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"duminică_luni_marți_miercuri_joi_vineri_sâmbătă".split("_"),weekdaysShort:"Dum_Lun_Mar_Mie_Joi_Vin_Sâm".split("_"),weekdaysMin:"Du_Lu_Ma_Mi_Jo_Vi_Sâ".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[azi la] LT",nextDay:"[mâine la] LT",nextWeek:"dddd [la] LT",lastDay:"[ieri la] LT",lastWeek:"[fosta] dddd [la] LT",sameElse:"L"},relativeTime:{future:"peste %s",past:"%s în urmă",s:"câteva secunde",ss:e,m:"un minut",mm:e,h:"o oră",hh:e,d:"o zi",dd:e,M:"o lună",MM:e,y:"un an",yy:e},week:{dow:1,doy:7}})})(n(0))},function(t,e,n){(function(t){"use strict";function e(t,e,n){var r,a;return"m"===n?e?"минута":"минуту":t+" "+(r=+t,a={ss:e?"секунда_секунды_секунд":"секунду_секунды_секунд",mm:e?"минута_минуты_минут":"минуту_минуты_минут",hh:асасаасов",dd:ень_дня_дней",MM:есяц_месяцаесяцев",yy:"год_годает"}[n].split("_"),r%10==1&&r%100!=11?a[0]:2<=r%10&&r%10<=4&&(r%100<10||20<=r%100)?a[1]:a[2])}var n=[/^янв/i,/^фев/i,/^мар/i,/^апр/i,/^ма[йя]/i,/^июн/i,/^июл/i,/^авг/i,/^сен/i,/^окт/i,/^ноя/i,/^дек/i];t.defineLocale("ru",{months:{format:"января_февраля_марта_апреля_мая_июня_июля_августа_сентября_октября_ноября_декабря".split("_"),standalone:"январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_")},monthsShort:{format:"янв._февр._мар._апр._мая_июня_июля_авг._сент._окт._нояб._дек.".split("_"),standalone:"янв._февр._март_апр._май_июнь_июль_авг._сент._окт._нояб._дек.".split("_")},weekdays:{standalone:оскресенье_понедельник_вторник_средаетверг_пятница_суббота".split("_"),format:оскресенье_понедельник_вторник_средуетверг_пятницу_субботу".split("_"),isFormat:/\[ ?[Вв] ?(?:прошлую|следующую|эту)? ?\] ?dddd/},weekdaysShort:с_пн_вт_ср_чт_пт_сб".split("_"),weekdaysMin:с_пн_вт_ср_чт_пт_сб".split("_"),monthsParse:n,longMonthsParse:n,shortMonthsParse:n,monthsRegex:/^(январ[ья]|янв\.?|феврал[ья]|февр?\.?|марта?|мар\.?|апрел[ья]|апр\.?|ма[йя]|июн[ья]|июн\.?|июл[ья]|июл\.?|августа?|авг\.?|сентябр[ья]|сент?\.?|октябр[ья]|окт\.?|ноябр[ья]|нояб?\.?|декабр[ья]|дек\.?)/i,monthsShortRegex:/^(январ[ья]|янв\.?|феврал[ья]|февр?\.?|марта?|мар\.?|апрел[ья]|апр\.?|ма[йя]|июн[ья]|июн\.?|июл[ья]|июл\.?|августа?|авг\.?|сентябр[ья]|сент?\.?|октябр[ья]|окт\.?|ноябр[ья]|нояб?\.?|декабр[ья]|дек\.?)/i,monthsStrictRegex:/^(январ[яь]|феврал[яь]|марта?|апрел[яь]|ма[яй]|июн[яь]|июл[яь]|августа?|сентябр[яь]|октябр[яь]|ноябр[яь]|декабр[яь])/i,monthsShortStrictRegex:/^(янв\.|февр?\.|мар[т.]|апр\.|ма[яй]|июн[ья.]|июл[ья.]|авг\.|сент?\.|окт\.|нояб?\.|дек\.)/i,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., H:mm",LLLL:"dddd, D MMMM YYYY г., H:mm"},calendar:{sameDay:"[Сегодня в] LT",nextDay:"[Завтра в] LT",lastDay:"[Вчера в] LT",nextWeek:function(t){if(t.week()===this.week())return 2===this.day()?"[Во] dddd [в] LT":"[В] dddd [в] LT";switch(this.day()){case 0:return"[В следующее] dddd [в] LT";case 1:case 2:case 4:return"[В следующий] dddd [в] LT";case 3:case 5:case 6:return"[В следующую] dddd [в] LT"}},lastWeek:function(t){if(t.week()===this.week())return 2===this.day()?"[Во] dddd [в] LT":"[В] dddd [в] LT";switch(this.day()){case 0:return"[В прошлое] dddd [в] LT";case 1:case 2:case 4:return"[В прошлый] dddd [в] LT";case 3:case 5:case 6:return"[В прошлую] dddd [в] LT"}},sameElse:"L"},relativeTime:{future:"через %s",past:"%s назад",s:"несколько секунд",ss:e,m:e,mm:e,h:"час",hh:e,d:"день",dd:e,M:"месяц",MM:e,y:"год",yy:e},meridiemParse:/ночи|утра|дня|вечера/i,isPM:function(t){return/^(дня|вечера)$/.test(t)},meridiem:function(t,e,n){return t<4?"ночи":t<12?"утра":t<17?"дня":"вечера"},dayOfMonthOrdinalParse:/\d{1,2}-(й|го|я)/,ordinal:function(t,e){switch(e){case"M":case"d":case"DDD":return t+"-й";case"D":return t+"-го";case"w":case"W":return t+"-я";default:return t}},week:{dow:1,doy:4}})})(n(0))},function(t,e,n){(function(t){"use strict";var e=["جنوري","فيبروري","مارچ","اپريل","مئي","جون","جولاءِ","آگسٽ","سيپٽمبر","آڪٽوبر","نومبر","ڊسمبر"],n=["آچر","سومر","اڱارو","اربع","خميس","جمع","ڇنڇر"];t.defineLocale("sd",{months:e,monthsShort:e,weekdays:n,weekdaysShort:n,weekdaysMin:n,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd، D MMMM YYYY HH:mm"},meridiemParse:/صبح|شام/,isPM:function(t){return"شام"===t},meridiem:function(t,e,n){return t<12?"صبح":"شام"},calendar:{sameDay:"[اڄ] LT",nextDay:"[سڀاڻي] LT",nextWeek:"dddd [اڳين هفتي تي] LT",lastDay:"[ڪالهه] LT",lastWeek:"[گزريل هفتي] dddd [تي] LT",sameElse:"L"},relativeTime:{future:"%s پوء",past:"%s اڳ",s:"چند سيڪنڊ",ss:"%d سيڪنڊ",m:"هڪ منٽ",mm:"%d منٽ",h:"هڪ ڪلاڪ",hh:"%d ڪلاڪ",d:"هڪ ڏينهن",dd:"%d ڏينهن",M:"هڪ مهينو",MM:"%d مهينا",y:"هڪ سال",yy:"%d سال"},preparse:function(t){return t.replace(/،/g,",")},postformat:function(t){return t.replace(/,/g,"،")},week:{dow:1,doy:4}})})(n(0))},function(t,e,n){(function(t){"use strict";t.defineLocale("se",{months:"ođđajagemánnu_guovvamánnu_njukčamánnu_cuoŋománnu_miessemánnu_geassemánnu_suoidnemánnu_borgemánnu_čakčamánnu_golggotmánnu_skábmamánnu_juovlamánnu".split("_"),monthsShort:"ođđj_guov_njuk_cuo_mies_geas_suoi_borg_čakč_golg_skáb_juov".split("_"),weekdays:"sotnabeaivi_vuossárga_maŋŋebárga_gaskavahkku_duorastat_bearjadat_lávvardat".split("_"),weekdaysShort:"sotn_vuos_maŋ_gask_duor_bear_láv".split("_"),weekdaysMin:"s_v_m_g_d_b_L".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"MMMM D. [b.] YYYY",LLL:"MMMM D. [b.] YYYY [ti.] HH:mm",LLLL:"dddd, MMMM D. [b.] YYYY [ti.] HH:mm"},calendar:{sameDay:"[otne ti] LT",nextDay:"[ihttin ti] LT",nextWeek:"dddd [ti] LT",lastDay:"[ikte ti] LT",lastWeek:"[ovddit] dddd [ti] LT",sameElse:"L"},relativeTime:{future:"%s geažes",past:"maŋit %s",s:"moadde sekunddat",ss:"%d sekunddat",m:"okta minuhta",mm:"%d minuhtat",h:"okta diimmu",hh:"%d diimmut",d:"okta beaivi",dd:"%d beaivvit",M:"okta mánnu",MM:"%d mánut",y:"okta jahki",yy:"%d jagit"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})})(n(0))},function(t,e,n){(function(t){"use strict";t.defineLocale("si",{months:"ජනවාරි_පෙබරවාරි_මාර්තු_අප්රේල්_මැයි_ජූනි_ජූලි_අගෝස්තු_සැප්තැම්බර්_ඔක්තෝබර්_නොවැම්බර්_දෙසැම්බර්".split("_"),monthsShort:"ජන_පෙබ_මාර්_අප්_මැයි_ජූනි_ජූලි_අගෝ_සැප්_ඔක්_නොවැ_දෙසැ".split("_"),weekdays:"ඉරිදා_සඳුදා_අඟහරුවාදා_බදාදා_බ්රහස්පතින්දා_සිකුරාදා_සෙනසුරාදා".split("_"),weekdaysShort:"ඉරි_සඳු_අඟ_බදා_බ්රහ_සිකු_සෙන".split("_"),weekdaysMin:"ඉ_ස_අ_බ_බ්ර_සි_සෙ".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"a h:mm",LTS:"a h:mm:ss",L:"YYYY/MM/DD",LL:"YYYY MMMM D",LLL:"YYYY MMMM D, a h:mm",LLLL:"YYYY MMMM D [වැනි] dddd, a h:mm:ss"},calendar:{sameDay:"[අද] LT[ට]",nextDay:"[හෙට] LT[ට]",nextWeek:"dddd LT[ට]",lastDay:"[ඊයේ] LT[ට]",lastWeek:"[පසුගිය] dddd LT[ට]",sameElse:"L"},relativeTime:{future:"%sකින්",past:"%sකට පෙර",s:"තත්පර කිහිපය",ss:"තත්පර %d",m:"මිනිත්තුව",mm:"මිනිත්තු %d",h:"පැය",hh:"පැය %d",d:"දිනය",dd:"දින %d",M:"මාසය",MM:"මාස %d",y:"වසර",yy:"වසර %d"},dayOfMonthOrdinalParse:/\d{1,2} වැනි/,ordinal:function(t){return t+" වැනි"},meridiemParse:/පෙර වරු|පස් වරු|පෙ.ව|ප.ව./,isPM:function(t){return"ප.ව."===t||"පස් වරු"===t},meridiem:function(t,e,n){return 11<t?n?"ප.ව.":"පස් වරු":n?"පෙ.ව.":"පෙර වරු"}})})(n(0))},function(t,e,n){(function(t){"use strict";var e="január_február_marec_apríl_máj_jún_júl_august_september_október_november_december".split("_"),n="jan_feb_mar_apr_máj_jún_júl_aug_sep_okt_nov_dec".split("_");function i(t){return 1<t&&t<5}function r(t,e,n,r){var a=t+" ";switch(n){case"s":return e||r?"pár sekúnd":"pár sekundami";case"ss":return e||r?a+(i(t)?"sekundy":"sekúnd"):a+"sekundami";case"m":return e?"minúta":r?"minútu":"minútou";case"mm":return e||r?a+(i(t)?"minúty":"minút"):a+"minútami";case"h":return e?"hodina":r?"hodinu":"hodinou";case"hh":return e||r?a+(i(t)?"hodiny":"hodín"):a+"hodinami";case"d":return e||r?"deň":"dňom";case"dd":return e||r?a+(i(t)?"dni":"dní"):a+"dňami";case"M":return e||r?"mesiac":"mesiacom";case"MM":return e||r?a+(i(t)?"mesiace":"mesiacov"):a+"mesiacmi";case"y":return e||r?"rok":"rokom";case"yy":return e||r?a+(i(t)?"roky":"rokov"):a+"rokmi"}}t.defineLocale("sk",{months:e,monthsShort:n,weekdays:"nedeľa_pondelok_utorok_streda_štvrtok_piatok_sobota".split("_"),weekdaysShort:"ne_po_ut_st_št_pi_so".split("_"),weekdaysMin:"ne_po_ut_st_št_pi_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm"},calendar:{sameDay:"[dnes o] LT",nextDay:"[zajtra o] LT",nextWeek:function(){switch(this.day()){case 0:return"[v nedeľu o] LT";case 1:case 2:return"[v] dddd [o] LT";case 3:return"[v stredu o] LT";case 4:return"[vo štvrtok o] LT";case 5:return"[v piatok o] LT";case 6:return"[v sobotu o] LT"}},lastDay:"[včera o] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulú nedeľu o] LT";case 1:case 2:return"[minulý] dddd [o] LT";case 3:return"[minulú stredu o] LT";case 4:case 5:return"[minulý] dddd [o] LT";case 6:return"[minulú sobotu o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"pred %s",s:r,ss:r,m:r,mm:r,h:r,hh:r,d:r,dd:r,M:r,MM:r,y:r,yy:r},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})})(n(0))},function(t,e,n){(function(t){"use strict";function e(t,e,n,r){var a=t+" ";switch(n){case"s":return e||r?"nekaj sekund":"nekaj sekundami";case"ss":return a+=1===t?e?"sekundo":"sekundi":2===t?e||r?"sekundi":"sekundah":t<5?e||r?"sekunde":"sekundah":"sekund";case"m":return e?"ena minuta":"eno minuto";case"mm":return a+=1===t?e?"minuta":"minuto":2===t?e||r?"minuti":"minutama":t<5?e||r?"minute":"minutami":e||r?"minut":"minutami";case"h":return e?"ena ura":"eno uro";case"hh":return a+=1===t?e?"ura":"uro":2===t?e||r?"uri":"urama":t<5?e||r?"ure":"urami":e||r?"ur":"urami";case"d":return e||r?"en dan":"enim dnem";case"dd":return a+=1===t?e||r?"dan":"dnem":2===t?e||r?"dni":"dnevoma":e||r?"dni":"dnevi";case"M":return e||r?"en mesec":"enim mesecem";case"MM":return a+=1===t?e||r?"mesec":"mesecem":2===t?e||r?"meseca":"mesecema":t<5?e||r?"mesece":"meseci":e||r?"mesecev":"meseci";case"y":return e||r?"eno leto":"enim letom";case"yy":return a+=1===t?e||r?"leto":"letom":2===t?e||r?"leti":"letoma":t<5?e||r?"leta":"leti":e||r?"let":"leti"}}t.defineLocale("sl",{months:"januar_februar_marec_april_maj_junij_julij_avgust_september_oktober_november_december".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljek_torek_sreda_četrtek_petek_sobota".split("_"),weekdaysShort:"ned._pon._tor._sre._čet._pet._sob.".split("_"),weekdaysMin:"ne_po_to_sr_če_pe_so".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danes ob] LT",nextDay:"[jutri ob] LT",nextWeek:function(){switch(this.day()){case 0:return"[v] [nedeljo] [ob] LT";case 3:return"[v] [sredo] [ob] LT";case 6:return"[v] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[v] dddd [ob] LT"}},lastDay:"[včeraj ob] LT",lastWeek:function(){switch(this.day()){case 0:return"[prejšnjo] [nedeljo] [ob] LT";case 3:return"[prejšnjo] [sredo] [ob] LT";case 6:return"[prejšnjo] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[prejšnji] dddd [ob] LT"}},sameElse:"L"},relativeTime:{future:"čez %s",past:"pred %s",s:e,ss:e,m:e,mm:e,h:e,hh:e,d:e,dd:e,M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})})(n(0))},function(t,e,n){(function(t){"use strict";t.defineLocale("sq",{months:"Janar_Shkurt_Mars_Prill_Maj_Qershor_Korrik_Gusht_Shtator_Tetor_Nëntor_Dhjetor".split("_"),monthsShort:"Jan_Shk_Mar_Pri_Maj_Qer_Kor_Gus_Sht_Tet_Nën_Dhj".split("_"),weekdays:"E Diel_E Hënë_E Martë_E Mërkurë_E Enjte_E Premte_E Shtunë".split("_"),weekdaysShort:"Die_Hën_Mar_Mër_Enj_Pre_Sht".split("_"),weekdaysMin:"D_H_Ma_Më_E_P_Sh".split("_"),weekdaysParseExact:!0,meridiemParse:/PD|MD/,isPM:function(t){return"M"===t.charAt(0)},meridiem:function(t,e,n){return t<12?"PD":"MD"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Sot në] LT",nextDay:"[Nesër në] LT",nextWeek:"dddd [në] LT",lastDay:"[Dje në] LT",lastWeek:"dddd [e kaluar në] LT",sameElse:"L"},relativeTime:{future:"në %s",past:"%s më parë",s:"disa sekonda",ss:"%d sekonda",m:"një minutë",mm:"%d minuta",h:"një orë",hh:"%d orë",d:"një ditë",dd:"%d ditë",M:"një muaj",MM:"%d muaj",y:"një vit",yy:"%d vite"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})})(n(0))},function(t,e,n){(function(t){"use strict";var a={words:{ss:["sekunda","sekunde","sekundi"],m:["jedan minut","jedne minute"],mm:["minut","minute","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mesec","meseca","meseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(t,e){return 1===t?e[0]:2<=t&&t<=4?e[1]:e[2]},translate:function(t,e,n){var r=a.words[n];return 1===n.length?e?r[0]:r[1]:t+" "+a.correctGrammaticalCase(t,r)}};t.defineLocale("sr",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljak_utorak_sreda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sre._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedelju] [u] LT";case 3:return"[u] [sredu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[juče u] LT",lastWeek:function(){return["[prošle] [nedelje] [u] LT","[prošlog] [ponedeljka] [u] LT","[prošlog] [utorka] [u] LT","[prošle] [srede] [u] LT","[prošlog] [četvrtka] [u] LT","[prošlog] [petka] [u] LT","[prošle] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"pre %s",s:"nekoliko sekundi",ss:a.translate,m:a.translate,mm:a.translate,h:a.translate,hh:a.translate,d:"dan",dd:a.translate,M:"mesec",MM:a.translate,y:"godinu",yy:a.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})})(n(0))},function(t,e,n){(function(t){"use strict";var a={words:{ss:["секунда","секунде","секунди"],m:["један минут","једне минуте"],mm:["минут","минуте","минута"],h:["један сат","једног сата"],hh:["сат","сата","сати"],dd:["дан","дана","дана"],MM:["месец","месеца","месеци"],yy:["година","године","година"]},correctGrammaticalCase:function(t,e){return 1===t?e[0]:2<=t&&t<=4?e[1]:e[2]},translate:function(t,e,n){var r=a.words[n];return 1===n.length?e?r[0]:r[1]:t+" "+a.correctGrammaticalCase(t,r)}};t.defineLocale("sr-cyrl",{months:"јануаребруарарт_април_мај_јун_јул_август_септембар_октобаровембарецембар".split("_"),monthsShort:"јан._феб._мар._апр._мај_јун_јул_авг._сеп._окт._нов._дец.".split("_"),monthsParseExact:!0,weekdays:едеља_понедељак_уторак_средаетвртак_петак_субота".split("_"),weekdaysShort:"нед._пон._уто._сре._чет._пет._суб.".split("_"),weekdaysMin:е_по_ут_сре_пе_су".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[данас у] LT",nextDay:"[сутра у] LT",nextWeek:function(){switch(this.day()){case 0:return"[у] [недељу] [у] LT";case 3:return"[у] [среду] [у] LT";case 6:return"[у] [суботу] [у] LT";case 1:case 2:case 4:case 5:return"[у] dddd [у] LT"}},lastDay:"[јуче у] LT",lastWeek:function(){return["[прошле] [недеље] [у] LT","[прошлог] [понедељка] [у] LT","[прошлог] [уторка] [у] LT","[прошле] [среде] [у] LT","[прошлог] [четвртка] [у] LT","[прошлог] [петка] [у] LT","[прошле] [суботе] [у] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"за %s",past:"пре %s",s:"неколико секунди",ss:a.translate,m:a.translate,mm:a.translate,h:a.translate,hh:a.translate,d:"дан",dd:a.translate,M:"месец",MM:a.translate,y:"годину",yy:a.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})})(n(0))},function(t,e,n){(function(t){"use strict";t.defineLocale("ss",{months:"Bhimbidvwane_Indlovana_Indlov'lenkhulu_Mabasa_Inkhwekhweti_Inhlaba_Kholwane_Ingci_Inyoni_Imphala_Lweti_Ingongoni".split("_"),monthsShort:"Bhi_Ina_Inu_Mab_Ink_Inh_Kho_Igc_Iny_Imp_Lwe_Igo".split("_"),weekdays:"Lisontfo_Umsombuluko_Lesibili_Lesitsatfu_Lesine_Lesihlanu_Umgcibelo".split("_"),weekdaysShort:"Lis_Umb_Lsb_Les_Lsi_Lsh_Umg".split("_"),weekdaysMin:"Li_Us_Lb_Lt_Ls_Lh_Ug".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Namuhla nga] LT",nextDay:"[Kusasa nga] LT",nextWeek:"dddd [nga] LT",lastDay:"[Itolo nga] LT",lastWeek:"dddd [leliphelile] [nga] LT",sameElse:"L"},relativeTime:{future:"nga %s",past:"wenteka nga %s",s:"emizuzwana lomcane",ss:"%d mzuzwana",m:"umzuzu",mm:"%d emizuzu",h:"lihora",hh:"%d emahora",d:"lilanga",dd:"%d emalanga",M:"inyanga",MM:"%d tinyanga",y:"umnyaka",yy:"%d iminyaka"},meridiemParse:/ekuseni|emini|entsambama|ebusuku/,meridiem:function(t,e,n){return t<11?"ekuseni":t<15?"emini":t<19?"entsambama":"ebusuku"},meridiemHour:function(t,e){return 12===t&&(t=0),"ekuseni"===e?t:"emini"===e?11<=t?t:t+12:"entsambama"===e||"ebusuku"===e?0===t?0:t+12:void 0},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:"%d",week:{dow:1,doy:4}})})(n(0))},function(t,e,n){(function(t){"use strict";t.defineLocale("sv",{months:"januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"söndag_måndag_tisdag_onsdag_torsdag_fredag_lördag".split("_"),weekdaysShort:"sön_mån_tis_ons_tor_fre_lör".split("_"),weekdaysMin:"sö_må_ti_on_to_fr_lö".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [kl.] HH:mm",LLLL:"dddd D MMMM YYYY [kl.] HH:mm",lll:"D MMM YYYY HH:mm",llll:"ddd D MMM YYYY HH:mm"},calendar:{sameDay:"[Idag] LT",nextDay:"[Imorgon] LT",lastDay:"[Igår] LT",nextWeek:"[På] dddd LT",lastWeek:"[I] dddd[s] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"för %s sedan",s:"några sekunder",ss:"%d sekunder",m:"en minut",mm:"%d minuter",h:"en timme",hh:"%d timmar",d:"en dag",dd:"%d dagar",M:"en månad",MM:"%d månader",y:"ett år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}(e|a)/,ordinal:function(t){var e=t%10;return t+(1==~~(t%100/10)?"e":1===e?"a":2===e?"a":"e")},week:{dow:1,doy:4}})})(n(0))},function(t,e,n){(function(t){"use strict";t.defineLocale("sw",{months:"Januari_Februari_Machi_Aprili_Mei_Juni_Julai_Agosti_Septemba_Oktoba_Novemba_Desemba".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ago_Sep_Okt_Nov_Des".split("_"),weekdays:"Jumapili_Jumatatu_Jumanne_Jumatano_Alhamisi_Ijumaa_Jumamosi".split("_"),weekdaysShort:"Jpl_Jtat_Jnne_Jtan_Alh_Ijm_Jmos".split("_"),weekdaysMin:"J2_J3_J4_J5_Al_Ij_J1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[leo saa] LT",nextDay:"[kesho saa] LT",nextWeek:"[wiki ijayo] dddd [saat] LT",lastDay:"[jana] LT",lastWeek:"[wiki iliyopita] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s baadaye",past:"tokea %s",s:"hivi punde",ss:"sekunde %d",m:"dakika moja",mm:"dakika %d",h:"saa limoja",hh:"masaa %d",d:"siku moja",dd:"masiku %d",M:"mwezi mmoja",MM:"miezi %d",y:"mwaka mmoja",yy:"miaka %d"},week:{dow:1,doy:7}})})(n(0))},function(t,e,n){(function(t){"use strict";var e={1:"௧",2:"௨",3:"௩",4:"௪",5:"௫",6:"௬",7:"௭",8:"௮",9:"௯",0:""},n={"௧":"1","௨":"2","௩":"3","௪":"4","௫":"5","௬":"6","௭":"7","௮":"8","௯":"9","":"0"};t.defineLocale("ta",{months:"ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்".split("_"),monthsShort:"ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்".split("_"),weekdays:"ஞாயிற்றுக்கிழமை_திங்கட்கிழமை_செவ்வாய்கிழமை_புதன்கிழமை_வியாழக்கிழமை_வெள்ளிக்கிழமை_சனிக்கிழமை".split("_"),weekdaysShort:"ஞாயிறு_திங்கள்_செவ்வாய்_புதன்_வியாழன்_வெள்ளி_சனி".split("_"),weekdaysMin:"ஞா_தி_செ_பு_வி_வெ_ச".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, HH:mm",LLLL:"dddd, D MMMM YYYY, HH:mm"},calendar:{sameDay:"[இன்று] LT",nextDay:"[நாளை] LT",nextWeek:"dddd, LT",lastDay:"[நேற்று] LT",lastWeek:"[கடந்த வாரம்] dddd, LT",sameElse:"L"},relativeTime:{future:"%s இல்",past:"%s முன்",s:"ஒரு சில விநாடிகள்",ss:"%d விநாடிகள்",m:"ஒரு நிமிடம்",mm:"%d நிமிடங்கள்",h:"ஒரு மணி நேரம்",hh:"%d மணி நேரம்",d:"ஒரு நாள்",dd:"%d நாட்கள்",M:"ஒரு மாதம்",MM:"%d மாதங்கள்",y:"ஒரு வருடம்",yy:"%d ஆண்டுகள்"},dayOfMonthOrdinalParse:/\d{1,2}வது/,ordinal:function(t){return t+"வது"},preparse:function(t){return t.replace(/[௧௨௩௪௫௬௭௮௯௦]/g,function(t){return n[t]})},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]})},meridiemParse:/யாமம்|வைகறை|காலை|நண்பகல்|எற்பாடு|மாலை/,meridiem:function(t,e,n){return t<2?" யாமம்":t<6?" வைகறை":t<10?" காலை":t<14?" நண்பகல்":t<18?" எற்பாடு":t<22?" மாலை":" யாமம்"},meridiemHour:function(t,e){return 12===t&&(t=0),"யாமம்"===e?t<2?t:t+12:"வைகறை"===e||"காலை"===e?t:"நண்பகல்"===e&&10<=t?t:t+12},week:{dow:0,doy:6}})})(n(0))},function(t,e,n){(function(t){"use strict";t.defineLocale("te",{months:"జనవరి_ఫిబ్రవరి_మార్చి_ఏప్రిల్_మే_జూన్_జూలై_ఆగస్టు_సెప్టెబర్_అక్టోబర్_నవబర్_డిసెబర్".split("_"),monthsShort:"జన._ఫిబ్ర._మార్చి_ఏప్రి._మే_జూన్_జూలై_ఆగ._సెప్._అక్టో._నవ._డిసె.".split("_"),monthsParseExact:!0,weekdays:"ఆదివార_సోమవార_మగళవార_బుధవార_గురువార_శుక్రవార_శనివార".split("_"),weekdaysShort:"ఆది_సోమ_మగళ_బుధ_గురు_శుక్ర_శని".split("_"),weekdaysMin:"ఆ_సో_మ_బు_గు_శు_శ".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[నేడు] LT",nextDay:"[రేపు] LT",nextWeek:"dddd, LT",lastDay:"[నిన్న] LT",lastWeek:"[గత] dddd, LT",sameElse:"L"},relativeTime:{future:"%s లో",past:"%s క్రితం",s:"కొన్ని క్షణాలు",ss:"%d సెకన్లు",m:"ఒక నిమిషం",mm:"%d నిమిషాలు",h:"ఒక గంట",hh:"%d గంటలు",d:"ఒక రోజు",dd:"%d రోజులు",M:"ఒక నెల",MM:"%d నెలలు",y:"ఒక సంవత్సరం",yy:"%d సంవత్సరాలు"},dayOfMonthOrdinalParse:/\d{1,2}వ/,ordinal:"%dవ",meridiemParse:/రాత్రి|ఉదయం|మధ్యాహ్నం|సాయంత్రం/,meridiemHour:function(t,e){return 12===t&&(t=0),"రాత్రి"===e?t<4?t:t+12:"ఉదయం"===e?t:"మధ్యాహ్నం"===e?10<=t?t:t+12:"సాయంత్రం"===e?t+12:void 0},meridiem:function(t,e,n){return t<4?"రాత్రి":t<10?"ఉదయం":t<17?"మధ్యాహ్నం":t<20?"సాయంత్రం":"రాత్రి"},week:{dow:0,doy:6}})})(n(0))},function(t,e,n){(function(t){"use strict";t.defineLocale("tet",{months:"Janeiru_Fevereiru_Marsu_Abril_Maiu_Juniu_Juliu_Augustu_Setembru_Outubru_Novembru_Dezembru".split("_"),monthsShort:"Jan_Fev_Mar_Abr_Mai_Jun_Jul_Aug_Set_Out_Nov_Dez".split("_"),weekdays:"Domingu_Segunda_Tersa_Kuarta_Kinta_Sexta_Sabadu".split("_"),weekdaysShort:"Dom_Seg_Ters_Kua_Kint_Sext_Sab".split("_"),weekdaysMin:"Do_Seg_Te_Ku_Ki_Sex_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Ohin iha] LT",nextDay:"[Aban iha] LT",nextWeek:"dddd [iha] LT",lastDay:"[Horiseik iha] LT",lastWeek:"dddd [semana kotuk] [iha] LT",sameElse:"L"},relativeTime:{future:"iha %s",past:"%s liuba",s:"minutu balun",ss:"minutu %d",m:"minutu ida",mm:"minutus %d",h:"horas ida",hh:"horas %d",d:"loron ida",dd:"loron %d",M:"fulan ida",MM:"fulan %d",y:"tinan ida",yy:"tinan %d"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(t){var e=t%10;return t+(1==~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")},week:{dow:1,doy:4}})})(n(0))},function(t,e,n){(function(t){"use strict";t.defineLocale("th",{months:"มกราคม_กุมภาพันธ์_มีนาคม_เมษายน_พฤษภาคม_มิถุนายน_กรกฎาคม_สิงหาคม_กันยายน_ตุลาคม_พฤศจิกายน_ธันวาคม".split("_"),monthsShort:"ม.ค._ก.พ._มี.ค._เม.ย._พ.ค._มิ.ย._ก.ค._ส.ค._ก.ย._ต.ค._พ.ย._ธ.ค.".split("_"),monthsParseExact:!0,weekdays:"อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัสบดี_ศุกร์_เสาร์".split("_"),weekdaysShort:"อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัส_ศุกร์_เสาร์".split("_"),weekdaysMin:"อา._จ._อ._พ._พฤ._ศ._ส.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY เวลา H:mm",LLLL:"วันddddที่ D MMMM YYYY เวลา H:mm"},meridiemParse:/ก่อนเที่ยง|หลังเที่ยง/,isPM:function(t){return"หลังเที่ยง"===t},meridiem:function(t,e,n){return t<12?"ก่อนเที่ยง":"หลังเที่ยง"},calendar:{sameDay:"[วันนี้ เวลา] LT",nextDay:"[พรุ่งนี้ เวลา] LT",nextWeek:"dddd[หน้า เวลา] LT",lastDay:"[เมื่อวานนี้ เวลา] LT",lastWeek:"[วัน]dddd[ที่แล้ว เวลา] LT",sameElse:"L"},relativeTime:{future:"อีก %s",past:"%sที่แล้ว",s:"ไม่กี่วินาที",ss:"%d วินาที",m:"1 นาที",mm:"%d นาที",h:"1 ชั่วโมง",hh:"%d ชั่วโมง",d:"1 วัน",dd:"%d วัน",M:"1 เดือน",MM:"%d เดือน",y:"1 ปี",yy:"%d ปี"}})})(n(0))},function(t,e,n){(function(t){"use strict";t.defineLocale("tl-ph",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"LT [ngayong araw]",nextDay:"[Bukas ng] LT",nextWeek:"LT [sa susunod na] dddd",lastDay:"LT [kahapon]",lastWeek:"LT [noong nakaraang] dddd",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",ss:"%d segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(t){return t},week:{dow:1,doy:4}})})(n(0))},function(t,e,n){(function(t){"use strict";var i="pagh_wa_cha_wej_loS_vagh_jav_Soch_chorgh_Hut".split("_");function e(t,e,n,r){var a=function(t){var e=Math.floor(t%1e3/100),n=Math.floor(t%100/10),r=t%10,a="";0<e&&(a+=i[e]+"vatlh");0<n&&(a+=(""!==a?" ":"")+i[n]+"maH");0<r&&(a+=(""!==a?" ":"")+i[r]);return""===a?"pagh":a}(t);switch(n){case"ss":return a+" lup";case"mm":return a+" tup";case"hh":return a+" rep";case"dd":return a+" jaj";case"MM":return a+" jar";case"yy":return a+" DIS"}}t.defineLocale("tlh",{months:"tera jar wa_tera jar cha_tera jar wej_tera jar loS_tera jar vagh_tera jar jav_tera jar Soch_tera jar chorgh_tera jar Hut_tera jar wamaH_tera jar wamaH wa_tera jar wamaH cha".split("_"),monthsShort:"jar wa_jar cha_jar wej_jar loS_jar vagh_jar jav_jar Soch_jar chorgh_jar Hut_jar wamaH_jar wamaH wa_jar wamaH cha".split("_"),monthsParseExact:!0,weekdays:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysShort:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysMin:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[DaHjaj] LT",nextDay:"[waleS] LT",nextWeek:"LLL",lastDay:"[waHu] LT",lastWeek:"LLL",sameElse:"L"},relativeTime:{future:function(t){var e=t;return e=-1!==t.indexOf("jaj")?e.slice(0,-3)+"leS":-1!==t.indexOf("jar")?e.slice(0,-3)+"waQ":-1!==t.indexOf("DIS")?e.slice(0,-3)+"nem":e+" pIq"},past:function(t){var e=t;return e=-1!==t.indexOf("jaj")?e.slice(0,-3)+"Hu":-1!==t.indexOf("jar")?e.slice(0,-3)+"wen":-1!==t.indexOf("DIS")?e.slice(0,-3)+"ben":e+" ret"},s:"puS lup",ss:e,m:"wa tup",mm:e,h:"wa rep",hh:e,d:"wa jaj",dd:e,M:"wa jar",MM:e,y:"wa DIS",yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})})(n(0))},function(t,e,n){(function(t){"use strict";var n={1:"'inci",5:"'inci",8:"'inci",70:"'inci",80:"'inci",2:"'nci",7:"'nci",20:"'nci",50:"'nci",3:"'üncü",4:"'üncü",100:"'üncü",6:"'ncı",9:"'uncu",10:"'uncu",30:"'uncu",60:"'ıncı",90:"'ıncı"};t.defineLocale("tr",{months:"Ocak_Şubat_Mart_Nisan_Mayıs_Haziran_Temmuz_Ağustos_Eylül_Ekim_Kasım_Aralık".split("_"),monthsShort:"Oca_Şub_Mar_Nis_May_Haz_Tem_Ağu_Eyl_Eki_Kas_Ara".split("_"),weekdays:"Pazar_Pazartesi_Salı_Çarşamba_Perşembe_Cuma_Cumartesi".split("_"),weekdaysShort:"Paz_Pts_Sal_Çar_Per_Cum_Cts".split("_"),weekdaysMin:"Pz_Pt_Sa_Ça_Pe_Cu_Ct".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bugün saat] LT",nextDay:"[yarın saat] LT",nextWeek:"[gelecek] dddd [saat] LT",lastDay:"[dün] LT",lastWeek:"[geçen] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s önce",s:"birkaç saniye",ss:"%d saniye",m:"bir dakika",mm:"%d dakika",h:"bir saat",hh:"%d saat",d:"bir gün",dd:"%d gün",M:"bir ay",MM:"%d ay",y:"bir yıl",yy:"%d yıl"},dayOfMonthOrdinalParse:/\d{1,2}'(inci|nci|üncü|ncı|uncu|ıncı)/,ordinal:function(t){if(0===t)return t+"'ıncı";var e=t%10;return t+(n[e]||n[t%100-e]||n[100<=t?100:null])},week:{dow:1,doy:7}})})(n(0))},function(t,e,n){(function(t){"use strict";function e(t,e,n,r){var a={s:["viensas secunds","'iensas secunds"],ss:[t+" secunds",t+" secunds"],m:["'n míut","'iens míut"],mm:[t+" míuts",t+" míuts"],h:["'n þora","'iensa þora"],hh:[t+" þoras",t+" þoras"],d:["'n ziua","'iensa ziua"],dd:[t+" ziuas",t+" ziuas"],M:["'n mes","'iens mes"],MM:[t+" mesen",t+" mesen"],y:["'n ar","'iens ar"],yy:[t+" ars",t+" ars"]};return r?a[n][0]:e?a[n][0]:a[n][1]}t.defineLocale("tzl",{months:"Januar_Fevraglh_Març_Avrïu_Mai_Gün_Julia_Guscht_Setemvar_Listopäts_Noemvar_Zecemvar".split("_"),monthsShort:"Jan_Fev_Mar_Avr_Mai_Gün_Jul_Gus_Set_Lis_Noe_Zec".split("_"),weekdays:"Súladi_Lúneçi_Maitzi_Márcuri_Xhúadi_Viénerçi_Sáturi".split("_"),weekdaysShort:"Súl_Lún_Mai_Már_Xhú_Vié_Sát".split("_"),weekdaysMin:"Sú_Lú_Ma_Má_Xh_Vi_Sá".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"D. MMMM [dallas] YYYY",LLL:"D. MMMM [dallas] YYYY HH.mm",LLLL:"dddd, [li] D. MMMM [dallas] YYYY HH.mm"},meridiemParse:/d\'o|d\'a/i,isPM:function(t){return"d'o"===t.toLowerCase()},meridiem:function(t,e,n){return 11<t?n?"d'o":"D'O":n?"d'a":"D'A"},calendar:{sameDay:"[oxhi à] LT",nextDay:"[demà à] LT",nextWeek:"dddd [à] LT",lastDay:"[ieiri à] LT",lastWeek:"[sür el] dddd [lasteu à] LT",sameElse:"L"},relativeTime:{future:"osprei %s",past:"ja%s",s:e,ss:e,m:e,mm:e,h:e,hh:e,d:e,dd:e,M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})})(n(0))},function(t,e,n){(function(t){"use strict";t.defineLocale("tzm",{months:"ⵉⴰⵢ_ⴱⴰⵢ_ⵎⴰⵚ_ⵉⴱ_ⵎⴰⵢⵢⵓ_ⵢⵓⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⴱⵉ_ⴽⵟⵓⴱ_ⵓⵡⴰⴱⵉ_ⴷⵓⵊⴱⵉ".split("_"),monthsShort:"ⵉⴰⵢ_ⴱⴰⵢ_ⵎⴰⵚ_ⵉⴱ_ⵎⴰⵢⵢⵓ_ⵢⵓⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⴱⵉ_ⴽⵟⵓⴱ_ⵓⵡⴰⴱⵉ_ⴷⵓⵊⴱⵉ".split("_"),weekdays:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⴰⵙ_ⴰⵙⵉⴰⵙ_ⴰⴽⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⵢⴰⵙ".split("_"),weekdaysShort:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⴰⵙ_ⴰⵙⵉⴰⵙ_ⴰⴽⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⵢⴰⵙ".split("_"),weekdaysMin:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⴰⵙ_ⴰⵙⵉⴰⵙ_ⴰⴽⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⵢⴰⵙ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[ⴰⵙⴷⵅ ⴴ] LT",nextDay:"[ⴰⵙⴽⴰ ⴴ] LT",nextWeek:"dddd [ⴴ] LT",lastDay:"[ⴰⵚⴰⵏⵜ ⴴ] LT",lastWeek:"dddd [ⴴ] LT",sameElse:"L"},relativeTime:{future:"ⴷⴰⴷⵅ ⵙ ⵢⴰⵏ %s",past:"ⵢⴰⵏ %s",s:"ⵉⵎⵉⴽ",ss:"%d ⵉⵎⵉⴽ",m:"ⵎⵉⵏⵓⴺ",mm:"%d ⵎⵉⵏⵓⴺ",h:"ⵙⴰⵄⴰ",hh:"%d ⵜⴰⵙⵙⴰⵄⵉⵏ",d:"ⴰⵙⵙ",dd:"%d oⵙⵙⴰ",M:"ⴰⵢoⵓ",MM:"%d ⵉⵢⵢⵉⵔⵏ",y:"ⴰⵙⴳⴰⵙ",yy:"%d ⵉⵙⴳⴰⵙⵏ"},week:{dow:6,doy:12}})})(n(0))},function(t,e,n){(function(t){"use strict";t.defineLocale("tzm-latn",{months:"innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir".split("_"),monthsShort:"innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir".split("_"),weekdays:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),weekdaysShort:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),weekdaysMin:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[asdkh g] LT",nextDay:"[aska g] LT",nextWeek:"dddd [g] LT",lastDay:"[assant g] LT",lastWeek:"dddd [g] LT",sameElse:"L"},relativeTime:{future:"dadkh s yan %s",past:"yan %s",s:"imik",ss:"%d imik",m:"minuḍ",mm:"%d minuḍ",h:"saɛa",hh:"%d tassaɛin",d:"ass",dd:"%d ossan",M:"ayowr",MM:"%d iyyirn",y:"asgas",yy:"%d isgasn"},week:{dow:6,doy:12}})})(n(0))},function(t,e,n){(function(t){"use strict";function e(t,e,n){var r,a;return"m"===n?e?"хвилина":"хвилину":"h"===n?e?"година":"годину":t+" "+(r=+t,a={ss:e?"секунда_секунди_секунд":"секунду_секунди_секунд",mm:e?"хвилина_хвилини_хвилин":"хвилину_хвилини_хвилин",hh:e?"година_години_годин":"годину_години_годин",dd:ень_дні_днів",MM:ісяць_місяціісяців",yy:"рік_роки_років"}[n].split("_"),r%10==1&&r%100!=11?a[0]:2<=r%10&&r%10<=4&&(r%100<10||20<=r%100)?a[1]:a[2])}function n(t){return function(){return t+"о"+(11===this.hours()?"б":"")+"] LT"}}t.defineLocale("uk",{months:{format:"січня_лютого_березня_квітня_травня_червня_липня_серпня_вересня_жовтня_листопада_грудня".split("_"),standalone:"січень_лютий_березень_квітень_травень_червень_липень_серпень_вересень_жовтень_листопад_грудень".split("_")},monthsShort:"січ_лют_бер_квіт_трав_черв_лип_серп_веровт_лист_груд".split("_"),weekdays:function(t,e){var n={nominative:еділя_понеділок_вівторок_середаетвер_пятниця_субота".split("_"),accusative:еділю_понеділок_вівторок_середуетвер_пятницю_суботу".split("_"),genitive:еділі_понеділкаівторка_середи_четверга_пятниці_суботи".split("_")};return t?n[/(\[[ВвУу]\]) ?dddd/.test(e)?"accusative":/\[?(?:минулої|наступної)? ?\] ?dddd/.test(e)?"genitive":"nominative"][t.day()]:n.nominative},weekdaysShort:"нд_пн_вт_ср_чт_пт_сб".split("_"),weekdaysMin:"нд_пн_вт_ср_чт_пт_сб".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY р.",LLL:"D MMMM YYYY р., HH:mm",LLLL:"dddd, D MMMM YYYY р., HH:mm"},calendar:{sameDay:n("[Сьогодні "),nextDay:n("[Завтра "),lastDay:n("[Вчора "),nextWeek:n("[У] dddd ["),lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return n("[Минулої] dddd [").call(this);case 1:case 2:case 4:return n("[Минулого] dddd [").call(this)}},sameElse:"L"},relativeTime:{future:"за %s",past:"%s тому",s:"декілька секунд",ss:e,m:e,mm:e,h:"годину",hh:e,d:"день",dd:e,M:"місяць",MM:e,y:"рік",yy:e},meridiemParse:/ночі|ранку|дня|вечора/,isPM:function(t){return/^(дня|вечора)$/.test(t)},meridiem:function(t,e,n){return t<4?"ночі":t<12?"ранку":t<17?"дня":"вечора"},dayOfMonthOrdinalParse:/\d{1,2}-(й|го)/,ordinal:function(t,e){switch(e){case"M":case"d":case"DDD":case"w":case"W":return t+"-й";case"D":return t+"-го";default:return t}},week:{dow:1,doy:7}})})(n(0))},function(t,e,n){(function(t){"use strict";var e=["جنوری","فروری","مارچ","اپریل","مئی","جون","جولائی","اگست","ستمبر","اکتوبر","نومبر","دسمبر"],n=["اتوار","پیر","منگل","بدھ","جمعرات","جمعہ","ہفتہ"];t.defineLocale("ur",{months:e,monthsShort:e,weekdays:n,weekdaysShort:n,weekdaysMin:n,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd، D MMMM YYYY HH:mm"},meridiemParse:/صبح|شام/,isPM:function(t){return"شام"===t},meridiem:function(t,e,n){return t<12?"صبح":"شام"},calendar:{sameDay:"[آج بوقت] LT",nextDay:"[کل بوقت] LT",nextWeek:"dddd [بوقت] LT",lastDay:"[گذشتہ روز بوقت] LT",lastWeek:"[گذشتہ] dddd [بوقت] LT",sameElse:"L"},relativeTime:{future:"%s بعد",past:"%s قبل",s:"چند سیکنڈ",ss:"%d سیکنڈ",m:"ایک منٹ",mm:"%d منٹ",h:"ایک گھنٹہ",hh:"%d گھنٹے",d:"ایک دن",dd:"%d دن",M:"ایک ماہ",MM:"%d ماہ",y:"ایک سال",yy:"%d سال"},preparse:function(t){return t.replace(/،/g,",")},postformat:function(t){return t.replace(/,/g,"،")},week:{dow:1,doy:4}})})(n(0))},function(t,e,n){(function(t){"use strict";t.defineLocale("uz",{months:"январеврал_март_апрел_май_июн_июл_август_сентябр_октяброябрекабр".split("_"),monthsShort:"янв_фев_мар_апрай_июн_июл_авг_сен_окт_ноя_дек".split("_"),weekdays:"Якшанбаушанба_Сешанбаоршанбаайшанбаумаанба".split("_"),weekdaysShort:"Якш_Душ_Сеш_Чорай_Жум_Шан".split("_"),weekdaysMin:"Як_Ду_Сеоауа".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[Бугун соат] LT [да]",nextDay:"[Эртага] LT [да]",nextWeek:"dddd [куни соат] LT [да]",lastDay:"[Кеча соат] LT [да]",lastWeek:"[Утган] dddd [куни соат] LT [да]",sameElse:"L"},relativeTime:{future:"Якин %s ичида",past:"Бир неча %s олдин",s:"фурсат",ss:"%d фурсат",m:"бир дакика",mm:"%d дакика",h:"бир соат",hh:"%d соат",d:"бир кун",dd:"%d кун",M:"бир ой",MM:"%d ой",y:"бир йил",yy:"%d йил"},week:{dow:1,doy:7}})})(n(0))},function(t,e,n){(function(t){"use strict";t.defineLocale("uz-latn",{months:"Yanvar_Fevral_Mart_Aprel_May_Iyun_Iyul_Avgust_Sentabr_Oktabr_Noyabr_Dekabr".split("_"),monthsShort:"Yan_Fev_Mar_Apr_May_Iyun_Iyul_Avg_Sen_Okt_Noy_Dek".split("_"),weekdays:"Yakshanba_Dushanba_Seshanba_Chorshanba_Payshanba_Juma_Shanba".split("_"),weekdaysShort:"Yak_Dush_Sesh_Chor_Pay_Jum_Shan".split("_"),weekdaysMin:"Ya_Du_Se_Cho_Pa_Ju_Sha".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[Bugun soat] LT [da]",nextDay:"[Ertaga] LT [da]",nextWeek:"dddd [kuni soat] LT [da]",lastDay:"[Kecha soat] LT [da]",lastWeek:"[O'tgan] dddd [kuni soat] LT [da]",sameElse:"L"},relativeTime:{future:"Yaqin %s ichida",past:"Bir necha %s oldin",s:"soniya",ss:"%d soniya",m:"bir daqiqa",mm:"%d daqiqa",h:"bir soat",hh:"%d soat",d:"bir kun",dd:"%d kun",M:"bir oy",MM:"%d oy",y:"bir yil",yy:"%d yil"},week:{dow:1,doy:7}})})(n(0))},function(t,e,n){(function(t){"use strict";t.defineLocale("vi",{months:"tháng 1_tháng 2_tháng 3_tháng 4_tháng 5_tháng 6_tháng 7_tháng 8_tháng 9_tháng 10_tháng 11_tháng 12".split("_"),monthsShort:"Th01_Th02_Th03_Th04_Th05_Th06_Th07_Th08_Th09_Th10_Th11_Th12".split("_"),monthsParseExact:!0,weekdays:"chủ nhật_thứ hai_thứ ba_thứ tư_thứ năm_thứ sáu_thứ bảy".split("_"),weekdaysShort:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysMin:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysParseExact:!0,meridiemParse:/sa|ch/i,isPM:function(t){return/^ch$/i.test(t)},meridiem:function(t,e,n){return t<12?n?"sa":"SA":n?"ch":"CH"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [năm] YYYY",LLL:"D MMMM [năm] YYYY HH:mm",LLLL:"dddd, D MMMM [năm] YYYY HH:mm",l:"DD/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[Hôm nay lúc] LT",nextDay:"[Ngày mai lúc] LT",nextWeek:"dddd [tuần tới lúc] LT",lastDay:"[Hôm qua lúc] LT",lastWeek:"dddd [tuần rồi lúc] LT",sameElse:"L"},relativeTime:{future:"%s tới",past:"%s trước",s:"vài giây",ss:"%d giây",m:"một phút",mm:"%d phút",h:"một giờ",hh:"%d giờ",d:"một ngày",dd:"%d ngày",M:"một tháng",MM:"%d tháng",y:"một năm",yy:"%d năm"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(t){return t},week:{dow:1,doy:4}})})(n(0))},function(t,e,n){(function(t){"use strict";t.defineLocale("x-pseudo",{months:"J~áñúá~rý_F~ébrú~árý_~Márc~h_Áp~ríl_~Máý_~Júñé~_Júl~ý_Áú~gúst~_Sép~témb~ér_Ó~ctób~ér_Ñ~óvém~bér_~Décé~mbér".split("_"),monthsShort:"J~áñ_~Féb_~Már_~Ápr_~Máý_~Júñ_~Júl_~Áúg_~Sép_~Óct_~Ñóv_~Déc".split("_"),monthsParseExact:!0,weekdays:"S~úñdá~ý_Mó~ñdáý~_Túé~sdáý~_Wéd~ñésd~áý_T~húrs~dáý_~Fríd~áý_S~átúr~dáý".split("_"),weekdaysShort:"S~úñ_~Móñ_~Túé_~Wéd_~Thú_~Frí_~Sát".split("_"),weekdaysMin:"S~ú_Mó~_Tú_~Wé_T~h_Fr~_Sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[T~ódá~ý át] LT",nextDay:"[T~ómó~rró~w át] LT",nextWeek:"dddd [át] LT",lastDay:"[Ý~ést~érdá~ý át] LT",lastWeek:"[L~ást] dddd [át] LT",sameElse:"L"},relativeTime:{future:"í~ñ %s",past:"%s á~gó",s:"á ~féw ~sécó~ñds",ss:"%d s~écóñ~ds",m:"á ~míñ~úté",mm:"%d m~íñú~tés",h:"á~ñ hó~úr",hh:"%d h~óúrs",d:"á ~dáý",dd:"%d d~áýs",M:"á ~móñ~th",MM:"%d m~óñt~hs",y:"á ~ýéár",yy:"%d ý~éárs"},dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(t){var e=t%10;return t+(1==~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")},week:{dow:1,doy:4}})})(n(0))},function(t,e,n){(function(t){"use strict";t.defineLocale("yo",{months:"Sẹ́rẹ́_Èrèlè_Ẹrẹ̀nà_Ìgbé_Èbibi_Òkùdu_Agẹmo_Ògún_Owewe_Ọ̀wàrà_Bélú_Ọ̀pẹ̀̀".split("_"),monthsShort:"Sẹ́r_Èrl_Ẹrn_Ìgb_Èbi_Òkù_Agẹ_Ògú_Owe_Ọ̀wà_Bél_Ọ̀pẹ̀̀".split("_"),weekdays:"Àìkú_Ajé_Ìsẹ́gun_Ọjọ́rú_Ọjọ́bọ_Ẹtì_Àbámẹ́ta".split("_"),weekdaysShort:"Àìk_Ajé_Ìsẹ́_Ọjr_Ọjb_Ẹtì_Àbá".split("_"),weekdaysMin:"Àì_Aj_Ìs_Ọr_Ọb_Ẹt_Àb".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Ònì ni] LT",nextDay:"[Ọ̀la ni] LT",nextWeek:"dddd [Ọsẹ̀ tón'bọ] [ni] LT",lastDay:"[Àna ni] LT",lastWeek:"dddd [Ọsẹ̀ tólọ́] [ni] LT",sameElse:"L"},relativeTime:{future:"ní %s",past:"%s kọjá",s:"ìsẹjú aayá die",ss:"aayá %d",m:"ìsẹjú kan",mm:"ìsẹjú %d",h:"wákati kan",hh:"wákati %d",d:"ọjọ́ kan",dd:"ọjọ́ %d",M:"osù kan",MM:"osù %d",y:"ọdún kan",yy:"ọdún %d"},dayOfMonthOrdinalParse:/ọjọ́\s\d{1,2}/,ordinal:"ọjọ́ %d",week:{dow:1,doy:4}})})(n(0))},function(t,e,n){(function(t){"use strict";t.defineLocale("zh-cn",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"周日_周一_周二_周三_周四_周五_周六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日Ah点mm分",LLLL:"YYYY年M月D日ddddAh点mm分",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(t,e){return 12===t&&(t=0),"凌晨"===e||"早上"===e||"上午"===e?t:"下午"===e||"晚上"===e?t+12:11<=t?t:t+12},meridiem:function(t,e,n){var r=100*t+e;return r<600?"凌晨":r<900?"早上":r<1130?"上午":r<1230?"中午":r<1800?"下午":"晚上"},calendar:{sameDay:"[今天]LT",nextDay:"[明天]LT",nextWeek:"[下]ddddLT",lastDay:"[昨天]LT",lastWeek:"[上]ddddLT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|周)/,ordinal:function(t,e){switch(e){case"d":case"D":case"DDD":return t+"日";case"M":return t+"月";case"w":case"W":return t+"周";default:return t}},relativeTime:{future:"%s内",past:"%s前",s:"几秒",ss:"%d 秒",m:"1 分钟",mm:"%d 分钟",h:"1 小时",hh:"%d 小时",d:"1 天",dd:"%d 天",M:"1 个月",MM:"%d 个月",y:"1 年",yy:"%d 年"},week:{dow:1,doy:4}})})(n(0))},function(t,e,n){(function(t){"use strict";t.defineLocale("zh-hk",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日dddd HH:mm",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(t,e){return 12===t&&(t=0),"凌晨"===e||"早上"===e||"上午"===e?t:"中午"===e?11<=t?t:t+12:"下午"===e||"晚上"===e?t+12:void 0},meridiem:function(t,e,n){var r=100*t+e;return r<600?"凌晨":r<900?"早上":r<1130?"上午":r<1230?"中午":r<1800?"下午":"晚上"},calendar:{sameDay:"[今天]LT",nextDay:"[明天]LT",nextWeek:"[下]ddddLT",lastDay:"[昨天]LT",lastWeek:"[上]ddddLT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|週)/,ordinal:function(t,e){switch(e){case"d":case"D":case"DDD":return t+"日";case"M":return t+"月";case"w":case"W":return t+"週";default:return t}},relativeTime:{future:"%s內",past:"%s前",s:"幾秒",ss:"%d 秒",m:"1 分鐘",mm:"%d 分鐘",h:"1 小時",hh:"%d 小時",d:"1 天",dd:"%d 天",M:"1 個月",MM:"%d 個月",y:"1 年",yy:"%d 年"}})})(n(0))},function(t,e,n){(function(t){"use strict";t.defineLocale("zh-tw",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日dddd HH:mm",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(t,e){return 12===t&&(t=0),"凌晨"===e||"早上"===e||"上午"===e?t:"中午"===e?11<=t?t:t+12:"下午"===e||"晚上"===e?t+12:void 0},meridiem:function(t,e,n){var r=100*t+e;return r<600?"凌晨":r<900?"早上":r<1130?"上午":r<1230?"中午":r<1800?"下午":"晚上"},calendar:{sameDay:"[今天]LT",nextDay:"[明天]LT",nextWeek:"[下]ddddLT",lastDay:"[昨天]LT",lastWeek:"[上]ddddLT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|週)/,ordinal:function(t,e){switch(e){case"d":case"D":case"DDD":return t+"日";case"M":return t+"月";case"w":case"W":return t+"週";default:return t}},relativeTime:{future:"%s內",past:"%s前",s:"幾秒",ss:"%d 秒",m:"1 分鐘",mm:"%d 分鐘",h:"1 小時",hh:"%d 小時",d:"1 天",dd:"%d 天",M:"1 個月",MM:"%d 個月",y:"1 年",yy:"%d 年"}})})(n(0))},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getSubGraphs=e.indexNodes=e.getDepthFirstPos=e.addSubGraph=e.defaultStyle=e.clear=e.getClasses=e.getEdges=e.getVertices=e.getDirection=e.bindFunctions=e.setClickEvent=e.getTooltip=e.setClass=e.setDirection=e.addClass=e.updateLink=e.updateLinkInterpolate=e.addLink=e.addVertex=void 0;var o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},i=n(1),r=s(n(158)),a=s(n(6));function s(t){return t&&t.__esModule?t:{default:t}}var u={},l=[],c=[],d=[],h={},f=0,_=void 0,p=[],m=e.addVertex=function(e,t,n,r){var a=void 0;void 0!==e&&0!==e.trim().length&&(void 0===u[e]&&(u[e]={id:e,styles:[],classes:[]}),void 0!==t&&('"'===(a=t.trim())[0]&&'"'===a[a.length-1]&&(a=a.substring(1,a.length-1)),u[e].text=a),void 0!==n&&(u[e].type=n),void 0!==n&&(u[e].type=n),null!=r&&r.forEach(function(t){u[e].styles.push(t)}))},y=e.addLink=function(t,e,n,r){i.logger.info("Got edge...",t,e);var a={start:t,end:e,type:void 0,text:""};void 0!==(r=n.text)&&(a.text=r.trim(),'"'===a.text[0]&&'"'===a.text[a.text.length-1]&&(a.text=a.text.substring(1,a.text.length-1))),void 0!==n&&(a.type=n.type,a.stroke=n.stroke),l.push(a)},g=e.updateLinkInterpolate=function(t,e){"default"===t?l.defaultInterpolate=e:l[t].interpolate=e},v=e.updateLink=function(t,e){"default"===t?l.defaultStyle=e:(-1===r.default.isSubstringInArray("fill",e)&&e.push("fill:none"),l[t].style=e)},M=e.addClass=function(e,t){void 0===c[e]&&(c[e]={id:e,styles:[]}),null!=t&&t.forEach(function(t){c[e].styles.push(t)})},k=e.setDirection=function(t){_=t},b=e.setClass=function(t,e){0<t.indexOf(",")?t.split(",").forEach(function(t){void 0!==u[t]&&u[t].classes.push(e)}):void 0!==u[t]&&u[t].classes.push(e)},L=function(t,e){void 0!==e&&(h[t]=e)},w=function(n,r){void 0!==r&&void 0!==u[n]&&p.push(function(t){var e=a.default.select(t).select("#"+n);null!==e&&e.on("click",function(){window[r](n)})})},x=function(n,r){void 0!==r&&void 0!==u[n]&&p.push(function(t){var e=a.default.select(t).select("#"+n);null!==e&&e.on("click",function(){window.open(r,"newTab")})})},D=e.getTooltip=function(t){return h[t]},Y=e.setClickEvent=function(e,n,r,a){0<e.indexOf(",")?e.split(",").forEach(function(t){L(t,a),w(t,n),x(t,r),b(e,"clickable")}):(L(e,a),w(e,n),x(e,r),b(e,"clickable"))},T=e.bindFunctions=function(e){p.forEach(function(t){t(e)})},A=e.getDirection=function(){return _},S=e.getVertices=function(){return u},E=e.getEdges=function(){return l},j=e.getClasses=function(){return c},C=function(t){var n=a.default.select(".mermaidTooltip");null===n[0][0]&&(n=a.default.select("body").append("div").attr("class","mermaidTooltip").style("opacity",0)),a.default.select(t).select("svg").selectAll("g.node").on("mouseover",function(){var t=a.default.select(this);if(null!==t.attr("title")){var e=this.getBoundingClientRect();n.transition().duration(200).style("opacity",".9"),n.html(t.attr("title")).style("left",e.left+(e.right-e.left)/2+"px").style("top",e.top-14+document.body.scrollTop+"px"),t.classed("hover",!0)}}).on("mouseout",function(){n.transition().duration(500).style("opacity",0),a.default.select(this).classed("hover",!1)})};p.push(C);var F=e.clear=function(){u={},c={},l=[],(p=[]).push(C),d=[],f=0,h=[]},O=e.defaultStyle=function(){return"fill:#ffa;stroke: #f66; stroke-width: 3px; stroke-dasharray: 5, 5;fill:#ffa;stroke: #666;"},H=e.addSubGraph=function(t,e){var n,r,a,i=[];n=i.concat.apply(i,t),r={boolean:{},number:{},string:{}},a=[],i=n.filter(function(t){var e=void 0===t?"undefined":o(t);return" "!==t&&(e in r?!r[e].hasOwnProperty(t)&&(r[e][t]=!0):!(0<=a.indexOf(t))&&a.push(t))});var s={id:"subGraph"+f,nodes:i,title:e};return d.push(s),f+=1,s.id},P=function(t){for(var e=0;e<d.length;e++)if(d[e].id===t)return e;return-1},B=-1,N=[],I=e.getDepthFirstPos=function(t){return N[t]},R=e.indexNodes=function(){B=-1,0<d.length&&function t(e,n){var r=d[n].nodes;if(!(2e3<(B+=1))){if(N[B]=n,d[n].id===e)return{result:!0,count:0};for(var a=0,i=1;a<r.length;){var s=P(r[a]);if(0<=s){var o=t(e,s);if(o.result)return{result:!0,count:i+o.count};i+=o.count}a+=1}return{result:!1,count:i}}}("none",d.length-1)},z=e.getSubGraphs=function(){return d};e.default={addVertex:m,addLink:y,updateLinkInterpolate:g,updateLink:v,addClass:M,setDirection:k,setClass:b,getTooltip:D,setClickEvent:Y,bindFunctions:T,getDirection:A,getVertices:S,getEdges:E,getClasses:j,clear:F,defaultStyle:O,addSubGraph:H,getDepthFirstPos:I,indexNodes:R,getSubGraphs:z}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isSubstringInArray=e.detectType=void 0;var r=n(1),a=e.detectType=function(t){return(t=t.replace(/^\s*%%.*\n/g,"\n")).match(/^\s*sequenceDiagram/)?"sequenceDiagram":t.match(/^\s*digraph/)?"dotGraph":t.match(/^\s*info/)?"info":t.match(/^\s*gantt/)?"gantt":t.match(/^\s*classDiagram/)?(r.logger.debug("Detected classDiagram syntax"),"classDiagram"):t.match(/^\s*gitGraph/)?(r.logger.debug("Detected gitGraph syntax"),"gitGraph"):"graph"},i=e.isSubstringInArray=function(t,e){for(var n=0;n<e.length;n++)if(e[n].match(t))return n;return-1};e.default={detectType:a,isSubstringInArray:i}},function(Ho,Po,Bo){var No,Io;!function(){var F={version:"3.5.17"},i=[].slice,h=function(t){return i.call(t)},v=this.document;function o(t){return t&&(t.ownerDocument||t.document||t).documentElement}function O(t){return t&&(t.ownerDocument&&t.ownerDocument.defaultView||t.document&&t||t.defaultView)}if(v)try{h(v.documentElement.childNodes)[0].nodeType}catch(t){h=function(t){for(var e=t.length,n=new Array(e);e--;)n[e]=t[e];return n}}if(Date.now||(Date.now=function(){return+new Date}),v)try{v.createElement("DIV").style.setProperty("opacity",0,"")}catch(t){var e=this.Element.prototype,n=e.setAttribute,r=e.setAttributeNS,a=this.CSSStyleDeclaration.prototype,s=a.setProperty;e.setAttribute=function(t,e){n.call(this,t,e+"")},e.setAttributeNS=function(t,e,n){r.call(this,t,e,n+"")},a.setProperty=function(t,e,n){s.call(this,t,e+"",n)}}function u(t,e){return t<e?-1:e<t?1:e<=t?0:NaN}function l(t){return null===t?NaN:+t}function c(t){return!isNaN(t)}function t(i){return{left:function(t,e,n,r){for(arguments.length<3&&(n=0),arguments.length<4&&(r=t.length);n<r;){var a=n+r>>>1;i(t[a],e)<0?n=a+1:r=a}return n},right:function(t,e,n,r){for(arguments.length<3&&(n=0),arguments.length<4&&(r=t.length);n<r;){var a=n+r>>>1;0<i(t[a],e)?r=a:n=a+1}return n}}}F.ascending=u,F.descending=function(t,e){return e<t?-1:t<e?1:t<=e?0:NaN},F.min=function(t,e){var n,r,a=-1,i=t.length;if(1===arguments.length){for(;++a<i;)if(null!=(r=t[a])&&r<=r){n=r;break}for(;++a<i;)null!=(r=t[a])&&r<n&&(n=r)}else{for(;++a<i;)if(null!=(r=e.call(t,t[a],a))&&r<=r){n=r;break}for(;++a<i;)null!=(r=e.call(t,t[a],a))&&r<n&&(n=r)}return n},F.max=function(t,e){var n,r,a=-1,i=t.length;if(1===arguments.length){for(;++a<i;)if(null!=(r=t[a])&&r<=r){n=r;break}for(;++a<i;)null!=(r=t[a])&&n<r&&(n=r)}else{for(;++a<i;)if(null!=(r=e.call(t,t[a],a))&&r<=r){n=r;break}for(;++a<i;)null!=(r=e.call(t,t[a],a))&&n<r&&(n=r)}return n},F.extent=function(t,e){var n,r,a,i=-1,s=t.length;if(1===arguments.length){for(;++i<s;)if(null!=(r=t[i])&&r<=r){n=a=r;break}for(;++i<s;)null!=(r=t[i])&&(r<n&&(n=r),a<r&&(a=r))}else{for(;++i<s;)if(null!=(r=e.call(t,t[i],i))&&r<=r){n=a=r;break}for(;++i<s;)null!=(r=e.call(t,t[i],i))&&(r<n&&(n=r),a<r&&(a=r))}return[n,a]},F.sum=function(t,e){var n,r=0,a=t.length,i=-1;if(1===arguments.length)for(;++i<a;)c(n=+t[i])&&(r+=n);else for(;++i<a;)c(n=+e.call(t,t[i],i))&&(r+=n);return r},F.mean=function(t,e){var n,r=0,a=t.length,i=-1,s=a;if(1===arguments.length)for(;++i<a;)c(n=l(t[i]))?r+=n:--s;else for(;++i<a;)c(n=l(e.call(t,t[i],i)))?r+=n:--s;if(s)return r/s},F.quantile=function(t,e){var n=(t.length-1)*e+1,r=Math.floor(n),a=+t[r-1],i=n-r;return i?a+i*(t[r]-a):a},F.median=function(t,e){var n,r=[],a=t.length,i=-1;if(1===arguments.length)for(;++i<a;)c(n=l(t[i]))&&r.push(n);else for(;++i<a;)c(n=l(e.call(t,t[i],i)))&&r.push(n);if(r.length)return F.quantile(r.sort(u),.5)},F.variance=function(t,e){var n,r,a=t.length,i=0,s=0,o=-1,u=0;if(1===arguments.length)for(;++o<a;)c(n=l(t[o]))&&(s+=(r=n-i)*(n-(i+=r/++u)));else for(;++o<a;)c(n=l(e.call(t,t[o],o)))&&(s+=(r=n-i)*(n-(i+=r/++u)));if(1<u)return s/(u-1)},F.deviation=function(){var t=F.variance.apply(this,arguments);return t?Math.sqrt(t):t};var d=t(u);function f(t){return t.length}F.bisectLeft=d.left,F.bisect=F.bisectRight=d.right,F.bisector=function(n){return t(1===n.length?function(t,e){return u(n(t),e)}:n)},F.shuffle=function(t,e,n){(i=arguments.length)<3&&(n=t.length,i<2&&(e=0));for(var r,a,i=n-e;i;)a=Math.random()*i--|0,r=t[i+e],t[i+e]=t[a+e],t[a+e]=r;return t},F.permute=function(t,e){for(var n=e.length,r=new Array(n);n--;)r[n]=t[e[n]];return r},F.pairs=function(t){for(var e=0,n=t.length-1,r=t[0],a=new Array(n<0?0:n);e<n;)a[e]=[r,r=t[++e]];return a},F.transpose=function(t){if(!(a=t.length))return[];for(var e=-1,n=F.min(t,f),r=new Array(n);++e<n;)for(var a,i=-1,s=r[e]=new Array(a);++i<a;)s[i]=t[i][e];return r},F.zip=function(){return F.transpose(arguments)},F.keys=function(t){var e=[];for(var n in t)e.push(n);return e},F.values=function(t){var e=[];for(var n in t)e.push(t[n]);return e},F.entries=function(t){var e=[];for(var n in t)e.push({key:n,value:t[n]});return e},F.merge=function(t){for(var e,n,r,a=t.length,i=-1,s=0;++i<a;)s+=t[i].length;for(n=new Array(s);0<=--a;)for(e=(r=t[a]).length;0<=--e;)n[--s]=r[e];return n};var C=Math.abs;function _(t,e){for(var n in e)Object.defineProperty(t.prototype,n,{value:e[n],enumerable:!1})}function g(){this._=Object.create(null)}F.range=function(t,e,n){if(arguments.length<3&&(n=1,arguments.length<2&&(e=t,t=0)),(e-t)/n==1/0)throw new Error("infinite range");var r,a=[],i=function(t){var e=1;for(;t*e%1;)e*=10;return e}(C(n)),s=-1;if(t*=i,e*=i,(n*=i)<0)for(;(r=t+n*++s)>e;)a.push(r/i);else for(;(r=t+n*++s)<e;)a.push(r/i);return a},F.map=function(t,e){var n=new g;if(t instanceof g)t.forEach(function(t,e){n.set(t,e)});else if(Array.isArray(t)){var r,a=-1,i=t.length;if(1===arguments.length)for(;++a<i;)n.set(a,t[a]);else for(;++a<i;)n.set(e.call(t,r=t[a],a),r)}else for(var s in t)n.set(s,t[s]);return n};var p="__proto__",m="\0";function y(t){return(t+="")===p||t[0]===m?m+t:t}function M(t){return(t+="")[0]===m?t.slice(1):t}function k(t){return y(t)in this._}function b(t){return(t=y(t))in this._&&delete this._[t]}function L(){var t=[];for(var e in this._)t.push(M(e));return t}function w(){var t=0;for(var e in this._)++t;return t}function x(){for(var t in this._)return!1;return!0}function D(){this._=Object.create(null)}function H(t){return t}function Y(e,n,r){return function(){var t=r.apply(n,arguments);return t===n?e:t}}function T(t,e){if(e in t)return e;e=e.charAt(0).toUpperCase()+e.slice(1);for(var n=0,r=A.length;n<r;++n){var a=A[n]+e;if(a in t)return a}}_(g,{has:k,get:function(t){return this._[y(t)]},set:function(t,e){return this._[y(t)]=e},remove:b,keys:L,values:function(){var t=[];for(var e in this._)t.push(this._[e]);return t},entries:function(){var t=[];for(var e in this._)t.push({key:M(e),value:this._[e]});return t},size:w,empty:x,forEach:function(t){for(var e in this._)t.call(this,M(e),this._[e])}}),F.nest=function(){var d,h,f={},_=[],e=[];function p(n,t,r){if(r>=_.length)return h?h.call(f,t):d?t.sort(d):t;for(var e,a,i,s,o=-1,u=t.length,l=_[r++],c=new g;++o<u;)(s=c.get(e=l(a=t[o])))?s.push(a):c.set(e,[a]);return n?(a=n(),i=function(t,e){a.set(t,p(n,e,r))}):(a={},i=function(t,e){a[t]=p(n,e,r)}),c.forEach(i),a}return f.map=function(t,e){return p(e,t,0)},f.entries=function(t){return function n(t,r){if(r>=_.length)return t;var a=[],i=e[r++];return t.forEach(function(t,e){a.push({key:t,values:n(e,r)})}),i?a.sort(function(t,e){return i(t.key,e.key)}):a}(p(F.map,t,0),0)},f.key=function(t){return _.push(t),f},f.sortKeys=function(t){return e[_.length-1]=t,f},f.sortValues=function(t){return d=t,f},f.rollup=function(t){return h=t,f},f},F.set=function(t){var e=new D;if(t)for(var n=0,r=t.length;n<r;++n)e.add(t[n]);return e},_(D,{has:k,add:function(t){return this._[y(t+="")]=!0,t},remove:b,values:L,size:w,empty:x,forEach:function(t){for(var e in this._)t.call(this,M(e))}}),F.behavior={},F.rebind=function(t,e){for(var n,r=1,a=arguments.length;++r<a;)t[n=arguments[r]]=Y(t,e,e[n]);return t};var A=["webkit","ms","moz","Moz","o","O"];function S(){}function E(){}function j(a){var i=[],s=new g;function t(){for(var t,e=i,n=-1,r=e.length;++n<r;)(t=e[n].on)&&t.apply(this,arguments);return a}return t.on=function(t,e){var n,r=s.get(t);return arguments.length<2?r&&r.on:(r&&(r.on=null,i=i.slice(0,n=i.indexOf(r)).concat(i.slice(n+1)),s.remove(t)),e&&i.push(s.set(t,{on:e})),a)},t}function P(){F.event.preventDefault()}function B(){for(var t,e=F.event;t=e.sourceEvent;)e=t;return e}function N(a){for(var i=new E,t=0,e=arguments.length;++t<e;)i[arguments[t]]=j(i);return i.of=function(n,r){return function(t){try{var e=t.sourceEvent=F.event;t.target=a,F.event=t,i[t.type].apply(n,r)}finally{F.event=e}}},i}F.dispatch=function(){for(var t=new E,e=-1,n=arguments.length;++e<n;)t[arguments[e]]=j(t);return t},E.prototype.on=function(t,e){var n=t.indexOf("."),r="";if(0<=n&&(r=t.slice(n+1),t=t.slice(0,n)),t)return arguments.length<2?this[t].on(r):this[t].on(r,e);if(2===arguments.length){if(null==e)for(t in this)this.hasOwnProperty(t)&&this[t].on(r,null);return this}},F.event=null,F.requote=function(t){return t.replace(I,"\\$&")};var I=/[\\\^\$\*\+\?\|\[\]\(\)\.\{\}]/g,R={}.__proto__?function(t,e){t.__proto__=e}:function(t,e){for(var n in e)t[n]=e[n]};function z(t){return R(t,V),t}var W=function(t,e){return e.querySelector(t)},q=function(t,e){return e.querySelectorAll(t)},U=function(t,e){var n=t.matches||t[T(t,"matchesSelector")];return(U=function(t,e){return n.call(t,e)})(t,e)};"function"==typeof Sizzle&&(W=function(t,e){return Sizzle(t,e)[0]||null},q=Sizzle,U=Sizzle.matchesSelector),F.selection=function(){return F.select(v.documentElement)};var V=F.selection.prototype=[];function $(t){return"function"==typeof t?t:function(){return W(t,this)}}function G(t){return"function"==typeof t?t:function(){return q(t,this)}}V.select=function(t){var e,n,r,a,i=[];t=$(t);for(var s=-1,o=this.length;++s<o;){i.push(e=[]),e.parentNode=(r=this[s]).parentNode;for(var u=-1,l=r.length;++u<l;)(a=r[u])?(e.push(n=t.call(a,a.__data__,u,s)),n&&"__data__"in a&&(n.__data__=a.__data__)):e.push(null)}return z(i)},V.selectAll=function(t){var e,n,r=[];t=G(t);for(var a=-1,i=this.length;++a<i;)for(var s=this[a],o=-1,u=s.length;++o<u;)(n=s[o])&&(r.push(e=h(t.call(n,n.__data__,o,a))),e.parentNode=n);return z(r)};var J="http://www.w3.org/1999/xhtml",Z={svg:"http://www.w3.org/2000/svg",xhtml:J,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function K(e,n){return e=F.ns.qualify(e),null==n?e.local?function(){this.removeAttributeNS(e.space,e.local)}:function(){this.removeAttribute(e)}:"function"==typeof n?e.local?function(){var t=n.apply(this,arguments);null==t?this.removeAttributeNS(e.space,e.local):this.setAttributeNS(e.space,e.local,t)}:function(){var t=n.apply(this,arguments);null==t?this.removeAttribute(e):this.setAttribute(e,t)}:e.local?function(){this.setAttributeNS(e.space,e.local,n)}:function(){this.setAttribute(e,n)}}function X(t){return t.trim().replace(/\s+/g," ")}function Q(t){return new RegExp("(?:^|\\s+)"+F.requote(t)+"(?:\\s+|$)","g")}function tt(t){return(t+"").trim().split(/^|\s+/)}function et(n,r){var a=(n=tt(n).map(nt)).length;return"function"==typeof r?function(){for(var t=-1,e=r.apply(this,arguments);++t<a;)n[t](this,e)}:function(){for(var t=-1;++t<a;)n[t](this,r)}}function nt(r){var a=Q(r);return function(t,e){if(n=t.classList)return e?n.add(r):n.remove(r);var n=t.getAttribute("class")||"";e?(a.lastIndex=0,a.test(n)||t.setAttribute("class",X(n+" "+r))):t.setAttribute("class",X(n.replace(a," ")))}}function rt(e,n,r){return null==n?function(){this.style.removeProperty(e)}:"function"==typeof n?function(){var t=n.apply(this,arguments);null==t?this.style.removeProperty(e):this.style.setProperty(e,t,r)}:function(){this.style.setProperty(e,n,r)}}function at(e,n){return null==n?function(){delete this[e]}:"function"==typeof n?function(){var t=n.apply(this,arguments);null==t?delete this[e]:this[e]=t}:function(){this[e]=n}}function it(n){return"function"==typeof n?n:(n=F.ns.qualify(n)).local?function(){return this.ownerDocument.createElementNS(n.space,n.local)}:function(){var t=this.ownerDocument,e=this.namespaceURI;return e===J&&t.documentElement.namespaceURI===J?t.createElement(n):t.createElementNS(e,n)}}function st(){var t=this.parentNode;t&&t.removeChild(this)}function ot(t){return{__data__:t}}function ut(t){return function(){return U(this,t)}}function lt(t,e){for(var n=0,r=t.length;n<r;n++)for(var a,i=t[n],s=0,o=i.length;s<o;s++)(a=i[s])&&e(a,s,n);return t}function ct(t){return R(t,dt),t}F.ns={prefix:Z,qualify:function(t){var e=t.indexOf(":"),n=t;return 0<=e&&"xmlns"!==(n=t.slice(0,e))&&(t=t.slice(e+1)),Z.hasOwnProperty(n)?{space:Z[n],local:t}:t}},V.attr=function(t,e){if(arguments.length<2){if("string"==typeof t){var n=this.node();return(t=F.ns.qualify(t)).local?n.getAttributeNS(t.space,t.local):n.getAttribute(t)}for(e in t)this.each(K(e,t[e]));return this}return this.each(K(t,e))},V.classed=function(t,e){if(arguments.length<2){if("string"==typeof t){var n=this.node(),r=(t=tt(t)).length,a=-1;if(e=n.classList){for(;++a<r;)if(!e.contains(t[a]))return!1}else for(e=n.getAttribute("class");++a<r;)if(!Q(t[a]).test(e))return!1;return!0}for(e in t)this.each(et(e,t[e]));return this}return this.each(et(t,e))},V.style=function(t,e,n){var r=arguments.length;if(r<3){if("string"!=typeof t){for(n in r<2&&(e=""),t)this.each(rt(n,t[n],e));return this}if(r<2){var a=this.node();return O(a).getComputedStyle(a,null).getPropertyValue(t)}n=""}return this.each(rt(t,e,n))},V.property=function(t,e){if(arguments.length<2){if("string"==typeof t)return this.node()[t];for(e in t)this.each(at(e,t[e]));return this}return this.each(at(t,e))},V.text=function(e){return arguments.length?this.each("function"==typeof e?function(){var t=e.apply(this,arguments);this.textContent=null==t?"":t}:null==e?function(){this.textContent=""}:function(){this.textContent=e}):this.node().textContent},V.html=function(e){return arguments.length?this.each("function"==typeof e?function(){var t=e.apply(this,arguments);this.innerHTML=null==t?"":t}:null==e?function(){this.innerHTML=""}:function(){this.innerHTML=e}):this.node().innerHTML},V.append=function(t){return t=it(t),this.select(function(){return this.appendChild(t.apply(this,arguments))})},V.insert=function(t,e){return t=it(t),e=$(e),this.select(function(){return this.insertBefore(t.apply(this,arguments),e.apply(this,arguments)||null)})},V.remove=function(){return this.each(st)},V.data=function(t,_){var e,n,r=-1,a=this.length;if(!arguments.length){for(t=new Array(a=(e=this[0]).length);++r<a;)(n=e[r])&&(t[r]=n.__data__);return t}function i(t,e){var n,r,a,i=t.length,s=e.length,o=Math.min(i,s),u=new Array(s),l=new Array(s),c=new Array(i);if(_){var d,h=new g,f=new Array(i);for(n=-1;++n<i;)(r=t[n])&&(h.has(d=_.call(r,r.__data__,n))?c[n]=r:h.set(d,r),f[n]=d);for(n=-1;++n<s;)(r=h.get(d=_.call(e,a=e[n],n)))?!0!==r&&((u[n]=r).__data__=a):l[n]=ot(a),h.set(d,!0);for(n=-1;++n<i;)n in f&&!0!==h.get(f[n])&&(c[n]=t[n])}else{for(n=-1;++n<o;)r=t[n],a=e[n],r?(r.__data__=a,u[n]=r):l[n]=ot(a);for(;n<s;++n)l[n]=ot(e[n]);for(;n<i;++n)c[n]=t[n]}l.update=u,l.parentNode=u.parentNode=c.parentNode=t.parentNode,p.push(l),m.push(u),y.push(c)}var p=ct([]),m=z([]),y=z([]);if("function"==typeof t)for(;++r<a;)i(e=this[r],t.call(e,e.parentNode.__data__,r));else for(;++r<a;)i(e=this[r],t);return m.enter=function(){return p},m.exit=function(){return y},m},V.datum=function(t){return arguments.length?this.property("__data__",t):this.property("__data__")},V.filter=function(t){var e,n,r,a=[];"function"!=typeof t&&(t=ut(t));for(var i=0,s=this.length;i<s;i++){a.push(e=[]),e.parentNode=(n=this[i]).parentNode;for(var o=0,u=n.length;o<u;o++)(r=n[o])&&t.call(r,r.__data__,o,i)&&e.push(r)}return z(a)},V.order=function(){for(var t=-1,e=this.length;++t<e;)for(var n,r=this[t],a=r.length-1,i=r[a];0<=--a;)(n=r[a])&&(i&&i!==n.nextSibling&&i.parentNode.insertBefore(n,i),i=n);return this},V.sort=function(t){t=function(n){arguments.length||(n=u);return function(t,e){return t&&e?n(t.__data__,e.__data__):!t-!e}}.apply(this,arguments);for(var e=-1,n=this.length;++e<n;)this[e].sort(t);return this.order()},V.each=function(r){return lt(this,function(t,e,n){r.call(t,t.__data__,e,n)})},V.call=function(t){var e=h(arguments);return t.apply(e[0]=this,e),this},V.empty=function(){return!this.node()},V.node=function(){for(var t=0,e=this.length;t<e;t++)for(var n=this[t],r=0,a=n.length;r<a;r++){var i=n[r];if(i)return i}return null},V.size=function(){var t=0;return lt(this,function(){++t}),t};var dt=[];function ht(a,e,n){var r="__on"+a,t=a.indexOf("."),i=_t;0<t&&(a=a.slice(0,t));var s=ft.get(a);function o(){var t=this[r];t&&(this.removeEventListener(a,t,t.$),delete this[r])}return s&&(a=s,i=pt),t?e?function(){var t=i(e,h(arguments));o.call(this),this.addEventListener(a,this[r]=t,t.$=n),t._=e}:o:e?S:function(){var t,e=new RegExp("^__on([^.]+)"+F.requote(a)+"$");for(var n in this)if(t=n.match(e)){var r=this[n];this.removeEventListener(t[1],r,r.$),delete this[n]}}}F.selection.enter=ct,(F.selection.enter.prototype=dt).append=V.append,dt.empty=V.empty,dt.node=V.node,dt.call=V.call,dt.size=V.size,dt.select=function(t){for(var e,n,r,a,i,s=[],o=-1,u=this.length;++o<u;){r=(a=this[o]).update,s.push(e=[]),e.parentNode=a.parentNode;for(var l=-1,c=a.length;++l<c;)(i=a[l])?(e.push(r[l]=n=t.call(a.parentNode,i.__data__,l,o)),n.__data__=i.__data__):e.push(null)}return z(s)},dt.insert=function(t,e){var s,o,u;return arguments.length<2&&(s=this,e=function(t,e,n){var r,a=s[n].update,i=a.length;for(n!=u&&(u=n,o=0),o<=e&&(o=e+1);!(r=a[o])&&++o<i;);return r}),V.insert.call(this,t,e)},F.select=function(t){var e;return"string"==typeof t?(e=[W(t,v)]).parentNode=v.documentElement:(e=[t]).parentNode=o(t),z([e])},F.selectAll=function(t){var e;return"string"==typeof t?(e=h(q(t,v))).parentNode=v.documentElement:(e=h(t)).parentNode=null,z([e])},V.on=function(t,e,n){var r=arguments.length;if(r<3){if("string"!=typeof t){for(n in r<2&&(e=!1),t)this.each(ht(n,t[n],e));return this}if(r<2)return(r=this.node()["__on"+t])&&r._;n=!1}return this.each(ht(t,e,n))};var ft=F.map({mouseenter:"mouseover",mouseleave:"mouseout"});function _t(n,r){return function(t){var e=F.event;F.event=t,r[0]=this.__data__;try{n.apply(this,r)}finally{F.event=e}}}function pt(t,e){var n=_t(t,e);return function(t){var e=t.relatedTarget;e&&(e===this||8&e.compareDocumentPosition(this))||n.call(this,t)}}v&&ft.forEach(function(t){"on"+t in v&&ft.remove(t)});var mt,yt=0;function gt(t){var n=".dragsuppress-"+ ++yt,r="click"+n,a=F.select(O(t)).on("touchmove"+n,P).on("dragstart"+n,P).on("selectstart"+n,P);if(null==mt&&(mt=!("onselectstart"in t)&&T(t.style,"userSelect")),mt){var i=o(t).style,s=i[mt];i[mt]="none"}return function(t){if(a.on(n,null),mt&&(i[mt]=s),t){var e=function(){a.on(r,null)};a.on(r,function(){P(),e()},!0),setTimeout(e,0)}}}F.mouse=function(t){return Mt(t,B())};var vt=this.navigator&&/WebKit/.test(this.navigator.userAgent)?-1:0;function Mt(t,e){e.changedTouches&&(e=e.changedTouches[0]);var n=t.ownerSVGElement||t;if(n.createSVGPoint){var r=n.createSVGPoint();if(vt<0){var a=O(t);if(a.scrollX||a.scrollY){var i=(n=F.select("body").append("svg").style({position:"absolute",top:0,left:0,margin:0,padding:0,border:"none"},"important"))[0][0].getScreenCTM();vt=!(i.f||i.e),n.remove()}}return vt?(r.x=e.pageX,r.y=e.pageY):(r.x=e.clientX,r.y=e.clientY),[(r=r.matrixTransform(t.getScreenCTM().inverse())).x,r.y]}var s=t.getBoundingClientRect();return[e.clientX-s.left-t.clientLeft,e.clientY-s.top-t.clientTop]}function kt(){return F.event.changedTouches[0].identifier}F.touch=function(t,e,n){if(arguments.length<3&&(n=e,e=B().changedTouches),e)for(var r,a=0,i=e.length;a<i;++a)if((r=e[a]).identifier===n)return Mt(t,r)},F.behavior.drag=function(){var p=N(n,"drag","dragstart","dragend"),m=null,t=r(S,F.mouse,O,"mousemove","mouseup"),e=r(kt,F.touch,H,"touchmove","touchend");function n(){this.on("mousedown.drag",t).on("touchstart.drag",e)}function r(c,d,h,f,_){return function(){var r,t=F.event.target.correspondingElement||F.event.target,a=this.parentNode,i=p.of(this,arguments),s=0,o=c(),e=".drag"+(null==o?"":"-"+o),n=F.select(h(t)).on(f+e,function(){var t,e,n=d(a,o);if(!n)return;t=n[0]-l[0],e=n[1]-l[1],s|=t|e,i({type:"drag",x:(l=n)[0]+r[0],y:n[1]+r[1],dx:t,dy:e})}).on(_+e,function(){if(!d(a,o))return;n.on(f+e,null).on(_+e,null),u(s),i({type:"dragend"})}),u=gt(t),l=d(a,o);r=m?[(r=m.apply(this,arguments)).x-l[0],r.y-l[1]]:[0,0],i({type:"dragstart"})}}return n.origin=function(t){return arguments.length?(m=t,n):m},F.rebind(n,p,"on")},F.touches=function(n,t){return arguments.length<2&&(t=B().touches),t?h(t).map(function(t){var e=Mt(n,t);return e.identifier=t.identifier,e}):[]};var bt=1e-6,Lt=bt*bt,wt=Math.PI,xt=2*wt,Dt=xt-bt,Yt=wt/2,Tt=wt/180,At=180/wt;function St(t){return 0<t?1:t<0?-1:0}function Et(t,e,n){return(e[0]-t[0])*(n[1]-t[1])-(e[1]-t[1])*(n[0]-t[0])}function jt(t){return 1<t?0:t<-1?wt:Math.acos(t)}function Ct(t){return 1<t?Yt:t<-1?-Yt:Math.asin(t)}function Ft(t){return((t=Math.exp(t))+1/t)/2}function Ot(t){return(t=Math.sin(t/2))*t}var Ht=Math.SQRT2;F.interpolateZoom=function(t,e){var n,s,o=t[0],u=t[1],l=t[2],r=e[0],a=e[1],i=e[2],c=r-o,d=a-u,h=c*c+d*d;if(h<Lt)s=Math.log(i/l)/Ht,n=function(t){return[o+t*c,u+t*d,l*Math.exp(Ht*t*s)]};else{var f=Math.sqrt(h),_=(i*i-l*l+4*h)/(2*l*2*f),p=(i*i-l*l-4*h)/(2*i*2*f),m=Math.log(Math.sqrt(_*_+1)-_),y=Math.log(Math.sqrt(p*p+1)-p);s=(y-m)/Ht,n=function(t){var e,n,r=t*s,a=Ft(m),i=l/(2*f)*(a*(n=Ht*r+m,((n=Math.exp(2*n))-1)/(n+1))-(e=m,((e=Math.exp(e))-1/e)/2));return[o+i*c,u+i*d,l*a/Ft(Ht*r+m)]}}return n.duration=1e3*s,n},F.behavior.zoom=function(){var e,u,n,r,M,a,i,s,o,k={x:0,y:0,k:1},l=[960,500],c=Nt,d=250,h=0,b="mousedown.zoom",f="mousemove.zoom",_="mouseup.zoom",L="touchstart.zoom",w=N(p,"zoomstart","zoom","zoomend");function p(t){t.on(b,j).on(Bt+".zoom",y).on("dblclick.zoom",g).on(L,C)}function x(t){return[(t[0]-k.x)/k.k,(t[1]-k.y)/k.k]}function D(t){k.k=Math.max(c[0],Math.min(c[1],t))}function Y(t,e){var n;e=[(n=e)[0]*k.k+k.x,n[1]*k.k+k.y],k.x+=t[0]-e[0],k.y+=t[1]-e[1]}function T(t,e,n,r){t.__chart__={x:k.x,y:k.y,k:k.k},D(Math.pow(2,r)),Y(u=e,n),t=F.select(t),0<d&&(t=t.transition().duration(d)),t.call(p.event)}function m(){i&&i.domain(a.range().map(function(t){return(t-k.x)/k.k}).map(a.invert)),o&&o.domain(s.range().map(function(t){return(t-k.y)/k.k}).map(s.invert))}function A(t){h++||t({type:"zoomstart"})}function S(t){m(),t({type:"zoom",scale:k.k,translate:[k.x,k.y]})}function E(t){--h||(t({type:"zoomend"}),u=null)}function j(){var t=this,e=w.of(t,arguments),n=0,r=F.select(O(t)).on(f,function(){n=1,Y(F.mouse(t),a),S(e)}).on(_,function(){r.on(f,null).on(_,null),i(n),E(e)}),a=x(F.mouse(t)),i=gt(t);ao.call(t),A(e)}function C(){var l,c=this,d=w.of(c,arguments),h={},f=0,a=".zoom-"+F.event.changedTouches[0].identifier,_="touchmove"+a,p="touchend"+a,m=[],i=F.select(c),s=gt(c);function y(){var t=F.touches(c);return l=k.k,t.forEach(function(t){t.identifier in h&&(h[t.identifier]=x(t))}),t}function t(){var t=F.event.target;F.select(t).on(_,g).on(p,v),m.push(t);for(var e=F.event.changedTouches,n=0,r=e.length;n<r;++n)h[e[n].identifier]=null;var a=y(),i=Date.now();if(1===a.length){if(i-M<500){var s=a[0];T(c,s,h[s.identifier],Math.floor(Math.log(k.k)/Math.LN2)+1),P()}M=i}else if(1<a.length){s=a[0];var o=a[1],u=s[0]-o[0],l=s[1]-o[1];f=u*u+l*l}}function g(){var t,e,n,r,a=F.touches(c);ao.call(c);for(var i=0,s=a.length;i<s;++i,r=null)if(n=a[i],r=h[n.identifier]){if(e)break;t=n,e=r}if(r){var o=(o=n[0]-t[0])*o+(o=n[1]-t[1])*o,u=f&&Math.sqrt(o/f);t=[(t[0]+n[0])/2,(t[1]+n[1])/2],e=[(e[0]+r[0])/2,(e[1]+r[1])/2],D(u*l)}M=null,Y(t,e),S(d)}function v(){if(F.event.touches.length){for(var t=F.event.changedTouches,e=0,n=t.length;e<n;++e)delete h[t[e].identifier];for(var r in h)return void y()}F.selectAll(m).on(a,null),i.on(b,j).on(L,C),s(),E(d)}t(),A(d),i.on(b,null).on(L,t)}function y(){var t=w.of(this,arguments);r?clearTimeout(r):(ao.call(this),e=x(u=n||F.mouse(this)),A(t)),r=setTimeout(function(){r=null,E(t)},50),P(),D(Math.pow(2,.002*Pt())*k.k),Y(u,e),S(t)}function g(){var t=F.mouse(this),e=Math.log(k.k)/Math.LN2;T(this,t,x(t),F.event.shiftKey?Math.ceil(e)-1:Math.floor(e)+1)}return Bt||(Bt="onwheel"in v?(Pt=function(){return-F.event.deltaY*(F.event.deltaMode?120:1)},"wheel"):"onmousewheel"in v?(Pt=function(){return F.event.wheelDelta},"mousewheel"):(Pt=function(){return-F.event.detail},"MozMousePixelScroll")),p.event=function(t){t.each(function(){var o=w.of(this,arguments),e=k;oo?F.select(this).transition().each("start.zoom",function(){k=this.__chart__||{x:0,y:0,k:1},A(o)}).tween("zoom:zoom",function(){var r=l[0],t=l[1],a=u?u[0]:r/2,i=u?u[1]:t/2,s=F.interpolateZoom([(a-k.x)/k.k,(i-k.y)/k.k,r/k.k],[(a-e.x)/e.k,(i-e.y)/e.k,r/e.k]);return function(t){var e=s(t),n=r/e[2];this.__chart__=k={x:a-e[0]*n,y:i-e[1]*n,k:n},S(o)}}).each("interrupt.zoom",function(){E(o)}).each("end.zoom",function(){E(o)}):(this.__chart__=k,A(o),S(o),E(o))})},p.translate=function(t){return arguments.length?(k={x:+t[0],y:+t[1],k:k.k},m(),p):[k.x,k.y]},p.scale=function(t){return arguments.length?(k={x:k.x,y:k.y,k:null},D(+t),m(),p):k.k},p.scaleExtent=function(t){return arguments.length?(c=null==t?Nt:[+t[0],+t[1]],p):c},p.center=function(t){return arguments.length?(n=t&&[+t[0],+t[1]],p):n},p.size=function(t){return arguments.length?(l=t&&[+t[0],+t[1]],p):l},p.duration=function(t){return arguments.length?(d=+t,p):d},p.x=function(t){return arguments.length?(a=(i=t).copy(),k={x:0,y:0,k:1},p):i},p.y=function(t){return arguments.length?(s=(o=t).copy(),k={x:0,y:0,k:1},p):o},F.rebind(p,w,"on")};var Pt,Bt,Nt=[0,1/0];function It(){}function Rt(t,e,n){return this instanceof Rt?(this.h=+t,this.s=+e,void(this.l=+n)):arguments.length<2?t instanceof Rt?new Rt(t.h,t.s,t.l):le(""+t,ce,Rt):new Rt(t,e,n)}(F.color=It).prototype.toString=function(){return this.rgb()+""};var zt=(F.hsl=Rt).prototype=new It;function Wt(t,e,n){var r,a;function i(t){return Math.round(255*(360<(e=t)?e-=360:e<0&&(e+=360),e<60?r+(a-r)*e/60:e<180?a:e<240?r+(a-r)*(240-e)/60:r));var e}return t=isNaN(t)?0:(t%=360)<0?t+360:t,e=isNaN(e)?0:e<0?0:1<e?1:e,r=2*(n=n<0?0:1<n?1:n)-(a=n<=.5?n*(1+e):n+e-n*e),new ae(i(t+120),i(t),i(t-120))}function qt(t,e,n){return this instanceof qt?(this.h=+t,this.c=+e,void(this.l=+n)):arguments.length<2?t instanceof qt?new qt(t.h,t.c,t.l):te(t instanceof $t?t.l:(t=de((t=F.rgb(t)).r,t.g,t.b)).l,t.a,t.b):new qt(t,e,n)}zt.brighter=function(t){return t=Math.pow(.7,arguments.length?t:1),new Rt(this.h,this.s,this.l/t)},zt.darker=function(t){return t=Math.pow(.7,arguments.length?t:1),new Rt(this.h,this.s,t*this.l)},zt.rgb=function(){return Wt(this.h,this.s,this.l)};var Ut=(F.hcl=qt).prototype=new It;function Vt(t,e,n){return isNaN(t)&&(t=0),isNaN(e)&&(e=0),new $t(n,Math.cos(t*=Tt)*e,Math.sin(t)*e)}function $t(t,e,n){return this instanceof $t?(this.l=+t,this.a=+e,void(this.b=+n)):arguments.length<2?t instanceof $t?new $t(t.l,t.a,t.b):t instanceof qt?Vt(t.h,t.c,t.l):de((t=ae(t)).r,t.g,t.b):new $t(t,e,n)}Ut.brighter=function(t){return new qt(this.h,this.c,Math.min(100,this.l+Gt*(arguments.length?t:1)))},Ut.darker=function(t){return new qt(this.h,this.c,Math.max(0,this.l-Gt*(arguments.length?t:1)))},Ut.rgb=function(){return Vt(this.h,this.c,this.l).rgb()},F.lab=$t;var Gt=18,Jt=.95047,Zt=1,Kt=1.08883,Xt=$t.prototype=new It;function Qt(t,e,n){var r=(t+16)/116,a=r+e/500,i=r-n/200;return new ae(re(3.2404542*(a=ee(a)*Jt)-1.5371385*(r=ee(r)*Zt)-.4985314*(i=ee(i)*Kt)),re(-.969266*a+1.8760108*r+.041556*i),re(.0556434*a-.2040259*r+1.0572252*i))}function te(t,e,n){return 0<t?new qt(Math.atan2(n,e)*At,Math.sqrt(e*e+n*n),t):new qt(NaN,NaN,t)}function ee(t){return.206893034<t?t*t*t:(t-4/29)/7.787037}function ne(t){return.008856<t?Math.pow(t,1/3):7.787037*t+4/29}function re(t){return Math.round(255*(t<=.00304?12.92*t:1.055*Math.pow(t,1/2.4)-.055))}function ae(t,e,n){return this instanceof ae?(this.r=~~t,this.g=~~e,void(this.b=~~n)):arguments.length<2?t instanceof ae?new ae(t.r,t.g,t.b):le(""+t,ae,Wt):new ae(t,e,n)}function ie(t){return new ae(t>>16,t>>8&255,255&t)}function se(t){return ie(t)+""}Xt.brighter=function(t){return new $t(Math.min(100,this.l+Gt*(arguments.length?t:1)),this.a,this.b)},Xt.darker=function(t){return new $t(Math.max(0,this.l-Gt*(arguments.length?t:1)),this.a,this.b)},Xt.rgb=function(){return Qt(this.l,this.a,this.b)};var oe=(F.rgb=ae).prototype=new It;function ue(t){return t<16?"0"+Math.max(0,t).toString(16):Math.min(255,t).toString(16)}function le(t,e,n){var r,a,i,s=0,o=0,u=0;if(r=/([a-z]+)\((.*)\)/.exec(t=t.toLowerCase()))switch(a=r[2].split(","),r[1]){case"hsl":return n(parseFloat(a[0]),parseFloat(a[1])/100,parseFloat(a[2])/100);case"rgb":return e(fe(a[0]),fe(a[1]),fe(a[2]))}return(i=_e.get(t))?e(i.r,i.g,i.b):(null==t||"#"!==t.charAt(0)||isNaN(i=parseInt(t.slice(1),16))||(4===t.length?(s=(3840&i)>>4,s|=s>>4,o=240&i,o|=o>>4,u=15&i,u|=u<<4):7===t.length&&(s=(16711680&i)>>16,o=(65280&i)>>8,u=255&i)),e(s,o,u))}function ce(t,e,n){var r,a,i=Math.min(t/=255,e/=255,n/=255),s=Math.max(t,e,n),o=s-i,u=(s+i)/2;return o?(a=u<.5?o/(s+i):o/(2-s-i),r=t==s?(e-n)/o+(e<n?6:0):e==s?(n-t)/o+2:(t-e)/o+4,r*=60):(r=NaN,a=0<u&&u<1?0:r),new Rt(r,a,u)}function de(t,e,n){var r=ne((.4124564*(t=he(t))+.3575761*(e=he(e))+.1804375*(n=he(n)))/Jt),a=ne((.2126729*t+.7151522*e+.072175*n)/Zt);return $t(116*a-16,500*(r-a),200*(a-ne((.0193339*t+.119192*e+.9503041*n)/Kt)))}function he(t){return(t/=255)<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}function fe(t){var e=parseFloat(t);return"%"===t.charAt(t.length-1)?Math.round(2.55*e):e}oe.brighter=function(t){t=Math.pow(.7,arguments.length?t:1);var e=this.r,n=this.g,r=this.b;return e||n||r?(e&&e<30&&(e=30),n&&n<30&&(n=30),r&&r<30&&(r=30),new ae(Math.min(255,e/t),Math.min(255,n/t),Math.min(255,r/t))):new ae(30,30,30)},oe.darker=function(t){return new ae((t=Math.pow(.7,arguments.length?t:1))*this.r,t*this.g,t*this.b)},oe.hsl=function(){return ce(this.r,this.g,this.b)},oe.toString=function(){return"#"+ue(this.r)+ue(this.g)+ue(this.b)};var _e=F.map({aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074});function pe(t){return"function"==typeof t?t:function(){return t}}function me(r){return function(t,e,n){return 2===arguments.length&&"function"==typeof e&&(n=e,e=null),ye(t,e,r,n)}}function ye(a,i,s,t){var n,o={},u=F.dispatch("beforesend","progress","load","error"),l={},c=new XMLHttpRequest,d=null;function e(){var t,e,n,r=c.status;if(!r&&((n=(e=c).responseType)&&"text"!==n?e.response:e.responseText)||200<=r&&r<300||304===r){try{t=s.call(o,c)}catch(t){return void u.error.call(o,t)}u.load.call(o,t)}else u.error.call(o,c)}return!this.XDomainRequest||"withCredentials"in c||!/^(http(s)?:)?\/\//.test(a)||(c=new XDomainRequest),"onload"in c?c.onload=c.onerror=e:c.onreadystatechange=function(){3<c.readyState&&e()},c.onprogress=function(t){var e=F.event;F.event=t;try{u.progress.call(o,c)}finally{F.event=e}},o.header=function(t,e){return t=(t+"").toLowerCase(),arguments.length<2?l[t]:(null==e?delete l[t]:l[t]=e+"",o)},o.mimeType=function(t){return arguments.length?(i=null==t?null:t+"",o):i},o.responseType=function(t){return arguments.length?(d=t,o):d},o.response=function(t){return s=t,o},["get","post"].forEach(function(t){o[t]=function(){return o.send.apply(o,[t].concat(h(arguments)))}}),o.send=function(t,e,n){if(2===arguments.length&&"function"==typeof e&&(n=e,e=null),c.open(t,a,!0),null==i||"accept"in l||(l.accept=i+",*/*"),c.setRequestHeader)for(var r in l)c.setRequestHeader(r,l[r]);return null!=i&&c.overrideMimeType&&c.overrideMimeType(i),null!=d&&(c.responseType=d),null!=n&&o.on("error",n).on("load",function(t){n(null,t)}),u.beforesend.call(o,c),c.send(null==e?null:e),o},o.abort=function(){return c.abort(),o},F.rebind(o,u,"on"),null==t?o:o.get(1===(n=t).length?function(t,e){n(null==t?e:null)}:n)}_e.forEach(function(t,e){_e.set(t,ie(e))}),F.functor=pe,F.xhr=me(H),F.dsv=function(a,i){var e=new RegExp('["'+a+"\n]"),h=a.charCodeAt(0);function s(t,e,n){arguments.length<3&&(n=e,e=null);var r=ye(t,i,null==e?o:u(e),n);return r.row=function(t){return arguments.length?r.response(null==(e=t)?o:u(t)):e},r}function o(t){return s.parse(t.responseText)}function u(e){return function(t){return s.parse(t.responseText,e)}}function n(t){return t.map(l).join(a)}function l(t){return e.test(t)?'"'+t.replace(/\"/g,'""')+'"':t}return s.parse=function(t,r){var a;return s.parseRows(t,function(t,e){if(a)return a(t,e-1);var n=new Function("d","return {"+t.map(function(t,e){return JSON.stringify(t)+": d["+e+"]"}).join(",")+"}");a=r?function(t,e){return r(n(t),e)}:n})},s.parseRows=function(a,t){var e,i,s={},o={},n=[],u=a.length,l=0,r=0;function c(){if(u<=l)return o;if(i)return i=!1,s;var t=l;if(34===a.charCodeAt(t)){for(var e=t;e++<u;)if(34===a.charCodeAt(e)){if(34!==a.charCodeAt(e+1))break;++e}return l=e+2,13===(n=a.charCodeAt(e+1))?(i=!0,10===a.charCodeAt(e+2)&&++l):10===n&&(i=!0),a.slice(t+1,e).replace(/""/g,'"')}for(;l<u;){var n,r=1;if(10===(n=a.charCodeAt(l++)))i=!0;else if(13===n)i=!0,10===a.charCodeAt(l)&&(++l,++r);else if(n!==h)continue;return a.slice(t,l-r)}return a.slice(t)}for(;(e=c())!==o;){for(var d=[];e!==s&&e!==o;)d.push(e),e=c();t&&null==(d=t(d,r++))||n.push(d)}return n},s.format=function(t){if(Array.isArray(t[0]))return s.formatRows(t);var n=new D,r=[];return t.forEach(function(t){for(var e in t)n.has(e)||r.push(n.add(e))}),[r.map(l).join(a)].concat(t.map(function(e){return r.map(function(t){return l(e[t])}).join(a)})).join("\n")},s.formatRows=function(t){return t.map(n).join("\n")},s},F.csv=F.dsv(",","text/csv"),F.tsv=F.dsv("\t","text/tab-separated-values");var ge,ve,Me,ke,be=this[T(this,"requestAnimationFrame")]||function(t){setTimeout(t,17)};function Le(t,e,n){var r=arguments.length;r<2&&(e=0),r<3&&(n=Date.now());var a={c:t,t:n+e,n:null};return ve?ve.n=a:ge=a,ve=a,Me||(ke=clearTimeout(ke),Me=1,be(we)),a}function we(){var t=xe(),e=De()-t;24<e?(isFinite(e)&&(clearTimeout(ke),ke=setTimeout(we,e)),Me=0):(Me=1,be(we))}function xe(){for(var t=Date.now(),e=ge;e;)t>=e.t&&e.c(t-e.t)&&(e.c=null),e=e.n;return t}function De(){for(var t,e=ge,n=1/0;e;)e.c?(e.t<n&&(n=e.t),e=(t=e).n):e=t?t.n=e.n:ge=e.n;return ve=t,n}function Ye(t,e){return e-(t?Math.ceil(Math.log(t)/Math.LN10):1)}F.timer=function(){Le.apply(this,arguments)},F.timer.flush=function(){xe(),De()},F.round=function(t,e){return e?Math.round(t*(e=Math.pow(10,e)))/e:Math.round(t)};var Te=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"].map(function(t,e){var n=Math.pow(10,3*C(8-e));return{scale:8<e?function(t){return t/n}:function(t){return t*n},symbol:t}});F.formatPrefix=function(t,e){var n=0;return(t=+t)&&(t<0&&(t*=-1),e&&(t=F.round(t,Ye(t,e))),n=1+Math.floor(1e-12+Math.log(t)/Math.LN10),n=Math.max(-24,Math.min(24,3*Math.floor((n-1)/3)))),Te[8+n/3]};var Ae=/(?:([^{])?([<>=^]))?([+\- ])?([$#])?(0)?(\d+)?(,)?(\.-?\d+)?([a-z%])?/i,Se=F.map({b:function(t){return t.toString(2)},c:function(t){return String.fromCharCode(t)},o:function(t){return t.toString(8)},x:function(t){return t.toString(16)},X:function(t){return t.toString(16).toUpperCase()},g:function(t,e){return t.toPrecision(e)},e:function(t,e){return t.toExponential(e)},f:function(t,e){return t.toFixed(e)},r:function(t,e){return(t=F.round(t,Ye(t,e))).toFixed(Math.max(0,Math.min(20,Ye(t*(1+1e-15),e))))}});function Ee(t){return t+""}var je=F.time={},Ce=Date;function Fe(){this._=new Date(1<arguments.length?Date.UTC.apply(this,arguments):arguments[0])}Fe.prototype={getDate:function(){return this._.getUTCDate()},getDay:function(){return this._.getUTCDay()},getFullYear:function(){return this._.getUTCFullYear()},getHours:function(){return this._.getUTCHours()},getMilliseconds:function(){return this._.getUTCMilliseconds()},getMinutes:function(){return this._.getUTCMinutes()},getMonth:function(){return this._.getUTCMonth()},getSeconds:function(){return this._.getUTCSeconds()},getTime:function(){return this._.getTime()},getTimezoneOffset:function(){return 0},valueOf:function(){return this._.valueOf()},setDate:function(){Oe.setUTCDate.apply(this._,arguments)},setDay:function(){Oe.setUTCDay.apply(this._,arguments)},setFullYear:function(){Oe.setUTCFullYear.apply(this._,arguments)},setHours:function(){Oe.setUTCHours.apply(this._,arguments)},setMilliseconds:function(){Oe.setUTCMilliseconds.apply(this._,arguments)},setMinutes:function(){Oe.setUTCMinutes.apply(this._,arguments)},setMonth:function(){Oe.setUTCMonth.apply(this._,arguments)},setSeconds:function(){Oe.setUTCSeconds.apply(this._,arguments)},setTime:function(){Oe.setTime.apply(this._,arguments)}};var Oe=Date.prototype;function He(r,i,s){function t(t){var e=r(t),n=a(e,1);return t-e<n-t?e:n}function o(t){return i(t=r(new Ce(t-1)),1),t}function a(t,e){return i(t=new Ce(+t),e),t}function u(t,e,n){var r=o(t),a=[];if(1<n)for(;r<e;)s(r)%n||a.push(new Date(+r)),i(r,1);else for(;r<e;)a.push(new Date(+r)),i(r,1);return a}(r.floor=r).round=t,r.ceil=o,r.offset=a,r.range=u;var e=r.utc=Pe(r);return(e.floor=e).round=Pe(t),e.ceil=Pe(o),e.offset=Pe(a),e.range=function(t,e,n){try{var r=new(Ce=Fe);return r._=t,u(r,e,n)}finally{Ce=Date}},r}function Pe(r){return function(t,e){try{var n=new(Ce=Fe);return n._=t,r(n,e)._}finally{Ce=Date}}}je.year=He(function(t){return(t=je.day(t)).setMonth(0,1),t},function(t,e){t.setFullYear(t.getFullYear()+e)},function(t){return t.getFullYear()}),je.years=je.year.range,je.years.utc=je.year.utc.range,je.day=He(function(t){var e=new Ce(2e3,0);return e.setFullYear(t.getFullYear(),t.getMonth(),t.getDate()),e},function(t,e){t.setDate(t.getDate()+e)},function(t){return t.getDate()-1}),je.days=je.day.range,je.days.utc=je.day.utc.range,je.dayOfYear=function(t){var e=je.year(t);return Math.floor((t-e-6e4*(t.getTimezoneOffset()-e.getTimezoneOffset()))/864e5)},["sunday","monday","tuesday","wednesday","thursday","friday","saturday"].forEach(function(t,n){n=7-n;var e=je[t]=He(function(t){return(t=je.day(t)).setDate(t.getDate()-(t.getDay()+n)%7),t},function(t,e){t.setDate(t.getDate()+7*Math.floor(e))},function(t){var e=je.year(t).getDay();return Math.floor((je.dayOfYear(t)+(e+n)%7)/7)-(e!==n)});je[t+"s"]=e.range,je[t+"s"].utc=e.utc.range,je[t+"OfYear"]=function(t){var e=je.year(t).getDay();return Math.floor((je.dayOfYear(t)+(e+n)%7)/7)}}),je.week=je.sunday,je.weeks=je.sunday.range,je.weeks.utc=je.sunday.utc.range,je.weekOfYear=je.sundayOfYear;var Be={"-":"",_:" ",0:"0"},Ne=/^\s*\d+/,Ie=/^%/;function Re(t,e,n){var r=t<0?"-":"",a=(r?-t:t)+"",i=a.length;return r+(i<n?new Array(n-i+1).join(e)+a:a)}function ze(t){return new RegExp("^(?:"+t.map(F.requote).join("|")+")","i")}function We(t){for(var e=new g,n=-1,r=t.length;++n<r;)e.set(t[n].toLowerCase(),n);return e}function qe(t,e,n){Ne.lastIndex=0;var r=Ne.exec(e.slice(n,n+1));return r?(t.w=+r[0],n+r[0].length):-1}function Ue(t,e,n){Ne.lastIndex=0;var r=Ne.exec(e.slice(n));return r?(t.U=+r[0],n+r[0].length):-1}function Ve(t,e,n){Ne.lastIndex=0;var r=Ne.exec(e.slice(n));return r?(t.W=+r[0],n+r[0].length):-1}function $e(t,e,n){Ne.lastIndex=0;var r=Ne.exec(e.slice(n,n+4));return r?(t.y=+r[0],n+r[0].length):-1}function Ge(t,e,n){Ne.lastIndex=0;var r,a=Ne.exec(e.slice(n,n+2));return a?(t.y=(r=+a[0])+(68<r?1900:2e3),n+a[0].length):-1}function Je(t,e,n){return/^[+-]\d{4}$/.test(e=e.slice(n,n+5))?(t.Z=-e,n+5):-1}function Ze(t,e,n){Ne.lastIndex=0;var r=Ne.exec(e.slice(n,n+2));return r?(t.m=r[0]-1,n+r[0].length):-1}function Ke(t,e,n){Ne.lastIndex=0;var r=Ne.exec(e.slice(n,n+2));return r?(t.d=+r[0],n+r[0].length):-1}function Xe(t,e,n){Ne.lastIndex=0;var r=Ne.exec(e.slice(n,n+3));return r?(t.j=+r[0],n+r[0].length):-1}function Qe(t,e,n){Ne.lastIndex=0;var r=Ne.exec(e.slice(n,n+2));return r?(t.H=+r[0],n+r[0].length):-1}function tn(t,e,n){Ne.lastIndex=0;var r=Ne.exec(e.slice(n,n+2));return r?(t.M=+r[0],n+r[0].length):-1}function en(t,e,n){Ne.lastIndex=0;var r=Ne.exec(e.slice(n,n+2));return r?(t.S=+r[0],n+r[0].length):-1}function nn(t,e,n){Ne.lastIndex=0;var r=Ne.exec(e.slice(n,n+3));return r?(t.L=+r[0],n+r[0].length):-1}function rn(t){var e=t.getTimezoneOffset(),n=0<e?"-":"+",r=C(e)/60|0,a=C(e)%60;return n+Re(r,"0",2)+Re(a,"0",2)}function an(t,e,n){Ie.lastIndex=0;var r=Ie.exec(e.slice(n,n+1));return r?n+r[0].length:-1}function sn(r){for(var t=r.length,e=-1;++e<t;)r[e][0]=this(r[e][0]);return function(t){for(var e=0,n=r[e];!n[1](t);)n=r[++e];return n[0](t)}}F.locale=function(t){return{numberFormat:(e=t,w=e.decimal,o=e.thousands,u=e.grouping,r=e.currency,x=u&&o?function(t,e){for(var n=t.length,r=[],a=0,i=u[0],s=0;0<n&&0<i&&(e<s+i+1&&(i=Math.max(1,e-s)),r.push(t.substring(n-=i,n+i)),!((s+=i+1)>e));)i=u[a=(a+1)%u.length];return r.reverse().join(o)}:H,function(t){var e=Ae.exec(t),c=e[1]||" ",d=e[2]||">",h=e[3]||"-",n=e[4]||"",f=e[5],_=+e[6],p=e[7],m=e[8],y=e[9],g=1,v="",M="",k=!1,b=!0;switch(m&&(m=+m.substring(1)),(f||"0"===c&&"="===d)&&(f=c="0",d="="),y){case"n":p=!0,y="g";break;case"%":g=100,M="%",y="f";break;case"p":g=100,M="%",y="r";break;case"b":case"o":case"x":case"X":"#"===n&&(v="0"+y.toLowerCase());case"c":b=!1;case"d":k=!0,m=0;break;case"s":g=-1,y="r"}"$"===n&&(v=r[0],M=r[1]),"r"!=y||m||(y="g"),null!=m&&("g"==y?m=Math.max(1,Math.min(21,m)):"e"!=y&&"f"!=y||(m=Math.max(0,Math.min(20,m)))),y=Se.get(y)||Ee;var L=f&&p;return function(t){var e=M;if(k&&t%1)return"";var n=t<0||0===t&&1/t<0?(t=-t,"-"):"-"===h?"":h;if(g<0){var r=F.formatPrefix(t,m);t=r.scale(t),e=r.symbol+M}else t*=g;var a,i,s=(t=y(t,m)).lastIndexOf(".");if(s<0){var o=b?t.lastIndexOf("e"):-1;o<0?(a=t,i=""):(a=t.substring(0,o),i=t.substring(o))}else a=t.substring(0,s),i=w+t.substring(s+1);!f&&p&&(a=x(a,1/0));var u=v.length+a.length+i.length+(L?0:n.length),l=u<_?new Array(u=_-u+1).join(c):"";return L&&(a=x(l+a,l.length?_-i.length:1/0)),n+=v,t=a+i,("<"===d?n+t+l:">"===d?l+n+t:"^"===d?l.substring(0,u>>=1)+n+t+l.substring(u):n+(L?t:l+t))+e}}),timeFormat:function(t){var e=t.dateTime,n=t.date,r=t.time,a=t.periods,i=t.days,s=t.shortDays,o=t.months,u=t.shortMonths;function l(o){var u=o.length;function t(t){for(var e,n,r,a=[],i=-1,s=0;++i<u;)37===o.charCodeAt(i)&&(a.push(o.slice(s,i)),null!=(n=Be[e=o.charAt(++i)])&&(e=o.charAt(++i)),(r=M[e])&&(e=r(t,null==n?"e"===e?" ":"0":n)),a.push(e),s=i+1);return a.push(o.slice(s,i)),a.join("")}return t.parse=function(t){var e={y:1900,m:0,d:1,H:0,M:0,S:0,L:0,Z:null};if(c(e,o,t,0)!=t.length)return null;"p"in e&&(e.H=e.H%12+12*e.p);var n=null!=e.Z&&Ce!==Fe,r=new(n?Fe:Ce);return"j"in e?r.setFullYear(e.y,0,e.j):"W"in e||"U"in e?("w"in e||(e.w="W"in e?1:0),r.setFullYear(e.y,0,1),r.setFullYear(e.y,0,"W"in e?(e.w+6)%7+7*e.W-(r.getDay()+5)%7:e.w+7*e.U-(r.getDay()+6)%7)):r.setFullYear(e.y,e.m,e.d),r.setHours(e.H+(e.Z/100|0),e.M+e.Z%100,e.S,e.L),n?r._:r},t.toString=function(){return o},t}function c(t,e,n,r){for(var a,i,s,o=0,u=e.length,l=n.length;o<u;){if(l<=r)return-1;if(37===(a=e.charCodeAt(o++))){if(s=e.charAt(o++),!(i=k[s in Be?e.charAt(o++):s])||(r=i(t,n,r))<0)return-1}else if(a!=n.charCodeAt(r++))return-1}return r}l.multi=(l.utc=function(t){var n=l(t);function e(t){try{var e=new(Ce=Fe);return e._=t,n(e)}finally{Ce=Date}}return e.parse=function(t){try{Ce=Fe;var e=n.parse(t);return e&&e._}finally{Ce=Date}},e.toString=n.toString,e}).multi=sn;var d=F.map(),h=ze(i),f=We(i),_=ze(s),p=We(s),m=ze(o),y=We(o),g=ze(u),v=We(u);a.forEach(function(t,e){d.set(t.toLowerCase(),e)});var M={a:function(t){return s[t.getDay()]},A:function(t){return i[t.getDay()]},b:function(t){return u[t.getMonth()]},B:function(t){return o[t.getMonth()]},c:l(e),d:function(t,e){return Re(t.getDate(),e,2)},e:function(t,e){return Re(t.getDate(),e,2)},H:function(t,e){return Re(t.getHours(),e,2)},I:function(t,e){return Re(t.getHours()%12||12,e,2)},j:function(t,e){return Re(1+je.dayOfYear(t),e,3)},L:function(t,e){return Re(t.getMilliseconds(),e,3)},m:function(t,e){return Re(t.getMonth()+1,e,2)},M:function(t,e){return Re(t.getMinutes(),e,2)},p:function(t){return a[+(12<=t.getHours())]},S:function(t,e){return Re(t.getSeconds(),e,2)},U:function(t,e){return Re(je.sundayOfYear(t),e,2)},w:function(t){return t.getDay()},W:function(t,e){return Re(je.mondayOfYear(t),e,2)},x:l(n),X:l(r),y:function(t,e){return Re(t.getFullYear()%100,e,2)},Y:function(t,e){return Re(t.getFullYear()%1e4,e,4)},Z:rn,"%":function(){return"%"}},k={a:function(t,e,n){_.lastIndex=0;var r=_.exec(e.slice(n));return r?(t.w=p.get(r[0].toLowerCase()),n+r[0].length):-1},A:function(t,e,n){h.lastIndex=0;var r=h.exec(e.slice(n));return r?(t.w=f.get(r[0].toLowerCase()),n+r[0].length):-1},b:function(t,e,n){g.lastIndex=0;var r=g.exec(e.slice(n));return r?(t.m=v.get(r[0].toLowerCase()),n+r[0].length):-1},B:function(t,e,n){m.lastIndex=0;var r=m.exec(e.slice(n));return r?(t.m=y.get(r[0].toLowerCase()),n+r[0].length):-1},c:function(t,e,n){return c(t,M.c.toString(),e,n)},d:Ke,e:Ke,H:Qe,I:Qe,j:Xe,L:nn,m:Ze,M:tn,p:function(t,e,n){var r=d.get(e.slice(n,n+=2).toLowerCase());return null==r?-1:(t.p=r,n)},S:en,U:Ue,w:qe,W:Ve,x:function(t,e,n){return c(t,M.x.toString(),e,n)},X:function(t,e,n){return c(t,M.X.toString(),e,n)},y:Ge,Y:$e,Z:Je,"%":an};return l}(t)};var e,w,o,u,r,x};var on=F.locale({decimal:".",thousands:",",grouping:[3],currency:["$",""],dateTime:"%a %b %e %X %Y",date:"%m/%d/%Y",time:"%H:%M:%S",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]});function un(){}F.format=on.numberFormat,F.geo={},un.prototype={s:0,t:0,add:function(t){cn(t,this.t,ln),cn(ln.s,this.s,this),this.s?this.t+=ln.t:this.s=ln.t},reset:function(){this.s=this.t=0},valueOf:function(){return this.s}};var ln=new un;function cn(t,e,n){var r=n.s=t+e,a=r-t,i=r-a;n.t=t-i+(e-a)}function dn(t,e){t&&fn.hasOwnProperty(t.type)&&fn[t.type](t,e)}F.geo.stream=function(t,e){t&&hn.hasOwnProperty(t.type)?hn[t.type](t,e):dn(t,e)};var hn={Feature:function(t,e){dn(t.geometry,e)},FeatureCollection:function(t,e){for(var n=t.features,r=-1,a=n.length;++r<a;)dn(n[r].geometry,e)}},fn={Sphere:function(t,e){e.sphere()},Point:function(t,e){t=t.coordinates,e.point(t[0],t[1],t[2])},MultiPoint:function(t,e){for(var n=t.coordinates,r=-1,a=n.length;++r<a;)t=n[r],e.point(t[0],t[1],t[2])},LineString:function(t,e){_n(t.coordinates,e,0)},MultiLineString:function(t,e){for(var n=t.coordinates,r=-1,a=n.length;++r<a;)_n(n[r],e,0)},Polygon:function(t,e){pn(t.coordinates,e)},MultiPolygon:function(t,e){for(var n=t.coordinates,r=-1,a=n.length;++r<a;)pn(n[r],e)},GeometryCollection:function(t,e){for(var n=t.geometries,r=-1,a=n.length;++r<a;)dn(n[r],e)}};function _n(t,e,n){var r,a=-1,i=t.length-n;for(e.lineStart();++a<i;)r=t[a],e.point(r[0],r[1],r[2]);e.lineEnd()}function pn(t,e){var n=-1,r=t.length;for(e.polygonStart();++n<r;)_n(t[n],e,1);e.polygonEnd()}F.geo.area=function(t){return mn=0,F.geo.stream(t,An),mn};var mn,yn,gn,vn,Mn,kn,bn,Ln,wn,xn,Dn,Yn,Tn=new un,An={sphere:function(){mn+=4*wt},point:S,lineStart:S,lineEnd:S,polygonStart:function(){Tn.reset(),An.lineStart=Sn},polygonEnd:function(){var t=2*Tn;mn+=t<0?4*wt+t:t,An.lineStart=An.lineEnd=An.point=S}};function Sn(){var n,r,c,d,h;function a(t,e){e=e*Tt/2+wt/4;var n=(t*=Tt)-c,r=0<=n?1:-1,a=r*n,i=Math.cos(e),s=Math.sin(e),o=h*s,u=d*i+o*Math.cos(a),l=o*r*Math.sin(a);Tn.add(Math.atan2(l,u)),c=t,d=i,h=s}An.point=function(t,e){An.point=a,c=(n=t)*Tt,d=Math.cos(e=(r=e)*Tt/2+wt/4),h=Math.sin(e)},An.lineEnd=function(){a(n,r)}}function En(t){var e=t[0],n=t[1],r=Math.cos(n);return[r*Math.cos(e),r*Math.sin(e),Math.sin(n)]}function jn(t,e){return t[0]*e[0]+t[1]*e[1]+t[2]*e[2]}function Cn(t,e){return[t[1]*e[2]-t[2]*e[1],t[2]*e[0]-t[0]*e[2],t[0]*e[1]-t[1]*e[0]]}function Fn(t,e){t[0]+=e[0],t[1]+=e[1],t[2]+=e[2]}function On(t,e){return[t[0]*e,t[1]*e,t[2]*e]}function Hn(t){var e=Math.sqrt(t[0]*t[0]+t[1]*t[1]+t[2]*t[2]);t[0]/=e,t[1]/=e,t[2]/=e}function Pn(t){return[Math.atan2(t[1],t[0]),Ct(t[2])]}function Bn(t,e){return C(t[0]-e[0])<bt&&C(t[1]-e[1])<bt}F.geo.bounds=function(){var c,d,h,f,_,r,a,p,i,u,l,m={point:y,lineStart:t,lineEnd:e,polygonStart:function(){m.point=n,m.lineStart=o,m.lineEnd=g,i=0,An.polygonStart()},polygonEnd:function(){An.polygonEnd(),m.point=y,m.lineStart=t,m.lineEnd=e,Tn<0?(c=-(h=180),d=-(f=90)):bt<i?f=90:i<-bt&&(d=-90),l[0]=c,l[1]=h}};function y(t,e){u.push(l=[c=t,h=t]),e<d&&(d=e),f<e&&(f=e)}function s(t,e){var n=En([t*Tt,e*Tt]);if(p){var r=Cn(p,n),a=Cn([r[1],-r[0],0],r);Hn(a),a=Pn(a);var i=t-_,s=0<i?1:-1,o=a[0]*At*s,u=180<C(i);if(u^(s*_<o&&o<s*t)){var l=a[1]*At;f<l&&(f=l)}else if(u^(s*_<(o=(o+360)%360-180)&&o<s*t)){(l=-a[1]*At)<d&&(d=l)}else e<d&&(d=e),f<e&&(f=e);u?t<_?v(c,t)>v(c,h)&&(h=t):v(t,h)>v(c,h)&&(c=t):c<=h?(t<c&&(c=t),h<t&&(h=t)):_<t?v(c,t)>v(c,h)&&(h=t):v(t,h)>v(c,h)&&(c=t)}else y(t,e);p=n,_=t}function t(){m.point=s}function e(){l[0]=c,l[1]=h,m.point=y,p=null}function n(t,e){if(p){var n=t-_;i+=180<C(n)?n+(0<n?360:-360):n}else r=t,a=e;An.point(t,e),s(t,e)}function o(){An.lineStart()}function g(){n(r,a),An.lineEnd(),C(i)>bt&&(c=-(h=180)),l[0]=c,l[1]=h,p=null}function v(t,e){return(e-=t)<0?e+360:e}function M(t,e){return t[0]-e[0]}function k(t,e){return e[0]<=e[1]?e[0]<=t&&t<=e[1]:t<e[0]||e[1]<t}return function(t){if(f=h=-(c=d=1/0),u=[],F.geo.stream(t,m),a=u.length){u.sort(M);for(var e=1,n=[o=u[0]];e<a;++e)k((i=u[e])[0],o)||k(i[1],o)?(v(o[0],i[1])>v(o[0],o[1])&&(o[1]=i[1]),v(i[0],o[1])>v(o[0],o[1])&&(o[0]=i[0])):n.push(o=i);for(var r,a,i,s=-1/0,o=(e=0,n[a=n.length-1]);e<=a;o=i,++e)i=n[e],(r=v(o[1],i[0]))>s&&(s=r,c=i[0],h=o[1])}return u=l=null,c===1/0||d===1/0?[[NaN,NaN],[NaN,NaN]]:[[c,d],[h,f]]}}(),F.geo.centroid=function(t){yn=gn=vn=Mn=kn=bn=Ln=wn=xn=Dn=Yn=0,F.geo.stream(t,Nn);var e=xn,n=Dn,r=Yn,a=e*e+n*n+r*r;return a<Lt&&(e=bn,n=Ln,r=wn,gn<bt&&(e=vn,n=Mn,r=kn),(a=e*e+n*n+r*r)<Lt)?[NaN,NaN]:[Math.atan2(n,e)*At,Ct(r/Math.sqrt(a))*At]};var Nn={sphere:S,point:In,lineStart:zn,lineEnd:Wn,polygonStart:function(){Nn.lineStart=qn},polygonEnd:function(){Nn.lineStart=zn}};function In(t,e){t*=Tt;var n=Math.cos(e*=Tt);Rn(n*Math.cos(t),n*Math.sin(t),Math.sin(e))}function Rn(t,e,n){vn+=(t-vn)/++yn,Mn+=(e-Mn)/yn,kn+=(n-kn)/yn}function zn(){var o,u,l;function r(t,e){t*=Tt;var n=Math.cos(e*=Tt),r=n*Math.cos(t),a=n*Math.sin(t),i=Math.sin(e),s=Math.atan2(Math.sqrt((s=u*i-l*a)*s+(s=l*r-o*i)*s+(s=o*a-u*r)*s),o*r+u*a+l*i);gn+=s,bn+=s*(o+(o=r)),Ln+=s*(u+(u=a)),wn+=s*(l+(l=i)),Rn(o,u,l)}Nn.point=function(t,e){t*=Tt;var n=Math.cos(e*=Tt);o=n*Math.cos(t),u=n*Math.sin(t),l=Math.sin(e),Nn.point=r,Rn(o,u,l)}}function Wn(){Nn.point=In}function qn(){var r,a,f,_,p;function i(t,e){t*=Tt;var n=Math.cos(e*=Tt),r=n*Math.cos(t),a=n*Math.sin(t),i=Math.sin(e),s=_*i-p*a,o=p*r-f*i,u=f*a-_*r,l=Math.sqrt(s*s+o*o+u*u),c=f*r+_*a+p*i,d=l&&-jt(c)/l,h=Math.atan2(l,c);xn+=d*s,Dn+=d*o,Yn+=d*u,gn+=h,bn+=h*(f+(f=r)),Ln+=h*(_+(_=a)),wn+=h*(p+(p=i)),Rn(f,_,p)}Nn.point=function(t,e){r=t,a=e,Nn.point=i,t*=Tt;var n=Math.cos(e*=Tt);f=n*Math.cos(t),_=n*Math.sin(t),p=Math.sin(e),Rn(f,_,p)},Nn.lineEnd=function(){i(r,a),Nn.lineEnd=Wn,Nn.point=In}}function Un(n,r){function t(t,e){return t=n(t,e),r(t[0],t[1])}return n.invert&&r.invert&&(t.invert=function(t,e){return(t=r.invert(t,e))&&n.invert(t[0],t[1])}),t}function Vn(){return!0}function $n(t,e,n,r,o){var u=[],l=[];if(t.forEach(function(t){if(!((e=t.length-1)<=0)){var e,n=t[0],r=t[e];if(Bn(n,r)){o.lineStart();for(var a=0;a<e;++a)o.point((n=t[a])[0],n[1]);o.lineEnd()}else{var i=new Jn(n,t,null,!0),s=new Jn(n,null,i,!1);i.o=s,u.push(i),l.push(s),s=new Jn(r,null,i=new Jn(r,t,null,!1),!0),i.o=s,u.push(i),l.push(s)}}}),l.sort(e),Gn(u),Gn(l),u.length){for(var a=0,i=n,s=l.length;a<s;++a)l[a].e=i=!i;for(var c,d,h=u[0];;){for(var f=h,_=!0;f.v;)if((f=f.n)===h)return;c=f.z,o.lineStart();do{if(f.v=f.o.v=!0,f.e){if(_)for(a=0,s=c.length;a<s;++a)o.point((d=c[a])[0],d[1]);else r(f.x,f.n.x,1,o);f=f.n}else{if(_)for(a=(c=f.p.z).length-1;0<=a;--a)o.point((d=c[a])[0],d[1]);else r(f.x,f.p.x,-1,o);f=f.p}c=(f=f.o).z,_=!_}while(!f.v);o.lineEnd()}}}function Gn(t){if(e=t.length){for(var e,n,r=0,a=t[0];++r<e;)a.n=n=t[r],n.p=a,a=n;a.n=n=t[0],n.p=a}}function Jn(t,e,n,r){this.x=t,this.z=e,this.o=n,this.e=r,this.v=!1,this.n=this.p=null}function Zn(g,v,M,k){return function(r,s){var o,a=v(s),e=r.invert(k[0],k[1]),n={point:i,lineStart:u,lineEnd:l,polygonStart:function(){n.point=p,n.lineStart=m,n.lineEnd=y,o=[],c=[]},polygonEnd:function(){n.point=i,n.lineStart=u,n.lineEnd=l,o=F.merge(o);var t=function(t,e){var n=t[0],r=t[1],a=[Math.sin(n),-Math.cos(n),0],i=0,s=0;Tn.reset();for(var o=0,u=e.length;o<u;++o){var l=e[o],c=l.length;if(c)for(var d=l[0],h=d[0],f=d[1]/2+wt/4,_=Math.sin(f),p=Math.cos(f),m=1;;){m===c&&(m=0);var y=(t=l[m])[0],g=t[1]/2+wt/4,v=Math.sin(g),M=Math.cos(g),k=y-h,b=0<=k?1:-1,L=b*k,w=wt<L,x=_*v;if(Tn.add(Math.atan2(x*b*Math.sin(L),p*M+x*Math.cos(L))),i+=w?k+b*xt:k,w^n<=h^n<=y){var D=Cn(En(d),En(t));Hn(D);var Y=Cn(a,D);Hn(Y);var T=(w^0<=k?-1:1)*Ct(Y[2]);(T<r||r===T&&(D[0]||D[1]))&&(s+=w^0<=k?1:-1)}if(!m++)break;h=y,_=v,p=M,d=t}}return(i<-bt||i<bt&&Tn<-bt)^1&s}(e,c);o.length?(_||(s.polygonStart(),_=!0),$n(o,Qn,t,M,s)):t&&(_||(s.polygonStart(),_=!0),s.lineStart(),M(null,null,1,s),s.lineEnd()),_&&(s.polygonEnd(),_=!1),o=c=null},sphere:function(){s.polygonStart(),s.lineStart(),M(null,null,1,s),s.lineEnd(),s.polygonEnd()}};function i(t,e){var n=r(t,e);g(t=n[0],e=n[1])&&s.point(t,e)}function t(t,e){var n=r(t,e);a.point(n[0],n[1])}function u(){n.point=t,a.lineStart()}function l(){n.point=i,a.lineEnd()}var c,d,h=Xn(),f=v(h),_=!1;function p(t,e){d.push([t,e]);var n=r(t,e);f.point(n[0],n[1])}function m(){f.lineStart(),d=[]}function y(){p(d[0][0],d[0][1]),f.lineEnd();var t,e=f.clean(),n=h.buffer(),r=n.length;if(d.pop(),c.push(d),d=null,r)if(1&e){var a,i=-1;if(0<(r=(t=n[0]).length-1)){for(_||(s.polygonStart(),_=!0),s.lineStart();++i<r;)s.point((a=t[i])[0],a[1]);s.lineEnd()}}else 1<r&&2&e&&n.push(n.pop().concat(n.shift())),o.push(n.filter(Kn))}return n}}function Kn(t){return 1<t.length}function Xn(){var n,e=[];return{lineStart:function(){e.push(n=[])},point:function(t,e){n.push([t,e])},lineEnd:S,buffer:function(){var t=e;return e=[],n=null,t},rejoin:function(){1<e.length&&e.push(e.pop().concat(e.shift()))}}}function Qn(t,e){return((t=t.x)[0]<0?t[1]-Yt-bt:Yt-t[1])-((e=e.x)[0]<0?e[1]-Yt-bt:Yt-e[1])}var tr=Zn(Vn,function(d){var h,f=NaN,_=NaN,p=NaN;return{lineStart:function(){d.lineStart(),h=1},point:function(t,e){var n,r,a,i,s,o,u,l=0<t?wt:-wt,c=C(t-f);C(c-wt)<bt?(d.point(f,_=0<(_+e)/2?Yt:-Yt),d.point(p,_),d.lineEnd(),d.lineStart(),d.point(l,_),d.point(t,_),h=0):p!==l&&wt<=c&&(C(f-p)<bt&&(f-=p*bt),C(t-l)<bt&&(t-=l*bt),n=f,r=_,a=t,i=e,u=Math.sin(n-a),_=C(u)>bt?Math.atan((Math.sin(r)*(o=Math.cos(i))*Math.sin(a)-Math.sin(i)*(s=Math.cos(r))*Math.sin(n))/(s*o*u)):(r+i)/2,d.point(p,_),d.lineEnd(),d.lineStart(),d.point(l,_),h=0),d.point(f=t,_=e),p=l},lineEnd:function(){d.lineEnd(),f=_=NaN},clean:function(){return 2-h}}},function(t,e,n,r){var a;if(null==t)a=n*Yt,r.point(-wt,a),r.point(0,a),r.point(wt,a),r.point(wt,0),r.point(wt,-a),r.point(0,-a),r.point(-wt,-a),r.point(-wt,0),r.point(-wt,a);else if(C(t[0]-e[0])>bt){var i=t[0]<e[0]?wt:-wt;a=n*i/2,r.point(-i,a),r.point(0,a),r.point(i,a)}else r.point(e[0],e[1])},[-wt,-wt/2]);function er(c,d,h,f){return function(t){var e,n=t.a,r=t.b,a=n.x,i=n.y,s=0,o=1,u=r.x-a,l=r.y-i;if(e=c-a,u||!(0<e)){if(e/=u,u<0){if(e<s)return;e<o&&(o=e)}else if(0<u){if(o<e)return;s<e&&(s=e)}if(e=h-a,u||!(e<0)){if(e/=u,u<0){if(o<e)return;s<e&&(s=e)}else if(0<u){if(e<s)return;e<o&&(o=e)}if(e=d-i,l||!(0<e)){if(e/=l,l<0){if(e<s)return;e<o&&(o=e)}else if(0<l){if(o<e)return;s<e&&(s=e)}if(e=f-i,l||!(e<0)){if(e/=l,l<0){if(o<e)return;s<e&&(s=e)}else if(0<l){if(e<s)return;e<o&&(o=e)}return 0<s&&(t.a={x:a+s*u,y:i+s*l}),o<1&&(t.b={x:a+o*u,y:i+o*l}),t}}}}}}var nr=1e9;function rr(M,k,b,L){return function(a){var r,c,i,s,o,u,l,d,h,f,_,p=a,t=Xn(),m=er(M,k,b,L),e={point:n,lineStart:function(){e.point=v,c&&c.push(i=[]);f=!0,h=!1,l=d=NaN},lineEnd:function(){r&&(v(s,o),u&&h&&t.rejoin(),r.push(t.buffer()));e.point=n,h&&a.lineEnd()},polygonStart:function(){a=t,r=[],c=[],_=!0},polygonEnd:function(){a=p,r=F.merge(r);var t=function(t){for(var e=0,n=c.length,r=t[1],a=0;a<n;++a)for(var i,s=1,o=c[a],u=o.length,l=o[0];s<u;++s)i=o[s],l[1]<=r?i[1]>r&&0<Et(l,i,t)&&++e:i[1]<=r&&Et(l,i,t)<0&&--e,l=i;return 0!==e}([M,L]),e=_&&t,n=r.length;(e||n)&&(a.polygonStart(),e&&(a.lineStart(),y(null,null,1,a),a.lineEnd()),n&&$n(r,x,t,y,a),a.polygonEnd()),r=c=i=null}};function y(t,e,n,r){var a=0,i=0;if(null==t||(a=w(t,n))!==(i=w(e,n))||D(t,e)<0^0<n)for(;r.point(0===a||3===a?M:b,1<a?L:k),(a=(a+n+4)%4)!==i;);else r.point(e[0],e[1])}function g(t,e){return M<=t&&t<=b&&k<=e&&e<=L}function n(t,e){g(t,e)&&a.point(t,e)}function v(t,e){var n=g(t=Math.max(-nr,Math.min(nr,t)),e=Math.max(-nr,Math.min(nr,e)));if(c&&i.push([t,e]),f)s=t,o=e,f=!1,(u=n)&&(a.lineStart(),a.point(t,e));else if(n&&h)a.point(t,e);else{var r={a:{x:l,y:d},b:{x:t,y:e}};m(r)?(h||(a.lineStart(),a.point(r.a.x,r.a.y)),a.point(r.b.x,r.b.y),n||a.lineEnd(),_=!1):n&&(a.lineStart(),a.point(t,e),_=!1)}l=t,d=e,h=n}return e};function w(t,e){return C(t[0]-M)<bt?0<e?0:3:C(t[0]-b)<bt?0<e?2:1:C(t[1]-k)<bt?0<e?1:0:0<e?3:2}function x(t,e){return D(t.x,e.x)}function D(t,e){var n=w(t,1),r=w(e,1);return n!==r?n-r:0===n?e[1]-t[1]:1===n?t[0]-e[0]:2===n?t[1]-e[1]:e[0]-t[0]}}function ar(t){var e=0,n=wt/3,r=Dr(t),a=r(e,n);return a.parallels=function(t){return arguments.length?r(e=t[0]*wt/180,n=t[1]*wt/180):[e/wt*180,n/wt*180]},a}function ir(t,e){var n=Math.sin(t),r=(n+Math.sin(e))/2,a=1+n*(2*r-n),i=Math.sqrt(a)/r;function s(t,e){var n=Math.sqrt(a-2*r*Math.sin(e))/r;return[n*Math.sin(t*=r),i-n*Math.cos(t)]}return s.invert=function(t,e){var n=i-e;return[Math.atan2(t,n)/r,Ct((a-(t*t+n*n)*r*r)/(2*r))]},s}F.geo.clipExtent=function(){var e,n,r,a,i,s,o={stream:function(t){return i&&(i.valid=!1),(i=s(t)).valid=!0,i},extent:function(t){return arguments.length?(s=rr(e=+t[0][0],n=+t[0][1],r=+t[1][0],a=+t[1][1]),i&&(i.valid=!1,i=null),o):[[e,n],[r,a]]}};return o.extent([[0,0],[960,500]])},(F.geo.conicEqualArea=function(){return ar(ir)}).raw=ir,F.geo.albers=function(){return F.geo.conicEqualArea().rotate([96,0]).center([-.6,38.7]).parallels([29.5,45.5]).scale(1070)},F.geo.albersUsa=function(){var r,a,i,s,o=F.geo.albers(),u=F.geo.conicEqualArea().rotate([154,0]).center([-2,58.5]).parallels([55,65]),l=F.geo.conicEqualArea().rotate([157,0]).center([-3,19.9]).parallels([8,18]),c={point:function(t,e){r=[t,e]}};function d(t){var e=t[0],n=t[1];return r=null,a(e,n),r||(i(e,n),r)||s(e,n),r}return d.invert=function(t){var e=o.scale(),n=o.translate(),r=(t[0]-n[0])/e,a=(t[1]-n[1])/e;return(.12<=a&&a<.234&&-.425<=r&&r<-.214?u:.166<=a&&a<.234&&-.214<=r&&r<-.115?l:o).invert(t)},d.stream=function(t){var n=o.stream(t),r=u.stream(t),a=l.stream(t);return{point:function(t,e){n.point(t,e),r.point(t,e),a.point(t,e)},sphere:function(){n.sphere(),r.sphere(),a.sphere()},lineStart:function(){n.lineStart(),r.lineStart(),a.lineStart()},lineEnd:function(){n.lineEnd(),r.lineEnd(),a.lineEnd()},polygonStart:function(){n.polygonStart(),r.polygonStart(),a.polygonStart()},polygonEnd:function(){n.polygonEnd(),r.polygonEnd(),a.polygonEnd()}}},d.precision=function(t){return arguments.length?(o.precision(t),u.precision(t),l.precision(t),d):o.precision()},d.scale=function(t){return arguments.length?(o.scale(t),u.scale(.35*t),l.scale(t),d.translate(o.translate())):o.scale()},d.translate=function(t){if(!arguments.length)return o.translate();var e=o.scale(),n=+t[0],r=+t[1];return a=o.translate(t).clipExtent([[n-.455*e,r-.238*e],[n+.455*e,r+.238*e]]).stream(c).point,i=u.translate([n-.307*e,r+.201*e]).clipExtent([[n-.425*e+bt,r+.12*e+bt],[n-.214*e-bt,r+.234*e-bt]]).stream(c).point,s=l.translate([n-.205*e,r+.212*e]).clipExtent([[n-.214*e+bt,r+.166*e+bt],[n-.115*e-bt,r+.234*e-bt]]).stream(c).point,d},d.scale(1070)};var sr,or,ur,lr,cr,dr,hr={point:S,lineStart:S,lineEnd:S,polygonStart:function(){or=0,hr.lineStart=fr},polygonEnd:function(){hr.lineStart=hr.lineEnd=hr.point=S,sr+=C(or/2)}};function fr(){var n,r,a,i;function s(t,e){or+=i*t-a*e,a=t,i=e}hr.point=function(t,e){hr.point=s,n=a=t,r=i=e},hr.lineEnd=function(){s(n,r)}}var _r={point:function(t,e){t<ur&&(ur=t);cr<t&&(cr=t);e<lr&&(lr=e);dr<e&&(dr=e)},lineStart:S,lineEnd:S,polygonStart:S,polygonEnd:S};function pr(t){return"m0,"+t+"a"+t+","+t+" 0 1,1 0,"+-2*t+"a"+t+","+t+" 0 1,1 0,"+2*t+"z"}var mr,yr={point:gr,lineStart:vr,lineEnd:Mr,polygonStart:function(){yr.lineStart=kr},polygonEnd:function(){yr.point=gr,yr.lineStart=vr,yr.lineEnd=Mr}};function gr(t,e){vn+=t,Mn+=e,++kn}function vr(){var i,s;function n(t,e){var n=t-i,r=e-s,a=Math.sqrt(n*n+r*r);bn+=a*(i+t)/2,Ln+=a*(s+e)/2,wn+=a,gr(i=t,s=e)}yr.point=function(t,e){yr.point=n,gr(i=t,s=e)}}function Mr(){yr.point=gr}function kr(){var n,r,i,s;function a(t,e){var n=t-i,r=e-s,a=Math.sqrt(n*n+r*r);bn+=a*(i+t)/2,Ln+=a*(s+e)/2,wn+=a,xn+=(a=s*t-i*e)*(i+t),Dn+=a*(s+e),Yn+=3*a,gr(i=t,s=e)}yr.point=function(t,e){yr.point=a,gr(n=i=t,r=s=e)},yr.lineEnd=function(){a(n,r)}}function br(A){var S=.5,E=Math.cos(30*Tt),k=16;function e(t){return(k?function(a){var n,r,i,s,o,u,l,c,d,h,f,_,p={point:t,lineStart:e,lineEnd:y,polygonStart:function(){a.polygonStart(),p.lineStart=g},polygonEnd:function(){a.polygonEnd(),p.lineStart=e}};function t(t,e){t=A(t,e),a.point(t[0],t[1])}function e(){c=NaN,p.point=m,a.lineStart()}function m(t,e){var n=En([t,e]),r=A(t,e);j(c,d,l,h,f,_,c=r[0],d=r[1],l=t,h=n[0],f=n[1],_=n[2],k,a),a.point(c,d)}function y(){p.point=t,a.lineEnd()}function g(){e(),p.point=v,p.lineEnd=M}function v(t,e){m(n=t,e),r=c,i=d,s=h,o=f,u=_,p.point=m}function M(){j(c,d,l,h,f,_,r,i,n,s,o,u,k,a),(p.lineEnd=y)()}return p}:function(n){return wr(n,function(t,e){t=A(t,e),n.point(t[0],t[1])})})(t)}function j(t,e,n,r,a,i,s,o,u,l,c,d,h,f){var _=s-t,p=o-e,m=_*_+p*p;if(4*S<m&&h--){var y=r+l,g=a+c,v=i+d,M=Math.sqrt(y*y+g*g+v*v),k=Math.asin(v/=M),b=C(C(v)-1)<bt||C(n-u)<bt?(n+u)/2:Math.atan2(g,y),L=A(b,k),w=L[0],x=L[1],D=w-t,Y=x-e,T=p*D-_*Y;(S<T*T/m||.3<C((_*D+p*Y)/m-.5)||r*l+a*c+i*d<E)&&(j(t,e,n,r,a,i,w,x,b,y/=M,g/=M,v,h,f),f.point(w,x),j(w,x,b,y,g,v,s,o,u,l,c,d,h,f))}}return e.precision=function(t){return arguments.length?(k=0<(S=t*t)&&16,e):Math.sqrt(S)},e}function Lr(t){this.stream=t}function wr(t,e){return{point:e,sphere:function(){t.sphere()},lineStart:function(){t.lineStart()},lineEnd:function(){t.lineEnd()},polygonStart:function(){t.polygonStart()},polygonEnd:function(){t.polygonEnd()}}}function xr(t){return Dr(function(){return t})()}function Dr(t){var n,e,r,a,i,s,o=br(function(t,e){return[(t=n(t,e))[0]*u+a,i-t[1]*u]}),u=150,l=480,c=250,d=0,h=0,f=0,_=0,p=0,m=tr,y=H,g=null,v=null;function M(t){return[(t=r(t[0]*Tt,t[1]*Tt))[0]*u+a,i-t[1]*u]}function k(t){return(t=r.invert((t[0]-a)/u,(i-t[1])/u))&&[t[0]*At,t[1]*At]}function b(){r=Un(e=Sr(f,_,p),n);var t=n(d,h);return a=l-t[0]*u,i=c+t[1]*u,L()}function L(){return s&&(s.valid=!1,s=null),M}return M.stream=function(t){return s&&(s.valid=!1),(s=Yr(m(e,o(y(t))))).valid=!0,s},M.clipAngle=function(t){return arguments.length?(m=null==t?(g=t,tr):function(a){var D=Math.cos(a),f=0<D,_=C(D)>bt;return Zn(p,function(o){var u,l,c,d,h;return{lineStart:function(){d=c=!1,h=1},point:function(t,e){var n,r=[t,e],a=p(t,e),i=f?a?0:y(t,e):a?y(t+(t<0?wt:-wt),e):0;if(!u&&(d=c=a)&&o.lineStart(),a!==c&&(n=m(u,r),(Bn(u,n)||Bn(r,n))&&(r[0]+=bt,r[1]+=bt,a=p(r[0],r[1]))),a!==c)h=0,a?(o.lineStart(),n=m(r,u),o.point(n[0],n[1])):(n=m(u,r),o.point(n[0],n[1]),o.lineEnd()),u=n;else if(_&&u&&f^a){var s;i&l||!(s=m(r,u,!0))||(h=0,f?(o.lineStart(),o.point(s[0][0],s[0][1]),o.point(s[1][0],s[1][1]),o.lineEnd()):(o.point(s[1][0],s[1][1]),o.lineEnd(),o.lineStart(),o.point(s[0][0],s[0][1])))}!a||u&&Bn(u,r)||o.point(r[0],r[1]),u=r,c=a,l=i},lineEnd:function(){c&&o.lineEnd(),u=null},clean:function(){return h|(d&&c)<<1}}},Fr(a,6*Tt),f?[0,-a]:[-wt,a-wt]);function p(t,e){return Math.cos(t)*Math.cos(e)>D}function m(t,e,n){var r=[1,0,0],a=Cn(En(t),En(e)),i=jn(a,a),s=a[0],o=i-s*s;if(!o)return!n&&t;var u=D*i/o,l=-D*s/o,c=Cn(r,a),d=On(r,u);Fn(d,On(a,l));var h=c,f=jn(d,h),_=jn(h,h),p=f*f-_*(jn(d,d)-1);if(!(p<0)){var m=Math.sqrt(p),y=On(h,(-f-m)/_);if(Fn(y,d),y=Pn(y),!n)return y;var g,v=t[0],M=e[0],k=t[1],b=e[1];M<v&&(g=v,v=M,M=g);var L=M-v,w=C(L-wt)<bt;if(!w&&b<k&&(g=k,k=b,b=g),w||L<bt?w?0<k+b^y[1]<(C(y[0]-v)<bt?k:b):k<=y[1]&&y[1]<=b:wt<L^(v<=y[0]&&y[0]<=M)){var x=On(h,(-f+m)/_);return Fn(x,d),[y,Pn(x)]}}}function y(t,e){var n=f?a:wt-a,r=0;return t<-n?r|=1:n<t&&(r|=2),e<-n?r|=4:n<e&&(r|=8),r}}((g=+t)*Tt),L()):g},M.clipExtent=function(t){return arguments.length?(y=(v=t)?rr(t[0][0],t[0][1],t[1][0],t[1][1]):H,L()):v},M.scale=function(t){return arguments.length?(u=+t,b()):u},M.translate=function(t){return arguments.length?(l=+t[0],c=+t[1],b()):[l,c]},M.center=function(t){return arguments.length?(d=t[0]%360*Tt,h=t[1]%360*Tt,b()):[d*At,h*At]},M.rotate=function(t){return arguments.length?(f=t[0]%360*Tt,_=t[1]%360*Tt,p=2<t.length?t[2]%360*Tt:0,b()):[f*At,_*At,p*At]},F.rebind(M,o,"precision"),function(){return n=t.apply(this,arguments),M.invert=n.invert&&k,b()}}function Yr(n){return wr(n,function(t,e){n.point(t*Tt,e*Tt)})}function Tr(t,e){return[t,e]}function Ar(t,e){return[wt<t?t-xt:t<-wt?t+xt:t,e]}function Sr(t,e,n){return t?e||n?Un(jr(t),Cr(e,n)):jr(t):e||n?Cr(e,n):Ar}function Er(n){return function(t,e){return[wt<(t+=n)?t-xt:t<-wt?t+xt:t,e]}}function jr(t){var e=Er(t);return e.invert=Er(-t),e}function Cr(t,e){var o=Math.cos(t),u=Math.sin(t),l=Math.cos(e),c=Math.sin(e);function n(t,e){var n=Math.cos(e),r=Math.cos(t)*n,a=Math.sin(t)*n,i=Math.sin(e),s=i*o+r*u;return[Math.atan2(a*l-s*c,r*o-i*u),Ct(s*l+a*c)]}return n.invert=function(t,e){var n=Math.cos(e),r=Math.cos(t)*n,a=Math.sin(t)*n,i=Math.sin(e),s=i*l-a*c;return[Math.atan2(a*l+i*c,r*o+s*u),Ct(s*o-r*u)]},n}function Fr(o,u){var l=Math.cos(o),c=Math.sin(o);return function(t,e,n,r){var a=n*u;null!=t?(t=Or(l,t),e=Or(l,e),(0<n?t<e:e<t)&&(t+=n*xt)):(t=o+n*xt,e=o-.5*a);for(var i,s=t;0<n?e<s:s<e;s-=a)r.point((i=Pn([l,-c*Math.cos(s),-c*Math.sin(s)]))[0],i[1])}}function Or(t,e){var n=En(e);n[0]-=t,Hn(n);var r=jt(-n[1]);return((-n[2]<0?-r:r)+2*Math.PI-bt)%(2*Math.PI)}function Hr(t,e,n){var r=F.range(t,e-bt,n).concat(e);return function(e){return r.map(function(t){return[e,t]})}}function Pr(t,e,n){var r=F.range(t,e-bt,n).concat(e);return function(e){return r.map(function(t){return[t,e]})}}function Br(t){return t.source}function Nr(t){return t.target}F.geo.path=function(){var r,e,a,n,i,s=4.5;function o(t){return t&&("function"==typeof s&&n.pointRadius(+s.apply(this,arguments)),i&&i.valid||(i=a(n)),F.geo.stream(t,i)),n.result()}function u(){return i=null,o}return o.area=function(t){return sr=0,F.geo.stream(t,a(hr)),sr},o.centroid=function(t){return vn=Mn=kn=bn=Ln=wn=xn=Dn=Yn=0,F.geo.stream(t,a(yr)),Yn?[xn/Yn,Dn/Yn]:wn?[bn/wn,Ln/wn]:kn?[vn/kn,Mn/kn]:[NaN,NaN]},o.bounds=function(t){return cr=dr=-(ur=lr=1/0),F.geo.stream(t,a(_r)),[[ur,lr],[cr,dr]]},o.projection=function(t){return arguments.length?(a=(r=t)?t.stream||(n=t,e=br(function(t,e){return n([t*At,e*At])}),function(t){return Yr(e(t))}):H,u()):r;var n,e},o.context=function(t){return arguments.length?(n=null==(e=t)?new function(){var n=pr(4.5),r=[],a={point:t,lineStart:function(){a.point=e},lineEnd:s,polygonStart:function(){a.lineEnd=o},polygonEnd:function(){a.lineEnd=s,a.point=t},pointRadius:function(t){return n=pr(t),a},result:function(){if(r.length){var t=r.join("");return r=[],t}}};function t(t,e){r.push("M",t,",",e,n)}function e(t,e){r.push("M",t,",",e),a.point=i}function i(t,e){r.push("L",t,",",e)}function s(){a.point=t}function o(){r.push("Z")}return a}:new function(n){var r=4.5,a={point:t,lineStart:function(){a.point=e},lineEnd:s,polygonStart:function(){a.lineEnd=o},polygonEnd:function(){a.lineEnd=s,a.point=t},pointRadius:function(t){return r=t,a},result:S};function t(t,e){n.moveTo(t+r,e),n.arc(t,e,r,0,xt)}function e(t,e){n.moveTo(t,e),a.point=i}function i(t,e){n.lineTo(t,e)}function s(){a.point=t}function o(){n.closePath()}return a}(t),"function"!=typeof s&&n.pointRadius(s),u()):e},o.pointRadius=function(t){return arguments.length?(s="function"==typeof t?t:(n.pointRadius(+t),+t),o):s},o.projection(F.geo.albersUsa()).context(null)},F.geo.transform=function(r){return{stream:function(t){var e=new Lr(t);for(var n in r)e[n]=r[n];return e}}},Lr.prototype={point:function(t,e){this.stream.point(t,e)},sphere:function(){this.stream.sphere()},lineStart:function(){this.stream.lineStart()},lineEnd:function(){this.stream.lineEnd()},polygonStart:function(){this.stream.polygonStart()},polygonEnd:function(){this.stream.polygonEnd()}},F.geo.projection=xr,F.geo.projectionMutator=Dr,(F.geo.equirectangular=function(){return xr(Tr)}).raw=Tr.invert=Tr,F.geo.rotation=function(e){function t(t){return(t=e(t[0]*Tt,t[1]*Tt))[0]*=At,t[1]*=At,t}return e=Sr(e[0]%360*Tt,e[1]*Tt,2<e.length?e[2]*Tt:0),t.invert=function(t){return(t=e.invert(t[0]*Tt,t[1]*Tt))[0]*=At,t[1]*=At,t},t},Ar.invert=Tr,F.geo.circle=function(){var e,a,i=[0,0],n=6;function r(){var t="function"==typeof i?i.apply(this,arguments):i,n=Sr(-t[0]*Tt,-t[1]*Tt,0).invert,r=[];return a(null,null,1,{point:function(t,e){r.push(t=n(t,e)),t[0]*=At,t[1]*=At}}),{type:"Polygon",coordinates:[r]}}return r.origin=function(t){return arguments.length?(i=t,r):i},r.angle=function(t){return arguments.length?(a=Fr((e=+t)*Tt,n*Tt),r):e},r.precision=function(t){return arguments.length?(a=Fr(e*Tt,(n=+t)*Tt),r):n},r.angle(90)},F.geo.distance=function(t,e){var n,r=(e[0]-t[0])*Tt,a=t[1]*Tt,i=e[1]*Tt,s=Math.sin(r),o=Math.cos(r),u=Math.sin(a),l=Math.cos(a),c=Math.sin(i),d=Math.cos(i);return Math.atan2(Math.sqrt((n=d*s)*n+(n=l*c-u*d*o)*n),u*c+l*d*o)},F.geo.graticule=function(){var e,n,r,a,i,s,o,u,l,c,d,h,f=10,_=f,p=90,m=360,y=2.5;function g(){return{type:"MultiLineString",coordinates:t()}}function t(){return F.range(Math.ceil(a/p)*p,r,p).map(d).concat(F.range(Math.ceil(u/m)*m,o,m).map(h)).concat(F.range(Math.ceil(n/f)*f,e,f).filter(function(t){return C(t%p)>bt}).map(l)).concat(F.range(Math.ceil(s/_)*_,i,_).filter(function(t){return C(t%m)>bt}).map(c))}return g.lines=function(){return t().map(function(t){return{type:"LineString",coordinates:t}})},g.outline=function(){return{type:"Polygon",coordinates:[d(a).concat(h(o).slice(1),d(r).reverse().slice(1),h(u).reverse().slice(1))]}},g.extent=function(t){return arguments.length?g.majorExtent(t).minorExtent(t):g.minorExtent()},g.majorExtent=function(t){return arguments.length?(a=+t[0][0],r=+t[1][0],u=+t[0][1],o=+t[1][1],r<a&&(t=a,a=r,r=t),o<u&&(t=u,u=o,o=t),g.precision(y)):[[a,u],[r,o]]},g.minorExtent=function(t){return arguments.length?(n=+t[0][0],e=+t[1][0],s=+t[0][1],i=+t[1][1],e<n&&(t=n,n=e,e=t),i<s&&(t=s,s=i,i=t),g.precision(y)):[[n,s],[e,i]]},g.step=function(t){return arguments.length?g.majorStep(t).minorStep(t):g.minorStep()},g.majorStep=function(t){return arguments.length?(p=+t[0],m=+t[1],g):[p,m]},g.minorStep=function(t){return arguments.length?(f=+t[0],_=+t[1],g):[f,_]},g.precision=function(t){return arguments.length?(y=+t,l=Hr(s,i,90),c=Pr(n,e,y),d=Hr(u,o,90),h=Pr(a,r,y),g):y},g.majorExtent([[-180,-90+bt],[180,90-bt]]).minorExtent([[-180,-80-bt],[180,80+bt]])},F.geo.greatArc=function(){var e,n,r=Br,a=Nr;function i(){return{type:"LineString",coordinates:[e||r.apply(this,arguments),n||a.apply(this,arguments)]}}return i.distance=function(){return F.geo.distance(e||r.apply(this,arguments),n||a.apply(this,arguments))},i.source=function(t){return arguments.length?(e="function"==typeof(r=t)?null:t,i):r},i.target=function(t){return arguments.length?(n="function"==typeof(a=t)?null:t,i):a},i.precision=function(){return arguments.length?i:0},i},F.geo.interpolate=function(t,e){return n=t[0]*Tt,r=t[1]*Tt,a=e[0]*Tt,i=e[1]*Tt,s=Math.cos(r),o=Math.sin(r),u=Math.cos(i),l=Math.sin(i),c=s*Math.cos(n),d=s*Math.sin(n),h=u*Math.cos(a),f=u*Math.sin(a),_=2*Math.asin(Math.sqrt(Ot(i-r)+s*u*Ot(a-n))),p=1/Math.sin(_),(m=_?function(t){var e=Math.sin(t*=_)*p,n=Math.sin(_-t)*p,r=n*c+e*h,a=n*d+e*f,i=n*o+e*l;return[Math.atan2(a,r)*At,Math.atan2(i,Math.sqrt(r*r+a*a))*At]}:function(){return[n*At,r*At]}).distance=_,m;var n,r,a,i,s,o,u,l,c,d,h,f,_,p,m},F.geo.length=function(t){return mr=0,F.geo.stream(t,Ir),mr};var Ir={sphere:S,point:S,lineStart:function(){var s,o,u;function n(t,e){var n=Math.sin(e*=Tt),r=Math.cos(e),a=C((t*=Tt)-s),i=Math.cos(a);mr+=Math.atan2(Math.sqrt((a=r*Math.sin(a))*a+(a=u*n-o*r*i)*a),o*n+u*r*i),s=t,o=n,u=r}Ir.point=function(t,e){s=t*Tt,o=Math.sin(e*=Tt),u=Math.cos(e),Ir.point=n},Ir.lineEnd=function(){Ir.point=Ir.lineEnd=S}},lineEnd:S,polygonStart:S,polygonEnd:S};function Rr(i,s){function t(t,e){var n=Math.cos(t),r=Math.cos(e),a=i(n*r);return[a*r*Math.sin(t),a*Math.sin(e)]}return t.invert=function(t,e){var n=Math.sqrt(t*t+e*e),r=s(n),a=Math.sin(r),i=Math.cos(r);return[Math.atan2(t*a,n*i),Math.asin(n&&e*a/n)]},t}var zr=Rr(function(t){return Math.sqrt(2/(1+t))},function(t){return 2*Math.asin(t/2)});(F.geo.azimuthalEqualArea=function(){return xr(zr)}).raw=zr;var Wr=Rr(function(t){var e=Math.acos(t);return e&&e/Math.sin(e)},H);function qr(t,e){var n=Math.cos(t),r=function(t){return Math.tan(wt/4+t/2)},a=t===e?Math.sin(t):Math.log(n/Math.cos(e))/Math.log(r(e)/r(t)),i=n*Math.pow(r(t),a)/a;if(!a)return $r;function s(t,e){0<i?e<-Yt+bt&&(e=-Yt+bt):Yt-bt<e&&(e=Yt-bt);var n=i/Math.pow(r(e),a);return[n*Math.sin(a*t),i-n*Math.cos(a*t)]}return s.invert=function(t,e){var n=i-e,r=St(a)*Math.sqrt(t*t+n*n);return[Math.atan2(t,n)/a,2*Math.atan(Math.pow(i/r,1/a))-Yt]},s}function Ur(t,e){var n=Math.cos(t),r=t===e?Math.sin(t):(n-Math.cos(e))/(e-t),a=n/r+t;if(C(r)<bt)return Tr;function i(t,e){var n=a-e;return[n*Math.sin(r*t),a-n*Math.cos(r*t)]}return i.invert=function(t,e){var n=a-e;return[Math.atan2(t,n)/r,a-St(r)*Math.sqrt(t*t+n*n)]},i}(F.geo.azimuthalEquidistant=function(){return xr(Wr)}).raw=Wr,(F.geo.conicConformal=function(){return ar(qr)}).raw=qr,(F.geo.conicEquidistant=function(){return ar(Ur)}).raw=Ur;var Vr=Rr(function(t){return 1/t},Math.atan);function $r(t,e){return[t,Math.log(Math.tan(wt/4+e/2))]}function Gr(t){var a,i=xr(t),s=i.scale,o=i.translate,u=i.clipExtent;return i.scale=function(){var t=s.apply(i,arguments);return t===i?a?i.clipExtent(null):i:t},i.translate=function(){var t=o.apply(i,arguments);return t===i?a?i.clipExtent(null):i:t},i.clipExtent=function(t){var e=u.apply(i,arguments);if(e===i){if(a=null==t){var n=wt*s(),r=o();u([[r[0]-n,r[1]-n],[r[0]+n,r[1]+n]])}}else a&&(e=null);return e},i.clipExtent(null)}(F.geo.gnomonic=function(){return xr(Vr)}).raw=Vr,$r.invert=function(t,e){return[t,2*Math.atan(Math.exp(e))-Yt]},(F.geo.mercator=function(){return Gr($r)}).raw=$r;var Jr=Rr(function(){return 1},Math.asin);(F.geo.orthographic=function(){return xr(Jr)}).raw=Jr;var Zr=Rr(function(t){return 1/(1+t)},function(t){return 2*Math.atan(t)});function Kr(t,e){return[Math.log(Math.tan(wt/4+e/2)),-t]}function Xr(t){return t[0]}function Qr(t){return t[1]}function ta(t){for(var e=t.length,n=[0,1],r=2,a=2;a<e;a++){for(;1<r&&Et(t[n[r-2]],t[n[r-1]],t[a])<=0;)--r;n[r++]=a}return n.slice(0,r)}function ea(t,e){return t[0]-e[0]||t[1]-e[1]}(F.geo.stereographic=function(){return xr(Zr)}).raw=Zr,Kr.invert=function(t,e){return[-e,2*Math.atan(Math.exp(t))-Yt]},(F.geo.transverseMercator=function(){var t=Gr(Kr),e=t.center,n=t.rotate;return t.center=function(t){return t?e([-t[1],t[0]]):[(t=e())[1],-t[0]]},t.rotate=function(t){return t?n([t[0],t[1],2<t.length?t[2]+90:90]):[(t=n())[0],t[1],t[2]-90]},n([0,0,90])}).raw=Kr,F.geom={},F.geom.hull=function(t){var h=Xr,f=Qr;if(arguments.length)return e(t);function e(t){if(t.length<3)return[];var e,n=pe(h),r=pe(f),a=t.length,i=[],s=[];for(e=0;e<a;e++)i.push([+n.call(this,t[e],e),+r.call(this,t[e],e),e]);for(i.sort(ea),e=0;e<a;e++)s.push([i[e][0],-i[e][1]]);var o=ta(i),u=ta(s),l=u[0]===o[0],c=u[u.length-1]===o[o.length-1],d=[];for(e=o.length-1;0<=e;--e)d.push(t[i[o[e]][2]]);for(e=+l;e<u.length-c;++e)d.push(t[i[u[e]][2]]);return d}return e.x=function(t){return arguments.length?(h=t,e):h},e.y=function(t){return arguments.length?(f=t,e):f},e},F.geom.polygon=function(t){return R(t,na),t};var na=F.geom.polygon.prototype=[];function ra(t,e,n){return(n[0]-e[0])*(t[1]-e[1])<(n[1]-e[1])*(t[0]-e[0])}function aa(t,e,n,r){var a=t[0],i=n[0],s=e[0]-a,o=r[0]-i,u=t[1],l=n[1],c=e[1]-u,d=r[1]-l,h=(o*(u-l)-d*(a-i))/(d*s-o*c);return[a+h*s,u+h*c]}function ia(t){var e=t[0],n=t[t.length-1];return!(e[0]-n[0]||e[1]-n[1])}na.area=function(){for(var t,e=-1,n=this.length,r=this[n-1],a=0;++e<n;)t=r,r=this[e],a+=t[1]*r[0]-t[0]*r[1];return.5*a},na.centroid=function(t){var e,n,r=-1,a=this.length,i=0,s=0,o=this[a-1];for(arguments.length||(t=-1/(6*this.area()));++r<a;)e=o,o=this[r],n=e[0]*o[1]-o[0]*e[1],i+=(e[0]+o[0])*n,s+=(e[1]+o[1])*n;return[i*t,s*t]},na.clip=function(t){for(var e,n,r,a,i,s,o=ia(t),u=-1,l=this.length-ia(this),c=this[l-1];++u<l;){for(e=t.slice(),t.length=0,a=this[u],i=e[(r=e.length-o)-1],n=-1;++n<r;)ra(s=e[n],c,a)?(ra(i,c,a)||t.push(aa(i,s,c,a)),t.push(s)):ra(i,c,a)&&t.push(aa(i,s,c,a)),i=s;o&&t.push(t[0]),c=a}return t};var sa,oa,ua,la,ca,da=[],ha=[];function fa(t){var e=da.pop()||new function(){Aa(this),this.edge=this.site=this.circle=null};return e.site=t,e}function _a(t){ba(t),ua.remove(t),da.push(t),Aa(t)}function pa(t){var e=t.circle,n=e.x,r=e.cy,a={x:n,y:r},i=t.P,s=t.N,o=[t];_a(t);for(var u=i;u.circle&&C(n-u.circle.x)<bt&&C(r-u.circle.cy)<bt;)i=u.P,o.unshift(u),_a(u),u=i;o.unshift(u),ba(u);for(var l=s;l.circle&&C(n-l.circle.x)<bt&&C(r-l.circle.cy)<bt;)s=l.N,o.push(l),_a(l),l=s;o.push(l),ba(l);var c,d=o.length;for(c=1;c<d;++c)l=o[c],u=o[c-1],Da(l.edge,u.site,l.site,a);u=o[0],(l=o[d-1]).edge=xa(u.site,l.site,null,a),ka(u),ka(l)}function ma(t){for(var e,n,r,a,i=t.x,s=t.y,o=ua._;o;)if(r=ya(o,s)-i,bt<r)o=o.L;else{if(a=i-ga(o,s),!(bt<a)){-bt<r?(e=o.P,n=o):-bt<a?n=(e=o).N:e=n=o;break}if(!o.R){e=o;break}o=o.R}var u=fa(t);if(ua.insert(e,u),e||n){if(e===n)return ba(e),n=fa(e.site),ua.insert(u,n),u.edge=n.edge=xa(e.site,u.site),ka(e),void ka(n);if(n){ba(e),ba(n);var l=e.site,c=l.x,d=l.y,h=t.x-c,f=t.y-d,_=n.site,p=_.x-c,m=_.y-d,y=2*(h*m-f*p),g=h*h+f*f,v=p*p+m*m,M={x:(m*g-f*v)/y+c,y:(h*v-p*g)/y+d};Da(n.edge,l,_,M),u.edge=xa(l,t,null,M),n.edge=xa(t,_,null,M),ka(e),ka(n)}else u.edge=xa(e.site,u.site)}}function ya(t,e){var n=t.site,r=n.x,a=n.y,i=a-e;if(!i)return r;var s=t.P;if(!s)return-1/0;var o=(n=s.site).x,u=n.y,l=u-e;if(!l)return o;var c=o-r,d=1/i-1/l,h=c/l;return d?(-h+Math.sqrt(h*h-2*d*(c*c/(-2*l)-u+l/2+a-i/2)))/d+r:(r+o)/2}function ga(t,e){var n=t.N;if(n)return ya(n,e);var r=t.site;return r.y===e?r.x:1/0}function va(t){this.site=t,this.edges=[]}function Ma(t,e){return e.angle-t.angle}function ka(t){var e=t.P,n=t.N;if(e&&n){var r=e.site,a=t.site,i=n.site;if(r!==i){var s=a.x,o=a.y,u=r.x-s,l=r.y-o,c=i.x-s,d=2*(u*(m=i.y-o)-l*c);if(!(-Lt<=d)){var h=u*u+l*l,f=c*c+m*m,_=(m*h-l*f)/d,p=(u*f-c*h)/d,m=p+o,y=ha.pop()||new function(){Aa(this),this.x=this.y=this.arc=this.site=this.cy=null};y.arc=t,y.site=a,y.x=_+s,y.y=m+Math.sqrt(_*_+p*p),y.cy=m,t.circle=y;for(var g=null,v=ca._;v;)if(y.y<v.y||y.y===v.y&&y.x<=v.x){if(!v.L){g=v.P;break}v=v.L}else{if(!v.R){g=v;break}v=v.R}ca.insert(g,y),g||(la=y)}}}}function ba(t){var e=t.circle;e&&(e.P||(la=e.N),ca.remove(e),ha.push(e),Aa(e),t.circle=null)}function La(t,e){var n=t.b;if(n)return!0;var r,a,i=t.a,s=e[0][0],o=e[1][0],u=e[0][1],l=e[1][1],c=t.l,d=t.r,h=c.x,f=c.y,_=d.x,p=d.y,m=(h+_)/2,y=(f+p)/2;if(p===f){if(m<s||o<=m)return;if(_<h){if(i){if(i.y>=l)return}else i={x:m,y:u};n={x:m,y:l}}else{if(i){if(i.y<u)return}else i={x:m,y:l};n={x:m,y:u}}}else if(a=y-(r=(h-_)/(p-f))*m,r<-1||1<r)if(_<h){if(i){if(i.y>=l)return}else i={x:(u-a)/r,y:u};n={x:(l-a)/r,y:l}}else{if(i){if(i.y<u)return}else i={x:(l-a)/r,y:l};n={x:(u-a)/r,y:u}}else if(f<p){if(i){if(i.x>=o)return}else i={x:s,y:r*s+a};n={x:o,y:r*o+a}}else{if(i){if(i.x<s)return}else i={x:o,y:r*o+a};n={x:s,y:r*s+a}}return t.a=i,t.b=n,!0}function wa(t,e){this.l=t,this.r=e,this.a=this.b=null}function xa(t,e,n,r){var a=new wa(t,e);return sa.push(a),n&&Da(a,t,e,n),r&&Da(a,e,t,r),oa[t.i].edges.push(new Ya(a,t,e)),oa[e.i].edges.push(new Ya(a,e,t)),a}function Da(t,e,n,r){t.a||t.b?t.l===n?t.b=r:t.a=r:(t.a=r,t.l=e,t.r=n)}function Ya(t,e,n){var r=t.a,a=t.b;this.edge=t,this.site=e,this.angle=n?Math.atan2(n.y-e.y,n.x-e.x):t.l===e?Math.atan2(a.x-r.x,r.y-a.y):Math.atan2(r.x-a.x,a.y-r.y)}function Ta(){this._=null}function Aa(t){t.U=t.C=t.L=t.R=t.P=t.N=null}function Sa(t,e){var n=e,r=e.R,a=n.U;a?a.L===n?a.L=r:a.R=r:t._=r,r.U=a,n.U=r,n.R=r.L,n.R&&(n.R.U=n),r.L=n}function Ea(t,e){var n=e,r=e.L,a=n.U;a?a.L===n?a.L=r:a.R=r:t._=r,r.U=a,n.U=r,n.L=r.R,n.L&&(n.L.U=n),r.R=n}function ja(t){for(;t.L;)t=t.L;return t}function Ca(t,e){var n,r,a,i=t.sort(Fa).pop();for(sa=[],oa=new Array(t.length),ua=new Ta,ca=new Ta;;)if(a=la,i&&(!a||i.y<a.y||i.y===a.y&&i.x<a.x))i.x===n&&i.y===r||(oa[i.i]=new va(i),ma(i),n=i.x,r=i.y),i=t.pop();else{if(!a)break;pa(a.arc)}e&&(function(t){for(var e,n=sa,r=er(t[0][0],t[0][1],t[1][0],t[1][1]),a=n.length;a--;)(!La(e=n[a],t)||!r(e)||C(e.a.x-e.b.x)<bt&&C(e.a.y-e.b.y)<bt)&&(e.a=e.b=null,n.splice(a,1))}(e),function(t){for(var e,n,r,a,i,s,o,u,l,c,d=t[0][0],h=t[1][0],f=t[0][1],_=t[1][1],p=oa,m=p.length;m--;)if((i=p[m])&&i.prepare())for(u=(o=i.edges).length,s=0;s<u;)r=(c=o[s].end()).x,a=c.y,e=(l=o[++s%u].start()).x,n=l.y,(C(r-e)>bt||C(a-n)>bt)&&(o.splice(s,0,new Ya((y=i.site,g=c,v=C(r-d)<bt&&bt<_-a?{x:d,y:C(e-d)<bt?n:_}:C(a-_)<bt&&bt<h-r?{x:C(n-_)<bt?e:h,y:_}:C(r-h)<bt&&bt<a-f?{x:h,y:C(e-h)<bt?n:f}:C(a-f)<bt&&bt<r-d?{x:C(n-f)<bt?e:d,y:f}:null,M=void 0,M=new wa(y,null),M.a=g,M.b=v,sa.push(M),M),i.site,null)),++u);var y,g,v,M}(e));var s={cells:oa,edges:sa};return ua=ca=sa=oa=null,s}function Fa(t,e){return e.y-t.y||e.x-t.x}va.prototype.prepare=function(){for(var t,e=this.edges,n=e.length;n--;)(t=e[n].edge).b&&t.a||e.splice(n,1);return e.sort(Ma),e.length},Ya.prototype={start:function(){return this.edge.l===this.site?this.edge.a:this.edge.b},end:function(){return this.edge.l===this.site?this.edge.b:this.edge.a}},Ta.prototype={insert:function(t,e){var n,r,a;if(t){if(e.P=t,e.N=t.N,t.N&&(t.N.P=e),t.N=e,t.R){for(t=t.R;t.L;)t=t.L;t.L=e}else t.R=e;n=t}else this._?(t=ja(this._),e.P=null,(e.N=t).P=t.L=e,n=t):(e.P=e.N=null,this._=e,n=null);for(e.L=e.R=null,e.U=n,e.C=!0,t=e;n&&n.C;)n===(r=n.U).L?(a=r.R)&&a.C?(n.C=a.C=!1,r.C=!0,t=r):(t===n.R&&(Sa(this,n),n=(t=n).U),n.C=!1,r.C=!0,Ea(this,r)):(a=r.L)&&a.C?(n.C=a.C=!1,r.C=!0,t=r):(t===n.L&&(Ea(this,n),n=(t=n).U),n.C=!1,r.C=!0,Sa(this,r)),n=t.U;this._.C=!1},remove:function(t){t.N&&(t.N.P=t.P),t.P&&(t.P.N=t.N),t.N=t.P=null;var e,n,r,a=t.U,i=t.L,s=t.R;if(n=i?s?ja(s):i:s,a?a.L===t?a.L=n:a.R=n:this._=n,i&&s?(r=n.C,n.C=t.C,((n.L=i).U=n)!==s?(a=n.U,n.U=t.U,t=n.R,a.L=t,(n.R=s).U=n):(n.U=a,t=(a=n).R)):(r=t.C,t=n),t&&(t.U=a),!r)if(t&&t.C)t.C=!1;else{do{if(t===this._)break;if(t===a.L){if((e=a.R).C&&(e.C=!1,a.C=!0,Sa(this,a),e=a.R),e.L&&e.L.C||e.R&&e.R.C){e.R&&e.R.C||(e.L.C=!1,e.C=!0,Ea(this,e),e=a.R),e.C=a.C,a.C=e.R.C=!1,Sa(this,a),t=this._;break}}else if((e=a.L).C&&(e.C=!1,a.C=!0,Ea(this,a),e=a.L),e.L&&e.L.C||e.R&&e.R.C){e.L&&e.L.C||(e.R.C=!1,e.C=!0,Sa(this,e),e=a.L),e.C=a.C,a.C=e.L.C=!1,Ea(this,a),t=this._;break}e.C=!0,a=(t=a).U}while(!t.C);t&&(t.C=!1)}}},F.geom.voronoi=function(t){var e=Xr,n=Qr,r=e,a=n,c=Oa;if(t)return i(t);function i(a){var i=new Array(a.length),s=c[0][0],o=c[0][1],u=c[1][0],l=c[1][1];return Ca(d(a),c).cells.forEach(function(t,e){var n=t.edges,r=t.site;(i[e]=n.length?n.map(function(t){var e=t.start();return[e.x,e.y]}):r.x>=s&&r.x<=u&&r.y>=o&&r.y<=l?[[s,l],[u,l],[u,o],[s,o]]:[]).point=a[e]}),i}function d(t){return t.map(function(t,e){return{x:Math.round(r(t,e)/bt)*bt,y:Math.round(a(t,e)/bt)*bt,i:e}})}return i.links=function(e){return Ca(d(e)).edges.filter(function(t){return t.l&&t.r}).map(function(t){return{source:e[t.l.i],target:e[t.r.i]}})},i.triangles=function(h){var f=[];return Ca(d(h)).cells.forEach(function(t,e){for(var n,r,a,i,s=t.site,o=t.edges.sort(Ma),u=-1,l=o.length,c=o[l-1].edge,d=c.l===s?c.r:c.l;++u<l;)c,n=d,d=(c=o[u].edge).l===s?c.r:c.l,e<n.i&&e<d.i&&(a=n,i=d,((r=s).x-i.x)*(a.y-r.y)-(r.x-a.x)*(i.y-r.y)<0)&&f.push([h[e],h[n.i],h[d.i]])}),f},i.x=function(t){return arguments.length?(r=pe(e=t),i):e},i.y=function(t){return arguments.length?(a=pe(n=t),i):n},i.clipExtent=function(t){return arguments.length?(c=null==t?Oa:t,i):c===Oa?null:c},i.size=function(t){return arguments.length?i.clipExtent(t&&[[0,0],t]):c===Oa?null:c&&c[1]},i};var Oa=[[-1e6,-1e6],[1e6,1e6]];function Ha(t){return t.x}function Pa(t){return t.y}function Ba(t,e){t=F.rgb(t),e=F.rgb(e);var n=t.r,r=t.g,a=t.b,i=e.r-n,s=e.g-r,o=e.b-a;return function(t){return"#"+ue(Math.round(n+i*t))+ue(Math.round(r+s*t))+ue(Math.round(a+o*t))}}function Na(t,e){var n,r={},a={};for(n in t)n in e?r[n]=qa(t[n],e[n]):a[n]=t[n];for(n in e)n in t||(a[n]=e[n]);return function(t){for(n in r)a[n]=r[n](t);return a}}function Ia(e,n){return e=+e,n=+n,function(t){return e*(1-t)+n*t}}function Ra(t,r){var e,n,a,i=za.lastIndex=Wa.lastIndex=0,s=-1,o=[],u=[];for(t+="",r+="";(e=za.exec(t))&&(n=Wa.exec(r));)(a=n.index)>i&&(a=r.slice(i,a),o[s]?o[s]+=a:o[++s]=a),(e=e[0])===(n=n[0])?o[s]?o[s]+=n:o[++s]=n:(o[++s]=null,u.push({i:s,x:Ia(e,n)})),i=Wa.lastIndex;return i<r.length&&(a=r.slice(i),o[s]?o[s]+=a:o[++s]=a),o.length<2?u[0]?(r=u[0].x,function(t){return r(t)+""}):function(){return r}:(r=u.length,function(t){for(var e,n=0;n<r;++n)o[(e=u[n]).i]=e.x(t);return o.join("")})}F.geom.delaunay=function(t){return F.geom.voronoi().triangles(t)},F.geom.quadtree=function(t,g,v,M,k){var b,L=Xr,x=Qr;if(b=arguments.length)return L=Ha,x=Pa,3===b&&(k=v,M=g,v=g=0),e(t);function e(t){var e,n,r,a,i,s,o,u,l,c=pe(L),d=pe(x);if(null!=g)s=g,o=v,u=M,l=k;else if(u=l=-(s=o=1/0),n=[],r=[],i=t.length,b)for(a=0;a<i;++a)(e=t[a]).x<s&&(s=e.x),e.y<o&&(o=e.y),e.x>u&&(u=e.x),e.y>l&&(l=e.y),n.push(e.x),r.push(e.y);else for(a=0;a<i;++a){var h=+c(e=t[a],a),f=+d(e,a);h<s&&(s=h),f<o&&(o=f),u<h&&(u=h),l<f&&(l=f),n.push(h),r.push(f)}var _=u-s,p=l-o;function m(t,e,n,r,a,i,s,o){if(!isNaN(n)&&!isNaN(r))if(t.leaf){var u=t.x,l=t.y;if(null!=u)if(C(u-n)+C(l-r)<.01)y(t,e,n,r,a,i,s,o);else{var c=t.point;t.x=t.y=t.point=null,y(t,c,u,l,a,i,s,o),y(t,e,n,r,a,i,s,o)}else t.x=n,t.y=r,t.point=e}else y(t,e,n,r,a,i,s,o)}function y(t,e,n,r,a,i,s,o){var u=.5*(a+s),l=.5*(i+o),c=u<=n,d=l<=r,h=d<<1|c;t.leaf=!1,c?a=u:s=u,d?i=l:o=l,m(t=t.nodes[h]||(t.nodes[h]={leaf:!0,nodes:[],point:null,x:null,y:null,add:function(t){m(w,t,+c(t,++a),+d(t,a),s,o,u,l)}}),e,n,r,a,i,s,o)}p<_?l=o+_:u=s+p;var w={leaf:!0,nodes:[],point:null,x:null,y:null,add:function(t){m(w,t,+c(t,++a),+d(t,a),s,o,u,l)}};if(w.visit=function(t){!function t(e,n,r,a,i,s){if(!e(n,r,a,i,s)){var o=.5*(r+i),u=.5*(a+s),l=n.nodes;l[0]&&t(e,l[0],r,a,o,u),l[1]&&t(e,l[1],o,a,i,u),l[2]&&t(e,l[2],r,u,o,s),l[3]&&t(e,l[3],o,u,i,s)}}(t,w,s,o,u,l)},w.find=function(t){return e=w,m=t[0],y=t[1],L=1/0,function t(e,n,r,a,i){if(!(M<n||k<r||a<g||i<v)){if(s=e.point){var s,o=m-e.x,u=y-e.y,l=o*o+u*u;if(l<L){var c=Math.sqrt(L=l);g=m-c,v=y-c,M=m+c,k=y+c,b=s}}for(var d=e.nodes,h=.5*(n+a),f=.5*(r+i),_=(f<=y)<<1|h<=m,p=_+4;_<p;++_)if(e=d[3&_])switch(3&_){case 0:t(e,n,r,h,f);break;case 1:t(e,h,r,a,f);break;case 2:t(e,n,f,h,i);break;case 3:t(e,h,f,a,i)}}}(e,g=s,v=o,M=u,k=l),b;var e,m,y,g,v,M,k,b,L},a=-1,null==g){for(;++a<i;)m(w,t[a],n[a],r[a],s,o,u,l);--a}else t.forEach(w.add);return n=r=t=e=null,w}return e.x=function(t){return arguments.length?(L=t,e):L},e.y=function(t){return arguments.length?(x=t,e):x},e.extent=function(t){return arguments.length?(null==t?g=v=M=k=null:(g=+t[0][0],v=+t[0][1],M=+t[1][0],k=+t[1][1]),e):null==g?null:[[g,v],[M,k]]},e.size=function(t){return arguments.length?(null==t?g=v=M=k=null:(g=v=0,M=+t[0],k=+t[1]),e):null==g?null:[M-g,k-v]},e},F.interpolateRgb=Ba,F.interpolateObject=Na,F.interpolateNumber=Ia,F.interpolateString=Ra;var za=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,Wa=new RegExp(za.source,"g");function qa(t,e){for(var n,r=F.interpolators.length;0<=--r&&!(n=F.interpolators[r](t,e)););return n}function Ua(t,e){var n,r=[],a=[],i=t.length,s=e.length,o=Math.min(t.length,e.length);for(n=0;n<o;++n)r.push(qa(t[n],e[n]));for(;n<i;++n)a[n]=t[n];for(;n<s;++n)a[n]=e[n];return function(t){for(n=0;n<o;++n)a[n]=r[n](t);return a}}F.interpolate=qa,F.interpolators=[function(t,e){var n=typeof e;return("string"===n?_e.has(e.toLowerCase())||/^(#|rgb\(|hsl\()/i.test(e)?Ba:Ra:e instanceof It?Ba:Array.isArray(e)?Ua:"object"===n&&isNaN(e)?Na:Ia)(t,e)}],F.interpolateArray=Ua;var Va=function(){return H},$a=F.map({linear:Va,poly:function(e){return function(t){return Math.pow(t,e)}},quad:function(){return Ka},cubic:function(){return Xa},sin:function(){return ti},exp:function(){return ei},circle:function(){return ni},elastic:function(e,n){var r;arguments.length<2&&(n=.45);arguments.length?r=n/xt*Math.asin(1/e):(e=1,r=n/4);return function(t){return 1+e*Math.pow(2,-10*t)*Math.sin((t-r)*xt/n)}},back:function(e){e||(e=1.70158);return function(t){return t*t*((e+1)*t-e)}},bounce:function(){return ri}}),Ga=F.map({in:H,out:Ja,"in-out":Za,"out-in":function(t){return Za(Ja(t))}});function Ja(e){return function(t){return 1-e(1-t)}}function Za(e){return function(t){return.5*(t<.5?e(2*t):2-e(2-2*t))}}function Ka(t){return t*t}function Xa(t){return t*t*t}function Qa(t){if(t<=0)return 0;if(1<=t)return 1;var e=t*t,n=e*t;return 4*(t<.5?n:3*(t-e)+n-.75)}function ti(t){return 1-Math.cos(t*Yt)}function ei(t){return Math.pow(2,10*(t-1))}function ni(t){return 1-Math.sqrt(1-t*t)}function ri(t){return t<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375}function ai(e,n){return n-=e,function(t){return Math.round(e+n*t)}}function ii(t){var e,n,r,a=[t.a,t.b],i=[t.c,t.d],s=oi(a),o=si(a,i),u=oi(((e=i)[0]+=(r=-o)*(n=a)[0],e[1]+=r*n[1],e))||0;a[0]*i[1]<i[0]*a[1]&&(a[0]*=-1,a[1]*=-1,s*=-1,o*=-1),this.rotate=(s?Math.atan2(a[1],a[0]):Math.atan2(-i[0],i[1]))*At,this.translate=[t.e,t.f],this.scale=[s,u],this.skew=u?Math.atan2(o,u)*At:0}function si(t,e){return t[0]*e[0]+t[1]*e[1]}function oi(t){var e=Math.sqrt(si(t,t));return e&&(t[0]/=e,t[1]/=e),e}F.ease=function(t){var e,n=t.indexOf("-"),r=0<=n?t.slice(0,n):t,a=0<=n?t.slice(n+1):"in";return r=$a.get(r)||Va,a=Ga.get(a)||H,e=a(r.apply(null,i.call(arguments,1))),function(t){return t<=0?0:1<=t?1:e(t)}},F.interpolateHcl=function(t,e){t=F.hcl(t),e=F.hcl(e);var n=t.h,r=t.c,a=t.l,i=e.h-n,s=e.c-r,o=e.l-a;isNaN(s)&&(s=0,r=isNaN(r)?e.c:r);isNaN(i)?(i=0,n=isNaN(n)?e.h:n):180<i?i-=360:i<-180&&(i+=360);return function(t){return Vt(n+i*t,r+s*t,a+o*t)+""}},F.interpolateHsl=function(t,e){t=F.hsl(t),e=F.hsl(e);var n=t.h,r=t.s,a=t.l,i=e.h-n,s=e.s-r,o=e.l-a;isNaN(s)&&(s=0,r=isNaN(r)?e.s:r);isNaN(i)?(i=0,n=isNaN(n)?e.h:n):180<i?i-=360:i<-180&&(i+=360);return function(t){return Wt(n+i*t,r+s*t,a+o*t)+""}},F.interpolateLab=function(t,e){t=F.lab(t),e=F.lab(e);var n=t.l,r=t.a,a=t.b,i=e.l-n,s=e.a-r,o=e.b-a;return function(t){return Qt(n+i*t,r+s*t,a+o*t)+""}},F.interpolateRound=ai,F.transform=function(t){var n=v.createElementNS(F.ns.prefix.svg,"g");return(F.transform=function(t){if(null!=t){n.setAttribute("transform",t);var e=n.transform.baseVal.consolidate()}return new ii(e?e.matrix:ui)})(t)},ii.prototype.toString=function(){return"translate("+this.translate+")rotate("+this.rotate+")skewX("+this.skew+")scale("+this.scale+")"};var ui={a:1,b:0,c:0,d:1,e:0,f:0};function li(t){return t.length?t.pop()+",":""}function ci(t,e){var n,r,a,i,s,o,u,l,c=[],d=[];return t=F.transform(t),e=F.transform(e),function(t,e,n,r){if(t[0]!==e[0]||t[1]!==e[1]){var a=n.push("translate(",null,",",null,")");r.push({i:a-4,x:Ia(t[0],e[0])},{i:a-2,x:Ia(t[1],e[1])})}else(e[0]||e[1])&&n.push("translate("+e+")")}(t.translate,e.translate,c,d),n=t.rotate,r=e.rotate,a=c,i=d,n!==r?(180<n-r?r+=360:180<r-n&&(n+=360),i.push({i:a.push(li(a)+"rotate(",null,")")-2,x:Ia(n,r)})):r&&a.push(li(a)+"rotate("+r+")"),s=t.skew,o=e.skew,u=c,l=d,s!==o?l.push({i:u.push(li(u)+"skewX(",null,")")-2,x:Ia(s,o)}):o&&u.push(li(u)+"skewX("+o+")"),function(t,e,n,r){if(t[0]!==e[0]||t[1]!==e[1]){var a=n.push(li(n)+"scale(",null,",",null,")");r.push({i:a-4,x:Ia(t[0],e[0])},{i:a-2,x:Ia(t[1],e[1])})}else 1===e[0]&&1===e[1]||n.push(li(n)+"scale("+e+")")}(t.scale,e.scale,c,d),t=e=null,function(t){for(var e,n=-1,r=d.length;++n<r;)c[(e=d[n]).i]=e.x(t);return c.join("")}}function di(e,n){return n=(n-=e=+e)||1/n,function(t){return(t-e)/n}}function hi(e,n){return n=(n-=e=+e)||1/n,function(t){return Math.max(0,Math.min(1,(t-e)/n))}}function fi(t){for(var e=t.source,n=t.target,r=function(t,e){if(t===e)return t;var n=_i(t),r=_i(e),a=n.pop(),i=r.pop(),s=null;for(;a===i;)s=a,a=n.pop(),i=r.pop();return s}(e,n),a=[e];e!==r;)e=e.parent,a.push(e);for(var i=a.length;n!==r;)a.splice(i,0,n),n=n.parent;return a}function _i(t){for(var e=[],n=t.parent;null!=n;)e.push(t),n=(t=n).parent;return e.push(t),e}function pi(t){t.fixed|=2}function mi(t){t.fixed&=-7}function yi(t){t.fixed|=4,t.px=t.x,t.py=t.y}function gi(t){t.fixed&=-5}F.interpolateTransform=ci,F.layout={},F.layout.bundle=function(){return function(t){for(var e=[],n=-1,r=t.length;++n<r;)e.push(fi(t[n]));return e}},F.layout.chord=function(){var m,y,g,v,M,k,b,e={},L=0;function t(){var t,e,n,r,a,i={},s=[],o=F.range(v),u=[];for(m=[],y=[],t=0,r=-1;++r<v;){for(e=0,a=-1;++a<v;)e+=g[r][a];s.push(e),u.push(F.range(v)),t+=e}for(M&&o.sort(function(t,e){return M(s[t],s[e])}),k&&u.forEach(function(t,n){t.sort(function(t,e){return k(g[n][t],g[n][e])})}),t=(xt-L*v)/t,e=0,r=-1;++r<v;){for(n=e,a=-1;++a<v;){var l=o[r],c=u[l][a],d=g[l][c],h=e,f=e+=d*t;i[l+"-"+c]={index:l,subindex:c,startAngle:h,endAngle:f,value:d}}y[l]={index:l,startAngle:n,endAngle:e,value:s[l]},e+=L}for(r=-1;++r<v;)for(a=r-1;++a<v;){var _=i[r+"-"+a],p=i[a+"-"+r];(_.value||p.value)&&m.push(_.value<p.value?{source:p,target:_}:{source:_,target:p})}b&&w()}function w(){m.sort(function(t,e){return b((t.source.value+t.target.value)/2,(e.source.value+e.target.value)/2)})}return e.matrix=function(t){return arguments.length?(v=(g=t)&&g.length,m=y=null,e):g},e.padding=function(t){return arguments.length?(L=t,m=y=null,e):L},e.sortGroups=function(t){return arguments.length?(M=t,m=y=null,e):M},e.sortSubgroups=function(t){return arguments.length?(k=t,m=null,e):k},e.sortChords=function(t){return arguments.length?(b=t,m&&w(),e):b},e.chords=function(){return m||t(),m},e.groups=function(){return y||t(),y},e},F.layout.force=function(){var d,t,h,f,_,p,a={},m=F.dispatch("start","tick","end"),y=[1,1],g=.9,i=vi,s=Mi,v=-30,c=ki,M=.1,k=.64,b=[],L=[];function w(l){return function(t,e,n,r){if(t.point!==l){var a=t.cx-l.x,i=t.cy-l.y,s=r-e,o=a*a+i*i;if(s*s/k<o){if(o<c){var u=t.charge/o;l.px-=a*u,l.py-=i*u}return!0}if(t.point&&o&&o<c){u=t.pointCharge/o;l.px-=a*u,l.py-=i*u}}return!t.charge}}function e(t){t.px=F.event.x,t.py=F.event.y,a.resume()}return a.tick=function(){if((h*=.99)<.005)return d=null,m.end({type:"end",alpha:h=0}),!0;var t,e,n,r,a,i,s,o,u,l=b.length,c=L.length;for(e=0;e<c;++e)r=(n=L[e]).source,(i=(o=(a=n.target).x-r.x)*o+(u=a.y-r.y)*u)&&(o*=i=h*_[e]*((i=Math.sqrt(i))-f[e])/i,u*=i,a.x-=o*(s=r.weight+a.weight?r.weight/(r.weight+a.weight):.5),a.y-=u*s,r.x+=o*(s=1-s),r.y+=u*s);if((s=h*M)&&(o=y[0]/2,u=y[1]/2,e=-1,s))for(;++e<l;)(n=b[e]).x+=(o-n.x)*s,n.y+=(u-n.y)*s;if(v)for(!function t(e,n,r){var a=0,i=0;e.charge=0;if(!e.leaf)for(var s,o=e.nodes,u=o.length,l=-1;++l<u;)null!=(s=o[l])&&(t(s,n,r),e.charge+=s.charge,a+=s.charge*s.cx,i+=s.charge*s.cy);if(e.point){e.leaf||(e.point.x+=Math.random()-.5,e.point.y+=Math.random()-.5);var c=n*r[e.point.index];e.charge+=e.pointCharge=c,a+=c*e.point.x,i+=c*e.point.y}e.cx=a/e.charge;e.cy=i/e.charge}(t=F.geom.quadtree(b),h,p),e=-1;++e<l;)(n=b[e]).fixed||t.visit(w(n));for(e=-1;++e<l;)(n=b[e]).fixed?(n.x=n.px,n.y=n.py):(n.x-=(n.px-(n.px=n.x))*g,n.y-=(n.py-(n.py=n.y))*g);m.tick({type:"tick",alpha:h})},a.nodes=function(t){return arguments.length?(b=t,a):b},a.links=function(t){return arguments.length?(L=t,a):L},a.size=function(t){return arguments.length?(y=t,a):y},a.linkDistance=function(t){return arguments.length?(i="function"==typeof t?t:+t,a):i},a.distance=a.linkDistance,a.linkStrength=function(t){return arguments.length?(s="function"==typeof t?t:+t,a):s},a.friction=function(t){return arguments.length?(g=+t,a):g},a.charge=function(t){return arguments.length?(v="function"==typeof t?t:+t,a):v},a.chargeDistance=function(t){return arguments.length?(c=t*t,a):Math.sqrt(c)},a.gravity=function(t){return arguments.length?(M=+t,a):M},a.theta=function(t){return arguments.length?(k=t*t,a):Math.sqrt(k)},a.alpha=function(t){return arguments.length?(t=+t,h?0<t?h=t:(d.c=null,d.t=NaN,d=null,m.end({type:"end",alpha:h=0})):0<t&&(m.start({type:"start",alpha:h=t}),d=Le(a.tick)),a):h},a.start=function(){var o,u,t,l=b.length,c=L.length,e=y[0],n=y[1];for(o=0;o<l;++o)(t=b[o]).index=o,t.weight=0;for(o=0;o<c;++o)"number"==typeof(t=L[o]).source&&(t.source=b[t.source]),"number"==typeof t.target&&(t.target=b[t.target]),++t.source.weight,++t.target.weight;for(o=0;o<l;++o)t=b[o],isNaN(t.x)&&(t.x=r("x",e)),isNaN(t.y)&&(t.y=r("y",n)),isNaN(t.px)&&(t.px=t.x),isNaN(t.py)&&(t.py=t.y);if(f=[],"function"==typeof i)for(o=0;o<c;++o)f[o]=+i.call(this,L[o],o);else for(o=0;o<c;++o)f[o]=i;if(_=[],"function"==typeof s)for(o=0;o<c;++o)_[o]=+s.call(this,L[o],o);else for(o=0;o<c;++o)_[o]=s;if(p=[],"function"==typeof v)for(o=0;o<l;++o)p[o]=+v.call(this,b[o],o);else for(o=0;o<l;++o)p[o]=v;function r(t,e){if(!u){for(u=new Array(l),i=0;i<l;++i)u[i]=[];for(i=0;i<c;++i){var n=L[i];u[n.source.index].push(n.target),u[n.target.index].push(n.source)}}for(var r,a=u[o],i=-1,s=a.length;++i<s;)if(!isNaN(r=a[i][t]))return r;return Math.random()*e}return a.resume()},a.resume=function(){return a.alpha(.1)},a.stop=function(){return a.alpha(0)},a.drag=function(){if(t||(t=F.behavior.drag().origin(H).on("dragstart.force",pi).on("drag.force",e).on("dragend.force",mi)),!arguments.length)return t;this.on("mouseover.force",yi).on("mouseout.force",gi).call(t)},F.rebind(a,m,"on")};var vi=20,Mi=1,ki=1/0;function bi(t,e){return F.rebind(t,e,"sort","children","value"),(t.nodes=t).links=Ti,t}function Li(t,e){for(var n=[t];null!=(t=n.pop());)if(e(t),(a=t.children)&&(r=a.length))for(var r,a;0<=--r;)n.push(a[r])}function wi(t,e){for(var n=[t],r=[];null!=(t=n.pop());)if(r.push(t),(i=t.children)&&(a=i.length))for(var a,i,s=-1;++s<a;)n.push(i[s]);for(;null!=(t=r.pop());)e(t)}function xi(t){return t.children}function Di(t){return t.value}function Yi(t,e){return e.value-t.value}function Ti(t){return F.merge(t.map(function(e){return(e.children||[]).map(function(t){return{source:e,target:t}})}))}F.layout.hierarchy=function(){var o=Yi,u=xi,l=Di;function c(t){var e,n=[t],r=[];for(t.depth=0;null!=(e=n.pop());)if(r.push(e),(i=u.call(c,e,e.depth))&&(a=i.length)){for(var a,i,s;0<=--a;)n.push(s=i[a]),s.parent=e,s.depth=e.depth+1;l&&(e.value=0),e.children=i}else l&&(e.value=+l.call(c,e,e.depth)||0),delete e.children;return wi(t,function(t){var e,n;o&&(e=t.children)&&e.sort(o),l&&(n=t.parent)&&(n.value+=t.value)}),r}return c.sort=function(t){return arguments.length?(o=t,c):o},c.children=function(t){return arguments.length?(u=t,c):u},c.value=function(t){return arguments.length?(l=t,c):l},c.revalue=function(t){return l&&(Li(t,function(t){t.children&&(t.value=0)}),wi(t,function(t){var e;t.children||(t.value=+l.call(c,t,t.depth)||0),(e=t.parent)&&(e.value+=t.value)})),t},c},F.layout.partition=function(){var r=F.layout.hierarchy(),a=[1,1];function e(t,e){var n=r.call(this,t,e);return function t(e,n,r,a){var i=e.children;if(e.x=n,e.y=e.depth*a,e.dx=r,e.dy=a,i&&(s=i.length)){var s,o,u,l=-1;for(r=e.value?r/e.value:0;++l<s;)t(o=i[l],n,u=o.value*r,a),n+=u}}(n[0],0,a[0],a[1]/function t(e){var n=e.children,r=0;if(n&&(a=n.length))for(var a,i=-1;++i<a;)r=Math.max(r,t(n[i]));return 1+r}(n[0])),n}return e.size=function(t){return arguments.length?(a=t,e):a},bi(e,r)},F.layout.pie=function(){var h=Number,f=Ai,_=0,p=xt,m=0;function y(n){var e,t=n.length,r=n.map(function(t,e){return+h.call(y,t,e)}),a=+("function"==typeof _?_.apply(this,arguments):_),i=("function"==typeof p?p.apply(this,arguments):p)-a,s=Math.min(Math.abs(i)/t,+("function"==typeof m?m.apply(this,arguments):m)),o=s*(i<0?-1:1),u=F.sum(r),l=u?(i-t*o)/u:0,c=F.range(t),d=[];return null!=f&&c.sort(f===Ai?function(t,e){return r[e]-r[t]}:function(t,e){return f(n[t],n[e])}),c.forEach(function(t){d[t]={data:n[t],value:e=r[t],startAngle:a,endAngle:a+=e*l+o,padAngle:s}}),d}return y.value=function(t){return arguments.length?(h=t,y):h},y.sort=function(t){return arguments.length?(f=t,y):f},y.startAngle=function(t){return arguments.length?(_=t,y):_},y.endAngle=function(t){return arguments.length?(p=t,y):p},y.padAngle=function(t){return arguments.length?(m=t,y):m},y};var Ai={};function Si(t){return t.x}function Ei(t){return t.y}function ji(t,e,n){t.y0=e,t.y=n}F.layout.stack=function(){var d=H,h=Oi,f=Hi,_=ji,p=Si,m=Ei;function y(t,e){if(!(i=t.length))return t;var n=t.map(function(t,e){return d.call(y,t,e)}),r=n.map(function(t){return t.map(function(t,e){return[p.call(y,t,e),m.call(y,t,e)]})}),a=h.call(y,r,e);n=F.permute(n,a),r=F.permute(r,a);var i,s,o,u,l=f.call(y,r,e),c=n[0].length;for(o=0;o<c;++o)for(_.call(y,n[0][o],u=l[o],r[0][o][1]),s=1;s<i;++s)_.call(y,n[s][o],u+=r[s-1][o][1],r[s][o][1]);return t}return y.values=function(t){return arguments.length?(d=t,y):d},y.order=function(t){return arguments.length?(h="function"==typeof t?t:Ci.get(t)||Oi,y):h},y.offset=function(t){return arguments.length?(f="function"==typeof t?t:Fi.get(t)||Hi,y):f},y.x=function(t){return arguments.length?(p=t,y):p},y.y=function(t){return arguments.length?(m=t,y):m},y.out=function(t){return arguments.length?(_=t,y):_},y};var Ci=F.map({"inside-out":function(t){var e,n,r=t.length,a=t.map(Pi),i=t.map(Bi),s=F.range(r).sort(function(t,e){return a[t]-a[e]}),o=0,u=0,l=[],c=[];for(e=0;e<r;++e)n=s[e],o<u?(o+=i[n],l.push(n)):(u+=i[n],c.push(n));return c.reverse().concat(l)},reverse:function(t){return F.range(t.length).reverse()},default:Oi}),Fi=F.map({silhouette:function(t){var e,n,r,a=t.length,i=t[0].length,s=[],o=0,u=[];for(n=0;n<i;++n){for(r=e=0;e<a;e++)r+=t[e][n][1];o<r&&(o=r),s.push(r)}for(n=0;n<i;++n)u[n]=(o-s[n])/2;return u},wiggle:function(t){var e,n,r,a,i,s,o,u,l,c=t.length,d=t[0],h=d.length,f=[];for(f[0]=u=l=0,n=1;n<h;++n){for(a=e=0;e<c;++e)a+=t[e][n][1];for(i=e=0,o=d[n][0]-d[n-1][0];e<c;++e){for(r=0,s=(t[e][n][1]-t[e][n-1][1])/(2*o);r<e;++r)s+=(t[r][n][1]-t[r][n-1][1])/o;i+=s*t[e][n][1]}f[n]=u-=a?i/a*o:0,u<l&&(l=u)}for(n=0;n<h;++n)f[n]-=l;return f},expand:function(t){var e,n,r,a=t.length,i=t[0].length,s=1/a,o=[];for(n=0;n<i;++n){for(r=e=0;e<a;e++)r+=t[e][n][1];if(r)for(e=0;e<a;e++)t[e][n][1]/=r;else for(e=0;e<a;e++)t[e][n][1]=s}for(n=0;n<i;++n)o[n]=0;return o},zero:Hi});function Oi(t){return F.range(t.length)}function Hi(t){for(var e=-1,n=t[0].length,r=[];++e<n;)r[e]=0;return r}function Pi(t){for(var e,n=1,r=0,a=t[0][1],i=t.length;n<i;++n)(e=t[n][1])>a&&(r=n,a=e);return r}function Bi(t){return t.reduce(Ni,0)}function Ni(t,e){return t+e[1]}function Ii(t,e){return Ri(t,Math.ceil(Math.log(e.length)/Math.LN2+1))}function Ri(t,e){for(var n=-1,r=+t[0],a=(t[1]-r)/e,i=[];++n<=e;)i[n]=a*n+r;return i}function zi(t){return[F.min(t),F.max(t)]}function Wi(t,e){return t.value-e.value}function qi(t,e){var n=t._pack_next;(t._pack_next=e)._pack_prev=t,(e._pack_next=n)._pack_prev=e}function Ui(t,e){(t._pack_next=e)._pack_prev=t}function Vi(t,e){var n=e.x-t.x,r=e.y-t.y,a=t.r+e.r;return n*n+r*r<.999*a*a}function $i(t){if((e=t.children)&&(u=e.length)){var e,n,r,a,i,s,o,u,l=1/0,c=-1/0,d=1/0,h=-1/0;if(e.forEach(Gi),(n=e[0]).x=-n.r,n.y=0,v(n),1<u&&((r=e[1]).x=r.r,r.y=0,v(r),2<u))for(Zi(n,r,a=e[2]),v(a),qi(n,a),qi(n._pack_prev=a,r),r=n._pack_next,i=3;i<u;i++){Zi(n,r,a=e[i]);var f=0,_=1,p=1;for(s=r._pack_next;s!==r;s=s._pack_next,_++)if(Vi(s,a)){f=1;break}if(1==f)for(o=n._pack_prev;o!==s._pack_prev&&!Vi(o,a);o=o._pack_prev,p++);f?(_<p||_==p&&r.r<n.r?Ui(n,r=s):Ui(n=o,r),i--):(qi(n,a),v(r=a))}var m=(l+c)/2,y=(d+h)/2,g=0;for(i=0;i<u;i++)(a=e[i]).x-=m,a.y-=y,g=Math.max(g,a.r+Math.sqrt(a.x*a.x+a.y*a.y));t.r=g,e.forEach(Ji)}function v(t){l=Math.min(t.x-t.r,l),c=Math.max(t.x+t.r,c),d=Math.min(t.y-t.r,d),h=Math.max(t.y+t.r,h)}}function Gi(t){t._pack_next=t._pack_prev=t}function Ji(t){delete t._pack_next,delete t._pack_prev}function Zi(t,e,n){var r=t.r+n.r,a=e.x-t.x,i=e.y-t.y;if(r&&(a||i)){var s=e.r+n.r,o=a*a+i*i,u=.5+((r*=r)-(s*=s))/(2*o),l=Math.sqrt(Math.max(0,2*s*(r+o)-(r-=o)*r-s*s))/(2*o);n.x=t.x+u*a+l*i,n.y=t.y+u*i-l*a}else n.x=t.x+r,n.y=t.y}function Ki(t,e){return t.parent==e.parent?1:2}function Xi(t){var e=t.children;return e.length?e[0]:t.t}function Qi(t){var e,n=t.children;return(e=n.length)?n[e-1]:t.t}function ts(t,e,n){var r=n/(e.i-t.i);e.c-=r,e.s+=n,t.c+=r,e.z+=n,e.m+=n}function es(t){return{x:t.x,y:t.y,dx:t.dx,dy:t.dy}}function ns(t,e){var n=t.x+e[3],r=t.y+e[0],a=t.dx-e[1]-e[3],i=t.dy-e[0]-e[2];return a<0&&(n+=a/2,a=0),i<0&&(r+=i/2,i=0),{x:n,y:r,dx:a,dy:i}}function rs(t){var e=t[0],n=t[t.length-1];return e<n?[e,n]:[n,e]}function as(t){return t.rangeExtent?t.rangeExtent():rs(t.range())}function is(t,e,n,r){var a=n(t[0],t[1]),i=r(e[0],e[1]);return function(t){return i(a(t))}}function ss(t,e){var n,r=0,a=t.length-1,i=t[r],s=t[a];return s<i&&(n=r,r=a,a=n,n=i,i=s,s=n),t[r]=e.floor(i),t[a]=e.ceil(s),t}function os(e){return e?{floor:function(t){return Math.floor(t/e)*e},ceil:function(t){return Math.ceil(t/e)*e}}:us}F.layout.histogram=function(){var d=!0,h=Number,f=zi,_=Ii;function n(t,e){for(var n,r,a=[],i=t.map(h,this),s=f.call(this,i,e),o=_.call(this,s,i,e),u=(e=-1,i.length),l=o.length-1,c=d?1:1/u;++e<l;)(n=a[e]=[]).dx=o[e+1]-(n.x=o[e]),n.y=0;if(0<l)for(e=-1;++e<u;)(r=i[e])>=s[0]&&r<=s[1]&&((n=a[F.bisect(o,r,1,l)-1]).y+=c,n.push(t[e]));return a}return n.value=function(t){return arguments.length?(h=t,n):h},n.range=function(t){return arguments.length?(f=pe(t),n):f},n.bins=function(e){return arguments.length?(_="number"==typeof e?function(t){return Ri(t,e)}:pe(e),n):_},n.frequency=function(t){return arguments.length?(d=!!t,n):d},n},F.layout.pack=function(){var u,l=F.layout.hierarchy().sort(Wi),c=0,d=[1,1];function e(t,e){var n=l.call(this,t,e),r=n[0],a=d[0],i=d[1],s=null==u?Math.sqrt:"function"==typeof u?u:function(){return u};if(r.x=r.y=0,wi(r,function(t){t.r=+s(t.value)}),wi(r,$i),c){var o=c*(u?1:Math.max(2*r.r/a,2*r.r/i))/2;wi(r,function(t){t.r+=o}),wi(r,$i),wi(r,function(t){t.r-=o})}return function t(e,n,r,a){var i=e.children;e.x=n+=a*e.x;e.y=r+=a*e.y;e.r*=a;if(i)for(var s=-1,o=i.length;++s<o;)t(i[s],n,r,a)}(r,a/2,i/2,u?1:1/Math.max(2*r.r/a,2*r.r/i)),n}return e.size=function(t){return arguments.length?(d=t,e):d},e.radius=function(t){return arguments.length?(u=null==t||"function"==typeof t?t:+t,e):u},e.padding=function(t){return arguments.length?(c=+t,e):c},bi(e,l)},F.layout.tree=function(){var d=F.layout.hierarchy().sort(null).value(null),p=Ki,h=[1,1],f=null;function e(t,e){var n=d.call(this,t,e),r=n[0],a=function(t){var e,n={A:null,children:[t]},r=[n];for(;null!=(e=r.pop());)for(var a,i=e.children,s=0,o=i.length;s<o;++s)r.push((i[s]=a={_:i[s],parent:e,children:(a=i[s].children)&&a.slice()||[],A:null,a:null,z:0,m:0,c:0,s:0,t:null,i:s}).a=a);return n.children[0]}(r);if(wi(a,_),a.parent.m=-a.z,Li(a,m),f)Li(r,y);else{var i=r,s=r,o=r;Li(r,function(t){t.x<i.x&&(i=t),t.x>s.x&&(s=t),t.depth>o.depth&&(o=t)});var u=p(i,s)/2-i.x,l=h[0]/(s.x+p(s,i)/2+u),c=h[1]/(o.depth||1);Li(r,function(t){t.x=(t.x+u)*l,t.y=t.depth*c})}return n}function _(t){var e=t.children,n=t.parent.children,r=t.i?n[t.i-1]:null;if(e.length){!function(t){var e,n=0,r=0,a=t.children,i=a.length;for(;0<=--i;)(e=a[i]).z+=n,e.m+=n,n+=e.s+(r+=e.c)}(t);var a=(e[0].z+e[e.length-1].z)/2;r?(t.z=r.z+p(t._,r._),t.m=t.z-a):t.z=a}else r&&(t.z=r.z+p(t._,r._));t.parent.A=function(t,e,n){if(e){for(var r,a=t,i=t,s=e,o=a.parent.children[0],u=a.m,l=i.m,c=s.m,d=o.m;s=Qi(s),a=Xi(a),s&&a;)o=Xi(o),(i=Qi(i)).a=t,0<(r=s.z+c-a.z-u+p(s._,a._))&&(ts((f=t,_=n,(h=s).a.parent===f.parent?h.a:_),t,r),u+=r,l+=r),c+=s.m,u+=a.m,d+=o.m,l+=i.m;s&&!Qi(i)&&(i.t=s,i.m+=c-l),a&&!Xi(o)&&(o.t=a,o.m+=u-d,n=t)}var h,f,_;return n}(t,r,t.parent.A||n[0])}function m(t){t._.x=t.z+t.parent.m,t.m+=t.parent.m}function y(t){t.x*=h[0],t.y=t.depth*h[1]}return e.separation=function(t){return arguments.length?(p=t,e):p},e.size=function(t){return arguments.length?(f=null==(h=t)?y:null,e):f?null:h},e.nodeSize=function(t){return arguments.length?(f=null==(h=t)?null:y,e):f?h:null},bi(e,d)},F.layout.cluster=function(){var c=F.layout.hierarchy().sort(null).value(null),d=Ki,h=[1,1],f=!1;function e(t,e){var a,n=c.call(this,t,e),r=n[0],i=0;wi(r,function(t){var e,n,r=t.children;r&&r.length?(t.x=(n=r).reduce(function(t,e){return t+e.x},0)/n.length,t.y=(e=r,1+F.max(e,function(t){return t.y}))):(t.x=a?i+=d(t,a):0,t.y=0,a=t)});var s=function t(e){var n=e.children;return n&&n.length?t(n[0]):e}(r),o=function t(e){var n,r=e.children;return r&&(n=r.length)?t(r[n-1]):e}(r),u=s.x-d(s,o)/2,l=o.x+d(o,s)/2;return wi(r,f?function(t){t.x=(t.x-r.x)*h[0],t.y=(r.y-t.y)*h[1]}:function(t){t.x=(t.x-u)/(l-u)*h[0],t.y=(1-(r.y?t.y/r.y:1))*h[1]}),n}return e.separation=function(t){return arguments.length?(d=t,e):d},e.size=function(t){return arguments.length?(f=null==(h=t),e):f?null:h},e.nodeSize=function(t){return arguments.length?(f=null!=(h=t),e):f?h:null},bi(e,c)},F.layout.treemap=function(){var r,a=F.layout.hierarchy(),c=Math.round,i=[1,1],s=null,d=es,o=!1,h="squarify",u=.5*(1+Math.sqrt(5));function f(t,e){for(var n,r,a=-1,i=t.length;++a<i;)r=(n=t[a]).value*(e<0?0:e),n.area=isNaN(r)||r<=0?0:r}function _(t){var e=t.children;if(e&&e.length){var n,r,a,i=d(t),s=[],o=e.slice(),u=1/0,l="slice"===h?i.dx:"dice"===h?i.dy:"slice-dice"===h?1&t.depth?i.dy:i.dx:Math.min(i.dx,i.dy);for(f(o,i.dx*i.dy/t.value),s.area=0;0<(a=o.length);)s.push(n=o[a-1]),s.area+=n.area,"squarify"!==h||(r=p(s,l))<=u?(o.pop(),u=r):(s.area-=s.pop().area,m(s,l,i,!1),l=Math.min(i.dx,i.dy),s.length=s.area=0,u=1/0);s.length&&(m(s,l,i,!0),s.length=s.area=0),e.forEach(_)}}function l(t){var e=t.children;if(e&&e.length){var n,r=d(t),a=e.slice(),i=[];for(f(a,r.dx*r.dy/t.value),i.area=0;n=a.pop();)i.push(n),i.area+=n.area,null!=n.z&&(m(i,n.z?r.dx:r.dy,r,!a.length),i.length=i.area=0);e.forEach(l)}}function p(t,e){for(var n,r=t.area,a=0,i=1/0,s=-1,o=t.length;++s<o;)(n=t[s].area)&&(n<i&&(i=n),a<n&&(a=n));return e*=e,(r*=r)?Math.max(e*a*u/r,r/(e*i*u)):1/0}function m(t,e,n,r){var a,i=-1,s=t.length,o=n.x,u=n.y,l=e?c(t.area/e):0;if(e==n.dx){for((r||l>n.dy)&&(l=n.dy);++i<s;)(a=t[i]).x=o,a.y=u,a.dy=l,o+=a.dx=Math.min(n.x+n.dx-o,l?c(a.area/l):0);a.z=!0,a.dx+=n.x+n.dx-o,n.y+=l,n.dy-=l}else{for((r||l>n.dx)&&(l=n.dx);++i<s;)(a=t[i]).x=o,a.y=u,a.dx=l,u+=a.dy=Math.min(n.y+n.dy-u,l?c(a.area/l):0);a.z=!1,a.dy+=n.y+n.dy-u,n.x+=l,n.dx-=l}}function y(t){var e=r||a(t),n=e[0];return n.x=n.y=0,n.value?(n.dx=i[0],n.dy=i[1]):n.dx=n.dy=0,r&&a.revalue(n),f([n],n.dx*n.dy/n.value),(r?l:_)(n),o&&(r=e),e}return y.size=function(t){return arguments.length?(i=t,y):i},y.padding=function(n){if(!arguments.length)return s;function t(t){return ns(t,n)}var e;return d=null==(s=n)?es:"function"==(e=typeof n)?function(t){var e=n.call(y,t,t.depth);return null==e?es(t):ns(t,"number"==typeof e?[e,e,e,e]:e)}:("number"===e&&(n=[n,n,n,n]),t),y},y.round=function(t){return arguments.length?(c=t?Math.round:Number,y):c!=Number},y.sticky=function(t){return arguments.length?(o=t,r=null,y):o},y.ratio=function(t){return arguments.length?(u=t,y):u},y.mode=function(t){return arguments.length?(h=t+"",y):h},bi(y,a)},F.random={normal:function(r,a){var t=arguments.length;return t<2&&(a=1),t<1&&(r=0),function(){for(var t,e,n;!(n=(t=2*Math.random()-1)*t+(e=2*Math.random()-1)*e)||1<n;);return r+a*t*Math.sqrt(-2*Math.log(n)/n)}},logNormal:function(){var t=F.random.normal.apply(F,arguments);return function(){return Math.exp(t())}},bates:function(t){var e=F.random.irwinHall(t);return function(){return e()/t}},irwinHall:function(n){return function(){for(var t=0,e=0;e<n;e++)t+=Math.random();return t}}},F.scale={};var us={floor:H,ceil:H};function ls(n,t,e,r){var a=[],i=[],s=0,o=Math.min(n.length,t.length)-1;for(n[o]<n[0]&&(n=n.slice().reverse(),t=t.slice().reverse());++s<=o;)a.push(e(n[s-1],n[s])),i.push(r(t[s-1],t[s]));return function(t){var e=F.bisect(n,t,1,o)-1;return i[e](a[e](t))}}function cs(t,e){return F.rebind(t,e,"range","rangeRound","interpolate","clamp")}function ds(t,e){return ss(t,os(hs(t,e)[2])),ss(t,os(hs(t,e)[2])),t}function hs(t,e){null==e&&(e=10);var n=rs(t),r=n[1]-n[0],a=Math.pow(10,Math.floor(Math.log(r/e)/Math.LN10)),i=e/r*a;return i<=.15?a*=10:i<=.35?a*=5:i<=.75&&(a*=2),n[0]=Math.ceil(n[0]/a)*a,n[1]=Math.floor(n[1]/a)*a+.5*a,n[2]=a,n}function fs(t,e){return F.range.apply(F,hs(t,e))}function _s(t,e,n){var r,a,i,s=hs(t,e);if(n){var o=Ae.exec(n);if(o.shift(),"s"===o[8]){var u=F.formatPrefix(Math.max(C(s[0]),C(s[1])));return o[7]||(o[7]="."+ms(u.scale(s[2]))),o[8]="f",n=F.format(o.join("")),function(t){return n(u.scale(t))+u.symbol}}o[7]||(o[7]="."+(r=o[8],i=ms((a=s)[2]),r in ps?Math.abs(i-ms(Math.max(C(a[0]),C(a[1]))))+ +("e"!==r):i-2*("%"===r))),n=o.join("")}else n=",."+ms(s[2])+"f";return F.format(n)}F.scale.linear=function(){return function t(n,r,a,i){var s,o;function e(){var t=2<Math.min(n.length,r.length)?ls:is,e=i?hi:di;return s=t(n,r,e,a),o=t(r,n,e,qa),u}function u(t){return s(t)}u.invert=function(t){return o(t)};u.domain=function(t){return arguments.length?(n=t.map(Number),e()):n};u.range=function(t){return arguments.length?(r=t,e()):r};u.rangeRound=function(t){return u.range(t).interpolate(ai)};u.clamp=function(t){return arguments.length?(i=t,e()):i};u.interpolate=function(t){return arguments.length?(a=t,e()):a};u.ticks=function(t){return fs(n,t)};u.tickFormat=function(t,e){return _s(n,t,e)};u.nice=function(t){return ds(n,t),e()};u.copy=function(){return t(n,r,a,i)};return e()}([0,1],[0,1],qa,!1)};var ps={s:1,g:1,p:1,r:1,e:1};function ms(t){return-Math.floor(Math.log(t)/Math.LN10+.01)}F.scale.log=function(){return function t(e,u,l,c){function d(t){return(l?Math.log(t<0?0:t):-Math.log(0<t?0:-t))/Math.log(u)}function h(t){return l?Math.pow(u,t):-Math.pow(u,-t)}function a(t){return e(d(t))}a.invert=function(t){return h(e.invert(t))};a.domain=function(t){return arguments.length?(l=0<=t[0],e.domain((c=t.map(Number)).map(d)),a):c};a.base=function(t){return arguments.length?(u=+t,e.domain(c.map(d)),a):u};a.nice=function(){var t=ss(c.map(d),l?Math:gs);return e.domain(t),c=t.map(h),a};a.ticks=function(){var t=rs(c),e=[],n=t[0],r=t[1],a=Math.floor(d(n)),i=Math.ceil(d(r)),s=u%1?2:u;if(isFinite(i-a)){if(l){for(;a<i;a++)for(var o=1;o<s;o++)e.push(h(a)*o);e.push(h(a))}else for(e.push(h(a));a++<i;)for(var o=s-1;0<o;o--)e.push(h(a)*o);for(a=0;e[a]<n;a++);for(i=e.length;e[i-1]>r;i--);e=e.slice(a,i)}return e};a.tickFormat=function(t,n){if(!arguments.length)return ys;arguments.length<2?n=ys:"function"!=typeof n&&(n=F.format(n));var r=Math.max(1,u*t/a.ticks().length);return function(t){var e=t/h(Math.round(d(t)));return e*u<u-.5&&(e*=u),e<=r?n(t):""}};a.copy=function(){return t(e.copy(),u,l,c)};return cs(a,e)}(F.scale.linear().domain([0,1]),10,!0,[1,10])};var ys=F.format(".0e"),gs={floor:function(t){return-Math.ceil(-t)},ceil:function(t){return-Math.floor(-t)}};function vs(e){return function(t){return t<0?-Math.pow(-t,e):Math.pow(t,e)}}F.scale.pow=function(){return function t(e,n,r){var a=vs(n),i=vs(1/n);function s(t){return e(a(t))}s.invert=function(t){return i(e.invert(t))};s.domain=function(t){return arguments.length?(e.domain((r=t.map(Number)).map(a)),s):r};s.ticks=function(t){return fs(r,t)};s.tickFormat=function(t,e){return _s(r,t,e)};s.nice=function(t){return s.domain(ds(r,t))};s.exponent=function(t){return arguments.length?(a=vs(n=t),i=vs(1/n),e.domain(r.map(a)),s):n};s.copy=function(){return t(e.copy(),n,r)};return cs(s,e)}(F.scale.linear(),1,[0,1])},F.scale.sqrt=function(){return F.scale.pow().exponent(.5)},F.scale.ordinal=function(){return function t(o,u){var a,l,c;function d(t){return l[((a.get(t)||("range"===u.t?a.set(t,o.push(t)):NaN))-1)%l.length]}function h(e,n){return F.range(o.length).map(function(t){return e+n*t})}d.domain=function(t){if(!arguments.length)return o;o=[],a=new g;for(var e,n=-1,r=t.length;++n<r;)a.has(e=t[n])||a.set(e,o.push(e));return d[u.t].apply(d,u.a)};d.range=function(t){return arguments.length?(l=t,c=0,u={t:"range",a:arguments},d):l};d.rangePoints=function(t,e){arguments.length<2&&(e=0);var n=t[0],r=t[1],a=o.length<2?(n=(n+r)/2,0):(r-n)/(o.length-1+e);return l=h(n+a*e/2,a),c=0,u={t:"rangePoints",a:arguments},d};d.rangeRoundPoints=function(t,e){arguments.length<2&&(e=0);var n=t[0],r=t[1],a=o.length<2?(n=r=Math.round((n+r)/2),0):(r-n)/(o.length-1+e)|0;return l=h(n+Math.round(a*e/2+(r-n-(o.length-1+e)*a)/2),a),c=0,u={t:"rangeRoundPoints",a:arguments},d};d.rangeBands=function(t,e,n){arguments.length<2&&(e=0),arguments.length<3&&(n=e);var r=t[1]<t[0],a=t[r-0],i=t[1-r],s=(i-a)/(o.length-e+2*n);return l=h(a+s*n,s),r&&l.reverse(),c=s*(1-e),u={t:"rangeBands",a:arguments},d};d.rangeRoundBands=function(t,e,n){arguments.length<2&&(e=0),arguments.length<3&&(n=e);var r=t[1]<t[0],a=t[r-0],i=t[1-r],s=Math.floor((i-a)/(o.length-e+2*n));return l=h(a+Math.round((i-a-(o.length-e)*s)/2),s),r&&l.reverse(),c=Math.round(s*(1-e)),u={t:"rangeRoundBands",a:arguments},d};d.rangeBand=function(){return c};d.rangeExtent=function(){return rs(u.a[0])};d.copy=function(){return t(o,u)};return d.domain(o)}([],{t:"range",a:[[]]})},F.scale.category10=function(){return F.scale.ordinal().range(Ms)},F.scale.category20=function(){return F.scale.ordinal().range(ks)},F.scale.category20b=function(){return F.scale.ordinal().range(bs)},F.scale.category20c=function(){return F.scale.ordinal().range(Ls)};var Ms=[2062260,16744206,2924588,14034728,9725885,9197131,14907330,8355711,12369186,1556175].map(se),ks=[2062260,11454440,16744206,16759672,2924588,10018698,14034728,16750742,9725885,12955861,9197131,12885140,14907330,16234194,8355711,13092807,12369186,14408589,1556175,10410725].map(se),bs=[3750777,5395619,7040719,10264286,6519097,9216594,11915115,13556636,9202993,12426809,15186514,15190932,8666169,11356490,14049643,15177372,8077683,10834324,13528509,14589654].map(se),Ls=[3244733,7057110,10406625,13032431,15095053,16616764,16625259,16634018,3253076,7652470,10607003,13101504,7695281,10394312,12369372,14342891,6513507,9868950,12434877,14277081].map(se);function ws(){return 0}F.scale.quantile=function(){return function t(n,r){var a;function e(){var t=0,e=r.length;for(a=[];++t<e;)a[t-1]=F.quantile(n,t/e);return i}function i(t){if(!isNaN(t=+t))return r[F.bisect(a,t)]}i.domain=function(t){return arguments.length?(n=t.map(l).filter(c).sort(u),e()):n};i.range=function(t){return arguments.length?(r=t,e()):r};i.quantiles=function(){return a};i.invertExtent=function(t){return(t=r.indexOf(t))<0?[NaN,NaN]:[0<t?a[t-1]:n[0],t<a.length?a[t]:n[n.length-1]]};i.copy=function(){return t(n,r)};return e()}([],[])},F.scale.quantize=function(){return function t(e,n,r){var a,i;function s(t){return r[Math.max(0,Math.min(i,Math.floor(a*(t-e))))]}function o(){return a=r.length/(n-e),i=r.length-1,s}s.domain=function(t){return arguments.length?(e=+t[0],n=+t[t.length-1],o()):[e,n]};s.range=function(t){return arguments.length?(r=t,o()):r};s.invertExtent=function(t){return[t=(t=r.indexOf(t))<0?NaN:t/a+e,t+1/a]};s.copy=function(){return t(e,n,r)};return o()}(0,1,[0,1])},F.scale.threshold=function(){return function t(e,n){function r(t){if(t<=t)return n[F.bisect(e,t)]}r.domain=function(t){return arguments.length?(e=t,r):e};r.range=function(t){return arguments.length?(n=t,r):n};r.invertExtent=function(t){return t=n.indexOf(t),[e[t-1],e[t]]};r.copy=function(){return t(e,n)};return r}([.5],[0,1])},F.scale.identity=function(){return function t(n){function e(t){return+t}e.invert=e;e.domain=e.range=function(t){return arguments.length?(n=t.map(e),e):n};e.ticks=function(t){return fs(n,t)};e.tickFormat=function(t,e){return _s(n,t,e)};e.copy=function(){return t(n)};return e}([0,1])},F.svg={},F.svg.arc=function(){var B=Ds,N=Ys,I=ws,R=xs,z=Ts,W=As,q=Ss;function e(){var t=Math.max(0,+B.apply(this,arguments)),e=Math.max(0,+N.apply(this,arguments)),n=z.apply(this,arguments)-Yt,r=W.apply(this,arguments)-Yt,a=Math.abs(r-n),i=r<n?0:1;if(e<t&&(s=e,e=t,t=s),Dt<=a)return U(e,i)+(t?U(t,1-i):"")+"Z";var s,o,u,l,c,d,h,f,_,p,m,y,g=0,v=0,M=[];if((l=(+q.apply(this,arguments)||0)/2)&&(u=R===xs?Math.sqrt(t*t+e*e):+R.apply(this,arguments),i||(v*=-1),e&&(v=Ct(u/e*Math.sin(l))),t&&(g=Ct(u/t*Math.sin(l)))),e){c=e*Math.cos(n+v),d=e*Math.sin(n+v),h=e*Math.cos(r-v),f=e*Math.sin(r-v);var k=Math.abs(r-n-2*v)<=wt?0:1;if(v&&Es(c,d,h,f)===i^k){var b=(n+r)/2;c=e*Math.cos(b),d=e*Math.sin(b),h=f=null}}else c=d=0;if(t){_=t*Math.cos(r-g),p=t*Math.sin(r-g),m=t*Math.cos(n+g),y=t*Math.sin(n+g);var L=Math.abs(n-r+2*g)<=wt?0:1;if(g&&Es(_,p,m,y)===1-i^L){var w=(n+r)/2;_=t*Math.cos(w),p=t*Math.sin(w),m=y=null}}else _=p=0;if(bt<a&&.001<(s=Math.min(Math.abs(e-t)/2,+I.apply(this,arguments)))){o=t<e^i?0:1;var x=s,D=s;if(a<wt){var Y=null==m?[_,p]:null==h?[c,d]:aa([c,d],[m,y],[h,f],[_,p]),T=c-Y[0],A=d-Y[1],S=h-Y[0],E=f-Y[1],j=1/Math.sin(Math.acos((T*S+A*E)/(Math.sqrt(T*T+A*A)*Math.sqrt(S*S+E*E)))/2),C=Math.sqrt(Y[0]*Y[0]+Y[1]*Y[1]);D=Math.min(s,(t-C)/(j-1)),x=Math.min(s,(e-C)/(j+1))}if(null!=h){var F=js(null==m?[_,p]:[m,y],[c,d],e,x,i),O=js([h,f],[_,p],e,x,i);s===x?M.push("M",F[0],"A",x,",",x," 0 0,",o," ",F[1],"A",e,",",e," 0 ",1-i^Es(F[1][0],F[1][1],O[1][0],O[1][1]),",",i," ",O[1],"A",x,",",x," 0 0,",o," ",O[0]):M.push("M",F[0],"A",x,",",x," 0 1,",o," ",O[0])}else M.push("M",c,",",d);if(null!=m){var H=js([c,d],[m,y],t,-D,i),P=js([_,p],null==h?[c,d]:[h,f],t,-D,i);s===D?M.push("L",P[0],"A",D,",",D," 0 0,",o," ",P[1],"A",t,",",t," 0 ",i^Es(P[1][0],P[1][1],H[1][0],H[1][1]),",",1-i," ",H[1],"A",D,",",D," 0 0,",o," ",H[0]):M.push("L",P[0],"A",D,",",D," 0 0,",o," ",H[0])}else M.push("L",_,",",p)}else M.push("M",c,",",d),null!=h&&M.push("A",e,",",e," 0 ",k,",",i," ",h,",",f),M.push("L",_,",",p),null!=m&&M.push("A",t,",",t," 0 ",L,",",1-i," ",m,",",y);return M.push("Z"),M.join("")}function U(t,e){return"M0,"+t+"A"+t+","+t+" 0 1,"+e+" 0,"+-t+"A"+t+","+t+" 0 1,"+e+" 0,"+t}return e.innerRadius=function(t){return arguments.length?(B=pe(t),e):B},e.outerRadius=function(t){return arguments.length?(N=pe(t),e):N},e.cornerRadius=function(t){return arguments.length?(I=pe(t),e):I},e.padRadius=function(t){return arguments.length?(R=t==xs?xs:pe(t),e):R},e.startAngle=function(t){return arguments.length?(z=pe(t),e):z},e.endAngle=function(t){return arguments.length?(W=pe(t),e):W},e.padAngle=function(t){return arguments.length?(q=pe(t),e):q},e.centroid=function(){var t=(+B.apply(this,arguments)+ +N.apply(this,arguments))/2,e=(+z.apply(this,arguments)+ +W.apply(this,arguments))/2-Yt;return[Math.cos(e)*t,Math.sin(e)*t]},e};var xs="auto";function Ds(t){return t.innerRadius}function Ys(t){return t.outerRadius}function Ts(t){return t.startAngle}function As(t){return t.endAngle}function Ss(t){return t&&t.padAngle}function Es(t,e,n,r){return 0<(t-n)*e-(e-r)*t?0:1}function js(t,e,n,r,a){var i=t[0]-e[0],s=t[1]-e[1],o=(a?r:-r)/Math.sqrt(i*i+s*s),u=o*s,l=-o*i,c=t[0]+u,d=t[1]+l,h=e[0]+u,f=e[1]+l,_=(c+h)/2,p=(d+f)/2,m=h-c,y=f-d,g=m*m+y*y,v=n-r,M=c*f-h*d,k=(y<0?-1:1)*Math.sqrt(Math.max(0,v*v*g-M*M)),b=(M*y-m*k)/g,L=(-M*m-y*k)/g,w=(M*y+m*k)/g,x=(-M*m+y*k)/g,D=b-_,Y=L-p,T=w-_,A=x-p;return T*T+A*A<D*D+Y*Y&&(b=w,L=x),[[b-u,L-l],[b*n/v,L*n/v]]}function Cs(l){var c=Xr,d=Qr,h=Vn,f=Os,e=f.key,_=.7;function n(t){var e,n=[],r=[],a=-1,i=t.length,s=pe(c),o=pe(d);function u(){n.push("M",f(l(r),_))}for(;++a<i;)h.call(this,e=t[a],a)?r.push([+s.call(this,e,a),+o.call(this,e,a)]):r.length&&(u(),r=[]);return r.length&&u(),n.length?n.join(""):null}return n.x=function(t){return arguments.length?(c=t,n):c},n.y=function(t){return arguments.length?(d=t,n):d},n.defined=function(t){return arguments.length?(h=t,n):h},n.interpolate=function(t){return arguments.length?(e="function"==typeof t?f=t:(f=Fs.get(t)||Os).key,n):e},n.tension=function(t){return arguments.length?(_=t,n):_},n}F.svg.line=function(){return Cs(H)};var Fs=F.map({linear:Os,"linear-closed":Hs,step:function(t){var e=0,n=t.length,r=t[0],a=[r[0],",",r[1]];for(;++e<n;)a.push("H",(r[0]+(r=t[e])[0])/2,"V",r[1]);1<n&&a.push("H",r[0]);return a.join("")},"step-before":Ps,"step-after":Bs,basis:Rs,"basis-open":function(t){if(t.length<4)return Os(t);var e,n=[],r=-1,a=t.length,i=[0],s=[0];for(;++r<3;)e=t[r],i.push(e[0]),s.push(e[1]);n.push(zs(Us,i)+","+zs(Us,s)),--r;for(;++r<a;)e=t[r],i.shift(),i.push(e[0]),s.shift(),s.push(e[1]),Vs(n,i,s);return n.join("")},"basis-closed":function(t){var e,n,r=-1,a=t.length,i=a+4,s=[],o=[];for(;++r<4;)n=t[r%a],s.push(n[0]),o.push(n[1]);e=[zs(Us,s),",",zs(Us,o)],--r;for(;++r<i;)n=t[r%a],s.shift(),s.push(n[0]),o.shift(),o.push(n[1]),Vs(e,s,o);return e.join("")},bundle:function(t,e){var n=t.length-1;if(n)for(var r,a,i=t[0][0],s=t[0][1],o=t[n][0]-i,u=t[n][1]-s,l=-1;++l<=n;)r=t[l],a=l/n,r[0]=e*r[0]+(1-e)*(i+a*o),r[1]=e*r[1]+(1-e)*(s+a*u);return Rs(t)},cardinal:function(t,e){return t.length<3?Os(t):t[0]+Ns(t,Is(t,e))},"cardinal-open":function(t,e){return t.length<4?Os(t):t[1]+Ns(t.slice(1,-1),Is(t,e))},"cardinal-closed":function(t,e){return t.length<3?Hs(t):t[0]+Ns((t.push(t[0]),t),Is([t[t.length-2]].concat(t,[t[1]]),e))},monotone:function(t){return t.length<3?Os(t):t[0]+Ns(t,function(t){var e,n,r,a,i=[],s=function(t){var e=0,n=t.length-1,r=[],a=t[0],i=t[1],s=r[0]=$s(a,i);for(;++e<n;)r[e]=(s+(s=$s(a=i,i=t[e+1])))/2;return r[e]=s,r}(t),o=-1,u=t.length-1;for(;++o<u;)e=$s(t[o],t[o+1]),C(e)<bt?s[o]=s[o+1]=0:(n=s[o]/e,r=s[o+1]/e,9<(a=n*n+r*r)&&(a=3*e/Math.sqrt(a),s[o]=a*n,s[o+1]=a*r));o=-1;for(;++o<=u;)a=(t[Math.min(u,o+1)][0]-t[Math.max(0,o-1)][0])/(6*(1+s[o]*s[o])),i.push([a||0,s[o]*a||0]);return i}(t))}});function Os(t){return 1<t.length?t.join("L"):t+"Z"}function Hs(t){return t.join("L")+"Z"}function Ps(t){for(var e=0,n=t.length,r=t[0],a=[r[0],",",r[1]];++e<n;)a.push("V",(r=t[e])[1],"H",r[0]);return a.join("")}function Bs(t){for(var e=0,n=t.length,r=t[0],a=[r[0],",",r[1]];++e<n;)a.push("H",(r=t[e])[0],"V",r[1]);return a.join("")}function Ns(t,e){if(e.length<1||t.length!=e.length&&t.length!=e.length+2)return Os(t);var n=t.length!=e.length,r="",a=t[0],i=t[1],s=e[0],o=s,u=1;if(n&&(r+="Q"+(i[0]-2*s[0]/3)+","+(i[1]-2*s[1]/3)+","+i[0]+","+i[1],a=t[1],u=2),1<e.length){o=e[1],i=t[u],u++,r+="C"+(a[0]+s[0])+","+(a[1]+s[1])+","+(i[0]-o[0])+","+(i[1]-o[1])+","+i[0]+","+i[1];for(var l=2;l<e.length;l++,u++)i=t[u],o=e[l],r+="S"+(i[0]-o[0])+","+(i[1]-o[1])+","+i[0]+","+i[1]}if(n){var c=t[u];r+="Q"+(i[0]+2*o[0]/3)+","+(i[1]+2*o[1]/3)+","+c[0]+","+c[1]}return r}function Is(t,e){for(var n,r=[],a=(1-e)/2,i=t[0],s=t[1],o=1,u=t.length;++o<u;)n=i,i=s,s=t[o],r.push([a*(s[0]-n[0]),a*(s[1]-n[1])]);return r}function Rs(t){if(t.length<3)return Os(t);var e=1,n=t.length,r=t[0],a=r[0],i=r[1],s=[a,a,a,(r=t[1])[0]],o=[i,i,i,r[1]],u=[a,",",i,"L",zs(Us,s),",",zs(Us,o)];for(t.push(t[n-1]);++e<=n;)r=t[e],s.shift(),s.push(r[0]),o.shift(),o.push(r[1]),Vs(u,s,o);return t.pop(),u.push("L",r),u.join("")}function zs(t,e){return t[0]*e[0]+t[1]*e[1]+t[2]*e[2]+t[3]*e[3]}Fs.forEach(function(t,e){e.key=t,e.closed=/-closed$/.test(t)});var Ws=[0,2/3,1/3,0],qs=[0,1/3,2/3,0],Us=[0,1/6,2/3,1/6];function Vs(t,e,n){t.push("C",zs(Ws,e),",",zs(Ws,n),",",zs(qs,e),",",zs(qs,n),",",zs(Us,e),",",zs(Us,n))}function $s(t,e){return(e[1]-t[1])/(e[0]-t[0])}function Gs(t){for(var e,n,r,a=-1,i=t.length;++a<i;)n=(e=t[a])[0],r=e[1]-Yt,e[0]=n*Math.cos(r),e[1]=n*Math.sin(r);return t}function Js(_){var p=Xr,m=Xr,y=0,g=Qr,v=Vn,M=Os,e=M.key,k=M,b="L",L=.7;function n(t){var e,n,r,a=[],i=[],s=[],o=-1,u=t.length,l=pe(p),c=pe(y),d=p===m?function(){return n}:pe(m),h=y===g?function(){return r}:pe(g);function f(){a.push("M",M(_(s),L),b,k(_(i.reverse()),L),"Z")}for(;++o<u;)v.call(this,e=t[o],o)?(i.push([n=+l.call(this,e,o),r=+c.call(this,e,o)]),s.push([+d.call(this,e,o),+h.call(this,e,o)])):i.length&&(f(),i=[],s=[]);return i.length&&f(),a.length?a.join(""):null}return n.x=function(t){return arguments.length?(p=m=t,n):m},n.x0=function(t){return arguments.length?(p=t,n):p},n.x1=function(t){return arguments.length?(m=t,n):m},n.y=function(t){return arguments.length?(y=g=t,n):g},n.y0=function(t){return arguments.length?(y=t,n):y},n.y1=function(t){return arguments.length?(g=t,n):g},n.defined=function(t){return arguments.length?(v=t,n):v},n.interpolate=function(t){return arguments.length?(e="function"==typeof t?M=t:(M=Fs.get(t)||Os).key,k=M.reverse||M,b=M.closed?"M":"L",n):e},n.tension=function(t){return arguments.length?(L=t,n):L},n}function Zs(t){return t.radius}function Ks(t){return[t.x,t.y]}function Xs(){return 64}function Qs(){return"circle"}function to(t){var e=Math.sqrt(t/wt);return"M0,"+e+"A"+e+","+e+" 0 1,1 0,"+-e+"A"+e+","+e+" 0 1,1 0,"+e+"Z"}F.svg.line.radial=function(){var t=Cs(Gs);return t.radius=t.x,delete t.x,t.angle=t.y,delete t.y,t},(Ps.reverse=Bs).reverse=Ps,F.svg.area=function(){return Js(H)},F.svg.area.radial=function(){var t=Js(Gs);return t.radius=t.x,delete t.x,t.innerRadius=t.x0,delete t.x0,t.outerRadius=t.x1,delete t.x1,t.angle=t.y,delete t.y,t.startAngle=t.y0,delete t.y0,t.endAngle=t.y1,delete t.y1,t},F.svg.chord=function(){var s=Br,o=Nr,u=Zs,l=Ts,c=As;function e(t,e){var n,r,a=d(this,s,t,e),i=d(this,o,t,e);return"M"+a.p0+h(a.r,a.p1,a.a1-a.a0)+(r=i,(n=a).a0==r.a0&&n.a1==r.a1?f(a.r,a.p1,a.r,a.p0):f(a.r,a.p1,i.r,i.p0)+h(i.r,i.p1,i.a1-i.a0)+f(i.r,i.p1,a.r,a.p0))+"Z"}function d(t,e,n,r){var a=e.call(t,n,r),i=u.call(t,a,r),s=l.call(t,a,r)-Yt,o=c.call(t,a,r)-Yt;return{r:i,a0:s,a1:o,p0:[i*Math.cos(s),i*Math.sin(s)],p1:[i*Math.cos(o),i*Math.sin(o)]}}function h(t,e,n){return"A"+t+","+t+" 0 "+ +(wt<n)+",1 "+e}function f(t,e,n,r){return"Q 0,0 "+r}return e.radius=function(t){return arguments.length?(u=pe(t),e):u},e.source=function(t){return arguments.length?(s=pe(t),e):s},e.target=function(t){return arguments.length?(o=pe(t),e):o},e.startAngle=function(t){return arguments.length?(l=pe(t),e):l},e.endAngle=function(t){return arguments.length?(c=pe(t),e):c},e},F.svg.diagonal=function(){var s=Br,o=Nr,u=Ks;function e(t,e){var n=s.call(this,t,e),r=o.call(this,t,e),a=(n.y+r.y)/2,i=[n,{x:n.x,y:a},{x:r.x,y:a},r];return"M"+(i=i.map(u))[0]+"C"+i[1]+" "+i[2]+" "+i[3]}return e.source=function(t){return arguments.length?(s=pe(t),e):s},e.target=function(t){return arguments.length?(o=pe(t),e):o},e.projection=function(t){return arguments.length?(u=t,e):u},e},F.svg.diagonal.radial=function(){var t=F.svg.diagonal(),e=Ks,n=t.projection;return t.projection=function(t){return arguments.length?n((r=e=t,function(){var t=r.apply(this,arguments),e=t[0],n=t[1]-Yt;return[e*Math.cos(n),e*Math.sin(n)]})):e;var r},t},F.svg.symbol=function(){var n=Qs,r=Xs;function e(t,e){return(eo.get(n.call(this,t,e))||to)(r.call(this,t,e))}return e.type=function(t){return arguments.length?(n=pe(t),e):n},e.size=function(t){return arguments.length?(r=pe(t),e):r},e};var eo=F.map({circle:to,cross:function(t){var e=Math.sqrt(t/5)/2;return"M"+-3*e+","+-e+"H"+-e+"V"+-3*e+"H"+e+"V"+-e+"H"+3*e+"V"+e+"H"+e+"V"+3*e+"H"+-e+"V"+e+"H"+-3*e+"Z"},diamond:function(t){var e=Math.sqrt(t/(2*ro)),n=e*ro;return"M0,"+-e+"L"+n+",0 0,"+e+" "+-n+",0Z"},square:function(t){var e=Math.sqrt(t)/2;return"M"+-e+","+-e+"L"+e+","+-e+" "+e+","+e+" "+-e+","+e+"Z"},"triangle-down":function(t){var e=Math.sqrt(t/no),n=e*no/2;return"M0,"+n+"L"+e+","+-n+" "+-e+","+-n+"Z"},"triangle-up":function(t){var e=Math.sqrt(t/no),n=e*no/2;return"M0,"+-n+"L"+e+","+n+" "+-e+","+n+"Z"}});F.svg.symbolTypes=eo.keys();var no=Math.sqrt(3),ro=Math.tan(30*Tt);V.transition=function(t){for(var e,n,r=oo||++co,a=_o(t),i=[],s=uo||{time:Date.now(),ease:Qa,delay:0,duration:250},o=-1,u=this.length;++o<u;){i.push(e=[]);for(var l=this[o],c=-1,d=l.length;++c<d;)(n=l[c])&&po(n,c,a,r,s),e.push(n)}return so(i,a,r)},V.interrupt=function(t){return this.each(null==t?ao:io(_o(t)))};var ao=io(_o());function io(r){return function(){var t,e,n;(t=this[r])&&(n=t[e=t.active])&&(n.timer.c=null,n.timer.t=NaN,--t.count?delete t[e]:delete this[r],t.active+=.5,n.event&&n.event.interrupt.call(this,this.__data__,n.index))}}function so(t,e,n){return R(t,lo),t.namespace=e,t.id=n,t}var oo,uo,lo=[],co=0;function ho(t,r,a,i){var s=t.id,o=t.namespace;return lt(t,"function"==typeof a?function(t,e,n){t[o][s].tween.set(r,i(a.call(t,t.__data__,e,n)))}:(a=i(a),function(t){t[o][s].tween.set(r,a)}))}function fo(t){return null==t&&(t=""),function(){this.textContent=t}}function _o(t){return null==t?"__transition__":"__transition_"+t+"__"}function po(i,s,a,o,t){var u,l,c,d,h,f=i[a]||(i[a]={active:0,count:0}),_=f[o];function n(t){var e=f.active,n=f[e];for(var r in n&&(n.timer.c=null,n.timer.t=NaN,--f.count,delete f[e],n.event&&n.event.interrupt.call(i,i.__data__,n.index)),f)if(+r<o){var a=f[r];a.timer.c=null,a.timer.t=NaN,--f.count,delete f[r]}l.c=p,Le(function(){return l.c&&p(t||1)&&(l.c=null,l.t=NaN),1},0,u),f.active=o,_.event&&_.event.start.call(i,i.__data__,s),h=[],_.tween.forEach(function(t,e){(e=e.call(i,i.__data__,s))&&h.push(e)}),d=_.ease,c=_.duration}function p(t){for(var e=t/c,n=d(e),r=h.length;0<r;)h[--r].call(i,n);if(1<=e)return _.event&&_.event.end.call(i,i.__data__,s),--f.count?delete f[o]:delete i[a],1}_||(u=t.time,l=Le(function(t){var e=_.delay;if(l.t=e+u,e<=t)return n(t-e);l.c=n},0,u),_=f[o]={tween:new g,time:u,timer:l,delay:t.delay,duration:t.duration,ease:t.ease,index:s},t=null,++f.count)}lo.call=V.call,lo.empty=V.empty,lo.node=V.node,lo.size=V.size,F.transition=function(t,e){return t&&t.transition?oo?t.transition(e):t:F.selection().transition(t)},(F.transition.prototype=lo).select=function(t){var e,n,r,a=this.id,i=this.namespace,s=[];t=$(t);for(var o=-1,u=this.length;++o<u;){s.push(e=[]);for(var l=this[o],c=-1,d=l.length;++c<d;)(r=l[c])&&(n=t.call(r,r.__data__,c,o))?("__data__"in r&&(n.__data__=r.__data__),po(n,c,i,a,r[i][a]),e.push(n)):e.push(null)}return so(s,i,a)},lo.selectAll=function(t){var e,n,r,a,i,s=this.id,o=this.namespace,u=[];t=G(t);for(var l=-1,c=this.length;++l<c;)for(var d=this[l],h=-1,f=d.length;++h<f;)if(r=d[h]){i=r[o][s],n=t.call(r,r.__data__,h,l),u.push(e=[]);for(var _=-1,p=n.length;++_<p;)(a=n[_])&&po(a,_,o,s,i),e.push(a)}return so(u,o,s)},lo.filter=function(t){var e,n,r=[];"function"!=typeof t&&(t=ut(t));for(var a=0,i=this.length;a<i;a++){r.push(e=[]);for(var s,o=0,u=(s=this[a]).length;o<u;o++)(n=s[o])&&t.call(n,n.__data__,o,a)&&e.push(n)}return so(r,this.namespace,this.id)},lo.tween=function(e,n){var r=this.id,a=this.namespace;return arguments.length<2?this.node()[a][r].tween.get(e):lt(this,null==n?function(t){t[a][r].tween.remove(e)}:function(t){t[a][r].tween.set(e,n)})},lo.attr=function(t,e){if(arguments.length<2){for(e in t)this.attr(e,t[e]);return this}var r="transform"==t?ci:qa,a=F.ns.qualify(t);function i(){this.removeAttribute(a)}function s(){this.removeAttributeNS(a.space,a.local)}return ho(this,"attr."+t,e,a.local?function(n){return null==n?s:(n+="",function(){var e,t=this.getAttributeNS(a.space,a.local);return t!==n&&(e=r(t,n),function(t){this.setAttributeNS(a.space,a.local,e(t))})})}:function(n){return null==n?i:(n+="",function(){var e,t=this.getAttribute(a);return t!==n&&(e=r(t,n),function(t){this.setAttribute(a,e(t))})})})},lo.attrTween=function(t,r){var a=F.ns.qualify(t);return this.tween("attr."+t,a.local?function(t,e){var n=r.call(this,t,e,this.getAttributeNS(a.space,a.local));return n&&function(t){this.setAttributeNS(a.space,a.local,n(t))}}:function(t,e){var n=r.call(this,t,e,this.getAttribute(a));return n&&function(t){this.setAttribute(a,n(t))}})},lo.style=function(r,t,a){var e=arguments.length;if(e<3){if("string"!=typeof r){for(a in e<2&&(t=""),r)this.style(a,r[a],t);return this}a=""}function i(){this.style.removeProperty(r)}return ho(this,"style."+r,t,function(n){return null==n?i:(n+="",function(){var e,t=O(this).getComputedStyle(this,null).getPropertyValue(r);return t!==n&&(e=qa(t,n),function(t){this.style.setProperty(r,e(t),a)})})})},lo.styleTween=function(r,a,i){return arguments.length<3&&(i=""),this.tween("style."+r,function(t,e){var n=a.call(this,t,e,O(this).getComputedStyle(this,null).getPropertyValue(r));return n&&function(t){this.style.setProperty(r,n(t),i)}})},lo.text=function(t){return ho(this,"text",t,fo)},lo.remove=function(){var e=this.namespace;return this.each("end.transition",function(){var t;this[e].count<2&&(t=this.parentNode)&&t.removeChild(this)})},lo.ease=function(e){var n=this.id,r=this.namespace;return arguments.length<1?this.node()[r][n].ease:("function"!=typeof e&&(e=F.ease.apply(F,arguments)),lt(this,function(t){t[r][n].ease=e}))},lo.delay=function(r){var a=this.id,i=this.namespace;return arguments.length<1?this.node()[i][a].delay:lt(this,"function"==typeof r?function(t,e,n){t[i][a].delay=+r.call(t,t.__data__,e,n)}:(r=+r,function(t){t[i][a].delay=r}))},lo.duration=function(r){var a=this.id,i=this.namespace;return arguments.length<1?this.node()[i][a].duration:lt(this,"function"==typeof r?function(t,e,n){t[i][a].duration=Math.max(1,r.call(t,t.__data__,e,n))}:(r=Math.max(1,r),function(t){t[i][a].duration=r}))},lo.each=function(r,n){var a=this.id,i=this.namespace;if(arguments.length<2){var t=uo,e=oo;try{oo=a,lt(this,function(t,e,n){uo=t[i][a],r.call(t,t.__data__,e,n)})}finally{uo=t,oo=e}}else lt(this,function(t){var e=t[i][a];(e.event||(e.event=F.dispatch("start","end","interrupt"))).on(r,n)});return this},lo.transition=function(){for(var t,e,n,r=this.id,a=++co,i=this.namespace,s=[],o=0,u=this.length;o<u;o++){s.push(t=[]);for(var l,c=0,d=(l=this[o]).length;c<d;c++)(e=l[c])&&po(e,c,i,a,{time:(n=e[i][r]).time,ease:n.ease,delay:n.delay+n.duration,duration:n.duration}),t.push(e)}return so(s,i,a)},F.svg.axis=function(){var D,Y=F.scale.linear(),T=mo,A=6,S=6,E=3,j=[10],C=null;function n(t){t.each(function(){var t,e=F.select(this),n=this.__chart__||Y,r=this.__chart__=Y.copy(),a=null==C?r.ticks?r.ticks.apply(r,j):r.domain():C,i=null==D?r.tickFormat?r.tickFormat.apply(r,j):H:D,s=e.selectAll(".tick").data(a,r),o=s.enter().insert("g",".domain").attr("class","tick").style("opacity",bt),u=F.transition(s.exit()).style("opacity",bt).remove(),l=F.transition(s.order()).style("opacity",1),c=Math.max(A,0)+E,d=as(r),h=e.selectAll(".domain").data([0]),f=(h.enter().append("path").attr("class","domain"),F.transition(h));o.append("line"),o.append("text");var _,p,m,y,g=o.select("line"),v=l.select("line"),M=s.select("text").text(i),k=o.select("text"),b=l.select("text"),L="top"===T||"left"===T?-1:1;if("bottom"===T||"top"===T?(t=go,_="x",m="y",p="x2",y="y2",M.attr("dy",L<0?"0em":".71em").style("text-anchor","middle"),f.attr("d","M"+d[0]+","+L*S+"V0H"+d[1]+"V"+L*S)):(t=vo,_="y",m="x",p="y2",y="x2",M.attr("dy",".32em").style("text-anchor",L<0?"end":"start"),f.attr("d","M"+L*S+","+d[0]+"H0V"+d[1]+"H"+L*S)),g.attr(y,L*A),k.attr(m,L*c),v.attr(p,0).attr(y,L*A),b.attr(_,0).attr(m,L*c),r.rangeBand){var w=r,x=w.rangeBand()/2;n=r=function(t){return w(t)+x}}else n.rangeBand?n=r:u.call(t,r,n);o.call(t,n,r),l.call(t,r,r)})}return n.scale=function(t){return arguments.length?(Y=t,n):Y},n.orient=function(t){return arguments.length?(T=t in yo?t+"":mo,n):T},n.ticks=function(){return arguments.length?(j=h(arguments),n):j},n.tickValues=function(t){return arguments.length?(C=t,n):C},n.tickFormat=function(t){return arguments.length?(D=t,n):D},n.tickSize=function(t){var e=arguments.length;return e?(A=+t,S=+arguments[e-1],n):A},n.innerTickSize=function(t){return arguments.length?(A=+t,n):A},n.outerTickSize=function(t){return arguments.length?(S=+t,n):S},n.tickPadding=function(t){return arguments.length?(E=+t,n):E},n.tickSubdivide=function(){return arguments.length&&n},n};var mo="bottom",yo={top:1,right:1,bottom:1,left:1};function go(t,n,r){t.attr("transform",function(t){var e=n(t);return"translate("+(isFinite(e)?e:r(t))+",0)"})}function vo(t,n,r){t.attr("transform",function(t){var e=n(t);return"translate(0,"+(isFinite(e)?e:r(t))+")"})}F.svg.brush=function(){var g,v,M=N(Y,"brushstart","brush","brushend"),k=null,b=null,L=[0,0],w=[0,0],x=!0,D=!0,s=ko[0];function Y(t){t.each(function(){var t=F.select(this).style("pointer-events","all").style("-webkit-tap-highlight-color","rgba(0,0,0,0)").on("mousedown.brush",o).on("touchstart.brush",o),e=t.selectAll(".background").data([0]);e.enter().append("rect").attr("class","background").style("visibility","hidden").style("cursor","crosshair"),t.selectAll(".extent").data([0]).enter().append("rect").attr("class","extent").style("cursor","move");var n=t.selectAll(".resize").data(s,H);n.exit().remove(),n.enter().append("g").attr("class",function(t){return"resize "+t}).style("cursor",function(t){return Mo[t]}).append("rect").attr("x",function(t){return/[ew]$/.test(t)?-3:null}).attr("y",function(t){return/^[ns]/.test(t)?-3:null}).attr("width",6).attr("height",6).style("visibility","hidden"),n.style("display",Y.empty()?"none":null);var r,a=F.transition(t),i=F.transition(e);k&&(r=as(k),i.attr("x",r[0]).attr("width",r[1]-r[0]),A(a)),b&&(r=as(b),i.attr("y",r[0]).attr("height",r[1]-r[0]),S(a)),T(a)})}function T(t){t.selectAll(".resize").attr("transform",function(t){return"translate("+L[+/e$/.test(t)]+","+w[+/^s/.test(t)]+")"})}function A(t){t.select(".extent").attr("x",L[0]),t.selectAll(".extent,.n>rect,.s>rect").attr("width",L[1]-L[0])}function S(t){t.select(".extent").attr("y",w[0]),t.selectAll(".extent,.e>rect,.w>rect").attr("height",w[1]-w[0])}function o(){var d,n,r=this,t=F.select(F.event.target),a=M.of(r,arguments),i=F.select(r),e=t.datum(),s=!/^(n|s)$/.test(e)&&k,o=!/^(e|w)$/.test(e)&&b,h=t.classed("extent"),u=gt(r),f=F.mouse(r),l=F.select(O(r)).on("keydown.brush",function(){32==F.event.keyCode&&(h||(d=null,f[0]-=L[1],f[1]-=w[1],h=2),P())}).on("keyup.brush",function(){32==F.event.keyCode&&2==h&&(f[0]+=L[1],f[1]+=w[1],h=0,P())});if(F.event.changedTouches?l.on("touchmove.brush",p).on("touchend.brush",y):l.on("mousemove.brush",p).on("mouseup.brush",y),i.interrupt().selectAll("*").interrupt(),h)f[0]=L[0]-f[0],f[1]=w[0]-f[1];else if(e){var c=+/w$/.test(e),_=+/^n/.test(e);n=[L[1-c]-f[0],w[1-_]-f[1]],f[0]=L[c],f[1]=w[_]}else F.event.altKey&&(d=f.slice());function p(){var t=F.mouse(r),e=!1;n&&(t[0]+=n[0],t[1]+=n[1]),h||(F.event.altKey?(d||(d=[(L[0]+L[1])/2,(w[0]+w[1])/2]),f[0]=L[+(t[0]<d[0])],f[1]=w[+(t[1]<d[1])]):d=null),s&&m(t,k,0)&&(A(i),e=!0),o&&m(t,b,1)&&(S(i),e=!0),e&&(T(i),a({type:"brush",mode:h?"move":"resize"}))}function m(t,e,n){var r,a,i=as(e),s=i[0],o=i[1],u=f[n],l=n?w:L,c=l[1]-l[0];if(h&&(s-=u,o-=c+u),r=(n?D:x)?Math.max(s,Math.min(o,t[n])):t[n],h?a=(r+=u)+c:(d&&(u=Math.max(s,Math.min(o,2*d[n]-r))),u<r?(a=r,r=u):a=u),l[0]!=r||l[1]!=a)return n?v=null:g=null,l[0]=r,l[1]=a,!0}function y(){p(),i.style("pointer-events","all").selectAll(".resize").style("display",Y.empty()?"none":null),F.select("body").style("cursor",null),l.on("mousemove.brush",null).on("mouseup.brush",null).on("touchmove.brush",null).on("touchend.brush",null).on("keydown.brush",null).on("keyup.brush",null),u(),a({type:"brushend"})}i.style("pointer-events","none").selectAll(".resize").style("display",null),F.select("body").style("cursor",t.style("cursor")),a({type:"brushstart"}),p()}return Y.event=function(t){t.each(function(){var r=M.of(this,arguments),a={x:L,y:w,i:g,j:v},t=this.__chart__||a;this.__chart__=a,oo?F.select(this).transition().each("start.brush",function(){g=t.i,v=t.j,L=t.x,w=t.y,r({type:"brushstart"})}).tween("brush:brush",function(){var e=Ua(L,a.x),n=Ua(w,a.y);return g=v=null,function(t){L=a.x=e(t),w=a.y=n(t),r({type:"brush",mode:"resize"})}}).each("end.brush",function(){g=a.i,v=a.j,r({type:"brush",mode:"resize"}),r({type:"brushend"})}):(r({type:"brushstart"}),r({type:"brush",mode:"resize"}),r({type:"brushend"}))})},Y.x=function(t){return arguments.length?(s=ko[!(k=t)<<1|!b],Y):k},Y.y=function(t){return arguments.length?(s=ko[!k<<1|!(b=t)],Y):b},Y.clamp=function(t){return arguments.length?(k&&b?(x=!!t[0],D=!!t[1]):k?x=!!t:b&&(D=!!t),Y):k&&b?[x,D]:k?x:b?D:null},Y.extent=function(t){var e,n,r,a,i;return arguments.length?(k&&(e=t[0],n=t[1],b&&(e=e[0],n=n[0]),g=[e,n],k.invert&&(e=k(e),n=k(n)),n<e&&(i=e,e=n,n=i),e==L[0]&&n==L[1]||(L=[e,n])),b&&(r=t[0],a=t[1],k&&(r=r[1],a=a[1]),v=[r,a],b.invert&&(r=b(r),a=b(a)),a<r&&(i=r,r=a,a=i),r==w[0]&&a==w[1]||(w=[r,a])),Y):(k&&(g?(e=g[0],n=g[1]):(e=L[0],n=L[1],k.invert&&(e=k.invert(e),n=k.invert(n)),n<e&&(i=e,e=n,n=i))),b&&(v?(r=v[0],a=v[1]):(r=w[0],a=w[1],b.invert&&(r=b.invert(r),a=b.invert(a)),a<r&&(i=r,r=a,a=i))),k&&b?[[e,r],[n,a]]:k?[e,n]:b&&[r,a])},Y.clear=function(){return Y.empty()||(L=[0,0],w=[0,0],g=v=null),Y},Y.empty=function(){return!!k&&L[0]==L[1]||!!b&&w[0]==w[1]},F.rebind(Y,M,"on")};var Mo={n:"ns-resize",e:"ew-resize",s:"ns-resize",w:"ew-resize",nw:"nwse-resize",ne:"nesw-resize",se:"nwse-resize",sw:"nesw-resize"},ko=[["n","e","s","w","nw","ne","se","sw"],["e","w"],["n","s"],[]],bo=je.format=on.timeFormat,Lo=bo.utc,wo=Lo("%Y-%m-%dT%H:%M:%S.%LZ");function xo(t){return t.toISOString()}function Do(e,a,t){function s(t){return e(t)}function o(t,e){var n=(t[1]-t[0])/e,r=F.bisect(To,n);return r==To.length?[a.year,hs(t.map(function(t){return t/31536e6}),e)[2]]:r?a[n/To[r-1]<To[r]/n?r-1:r]:[Eo,hs(t,e)[2]]}return s.invert=function(t){return Yo(e.invert(t))},s.domain=function(t){return arguments.length?(e.domain(t),s):e.domain().map(Yo)},s.nice=function(e,n){var t=s.domain(),r=rs(t),a=null==e?o(r,10):"number"==typeof e&&o(r,e);function i(t){return!isNaN(t)&&!e.range(t,Yo(+t+1),n).length}return a&&(e=a[0],n=a[1]),s.domain(ss(t,1<n?{floor:function(t){for(;i(t=e.floor(t));)t=Yo(t-1);return t},ceil:function(t){for(;i(t=e.ceil(t));)t=Yo(+t+1);return t}}:e))},s.ticks=function(t,e){var n=rs(s.domain()),r=null==t?o(n,10):"number"==typeof t?o(n,t):!t.range&&[{range:t},e];return r&&(t=r[0],e=r[1]),t.range(n[0],Yo(+n[1]+1),e<1?1:e)},s.tickFormat=function(){return t},s.copy=function(){return Do(e.copy(),a,t)},cs(s,e)}function Yo(t){return new Date(t)}bo.iso=Date.prototype.toISOString&&+new Date("2000-01-01T00:00:00.000Z")?xo:wo,xo.parse=function(t){var e=new Date(t);return isNaN(e)?null:e},xo.toString=wo.toString,je.second=He(function(t){return new Ce(1e3*Math.floor(t/1e3))},function(t,e){t.setTime(t.getTime()+1e3*Math.floor(e))},function(t){return t.getSeconds()}),je.seconds=je.second.range,je.seconds.utc=je.second.utc.range,je.minute=He(function(t){return new Ce(6e4*Math.floor(t/6e4))},function(t,e){t.setTime(t.getTime()+6e4*Math.floor(e))},function(t){return t.getMinutes()}),je.minutes=je.minute.range,je.minutes.utc=je.minute.utc.range,je.hour=He(function(t){var e=t.getTimezoneOffset()/60;return new Ce(36e5*(Math.floor(t/36e5-e)+e))},function(t,e){t.setTime(t.getTime()+36e5*Math.floor(e))},function(t){return t.getHours()}),je.hours=je.hour.range,je.hours.utc=je.hour.utc.range,je.month=He(function(t){return(t=je.day(t)).setDate(1),t},function(t,e){t.setMonth(t.getMonth()+e)},function(t){return t.getMonth()}),je.months=je.month.range,je.months.utc=je.month.utc.range;var To=[1e3,5e3,15e3,3e4,6e4,3e5,9e5,18e5,36e5,108e5,216e5,432e5,864e5,1728e5,6048e5,2592e6,7776e6,31536e6],Ao=[[je.second,1],[je.second,5],[je.second,15],[je.second,30],[je.minute,1],[je.minute,5],[je.minute,15],[je.minute,30],[je.hour,1],[je.hour,3],[je.hour,6],[je.hour,12],[je.day,1],[je.day,2],[je.week,1],[je.month,1],[je.month,3],[je.year,1]],So=bo.multi([[".%L",function(t){return t.getMilliseconds()}],[":%S",function(t){return t.getSeconds()}],["%I:%M",function(t){return t.getMinutes()}],["%I %p",function(t){return t.getHours()}],["%a %d",function(t){return t.getDay()&&1!=t.getDate()}],["%b %d",function(t){return 1!=t.getDate()}],["%B",function(t){return t.getMonth()}],["%Y",Vn]]),Eo={range:function(t,e,n){return F.range(Math.ceil(t/n)*n,+e,n).map(Yo)},floor:H,ceil:H};Ao.year=je.year,je.scale=function(){return Do(F.scale.linear(),Ao,So)};var jo=Ao.map(function(t){return[t[0].utc,t[1]]}),Co=Lo.multi([[".%L",function(t){return t.getUTCMilliseconds()}],[":%S",function(t){return t.getUTCSeconds()}],["%I:%M",function(t){return t.getUTCMinutes()}],["%I %p",function(t){return t.getUTCHours()}],["%a %d",function(t){return t.getUTCDay()&&1!=t.getUTCDate()}],["%b %d",function(t){return 1!=t.getUTCDate()}],["%B",function(t){return t.getUTCMonth()}],["%Y",Vn]]);function Fo(t){return JSON.parse(t.responseText)}function Oo(t){var e=v.createRange();return e.selectNode(v.body),e.createContextualFragment(t.responseText)}jo.year=je.year.utc,je.scale.utc=function(){return Do(F.scale.linear(),jo,Co)},F.text=me(function(t){return t.responseText}),F.json=function(t,e){return ye(t,"application/json",Fo,e)},F.html=function(t,e){return ye(t,"text/html",Oo,e)},F.xml=me(function(t){return t.responseXML}),this.d3=F,void 0===(Io="function"==typeof(No=F)?No.call(Po,Bo,Po,Ho):No)||(Ho.exports=Io)}()},function(t,r,a){"use strict";(function(n,t){var e=function(){var t=function(t,e,n,r){for(n=n||{},r=t.length;r--;n[t[r]]=e);return n},e=[1,4],n=[1,3],r=[1,5],a=[1,8,9,10,11,13,18,30,46,71,72,73,74,75,81,86,88,89,91,92,94,95,96,97,98],i=[2,2],s=[1,12],o=[1,13],u=[1,14],l=[1,15],c=[1,31],d=[1,33],h=[1,22],f=[1,34],_=[1,24],p=[1,25],m=[1,26],y=[1,27],g=[1,28],v=[1,38],M=[1,40],k=[1,35],b=[1,39],L=[1,45],w=[1,44],x=[1,36],D=[1,37],Y=[1,41],T=[1,42],A=[1,43],S=[1,8,9,10,11,13,18,30,32,46,71,72,73,74,75,81,86,88,89,91,92,94,95,96,97,98],E=[1,53],j=[1,52],C=[1,54],F=[1,72],O=[1,80],H=[1,81],P=[1,66],B=[1,65],N=[1,85],I=[1,84],R=[1,82],z=[1,83],W=[1,73],q=[1,68],U=[1,67],V=[1,63],$=[1,75],G=[1,76],J=[1,77],Z=[1,78],K=[1,79],X=[1,70],Q=[1,69],tt=[8,9,11],et=[8,9,11,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64],nt=[1,115],rt=[8,9,10,11,13,15,18,36,38,40,42,46,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,81,86,88,89,91,92,94,95,96,97,98],at=[8,9,10,11,12,13,15,16,17,18,30,32,36,37,38,39,40,41,42,43,46,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,71,72,73,74,75,78,81,84,86,88,89,91,92,94,95,96,97,98],it=[1,117],st=[1,118],ot=[8,9,10,11,13,18,30,32,46,71,72,73,74,75,81,86,88,89,91,92,94,95,96,97,98],ut=[8,9,10,11,12,13,15,16,17,18,30,32,37,39,41,43,46,50,51,52,53,54,56,57,58,59,60,61,62,63,64,65,71,72,73,74,75,78,81,84,86,88,89,91,92,94,95,96,97,98],lt=[13,18,46,81,86,88,89,91,92,94,95,96,97,98],ct=[13,18,46,49,65,81,86,88,89,91,92,94,95,96,97,98],dt=[1,191],ht=[1,188],ft=[1,195],_t=[1,192],pt=[1,189],mt=[1,196],yt=[1,186],gt=[1,187],vt=[1,190],Mt=[1,193],kt=[1,194],bt=[1,213],Lt=[8,9,11,86],wt=[8,9,10,11,46,71,80,81,84,86,88,89,90,91,92],xt={trace:function(){},yy:{},symbols_:{error:2,mermaidDoc:3,graphConfig:4,document:5,line:6,statement:7,SEMI:8,NEWLINE:9,SPACE:10,EOF:11,GRAPH:12,DIR:13,FirstStmtSeperator:14,TAGEND:15,TAGSTART:16,UP:17,DOWN:18,ending:19,endToken:20,spaceList:21,spaceListNewline:22,verticeStatement:23,separator:24,styleStatement:25,linkStyleStatement:26,classDefStatement:27,classStatement:28,clickStatement:29,subgraph:30,text:31,end:32,vertex:33,link:34,alphaNum:35,SQS:36,SQE:37,PS:38,PE:39,"(-":40,"-)":41,DIAMOND_START:42,DIAMOND_STOP:43,alphaNumStatement:44,alphaNumToken:45,MINUS:46,linkStatement:47,arrowText:48,TESTSTR:49,"--":50,ARROW_POINT:51,ARROW_CIRCLE:52,ARROW_CROSS:53,ARROW_OPEN:54,"-.":55,DOTTED_ARROW_POINT:56,DOTTED_ARROW_CIRCLE:57,DOTTED_ARROW_CROSS:58,DOTTED_ARROW_OPEN:59,"==":60,THICK_ARROW_POINT:61,THICK_ARROW_CIRCLE:62,THICK_ARROW_CROSS:63,THICK_ARROW_OPEN:64,PIPE:65,textToken:66,STR:67,commentText:68,commentToken:69,keywords:70,STYLE:71,LINKSTYLE:72,CLASSDEF:73,CLASS:74,CLICK:75,textNoTags:76,textNoTagsToken:77,DEFAULT:78,stylesOpt:79,HEX:80,NUM:81,INTERPOLATE:82,commentStatement:83,PCT:84,style:85,COMMA:86,styleComponent:87,ALPHA:88,COLON:89,UNIT:90,BRKT:91,DOT:92,graphCodeTokens:93,PUNCTUATION:94,UNICODE_TEXT:95,PLUS:96,EQUALS:97,MULT:98,TAG_START:99,TAG_END:100,QUOTE:101,$accept:0,$end:1},terminals_:{2:"error",8:"SEMI",9:"NEWLINE",10:"SPACE",11:"EOF",12:"GRAPH",13:"DIR",15:"TAGEND",16:"TAGSTART",17:"UP",18:"DOWN",30:"subgraph",32:"end",36:"SQS",37:"SQE",38:"PS",39:"PE",40:"(-",41:"-)",42:"DIAMOND_START",43:"DIAMOND_STOP",46:"MINUS",49:"TESTSTR",50:"--",51:"ARROW_POINT",52:"ARROW_CIRCLE",53:"ARROW_CROSS",54:"ARROW_OPEN",55:"-.",56:"DOTTED_ARROW_POINT",57:"DOTTED_ARROW_CIRCLE",58:"DOTTED_ARROW_CROSS",59:"DOTTED_ARROW_OPEN",60:"==",61:"THICK_ARROW_POINT",62:"THICK_ARROW_CIRCLE",63:"THICK_ARROW_CROSS",64:"THICK_ARROW_OPEN",65:"PIPE",67:"STR",71:"STYLE",72:"LINKSTYLE",73:"CLASSDEF",74:"CLASS",75:"CLICK",78:"DEFAULT",80:"HEX",81:"NUM",82:"INTERPOLATE",84:"PCT",86:"COMMA",88:"ALPHA",89:"COLON",90:"UNIT",91:"BRKT",92:"DOT",94:"PUNCTUATION",95:"UNICODE_TEXT",96:"PLUS",97:"EQUALS",98:"MULT",99:"TAG_START",100:"TAG_END",101:"QUOTE"},productions_:[0,[3,2],[5,0],[5,2],[6,1],[6,1],[6,1],[6,1],[6,1],[4,2],[4,2],[4,4],[4,4],[4,4],[4,4],[4,4],[19,2],[19,1],[20,1],[20,1],[20,1],[14,1],[14,1],[14,2],[22,2],[22,2],[22,1],[22,1],[21,2],[21,1],[7,2],[7,2],[7,2],[7,2],[7,2],[7,2],[7,5],[7,4],[24,1],[24,1],[24,1],[23,3],[23,1],[33,4],[33,5],[33,6],[33,7],[33,4],[33,5],[33,4],[33,5],[33,4],[33,5],[33,4],[33,5],[33,1],[33,2],[35,1],[35,2],[44,1],[44,1],[44,1],[44,1],[34,2],[34,3],[34,3],[34,1],[34,3],[34,3],[34,3],[34,3],[34,3],[34,3],[34,3],[34,3],[34,3],[34,3],[34,3],[34,3],[47,1],[47,1],[47,1],[47,1],[47,1],[47,1],[47,1],[47,1],[47,1],[47,1],[47,1],[47,1],[48,3],[31,1],[31,2],[31,1],[68,1],[68,2],[70,1],[70,1],[70,1],[70,1],[70,1],[70,1],[70,1],[70,1],[70,1],[70,1],[70,1],[76,1],[76,2],[27,5],[27,5],[28,5],[29,5],[29,7],[29,5],[29,7],[25,5],[25,5],[26,5],[26,5],[26,9],[26,9],[26,7],[26,7],[83,3],[79,1],[79,3],[85,1],[85,2],[87,1],[87,1],[87,1],[87,1],[87,1],[87,1],[87,1],[87,1],[87,1],[87,1],[87,1],[69,1],[69,1],[66,1],[66,1],[66,1],[66,1],[66,1],[66,1],[66,1],[77,1],[77,1],[77,1],[77,1],[45,1],[45,1],[45,1],[45,1],[45,1],[45,1],[45,1],[45,1],[45,1],[45,1],[45,1],[93,1],[93,1],[93,1],[93,1],[93,1],[93,1],[93,1],[93,1],[93,1],[93,1],[93,1],[93,1],[93,1],[93,1],[93,1]],performAction:function(t,e,n,r,a,i,s){var o=i.length-1;switch(a){case 2:this.$=[];break;case 3:i[o]!==[]&&i[o-1].push(i[o]),this.$=i[o-1];break;case 4:case 57:case 59:case 60:case 92:case 94:case 95:case 108:this.$=i[o];break;case 11:r.setDirection(i[o-1]),this.$=i[o-1];break;case 12:r.setDirection("LR"),this.$=i[o-1];break;case 13:r.setDirection("RL"),this.$=i[o-1];break;case 14:r.setDirection("BT"),this.$=i[o-1];break;case 15:r.setDirection("TB"),this.$=i[o-1];break;case 30:this.$=i[o-1];break;case 31:case 32:case 33:case 34:case 35:this.$=[];break;case 36:this.$=r.addSubGraph(i[o-1],i[o-3]);break;case 37:this.$=r.addSubGraph(i[o-1],void 0);break;case 41:r.addLink(i[o-2],i[o],i[o-1]),this.$=[i[o-2],i[o]];break;case 42:this.$=[i[o]];break;case 43:this.$=i[o-3],r.addVertex(i[o-3],i[o-1],"square");break;case 44:this.$=i[o-4],r.addVertex(i[o-4],i[o-2],"square");break;case 45:this.$=i[o-5],r.addVertex(i[o-5],i[o-2],"circle");break;case 46:this.$=i[o-6],r.addVertex(i[o-6],i[o-3],"circle");break;case 47:this.$=i[o-3],r.addVertex(i[o-3],i[o-1],"ellipse");break;case 48:this.$=i[o-4],r.addVertex(i[o-4],i[o-2],"ellipse");break;case 49:this.$=i[o-3],r.addVertex(i[o-3],i[o-1],"round");break;case 50:this.$=i[o-4],r.addVertex(i[o-4],i[o-2],"round");break;case 51:this.$=i[o-3],r.addVertex(i[o-3],i[o-1],"diamond");break;case 52:this.$=i[o-4],r.addVertex(i[o-4],i[o-2],"diamond");break;case 53:this.$=i[o-3],r.addVertex(i[o-3],i[o-1],"odd");break;case 54:this.$=i[o-4],r.addVertex(i[o-4],i[o-2],"odd");break;case 55:this.$=i[o],r.addVertex(i[o]);break;case 56:this.$=i[o-1],r.addVertex(i[o-1]);break;case 58:case 93:case 96:case 109:this.$=i[o-1]+""+i[o];break;case 61:this.$="v";break;case 62:this.$="-";break;case 63:i[o-1].text=i[o],this.$=i[o-1];break;case 64:case 65:i[o-2].text=i[o-1],this.$=i[o-2];break;case 66:this.$=i[o];break;case 67:this.$={type:"arrow",stroke:"normal",text:i[o-1]};break;case 68:this.$={type:"arrow_circle",stroke:"normal",text:i[o-1]};break;case 69:this.$={type:"arrow_cross",stroke:"normal",text:i[o-1]};break;case 70:this.$={type:"arrow_open",stroke:"normal",text:i[o-1]};break;case 71:this.$={type:"arrow",stroke:"dotted",text:i[o-1]};break;case 72:this.$={type:"arrow_circle",stroke:"dotted",text:i[o-1]};break;case 73:this.$={type:"arrow_cross",stroke:"dotted",text:i[o-1]};break;case 74:this.$={type:"arrow_open",stroke:"dotted",text:i[o-1]};break;case 75:this.$={type:"arrow",stroke:"thick",text:i[o-1]};break;case 76:this.$={type:"arrow_circle",stroke:"thick",text:i[o-1]};break;case 77:this.$={type:"arrow_cross",stroke:"thick",text:i[o-1]};break;case 78:this.$={type:"arrow_open",stroke:"thick",text:i[o-1]};break;case 79:this.$={type:"arrow",stroke:"normal"};break;case 80:this.$={type:"arrow_circle",stroke:"normal"};break;case 81:this.$={type:"arrow_cross",stroke:"normal"};break;case 82:this.$={type:"arrow_open",stroke:"normal"};break;case 83:this.$={type:"arrow",stroke:"dotted"};break;case 84:this.$={type:"arrow_circle",stroke:"dotted"};break;case 85:this.$={type:"arrow_cross",stroke:"dotted"};break;case 86:this.$={type:"arrow_open",stroke:"dotted"};break;case 87:this.$={type:"arrow",stroke:"thick"};break;case 88:this.$={type:"arrow_circle",stroke:"thick"};break;case 89:this.$={type:"arrow_cross",stroke:"thick"};break;case 90:this.$={type:"arrow_open",stroke:"thick"};break;case 91:this.$=i[o-1];break;case 110:case 111:this.$=i[o-4],r.addClass(i[o-2],i[o]);break;case 112:this.$=i[o-4],r.setClass(i[o-2],i[o]);break;case 113:this.$=i[o-4],r.setClickEvent(i[o-2],i[o],void 0,void 0);break;case 114:this.$=i[o-6],r.setClickEvent(i[o-4],i[o-2],void 0,i[o]);break;case 115:this.$=i[o-4],r.setClickEvent(i[o-2],void 0,i[o],void 0);break;case 116:this.$=i[o-6],r.setClickEvent(i[o-4],void 0,i[o-2],i[o]);break;case 117:this.$=i[o-4],r.addVertex(i[o-2],void 0,void 0,i[o]);break;case 118:case 119:case 120:this.$=i[o-4],r.updateLink(i[o-2],i[o]);break;case 121:case 122:this.$=i[o-8],r.updateLinkInterpolate(i[o-6],i[o-2]),r.updateLink(i[o-6],i[o]);break;case 123:case 124:this.$=i[o-6],r.updateLinkInterpolate(i[o-4],i[o]);break;case 126:this.$=[i[o]];break;case 127:i[o-2].push(i[o]),this.$=i[o-2];break;case 129:this.$=i[o-1]+i[o]}},table:[{3:1,4:2,9:e,10:n,12:r},{1:[3]},t(a,i,{5:6}),{4:7,9:e,10:n,12:r},{4:8,9:e,10:n,12:r},{10:[1,9]},{1:[2,1],6:10,7:11,8:s,9:o,10:u,11:l,13:c,18:d,23:16,25:17,26:18,27:19,28:20,29:21,30:h,33:23,35:29,44:30,45:32,46:f,71:_,72:p,73:m,74:y,75:g,81:v,86:M,88:k,89:b,91:L,92:w,94:x,95:D,96:Y,97:T,98:A},t(a,[2,9]),t(a,[2,10]),{13:[1,46],15:[1,47],16:[1,48],17:[1,49],18:[1,50]},t(S,[2,3]),t(S,[2,4]),t(S,[2,5]),t(S,[2,6]),t(S,[2,7]),t(S,[2,8]),{8:E,9:j,11:C,24:51},{8:E,9:j,11:C,24:55},{8:E,9:j,11:C,24:56},{8:E,9:j,11:C,24:57},{8:E,9:j,11:C,24:58},{8:E,9:j,11:C,24:59},{8:E,9:j,10:F,11:C,12:O,13:H,15:P,16:B,17:N,18:I,24:61,30:R,31:60,32:z,45:71,46:W,50:q,60:U,66:62,67:V,70:74,71:$,72:G,73:J,74:Z,75:K,77:64,78:X,81:v,84:Q,86:M,88:k,89:b,91:L,92:w,94:x,95:D,96:Y,97:T,98:A},t(tt,[2,42],{34:86,47:87,50:[1,88],51:[1,91],52:[1,92],53:[1,93],54:[1,94],55:[1,89],56:[1,95],57:[1,96],58:[1,97],59:[1,98],60:[1,90],61:[1,99],62:[1,100],63:[1,101],64:[1,102]}),{10:[1,103]},{10:[1,104]},{10:[1,105]},{10:[1,106]},{10:[1,107]},t(et,[2,55],{45:32,21:113,44:114,10:nt,13:c,15:[1,112],18:d,36:[1,108],38:[1,109],40:[1,110],42:[1,111],46:f,81:v,86:M,88:k,89:b,91:L,92:w,94:x,95:D,96:Y,97:T,98:A}),t(rt,[2,57]),t(rt,[2,59]),t(rt,[2,60]),t(rt,[2,61]),t(rt,[2,62]),t(at,[2,154]),t(at,[2,155]),t(at,[2,156]),t(at,[2,157]),t(at,[2,158]),t(at,[2,159]),t(at,[2,160]),t(at,[2,161]),t(at,[2,162]),t(at,[2,163]),t(at,[2,164]),{8:it,9:st,10:nt,14:116,21:119},{8:it,9:st,10:nt,14:120,21:119},{8:it,9:st,10:nt,14:121,21:119},{8:it,9:st,10:nt,14:122,21:119},{8:it,9:st,10:nt,14:123,21:119},t(S,[2,30]),t(S,[2,38]),t(S,[2,39]),t(S,[2,40]),t(S,[2,31]),t(S,[2,32]),t(S,[2,33]),t(S,[2,34]),t(S,[2,35]),{8:E,9:j,10:F,11:C,12:O,13:H,15:P,16:B,17:N,18:I,24:124,30:R,32:z,45:71,46:W,50:q,60:U,66:125,70:74,71:$,72:G,73:J,74:Z,75:K,77:64,78:X,81:v,84:Q,86:M,88:k,89:b,91:L,92:w,94:x,95:D,96:Y,97:T,98:A},t(ot,i,{5:126}),t(ut,[2,92]),t(ut,[2,94]),t(ut,[2,143]),t(ut,[2,144]),t(ut,[2,145]),t(ut,[2,146]),t(ut,[2,147]),t(ut,[2,148]),t(ut,[2,149]),t(ut,[2,150]),t(ut,[2,151]),t(ut,[2,152]),t(ut,[2,153]),t(ut,[2,97]),t(ut,[2,98]),t(ut,[2,99]),t(ut,[2,100]),t(ut,[2,101]),t(ut,[2,102]),t(ut,[2,103]),t(ut,[2,104]),t(ut,[2,105]),t(ut,[2,106]),t(ut,[2,107]),{13:c,18:d,33:127,35:29,44:30,45:32,46:f,81:v,86:M,88:k,89:b,91:L,92:w,94:x,95:D,96:Y,97:T,98:A},t(lt,[2,66],{48:128,49:[1,129],65:[1,130]}),{10:F,12:O,13:H,15:P,16:B,17:N,18:I,30:R,31:131,32:z,45:71,46:W,50:q,60:U,66:62,67:V,70:74,71:$,72:G,73:J,74:Z,75:K,77:64,78:X,81:v,84:Q,86:M,88:k,89:b,91:L,92:w,94:x,95:D,96:Y,97:T,98:A},{10:F,12:O,13:H,15:P,16:B,17:N,18:I,30:R,31:132,32:z,45:71,46:W,50:q,60:U,66:62,67:V,70:74,71:$,72:G,73:J,74:Z,75:K,77:64,78:X,81:v,84:Q,86:M,88:k,89:b,91:L,92:w,94:x,95:D,96:Y,97:T,98:A},{10:F,12:O,13:H,15:P,16:B,17:N,18:I,30:R,31:133,32:z,45:71,46:W,50:q,60:U,66:62,67:V,70:74,71:$,72:G,73:J,74:Z,75:K,77:64,78:X,81:v,84:Q,86:M,88:k,89:b,91:L,92:w,94:x,95:D,96:Y,97:T,98:A},t(ct,[2,79]),t(ct,[2,80]),t(ct,[2,81]),t(ct,[2,82]),t(ct,[2,83]),t(ct,[2,84]),t(ct,[2,85]),t(ct,[2,86]),t(ct,[2,87]),t(ct,[2,88]),t(ct,[2,89]),t(ct,[2,90]),{13:c,18:d,35:134,44:30,45:32,46:f,80:[1,135],81:v,86:M,88:k,89:b,91:L,92:w,94:x,95:D,96:Y,97:T,98:A},{78:[1,136],81:[1,137]},{13:c,18:d,35:139,44:30,45:32,46:f,78:[1,138],81:v,86:M,88:k,89:b,91:L,92:w,94:x,95:D,96:Y,97:T,98:A},{13:c,18:d,35:140,44:30,45:32,46:f,81:v,86:M,88:k,89:b,91:L,92:w,94:x,95:D,96:Y,97:T,98:A},{13:c,18:d,35:141,44:30,45:32,46:f,81:v,86:M,88:k,89:b,91:L,92:w,94:x,95:D,96:Y,97:T,98:A},{10:F,12:O,13:H,15:P,16:B,17:N,18:I,30:R,31:142,32:z,45:71,46:W,50:q,60:U,66:62,67:V,70:74,71:$,72:G,73:J,74:Z,75:K,77:64,78:X,81:v,84:Q,86:M,88:k,89:b,91:L,92:w,94:x,95:D,96:Y,97:T,98:A},{10:F,12:O,13:H,15:P,16:B,17:N,18:I,30:R,31:144,32:z,38:[1,143],45:71,46:W,50:q,60:U,66:62,67:V,70:74,71:$,72:G,73:J,74:Z,75:K,77:64,78:X,81:v,84:Q,86:M,88:k,89:b,91:L,92:w,94:x,95:D,96:Y,97:T,98:A},{10:F,12:O,13:H,15:P,16:B,17:N,18:I,30:R,31:145,32:z,45:71,46:W,50:q,60:U,66:62,67:V,70:74,71:$,72:G,73:J,74:Z,75:K,77:64,78:X,81:v,84:Q,86:M,88:k,89:b,91:L,92:w,94:x,95:D,96:Y,97:T,98:A},{10:F,12:O,13:H,15:P,16:B,17:N,18:I,30:R,31:146,32:z,45:71,46:W,50:q,60:U,66:62,67:V,70:74,71:$,72:G,73:J,74:Z,75:K,77:64,78:X,81:v,84:Q,86:M,88:k,89:b,91:L,92:w,94:x,95:D,96:Y,97:T,98:A},{10:F,12:O,13:H,15:P,16:B,17:N,18:I,30:R,31:147,32:z,45:71,46:W,50:q,60:U,66:62,67:V,70:74,71:$,72:G,73:J,74:Z,75:K,77:64,78:X,81:v,84:Q,86:M,88:k,89:b,91:L,92:w,94:x,95:D,96:Y,97:T,98:A},t(et,[2,56]),t(rt,[2,58]),t(et,[2,29],{21:148,10:nt}),t(a,[2,11]),t(a,[2,21]),t(a,[2,22]),{9:[1,149]},t(a,[2,12]),t(a,[2,13]),t(a,[2,14]),t(a,[2,15]),t(ot,i,{5:150}),t(ut,[2,93]),{6:10,7:11,8:s,9:o,10:u,11:l,13:c,18:d,23:16,25:17,26:18,27:19,28:20,29:21,30:h,32:[1,151],33:23,35:29,44:30,45:32,46:f,71:_,72:p,73:m,74:y,75:g,81:v,86:M,88:k,89:b,91:L,92:w,94:x,95:D,96:Y,97:T,98:A},t(tt,[2,41]),t(lt,[2,63],{10:[1,152]}),{10:[1,153]},{10:F,12:O,13:H,15:P,16:B,17:N,18:I,30:R,31:154,32:z,45:71,46:W,50:q,60:U,66:62,67:V,70:74,71:$,72:G,73:J,74:Z,75:K,77:64,78:X,81:v,84:Q,86:M,88:k,89:b,91:L,92:w,94:x,95:D,96:Y,97:T,98:A},{10:F,12:O,13:H,15:P,16:B,17:N,18:I,30:R,32:z,45:71,46:W,50:q,51:[1,155],52:[1,156],53:[1,157],54:[1,158],60:U,66:125,70:74,71:$,72:G,73:J,74:Z,75:K,77:64,78:X,81:v,84:Q,86:M,88:k,89:b,91:L,92:w,94:x,95:D,96:Y,97:T,98:A},{10:F,12:O,13:H,15:P,16:B,17:N,18:I,30:R,32:z,45:71,46:W,50:q,56:[1,159],57:[1,160],58:[1,161],59:[1,162],60:U,66:125,70:74,71:$,72:G,73:J,74:Z,75:K,77:64,78:X,81:v,84:Q,86:M,88:k,89:b,91:L,92:w,94:x,95:D,96:Y,97:T,98:A},{10:F,12:O,13:H,15:P,16:B,17:N,18:I,30:R,32:z,45:71,46:W,50:q,60:U,61:[1,163],62:[1,164],63:[1,165],64:[1,166],66:125,70:74,71:$,72:G,73:J,74:Z,75:K,77:64,78:X,81:v,84:Q,86:M,88:k,89:b,91:L,92:w,94:x,95:D,96:Y,97:T,98:A},{10:[1,167],13:c,18:d,44:114,45:32,46:f,81:v,86:M,88:k,89:b,91:L,92:w,94:x,95:D,96:Y,97:T,98:A},{10:[1,168]},{10:[1,169]},{10:[1,170]},{10:[1,171]},{10:[1,172],13:c,18:d,44:114,45:32,46:f,81:v,86:M,88:k,89:b,91:L,92:w,94:x,95:D,96:Y,97:T,98:A},{10:[1,173],13:c,18:d,44:114,45:32,46:f,81:v,86:M,88:k,89:b,91:L,92:w,94:x,95:D,96:Y,97:T,98:A},{10:[1,174],13:c,18:d,44:114,45:32,46:f,81:v,86:M,88:k,89:b,91:L,92:w,94:x,95:D,96:Y,97:T,98:A},{10:F,12:O,13:H,15:P,16:B,17:N,18:I,30:R,32:z,37:[1,175],45:71,46:W,50:q,60:U,66:125,70:74,71:$,72:G,73:J,74:Z,75:K,77:64,78:X,81:v,84:Q,86:M,88:k,89:b,91:L,92:w,94:x,95:D,96:Y,97:T,98:A},{10:F,12:O,13:H,15:P,16:B,17:N,18:I,30:R,31:176,32:z,45:71,46:W,50:q,60:U,66:62,67:V,70:74,71:$,72:G,73:J,74:Z,75:K,77:64,78:X,81:v,84:Q,86:M,88:k,89:b,91:L,92:w,94:x,95:D,96:Y,97:T,98:A},{10:F,12:O,13:H,15:P,16:B,17:N,18:I,30:R,32:z,39:[1,177],45:71,46:W,50:q,60:U,66:125,70:74,71:$,72:G,73:J,74:Z,75:K,77:64,78:X,81:v,84:Q,86:M,88:k,89:b,91:L,92:w,94:x,95:D,96:Y,97:T,98:A},{10:F,12:O,13:H,15:P,16:B,17:N,18:I,30:R,32:z,41:[1,178],45:71,46:W,50:q,60:U,66:125,70:74,71:$,72:G,73:J,74:Z,75:K,77:64,78:X,81:v,84:Q,86:M,88:k,89:b,91:L,92:w,94:x,95:D,96:Y,97:T,98:A},{10:F,12:O,13:H,15:P,16:B,17:N,18:I,30:R,32:z,43:[1,179],45:71,46:W,50:q,60:U,66:125,70:74,71:$,72:G,73:J,74:Z,75:K,77:64,78:X,81:v,84:Q,86:M,88:k,89:b,91:L,92:w,94:x,95:D,96:Y,97:T,98:A},{10:F,12:O,13:H,15:P,16:B,17:N,18:I,30:R,32:z,37:[1,180],45:71,46:W,50:q,60:U,66:125,70:74,71:$,72:G,73:J,74:Z,75:K,77:64,78:X,81:v,84:Q,86:M,88:k,89:b,91:L,92:w,94:x,95:D,96:Y,97:T,98:A},t(et,[2,28]),t(a,[2,23]),{6:10,7:11,8:s,9:o,10:u,11:l,13:c,18:d,23:16,25:17,26:18,27:19,28:20,29:21,30:h,32:[1,181],33:23,35:29,44:30,45:32,46:f,71:_,72:p,73:m,74:y,75:g,81:v,86:M,88:k,89:b,91:L,92:w,94:x,95:D,96:Y,97:T,98:A},t(S,[2,37]),t(lt,[2,65]),t(lt,[2,64]),{10:F,12:O,13:H,15:P,16:B,17:N,18:I,30:R,32:z,45:71,46:W,50:q,60:U,65:[1,182],66:125,70:74,71:$,72:G,73:J,74:Z,75:K,77:64,78:X,81:v,84:Q,86:M,88:k,89:b,91:L,92:w,94:x,95:D,96:Y,97:T,98:A},t(lt,[2,67]),t(lt,[2,68]),t(lt,[2,69]),t(lt,[2,70]),t(lt,[2,71]),t(lt,[2,72]),t(lt,[2,73]),t(lt,[2,74]),t(lt,[2,75]),t(lt,[2,76]),t(lt,[2,77]),t(lt,[2,78]),{10:dt,46:ht,71:ft,79:183,80:_t,81:pt,84:mt,85:184,87:185,88:yt,89:gt,90:vt,91:Mt,92:kt},{10:dt,46:ht,71:ft,79:197,80:_t,81:pt,84:mt,85:184,87:185,88:yt,89:gt,90:vt,91:Mt,92:kt},{10:dt,46:ht,71:ft,79:198,80:_t,81:pt,82:[1,199],84:mt,85:184,87:185,88:yt,89:gt,90:vt,91:Mt,92:kt},{10:dt,46:ht,71:ft,79:200,80:_t,81:pt,82:[1,201],84:mt,85:184,87:185,88:yt,89:gt,90:vt,91:Mt,92:kt},{10:dt,46:ht,71:ft,79:202,80:_t,81:pt,84:mt,85:184,87:185,88:yt,89:gt,90:vt,91:Mt,92:kt},{10:dt,46:ht,71:ft,79:203,80:_t,81:pt,84:mt,85:184,87:185,88:yt,89:gt,90:vt,91:Mt,92:kt},{13:c,18:d,35:204,44:30,45:32,46:f,81:v,86:M,88:k,89:b,91:L,92:w,94:x,95:D,96:Y,97:T,98:A},{13:c,18:d,35:205,44:30,45:32,46:f,67:[1,206],81:v,86:M,88:k,89:b,91:L,92:w,94:x,95:D,96:Y,97:T,98:A},t(et,[2,43],{21:207,10:nt}),{10:F,12:O,13:H,15:P,16:B,17:N,18:I,30:R,32:z,39:[1,208],45:71,46:W,50:q,60:U,66:125,70:74,71:$,72:G,73:J,74:Z,75:K,77:64,78:X,81:v,84:Q,86:M,88:k,89:b,91:L,92:w,94:x,95:D,96:Y,97:T,98:A},t(et,[2,49],{21:209,10:nt}),t(et,[2,47],{21:210,10:nt}),t(et,[2,51],{21:211,10:nt}),t(et,[2,53],{21:212,10:nt}),t(S,[2,36]),t([10,13,18,46,81,86,88,89,91,92,94,95,96,97,98],[2,91]),t(tt,[2,117],{86:bt}),t(Lt,[2,126],{87:214,10:dt,46:ht,71:ft,80:_t,81:pt,84:mt,88:yt,89:gt,90:vt,91:Mt,92:kt}),t(wt,[2,128]),t(wt,[2,130]),t(wt,[2,131]),t(wt,[2,132]),t(wt,[2,133]),t(wt,[2,134]),t(wt,[2,135]),t(wt,[2,136]),t(wt,[2,137]),t(wt,[2,138]),t(wt,[2,139]),t(wt,[2,140]),t(tt,[2,118],{86:bt}),t(tt,[2,119],{86:bt}),{10:[1,215]},t(tt,[2,120],{86:bt}),{10:[1,216]},t(tt,[2,110],{86:bt}),t(tt,[2,111],{86:bt}),t(tt,[2,112],{45:32,44:114,13:c,18:d,46:f,81:v,86:M,88:k,89:b,91:L,92:w,94:x,95:D,96:Y,97:T,98:A}),t(tt,[2,113],{45:32,44:114,10:[1,217],13:c,18:d,46:f,81:v,86:M,88:k,89:b,91:L,92:w,94:x,95:D,96:Y,97:T,98:A}),t(tt,[2,115],{10:[1,218]}),t(et,[2,44]),{39:[1,219]},t(et,[2,50]),t(et,[2,48]),t(et,[2,52]),t(et,[2,54]),{10:dt,46:ht,71:ft,80:_t,81:pt,84:mt,85:220,87:185,88:yt,89:gt,90:vt,91:Mt,92:kt},t(wt,[2,129]),{13:c,18:d,35:221,44:30,45:32,46:f,81:v,86:M,88:k,89:b,91:L,92:w,94:x,95:D,96:Y,97:T,98:A},{13:c,18:d,35:222,44:30,45:32,46:f,81:v,86:M,88:k,89:b,91:L,92:w,94:x,95:D,96:Y,97:T,98:A},{67:[1,223]},{67:[1,224]},t(et,[2,45],{21:225,10:nt}),t(Lt,[2,127],{87:214,10:dt,46:ht,71:ft,80:_t,81:pt,84:mt,88:yt,89:gt,90:vt,91:Mt,92:kt}),t(tt,[2,123],{45:32,44:114,10:[1,226],13:c,18:d,46:f,81:v,86:M,88:k,89:b,91:L,92:w,94:x,95:D,96:Y,97:T,98:A}),t(tt,[2,124],{45:32,44:114,10:[1,227],13:c,18:d,46:f,81:v,86:M,88:k,89:b,91:L,92:w,94:x,95:D,96:Y,97:T,98:A}),t(tt,[2,114]),t(tt,[2,116]),t(et,[2,46]),{10:dt,46:ht,71:ft,79:228,80:_t,81:pt,84:mt,85:184,87:185,88:yt,89:gt,90:vt,91:Mt,92:kt},{10:dt,46:ht,71:ft,79:229,80:_t,81:pt,84:mt,85:184,87:185,88:yt,89:gt,90:vt,91:Mt,92:kt},t(tt,[2,121],{86:bt}),t(tt,[2,122],{86:bt})],defaultActions:{},parseError:function(t,e){if(!e.recoverable){var n=function(t,e){this.message=t,this.hash=e};throw n.prototype=Error,new n(t,e)}this.trace(t)},parse:function(t){var e=this,n=[0],r=[],a=[null],i=[],s=this.table,o="",u=0,l=0,c=0,d=1,h=i.slice.call(arguments,1),f=Object.create(this.lexer),_={yy:{}};for(var p in this.yy)Object.prototype.hasOwnProperty.call(this.yy,p)&&(_.yy[p]=this.yy[p]);f.setInput(t,_.yy),_.yy.lexer=f,_.yy.parser=this,void 0===f.yylloc&&(f.yylloc={});var m=f.yylloc;i.push(m);var y=f.options&&f.options.ranges;"function"==typeof _.yy.parseError?this.parseError=_.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var g,v,M,k,b,L,w,x,D,Y,T={};;){if(M=n[n.length-1],this.defaultActions[M]?k=this.defaultActions[M]:(null==g&&(Y=void 0,"number"!=typeof(Y=r.pop()||f.lex()||d)&&(Y instanceof Array&&(Y=(r=Y).pop()),Y=e.symbols_[Y]||Y),g=Y),k=s[M]&&s[M][g]),void 0===k||!k.length||!k[0]){var A="";for(L in D=[],s[M])this.terminals_[L]&&2<L&&D.push("'"+this.terminals_[L]+"'");A=f.showPosition?"Parse error on line "+(u+1)+":\n"+f.showPosition()+"\nExpecting "+D.join(", ")+", got '"+(this.terminals_[g]||g)+"'":"Parse error on line "+(u+1)+": Unexpected "+(g==d?"end of input":"'"+(this.terminals_[g]||g)+"'"),this.parseError(A,{text:f.match,token:this.terminals_[g]||g,line:f.yylineno,loc:m,expected:D})}if(k[0]instanceof Array&&1<k.length)throw new Error("Parse Error: multiple actions possible at state: "+M+", token: "+g);switch(k[0]){case 1:n.push(g),a.push(f.yytext),i.push(f.yylloc),n.push(k[1]),g=null,v?(g=v,v=null):(l=f.yyleng,o=f.yytext,u=f.yylineno,m=f.yylloc,0<c&&c--);break;case 2:if(w=this.productions_[k[1]][1],T.$=a[a.length-w],T._$={first_line:i[i.length-(w||1)].first_line,last_line:i[i.length-1].last_line,first_column:i[i.length-(w||1)].first_column,last_column:i[i.length-1].last_column},y&&(T._$.range=[i[i.length-(w||1)].range[0],i[i.length-1].range[1]]),void 0!==(b=this.performAction.apply(T,[o,l,u,_.yy,k[1],a,i].concat(h))))return b;w&&(n=n.slice(0,-1*w*2),a=a.slice(0,-1*w),i=i.slice(0,-1*w)),n.push(this.productions_[k[1]][0]),a.push(T.$),i.push(T._$),x=s[n[n.length-2]][n[n.length-1]],n.push(x);break;case 3:return!0}}return!0}},Dt={EOF:1,parseError:function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e)},setInput:function(t,e){return this.yy=e||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},unput:function(t){var e=t.length,n=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var r=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var a=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===r.length?this.yylloc.first_column:0)+r[r.length-n.length].length-n[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[a[0],a[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(t){this.unput(this.match.slice(t))},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(20<t.length?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(20<t.length?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),e=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},test_match:function(t,e){var n,r,a;if(this.options.backtrack_lexer&&(a={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(a.yylloc.range=this.yylloc.range.slice(0))),(r=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=r.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:r?r[r.length-1].length-r[r.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],n=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var i in a)this[i]=a[i];return!1}return!1},next:function(){if(this.done)return this.EOF;var t,e,n,r;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var a=this._currentRules(),i=0;i<a.length;i++)if((n=this._input.match(this.rules[a[i]]))&&(!e||n[0].length>e[0].length)){if(e=n,r=i,this.options.backtrack_lexer){if(!1!==(t=this.test_match(n,a[i])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,a[r]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var t=this.next();return t||this.lex()},begin:function(t){this.conditionStack.push(t)},popState:function(){return 0<this.conditionStack.length-1?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(t){return 0<=(t=this.conditionStack.length-1-Math.abs(t||0))?this.conditionStack[t]:"INITIAL"},pushState:function(t){this.begin(t)},stateStackSize:function(){return this.conditionStack.length},options:{},performAction:function(t,e,n,r){switch(n){case 0:break;case 1:this.begin("string");break;case 2:this.popState();break;case 3:return"STR";case 4:return 71;case 5:return 78;case 6:return 72;case 7:return 82;case 8:return 73;case 9:return 74;case 10:return 75;case 11:return 12;case 12:return 30;case 13:return 32;case 14:case 15:case 16:case 17:case 18:case 19:return 13;case 20:return 81;case 21:return 91;case 22:return 89;case 23:return 8;case 24:return 86;case 25:return 98;case 26:return 16;case 27:return 15;case 28:return 17;case 29:return 18;case 30:return 53;case 31:return 51;case 32:return 52;case 33:return 54;case 34:return 58;case 35:return 56;case 36:return 57;case 37:return 59;case 38:return 58;case 39:return 56;case 40:return 57;case 41:return 59;case 42:return 63;case 43:return 61;case 44:return 62;case 45:return 64;case 46:return 50;case 47:return 55;case 48:return 60;case 49:return 40;case 50:return 41;case 51:return 46;case 52:return 92;case 53:return 96;case 54:return 84;case 55:case 56:return 97;case 57:return 88;case 58:return 94;case 59:return 95;case 60:return 65;case 61:return 38;case 62:return 39;case 63:return 36;case 64:return 37;case 65:return 42;case 66:return 43;case 67:return 101;case 68:return 9;case 69:return 10;case 70:return 11}},rules:[/^(?:%%[^\n]*)/,/^(?:["])/,/^(?:["])/,/^(?:[^"]*)/,/^(?:style\b)/,/^(?:default\b)/,/^(?:linkStyle\b)/,/^(?:interpolate\b)/,/^(?:classDef\b)/,/^(?:class\b)/,/^(?:click\b)/,/^(?:graph\b)/,/^(?:subgraph\b)/,/^(?:end\b\s*)/,/^(?:LR\b)/,/^(?:RL\b)/,/^(?:TB\b)/,/^(?:BT\b)/,/^(?:TD\b)/,/^(?:BR\b)/,/^(?:[0-9]+)/,/^(?:#)/,/^(?::)/,/^(?:;)/,/^(?:,)/,/^(?:\*)/,/^(?:<)/,/^(?:>)/,/^(?:\^)/,/^(?:v\b)/,/^(?:\s*--[x]\s*)/,/^(?:\s*-->\s*)/,/^(?:\s*--[o]\s*)/,/^(?:\s*---\s*)/,/^(?:\s*-\.-[x]\s*)/,/^(?:\s*-\.->\s*)/,/^(?:\s*-\.-[o]\s*)/,/^(?:\s*-\.-\s*)/,/^(?:\s*.-[x]\s*)/,/^(?:\s*\.->\s*)/,/^(?:\s*\.-[o]\s*)/,/^(?:\s*\.-\s*)/,/^(?:\s*==[x]\s*)/,/^(?:\s*==>\s*)/,/^(?:\s*==[o]\s*)/,/^(?:\s*==[\=]\s*)/,/^(?:\s*--\s*)/,/^(?:\s*-\.\s*)/,/^(?:\s*==\s*)/,/^(?:\(-)/,/^(?:-\))/,/^(?:-)/,/^(?:\.)/,/^(?:\+)/,/^(?:%)/,/^(?:=)/,/^(?:=)/,/^(?:[A-Za-z]+)/,/^(?:[!"#$%&'*+,-.`?\\_\/])/,/^(?:[\u00AA\u00B5\u00BA\u00C0-\u00D6\u00D8-\u00F6]|[\u00F8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377]|[\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5]|[\u03F7-\u0481\u048A-\u0527\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA]|[\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE]|[\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA]|[\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0]|[\u08A2-\u08AC\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0977]|[\u0979-\u097F\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2]|[\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A]|[\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39]|[\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8]|[\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0B05-\u0B0C]|[\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C]|[\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99]|[\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0]|[\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C3D]|[\u0C58\u0C59\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3]|[\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10]|[\u0D12-\u0D3A\u0D3D\u0D4E\u0D60\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1]|[\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81]|[\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3]|[\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6]|[\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A]|[\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081]|[\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D]|[\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0]|[\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310]|[\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F4\u1401-\u166C]|[\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u1700-\u170C\u170E-\u1711]|[\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7]|[\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191C]|[\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19C1-\u19C7\u1A00-\u1A16]|[\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF]|[\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC]|[\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D]|[\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D]|[\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3]|[\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F]|[\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128]|[\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184]|[\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3]|[\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6]|[\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE]|[\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C]|[\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D]|[\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FCC]|[\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B]|[\uA640-\uA66E\uA67F-\uA697\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788]|[\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA801\uA803-\uA805]|[\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB]|[\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uAA00-\uAA28]|[\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA80-\uAAAF\uAAB1\uAAB5]|[\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4]|[\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E]|[\uABC0-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D]|[\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36]|[\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D]|[\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC]|[\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF]|[\uFFD2-\uFFD7\uFFDA-\uFFDC])/,/^(?:\|)/,/^(?:\()/,/^(?:\))/,/^(?:\[)/,/^(?:\])/,/^(?:\{)/,/^(?:\})/,/^(?:")/,/^(?:\n+)/,/^(?:\s)/,/^(?:$)/],conditions:{string:{rules:[2,3],inclusive:!1},INITIAL:{rules:[0,1,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70],inclusive:!0}}};function Yt(){this.yy={}}return xt.lexer=Dt,new((Yt.prototype=xt).Parser=Yt)}();r.parser=e,r.Parser=e.Parser,r.parse=function(){return e.parse.apply(e,arguments)},r.main=function(t){t[1]||(console.log("Usage: "+t[0]+" FILE"),n.exit(1));var e=a(8).readFileSync(a(9).normalize(t[1]),"utf8");return r.parser.parse(e)},void 0!==t&&a.c[a.s]===t&&r.main(n.argv.slice(1))}).call(r,a(7),a(3)(t))},function(t,r,a){"use strict";(function(n,t){var e=function(){var t=function(t,e,n,r){for(n=n||{},r=t.length;r--;n[t[r]]=e);return n},e=[1,5],n=[1,6],r=[1,12],a=[1,13],i=[1,14],s=[1,15],o=[1,16],u=[1,17],l=[1,18],c=[1,19],d=[1,20],h=[1,21],f=[1,22],_=[8,16,17,18,19,20,21,22,23,24,25,26],p=[1,37],m=[1,33],y=[1,34],g=[1,35],v=[1,36],M=[8,10,16,17,18,19,20,21,22,23,24,25,26,28,32,37,39,40,45,57,58],k=[10,28],b=[10,28,37,57,58],L=[2,49],w=[1,45],x=[1,48],D=[1,49],Y=[1,52],T=[2,65],A=[1,65],S=[1,66],E=[1,67],j=[1,68],C=[1,69],F=[1,70],O=[1,71],H=[1,72],P=[1,73],B=[8,16,17,18,19,20,21,22,23,24,25,26,47],N=[10,28,37],I={trace:function(){},yy:{},symbols_:{error:2,expressions:3,graph:4,EOF:5,graphStatement:6,idStatement:7,"{":8,stmt_list:9,"}":10,strict:11,GRAPH:12,DIGRAPH:13,textNoTags:14,textNoTagsToken:15,ALPHA:16,NUM:17,COLON:18,PLUS:19,EQUALS:20,MULT:21,DOT:22,BRKT:23,SPACE:24,MINUS:25,keywords:26,stmt:27,";":28,node_stmt:29,edge_stmt:30,attr_stmt:31,"=":32,subgraph:33,attr_list:34,NODE:35,EDGE:36,"[":37,a_list:38,"]":39,",":40,edgeRHS:41,node_id:42,edgeop:43,port:44,":":45,compass_pt:46,SUBGRAPH:47,n:48,ne:49,e:50,se:51,s:52,sw:53,w:54,nw:55,c:56,ARROW_POINT:57,ARROW_OPEN:58,$accept:0,$end:1},terminals_:{2:"error",5:"EOF",8:"{",10:"}",11:"strict",12:"GRAPH",13:"DIGRAPH",16:"ALPHA",17:"NUM",18:"COLON",19:"PLUS",20:"EQUALS",21:"MULT",22:"DOT",23:"BRKT",24:"SPACE",25:"MINUS",26:"keywords",28:";",32:"=",35:"NODE",36:"EDGE",37:"[",39:"]",40:",",45:":",47:"SUBGRAPH",48:"n",49:"ne",50:"e",51:"se",52:"s",53:"sw",54:"w",55:"nw",56:"c",57:"ARROW_POINT",58:"ARROW_OPEN"},productions_:[0,[3,2],[4,5],[4,6],[4,4],[6,1],[6,1],[7,1],[14,1],[14,2],[15,1],[15,1],[15,1],[15,1],[15,1],[15,1],[15,1],[15,1],[15,1],[15,1],[15,1],[9,1],[9,3],[27,1],[27,1],[27,1],[27,3],[27,1],[31,2],[31,2],[31,2],[34,4],[34,3],[34,3],[34,2],[38,5],[38,5],[38,3],[30,3],[30,3],[30,2],[30,2],[41,3],[41,3],[41,2],[41,2],[29,2],[29,1],[42,2],[42,1],[44,4],[44,2],[44,2],[33,5],[33,4],[33,3],[46,1],[46,1],[46,1],[46,1],[46,1],[46,1],[46,1],[46,1],[46,1],[46,0],[43,1],[43,1]],performAction:function(t,e,n,r,a,i,s){var o=i.length-1;switch(a){case 1:this.$=i[o-1];break;case 2:this.$=i[o-4];break;case 3:this.$=i[o-5];break;case 4:this.$=i[o-3];break;case 8:case 10:case 11:this.$=i[o];break;case 9:this.$=i[o-1]+""+i[o];break;case 12:case 13:case 14:case 15:case 16:case 18:case 19:case 20:this.$=i[o];break;case 17:this.$="<br>";break;case 39:this.$="oy";break;case 40:r.addLink(i[o-1],i[o].id,i[o].op),this.$="oy";break;case 42:r.addLink(i[o-1],i[o].id,i[o].op),this.$={op:i[o-2],id:i[o-1]};break;case 44:this.$={op:i[o-1],id:i[o]};break;case 48:r.addVertex(i[o-1]),this.$=i[o-1];break;case 49:r.addVertex(i[o]),this.$=i[o];break;case 66:this.$="arrow";break;case 67:this.$="arrow_open"}},table:[{3:1,4:2,6:3,11:[1,4],12:e,13:n},{1:[3]},{5:[1,7]},{7:8,8:[1,9],14:10,15:11,16:r,17:a,18:i,19:s,20:o,21:u,22:l,23:c,24:d,25:h,26:f},{6:23,12:e,13:n},t(_,[2,5]),t(_,[2,6]),{1:[2,1]},{8:[1,24]},{7:30,8:p,9:25,12:m,14:10,15:11,16:r,17:a,18:i,19:s,20:o,21:u,22:l,23:c,24:d,25:h,26:f,27:26,29:27,30:28,31:29,33:31,35:y,36:g,42:32,47:v},t([8,10,28,32,37,39,40,45,57,58],[2,7],{15:38,16:r,17:a,18:i,19:s,20:o,21:u,22:l,23:c,24:d,25:h,26:f}),t(M,[2,8]),t(M,[2,10]),t(M,[2,11]),t(M,[2,12]),t(M,[2,13]),t(M,[2,14]),t(M,[2,15]),t(M,[2,16]),t(M,[2,17]),t(M,[2,18]),t(M,[2,19]),t(M,[2,20]),{7:39,14:10,15:11,16:r,17:a,18:i,19:s,20:o,21:u,22:l,23:c,24:d,25:h,26:f},{7:30,8:p,9:40,12:m,14:10,15:11,16:r,17:a,18:i,19:s,20:o,21:u,22:l,23:c,24:d,25:h,26:f,27:26,29:27,30:28,31:29,33:31,35:y,36:g,42:32,47:v},{10:[1,41]},{10:[2,21],28:[1,42]},t(k,[2,23]),t(k,[2,24]),t(k,[2,25]),t(b,L,{44:44,32:[1,43],45:w}),t(k,[2,27],{41:46,43:47,57:x,58:D}),t(k,[2,47],{43:47,34:50,41:51,37:Y,57:x,58:D}),{34:53,37:Y},{34:54,37:Y},{34:55,37:Y},{7:56,8:[1,57],14:10,15:11,16:r,17:a,18:i,19:s,20:o,21:u,22:l,23:c,24:d,25:h,26:f},{7:30,8:p,9:58,12:m,14:10,15:11,16:r,17:a,18:i,19:s,20:o,21:u,22:l,23:c,24:d,25:h,26:f,27:26,29:27,30:28,31:29,33:31,35:y,36:g,42:32,47:v},t(M,[2,9]),{8:[1,59]},{10:[1,60]},{5:[2,4]},{7:30,8:p,9:61,12:m,14:10,15:11,16:r,17:a,18:i,19:s,20:o,21:u,22:l,23:c,24:d,25:h,26:f,27:26,29:27,30:28,31:29,33:31,35:y,36:g,42:32,47:v},{7:62,14:10,15:11,16:r,17:a,18:i,19:s,20:o,21:u,22:l,23:c,24:d,25:h,26:f},t(b,[2,48]),t(b,T,{14:10,15:11,7:63,46:64,16:r,17:a,18:i,19:s,20:o,21:u,22:l,23:c,24:d,25:h,26:f,48:A,49:S,50:E,51:j,52:C,53:F,54:O,55:H,56:P}),t(k,[2,41],{34:74,37:Y}),{7:77,8:p,14:10,15:11,16:r,17:a,18:i,19:s,20:o,21:u,22:l,23:c,24:d,25:h,26:f,33:76,42:75,47:v},t(B,[2,66]),t(B,[2,67]),t(k,[2,46]),t(k,[2,40],{34:78,37:Y}),{7:81,14:10,15:11,16:r,17:a,18:i,19:s,20:o,21:u,22:l,23:c,24:d,25:h,26:f,38:79,39:[1,80]},t(k,[2,28]),t(k,[2,29]),t(k,[2,30]),{8:[1,82]},{7:30,8:p,9:83,12:m,14:10,15:11,16:r,17:a,18:i,19:s,20:o,21:u,22:l,23:c,24:d,25:h,26:f,27:26,29:27,30:28,31:29,33:31,35:y,36:g,42:32,47:v},{10:[1,84]},{7:30,8:p,9:85,12:m,14:10,15:11,16:r,17:a,18:i,19:s,20:o,21:u,22:l,23:c,24:d,25:h,26:f,27:26,29:27,30:28,31:29,33:31,35:y,36:g,42:32,47:v},{5:[2,2]},{10:[2,22]},t(k,[2,26]),t(b,[2,51],{45:[1,86]}),t(b,[2,52]),t(b,[2,56]),t(b,[2,57]),t(b,[2,58]),t(b,[2,59]),t(b,[2,60]),t(b,[2,61]),t(b,[2,62]),t(b,[2,63]),t(b,[2,64]),t(k,[2,38]),t(N,[2,44],{43:47,41:87,57:x,58:D}),t(N,[2,45],{43:47,41:88,57:x,58:D}),t(b,L,{44:44,45:w}),t(k,[2,39]),{39:[1,89]},t(k,[2,34],{34:90,37:Y}),{32:[1,91]},{7:30,8:p,9:92,12:m,14:10,15:11,16:r,17:a,18:i,19:s,20:o,21:u,22:l,23:c,24:d,25:h,26:f,27:26,29:27,30:28,31:29,33:31,35:y,36:g,42:32,47:v},{10:[1,93]},t(b,[2,55]),{10:[1,94]},t(b,T,{46:95,48:A,49:S,50:E,51:j,52:C,53:F,54:O,55:H,56:P}),t(N,[2,42]),t(N,[2,43]),t(k,[2,33],{34:96,37:Y}),t(k,[2,32]),{7:97,14:10,15:11,16:r,17:a,18:i,19:s,20:o,21:u,22:l,23:c,24:d,25:h,26:f},{10:[1,98]},t(b,[2,54]),{5:[2,3]},t(b,[2,50]),t(k,[2,31]),{28:[1,99],39:[2,37],40:[1,100]},t(b,[2,53]),{7:81,14:10,15:11,16:r,17:a,18:i,19:s,20:o,21:u,22:l,23:c,24:d,25:h,26:f,38:101},{7:81,14:10,15:11,16:r,17:a,18:i,19:s,20:o,21:u,22:l,23:c,24:d,25:h,26:f,38:102},{39:[2,35]},{39:[2,36]}],defaultActions:{7:[2,1],41:[2,4],60:[2,2],61:[2,22],94:[2,3],101:[2,35],102:[2,36]},parseError:function(t,e){if(!e.recoverable){var n=function(t,e){this.message=t,this.hash=e};throw n.prototype=Error,new n(t,e)}this.trace(t)},parse:function(t){var e=this,n=[0],r=[],a=[null],i=[],s=this.table,o="",u=0,l=0,c=0,d=1,h=i.slice.call(arguments,1),f=Object.create(this.lexer),_={yy:{}};for(var p in this.yy)Object.prototype.hasOwnProperty.call(this.yy,p)&&(_.yy[p]=this.yy[p]);f.setInput(t,_.yy),_.yy.lexer=f,_.yy.parser=this,void 0===f.yylloc&&(f.yylloc={});var m=f.yylloc;i.push(m);var y=f.options&&f.options.ranges;"function"==typeof _.yy.parseError?this.parseError=_.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var g,v,M,k,b,L,w,x,D,Y,T={};;){if(M=n[n.length-1],this.defaultActions[M]?k=this.defaultActions[M]:(null==g&&(Y=void 0,"number"!=typeof(Y=r.pop()||f.lex()||d)&&(Y instanceof Array&&(Y=(r=Y).pop()),Y=e.symbols_[Y]||Y),g=Y),k=s[M]&&s[M][g]),void 0===k||!k.length||!k[0]){var A="";for(L in D=[],s[M])this.terminals_[L]&&2<L&&D.push("'"+this.terminals_[L]+"'");A=f.showPosition?"Parse error on line "+(u+1)+":\n"+f.showPosition()+"\nExpecting "+D.join(", ")+", got '"+(this.terminals_[g]||g)+"'":"Parse error on line "+(u+1)+": Unexpected "+(g==d?"end of input":"'"+(this.terminals_[g]||g)+"'"),this.parseError(A,{text:f.match,token:this.terminals_[g]||g,line:f.yylineno,loc:m,expected:D})}if(k[0]instanceof Array&&1<k.length)throw new Error("Parse Error: multiple actions possible at state: "+M+", token: "+g);switch(k[0]){case 1:n.push(g),a.push(f.yytext),i.push(f.yylloc),n.push(k[1]),g=null,v?(g=v,v=null):(l=f.yyleng,o=f.yytext,u=f.yylineno,m=f.yylloc,0<c&&c--);break;case 2:if(w=this.productions_[k[1]][1],T.$=a[a.length-w],T._$={first_line:i[i.length-(w||1)].first_line,last_line:i[i.length-1].last_line,first_column:i[i.length-(w||1)].first_column,last_column:i[i.length-1].last_column},y&&(T._$.range=[i[i.length-(w||1)].range[0],i[i.length-1].range[1]]),void 0!==(b=this.performAction.apply(T,[o,l,u,_.yy,k[1],a,i].concat(h))))return b;w&&(n=n.slice(0,-1*w*2),a=a.slice(0,-1*w),i=i.slice(0,-1*w)),n.push(this.productions_[k[1]][0]),a.push(T.$),i.push(T._$),x=s[n[n.length-2]][n[n.length-1]],n.push(x);break;case 3:return!0}}return!0}},R={EOF:1,parseError:function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e)},setInput:function(t,e){return this.yy=e||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},unput:function(t){var e=t.length,n=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var r=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var a=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===r.length?this.yylloc.first_column:0)+r[r.length-n.length].length-n[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[a[0],a[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(t){this.unput(this.match.slice(t))},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(20<t.length?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(20<t.length?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),e=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},test_match:function(t,e){var n,r,a;if(this.options.backtrack_lexer&&(a={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(a.yylloc.range=this.yylloc.range.slice(0))),(r=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=r.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:r?r[r.length-1].length-r[r.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],n=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var i in a)this[i]=a[i];return!1}return!1},next:function(){if(this.done)return this.EOF;var t,e,n,r;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var a=this._currentRules(),i=0;i<a.length;i++)if((n=this._input.match(this.rules[a[i]]))&&(!e||n[0].length>e[0].length)){if(e=n,r=i,this.options.backtrack_lexer){if(!1!==(t=this.test_match(n,a[i])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,a[r]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var t=this.next();return t||this.lex()},begin:function(t){this.conditionStack.push(t)},popState:function(){return 0<this.conditionStack.length-1?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(t){return 0<=(t=this.conditionStack.length-1-Math.abs(t||0))?this.conditionStack[t]:"INITIAL"},pushState:function(t){this.begin(t)},stateStackSize:function(){return this.conditionStack.length},options:{},performAction:function(t,e,n,r){switch(n){case 0:return"STYLE";case 1:return"LINKSTYLE";case 2:return"CLASSDEF";case 3:return"CLASS";case 4:return"CLICK";case 5:return 12;case 6:return 13;case 7:return 47;case 8:return 35;case 9:return 36;case 10:case 11:case 12:case 13:case 14:case 15:return"DIR";case 16:return 17;case 17:return 23;case 18:return 18;case 19:return 28;case 20:return 40;case 21:return 32;case 22:return 21;case 23:return 22;case 24:return"ARROW_CROSS";case 25:return 57;case 26:return"ARROW_CIRCLE";case 27:return 58;case 28:return 25;case 29:return 19;case 30:return 20;case 31:return 16;case 32:return"PIPE";case 33:return"PS";case 34:return"PE";case 35:return 37;case 36:return 39;case 37:return 8;case 38:return 10;case 39:return"QUOTE";case 40:return 24;case 41:return"NEWLINE";case 42:return 5}},rules:[/^(?:style\b)/,/^(?:linkStyle\b)/,/^(?:classDef\b)/,/^(?:class\b)/,/^(?:click\b)/,/^(?:graph\b)/,/^(?:digraph\b)/,/^(?:subgraph\b)/,/^(?:node\b)/,/^(?:edge\b)/,/^(?:LR\b)/,/^(?:RL\b)/,/^(?:TB\b)/,/^(?:BT\b)/,/^(?:TD\b)/,/^(?:BR\b)/,/^(?:[0-9])/,/^(?:#)/,/^(?::)/,/^(?:;)/,/^(?:,)/,/^(?:=)/,/^(?:\*)/,/^(?:\.)/,/^(?:--[x])/,/^(?:->)/,/^(?:--[o])/,/^(?:--)/,/^(?:-)/,/^(?:\+)/,/^(?:=)/,/^(?:[\u0021-\u0027\u002A-\u002E\u003F\u0041-\u005A\u0061-\u007A\u00AA\u00B5\u00BA\u00C0-\u00D6\u00D8-\u00F6]|[\u00F8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377]|[\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5]|[\u03F7-\u0481\u048A-\u0527\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA]|[\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE]|[\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA]|[\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0]|[\u08A2-\u08AC\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0977]|[\u0979-\u097F\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2]|[\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A]|[\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39]|[\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8]|[\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0B05-\u0B0C]|[\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C]|[\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99]|[\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0]|[\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C3D]|[\u0C58\u0C59\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3]|[\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10]|[\u0D12-\u0D3A\u0D3D\u0D4E\u0D60\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1]|[\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81]|[\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3]|[\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6]|[\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A]|[\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081]|[\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D]|[\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0]|[\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310]|[\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F4\u1401-\u166C]|[\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u1700-\u170C\u170E-\u1711]|[\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7]|[\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191C]|[\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19C1-\u19C7\u1A00-\u1A16]|[\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF]|[\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC]|[\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D]|[\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D]|[\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3]|[\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F]|[\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128]|[\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184]|[\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3]|[\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6]|[\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE]|[\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C]|[\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D]|[\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FCC]|[\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B]|[\uA640-\uA66E\uA67F-\uA697\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788]|[\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA801\uA803-\uA805]|[\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB]|[\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uAA00-\uAA28]|[\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA80-\uAAAF\uAAB1\uAAB5]|[\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4]|[\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E]|[\uABC0-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D]|[\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36]|[\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D]|[\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC]|[\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF]|[\uFFD2-\uFFD7\uFFDA-\uFFDC_])/,/^(?:\|)/,/^(?:\()/,/^(?:\))/,/^(?:\[)/,/^(?:\])/,/^(?:\{)/,/^(?:\})/,/^(?:")/,/^(?:\s)/,/^(?:\n)/,/^(?:$)/],conditions:{INITIAL:{rules:[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42],inclusive:!0}}};function z(){this.yy={}}return I.lexer=R,new((z.prototype=I).Parser=z)}();r.parser=e,r.Parser=e.Parser,r.parse=function(){return e.parse.apply(e,arguments)},r.main=function(t){t[1]||(console.log("Usage: "+t[0]+" FILE"),n.exit(1));var e=a(8).readFileSync(a(9).normalize(t[1]),"utf8");return r.parser.parse(e)},void 0!==t&&a.c[a.s]===t&&r.main(n.argv.slice(1))}).call(r,a(7),a(3)(t))},function(t,e,n){var r;r=function(t,e){return function(n){var r={};function a(t){if(r[t])return r[t].exports;var e=r[t]={i:t,l:!1,exports:{}};return n[t].call(e.exports,e,e.exports,a),e.l=!0,e.exports}return a.m=n,a.c=r,a.d=function(t,e,n){a.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:n})},a.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return a.d(e,"a",e),e},a.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},a.p="",a(a.s=5)}([function(t,e){t.exports=n(19)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.addDummyNode=s,e.simplify=u,e.asNonCompoundGraph=l,e.successorWeights=c,e.predecessorWeights=d,e.intersectRect=h,e.buildLayerMatrix=f,e.normalizeRanks=_,e.removeEmptyRanks=p,e.addBorderNode=m,e.maxRank=y,e.partition=g,e.time=v,e.notime=M;var r,a=n(0),o=(r=a)&&r.__esModule?r:{default:r},i=n(2);function s(t,e,n,r){for(var a=void 0;a=o.default.uniqueId(r),t.hasNode(a););return n.dummy=e,t.setNode(a,n),a}function u(r){var a=(new i.Graph).setGraph(r.graph());return o.default.each(r.nodes(),function(t){a.setNode(t,r.node(t))}),o.default.each(r.edges(),function(t){var e=a.edge(t.v,t.w)||{weight:0,minlen:1},n=r.edge(t);a.setEdge(t.v,t.w,{weight:e.weight+n.weight,minlen:Math.max(e.minlen,n.minlen)})}),a}function l(e){var n=new i.Graph({multigraph:e.isMultigraph()}).setGraph(e.graph());return o.default.each(e.nodes(),function(t){e.children(t).length||n.setNode(t,e.node(t))}),o.default.each(e.edges(),function(t){n.setEdge(t,e.edge(t))}),n}function c(n){var t=o.default.map(n.nodes(),function(t){var e={};return o.default.each(n.outEdges(t),function(t){e[t.w]=(e[t.w]||0)+n.edge(t).weight}),e});return o.default.zipObject(n.nodes(),t)}function d(n){var t=o.default.map(n.nodes(),function(t){var e={};return o.default.each(n.inEdges(t),function(t){e[t.v]=(e[t.v]||0)+n.edge(t).weight}),e});return o.default.zipObject(n.nodes(),t)}function h(t,e){var n=t.x,r=t.y,a=e.x-n,i=e.y-r,s=t.width/2,o=t.height/2;if(!a&&!i)throw new Error("Not possible to find intersection inside of the rectangle");var u=void 0,l=void 0;return Math.abs(i)*s>Math.abs(a)*o?(i<0&&(o=-o),u=o*a/i,l=o):(a<0&&(s=-s),l=(u=s)*i/a),{x:n+u,y:r+l}}function f(r){var a=o.default.map(o.default.range(y(r)+1),function(){return[]});return o.default.each(r.nodes(),function(t){var e=r.node(t),n=e.rank;o.default.isUndefined(n)||(a[n][e.order]=t)}),a}function _(n){var r=o.default.min(o.default.map(n.nodes(),function(t){return n.node(t).rank}));o.default.each(n.nodes(),function(t){var e=n.node(t);o.default.has(e,"rank")&&(e.rank-=r)})}function p(n){var r=o.default.min(o.default.map(n.nodes(),function(t){return n.node(t).rank})),a=[];o.default.each(n.nodes(),function(t){var e=n.node(t).rank-r;a[e]||(a[e]=[]),a[e].push(t)});var i=0,s=n.graph().nodeRankFactor;o.default.each(a,function(t,e){o.default.isUndefined(t)&&e%s!=0?--i:i&&o.default.each(t,function(t){n.node(t).rank+=i})})}function m(t,e,n,r){var a={width:0,height:0};return 4<=arguments.length&&(a.rank=n,a.order=r),s(t,"border",a,e)}function y(n){return o.default.max(o.default.map(n.nodes(),function(t){var e=n.node(t).rank;if(!o.default.isUndefined(e))return e}))}function g(t,e){var n={lhs:[],rhs:[]};return o.default.each(t,function(t){e(t)?n.lhs.push(t):n.rhs.push(t)}),n}function v(t,e){var n=o.default.now();try{return e()}finally{console.log(t+" time: "+(o.default.now()-n)+"ms")}}function M(t,e){return e()}e.default={addDummyNode:s,simplify:u,asNonCompoundGraph:l,successorWeights:c,predecessorWeights:d,intersectRect:h,buildLayerMatrix:f,normalizeRanks:_,removeEmptyRanks:p,addBorderNode:m,maxRank:y,partition:g,time:v,notime:M}},function(t,e){t.exports=n(29)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.longestPath=i,e.slack=o;var r,a=n(0),s=(r=a)&&r.__esModule?r:{default:r};function i(a){var i={};s.default.each(a.sources(),function e(t){var n=a.node(t);if(s.default.has(i,t))return n.rank;i[t]=!0;var r=s.default.min(s.default.map(a.outEdges(t),function(t){return e(t.w)-a.edge(t).minlen}))||0;return n.rank=r})}function o(t,e){return t.node(e.w).rank-t.node(e.v).rank-t.edge(e).minlen}e.default={longestPath:i,slack:o}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r,a=n(0),o=(r=a)&&r.__esModule?r:{default:r},i=n(2),u=n(3);function s(i,s){return o.default.each(i.nodes(),function r(a){o.default.each(s.nodeEdges(a),function(t){var e=t.v,n=a===e?t.w:e;i.hasNode(n)||(0,u.slack)(s,t)||(i.setNode(n,{}),i.setEdge(a,n,{}),r(n))})}),i.nodeCount()}function l(e,n){return o.default.minBy(n.edges(),function(t){if(e.hasNode(t.v)!==e.hasNode(t.w))return(0,u.slack)(n,t)})}function c(t,e,n){o.default.each(t.nodes(),function(t){e.node(t).rank+=n})}e.default=function(t){var e=new i.Graph({directed:!1}),n=t.nodes()[0],r=t.nodeCount();e.setNode(n,{});for(var a=void 0;s(e,t)<r;)a=l(e,t),c(e,t,e.hasNode(a.v)?(0,u.slack)(t,a):-(0,u.slack)(t,a));return e}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=u(n(2)),a=u(n(6)),i=u(n(28)),s=u(n(1)),o=n(29);function u(t){return t&&t.__esModule?t:{default:t}}e.default={graphlib:r.default,layout:a.default,debug:i.default,util:{time:s.default.time,notime:s.default.notime},version:o.version}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var l=r(n(0)),a=n(2),i=r(n(7)),s=r(n(10)),o=r(n(11)),u=n(1),c=r(u),d=r(n(13)),h=r(n(14)),f=r(n(15)),_=r(n(16)),p=r(n(17)),m=r(n(26));function r(t){return t&&t.__esModule?t:{default:t}}var y=["nodesep","edgesep","ranksep","marginx","marginy"],g={ranksep:50,edgesep:20,nodesep:50,rankdir:"tb"},v=["acyclicer","ranker","rankdir","align"],M=["width","height"],k={width:0,height:0},b=["minlen","weight","width","height","labeloffset"],L={minlen:1,weight:1,width:0,height:0,labeloffset:10,labelpos:"r"},w=["labelpos"];function x(t,e){return l.default.mapValues(l.default.pick(t,e),Number)}function D(t){var n={};return l.default.each(t,function(t,e){n[e.toLowerCase()]=t}),n}e.default=function(e,t){var r=t&&t.debugTiming?c.default.time:c.default.notime;r("layout",function(){var n=r(" buildLayoutGraph",function(){return n=e,r=new a.Graph({multigraph:!0,compound:!0}),t=D(n.graph()),r.setGraph(l.default.merge({},g,x(t,y),l.default.pick(t,v))),l.default.each(n.nodes(),function(t){var e=D(n.node(t));r.setNode(t,l.default.defaults(x(e,M),k)),r.setParent(t,n.parent(t))}),l.default.each(n.edges(),function(t){var e=D(n.edge(t));r.setEdge(t,l.default.merge({},L,x(e,b),l.default.pick(e,w)))}),r;var n,r,t});r(" runLayout",function(){var e,t;e=n,(t=r)(" makeSpaceForEdgeLabels",function(){var n,r;(r=(n=e).graph()).ranksep/=2,l.default.each(n.edges(),function(t){var e=n.edge(t);e.minlen*=2,"c"!==e.labelpos.toLowerCase()&&("TB"===r.rankdir||"BT"===r.rankdir?e.width+=e.labeloffset:e.height+=e.labeloffset)})}),t(" removeSelfEdges",function(){var n;n=e,l.default.each(n.edges(),function(t){if(t.v===t.w){var e=n.node(t.v);e.selfEdges||(e.selfEdges=[]),e.selfEdges.push({e:t,label:n.edge(t)}),n.removeEdge(t)}})}),t(" acyclic",function(){i.default.run(e)}),t(" nestingGraph.run",function(){h.default.run(e)}),t(" rank",function(){(0,o.default)(c.default.asNonCompoundGraph(e))}),t(" injectEdgeLabelProxies",function(){var i;i=e,l.default.each(i.edges(),function(t){var e=i.edge(t);if(e.width&&e.height){var n=i.node(t.v),r=i.node(t.w),a={rank:(r.rank-n.rank)/2+n.rank,e:t};c.default.addDummyNode(i,"edge-proxy",a,"_ep")}})}),t(" removeEmptyRanks",function(){(0,u.removeEmptyRanks)(e)}),t(" nestingGraph.cleanup",function(){h.default.cleanup(e)}),t(" normalizeRanks",function(){(0,u.normalizeRanks)(e)}),t(" assignRankMinMax",function(){var n,r;n=e,r=0,l.default.each(n.nodes(),function(t){var e=n.node(t);e.borderTop&&(e.minRank=n.node(e.borderTop).rank,e.maxRank=n.node(e.borderBottom).rank,r=Math.max(r,e.maxRank))}),n.graph().maxRank=r}),t(" removeEdgeLabelProxies",function(){var n;n=e,l.default.each(n.nodes(),function(t){var e=n.node(t);"edge-proxy"===e.dummy&&(n.edge(e.e).labelRank=e.rank,n.removeNode(t))})}),t(" normalize.run",function(){s.default.run(e)}),t(" parentDummyChains",function(){(0,d.default)(e)}),t(" addBorderSegments",function(){(0,f.default)(e)}),t(" order",function(){(0,p.default)(e)}),t(" insertSelfEdges",function(){var a,t;a=e,t=c.default.buildLayerMatrix(a),l.default.each(t,function(t){var r=0;l.default.each(t,function(t,e){var n=a.node(t);n.order=e+r,l.default.each(n.selfEdges,function(t){c.default.addDummyNode(a,"selfedge",{width:t.label.width,height:t.label.height,rank:n.rank,order:e+ ++r,e:t.e,label:t.label},"_se")}),delete n.selfEdges})})}),t(" adjustCoordinateSystem",function(){_.default.adjust(e)}),t(" position",function(){(0,m.default)(e)}),t(" positionSelfEdges",function(){var o;o=e,l.default.each(o.nodes(),function(t){var e=o.node(t);if("selfedge"===e.dummy){var n=o.node(e.e.v),r=n.x+n.width/2,a=n.y,i=e.x-r,s=n.height/2;o.setEdge(e.e,e.label),o.removeNode(t),e.label.points=[{x:r+2*i/3,y:a-s},{x:r+5*i/6,y:a-s},{x:r+i,y:a},{x:r+5*i/6,y:a+s},{x:r+2*i/3,y:a+s}],e.label.x=e.x,e.label.y=e.y}})}),t(" removeBorderNodes",function(){var s;s=e,l.default.each(s.nodes(),function(t){if(s.children(t).length){var e=s.node(t),n=s.node(e.borderTop),r=s.node(e.borderBottom),a=s.node(l.default.last(e.borderLeft)),i=s.node(l.default.last(e.borderRight));e.width=Math.abs(i.x-a.x),e.height=Math.abs(r.y-n.y),e.x=a.x+e.width/2,e.y=n.y+e.height/2}}),l.default.each(s.nodes(),function(t){"border"===s.node(t).dummy&&s.removeNode(t)})}),t(" normalize.undo",function(){s.default.undo(e)}),t(" fixupEdgeLabelCoords",function(){var n;n=e,l.default.each(n.edges(),function(t){var e=n.edge(t);if(l.default.has(e,"x"))switch("l"!==e.labelpos&&"r"!==e.labelpos||(e.width-=e.labeloffset),e.labelpos){case"l":e.x-=e.width/2+e.labeloffset;break;case"r":e.x+=e.width/2+e.labeloffset}})}),t(" undoCoordinateSystem",function(){_.default.undo(e)}),t(" translateGraph",function(){!function(n){var i=Number.POSITIVE_INFINITY,s=0,o=Number.POSITIVE_INFINITY,u=0,t=n.graph(),e=t.marginx||0,r=t.marginy||0;function a(t){var e=t.x,n=t.y,r=t.width,a=t.height;i=Math.min(i,e-r/2),s=Math.max(s,e+r/2),o=Math.min(o,n-a/2),u=Math.max(u,n+a/2)}l.default.each(n.nodes(),function(t){a(n.node(t))}),l.default.each(n.edges(),function(t){var e=n.edge(t);l.default.has(e,"x")&&a(e)}),i-=e,o-=r,l.default.each(n.nodes(),function(t){var e=n.node(t);e.x-=i,e.y-=o}),l.default.each(n.edges(),function(t){var e=n.edge(t);l.default.each(e.points,function(t){t.x-=i,t.y-=o}),l.default.has(e,"x")&&(e.x-=i),l.default.has(e,"y")&&(e.y-=o)}),t.width=s-i+e,t.height=u-o+r}(e)}),t(" assignNodeIntersects",function(){var s;s=e,l.default.each(s.edges(),function(t){var e=s.edge(t),n=s.node(t.v),r=s.node(t.w),a=null,i=null;e.points?(a=e.points[0],i=e.points[e.points.length-1]):(e.points=[],a=r,i=n),e.points.unshift(c.default.intersectRect(n,a)),e.points.push(c.default.intersectRect(r,i))})}),t(" reversePoints",function(){var n;n=e,l.default.each(n.edges(),function(t){var e=n.edge(t);e.reversed&&e.points.reverse()})}),t(" acyclic.undo",function(){i.default.undo(e)})}),r(" updateInputGraph",function(){var r,a;r=e,a=n,l.default.each(r.nodes(),function(t){var e=r.node(t),n=a.node(t);e&&(e.x=n.x,e.y=n.y,a.children(t).length&&(e.width=n.width,e.height=n.height))}),l.default.each(r.edges(),function(t){var e=r.edge(t),n=a.edge(t);e.points=n.points,l.default.has(n,"x")&&(e.x=n.x,e.y=n.y)}),r.graph().width=a.graph().width,r.graph().height=a.graph().height})})}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=r(n(0)),u=r(n(8));function r(t){return t&&t.__esModule?t:{default:t}}e.default={run:function(n){var r,a,i,s,e,t="greedy"===n.graph().acyclicer?(0,u.default)(n,(e=n,function(t){return e.edge(t).weight})):(r=n,a=[],i={},s={},o.default.each(r.nodes(),function e(t){o.default.has(s,t)||(s[t]=!0,i[t]=!0,o.default.each(r.outEdges(t),function(t){o.default.has(i,t.w)?a.push(t):e(t.w)}),delete i[t])}),a);o.default.each(t,function(t){var e=n.edge(t);n.removeEdge(t),e.forwardName=t.name,e.reversed=!0,n.setEdge(t.w,t.v,e,o.default.uniqueId("rev"))})},undo:function(r){o.default.each(r.edges(),function(t){var e=r.edge(t);if(e.reversed){r.removeEdge(t);var n=e.forwardName;delete e.reversed,delete e.forwardName,r.setEdge(t.w,t.v,e,n)}})}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var u=r(n(0)),l=n(2),c=r(n(9));function r(t){return t&&t.__esModule?t:{default:t}}var a=u.default.constant(1);function d(a,i,s,t,r){var o=r?[]:void 0;return u.default.each(a.inEdges(t.v),function(t){var e=a.edge(t),n=a.node(t.v);r&&o.push({v:t.v,w:t.w}),n.out-=e,h(i,s,n)}),u.default.each(a.outEdges(t.v),function(t){var e=a.edge(t),n=t.w,r=a.node(n);r.in-=e,h(i,s,r)}),a.removeNode(t.v),o}function h(t,e,n){n.out?n.in?t[n.out-n.in+e].enqueue(n):t[t.length-1].enqueue(n):t[0].enqueue(n)}e.default=function(e,t){if(e.nodeCount()<=1)return[];var n=function(t,a){var i=new l.Graph,s=0,o=0;u.default.each(t.nodes(),function(t){i.setNode(t,{v:t,in:0,out:0})}),u.default.each(t.edges(),function(t){var e=i.edge(t.v,t.w)||0,n=a(t),r=e+n;i.setEdge(t.v,t.w,r),o=Math.max(o,i.node(t.v).out+=n),s=Math.max(s,i.node(t.w).in+=n)});var e=u.default.range(o+s+3).map(function(){return new c.default}),n=s+1;return u.default.each(i.nodes(),function(t){h(e,n,i.node(t))}),{graph:i,buckets:e,zeroIdx:n}}(e,t||a),r=function(t,e,n){for(var r=[],a=e[e.length-1],i=e[0],s=void 0;t.nodeCount();){for(;s=i.dequeue();)d(t,e,n,s);for(;s=a.dequeue();)d(t,e,n,s);if(t.nodeCount())for(var o=e.length-2;0<o;--o)if(s=e[o].dequeue()){r=r.concat(d(t,e,n,s,!0));break}}return r}(n.graph,n.buckets,n.zeroIdx);return u.default.flatten(u.default.map(r,function(t){return e.outEdges(t.v,t.w)}),!0)}},function(t,e,n){"use strict";function r(){var t={};t._next=t._prev=t,this._sentinel=t}function a(t){t._prev._next=t._next,t._next._prev=t._prev,delete t._next,delete t._prev}function i(t,e){if("_next"!==t&&"_prev"!==t)return e}Object.defineProperty(e,"__esModule",{value:!0}),r.prototype.dequeue=function(){var t=this._sentinel,e=t._prev;if(e!==t)return a(e),e},r.prototype.enqueue=function(t){var e=this._sentinel;t._prev&&t._next&&a(t),t._next=e._next,e._next._prev=t,(e._next=t)._prev=e},r.prototype.toString=function(){for(var t=[],e=this._sentinel,n=e._prev;n!==e;)t.push(JSON.stringify(n,i)),n=n._prev;return"["+t.join(", ")+"]"},e.default=r},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=a(n(0)),h=a(n(1));function a(t){return t&&t.__esModule?t:{default:t}}e.default={run:function(e){e.graph().dummyChains=[],r.default.each(e.edges(),function(t){!function(t,e){var n=e.v,r=t.node(n).rank,a=e.w,i=t.node(a).rank,s=e.name,o=t.edge(e),u=o.labelRank;if(i!==r+1){t.removeEdge(e);var l=void 0,c=void 0,d=void 0;for(d=0,++r;r<i;++d,++r)o.points=[],c={width:0,height:0,edgeLabel:o,edgeObj:e,rank:r},l=h.default.addDummyNode(t,"edge",c,"_d"),r===u&&(c.width=o.width,c.height=o.height,c.dummy="edge-label",c.labelpos=o.labelpos),t.setEdge(n,l,{weight:o.weight},s),0===d&&t.graph().dummyChains.push(l),n=l;t.setEdge(n,a,{weight:o.weight},s)}}(e,t)})},undo:function(a){r.default.each(a.graph().dummyChains,function(t){var e=a.node(t),n=e.edgeLabel,r=null;for(a.setEdge(e.edgeObj,n);e.dummy;)r=a.successors(t)[0],a.removeNode(t),n.points.push({x:e.x,y:e.y}),"edge-label"===e.dummy&&(n.x=e.x,n.y=e.y,n.width=e.width,n.height=e.height),t=r,e=a.node(t)})}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(3),a=s(n(4)),i=s(n(12));function s(t){return t&&t.__esModule?t:{default:t}}var o=r.longestPath;function u(t){(0,i.default)(t)}e.default=function(t){switch(t.graph().ranker){case"network-simplex":u(t);break;case"tight-tree":e=t,(0,r.longestPath)(e),(0,a.default)(e);break;case"longest-path":o(t);break;default:u(t)}var e}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var _=s(n(0)),r=n(2),a=s(n(4)),c=n(3),i=n(1);function s(t){return t&&t.__esModule?t:{default:t}}var d=r.alg.preorder,o=r.alg.postorder;function u(t){t=(0,i.simplify)(t),(0,c.longestPath)(t);var e=(0,a.default)(t);f(e),h(e,t);for(var n=void 0;n=p(e);)y(e,t,n,m(e,t,n))}function h(i,s){var t=o(i,i.nodes());t=t.slice(0,t.length-1),_.default.each(t,function(t){var e,n,r,a;n=s,r=t,a=(e=i).node(r).parent,e.edge(r,a).cutvalue=l(e,n,r)})}function l(u,l,c){var d=u.node(c).parent,h=!0,t=l.edge(c,d),f=0;return t||(h=!1,t=l.edge(d,c)),f=t.weight,_.default.each(l.nodeEdges(c),function(t){var e,n,r=t.v===c,a=r?t.w:t.v;if(a!==d){var i=r===h,s=l.edge(t).weight;if(f+=i?s:-s,e=c,n=a,u.hasEdge(e,n)){var o=u.edge(c,a).cutvalue;f+=i?-o:o}}}),f}function f(t,e){arguments.length<2&&(e=t.nodes()[0]),function e(n,r,a,i,t){var s=a;var o=n.node(i);r[i]=!0;_.default.each(n.neighbors(i),function(t){_.default.has(r,t)||(a=e(n,r,a,t,i))});o.low=s;o.lim=a++;t?o.parent=t:delete o.parent;return a}(t,{},1,e)}function p(e){return _.default.find(e.edges(),function(t){return e.edge(t).cutvalue<0})}function m(e,n,t){var r=t.v,a=t.w;n.hasEdge(r,a)||(r=t.w,a=t.v);var i=e.node(r),s=e.node(a),o=i,u=!1;i.lim>s.lim&&(o=s,u=!0);var l=_.default.filter(n.edges(),function(t){return u===g(e,e.node(t.v),o)&&u!==g(e,e.node(t.w),o)});return _.default.minBy(l,function(t){return(0,c.slack)(n,t)})}function y(t,e,n,r){var a,i,s,o,u=n.v,l=n.w;t.removeEdge(u,l),t.setEdge(r.v,r.w,{}),f(t),h(t,e),a=t,i=e,s=_.default.find(a.nodes(),function(t){return!i.node(t).parent}),o=(o=d(a,s)).slice(1),_.default.each(o,function(t){var e=a.node(t).parent,n=i.edge(t,e),r=!1;n||(n=i.edge(e,t),r=!0),i.node(t).rank=i.node(e).rank+(r?n.minlen:-n.minlen)})}function g(t,e,n){return n.low<=e.lim&&e.lim<=n.lim}u.initLowLimValues=f,u.initCutValues=h,u.calcCutValue=l,u.leaveEdge=p,u.enterEdge=m,u.exchangeEdges=y,e.default=u},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r,a=n(0),s=(r=a)&&r.__esModule?r:{default:r};e.default=function(l){var r,a,i,c=(r=l,a={},i=0,s.default.each(r.children(),function t(e){var n=i;s.default.each(r.children(e),t),a[e]={low:n,lim:i++}}),a);s.default.each(l.graph().dummyChains,function(t){for(var e=l.node(t),n=e.edgeObj,r=function(t,e,n,r){var a=[],i=[],s=Math.min(e[n].low,e[r].low),o=Math.max(e[n].lim,e[r].lim),u=void 0,l=void 0;for(u=n;u=t.parent(u),a.push(u),u&&(e[u].low>s||o>e[u].lim););for(l=u,u=r;(u=t.parent(u))!==l;)i.push(u);return{path:a.concat(i.reverse()),lca:l}}(l,c,n.v,n.w),a=r.path,i=r.lca,s=0,o=a[s],u=!0;t!==n.w;){if(e=l.node(t),u){for(;(o=a[s])!==i&&l.node(o).maxRank<e.rank;)s++;o===i&&(u=!1)}if(!u){for(;s<a.length-1&&l.node(o=a[s+1]).minRank<=e.rank;)s++;o=a[s]}l.setParent(t,o),t=l.successors(t)[0]}})}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var m=r(n(0)),y=r(n(1));function r(t){return t&&t.__esModule?t:{default:t}}e.default={run:function(e){var a,i,n=y.default.addDummyNode(e,"root",{},"_root"),r=(a=e,i={},m.default.each(a.children(),function(t){!function e(t,n){var r=a.children(t);r&&r.length&&m.default.each(r,function(t){e(t,n+1)}),i[t]=n}(t,1)}),i),s=m.default.max(m.default.values(r))-1,o=2*s+1;e.graph().nestingRoot=n,m.default.each(e.edges(),function(t){e.edge(t).minlen*=o});var u,l=(u=e,m.default.reduce(u.edges(),function(t,e){return t+u.edge(e).weight},0)+1);m.default.each(e.children(),function(t){!function s(o,u,l,c,d,h,f){var t=o.children(f);if(t.length){var _=y.default.addBorderNode(o,"_bt"),p=y.default.addBorderNode(o,"_bb"),e=o.node(f);o.setParent(_,f),e.borderTop=_,o.setParent(p,f),e.borderBottom=p,m.default.each(t,function(t){s(o,u,l,c,d,h,t);var e=o.node(t),n=e.borderTop?e.borderTop:t,r=e.borderBottom?e.borderBottom:t,a=e.borderTop?c:2*c,i=n!==r?1:d-h[f]+1;o.setEdge(_,n,{weight:a,minlen:i,nestingEdge:!0}),o.setEdge(r,p,{weight:a,minlen:i,nestingEdge:!0})}),o.parent(f)||o.setEdge(u,_,{weight:0,minlen:d+h[f]})}else f!==u&&o.setEdge(u,f,{weight:0,minlen:l})}(e,n,o,l,s,r,t)}),e.graph().nodeRankFactor=o},cleanup:function(e){var t=e.graph();e.removeNode(t.nestingRoot),delete t.nestingRoot,m.default.each(e.edges(),function(t){e.edge(t).nestingEdge&&e.removeEdge(t)})}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=r(n(0)),l=r(n(1));function r(t){return t&&t.__esModule?t:{default:t}}function u(t,e,n,r,a,i){var s={width:0,height:0,rank:i,borderType:e},o=a[e][i-1],u=l.default.addDummyNode(t,"border",s,n);a[e][i]=u,t.setParent(u,r),o&&t.setEdge(o,u,{weight:1})}e.default=function(s){o.default.each(s.children(),function t(e){var n=s.children(e),r=s.node(e);if(n.length&&o.default.each(n,t),o.default.has(r,"minRank")){r.borderLeft=[],r.borderRight=[];for(var a=r.minRank,i=r.maxRank+1;a<i;++a)u(s,"borderLeft","_bl",e,r,a),u(s,"borderRight","_br",e,r,a)}})}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r,a=n(0),i=(r=a)&&r.__esModule?r:{default:r};function s(e){i.default.each(e.nodes(),function(t){o(e.node(t))}),i.default.each(e.edges(),function(t){o(e.edge(t))})}function o(t){var e=t.width;t.width=t.height,t.height=e}function u(t){t.y=-t.y}function l(t){var e=t.x;t.x=t.y,t.y=e}e.default={adjust:function(t){var e=t.graph().rankdir.toLowerCase();"lr"!==e&&"rl"!==e||s(t)},undo:function(t){var n,r,e=t.graph().rankdir.toLowerCase();"bt"!==e&&"rl"!==e||(n=t,i.default.each(n.nodes(),function(t){u(n.node(t))}),i.default.each(n.edges(),function(t){var e=n.edge(t);i.default.each(e.points,u),i.default.has(e,"y")&&u(e)})),"lr"!==e&&"rl"!==e||(r=t,i.default.each(r.nodes(),function(t){l(r.node(t))}),i.default.each(r.edges(),function(t){var e=r.edge(t);i.default.each(e.points,l),i.default.has(e,"x")&&l(e)}),s(t))}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var c=a(n(0)),i=n(2),d=a(n(18)),h=a(n(19)),s=a(n(20)),r=a(n(24)),o=a(n(25)),f=a(n(1));function a(t){return t&&t.__esModule?t:{default:t}}function _(e,t,n){return c.default.map(t,function(t){return(0,r.default)(e,t,n)})}function p(t,r){var a=new i.Graph;c.default.each(t,function(n){var t=n.graph().root,e=(0,s.default)(n,t,a,r);c.default.each(e.vs,function(t,e){n.node(t).order=e}),(0,o.default)(n,a,e.vs)})}function m(n,t){c.default.each(t,function(t){c.default.each(t,function(t,e){n.node(t).order=e})})}e.default=function(t){var e=f.default.maxRank(t),n=_(t,c.default.range(1,e+1),"inEdges"),r=_(t,c.default.range(e-1,-1,-1),"outEdges"),a=(0,d.default)(t);m(t,a);for(var i=Number.POSITIVE_INFINITY,s=void 0,o=0,u=0;u<4;++o,++u){p(o%2?n:r,2<=o%4),a=f.default.buildLayerMatrix(t);var l=(0,h.default)(t,a);l<i&&(u=0,s=c.default.cloneDeep(a),i=l)}m(t,s)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r,a=n(0),s=(r=a)&&r.__esModule?r:{default:r};e.default=function(r){var a={},t=s.default.filter(r.nodes(),function(t){return!r.children(t).length}),e=s.default.max(s.default.map(t,function(t){return r.node(t).rank})),i=s.default.map(s.default.range(e+1),function(){return[]}),n=s.default.sortBy(t,function(t){return r.node(t).rank});return s.default.each(n,function t(e){if(!s.default.has(a,e)){a[e]=!0;var n=r.node(e);i[n.rank].push(e),s.default.each(r.successors(e),t)}}),i}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r,a=n(0),l=(r=a)&&r.__esModule?r:{default:r};function i(e,t,n){for(var r=l.default.zipObject(n,l.default.map(n,function(t,e){return e})),a=l.default.flatten(l.default.map(t,function(t){return l.default.chain(e.outEdges(t)).map(function(t){return{pos:r[t.w],weight:e.edge(t).weight}}).sortBy("pos").value()}),!0),i=1;i<n.length;)i<<=1;var s=2*i-1;i-=1;var o=l.default.map(new Array(s),function(){return 0}),u=0;return l.default.each(a.forEach(function(t){var e=t.pos+i;o[e]+=t.weight;for(var n=0;0<e;)e%2&&(n+=o[e+1]),o[e=e-1>>1]+=t.weight;u+=t.weight*n})),u}e.default=function(t,e){for(var n=0,r=1;r<e.length;++r)n+=i(t,e[r-1],e[r]);return n}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var y=r(n(0)),g=r(n(21)),v=r(n(22)),M=r(n(23));function r(t){return t&&t.__esModule?t:{default:t}}e.default=function a(i,t,s,o){var e=i.children(t),n=i.node(t),r=n?n.borderLeft:void 0,u=n?n.borderRight:void 0,l={};r&&(e=y.default.filter(e,function(t){return t!==r&&t!==u}));var c=(0,g.default)(i,e);y.default.each(c,function(t){if(i.children(t.v).length){var e=a(i,t.v,s,o);l[t.v]=e,y.default.has(e,"barycenter")&&(n=t,r=e,y.default.isUndefined(n.barycenter)?(n.barycenter=r.barycenter,n.weight=r.weight):(n.barycenter=(n.barycenter*n.weight+r.barycenter*r.weight)/(n.weight+r.weight),n.weight+=r.weight))}var n,r});var d,h,f=(0,v.default)(c,s);d=f,h=l,y.default.each(d,function(t){t.vs=y.default.flatten(t.vs.map(function(t){return h[t]?h[t].vs:t}),!0)});var _=(0,M.default)(f,o);if(r&&(_.vs=y.default.flatten([r,_.vs,u],!0),i.predecessors(r).length)){var p=i.node(i.predecessors(r)[0]),m=i.node(i.predecessors(u)[0]);y.default.has(_,"barycenter")||(_.barycenter=0,_.weight=0),_.barycenter=(_.barycenter*_.weight+p.order+m.order)/(_.weight+2),_.weight+=2}return _}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r,a=n(0),i=(r=a)&&r.__esModule?r:{default:r};e.default=function(a,t){return i.default.map(t,function(t){var e=a.inEdges(t);if(e.length){var n=i.default.reduce(e,function(t,e){var n=a.edge(e),r=a.node(e.v);return{sum:t.sum+n.weight*r.order,weight:t.weight+n.weight}},{sum:0,weight:0});return{v:t,barycenter:n.sum/n.weight,weight:n.weight}}return{v:t}})}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r,a=n(0),s=(r=a)&&r.__esModule?r:{default:r};e.default=function(t,e){var r={};return s.default.each(t,function(t,e){var n=r[t.v]={indegree:0,in:[],out:[],vs:[t.v],i:e};s.default.isUndefined(t.barycenter)||(n.barycenter=t.barycenter,n.weight=t.weight)}),s.default.each(e.edges(),function(t){var e=r[t.v],n=r[t.w];s.default.isUndefined(e)||s.default.isUndefined(n)||(n.indegree++,e.out.push(r[t.w]))}),function(n){var t=[];function e(i){return function(t){var e,n,r,a;t.merged||(s.default.isUndefined(t.barycenter)||s.default.isUndefined(i.barycenter)||t.barycenter>=i.barycenter)&&(n=t,a=r=0,(e=i).weight&&(r+=e.barycenter*e.weight,a+=e.weight),n.weight&&(r+=n.barycenter*n.weight,a+=n.weight),e.vs=n.vs.concat(e.vs),e.barycenter=r/a,e.weight=a,e.i=Math.min(n.i,e.i),n.merged=!0)}}function r(e){return function(t){t.in.push(e),0==--t.indegree&&n.push(t)}}for(;n.length;){var a=n.pop();t.push(a),s.default.each(a.in.reverse(),e(a)),s.default.each(a.out,r(a))}return s.default.chain(t).filter(function(t){return!t.merged}).map(function(t){return s.default.pick(t,["vs","i","barycenter","weight"])}).value()}(s.default.filter(r,function(t){return!t.indegree}))}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var d=r(n(0)),h=r(n(1));function r(t){return t&&t.__esModule?t:{default:t}}function f(t,e,n){for(var r=void 0;e.length&&(r=d.default.last(e)).i<=n;)e.pop(),t.push(r.vs),n++;return n}e.default=function(t,e){var n,r=h.default.partition(t,function(t){return d.default.has(t,"barycenter")}),a=r.lhs,i=d.default.sortBy(r.rhs,function(t){return-t.i}),s=[],o=0,u=0,l=0;a.sort((n=!!e,function(t,e){return t.barycenter<e.barycenter?-1:t.barycenter>e.barycenter?1:n?e.i-t.i:t.i-e.i})),l=f(s,i,l),d.default.each(a,function(t){l+=t.vs.length,s.push(t.vs),o+=t.barycenter*t.weight,u+=t.weight,l=f(s,i,l)});var c={vs:d.default.flatten(s,!0)};return u&&(c.barycenter=o/u,c.weight=u),c}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r,a=n(0),u=(r=a)&&r.__esModule?r:{default:r},l=n(2);e.default=function(i,n,r){var s=function(t){for(var e=void 0;t.hasNode(e=u.default.uniqueId("_root")););return e}(i),o=new l.Graph({compound:!0}).setGraph({root:s}).setDefaultNodeLabel(function(t){return i.node(t)});return u.default.each(i.nodes(),function(a){var t=i.node(a),e=i.parent(a);(t.rank===n||t.minRank<=n&&n<=t.maxRank)&&(o.setNode(a),o.setParent(a,e||s),u.default.each(i[r](a),function(t){var e=t.v===a?t.w:t.v,n=o.edge(e,a),r=u.default.isUndefined(n)?0:n.weight;o.setEdge(e,a,{weight:i.edge(t).weight+r})}),u.default.has(t,"minRank")&&o.setNode(a,{borderLeft:t.borderLeft[n],borderRight:t.borderRight[n]}))}),o}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r,a=n(0),u=(r=a)&&r.__esModule?r:{default:r};e.default=function(a,i,t){var s={},o=void 0;u.default.each(t,function(t){for(var e=a.parent(t),n=void 0,r=void 0;e;){if((n=a.parent(e))?(r=s[n],s[n]=e):(r=o,o=e),r&&r!==e)return void i.setEdge(r,e);e=n}})}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s=r(n(0)),o=r(n(1)),u=n(27);function r(t){return t&&t.__esModule?t:{default:t}}e.default=function(n){var r,t,a,i;n=o.default.asNonCompoundGraph(n),r=n,t=o.default.buildLayerMatrix(r),a=r.graph().ranksep,i=0,s.default.each(t,function(t){var e=s.default.max(s.default.map(t,function(t){return r.node(t).height}));s.default.each(t,function(t){r.node(t).y=i+e/2}),i+=e+a}),s.default.each((0,u.positionX)(n),function(t,e){n.node(e).x=t})}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.positionX=i;var v=a(n(0)),M=n(2),r=a(n(1));function a(t){return t&&t.__esModule?t:{default:t}}function l(l,t){var c={};return v.default.reduce(t,function(t,r){var i=0,s=0,o=t.length,u=v.default.last(r);return v.default.each(r,function(t,e){var n=function(e,t){if(e.node(t).dummy)return v.default.find(e.predecessors(t),function(t){return e.node(t).dummy})}(l,t),a=n?l.node(n).order:o;(n||t===u)&&(v.default.each(r.slice(s,e+1),function(r){v.default.each(l.predecessors(r),function(t){var e=l.node(t),n=e.order;!(n<i||a<n)||e.dummy&&l.node(r).dummy||d(c,t,r)})}),s=e+1,i=a)}),r}),c}function c(u,t){var s={};function l(e,t,n,r,a){var i=void 0;v.default.each(v.default.range(t,n),function(t){i=e[t],u.node(i).dummy&&v.default.each(u.predecessors(i),function(t){var e=u.node(t);e.dummy&&(e.order<r||e.order>a)&&d(s,t,i)})})}return v.default.reduce(t,function(r,a){var i=-1,s=void 0,o=0;return v.default.each(a,function(t,e){if("border"===u.node(t).dummy){var n=u.predecessors(t);n.length&&(s=u.node(n[0]).order,l(a,o,e,i,s),o=e,i=s)}l(a,o,a.length,s,r.length)}),a}),s}function d(t,e,n){if(n<e){var r=e;e=n,n=r}var a=t[e];a||(t[e]=a={}),a[n]=!0}function h(t,e,n){if(n<e){var r=e;e=n,n=r}return v.default.has(t[e],n)}function f(t,e,o,u){var l={},c={},d={};return v.default.each(e,function(t){v.default.each(t,function(t,e){l[t]=t,c[t]=t,d[t]=e})}),v.default.each(e,function(t){var s=-1;v.default.each(t,function(t){var e=u(t);if(e.length)for(var n=((e=v.default.sortBy(e,function(t){return d[t]})).length-1)/2,r=Math.floor(n),a=Math.ceil(n);r<=a;++r){var i=e[r];c[t]===t&&s<d[i]&&!h(o,t,i)&&(c[i]=t,c[t]=l[t]=l[i],s=d[i])}})}),{root:l,align:c}}function _(a,t,e,n,r){var i,s,o,u,l,c,d,h,f,_,p={},m=(i=a,s=t,o=e,u=r,l=new M.Graph,c=i.graph(),h=c.nodesep,f=c.edgesep,_=u,d=function(t,e,n){var r=t.node(e),a=t.node(n),i=0,s=void 0;if(i+=r.width/2,v.default.has(r,"labelpos"))switch(r.labelpos.toLowerCase()){case"l":s=-r.width/2;break;case"r":s=r.width/2}if(s&&(i+=_?s:-s),s=0,i+=(r.dummy?f:h)/2,i+=(a.dummy?f:h)/2,i+=a.width/2,v.default.has(a,"labelpos"))switch(a.labelpos.toLowerCase()){case"l":s=a.width/2;break;case"r":s=-a.width/2}return s&&(i+=_?s:-s),s=0,i},v.default.each(s,function(t){var a=void 0;v.default.each(t,function(t){var e=o[t];if(l.setNode(e),a){var n=o[a],r=l.edge(n,e);l.setEdge(n,e,Math.max(d(i,t,a),r||0))}a=t})}),l),y={};v.default.each(m.nodes(),function n(t){v.default.has(y,t)||(y[t]=!0,p[t]=v.default.reduce(m.inEdges(t),function(t,e){return n(e.v),Math.max(t,p[e.v]+m.edge(e))},0))});var g=r?"borderLeft":"borderRight";return v.default.each(m.nodes(),function n(t){if(2!==y[t]){y[t]++;var e=a.node(t),r=v.default.reduce(m.outEdges(t),function(t,e){return n(e.w),Math.min(t,p[e.w]-m.edge(e))},Number.POSITIVE_INFINITY);r!==Number.POSITIVE_INFINITY&&e.borderType!==g&&(p[t]=Math.max(p[t],r))}}),v.default.each(n,function(t){p[t]=p[e[t]]}),p}function p(n,t){return v.default.minBy(v.default.values(t),function(t){var e=(v.default.minBy(v.default.toPairs(t),function(t){return t[1]-s(n,t[0])/2})||["k",0])[1];return(v.default.maxBy(v.default.toPairs(t),function(t){return t[1]+s(n,t[0])/2})||["k",0])[1]-e})}function m(i,s){var o=v.default.min(v.default.values(s)),u=v.default.max(v.default.values(s));v.default.each(["u","d"],function(a){v.default.each(["l","r"],function(t){var e=a+t,n=i[e];if(n!==s){var r="l"===t?o-v.default.min(v.default.values(n)):u-v.default.max(v.default.values(n));r&&(i[e]=v.default.mapValues(n,function(t){return t+r}))}})})}function y(r,a){return v.default.mapValues(r.ul,function(t,e){if(a)return r[a.toLowerCase()][e];var n=v.default.sortBy(v.default.map(r,e));return(n[1]+n[2])/2})}function i(i){var t=r.default.buildLayerMatrix(i),s=v.default.merge(l(i,t),c(i,t)),o={},u=void 0;v.default.each(["u","d"],function(a){u="u"===a?t:v.default.values(t).reverse(),v.default.each(["l","r"],function(t){"r"===t&&(u=v.default.map(u,function(t){return v.default.values(t).reverse()}));var e=v.default.bind("u"===a?i.predecessors:i.successors,i),n=f(0,u,s,e),r=_(i,u,n.root,n.align,"r"===t);"r"===t&&(r=v.default.mapValues(r,function(t){return-t})),o[a+t]=r})});var e=p(i,o);return m(o,e),y(o,i.graph().align)}function s(t,e){return t.node(e).width}e.default={positionX:i,findType1Conflicts:l,findType2Conflicts:c,addConflict:d,hasConflict:h,verticalAlignment:f,horizontalCompaction:_,alignCoordinates:m,findSmallestWidthAlignment:p,balance:y}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a=r(n(0)),i=n(2),s=r(n(1));function r(t){return t&&t.__esModule?t:{default:t}}e.default={debugOrdering:function(e){var t=s.default.buildLayerMatrix(e),r=new i.Graph({compound:!0,multigraph:!0}).setGraph({});return a.default.each(e.nodes(),function(t){r.setNode(t,{label:t}),r.setParent(t,"layer"+e.node(t).rank)}),a.default.each(e.edges(),function(t){r.setEdge(t.v,t.w,{},t.name)}),a.default.each(t,function(t,e){var n="layer"+e;r.setNode(n,{rank:"same"}),a.default.reduce(t,function(t,e){return r.setEdge(t,e,{style:"invis"}),e})}),r}}},function(t,e){t.exports={name:"dagre-layout",version:"0.7.9",description:"Graph layout for JavaScript",author:"Tyler Long <tyler4long@gmail.com>",main:"dist/dagre-layout.js",keywords:["graph","layout","dagre"],scripts:{lint:"standard",jest:"jest --coverage",karma:"node -r babel-register node_modules/.bin/karma start",test:"yarn lint && yarn jest && yarn karma --single-run",bench:"node -r babel-register src/bench.js",build:"node -r babel-register node_modules/.bin/webpack --progress --colors","build:watch":"yarn build --watch",upgrade:"yarn-upgrade-all"},dependencies:{graphlib:"^2.1.1",lodash:"^4.17.4"},devDependencies:{"babel-core":"^6.26.0","babel-loader":"^7.1.2","babel-preset-env":"^1.6.0","babel-preset-es2015":"^6.24.1",benchmark:"^2.1.4",chai:"^4.1.2",coveralls:"^2.13.1",jest:"^21.0.1",karma:"^1.7.1","karma-chrome-launcher":"^2.2.0","karma-firefox-launcher":"^1.0.1","karma-mocha":"^1.3.0","karma-safari-launcher":"^1.0.0",mocha:"^3.5.0",sprintf:"^0.1.5",standard:"^10.0.3",webpack:"^3.5.6","webpack-node-externals":"^1.6.0","yarn-upgrade-all":"^0.1.8"},repository:{type:"git",url:"https://github.com/tylingsoft/dagre-layout.git"},license:"MIT",files:["dist/","lib/","index.js"],standard:{ignore:["dist/**/*.js","coverage/**/*.js"]},jest:{testRegex:"test/.+?-test\\.js",testPathIgnorePatterns:["test/bundle-test\\.js"]}}}]).default},t.exports=r(n(19),n(29))},function(t,e,n){var r=n(4),a=n(164);t.exports=function(e,t,n,r){return function(t,n,i,e){var s,o,u={},l=new a,r=function(t){var e=t.v!==s?t.v:t.w,n=u[e],r=i(t),a=o.distance+r;if(r<0)throw new Error("dijkstra does not allow negative edge weights. Bad edge: "+t+" Weight: "+r);a<n.distance&&(n.distance=a,n.predecessor=s,l.decrease(e,a))};t.nodes().forEach(function(t){var e=t===n?0:Number.POSITIVE_INFINITY;u[t]={distance:e},l.add(t,e)});for(;0<l.size()&&(s=l.removeMin(),(o=u[s]).distance!==Number.POSITIVE_INFINITY);)e(s).forEach(r);return u}(e,String(t),n||i,r||function(t){return e.outEdges(t)})};var i=r.constant(1)},function(t,e,n){var i=n(4);function r(){this._arr=[],this._keyIndices={}}(t.exports=r).prototype.size=function(){return this._arr.length},r.prototype.keys=function(){return this._arr.map(function(t){return t.key})},r.prototype.has=function(t){return i.has(this._keyIndices,t)},r.prototype.priority=function(t){var e=this._keyIndices[t];if(void 0!==e)return this._arr[e].priority},r.prototype.min=function(){if(0===this.size())throw new Error("Queue underflow");return this._arr[0].key},r.prototype.add=function(t,e){var n=this._keyIndices;if(t=String(t),!i.has(n,t)){var r=this._arr,a=r.length;return n[t]=a,r.push({key:t,priority:e}),this._decrease(a),!0}return!1},r.prototype.removeMin=function(){this._swap(0,this._arr.length-1);var t=this._arr.pop();return delete this._keyIndices[t.key],this._heapify(0),t.key},r.prototype.decrease=function(t,e){var n=this._keyIndices[t];if(e>this._arr[n].priority)throw new Error("New priority is greater than current priority. Key: "+t+" Old: "+this._arr[n].priority+" New: "+e);this._arr[n].priority=e,this._decrease(n)},r.prototype._heapify=function(t){var e=this._arr,n=2*t,r=n+1,a=t;n<e.length&&(a=e[n].priority<e[a].priority?n:a,r<e.length&&(a=e[r].priority<e[a].priority?r:a),a!==t&&(this._swap(t,a),this._heapify(a)))},r.prototype._decrease=function(t){for(var e,n=this._arr,r=n[t].priority;0!==t&&!(n[e=t>>1].priority<r);)this._swap(t,e),t=e},r.prototype._swap=function(t,e){var n=this._arr,r=this._keyIndices,a=n[t],i=n[e];n[t]=i,n[e]=a,r[i.key]=t,r[a.key]=e}},function(t,e,n){var c=n(4);t.exports=function(i){var s=0,o=[],u={},l=[];return i.nodes().forEach(function(t){c.has(u,t)||function e(t){var n=u[t]={onStack:!0,lowlink:s,index:s++};if(o.push(t),i.successors(t).forEach(function(t){c.has(u,t)?u[t].onStack&&(n.lowlink=Math.min(n.lowlink,u[t].index)):(e(t),n.lowlink=Math.min(n.lowlink,u[t].lowlink))}),n.lowlink===n.index){for(var r,a=[];r=o.pop(),u[r].onStack=!1,a.push(r),t!==r;);l.push(a)}}(t)}),l}},function(t,e,n){var s=n(4);function r(n){var r={},a={},i=[];if(s.each(n.sinks(),function t(e){if(s.has(a,e))throw new o;s.has(r,e)||(a[e]=!0,r[e]=!0,s.each(n.predecessors(e),t),delete a[e],i.push(e))}),s.size(r)!==n.nodeCount())throw new o;return i}function o(){}(t.exports=r).CycleException=o},function(t,e,n){var o=n(4);t.exports=function(e,t,n){o.isArray(t)||(t=[t]);var r=(e.isDirected()?e.successors:e.neighbors).bind(e),a=[],i={};return o.each(t,function(t){if(!e.hasNode(t))throw new Error("Graph does not have node: "+t);!function e(n,t,r,a,i,s){o.has(a,t)||(a[t]=!0,r||s.push(t),o.each(i(t),function(t){e(n,t,r,a,i,s)}),r&&s.push(t))}(e,t,"post"===n,i,r,a)}),a}},function(t,r,a){"use strict";(function(n,t){var e=function(){var t=function(t,e,n,r){for(n=n||{},r=t.length;r--;n[t[r]]=e);return n},e=[1,2],n=[1,3],r=[1,4],a=[2,4],i=[1,9],s=[1,11],o=[1,12],u=[1,14],l=[1,15],c=[1,17],d=[1,18],h=[1,19],f=[1,20],_=[1,21],p=[1,23],m=[1,24],y=[1,4,5,10,15,16,18,20,21,22,23,24,25,27,28,39],g=[1,32],v=[4,5,10,15,16,18,20,21,22,23,25,28,39],M=[4,5,10,15,16,18,20,21,22,23,25,27,28,39],k=[37,38,39],b={trace:function(){},yy:{},symbols_:{error:2,start:3,SPACE:4,NL:5,SD:6,document:7,line:8,statement:9,participant:10,actor:11,AS:12,restOfLine:13,signal:14,activate:15,deactivate:16,note_statement:17,title:18,text2:19,loop:20,end:21,opt:22,alt:23,else:24,par:25,par_sections:26,and:27,note:28,placement:29,over:30,actor_pair:31,spaceList:32,",":33,left_of:34,right_of:35,signaltype:36,"+":37,"-":38,ACTOR:39,SOLID_OPEN_ARROW:40,DOTTED_OPEN_ARROW:41,SOLID_ARROW:42,DOTTED_ARROW:43,SOLID_CROSS:44,DOTTED_CROSS:45,TXT:46,$accept:0,$end:1},terminals_:{2:"error",4:"SPACE",5:"NL",6:"SD",10:"participant",12:"AS",13:"restOfLine",15:"activate",16:"deactivate",18:"title",20:"loop",21:"end",22:"opt",23:"alt",24:"else",25:"par",27:"and",28:"note",30:"over",33:",",34:"left_of",35:"right_of",37:"+",38:"-",39:"ACTOR",40:"SOLID_OPEN_ARROW",41:"DOTTED_OPEN_ARROW",42:"SOLID_ARROW",43:"DOTTED_ARROW",44:"SOLID_CROSS",45:"DOTTED_CROSS",46:"TXT"},productions_:[0,[3,2],[3,2],[3,2],[7,0],[7,2],[8,2],[8,1],[8,1],[9,5],[9,3],[9,2],[9,3],[9,3],[9,2],[9,3],[9,4],[9,4],[9,7],[9,4],[26,1],[26,4],[17,4],[17,4],[32,2],[32,1],[31,3],[31,1],[29,1],[29,1],[14,5],[14,5],[14,4],[11,1],[36,1],[36,1],[36,1],[36,1],[36,1],[36,1],[19,1]],performAction:function(t,e,n,r,a,i,s){var o=i.length-1;switch(a){case 3:return r.apply(i[o]),i[o];case 4:this.$=[];break;case 5:i[o-1].push(i[o]),this.$=i[o-1];break;case 6:case 7:this.$=i[o];break;case 8:this.$=[];break;case 9:i[o-3].description=i[o-1],this.$=i[o-3];break;case 10:this.$=i[o-1];break;case 12:this.$={type:"activeStart",signalType:r.LINETYPE.ACTIVE_START,actor:i[o-1]};break;case 13:this.$={type:"activeEnd",signalType:r.LINETYPE.ACTIVE_END,actor:i[o-1]};break;case 15:this.$=[{type:"setTitle",text:i[o-1]}];break;case 16:i[o-1].unshift({type:"loopStart",loopText:i[o-2],signalType:r.LINETYPE.LOOP_START}),i[o-1].push({type:"loopEnd",loopText:i[o-2],signalType:r.LINETYPE.LOOP_END}),this.$=i[o-1];break;case 17:i[o-1].unshift({type:"optStart",optText:i[o-2],signalType:r.LINETYPE.OPT_START}),i[o-1].push({type:"optEnd",optText:i[o-2],signalType:r.LINETYPE.OPT_END}),this.$=i[o-1];break;case 18:i[o-4].unshift({type:"altStart",altText:i[o-5],signalType:r.LINETYPE.ALT_START}),i[o-4].push({type:"else",altText:i[o-2],signalType:r.LINETYPE.ALT_ELSE}),i[o-4]=i[o-4].concat(i[o-1]),i[o-4].push({type:"altEnd",signalType:r.LINETYPE.ALT_END}),this.$=i[o-4];break;case 19:i[o-1].unshift({type:"parStart",parText:i[o-2],signalType:r.LINETYPE.PAR_START}),i[o-1].push({type:"parEnd",signalType:r.LINETYPE.PAR_END}),this.$=i[o-1];break;case 21:this.$=i[o-3].concat([{type:"and",parText:i[o-1],signalType:r.LINETYPE.PAR_AND},i[o]]);break;case 22:this.$=[i[o-1],{type:"addNote",placement:i[o-2],actor:i[o-1].actor,text:i[o]}];break;case 23:i[o-2]=[].concat(i[o-1],i[o-1]).slice(0,2),i[o-2][0]=i[o-2][0].actor,i[o-2][1]=i[o-2][1].actor,this.$=[i[o-1],{type:"addNote",placement:r.PLACEMENT.OVER,actor:i[o-2].slice(0,2),text:i[o]}];break;case 26:this.$=[i[o-2],i[o]];break;case 27:this.$=i[o];break;case 28:this.$=r.PLACEMENT.LEFTOF;break;case 29:this.$=r.PLACEMENT.RIGHTOF;break;case 30:this.$=[i[o-4],i[o-1],{type:"addMessage",from:i[o-4].actor,to:i[o-1].actor,signalType:i[o-3],msg:i[o]},{type:"activeStart",signalType:r.LINETYPE.ACTIVE_START,actor:i[o-1]}];break;case 31:this.$=[i[o-4],i[o-1],{type:"addMessage",from:i[o-4].actor,to:i[o-1].actor,signalType:i[o-3],msg:i[o]},{type:"activeEnd",signalType:r.LINETYPE.ACTIVE_END,actor:i[o-4]}];break;case 32:this.$=[i[o-3],i[o-1],{type:"addMessage",from:i[o-3].actor,to:i[o-1].actor,signalType:i[o-2],msg:i[o]}];break;case 33:this.$={type:"addActor",actor:i[o]};break;case 34:this.$=r.LINETYPE.SOLID_OPEN;break;case 35:this.$=r.LINETYPE.DOTTED_OPEN;break;case 36:this.$=r.LINETYPE.SOLID;break;case 37:this.$=r.LINETYPE.DOTTED;break;case 38:this.$=r.LINETYPE.SOLID_CROSS;break;case 39:this.$=r.LINETYPE.DOTTED_CROSS;break;case 40:this.$=i[o].substring(1).trim().replace(/\\n/gm,"\n")}},table:[{3:1,4:e,5:n,6:r},{1:[3]},{3:5,4:e,5:n,6:r},{3:6,4:e,5:n,6:r},t([1,4,5,10,15,16,18,20,22,23,25,28,39],a,{7:7}),{1:[2,1]},{1:[2,2]},{1:[2,3],4:i,5:s,8:8,9:10,10:o,11:22,14:13,15:u,16:l,17:16,18:c,20:d,22:h,23:f,25:_,28:p,39:m},t(y,[2,5]),{9:25,10:o,11:22,14:13,15:u,16:l,17:16,18:c,20:d,22:h,23:f,25:_,28:p,39:m},t(y,[2,7]),t(y,[2,8]),{11:26,39:m},{5:[1,27]},{11:28,39:m},{11:29,39:m},{5:[1,30]},{19:31,46:g},{13:[1,33]},{13:[1,34]},{13:[1,35]},{13:[1,36]},{36:37,40:[1,38],41:[1,39],42:[1,40],43:[1,41],44:[1,42],45:[1,43]},{29:44,30:[1,45],34:[1,46],35:[1,47]},t([5,12,33,40,41,42,43,44,45,46],[2,33]),t(y,[2,6]),{5:[1,49],12:[1,48]},t(y,[2,11]),{5:[1,50]},{5:[1,51]},t(y,[2,14]),{5:[1,52]},{5:[2,40]},t(v,a,{7:53}),t(v,a,{7:54}),t([4,5,10,15,16,18,20,22,23,24,25,28,39],a,{7:55}),t(M,a,{26:56,7:57}),{11:60,37:[1,58],38:[1,59],39:m},t(k,[2,34]),t(k,[2,35]),t(k,[2,36]),t(k,[2,37]),t(k,[2,38]),t(k,[2,39]),{11:61,39:m},{11:63,31:62,39:m},{39:[2,28]},{39:[2,29]},{13:[1,64]},t(y,[2,10]),t(y,[2,12]),t(y,[2,13]),t(y,[2,15]),{4:i,5:s,8:8,9:10,10:o,11:22,14:13,15:u,16:l,17:16,18:c,20:d,21:[1,65],22:h,23:f,25:_,28:p,39:m},{4:i,5:s,8:8,9:10,10:o,11:22,14:13,15:u,16:l,17:16,18:c,20:d,21:[1,66],22:h,23:f,25:_,28:p,39:m},{4:i,5:s,8:8,9:10,10:o,11:22,14:13,15:u,16:l,17:16,18:c,20:d,22:h,23:f,24:[1,67],25:_,28:p,39:m},{21:[1,68]},{4:i,5:s,8:8,9:10,10:o,11:22,14:13,15:u,16:l,17:16,18:c,20:d,21:[2,20],22:h,23:f,25:_,27:[1,69],28:p,39:m},{11:70,39:m},{11:71,39:m},{19:72,46:g},{19:73,46:g},{19:74,46:g},{33:[1,75],46:[2,27]},{5:[1,76]},t(y,[2,16]),t(y,[2,17]),{13:[1,77]},t(y,[2,19]),{13:[1,78]},{19:79,46:g},{19:80,46:g},{5:[2,32]},{5:[2,22]},{5:[2,23]},{11:81,39:m},t(y,[2,9]),t(v,a,{7:82}),t(M,a,{7:57,26:83}),{5:[2,30]},{5:[2,31]},{46:[2,26]},{4:i,5:s,8:8,9:10,10:o,11:22,14:13,15:u,16:l,17:16,18:c,20:d,21:[1,84],22:h,23:f,25:_,28:p,39:m},{21:[2,21]},t(y,[2,18])],defaultActions:{5:[2,1],6:[2,2],32:[2,40],46:[2,28],47:[2,29],72:[2,32],73:[2,22],74:[2,23],79:[2,30],80:[2,31],81:[2,26],83:[2,21]},parseError:function(t,e){if(!e.recoverable){var n=function(t,e){this.message=t,this.hash=e};throw n.prototype=Error,new n(t,e)}this.trace(t)},parse:function(t){var e=this,n=[0],r=[],a=[null],i=[],s=this.table,o="",u=0,l=0,c=0,d=1,h=i.slice.call(arguments,1),f=Object.create(this.lexer),_={yy:{}};for(var p in this.yy)Object.prototype.hasOwnProperty.call(this.yy,p)&&(_.yy[p]=this.yy[p]);f.setInput(t,_.yy),_.yy.lexer=f,_.yy.parser=this,void 0===f.yylloc&&(f.yylloc={});var m=f.yylloc;i.push(m);var y=f.options&&f.options.ranges;"function"==typeof _.yy.parseError?this.parseError=_.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var g,v,M,k,b,L,w,x,D,Y,T={};;){if(M=n[n.length-1],this.defaultActions[M]?k=this.defaultActions[M]:(null==g&&(Y=void 0,"number"!=typeof(Y=r.pop()||f.lex()||d)&&(Y instanceof Array&&(Y=(r=Y).pop()),Y=e.symbols_[Y]||Y),g=Y),k=s[M]&&s[M][g]),void 0===k||!k.length||!k[0]){var A="";for(L in D=[],s[M])this.terminals_[L]&&2<L&&D.push("'"+this.terminals_[L]+"'");A=f.showPosition?"Parse error on line "+(u+1)+":\n"+f.showPosition()+"\nExpecting "+D.join(", ")+", got '"+(this.terminals_[g]||g)+"'":"Parse error on line "+(u+1)+": Unexpected "+(g==d?"end of input":"'"+(this.terminals_[g]||g)+"'"),this.parseError(A,{text:f.match,token:this.terminals_[g]||g,line:f.yylineno,loc:m,expected:D})}if(k[0]instanceof Array&&1<k.length)throw new Error("Parse Error: multiple actions possible at state: "+M+", token: "+g);switch(k[0]){case 1:n.push(g),a.push(f.yytext),i.push(f.yylloc),n.push(k[1]),g=null,v?(g=v,v=null):(l=f.yyleng,o=f.yytext,u=f.yylineno,m=f.yylloc,0<c&&c--);break;case 2:if(w=this.productions_[k[1]][1],T.$=a[a.length-w],T._$={first_line:i[i.length-(w||1)].first_line,last_line:i[i.length-1].last_line,first_column:i[i.length-(w||1)].first_column,last_column:i[i.length-1].last_column},y&&(T._$.range=[i[i.length-(w||1)].range[0],i[i.length-1].range[1]]),void 0!==(b=this.performAction.apply(T,[o,l,u,_.yy,k[1],a,i].concat(h))))return b;w&&(n=n.slice(0,-1*w*2),a=a.slice(0,-1*w),i=i.slice(0,-1*w)),n.push(this.productions_[k[1]][0]),a.push(T.$),i.push(T._$),x=s[n[n.length-2]][n[n.length-1]],n.push(x);break;case 3:return!0}}return!0}},L={EOF:1,parseError:function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e)},setInput:function(t,e){return this.yy=e||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},unput:function(t){var e=t.length,n=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var r=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var a=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===r.length?this.yylloc.first_column:0)+r[r.length-n.length].length-n[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[a[0],a[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(t){this.unput(this.match.slice(t))},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(20<t.length?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(20<t.length?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),e=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},test_match:function(t,e){var n,r,a;if(this.options.backtrack_lexer&&(a={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(a.yylloc.range=this.yylloc.range.slice(0))),(r=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=r.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:r?r[r.length-1].length-r[r.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],n=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var i in a)this[i]=a[i];return!1}return!1},next:function(){if(this.done)return this.EOF;var t,e,n,r;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var a=this._currentRules(),i=0;i<a.length;i++)if((n=this._input.match(this.rules[a[i]]))&&(!e||n[0].length>e[0].length)){if(e=n,r=i,this.options.backtrack_lexer){if(!1!==(t=this.test_match(n,a[i])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,a[r]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var t=this.next();return t||this.lex()},begin:function(t){this.conditionStack.push(t)},popState:function(){return 0<this.conditionStack.length-1?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(t){return 0<=(t=this.conditionStack.length-1-Math.abs(t||0))?this.conditionStack[t]:"INITIAL"},pushState:function(t){this.begin(t)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(t,e,n,r){switch(n){case 0:return 5;case 1:case 2:case 3:case 4:break;case 5:return this.begin("ID"),10;case 6:return this.begin("ALIAS"),39;case 7:return this.popState(),this.popState(),this.begin("LINE"),12;case 8:return this.popState(),this.popState(),5;case 9:return this.begin("LINE"),20;case 10:return this.begin("LINE"),22;case 11:return this.begin("LINE"),23;case 12:return this.begin("LINE"),24;case 13:return this.begin("LINE"),25;case 14:return this.begin("LINE"),27;case 15:return this.popState(),13;case 16:return 21;case 17:return 34;case 18:return 35;case 19:return 30;case 20:return 28;case 21:return this.begin("ID"),15;case 22:return this.begin("ID"),16;case 23:return 18;case 24:return 6;case 25:return 33;case 26:return 5;case 27:return e.yytext=e.yytext.trim(),39;case 28:return 42;case 29:return 43;case 30:return 40;case 31:return 41;case 32:return 44;case 33:return 45;case 34:return 46;case 35:return 37;case 36:return 38;case 37:return 5;case 38:return"INVALID"}},rules:[/^(?:[\n]+)/i,/^(?:\s+)/i,/^(?:((?!\n)\s)+)/i,/^(?:#[^\n]*)/i,/^(?:%[^\n]*)/i,/^(?:participant\b)/i,/^(?:[^\->:\n,;]+?(?=((?!\n)\s)+as(?!\n)\s|[#\n;]|$))/i,/^(?:as\b)/i,/^(?:(?:))/i,/^(?:loop\b)/i,/^(?:opt\b)/i,/^(?:alt\b)/i,/^(?:else\b)/i,/^(?:par\b)/i,/^(?:and\b)/i,/^(?:[^#\n;]*)/i,/^(?:end\b)/i,/^(?:left of\b)/i,/^(?:right of\b)/i,/^(?:over\b)/i,/^(?:note\b)/i,/^(?:activate\b)/i,/^(?:deactivate\b)/i,/^(?:title\b)/i,/^(?:sequenceDiagram\b)/i,/^(?:,)/i,/^(?:;)/i,/^(?:[^\+\->:\n,;]+)/i,/^(?:->>)/i,/^(?:-->>)/i,/^(?:->)/i,/^(?:-->)/i,/^(?:-[x])/i,/^(?:--[x])/i,/^(?::[^#\n;]+)/i,/^(?:\+)/i,/^(?:-)/i,/^(?:$)/i,/^(?:.)/i],conditions:{LINE:{rules:[2,3,15],inclusive:!1},ALIAS:{rules:[2,3,7,8],inclusive:!1},ID:{rules:[2,3,6],inclusive:!1},INITIAL:{rules:[0,1,3,4,5,9,10,11,12,13,14,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38],inclusive:!0}}};function w(){this.yy={}}return b.lexer=L,new((w.prototype=b).Parser=w)}();r.parser=e,r.Parser=e.Parser,r.parse=function(){return e.parse.apply(e,arguments)},r.main=function(t){t[1]||(console.log("Usage: "+t[0]+" FILE"),n.exit(1));var e=a(8).readFileSync(a(9).normalize(t[1]),"utf8");return r.parser.parse(e)},void 0!==t&&a.c[a.s]===t&&r.main(n.argv.slice(1))}).call(r,a(7),a(3)(t))},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.apply=e.setTitle=e.addNote=e.PLACEMENT=e.ARROWTYPE=e.LINETYPE=e.clear=e.getTitle=e.getActorKeys=e.getActor=e.getActors=e.getMessages=e.addSignal=e.addMessage=e.addActor=void 0;var a=n(1),i={},s=[],o=[],r="",u=e.addActor=function(t,e,n){var r=i[t];r&&e===r.name&&null==n||(null==n&&(n=e),i[t]={name:e,description:n})},l=e.addMessage=function(t,e,n,r){s.push({from:t,to:e,message:n,answer:r})},c=e.addSignal=function(t,e,n,r){a.logger.debug("Adding message from="+t+" to="+e+" message="+n+" type="+r),s.push({from:t,to:e,message:n,type:r})},d=e.getMessages=function(){return s},h=e.getActors=function(){return i},f=e.getActor=function(t){return i[t]},_=e.getActorKeys=function(){return Object.keys(i)},p=e.getTitle=function(){return r},m=e.clear=function(){i={},s=[]},y=e.LINETYPE={SOLID:0,DOTTED:1,NOTE:2,SOLID_CROSS:3,DOTTED_CROSS:4,SOLID_OPEN:5,DOTTED_OPEN:6,LOOP_START:10,LOOP_END:11,ALT_START:12,ALT_ELSE:13,ALT_END:14,OPT_START:15,OPT_END:16,ACTIVE_START:17,ACTIVE_END:18,PAR_START:19,PAR_AND:20,PAR_END:21},g=e.ARROWTYPE={FILLED:0,OPEN:1},v=e.PLACEMENT={LEFTOF:0,RIGHTOF:1,OVER:2},M=e.addNote=function(t,e,n){var r={actor:t,placement:e,message:n},a=[].concat(t,t);o.push(r),s.push({from:a[0],to:a[1],message:n,type:y.NOTE,placement:e})},k=e.setTitle=function(t){r=t},b=e.apply=function e(t){if(t instanceof Array)t.forEach(function(t){e(t)});else switch(t.type){case"addActor":u(t.actor,t.actor,t.description);break;case"activeStart":case"activeEnd":c(t.actor,void 0,void 0,t.signalType);break;case"addNote":M(t.actor,t.placement,t.text);break;case"addMessage":c(t.from,t.to,t.msg,t.signalType);break;case"loopStart":c(void 0,void 0,t.loopText,t.signalType);break;case"loopEnd":c(void 0,void 0,void 0,t.signalType);break;case"optStart":c(void 0,void 0,t.optText,t.signalType);break;case"optEnd":c(void 0,void 0,void 0,t.signalType);break;case"altStart":case"else":c(void 0,void 0,t.altText,t.signalType);break;case"altEnd":c(void 0,void 0,void 0,t.signalType);break;case"setTitle":k(t.text);break;case"parStart":case"and":c(void 0,void 0,t.parText,t.signalType);break;case"parEnd":c(void 0,void 0,void 0,t.signalType)}};e.default={addActor:u,addMessage:l,addSignal:c,getMessages:d,getActors:h,getActor:f,getActorKeys:_,getTitle:p,clear:m,LINETYPE:y,ARROWTYPE:g,PLACEMENT:v,addNote:M,setTitle:k,apply:b}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getInfo=e.setInfo=e.getMessage=e.setMessage=void 0;var r=n(1),a="",i=!1,s=e.setMessage=function(t){r.logger.debug("Setting message to: "+t),a=t},o=e.getMessage=function(){return a},u=e.setInfo=function(t){i=t},l=e.getInfo=function(){return i};e.default={setMessage:s,getMessage:o,setInfo:u,getInfo:l}},function(t,r,a){"use strict";(function(n,t){var e=function(){var t=function(t,e,n,r){for(n=n||{},r=t.length;r--;n[t[r]]=e);return n},e=[6,9,10,12],n={trace:function(){},yy:{},symbols_:{error:2,start:3,info:4,document:5,EOF:6,line:7,statement:8,NL:9,showInfo:10,message:11,say:12,TXT:13,$accept:0,$end:1},terminals_:{2:"error",4:"info",6:"EOF",9:"NL",10:"showInfo",12:"say",13:"TXT"},productions_:[0,[3,3],[5,0],[5,2],[7,1],[7,1],[8,1],[8,1],[11,2]],performAction:function(t,e,n,r,a,i,s){var o=i.length-1;switch(a){case 1:return r;case 4:break;case 6:r.setInfo(!0);break;case 7:r.setMessage(i[o]);break;case 8:this.$=i[o-1].substring(1).trim().replace(/\\n/gm,"\n")}},table:[{3:1,4:[1,2]},{1:[3]},t(e,[2,2],{5:3}),{6:[1,4],7:5,8:6,9:[1,7],10:[1,8],11:9,12:[1,10]},{1:[2,1]},t(e,[2,3]),t(e,[2,4]),t(e,[2,5]),t(e,[2,6]),t(e,[2,7]),{13:[1,11]},t(e,[2,8])],defaultActions:{4:[2,1]},parseError:function(t,e){if(!e.recoverable){var n=function(t,e){this.message=t,this.hash=e};throw n.prototype=Error,new n(t,e)}this.trace(t)},parse:function(t){var e=this,n=[0],r=[],a=[null],i=[],s=this.table,o="",u=0,l=0,c=0,d=1,h=i.slice.call(arguments,1),f=Object.create(this.lexer),_={yy:{}};for(var p in this.yy)Object.prototype.hasOwnProperty.call(this.yy,p)&&(_.yy[p]=this.yy[p]);f.setInput(t,_.yy),_.yy.lexer=f,_.yy.parser=this,void 0===f.yylloc&&(f.yylloc={});var m=f.yylloc;i.push(m);var y=f.options&&f.options.ranges;"function"==typeof _.yy.parseError?this.parseError=_.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var g,v,M,k,b,L,w,x,D,Y,T={};;){if(M=n[n.length-1],this.defaultActions[M]?k=this.defaultActions[M]:(null==g&&(Y=void 0,"number"!=typeof(Y=r.pop()||f.lex()||d)&&(Y instanceof Array&&(Y=(r=Y).pop()),Y=e.symbols_[Y]||Y),g=Y),k=s[M]&&s[M][g]),void 0===k||!k.length||!k[0]){var A="";for(L in D=[],s[M])this.terminals_[L]&&2<L&&D.push("'"+this.terminals_[L]+"'");A=f.showPosition?"Parse error on line "+(u+1)+":\n"+f.showPosition()+"\nExpecting "+D.join(", ")+", got '"+(this.terminals_[g]||g)+"'":"Parse error on line "+(u+1)+": Unexpected "+(g==d?"end of input":"'"+(this.terminals_[g]||g)+"'"),this.parseError(A,{text:f.match,token:this.terminals_[g]||g,line:f.yylineno,loc:m,expected:D})}if(k[0]instanceof Array&&1<k.length)throw new Error("Parse Error: multiple actions possible at state: "+M+", token: "+g);switch(k[0]){case 1:n.push(g),a.push(f.yytext),i.push(f.yylloc),n.push(k[1]),g=null,v?(g=v,v=null):(l=f.yyleng,o=f.yytext,u=f.yylineno,m=f.yylloc,0<c&&c--);break;case 2:if(w=this.productions_[k[1]][1],T.$=a[a.length-w],T._$={first_line:i[i.length-(w||1)].first_line,last_line:i[i.length-1].last_line,first_column:i[i.length-(w||1)].first_column,last_column:i[i.length-1].last_column},y&&(T._$.range=[i[i.length-(w||1)].range[0],i[i.length-1].range[1]]),void 0!==(b=this.performAction.apply(T,[o,l,u,_.yy,k[1],a,i].concat(h))))return b;w&&(n=n.slice(0,-1*w*2),a=a.slice(0,-1*w),i=i.slice(0,-1*w)),n.push(this.productions_[k[1]][0]),a.push(T.$),i.push(T._$),x=s[n[n.length-2]][n[n.length-1]],n.push(x);break;case 3:return!0}}return!0}},r={EOF:1,parseError:function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e)},setInput:function(t,e){return this.yy=e||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},unput:function(t){var e=t.length,n=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var r=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var a=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===r.length?this.yylloc.first_column:0)+r[r.length-n.length].length-n[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[a[0],a[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(t){this.unput(this.match.slice(t))},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(20<t.length?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(20<t.length?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),e=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},test_match:function(t,e){var n,r,a;if(this.options.backtrack_lexer&&(a={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(a.yylloc.range=this.yylloc.range.slice(0))),(r=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=r.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:r?r[r.length-1].length-r[r.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],n=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var i in a)this[i]=a[i];return!1}return!1},next:function(){if(this.done)return this.EOF;var t,e,n,r;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var a=this._currentRules(),i=0;i<a.length;i++)if((n=this._input.match(this.rules[a[i]]))&&(!e||n[0].length>e[0].length)){if(e=n,r=i,this.options.backtrack_lexer){if(!1!==(t=this.test_match(n,a[i])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,a[r]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var t=this.next();return t||this.lex()},begin:function(t){this.conditionStack.push(t)},popState:function(){return 0<this.conditionStack.length-1?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(t){return 0<=(t=this.conditionStack.length-1-Math.abs(t||0))?this.conditionStack[t]:"INITIAL"},pushState:function(t){this.begin(t)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(t,e,n,r){switch(n){case 0:return 9;case 1:return 10;case 2:return 4;case 3:return 12;case 4:return 13;case 5:return 6;case 6:return"INVALID"}},rules:[/^(?:[\n]+)/i,/^(?:showInfo\b)/i,/^(?:info\b)/i,/^(?:say\b)/i,/^(?::[^#\n;]+)/i,/^(?:$)/i,/^(?:.)/i],conditions:{INITIAL:{rules:[0,1,2,3,4,5,6],inclusive:!0}}};function a(){this.yy={}}return n.lexer=r,new((a.prototype=n).Parser=a)}();r.parser=e,r.Parser=e.Parser,r.parse=function(){return e.parse.apply(e,arguments)},r.main=function(t){t[1]||(console.log("Usage: "+t[0]+" FILE"),n.exit(1));var e=a(8).readFileSync(a(9).normalize(t[1]),"utf8");return r.parser.parse(e)},void 0!==t&&a.c[a.s]===t&&r.main(n.argv.slice(1))}).call(r,a(7),a(3)(t))},function(t,r,a){"use strict";(function(n,t){var e=function(){var t=function(t,e,n,r){for(n=n||{},r=t.length;r--;n[t[r]]=e);return n},e=[6,8,10,11,12,13,14],n=[1,9],r=[1,10],a=[1,11],i=[1,12],s={trace:function(){},yy:{},symbols_:{error:2,start:3,gantt:4,document:5,EOF:6,line:7,SPACE:8,statement:9,NL:10,dateFormat:11,title:12,section:13,taskTxt:14,taskData:15,$accept:0,$end:1},terminals_:{2:"error",4:"gantt",6:"EOF",8:"SPACE",10:"NL",11:"dateFormat",12:"title",13:"section",14:"taskTxt",15:"taskData"},productions_:[0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[9,1],[9,1],[9,1],[9,2]],performAction:function(t,e,n,r,a,i,s){var o=i.length-1;switch(a){case 1:return i[o-1];case 2:this.$=[];break;case 3:i[o-1].push(i[o]),this.$=i[o-1];break;case 4:case 5:this.$=i[o];break;case 6:case 7:this.$=[];break;case 8:r.setDateFormat(i[o].substr(11)),this.$=i[o].substr(11);break;case 9:r.setTitle(i[o].substr(6)),this.$=i[o].substr(6);break;case 10:r.addSection(i[o].substr(8)),this.$=i[o].substr(8);break;case 11:r.addTask(i[o-1],i[o]),this.$="task"}},table:[{3:1,4:[1,2]},{1:[3]},t(e,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:n,12:r,13:a,14:i},t(e,[2,7],{1:[2,1]}),t(e,[2,3]),{9:13,11:n,12:r,13:a,14:i},t(e,[2,5]),t(e,[2,6]),t(e,[2,8]),t(e,[2,9]),t(e,[2,10]),{15:[1,14]},t(e,[2,4]),t(e,[2,11])],defaultActions:{},parseError:function(t,e){if(!e.recoverable){var n=function(t,e){this.message=t,this.hash=e};throw n.prototype=Error,new n(t,e)}this.trace(t)},parse:function(t){var e=this,n=[0],r=[],a=[null],i=[],s=this.table,o="",u=0,l=0,c=0,d=1,h=i.slice.call(arguments,1),f=Object.create(this.lexer),_={yy:{}};for(var p in this.yy)Object.prototype.hasOwnProperty.call(this.yy,p)&&(_.yy[p]=this.yy[p]);f.setInput(t,_.yy),_.yy.lexer=f,_.yy.parser=this,void 0===f.yylloc&&(f.yylloc={});var m=f.yylloc;i.push(m);var y=f.options&&f.options.ranges;"function"==typeof _.yy.parseError?this.parseError=_.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var g,v,M,k,b,L,w,x,D,Y,T={};;){if(M=n[n.length-1],this.defaultActions[M]?k=this.defaultActions[M]:(null==g&&(Y=void 0,"number"!=typeof(Y=r.pop()||f.lex()||d)&&(Y instanceof Array&&(Y=(r=Y).pop()),Y=e.symbols_[Y]||Y),g=Y),k=s[M]&&s[M][g]),void 0===k||!k.length||!k[0]){var A="";for(L in D=[],s[M])this.terminals_[L]&&2<L&&D.push("'"+this.terminals_[L]+"'");A=f.showPosition?"Parse error on line "+(u+1)+":\n"+f.showPosition()+"\nExpecting "+D.join(", ")+", got '"+(this.terminals_[g]||g)+"'":"Parse error on line "+(u+1)+": Unexpected "+(g==d?"end of input":"'"+(this.terminals_[g]||g)+"'"),this.parseError(A,{text:f.match,token:this.terminals_[g]||g,line:f.yylineno,loc:m,expected:D})}if(k[0]instanceof Array&&1<k.length)throw new Error("Parse Error: multiple actions possible at state: "+M+", token: "+g);switch(k[0]){case 1:n.push(g),a.push(f.yytext),i.push(f.yylloc),n.push(k[1]),g=null,v?(g=v,v=null):(l=f.yyleng,o=f.yytext,u=f.yylineno,m=f.yylloc,0<c&&c--);break;case 2:if(w=this.productions_[k[1]][1],T.$=a[a.length-w],T._$={first_line:i[i.length-(w||1)].first_line,last_line:i[i.length-1].last_line,first_column:i[i.length-(w||1)].first_column,last_column:i[i.length-1].last_column},y&&(T._$.range=[i[i.length-(w||1)].range[0],i[i.length-1].range[1]]),void 0!==(b=this.performAction.apply(T,[o,l,u,_.yy,k[1],a,i].concat(h))))return b;w&&(n=n.slice(0,-1*w*2),a=a.slice(0,-1*w),i=i.slice(0,-1*w)),n.push(this.productions_[k[1]][0]),a.push(T.$),i.push(T._$),x=s[n[n.length-2]][n[n.length-1]],n.push(x);break;case 3:return!0}}return!0}},o={EOF:1,parseError:function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e)},setInput:function(t,e){return this.yy=e||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},unput:function(t){var e=t.length,n=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var r=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var a=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===r.length?this.yylloc.first_column:0)+r[r.length-n.length].length-n[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[a[0],a[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(t){this.unput(this.match.slice(t))},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(20<t.length?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(20<t.length?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),e=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},test_match:function(t,e){var n,r,a;if(this.options.backtrack_lexer&&(a={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(a.yylloc.range=this.yylloc.range.slice(0))),(r=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=r.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:r?r[r.length-1].length-r[r.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],n=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var i in a)this[i]=a[i];return!1}return!1},next:function(){if(this.done)return this.EOF;var t,e,n,r;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var a=this._currentRules(),i=0;i<a.length;i++)if((n=this._input.match(this.rules[a[i]]))&&(!e||n[0].length>e[0].length)){if(e=n,r=i,this.options.backtrack_lexer){if(!1!==(t=this.test_match(n,a[i])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,a[r]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var t=this.next();return t||this.lex()},begin:function(t){this.conditionStack.push(t)},popState:function(){return 0<this.conditionStack.length-1?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(t){return 0<=(t=this.conditionStack.length-1-Math.abs(t||0))?this.conditionStack[t]:"INITIAL"},pushState:function(t){this.begin(t)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(t,e,n,r){switch(n){case 0:return 10;case 1:case 2:case 3:break;case 4:return 4;case 5:return 11;case 6:return"date";case 7:return 12;case 8:return 13;case 9:return 14;case 10:return 15;case 11:return":";case 12:return 6;case 13:return"INVALID"}},rules:[/^(?:[\n]+)/i,/^(?:\s+)/i,/^(?:#[^\n]*)/i,/^(?:%[^\n]*)/i,/^(?:gantt\b)/i,/^(?:dateFormat\s[^#\n;]+)/i,/^(?:\d\d\d\d-\d\d-\d\d\b)/i,/^(?:title\s[^#\n;]+)/i,/^(?:section\s[^#:\n;]+)/i,/^(?:[^#:\n;]+)/i,/^(?::[^#\n;]+)/i,/^(?::)/i,/^(?:$)/i,/^(?:.)/i],conditions:{INITIAL:{rules:[0,1,2,3,4,5,6,7,8,9,10,11,12,13],inclusive:!0}}};function u(){this.yy={}}return s.lexer=o,new((u.prototype=s).Parser=u)}();r.parser=e,r.Parser=e.Parser,r.parse=function(){return e.parse.apply(e,arguments)},r.main=function(t){t[1]||(console.log("Usage: "+t[0]+" FILE"),n.exit(1));var e=a(8).readFileSync(a(9).normalize(t[1]),"utf8");return r.parser.parse(e)},void 0!==t&&a.c[a.s]===t&&r.main(n.argv.slice(1))}).call(r,a(7),a(3)(t))},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.addTaskOrg=e.findTaskById=e.addTask=e.getTasks=e.addSection=e.getTitle=e.setTitle=e.getDateFormat=e.setDateFormat=e.clear=void 0;var r,a=n(0),s=(r=a)&&r.__esModule?r:{default:r},o=n(1);var i="",u="",l=[],c=[],d="",h=e.clear=function(){l=[],c=[],u=d="",w=L=void(k=0),x=[]},f=e.setDateFormat=function(t){i=t},_=e.getDateFormat=function(){return i},p=e.setTitle=function(t){u=t},m=e.getTitle=function(){return u},y=e.addSection=function(t){d=t,l.push(t)},g=e.getTasks=function(){for(var t=S(),e=0;!t&&e<10;)t=S(),e++;return c=x},v=function(t,e,n){n=n.trim();var r=/^after\s+([\d\w-]+)/.exec(n.trim());if(null!==r){var a=T(r[1]);if(void 0===a){var i=new Date;return i.setHours(0,0,0,0),i}return a.endTime}return(0,s.default)(n,e.trim(),!0).isValid()?(0,s.default)(n,e.trim(),!0).toDate():(o.logger.debug("Invalid date:"+n),o.logger.debug("With date format:"+e.trim()),new Date)},M=function(t,e,n){if(n=n.trim(),(0,s.default)(n,e.trim(),!0).isValid())return(0,s.default)(n,e.trim()).toDate();var r=(0,s.default)(t),a=/^([\d]+)([wdhms])/.exec(n.trim());if(null!==a){switch(a[2]){case"s":r.add(a[1],"seconds");break;case"m":r.add(a[1],"minutes");break;case"h":r.add(a[1],"hours");break;case"d":r.add(a[1],"days");break;case"w":r.add(a[1],"weeks")}return r.toDate()}return r.toDate()},k=0,b=function(t){return void 0===t?"task"+(k+=1):t},L=void 0,w=void 0,x=[],D={},Y=e.addTask=function(t,e){var n={section:d,type:d,processed:!1,raw:{data:e},task:t},r=function(t,e){for(var n=(":"===e.substr(0,1)?e.substr(1,e.length):e).split(","),r={},a=!0;a;)a=!1,n[0].match(/^\s*active\s*$/)&&(r.active=!0,n.shift(1),a=!0),n[0].match(/^\s*done\s*$/)&&(r.done=!0,n.shift(1),a=!0),n[0].match(/^\s*crit\s*$/)&&(r.crit=!0,n.shift(1),a=!0);for(var i=0;i<n.length;i++)n[i]=n[i].trim();switch(n.length){case 1:r.id=b(),r.startTime={type:"prevTaskEnd",id:t},r.endTime={data:n[0]};break;case 2:r.id=b(),r.startTime={type:"getStartDate",startData:n[0]},r.endTime={data:n[1]};break;case 3:r.id=b(n[0]),r.startTime={type:"getStartDate",startData:n[1]},r.endTime={data:n[2]}}return r}(w,e);n.raw.startTime=r.startTime,n.raw.endTime=r.endTime,n.id=r.id,n.prevTaskId=w,n.active=r.active,n.done=r.done,n.crit=r.crit;var a=x.push(n);w=n.id,D[n.id]=a-1},T=e.findTaskById=function(t){var e=D[t];return x[e]},A=e.addTaskOrg=function(t,e){var n={section:d,type:d,description:t,task:t},r=function(t,e){for(var n=(":"===e.substr(0,1)?e.substr(1,e.length):e).split(","),r={},a=_(),i=!0;i;)i=!1,n[0].match(/^\s*active\s*$/)&&(r.active=!0,n.shift(1),i=!0),n[0].match(/^\s*done\s*$/)&&(r.done=!0,n.shift(1),i=!0),n[0].match(/^\s*crit\s*$/)&&(r.crit=!0,n.shift(1),i=!0);for(var s=0;s<n.length;s++)n[s]=n[s].trim();switch(n.length){case 1:r.id=b(),r.startTime=t.endTime,r.endTime=M(r.startTime,a,n[0]);break;case 2:r.id=b(),r.startTime=v(0,a,n[0]),r.endTime=M(r.startTime,a,n[1]);break;case 3:r.id=b(n[0]),r.startTime=v(0,a,n[1]),r.endTime=M(r.startTime,a,n[2])}return r}(L,e);n.startTime=r.startTime,n.endTime=r.endTime,n.id=r.id,n.active=r.active,n.done=r.done,n.crit=r.crit,L=n,c.push(n)},S=function(){for(var a=_(),t=function(t){var e=x[t],n="";switch(x[t].raw.startTime.type){case"prevTaskEnd":var r=T(e.prevTaskId);e.startTime=r.endTime;break;case"getStartDate":(n=v(0,a,x[t].raw.startTime.startData))&&(x[t].startTime=n)}return x[t].startTime&&(x[t].endTime=M(x[t].startTime,a,x[t].raw.endTime.data),x[t].endTime&&(x[t].processed=!0)),x[t].processed},e=!0,n=0;n<x.length;n++)t(n),e=e&&x[n].processed;return e};e.default={clear:h,setDateFormat:f,getDateFormat:_,setTitle:p,getTitle:m,addSection:y,getTasks:g,addTask:Y,findTaskById:T,addTaskOrg:A}},function(t,r,a){"use strict";(function(n,t){var e=function(){var t=function(t,e,n,r){for(n=n||{},r=t.length;r--;n[t[r]]=e);return n},e=[1,11],n=[1,12],r=[1,13],a=[1,15],i=[1,16],s=[1,17],o=[6,8],u=[1,26],l=[1,27],c=[1,28],d=[1,29],h=[1,30],f=[1,31],_=[6,8,13,17,23,26,27,28,29,30,31],p=[6,8,13,17,23,26,27,28,29,30,31,45,46,47],m=[23,45,46,47],y=[23,30,31,45,46,47],g=[23,26,27,28,29,45,46,47],v=[6,8,13],M=[1,46],k={trace:function(){},yy:{},symbols_:{error:2,mermaidDoc:3,graphConfig:4,CLASS_DIAGRAM:5,NEWLINE:6,statements:7,EOF:8,statement:9,className:10,alphaNumToken:11,relationStatement:12,LABEL:13,classStatement:14,methodStatement:15,CLASS:16,STRUCT_START:17,members:18,STRUCT_STOP:19,MEMBER:20,SEPARATOR:21,relation:22,STR:23,relationType:24,lineType:25,AGGREGATION:26,EXTENSION:27,COMPOSITION:28,DEPENDENCY:29,LINE:30,DOTTED_LINE:31,commentToken:32,textToken:33,graphCodeTokens:34,textNoTagsToken:35,TAGSTART:36,TAGEND:37,"==":38,"--":39,PCT:40,DEFAULT:41,SPACE:42,MINUS:43,keywords:44,UNICODE_TEXT:45,NUM:46,ALPHA:47,$accept:0,$end:1},terminals_:{2:"error",5:"CLASS_DIAGRAM",6:"NEWLINE",8:"EOF",13:"LABEL",16:"CLASS",17:"STRUCT_START",19:"STRUCT_STOP",20:"MEMBER",21:"SEPARATOR",23:"STR",26:"AGGREGATION",27:"EXTENSION",28:"COMPOSITION",29:"DEPENDENCY",30:"LINE",31:"DOTTED_LINE",34:"graphCodeTokens",36:"TAGSTART",37:"TAGEND",38:"==",39:"--",40:"PCT",41:"DEFAULT",42:"SPACE",43:"MINUS",44:"keywords",45:"UNICODE_TEXT",46:"NUM",47:"ALPHA"},productions_:[0,[3,1],[4,4],[7,1],[7,3],[10,2],[10,1],[9,1],[9,2],[9,1],[9,1],[14,2],[14,5],[18,1],[18,2],[15,1],[15,2],[15,1],[15,1],[12,3],[12,4],[12,4],[12,5],[22,3],[22,2],[22,2],[22,1],[24,1],[24,1],[24,1],[24,1],[25,1],[25,1],[32,1],[32,1],[33,1],[33,1],[33,1],[33,1],[33,1],[33,1],[33,1],[35,1],[35,1],[35,1],[35,1],[11,1],[11,1],[11,1]],performAction:function(t,e,n,r,a,i,s){var o=i.length-1;switch(a){case 5:this.$=i[o-1]+i[o];break;case 6:this.$=i[o];break;case 7:r.addRelation(i[o]);break;case 8:i[o-1].title=r.cleanupLabel(i[o]),r.addRelation(i[o-1]);break;case 12:r.addMembers(i[o-3],i[o-1]);break;case 13:this.$=[i[o]];break;case 14:i[o].push(i[o-1]),this.$=i[o];break;case 15:break;case 16:r.addMembers(i[o-1],r.cleanupLabel(i[o]));break;case 17:console.warn("Member",i[o]);break;case 18:break;case 19:this.$={id1:i[o-2],id2:i[o],relation:i[o-1],relationTitle1:"none",relationTitle2:"none"};break;case 20:this.$={id1:i[o-3],id2:i[o],relation:i[o-1],relationTitle1:i[o-2],relationTitle2:"none"};break;case 21:this.$={id1:i[o-3],id2:i[o],relation:i[o-2],relationTitle1:"none",relationTitle2:i[o-1]};break;case 22:this.$={id1:i[o-4],id2:i[o],relation:i[o-2],relationTitle1:i[o-3],relationTitle2:i[o-1]};break;case 23:this.$={type1:i[o-2],type2:i[o],lineType:i[o-1]};break;case 24:this.$={type1:"none",type2:i[o],lineType:i[o-1]};break;case 25:this.$={type1:i[o-1],type2:"none",lineType:i[o]};break;case 26:this.$={type1:"none",type2:"none",lineType:i[o]};break;case 27:this.$=r.relationType.AGGREGATION;break;case 28:this.$=r.relationType.EXTENSION;break;case 29:this.$=r.relationType.COMPOSITION;break;case 30:this.$=r.relationType.DEPENDENCY;break;case 31:this.$=r.lineType.LINE;break;case 32:this.$=r.lineType.DOTTED_LINE}},table:[{3:1,4:2,5:[1,3]},{1:[3]},{1:[2,1]},{6:[1,4]},{7:5,9:6,10:10,11:14,12:7,14:8,15:9,16:e,20:n,21:r,45:a,46:i,47:s},{8:[1,18]},{6:[1,19],8:[2,3]},t(o,[2,7],{13:[1,20]}),t(o,[2,9]),t(o,[2,10]),t(o,[2,15],{22:21,24:24,25:25,13:[1,23],23:[1,22],26:u,27:l,28:c,29:d,30:h,31:f}),{10:32,11:14,45:a,46:i,47:s},t(o,[2,17]),t(o,[2,18]),t(_,[2,6],{11:14,10:33,45:a,46:i,47:s}),t(p,[2,46]),t(p,[2,47]),t(p,[2,48]),{1:[2,2]},{7:34,9:6,10:10,11:14,12:7,14:8,15:9,16:e,20:n,21:r,45:a,46:i,47:s},t(o,[2,8]),{10:35,11:14,23:[1,36],45:a,46:i,47:s},{22:37,24:24,25:25,26:u,27:l,28:c,29:d,30:h,31:f},t(o,[2,16]),{25:38,30:h,31:f},t(m,[2,26],{24:39,26:u,27:l,28:c,29:d}),t(y,[2,27]),t(y,[2,28]),t(y,[2,29]),t(y,[2,30]),t(g,[2,31]),t(g,[2,32]),t(o,[2,11],{17:[1,40]}),t(_,[2,5]),{8:[2,4]},t(v,[2,19]),{10:41,11:14,45:a,46:i,47:s},{10:42,11:14,23:[1,43],45:a,46:i,47:s},t(m,[2,25],{24:44,26:u,27:l,28:c,29:d}),t(m,[2,24]),{18:45,20:M},t(v,[2,21]),t(v,[2,20]),{10:47,11:14,45:a,46:i,47:s},t(m,[2,23]),{19:[1,48]},{18:49,19:[2,13],20:M},t(v,[2,22]),t(o,[2,12]),{19:[2,14]}],defaultActions:{2:[2,1],18:[2,2],34:[2,4],49:[2,14]},parseError:function(t,e){if(!e.recoverable){var n=function(t,e){this.message=t,this.hash=e};throw n.prototype=Error,new n(t,e)}this.trace(t)},parse:function(t){var e=this,n=[0],r=[],a=[null],i=[],s=this.table,o="",u=0,l=0,c=0,d=1,h=i.slice.call(arguments,1),f=Object.create(this.lexer),_={yy:{}};for(var p in this.yy)Object.prototype.hasOwnProperty.call(this.yy,p)&&(_.yy[p]=this.yy[p]);f.setInput(t,_.yy),_.yy.lexer=f,_.yy.parser=this,void 0===f.yylloc&&(f.yylloc={});var m=f.yylloc;i.push(m);var y=f.options&&f.options.ranges;"function"==typeof _.yy.parseError?this.parseError=_.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var g,v,M,k,b,L,w,x,D,Y,T={};;){if(M=n[n.length-1],this.defaultActions[M]?k=this.defaultActions[M]:(null==g&&(Y=void 0,"number"!=typeof(Y=r.pop()||f.lex()||d)&&(Y instanceof Array&&(Y=(r=Y).pop()),Y=e.symbols_[Y]||Y),g=Y),k=s[M]&&s[M][g]),void 0===k||!k.length||!k[0]){var A="";for(L in D=[],s[M])this.terminals_[L]&&2<L&&D.push("'"+this.terminals_[L]+"'");A=f.showPosition?"Parse error on line "+(u+1)+":\n"+f.showPosition()+"\nExpecting "+D.join(", ")+", got '"+(this.terminals_[g]||g)+"'":"Parse error on line "+(u+1)+": Unexpected "+(g==d?"end of input":"'"+(this.terminals_[g]||g)+"'"),this.parseError(A,{text:f.match,token:this.terminals_[g]||g,line:f.yylineno,loc:m,expected:D})}if(k[0]instanceof Array&&1<k.length)throw new Error("Parse Error: multiple actions possible at state: "+M+", token: "+g);switch(k[0]){case 1:n.push(g),a.push(f.yytext),i.push(f.yylloc),n.push(k[1]),g=null,v?(g=v,v=null):(l=f.yyleng,o=f.yytext,u=f.yylineno,m=f.yylloc,0<c&&c--);break;case 2:if(w=this.productions_[k[1]][1],T.$=a[a.length-w],T._$={first_line:i[i.length-(w||1)].first_line,last_line:i[i.length-1].last_line,first_column:i[i.length-(w||1)].first_column,last_column:i[i.length-1].last_column},y&&(T._$.range=[i[i.length-(w||1)].range[0],i[i.length-1].range[1]]),void 0!==(b=this.performAction.apply(T,[o,l,u,_.yy,k[1],a,i].concat(h))))return b;w&&(n=n.slice(0,-1*w*2),a=a.slice(0,-1*w),i=i.slice(0,-1*w)),n.push(this.productions_[k[1]][0]),a.push(T.$),i.push(T._$),x=s[n[n.length-2]][n[n.length-1]],n.push(x);break;case 3:return!0}}return!0}},b={EOF:1,parseError:function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e)},setInput:function(t,e){return this.yy=e||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},unput:function(t){var e=t.length,n=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var r=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var a=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===r.length?this.yylloc.first_column:0)+r[r.length-n.length].length-n[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[a[0],a[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(t){this.unput(this.match.slice(t))},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(20<t.length?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(20<t.length?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),e=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},test_match:function(t,e){var n,r,a;if(this.options.backtrack_lexer&&(a={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(a.yylloc.range=this.yylloc.range.slice(0))),(r=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=r.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:r?r[r.length-1].length-r[r.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],n=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var i in a)this[i]=a[i];return!1}return!1},next:function(){if(this.done)return this.EOF;var t,e,n,r;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var a=this._currentRules(),i=0;i<a.length;i++)if((n=this._input.match(this.rules[a[i]]))&&(!e||n[0].length>e[0].length)){if(e=n,r=i,this.options.backtrack_lexer){if(!1!==(t=this.test_match(n,a[i])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,a[r]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var t=this.next();return t||this.lex()},begin:function(t){this.conditionStack.push(t)},popState:function(){return 0<this.conditionStack.length-1?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(t){return 0<=(t=this.conditionStack.length-1-Math.abs(t||0))?this.conditionStack[t]:"INITIAL"},pushState:function(t){this.begin(t)},stateStackSize:function(){return this.conditionStack.length},options:{},performAction:function(t,e,n,r){switch(n){case 0:break;case 1:return 6;case 2:break;case 3:return 5;case 4:return this.begin("struct"),17;case 5:return this.popState(),19;case 6:break;case 7:return"MEMBER";case 8:return 16;case 9:this.begin("string");break;case 10:this.popState();break;case 11:return"STR";case 12:case 13:return 27;case 14:case 15:return 29;case 16:return 28;case 17:return 26;case 18:return 30;case 19:return 31;case 20:return 13;case 21:return 43;case 22:return"DOT";case 23:return"PLUS";case 24:return 40;case 25:case 26:return"EQUALS";case 27:return 47;case 28:return"PUNCTUATION";case 29:return 46;case 30:return 45;case 31:return 42;case 32:return 8}},rules:[/^(?:%%[^\n]*)/,/^(?:\n+)/,/^(?:\s+)/,/^(?:classDiagram\b)/,/^(?:[\{])/,/^(?:\})/,/^(?:[\n])/,/^(?:[^\{\}\n]*)/,/^(?:class\b)/,/^(?:["])/,/^(?:["])/,/^(?:[^"]*)/,/^(?:\s*<\|)/,/^(?:\s*\|>)/,/^(?:\s*>)/,/^(?:\s*<)/,/^(?:\s*\*)/,/^(?:\s*o\b)/,/^(?:--)/,/^(?:\.\.)/,/^(?::[^#\n;]+)/,/^(?:-)/,/^(?:\.)/,/^(?:\+)/,/^(?:%)/,/^(?:=)/,/^(?:=)/,/^(?:[A-Za-z]+)/,/^(?:[!"#$%&'*+,-.`?\\_\/])/,/^(?:[0-9]+)/,/^(?:[\u00AA\u00B5\u00BA\u00C0-\u00D6\u00D8-\u00F6]|[\u00F8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377]|[\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5]|[\u03F7-\u0481\u048A-\u0527\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA]|[\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE]|[\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA]|[\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0]|[\u08A2-\u08AC\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0977]|[\u0979-\u097F\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2]|[\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A]|[\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39]|[\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8]|[\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0B05-\u0B0C]|[\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C]|[\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99]|[\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0]|[\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C3D]|[\u0C58\u0C59\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3]|[\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10]|[\u0D12-\u0D3A\u0D3D\u0D4E\u0D60\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1]|[\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81]|[\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3]|[\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6]|[\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A]|[\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081]|[\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D]|[\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0]|[\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310]|[\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F4\u1401-\u166C]|[\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u1700-\u170C\u170E-\u1711]|[\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7]|[\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191C]|[\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19C1-\u19C7\u1A00-\u1A16]|[\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF]|[\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC]|[\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D]|[\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D]|[\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3]|[\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F]|[\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128]|[\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184]|[\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3]|[\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6]|[\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE]|[\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C]|[\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D]|[\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FCC]|[\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B]|[\uA640-\uA66E\uA67F-\uA697\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788]|[\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA801\uA803-\uA805]|[\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB]|[\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uAA00-\uAA28]|[\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA80-\uAAAF\uAAB1\uAAB5]|[\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4]|[\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E]|[\uABC0-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D]|[\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36]|[\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D]|[\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC]|[\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF]|[\uFFD2-\uFFD7\uFFDA-\uFFDC])/,/^(?:\s)/,/^(?:$)/],conditions:{string:{rules:[10,11],inclusive:!1},struct:{rules:[5,6,7],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,8,9,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32],inclusive:!0}}};function L(){this.yy={}}return k.lexer=b,new((L.prototype=k).Parser=L)}();r.parser=e,r.Parser=e.Parser,r.parse=function(){return e.parse.apply(e,arguments)},r.main=function(t){t[1]||(console.log("Usage: "+t[0]+" FILE"),n.exit(1));var e=a(8).readFileSync(a(9).normalize(t[1]),"utf8");return r.parser.parse(e)},void 0!==t&&a.c[a.s]===t&&r.main(n.argv.slice(1))}).call(r,a(7),a(3)(t))},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.relationType=e.lineType=e.cleanupLabel=e.addMembers=e.addRelation=e.getRelations=e.getClasses=e.getClass=e.clear=e.addClass=void 0;var r=n(1),a=[],i={},s=e.addClass=function(t){void 0===i[t]&&(i[t]={id:t,methods:[],members:[]})},o=e.clear=function(){a=[],i={}},u=e.getClass=function(t){return i[t]},l=e.getClasses=function(){return i},c=e.getRelations=function(){return a},d=e.addRelation=function(t){r.logger.warn("Adding relation: "+JSON.stringify(t)),s(t.id1),s(t.id2),a.push(t)},h=e.addMembers=function(t,e){var n=i[t];"string"==typeof e&&(")"===e.substr(-1)?n.methods.push(e):n.members.push(e))},f=e.cleanupLabel=function(t){return":"===t.substring(0,1)?t.substr(2).trim():t.trim()},_=e.lineType={LINE:0,DOTTED_LINE:1},p=e.relationType={AGGREGATION:0,EXTENSION:1,COMPOSITION:2,DEPENDENCY:3};e.default={addClass:s,clear:o,getClass:u,getClasses:l,getRelations:c,addRelation:d,addMembers:h,cleanupLabel:f,lineType:_,relationType:p}},function(t,r,a){"use strict";(function(n,t){var e=function(){var t=function(t,e,n,r){for(n=n||{},r=t.length;r--;n[t[r]]=e);return n},e=[2,3],n=[1,7],r=[7,12,15,17,19,20,21],a=[7,11,12,15,17,19,20,21],i=[2,20],s=[1,32],o={trace:function(){},yy:{},symbols_:{error:2,start:3,GG:4,":":5,document:6,EOF:7,DIR:8,options:9,body:10,OPT:11,NL:12,line:13,statement:14,COMMIT:15,commit_arg:16,BRANCH:17,ID:18,CHECKOUT:19,MERGE:20,RESET:21,reset_arg:22,STR:23,HEAD:24,reset_parents:25,CARET:26,$accept:0,$end:1},terminals_:{2:"error",4:"GG",5:":",7:"EOF",8:"DIR",11:"OPT",12:"NL",15:"COMMIT",17:"BRANCH",18:"ID",19:"CHECKOUT",20:"MERGE",21:"RESET",23:"STR",24:"HEAD",26:"CARET"},productions_:[0,[3,4],[3,5],[6,0],[6,2],[9,2],[9,1],[10,0],[10,2],[13,2],[13,1],[14,2],[14,2],[14,2],[14,2],[14,2],[16,0],[16,1],[22,2],[22,2],[25,0],[25,2]],performAction:function(t,e,n,r,a,i,s){var o=i.length-1;switch(a){case 1:return i[o-1];case 2:return r.setDirection(i[o-3]),i[o-1];case 4:r.setOptions(i[o-1]),this.$=i[o];break;case 5:i[o-1]+=i[o],this.$=i[o-1];break;case 7:this.$=[];break;case 8:i[o-1].push(i[o]),this.$=i[o-1];break;case 9:this.$=i[o-1];break;case 11:r.commit(i[o]);break;case 12:r.branch(i[o]);break;case 13:r.checkout(i[o]);break;case 14:r.merge(i[o]);break;case 15:r.reset(i[o]);break;case 16:this.$="";break;case 17:this.$=i[o];break;case 18:this.$=i[o-1]+":"+i[o];break;case 19:this.$=i[o-1]+":"+r.count,r.count=0;break;case 20:r.count=0;break;case 21:r.count+=1}},table:[{3:1,4:[1,2]},{1:[3]},{5:[1,3],8:[1,4]},{6:5,7:e,9:6,12:n},{5:[1,8]},{7:[1,9]},t(r,[2,7],{10:10,11:[1,11]}),t(a,[2,6]),{6:12,7:e,9:6,12:n},{1:[2,1]},{7:[2,4],12:[1,15],13:13,14:14,15:[1,16],17:[1,17],19:[1,18],20:[1,19],21:[1,20]},t(a,[2,5]),{7:[1,21]},t(r,[2,8]),{12:[1,22]},t(r,[2,10]),{12:[2,16],16:23,23:[1,24]},{18:[1,25]},{18:[1,26]},{18:[1,27]},{18:[1,30],22:28,24:[1,29]},{1:[2,2]},t(r,[2,9]),{12:[2,11]},{12:[2,17]},{12:[2,12]},{12:[2,13]},{12:[2,14]},{12:[2,15]},{12:i,25:31,26:s},{12:i,25:33,26:s},{12:[2,18]},{12:i,25:34,26:s},{12:[2,19]},{12:[2,21]}],defaultActions:{9:[2,1],21:[2,2],23:[2,11],24:[2,17],25:[2,12],26:[2,13],27:[2,14],28:[2,15],31:[2,18],33:[2,19],34:[2,21]},parseError:function(t,e){if(!e.recoverable){var n=function(t,e){this.message=t,this.hash=e};throw n.prototype=Error,new n(t,e)}this.trace(t)},parse:function(t){var e=this,n=[0],r=[],a=[null],i=[],s=this.table,o="",u=0,l=0,c=0,d=1,h=i.slice.call(arguments,1),f=Object.create(this.lexer),_={yy:{}};for(var p in this.yy)Object.prototype.hasOwnProperty.call(this.yy,p)&&(_.yy[p]=this.yy[p]);f.setInput(t,_.yy),_.yy.lexer=f,_.yy.parser=this,void 0===f.yylloc&&(f.yylloc={});var m=f.yylloc;i.push(m);var y=f.options&&f.options.ranges;"function"==typeof _.yy.parseError?this.parseError=_.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var g,v,M,k,b,L,w,x,D,Y,T={};;){if(M=n[n.length-1],this.defaultActions[M]?k=this.defaultActions[M]:(null==g&&(Y=void 0,"number"!=typeof(Y=r.pop()||f.lex()||d)&&(Y instanceof Array&&(Y=(r=Y).pop()),Y=e.symbols_[Y]||Y),g=Y),k=s[M]&&s[M][g]),void 0===k||!k.length||!k[0]){var A="";for(L in D=[],s[M])this.terminals_[L]&&2<L&&D.push("'"+this.terminals_[L]+"'");A=f.showPosition?"Parse error on line "+(u+1)+":\n"+f.showPosition()+"\nExpecting "+D.join(", ")+", got '"+(this.terminals_[g]||g)+"'":"Parse error on line "+(u+1)+": Unexpected "+(g==d?"end of input":"'"+(this.terminals_[g]||g)+"'"),this.parseError(A,{text:f.match,token:this.terminals_[g]||g,line:f.yylineno,loc:m,expected:D})}if(k[0]instanceof Array&&1<k.length)throw new Error("Parse Error: multiple actions possible at state: "+M+", token: "+g);switch(k[0]){case 1:n.push(g),a.push(f.yytext),i.push(f.yylloc),n.push(k[1]),g=null,v?(g=v,v=null):(l=f.yyleng,o=f.yytext,u=f.yylineno,m=f.yylloc,0<c&&c--);break;case 2:if(w=this.productions_[k[1]][1],T.$=a[a.length-w],T._$={first_line:i[i.length-(w||1)].first_line,last_line:i[i.length-1].last_line,first_column:i[i.length-(w||1)].first_column,last_column:i[i.length-1].last_column},y&&(T._$.range=[i[i.length-(w||1)].range[0],i[i.length-1].range[1]]),void 0!==(b=this.performAction.apply(T,[o,l,u,_.yy,k[1],a,i].concat(h))))return b;w&&(n=n.slice(0,-1*w*2),a=a.slice(0,-1*w),i=i.slice(0,-1*w)),n.push(this.productions_[k[1]][0]),a.push(T.$),i.push(T._$),x=s[n[n.length-2]][n[n.length-1]],n.push(x);break;case 3:return!0}}return!0}},u={EOF:1,parseError:function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e)},setInput:function(t,e){return this.yy=e||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},unput:function(t){var e=t.length,n=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var r=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var a=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===r.length?this.yylloc.first_column:0)+r[r.length-n.length].length-n[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[a[0],a[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(t){this.unput(this.match.slice(t))},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(20<t.length?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(20<t.length?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),e=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},test_match:function(t,e){var n,r,a;if(this.options.backtrack_lexer&&(a={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(a.yylloc.range=this.yylloc.range.slice(0))),(r=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=r.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:r?r[r.length-1].length-r[r.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],n=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var i in a)this[i]=a[i];return!1}return!1},next:function(){if(this.done)return this.EOF;var t,e,n,r;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var a=this._currentRules(),i=0;i<a.length;i++)if((n=this._input.match(this.rules[a[i]]))&&(!e||n[0].length>e[0].length)){if(e=n,r=i,this.options.backtrack_lexer){if(!1!==(t=this.test_match(n,a[i])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,a[r]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var t=this.next();return t||this.lex()},begin:function(t){this.conditionStack.push(t)},popState:function(){return 0<this.conditionStack.length-1?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(t){return 0<=(t=this.conditionStack.length-1-Math.abs(t||0))?this.conditionStack[t]:"INITIAL"},pushState:function(t){this.begin(t)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(t,e,n,r){switch(n){case 0:return 12;case 1:case 2:case 3:break;case 4:return 4;case 5:return 15;case 6:return 17;case 7:return 20;case 8:return 21;case 9:return 19;case 10:case 11:return 8;case 12:return 5;case 13:return 26;case 14:this.begin("options");break;case 15:this.popState();break;case 16:return 11;case 17:this.begin("string");break;case 18:this.popState();break;case 19:return 23;case 20:return 18;case 21:return 7}},rules:[/^(?:(\r?\n)+)/i,/^(?:\s+)/i,/^(?:#[^\n]*)/i,/^(?:%[^\n]*)/i,/^(?:gitGraph\b)/i,/^(?:commit\b)/i,/^(?:branch\b)/i,/^(?:merge\b)/i,/^(?:reset\b)/i,/^(?:checkout\b)/i,/^(?:LR\b)/i,/^(?:BT\b)/i,/^(?::)/i,/^(?:\^)/i,/^(?:options\r?\n)/i,/^(?:end\r?\n)/i,/^(?:[^\n]+\r?\n)/i,/^(?:["])/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:[a-zA-Z][a-zA-Z0-9_]+)/i,/^(?:$)/i],conditions:{options:{rules:[15,16],inclusive:!1},string:{rules:[18,19],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,17,20,21],inclusive:!0}}};function l(){this.yy={}}return o.lexer=u,new((l.prototype=o).Parser=l)}();r.parser=e,r.Parser=e.Parser,r.parse=function(){return e.parse.apply(e,arguments)},r.main=function(t){t[1]||(console.log("Usage: "+t[0]+" FILE"),n.exit(1));var e=a(8).readFileSync(a(9).normalize(t[1]),"utf8");return r.parser.parse(e)},void 0!==t&&a.c[a.s]===t&&r.main(n.argv.slice(1))}).call(r,a(7),a(3)(t))},function(t,e,n){t.exports=n(228)},function(t,e,n){var r=n(230),a=n(243)(r);t.exports=a},function(t,e,n){var c=n(233),d=n(180),h=n(2),f=n(182),_=n(31),p=n(183),m=Object.prototype.hasOwnProperty;t.exports=function(t,e){var n=h(t),r=!n&&d(t),a=!n&&!r&&f(t),i=!n&&!r&&!a&&p(t),s=n||r||a||i,o=s?c(t.length,String):[],u=o.length;for(var l in t)!e&&!m.call(t,l)||s&&("length"==l||a&&("offset"==l||"parent"==l)||i&&("buffer"==l||"byteLength"==l||"byteOffset"==l)||_(l,u))||o.push(l);return o}},function(t,e,n){var r=n(234),a=n(12),i=Object.prototype,s=i.hasOwnProperty,o=i.propertyIsEnumerable,u=r(function(){return arguments}())?r:function(t){return a(t)&&s.call(t,"callee")&&!o.call(t,"callee")};t.exports=u},function(n,t,e){(function(t){var e="object"==typeof t&&t&&t.Object===Object&&t;n.exports=e}).call(t,e(18))},function(t,o,u){(function(t){var e=u(5),n=u(237),r="object"==typeof o&&o&&!o.nodeType&&o,a=r&&"object"==typeof t&&t&&!t.nodeType&&t,i=a&&a.exports===r?e.Buffer:void 0,s=(i?i.isBuffer:void 0)||n;t.exports=s}).call(o,u(3)(t))},function(t,e,n){var r=n(238),a=n(184),i=n(239),s=i&&i.isTypedArray,o=s?a(s):r;t.exports=o},function(t,e){t.exports=function(e){return function(t){return e(t)}}},function(t,e){var n=Object.prototype;t.exports=function(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||n)}},function(t,e,n){var r=n(11),a=n(14),i="[object AsyncFunction]",s="[object Function]",o="[object GeneratorFunction]",u="[object Proxy]";t.exports=function(t){if(!a(t))return!1;var e=r(t);return e==s||e==o||e==i||e==u}},function(t,e,n){var r=n(188);t.exports=function(t,e,n){"__proto__"==e&&r?r(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n}},function(t,e,n){var r=n(10),a=function(){try{var t=r(Object,"defineProperty");return t({},"",{}),t}catch(t){}}();t.exports=a},function(t,e){var n=Function.prototype.toString;t.exports=function(t){if(null!=t){try{return n.call(t)}catch(t){}try{return t+""}catch(t){}}return""}},function(t,e,n){var r=n(23),a=n(274),i=n(275),s=n(276),o=n(277),u=n(278);function l(t){var e=this.__data__=new r(t);this.size=e.size}l.prototype.clear=a,l.prototype.delete=i,l.prototype.get=s,l.prototype.has=o,l.prototype.set=u,t.exports=l},function(t,e,n){var s=n(291),o=n(12);t.exports=function t(e,n,r,a,i){return e===n||(null==e||null==n||!o(e)&&!o(n)?e!=e&&n!=n:s(e,n,r,a,t,i))}},function(t,e,n){var m=n(193),y=n(294),g=n(194),v=1,M=2;t.exports=function(t,e,n,r,a,i){var s=n&v,o=t.length,u=e.length;if(o!=u&&!(s&&o<u))return!1;var l=i.get(t);if(l&&i.get(e))return l==e;var c=-1,d=!0,h=n&M?new m:void 0;for(i.set(t,e),i.set(e,t);++c<o;){var f=t[c],_=e[c];if(r)var p=s?r(_,f,c,e,t,i):r(f,_,c,t,e,i);if(void 0!==p){if(p)continue;d=!1;break}if(h){if(!y(e,function(t,e){if(!g(h,e)&&(f===t||a(f,t,n,r,i)))return h.push(e)})){d=!1;break}}else if(f!==_&&!a(f,_,n,r,i)){d=!1;break}}return i.delete(t),i.delete(e),d}},function(t,e,n){var r=n(34),a=n(292),i=n(293);function s(t){var e=-1,n=null==t?0:t.length;for(this.__data__=new r;++e<n;)this.add(t[e])}s.prototype.add=s.prototype.push=a,s.prototype.has=i,t.exports=s},function(t,e){t.exports=function(t,e){return t.has(e)}},function(t,e,n){var r=n(10)(n(5),"Set");t.exports=r},function(t,e,n){var r=n(14);t.exports=function(t){return t==t&&!r(t)}},function(t,e){t.exports=function(e,n){return function(t){return null!=t&&t[e]===n&&(void 0!==n||e in Object(t))}}},function(t,e,n){var a=n(199),i=n(27);t.exports=function(t,e){for(var n=0,r=(e=a(e,t)).length;null!=t&&n<r;)t=t[i(e[n++])];return n&&n==r?t:void 0}},function(t,e,n){var r=n(2),a=n(36),i=n(312),s=n(315);t.exports=function(t,e){return r(t)?t:a(t,e)?[t]:i(s(t))}},function(t,e){t.exports=function(t,e,n,r){for(var a=t.length,i=n+(r?1:-1);r?i--:++i<a;)if(e(t[i],i,t))return i;return-1}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getHead=e.getDirection=e.getCurrentBranch=e.getCommitsArray=e.getCommits=e.getBranches=e.getBranchesAsObjArray=e.clear=e.prettyPrint=e.reset=e.checkout=e.merge=e.branch=e.commit=e.getOptions=e.setOptions=e.setDirection=void 0;var r=i(n(328)),a=i(n(333)),o=i(n(334)),u=i(n(177)),l=i(n(343)),c=n(1);function i(t){return t&&t.__esModule?t:{default:t}}var d={},h=null,f={master:h},_="master",s="LR",p=0;function m(){for(var t,e,n="",r=0;r<7;r++)n+="0123456789abcdef"[(t=0,e=16,Math.floor(Math.random()*(e-t))+t)];return n}function y(t,e){for(c.logger.debug("Entering isfastforwardable:",t.id,e.id);t.seq<=e.seq&&t!==e&&null!=e.parent;){if(Array.isArray(e.parent))return c.logger.debug("In merge commit:",e.parent),y(t,d[e.parent[0]])||y(t,d[e.parent[1]]);e=d[e.parent]}return c.logger.debug(t.id,e.id),t.id===e.id}var g=e.setDirection=function(t){s=t},v={},M=e.setOptions=function(t){c.logger.debug("options str",t),t=(t=t&&t.trim())||"{}";try{v=JSON.parse(t)}catch(t){c.logger.error("error while parsing gitGraph options",t.message)}},k=e.getOptions=function(){return v},b=e.commit=function(t){var e={id:m(),message:t,seq:p++,parent:null==h?null:h.id};d[(h=e).id]=e,f[_]=e.id,c.logger.debug("in pushCommit "+e.id)},L=e.branch=function(t){f[t]=null!=h?h.id:null,c.logger.debug("in createBranch")},w=e.merge=function(t){var e=d[f[_]],n=d[f[t]];if(a=n,i=(r=e).seq,a.seq<i&&y(a,r))c.logger.debug("Already merged");else{var r,a,i;if(y(e,n))f[_]=f[t],h=d[f[_]];else{var s={id:m(),message:"merged branch "+t+" into "+_,seq:p++,parent:[null==h?null:h.id,f[t]]};d[(h=s).id]=s,f[_]=s.id}c.logger.debug(f),c.logger.debug("in mergeBranch")}},x=e.checkout=function(t){c.logger.debug("in checkout");var e=f[_=t];h=d[e]},D=e.reset=function(t){c.logger.debug("in reset",t);var e=t.split(":")[0],n=parseInt(t.split(":")[1]),r="HEAD"===e?h:d[f[e]];for(c.logger.debug(r,n);0<n;)if(n--,!(r=d[r.parent])){var a="Critical error - unique parent commit not found during reset";throw c.logger.error(a),a}h=r,f[_]=r.id};function Y(t,e,n){var r=t.indexOf(e);-1===r?t.push(n):t.splice(r,1,n)}var T=e.prettyPrint=function(){c.logger.debug(d),function t(e){var n=(0,l.default)(e,"seq"),r="";e.forEach(function(t){r+=t===n?"\t*":"\t|"});var a=[r,n.id,n.seq];if((0,u.default)(f,function(t,e){t===n.id&&a.push(e)}),c.logger.debug(a.join(" ")),Array.isArray(n.parent)){var i=d[n.parent[0]];Y(e,n,i),e.push(d[n.parent[1]])}else{if(null==n.parent)return;var s=d[n.parent];Y(e,n,s)}t(e=(0,o.default)(e,"id"))}([C()[0]])},A=e.clear=function(){d={},f={master:h=null},_="master",p=0},S=e.getBranchesAsObjArray=function(){return(0,a.default)(f,function(t,e){return{name:e,commit:d[t]}})},E=e.getBranches=function(){return f},j=e.getCommits=function(){return d},C=e.getCommitsArray=function(){var t=Object.keys(d).map(function(t){return d[t]});return t.forEach(function(t){c.logger.debug(t.id)}),(0,r.default)(t,["seq"],["desc"])},F=e.getCurrentBranch=function(){return _},O=e.getDirection=function(){return s},H=e.getHead=function(){return h};e.default={setDirection:g,setOptions:M,getOptions:k,commit:b,branch:L,merge:w,checkout:x,reset:D,prettyPrint:T,clear:A,getBranchesAsObjArray:S,getBranches:E,getCommits:j,getCommitsArray:C,getCurrentBranch:F,getDirection:O,getHead:H}},function(t,e,n){var s=n(178),o=n(13);t.exports=function(t,r){var a=-1,i=o(t)?Array(t.length):[];return s(t,function(t,e,n){i[++a]=r(t,e,n)}),i}},function(t,e){t.exports={name:"mermaid",version:"7.1.2",description:"Markdownish syntax for generating flowcharts, sequence diagrams, class diagrams, gantt charts and git graphs.",main:"dist/mermaid.core.js",keywords:["diagram","markdown","flowchart","sequence diagram","gantt","class diagram","git graph"],scripts:{build:"webpack --progress --colors","build:watch":"yarn build --watch",release:"yarn build -p --config webpack.config.prod.babel.js",upgrade:"yarn-upgrade-all && yarn remove d3 && yarn add d3@3.5.17",lint:"standard",karma:"node -r babel-register node_modules/.bin/karma start karma.conf.js --single-run",test:"yarn lint && yarn karma",jison:"node -r babel-register node_modules/.bin/gulp jison",prepublishOnly:"yarn build && yarn release && yarn test"},repository:{type:"git",url:"https://github.com/knsv/mermaid"},author:"Knut Sveidqvist",license:"MIT",standard:{ignore:["**/parser/*.js","dist/**/*.js"]},dependencies:{d3:"3.5.17","dagre-d3-renderer":"^0.4.25","dagre-layout":"^0.8.0",he:"^1.1.1",lodash:"^4.17.4",moment:"^2.20.1"},devDependencies:{"babel-core":"^6.26.0","babel-loader":"^7.1.2","babel-plugin-lodash":"^3.3.2","babel-preset-env":"^1.6.1","codeclimate-test-reporter":"^0.5.0","css-loader":"^0.28.7","css-to-string-loader":"^0.1.3","extract-text-webpack-plugin":"^3.0.2",gulp:"^3.9.1","gulp-filelog":"^0.4.1","gulp-jison":"^1.2.0","inject-loader":"^3.0.1",jasmine:"^2.8.0","jasmine-es6":"^0.4.3",jison:"^0.4.18",karma:"^1.7.1","karma-chrome-launcher":"^2.2.0","karma-jasmine":"^1.1.1","karma-sourcemap-loader":"^0.3.7","karma-webpack":"^2.0.9",less:"^2.7.3","less-loader":"^4.0.5",puppeteer:"^0.13.0",standard:"^10.0.3","style-loader":"^0.19.1",webpack:"^3.10.0","webpack-node-externals":"^1.6.0","yarn-upgrade-all":"^0.2.0"},files:["dist","src"]}},function(t,r,a){"use strict";(function(s){Object.defineProperty(r,"__esModule",{value:!0});var o=e(a(205)),u=e(a(206)),l=a(1),t=e(a(203));function e(t){return t&&t.__esModule?t:{default:t}}var c=0,n=function(){void 0!==s.mermaid_config&&!1===s.mermaid_config.htmlLabels&&(d.htmlLabels=!1),d.startOnLoad?void 0!==s.mermaid_config?!0===s.mermaid_config.startOnLoad&&d.init():u.default.getConfig().startOnLoad&&d.init():void 0===d.startOnLoad&&(l.logger.debug("In start, no config"),u.default.getConfig().startOnLoad&&d.init())};"undefined"!=typeof document&&window.addEventListener("load",function(){n()},!1);var d={startOnLoad:!0,htmlLabels:!0,mermaidAPI:u.default,parse:u.default.parse,render:u.default.render,init:function(){var t=u.default.getConfig();l.logger.debug("Starting rendering diagrams");var e=void 0;2<=arguments.length?(void 0!==arguments[0]&&(d.sequenceConfig=arguments[0]),e=arguments[1]):e=arguments[0];var a=void 0;"function"==typeof arguments[arguments.length-1]?(a=arguments[arguments.length-1],l.logger.debug("Callback function found")):void 0!==t.mermaid&&("function"==typeof t.mermaid.callback?(a=t.mermaid.callback,l.logger.debug("Callback function found")):l.logger.debug("No Callback function found")),e=void 0===e?document.querySelectorAll(".mermaid"):"string"==typeof e?document.querySelectorAll(e):e instanceof window.Node?[e]:e,void 0!==s.mermaid_config&&u.default.initialize(s.mermaid_config),l.logger.debug("Start On Load before: "+d.startOnLoad),void 0!==d.startOnLoad&&(l.logger.debug("Start On Load inner: "+d.startOnLoad),u.default.initialize({startOnLoad:d.startOnLoad})),void 0!==d.ganttConfig&&u.default.initialize({gantt:d.ganttConfig});for(var i=void 0,n=function(t){var n=e[t];if(n.getAttribute("data-processed"))return"continue";n.setAttribute("data-processed",!0);var r="mermaidChart"+c++;i=n.innerHTML,i=o.default.decode(i).trim(),u.default.render(r,i,function(t,e){n.innerHTML=t,void 0!==a&&a(r),e(n)},n)},r=0;r<e.length;r++)n(r)},initialize:function(t){l.logger.debug("Initializing mermaid"),void 0!==t.mermaid&&(void 0!==t.mermaid.startOnLoad&&(d.startOnLoad=t.mermaid.startOnLoad),void 0!==t.mermaid.htmlLabels&&(d.htmlLabels=t.mermaid.htmlLabels)),u.default.initialize(t)},version:function(){return"v"+t.default.version},contentLoaded:n};r.default=d}).call(r,a(18))},function(t,E,j){(function(T,A){var S;!function(t){var e="object"==typeof E&&E,n=("object"==typeof T&&T&&T.exports,"object"==typeof A&&A);n.global!==n&&n.window;var o=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,u=/[\x01-\x7F]/g,l=/[\x01-\t\x0B\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,c=/<\u20D2|=\u20E5|>\u20D2|\u205F\u200A|\u219D\u0338|\u2202\u0338|\u2220\u20D2|\u2229\uFE00|\u222A\uFE00|\u223C\u20D2|\u223D\u0331|\u223E\u0333|\u2242\u0338|\u224B\u0338|\u224D\u20D2|\u224E\u0338|\u224F\u0338|\u2250\u0338|\u2261\u20E5|\u2264\u20D2|\u2265\u20D2|\u2266\u0338|\u2267\u0338|\u2268\uFE00|\u2269\uFE00|\u226A\u0338|\u226A\u20D2|\u226B\u0338|\u226B\u20D2|\u227F\u0338|\u2282\u20D2|\u2283\u20D2|\u228A\uFE00|\u228B\uFE00|\u228F\u0338|\u2290\u0338|\u2293\uFE00|\u2294\uFE00|\u22B4\u20D2|\u22B5\u20D2|\u22D8\u0338|\u22D9\u0338|\u22DA\uFE00|\u22DB\uFE00|\u22F5\u0338|\u22F9\u0338|\u2933\u0338|\u29CF\u0338|\u29D0\u0338|\u2A6D\u0338|\u2A70\u0338|\u2A7D\u0338|\u2A7E\u0338|\u2AA1\u0338|\u2AA2\u0338|\u2AAC\uFE00|\u2AAD\uFE00|\u2AAF\u0338|\u2AB0\u0338|\u2AC5\u0338|\u2AC6\u0338|\u2ACB\uFE00|\u2ACC\uFE00|\u2AFD\u20E5|[\xA0-\u0113\u0116-\u0122\u0124-\u012B\u012E-\u014D\u0150-\u017E\u0192\u01B5\u01F5\u0237\u02C6\u02C7\u02D8-\u02DD\u0311\u0391-\u03A1\u03A3-\u03A9\u03B1-\u03C9\u03D1\u03D2\u03D5\u03D6\u03DC\u03DD\u03F0\u03F1\u03F5\u03F6\u0401-\u040C\u040E-\u044F\u0451-\u045C\u045E\u045F\u2002-\u2005\u2007-\u2010\u2013-\u2016\u2018-\u201A\u201C-\u201E\u2020-\u2022\u2025\u2026\u2030-\u2035\u2039\u203A\u203E\u2041\u2043\u2044\u204F\u2057\u205F-\u2063\u20AC\u20DB\u20DC\u2102\u2105\u210A-\u2113\u2115-\u211E\u2122\u2124\u2127-\u2129\u212C\u212D\u212F-\u2131\u2133-\u2138\u2145-\u2148\u2153-\u215E\u2190-\u219B\u219D-\u21A7\u21A9-\u21AE\u21B0-\u21B3\u21B5-\u21B7\u21BA-\u21DB\u21DD\u21E4\u21E5\u21F5\u21FD-\u2205\u2207-\u2209\u220B\u220C\u220F-\u2214\u2216-\u2218\u221A\u221D-\u2238\u223A-\u2257\u2259\u225A\u225C\u225F-\u2262\u2264-\u228B\u228D-\u229B\u229D-\u22A5\u22A7-\u22B0\u22B2-\u22BB\u22BD-\u22DB\u22DE-\u22E3\u22E6-\u22F7\u22F9-\u22FE\u2305\u2306\u2308-\u2310\u2312\u2313\u2315\u2316\u231C-\u231F\u2322\u2323\u232D\u232E\u2336\u233D\u233F\u237C\u23B0\u23B1\u23B4-\u23B6\u23DC-\u23DF\u23E2\u23E7\u2423\u24C8\u2500\u2502\u250C\u2510\u2514\u2518\u251C\u2524\u252C\u2534\u253C\u2550-\u256C\u2580\u2584\u2588\u2591-\u2593\u25A1\u25AA\u25AB\u25AD\u25AE\u25B1\u25B3-\u25B5\u25B8\u25B9\u25BD-\u25BF\u25C2\u25C3\u25CA\u25CB\u25EC\u25EF\u25F8-\u25FC\u2605\u2606\u260E\u2640\u2642\u2660\u2663\u2665\u2666\u266A\u266D-\u266F\u2713\u2717\u2720\u2736\u2758\u2772\u2773\u27C8\u27C9\u27E6-\u27ED\u27F5-\u27FA\u27FC\u27FF\u2902-\u2905\u290C-\u2913\u2916\u2919-\u2920\u2923-\u292A\u2933\u2935-\u2939\u293C\u293D\u2945\u2948-\u294B\u294E-\u2976\u2978\u2979\u297B-\u297F\u2985\u2986\u298B-\u2996\u299A\u299C\u299D\u29A4-\u29B7\u29B9\u29BB\u29BC\u29BE-\u29C5\u29C9\u29CD-\u29D0\u29DC-\u29DE\u29E3-\u29E5\u29EB\u29F4\u29F6\u2A00-\u2A02\u2A04\u2A06\u2A0C\u2A0D\u2A10-\u2A17\u2A22-\u2A27\u2A29\u2A2A\u2A2D-\u2A31\u2A33-\u2A3C\u2A3F\u2A40\u2A42-\u2A4D\u2A50\u2A53-\u2A58\u2A5A-\u2A5D\u2A5F\u2A66\u2A6A\u2A6D-\u2A75\u2A77-\u2A9A\u2A9D-\u2AA2\u2AA4-\u2AB0\u2AB3-\u2AC8\u2ACB\u2ACC\u2ACF-\u2ADB\u2AE4\u2AE6-\u2AE9\u2AEB-\u2AF3\u2AFD\uFB00-\uFB04]|\uD835[\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDCCF\uDD04\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDD6B]/g,d={"­":"shy","":"zwnj","":"zwj","":"lrm","":"ic","":"it","":"af","":"rlm","":"ZeroWidthSpace","":"NoBreak","̑":"DownBreve","⃛":"tdot","⃜":"DotDot","\t":"Tab","\n":"NewLine","":"puncsp","":"MediumSpace","":"thinsp","":"hairsp","":"emsp13","":"ensp","":"emsp14","":"emsp","":"numsp"," ":"nbsp","":"ThickSpace","‾":"oline",_:"lowbar","":"dash","":"ndash","—":"mdash","―":"horbar",",":"comma",";":"semi","⁏":"bsemi",":":"colon","⩴":"Colone","!":"excl","¡":"iexcl","?":"quest","¿":"iquest",".":"period","‥":"nldr","…":"mldr","·":"middot","'":"apos","":"lsquo","":"rsquo","":"sbquo","":"lsaquo","":"rsaquo",'"':"quot","“":"ldquo","”":"rdquo","„":"bdquo","«":"laquo","»":"raquo","(":"lpar",")":"rpar","[":"lsqb","]":"rsqb","{":"lcub","}":"rcub","⌈":"lceil","⌉":"rceil","⌊":"lfloor","⌋":"rfloor","⦅":"lopar","⦆":"ropar","⦋":"lbrke","⦌":"rbrke","⦍":"lbrkslu","⦎":"rbrksld","⦏":"lbrksld","⦐":"rbrkslu","⦑":"langd","⦒":"rangd","⦓":"lparlt","⦔":"rpargt","⦕":"gtlPar","⦖":"ltrPar","⟦":"lobrk","⟧":"robrk","⟨":"lang","⟩":"rang","⟪":"Lang","⟫":"Rang","⟬":"loang","⟭":"roang","":"lbbrk","":"rbbrk","‖":"Vert","§":"sect","¶":"para","@":"commat","*":"ast","/":"sol",undefined:null,"&":"amp","#":"num","%":"percnt","‰":"permil","‱":"pertenk","†":"dagger","‡":"Dagger","•":"bull","":"hybull","":"prime","″":"Prime","‴":"tprime","⁗":"qprime","":"bprime","":"caret","`":"grave","´":"acute","˜":"tilde","^":"Hat","¯":"macr","˘":"breve","˙":"dot","¨":"die","˚":"ring","˝":"dblac","¸":"cedil","˛":"ogon","ˆ":"circ","ˇ":"caron","°":"deg","©":"copy","®":"reg","℗":"copysr","℘":"wp","℞":"rx","℧":"mho","℩":"iiota","←":"larr","↚":"nlarr","→":"rarr","↛":"nrarr","↑":"uarr","↓":"darr","↔":"harr","↮":"nharr","↕":"varr","↖":"nwarr","↗":"nearr","↘":"searr","↙":"swarr","↝":"rarrw","↝̸":"nrarrw","↞":"Larr","↟":"Uarr","↠":"Rarr","↡":"Darr","↢":"larrtl","↣":"rarrtl","↤":"mapstoleft","↥":"mapstoup","↦":"map","↧":"mapstodown","↩":"larrhk","↪":"rarrhk","↫":"larrlp","↬":"rarrlp","↭":"harrw","↰":"lsh","↱":"rsh","↲":"ldsh","↳":"rdsh","↵":"crarr","↶":"cularr","↷":"curarr","↺":"olarr","↻":"orarr","↼":"lharu","↽":"lhard","↾":"uharr","↿":"uharl","⇀":"rharu","⇁":"rhard","⇂":"dharr","⇃":"dharl","⇄":"rlarr","⇅":"udarr","⇆":"lrarr","⇇":"llarr","⇈":"uuarr","⇉":"rrarr","⇊":"ddarr","⇋":"lrhar","⇌":"rlhar","⇐":"lArr","⇍":"nlArr","⇑":"uArr","⇒":"rArr","⇏":"nrArr","⇓":"dArr","⇔":"iff","⇎":"nhArr","⇕":"vArr","⇖":"nwArr","⇗":"neArr","⇘":"seArr","⇙":"swArr","⇚":"lAarr","⇛":"rAarr","⇝":"zigrarr","⇤":"larrb","⇥":"rarrb","⇵":"duarr","⇽":"loarr","⇾":"roarr","⇿":"hoarr","∀":"forall","∁":"comp","∂":"part","∂̸":"npart","∃":"exist","∄":"nexist","∅":"empty","∇":"Del","∈":"in","∉":"notin","∋":"ni","∌":"notni","϶":"bepsi","∏":"prod","∐":"coprod","∑":"sum","+":"plus","±":"pm","÷":"div","×":"times","<":"lt","≮":"nlt","<⃒":"nvlt","=":"equals","≠":"ne","=⃥":"bne","⩵":"Equal",">":"gt","≯":"ngt",">⃒":"nvgt","¬":"not","|":"vert","¦":"brvbar","":"minus","∓":"mp","∔":"plusdo","":"frasl","":"setmn","":"lowast","∘":"compfn","√":"Sqrt","∝":"prop","∞":"infin","∟":"angrt","∠":"ang","∠⃒":"nang","∡":"angmsd","∢":"angsph","":"mid","∤":"nmid","∥":"par","∦":"npar","∧":"and","":"or","∩":"cap","∩︀":"caps","":"cup","":"cups","∫":"int","∬":"Int","∭":"tint","⨌":"qint","∮":"oint","∯":"Conint","∰":"Cconint","∱":"cwint","∲":"cwconint","∳":"awconint","∴":"there4","∵":"becaus","":"ratio","∷":"Colon","∸":"minusd","∺":"mDDot","∻":"homtht","":"sim","≁":"nsim","∼⃒":"nvsim","∽":"bsim","∽̱":"race","∾":"ac","∾̳":"acE","∿":"acd","≀":"wr","≂":"esim","≂̸":"nesim","≃":"sime","≄":"nsime","≅":"cong","≇":"ncong","≆":"simne","≈":"ap","≉":"nap","≊":"ape","≋":"apid","≋̸":"napid","≌":"bcong","≍":"CupCap","≭":"NotCupCap","≍⃒":"nvap","≎":"bump","≎̸":"nbump","≏":"bumpe","≏̸":"nbumpe","≐":"doteq","≐̸":"nedot","≑":"eDot","≒":"efDot","≓":"erDot","≔":"colone","≕":"ecolon","≖":"ecir","≗":"cire","≙":"wedgeq","≚":"veeeq","≜":"trie","≟":"equest","≡":"equiv","≢":"nequiv","≡⃥":"bnequiv","≤":"le","≰":"nle","≤⃒":"nvle","≥":"ge","≱":"nge","≥⃒":"nvge","≦":"lE","≦̸":"nlE","≧":"gE","≧̸":"ngE","≨︀":"lvnE","≨":"lnE","≩":"gnE","≩︀":"gvnE","≪":"ll","≪̸":"nLtv","≪⃒":"nLt","≫":"gg","≫̸":"nGtv","≫⃒":"nGt","≬":"twixt","≲":"lsim","≴":"nlsim","≳":"gsim","≵":"ngsim","≶":"lg","≸":"ntlg","≷":"gl","≹":"ntgl","≺":"pr","⊀":"npr","≻":"sc","⊁":"nsc","≼":"prcue","⋠":"nprcue","≽":"sccue","⋡":"nsccue","≾":"prsim","≿":"scsim","≿̸":"NotSucceedsTilde","⊂":"sub","⊄":"nsub","⊂⃒":"vnsub","⊃":"sup","⊅":"nsup","⊃⃒":"vnsup","⊆":"sube","⊈":"nsube","⊇":"supe","⊉":"nsupe","⊊︀":"vsubne","⊊":"subne","⊋︀":"vsupne","⊋":"supne","⊍":"cupdot","⊎":"uplus","⊏":"sqsub","⊏̸":"NotSquareSubset","⊐":"sqsup","⊐̸":"NotSquareSuperset","⊑":"sqsube","⋢":"nsqsube","⊒":"sqsupe","⋣":"nsqsupe","⊓":"sqcap","⊓︀":"sqcaps","⊔":"sqcup","⊔︀":"sqcups","⊕":"oplus","⊖":"ominus","⊗":"otimes","⊘":"osol","⊙":"odot","⊚":"ocir","⊛":"oast","⊝":"odash","⊞":"plusb","⊟":"minusb","⊠":"timesb","⊡":"sdotb","⊢":"vdash","⊬":"nvdash","⊣":"dashv","":"top","⊥":"bot","⊧":"models","⊨":"vDash","⊭":"nvDash","⊩":"Vdash","⊮":"nVdash","⊪":"Vvdash","⊫":"VDash","⊯":"nVDash","⊰":"prurel","⊲":"vltri","⋪":"nltri","⊳":"vrtri","⋫":"nrtri","⊴":"ltrie","⋬":"nltrie","⊴⃒":"nvltrie","⊵":"rtrie","⋭":"nrtrie","⊵⃒":"nvrtrie","⊶":"origof","⊷":"imof","⊸":"mumap","⊹":"hercon","⊺":"intcal","⊻":"veebar","⊽":"barvee","⊾":"angrtvb","⊿":"lrtri","⋀":"Wedge","":"Vee","⋂":"xcap","":"xcup","⋄":"diam","⋅":"sdot","⋆":"Star","⋇":"divonx","⋈":"bowtie","⋉":"ltimes","⋊":"rtimes","⋋":"lthree","⋌":"rthree","⋍":"bsime","⋎":"cuvee","⋏":"cuwed","⋐":"Sub","⋑":"Sup","⋒":"Cap","⋓":"Cup","⋔":"fork","⋕":"epar","⋖":"ltdot","⋗":"gtdot","⋘":"Ll","⋘̸":"nLl","⋙":"Gg","⋙̸":"nGg","⋚︀":"lesg","⋚":"leg","⋛":"gel","⋛︀":"gesl","⋞":"cuepr","⋟":"cuesc","⋦":"lnsim","⋧":"gnsim","⋨":"prnsim","⋩":"scnsim","⋮":"vellip","⋯":"ctdot","⋰":"utdot","⋱":"dtdot","⋲":"disin","⋳":"isinsv","⋴":"isins","⋵":"isindot","⋵̸":"notindot","⋶":"notinvc","⋷":"notinvb","⋹":"isinE","⋹̸":"notinE","⋺":"nisd","⋻":"xnis","⋼":"nis","⋽":"notnivc","⋾":"notnivb","⌅":"barwed","⌆":"Barwed","⌌":"drcrop","⌍":"dlcrop","⌎":"urcrop","⌏":"ulcrop","⌐":"bnot","⌒":"profline","⌓":"profsurf","⌕":"telrec","⌖":"target","⌜":"ulcorn","⌝":"urcorn","⌞":"dlcorn","⌟":"drcorn","⌢":"frown","⌣":"smile","⌭":"cylcty","⌮":"profalar","⌶":"topbot","⌽":"ovbar","⌿":"solbar","⍼":"angzarr","⎰":"lmoust","⎱":"rmoust","⎴":"tbrk","⎵":"bbrk","⎶":"bbrktbrk","⏜":"OverParenthesis","⏝":"UnderParenthesis","⏞":"OverBrace","⏟":"UnderBrace","⏢":"trpezium","⏧":"elinters","␣":"blank","─":"boxh","│":"boxv","┌":"boxdr","┐":"boxdl","└":"boxur","┘":"boxul","├":"boxvr","┤":"boxvl","┬":"boxhd","┴":"boxhu","┼":"boxvh","═":"boxH","║":"boxV","╒":"boxdR","╓":"boxDr","╔":"boxDR","╕":"boxdL","╖":"boxDl","╗":"boxDL","╘":"boxuR","╙":"boxUr","╚":"boxUR","╛":"boxuL","╜":"boxUl","╝":"boxUL","╞":"boxvR","╟":"boxVr","╠":"boxVR","╡":"boxvL","╢":"boxVl","╣":"boxVL","╤":"boxHd","╥":"boxhD","╦":"boxHD","╧":"boxHu","╨":"boxhU","╩":"boxHU","╪":"boxvH","╫":"boxVh","╬":"boxVH","▀":"uhblk","▄":"lhblk","█":"block","░":"blk14","▒":"blk12","▓":"blk34","□":"squ","▪":"squf","▫":"EmptyVerySmallSquare","▭":"rect","▮":"marker","▱":"fltns","△":"xutri","▴":"utrif","▵":"utri","▸":"rtrif","▹":"rtri","▽":"xdtri","▾":"dtrif","▿":"dtri","◂":"ltrif","◃":"ltri","◊":"loz","○":"cir","◬":"tridot","◯":"xcirc","◸":"ultri","◹":"urtri","◺":"lltri","◻":"EmptySmallSquare","◼":"FilledSmallSquare","★":"starf","☆":"star","☎":"phone","♀":"female","♂":"male","♠":"spades","♣":"clubs","♥":"hearts","♦":"diams","♪":"sung","✓":"check","✗":"cross","✠":"malt","✶":"sext","❘":"VerticalSeparator","⟈":"bsolhsub","⟉":"suphsol","⟵":"xlarr","⟶":"xrarr","⟷":"xharr","⟸":"xlArr","⟹":"xrArr","⟺":"xhArr","⟼":"xmap","⟿":"dzigrarr","⤂":"nvlArr","⤃":"nvrArr","⤄":"nvHarr","⤅":"Map","⤌":"lbarr","⤍":"rbarr","⤎":"lBarr","⤏":"rBarr","⤐":"RBarr","⤑":"DDotrahd","⤒":"UpArrowBar","⤓":"DownArrowBar","⤖":"Rarrtl","⤙":"latail","⤚":"ratail","⤛":"lAtail","⤜":"rAtail","⤝":"larrfs","⤞":"rarrfs","⤟":"larrbfs","⤠":"rarrbfs","⤣":"nwarhk","⤤":"nearhk","⤥":"searhk","⤦":"swarhk","⤧":"nwnear","⤨":"toea","⤩":"tosa","⤪":"swnwar","⤳":"rarrc","⤳̸":"nrarrc","⤵":"cudarrr","⤶":"ldca","⤷":"rdca","⤸":"cudarrl","⤹":"larrpl","⤼":"curarrm","⤽":"cularrp","⥅":"rarrpl","⥈":"harrcir","⥉":"Uarrocir","⥊":"lurdshar","⥋":"ldrushar","⥎":"LeftRightVector","⥏":"RightUpDownVector","⥐":"DownLeftRightVector","⥑":"LeftUpDownVector","⥒":"LeftVectorBar","⥓":"RightVectorBar","⥔":"RightUpVectorBar","⥕":"RightDownVectorBar","⥖":"DownLeftVectorBar","⥗":"DownRightVectorBar","⥘":"LeftUpVectorBar","⥙":"LeftDownVectorBar","⥚":"LeftTeeVector","⥛":"RightTeeVector","⥜":"RightUpTeeVector","⥝":"RightDownTeeVector","⥞":"DownLeftTeeVector","⥟":"DownRightTeeVector","⥠":"LeftUpTeeVector","⥡":"LeftDownTeeVector","⥢":"lHar","⥣":"uHar","⥤":"rHar","⥥":"dHar","⥦":"luruhar","⥧":"ldrdhar","⥨":"ruluhar","⥩":"rdldhar","⥪":"lharul","⥫":"llhard","⥬":"rharul","⥭":"lrhard","⥮":"udhar","⥯":"duhar","⥰":"RoundImplies","⥱":"erarr","⥲":"simrarr","⥳":"larrsim","⥴":"rarrsim","⥵":"rarrap","⥶":"ltlarr","⥸":"gtrarr","⥹":"subrarr","⥻":"suplarr","⥼":"lfisht","⥽":"rfisht","⥾":"ufisht","⥿":"dfisht","⦚":"vzigzag","⦜":"vangrt","⦝":"angrtvbd","⦤":"ange","⦥":"range","⦦":"dwangle","⦧":"uwangle","⦨":"angmsdaa","⦩":"angmsdab","⦪":"angmsdac","⦫":"angmsdad","⦬":"angmsdae","⦭":"angmsdaf","⦮":"angmsdag","⦯":"angmsdah","⦰":"bemptyv","⦱":"demptyv","⦲":"cemptyv","⦳":"raemptyv","⦴":"laemptyv","⦵":"ohbar","⦶":"omid","⦷":"opar","⦹":"operp","⦻":"olcross","⦼":"odsold","⦾":"olcir","⦿":"ofcir","⧀":"olt","⧁":"ogt","⧂":"cirscir","⧃":"cirE","⧄":"solb","⧅":"bsolb","⧉":"boxbox","⧍":"trisb","⧎":"rtriltri","⧏":"LeftTriangleBar","⧏̸":"NotLeftTriangleBar","⧐":"RightTriangleBar","⧐̸":"NotRightTriangleBar","⧜":"iinfin","⧝":"infintie","⧞":"nvinfin","⧣":"eparsl","⧤":"smeparsl","⧥":"eqvparsl","⧫":"lozf","⧴":"RuleDelayed","⧶":"dsol","⨀":"xodot","⨁":"xoplus","⨂":"xotime","⨄":"xuplus","⨆":"xsqcup","⨍":"fpartint","⨐":"cirfnint","⨑":"awint","⨒":"rppolint","⨓":"scpolint","⨔":"npolint","⨕":"pointint","⨖":"quatint","⨗":"intlarhk","⨢":"pluscir","⨣":"plusacir","⨤":"simplus","⨥":"plusdu","⨦":"plussim","⨧":"plustwo","⨩":"mcomma","⨪":"minusdu","⨭":"loplus","⨮":"roplus","":"Cross","⨰":"timesd","⨱":"timesbar","⨳":"smashp","⨴":"lotimes","⨵":"rotimes","⨶":"otimesas","⨷":"Otimes","⨸":"odiv","⨹":"triplus","⨺":"triminus","⨻":"tritime","⨼":"iprod","⨿":"amalg","⩀":"capdot","⩂":"ncup","⩃":"ncap","⩄":"capand","⩅":"cupor","⩆":"cupcap","⩇":"capcup","⩈":"cupbrcap","⩉":"capbrcup","⩊":"cupcup","⩋":"capcap","⩌":"ccups","⩍":"ccaps","⩐":"ccupssm","⩓":"And","⩔":"Or","⩕":"andand","⩖":"oror","⩗":"orslope","⩘":"andslope","⩚":"andv","⩛":"orv","⩜":"andd","⩝":"ord","⩟":"wedbar","⩦":"sdote","⩪":"simdot","⩭":"congdot","⩭̸":"ncongdot","⩮":"easter","⩯":"apacir","⩰":"apE","⩰̸":"napE","⩱":"eplus","⩲":"pluse","⩳":"Esim","⩷":"eDDot","⩸":"equivDD","⩹":"ltcir","⩺":"gtcir","⩻":"ltquest","⩼":"gtquest","⩽":"les","⩽̸":"nles","⩾":"ges","⩾̸":"nges","⩿":"lesdot","⪀":"gesdot","⪁":"lesdoto","⪂":"gesdoto","⪃":"lesdotor","⪄":"gesdotol","⪅":"lap","⪆":"gap","⪇":"lne","⪈":"gne","⪉":"lnap","⪊":"gnap","⪋":"lEg","⪌":"gEl","⪍":"lsime","⪎":"gsime","⪏":"lsimg","⪐":"gsiml","⪑":"lgE","⪒":"glE","⪓":"lesges","⪔":"gesles","⪕":"els","⪖":"egs","⪗":"elsdot","⪘":"egsdot","⪙":"el","⪚":"eg","⪝":"siml","⪞":"simg","⪟":"simlE","⪠":"simgE","⪡":"LessLess","⪡̸":"NotNestedLessLess","⪢":"GreaterGreater","⪢̸":"NotNestedGreaterGreater","⪤":"glj","⪥":"gla","⪦":"ltcc","⪧":"gtcc","⪨":"lescc","⪩":"gescc","⪪":"smt","⪫":"lat","⪬":"smte","⪬︀":"smtes","⪭":"late","⪭︀":"lates","⪮":"bumpE","⪯":"pre","⪯̸":"npre","⪰":"sce","⪰̸":"nsce","⪳":"prE","⪴":"scE","⪵":"prnE","⪶":"scnE","⪷":"prap","⪸":"scap","⪹":"prnap","⪺":"scnap","⪻":"Pr","⪼":"Sc","⪽":"subdot","⪾":"supdot","⪿":"subplus","⫀":"supplus","⫁":"submult","⫂":"supmult","⫃":"subedot","⫄":"supedot","⫅":"subE","⫅̸":"nsubE","⫆":"supE","⫆̸":"nsupE","⫇":"subsim","⫈":"supsim","⫋︀":"vsubnE","⫋":"subnE","⫌︀":"vsupnE","⫌":"supnE","⫏":"csub","⫐":"csup","⫑":"csube","⫒":"csupe","⫓":"subsup","⫔":"supsub","⫕":"subsub","⫖":"supsup","⫗":"suphsub","⫘":"supdsub","⫙":"forkv","⫚":"topfork","⫛":"mlcp","⫤":"Dashv","⫦":"Vdashl","⫧":"Barv","⫨":"vBar","⫩":"vBarv","⫫":"Vbar","⫬":"Not","⫭":"bNot","⫮":"rnmid","⫯":"cirmid","⫰":"midcir","⫱":"topcir","⫲":"nhpar","⫳":"parsim","⫽":"parsl","⫽⃥":"nparsl","♭":"flat","♮":"natur","♯":"sharp","¤":"curren","¢":"cent",$:"dollar","£":"pound","¥":"yen","€":"euro","¹":"sup1","½":"half","⅓":"frac13","¼":"frac14","⅕":"frac15","⅙":"frac16","⅛":"frac18","²":"sup2","⅔":"frac23","⅖":"frac25","³":"sup3","¾":"frac34","⅗":"frac35","⅜":"frac38","⅘":"frac45","⅚":"frac56","⅝":"frac58","⅞":"frac78","𝒶":"ascr","𝕒":"aopf","𝔞":"afr","𝔸":"Aopf","𝔄":"Afr","𝒜":"Ascr","ª":"ordf","á":"aacute","Á":"Aacute","à":"agrave","À":"Agrave","ă":"abreve","Ă":"Abreve","â":"acirc","Â":"Acirc","å":"aring","Å":"angst","ä":"auml","Ä":"Auml","ã":"atilde","Ã":"Atilde","ą":"aogon","Ą":"Aogon","ā":"amacr","Ā":"Amacr","æ":"aelig","Æ":"AElig","𝒷":"bscr","𝕓":"bopf","𝔟":"bfr","𝔹":"Bopf","":"Bscr","𝔅":"Bfr","𝔠":"cfr","𝒸":"cscr","𝕔":"copf","":"Cfr","𝒞":"Cscr","":"Copf","ć":"cacute","Ć":"Cacute","ĉ":"ccirc","Ĉ":"Ccirc","č":"ccaron","Č":"Ccaron","ċ":"cdot","Ċ":"Cdot","ç":"ccedil","Ç":"Ccedil","℅":"incare","𝔡":"dfr","":"dd","𝕕":"dopf","𝒹":"dscr","𝒟":"Dscr","𝔇":"Dfr","":"DD","𝔻":"Dopf","ď":"dcaron","Ď":"Dcaron","đ":"dstrok","Đ":"Dstrok","ð":"eth","Ð":"ETH","":"ee","":"escr","𝔢":"efr","𝕖":"eopf","":"Escr","𝔈":"Efr","𝔼":"Eopf","é":"eacute","É":"Eacute","è":"egrave","È":"Egrave","ê":"ecirc","Ê":"Ecirc","ě":"ecaron","Ě":"Ecaron","ë":"euml","Ë":"Euml","ė":"edot","Ė":"Edot","ę":"eogon","Ę":"Eogon","ē":"emacr","Ē":"Emacr","𝔣":"ffr","𝕗":"fopf","𝒻":"fscr","𝔉":"Ffr","𝔽":"Fopf","":"Fscr","ff":"fflig","ffi":"ffilig","ffl":"ffllig","fi":"filig",fj:"fjlig","fl":"fllig","ƒ":"fnof","":"gscr","𝕘":"gopf","𝔤":"gfr","𝒢":"Gscr","𝔾":"Gopf","𝔊":"Gfr","ǵ":"gacute","ğ":"gbreve","Ğ":"Gbreve","ĝ":"gcirc","Ĝ":"Gcirc","ġ":"gdot","Ġ":"Gdot","Ģ":"Gcedil","𝔥":"hfr","":"planckh","𝒽":"hscr","𝕙":"hopf","":"Hscr","":"Hfr","":"Hopf","ĥ":"hcirc","Ĥ":"Hcirc","ℏ":"hbar","ħ":"hstrok","Ħ":"Hstrok","𝕚":"iopf","𝔦":"ifr","𝒾":"iscr","":"ii","𝕀":"Iopf","":"Iscr","":"Im","í":"iacute","Í":"Iacute","ì":"igrave","Ì":"Igrave","î":"icirc","Î":"Icirc","ï":"iuml","Ï":"Iuml","ĩ":"itilde","Ĩ":"Itilde","İ":"Idot","į":"iogon","Į":"Iogon","ī":"imacr","Ī":"Imacr","ij":"ijlig","IJ":"IJlig","ı":"imath","𝒿":"jscr","𝕛":"jopf","𝔧":"jfr","𝒥":"Jscr","𝔍":"Jfr","𝕁":"Jopf","ĵ":"jcirc","Ĵ":"Jcirc","ȷ":"jmath","𝕜":"kopf","𝓀":"kscr","𝔨":"kfr","𝒦":"Kscr","𝕂":"Kopf","𝔎":"Kfr","ķ":"kcedil","Ķ":"Kcedil","𝔩":"lfr","𝓁":"lscr","":"ell","𝕝":"lopf","":"Lscr","𝔏":"Lfr","𝕃":"Lopf","ĺ":"lacute","Ĺ":"Lacute","ľ":"lcaron","Ľ":"Lcaron","ļ":"lcedil","Ļ":"Lcedil","ł":"lstrok","Ł":"Lstrok","ŀ":"lmidot","Ŀ":"Lmidot","𝔪":"mfr","𝕞":"mopf","𝓂":"mscr","𝔐":"Mfr","𝕄":"Mopf","":"Mscr","𝔫":"nfr","𝕟":"nopf","𝓃":"nscr","":"Nopf","𝒩":"Nscr","𝔑":"Nfr","ń":"nacute","Ń":"Nacute","ň":"ncaron","Ň":"Ncaron","ñ":"ntilde","Ñ":"Ntilde","ņ":"ncedil","Ņ":"Ncedil","№":"numero","ŋ":"eng","Ŋ":"ENG","𝕠":"oopf","𝔬":"ofr","":"oscr","𝒪":"Oscr","𝔒":"Ofr","𝕆":"Oopf","º":"ordm","ó":"oacute","Ó":"Oacute","ò":"ograve","Ò":"Ograve","ô":"ocirc","Ô":"Ocirc","ö":"ouml","Ö":"Ouml","ő":"odblac","Ő":"Odblac","õ":"otilde","Õ":"Otilde","ø":"oslash","Ø":"Oslash","ō":"omacr","Ō":"Omacr","œ":"oelig","Œ":"OElig","𝔭":"pfr","𝓅":"pscr","𝕡":"popf","":"Popf","𝔓":"Pfr","𝒫":"Pscr","𝕢":"qopf","𝔮":"qfr","𝓆":"qscr","𝒬":"Qscr","𝔔":"Qfr","":"Qopf","ĸ":"kgreen","𝔯":"rfr","𝕣":"ropf","𝓇":"rscr","":"Rscr","":"Re","":"Ropf","ŕ":"racute","Ŕ":"Racute","ř":"rcaron","Ř":"Rcaron","ŗ":"rcedil","Ŗ":"Rcedil","𝕤":"sopf","𝓈":"sscr","𝔰":"sfr","𝕊":"Sopf","𝔖":"Sfr","𝒮":"Sscr","Ⓢ":"oS","ś":"sacute","Ś":"Sacute","ŝ":"scirc","Ŝ":"Scirc","š":"scaron","Š":"Scaron","ş":"scedil","Ş":"Scedil","ß":"szlig","𝔱":"tfr","𝓉":"tscr","𝕥":"topf","𝒯":"Tscr","𝔗":"Tfr","𝕋":"Topf","ť":"tcaron","Ť":"Tcaron","ţ":"tcedil","Ţ":"Tcedil","™":"trade","ŧ":"tstrok","Ŧ":"Tstrok","𝓊":"uscr","𝕦":"uopf","𝔲":"ufr","𝕌":"Uopf","𝔘":"Ufr","𝒰":"Uscr","ú":"uacute","Ú":"Uacute","ù":"ugrave","Ù":"Ugrave","ŭ":"ubreve","Ŭ":"Ubreve","û":"ucirc","Û":"Ucirc","ů":"uring","Ů":"Uring","ü":"uuml","Ü":"Uuml","ű":"udblac","Ű":"Udblac","ũ":"utilde","Ũ":"Utilde","ų":"uogon","Ų":"Uogon","ū":"umacr","Ū":"Umacr","𝔳":"vfr","𝕧":"vopf","𝓋":"vscr","𝔙":"Vfr","𝕍":"Vopf","𝒱":"Vscr","𝕨":"wopf","𝓌":"wscr","𝔴":"wfr","𝒲":"Wscr","𝕎":"Wopf","𝔚":"Wfr","ŵ":"wcirc","Ŵ":"Wcirc","𝔵":"xfr","𝓍":"xscr","𝕩":"xopf","𝕏":"Xopf","𝔛":"Xfr","𝒳":"Xscr","𝔶":"yfr","𝓎":"yscr","𝕪":"yopf","𝒴":"Yscr","𝔜":"Yfr","𝕐":"Yopf","ý":"yacute","Ý":"Yacute","ŷ":"ycirc","Ŷ":"Ycirc","ÿ":"yuml","Ÿ":"Yuml","𝓏":"zscr","𝔷":"zfr","𝕫":"zopf","":"Zfr","":"Zopf","𝒵":"Zscr","ź":"zacute","Ź":"Zacute","ž":"zcaron","Ž":"Zcaron","ż":"zdot","Ż":"Zdot","Ƶ":"imped","þ":"thorn","Þ":"THORN","ʼn":"napos","α":"alpha","Α":"Alpha","β":"beta","Β":"Beta","γ":"gamma","Γ":"Gamma","δ":"delta","Δ":"Delta","ε":"epsi","ϵ":"epsiv","Ε":"Epsilon","ϝ":"gammad","Ϝ":"Gammad","ζ":"zeta","Ζ":"Zeta","η":"eta","Η":"Eta","θ":"theta","ϑ":"thetav","Θ":"Theta","ι":"iota","Ι":"Iota","κ":"kappa","ϰ":"kappav","Κ":"Kappa","λ":"lambda","Λ":"Lambda","μ":"mu","µ":"micro","Μ":"Mu","ν":"nu","Ν":"Nu","ξ":"xi","Ξ":"Xi","ο":"omicron","Ο":"Omicron","π":"pi","ϖ":"piv","Π":"Pi","ρ":"rho","ϱ":"rhov","Ρ":"Rho","σ":"sigma","Σ":"Sigma","ς":"sigmaf","τ":"tau","Τ":"Tau","υ":"upsi","Υ":"Upsilon","ϒ":"Upsi","φ":"phi","ϕ":"phiv","Φ":"Phi","χ":"chi","Χ":"Chi","ψ":"psi","Ψ":"Psi","ω":"omega","Ω":"ohm","а":"acy","А":"Acy","б":"bcy","Б":"Bcy","в":"vcy","В":"Vcy","г":"gcy","Г":"Gcy","ѓ":"gjcy","Ѓ":"GJcy","д":"dcy","Д":"Dcy","ђ":"djcy","Ђ":"DJcy","е":"iecy","Е":"IEcy","ё":"iocy","Ё":"IOcy","є":"jukcy","Є":"Jukcy","ж":"zhcy","Ж":"ZHcy","з":"zcy","З":"Zcy","ѕ":"dscy","Ѕ":"DScy","и":"icy","И":"Icy","і":"iukcy","І":"Iukcy","ї":"yicy","Ї":"YIcy","й":"jcy","Й":"Jcy","ј":"jsercy","Ј":"Jsercy","к":"kcy","К":"Kcy","ќ":"kjcy","Ќ":"KJcy","л":"lcy","Л":"Lcy","љ":"ljcy","Љ":"LJcy","м":"mcy","М":"Mcy","н":"ncy","Н":"Ncy","њ":"njcy","Њ":"NJcy","о":"ocy","О":"Ocy","п":"pcy","П":"Pcy","р":"rcy","Р":"Rcy","с":"scy","С":"Scy","т":"tcy","Т":"Tcy","ћ":"tshcy","Ћ":"TSHcy","у":"ucy","У":"Ucy","ў":"ubrcy","Ў":"Ubrcy","ф":"fcy","Ф":"Fcy","х":"khcy","Х":"KHcy","ц":"tscy","Ц":"TScy","ч":"chcy","Ч":"CHcy","џ":"dzcy","Џ":"DZcy","ш":"shcy","Ш":"SHcy","щ":"shchcy","Щ":"SHCHcy","ъ":"hardcy","Ъ":"HARDcy","ы":"ycy","Ы":"Ycy","ь":"softcy","Ь":"SOFTcy","э":"ecy","Э":"Ecy","ю":"yucy","Ю":"YUcy","я":"yacy","Я":"YAcy","ℵ":"aleph","ℶ":"beth","ℷ":"gimel","ℸ":"daleth"},h=/["&'<>`]/g,r={'"':"&quot;","&":"&amp;","'":"&#x27;","<":"&lt;",">":"&gt;","`":"&#x60;"},a=/&#(?:[xX][^a-fA-F0-9]|[^0-9xX])/,f=/[\0-\x08\x0B\x0E-\x1F\x7F-\x9F\uFDD0-\uFDEF\uFFFE\uFFFF]|[\uD83F\uD87F\uD8BF\uD8FF\uD93F\uD97F\uD9BF\uD9FF\uDA3F\uDA7F\uDABF\uDAFF\uDB3F\uDB7F\uDBBF\uDBFF][\uDFFE\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,i=/&#([0-9]+)(;?)|&#[xX]([a-fA-F0-9]+)(;?)|&([0-9a-zA-Z]+);|&(Aacute|Agrave|Atilde|Ccedil|Eacute|Egrave|Iacute|Igrave|Ntilde|Oacute|Ograve|Oslash|Otilde|Uacute|Ugrave|Yacute|aacute|agrave|atilde|brvbar|ccedil|curren|divide|eacute|egrave|frac12|frac14|frac34|iacute|igrave|iquest|middot|ntilde|oacute|ograve|oslash|otilde|plusmn|uacute|ugrave|yacute|AElig|Acirc|Aring|Ecirc|Icirc|Ocirc|THORN|Ucirc|acirc|acute|aelig|aring|cedil|ecirc|icirc|iexcl|laquo|micro|ocirc|pound|raquo|szlig|thorn|times|ucirc|Auml|COPY|Euml|Iuml|Ouml|QUOT|Uuml|auml|cent|copy|euml|iuml|macr|nbsp|ordf|ordm|ouml|para|quot|sect|sup1|sup2|sup3|uuml|yuml|AMP|ETH|REG|amp|deg|eth|not|reg|shy|uml|yen|GT|LT|gt|lt)([=a-zA-Z0-9])?/g,m={aacute:"á",Aacute:"Á",abreve:"ă",Abreve:"Ă",ac:"∾",acd:"∿",acE:"∾̳",acirc:"â",Acirc:"Â",acute:"´",acy:"а",Acy:"А",aelig:"æ",AElig:"Æ",af:"",afr:"𝔞",Afr:"𝔄",agrave:"à",Agrave:"À",alefsym:"ℵ",aleph:"ℵ",alpha:"α",Alpha:"Α",amacr:"ā",Amacr:"Ā",amalg:"⨿",amp:"&",AMP:"&",and:"∧",And:"⩓",andand:"⩕",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsd:"∡",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",aogon:"ą",Aogon:"Ą",aopf:"𝕒",Aopf:"𝔸",ap:"≈",apacir:"⩯",ape:"≊",apE:"⩰",apid:"≋",apos:"'",ApplyFunction:"",approx:"≈",approxeq:"≊",aring:"å",Aring:"Å",ascr:"𝒶",Ascr:"𝒜",Assign:"≔",ast:"*",asymp:"≈",asympeq:"≍",atilde:"ã",Atilde:"Ã",auml:"ä",Auml:"Ä",awconint:"∳",awint:"⨑",backcong:"≌",backepsilon:"϶",backprime:"",backsim:"∽",backsimeq:"⋍",Backslash:"",Barv:"⫧",barvee:"⊽",barwed:"⌅",Barwed:"⌆",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",bcy:"б",Bcy:"Б",bdquo:"„",becaus:"∵",because:"∵",Because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"",Bernoullis:"",beta:"β",Beta:"Β",beth:"ℶ",between:"≬",bfr:"𝔟",Bfr:"𝔅",bigcap:"⋂",bigcirc:"◯",bigcup:"",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bnot:"⌐",bNot:"⫭",bopf:"𝕓",Bopf:"𝔹",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxbox:"⧉",boxdl:"┐",boxdL:"╕",boxDl:"╖",boxDL:"╗",boxdr:"┌",boxdR:"╒",boxDr:"╓",boxDR:"╔",boxh:"─",boxH:"═",boxhd:"┬",boxhD:"╥",boxHd:"╤",boxHD:"╦",boxhu:"┴",boxhU:"╨",boxHu:"╧",boxHU:"╩",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxul:"┘",boxuL:"╛",boxUl:"╜",boxUL:"╝",boxur:"└",boxuR:"╘",boxUr:"╙",boxUR:"╚",boxv:"│",boxV:"║",boxvh:"┼",boxvH:"╪",boxVh:"╫",boxVH:"╬",boxvl:"┤",boxvL:"╡",boxVl:"╢",boxVL:"╣",boxvr:"├",boxvR:"╞",boxVr:"╟",boxVR:"╠",bprime:"",breve:"˘",Breve:"˘",brvbar:"¦",bscr:"𝒷",Bscr:"",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsol:"\\",bsolb:"⧅",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpe:"≏",bumpE:"⪮",bumpeq:"≏",Bumpeq:"≎",cacute:"ć",Cacute:"Ć",cap:"∩",Cap:"⋒",capand:"⩄",capbrcup:"⩉",capcap:"⩋",capcup:"⩇",capdot:"⩀",CapitalDifferentialD:"",caps:"∩︀",caret:"",caron:"ˇ",Cayleys:"",ccaps:"⩍",ccaron:"č",Ccaron:"Č",ccedil:"ç",Ccedil:"Ç",ccirc:"ĉ",Ccirc:"Ĉ",Cconint:"∰",ccups:"⩌",ccupssm:"⩐",cdot:"ċ",Cdot:"Ċ",cedil:"¸",Cedilla:"¸",cemptyv:"⦲",cent:"¢",centerdot:"·",CenterDot:"·",cfr:"𝔠",Cfr:"",chcy:"ч",CHcy:"Ч",check:"✓",checkmark:"✓",chi:"χ",Chi:"Χ",cir:"○",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",CircleDot:"⊙",circledR:"®",circledS:"Ⓢ",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",cire:"≗",cirE:"⧃",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"",clubs:"♣",clubsuit:"♣",colon:":",Colon:"∷",colone:"≔",Colone:"⩴",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"",cong:"≅",congdot:"⩭",Congruent:"≡",conint:"∮",Conint:"∯",ContourIntegral:"∮",copf:"𝕔",Copf:"",coprod:"∐",Coproduct:"∐",copy:"©",COPY:"©",copysr:"℗",CounterClockwiseContourIntegral:"∳",crarr:"↵",cross:"✗",Cross:"",cscr:"𝒸",Cscr:"𝒞",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",cup:"",Cup:"⋓",cupbrcap:"⩈",cupcap:"⩆",CupCap:"≍",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curren:"¤",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",dagger:"†",Dagger:"‡",daleth:"ℸ",darr:"↓",dArr:"⇓",Darr:"↡",dash:"",dashv:"⊣",Dashv:"⫤",dbkarow:"⤏",dblac:"˝",dcaron:"ď",Dcaron:"Ď",dcy:"д",Dcy:"Д",dd:"",DD:"",ddagger:"‡",ddarr:"⇊",DDotrahd:"⤑",ddotseq:"⩷",deg:"°",Del:"∇",delta:"δ",Delta:"Δ",demptyv:"⦱",dfisht:"⥿",dfr:"𝔡",Dfr:"𝔇",dHar:"⥥",dharl:"⇃",dharr:"⇂",DiacriticalAcute:"´",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",diam:"⋄",diamond:"⋄",Diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"¨",DifferentialD:"",digamma:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",djcy:"ђ",DJcy:"Ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",dopf:"𝕕",Dopf:"𝔻",dot:"˙",Dot:"¨",DotDot:"⃜",doteq:"≐",doteqdot:"≑",DotEqual:"≐",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",DoubleContourIntegral:"∯",DoubleDot:"¨",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",downarrow:"↓",Downarrow:"⇓",DownArrow:"↓",DownArrowBar:"⤓",DownArrowUpArrow:"⇵",DownBreve:"̑",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVector:"↽",DownLeftVectorBar:"⥖",DownRightTeeVector:"⥟",DownRightVector:"⇁",DownRightVectorBar:"⥗",DownTee:"",DownTeeArrow:"↧",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",dscr:"𝒹",Dscr:"𝒟",dscy:"ѕ",DScy:"Ѕ",dsol:"⧶",dstrok:"đ",Dstrok:"Đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",dzcy:"џ",DZcy:"Џ",dzigrarr:"⟿",eacute:"é",Eacute:"É",easter:"⩮",ecaron:"ě",Ecaron:"Ě",ecir:"≖",ecirc:"ê",Ecirc:"Ê",ecolon:"≕",ecy:"э",Ecy:"Э",eDDot:"⩷",edot:"ė",eDot:"≑",Edot:"Ė",ee:"",efDot:"≒",efr:"𝔢",Efr:"𝔈",eg:"⪚",egrave:"è",Egrave:"È",egs:"⪖",egsdot:"⪘",el:"⪙",Element:"∈",elinters:"⏧",ell:"",els:"⪕",elsdot:"⪗",emacr:"ē",Emacr:"Ē",empty:"∅",emptyset:"∅",EmptySmallSquare:"◻",emptyv:"∅",EmptyVerySmallSquare:"▫",emsp:"",emsp13:"",emsp14:"",eng:"ŋ",ENG:"Ŋ",ensp:"",eogon:"ę",Eogon:"Ę",eopf:"𝕖",Eopf:"𝔼",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",epsilon:"ε",Epsilon:"Ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",Equal:"⩵",equals:"=",EqualTilde:"≂",equest:"≟",Equilibrium:"⇌",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erarr:"⥱",erDot:"≓",escr:"",Escr:"",esdot:"≐",esim:"≂",Esim:"⩳",eta:"η",Eta:"Η",eth:"ð",ETH:"Ð",euml:"ë",Euml:"Ë",euro:"€",excl:"!",exist:"∃",Exists:"∃",expectation:"",exponentiale:"",ExponentialE:"",fallingdotseq:"≒",fcy:"ф",Fcy:"Ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",ffr:"𝔣",Ffr:"𝔉",filig:"fi",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",fopf:"𝕗",Fopf:"𝔽",forall:"∀",ForAll:"∀",fork:"⋔",forkv:"⫙",Fouriertrf:"",fpartint:"⨍",frac12:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"",frown:"⌢",fscr:"𝒻",Fscr:"",gacute:"ǵ",gamma:"γ",Gamma:"Γ",gammad:"ϝ",Gammad:"Ϝ",gap:"⪆",gbreve:"ğ",Gbreve:"Ğ",Gcedil:"Ģ",gcirc:"ĝ",Gcirc:"Ĝ",gcy:"г",Gcy:"Г",gdot:"ġ",Gdot:"Ġ",ge:"≥",gE:"≧",gel:"⋛",gEl:"⪌",geq:"≥",geqq:"≧",geqslant:"⩾",ges:"⩾",gescc:"⪩",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",gfr:"𝔤",Gfr:"𝔊",gg:"≫",Gg:"⋙",ggg:"⋙",gimel:"ℷ",gjcy:"ѓ",GJcy:"Ѓ",gl:"≷",gla:"⪥",glE:"⪒",glj:"⪤",gnap:"⪊",gnapprox:"⪊",gne:"⪈",gnE:"≩",gneq:"⪈",gneqq:"≩",gnsim:"⋧",gopf:"𝕘",Gopf:"𝔾",grave:"`",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",gscr:"",Gscr:"𝒢",gsim:"≳",gsime:"⪎",gsiml:"⪐",gt:">",Gt:"≫",GT:">",gtcc:"⪧",gtcir:"⩺",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",Hacek:"ˇ",hairsp:"",half:"½",hamilt:"",hardcy:"ъ",HARDcy:"Ъ",harr:"↔",hArr:"⇔",harrcir:"⥈",harrw:"↭",Hat:"^",hbar:"ℏ",hcirc:"ĥ",Hcirc:"Ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",hfr:"𝔥",Hfr:"",HilbertSpace:"",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",hopf:"𝕙",Hopf:"",horbar:"―",HorizontalLine:"─",hscr:"𝒽",Hscr:"",hslash:"ℏ",hstrok:"ħ",Hstrok:"Ħ",HumpDownHump:"≎",HumpEqual:"≏",hybull:"",hyphen:"",iacute:"í",Iacute:"Í",ic:"",icirc:"î",Icirc:"Î",icy:"и",Icy:"И",Idot:"İ",iecy:"е",IEcy:"Е",iexcl:"¡",iff:"⇔",ifr:"𝔦",Ifr:"",igrave:"ì",Igrave:"Ì",ii:"",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",ijlig:"ij",IJlig:"IJ",Im:"",imacr:"ī",Imacr:"Ī",image:"",ImaginaryI:"",imagline:"",imagpart:"",imath:"ı",imof:"⊷",imped:"Ƶ",Implies:"⇒",in:"∈",incare:"℅",infin:"∞",infintie:"⧝",inodot:"ı",int:"∫",Int:"∬",intcal:"⊺",integers:"",Integral:"∫",intercal:"⊺",Intersection:"⋂",intlarhk:"⨗",intprod:"⨼",InvisibleComma:"",InvisibleTimes:"",iocy:"ё",IOcy:"Ё",iogon:"į",Iogon:"Į",iopf:"𝕚",Iopf:"𝕀",iota:"ι",Iota:"Ι",iprod:"⨼",iquest:"¿",iscr:"𝒾",Iscr:"",isin:"∈",isindot:"⋵",isinE:"⋹",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"",itilde:"ĩ",Itilde:"Ĩ",iukcy:"і",Iukcy:"І",iuml:"ï",Iuml:"Ï",jcirc:"ĵ",Jcirc:"Ĵ",jcy:"й",Jcy:"Й",jfr:"𝔧",Jfr:"𝔍",jmath:"ȷ",jopf:"𝕛",Jopf:"𝕁",jscr:"𝒿",Jscr:"𝒥",jsercy:"ј",Jsercy:"Ј",jukcy:"є",Jukcy:"Є",kappa:"κ",Kappa:"Κ",kappav:"ϰ",kcedil:"ķ",Kcedil:"Ķ",kcy:"к",Kcy:"К",kfr:"𝔨",Kfr:"𝔎",kgreen:"ĸ",khcy:"х",KHcy:"Х",kjcy:"ќ",KJcy:"Ќ",kopf:"𝕜",Kopf:"𝕂",kscr:"𝓀",Kscr:"𝒦",lAarr:"⇚",lacute:"ĺ",Lacute:"Ĺ",laemptyv:"⦴",lagran:"",lambda:"λ",Lambda:"Λ",lang:"⟨",Lang:"⟪",langd:"⦑",langle:"⟨",lap:"⪅",Laplacetrf:"",laquo:"«",larr:"←",lArr:"⇐",Larr:"↞",larrb:"⇤",larrbfs:"⤟",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",lat:"⪫",latail:"⤙",lAtail:"⤛",late:"⪭",lates:"⪭︀",lbarr:"⤌",lBarr:"⤎",lbbrk:"",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",lcaron:"ľ",Lcaron:"Ľ",lcedil:"ļ",Lcedil:"Ļ",lceil:"⌈",lcub:"{",lcy:"л",Lcy:"Л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",le:"≤",lE:"≦",LeftAngleBracket:"⟨",leftarrow:"←",Leftarrow:"⇐",LeftArrow:"←",LeftArrowBar:"⇤",LeftArrowRightArrow:"⇆",leftarrowtail:"↢",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVector:"⇃",LeftDownVectorBar:"⥙",LeftFloor:"⌊",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",leftrightarrow:"↔",Leftrightarrow:"⇔",LeftRightArrow:"↔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",LeftRightVector:"⥎",LeftTee:"⊣",LeftTeeArrow:"↤",LeftTeeVector:"⥚",leftthreetimes:"⋋",LeftTriangle:"⊲",LeftTriangleBar:"⧏",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVector:"↿",LeftUpVectorBar:"⥘",LeftVector:"↼",LeftVectorBar:"⥒",leg:"⋚",lEg:"⪋",leq:"≤",leqq:"≦",leqslant:"⩽",les:"⩽",lescc:"⪨",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",lessgtr:"≶",LessLess:"⪡",lesssim:"≲",LessSlantEqual:"⩽",LessTilde:"≲",lfisht:"⥼",lfloor:"⌊",lfr:"𝔩",Lfr:"𝔏",lg:"≶",lgE:"⪑",lHar:"⥢",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",ljcy:"љ",LJcy:"Љ",ll:"≪",Ll:"⋘",llarr:"⇇",llcorner:"⌞",Lleftarrow:"⇚",llhard:"⥫",lltri:"◺",lmidot:"ŀ",Lmidot:"Ŀ",lmoust:"⎰",lmoustache:"⎰",lnap:"⪉",lnapprox:"⪉",lne:"⪇",lnE:"≨",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",longleftarrow:"⟵",Longleftarrow:"⟸",LongLeftArrow:"⟵",longleftrightarrow:"⟷",Longleftrightarrow:"⟺",LongLeftRightArrow:"⟷",longmapsto:"⟼",longrightarrow:"⟶",Longrightarrow:"⟹",LongRightArrow:"⟶",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",lopf:"𝕝",Lopf:"𝕃",loplus:"⨭",lotimes:"⨴",lowast:"",lowbar:"_",LowerLeftArrow:"↙",LowerRightArrow:"↘",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"",lrtri:"⊿",lsaquo:"",lscr:"𝓁",Lscr:"",lsh:"↰",Lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"",lsquor:"",lstrok:"ł",Lstrok:"Ł",lt:"<",Lt:"≪",LT:"<",ltcc:"⪦",ltcir:"⩹",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltri:"◃",ltrie:"⊴",ltrif:"◂",ltrPar:"⦖",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",macr:"¯",male:"♂",malt:"✠",maltese:"✠",map:"↦",Map:"⤅",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",mcy:"м",Mcy:"М",mdash:"—",mDDot:"∺",measuredangle:"∡",MediumSpace:"",Mellintrf:"",mfr:"𝔪",Mfr:"𝔐",mho:"℧",micro:"µ",mid:"",midast:"*",midcir:"⫰",middot:"·",minus:"",minusb:"⊟",minusd:"∸",minusdu:"⨪",MinusPlus:"∓",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",mopf:"𝕞",Mopf:"𝕄",mp:"∓",mscr:"𝓂",Mscr:"",mstpos:"∾",mu:"μ",Mu:"Μ",multimap:"⊸",mumap:"⊸",nabla:"∇",nacute:"ń",Nacute:"Ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natur:"♮",natural:"♮",naturals:"",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",ncaron:"ň",Ncaron:"Ň",ncedil:"ņ",Ncedil:"Ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",ncy:"н",Ncy:"Н",ndash:"",ne:"≠",nearhk:"⤤",nearr:"↗",neArr:"⇗",nearrow:"↗",nedot:"≐̸",NegativeMediumSpace:"",NegativeThickSpace:"",NegativeThinSpace:"",NegativeVeryThinSpace:"",nequiv:"≢",nesear:"⤨",nesim:"≂̸",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:"\n",nexist:"∄",nexists:"∄",nfr:"𝔫",Nfr:"𝔑",nge:"≱",ngE:"≧̸",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",nGg:"⋙̸",ngsim:"≵",ngt:"≯",nGt:"≫⃒",ngtr:"≯",nGtv:"≫̸",nharr:"↮",nhArr:"⇎",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",njcy:"њ",NJcy:"Њ",nlarr:"↚",nlArr:"⇍",nldr:"‥",nle:"≰",nlE:"≦̸",nleftarrow:"↚",nLeftarrow:"⇍",nleftrightarrow:"↮",nLeftrightarrow:"⇎",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nLl:"⋘̸",nlsim:"≴",nlt:"≮",nLt:"≪⃒",nltri:"⋪",nltrie:"⋬",nLtv:"≪̸",nmid:"∤",NoBreak:"",NonBreakingSpace:" ",nopf:"𝕟",Nopf:"",not:"¬",Not:"⫬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",notin:"∉",notindot:"⋵̸",notinE:"⋹̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",NotLeftTriangle:"⋪",NotLeftTriangleBar:"⧏̸",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangle:"⋫",NotRightTriangleBar:"⧐̸",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",npar:"∦",nparallel:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",npre:"⪯̸",nprec:"⊀",npreceq:"⪯̸",nrarr:"↛",nrArr:"⇏",nrarrc:"⤳̸",nrarrw:"↝̸",nrightarrow:"↛",nRightarrow:"⇏",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",nscr:"𝓃",Nscr:"𝒩",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsube:"⊈",nsubE:"⫅̸",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupe:"⊉",nsupE:"⫆̸",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",ntilde:"ñ",Ntilde:"Ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",nu:"ν",Nu:"Ν",num:"#",numero:"№",numsp:"",nvap:"≍⃒",nvdash:"⊬",nvDash:"⊭",nVdash:"⊮",nVDash:"⊯",nvge:"≥⃒",nvgt:">⃒",nvHarr:"⤄",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwarhk:"⤣",nwarr:"↖",nwArr:"⇖",nwarrow:"↖",nwnear:"⤧",oacute:"ó",Oacute:"Ó",oast:"⊛",ocir:"⊚",ocirc:"ô",Ocirc:"Ô",ocy:"о",Ocy:"О",odash:"⊝",odblac:"ő",Odblac:"Ő",odiv:"⨸",odot:"⊙",odsold:"⦼",oelig:"œ",OElig:"Œ",ofcir:"⦿",ofr:"𝔬",Ofr:"𝔒",ogon:"˛",ograve:"ò",Ograve:"Ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",omacr:"ō",Omacr:"Ō",omega:"ω",Omega:"Ω",omicron:"ο",Omicron:"Ο",omid:"⦶",ominus:"⊖",oopf:"𝕠",Oopf:"𝕆",opar:"⦷",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"",operp:"⦹",oplus:"⊕",or:"",Or:"⩔",orarr:"↻",ord:"⩝",order:"",orderof:"",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oS:"Ⓢ",oscr:"",Oscr:"𝒪",oslash:"ø",Oslash:"Ø",osol:"⊘",otilde:"õ",Otilde:"Õ",otimes:"⊗",Otimes:"⨷",otimesas:"⨶",ouml:"ö",Ouml:"Ö",ovbar:"⌽",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",par:"∥",para:"¶",parallel:"∥",parsim:"⫳",parsl:"⫽",part:"∂",PartialD:"∂",pcy:"п",Pcy:"П",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",pfr:"𝔭",Pfr:"𝔓",phi:"φ",Phi:"Φ",phiv:"ϕ",phmmat:"",phone:"☎",pi:"π",Pi:"Π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"",plankv:"ℏ",plus:"+",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plusdo:"∔",plusdu:"⨥",pluse:"⩲",PlusMinus:"±",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",Poincareplane:"",pointint:"⨕",popf:"𝕡",Popf:"",pound:"£",pr:"≺",Pr:"⪻",prap:"⪷",prcue:"≼",pre:"⪯",prE:"⪳",prec:"≺",precapprox:"⪷",preccurlyeq:"≼",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",precsim:"≾",prime:"",Prime:"″",primes:"",prnap:"⪹",prnE:"⪵",prnsim:"⋨",prod:"∏",Product:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",Proportion:"∷",Proportional:"∝",propto:"∝",prsim:"≾",prurel:"⊰",pscr:"𝓅",Pscr:"𝒫",psi:"ψ",Psi:"Ψ",puncsp:"",qfr:"𝔮",Qfr:"𝔔",qint:"⨌",qopf:"𝕢",Qopf:"",qprime:"⁗",qscr:"𝓆",Qscr:"𝒬",quaternions:"",quatint:"⨖",quest:"?",questeq:"≟",quot:'"',QUOT:'"',rAarr:"⇛",race:"∽̱",racute:"ŕ",Racute:"Ŕ",radic:"√",raemptyv:"⦳",rang:"⟩",Rang:"⟫",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"»",rarr:"→",rArr:"⇒",Rarr:"↠",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",rarrtl:"↣",Rarrtl:"⤖",rarrw:"↝",ratail:"⤚",rAtail:"⤜",ratio:"",rationals:"",rbarr:"⤍",rBarr:"⤏",RBarr:"⤐",rbbrk:"",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",rcaron:"ř",Rcaron:"Ř",rcedil:"ŗ",Rcedil:"Ŗ",rceil:"⌉",rcub:"}",rcy:"р",Rcy:"Р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",Re:"",real:"",realine:"",realpart:"",reals:"",rect:"▭",reg:"®",REG:"®",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",rfisht:"⥽",rfloor:"⌋",rfr:"𝔯",Rfr:"",rHar:"⥤",rhard:"⇁",rharu:"⇀",rharul:"⥬",rho:"ρ",Rho:"Ρ",rhov:"ϱ",RightAngleBracket:"⟩",rightarrow:"→",Rightarrow:"⇒",RightArrow:"→",RightArrowBar:"⇥",RightArrowLeftArrow:"⇄",rightarrowtail:"↣",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVector:"⇂",RightDownVectorBar:"⥕",RightFloor:"⌋",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",RightTee:"⊢",RightTeeArrow:"↦",RightTeeVector:"⥛",rightthreetimes:"⋌",RightTriangle:"⊳",RightTriangleBar:"⧐",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVector:"↾",RightUpVectorBar:"⥔",RightVector:"⇀",RightVectorBar:"⥓",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"",rmoust:"⎱",rmoustache:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",ropf:"𝕣",Ropf:"",roplus:"⨮",rotimes:"⨵",RoundImplies:"⥰",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",Rrightarrow:"⇛",rsaquo:"",rscr:"𝓇",Rscr:"",rsh:"↱",Rsh:"↱",rsqb:"]",rsquo:"",rsquor:"",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",RuleDelayed:"⧴",ruluhar:"⥨",rx:"℞",sacute:"ś",Sacute:"Ś",sbquo:"",sc:"≻",Sc:"⪼",scap:"⪸",scaron:"š",Scaron:"Š",sccue:"≽",sce:"⪰",scE:"⪴",scedil:"ş",Scedil:"Ş",scirc:"ŝ",Scirc:"Ŝ",scnap:"⪺",scnE:"⪶",scnsim:"⋩",scpolint:"⨓",scsim:"≿",scy:"с",Scy:"С",sdot:"⋅",sdotb:"⊡",sdote:"⩦",searhk:"⤥",searr:"↘",seArr:"⇘",searrow:"↘",sect:"§",semi:";",seswar:"⤩",setminus:"",setmn:"",sext:"✶",sfr:"𝔰",Sfr:"𝔖",sfrown:"⌢",sharp:"♯",shchcy:"щ",SHCHcy:"Щ",shcy:"ш",SHcy:"Ш",ShortDownArrow:"↓",ShortLeftArrow:"←",shortmid:"",shortparallel:"∥",ShortRightArrow:"→",ShortUpArrow:"↑",shy:"­",sigma:"σ",Sigma:"Σ",sigmaf:"ς",sigmav:"ς",sim:"",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",SmallCircle:"∘",smallsetminus:"",smashp:"⨳",smeparsl:"⧤",smid:"",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",softcy:"ь",SOFTcy:"Ь",sol:"/",solb:"⧄",solbar:"⌿",sopf:"𝕤",Sopf:"𝕊",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",Sqrt:"√",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",squ:"□",square:"□",Square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",squarf:"▪",squf:"▪",srarr:"→",sscr:"𝓈",Sscr:"𝒮",ssetmn:"",ssmile:"⌣",sstarf:"⋆",star:"☆",Star:"⋆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",sub:"⊂",Sub:"⋐",subdot:"⪽",sube:"⊆",subE:"⫅",subedot:"⫃",submult:"⫁",subne:"⊊",subnE:"⫋",subplus:"⪿",subrarr:"⥹",subset:"⊂",Subset:"⋐",subseteq:"⊆",subseteqq:"⫅",SubsetEqual:"⊆",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succ:"≻",succapprox:"⪸",succcurlyeq:"≽",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",SuchThat:"∋",sum:"∑",Sum:"∑",sung:"♪",sup:"⊃",Sup:"⋑",sup1:"¹",sup2:"²",sup3:"³",supdot:"⪾",supdsub:"⫘",supe:"⊇",supE:"⫆",supedot:"⫄",Superset:"⊃",SupersetEqual:"⊇",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supne:"⊋",supnE:"⫌",supplus:"⫀",supset:"⊃",Supset:"⋑",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swarhk:"⤦",swarr:"↙",swArr:"⇙",swarrow:"↙",swnwar:"⤪",szlig:"ß",Tab:"\t",target:"⌖",tau:"τ",Tau:"Τ",tbrk:"⎴",tcaron:"ť",Tcaron:"Ť",tcedil:"ţ",Tcedil:"Ţ",tcy:"т",Tcy:"Т",tdot:"⃛",telrec:"⌕",tfr:"𝔱",Tfr:"𝔗",there4:"∴",therefore:"∴",Therefore:"∴",theta:"θ",Theta:"Θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"",ThickSpace:"",thinsp:"",ThinSpace:"",thkap:"≈",thksim:"",thorn:"þ",THORN:"Þ",tilde:"˜",Tilde:"",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",times:"×",timesb:"⊠",timesbar:"⨱",timesd:"⨰",tint:"∭",toea:"⤨",top:"",topbot:"⌶",topcir:"⫱",topf:"𝕥",Topf:"𝕋",topfork:"⫚",tosa:"⤩",tprime:"‴",trade:"™",TRADE:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",TripleDot:"⃛",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",tscr:"𝓉",Tscr:"𝒯",tscy:"ц",TScy:"Ц",tshcy:"ћ",TSHcy:"Ћ",tstrok:"ŧ",Tstrok:"Ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",uacute:"ú",Uacute:"Ú",uarr:"↑",uArr:"⇑",Uarr:"↟",Uarrocir:"⥉",ubrcy:"ў",Ubrcy:"Ў",ubreve:"ŭ",Ubreve:"Ŭ",ucirc:"û",Ucirc:"Û",ucy:"у",Ucy:"У",udarr:"⇅",udblac:"ű",Udblac:"Ű",udhar:"⥮",ufisht:"⥾",ufr:"𝔲",Ufr:"𝔘",ugrave:"ù",Ugrave:"Ù",uHar:"⥣",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",umacr:"ū",Umacr:"Ū",uml:"¨",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"",UnionPlus:"⊎",uogon:"ų",Uogon:"Ų",uopf:"𝕦",Uopf:"𝕌",uparrow:"↑",Uparrow:"⇑",UpArrow:"↑",UpArrowBar:"⤒",UpArrowDownArrow:"⇅",updownarrow:"↕",Updownarrow:"⇕",UpDownArrow:"↕",UpEquilibrium:"⥮",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",UpperLeftArrow:"↖",UpperRightArrow:"↗",upsi:"υ",Upsi:"ϒ",upsih:"ϒ",upsilon:"υ",Upsilon:"Υ",UpTee:"⊥",UpTeeArrow:"↥",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",uring:"ů",Uring:"Ů",urtri:"◹",uscr:"𝓊",Uscr:"𝒰",utdot:"⋰",utilde:"ũ",Utilde:"Ũ",utri:"▵",utrif:"▴",uuarr:"⇈",uuml:"ü",Uuml:"Ü",uwangle:"⦧",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",varr:"↕",vArr:"⇕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",vBar:"⫨",Vbar:"⫫",vBarv:"⫩",vcy:"в",Vcy:"В",vdash:"⊢",vDash:"⊨",Vdash:"⊩",VDash:"⊫",Vdashl:"⫦",vee:"",Vee:"",veebar:"⊻",veeeq:"≚",vellip:"⋮",verbar:"|",Verbar:"‖",vert:"|",Vert:"‖",VerticalBar:"",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:"",vfr:"𝔳",Vfr:"𝔙",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",vopf:"𝕧",Vopf:"𝕍",vprop:"∝",vrtri:"⊳",vscr:"𝓋",Vscr:"𝒱",vsubne:"⊊︀",vsubnE:"⫋︀",vsupne:"⊋︀",vsupnE:"⫌︀",Vvdash:"⊪",vzigzag:"⦚",wcirc:"ŵ",Wcirc:"Ŵ",wedbar:"⩟",wedge:"∧",Wedge:"⋀",wedgeq:"≙",weierp:"℘",wfr:"𝔴",Wfr:"𝔚",wopf:"𝕨",Wopf:"𝕎",wp:"℘",wr:"≀",wreath:"≀",wscr:"𝓌",Wscr:"𝒲",xcap:"⋂",xcirc:"◯",xcup:"",xdtri:"▽",xfr:"𝔵",Xfr:"𝔛",xharr:"⟷",xhArr:"⟺",xi:"ξ",Xi:"Ξ",xlarr:"⟵",xlArr:"⟸",xmap:"⟼",xnis:"⋻",xodot:"⨀",xopf:"𝕩",Xopf:"𝕏",xoplus:"⨁",xotime:"⨂",xrarr:"⟶",xrArr:"⟹",xscr:"𝓍",Xscr:"𝒳",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"",xwedge:"⋀",yacute:"ý",Yacute:"Ý",yacy:"я",YAcy:"Я",ycirc:"ŷ",Ycirc:"Ŷ",ycy:"ы",Ycy:"Ы",yen:"¥",yfr:"𝔶",Yfr:"𝔜",yicy:"ї",YIcy:"Ї",yopf:"𝕪",Yopf:"𝕐",yscr:"𝓎",Yscr:"𝒴",yucy:"ю",YUcy:"Ю",yuml:"ÿ",Yuml:"Ÿ",zacute:"ź",Zacute:"Ź",zcaron:"ž",Zcaron:"Ž",zcy:"з",Zcy:"З",zdot:"ż",Zdot:"Ż",zeetrf:"",ZeroWidthSpace:"",zeta:"ζ",Zeta:"Ζ",zfr:"𝔷",Zfr:"",zhcy:"ж",ZHcy:"Ж",zigrarr:"⇝",zopf:"𝕫",Zopf:"",zscr:"𝓏",Zscr:"𝒵",zwj:"",zwnj:""},y={aacute:"á",Aacute:"Á",acirc:"â",Acirc:"Â",acute:"´",aelig:"æ",AElig:"Æ",agrave:"à",Agrave:"À",amp:"&",AMP:"&",aring:"å",Aring:"Å",atilde:"ã",Atilde:"Ã",auml:"ä",Auml:"Ä",brvbar:"¦",ccedil:"ç",Ccedil:"Ç",cedil:"¸",cent:"¢",copy:"©",COPY:"©",curren:"¤",deg:"°",divide:"÷",eacute:"é",Eacute:"É",ecirc:"ê",Ecirc:"Ê",egrave:"è",Egrave:"È",eth:"ð",ETH:"Ð",euml:"ë",Euml:"Ë",frac12:"½",frac14:"¼",frac34:"¾",gt:">",GT:">",iacute:"í",Iacute:"Í",icirc:"î",Icirc:"Î",iexcl:"¡",igrave:"ì",Igrave:"Ì",iquest:"¿",iuml:"ï",Iuml:"Ï",laquo:"«",lt:"<",LT:"<",macr:"¯",micro:"µ",middot:"·",nbsp:" ",not:"¬",ntilde:"ñ",Ntilde:"Ñ",oacute:"ó",Oacute:"Ó",ocirc:"ô",Ocirc:"Ô",ograve:"ò",Ograve:"Ò",ordf:"ª",ordm:"º",oslash:"ø",Oslash:"Ø",otilde:"õ",Otilde:"Õ",ouml:"ö",Ouml:"Ö",para:"¶",plusmn:"±",pound:"£",quot:'"',QUOT:'"',raquo:"»",reg:"®",REG:"®",sect:"§",shy:"­",sup1:"¹",sup2:"²",sup3:"³",szlig:"ß",thorn:"þ",THORN:"Þ",times:"×",uacute:"ú",Uacute:"Ú",ucirc:"û",Ucirc:"Û",ugrave:"ù",Ugrave:"Ù",uml:"¨",uuml:"ü",Uuml:"Ü",yacute:"ý",Yacute:"Ý",yen:"¥",yuml:"ÿ"},s={0:"<22>",128:"€",130:"",131:"ƒ",132:"„",133:"…",134:"†",135:"‡",136:"ˆ",137:"‰",138:"Š",139:"",140:"Œ",142:"Ž",145:"",146:"",147:"“",148:"”",149:"•",150:"",151:"—",152:"˜",153:"™",154:"š",155:"",156:"œ",158:"ž",159:"Ÿ"},_=[1,2,3,4,5,6,7,8,11,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,64976,64977,64978,64979,64980,64981,64982,64983,64984,64985,64986,64987,64988,64989,64990,64991,64992,64993,64994,64995,64996,64997,64998,64999,65e3,65001,65002,65003,65004,65005,65006,65007,65534,65535,131070,131071,196606,196607,262142,262143,327678,327679,393214,393215,458750,458751,524286,524287,589822,589823,655358,655359,720894,720895,786430,786431,851966,851967,917502,917503,983038,983039,1048574,1048575,1114110,1114111],p=String.fromCharCode,g={}.hasOwnProperty,v=function(t,e){return g.call(t,e)},M=function(t,e){if(!t)return e;var n,r={};for(n in e)r[n]=v(t,n)?t[n]:e[n];return r},k=function(t,e){var n="";return 55296<=t&&t<=57343||1114111<t?(e&&w("character reference outside the permissible Unicode range"),"<22>"):v(s,t)?(e&&w("disallowed character reference"),s[t]):(e&&function(t,e){for(var n=-1,r=t.length;++n<r;)if(t[n]==e)return!0;return!1}(_,t)&&w("disallowed character reference"),65535<t&&(n+=p((t-=65536)>>>10&1023|55296),t=56320|1023&t),n+=p(t))},b=function(t){return"&#x"+t.toString(16).toUpperCase()+";"},L=function(t){return"&#"+t+";"},w=function(t){throw Error("Parse error: "+t)},x=function(t,e){(e=M(e,x.options)).strict&&f.test(t)&&w("forbidden code point");var n=e.encodeEverything,r=e.useNamedReferences,a=e.allowUnsafeSymbols,i=e.decimal?L:b,s=function(t){return i(t.charCodeAt(0))};return n?(t=t.replace(u,function(t){return r&&v(d,t)?"&"+d[t]+";":s(t)}),r&&(t=t.replace(/&gt;\u20D2/g,"&nvgt;").replace(/&lt;\u20D2/g,"&nvlt;").replace(/&#x66;&#x6A;/g,"&fjlig;")),r&&(t=t.replace(c,function(t){return"&"+d[t]+";"}))):r?(a||(t=t.replace(h,function(t){return"&"+d[t]+";"})),t=(t=t.replace(/&gt;\u20D2/g,"&nvgt;").replace(/&lt;\u20D2/g,"&nvlt;")).replace(c,function(t){return"&"+d[t]+";"})):a||(t=t.replace(h,s)),t.replace(o,function(t){var e=t.charCodeAt(0),n=t.charCodeAt(1);return i(1024*(e-55296)+n-56320+65536)}).replace(l,s)};x.options={allowUnsafeSymbols:!1,encodeEverything:!1,strict:!1,useNamedReferences:!1,decimal:!1};var D=function(t,_){var p=(_=M(_,D.options)).strict;return p&&a.test(t)&&w("malformed character reference"),t.replace(i,function(t,e,n,r,a,i,s,o){var u,l,c,d,h,f;return e?(c=e,l=n,p&&!l&&w("character reference was not terminated by a semicolon"),u=parseInt(c,10),k(u,p)):r?(d=r,l=a,p&&!l&&w("character reference was not terminated by a semicolon"),u=parseInt(d,16),k(u,p)):i?v(m,h=i)?m[h]:(p&&w("named character reference was not terminated by a semicolon"),t):(h=s,(f=o)&&_.isAttributeValue?(p&&"="==f&&w("`&` did not start a character reference"),t):(p&&w("named character reference was not terminated by a semicolon"),y[h]+(f||"")))})};D.options={isAttributeValue:!1,strict:!1};var Y={version:"1.1.1",encode:x,decode:D,escape:function(t){return t.replace(h,function(t){return r[t]})},unescape:D};void 0===(S=function(){return Y}.call(E,j,E,T))||(T.exports=S)}()}).call(E,j(3)(t),j(18))},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.decodeEntities=e.encodeEntities=e.version=void 0;var i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},h=n(1),f=E(n(157)),_=E(n(158)),p=E(n(208)),m=E(n(222)),y=E(n(224)),r=E(n(171)),a=E(n(160)),s=E(n(161)),o=E(n(168)),u=E(n(169)),l=E(n(170)),g=E(n(225)),c=E(n(172)),d=E(n(173)),v=E(n(174)),M=E(n(226)),k=E(n(175)),b=E(n(176)),L=E(n(227)),w=E(n(201)),x=E(n(6)),D=E(n(203)),Y=E(n(346)),T=E(n(348)),A=E(n(350)),S=E(n(352));function E(t){return t&&t.__esModule?t:{default:t}}var j={dark:Y.default,default:T.default,forest:A.default,neutral:S.default},C={theme:T.default,logLevel:5,startOnLoad:!0,arrowMarkerAbsolute:!1,flowchart:{htmlLabels:!0,useMaxWidth:!0},sequenceDiagram:{diagramMarginX:50,diagramMarginY:10,actorMargin:50,width:150,height:65,boxMargin:10,boxTextMargin:5,noteMargin:10,messageMargin:35,mirrorActors:!0,bottomMarginAdj:1,useMaxWidth:!0},gantt:{titleTopMargin:25,barHeight:20,barGap:4,topPadding:50,leftPadding:75,gridLineStartPadding:35,fontSize:11,fontFamily:'"Open-Sans", "sans-serif"',numberSectionStyles:3,axisFormatter:[["%I:%M",function(t){return t.getHours()}],["w. %U",function(t){return 1===t.getDay()}],["%a %d",function(t){return t.getDay()&&1!==t.getDate()}],["%b %d",function(t){return 1!==t.getDate()}],["%m-%y",function(t){return t.getMonth()}]]},classDiagram:{},gitGraph:{},info:{}};(0,h.setLogLevel)(C.logLevel);var F=e.version=function(){return D.default.version},O=e.encodeEntities=function(t){var e=t;return e=(e=(e=e.replace(/style.*:\S*#.*;/g,function(t){return t.substring(0,t.length-1)})).replace(/classDef.*:\S*#.*;/g,function(t){return t.substring(0,t.length-1)})).replace(/#\w+;/g,function(t){var e=t.substring(1,t.length-1);return/^\+?\d+$/.test(e)?"fl°°"+e+"¶ß":"fl°"+e+"¶ß"})},H=e.decodeEntities=function(t){var e=t;return e=(e=(e=e.replace(/fl°°/g,function(){return"&#"})).replace(/fl°/g,function(){return"&"})).replace(/¶ß/g,function(){return";"})},P=function(t,e,n,r){if(void 0!==r)r.innerHTML="",x.default.select(r).append("div").attr("id","d"+t).append("svg").attr("id",t).attr("width","100%").attr("xmlns","http://www.w3.org/2000/svg").append("g");else{var a=document.querySelector("#d"+t);a&&(a.innerHTML=""),x.default.select("body").append("div").attr("id","d"+t).append("svg").attr("id",t).attr("width","100%").attr("xmlns","http://www.w3.org/2000/svg").append("g")}window.txt=e,e=O(e);var i=x.default.select("#d"+t).node();switch(_.default.detectType(e)){case"gitGraph":C.flowchart.arrowMarkerAbsolute=C.arrowMarkerAbsolute,L.default.setConf(C.gitGraph),L.default.draw(e,t,!1);break;case"graph":C.flowchart.arrowMarkerAbsolute=C.arrowMarkerAbsolute,p.default.setConf(C.flowchart),p.default.draw(e,t,!1);break;case"dotGraph":C.flowchart.arrowMarkerAbsolute=C.arrowMarkerAbsolute,p.default.setConf(C.flowchart),p.default.draw(e,t,!0);break;case"sequenceDiagram":C.sequenceDiagram.arrowMarkerAbsolute=C.arrowMarkerAbsolute,m.default.setConf(C.sequenceDiagram),m.default.draw(e,t);break;case"gantt":C.gantt.arrowMarkerAbsolute=C.arrowMarkerAbsolute,g.default.setConf(C.gantt),g.default.draw(e,t);break;case"classDiagram":C.classDiagram.arrowMarkerAbsolute=C.arrowMarkerAbsolute,M.default.setConf(C.classDiagram),M.default.draw(e,t);break;case"info":C.info.arrowMarkerAbsolute=C.arrowMarkerAbsolute,y.default.draw(e,t,F())}var s=i.firstChild,o=document.createElement("style"),u=window.getComputedStyle(s);o.innerHTML="\n "+(j[C.theme]||T.default)+"\nsvg {\n color: "+u.color+";\n font: "+u.font+";\n}\n ",s.insertBefore(o,s.firstChild),x.default.select("#d"+t).selectAll("foreignobject div").attr("xmlns","http://www.w3.org/1999/xhtml");var l="";C.arrowMarkerAbsolute&&(l=(l=(l=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search).replace(/\(/g,"\\(")).replace(/\)/g,"\\)"));var c=x.default.select("#d"+t).node().innerHTML.replace(/url\(#arrowhead/g,"url("+l+"#arrowhead","g");c=H(c),void 0!==n?n(c,f.default.bindFunctions):h.logger.warn("CB = undefined!");var d=x.default.select("#d"+t).node();return null!==d&&"function"==typeof d.remove&&x.default.select("#d"+t).node().remove(),c};var B=function(t){for(var e=Object.keys(t),n=0;n<e.length;n++)if("object"===i(t[e[n]]))for(var r=Object.keys(t[e[n]]),a=0;a<r.length;a++)h.logger.debug("Setting conf ",e[n],"-",r[a]),void 0===C[e[n]]&&(C[e[n]]={}),h.logger.debug("Setting config: "+e[n]+" "+r[a]+" to "+t[e[n]][r[a]]),C[e[n]][r[a]]=t[e[n]][r[a]];else C[e[n]]=t[e[n]]};var N={render:function(t,e,n,r){try{if(1===arguments.length&&(e=t,t="mermaidId0"),"undefined"!=typeof document)return P(t,e,n,r)}catch(t){h.logger.warn(t)}},parse:function(t){var e=void 0;switch(_.default.detectType(t)){case"gitGraph":(e=b.default).parser.yy=w.default;break;case"graph":(e=a.default).parser.yy=f.default;break;case"dotGraph":(e=s.default).parser.yy=f.default;break;case"sequenceDiagram":(e=o.default).parser.yy=u.default;break;case"info":(e=r.default).parser.yy=l.default;break;case"gantt":(e=c.default).parser.yy=d.default;break;case"classDiagram":(e=v.default).parser.yy=k.default}e.parser.yy.parseError=function(t,e){throw{str:t,hash:e}},e.parse(t)},initialize:function(t){h.logger.debug("Initializing mermaidAPI"),"object"===(void 0===t?"undefined":i(t))&&B(t),(0,h.setLogLevel)(C.logLevel)},detectType:_.default.detectType,getConfig:function(){return C}};e.default=N},function(t,e,n){var r={"./af":38,"./af.js":38,"./ar":39,"./ar-dz":40,"./ar-dz.js":40,"./ar-kw":41,"./ar-kw.js":41,"./ar-ly":42,"./ar-ly.js":42,"./ar-ma":43,"./ar-ma.js":43,"./ar-sa":44,"./ar-sa.js":44,"./ar-tn":45,"./ar-tn.js":45,"./ar.js":39,"./az":46,"./az.js":46,"./be":47,"./be.js":47,"./bg":48,"./bg.js":48,"./bm":49,"./bm.js":49,"./bn":50,"./bn.js":50,"./bo":51,"./bo.js":51,"./br":52,"./br.js":52,"./bs":53,"./bs.js":53,"./ca":54,"./ca.js":54,"./cs":55,"./cs.js":55,"./cv":56,"./cv.js":56,"./cy":57,"./cy.js":57,"./da":58,"./da.js":58,"./de":59,"./de-at":60,"./de-at.js":60,"./de-ch":61,"./de-ch.js":61,"./de.js":59,"./dv":62,"./dv.js":62,"./el":63,"./el.js":63,"./en-au":64,"./en-au.js":64,"./en-ca":65,"./en-ca.js":65,"./en-gb":66,"./en-gb.js":66,"./en-ie":67,"./en-ie.js":67,"./en-nz":68,"./en-nz.js":68,"./eo":69,"./eo.js":69,"./es":70,"./es-do":71,"./es-do.js":71,"./es-us":72,"./es-us.js":72,"./es.js":70,"./et":73,"./et.js":73,"./eu":74,"./eu.js":74,"./fa":75,"./fa.js":75,"./fi":76,"./fi.js":76,"./fo":77,"./fo.js":77,"./fr":78,"./fr-ca":79,"./fr-ca.js":79,"./fr-ch":80,"./fr-ch.js":80,"./fr.js":78,"./fy":81,"./fy.js":81,"./gd":82,"./gd.js":82,"./gl":83,"./gl.js":83,"./gom-latn":84,"./gom-latn.js":84,"./gu":85,"./gu.js":85,"./he":86,"./he.js":86,"./hi":87,"./hi.js":87,"./hr":88,"./hr.js":88,"./hu":89,"./hu.js":89,"./hy-am":90,"./hy-am.js":90,"./id":91,"./id.js":91,"./is":92,"./is.js":92,"./it":93,"./it.js":93,"./ja":94,"./ja.js":94,"./jv":95,"./jv.js":95,"./ka":96,"./ka.js":96,"./kk":97,"./kk.js":97,"./km":98,"./km.js":98,"./kn":99,"./kn.js":99,"./ko":100,"./ko.js":100,"./ky":101,"./ky.js":101,"./lb":102,"./lb.js":102,"./lo":103,"./lo.js":103,"./lt":104,"./lt.js":104,"./lv":105,"./lv.js":105,"./me":106,"./me.js":106,"./mi":107,"./mi.js":107,"./mk":108,"./mk.js":108,"./ml":109,"./ml.js":109,"./mr":110,"./mr.js":110,"./ms":111,"./ms-my":112,"./ms-my.js":112,"./ms.js":111,"./mt":113,"./mt.js":113,"./my":114,"./my.js":114,"./nb":115,"./nb.js":115,"./ne":116,"./ne.js":116,"./nl":117,"./nl-be":118,"./nl-be.js":118,"./nl.js":117,"./nn":119,"./nn.js":119,"./pa-in":120,"./pa-in.js":120,"./pl":121,"./pl.js":121,"./pt":122,"./pt-br":123,"./pt-br.js":123,"./pt.js":122,"./ro":124,"./ro.js":124,"./ru":125,"./ru.js":125,"./sd":126,"./sd.js":126,"./se":127,"./se.js":127,"./si":128,"./si.js":128,"./sk":129,"./sk.js":129,"./sl":130,"./sl.js":130,"./sq":131,"./sq.js":131,"./sr":132,"./sr-cyrl":133,"./sr-cyrl.js":133,"./sr.js":132,"./ss":134,"./ss.js":134,"./sv":135,"./sv.js":135,"./sw":136,"./sw.js":136,"./ta":137,"./ta.js":137,"./te":138,"./te.js":138,"./tet":139,"./tet.js":139,"./th":140,"./th.js":140,"./tl-ph":141,"./tl-ph.js":141,"./tlh":142,"./tlh.js":142,"./tr":143,"./tr.js":143,"./tzl":144,"./tzl.js":144,"./tzm":145,"./tzm-latn":146,"./tzm-latn.js":146,"./tzm.js":145,"./uk":147,"./uk.js":147,"./ur":148,"./ur.js":148,"./uz":149,"./uz-latn":150,"./uz-latn.js":150,"./uz.js":149,"./vi":151,"./vi.js":151,"./x-pseudo":152,"./x-pseudo.js":152,"./yo":153,"./yo.js":153,"./zh-cn":154,"./zh-cn.js":154,"./zh-hk":155,"./zh-hk.js":155,"./zh-tw":156,"./zh-tw.js":156};function a(t){return n(i(t))}function i(t){var e=r[t];if(!(e+1))throw new Error("Cannot find module '"+t+"'.");return e}a.keys=function(){return Object.keys(r)},a.resolve=i,(t.exports=a).id=207},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.draw=e.getClasses=e.addEdges=e.addVertices=e.setConf=void 0;var Y=r(n(157)),T=r(n(160)),A=r(n(161)),S=r(n(6)),E=r(n(209)),j=n(1);function r(t){return t&&t.__esModule?t:{default:t}}var C={},a=e.setConf=function(t){for(var e=Object.keys(t),n=0;n<e.length;n++)C[e[n]]=t[e[n]]},F=e.addVertices=function(h,f){var t=Object.keys(h);t.forEach(function(t){var e=h[t],n=void 0,r="";0<e.classes.length&&(r=e.classes.join(" "));var a="";a=function(t,e){for(var n=0;n<e.length;n++)void 0!==e[n]&&(t=t+e[n]+";");return t}(a,e.styles),n=void 0===e.text?e.id:e.text;var i="";if(C.htmlLabels)i="html",n=n.replace(/fa:fa[\w-]+/g,function(t){return'<i class="fa '+t.substring(3)+'"></i>'});else{for(var s=document.createElementNS("http://www.w3.org/2000/svg","text"),o=n.split(/<br>/),u=0;u<o.length;u++){var l=document.createElementNS("http://www.w3.org/2000/svg","tspan");l.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),l.setAttribute("dy","1em"),l.setAttribute("x","1"),l.textContent=o[u],s.appendChild(l)}i="svg",n=s}var c=0,d="";switch(e.type){case"round":c=5,d="rect";break;case"square":d="rect";break;case"diamond":d="question";break;case"odd":case"odd_right":d="rect_left_inv_arrow";break;case"circle":d="circle";break;case"ellipse":d="ellipse";break;case"group":d="rect",n=C.htmlLabels?"":document.createElementNS("http://www.w3.org/2000/svg","text");break;default:d="rect"}f.setNode(e.id,{labelType:i,shape:d,label:n,rx:c,ry:c,class:r,style:a,id:e.id})})},O=e.addEdges=function(r,a){var i=0,s=void 0;void 0!==r.defaultStyle&&(s=r.defaultStyle.toString().replace(/,/g,";")),r.forEach(function(t){i++;var e={};"arrow_open"===t.type?e.arrowhead="none":e.arrowhead="normal";var n="";if(void 0!==t.style)t.style.forEach(function(t){n=n+t+";"});else switch(t.stroke){case"normal":n="fill:none",void 0!==s&&(n=s);break;case"dotted":n="stroke: #333; fill:none;stroke-width:2px;stroke-dasharray:3;";break;case"thick":n="stroke: #333; stroke-width: 3.5px;fill:none"}e.style=n,void 0!==t.interpolate?e.lineInterpolate=t.interpolate:void 0!==r.defaultInterpolate&&(e.lineInterpolate=r.defaultInterpolate),void 0===t.text?void 0!==t.style&&(e.arrowheadStyle="fill: #333"):(e.arrowheadStyle="fill: #333",void 0===t.style?(e.labelpos="c",C.htmlLabels?(e.labelType="html",e.label='<span class="edgeLabel">'+t.text+"</span>"):(e.labelType="text",e.style="stroke: #333; stroke-width: 1.5px;fill:none",e.label=t.text.replace(/<br>/g,"\n"))):e.label=t.text.replace(/<br>/g,"\n")),a.setEdge(t.start,t.end,e,i)})},i=e.getClasses=function(t,e){var n=void 0;Y.default.clear(),(n=e?A.default.parser:T.default.parser).yy=Y.default,n.parse(t);var r=Y.default.getClasses();return void 0===r.default&&(r.default={id:"default"},r.default.styles=[],r.default.clusterStyles=["rx:4px","fill: rgb(255, 255, 222)","rx: 4px","stroke: rgb(170, 170, 51)","stroke-width: 1px"],r.default.nodeLabelStyles=["fill:#000","stroke:none","font-weight:300",'font-family:"Helvetica Neue",Helvetica,Arial,sans-serf',"font-size:14px"],r.default.edgeLabelStyles=["fill:#000","stroke:none","font-weight:300",'font-family:"Helvetica Neue",Helvetica,Arial,sans-serf',"font-size:14px"]),r},s=e.draw=function(t,e,n){j.logger.debug("Drawing flowchart");var r=void 0;Y.default.clear(),(r=n?A.default.parser:T.default.parser).yy=Y.default;try{r.parse(t)}catch(t){j.logger.debug("Parsing failed")}var a=Y.default.getDirection();void 0===a&&(a="TD");for(var i=new E.default.graphlib.Graph({multigraph:!0,compound:!0}).setGraph({rankdir:a,marginx:20,marginy:20}).setDefaultEdgeLabel(function(){return{}}),s=void 0,o=Y.default.getSubGraphs(),u=o.length-1;0<=u;u--)s=o[u],Y.default.addVertex(s.id,s.title,"group",void 0);var l=Y.default.getVertices(),c=Y.default.getEdges(),d=0;for(d=o.length-1;0<=d;d--){s=o[d],S.default.selectAll("cluster").append("text");for(var h=0;h<s.nodes.length;h++)i.setParent(s.nodes[h],s.id)}F(l,i),O(c,i);var f=new(0,E.default.render);f.shapes().question=function(t,e,n){var r=.8*(e.width+e.height),a=[{x:r/2,y:0},{x:r,y:-r/2},{x:r/2,y:-r},{x:0,y:-r/2}],i=t.insert("polygon",":first-child").attr("points",a.map(function(t){return t.x+","+t.y}).join(" ")).attr("rx",5).attr("ry",5).attr("transform","translate("+-r/2+","+2*r/4+")");return n.intersect=function(t){return E.default.intersect.polygon(n,a,t)},i},f.shapes().rect_left_inv_arrow=function(t,e,n){var r=e.width,a=e.height,i=[{x:-a/2,y:0},{x:r,y:0},{x:r,y:-a},{x:-a/2,y:-a},{x:0,y:-a/2}],s=t.insert("polygon",":first-child").attr("points",i.map(function(t){return t.x+","+t.y}).join(" ")).attr("transform","translate("+-r/2+","+2*a/4+")");return n.intersect=function(t){return E.default.intersect.polygon(n,i,t)},s},f.shapes().rect_right_inv_arrow=function(t,e,n){var r=e.width,a=e.height,i=[{x:0,y:0},{x:r+a/2,y:0},{x:r,y:-a/2},{x:r+a/2,y:-a},{x:0,y:-a}],s=t.insert("polygon",":first-child").attr("points",i.map(function(t){return t.x+","+t.y}).join(" ")).attr("transform","translate("+-r/2+","+2*a/4+")");return n.intersect=function(t){return E.default.intersect.polygon(n,i,t)},s},f.arrows().none=function(t,e,n,r){var a=t.append("marker").attr("id",e).attr("viewBox","0 0 10 10").attr("refX",9).attr("refY",5).attr("markerUnits","strokeWidth").attr("markerWidth",8).attr("markerHeight",6).attr("orient","auto").append("path").attr("d","M 0 0 L 0 0 L 0 0 z");E.default.util.applyStyle(a,n[r+"Style"])},f.arrows().normal=function(t,e,n,r){t.append("marker").attr("id",e).attr("viewBox","0 0 10 10").attr("refX",9).attr("refY",5).attr("markerUnits","strokeWidth").attr("markerWidth",8).attr("markerHeight",6).attr("orient","auto").append("path").attr("d","M 0 0 L 10 5 L 0 10 z").attr("class","arrowheadPath").style("stroke-width",1).style("stroke-dasharray","1,0")};var _=S.default.select("#"+e),p=S.default.select("#"+e+" g");for(f(p,i),p.selectAll("g.node").attr("title",function(){return Y.default.getTooltip(this.id)}),C.useMaxWidth?(_.attr("height","100%"),_.attr("width",C.width),_.attr("viewBox","0 0 "+(i.graph().width+20)+" "+(i.graph().height+20)),_.attr("style","max-width:"+(i.graph().width+20)+"px;")):(_.attr("height",i.graph().height),void 0===C.width?_.attr("width",i.graph().width):_.attr("width",C.width),_.attr("viewBox","0 0 "+(i.graph().width+20)+" "+(i.graph().height+20))),Y.default.indexNodes("subGraph"+d),d=0;d<o.length;d++)if("undefined"!==(s=o[d]).title){var m=document.querySelectorAll("#"+e+" #"+s.id+" rect"),y=document.querySelectorAll("#"+e+" #"+s.id),g=m[0].x.baseVal.value,v=m[0].y.baseVal.value,M=m[0].width.baseVal.value,k=S.default.select(y[0]).append("text");k.attr("x",g+M/2),k.attr("y",v+14),k.attr("fill","black"),k.attr("stroke","none"),k.attr("id",e+"Text"),k.style("text-anchor","middle"),void 0===s.title?k.text("Undef"):k.text(s.title)}if(!C.htmlLabels)for(var b=document.querySelectorAll("#"+e+" .edgeLabel .label"),L=0;L<b.length;L++){var w=b[d],x=w.getBBox(),D=document.createElementNS("http://www.w3.org/2000/svg","rect");D.setAttribute("rx",0),D.setAttribute("ry",0),D.setAttribute("width",x.width),D.setAttribute("height",x.height),D.setAttribute("style","fill:#e8e8e8;"),w.insertBefore(D,w.firstChild)}};e.default={setConf:a,addVertices:F,addEdges:O,getClasses:i,draw:s}},function(t,e,n){var r;"undefined"!=typeof self&&self,r=function(){return function(n){function r(t){if(a[t])return a[t].exports;var e=a[t]={i:t,l:!1,exports:{}};return n[t].call(e.exports,e,e.exports,r),e.l=!0,e.exports}var a={};return r.m=n,r.c=a,r.d=function(t,e,n){r.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:n})},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="",r(r.s=10)}([function(t,e,n){"use strict";function r(t){return t?String(t).replace(o,"\\:"):""}Object.defineProperty(e,"__esModule",{value:!0});var a,i=n(2),s=(a=i)&&a.__esModule?a:{default:a},o=/:/g;e.default={isSubgraph:function(t,e){return!!t.children(e).length},edgeToId:function(t){return r(t.v)+":"+r(t.w)+":"+r(t.name)},applyStyle:function(t,e){e&&t.attr("style",e)},applyClass:function(t,e,n){e&&t.attr("class",e).attr("class",n+" "+t.attr("class"))},applyTransition:function(t,e){var n=e.graph();if(s.default.isPlainObject(n)){var r=n.transition;if(s.default.isFunction(r))return r(t)}return t}}},function(t,e){t.exports=n(159)},function(t,e){t.exports=n(19)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e,n,r){var a=t.x,i=t.y,s=a-r.x,o=i-r.y,u=Math.sqrt(e*e*o*o+n*n*s*s),l=Math.abs(e*n*s/u);r.x<a&&(l=-l);var c=Math.abs(e*n*o/u);return r.y<i&&(c=-c),{x:a+l,y:i+c}}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var o=r(n(19)),u=r(n(20)),l=r(n(21));e.default=function(t,e,n){var r=e.label,a=t.append("g");"svg"===e.labelType?(0,l.default)(a,e):"string"!=typeof r||"html"===e.labelType?(0,u.default)(a,e):(0,o.default)(a,e);var i=a.node().getBBox(),s=void 0;switch(n){case"top":s=-e.height/2;break;case"bottom":s=e.height/2-i.height;break;default:s=-i.height/2}return a.attr("transform","translate("+-i.width/2+","+s+")"),a}},function(t,e){t.exports=n(162)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){return t.intersect(e)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r,a=n(3),i=(r=a)&&r.__esModule?r:{default:r};e.default=function(t,e,n){return(0,i.default)(t,e,e,n)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r,a=n(13),_=(r=a)&&r.__esModule?r:{default:r};e.default=function(t,e,u){var n=t.x,r=t.y,a=[],i=Number.POSITIVE_INFINITY,s=Number.POSITIVE_INFINITY;e.forEach(function(t){i=Math.min(i,t.x),s=Math.min(s,t.y)});for(var o=n-t.width/2-i,l=r-t.height/2-s,c=0;c<e.length;c+=1){var d=e[c],h=e[c<e.length-1?c+1:0],f=(0,_.default)(t,u,{x:o+d.x,y:l+d.y},{x:o+h.x,y:l+h.y});f&&a.push(f)}return a.length?(1<a.length&&a.sort(function(t,e){var n=t.x-u.x,r=t.y-u.y,a=Math.sqrt(n*n+r*r),i=e.x-u.x,s=e.y-u.y,o=Math.sqrt(i*i+s*s);return a<o?-1:a===o?0:1}),a[0]):(console.log("NO INTERSECTION FOUND, RETURN NODE CENTER",t),t)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){var n=t.x,r=t.y,a=e.x-n,i=e.y-r,s=t.width/2,o=t.height/2,u=void 0,l=void 0;return Math.abs(i)*s>Math.abs(a)*o?(i<0&&(o=-o),u=0===i?0:o*a/i,l=o):(a<0&&(s=-s),u=s,l=0===a?0:s*i/a),{x:n+u,y:r+l}}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var a=r(n(1)),i=r(n(11)),s=r(n(5)),o=r(n(12)),u=r(n(14)),l=r(n(0)),c=n(27);e.default={d3:a.default,graphlib:i.default,dagre:s.default,intersect:o.default,render:u.default,util:l.default,version:c.version}},function(t,e){t.exports=n(29)},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var a=r(n(6)),i=r(n(7)),s=r(n(3)),o=r(n(8)),u=r(n(9));e.default={node:a.default,circle:i.default,ellipse:s.default,polygon:o.default,rect:u.default}},function(t,e,n){"use strict";function y(t,e){return 0<t*e}Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e,n,r){var a=e.y-t.y,i=t.x-e.x,s=e.x*t.y-t.x*e.y,o=a*n.x+i*n.y+s,u=a*r.x+i*r.y+s;if(0===o||0===u||!y(o,u)){var l=r.y-n.y,c=n.x-r.x,d=r.x*n.y-n.x*r.y,h=l*t.x+c*t.y+d,f=l*e.x+c*e.y+d;if(0===h||0===f||!y(h,f)){var _=a*c-l*i;if(0!==_){var p=Math.abs(_/2),m=i*d-c*s;return{x:m<0?(m-p)/_:(m+p)/_,y:(m=l*s-a*d)<0?(m-p)/_:(m+p)/_}}}}}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function m(t,e){var n=t.select("g."+e);return n.empty()&&(n=t.append("g").attr("class",e)),n}Object.defineProperty(e,"__esModule",{value:!0});var y=r(n(2)),g=n(5),v=r(n(15)),M=r(n(16)),k=r(n(17)),a=r(n(18)),i=r(n(22)),s=r(n(23)),o=r(n(24)),u=r(n(25)),l=r(n(26)),b={paddingLeft:10,paddingRight:10,paddingTop:10,paddingBottom:10,rx:0,ry:0,shape:"rect"},L={arrowhead:"normal",lineInterpolate:"linear"};e.default=function(){var c=a.default,d=i.default,h=s.default,f=o.default,_=u.default,p=l.default,e=function(t,e){var n;(n=e).nodes().forEach(function(t){var e=n.node(t);y.default.has(e,"label")||n.children(t).length||(e.label=t),y.default.has(e,"paddingX")&&y.default.defaults(e,{paddingLeft:e.paddingX,paddingRight:e.paddingX}),y.default.has(e,"paddingY")&&y.default.defaults(e,{paddingTop:e.paddingY,paddingBottom:e.paddingY}),y.default.has(e,"padding")&&y.default.defaults(e,{paddingLeft:e.padding,paddingRight:e.padding,paddingTop:e.padding,paddingBottom:e.padding}),y.default.defaults(e,b),y.default.each(["paddingLeft","paddingRight","paddingTop","paddingBottom"],function(t){e[t]=Number(e[t])}),y.default.has(e,"width")&&(e._prevWidth=e.width),y.default.has(e,"height")&&(e._prevHeight=e.height)}),n.edges().forEach(function(t){var e=n.edge(t);y.default.has(e,"label")||(e.label=""),y.default.defaults(e,L)});var r=m(t,"output"),a=m(r,"clusters"),i=m(r,"edgePaths"),s=h(m(r,"edgeLabels"),e),o=c(m(r,"nodes"),e,_);(0,g.layout)(e),(0,v.default)(o,e),(0,M.default)(s,e),f(i,e,p);var u,l=d(a,e);(0,k.default)(l,e),u=e,y.default.each(u.nodes(),function(t){var e=u.node(t);y.default.has(e,"_prevWidth")?e.width=e._prevWidth:delete e.width,y.default.has(e,"_prevHeight")?e.height=e._prevHeight:delete e.height,delete e._prevWidth,delete e._prevHeight})};return e.createNodes=function(t){return arguments.length?(c=t,e):c},e.createClusters=function(t){return arguments.length?(d=t,e):d},e.createEdgeLabels=function(t){return arguments.length?(h=t,e):h},e.createEdgePaths=function(t){return arguments.length?(f=t,e):f},e.shapes=function(t){return arguments.length?(_=t,e):_},e.arrows=function(t){return arguments.length?(p=t,e):p},e}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var a=r(n(1)),i=r(n(0));e.default=function(t,n){function e(t){var e=n.node(t);return"translate("+e.x+","+e.y+")"}t.filter(function(){return!a.default.select(this).classed("update")}).attr("transform",e),i.default.applyTransition(t,n).style("opacity",1).attr("transform",e)}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var a=r(n(1)),i=r(n(2)),s=r(n(0));e.default=function(t,n){function e(t){var e=n.edge(t);return i.default.has(e,"x")?"translate("+e.x+","+e.y+")":""}t.filter(function(){return!a.default.select(this).classed("update")}).attr("transform",e),s.default.applyTransition(t,n).style("opacity",1).attr("transform",e)}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var a=r(n(1)),i=r(n(0));e.default=function(t,n){function e(t){var e=n.node(t);return"translate("+e.x+","+e.y+")"}var r=t.filter(function(){return!a.default.select(this).classed("update")});r.attr("transform",e),i.default.applyTransition(t,n).style("opacity",1).attr("transform",e),i.default.applyTransition(r.selectAll("rect"),n).attr("width",function(t){return n.node(t).width}).attr("height",function(t){return n.node(t).height}).attr("x",function(t){return-n.node(t).width/2}).attr("y",function(t){return-n.node(t).height/2})}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var d=r(n(2)),h=r(n(1)),f=r(n(4)),_=r(n(0));e.default=function(t,l,c){var e=l.nodes().filter(function(t){return!_.default.isSubgraph(l,t)}),n=t.selectAll("g.node").data(e,function(t){return t}).classed("update",!0);return n.selectAll("*").remove(),n.enter().append("g").attr("class","node").style("opacity",0),n.each(function(t){var e=l.node(t),n=h.default.select(this),r=n.append("g").attr("class","label"),a=(0,f.default)(r,e),i=c[e.shape],s=d.default.pick(a.node().getBBox(),"width","height");e.elem=this,e.id&&n.attr("id",e.id),e.labelId&&r.attr("id",e.labelId),_.default.applyClass(n,e.class,(n.classed("update")?"update ":"")+"node"),d.default.has(e,"width")&&(s.width=e.width),d.default.has(e,"height")&&(s.height=e.height),s.width+=e.paddingLeft+e.paddingRight,s.height+=e.paddingTop+e.paddingBottom,r.attr("transform","translate("+(e.paddingLeft-e.paddingRight)/2+","+(e.paddingTop-e.paddingBottom)/2+")");var o=i(h.default.select(this),s,e);_.default.applyStyle(o,e.style);var u=o.node().getBBox();e.width=u.width,e.height=u.height}),_.default.applyTransition(n.exit(),l).style("opacity",0).remove(),n}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r,a=n(0),i=(r=a)&&r.__esModule?r:{default:r};e.default=function(t,e){for(var n=t.append("text"),r=function(t){for(var e="",n=!1,r=null,a=0;a<t.length;a+=1)if(r=t[a],n){switch(r){case"n":e+="\n";break;default:e+=r}n=!1}else"\\"===r?n=!0:e+=r;return e}(e.label).split("\n"),a=0;a<r.length;a+=1)n.append("tspan").attr("xml:space","preserve").attr("dy","1em").attr("x","1").text(r[a]);return i.default.applyStyle(n,e.labelStyle),n}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r,s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},a=n(0),o=(r=a)&&r.__esModule?r:{default:r};e.default=function(t,e){var n=t.append("foreignObject").attr("width","100000"),r=n.append("xhtml:div");r.attr("xmlns","http://www.w3.org/1999/xhtml");var a=e.label;switch(void 0===a?"undefined":s(a)){case"function":r.insert(a);break;case"object":r.insert(function(){return a});break;default:r.html(a)}o.default.applyStyle(r,e.labelStyle),r.style("display","inline-block"),r.style("white-space","nowrap");var i=r[0][0].getBoundingClientRect();return n.attr("width",i.width).attr("height",i.height),n}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r,a=n(0),i=(r=a)&&r.__esModule?r:{default:r};e.default=function(t,e){var n=t;return n.node().appendChild(e.label),i.default.applyStyle(n,e.labelStyle),n}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var i=r(n(1)),s=r(n(0)),o=r(n(4));e.default=function(t,a){var e=a.nodes().filter(function(t){return s.default.isSubgraph(a,t)}),n=t.selectAll("g.cluster").data(e,function(t){return t});return n.selectAll("*").remove(),n.enter().append("g").attr("class","cluster").attr("id",function(t){return a.node(t).id}).style("opacity",0),s.default.applyTransition(n,a).style("opacity",1),n.each(function(t){var e=a.node(t),n=i.default.select(this);i.default.select(this).append("rect");var r=n.append("g").attr("class","label");(0,o.default)(r,e,e.clusterLabelPos)}),n.selectAll("rect").each(function(t){var e=a.node(t),n=i.default.select(this);s.default.applyStyle(n,e.style)}),s.default.applyTransition(n.exit(),a).style("opacity",0).remove(),n}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var i=r(n(1)),s=r(n(2)),o=r(n(4)),u=r(n(0));e.default=function(t,a){var e=t.selectAll("g.edgeLabel").data(a.edges(),function(t){return u.default.edgeToId(t)}).classed("update",!0);return e.selectAll("*").remove(),e.enter().append("g").classed("edgeLabel",!0).style("opacity",0),e.each(function(t){var e=a.edge(t),n=(0,o.default)(i.default.select(this),a.edge(t),0,0).classed("label",!0),r=n.node().getBBox();e.labelId&&n.attr("id",e.labelId),s.default.has(e,"width")||(e.width=r.width),s.default.has(e,"height")||(e.height=r.height)}),u.default.applyTransition(e.exit(),a).style("opacity",0).remove(),e}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function u(t,e){var n=l.default.svg.line().x(function(t){return t.x}).y(function(t){return t.y});return c.default.has(t,"lineInterpolate")&&n.interpolate(t.lineInterpolate),c.default.has(t,"lineTension")&&n.tension(Number(t.lineTension)),n(e)}Object.defineProperty(e,"__esModule",{value:!0});var l=r(n(1)),c=r(n(2)),d=r(n(6)),h=r(n(0));e.default=function(t,o,n){var r,e,a,i,s=t.selectAll("g.edgePath").data(o.edges(),function(t){return h.default.edgeToId(t)}).classed("update",!0);return a=o,(i=s.enter().append("g").attr("class","edgePath").style("opacity",0)).append("path").attr("class","path").attr("d",function(t){var e=a.edge(t),r=a.node(t.v).elem;return u(e,c.default.range(e.points.length).map(function(){return e=(t=r).getBBox(),{x:(n=t.ownerSVGElement.getScreenCTM().inverse().multiply(t.getScreenCTM()).translate(e.width/2,e.height/2)).e,y:n.f};var t,e,n}))}),i.append("defs"),r=o,e=s.exit(),h.default.applyTransition(e,r).style("opacity",0).remove(),h.default.applyTransition(e.select("path.path"),r).attr("d",function(t){var e=r.node(t.v);return e?u({},c.default.range(this.getTotalLength()).map(function(){return e})):l.default.select(this).attr("d")}),h.default.applyTransition(s,o).style("opacity",1),s.each(function(t){var e=l.default.select(this),n=o.edge(t);n.elem=this,n.id&&e.attr("id",n.id),h.default.applyClass(e,n.class,(e.classed("update")?"update ":"")+"edgePath")}),s.selectAll("path.path").each(function(t){var e=o.edge(t);e.arrowheadId=c.default.uniqueId("arrowhead");var n=l.default.select(this).attr("marker-end",function(){return"url(#"+e.arrowheadId+")"}).style("fill","none");h.default.applyTransition(n,o).attr("d",function(t){return n=t,r=(e=o).edge(n),a=e.node(n.v),i=e.node(n.w),(s=r.points.slice(1,r.points.length-1)).unshift((0,d.default)(a,s[0])),s.push((0,d.default)(i,s[s.length-1])),u(r,s);var e,n,r,a,i,s}),h.default.applyStyle(n,e.style)}),s.selectAll("defs *").remove(),s.selectAll("defs").each(function(t){var e=o.edge(t);(0,n[e.arrowhead])(l.default.select(this),e.arrowheadId,e,"arrowhead")}),s}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var a=r(n(9)),s=r(n(3)),i=r(n(7)),o=r(n(8));e.default={rect:function(t,e,n){var r=t.insert("rect",":first-child").attr("rx",n.rx).attr("ry",n.ry).attr("x",-e.width/2).attr("y",-e.height/2).attr("width",e.width).attr("height",e.height);return n.intersect=function(t){return(0,a.default)(n,t)},r},ellipse:function(t,e,n){var r=e.width/2,a=e.height/2,i=t.insert("ellipse",":first-child").attr("x",-e.width/2).attr("y",-e.height/2).attr("rx",r).attr("ry",a);return n.intersect=function(t){return(0,s.default)(n,r,a,t)},i},circle:function(t,e,n){var r=Math.max(e.width,e.height)/2,a=t.insert("circle",":first-child").attr("x",-e.width/2).attr("y",-e.height/2).attr("r",r);return n.intersect=function(t){return(0,i.default)(n,r,t)},a},diamond:function(t,e,n){var r=e.width*Math.SQRT2/2,a=e.height*Math.SQRT2/2,i=[{x:0,y:-a},{x:-r,y:0},{x:0,y:a},{x:r,y:0}],s=t.insert("polygon",":first-child").attr("points",i.map(function(t){return t.x+","+t.y}).join(" "));return n.intersect=function(t){return(0,o.default)(n,i,t)},s}}},function(t,e,n){"use strict";function r(t,e,n,r){var a=t.append("marker").attr("id",e).attr("viewBox","0 0 10 10").attr("refX",9).attr("refY",5).attr("markerUnits","strokeWidth").attr("markerWidth",8).attr("markerHeight",6).attr("orient","auto").append("path").attr("d","M 0 0 L 10 5 L 0 10 z").style("stroke-width",1).style("stroke-dasharray","1,0");s.default.applyStyle(a,n[r+"Style"]),n[r+"Class"]&&a.attr("class",n[r+"Class"])}Object.defineProperty(e,"__esModule",{value:!0});var a,i=n(0),s=(a=i)&&a.__esModule?a:{default:a};e.default={normal:r,vee:function(t,e,n,r){var a=t.append("marker").attr("id",e).attr("viewBox","0 0 10 10").attr("refX",9).attr("refY",5).attr("markerUnits","strokeWidth").attr("markerWidth",8).attr("markerHeight",6).attr("orient","auto").append("path").attr("d","M 0 0 L 10 5 L 0 10 L 4 5 z").style("stroke-width",1).style("stroke-dasharray","1,0");s.default.applyStyle(a,n[r+"Style"]),n[r+"Class"]&&a.attr("class",n[r+"Class"])},undirected:function(t,e,n,r){var a=t.append("marker").attr("id",e).attr("viewBox","0 0 10 10").attr("refX",9).attr("refY",5).attr("markerUnits","strokeWidth").attr("markerWidth",8).attr("markerHeight",6).attr("orient","auto").append("path").attr("d","M 0 5 L 10 5").style("stroke-width",1).style("stroke-dasharray","1,0");s.default.applyStyle(a,n[r+"Style"]),n[r+"Class"]&&a.attr("class",n[r+"Class"])},default:r}},function(t,e){t.exports={name:"dagre-d3-renderer",version:"0.4.25",description:"A D3-based renderer for Dagre",keywords:["graph","dagre","graphlib","renderer","d3"],main:"dist/dagre-d3.core.js",scripts:{lint:"standard",karma:"node -r babel-register ./node_modules/.bin/karma start --single-run",test:"yarn lint && yarn karma && phantomjs test/demo-test.js",upgrade:"yarn-upgrade-all && yarn remove d3 && yarn add d3@3.5.17",build:"webpack --progress --colors","build:watch":"yarn build --watch",release:"yarn build -p"},dependencies:{d3:"3.5.17","dagre-layout":"^0.8.0",graphlib:"^2.1.1",lodash:"^4.17.4"},devDependencies:{"babel-core":"^6.26.0","babel-loader":"^7.1.2","babel-preset-env":"^1.6.1",chai:"^4.1.2",karma:"^1.7.1","karma-chrome-launcher":"^2.2.0","karma-firefox-launcher":"^1.1.0","karma-mocha":"^1.3.0","karma-safari-launcher":"^1.0.0",mocha:"^4.0.1","phantomjs-prebuilt":"^2.1.16",standard:"^10.0.3",webpack:"^3.10.0","webpack-node-externals":"^1.6.0","yarn-upgrade-all":"^0.2.0"},repository:{type:"git",url:"https://github.com/tylingsoft/dagre-d3-renderer.git"},license:"MIT",standard:{ignore:["dist/**/*.js"]}}}]).default},t.exports=r()},function(t,e,n){t.exports={Graph:n(30),version:n(211)}},function(t,e){t.exports="2.1.1"},function(t,e,n){var i=n(4),r=n(30);t.exports={write:function(t){var e={options:{directed:t.isDirected(),multigraph:t.isMultigraph(),compound:t.isCompound()},nodes:(a=t,i.map(a.nodes(),function(t){var e=a.node(t),n=a.parent(t),r={v:t};return i.isUndefined(e)||(r.value=e),i.isUndefined(n)||(r.parent=n),r})),edges:(r=t,i.map(r.edges(),function(t){var e=r.edge(t),n={v:t.v,w:t.w};return i.isUndefined(t.name)||(n.name=t.name),i.isUndefined(e)||(n.value=e),n}))};var r;var a;i.isUndefined(t.graph())||(e.value=i.clone(t.graph()));return e},read:function(t){var e=new r(t.options).setGraph(t.value);return i.each(t.nodes,function(t){e.setNode(t.v,t.value),t.parent&&e.setParent(t.v,t.parent)}),i.each(t.edges,function(t){e.setEdge({v:t.v,w:t.w,name:t.name},t.value)}),e}}},function(t,e,n){t.exports={components:n(214),dijkstra:n(163),dijkstraAll:n(215),findCycles:n(216),floydWarshall:n(217),isAcyclic:n(218),postorder:n(219),preorder:n(220),prim:n(221),tarjan:n(165),topsort:n(166)}},function(t,e,n){var s=n(4);t.exports=function(e){var n,r={},a=[];function i(t){s.has(r,t)||(r[t]=!0,n.push(t),s.each(e.successors(t),i),s.each(e.predecessors(t),i))}return s.each(e.nodes(),function(t){n=[],i(t),n.length&&a.push(n)}),a}},function(t,e,n){var i=n(163),s=n(4);t.exports=function(n,r,a){return s.transform(n.nodes(),function(t,e){t[e]=i(n,e,r,a)},{})}},function(t,e,n){var r=n(4),a=n(165);t.exports=function(e){return r.filter(a(e),function(t){return 1<t.length||1===t.length&&e.hasEdge(t[0],t[0])})}},function(t,e,n){var r=n(4);t.exports=function(e,t,n){return r=e,a=t||s,i=n||function(t){return e.outEdges(t)},u={},l=r.nodes(),l.forEach(function(r){u[r]={},u[r][r]={distance:0},l.forEach(function(t){r!==t&&(u[r][t]={distance:Number.POSITIVE_INFINITY})}),i(r).forEach(function(t){var e=t.v===r?t.w:t.v,n=a(t);u[r][e]={distance:n,predecessor:r}})}),l.forEach(function(s){var o=u[s];l.forEach(function(t){var i=u[t];l.forEach(function(t){var e=i[s],n=o[t],r=i[t],a=e.distance+n.distance;a<r.distance&&(r.distance=a,r.predecessor=n.predecessor)})})}),u;var r,a,i,u,l};var s=r.constant(1)},function(t,e,n){var r=n(166);t.exports=function(t){try{r(t)}catch(t){if(t instanceof r.CycleException)return!1;throw t}return!0}},function(t,e,n){var r=n(167);t.exports=function(t,e){return r(t,e,"post")}},function(t,e,n){var r=n(167);t.exports=function(t,e){return r(t,e,"pre")}},function(t,e,n){var u=n(4),l=n(30),c=n(164);t.exports=function(t,a){var i,e=new l,s={},o=new c;function n(t){var e=t.v===i?t.w:t.v,n=o.priority(e);if(void 0!==n){var r=a(t);r<n&&(s[e]=i,o.decrease(e,r))}}if(0===t.nodeCount())return e;u.each(t.nodes(),function(t){o.add(t,Number.POSITIVE_INFINITY),e.setNode(t)}),o.decrease(t.nodes()[0],0);var r=!1;for(;0<o.size();){if(i=o.removeMin(),u.has(s,i))e.setEdge(i,s[i]);else{if(r)throw new Error("Input graph is not connected: "+t);r=!0}t.nodeEdges(i).forEach(n)}return e}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.draw=e.setConf=e.drawActors=e.bounds=void 0;var m=a(n(223)),l=n(1),c=a(n(6)),y=n(168),r=a(n(169));function a(t){return t&&t.__esModule?t:{default:t}}y.parser.yy=r.default;var g={diagramMarginX:50,diagramMarginY:30,actorMargin:50,width:150,height:65,boxMargin:10,boxTextMargin:5,noteMargin:10,messageMargin:35,mirrorActors:!1,bottomMarginAdj:1,activationWidth:10,textPlacement:"tspan"},v=e.bounds={data:{startx:void 0,stopx:void 0,starty:void 0,stopy:void 0},verticalPos:0,sequenceItems:[],activations:[],init:function(){this.sequenceItems=[],this.activations=[],this.data={startx:void 0,stopx:void 0,starty:void 0,stopy:void 0},this.verticalPos=0},updateVal:function(t,e,n,r){void 0===t[e]?t[e]=n:t[e]=r(n,t[e])},updateBounds:function(r,a,i,s){var o=this,u=0;function t(n){return function(t){u++;var e=o.sequenceItems.length-u+1;o.updateVal(t,"starty",a-e*g.boxMargin,Math.min),o.updateVal(t,"stopy",s+e*g.boxMargin,Math.max),o.updateVal(v.data,"startx",r-e*g.boxMargin,Math.min),o.updateVal(v.data,"stopx",i+e*g.boxMargin,Math.max),"activation"!==n&&(o.updateVal(t,"startx",r-e*g.boxMargin,Math.min),o.updateVal(t,"stopx",i+e*g.boxMargin,Math.max),o.updateVal(v.data,"starty",a-e*g.boxMargin,Math.min),o.updateVal(v.data,"stopy",s+e*g.boxMargin,Math.max))}}this.sequenceItems.forEach(t()),this.activations.forEach(t("activation"))},insert:function(t,e,n,r){var a=Math.min(t,n),i=Math.max(t,n),s=Math.min(e,r),o=Math.max(e,r);this.updateVal(v.data,"startx",a,Math.min),this.updateVal(v.data,"starty",s,Math.min),this.updateVal(v.data,"stopx",i,Math.max),this.updateVal(v.data,"stopy",o,Math.max),this.updateBounds(a,s,i,o)},newActivation:function(t,e){var n=y.parser.yy.getActors()[t.from.actor],r=s(t.from.actor).length,a=n.x+g.width/2+(r-1)*g.activationWidth/2;this.activations.push({startx:a,starty:this.verticalPos+2,stopx:a+g.activationWidth,stopy:void 0,actor:t.from.actor,anchored:m.default.anchorElement(e)})},endActivation:function(t){var e=this.activations.map(function(t){return t.actor}).lastIndexOf(t.from.actor);return this.activations.splice(e,1)[0]},newLoop:function(t){this.sequenceItems.push({startx:void 0,starty:this.verticalPos,stopx:void 0,stopy:void 0,title:t})},endLoop:function(){return this.sequenceItems.pop()},addSectionToLoop:function(t){var e=this.sequenceItems.pop();e.sections=e.sections||[],e.sectionTitles=e.sectionTitles||[],e.sections.push(v.getVerticalPos()),e.sectionTitles.push(t),this.sequenceItems.push(e)},bumpVerticalPos:function(t){this.verticalPos=this.verticalPos+t,this.data.stopy=this.verticalPos},getVerticalPos:function(){return this.verticalPos},getBounds:function(){return this.data}},M=function(t,e,n,r,a){var i=m.default.getNoteRect();i.x=e,i.y=n,i.width=a||g.width,i.class="note";var s=t.append("g"),o=m.default.drawRect(s,i),u=m.default.getTextObj();u.x=e-4,u.y=n-13,u.textMargin=g.noteMargin,u.dy="1em",u.text=r.message,u.class="noteText";var l=m.default.drawText(s,u,i.width-g.noteMargin),c=l[0][0].getBBox().height;!a&&c>g.width?(l.remove(),s=t.append("g"),c=(l=m.default.drawText(s,u,2*i.width-g.noteMargin))[0][0].getBBox().height,o.attr("width",2*i.width),v.insert(e,n,e+2*i.width,n+2*g.noteMargin+c)):v.insert(e,n,e+i.width,n+2*g.noteMargin+c),o.attr("height",c+2*g.noteMargin),v.bumpVerticalPos(c+2*g.noteMargin)},k=e.drawActors=function(t,e,n,r){for(var a=0;a<n.length;a++){var i=n[a];e[i].x=a*g.actorMargin+a*g.width,e[i].y=r,e[i].width=g.diagramMarginX,e[i].height=g.diagramMarginY,m.default.drawActor(t,e[i].x,r,e[i].description,g),v.insert(e[i].x,r,e[i].x+g.width,g.height)}v.bumpVerticalPos(g.height)},i=e.setConf=function(e){Object.keys(e).forEach(function(t){g[t]=e[t]})},s=function(e){return v.activations.filter(function(t){return t.actor===e})},b=function(t){var e=y.parser.yy.getActors(),n=s(t);return[n.reduce(function(t,e){return Math.min(t,e.startx)},e[t].x+g.width/2),n.reduce(function(t,e){return Math.max(t,e.stopx)},e[t].x+g.width/2)]},o=e.draw=function(t,e){y.parser.yy.clear(),y.parser.parse(t+"\n"),v.init();var d=c.default.select("#"+e),h=void 0,f=void 0,_=void 0,p=y.parser.yy.getActors(),n=y.parser.yy.getActorKeys(),r=y.parser.yy.getMessages(),a=y.parser.yy.getTitle();k(d,p,n,0),m.default.insertArrowHead(d),m.default.insertArrowCrossHead(d),r.forEach(function(t){var e,n,r,a=void 0;switch(t.type){case y.parser.yy.LINETYPE.NOTE:v.bumpVerticalPos(g.boxMargin),h=p[t.from].x,f=p[t.to].x,t.placement===y.parser.yy.PLACEMENT.RIGHTOF?M(d,h+(g.width+g.actorMargin)/2,v.getVerticalPos(),t):t.placement===y.parser.yy.PLACEMENT.LEFTOF?M(d,h-(g.width+g.actorMargin)/2,v.getVerticalPos(),t):t.to===t.from?M(d,h,v.getVerticalPos(),t):(_=Math.abs(h-f)+g.actorMargin,M(d,(h+f+g.width-_)/2,v.getVerticalPos(),t,_));break;case y.parser.yy.LINETYPE.ACTIVE_START:v.newActivation(t,d);break;case y.parser.yy.LINETYPE.ACTIVE_END:e=t,n=v.getVerticalPos(),(r=v.endActivation(e)).starty+18>n&&(r.starty=n-6,n+=12),m.default.drawActivation(d,r,n,g),v.insert(r.startx,n-10,r.stopx,n);break;case y.parser.yy.LINETYPE.LOOP_START:v.bumpVerticalPos(g.boxMargin),v.newLoop(t.message),v.bumpVerticalPos(g.boxMargin+g.boxTextMargin);break;case y.parser.yy.LINETYPE.LOOP_END:a=v.endLoop(),m.default.drawLoop(d,a,"loop",g),v.bumpVerticalPos(g.boxMargin);break;case y.parser.yy.LINETYPE.OPT_START:v.bumpVerticalPos(g.boxMargin),v.newLoop(t.message),v.bumpVerticalPos(g.boxMargin+g.boxTextMargin);break;case y.parser.yy.LINETYPE.OPT_END:a=v.endLoop(),m.default.drawLoop(d,a,"opt",g),v.bumpVerticalPos(g.boxMargin);break;case y.parser.yy.LINETYPE.ALT_START:v.bumpVerticalPos(g.boxMargin),v.newLoop(t.message),v.bumpVerticalPos(g.boxMargin+g.boxTextMargin);break;case y.parser.yy.LINETYPE.ALT_ELSE:v.bumpVerticalPos(g.boxMargin),a=v.addSectionToLoop(t.message),v.bumpVerticalPos(g.boxMargin);break;case y.parser.yy.LINETYPE.ALT_END:a=v.endLoop(),m.default.drawLoop(d,a,"alt",g),v.bumpVerticalPos(g.boxMargin);break;case y.parser.yy.LINETYPE.PAR_START:v.bumpVerticalPos(g.boxMargin),v.newLoop(t.message),v.bumpVerticalPos(g.boxMargin+g.boxTextMargin);break;case y.parser.yy.LINETYPE.PAR_AND:v.bumpVerticalPos(g.boxMargin),a=v.addSectionToLoop(t.message),v.bumpVerticalPos(g.boxMargin);break;case y.parser.yy.LINETYPE.PAR_END:a=v.endLoop(),m.default.drawLoop(d,a,"par",g),v.bumpVerticalPos(g.boxMargin);break;default:try{v.bumpVerticalPos(g.messageMargin);var i=b(t.from),s=b(t.to),o=i[0]<=s[0]?1:0,u=i[0]<s[0]?0:1;h=i[o],f=s[u];var l=v.getVerticalPos();!function(t,e,n,r,a){var i=t.append("g"),s=e+(n-e)/2,o=i.append("text").attr("x",s).attr("y",r-7).style("text-anchor","middle").attr("class","messageText").text(a.message),u=void 0;u=void 0!==o[0][0].getBBox?o[0][0].getBBox().width:o[0][0].getBoundingClientRect();var l=void 0;if(e===n){l=i.append("path").attr("d","M "+e+","+r+" C "+(e+60)+","+(r-10)+" "+(e+60)+","+(r+30)+" "+e+","+(r+20)),v.bumpVerticalPos(30);var c=Math.max(u/2,100);v.insert(e-c,v.getVerticalPos()-10,n+c,v.getVerticalPos())}else(l=i.append("line")).attr("x1",e),l.attr("y1",r),l.attr("x2",n),l.attr("y2",r),v.insert(e,v.getVerticalPos()-10,n,v.getVerticalPos());a.type===y.parser.yy.LINETYPE.DOTTED||a.type===y.parser.yy.LINETYPE.DOTTED_CROSS||a.type===y.parser.yy.LINETYPE.DOTTED_OPEN?(l.style("stroke-dasharray","3, 3"),l.attr("class","messageLine1")):l.attr("class","messageLine0");var d="";g.arrowMarkerAbsolute&&(d=(d=(d=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search).replace(/\(/g,"\\(")).replace(/\)/g,"\\)")),l.attr("stroke-width",2),l.attr("stroke","black"),l.style("fill","none"),a.type!==y.parser.yy.LINETYPE.SOLID&&a.type!==y.parser.yy.LINETYPE.DOTTED||l.attr("marker-end","url("+d+"#arrowhead)"),a.type!==y.parser.yy.LINETYPE.SOLID_CROSS&&a.type!==y.parser.yy.LINETYPE.DOTTED_CROSS||l.attr("marker-end","url("+d+"#crosshead)")}(d,h,f,l,t);var c=i.concat(s);v.insert(Math.min.apply(null,c),l,Math.max.apply(null,c),l)}catch(t){console.error("error while drawing message",t)}}}),g.mirrorActors&&(v.bumpVerticalPos(2*g.boxMargin),k(d,p,n,v.getVerticalPos()));var i=v.getBounds();l.logger.debug("For line height fix Querying: #"+e+" .actor-line"),c.default.selectAll("#"+e+" .actor-line").attr("y2",i.stopy);var s=i.stopy-i.starty+2*g.diagramMarginY;g.mirrorActors&&(s=s-g.boxMargin+g.bottomMarginAdj);var o=i.stopx-i.startx+2*g.diagramMarginX;a&&d.append("text").text(a).attr("x",(i.stopx-i.startx)/2-2*g.diagramMarginX).attr("y",-25),g.useMaxWidth?(d.attr("height","100%"),d.attr("width","100%"),d.attr("style","max-width:"+o+"px;")):(d.attr("height",s),d.attr("width",o));var u=a?40:0;d.attr("viewBox",i.startx-g.diagramMarginX+" -"+(g.diagramMarginY+u)+" "+o+" "+(s+u))};e.default={bounds:v,drawActors:k,setConf:i,draw:o}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var u=e.drawRect=function(t,e){var n=t.append("rect");return n.attr("x",e.x),n.attr("y",e.y),n.attr("fill",e.fill),n.attr("stroke",e.stroke),n.attr("width",e.width),n.attr("height",e.height),n.attr("rx",e.rx),n.attr("ry",e.ry),void 0!==e.class&&n.attr("class",e.class),n},l=e.drawText=function(t,e,n){var r=e.text.replace(/<br\/?>/gi," "),a=t.append("text");a.attr("x",e.x),a.attr("y",e.y),a.style("text-anchor",e.anchor),a.attr("fill",e.fill),void 0!==e.class&&a.attr("class",e.class);var i=a.append("tspan");return i.attr("x",e.x+2*e.textMargin),i.attr("fill",e.fill),i.text(r),void 0!==a.textwrap&&a.textwrap({x:e.x,y:e.y,width:n,height:1800},e.textMargin),a},o=e.drawLabel=function(t,e){var n,r,a,i,s,o=t.append("polygon");o.attr("points",(n=e.x,r=e.y,n+","+r+" "+(n+(a=50))+","+r+" "+(n+a)+","+(r+(i=20)-(s=7))+" "+(n+a-1.2*s)+","+(r+i)+" "+n+","+(r+i))),o.attr("class","labelBox"),e.y=e.y+e.labelMargin,e.x=e.x+.5*e.labelMargin,l(t,e)},c=-1,r=e.drawActor=function(t,e,n,r,a){var i=e+a.width/2,s=t.append("g");0===n&&(c++,s.append("line").attr("id","actor"+c).attr("x1",i).attr("y1",5).attr("x2",i).attr("y2",2e3).attr("class","actor-line").attr("stroke-width","0.5px").attr("stroke","#999"));var o=_();o.x=e,o.y=n,o.fill="#eaeaea",o.width=a.width,o.height=a.height,o.class="actor",o.rx=3,o.ry=3,u(s,o),p(a)(r,s,o.x,o.y,o.width,o.height,{class:"actor"})},a=e.anchorElement=function(t){return t.append("g")},i=e.drawActivation=function(t,e,n){var r=_(),a=e.anchored;r.x=e.startx,r.y=e.starty,r.fill="#f4f4f4",r.width=e.stopx-e.startx,r.height=n-e.starty,u(a,r)},s=e.drawLoop=function(t,n,e,r){var a=t.append("g"),i=function(t,e,n,r){return a.append("line").attr("x1",t).attr("y1",e).attr("x2",n).attr("y2",r).attr("class","loopLine")};i(n.startx,n.starty,n.stopx,n.starty),i(n.stopx,n.starty,n.stopx,n.stopy),i(n.startx,n.stopy,n.stopx,n.stopy),i(n.startx,n.starty,n.startx,n.stopy),void 0!==n.sections&&n.sections.forEach(function(t){i(n.startx,t,n.stopx,t).style("stroke-dasharray","3, 3")});var s=f();s.text=e,s.x=n.startx,s.y=n.starty,s.labelMargin=15,s.class="labelText",o(a,s),(s=f()).text="[ "+n.title+" ]",s.x=n.startx+(n.stopx-n.startx)/2,s.y=n.starty+1.5*r.boxMargin,s.anchor="middle",s.class="loopText",l(a,s),void 0!==n.sectionTitles&&n.sectionTitles.forEach(function(t,e){""!==t&&(s.text="[ "+t+" ]",s.y=n.sections[e]+1.5*r.boxMargin,l(a,s))})},d=e.insertArrowHead=function(t){t.append("defs").append("marker").attr("id","arrowhead").attr("refX",5).attr("refY",2).attr("markerWidth",6).attr("markerHeight",4).attr("orient","auto").append("path").attr("d","M 0,0 V 4 L6,2 Z")},h=e.insertArrowCrossHead=function(t){var e=t.append("defs").append("marker").attr("id","crosshead").attr("markerWidth",15).attr("markerHeight",8).attr("orient","auto").attr("refX",16).attr("refY",4);e.append("path").attr("fill","black").attr("stroke","#000000").style("stroke-dasharray","0, 0").attr("stroke-width","1px").attr("d","M 9,2 V 6 L16,4 Z"),e.append("path").attr("fill","none").attr("stroke","#000000").style("stroke-dasharray","0, 0").attr("stroke-width","1px").attr("d","M 0,1 L 6,7 M 6,1 L 0,7")},f=e.getTextObj=function(){return{x:0,y:0,fill:"black","text-anchor":"start",style:"#666",width:100,height:100,textMargin:0,rx:0,ry:0}},_=e.getNoteRect=function(){return{x:0,y:0,fill:"#EDF2AE",stroke:"#666",width:100,anchor:"start",height:100,rx:0,ry:0}},p=function(){function e(t,e,n,r,a,i,s){c(e.append("text").attr("x",n+a/2).attr("y",r+i/2+5).style("text-anchor","middle").text(t),s)}function l(t,e,n,r,a,i,s){var o=e.append("text").attr("x",n+a/2).attr("y",r).style("text-anchor","middle");if(o.append("tspan").attr("x",n+a/2).attr("dy","0").text(t),void 0!==o.textwrap){o.textwrap({x:n+a/2,y:r,width:a,height:i},0);var u=o.selectAll("tspan");0<u.length&&0<u[0].length&&(u=u[0],o.attr("y",r+(i/2-o[0][0].getBBox().height*(1-1/u.length)/2)).attr("dominant-baseline","central").attr("alignment-baseline","central"))}c(o,s)}function n(t,e,n,r,a,i,s){var o=e.append("switch"),u=o.append("foreignObject").attr("x",n).attr("y",r).attr("width",a).attr("height",i).append("div").style("display","table").style("height","100%").style("width","100%");u.append("div").style("display","table-cell").style("text-align","center").style("vertical-align","middle").text(t),l(t,o,n,r,a,i,s),c(u,s)}function c(t,e){for(var n in e)e.hasOwnProperty(n)&&t.attr(n,e[n])}return function(t){return"fo"===t.textPlacement?n:"old"===t.textPlacement?e:l}}();e.default={drawRect:u,drawText:l,drawLabel:o,drawActor:r,anchorElement:a,drawActivation:i,drawLoop:s,insertArrowHead:d,insertArrowCrossHead:h,getTextObj:f,getNoteRect:_}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.draw=void 0;var i=r(n(170)),s=r(n(171)),o=r(n(6)),u=n(1);function r(t){return t&&t.__esModule?t:{default:t}}var a=e.draw=function(t,e,n){var r=s.default.parser;r.yy=i.default,u.logger.debug("Renering example diagram"),r.parse(t);var a=o.default.select("#"+e);a.append("g").append("text").attr("x",100).attr("y",40).attr("class","version").attr("font-size","32px").style("text-anchor","middle").text("mermaid "+n),a.attr("height",100),a.attr("width",400)};e.default={draw:a}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.draw=e.setConf=void 0;var u=a(n(0)),l=n(172),r=a(n(173)),p=a(n(6));function a(t){return t&&t.__esModule?t:{default:t}}l.parser.yy=r.default;var m=void 0,y={titleTopMargin:25,barHeight:20,barGap:4,topPadding:50,rightPadding:75,leftPadding:75,gridLineStartPadding:35,fontSize:11,fontFamily:'"Open-Sans", "sans-serif"'},i=e.setConf=function(e){Object.keys(e).forEach(function(t){y[t]=e[t]})},c=void 0,s=e.draw=function(t,e){l.parser.yy.clear(),l.parser.parse(t);var n=document.getElementById(e);void 0===(c=n.parentElement.offsetWidth)&&(c=1200),void 0!==y.useWidth&&(c=y.useWidth);var r=l.parser.yy.getTasks(),a=r.length*(y.barHeight+y.barGap)+2*y.topPadding;n.setAttribute("height","100%"),n.setAttribute("viewBox","0 0 "+c+" "+a);var d=p.default.select("#"+e),i=p.default.min(r,function(t){return t.startTime}),s=p.default.max(r,function(t){return t.endTime}),h=p.default.time.scale().domain([p.default.min(r,function(t){return t.startTime}),p.default.max(r,function(t){return t.endTime})]).rangeRound([0,c-y.leftPadding-y.rightPadding]),f=[];m=u.default.duration(s-i).asDays();for(var o=0;o<r.length;o++)f.push(r[o].type);var _=f;f=function(t){for(var e={},n=[],r=0,a=t.length;r<a;++r)e.hasOwnProperty(t[r])||(e[t[r]]=!0,n.push(t[r]));return n}(f),function(t,e,n){var r=y.barHeight,a=r+y.barGap,i=y.topPadding,s=y.leftPadding;p.default.scale.linear().domain([0,f.length]).range(["#00B9FA","#F95002"]).interpolate(p.default.interpolateHcl);(function(t,e,n,r){var a=[["%I:%M",function(t){return t.getHours()}],["%a %d",function(t){return t.getDay()&&1!==t.getDate()}],["%b %d",function(t){return 1!==t.getDate()}],["%B",function(t){return t.getMonth()}]],i=void 0;void 0!==y.axisFormatter&&(a=[],y.axisFormatter.forEach(function(t){var e=[];e[0]=t[0],e[1]=t[1],a.push(e)}));i=[[".%L",function(t){return t.getMilliseconds()}],[":%S",function(t){return t.getSeconds()}],["h1 %I:%M",function(t){return t.getMinutes()}]].concat(a).concat([["%Y",function(){return!0}]]);var s=p.default.svg.axis().scale(h).orient("bottom").tickSize(-r+e+y.gridLineStartPadding,0,0).tickFormat(p.default.time.format.multi(i));7<m&&m<230&&(s=s.ticks(p.default.time.monday.range));d.append("g").attr("class","grid").attr("transform","translate("+t+", "+(r-50)+")").call(s).selectAll("text").style("text-anchor","middle").attr("fill","#000").attr("stroke","none").attr("font-size",10).attr("dy","1em")})(s,i,0,n),function(t,n,r,a,e,i,o,s){d.append("g").selectAll("rect").data(t).enter().append("rect").attr("x",0).attr("y",function(t,e){return e*n+r-2}).attr("width",function(){return o-y.rightPadding/2}).attr("height",n).attr("class",function(t){for(var e=0;e<f.length;e++)if(t.type===f[e])return"section section"+e%y.numberSectionStyles;return"section section0"});var u=d.append("g").selectAll("rect").data(t).enter();u.append("rect").attr("rx",3).attr("ry",3).attr("x",function(t){return h(t.startTime)+a}).attr("y",function(t,e){return e*n+r}).attr("width",function(t){return h(t.endTime)-h(t.startTime)}).attr("height",e).attr("class",function(t){for(var e="task ",n=0,r=0;r<f.length;r++)t.type===f[r]&&(n=r%y.numberSectionStyles);return t.active?t.crit?e+" activeCrit"+n:e+" active"+n:t.done?t.crit?e+" doneCrit"+n:e+" done"+n:t.crit?e+" crit"+n:e+" task"+n}),u.append("text").text(function(t){return t.task}).attr("font-size",y.fontSize).attr("x",function(t){var e=h(t.startTime),n=h(t.endTime),r=this.getBBox().width;return n-e<r?n+r+1.5*y.leftPadding>o?e+a-5:n+a+5:(n-e)/2+e+a}).attr("y",function(t,e){return e*n+y.barHeight/2+(y.fontSize/2-2)+r}).attr("text-height",e).attr("class",function(t){for(var e=h(t.startTime),n=h(t.endTime),r=this.getBBox().width,a=0,i=0;i<f.length;i++)t.type===f[i]&&(a=i%y.numberSectionStyles);var s="";return t.active&&(s=t.crit?"activeCritText"+a:"activeText"+a),t.done?s=t.crit?s+" doneCritText"+a:s+" doneText"+a:t.crit&&(s=s+" critText"+a),n-e<r?n+r+1.5*y.leftPadding>o?"taskTextOutsideLeft taskTextOutside"+a+" "+s:"taskTextOutsideRight taskTextOutside"+a+" "+s:"taskText taskText"+a+" "+s})}(t,a,i,s,r,0,e),function(r,a){for(var i=[],s=0,t=0;t<f.length;t++)i[t]=[f[t],(e=f[t],n=_,function(t){var e=t.length,n={};for(;e;)n[t[--e]]=(n[t[e]]||0)+1;return n}(n)[e]||0)];var e,n;d.append("g").selectAll("text").data(i).enter().append("text").text(function(t){return t[0]}).attr("x",10).attr("y",function(t,e){if(!(0<e))return t[1]*r/2+a;for(var n=0;n<e;n++)return s+=i[e-1][1],t[1]*r/2+s*r+a}).attr("class",function(t){for(var e=0;e<f.length;e++)if(t[0]===f[e])return"sectionTitle sectionTitle"+e%y.numberSectionStyles;return"sectionTitle"})}(a,i),o=s,u=n,l=d.append("g").attr("class","today"),c=new Date,l.append("line").attr("x1",h(c)+o).attr("x2",h(c)+o).attr("y1",y.titleTopMargin).attr("y2",u-y.titleTopMargin).attr("class","today");var o,u,l,c}(r,c,a),void 0!==y.useWidth&&n.setAttribute("width",c),d.append("text").text(l.parser.yy.getTitle()).attr("x",c/2).attr("y",y.titleTopMargin).attr("class","titleText")};e.default={setConf:i,draw:s}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.draw=e.setConf=void 0;var c=r(n(162)),y=r(n(175)),g=r(n(6)),_=n(1),d=n(174);function r(t){return t&&t.__esModule?t:{default:t}}d.parser.yy=y.default;var p={},m=0,v={dividerMargin:10,padding:5,textHeight:10},h=function(t){for(var e=Object.keys(p),n=0;n<e.length;n++)if(p[e[n]].label===t)return e[n]},M=0,f=function(t,e){_.logger.info("Rendering class "+e);var n=function(t,e,n){var r=t.append("tspan").attr("x",v.padding).text(e);n||r.attr("dy",v.textHeight)},r="classId"+m,a={id:r,label:e.id,width:0,height:0},i=t.append("g").attr("id",r).attr("class","classGroup"),s=i.append("text").attr("x",v.padding).attr("y",v.textHeight+v.padding).text(e.id).node().getBBox().height,o=i.append("line").attr("x1",0).attr("y1",v.padding+s+v.dividerMargin/2).attr("y2",v.padding+s+v.dividerMargin/2),u=i.append("text").attr("x",v.padding).attr("y",s+v.dividerMargin+v.textHeight).attr("fill","white").attr("class","classText"),l=!0;e.members.forEach(function(t){n(u,t,l),l=!1});var c=u.node().getBBox(),d=i.append("line").attr("x1",0).attr("y1",v.padding+s+v.dividerMargin+c.height).attr("y2",v.padding+s+v.dividerMargin+c.height),h=i.append("text").attr("x",v.padding).attr("y",s+2*v.dividerMargin+c.height+v.textHeight).attr("fill","white").attr("class","classText");l=!0,e.methods.forEach(function(t){n(h,t,l),l=!1});var f=i.node().getBBox();return i.insert("rect",":first-child").attr("x",0).attr("y",0).attr("width",f.width+2*v.padding).attr("height",f.height+v.padding+.5*v.dividerMargin),o.attr("x2",f.width+2*v.padding),d.attr("x2",f.width+2*v.padding),a.width=f.width+2*v.padding,a.height=f.height+v.padding+.5*v.dividerMargin,p[r]=a,m++,a},a=e.setConf=function(e){Object.keys(e).forEach(function(t){v[t]=e[t]})},i=e.draw=function(t,e){d.parser.yy.clear(),d.parser.parse(t),_.logger.info("Rendering diagram "+t);var n,r=g.default.select("#"+e);(n=r).append("defs").append("marker").attr("id","extensionStart").attr("class","extension").attr("refX",0).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 1,7 L18,13 V 1 Z"),n.append("defs").append("marker").attr("id","extensionEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 1,1 V 13 L18,7 Z"),n.append("defs").append("marker").attr("id","compositionStart").attr("class","extension").attr("refX",0).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),n.append("defs").append("marker").attr("id","compositionEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),n.append("defs").append("marker").attr("id","aggregationStart").attr("class","extension").attr("refX",0).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),n.append("defs").append("marker").attr("id","aggregationEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),n.append("defs").append("marker").attr("id","dependencyStart").attr("class","extension").attr("refX",0).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 5,7 L9,13 L1,7 L9,1 Z"),n.append("defs").append("marker").attr("id","dependencyEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L14,7 L9,1 Z");var a=new c.default.graphlib.Graph({multigraph:!0});a.setGraph({isMultiGraph:!0}),a.setDefaultEdgeLabel(function(){return{}});for(var i=y.default.getClasses(),s=Object.keys(i),o=0;o<s.length;o++){var u=i[s[o]],l=f(r,u);a.setNode(l.id,l),_.logger.info("Org height: "+l.height)}y.default.getRelations().forEach(function(t){_.logger.info("tjoho"+h(t.id1)+h(t.id2)+JSON.stringify(t)),a.setEdge(h(t.id1),h(t.id2),{relation:t})}),c.default.layout(a),a.nodes().forEach(function(t){void 0!==t&&(_.logger.debug("Node "+t+": "+JSON.stringify(a.node(t))),g.default.select("#"+t).attr("transform","translate("+(a.node(t).x-a.node(t).width/2)+","+(a.node(t).y-a.node(t).height/2)+" )"))}),a.edges().forEach(function(t){_.logger.debug("Edge "+t.v+" -> "+t.w+": "+JSON.stringify(a.edge(t))),function(t,e,n){var r=function(t){switch(t){case y.default.relationType.AGGREGATION:return"aggregation";case y.default.relationType.EXTENSION:return"extension";case y.default.relationType.COMPOSITION:return"composition";case y.default.relationType.DEPENDENCY:return"dependency"}},a=e.points,i=g.default.svg.line().x(function(t){return t.x}).y(function(t){return t.y}).interpolate("basis"),s=t.append("path").attr("d",i(a)).attr("id","edge"+M).attr("class","relation"),o="";v.arrowMarkerAbsolute&&(o=(o=(o=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search).replace(/\(/g,"\\(")).replace(/\)/g,"\\)")),"none"!==n.relation.type1&&s.attr("marker-start","url("+o+"#"+r(n.relation.type1)+"Start)"),"none"!==n.relation.type2&&s.attr("marker-end","url("+o+"#"+r(n.relation.type2)+"End)");var u=void 0,l=void 0,c=e.points.length;if(c%2!=0){var d=e.points[Math.floor(c/2)],h=e.points[Math.ceil(c/2)];u=(d.x+h.x)/2,l=(d.y+h.y)/2}else{var f=e.points[Math.floor(c/2)];u=f.x,l=f.y}if(void 0!==n.title){var _=t.append("g").attr("class","classLabel"),p=_.append("text").attr("class","label").attr("x",u).attr("y",l).attr("fill","red").attr("text-anchor","middle").text(n.title),m=(window.label=p).node().getBBox();_.insert("rect",":first-child").attr("class","box").attr("x",m.x-v.padding/2).attr("y",m.y-v.padding/2).attr("width",m.width+v.padding).attr("height",m.height+v.padding)}M++}(r,a.edge(t),a.edge(t).relation)}),r.attr("height","100%"),r.attr("width","100%"),r.attr("viewBox","0 0 "+(a.graph().width+20)+" "+(a.graph().height+20))};e.default={setConf:a,draw:i}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.draw=e.setConf=void 0;var u=r(n(177)),l=r(n(245)),c=r(n(2)),d=r(n(265)),h=r(n(327)),f=r(n(201)),_=r(n(176)),p=r(n(6)),m=n(1);function r(t){return t&&t.__esModule?t:{default:t}}var y={},g=void 0,v={nodeSpacing:150,nodeFillColor:"yellow",nodeStrokeWidth:2,nodeStrokeColor:"grey",lineStrokeWidth:4,branchOffset:50,lineColor:"grey",leftMargin:50,branchColors:["#442f74","#983351","#609732","#AA9A39"],nodeRadius:10,nodeLabel:{width:75,height:100,x:-25,y:0}},M={},a=e.setConf=function(t){M=t};function k(t,e,n,r){r=r||"basis";var a=v.branchColors[n%v.branchColors.length],i=p.default.svg.line().x(function(t){return Math.round(t.x)}).y(function(t){return Math.round(t.y)}).interpolate(r);t.append("svg:path").attr("d",i(e)).style("stroke",a).style("stroke-width",v.lineStrokeWidth).style("fill","none")}function b(t,e){e=e||t.node().getBBox();var n=t.node().getCTM();return{left:n.e+e.x*n.a,top:n.f+e.y*n.d,width:e.width,height:e.height}}function L(t,e,n,r,a){m.logger.debug("svgDrawLineForCommits: ",e,n);var i=b(t.select("#node-"+e+" circle")),s=b(t.select("#node-"+n+" circle"));switch(r){case"LR":if(i.left-s.left>v.nodeSpacing){var o={x:i.left-v.nodeSpacing,y:s.top+s.height/2};k(t,[o,{x:s.left+s.width,y:s.top+s.height/2}],a,"linear"),k(t,[{x:i.left,y:i.top+i.height/2},{x:i.left-v.nodeSpacing/2,y:i.top+i.height/2},{x:i.left-v.nodeSpacing/2,y:o.y},o],a)}else k(t,[{x:i.left,y:i.top+i.height/2},{x:i.left-v.nodeSpacing/2,y:i.top+i.height/2},{x:i.left-v.nodeSpacing/2,y:s.top+s.height/2},{x:s.left+s.width,y:s.top+s.height/2}],a);break;case"BT":if(s.top-i.top>v.nodeSpacing){var u={x:s.left+s.width/2,y:i.top+i.height+v.nodeSpacing};k(t,[u,{x:s.left+s.width/2,y:s.top}],a,"linear"),k(t,[{x:i.left+i.width/2,y:i.top+i.height},{x:i.left+i.width/2,y:i.top+i.height+v.nodeSpacing/2},{x:s.left+s.width/2,y:u.y-v.nodeSpacing/2},u],a)}else k(t,[{x:i.left+i.width/2,y:i.top+i.height},{x:i.left+i.width/2,y:i.top+v.nodeSpacing/2},{x:s.left+s.width/2,y:s.top-v.nodeSpacing/2},{x:s.left+s.width/2,y:s.top}],a)}}var i=e.draw=function(t,e,n){try{var r=_.default.parser;r.yy=f.default,m.logger.debug("in gitgraph renderer",t,e,n),r.parse(t+"\n"),v=(0,l.default)(v,M,f.default.getOptions()),m.logger.debug("effective options",v);var a=f.default.getDirection();y=f.default.getCommits();var i=f.default.getBranchesAsObjArray();"BT"===a&&(v.nodeLabel.x=i.length*v.branchOffset,v.nodeLabel.width="100%",v.nodeLabel.y=-2*v.nodeRadius);var s=p.default.select("#"+e);(o=s).append("defs").append("g").attr("id","def-commit").append("circle").attr("r",v.nodeRadius).attr("cx",0).attr("cy",0),o.select("#def-commit").append("foreignObject").attr("width",v.nodeLabel.width).attr("height",v.nodeLabel.height).attr("x",v.nodeLabel.x).attr("y",v.nodeLabel.y).attr("class","node-label").attr("requiredFeatures","http://www.w3.org/TR/SVG11/feature#Extensibility").append("xhtml:p").html(""),g=1,(0,u.default)(i,function(t){!function t(e,n,r,a){var i=void 0,s=Object.keys(y).length;if((0,h.default)(n))do{if(i=y[n],m.logger.debug("in renderCommitHistory",i.id,i.seq),0<e.select("#node-"+n).size())return;e.append(function(){return t="#def-commit",e.select(t).node().cloneNode(!0);var t}).attr("class","commit").attr("id",function(){return"node-"+i.id}).attr("transform",function(){switch(a){case"LR":return"translate("+(i.seq*v.nodeSpacing+v.leftMargin)+", "+g*v.branchOffset+")";case"BT":return"translate("+(g*v.branchOffset+v.leftMargin)+", "+(s-i.seq)*v.nodeSpacing+")"}}).attr("fill",v.nodeFillColor).attr("stroke",v.nodeStrokeColor).attr("stroke-width",v.nodeStrokeWidth);var o=(0,d.default)(r,["commit",i]);o&&(m.logger.debug("found branch ",o.name),e.select("#node-"+i.id+" p").append("xhtml:span").attr("class","branch-label").text(o.name+", ")),e.select("#node-"+i.id+" p").append("xhtml:span").attr("class","commit-id").text(i.id),""!==i.message&&"BT"===a&&e.select("#node-"+i.id+" p").append("xhtml:span").attr("class","commit-msg").text(", "+i.message),n=i.parent}while(n&&y[n]);(0,c.default)(n)&&(m.logger.debug("found merge commmit",n),t(e,n[0],r,a),g++,t(e,n[1],r,a),g--)}(s,t.commit.id,i,a),function t(e,n,r,a){for(a=a||0;0<n.seq&&!n.lineDrawn;)(0,h.default)(n.parent)?(L(e,n.id,n.parent,r,a),n.lineDrawn=!0,n=y[n.parent]):(0,c.default)(n.parent)&&(L(e,n.id,n.parent[0],r,a),L(e,n.id,n.parent[1],r,a+1),t(e,y[n.parent[1]],r,a+1),n.lineDrawn=!0,n=y[n.parent[0]])}(s,t.commit,a),g++}),s.attr("height",function(){return"BT"===a?Object.keys(y).length*v.nodeSpacing:(i.length+1)*v.branchOffset})}catch(t){m.logger.error("Error while rendering gitgraph"),m.logger.error(t.message)}var o};e.default={setConf:a,draw:i}},function(t,e,n){var r=n(229),a=n(178),i=n(244),s=n(2);t.exports=function(t,e){return(s(t)?r:a)(t,i(e))}},function(t,e){t.exports=function(t,e){for(var n=-1,r=null==t?0:t.length;++n<r&&!1!==e(t[n],n,t););return t}},function(t,e,n){var r=n(231),a=n(20);t.exports=function(t,e){return t&&r(t,e,a)}},function(t,e,n){var r=n(232)();t.exports=r},function(t,e){t.exports=function(u){return function(t,e,n){for(var r=-1,a=Object(t),i=n(t),s=i.length;s--;){var o=i[u?s:++r];if(!1===e(a[o],o,a))break}return t}}},function(t,e){t.exports=function(t,e){for(var n=-1,r=Array(t);++n<t;)r[n]=e(n);return r}},function(t,e,n){var r=n(11),a=n(12),i="[object Arguments]";t.exports=function(t){return a(t)&&r(t)==i}},function(t,e,n){var r=n(21),a=Object.prototype,i=a.hasOwnProperty,s=a.toString,o=r?r.toStringTag:void 0;t.exports=function(t){var e=i.call(t,o),n=t[o];try{t[o]=void 0;var r=!0}catch(t){}var a=s.call(t);return r&&(e?t[o]=n:delete t[o]),a}},function(t,e){var n=Object.prototype.toString;t.exports=function(t){return n.call(t)}},function(t,e){t.exports=function(){return!1}},function(t,e,n){var r=n(11),a=n(32),i=n(12),s={};s["[object Float32Array]"]=s["[object Float64Array]"]=s["[object Int8Array]"]=s["[object Int16Array]"]=s["[object Int32Array]"]=s["[object Uint8Array]"]=s["[object Uint8ClampedArray]"]=s["[object Uint16Array]"]=s["[object Uint32Array]"]=!0,s["[object Arguments]"]=s["[object Array]"]=s["[object ArrayBuffer]"]=s["[object Boolean]"]=s["[object DataView]"]=s["[object Date]"]=s["[object Error]"]=s["[object Function]"]=s["[object Map]"]=s["[object Number]"]=s["[object Object]"]=s["[object RegExp]"]=s["[object Set]"]=s["[object String]"]=s["[object WeakMap]"]=!1,t.exports=function(t){return i(t)&&a(t.length)&&!!s[r(t)]}},function(t,s,o){(function(t){var e=o(181),n="object"==typeof s&&s&&!s.nodeType&&s,r=n&&"object"==typeof t&&t&&!t.nodeType&&t,a=r&&r.exports===n&&e.process,i=function(){try{return a&&a.binding&&a.binding("util")}catch(t){}}();t.exports=i}).call(s,o(3)(t))},function(t,e,n){var r=n(185),a=n(241),i=Object.prototype.hasOwnProperty;t.exports=function(t){if(!r(t))return a(t);var e=[];for(var n in Object(t))i.call(t,n)&&"constructor"!=n&&e.push(n);return e}},function(t,e,n){var r=n(242)(Object.keys,Object);t.exports=r},function(t,e){t.exports=function(e,n){return function(t){return e(n(t))}}},function(t,e,n){var o=n(13);t.exports=function(i,s){return function(t,e){if(null==t)return t;if(!o(t))return i(t,e);for(var n=t.length,r=s?n:-1,a=Object(t);(s?r--:++r<n)&&!1!==e(a[r],r,a););return t}}},function(t,e,n){var r=n(17);t.exports=function(t){return"function"==typeof t?t:r}},function(t,e,n){t.exports=n(246)},function(t,e,n){var r=n(247),a=n(253),i=n(262),s=a(function(t,e){r(e,i(e),t)});t.exports=s},function(t,e,n){var l=n(248),c=n(187);t.exports=function(t,e,n,r){var a=!n;n||(n={});for(var i=-1,s=e.length;++i<s;){var o=e[i],u=r?r(n[o],t[o],o,n,t):void 0;void 0===u&&(u=t[o]),a?c(n,o,u):l(n,o,u)}return n}},function(t,e,n){var a=n(187),i=n(22),s=Object.prototype.hasOwnProperty;t.exports=function(t,e,n){var r=t[e];s.call(t,e)&&i(r,n)&&(void 0!==n||e in t)||a(t,e,n)}},function(t,e,n){var r=n(186),a=n(250),i=n(14),s=n(189),o=/^\[object .+?Constructor\]$/,u=Function.prototype,l=Object.prototype,c=u.toString,d=l.hasOwnProperty,h=RegExp("^"+c.call(d).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");t.exports=function(t){return!(!i(t)||a(t))&&(r(t)?h:o).test(s(t))}},function(t,e,n){var r,a=n(251),i=(r=/[^.]+$/.exec(a&&a.keys&&a.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"";t.exports=function(t){return!!i&&i in t}},function(t,e,n){var r=n(5)["__core-js_shared__"];t.exports=r},function(t,e){t.exports=function(t,e){return null==t?void 0:t[e]}},function(t,e,n){var r=n(254),u=n(261);t.exports=function(o){return r(function(t,e){var n=-1,r=e.length,a=1<r?e[r-1]:void 0,i=2<r?e[2]:void 0;for(a=3<o.length&&"function"==typeof a?(r--,a):void 0,i&&u(e[0],e[1],i)&&(a=r<3?void 0:a,r=1),t=Object(t);++n<r;){var s=e[n];s&&o(t,s,n,a)}return t})}},function(t,e,n){var r=n(17),a=n(255),i=n(257);t.exports=function(t,e){return i(a(t,e,r),t+"")}},function(t,e,n){var u=n(256),l=Math.max;t.exports=function(i,s,o){return s=l(void 0===s?i.length-1:s,0),function(){for(var t=arguments,e=-1,n=l(t.length-s,0),r=Array(n);++e<n;)r[e]=t[s+e];e=-1;for(var a=Array(s+1);++e<s;)a[e]=t[e];return a[s]=o(r),u(i,this,a)}}},function(t,e){t.exports=function(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)}},function(t,e,n){var r=n(258),a=n(260)(r);t.exports=a},function(t,e,n){var r=n(259),a=n(188),i=n(17),s=a?function(t,e){return a(t,"toString",{configurable:!0,enumerable:!1,value:r(e),writable:!0})}:i;t.exports=s},function(t,e){t.exports=function(t){return function(){return t}}},function(t,e){var i=800,s=16,o=Date.now;t.exports=function(n){var r=0,a=0;return function(){var t=o(),e=s-(t-a);if(a=t,0<e){if(++r>=i)return arguments[0]}else r=0;return n.apply(void 0,arguments)}}},function(t,e,n){var a=n(22),i=n(13),s=n(31),o=n(14);t.exports=function(t,e,n){if(!o(n))return!1;var r=typeof e;return!!("number"==r?i(n)&&s(e,n.length):"string"==r&&e in n)&&a(n[e],t)}},function(t,e,n){var r=n(179),a=n(263),i=n(13);t.exports=function(t){return i(t)?r(t,!0):a(t)}},function(t,e,n){var a=n(14),i=n(185),s=n(264),o=Object.prototype.hasOwnProperty;t.exports=function(t){if(!a(t))return s(t);var e=i(t),n=[];for(var r in t)("constructor"!=r||!e&&o.call(t,r))&&n.push(r);return n}},function(t,e){t.exports=function(t){var e=[];if(null!=t)for(var n in Object(t))e.push(n);return e}},function(t,e,n){var r=n(266)(n(323));t.exports=r},function(t,e,n){var o=n(15),u=n(13),l=n(20);t.exports=function(s){return function(t,e,n){var r=Object(t);if(!u(t)){var a=o(e,3);t=l(t),e=function(t){return a(r[t],t,r)}}var i=s(t,e,n);return-1<i?r[a?t[i]:i]:void 0}}},function(t,e,n){var r=n(268),a=n(309),i=n(197);t.exports=function(e){var n=a(e);return 1==n.length&&n[0][2]?i(n[0][0],n[0][1]):function(t){return t===e||r(t,e,n)}}},function(t,e,n){var f=n(190),_=n(191),p=1,m=2;t.exports=function(t,e,n,r){var a=n.length,i=a,s=!r;if(null==t)return!i;for(t=Object(t);a--;){var o=n[a];if(s&&o[2]?o[1]!==t[o[0]]:!(o[0]in t))return!1}for(;++a<i;){var u=(o=n[a])[0],l=t[u],c=o[1];if(s&&o[2]){if(void 0===l&&!(u in t))return!1}else{var d=new f;if(r)var h=r(l,c,u,t,e,d);if(!(void 0===h?_(c,l,p|m,r,d):h))return!1}}return!0}},function(t,e){t.exports=function(){this.__data__=[],this.size=0}},function(t,e,n){var r=n(24),a=Array.prototype.splice;t.exports=function(t){var e=this.__data__,n=r(e,t);return!(n<0||(n==e.length-1?e.pop():a.call(e,n,1),--this.size,0))}},function(t,e,n){var r=n(24);t.exports=function(t){var e=this.__data__,n=r(e,t);return n<0?void 0:e[n][1]}},function(t,e,n){var r=n(24);t.exports=function(t){return-1<r(this.__data__,t)}},function(t,e,n){var a=n(24);t.exports=function(t,e){var n=this.__data__,r=a(n,t);return r<0?(++this.size,n.push([t,e])):n[r][1]=e,this}},function(t,e,n){var r=n(23);t.exports=function(){this.__data__=new r,this.size=0}},function(t,e){t.exports=function(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n}},function(t,e){t.exports=function(t){return this.__data__.get(t)}},function(t,e){t.exports=function(t){return this.__data__.has(t)}},function(t,e,n){var a=n(23),i=n(33),s=n(34),o=200;t.exports=function(t,e){var n=this.__data__;if(n instanceof a){var r=n.__data__;if(!i||r.length<o-1)return r.push([t,e]),this.size=++n.size,this;n=this.__data__=new s(r)}return n.set(t,e),this.size=n.size,this}},function(t,e,n){var r=n(280),a=n(23),i=n(33);t.exports=function(){this.size=0,this.__data__={hash:new r,map:new(i||a),string:new r}}},function(t,e,n){var r=n(281),a=n(282),i=n(283),s=n(284),o=n(285);function u(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}u.prototype.clear=r,u.prototype.delete=a,u.prototype.get=i,u.prototype.has=s,u.prototype.set=o,t.exports=u},function(t,e,n){var r=n(25);t.exports=function(){this.__data__=r?r(null):{},this.size=0}},function(t,e){t.exports=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}},function(t,e,n){var r=n(25),a="__lodash_hash_undefined__",i=Object.prototype.hasOwnProperty;t.exports=function(t){var e=this.__data__;if(r){var n=e[t];return n===a?void 0:n}return i.call(e,t)?e[t]:void 0}},function(t,e,n){var r=n(25),a=Object.prototype.hasOwnProperty;t.exports=function(t){var e=this.__data__;return r?void 0!==e[t]:a.call(e,t)}},function(t,e,n){var r=n(25),a="__lodash_hash_undefined__";t.exports=function(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=r&&void 0===e?a:e,this}},function(t,e,n){var r=n(26);t.exports=function(t){var e=r(this,t).delete(t);return this.size-=e?1:0,e}},function(t,e){t.exports=function(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t}},function(t,e,n){var r=n(26);t.exports=function(t){return r(this,t).get(t)}},function(t,e,n){var r=n(26);t.exports=function(t){return r(this,t).has(t)}},function(t,e,n){var a=n(26);t.exports=function(t,e){var n=a(this,t),r=n.size;return n.set(t,e),this.size+=n.size==r?0:1,this}},function(t,e,n){var y=n(190),g=n(192),v=n(295),M=n(298),k=n(305),b=n(2),L=n(182),w=n(183),x=1,D="[object Arguments]",Y="[object Array]",T="[object Object]",A=Object.prototype.hasOwnProperty;t.exports=function(t,e,n,r,a,i){var s=b(t),o=b(e),u=s?Y:k(t),l=o?Y:k(e),c=(u=u==D?T:u)==T,d=(l=l==D?T:l)==T,h=u==l;if(h&&L(t)){if(!L(e))return!1;s=!0,c=!1}if(h&&!c)return i||(i=new y),s||w(t)?g(t,e,n,r,a,i):v(t,e,u,n,r,a,i);if(!(n&x)){var f=c&&A.call(t,"__wrapped__"),_=d&&A.call(e,"__wrapped__");if(f||_){var p=f?t.value():t,m=_?e.value():e;return i||(i=new y),a(p,m,n,r,i)}}return!!h&&(i||(i=new y),M(t,e,n,r,a,i))}},function(t,e){var n="__lodash_hash_undefined__";t.exports=function(t){return this.__data__.set(t,n),this}},function(t,e){t.exports=function(t){return this.__data__.has(t)}},function(t,e){t.exports=function(t,e){for(var n=-1,r=null==t?0:t.length;++n<r;)if(e(t[n],n,t))return!0;return!1}},function(t,e,n){var r=n(21),d=n(296),h=n(22),f=n(192),_=n(297),p=n(35),m=1,y=2,g="[object Boolean]",v="[object Date]",M="[object Error]",k="[object Map]",b="[object Number]",L="[object RegExp]",w="[object Set]",x="[object String]",D="[object Symbol]",Y="[object ArrayBuffer]",T="[object DataView]",a=r?r.prototype:void 0,A=a?a.valueOf:void 0;t.exports=function(t,e,n,r,a,i,s){switch(n){case T:if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case Y:return!(t.byteLength!=e.byteLength||!i(new d(t),new d(e)));case g:case v:case b:return h(+t,+e);case M:return t.name==e.name&&t.message==e.message;case L:case x:return t==e+"";case k:var o=_;case w:var u=r&m;if(o||(o=p),t.size!=e.size&&!u)return!1;var l=s.get(t);if(l)return l==e;r|=y,s.set(t,e);var c=f(o(t),o(e),r,a,i,s);return s.delete(t),c;case D:if(A)return A.call(t)==A.call(e)}return!1}},function(t,e,n){var r=n(5).Uint8Array;t.exports=r},function(t,e){t.exports=function(t){var n=-1,r=Array(t.size);return t.forEach(function(t,e){r[++n]=[e,t]}),r}},function(t,e,n){var v=n(299),M=1,k=Object.prototype.hasOwnProperty;t.exports=function(t,e,n,r,a,i){var s=n&M,o=v(t),u=o.length;if(u!=v(e).length&&!s)return!1;for(var l=u;l--;){var c=o[l];if(!(s?c in e:k.call(e,c)))return!1}var d=i.get(t);if(d&&i.get(e))return d==e;var h=!0;i.set(t,e),i.set(e,t);for(var f=s;++l<u;){var _=t[c=o[l]],p=e[c];if(r)var m=s?r(p,_,c,e,t,i):r(_,p,c,t,e,i);if(!(void 0===m?_===p||a(_,p,n,r,i):m)){h=!1;break}f||(f="constructor"==c)}if(h&&!f){var y=t.constructor,g=e.constructor;y!=g&&"constructor"in t&&"constructor"in e&&!("function"==typeof y&&y instanceof y&&"function"==typeof g&&g instanceof g)&&(h=!1)}return i.delete(t),i.delete(e),h}},function(t,e,n){var r=n(300),a=n(302),i=n(20);t.exports=function(t){return r(t,i,a)}},function(t,e,n){var a=n(301),i=n(2);t.exports=function(t,e,n){var r=e(t);return i(t)?r:a(r,n(t))}},function(t,e){t.exports=function(t,e){for(var n=-1,r=e.length,a=t.length;++n<r;)t[a+n]=e[n];return t}},function(t,e,n){var r=n(303),a=n(304),i=Object.prototype.propertyIsEnumerable,s=Object.getOwnPropertySymbols,o=s?function(e){return null==e?[]:(e=Object(e),r(s(e),function(t){return i.call(e,t)}))}:a;t.exports=o},function(t,e){t.exports=function(t,e){for(var n=-1,r=null==t?0:t.length,a=0,i=[];++n<r;){var s=t[n];e(s,n,t)&&(i[a++]=s)}return i}},function(t,e){t.exports=function(){return[]}},function(t,e,n){var r=n(306),a=n(33),i=n(307),s=n(195),o=n(308),u=n(11),l=n(189),c="[object Map]",d="[object Promise]",h="[object Set]",f="[object WeakMap]",_="[object DataView]",p=l(r),m=l(a),y=l(i),g=l(s),v=l(o),M=u;(r&&M(new r(new ArrayBuffer(1)))!=_||a&&M(new a)!=c||i&&M(i.resolve())!=d||s&&M(new s)!=h||o&&M(new o)!=f)&&(M=function(t){var e=u(t),n="[object Object]"==e?t.constructor:void 0,r=n?l(n):"";if(r)switch(r){case p:return _;case m:return c;case y:return d;case g:return h;case v:return f}return e}),t.exports=M},function(t,e,n){var r=n(10)(n(5),"DataView");t.exports=r},function(t,e,n){var r=n(10)(n(5),"Promise");t.exports=r},function(t,e,n){var r=n(10)(n(5),"WeakMap");t.exports=r},function(t,e,n){var i=n(196),s=n(20);t.exports=function(t){for(var e=s(t),n=e.length;n--;){var r=e[n],a=t[r];e[n]=[r,a,i(a)]}return e}},function(t,e,n){var a=n(191),i=n(311),s=n(317),o=n(36),u=n(196),l=n(197),c=n(27),d=1,h=2;t.exports=function(n,r){return o(n)&&u(r)?l(c(n),r):function(t){var e=i(t,n);return void 0===e&&e===r?s(t,n):a(r,e,d|h)}}},function(t,e,n){var a=n(198);t.exports=function(t,e,n){var r=null==t?void 0:a(t,e);return void 0===r?n:r}},function(t,e,n){var r=n(313),i=/^\./,s=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,o=/\\(\\)?/g,a=r(function(t){var a=[];return i.test(t)&&a.push(""),t.replace(s,function(t,e,n,r){a.push(n?r.replace(o,"$1"):e||t)}),a});t.exports=a},function(t,e,n){var r=n(314),a=500;t.exports=function(t){var e=r(t,function(t){return n.size===a&&n.clear(),t}),n=e.cache;return e}},function(t,e,n){var r=n(34),o="Expected a function";function u(a,i){if("function"!=typeof a||null!=i&&"function"!=typeof i)throw new TypeError(o);var s=function(){var t=arguments,e=i?i.apply(this,t):t[0],n=s.cache;if(n.has(e))return n.get(e);var r=a.apply(this,t);return s.cache=n.set(e,r)||n,r};return s.cache=new(u.Cache||r),s}u.Cache=r,t.exports=u},function(t,e,n){var r=n(316);t.exports=function(t){return null==t?"":r(t)}},function(t,e,n){var r=n(21),a=n(37),i=n(2),s=n(16),o=1/0,u=r?r.prototype:void 0,l=u?u.toString:void 0;t.exports=function t(e){if("string"==typeof e)return e;if(i(e))return a(e,t)+"";if(s(e))return l?l.call(e):"";var n=e+"";return"0"==n&&1/e==-o?"-0":n}},function(t,e,n){var r=n(318),a=n(319);t.exports=function(t,e){return null!=t&&a(t,e,r)}},function(t,e){t.exports=function(t,e){return null!=t&&e in Object(t)}},function(t,e,n){var o=n(199),u=n(180),l=n(2),c=n(31),d=n(32),h=n(27);t.exports=function(t,e,n){for(var r=-1,a=(e=o(e,t)).length,i=!1;++r<a;){var s=h(e[r]);if(!(i=null!=t&&n(t,s)))break;t=t[s]}return i||++r!=a?i:!!(a=null==t?0:t.length)&&d(a)&&c(s,a)&&(l(t)||u(t))}},function(t,e,n){var r=n(321),a=n(322),i=n(36),s=n(27);t.exports=function(t){return i(t)?r(s(t)):a(t)}},function(t,e){t.exports=function(e){return function(t){return null==t?void 0:t[e]}}},function(t,e,n){var r=n(198);t.exports=function(e){return function(t){return r(t,e)}}},function(t,e,n){var i=n(200),s=n(15),o=n(324),u=Math.max;t.exports=function(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var a=null==n?0:o(n);return a<0&&(a=u(r+a,0)),i(t,s(e,3),a)}},function(t,e,n){var r=n(325);t.exports=function(t){var e=r(t),n=e%1;return e==e?n?e-n:e:0}},function(t,e,n){var r=n(326),a=1/0,i=1.7976931348623157e308;t.exports=function(t){return t?(t=r(t))===a||t===-a?(t<0?-1:1)*i:t==t?t:0:0===t?t:0}},function(t,e,n){var r=n(14),a=n(16),i=NaN,s=/^\s+|\s+$/g,o=/^[-+]0x[0-9a-f]+$/i,u=/^0b[01]+$/i,l=/^0o[0-7]+$/i,c=parseInt;t.exports=function(t){if("number"==typeof t)return t;if(a(t))return i;if(r(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=r(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(s,"");var n=u.test(t);return n||l.test(t)?c(t.slice(2),n?2:8):o.test(t)?i:+t}},function(t,e,n){var r=n(11),a=n(2),i=n(12),s="[object String]";t.exports=function(t){return"string"==typeof t||!a(t)&&i(t)&&r(t)==s}},function(t,e,n){var a=n(329),i=n(2);t.exports=function(t,e,n,r){return null==t?[]:(i(e)||(e=null==e?[]:[e]),i(n=r?void 0:n)||(n=null==n?[]:[n]),a(t,e,n))}},function(t,e,n){var i=n(37),s=n(15),o=n(202),u=n(330),l=n(184),c=n(331),d=n(17);t.exports=function(t,r,n){var a=-1;r=i(r.length?r:[d],l(s));var e=o(t,function(e,t,n){return{criteria:i(r,function(t){return t(e)}),index:++a,value:e}});return u(e,function(t,e){return c(t,e,n)})}},function(t,e){t.exports=function(t,e){var n=t.length;for(t.sort(e);n--;)t[n]=t[n].value;return t}},function(t,e,n){var l=n(332);t.exports=function(t,e,n){for(var r=-1,a=t.criteria,i=e.criteria,s=a.length,o=n.length;++r<s;){var u=l(a[r],i[r]);if(u)return o<=r?u:u*("desc"==n[r]?-1:1)}return t.index-e.index}},function(t,e,n){var c=n(16);t.exports=function(t,e){if(t!==e){var n=void 0!==t,r=null===t,a=t==t,i=c(t),s=void 0!==e,o=null===e,u=e==e,l=c(e);if(!o&&!l&&!i&&e<t||i&&s&&u&&!o&&!l||r&&s&&u||!n&&u||!a)return 1;if(!r&&!i&&!l&&t<e||l&&n&&a&&!r&&!i||o&&n&&a||!s&&a||!u)return-1}return 0}},function(t,e,n){var r=n(37),a=n(15),i=n(202),s=n(2);t.exports=function(t,e){return(s(t)?r:i)(t,a(e,3))}},function(t,e,n){var r=n(15),a=n(335);t.exports=function(t,e){return t&&t.length?a(t,r(e,2)):[]}},function(t,e,n){var f=n(193),_=n(336),p=n(340),m=n(194),y=n(341),g=n(35),v=200;t.exports=function(t,e,n){var r=-1,a=_,i=t.length,s=!0,o=[],u=o;if(n)s=!1,a=p;else if(v<=i){var l=e?null:y(t);if(l)return g(l);s=!1,a=m,u=new f}else u=e?[]:o;t:for(;++r<i;){var c=t[r],d=e?e(c):c;if(c=n||0!==c?c:0,s&&d==d){for(var h=u.length;h--;)if(u[h]===d)continue t;e&&u.push(d),o.push(c)}else a(u,d,n)||(u!==o&&u.push(d),o.push(c))}return o}},function(t,e,n){var r=n(337);t.exports=function(t,e){return!(null==t||!t.length)&&-1<r(t,e,0)}},function(t,e,n){var r=n(200),a=n(338),i=n(339);t.exports=function(t,e,n){return e==e?i(t,e,n):r(t,a,n)}},function(t,e){t.exports=function(t){return t!=t}},function(t,e){t.exports=function(t,e,n){for(var r=n-1,a=t.length;++r<a;)if(t[r]===e)return r;return-1}},function(t,e){t.exports=function(t,e,n){for(var r=-1,a=null==t?0:t.length;++r<a;)if(n(e,t[r]))return!0;return!1}},function(t,e,n){var r=n(195),a=n(342),i=n(35),s=r&&1/i(new r([,-0]))[1]==1/0?function(t){return new r(t)}:a;t.exports=s},function(t,e){t.exports=function(){}},function(t,e,n){var r=n(344),a=n(345),i=n(15);t.exports=function(t,e){return t&&t.length?r(t,i(e,2),a):void 0}},function(t,e,n){var l=n(16);t.exports=function(t,e,n){for(var r=-1,a=t.length;++r<a;){var i=t[r],s=e(i);if(null!=s&&(void 0===o?s==s&&!l(s):n(s,o)))var o=s,u=i}return u}},function(t,e){t.exports=function(t,e){return e<t}},function(t,e,n){var r=n(347);t.exports="string"==typeof r?r:r.toString()},function(t,e,n){(t.exports=n(28)(void 0)).push([t.i,'/* Flowchart variables */\n/* Sequence Diagram variables */\n/* Gantt chart variables */\n.mermaid .label {\n color: #323D47;\n}\n.node rect,\n.node circle,\n.node ellipse,\n.node polygon {\n fill: #BDD5EA;\n stroke: #81B1DB;\n stroke-width: 1px;\n}\n.node.clickable {\n cursor: pointer;\n}\n.arrowheadPath {\n fill: lightgrey;\n}\n.edgePath .path {\n stroke: lightgrey;\n}\n.edgeLabel {\n background-color: #e8e8e8;\n}\n.cluster rect {\n fill: #6D6D65 !important;\n rx: 4 !important;\n stroke: rgba(255, 255, 255, 0.25) !important;\n stroke-width: 1px !important;\n}\n.cluster text {\n fill: #F9FFFE;\n}\n.actor {\n stroke: #81B1DB;\n fill: #BDD5EA;\n}\ntext.actor {\n fill: black;\n stroke: none;\n}\n.actor-line {\n stroke: lightgrey;\n}\n.messageLine0 {\n stroke-width: 1.5;\n stroke-dasharray: "2 2";\n marker-end: "url(#arrowhead)";\n stroke: lightgrey;\n}\n.messageLine1 {\n stroke-width: 1.5;\n stroke-dasharray: "2 2";\n stroke: lightgrey;\n}\n#arrowhead {\n fill: lightgrey !important;\n}\n#crosshead path {\n fill: lightgrey !important;\n stroke: lightgrey !important;\n}\n.messageText {\n fill: lightgrey;\n stroke: none;\n}\n.labelBox {\n stroke: #81B1DB;\n fill: #BDD5EA;\n}\n.labelText {\n fill: #323D47;\n stroke: none;\n}\n.loopText {\n fill: lightgrey;\n stroke: none;\n}\n.loopLine {\n stroke-width: 2;\n stroke-dasharray: "2 2";\n marker-end: "url(#arrowhead)";\n stroke: #81B1DB;\n}\n.note {\n stroke: rgba(255, 255, 255, 0.25);\n fill: #fff5ad;\n}\n.noteText {\n fill: black;\n stroke: none;\n font-family: \'trebuchet ms\', verdana, arial;\n font-size: 14px;\n}\n/** Section styling */\n.section {\n stroke: none;\n opacity: 0.2;\n}\n.section0 {\n fill: rgba(255, 255, 255, 0.3);\n}\n.section2 {\n fill: #EAE8B9;\n}\n.section1,\n.section3 {\n fill: white;\n opacity: 0.2;\n}\n.sectionTitle0 {\n fill: #F9FFFE;\n}\n.sectionTitle1 {\n fill: #F9FFFE;\n}\n.sectionTitle2 {\n fill: #F9FFFE;\n}\n.sectionTitle3 {\n fill: #F9FFFE;\n}\n.sectionTitle {\n text-anchor: start;\n font-size: 11px;\n text-height: 14px;\n}\n/* Grid and axis */\n.grid .tick {\n stroke: rgba(255, 255, 255, 0.3);\n opacity: 0.3;\n shape-rendering: crispEdges;\n}\n.grid .tick text {\n fill: lightgrey;\n opacity: 0.5;\n}\n.grid path {\n stroke-width: 0;\n}\n/* Today line */\n.today {\n fill: none;\n stroke: #DB5757;\n stroke-width: 2px;\n}\n/* Task styling */\n/* Default task */\n.task {\n stroke-width: 1;\n}\n.taskText {\n text-anchor: middle;\n font-size: 11px;\n}\n.taskTextOutsideRight {\n fill: #323D47;\n text-anchor: start;\n font-size: 11px;\n}\n.taskTextOutsideLeft {\n fill: #323D47;\n text-anchor: end;\n font-size: 11px;\n}\n/* Specific task settings for the sections*/\n.taskText0,\n.taskText1,\n.taskText2,\n.taskText3 {\n fill: #323D47;\n}\n.task0,\n.task1,\n.task2,\n.task3 {\n fill: #BDD5EA;\n stroke: rgba(255, 255, 255, 0.5);\n}\n.taskTextOutside0,\n.taskTextOutside2 {\n fill: lightgrey;\n}\n.taskTextOutside1,\n.taskTextOutside3 {\n fill: lightgrey;\n}\n/* Active task */\n.active0,\n.active1,\n.active2,\n.active3 {\n fill: #81B1DB;\n stroke: rgba(255, 255, 255, 0.5);\n}\n.activeText0,\n.activeText1,\n.activeText2,\n.activeText3 {\n fill: #323D47 !important;\n}\n/* Completed task */\n.done0,\n.done1,\n.done2,\n.done3 {\n fill: lightgrey;\n}\n.doneText0,\n.doneText1,\n.doneText2,\n.doneText3 {\n fill: #323D47 !important;\n}\n/* Tasks on the critical line */\n.crit0,\n.crit1,\n.crit2,\n.crit3 {\n stroke: #E83737;\n fill: #E83737;\n stroke-width: 2;\n}\n.activeCrit0,\n.activeCrit1,\n.activeCrit2,\n.activeCrit3 {\n stroke: #E83737;\n fill: #81B1DB;\n stroke-width: 2;\n}\n.doneCrit0,\n.doneCrit1,\n.doneCrit2,\n.doneCrit3 {\n stroke: #E83737;\n fill: lightgrey;\n stroke-width: 1;\n cursor: pointer;\n shape-rendering: crispEdges;\n}\n.doneCritText0,\n.doneCritText1,\n.doneCritText2,\n.doneCritText3 {\n fill: lightgrey !important;\n}\n.activeCritText0,\n.activeCritText1,\n.activeCritText2,\n.activeCritText3 {\n fill: #323D47 !important;\n}\n.titleText {\n text-anchor: middle;\n font-size: 18px;\n fill: lightgrey;\n}\ng.classGroup text {\n fill: purple;\n stroke: none;\n font-family: \'trebuchet ms\', verdana, arial;\n font-size: 10px;\n}\ng.classGroup rect {\n fill: #BDD5EA;\n stroke: purple;\n}\ng.classGroup line {\n stroke: purple;\n stroke-width: 1;\n}\nsvg .classLabel .box {\n stroke: none;\n stroke-width: 0;\n fill: #BDD5EA;\n opacity: 0.5;\n}\nsvg .classLabel .label {\n fill: purple;\n font-size: 10px;\n}\n.relation {\n stroke: purple;\n stroke-width: 1;\n fill: none;\n}\n.composition {\n fill: purple;\n stroke: purple;\n stroke-width: 1;\n}\n#compositionStart {\n fill: purple;\n stroke: purple;\n stroke-width: 1;\n}\n#compositionEnd {\n fill: purple;\n stroke: purple;\n stroke-width: 1;\n}\n.aggregation {\n fill: #BDD5EA;\n stroke: purple;\n stroke-width: 1;\n}\n#aggregationStart {\n fill: #BDD5EA;\n stroke: purple;\n stroke-width: 1;\n}\n#aggregationEnd {\n fill: #BDD5EA;\n stroke: purple;\n stroke-width: 1;\n}\n#dependencyStart {\n fill: purple;\n stroke: purple;\n stroke-width: 1;\n}\n#dependencyEnd {\n fill: purple;\n stroke: purple;\n stroke-width: 1;\n}\n#extensionStart {\n fill: purple;\n stroke: purple;\n stroke-width: 1;\n}\n#extensionEnd {\n fill: purple;\n stroke: purple;\n stroke-width: 1;\n}\n.commit-id,\n.commit-msg,\n.branch-label {\n fill: lightgrey;\n color: lightgrey;\n}\n.node text {\n font-family: \'trebuchet ms\', verdana, arial;\n font-size: 14px;\n}\ndiv.mermaidTooltip {\n position: absolute;\n text-align: center;\n max-width: 200px;\n padding: 2px;\n font-family: \'trebuchet ms\', verdana, arial;\n font-size: 12px;\n background: #6D6D65;\n border: 1px solid rgba(255, 255, 255, 0.25);\n border-radius: 2px;\n pointer-events: none;\n z-index: 100;\n}\n',""])},function(t,e,n){var r=n(349);t.exports="string"==typeof r?r:r.toString()},function(t,e,n){(t.exports=n(28)(void 0)).push([t.i,'/* Flowchart variables */\n/* Sequence Diagram variables */\n/* Gantt chart variables */\n.mermaid .label {\n color: #333;\n}\n.node rect,\n.node circle,\n.node ellipse,\n.node polygon {\n fill: #ECECFF;\n stroke: #CCCCFF;\n stroke-width: 1px;\n}\n.node.clickable {\n cursor: pointer;\n}\n.arrowheadPath {\n fill: #333333;\n}\n.edgePath .path {\n stroke: #333333;\n}\n.edgeLabel {\n background-color: #e8e8e8;\n}\n.cluster rect {\n fill: #ffffde !important;\n rx: 4 !important;\n stroke: #aaaa33 !important;\n stroke-width: 1px !important;\n}\n.cluster text {\n fill: #333;\n}\n.actor {\n stroke: #CCCCFF;\n fill: #ECECFF;\n}\ntext.actor {\n fill: black;\n stroke: none;\n}\n.actor-line {\n stroke: grey;\n}\n.messageLine0 {\n stroke-width: 1.5;\n stroke-dasharray: "2 2";\n marker-end: "url(#arrowhead)";\n stroke: #333;\n}\n.messageLine1 {\n stroke-width: 1.5;\n stroke-dasharray: "2 2";\n stroke: #333;\n}\n#arrowhead {\n fill: #333;\n}\n#crosshead path {\n fill: #333 !important;\n stroke: #333 !important;\n}\n.messageText {\n fill: #333;\n stroke: none;\n}\n.labelBox {\n stroke: #CCCCFF;\n fill: #ECECFF;\n}\n.labelText {\n fill: black;\n stroke: none;\n}\n.loopText {\n fill: black;\n stroke: none;\n}\n.loopLine {\n stroke-width: 2;\n stroke-dasharray: "2 2";\n marker-end: "url(#arrowhead)";\n stroke: #CCCCFF;\n}\n.note {\n stroke: #aaaa33;\n fill: #fff5ad;\n}\n.noteText {\n fill: black;\n stroke: none;\n font-family: \'trebuchet ms\', verdana, arial;\n font-size: 14px;\n}\n/** Section styling */\n.section {\n stroke: none;\n opacity: 0.2;\n}\n.section0 {\n fill: rgba(102, 102, 255, 0.49);\n}\n.section2 {\n fill: #fff400;\n}\n.section1,\n.section3 {\n fill: white;\n opacity: 0.2;\n}\n.sectionTitle0 {\n fill: #333;\n}\n.sectionTitle1 {\n fill: #333;\n}\n.sectionTitle2 {\n fill: #333;\n}\n.sectionTitle3 {\n fill: #333;\n}\n.sectionTitle {\n text-anchor: start;\n font-size: 11px;\n text-height: 14px;\n}\n/* Grid and axis */\n.grid .tick {\n stroke: lightgrey;\n opacity: 0.3;\n shape-rendering: crispEdges;\n}\n.grid path {\n stroke-width: 0;\n}\n/* Today line */\n.today {\n fill: none;\n stroke: red;\n stroke-width: 2px;\n}\n/* Task styling */\n/* Default task */\n.task {\n stroke-width: 2;\n}\n.taskText {\n text-anchor: middle;\n font-size: 11px;\n}\n.taskTextOutsideRight {\n fill: black;\n text-anchor: start;\n font-size: 11px;\n}\n.taskTextOutsideLeft {\n fill: black;\n text-anchor: end;\n font-size: 11px;\n}\n/* Specific task settings for the sections*/\n.taskText0,\n.taskText1,\n.taskText2,\n.taskText3 {\n fill: white;\n}\n.task0,\n.task1,\n.task2,\n.task3 {\n fill: #8a90dd;\n stroke: #534fbc;\n}\n.taskTextOutside0,\n.taskTextOutside2 {\n fill: black;\n}\n.taskTextOutside1,\n.taskTextOutside3 {\n fill: black;\n}\n/* Active task */\n.active0,\n.active1,\n.active2,\n.active3 {\n fill: #bfc7ff;\n stroke: #534fbc;\n}\n.activeText0,\n.activeText1,\n.activeText2,\n.activeText3 {\n fill: black !important;\n}\n/* Completed task */\n.done0,\n.done1,\n.done2,\n.done3 {\n stroke: grey;\n fill: lightgrey;\n stroke-width: 2;\n}\n.doneText0,\n.doneText1,\n.doneText2,\n.doneText3 {\n fill: black !important;\n}\n/* Tasks on the critical line */\n.crit0,\n.crit1,\n.crit2,\n.crit3 {\n stroke: #ff8888;\n fill: red;\n stroke-width: 2;\n}\n.activeCrit0,\n.activeCrit1,\n.activeCrit2,\n.activeCrit3 {\n stroke: #ff8888;\n fill: #bfc7ff;\n stroke-width: 2;\n}\n.doneCrit0,\n.doneCrit1,\n.doneCrit2,\n.doneCrit3 {\n stroke: #ff8888;\n fill: lightgrey;\n stroke-width: 2;\n cursor: pointer;\n shape-rendering: crispEdges;\n}\n.doneCritText0,\n.doneCritText1,\n.doneCritText2,\n.doneCritText3 {\n fill: black !important;\n}\n.activeCritText0,\n.activeCritText1,\n.activeCritText2,\n.activeCritText3 {\n fill: black !important;\n}\n.titleText {\n text-anchor: middle;\n font-size: 18px;\n fill: black;\n}\ng.classGroup text {\n fill: #9370DB;\n stroke: none;\n font-family: \'trebuchet ms\', verdana, arial;\n font-size: 10px;\n}\ng.classGroup rect {\n fill: #ECECFF;\n stroke: #9370DB;\n}\ng.classGroup line {\n stroke: #9370DB;\n stroke-width: 1;\n}\nsvg .classLabel .box {\n stroke: none;\n stroke-width: 0;\n fill: #ECECFF;\n opacity: 0.5;\n}\nsvg .classLabel .label {\n fill: #9370DB;\n font-size: 10px;\n}\n.relation {\n stroke: #9370DB;\n stroke-width: 1;\n fill: none;\n}\n.composition {\n fill: #9370DB;\n stroke: #9370DB;\n stroke-width: 1;\n}\n#compositionStart {\n fill: #9370DB;\n stroke: #9370DB;\n stroke-width: 1;\n}\n#compositionEnd {\n fill: #9370DB;\n stroke: #9370DB;\n stroke-width: 1;\n}\n.aggregation {\n fill: #ECECFF;\n stroke: #9370DB;\n stroke-width: 1;\n}\n#aggregationStart {\n fill: #ECECFF;\n stroke: #9370DB;\n stroke-width: 1;\n}\n#aggregationEnd {\n fill: #ECECFF;\n stroke: #9370DB;\n stroke-width: 1;\n}\n#dependencyStart {\n fill: #9370DB;\n stroke: #9370DB;\n stroke-width: 1;\n}\n#dependencyEnd {\n fill: #9370DB;\n stroke: #9370DB;\n stroke-width: 1;\n}\n#extensionStart {\n fill: #9370DB;\n stroke: #9370DB;\n stroke-width: 1;\n}\n#extensionEnd {\n fill: #9370DB;\n stroke: #9370DB;\n stroke-width: 1;\n}\n.node text {\n font-family: \'trebuchet ms\', verdana, arial;\n font-size: 14px;\n}\ndiv.mermaidTooltip {\n position: absolute;\n text-align: center;\n max-width: 200px;\n padding: 2px;\n font-family: \'trebuchet ms\', verdana, arial;\n font-size: 12px;\n background: #ffffde;\n border: 1px solid #aaaa33;\n border-radius: 2px;\n pointer-events: none;\n z-index: 100;\n}\n',""])},function(t,e,n){var r=n(351);t.exports="string"==typeof r?r:r.toString()},function(t,e,n){(t.exports=n(28)(void 0)).push([t.i,"/* Flowchart variables */\n/* Sequence Diagram variables */\n/* Gantt chart variables */\n.mermaid .label {\n font-family: 'trebuchet ms', verdana, arial;\n color: #333;\n}\n.node rect,\n.node circle,\n.node ellipse,\n.node polygon {\n fill: #cde498;\n stroke: #13540c;\n stroke-width: 1px;\n}\n.node.clickable {\n cursor: pointer;\n}\n.arrowheadPath {\n fill: green;\n}\n.edgePath .path {\n stroke: green;\n stroke-width: 1.5px;\n}\n.edgeLabel {\n background-color: #e8e8e8;\n}\n.cluster rect {\n fill: #cdffb2 !important;\n rx: 4 !important;\n stroke: #6eaa49 !important;\n stroke-width: 1px !important;\n}\n.cluster text {\n fill: #333;\n}\n.actor {\n stroke: #13540c;\n fill: #cde498;\n}\ntext.actor {\n fill: black;\n stroke: none;\n}\n.actor-line {\n stroke: grey;\n}\n.messageLine0 {\n stroke-width: 1.5;\n stroke-dasharray: \"2 2\";\n marker-end: \"url(#arrowhead)\";\n stroke: #333;\n}\n.messageLine1 {\n stroke-width: 1.5;\n stroke-dasharray: \"2 2\";\n stroke: #333;\n}\n#arrowhead {\n fill: #333;\n}\n#crosshead path {\n fill: #333 !important;\n stroke: #333 !important;\n}\n.messageText {\n fill: #333;\n stroke: none;\n}\n.labelBox {\n stroke: #326932;\n fill: #cde498;\n}\n.labelText {\n fill: black;\n stroke: none;\n}\n.loopText {\n fill: black;\n stroke: none;\n}\n.loopLine {\n stroke-width: 2;\n stroke-dasharray: \"2 2\";\n marker-end: \"url(#arrowhead)\";\n stroke: #326932;\n}\n.note {\n stroke: #6eaa49;\n fill: #fff5ad;\n}\n.noteText {\n fill: black;\n stroke: none;\n font-family: 'trebuchet ms', verdana, arial;\n font-size: 14px;\n}\n/** Section styling */\n.section {\n stroke: none;\n opacity: 0.2;\n}\n.section0 {\n fill: #6eaa49;\n}\n.section2 {\n fill: #6eaa49;\n}\n.section1,\n.section3 {\n fill: white;\n opacity: 0.2;\n}\n.sectionTitle0 {\n fill: #333;\n}\n.sectionTitle1 {\n fill: #333;\n}\n.sectionTitle2 {\n fill: #333;\n}\n.sectionTitle3 {\n fill: #333;\n}\n.sectionTitle {\n text-anchor: start;\n font-size: 11px;\n text-height: 14px;\n}\n/* Grid and axis */\n.grid .tick {\n stroke: lightgrey;\n opacity: 0.3;\n shape-rendering: crispEdges;\n}\n.grid path {\n stroke-width: 0;\n}\n/* Today line */\n.today {\n fill: none;\n stroke: red;\n stroke-width: 2px;\n}\n/* Task styling */\n/* Default task */\n.task {\n stroke-width: 2;\n}\n.taskText {\n text-anchor: middle;\n font-size: 11px;\n}\n.taskTextOutsideRight {\n fill: black;\n text-anchor: start;\n font-size: 11px;\n}\n.taskTextOutsideLeft {\n fill: black;\n text-anchor: end;\n font-size: 11px;\n}\n/* Specific task settings for the sections*/\n.taskText0,\n.taskText1,\n.taskText2,\n.taskText3 {\n fill: white;\n}\n.task0,\n.task1,\n.task2,\n.task3 {\n fill: #487e3a;\n stroke: #13540c;\n}\n.taskTextOutside0,\n.taskTextOutside2 {\n fill: black;\n}\n.taskTextOutside1,\n.taskTextOutside3 {\n fill: black;\n}\n/* Active task */\n.active0,\n.active1,\n.active2,\n.active3 {\n fill: #cde498;\n stroke: #13540c;\n}\n.activeText0,\n.activeText1,\n.activeText2,\n.activeText3 {\n fill: black !important;\n}\n/* Completed task */\n.done0,\n.done1,\n.done2,\n.done3 {\n stroke: grey;\n fill: lightgrey;\n stroke-width: 2;\n}\n.doneText0,\n.doneText1,\n.doneText2,\n.doneText3 {\n fill: black !important;\n}\n/* Tasks on the critical line */\n.crit0,\n.crit1,\n.crit2,\n.crit3 {\n stroke: #ff8888;\n fill: red;\n stroke-width: 2;\n}\n.activeCrit0,\n.activeCrit1,\n.activeCrit2,\n.activeCrit3 {\n stroke: #ff8888;\n fill: #cde498;\n stroke-width: 2;\n}\n.doneCrit0,\n.doneCrit1,\n.doneCrit2,\n.doneCrit3 {\n stroke: #ff8888;\n fill: lightgrey;\n stroke-width: 2;\n cursor: pointer;\n shape-rendering: crispEdges;\n}\n.doneCritText0,\n.doneCritText1,\n.doneCritText2,\n.doneCritText3 {\n fill: black !important;\n}\n.activeCritText0,\n.activeCritText1,\n.activeCritText2,\n.activeCritText3 {\n fill: black !important;\n}\n.titleText {\n text-anchor: middle;\n font-size: 18px;\n fill: black;\n}\ng.classGroup text {\n fill: #13540c;\n stroke: none;\n font-family: 'trebuchet ms', verdana, arial;\n font-size: 10px;\n}\ng.classGroup rect {\n fill: #cde498;\n stroke: #13540c;\n}\ng.classGroup line {\n stroke: #13540c;\n stroke-width: 1;\n}\nsvg .classLabel .box {\n stroke: none;\n stroke-width: 0;\n fill: #cde498;\n opacity: 0.5;\n}\nsvg .classLabel .label {\n fill: #13540c;\n font-size: 10px;\n}\n.relation {\n stroke: #13540c;\n stroke-width: 1;\n fill: none;\n}\n.composition {\n fill: #13540c;\n stroke: #13540c;\n stroke-width: 1;\n}\n#compositionStart {\n fill: #13540c;\n stroke: #13540c;\n stroke-width: 1;\n}\n#compositionEnd {\n fill: #13540c;\n stroke: #13540c;\n stroke-width: 1;\n}\n.aggregation {\n fill: #cde498;\n stroke: #13540c;\n stroke-width: 1;\n}\n#aggregationStart {\n fill: #cde498;\n stroke: #13540c;\n stroke-width: 1;\n}\n#aggregationEnd {\n fill: #cde498;\n stroke: #13540c;\n stroke-width: 1;\n}\n#dependencyStart {\n fill: #13540c;\n stroke: #13540c;\n stroke-width: 1;\n}\n#dependencyEnd {\n fill: #13540c;\n stroke: #13540c;\n stroke-width: 1;\n}\n#extensionStart {\n fill: #13540c;\n stroke: #13540c;\n stroke-width: 1;\n}\n#extensionEnd {\n fill: #13540c;\n stroke: #13540c;\n stroke-width: 1;\n}\n.node text {\n font-family: 'trebuchet ms', verdana, arial;\n font-size: 14px;\n}\ndiv.mermaidTooltip {\n position: absolute;\n text-align: center;\n max-width: 200px;\n padding: 2px;\n font-family: 'trebuchet ms', verdana, arial;\n font-size: 12px;\n background: #cdffb2;\n border: 1px solid #6eaa49;\n border-radius: 2px;\n pointer-events: none;\n z-index: 100;\n}\n",""])},function(t,e,n){var r=n(353);t.exports="string"==typeof r?r:r.toString()},function(t,e,n){(t.exports=n(28)(void 0)).push([t.i,'/* Flowchart variables */\n/* Sequence Diagram variables */\n/* Gantt chart variables */\n.mermaid .label {\n color: #333;\n}\n.node rect,\n.node circle,\n.node ellipse,\n.node polygon {\n fill: #eee;\n stroke: #999;\n stroke-width: 1px;\n}\n.node.clickable {\n cursor: pointer;\n}\n.edgePath .path {\n stroke: #666;\n stroke-width: 1.5px;\n}\n.edgeLabel {\n background-color: white;\n}\n.cluster rect {\n fill: #eaf2fb !important;\n rx: 4 !important;\n stroke: #26a !important;\n stroke-width: 1px !important;\n}\n.cluster text {\n fill: #333;\n}\n.actor {\n stroke: #999;\n fill: #eee;\n}\ntext.actor {\n fill: #333;\n stroke: none;\n}\n.actor-line {\n stroke: #666;\n}\n.messageLine0 {\n stroke-width: 1.5;\n stroke-dasharray: "2 2";\n marker-end: "url(#arrowhead)";\n stroke: #333;\n}\n.messageLine1 {\n stroke-width: 1.5;\n stroke-dasharray: "2 2";\n stroke: #333;\n}\n#arrowhead {\n fill: #333;\n}\n#crosshead path {\n fill: #333 !important;\n stroke: #333 !important;\n}\n.messageText {\n fill: #333;\n stroke: none;\n}\n.labelBox {\n stroke: #999;\n fill: #eee;\n}\n.labelText {\n fill: white;\n stroke: none;\n}\n.loopText {\n fill: white;\n stroke: none;\n}\n.loopLine {\n stroke-width: 2;\n stroke-dasharray: "2 2";\n marker-end: "url(#arrowhead)";\n stroke: #999;\n}\n.note {\n stroke: #777700;\n fill: #ffa;\n}\n.noteText {\n fill: black;\n stroke: none;\n font-family: Arial, Helvetica, sans-serif;\n font-size: 14px;\n}\n/** Section styling */\n.section {\n stroke: none;\n opacity: 0.2;\n}\n.section0 {\n fill: #7fb2e6;\n}\n.section2 {\n fill: #7fb2e6;\n}\n.section1,\n.section3 {\n fill: white;\n opacity: 0.2;\n}\n.sectionTitle0 {\n fill: #333;\n}\n.sectionTitle1 {\n fill: #333;\n}\n.sectionTitle2 {\n fill: #333;\n}\n.sectionTitle3 {\n fill: #333;\n}\n.sectionTitle {\n text-anchor: start;\n font-size: 11px;\n text-height: 14px;\n}\n/* Grid and axis */\n.grid .tick {\n stroke: #e5e5e5;\n opacity: 0.3;\n shape-rendering: crispEdges;\n}\n.grid path {\n stroke-width: 0;\n}\n/* Today line */\n.today {\n fill: none;\n stroke: #d42;\n stroke-width: 2px;\n}\n/* Task styling */\n/* Default task */\n.task {\n stroke-width: 2;\n}\n.taskText {\n text-anchor: middle;\n font-size: 11px;\n}\n.taskTextOutsideRight {\n fill: #333;\n text-anchor: start;\n font-size: 11px;\n}\n.taskTextOutsideLeft {\n fill: #333;\n text-anchor: end;\n font-size: 11px;\n}\n/* Specific task settings for the sections*/\n.taskText0,\n.taskText1,\n.taskText2,\n.taskText3 {\n fill: white;\n}\n.task0,\n.task1,\n.task2,\n.task3 {\n fill: #26a;\n stroke: #194c7f;\n}\n.taskTextOutside0,\n.taskTextOutside2 {\n fill: #333;\n}\n.taskTextOutside1,\n.taskTextOutside3 {\n fill: #333;\n}\n/* Active task */\n.active0,\n.active1,\n.active2,\n.active3 {\n fill: #eee;\n stroke: #194c7f;\n}\n.activeText0,\n.activeText1,\n.activeText2,\n.activeText3 {\n fill: #333 !important;\n}\n/* Completed task */\n.done0,\n.done1,\n.done2,\n.done3 {\n stroke: #666;\n fill: #bbb;\n stroke-width: 2;\n}\n.doneText0,\n.doneText1,\n.doneText2,\n.doneText3 {\n fill: #333 !important;\n}\n/* Tasks on the critical line */\n.crit0,\n.crit1,\n.crit2,\n.crit3 {\n stroke: #b1361b;\n fill: #d42;\n stroke-width: 2;\n}\n.activeCrit0,\n.activeCrit1,\n.activeCrit2,\n.activeCrit3 {\n stroke: #b1361b;\n fill: #eee;\n stroke-width: 2;\n}\n.doneCrit0,\n.doneCrit1,\n.doneCrit2,\n.doneCrit3 {\n stroke: #b1361b;\n fill: #bbb;\n stroke-width: 2;\n cursor: pointer;\n}\n.doneCritText0,\n.doneCritText1,\n.doneCritText2,\n.doneCritText3 {\n fill: #333 !important;\n}\n.activeCritText0,\n.activeCritText1,\n.activeCritText2,\n.activeCritText3 {\n fill: #333 !important;\n}\n.titleText {\n text-anchor: middle;\n font-size: 18px;\n fill: #333;\n}\ng.classGroup text {\n fill: #999;\n stroke: none;\n font-family: \'trebuchet ms\', verdana, arial;\n font-size: 10px;\n}\ng.classGroup rect {\n fill: #eee;\n stroke: #999;\n}\ng.classGroup line {\n stroke: #999;\n stroke-width: 1;\n}\nsvg .classLabel .box {\n stroke: none;\n stroke-width: 0;\n fill: #eee;\n opacity: 0.5;\n}\nsvg .classLabel .label {\n fill: #999;\n font-size: 10px;\n}\n.relation {\n stroke: #999;\n stroke-width: 1;\n fill: none;\n}\n.composition {\n fill: #999;\n stroke: #999;\n stroke-width: 1;\n}\n#compositionStart {\n fill: #999;\n stroke: #999;\n stroke-width: 1;\n}\n#compositionEnd {\n fill: #999;\n stroke: #999;\n stroke-width: 1;\n}\n.aggregation {\n fill: #eee;\n stroke: #999;\n stroke-width: 1;\n}\n#aggregationStart {\n fill: #eee;\n stroke: #999;\n stroke-width: 1;\n}\n#aggregationEnd {\n fill: #eee;\n stroke: #999;\n stroke-width: 1;\n}\n#dependencyStart {\n fill: #999;\n stroke: #999;\n stroke-width: 1;\n}\n#dependencyEnd {\n fill: #999;\n stroke: #999;\n stroke-width: 1;\n}\n#extensionStart {\n fill: #999;\n stroke: #999;\n stroke-width: 1;\n}\n#extensionEnd {\n fill: #999;\n stroke: #999;\n stroke-width: 1;\n}\n.node text {\n font-family: Arial, Helvetica, sans-serif;\n font-size: 14px;\n}\ndiv.mermaidTooltip {\n position: absolute;\n text-align: center;\n max-width: 200px;\n padding: 2px;\n font-family: Arial, Helvetica, sans-serif;\n font-size: 12px;\n background: #eaf2fb;\n border: 1px solid #26a;\n border-radius: 2px;\n pointer-events: none;\n z-index: 100;\n}\n',""])}]).default});